Getting Started
Authoring
Access Control
Reference
-
- Overview
-
- Overview
- collection
- collection/client
- collection/schemas
- manifest/context
- manifest/parse
- manifest/types
- remote
- remote/collection\_wire\_schemas
- remote/sveltekit-guard.server
- runtime/binding
- scope/types
- seed/authoring
- seed/execute
- seed/manifest
- seed/plan
- storage/minio
- system/collections
- system/column\_names
- system/types
- system/workspace-schema
- tenant\_db/bootstrap
- tenant\_db/neon-branch-utils
- tenant\_db/neon-provider
- tenant\_db/provider
- tenant\_db/schema
- tenant\_workspace
- tenant\_workspace/build-output
- tenant\_workspace/migrations/apply
- tenant\_workspace/migrations/errors
- tenant\_workspace/migrations/generate
- tenant\_workspace/migrations/read
- tenant\_workspace/source
Examples
scope/types
scope/types
Type Aliases
TBaseScope
type TBaseScope = z.infer<typeof BaseScopeSchema>;Defined in: platform-utils/src/scope/types.ts:40
TNorbitalDBRecord
type TNorbitalDBRecord = Record<string, unknown> & object;Defined in: platform-utils/src/scope/types.ts:4
Type Declaration
norbital_id
norbital_id: string;TScopeOrganization
type TScopeOrganization = z.infer<typeof ScopeOrganizationSchema>;Defined in: platform-utils/src/scope/types.ts:34
TScopeRequestor
type TScopeRequestor = z.infer<typeof UserInfoSchema>;Defined in: platform-utils/src/scope/types.ts:27
TScopeTeamMember
type TScopeTeamMember = z.infer<typeof ScopeTeamMemberSchema>;Defined in: platform-utils/src/scope/types.ts:14
TUserInfo
type TUserInfo = z.infer<typeof UserInfoSchema>;Defined in: platform-utils/src/scope/types.ts:28
Variables
BaseScopeSchema
const BaseScopeSchema: ZodObject<{
organization: ZodObject<{
name: ZodString;
norbital_id: ZodString;
}, $strip>;
requestor: ZodObject<{
avatar_url: ZodNullable<ZodString>;
deactivated_at: ZodNullable<ZodString>;
email: ZodString;
norbital_id: ZodString;
role: ZodEnum<{
admin: "admin";
member: "member";
}>;
team_members: ZodArray<ZodObject<{
description: ZodNullable<ZodString>;
is_active: ZodNullable<ZodBoolean>;
name: ZodNullable<ZodString>;
norbital_id: ZodString;
parent_id: ZodNullable<ZodString>;
}, $strip>>;
user_name: ZodString;
user_status: ZodEnum<{
active: "active";
inactive: "inactive";
pending_invitation: "pending_invitation";
}>;
}, $strip>;
}, $strip>;Defined in: platform-utils/src/scope/types.ts:36
ScopeOrganizationSchema
const ScopeOrganizationSchema: ZodObject<{
name: ZodString;
norbital_id: ZodString;
}, $strip>;Defined in: platform-utils/src/scope/types.ts:30
ScopeTeamMemberSchema
const ScopeTeamMemberSchema: ZodObject<{
description: ZodNullable<ZodString>;
is_active: ZodNullable<ZodBoolean>;
name: ZodNullable<ZodString>;
norbital_id: ZodString;
parent_id: ZodNullable<ZodString>;
}, $strip>;Defined in: platform-utils/src/scope/types.ts:7
Wire shape for a team member in execution scope (no DB audit columns).
UserInfoSchema
const UserInfoSchema: ZodObject<{
avatar_url: ZodNullable<ZodString>;
deactivated_at: ZodNullable<ZodString>;
email: ZodString;
norbital_id: ZodString;
role: ZodEnum<{
admin: "admin";
member: "member";
}>;
team_members: ZodArray<ZodObject<{
description: ZodNullable<ZodString>;
is_active: ZodNullable<ZodBoolean>;
name: ZodNullable<ZodString>;
norbital_id: ZodString;
parent_id: ZodNullable<ZodString>;
}, $strip>>;
user_name: ZodString;
user_status: ZodEnum<{
active: "active";
inactive: "inactive";
pending_invitation: "pending_invitation";
}>;
}, $strip>;Defined in: platform-utils/src/scope/types.ts:17
Requestor carried over HTTP headers between Core and the runtime isolate.