@stndrds/schema 1.0.0-alpha.360 → 1.0.0-alpha.361

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -507,9 +507,9 @@ declare const publishedViewContentDefinitionSchema: z$1.ZodDiscriminatedUnion<[z
507
507
  relation?: string | undefined;
508
508
  }>>;
509
509
  visibility: z$1.ZodOptional<z$1.ZodEnum<{
510
- all: "all";
511
510
  workspace: "workspace";
512
511
  private: "private";
512
+ all: "all";
513
513
  }>>;
514
514
  columns: z$1.ZodOptional<z$1.ZodArray<z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
515
515
  relationProperty: z$1.ZodString;
@@ -742,9 +742,9 @@ declare function draftContentViewDefinitionSchemaFor(): z$1.ZodObject<{
742
742
  relation?: string | undefined;
743
743
  }>>;
744
744
  visibility: z$1.ZodOptional<z$1.ZodEnum<{
745
- all: "all";
746
745
  workspace: "workspace";
747
746
  private: "private";
747
+ all: "all";
748
748
  }>>;
749
749
  columns: z$1.ZodOptional<z$1.ZodArray<z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
750
750
  relationProperty: z$1.ZodString;
@@ -989,9 +989,9 @@ declare const draftContentViewDefinitionSchema: z$1.ZodObject<{
989
989
  relation?: string | undefined;
990
990
  }>>;
991
991
  visibility: z$1.ZodOptional<z$1.ZodEnum<{
992
- all: "all";
993
992
  workspace: "workspace";
994
993
  private: "private";
994
+ all: "all";
995
995
  }>>;
996
996
  columns: z$1.ZodOptional<z$1.ZodArray<z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
997
997
  relationProperty: z$1.ZodString;
@@ -507,9 +507,9 @@ declare const publishedViewContentDefinitionSchema: z$1.ZodDiscriminatedUnion<[z
507
507
  relation?: string | undefined;
508
508
  }>>;
509
509
  visibility: z$1.ZodOptional<z$1.ZodEnum<{
510
- all: "all";
511
510
  workspace: "workspace";
512
511
  private: "private";
512
+ all: "all";
513
513
  }>>;
514
514
  columns: z$1.ZodOptional<z$1.ZodArray<z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
515
515
  relationProperty: z$1.ZodString;
@@ -742,9 +742,9 @@ declare function draftContentViewDefinitionSchemaFor(): z$1.ZodObject<{
742
742
  relation?: string | undefined;
743
743
  }>>;
744
744
  visibility: z$1.ZodOptional<z$1.ZodEnum<{
745
- all: "all";
746
745
  workspace: "workspace";
747
746
  private: "private";
747
+ all: "all";
748
748
  }>>;
749
749
  columns: z$1.ZodOptional<z$1.ZodArray<z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
750
750
  relationProperty: z$1.ZodString;
@@ -989,9 +989,9 @@ declare const draftContentViewDefinitionSchema: z$1.ZodObject<{
989
989
  relation?: string | undefined;
990
990
  }>>;
991
991
  visibility: z$1.ZodOptional<z$1.ZodEnum<{
992
- all: "all";
993
992
  workspace: "workspace";
994
993
  private: "private";
994
+ all: "all";
995
995
  }>>;
996
996
  columns: z$1.ZodOptional<z$1.ZodArray<z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
997
997
  relationProperty: z$1.ZodString;
package/dist/index.d.mts CHANGED
@@ -2,7 +2,7 @@
2
2
  import { A as SearchBackendError, B as ValidationErrorDetail, C as RecordReferencedError, D as RoleNotFoundError, E as ReservedObjectNameError, F as SyncCascadeError, G as isRecordReferencedError, H as isNotFoundError, I as SyncConflictError, J as GrantIssue, K as isSchemaError, L as SyncError, M as SearchBackendFailureKind, N as StorageError, O as SchemaError, P as StorageOperation, Q as permissionGrantSchema, R as SystemEntityImmutableError, S as RecordReference, T as RepositoryOperation, U as isObjectReferencedError, V as isAttributeInUseError, W as isProtectedResourceError, X as PermissionGrant, Y as PERMISSION_ACTIONS, Z as findGrantIssues, _ as ProtectedRoleError, a as AttributeUsage, b as RealtimeSubscriptionError, c as ForbiddenError, d as NotFoundError, f as NotImplementedError, g as ProtectedResourceError, h as OrphanSystemAttributeError, i as AttributeNotFoundError, j as SearchBackendErrorOptions, k as SchemaErrorCode, l as InvalidPermissionGrantError, m as ObjectReferencedError, n as AmbiguousSchemaChangeError, o as ConcurrentModificationError, p as ObjectNotFoundError, q as isValidationError, r as AttributeInUseError, s as DuplicateError, t as AccessDeniedError, u as MemoryNotFoundError, v as RealtimeDeliveryError, w as RepositoryError, x as RecordNotFoundError, y as RealtimeRateLimitedError, z as ValidationError } from "./exceptions-DStnjN6V.mjs";
3
3
  import { $ as COMPUTED_FUNCTION_METADATA, A as RichTextAttribute, At as ComputedFormulaAstNode, B as UserAttribute, C as NumberUnit, Ct as isComputedFunctionName, D as RELATION_TARGET_ANY, Dt as ComputedPlan, E as PhoneAttribute, Et as ComputedOptionsSource, F as SingleRelationAttribute, Ft as ComputedFormulaParseError, G as isUniversalRelation, H as inferInverseCardinality, I as StatusAttribute, It as ComputedFormulaPathNode, J as PropertyAttribute, K as relationTargetsOf, L as StatusGroup, Lt as parseComputedFormula, M as RollupAttribute, Mt as ComputedFormulaBinaryOperator, N as RollupFunction, Nt as ComputedFormulaCallNode, O as RelationAttribute, Ot as ComputedReturnType, P as SelectAttribute, Pt as ComputedFormulaLiteralNode, Q as resolvePropertyDefinitions, R as TextAttribute, S as NumberAttribute, St as ComputedFunctionSignature, T as Phone, Tt as ComputedFieldKind, U as isAttributeSortable, V as UserReferenceType, W as isBilateralRelation, X as PropertyType, Y as PropertySchema, Z as hasOptions, _ as Location, _t as assertAcyclicComputedDependencies, a as BaseAttribute, at as evaluateComputedFormulaWithResult, b as MultiRelationAttribute, bt as COMPUTED_FUNCTION_NAMES, c as Currency, ct as compileRollupAttribute, d as DateFormat, dt as CompileComputedFormulaInput, et as ComputedFunctionCategory, f as DateRangeValue, ft as ComputedCompileAttribute, g as FormulaReturnType, gt as ComputedFormulaCompileError, h as FormulaAttribute, ht as ComputedDependencyGraphNode, i as AttributeType, it as evaluateComputedFormula, j as RichtextAttribute, jt as ComputedFormulaBinaryNode, k as RelationTarget, kt as ComputedValueType, l as CurrencyAttribute, lt as inferRollupReturnType, m as DocumentAttribute, mt as ComputedCompileSchema, n as Attribute, nt as ComputedFormulaResult, o as BilateralConfig, ot as formatComputedResult, p as DateValue, pt as ComputedCompileObject, q as OptionPropertyAttribute, r as AttributeGroup, rt as evaluateComputedAst, s as CheckboxAttribute, st as isPlainRecord, t as ATTRIBUTE_TYPES, tt as ComputedFunctionMetadata, u as DateAttribute, ut as rollupToFormulaExpression, v as LocationAttribute, vt as compileComputedFormula, w as Option, wt as ComputedDependency, x as MultiselectAttribute, xt as ComputedFunctionName, y as LocationGranularity, yt as COMPUTED_FUNCTIONS, z as TimeFormat } from "./attributes-DPIr_qX6.mjs";
4
4
  import { a as asUserId, c as indexBy, d as sameStableValue, f as serializeCanonicalJson, i as asTenantId, l as NonJsonValueError, n as UserId, o as deepEqual, p as serializeStableJson, r as Uuid, s as generateId, t as TenantId, u as canonicalStringify } from "./utils-Db_Py4G6.mjs";
5
- import { $ as RelativeDateValue, A as FormDensity, B as DynamicValue, C as ContentPlacement, D as DocumentsContentDefinition, E as CustomContentDefinition, F as RichtextContentDefinition, G as FilterRule, H as ExtendedFilterRule, I as ViewContentDefinition, J as NO_VALUE_OPERATORS, K as FilterState, L as ViewRead, M as KanbanCollectionContentDefinition, N as ListViewLayout, O as EmailsContentDefinition, P as MeetingsContentDefinition, Q as QueryState, R as CurrencyFilterValue, S as ContentOpenMode, T as ContentViewDefinition, U as FilterCombinator, V as EdgeQuantifier, W as FilterOperator, X as OPERATORS_BY_TYPE, Y as NoValueOperator, Z as PhoneFilterValue, _ as CollectionContentSource, a as displayAttributesSchema, b as ContentField, c as filterStateSchema, d as colorIdSchema, et as SortDirection, f as iconNameSchema, g as CollectionContentDefinition, h as CollectionAction, i as contentViewDefinitionSchemaFor, j as FormsContentDefinition, k as FormContentDefinition, l as publishedViewContentDefinitionSchema, m as ActivityContentDefinition, n as columnsSchema, nt as getRollupFilterOperators, o as draftContentViewDefinitionSchema, p as SCHEMA_LIMITS, q as FilterValue, r as contentViewDefinitionSchema, rt as isNoValueOperator, s as draftContentViewDefinitionSchemaFor, t as collectionContentSourceSchema, tt as SortRule, u as sortsSchema, v as ColumnReference, w as ContentViewContext, x as ContentFieldGroup, y as ContentCreateMode, z as DayMonthValue } from "./all-DesZitlD.mjs";
5
+ import { $ as RelativeDateValue, A as FormDensity, B as DynamicValue, C as ContentPlacement, D as DocumentsContentDefinition, E as CustomContentDefinition, F as RichtextContentDefinition, G as FilterRule, H as ExtendedFilterRule, I as ViewContentDefinition, J as NO_VALUE_OPERATORS, K as FilterState, L as ViewRead, M as KanbanCollectionContentDefinition, N as ListViewLayout, O as EmailsContentDefinition, P as MeetingsContentDefinition, Q as QueryState, R as CurrencyFilterValue, S as ContentOpenMode, T as ContentViewDefinition, U as FilterCombinator, V as EdgeQuantifier, W as FilterOperator, X as OPERATORS_BY_TYPE, Y as NoValueOperator, Z as PhoneFilterValue, _ as CollectionContentSource, a as displayAttributesSchema, b as ContentField, c as filterStateSchema, d as colorIdSchema, et as SortDirection, f as iconNameSchema, g as CollectionContentDefinition, h as CollectionAction, i as contentViewDefinitionSchemaFor, j as FormsContentDefinition, k as FormContentDefinition, l as publishedViewContentDefinitionSchema, m as ActivityContentDefinition, n as columnsSchema, nt as getRollupFilterOperators, o as draftContentViewDefinitionSchema, p as SCHEMA_LIMITS, q as FilterValue, r as contentViewDefinitionSchema, rt as isNoValueOperator, s as draftContentViewDefinitionSchemaFor, t as collectionContentSourceSchema, tt as SortRule, u as sortsSchema, v as ColumnReference, w as ContentViewContext, x as ContentFieldGroup, y as ContentCreateMode, z as DayMonthValue } from "./all-BdyT_Wvg.mjs";
6
6
  import { A as RecordAccessRole, B as PresetNode, C as ResourceVisibility, D as parseResourceVisibility, E as Timestamps, F as deriveViewerAccess, I as parseRecordAccessRole, L as DocumentLayout, M as RecordAudience, N as RecordAudienceGrant, O as RECORD_ACCESS_ROLES, P as ViewerAccess, R as FolderPreset, S as ReservedObjectName, T as SystemFieldName, _ as ObjectRecord, a as validateDraft, b as RESOURCE_VISIBILITIES, c as validateObjectOrThrow, f as createFormAttributeValidator, g as ObjectDefinition, h as ObjectAttribute, j as RecordAccessSource, k as RECORD_ACCESS_SOURCES, m as ListViewTabVisibility, o as validateDraftOrThrow, p as LIST_VIEW_TAB_VISIBILITIES, r as rejectUnknownAttributesOrThrow, s as validateObject, v as RESERVED_ATTRIBUTE_NAMES, w as SYSTEM_FIELD_NAMES, x as ReservedAttributeName, y as RESERVED_OBJECT_NAMES, z as MAX_PRESET_DEPTH } from "./index-B7Aho10z.mjs";
7
7
  import { C as RelationOption, S as CreateCustomObjectInput, T as UpdateObjectInput, _ as statusGroupSchema, b as withoutUnknownOptionKeys, c as parseAttributeConfig, d as propertyAttributeSchema, f as propertyAttributeWireSchema, g as selectOptionWriteSchema, h as refuseForeignKeys, i as attributeConfigSchemas, l as parseAttributeConfigForCreate, m as propertySchemaWireSchema, p as propertySchemaSchema, r as WIRE_OMITTED_CONFIG_KEYS, s as multiselectOptionWriteSchema, t as SIMPLE_PROPERTY_TYPES, u as parseAttributeConfigForUpdate, v as statusOptionWriteSchema, w as RelationOptionsResponse, x as AddAttributeInput, y as wireOmittedConfigKeysFor } from "./index-3l917IWo.mjs";
8
8
  import { n as DEFAULT_VALIDATION_MESSAGES, r as ValidationMessages, t as formatZodErrors } from "./index-IgE3Rdnx.mjs";
@@ -1825,7 +1825,7 @@ export declare const canonicalViewOperationSchema: z$1.ZodDiscriminatedUnion<[z$
1825
1825
  kanbanColumnOrder?: string[] | undefined;
1826
1826
  kanbanColumnVisibility?: Record<string, boolean> | undefined;
1827
1827
  kanbanPinnedColumns?: string[] | undefined;
1828
- visibility?: "all" | "workspace" | "private" | undefined;
1828
+ visibility?: "workspace" | "private" | "all" | undefined;
1829
1829
  columns?: (string | {
1830
1830
  relationProperty: string;
1831
1831
  })[] | undefined;
@@ -1987,9 +1987,9 @@ export declare const canonicalViewOperationSchema: z$1.ZodDiscriminatedUnion<[z$
1987
1987
  relation?: string | undefined;
1988
1988
  }>>;
1989
1989
  visibility: z$1.ZodOptional<z$1.ZodEnum<{
1990
- all: "all";
1991
1990
  workspace: "workspace";
1992
1991
  private: "private";
1992
+ all: "all";
1993
1993
  }>>;
1994
1994
  columns: z$1.ZodOptional<z$1.ZodArray<z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
1995
1995
  relationProperty: z$1.ZodString;
@@ -10727,7 +10727,7 @@ export declare class ContentBuilder<T extends {
10727
10727
  createMode: ContentCreateMode;
10728
10728
  }>>;
10729
10729
  visibility(this: ContentBuilder<T & Collection>, visibility: ListViewTabVisibility): ContentBuilder<SetFields<T & Collection, {
10730
- visibility: "all" | "workspace" | "private";
10730
+ visibility: "workspace" | "private" | "all";
10731
10731
  }>>;
10732
10732
  descriptionAttribute<const N extends string>(this: ContentBuilder<T & Collection>, descriptionAttribute: N): ContentBuilder<SetFields<T & Collection, {
10733
10733
  descriptionAttribute: N;
@@ -11492,7 +11492,7 @@ export declare const DRIVE_LIST_VIEW: ViewDeclaration<"drive-list", "drives", "c
11492
11492
  }, "type"> & {
11493
11493
  type: "collection";
11494
11494
  }, "visibility"> & {
11495
- visibility: "all" | "workspace" | "private";
11495
+ visibility: "workspace" | "private" | "all";
11496
11496
  } & Pick<Omit<Omit<Omit<{
11497
11497
  type: "collection";
11498
11498
  }, "source"> & {
@@ -11554,7 +11554,7 @@ export declare const DRIVE_LIST_VIEW: ViewDeclaration<"drive-list", "drives", "c
11554
11554
  }, "type"> & {
11555
11555
  type: "collection";
11556
11556
  }, "visibility"> & {
11557
- visibility: "all" | "workspace" | "private";
11557
+ visibility: "workspace" | "private" | "all";
11558
11558
  } & Pick<Omit<Omit<Omit<{
11559
11559
  type: "collection";
11560
11560
  }, "source"> & {
@@ -11618,7 +11618,7 @@ export declare const DRIVE_LIST_VIEW: ViewDeclaration<"drive-list", "drives", "c
11618
11618
  }, "type"> & {
11619
11619
  type: "collection";
11620
11620
  }, "visibility"> & {
11621
- visibility: "all" | "workspace" | "private";
11621
+ visibility: "workspace" | "private" | "all";
11622
11622
  } & Pick<Omit<Omit<Omit<{
11623
11623
  type: "collection";
11624
11624
  }, "source"> & {
@@ -11680,7 +11680,7 @@ export declare const DRIVE_LIST_VIEW: ViewDeclaration<"drive-list", "drives", "c
11680
11680
  }, "type"> & {
11681
11681
  type: "collection";
11682
11682
  }, "visibility"> & {
11683
- visibility: "all" | "workspace" | "private";
11683
+ visibility: "workspace" | "private" | "all";
11684
11684
  } & Pick<Omit<Omit<Omit<{
11685
11685
  type: "collection";
11686
11686
  }, "source"> & {
@@ -11746,7 +11746,7 @@ export declare const DRIVE_LIST_VIEW: ViewDeclaration<"drive-list", "drives", "c
11746
11746
  }, "type"> & {
11747
11747
  type: "collection";
11748
11748
  }, "visibility"> & {
11749
- visibility: "all" | "workspace" | "private";
11749
+ visibility: "workspace" | "private" | "all";
11750
11750
  } & Pick<Omit<Omit<Omit<{
11751
11751
  type: "collection";
11752
11752
  }, "source"> & {
@@ -11808,7 +11808,7 @@ export declare const DRIVE_LIST_VIEW: ViewDeclaration<"drive-list", "drives", "c
11808
11808
  }, "type"> & {
11809
11809
  type: "collection";
11810
11810
  }, "visibility"> & {
11811
- visibility: "all" | "workspace" | "private";
11811
+ visibility: "workspace" | "private" | "all";
11812
11812
  } & Pick<Omit<Omit<Omit<{
11813
11813
  type: "collection";
11814
11814
  }, "source"> & {
@@ -11872,7 +11872,7 @@ export declare const DRIVE_LIST_VIEW: ViewDeclaration<"drive-list", "drives", "c
11872
11872
  }, "type"> & {
11873
11873
  type: "collection";
11874
11874
  }, "visibility"> & {
11875
- visibility: "all" | "workspace" | "private";
11875
+ visibility: "workspace" | "private" | "all";
11876
11876
  } & Pick<Omit<Omit<Omit<{
11877
11877
  type: "collection";
11878
11878
  }, "source"> & {
@@ -11934,7 +11934,7 @@ export declare const DRIVE_LIST_VIEW: ViewDeclaration<"drive-list", "drives", "c
11934
11934
  }, "type"> & {
11935
11935
  type: "collection";
11936
11936
  }, "visibility"> & {
11937
- visibility: "all" | "workspace" | "private";
11937
+ visibility: "workspace" | "private" | "all";
11938
11938
  } & Pick<Omit<Omit<Omit<{
11939
11939
  type: "collection";
11940
11940
  }, "source"> & {
@@ -12209,7 +12209,7 @@ export declare const MEETING_LIST_VIEW: ViewDeclaration<"meeting-list", "meeting
12209
12209
  }, "type"> & {
12210
12210
  type: "collection";
12211
12211
  }, "visibility"> & {
12212
- visibility: "all" | "workspace" | "private";
12212
+ visibility: "workspace" | "private" | "all";
12213
12213
  } & Pick<Omit<Omit<Omit<{
12214
12214
  type: "collection";
12215
12215
  }, "source"> & {
@@ -12271,7 +12271,7 @@ export declare const MEETING_LIST_VIEW: ViewDeclaration<"meeting-list", "meeting
12271
12271
  }, "type"> & {
12272
12272
  type: "collection";
12273
12273
  }, "visibility"> & {
12274
- visibility: "all" | "workspace" | "private";
12274
+ visibility: "workspace" | "private" | "all";
12275
12275
  } & Pick<Omit<Omit<Omit<{
12276
12276
  type: "collection";
12277
12277
  }, "source"> & {
@@ -12335,7 +12335,7 @@ export declare const MEETING_LIST_VIEW: ViewDeclaration<"meeting-list", "meeting
12335
12335
  }, "type"> & {
12336
12336
  type: "collection";
12337
12337
  }, "visibility"> & {
12338
- visibility: "all" | "workspace" | "private";
12338
+ visibility: "workspace" | "private" | "all";
12339
12339
  } & Pick<Omit<Omit<Omit<{
12340
12340
  type: "collection";
12341
12341
  }, "source"> & {
@@ -12397,7 +12397,7 @@ export declare const MEETING_LIST_VIEW: ViewDeclaration<"meeting-list", "meeting
12397
12397
  }, "type"> & {
12398
12398
  type: "collection";
12399
12399
  }, "visibility"> & {
12400
- visibility: "all" | "workspace" | "private";
12400
+ visibility: "workspace" | "private" | "all";
12401
12401
  } & Pick<Omit<Omit<Omit<{
12402
12402
  type: "collection";
12403
12403
  }, "source"> & {
@@ -12463,7 +12463,7 @@ export declare const MEETING_LIST_VIEW: ViewDeclaration<"meeting-list", "meeting
12463
12463
  }, "type"> & {
12464
12464
  type: "collection";
12465
12465
  }, "visibility"> & {
12466
- visibility: "all" | "workspace" | "private";
12466
+ visibility: "workspace" | "private" | "all";
12467
12467
  } & Pick<Omit<Omit<Omit<{
12468
12468
  type: "collection";
12469
12469
  }, "source"> & {
@@ -12525,7 +12525,7 @@ export declare const MEETING_LIST_VIEW: ViewDeclaration<"meeting-list", "meeting
12525
12525
  }, "type"> & {
12526
12526
  type: "collection";
12527
12527
  }, "visibility"> & {
12528
- visibility: "all" | "workspace" | "private";
12528
+ visibility: "workspace" | "private" | "all";
12529
12529
  } & Pick<Omit<Omit<Omit<{
12530
12530
  type: "collection";
12531
12531
  }, "source"> & {
@@ -12589,7 +12589,7 @@ export declare const MEETING_LIST_VIEW: ViewDeclaration<"meeting-list", "meeting
12589
12589
  }, "type"> & {
12590
12590
  type: "collection";
12591
12591
  }, "visibility"> & {
12592
- visibility: "all" | "workspace" | "private";
12592
+ visibility: "workspace" | "private" | "all";
12593
12593
  } & Pick<Omit<Omit<Omit<{
12594
12594
  type: "collection";
12595
12595
  }, "source"> & {
@@ -12651,7 +12651,7 @@ export declare const MEETING_LIST_VIEW: ViewDeclaration<"meeting-list", "meeting
12651
12651
  }, "type"> & {
12652
12652
  type: "collection";
12653
12653
  }, "visibility"> & {
12654
- visibility: "all" | "workspace" | "private";
12654
+ visibility: "workspace" | "private" | "all";
12655
12655
  } & Pick<Omit<Omit<Omit<{
12656
12656
  type: "collection";
12657
12657
  }, "source"> & {
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  import { A as SearchBackendError, B as ValidationErrorDetail, C as RecordReferencedError, D as RoleNotFoundError, E as ReservedObjectNameError, F as SyncCascadeError, G as isRecordReferencedError, H as isNotFoundError, I as SyncConflictError, J as GrantIssue, K as isSchemaError, L as SyncError, M as SearchBackendFailureKind, N as StorageError, O as SchemaError, P as StorageOperation, Q as permissionGrantSchema, R as SystemEntityImmutableError, S as RecordReference, T as RepositoryOperation, U as isObjectReferencedError, V as isAttributeInUseError, W as isProtectedResourceError, X as PermissionGrant, Y as PERMISSION_ACTIONS, Z as findGrantIssues, _ as ProtectedRoleError, a as AttributeUsage, b as RealtimeSubscriptionError, c as ForbiddenError, d as NotFoundError, f as NotImplementedError, g as ProtectedResourceError, h as OrphanSystemAttributeError, i as AttributeNotFoundError, j as SearchBackendErrorOptions, k as SchemaErrorCode, l as InvalidPermissionGrantError, m as ObjectReferencedError, n as AmbiguousSchemaChangeError, o as ConcurrentModificationError, p as ObjectNotFoundError, q as isValidationError, r as AttributeInUseError, s as DuplicateError, t as AccessDeniedError, u as MemoryNotFoundError, v as RealtimeDeliveryError, w as RepositoryError, x as RecordNotFoundError, y as RealtimeRateLimitedError, z as ValidationError } from "./exceptions-DStnjN6V.js";
3
3
  import { $ as COMPUTED_FUNCTION_METADATA, A as RichTextAttribute, At as ComputedFormulaAstNode, B as UserAttribute, C as NumberUnit, Ct as isComputedFunctionName, D as RELATION_TARGET_ANY, Dt as ComputedPlan, E as PhoneAttribute, Et as ComputedOptionsSource, F as SingleRelationAttribute, Ft as ComputedFormulaParseError, G as isUniversalRelation, H as inferInverseCardinality, I as StatusAttribute, It as ComputedFormulaPathNode, J as PropertyAttribute, K as relationTargetsOf, L as StatusGroup, Lt as parseComputedFormula, M as RollupAttribute, Mt as ComputedFormulaBinaryOperator, N as RollupFunction, Nt as ComputedFormulaCallNode, O as RelationAttribute, Ot as ComputedReturnType, P as SelectAttribute, Pt as ComputedFormulaLiteralNode, Q as resolvePropertyDefinitions, R as TextAttribute, S as NumberAttribute, St as ComputedFunctionSignature, T as Phone, Tt as ComputedFieldKind, U as isAttributeSortable, V as UserReferenceType, W as isBilateralRelation, X as PropertyType, Y as PropertySchema, Z as hasOptions, _ as Location, _t as assertAcyclicComputedDependencies, a as BaseAttribute, at as evaluateComputedFormulaWithResult, b as MultiRelationAttribute, bt as COMPUTED_FUNCTION_NAMES, c as Currency, ct as compileRollupAttribute, d as DateFormat, dt as CompileComputedFormulaInput, et as ComputedFunctionCategory, f as DateRangeValue, ft as ComputedCompileAttribute, g as FormulaReturnType, gt as ComputedFormulaCompileError, h as FormulaAttribute, ht as ComputedDependencyGraphNode, i as AttributeType, it as evaluateComputedFormula, j as RichtextAttribute, jt as ComputedFormulaBinaryNode, k as RelationTarget, kt as ComputedValueType, l as CurrencyAttribute, lt as inferRollupReturnType, m as DocumentAttribute, mt as ComputedCompileSchema, n as Attribute, nt as ComputedFormulaResult, o as BilateralConfig, ot as formatComputedResult, p as DateValue, pt as ComputedCompileObject, q as OptionPropertyAttribute, r as AttributeGroup, rt as evaluateComputedAst, s as CheckboxAttribute, st as isPlainRecord, t as ATTRIBUTE_TYPES, tt as ComputedFunctionMetadata, u as DateAttribute, ut as rollupToFormulaExpression, v as LocationAttribute, vt as compileComputedFormula, w as Option, wt as ComputedDependency, x as MultiselectAttribute, xt as ComputedFunctionName, y as LocationGranularity, yt as COMPUTED_FUNCTIONS, z as TimeFormat } from "./attributes-yTXr35kT.js";
4
4
  import { a as asUserId, c as indexBy, d as sameStableValue, f as serializeCanonicalJson, i as asTenantId, l as NonJsonValueError, n as UserId, o as deepEqual, p as serializeStableJson, r as Uuid, s as generateId, t as TenantId, u as canonicalStringify } from "./utils-70uWAevF.js";
5
- import { $ as RelativeDateValue, A as FormDensity, B as DynamicValue, C as ContentPlacement, D as DocumentsContentDefinition, E as CustomContentDefinition, F as RichtextContentDefinition, G as FilterRule, H as ExtendedFilterRule, I as ViewContentDefinition, J as NO_VALUE_OPERATORS, K as FilterState, L as ViewRead, M as KanbanCollectionContentDefinition, N as ListViewLayout, O as EmailsContentDefinition, P as MeetingsContentDefinition, Q as QueryState, R as CurrencyFilterValue, S as ContentOpenMode, T as ContentViewDefinition, U as FilterCombinator, V as EdgeQuantifier, W as FilterOperator, X as OPERATORS_BY_TYPE, Y as NoValueOperator, Z as PhoneFilterValue, _ as CollectionContentSource, a as displayAttributesSchema, b as ContentField, c as filterStateSchema, d as colorIdSchema, et as SortDirection, f as iconNameSchema, g as CollectionContentDefinition, h as CollectionAction, i as contentViewDefinitionSchemaFor, j as FormsContentDefinition, k as FormContentDefinition, l as publishedViewContentDefinitionSchema, m as ActivityContentDefinition, n as columnsSchema, nt as getRollupFilterOperators, o as draftContentViewDefinitionSchema, p as SCHEMA_LIMITS, q as FilterValue, r as contentViewDefinitionSchema, rt as isNoValueOperator, s as draftContentViewDefinitionSchemaFor, t as collectionContentSourceSchema, tt as SortRule, u as sortsSchema, v as ColumnReference, w as ContentViewContext, x as ContentFieldGroup, y as ContentCreateMode, z as DayMonthValue } from "./all-C-bCbBrd.js";
5
+ import { $ as RelativeDateValue, A as FormDensity, B as DynamicValue, C as ContentPlacement, D as DocumentsContentDefinition, E as CustomContentDefinition, F as RichtextContentDefinition, G as FilterRule, H as ExtendedFilterRule, I as ViewContentDefinition, J as NO_VALUE_OPERATORS, K as FilterState, L as ViewRead, M as KanbanCollectionContentDefinition, N as ListViewLayout, O as EmailsContentDefinition, P as MeetingsContentDefinition, Q as QueryState, R as CurrencyFilterValue, S as ContentOpenMode, T as ContentViewDefinition, U as FilterCombinator, V as EdgeQuantifier, W as FilterOperator, X as OPERATORS_BY_TYPE, Y as NoValueOperator, Z as PhoneFilterValue, _ as CollectionContentSource, a as displayAttributesSchema, b as ContentField, c as filterStateSchema, d as colorIdSchema, et as SortDirection, f as iconNameSchema, g as CollectionContentDefinition, h as CollectionAction, i as contentViewDefinitionSchemaFor, j as FormsContentDefinition, k as FormContentDefinition, l as publishedViewContentDefinitionSchema, m as ActivityContentDefinition, n as columnsSchema, nt as getRollupFilterOperators, o as draftContentViewDefinitionSchema, p as SCHEMA_LIMITS, q as FilterValue, r as contentViewDefinitionSchema, rt as isNoValueOperator, s as draftContentViewDefinitionSchemaFor, t as collectionContentSourceSchema, tt as SortRule, u as sortsSchema, v as ColumnReference, w as ContentViewContext, x as ContentFieldGroup, y as ContentCreateMode, z as DayMonthValue } from "./all-C8N8ymoU.js";
6
6
  import { A as RecordAccessRole, B as PresetNode, C as ResourceVisibility, D as parseResourceVisibility, E as Timestamps, F as deriveViewerAccess, I as parseRecordAccessRole, L as DocumentLayout, M as RecordAudience, N as RecordAudienceGrant, O as RECORD_ACCESS_ROLES, P as ViewerAccess, R as FolderPreset, S as ReservedObjectName, T as SystemFieldName, _ as ObjectRecord, a as validateDraft, b as RESOURCE_VISIBILITIES, c as validateObjectOrThrow, f as createFormAttributeValidator, g as ObjectDefinition, h as ObjectAttribute, j as RecordAccessSource, k as RECORD_ACCESS_SOURCES, m as ListViewTabVisibility, o as validateDraftOrThrow, p as LIST_VIEW_TAB_VISIBILITIES, r as rejectUnknownAttributesOrThrow, s as validateObject, v as RESERVED_ATTRIBUTE_NAMES, w as SYSTEM_FIELD_NAMES, x as ReservedAttributeName, y as RESERVED_OBJECT_NAMES, z as MAX_PRESET_DEPTH } from "./index-DfTkjIMo.js";
7
7
  import { C as RelationOption, S as CreateCustomObjectInput, T as UpdateObjectInput, _ as statusGroupSchema, b as withoutUnknownOptionKeys, c as parseAttributeConfig, d as propertyAttributeSchema, f as propertyAttributeWireSchema, g as selectOptionWriteSchema, h as refuseForeignKeys, i as attributeConfigSchemas, l as parseAttributeConfigForCreate, m as propertySchemaWireSchema, p as propertySchemaSchema, r as WIRE_OMITTED_CONFIG_KEYS, s as multiselectOptionWriteSchema, t as SIMPLE_PROPERTY_TYPES, u as parseAttributeConfigForUpdate, v as statusOptionWriteSchema, w as RelationOptionsResponse, x as AddAttributeInput, y as wireOmittedConfigKeysFor } from "./index-BCmWG1tK.js";
8
8
  import { n as DEFAULT_VALIDATION_MESSAGES, r as ValidationMessages, t as formatZodErrors } from "./index-Depp4oSL.js";
@@ -1825,7 +1825,7 @@ export declare const canonicalViewOperationSchema: z$1.ZodDiscriminatedUnion<[z$
1825
1825
  kanbanColumnOrder?: string[] | undefined;
1826
1826
  kanbanColumnVisibility?: Record<string, boolean> | undefined;
1827
1827
  kanbanPinnedColumns?: string[] | undefined;
1828
- visibility?: "all" | "workspace" | "private" | undefined;
1828
+ visibility?: "workspace" | "private" | "all" | undefined;
1829
1829
  columns?: (string | {
1830
1830
  relationProperty: string;
1831
1831
  })[] | undefined;
@@ -1987,9 +1987,9 @@ export declare const canonicalViewOperationSchema: z$1.ZodDiscriminatedUnion<[z$
1987
1987
  relation?: string | undefined;
1988
1988
  }>>;
1989
1989
  visibility: z$1.ZodOptional<z$1.ZodEnum<{
1990
- all: "all";
1991
1990
  workspace: "workspace";
1992
1991
  private: "private";
1992
+ all: "all";
1993
1993
  }>>;
1994
1994
  columns: z$1.ZodOptional<z$1.ZodArray<z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
1995
1995
  relationProperty: z$1.ZodString;
@@ -10727,7 +10727,7 @@ export declare class ContentBuilder<T extends {
10727
10727
  createMode: ContentCreateMode;
10728
10728
  }>>;
10729
10729
  visibility(this: ContentBuilder<T & Collection>, visibility: ListViewTabVisibility): ContentBuilder<SetFields<T & Collection, {
10730
- visibility: "all" | "workspace" | "private";
10730
+ visibility: "workspace" | "private" | "all";
10731
10731
  }>>;
10732
10732
  descriptionAttribute<const N extends string>(this: ContentBuilder<T & Collection>, descriptionAttribute: N): ContentBuilder<SetFields<T & Collection, {
10733
10733
  descriptionAttribute: N;
@@ -11492,7 +11492,7 @@ export declare const DRIVE_LIST_VIEW: ViewDeclaration<"drive-list", "drives", "c
11492
11492
  }, "type"> & {
11493
11493
  type: "collection";
11494
11494
  }, "visibility"> & {
11495
- visibility: "all" | "workspace" | "private";
11495
+ visibility: "workspace" | "private" | "all";
11496
11496
  } & Pick<Omit<Omit<Omit<{
11497
11497
  type: "collection";
11498
11498
  }, "source"> & {
@@ -11554,7 +11554,7 @@ export declare const DRIVE_LIST_VIEW: ViewDeclaration<"drive-list", "drives", "c
11554
11554
  }, "type"> & {
11555
11555
  type: "collection";
11556
11556
  }, "visibility"> & {
11557
- visibility: "all" | "workspace" | "private";
11557
+ visibility: "workspace" | "private" | "all";
11558
11558
  } & Pick<Omit<Omit<Omit<{
11559
11559
  type: "collection";
11560
11560
  }, "source"> & {
@@ -11618,7 +11618,7 @@ export declare const DRIVE_LIST_VIEW: ViewDeclaration<"drive-list", "drives", "c
11618
11618
  }, "type"> & {
11619
11619
  type: "collection";
11620
11620
  }, "visibility"> & {
11621
- visibility: "all" | "workspace" | "private";
11621
+ visibility: "workspace" | "private" | "all";
11622
11622
  } & Pick<Omit<Omit<Omit<{
11623
11623
  type: "collection";
11624
11624
  }, "source"> & {
@@ -11680,7 +11680,7 @@ export declare const DRIVE_LIST_VIEW: ViewDeclaration<"drive-list", "drives", "c
11680
11680
  }, "type"> & {
11681
11681
  type: "collection";
11682
11682
  }, "visibility"> & {
11683
- visibility: "all" | "workspace" | "private";
11683
+ visibility: "workspace" | "private" | "all";
11684
11684
  } & Pick<Omit<Omit<Omit<{
11685
11685
  type: "collection";
11686
11686
  }, "source"> & {
@@ -11746,7 +11746,7 @@ export declare const DRIVE_LIST_VIEW: ViewDeclaration<"drive-list", "drives", "c
11746
11746
  }, "type"> & {
11747
11747
  type: "collection";
11748
11748
  }, "visibility"> & {
11749
- visibility: "all" | "workspace" | "private";
11749
+ visibility: "workspace" | "private" | "all";
11750
11750
  } & Pick<Omit<Omit<Omit<{
11751
11751
  type: "collection";
11752
11752
  }, "source"> & {
@@ -11808,7 +11808,7 @@ export declare const DRIVE_LIST_VIEW: ViewDeclaration<"drive-list", "drives", "c
11808
11808
  }, "type"> & {
11809
11809
  type: "collection";
11810
11810
  }, "visibility"> & {
11811
- visibility: "all" | "workspace" | "private";
11811
+ visibility: "workspace" | "private" | "all";
11812
11812
  } & Pick<Omit<Omit<Omit<{
11813
11813
  type: "collection";
11814
11814
  }, "source"> & {
@@ -11872,7 +11872,7 @@ export declare const DRIVE_LIST_VIEW: ViewDeclaration<"drive-list", "drives", "c
11872
11872
  }, "type"> & {
11873
11873
  type: "collection";
11874
11874
  }, "visibility"> & {
11875
- visibility: "all" | "workspace" | "private";
11875
+ visibility: "workspace" | "private" | "all";
11876
11876
  } & Pick<Omit<Omit<Omit<{
11877
11877
  type: "collection";
11878
11878
  }, "source"> & {
@@ -11934,7 +11934,7 @@ export declare const DRIVE_LIST_VIEW: ViewDeclaration<"drive-list", "drives", "c
11934
11934
  }, "type"> & {
11935
11935
  type: "collection";
11936
11936
  }, "visibility"> & {
11937
- visibility: "all" | "workspace" | "private";
11937
+ visibility: "workspace" | "private" | "all";
11938
11938
  } & Pick<Omit<Omit<Omit<{
11939
11939
  type: "collection";
11940
11940
  }, "source"> & {
@@ -12209,7 +12209,7 @@ export declare const MEETING_LIST_VIEW: ViewDeclaration<"meeting-list", "meeting
12209
12209
  }, "type"> & {
12210
12210
  type: "collection";
12211
12211
  }, "visibility"> & {
12212
- visibility: "all" | "workspace" | "private";
12212
+ visibility: "workspace" | "private" | "all";
12213
12213
  } & Pick<Omit<Omit<Omit<{
12214
12214
  type: "collection";
12215
12215
  }, "source"> & {
@@ -12271,7 +12271,7 @@ export declare const MEETING_LIST_VIEW: ViewDeclaration<"meeting-list", "meeting
12271
12271
  }, "type"> & {
12272
12272
  type: "collection";
12273
12273
  }, "visibility"> & {
12274
- visibility: "all" | "workspace" | "private";
12274
+ visibility: "workspace" | "private" | "all";
12275
12275
  } & Pick<Omit<Omit<Omit<{
12276
12276
  type: "collection";
12277
12277
  }, "source"> & {
@@ -12335,7 +12335,7 @@ export declare const MEETING_LIST_VIEW: ViewDeclaration<"meeting-list", "meeting
12335
12335
  }, "type"> & {
12336
12336
  type: "collection";
12337
12337
  }, "visibility"> & {
12338
- visibility: "all" | "workspace" | "private";
12338
+ visibility: "workspace" | "private" | "all";
12339
12339
  } & Pick<Omit<Omit<Omit<{
12340
12340
  type: "collection";
12341
12341
  }, "source"> & {
@@ -12397,7 +12397,7 @@ export declare const MEETING_LIST_VIEW: ViewDeclaration<"meeting-list", "meeting
12397
12397
  }, "type"> & {
12398
12398
  type: "collection";
12399
12399
  }, "visibility"> & {
12400
- visibility: "all" | "workspace" | "private";
12400
+ visibility: "workspace" | "private" | "all";
12401
12401
  } & Pick<Omit<Omit<Omit<{
12402
12402
  type: "collection";
12403
12403
  }, "source"> & {
@@ -12463,7 +12463,7 @@ export declare const MEETING_LIST_VIEW: ViewDeclaration<"meeting-list", "meeting
12463
12463
  }, "type"> & {
12464
12464
  type: "collection";
12465
12465
  }, "visibility"> & {
12466
- visibility: "all" | "workspace" | "private";
12466
+ visibility: "workspace" | "private" | "all";
12467
12467
  } & Pick<Omit<Omit<Omit<{
12468
12468
  type: "collection";
12469
12469
  }, "source"> & {
@@ -12525,7 +12525,7 @@ export declare const MEETING_LIST_VIEW: ViewDeclaration<"meeting-list", "meeting
12525
12525
  }, "type"> & {
12526
12526
  type: "collection";
12527
12527
  }, "visibility"> & {
12528
- visibility: "all" | "workspace" | "private";
12528
+ visibility: "workspace" | "private" | "all";
12529
12529
  } & Pick<Omit<Omit<Omit<{
12530
12530
  type: "collection";
12531
12531
  }, "source"> & {
@@ -12589,7 +12589,7 @@ export declare const MEETING_LIST_VIEW: ViewDeclaration<"meeting-list", "meeting
12589
12589
  }, "type"> & {
12590
12590
  type: "collection";
12591
12591
  }, "visibility"> & {
12592
- visibility: "all" | "workspace" | "private";
12592
+ visibility: "workspace" | "private" | "all";
12593
12593
  } & Pick<Omit<Omit<Omit<{
12594
12594
  type: "collection";
12595
12595
  }, "source"> & {
@@ -12651,7 +12651,7 @@ export declare const MEETING_LIST_VIEW: ViewDeclaration<"meeting-list", "meeting
12651
12651
  }, "type"> & {
12652
12652
  type: "collection";
12653
12653
  }, "visibility"> & {
12654
- visibility: "all" | "workspace" | "private";
12654
+ visibility: "workspace" | "private" | "all";
12655
12655
  } & Pick<Omit<Omit<Omit<{
12656
12656
  type: "collection";
12657
12657
  }, "source"> & {
@@ -1,5 +1,5 @@
1
1
 
2
- import { d as colorIdSchema, f as iconNameSchema, l as publishedViewContentDefinitionSchema, o as draftContentViewDefinitionSchema, p as SCHEMA_LIMITS, r as contentViewDefinitionSchema, t as collectionContentSourceSchema } from "../all-DesZitlD.mjs";
2
+ import { d as colorIdSchema, f as iconNameSchema, l as publishedViewContentDefinitionSchema, o as draftContentViewDefinitionSchema, p as SCHEMA_LIMITS, r as contentViewDefinitionSchema, t as collectionContentSourceSchema } from "../all-BdyT_Wvg.mjs";
3
3
  import { a as validateDraft, c as validateObjectOrThrow, f as createFormAttributeValidator, o as validateDraftOrThrow, r as rejectUnknownAttributesOrThrow, s as validateObject } from "../index-B7Aho10z.mjs";
4
4
  import { _ as statusGroupSchema, b as withoutUnknownOptionKeys, c as parseAttributeConfig, d as propertyAttributeSchema, f as propertyAttributeWireSchema, g as selectOptionWriteSchema, h as refuseForeignKeys, i as attributeConfigSchemas, l as parseAttributeConfigForCreate, m as propertySchemaWireSchema, p as propertySchemaSchema, r as WIRE_OMITTED_CONFIG_KEYS, s as multiselectOptionWriteSchema, t as SIMPLE_PROPERTY_TYPES, u as parseAttributeConfigForUpdate, v as statusOptionWriteSchema, y as wireOmittedConfigKeysFor } from "../index-3l917IWo.mjs";
5
5
  import { n as DEFAULT_VALIDATION_MESSAGES, r as ValidationMessages, t as formatZodErrors } from "../index-IgE3Rdnx.mjs";
@@ -1,5 +1,5 @@
1
1
 
2
- import { d as colorIdSchema, f as iconNameSchema, l as publishedViewContentDefinitionSchema, o as draftContentViewDefinitionSchema, p as SCHEMA_LIMITS, r as contentViewDefinitionSchema, t as collectionContentSourceSchema } from "../all-C-bCbBrd.js";
2
+ import { d as colorIdSchema, f as iconNameSchema, l as publishedViewContentDefinitionSchema, o as draftContentViewDefinitionSchema, p as SCHEMA_LIMITS, r as contentViewDefinitionSchema, t as collectionContentSourceSchema } from "../all-C8N8ymoU.js";
3
3
  import { a as validateDraft, c as validateObjectOrThrow, f as createFormAttributeValidator, o as validateDraftOrThrow, r as rejectUnknownAttributesOrThrow, s as validateObject } from "../index-DfTkjIMo.js";
4
4
  import { _ as statusGroupSchema, b as withoutUnknownOptionKeys, c as parseAttributeConfig, d as propertyAttributeSchema, f as propertyAttributeWireSchema, g as selectOptionWriteSchema, h as refuseForeignKeys, i as attributeConfigSchemas, l as parseAttributeConfigForCreate, m as propertySchemaWireSchema, p as propertySchemaSchema, r as WIRE_OMITTED_CONFIG_KEYS, s as multiselectOptionWriteSchema, t as SIMPLE_PROPERTY_TYPES, u as parseAttributeConfigForUpdate, v as statusOptionWriteSchema, y as wireOmittedConfigKeysFor } from "../index-BCmWG1tK.js";
5
5
  import { n as DEFAULT_VALIDATION_MESSAGES, r as ValidationMessages, t as formatZodErrors } from "../index-Depp4oSL.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stndrds/schema",
3
- "version": "1.0.0-alpha.360",
3
+ "version": "1.0.0-alpha.361",
4
4
  "description": "Standard schema definitions and utilities",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -247,7 +247,7 @@
247
247
  "@standard-schema/spec": "^1.1.0",
248
248
  "libphonenumber-js": "^1.12.31",
249
249
  "zod": "^4.2.1",
250
- "@stndrds/constants": "1.0.0-alpha.360"
250
+ "@stndrds/constants": "1.0.0-alpha.361"
251
251
  },
252
252
  "devDependencies": {
253
253
  "@types/node": "^25.0.3",