@stndrds/schema 0.1.0-alpha.16 → 0.1.0-alpha.18

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.
Files changed (38) hide show
  1. package/dist/chunk-2PBQNUTS.mjs +7400 -0
  2. package/dist/chunk-4D23X5XN.mjs +7257 -0
  3. package/dist/chunk-4D476S25.mjs +7713 -0
  4. package/dist/chunk-6RPWHMTH.mjs +7101 -0
  5. package/dist/chunk-CMO3JEJL.mjs +7259 -0
  6. package/dist/chunk-CWPOGEK2.mjs +7707 -0
  7. package/dist/chunk-EWNSOD22.mjs +7707 -0
  8. package/dist/chunk-JWRGX3UW.mjs +7265 -0
  9. package/dist/chunk-KZSM5546.mjs +7706 -0
  10. package/dist/chunk-L7AQ7SZC.mjs +7432 -0
  11. package/dist/chunk-LZW2MI43.mjs +7404 -0
  12. package/dist/chunk-OUSLILLE.mjs +7259 -0
  13. package/dist/chunk-PMJZPJDP.mjs +7265 -0
  14. package/dist/chunk-V5QXU2OK.mjs +82 -0
  15. package/dist/chunk-XMGMXAHW.mjs +7706 -0
  16. package/dist/chunk-YEV46K3M.mjs +7259 -0
  17. package/dist/default-roles-AKWIWTLE.mjs +20 -0
  18. package/dist/index.d.mts +55 -5
  19. package/dist/index.d.ts +55 -5
  20. package/dist/index.js +890 -110
  21. package/dist/index.mjs +14 -2
  22. package/dist/runtime--rp-TG-h.d.mts +5181 -0
  23. package/dist/runtime--rp-TG-h.d.ts +5181 -0
  24. package/dist/runtime-DWhSpnn4.d.mts +5256 -0
  25. package/dist/runtime-DWhSpnn4.d.ts +5256 -0
  26. package/dist/runtime-Dw2exb5q.d.mts +5601 -0
  27. package/dist/runtime-Dw2exb5q.d.ts +5601 -0
  28. package/dist/runtime-DySuNV6Y.d.mts +5245 -0
  29. package/dist/runtime-DySuNV6Y.d.ts +5245 -0
  30. package/dist/runtime-DzdsFCyL.d.mts +5601 -0
  31. package/dist/runtime-DzdsFCyL.d.ts +5601 -0
  32. package/dist/runtime-uXhTgSIx.d.mts +5260 -0
  33. package/dist/runtime-uXhTgSIx.d.ts +5260 -0
  34. package/dist/runtime.d.mts +1 -1
  35. package/dist/runtime.d.ts +1 -1
  36. package/dist/runtime.js +974 -168
  37. package/dist/runtime.mjs +5 -1
  38. package/package.json +3 -3
@@ -0,0 +1,20 @@
1
+ import {
2
+ ALL_SYSTEM_RESOURCES,
3
+ DEFAULT_ROLES,
4
+ DEFAULT_ROLE_DESCRIPTIONS,
5
+ DEFAULT_ROLE_LABELS,
6
+ DEFAULT_ROLE_PERMISSIONS,
7
+ SYSTEM_RESOURCES,
8
+ SYSTEM_RESOURCE_LABELS,
9
+ isDefaultRole
10
+ } from "./chunk-V5QXU2OK.mjs";
11
+ export {
12
+ ALL_SYSTEM_RESOURCES,
13
+ DEFAULT_ROLES,
14
+ DEFAULT_ROLE_DESCRIPTIONS,
15
+ DEFAULT_ROLE_LABELS,
16
+ DEFAULT_ROLE_PERMISSIONS,
17
+ SYSTEM_RESOURCES,
18
+ SYSTEM_RESOURCE_LABELS,
19
+ isDefaultRole
20
+ };
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { A as Attribute, S as StatusAttribute, a as SelectAttribute, M as MultiselectAttribute, P as Phone, C as Currency, L as Location, b as SystemResource, c as SystemAction, O as ObjectAction, T as TextAttribute, d as TextAreaAttribute, N as NumberAttribute, e as CheckboxAttribute, D as DateAttribute, f as PhoneAttribute, g as CurrencyAttribute, h as Option, i as LocationAttribute, j as TimestampAttribute, F as FileAttribute, U as UserAttribute, k as SingleRelationAttribute, l as MultiRelationAttribute, R as RelationTarget, m as RatingAttribute, n as FlowDefinition, o as FlowPage, p as FlowRow, q as ObjectDefinition, r as Field, s as AttributeGroupField, G as Group, V as ViewDefinition, t as Tab } from './runtime-DlCiIIfr.mjs';
2
- export { ct as AddAttributeInput, an as AdvancedFilterState, aZ as AssignRoleInput, c3 as AttributeChange, w as AttributeGroup, u as AttributeType, cc as AttributesRepository, X as AuditAction, Y as AuditActorType, Z as AuditChange, a0 as AuditListOptions, _ as AuditLogEntry, ci as AuditRepository, W as AuditResourceType, cl as AuditService, a1 as AuditServiceOptions, B as BaseAttribute, a9 as CheckboxFilterOperator, aN as CompletionStatus, $ as CreateAuditLogInput, cs as CreateCustomObjectInput, d1 as CreateDBAttribute, df as CreateDBFlow, cZ as CreateDBObject, db as CreateDBView, a5 as CreateFile, cn as CreateFlowInput, d4 as CreateObjectRecord, aY as CreatePermissionInput, aW as CreateRoleInput, b1 as CreateUserProfile, cJ as CreateViewInput, ag as CurrencyFilterValue, b6 as CustomTab, d0 as DBAttribute, de as DBFlow, cY as DBObject, da as DBView, cU as DEFAULT_LABEL_FALLBACK, c2 as DatabaseAdapter, aa as DateFilterOperator, y as DateFormat, z as DateValue, I as DocumentFace, H as DocumentType, J as DocumentTypeConfig, aT as EffectivePermissions, a4 as File, d9 as FileListOptions, cm as FileService, K as FileVerificationConfig, a3 as FileVisibility, ce as FilesRepository, ak as FilterCombinator, am as FilterGroup, ae as FilterOperator, aj as FilterRule, al as FilterState, ai as FilterValue, aA as FlowRelation, az as FlowRowField, cp as FlowService, ay as FlowSlot, aB as FlowStatus, ch as FlowsRepository, b4 as FormTab, cS as FullSyncOptions, cR as FullSyncResult, aJ as GeocodingAdapter, aG as GeocodingAutocompleteParams, aI as GeocodingParams, cq as GeocodingService, aF as GeocodingSuggestion, cF as GetRelationOptionsParams, d7 as GlobalSearchOptions, d8 as GlobalSearchResultItem, cr as GlobalSearchService, c4 as HookContext, c5 as HookDefinition, c6 as HookHandler, c9 as HookRegistry, c7 as HookType, d5 as ListOptions, E as LocationGranularity, ac as MultiselectFilterOperator, aw as NO_VALUE_OPERATORS, av as NoValueOperator, aK as NoopGeocodingAdapter, c8 as NoopHookRegistry, a8 as NumberFilterOperator, x as NumberUnit, au as OPERATORS_BY_TYPE, aM as ObjectAttribute, aU as ObjectPermissions, aO as ObjectRecord, cf as ObjectRecordsRepository, cw as ObjectSchemaService, cv as ObjectSchemaServiceOptions, cb as ObjectsRepository, dh as OperationResult, aR as Permission, aP as PermissionScope, cy as PermissionService, cx as PermissionServiceOptions, cj as PermissionsRepository, ah as PhoneFilterValue, at as QueryState, cA as RecordService, cz as RecordServiceOptions, Q as RelationAttribute, ad as RelationFilterOperator, cD as RelationOption, cE as RelationOptionsResponse, cG as RelationService, cC as RelationValidationError, cB as RelationValidationResult, af as RelativeDateValue, aH as ReverseGeocodingParams, aQ as Role, d6 as SearchOptions, ab as SelectFilterOperator, ar as SortDirection, as as SortRule, v as StatusGroup, a2 as StorageProvider, cN as SyncOptions, cM as SyncResult, aV as SystemPermissions, b3 as TabType, b5 as TableTab, bb as TenantId, a7 as TextFilterOperator, aL as Timestamps, d2 as UpdateDBAttribute, dg as UpdateDBFlow, c_ as UpdateDBObject, dc as UpdateDBView, a6 as UpdateFile, co as UpdateFlowInput, cu as UpdateObjectInput, aX as UpdateRoleInput, b2 as UpdateUserProfile, cK as UpdateViewInput, d3 as UpsertDBAttribute, c$ as UpsertDBObject, dd as UpsertDBView, b0 as UserProfile, cI as UserProfileService, cH as UserProfileServiceOptions, cd as UserProfilesRepository, a_ as UserRole, aS as UserRoleAssignment, a$ as UserStatus, ba as Uuid, bU as ValidationResult, cL as ViewService, dj as ViewSyncOptions, di as ViewSyncResult, cg as ViewsRepository, bw as attributeConfigSchemas, ck as buildAuditChanges, bj as checkboxConfigSchema, c1 as computeRecordStatus, bS as createAttributeValidator, bD as createCheckboxValidator, bG as createCurrencyValidator, bE as createDateValidator, bY as createDraftValidator, bM as createFileValidator, bK as createLocationValidator, ca as createMockAdapter, bP as createMultiRelationValidator, bJ as createMultiselectValidator, bC as createNumberValidator, bT as createObjectValidator, bF as createPhoneValidator, bR as createRatingValidator, bQ as createRelationValidator, bI as createSelectValidator, bO as createSingleRelationValidator, bH as createStatusValidator, bB as createTextValidator, bL as createTimestampValidator, bN as createUserValidator, bm as currencyConfigSchema, bk as dateConfigSchema, cX as extractAttributeNames, bs as fileConfigSchema, bc as generateId, bd as generatePrefixedId, bx as getAttributeConfigSchema, b$ as getMissingRequiredAttributes, cQ as getSyncPreview, dm as getViewSyncPreview, ao as isAdvancedFilterState, b9 as isCustomTab, aC as isFlowDefinition, aD as isFlowPublished, b7 as isFormTab, cW as isLabelExpression, ax as isNoValueOperator, c0 as isRecordComplete, aE as isSystemFlow, b8 as isTableTab, bo as locationConfigSchema, br as multiselectConfigSchema, bi as numberConfigSchema, bz as parseAttributeConfig, bl as phoneConfigSchema, bv as ratingConfigSchema, be as registry, bu as relationConfigSchema, cV as renderLabelExpression, bA as safeParseAttributeConfig, bq as selectConfigSchema, bn as statusConfigSchema, cT as syncAll, cO as syncNativeObjects, dk as syncNativeViews, bg as textConfigSchema, bh as textareaConfigSchema, bp as timestampConfigSchema, ap as toAdvancedFilterState, aq as toSimpleFilterState, bt as userConfigSchema, bV as validateAttribute, by as validateAttributeConfig, bZ as validateDraft, b_ as validateDraftOrThrow, bW as validateObject, bX as validateObjectOrThrow, cP as verifyNativeObjectsSync, dl as verifyNativeViewsSync, bf as viewRegistry } from './runtime-DlCiIIfr.mjs';
1
+ import { A as Attribute, S as StatusAttribute, a as SelectAttribute, M as MultiselectAttribute, P as Phone, C as Currency, L as Location, b as SystemResource, c as SystemAction, O as ObjectAction, T as TextAttribute, d as TextAreaAttribute, N as NumberAttribute, e as CheckboxAttribute, D as DateAttribute, f as PhoneAttribute, g as CurrencyAttribute, h as Option, i as LocationAttribute, j as TimestampAttribute, F as FileAttribute, U as UserAttribute, k as SingleRelationAttribute, l as MultiRelationAttribute, R as RelationTarget, m as RatingAttribute, n as FlowDefinition, o as FlowPage, p as FlowRow, q as ObjectDefinition, r as Field, s as AttributeGroupField, G as Group, V as ViewDefinition, t as Tab } from './runtime-Dw2exb5q.mjs';
2
+ export { b7 as ActivityTab, cw as AddAttributeInput, an as AdvancedFilterState, aZ as AssignRoleInput, c5 as AttributeChange, w as AttributeGroup, u as AttributeType, ce as AttributesRepository, X as AuditAction, Y as AuditActorType, Z as AuditChange, a0 as AuditListOptions, _ as AuditLogEntry, ck as AuditRepository, W as AuditResourceType, cn as AuditService, a1 as AuditServiceOptions, B as BaseAttribute, a9 as CheckboxFilterOperator, aN as CompletionStatus, $ as CreateAuditLogInput, cv as CreateCustomObjectInput, de as CreateDBAttribute, dt as CreateDBFlow, da as CreateDBObject, dp as CreateDBView, a5 as CreateFile, cq as CreateFlowInput, dh as CreateObjectRecord, aY as CreatePermissionInput, aW as CreateRoleInput, b1 as CreateUserProfile, cP as CreateViewInput, ag as CurrencyFilterValue, b6 as CustomTab, dd as DBAttribute, ds as DBFlow, d9 as DBObject, dn as DBView, d4 as DEFAULT_LABEL_FALLBACK, c4 as DatabaseAdapter, aa as DateFilterOperator, y as DateFormat, z as DateValue, I as DocumentFace, H as DocumentType, J as DocumentTypeConfig, aT as EffectivePermissions, a4 as File, cS as FileContent, dm as FileListOptions, cp as FileService, co as FileServiceOptions, K as FileVerificationConfig, a3 as FileVisibility, cg as FilesRepository, ak as FilterCombinator, am as FilterGroup, ae as FilterOperator, aj as FilterRule, al as FilterState, ai as FilterValue, aA as FlowRelation, az as FlowRowField, cs as FlowService, ay as FlowSlot, aB as FlowStatus, cj as FlowsRepository, b4 as FormTab, d2 as FullSyncOptions, d1 as FullSyncResult, aJ as GeocodingAdapter, aG as GeocodingAutocompleteParams, aI as GeocodingParams, ct as GeocodingService, aF as GeocodingSuggestion, cI as GetRelationOptionsParams, dk as GlobalSearchOptions, dl as GlobalSearchResultItem, cu as GlobalSearchService, c6 as HookContext, c7 as HookDefinition, c8 as HookHandler, cb as HookRegistry, c9 as HookType, di as ListOptions, E as LocationGranularity, ac as MultiselectFilterOperator, aw as NO_VALUE_OPERATORS, av as NoValueOperator, aK as NoopGeocodingAdapter, ca as NoopHookRegistry, a8 as NumberFilterOperator, x as NumberUnit, au as OPERATORS_BY_TYPE, aM as ObjectAttribute, aU as ObjectPermissions, aO as ObjectRecord, ch as ObjectRecordsRepository, cz as ObjectSchemaService, cy as ObjectSchemaServiceOptions, cd as ObjectsRepository, dv as OperationResult, aR as Permission, aP as PermissionScope, cB as PermissionService, cA as PermissionServiceOptions, cl as PermissionsRepository, ah as PhoneFilterValue, at as QueryState, cD as RecordService, cC as RecordServiceOptions, Q as RelationAttribute, ad as RelationFilterOperator, cG as RelationOption, cH as RelationOptionsResponse, cJ as RelationService, cF as RelationValidationError, cE as RelationValidationResult, af as RelativeDateValue, aH as ReverseGeocodingParams, aQ as Role, dj as SearchOptions, ab as SelectFilterOperator, cV as SignedUrlOptions, ar as SortDirection, as as SortRule, v as StatusGroup, cW as StorageAdapter, a2 as StorageProvider, cT as StorageUploadInput, cU as StorageUploadResult, cZ as SyncOptions, cY as SyncResult, aV as SystemPermissions, b3 as TabType, b5 as TableTab, bd as TenantId, a7 as TextFilterOperator, aL as Timestamps, df as UpdateDBAttribute, du as UpdateDBFlow, db as UpdateDBObject, dq as UpdateDBView, a6 as UpdateFile, cr as UpdateFlowInput, cx as UpdateObjectInput, aX as UpdateRoleInput, b2 as UpdateUserProfile, cQ as UpdateViewInput, cX as UploadFileInput, dg as UpsertDBAttribute, dc as UpsertDBObject, dr as UpsertDBView, b0 as UserProfile, cL as UserProfileService, cK as UserProfileServiceOptions, cf as UserProfilesRepository, a_ as UserRole, aS as UserRoleAssignment, cO as UserService, a$ as UserStatus, cN as UserValidationError, cM as UserValidationResult, bc as Uuid, bW as ValidationResult, cR as ViewService, dx as ViewSyncOptions, dw as ViewSyncResult, ci as ViewsRepository, by as attributeConfigSchemas, cm as buildAuditChanges, bl as checkboxConfigSchema, c3 as computeRecordStatus, bU as createAttributeValidator, bF as createCheckboxValidator, bI as createCurrencyValidator, bG as createDateValidator, b_ as createDraftValidator, bO as createFileValidator, bM as createLocationValidator, cc as createMockAdapter, bR as createMultiRelationValidator, bL as createMultiselectValidator, bE as createNumberValidator, bV as createObjectValidator, bH as createPhoneValidator, bT as createRatingValidator, bS as createRelationValidator, bK as createSelectValidator, bQ as createSingleRelationValidator, bJ as createStatusValidator, bD as createTextValidator, bN as createTimestampValidator, bP as createUserValidator, bo as currencyConfigSchema, bm as dateConfigSchema, d8 as enrichValuesWithSelectLabels, d7 as extractAttributeNames, bu as fileConfigSchema, be as generateId, bf as generatePrefixedId, bz as getAttributeConfigSchema, c1 as getMissingRequiredAttributes, d0 as getSyncPreview, dA as getViewSyncPreview, bb as isActivityTab, ao as isAdvancedFilterState, ba as isCustomTab, aC as isFlowDefinition, aD as isFlowPublished, b8 as isFormTab, d6 as isLabelExpression, ax as isNoValueOperator, c2 as isRecordComplete, aE as isSystemFlow, b9 as isTableTab, bq as locationConfigSchema, bt as multiselectConfigSchema, bk as numberConfigSchema, bB as parseAttributeConfig, bn as phoneConfigSchema, bx as ratingConfigSchema, bg as registry, bw as relationConfigSchema, d5 as renderLabelExpression, bC as safeParseAttributeConfig, bs as selectConfigSchema, bp as statusConfigSchema, d3 as syncAll, c_ as syncNativeObjects, dy as syncNativeViews, bi as textConfigSchema, bj as textareaConfigSchema, br as timestampConfigSchema, ap as toAdvancedFilterState, aq as toSimpleFilterState, bv as userConfigSchema, bX as validateAttribute, bA as validateAttributeConfig, b$ as validateDraft, c0 as validateDraftOrThrow, bY as validateObject, bZ as validateObjectOrThrow, c$ as verifyNativeObjectsSync, dz as verifyNativeViewsSync, bh as viewRegistry } from './runtime-Dw2exb5q.mjs';
3
3
  import { IconName, CountryIso3, CurrencyCode, MimeType, ColorId } from '@stndrds/constants';
4
4
  import 'zod';
5
5
 
@@ -300,6 +300,45 @@ type ExtractAttributes<TBuilder> = TBuilder extends {
300
300
  };
301
301
  } ? A : never;
302
302
 
303
+ /**
304
+ * Default empty value placeholder
305
+ */
306
+ declare const EMPTY_VALUE_PLACEHOLDER = "\u2014";
307
+ /**
308
+ * Format an attribute value for display
309
+ *
310
+ * This function converts raw attribute values into human-readable strings
311
+ * based on the attribute type and configuration.
312
+ *
313
+ * @param value - The raw value to format
314
+ * @param attribute - The attribute definition
315
+ * @returns Formatted string representation
316
+ *
317
+ * @example
318
+ * ```typescript
319
+ * // Text attribute
320
+ * formatAttributeValue("Hello", textAttr);
321
+ * // → "Hello"
322
+ *
323
+ * // Currency attribute
324
+ * formatAttributeValue({ value: 1500, code: "EUR" }, currencyAttr);
325
+ * // → "1,500.00 EUR"
326
+ *
327
+ * // Select attribute with options
328
+ * formatAttributeValue("active", statusAttr);
329
+ * // → "Active" (label from options)
330
+ *
331
+ * // Location with city granularity
332
+ * formatAttributeValue({ city: "Paris", country: "FRA" }, locationAttr);
333
+ * // → "Paris, FRA"
334
+ *
335
+ * // Empty value
336
+ * formatAttributeValue(null, textAttr);
337
+ * // → "—"
338
+ * ```
339
+ */
340
+ declare function formatAttributeValue(value: unknown, attribute: Attribute): string;
341
+
303
342
  /**
304
343
  * System resources that can be managed through permissions.
305
344
  */
@@ -314,6 +353,8 @@ declare const SYSTEM_RESOURCES: {
314
353
  readonly SETTINGS: "settings";
315
354
  /** Audit logs and activity trail */
316
355
  readonly AUDIT: "audit";
356
+ /** File uploads and storage management */
357
+ readonly FILES: "files";
317
358
  };
318
359
  /**
319
360
  * All system resources as an array (for iteration)
@@ -388,6 +429,7 @@ declare const SchemaErrorCode: {
388
429
  readonly INVALID_OBJECT_NAME: "SCHEMA_INVALID_OBJECT_NAME";
389
430
  readonly PROTECTED_OBJECT: "SCHEMA_PROTECTED_OBJECT";
390
431
  readonly PROTECTED_ATTRIBUTE: "SCHEMA_PROTECTED_ATTRIBUTE";
432
+ readonly PROTECTED_VIEW: "SCHEMA_PROTECTED_VIEW";
391
433
  readonly PROTECTED_ROLE: "SCHEMA_PROTECTED_ROLE";
392
434
  readonly FORBIDDEN: "SCHEMA_FORBIDDEN";
393
435
  readonly SYNC_FAILED: "SCHEMA_SYNC_FAILED";
@@ -474,10 +516,10 @@ declare class ValidationError extends SchemaError {
474
516
  * Error thrown when attempting to modify a protected (system) resource
475
517
  */
476
518
  declare class ProtectedResourceError extends SchemaError {
477
- readonly resourceType: "object" | "attribute";
519
+ readonly resourceType: "object" | "attribute" | "view";
478
520
  readonly resourceName: string;
479
521
  readonly operation: "delete" | "modify";
480
- constructor(resourceType: "object" | "attribute", resourceName: string, operation: "delete" | "modify");
522
+ constructor(resourceType: "object" | "attribute" | "view", resourceName: string, operation: "delete" | "modify");
481
523
  }
482
524
  /**
483
525
  * Error thrown during native object synchronization
@@ -774,6 +816,10 @@ declare class FileAttributeBuilder<TName extends string, TRequired extends boole
774
816
  maxSize(bytes: number): this;
775
817
  allowedTypes(types: MimeType[] | readonly MimeType[]): this;
776
818
  verification(config: FileAttribute["verification"]): this;
819
+ /**
820
+ * Allow multiple files to be uploaded
821
+ */
822
+ multiple(): this;
777
823
  required(): FileAttributeBuilder<TName, true>;
778
824
  optional(): FileAttributeBuilder<TName, false>;
779
825
  }
@@ -786,6 +832,10 @@ declare class UserAttributeBuilder<TName extends string, TRequired extends boole
786
832
  };
787
833
  constructor(name: TName, label: string);
788
834
  allowedRoles(roles: string[]): this;
835
+ /**
836
+ * Allow multiple users to be selected
837
+ */
838
+ multiple(): this;
789
839
  required(): UserAttributeBuilder<TName, true>;
790
840
  optional(): UserAttributeBuilder<TName, false>;
791
841
  }
@@ -1622,4 +1672,4 @@ declare function view(name: string, label: string): ViewBuilder;
1622
1672
  */
1623
1673
  declare function group(id: string, label: string): GroupBuilder;
1624
1674
 
1625
- export { ALL_SYSTEM_RESOURCES, type AddAttribute$1 as AddAttribute, type AnyAttributeBuilder, Attribute, AttributeGroupField, AttributeInUseError, type AttributeMap, AttributeNotFoundError, type AttributeSchema, type AttributeUsage, type BuilderConfig, CheckboxAttribute, Currency, CurrencyAttribute, type CustomAttributeValue, CustomTabConfig, DEFAULT_ROLES, DEFAULT_ROLE_DESCRIPTIONS, DEFAULT_ROLE_LABELS, DEFAULT_ROLE_PERMISSIONS, DateAttribute, type DefaultRoleName, type DefaultRolePermissionConfig, DuplicateError, type ExtractAttributeName, type ExtractAttributeRequired, type ExtractAttributes, type ExtractRecord, type ExtractRecordInput, type ExtractRecordInputStrict, type ExtractRecordStrict, type ExtractRecordUpdate, type ExtractRecordUpdateStrict, Field, FileAttribute, FileNotFoundError, FlowBuilder, FlowDefinition, FlowPage, FlowPageBuilder, FlowRow, FlowRowBuilder, ForbiddenError, Group, GroupBuilder, type InferAttributeValue, type InferRecord, type InferRecordFromSchema, type InferRecordInput, type InferRecordUpdate, type InferRecordWithRequirements, Location, LocationAttribute, MultiRelationAttribute, MultiselectAttribute, NotFoundError, NotSystemObjectError, NumberAttribute, ObjectAction, ObjectBuilder, ObjectDefinition, ObjectNotFoundError, ObjectReferencedError, Option, Phone, PhoneAttribute, ProtectedResourceError, ProtectedRoleError, RatingAttribute, RecordNotFoundError, type RecordReference, RecordReferencedError, RelationTarget, RoleNotFoundError, SYSTEM_RESOURCES, SYSTEM_RESOURCE_LABELS, SchemaError, SchemaErrorCode, SelectAttribute, SingleRelationAttribute, StatusAttribute, SyncError, SystemAction, SystemResource, Tab, TabBuilder, TableTabConfig, TextAreaAttribute, TextAttribute, TimestampAttribute, type TypedAttribute, type TypedBuilderConfig, UserAttribute, UserProfileNotFoundError, ValidationError, type ValidationErrorDetail, ViewBuilder, ViewDefinition, type WithCustomAttributes, checkbox, currency, date, file, flow, group, isDefaultRole, isForbiddenError, isNotFoundError, isProtectedResourceError, isSchemaError, isValidationError, location, multiselect, number, object, phone, rating, relation, select, status, text, textarea, timestamp, user, view };
1675
+ export { ALL_SYSTEM_RESOURCES, type AddAttribute$1 as AddAttribute, type AnyAttributeBuilder, Attribute, AttributeGroupField, AttributeInUseError, type AttributeMap, AttributeNotFoundError, type AttributeSchema, type AttributeUsage, type BuilderConfig, CheckboxAttribute, Currency, CurrencyAttribute, type CustomAttributeValue, CustomTabConfig, DEFAULT_ROLES, DEFAULT_ROLE_DESCRIPTIONS, DEFAULT_ROLE_LABELS, DEFAULT_ROLE_PERMISSIONS, DateAttribute, type DefaultRoleName, type DefaultRolePermissionConfig, DuplicateError, EMPTY_VALUE_PLACEHOLDER, type ExtractAttributeName, type ExtractAttributeRequired, type ExtractAttributes, type ExtractRecord, type ExtractRecordInput, type ExtractRecordInputStrict, type ExtractRecordStrict, type ExtractRecordUpdate, type ExtractRecordUpdateStrict, Field, FileAttribute, FileNotFoundError, FlowBuilder, FlowDefinition, FlowPage, FlowPageBuilder, FlowRow, FlowRowBuilder, ForbiddenError, Group, GroupBuilder, type InferAttributeValue, type InferRecord, type InferRecordFromSchema, type InferRecordInput, type InferRecordUpdate, type InferRecordWithRequirements, Location, LocationAttribute, MultiRelationAttribute, MultiselectAttribute, NotFoundError, NotSystemObjectError, NumberAttribute, ObjectAction, ObjectBuilder, ObjectDefinition, ObjectNotFoundError, ObjectReferencedError, Option, Phone, PhoneAttribute, ProtectedResourceError, ProtectedRoleError, RatingAttribute, RecordNotFoundError, type RecordReference, RecordReferencedError, RelationTarget, RoleNotFoundError, SYSTEM_RESOURCES, SYSTEM_RESOURCE_LABELS, SchemaError, SchemaErrorCode, SelectAttribute, SingleRelationAttribute, StatusAttribute, SyncError, SystemAction, SystemResource, Tab, TabBuilder, TableTabConfig, TextAreaAttribute, TextAttribute, TimestampAttribute, type TypedAttribute, type TypedBuilderConfig, UserAttribute, UserProfileNotFoundError, ValidationError, type ValidationErrorDetail, ViewBuilder, ViewDefinition, type WithCustomAttributes, checkbox, currency, date, file, flow, formatAttributeValue, group, isDefaultRole, isForbiddenError, isNotFoundError, isProtectedResourceError, isSchemaError, isValidationError, location, multiselect, number, object, phone, rating, relation, select, status, text, textarea, timestamp, user, view };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { A as Attribute, S as StatusAttribute, a as SelectAttribute, M as MultiselectAttribute, P as Phone, C as Currency, L as Location, b as SystemResource, c as SystemAction, O as ObjectAction, T as TextAttribute, d as TextAreaAttribute, N as NumberAttribute, e as CheckboxAttribute, D as DateAttribute, f as PhoneAttribute, g as CurrencyAttribute, h as Option, i as LocationAttribute, j as TimestampAttribute, F as FileAttribute, U as UserAttribute, k as SingleRelationAttribute, l as MultiRelationAttribute, R as RelationTarget, m as RatingAttribute, n as FlowDefinition, o as FlowPage, p as FlowRow, q as ObjectDefinition, r as Field, s as AttributeGroupField, G as Group, V as ViewDefinition, t as Tab } from './runtime-DlCiIIfr.js';
2
- export { ct as AddAttributeInput, an as AdvancedFilterState, aZ as AssignRoleInput, c3 as AttributeChange, w as AttributeGroup, u as AttributeType, cc as AttributesRepository, X as AuditAction, Y as AuditActorType, Z as AuditChange, a0 as AuditListOptions, _ as AuditLogEntry, ci as AuditRepository, W as AuditResourceType, cl as AuditService, a1 as AuditServiceOptions, B as BaseAttribute, a9 as CheckboxFilterOperator, aN as CompletionStatus, $ as CreateAuditLogInput, cs as CreateCustomObjectInput, d1 as CreateDBAttribute, df as CreateDBFlow, cZ as CreateDBObject, db as CreateDBView, a5 as CreateFile, cn as CreateFlowInput, d4 as CreateObjectRecord, aY as CreatePermissionInput, aW as CreateRoleInput, b1 as CreateUserProfile, cJ as CreateViewInput, ag as CurrencyFilterValue, b6 as CustomTab, d0 as DBAttribute, de as DBFlow, cY as DBObject, da as DBView, cU as DEFAULT_LABEL_FALLBACK, c2 as DatabaseAdapter, aa as DateFilterOperator, y as DateFormat, z as DateValue, I as DocumentFace, H as DocumentType, J as DocumentTypeConfig, aT as EffectivePermissions, a4 as File, d9 as FileListOptions, cm as FileService, K as FileVerificationConfig, a3 as FileVisibility, ce as FilesRepository, ak as FilterCombinator, am as FilterGroup, ae as FilterOperator, aj as FilterRule, al as FilterState, ai as FilterValue, aA as FlowRelation, az as FlowRowField, cp as FlowService, ay as FlowSlot, aB as FlowStatus, ch as FlowsRepository, b4 as FormTab, cS as FullSyncOptions, cR as FullSyncResult, aJ as GeocodingAdapter, aG as GeocodingAutocompleteParams, aI as GeocodingParams, cq as GeocodingService, aF as GeocodingSuggestion, cF as GetRelationOptionsParams, d7 as GlobalSearchOptions, d8 as GlobalSearchResultItem, cr as GlobalSearchService, c4 as HookContext, c5 as HookDefinition, c6 as HookHandler, c9 as HookRegistry, c7 as HookType, d5 as ListOptions, E as LocationGranularity, ac as MultiselectFilterOperator, aw as NO_VALUE_OPERATORS, av as NoValueOperator, aK as NoopGeocodingAdapter, c8 as NoopHookRegistry, a8 as NumberFilterOperator, x as NumberUnit, au as OPERATORS_BY_TYPE, aM as ObjectAttribute, aU as ObjectPermissions, aO as ObjectRecord, cf as ObjectRecordsRepository, cw as ObjectSchemaService, cv as ObjectSchemaServiceOptions, cb as ObjectsRepository, dh as OperationResult, aR as Permission, aP as PermissionScope, cy as PermissionService, cx as PermissionServiceOptions, cj as PermissionsRepository, ah as PhoneFilterValue, at as QueryState, cA as RecordService, cz as RecordServiceOptions, Q as RelationAttribute, ad as RelationFilterOperator, cD as RelationOption, cE as RelationOptionsResponse, cG as RelationService, cC as RelationValidationError, cB as RelationValidationResult, af as RelativeDateValue, aH as ReverseGeocodingParams, aQ as Role, d6 as SearchOptions, ab as SelectFilterOperator, ar as SortDirection, as as SortRule, v as StatusGroup, a2 as StorageProvider, cN as SyncOptions, cM as SyncResult, aV as SystemPermissions, b3 as TabType, b5 as TableTab, bb as TenantId, a7 as TextFilterOperator, aL as Timestamps, d2 as UpdateDBAttribute, dg as UpdateDBFlow, c_ as UpdateDBObject, dc as UpdateDBView, a6 as UpdateFile, co as UpdateFlowInput, cu as UpdateObjectInput, aX as UpdateRoleInput, b2 as UpdateUserProfile, cK as UpdateViewInput, d3 as UpsertDBAttribute, c$ as UpsertDBObject, dd as UpsertDBView, b0 as UserProfile, cI as UserProfileService, cH as UserProfileServiceOptions, cd as UserProfilesRepository, a_ as UserRole, aS as UserRoleAssignment, a$ as UserStatus, ba as Uuid, bU as ValidationResult, cL as ViewService, dj as ViewSyncOptions, di as ViewSyncResult, cg as ViewsRepository, bw as attributeConfigSchemas, ck as buildAuditChanges, bj as checkboxConfigSchema, c1 as computeRecordStatus, bS as createAttributeValidator, bD as createCheckboxValidator, bG as createCurrencyValidator, bE as createDateValidator, bY as createDraftValidator, bM as createFileValidator, bK as createLocationValidator, ca as createMockAdapter, bP as createMultiRelationValidator, bJ as createMultiselectValidator, bC as createNumberValidator, bT as createObjectValidator, bF as createPhoneValidator, bR as createRatingValidator, bQ as createRelationValidator, bI as createSelectValidator, bO as createSingleRelationValidator, bH as createStatusValidator, bB as createTextValidator, bL as createTimestampValidator, bN as createUserValidator, bm as currencyConfigSchema, bk as dateConfigSchema, cX as extractAttributeNames, bs as fileConfigSchema, bc as generateId, bd as generatePrefixedId, bx as getAttributeConfigSchema, b$ as getMissingRequiredAttributes, cQ as getSyncPreview, dm as getViewSyncPreview, ao as isAdvancedFilterState, b9 as isCustomTab, aC as isFlowDefinition, aD as isFlowPublished, b7 as isFormTab, cW as isLabelExpression, ax as isNoValueOperator, c0 as isRecordComplete, aE as isSystemFlow, b8 as isTableTab, bo as locationConfigSchema, br as multiselectConfigSchema, bi as numberConfigSchema, bz as parseAttributeConfig, bl as phoneConfigSchema, bv as ratingConfigSchema, be as registry, bu as relationConfigSchema, cV as renderLabelExpression, bA as safeParseAttributeConfig, bq as selectConfigSchema, bn as statusConfigSchema, cT as syncAll, cO as syncNativeObjects, dk as syncNativeViews, bg as textConfigSchema, bh as textareaConfigSchema, bp as timestampConfigSchema, ap as toAdvancedFilterState, aq as toSimpleFilterState, bt as userConfigSchema, bV as validateAttribute, by as validateAttributeConfig, bZ as validateDraft, b_ as validateDraftOrThrow, bW as validateObject, bX as validateObjectOrThrow, cP as verifyNativeObjectsSync, dl as verifyNativeViewsSync, bf as viewRegistry } from './runtime-DlCiIIfr.js';
1
+ import { A as Attribute, S as StatusAttribute, a as SelectAttribute, M as MultiselectAttribute, P as Phone, C as Currency, L as Location, b as SystemResource, c as SystemAction, O as ObjectAction, T as TextAttribute, d as TextAreaAttribute, N as NumberAttribute, e as CheckboxAttribute, D as DateAttribute, f as PhoneAttribute, g as CurrencyAttribute, h as Option, i as LocationAttribute, j as TimestampAttribute, F as FileAttribute, U as UserAttribute, k as SingleRelationAttribute, l as MultiRelationAttribute, R as RelationTarget, m as RatingAttribute, n as FlowDefinition, o as FlowPage, p as FlowRow, q as ObjectDefinition, r as Field, s as AttributeGroupField, G as Group, V as ViewDefinition, t as Tab } from './runtime-Dw2exb5q.js';
2
+ export { b7 as ActivityTab, cw as AddAttributeInput, an as AdvancedFilterState, aZ as AssignRoleInput, c5 as AttributeChange, w as AttributeGroup, u as AttributeType, ce as AttributesRepository, X as AuditAction, Y as AuditActorType, Z as AuditChange, a0 as AuditListOptions, _ as AuditLogEntry, ck as AuditRepository, W as AuditResourceType, cn as AuditService, a1 as AuditServiceOptions, B as BaseAttribute, a9 as CheckboxFilterOperator, aN as CompletionStatus, $ as CreateAuditLogInput, cv as CreateCustomObjectInput, de as CreateDBAttribute, dt as CreateDBFlow, da as CreateDBObject, dp as CreateDBView, a5 as CreateFile, cq as CreateFlowInput, dh as CreateObjectRecord, aY as CreatePermissionInput, aW as CreateRoleInput, b1 as CreateUserProfile, cP as CreateViewInput, ag as CurrencyFilterValue, b6 as CustomTab, dd as DBAttribute, ds as DBFlow, d9 as DBObject, dn as DBView, d4 as DEFAULT_LABEL_FALLBACK, c4 as DatabaseAdapter, aa as DateFilterOperator, y as DateFormat, z as DateValue, I as DocumentFace, H as DocumentType, J as DocumentTypeConfig, aT as EffectivePermissions, a4 as File, cS as FileContent, dm as FileListOptions, cp as FileService, co as FileServiceOptions, K as FileVerificationConfig, a3 as FileVisibility, cg as FilesRepository, ak as FilterCombinator, am as FilterGroup, ae as FilterOperator, aj as FilterRule, al as FilterState, ai as FilterValue, aA as FlowRelation, az as FlowRowField, cs as FlowService, ay as FlowSlot, aB as FlowStatus, cj as FlowsRepository, b4 as FormTab, d2 as FullSyncOptions, d1 as FullSyncResult, aJ as GeocodingAdapter, aG as GeocodingAutocompleteParams, aI as GeocodingParams, ct as GeocodingService, aF as GeocodingSuggestion, cI as GetRelationOptionsParams, dk as GlobalSearchOptions, dl as GlobalSearchResultItem, cu as GlobalSearchService, c6 as HookContext, c7 as HookDefinition, c8 as HookHandler, cb as HookRegistry, c9 as HookType, di as ListOptions, E as LocationGranularity, ac as MultiselectFilterOperator, aw as NO_VALUE_OPERATORS, av as NoValueOperator, aK as NoopGeocodingAdapter, ca as NoopHookRegistry, a8 as NumberFilterOperator, x as NumberUnit, au as OPERATORS_BY_TYPE, aM as ObjectAttribute, aU as ObjectPermissions, aO as ObjectRecord, ch as ObjectRecordsRepository, cz as ObjectSchemaService, cy as ObjectSchemaServiceOptions, cd as ObjectsRepository, dv as OperationResult, aR as Permission, aP as PermissionScope, cB as PermissionService, cA as PermissionServiceOptions, cl as PermissionsRepository, ah as PhoneFilterValue, at as QueryState, cD as RecordService, cC as RecordServiceOptions, Q as RelationAttribute, ad as RelationFilterOperator, cG as RelationOption, cH as RelationOptionsResponse, cJ as RelationService, cF as RelationValidationError, cE as RelationValidationResult, af as RelativeDateValue, aH as ReverseGeocodingParams, aQ as Role, dj as SearchOptions, ab as SelectFilterOperator, cV as SignedUrlOptions, ar as SortDirection, as as SortRule, v as StatusGroup, cW as StorageAdapter, a2 as StorageProvider, cT as StorageUploadInput, cU as StorageUploadResult, cZ as SyncOptions, cY as SyncResult, aV as SystemPermissions, b3 as TabType, b5 as TableTab, bd as TenantId, a7 as TextFilterOperator, aL as Timestamps, df as UpdateDBAttribute, du as UpdateDBFlow, db as UpdateDBObject, dq as UpdateDBView, a6 as UpdateFile, cr as UpdateFlowInput, cx as UpdateObjectInput, aX as UpdateRoleInput, b2 as UpdateUserProfile, cQ as UpdateViewInput, cX as UploadFileInput, dg as UpsertDBAttribute, dc as UpsertDBObject, dr as UpsertDBView, b0 as UserProfile, cL as UserProfileService, cK as UserProfileServiceOptions, cf as UserProfilesRepository, a_ as UserRole, aS as UserRoleAssignment, cO as UserService, a$ as UserStatus, cN as UserValidationError, cM as UserValidationResult, bc as Uuid, bW as ValidationResult, cR as ViewService, dx as ViewSyncOptions, dw as ViewSyncResult, ci as ViewsRepository, by as attributeConfigSchemas, cm as buildAuditChanges, bl as checkboxConfigSchema, c3 as computeRecordStatus, bU as createAttributeValidator, bF as createCheckboxValidator, bI as createCurrencyValidator, bG as createDateValidator, b_ as createDraftValidator, bO as createFileValidator, bM as createLocationValidator, cc as createMockAdapter, bR as createMultiRelationValidator, bL as createMultiselectValidator, bE as createNumberValidator, bV as createObjectValidator, bH as createPhoneValidator, bT as createRatingValidator, bS as createRelationValidator, bK as createSelectValidator, bQ as createSingleRelationValidator, bJ as createStatusValidator, bD as createTextValidator, bN as createTimestampValidator, bP as createUserValidator, bo as currencyConfigSchema, bm as dateConfigSchema, d8 as enrichValuesWithSelectLabels, d7 as extractAttributeNames, bu as fileConfigSchema, be as generateId, bf as generatePrefixedId, bz as getAttributeConfigSchema, c1 as getMissingRequiredAttributes, d0 as getSyncPreview, dA as getViewSyncPreview, bb as isActivityTab, ao as isAdvancedFilterState, ba as isCustomTab, aC as isFlowDefinition, aD as isFlowPublished, b8 as isFormTab, d6 as isLabelExpression, ax as isNoValueOperator, c2 as isRecordComplete, aE as isSystemFlow, b9 as isTableTab, bq as locationConfigSchema, bt as multiselectConfigSchema, bk as numberConfigSchema, bB as parseAttributeConfig, bn as phoneConfigSchema, bx as ratingConfigSchema, bg as registry, bw as relationConfigSchema, d5 as renderLabelExpression, bC as safeParseAttributeConfig, bs as selectConfigSchema, bp as statusConfigSchema, d3 as syncAll, c_ as syncNativeObjects, dy as syncNativeViews, bi as textConfigSchema, bj as textareaConfigSchema, br as timestampConfigSchema, ap as toAdvancedFilterState, aq as toSimpleFilterState, bv as userConfigSchema, bX as validateAttribute, bA as validateAttributeConfig, b$ as validateDraft, c0 as validateDraftOrThrow, bY as validateObject, bZ as validateObjectOrThrow, c$ as verifyNativeObjectsSync, dz as verifyNativeViewsSync, bh as viewRegistry } from './runtime-Dw2exb5q.js';
3
3
  import { IconName, CountryIso3, CurrencyCode, MimeType, ColorId } from '@stndrds/constants';
4
4
  import 'zod';
5
5
 
@@ -300,6 +300,45 @@ type ExtractAttributes<TBuilder> = TBuilder extends {
300
300
  };
301
301
  } ? A : never;
302
302
 
303
+ /**
304
+ * Default empty value placeholder
305
+ */
306
+ declare const EMPTY_VALUE_PLACEHOLDER = "\u2014";
307
+ /**
308
+ * Format an attribute value for display
309
+ *
310
+ * This function converts raw attribute values into human-readable strings
311
+ * based on the attribute type and configuration.
312
+ *
313
+ * @param value - The raw value to format
314
+ * @param attribute - The attribute definition
315
+ * @returns Formatted string representation
316
+ *
317
+ * @example
318
+ * ```typescript
319
+ * // Text attribute
320
+ * formatAttributeValue("Hello", textAttr);
321
+ * // → "Hello"
322
+ *
323
+ * // Currency attribute
324
+ * formatAttributeValue({ value: 1500, code: "EUR" }, currencyAttr);
325
+ * // → "1,500.00 EUR"
326
+ *
327
+ * // Select attribute with options
328
+ * formatAttributeValue("active", statusAttr);
329
+ * // → "Active" (label from options)
330
+ *
331
+ * // Location with city granularity
332
+ * formatAttributeValue({ city: "Paris", country: "FRA" }, locationAttr);
333
+ * // → "Paris, FRA"
334
+ *
335
+ * // Empty value
336
+ * formatAttributeValue(null, textAttr);
337
+ * // → "—"
338
+ * ```
339
+ */
340
+ declare function formatAttributeValue(value: unknown, attribute: Attribute): string;
341
+
303
342
  /**
304
343
  * System resources that can be managed through permissions.
305
344
  */
@@ -314,6 +353,8 @@ declare const SYSTEM_RESOURCES: {
314
353
  readonly SETTINGS: "settings";
315
354
  /** Audit logs and activity trail */
316
355
  readonly AUDIT: "audit";
356
+ /** File uploads and storage management */
357
+ readonly FILES: "files";
317
358
  };
318
359
  /**
319
360
  * All system resources as an array (for iteration)
@@ -388,6 +429,7 @@ declare const SchemaErrorCode: {
388
429
  readonly INVALID_OBJECT_NAME: "SCHEMA_INVALID_OBJECT_NAME";
389
430
  readonly PROTECTED_OBJECT: "SCHEMA_PROTECTED_OBJECT";
390
431
  readonly PROTECTED_ATTRIBUTE: "SCHEMA_PROTECTED_ATTRIBUTE";
432
+ readonly PROTECTED_VIEW: "SCHEMA_PROTECTED_VIEW";
391
433
  readonly PROTECTED_ROLE: "SCHEMA_PROTECTED_ROLE";
392
434
  readonly FORBIDDEN: "SCHEMA_FORBIDDEN";
393
435
  readonly SYNC_FAILED: "SCHEMA_SYNC_FAILED";
@@ -474,10 +516,10 @@ declare class ValidationError extends SchemaError {
474
516
  * Error thrown when attempting to modify a protected (system) resource
475
517
  */
476
518
  declare class ProtectedResourceError extends SchemaError {
477
- readonly resourceType: "object" | "attribute";
519
+ readonly resourceType: "object" | "attribute" | "view";
478
520
  readonly resourceName: string;
479
521
  readonly operation: "delete" | "modify";
480
- constructor(resourceType: "object" | "attribute", resourceName: string, operation: "delete" | "modify");
522
+ constructor(resourceType: "object" | "attribute" | "view", resourceName: string, operation: "delete" | "modify");
481
523
  }
482
524
  /**
483
525
  * Error thrown during native object synchronization
@@ -774,6 +816,10 @@ declare class FileAttributeBuilder<TName extends string, TRequired extends boole
774
816
  maxSize(bytes: number): this;
775
817
  allowedTypes(types: MimeType[] | readonly MimeType[]): this;
776
818
  verification(config: FileAttribute["verification"]): this;
819
+ /**
820
+ * Allow multiple files to be uploaded
821
+ */
822
+ multiple(): this;
777
823
  required(): FileAttributeBuilder<TName, true>;
778
824
  optional(): FileAttributeBuilder<TName, false>;
779
825
  }
@@ -786,6 +832,10 @@ declare class UserAttributeBuilder<TName extends string, TRequired extends boole
786
832
  };
787
833
  constructor(name: TName, label: string);
788
834
  allowedRoles(roles: string[]): this;
835
+ /**
836
+ * Allow multiple users to be selected
837
+ */
838
+ multiple(): this;
789
839
  required(): UserAttributeBuilder<TName, true>;
790
840
  optional(): UserAttributeBuilder<TName, false>;
791
841
  }
@@ -1622,4 +1672,4 @@ declare function view(name: string, label: string): ViewBuilder;
1622
1672
  */
1623
1673
  declare function group(id: string, label: string): GroupBuilder;
1624
1674
 
1625
- export { ALL_SYSTEM_RESOURCES, type AddAttribute$1 as AddAttribute, type AnyAttributeBuilder, Attribute, AttributeGroupField, AttributeInUseError, type AttributeMap, AttributeNotFoundError, type AttributeSchema, type AttributeUsage, type BuilderConfig, CheckboxAttribute, Currency, CurrencyAttribute, type CustomAttributeValue, CustomTabConfig, DEFAULT_ROLES, DEFAULT_ROLE_DESCRIPTIONS, DEFAULT_ROLE_LABELS, DEFAULT_ROLE_PERMISSIONS, DateAttribute, type DefaultRoleName, type DefaultRolePermissionConfig, DuplicateError, type ExtractAttributeName, type ExtractAttributeRequired, type ExtractAttributes, type ExtractRecord, type ExtractRecordInput, type ExtractRecordInputStrict, type ExtractRecordStrict, type ExtractRecordUpdate, type ExtractRecordUpdateStrict, Field, FileAttribute, FileNotFoundError, FlowBuilder, FlowDefinition, FlowPage, FlowPageBuilder, FlowRow, FlowRowBuilder, ForbiddenError, Group, GroupBuilder, type InferAttributeValue, type InferRecord, type InferRecordFromSchema, type InferRecordInput, type InferRecordUpdate, type InferRecordWithRequirements, Location, LocationAttribute, MultiRelationAttribute, MultiselectAttribute, NotFoundError, NotSystemObjectError, NumberAttribute, ObjectAction, ObjectBuilder, ObjectDefinition, ObjectNotFoundError, ObjectReferencedError, Option, Phone, PhoneAttribute, ProtectedResourceError, ProtectedRoleError, RatingAttribute, RecordNotFoundError, type RecordReference, RecordReferencedError, RelationTarget, RoleNotFoundError, SYSTEM_RESOURCES, SYSTEM_RESOURCE_LABELS, SchemaError, SchemaErrorCode, SelectAttribute, SingleRelationAttribute, StatusAttribute, SyncError, SystemAction, SystemResource, Tab, TabBuilder, TableTabConfig, TextAreaAttribute, TextAttribute, TimestampAttribute, type TypedAttribute, type TypedBuilderConfig, UserAttribute, UserProfileNotFoundError, ValidationError, type ValidationErrorDetail, ViewBuilder, ViewDefinition, type WithCustomAttributes, checkbox, currency, date, file, flow, group, isDefaultRole, isForbiddenError, isNotFoundError, isProtectedResourceError, isSchemaError, isValidationError, location, multiselect, number, object, phone, rating, relation, select, status, text, textarea, timestamp, user, view };
1675
+ export { ALL_SYSTEM_RESOURCES, type AddAttribute$1 as AddAttribute, type AnyAttributeBuilder, Attribute, AttributeGroupField, AttributeInUseError, type AttributeMap, AttributeNotFoundError, type AttributeSchema, type AttributeUsage, type BuilderConfig, CheckboxAttribute, Currency, CurrencyAttribute, type CustomAttributeValue, CustomTabConfig, DEFAULT_ROLES, DEFAULT_ROLE_DESCRIPTIONS, DEFAULT_ROLE_LABELS, DEFAULT_ROLE_PERMISSIONS, DateAttribute, type DefaultRoleName, type DefaultRolePermissionConfig, DuplicateError, EMPTY_VALUE_PLACEHOLDER, type ExtractAttributeName, type ExtractAttributeRequired, type ExtractAttributes, type ExtractRecord, type ExtractRecordInput, type ExtractRecordInputStrict, type ExtractRecordStrict, type ExtractRecordUpdate, type ExtractRecordUpdateStrict, Field, FileAttribute, FileNotFoundError, FlowBuilder, FlowDefinition, FlowPage, FlowPageBuilder, FlowRow, FlowRowBuilder, ForbiddenError, Group, GroupBuilder, type InferAttributeValue, type InferRecord, type InferRecordFromSchema, type InferRecordInput, type InferRecordUpdate, type InferRecordWithRequirements, Location, LocationAttribute, MultiRelationAttribute, MultiselectAttribute, NotFoundError, NotSystemObjectError, NumberAttribute, ObjectAction, ObjectBuilder, ObjectDefinition, ObjectNotFoundError, ObjectReferencedError, Option, Phone, PhoneAttribute, ProtectedResourceError, ProtectedRoleError, RatingAttribute, RecordNotFoundError, type RecordReference, RecordReferencedError, RelationTarget, RoleNotFoundError, SYSTEM_RESOURCES, SYSTEM_RESOURCE_LABELS, SchemaError, SchemaErrorCode, SelectAttribute, SingleRelationAttribute, StatusAttribute, SyncError, SystemAction, SystemResource, Tab, TabBuilder, TableTabConfig, TextAreaAttribute, TextAttribute, TimestampAttribute, type TypedAttribute, type TypedBuilderConfig, UserAttribute, UserProfileNotFoundError, ValidationError, type ValidationErrorDetail, ViewBuilder, ViewDefinition, type WithCustomAttributes, checkbox, currency, date, file, flow, formatAttributeValue, group, isDefaultRole, isForbiddenError, isNotFoundError, isProtectedResourceError, isSchemaError, isValidationError, location, multiselect, number, object, phone, rating, relation, select, status, text, textarea, timestamp, user, view };