@stndrds/schema 0.1.0-alpha.29 → 0.1.0-alpha.30
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.
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as DateAttribute, U as UserAttribute, A as Attribute, S as SystemResource, a as SystemAction, O as ObjectAction, T as TextAttribute, b as TextAreaAttribute, R as RichtextAttribute, c as RichtextFeature, N as NumberAttribute, C as CheckboxAttribute, P as PhoneAttribute, d as CurrencyAttribute, e as Option, f as StatusAttribute, g as SelectAttribute, M as MultiselectAttribute, L as LocationAttribute, F as FileAttribute, h as SingleRelationAttribute, i as MultiRelationAttribute, j as RelationTarget, k as RatingAttribute, l as FormulaAttribute, m as FormulaReturnType, n as RollupAttribute, o as RollupFunction, p as FlowDefinition, q as FlowPage, r as FlowRow, I as InferAttributeValue, s as ObjectDefinition, t as Field, u as AttributeGroupField, G as Group, V as ViewDefinition, v as Tab, B as BlockNoteContent } from './runtime-
|
|
2
|
-
export { bV as ActivityTab, bb as AddAttribute, ep as AddAttributeInput, aK as AdvancedFilterState, bI as AssignRoleInput, dV as AttributeChange, y as AttributeGroup, ba as AttributeMap, b6 as AttributeSchema, w as AttributeType, e5 as AttributesRepository, ah as AuditAction, ai as AuditActorType, aj as AuditChange, am as AuditListOptions, ak as AuditLogEntry, eb as AuditRepository, ag as AuditResourceType, ee as AuditService, an as AuditServiceOptions, z as BaseAttribute, $ as BlockNoteBlock, a0 as BlockNoteCustomInlineContent, a1 as BlockNoteDefaultProps, a2 as BlockNoteInlineContent, a3 as BlockNoteLink, a4 as BlockNoteStyledText, a5 as BlockNoteStyles, a6 as BlockNoteTableCell, a7 as BlockNoteTableCellProps, a8 as BlockNoteTableContent, av as CheckboxFilterOperator, bw as CompletionStatus, al as CreateAuditLogInput, eo as CreateCustomObjectInput, fd as CreateDBAttribute, fr as CreateDBFlow, f9 as CreateDBObject, fn as CreateDBView, ar as CreateFile, ej as CreateFlowInput, fg as CreateObjectRecord, bH as CreatePermissionInput, bF as CreateRoleInput, bP as CreateUserProfile, eO as CreateViewInput, Q as Currency, aC as CurrencyFilterValue, bf as CustomAttributeValue, bU as CustomTab, fc as DBAttribute, fq as DBFlow, f8 as DBObject, fm as DBView, f3 as DEFAULT_LABEL_FALLBACK, d0 as DatabaseAdapter, aw as DateFilterOperator, H as DateFormat, J as DateValue, bC as EffectivePermissions, aG as ExtendedFilterRule, bp as ExtractAttributes, bj as ExtractRecord, bl as ExtractRecordInput, bm as ExtractRecordInputStrict, bk as ExtractRecordStrict, bn as ExtractRecordUpdate, bo as ExtractRecordUpdateStrict, d1 as FetchResult, aq as File, eR as FileContent, fl as FileListOptions, ei as FileService, eh as FileServiceOptions, ap as FileVisibility, e7 as FilesRepository, aH as FilterCombinator, aJ as FilterGroup, aA as FilterOperator, aF as FilterRule, aI as FilterState, aE as FilterValue, aX as FlowRelation, aW as FlowRowField, el as FlowService, aV as FlowSlot, aY as FlowStatus, ea as FlowsRepository, bS as FormTab, d2 as FormattedRecord, dD as FormulaResult, f1 as FullSyncOptions, f0 as FullSyncResult, b4 as GeocodingAdapter, b1 as GeocodingAutocompleteParams, b3 as GeocodingParams, em as GeocodingService, b0 as GeocodingSuggestion, eB as GetRelationOptionsParams, fj as GlobalSearchOptions, fk as GlobalSearchResultItem, en as GlobalSearchService, d3 as GroupedFetchResult, dW as HookContext, dX as HookDefinition, dY as HookHandler, d$ as HookRegistry, dZ as HookType, bc as InferRecord, b7 as InferRecordFromSchema, bd as InferRecordInput, be as InferRecordUpdate, b8 as InferRecordWithRequirements, d4 as InsertOptions, dH as InvalidPathError, fh as ListOptions, W as Location, X as LocationGranularity, dI as MaxDepthExceededError, ay as MultiselectFilterOperator, aT as NO_VALUE_OPERATORS, aS as NoValueOperator, b5 as NoopGeocodingAdapter, d_ as NoopHookRegistry, bW as NotesTab, au as NumberFilterOperator, E as NumberUnit, aR as OPERATORS_BY_TYPE, bv as ObjectAttribute, bD as ObjectPermissions, bx as ObjectRecord, e8 as ObjectRecordsRepository, es as ObjectSchemaService, er as ObjectSchemaServiceOptions, e4 as ObjectsRepository, ft as OperationResult, a9 as PartialBlockNoteBlock, aa as PartialBlockNoteContent, ab as PartialBlockNoteInlineContent, ac as PartialBlockNoteLink, ad as PartialBlockNoteStyledText, ae as PartialBlockNoteTableCell, af as PartialBlockNoteTableContent, dM as PathCardinality, dN as PathSegment, dO as PathSegmentType, bA as Permission, by as PermissionScope, eu as PermissionService, et as PermissionServiceOptions, ec as PermissionsRepository, K as Phone, aD as PhoneFilterValue, bJ as PolicyContext, e2 as PolicyRegistry, bL as PolicyViolationError, dg as QueryBuilder, dh as QueryBuilderOptions, d5 as QueryBuilderState, dc as QueryMultipleResultsError, dd as QueryNoResultError, aQ as QueryState, Y as RELATION_TARGET_ANY, bq as RESERVED_ATTRIBUTE_NAMES, bh as RecordMetadata, bK as RecordPolicy, ew as RecordService, ev as RecordServiceOptions, d6 as RegistryMap, d7 as RegistryObjectNames, Z as RelationAttribute, az as RelationFilterOperator, ez as RelationOption, eA as RelationOptionsResponse, eE as RelationResolverService, eC as RelationService, ey as RelationValidationError, ex as RelationValidationResult, aB as RelativeDateValue, bs as ReservedAttributeName, eD as ResolvedRelations, b2 as ReverseGeocodingParams, bz as Role, eF as RollupResult, eI as RollupScheduler, eH as RollupSchedulerOptions, eG as RollupService, de as SHORTCUT_TO_FILTER_OPERATOR, br as SYSTEM_FIELD_NAMES, dP as SchemaResolver, fi as SearchOptions, ax as SelectFilterOperator, d8 as ShortcutOperator, eU as SignedUrlOptions, aO as SortDirection, aP as SortRule, x as StatusGroup, eV as StorageAdapter, ao as StorageProvider, eS as StorageUploadInput, eT as StorageUploadResult, eY as SyncOptions, eX as SyncResult, bt as SystemFieldName, bi as SystemFields, bE as SystemPermissions, bR as TabType, bT as TableTab, eg as TenantAwareRepository, ef as TenantAwareService, dq as TenantContext, di as TenantContextError, c1 as TenantId, at as TextFilterOperator, bu as Timestamps, dT as TraversalOptions, dU as TraversalResult, b9 as TypedAttribute, fe as UpdateDBAttribute, fs as UpdateDBFlow, fa as UpdateDBObject, fo as UpdateDBView, as as UpdateFile, ek as UpdateFlowInput, eq as UpdateObjectInput, bG as UpdateRoleInput, bQ as UpdateUserProfile, eP as UpdateViewInput, eW as UploadFileInput, ff as UpsertDBAttribute, fb as UpsertDBObject, fp as UpsertDBView, c2 as UserId, bO as UserProfile, eK as UserProfileService, eJ as UserProfileServiceOptions, e6 as UserProfilesRepository, bM as UserRole, bB as UserRoleAssignment, eN as UserService, bN as UserStatus, eM as UserValidationError, eL as UserValidationResult, c0 as Uuid, cS as ValidationResult, eQ as ViewService, fv as ViewSyncOptions, fu as ViewSyncResult, e9 as ViewsRepository, bg as WithCustomAttributes, c3 as asTenantId, c4 as asUserId, cr as attributeConfigSchemas, ed as buildAuditChanges, cd as checkboxConfigSchema, c$ as computeRecordStatus, cQ as createAttributeValidator, cy as createCheckboxValidator, cB as createCurrencyValidator, cz as createDateValidator, d9 as createDefaultState, cW as createDraftValidator, cG as createFileValidator, cM as createFormulaValidator, cF as createLocationValidator, e0 as createMockAdapter, cJ as createMultiRelationValidator, cE as createMultiselectValidator, cx as createNumberValidator, cR as createObjectValidator, cA as createPhoneValidator, df as createQueryBuilder, cL as createRatingValidator, cK as createRelationValidator, cP as createRichtextValidator, cN as createRollupValidator, cD as createSelectValidator, cI as createSingleRelationValidator, cC as createStatusValidator, cO as createTextAreaValidator, cw as createTextValidator, cH as createUserValidator, cg as currencyConfigSchema, ce as dateConfigSchema, e1 as defaultPolicyRegistry, f7 as enrichValuesWithSelectLabels, dr as evaluateFormula, ds as evaluateFormulaAttribute, dt as evaluateFormulaAttributeWithRelations, du as evaluateFormulaWithRelations, dv as evaluateFormulaWithResult, f6 as extractAttributeNames, dw as extractFormulaVariables, dx as extractRelationNames, dy as extractRelationReferences, cl as fileConfigSchema, dz as flattenRelationsForEval, dA as formatFormulaResult, da as formatRecord, db as formatRecords, cp as formulaConfigSchema, c5 as generateId, c6 as generatePrefixedId, cs as getAttributeConfigSchema, dj as getContext, cZ as getMissingRequiredAttributes, dE as getPathDepth, dF as getRelationPath, e$ as getSyncPreview, dG as getTargetAttributeName, dk as getTenantId, dl as getUserId, fy as getViewSyncPreview, dm as hasContext, dB as hasRelationReferences, b_ as isActivityTab, aL as isAdvancedFilterState, bZ as isCustomTab, aZ as isFlowDefinition, a_ as isFlowPublished, bX as isFormTab, f5 as isLabelExpression, aU as isNoValueOperator, b$ as isNotesTab, c_ as isRecordComplete, a$ as isSystemFlow, bY as isTableTab, _ as isUniversalRelation, ci as locationConfigSchema, ck as multiselectConfigSchema, e3 as notesPolicy, cc as numberConfigSchema, cu as parseAttributeConfig, dJ as parsePath, dK as pathHasManyCardinality, cf as phoneConfigSchema, co as ratingConfigSchema, c7 as registry, cn as relationConfigSchema, f4 as renderLabelExpression, dQ as resolveMultiplePaths, dR as resolveSingleValue, cb as richtextConfigSchema, cq as rollupConfigSchema, dn as runWithContext, cv as safeParseAttributeConfig, cj as selectConfigSchema, ch as statusConfigSchema, f2 as syncAll, eZ as syncNativeObjects, fw as syncNativeViews, c9 as textConfigSchema, ca as textareaConfigSchema, aM as toAdvancedFilterState, aN as toSimpleFilterState, dS as traversePath, cm as userConfigSchema, cT as validateAttribute, ct as validateAttributeConfig, cX as validateDraft, cY as validateDraftOrThrow, dC as validateFormulaExpression, cU as validateObject, cV as validateObjectOrThrow, dL as validatePath, e_ as verifyNativeObjectsSync, fx as verifyNativeViewsSync, c8 as viewRegistry, dp as withTenantContext } from './runtime-
|
|
1
|
+
import { D as DateAttribute, U as UserAttribute, A as Attribute, S as SystemResource, a as SystemAction, O as ObjectAction, T as TextAttribute, b as TextAreaAttribute, R as RichtextAttribute, c as RichtextFeature, N as NumberAttribute, C as CheckboxAttribute, P as PhoneAttribute, d as CurrencyAttribute, e as Option, f as StatusAttribute, g as SelectAttribute, M as MultiselectAttribute, L as LocationAttribute, F as FileAttribute, h as SingleRelationAttribute, i as MultiRelationAttribute, j as RelationTarget, k as RatingAttribute, l as FormulaAttribute, m as FormulaReturnType, n as RollupAttribute, o as RollupFunction, p as FlowDefinition, q as FlowPage, r as FlowRow, I as InferAttributeValue, s as ObjectDefinition, t as Field, u as AttributeGroupField, G as Group, V as ViewDefinition, v as Tab, B as BlockNoteContent } from './runtime-hbTw33Gx.mjs';
|
|
2
|
+
export { bV as ActivityTab, bb as AddAttribute, ep as AddAttributeInput, aK as AdvancedFilterState, bI as AssignRoleInput, dV as AttributeChange, y as AttributeGroup, ba as AttributeMap, b6 as AttributeSchema, w as AttributeType, e5 as AttributesRepository, ah as AuditAction, ai as AuditActorType, aj as AuditChange, am as AuditListOptions, ak as AuditLogEntry, eb as AuditRepository, ag as AuditResourceType, ee as AuditService, an as AuditServiceOptions, z as BaseAttribute, $ as BlockNoteBlock, a0 as BlockNoteCustomInlineContent, a1 as BlockNoteDefaultProps, a2 as BlockNoteInlineContent, a3 as BlockNoteLink, a4 as BlockNoteStyledText, a5 as BlockNoteStyles, a6 as BlockNoteTableCell, a7 as BlockNoteTableCellProps, a8 as BlockNoteTableContent, av as CheckboxFilterOperator, bw as CompletionStatus, al as CreateAuditLogInput, eo as CreateCustomObjectInput, fd as CreateDBAttribute, fr as CreateDBFlow, f9 as CreateDBObject, fn as CreateDBView, ar as CreateFile, ej as CreateFlowInput, fg as CreateObjectRecord, bH as CreatePermissionInput, bF as CreateRoleInput, bP as CreateUserProfile, eO as CreateViewInput, Q as Currency, aC as CurrencyFilterValue, bf as CustomAttributeValue, bU as CustomTab, fc as DBAttribute, fq as DBFlow, f8 as DBObject, fm as DBView, f3 as DEFAULT_LABEL_FALLBACK, d0 as DatabaseAdapter, aw as DateFilterOperator, H as DateFormat, J as DateValue, bC as EffectivePermissions, aG as ExtendedFilterRule, bp as ExtractAttributes, bj as ExtractRecord, bl as ExtractRecordInput, bm as ExtractRecordInputStrict, bk as ExtractRecordStrict, bn as ExtractRecordUpdate, bo as ExtractRecordUpdateStrict, d1 as FetchResult, aq as File, eR as FileContent, fl as FileListOptions, ei as FileService, eh as FileServiceOptions, ap as FileVisibility, e7 as FilesRepository, aH as FilterCombinator, aJ as FilterGroup, aA as FilterOperator, aF as FilterRule, aI as FilterState, aE as FilterValue, aX as FlowRelation, aW as FlowRowField, el as FlowService, aV as FlowSlot, aY as FlowStatus, ea as FlowsRepository, bS as FormTab, d2 as FormattedRecord, dD as FormulaResult, f1 as FullSyncOptions, f0 as FullSyncResult, b4 as GeocodingAdapter, b1 as GeocodingAutocompleteParams, b3 as GeocodingParams, em as GeocodingService, b0 as GeocodingSuggestion, eB as GetRelationOptionsParams, fj as GlobalSearchOptions, fk as GlobalSearchResultItem, en as GlobalSearchService, d3 as GroupedFetchResult, dW as HookContext, dX as HookDefinition, dY as HookHandler, d$ as HookRegistry, dZ as HookType, bc as InferRecord, b7 as InferRecordFromSchema, bd as InferRecordInput, be as InferRecordUpdate, b8 as InferRecordWithRequirements, d4 as InsertOptions, dH as InvalidPathError, fh as ListOptions, W as Location, X as LocationGranularity, dI as MaxDepthExceededError, ay as MultiselectFilterOperator, aT as NO_VALUE_OPERATORS, aS as NoValueOperator, b5 as NoopGeocodingAdapter, d_ as NoopHookRegistry, bW as NotesTab, au as NumberFilterOperator, E as NumberUnit, aR as OPERATORS_BY_TYPE, bv as ObjectAttribute, bD as ObjectPermissions, bx as ObjectRecord, e8 as ObjectRecordsRepository, es as ObjectSchemaService, er as ObjectSchemaServiceOptions, e4 as ObjectsRepository, ft as OperationResult, a9 as PartialBlockNoteBlock, aa as PartialBlockNoteContent, ab as PartialBlockNoteInlineContent, ac as PartialBlockNoteLink, ad as PartialBlockNoteStyledText, ae as PartialBlockNoteTableCell, af as PartialBlockNoteTableContent, dM as PathCardinality, dN as PathSegment, dO as PathSegmentType, bA as Permission, by as PermissionScope, eu as PermissionService, et as PermissionServiceOptions, ec as PermissionsRepository, K as Phone, aD as PhoneFilterValue, bJ as PolicyContext, e2 as PolicyRegistry, bL as PolicyViolationError, dg as QueryBuilder, dh as QueryBuilderOptions, d5 as QueryBuilderState, dc as QueryMultipleResultsError, dd as QueryNoResultError, aQ as QueryState, Y as RELATION_TARGET_ANY, bq as RESERVED_ATTRIBUTE_NAMES, bh as RecordMetadata, bK as RecordPolicy, ew as RecordService, ev as RecordServiceOptions, d6 as RegistryMap, d7 as RegistryObjectNames, Z as RelationAttribute, az as RelationFilterOperator, ez as RelationOption, eA as RelationOptionsResponse, eE as RelationResolverService, eC as RelationService, ey as RelationValidationError, ex as RelationValidationResult, aB as RelativeDateValue, bs as ReservedAttributeName, eD as ResolvedRelations, b2 as ReverseGeocodingParams, bz as Role, eF as RollupResult, eI as RollupScheduler, eH as RollupSchedulerOptions, eG as RollupService, de as SHORTCUT_TO_FILTER_OPERATOR, br as SYSTEM_FIELD_NAMES, dP as SchemaResolver, fi as SearchOptions, ax as SelectFilterOperator, d8 as ShortcutOperator, eU as SignedUrlOptions, aO as SortDirection, aP as SortRule, x as StatusGroup, eV as StorageAdapter, ao as StorageProvider, eS as StorageUploadInput, eT as StorageUploadResult, eY as SyncOptions, eX as SyncResult, bt as SystemFieldName, bi as SystemFields, bE as SystemPermissions, bR as TabType, bT as TableTab, eg as TenantAwareRepository, ef as TenantAwareService, dq as TenantContext, di as TenantContextError, c1 as TenantId, at as TextFilterOperator, bu as Timestamps, dT as TraversalOptions, dU as TraversalResult, b9 as TypedAttribute, fe as UpdateDBAttribute, fs as UpdateDBFlow, fa as UpdateDBObject, fo as UpdateDBView, as as UpdateFile, ek as UpdateFlowInput, eq as UpdateObjectInput, bG as UpdateRoleInput, bQ as UpdateUserProfile, eP as UpdateViewInput, eW as UploadFileInput, ff as UpsertDBAttribute, fb as UpsertDBObject, fp as UpsertDBView, c2 as UserId, bO as UserProfile, eK as UserProfileService, eJ as UserProfileServiceOptions, e6 as UserProfilesRepository, bM as UserRole, bB as UserRoleAssignment, eN as UserService, bN as UserStatus, eM as UserValidationError, eL as UserValidationResult, c0 as Uuid, cS as ValidationResult, eQ as ViewService, fv as ViewSyncOptions, fu as ViewSyncResult, e9 as ViewsRepository, bg as WithCustomAttributes, c3 as asTenantId, c4 as asUserId, cr as attributeConfigSchemas, ed as buildAuditChanges, cd as checkboxConfigSchema, c$ as computeRecordStatus, cQ as createAttributeValidator, cy as createCheckboxValidator, cB as createCurrencyValidator, cz as createDateValidator, d9 as createDefaultState, cW as createDraftValidator, cG as createFileValidator, cM as createFormulaValidator, cF as createLocationValidator, e0 as createMockAdapter, cJ as createMultiRelationValidator, cE as createMultiselectValidator, cx as createNumberValidator, cR as createObjectValidator, cA as createPhoneValidator, df as createQueryBuilder, cL as createRatingValidator, cK as createRelationValidator, cP as createRichtextValidator, cN as createRollupValidator, cD as createSelectValidator, cI as createSingleRelationValidator, cC as createStatusValidator, cO as createTextAreaValidator, cw as createTextValidator, cH as createUserValidator, cg as currencyConfigSchema, ce as dateConfigSchema, e1 as defaultPolicyRegistry, f7 as enrichValuesWithSelectLabels, dr as evaluateFormula, ds as evaluateFormulaAttribute, dt as evaluateFormulaAttributeWithRelations, du as evaluateFormulaWithRelations, dv as evaluateFormulaWithResult, f6 as extractAttributeNames, dw as extractFormulaVariables, dx as extractRelationNames, dy as extractRelationReferences, cl as fileConfigSchema, dz as flattenRelationsForEval, dA as formatFormulaResult, da as formatRecord, db as formatRecords, cp as formulaConfigSchema, c5 as generateId, c6 as generatePrefixedId, cs as getAttributeConfigSchema, dj as getContext, cZ as getMissingRequiredAttributes, dE as getPathDepth, dF as getRelationPath, e$ as getSyncPreview, dG as getTargetAttributeName, dk as getTenantId, dl as getUserId, fy as getViewSyncPreview, dm as hasContext, dB as hasRelationReferences, b_ as isActivityTab, aL as isAdvancedFilterState, bZ as isCustomTab, aZ as isFlowDefinition, a_ as isFlowPublished, bX as isFormTab, f5 as isLabelExpression, aU as isNoValueOperator, b$ as isNotesTab, c_ as isRecordComplete, a$ as isSystemFlow, bY as isTableTab, _ as isUniversalRelation, ci as locationConfigSchema, ck as multiselectConfigSchema, e3 as notesPolicy, cc as numberConfigSchema, cu as parseAttributeConfig, dJ as parsePath, dK as pathHasManyCardinality, cf as phoneConfigSchema, co as ratingConfigSchema, c7 as registry, cn as relationConfigSchema, f4 as renderLabelExpression, dQ as resolveMultiplePaths, dR as resolveSingleValue, cb as richtextConfigSchema, cq as rollupConfigSchema, dn as runWithContext, cv as safeParseAttributeConfig, cj as selectConfigSchema, ch as statusConfigSchema, f2 as syncAll, eZ as syncNativeObjects, fw as syncNativeViews, c9 as textConfigSchema, ca as textareaConfigSchema, aM as toAdvancedFilterState, aN as toSimpleFilterState, dS as traversePath, cm as userConfigSchema, cT as validateAttribute, ct as validateAttributeConfig, cX as validateDraft, cY as validateDraftOrThrow, dC as validateFormulaExpression, cU as validateObject, cV as validateObjectOrThrow, dL as validatePath, e_ as verifyNativeObjectsSync, fx as verifyNativeViewsSync, c8 as viewRegistry, dp as withTenantContext } from './runtime-hbTw33Gx.mjs';
|
|
3
3
|
import { IconName, CountryIso3, CurrencyCode, MimeType, ColorId } from '@stndrds/constants';
|
|
4
4
|
import 'zod';
|
|
5
5
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as DateAttribute, U as UserAttribute, A as Attribute, S as SystemResource, a as SystemAction, O as ObjectAction, T as TextAttribute, b as TextAreaAttribute, R as RichtextAttribute, c as RichtextFeature, N as NumberAttribute, C as CheckboxAttribute, P as PhoneAttribute, d as CurrencyAttribute, e as Option, f as StatusAttribute, g as SelectAttribute, M as MultiselectAttribute, L as LocationAttribute, F as FileAttribute, h as SingleRelationAttribute, i as MultiRelationAttribute, j as RelationTarget, k as RatingAttribute, l as FormulaAttribute, m as FormulaReturnType, n as RollupAttribute, o as RollupFunction, p as FlowDefinition, q as FlowPage, r as FlowRow, I as InferAttributeValue, s as ObjectDefinition, t as Field, u as AttributeGroupField, G as Group, V as ViewDefinition, v as Tab, B as BlockNoteContent } from './runtime-
|
|
2
|
-
export { bV as ActivityTab, bb as AddAttribute, ep as AddAttributeInput, aK as AdvancedFilterState, bI as AssignRoleInput, dV as AttributeChange, y as AttributeGroup, ba as AttributeMap, b6 as AttributeSchema, w as AttributeType, e5 as AttributesRepository, ah as AuditAction, ai as AuditActorType, aj as AuditChange, am as AuditListOptions, ak as AuditLogEntry, eb as AuditRepository, ag as AuditResourceType, ee as AuditService, an as AuditServiceOptions, z as BaseAttribute, $ as BlockNoteBlock, a0 as BlockNoteCustomInlineContent, a1 as BlockNoteDefaultProps, a2 as BlockNoteInlineContent, a3 as BlockNoteLink, a4 as BlockNoteStyledText, a5 as BlockNoteStyles, a6 as BlockNoteTableCell, a7 as BlockNoteTableCellProps, a8 as BlockNoteTableContent, av as CheckboxFilterOperator, bw as CompletionStatus, al as CreateAuditLogInput, eo as CreateCustomObjectInput, fd as CreateDBAttribute, fr as CreateDBFlow, f9 as CreateDBObject, fn as CreateDBView, ar as CreateFile, ej as CreateFlowInput, fg as CreateObjectRecord, bH as CreatePermissionInput, bF as CreateRoleInput, bP as CreateUserProfile, eO as CreateViewInput, Q as Currency, aC as CurrencyFilterValue, bf as CustomAttributeValue, bU as CustomTab, fc as DBAttribute, fq as DBFlow, f8 as DBObject, fm as DBView, f3 as DEFAULT_LABEL_FALLBACK, d0 as DatabaseAdapter, aw as DateFilterOperator, H as DateFormat, J as DateValue, bC as EffectivePermissions, aG as ExtendedFilterRule, bp as ExtractAttributes, bj as ExtractRecord, bl as ExtractRecordInput, bm as ExtractRecordInputStrict, bk as ExtractRecordStrict, bn as ExtractRecordUpdate, bo as ExtractRecordUpdateStrict, d1 as FetchResult, aq as File, eR as FileContent, fl as FileListOptions, ei as FileService, eh as FileServiceOptions, ap as FileVisibility, e7 as FilesRepository, aH as FilterCombinator, aJ as FilterGroup, aA as FilterOperator, aF as FilterRule, aI as FilterState, aE as FilterValue, aX as FlowRelation, aW as FlowRowField, el as FlowService, aV as FlowSlot, aY as FlowStatus, ea as FlowsRepository, bS as FormTab, d2 as FormattedRecord, dD as FormulaResult, f1 as FullSyncOptions, f0 as FullSyncResult, b4 as GeocodingAdapter, b1 as GeocodingAutocompleteParams, b3 as GeocodingParams, em as GeocodingService, b0 as GeocodingSuggestion, eB as GetRelationOptionsParams, fj as GlobalSearchOptions, fk as GlobalSearchResultItem, en as GlobalSearchService, d3 as GroupedFetchResult, dW as HookContext, dX as HookDefinition, dY as HookHandler, d$ as HookRegistry, dZ as HookType, bc as InferRecord, b7 as InferRecordFromSchema, bd as InferRecordInput, be as InferRecordUpdate, b8 as InferRecordWithRequirements, d4 as InsertOptions, dH as InvalidPathError, fh as ListOptions, W as Location, X as LocationGranularity, dI as MaxDepthExceededError, ay as MultiselectFilterOperator, aT as NO_VALUE_OPERATORS, aS as NoValueOperator, b5 as NoopGeocodingAdapter, d_ as NoopHookRegistry, bW as NotesTab, au as NumberFilterOperator, E as NumberUnit, aR as OPERATORS_BY_TYPE, bv as ObjectAttribute, bD as ObjectPermissions, bx as ObjectRecord, e8 as ObjectRecordsRepository, es as ObjectSchemaService, er as ObjectSchemaServiceOptions, e4 as ObjectsRepository, ft as OperationResult, a9 as PartialBlockNoteBlock, aa as PartialBlockNoteContent, ab as PartialBlockNoteInlineContent, ac as PartialBlockNoteLink, ad as PartialBlockNoteStyledText, ae as PartialBlockNoteTableCell, af as PartialBlockNoteTableContent, dM as PathCardinality, dN as PathSegment, dO as PathSegmentType, bA as Permission, by as PermissionScope, eu as PermissionService, et as PermissionServiceOptions, ec as PermissionsRepository, K as Phone, aD as PhoneFilterValue, bJ as PolicyContext, e2 as PolicyRegistry, bL as PolicyViolationError, dg as QueryBuilder, dh as QueryBuilderOptions, d5 as QueryBuilderState, dc as QueryMultipleResultsError, dd as QueryNoResultError, aQ as QueryState, Y as RELATION_TARGET_ANY, bq as RESERVED_ATTRIBUTE_NAMES, bh as RecordMetadata, bK as RecordPolicy, ew as RecordService, ev as RecordServiceOptions, d6 as RegistryMap, d7 as RegistryObjectNames, Z as RelationAttribute, az as RelationFilterOperator, ez as RelationOption, eA as RelationOptionsResponse, eE as RelationResolverService, eC as RelationService, ey as RelationValidationError, ex as RelationValidationResult, aB as RelativeDateValue, bs as ReservedAttributeName, eD as ResolvedRelations, b2 as ReverseGeocodingParams, bz as Role, eF as RollupResult, eI as RollupScheduler, eH as RollupSchedulerOptions, eG as RollupService, de as SHORTCUT_TO_FILTER_OPERATOR, br as SYSTEM_FIELD_NAMES, dP as SchemaResolver, fi as SearchOptions, ax as SelectFilterOperator, d8 as ShortcutOperator, eU as SignedUrlOptions, aO as SortDirection, aP as SortRule, x as StatusGroup, eV as StorageAdapter, ao as StorageProvider, eS as StorageUploadInput, eT as StorageUploadResult, eY as SyncOptions, eX as SyncResult, bt as SystemFieldName, bi as SystemFields, bE as SystemPermissions, bR as TabType, bT as TableTab, eg as TenantAwareRepository, ef as TenantAwareService, dq as TenantContext, di as TenantContextError, c1 as TenantId, at as TextFilterOperator, bu as Timestamps, dT as TraversalOptions, dU as TraversalResult, b9 as TypedAttribute, fe as UpdateDBAttribute, fs as UpdateDBFlow, fa as UpdateDBObject, fo as UpdateDBView, as as UpdateFile, ek as UpdateFlowInput, eq as UpdateObjectInput, bG as UpdateRoleInput, bQ as UpdateUserProfile, eP as UpdateViewInput, eW as UploadFileInput, ff as UpsertDBAttribute, fb as UpsertDBObject, fp as UpsertDBView, c2 as UserId, bO as UserProfile, eK as UserProfileService, eJ as UserProfileServiceOptions, e6 as UserProfilesRepository, bM as UserRole, bB as UserRoleAssignment, eN as UserService, bN as UserStatus, eM as UserValidationError, eL as UserValidationResult, c0 as Uuid, cS as ValidationResult, eQ as ViewService, fv as ViewSyncOptions, fu as ViewSyncResult, e9 as ViewsRepository, bg as WithCustomAttributes, c3 as asTenantId, c4 as asUserId, cr as attributeConfigSchemas, ed as buildAuditChanges, cd as checkboxConfigSchema, c$ as computeRecordStatus, cQ as createAttributeValidator, cy as createCheckboxValidator, cB as createCurrencyValidator, cz as createDateValidator, d9 as createDefaultState, cW as createDraftValidator, cG as createFileValidator, cM as createFormulaValidator, cF as createLocationValidator, e0 as createMockAdapter, cJ as createMultiRelationValidator, cE as createMultiselectValidator, cx as createNumberValidator, cR as createObjectValidator, cA as createPhoneValidator, df as createQueryBuilder, cL as createRatingValidator, cK as createRelationValidator, cP as createRichtextValidator, cN as createRollupValidator, cD as createSelectValidator, cI as createSingleRelationValidator, cC as createStatusValidator, cO as createTextAreaValidator, cw as createTextValidator, cH as createUserValidator, cg as currencyConfigSchema, ce as dateConfigSchema, e1 as defaultPolicyRegistry, f7 as enrichValuesWithSelectLabels, dr as evaluateFormula, ds as evaluateFormulaAttribute, dt as evaluateFormulaAttributeWithRelations, du as evaluateFormulaWithRelations, dv as evaluateFormulaWithResult, f6 as extractAttributeNames, dw as extractFormulaVariables, dx as extractRelationNames, dy as extractRelationReferences, cl as fileConfigSchema, dz as flattenRelationsForEval, dA as formatFormulaResult, da as formatRecord, db as formatRecords, cp as formulaConfigSchema, c5 as generateId, c6 as generatePrefixedId, cs as getAttributeConfigSchema, dj as getContext, cZ as getMissingRequiredAttributes, dE as getPathDepth, dF as getRelationPath, e$ as getSyncPreview, dG as getTargetAttributeName, dk as getTenantId, dl as getUserId, fy as getViewSyncPreview, dm as hasContext, dB as hasRelationReferences, b_ as isActivityTab, aL as isAdvancedFilterState, bZ as isCustomTab, aZ as isFlowDefinition, a_ as isFlowPublished, bX as isFormTab, f5 as isLabelExpression, aU as isNoValueOperator, b$ as isNotesTab, c_ as isRecordComplete, a$ as isSystemFlow, bY as isTableTab, _ as isUniversalRelation, ci as locationConfigSchema, ck as multiselectConfigSchema, e3 as notesPolicy, cc as numberConfigSchema, cu as parseAttributeConfig, dJ as parsePath, dK as pathHasManyCardinality, cf as phoneConfigSchema, co as ratingConfigSchema, c7 as registry, cn as relationConfigSchema, f4 as renderLabelExpression, dQ as resolveMultiplePaths, dR as resolveSingleValue, cb as richtextConfigSchema, cq as rollupConfigSchema, dn as runWithContext, cv as safeParseAttributeConfig, cj as selectConfigSchema, ch as statusConfigSchema, f2 as syncAll, eZ as syncNativeObjects, fw as syncNativeViews, c9 as textConfigSchema, ca as textareaConfigSchema, aM as toAdvancedFilterState, aN as toSimpleFilterState, dS as traversePath, cm as userConfigSchema, cT as validateAttribute, ct as validateAttributeConfig, cX as validateDraft, cY as validateDraftOrThrow, dC as validateFormulaExpression, cU as validateObject, cV as validateObjectOrThrow, dL as validatePath, e_ as verifyNativeObjectsSync, fx as verifyNativeViewsSync, c8 as viewRegistry, dp as withTenantContext } from './runtime-
|
|
1
|
+
import { D as DateAttribute, U as UserAttribute, A as Attribute, S as SystemResource, a as SystemAction, O as ObjectAction, T as TextAttribute, b as TextAreaAttribute, R as RichtextAttribute, c as RichtextFeature, N as NumberAttribute, C as CheckboxAttribute, P as PhoneAttribute, d as CurrencyAttribute, e as Option, f as StatusAttribute, g as SelectAttribute, M as MultiselectAttribute, L as LocationAttribute, F as FileAttribute, h as SingleRelationAttribute, i as MultiRelationAttribute, j as RelationTarget, k as RatingAttribute, l as FormulaAttribute, m as FormulaReturnType, n as RollupAttribute, o as RollupFunction, p as FlowDefinition, q as FlowPage, r as FlowRow, I as InferAttributeValue, s as ObjectDefinition, t as Field, u as AttributeGroupField, G as Group, V as ViewDefinition, v as Tab, B as BlockNoteContent } from './runtime-hbTw33Gx.js';
|
|
2
|
+
export { bV as ActivityTab, bb as AddAttribute, ep as AddAttributeInput, aK as AdvancedFilterState, bI as AssignRoleInput, dV as AttributeChange, y as AttributeGroup, ba as AttributeMap, b6 as AttributeSchema, w as AttributeType, e5 as AttributesRepository, ah as AuditAction, ai as AuditActorType, aj as AuditChange, am as AuditListOptions, ak as AuditLogEntry, eb as AuditRepository, ag as AuditResourceType, ee as AuditService, an as AuditServiceOptions, z as BaseAttribute, $ as BlockNoteBlock, a0 as BlockNoteCustomInlineContent, a1 as BlockNoteDefaultProps, a2 as BlockNoteInlineContent, a3 as BlockNoteLink, a4 as BlockNoteStyledText, a5 as BlockNoteStyles, a6 as BlockNoteTableCell, a7 as BlockNoteTableCellProps, a8 as BlockNoteTableContent, av as CheckboxFilterOperator, bw as CompletionStatus, al as CreateAuditLogInput, eo as CreateCustomObjectInput, fd as CreateDBAttribute, fr as CreateDBFlow, f9 as CreateDBObject, fn as CreateDBView, ar as CreateFile, ej as CreateFlowInput, fg as CreateObjectRecord, bH as CreatePermissionInput, bF as CreateRoleInput, bP as CreateUserProfile, eO as CreateViewInput, Q as Currency, aC as CurrencyFilterValue, bf as CustomAttributeValue, bU as CustomTab, fc as DBAttribute, fq as DBFlow, f8 as DBObject, fm as DBView, f3 as DEFAULT_LABEL_FALLBACK, d0 as DatabaseAdapter, aw as DateFilterOperator, H as DateFormat, J as DateValue, bC as EffectivePermissions, aG as ExtendedFilterRule, bp as ExtractAttributes, bj as ExtractRecord, bl as ExtractRecordInput, bm as ExtractRecordInputStrict, bk as ExtractRecordStrict, bn as ExtractRecordUpdate, bo as ExtractRecordUpdateStrict, d1 as FetchResult, aq as File, eR as FileContent, fl as FileListOptions, ei as FileService, eh as FileServiceOptions, ap as FileVisibility, e7 as FilesRepository, aH as FilterCombinator, aJ as FilterGroup, aA as FilterOperator, aF as FilterRule, aI as FilterState, aE as FilterValue, aX as FlowRelation, aW as FlowRowField, el as FlowService, aV as FlowSlot, aY as FlowStatus, ea as FlowsRepository, bS as FormTab, d2 as FormattedRecord, dD as FormulaResult, f1 as FullSyncOptions, f0 as FullSyncResult, b4 as GeocodingAdapter, b1 as GeocodingAutocompleteParams, b3 as GeocodingParams, em as GeocodingService, b0 as GeocodingSuggestion, eB as GetRelationOptionsParams, fj as GlobalSearchOptions, fk as GlobalSearchResultItem, en as GlobalSearchService, d3 as GroupedFetchResult, dW as HookContext, dX as HookDefinition, dY as HookHandler, d$ as HookRegistry, dZ as HookType, bc as InferRecord, b7 as InferRecordFromSchema, bd as InferRecordInput, be as InferRecordUpdate, b8 as InferRecordWithRequirements, d4 as InsertOptions, dH as InvalidPathError, fh as ListOptions, W as Location, X as LocationGranularity, dI as MaxDepthExceededError, ay as MultiselectFilterOperator, aT as NO_VALUE_OPERATORS, aS as NoValueOperator, b5 as NoopGeocodingAdapter, d_ as NoopHookRegistry, bW as NotesTab, au as NumberFilterOperator, E as NumberUnit, aR as OPERATORS_BY_TYPE, bv as ObjectAttribute, bD as ObjectPermissions, bx as ObjectRecord, e8 as ObjectRecordsRepository, es as ObjectSchemaService, er as ObjectSchemaServiceOptions, e4 as ObjectsRepository, ft as OperationResult, a9 as PartialBlockNoteBlock, aa as PartialBlockNoteContent, ab as PartialBlockNoteInlineContent, ac as PartialBlockNoteLink, ad as PartialBlockNoteStyledText, ae as PartialBlockNoteTableCell, af as PartialBlockNoteTableContent, dM as PathCardinality, dN as PathSegment, dO as PathSegmentType, bA as Permission, by as PermissionScope, eu as PermissionService, et as PermissionServiceOptions, ec as PermissionsRepository, K as Phone, aD as PhoneFilterValue, bJ as PolicyContext, e2 as PolicyRegistry, bL as PolicyViolationError, dg as QueryBuilder, dh as QueryBuilderOptions, d5 as QueryBuilderState, dc as QueryMultipleResultsError, dd as QueryNoResultError, aQ as QueryState, Y as RELATION_TARGET_ANY, bq as RESERVED_ATTRIBUTE_NAMES, bh as RecordMetadata, bK as RecordPolicy, ew as RecordService, ev as RecordServiceOptions, d6 as RegistryMap, d7 as RegistryObjectNames, Z as RelationAttribute, az as RelationFilterOperator, ez as RelationOption, eA as RelationOptionsResponse, eE as RelationResolverService, eC as RelationService, ey as RelationValidationError, ex as RelationValidationResult, aB as RelativeDateValue, bs as ReservedAttributeName, eD as ResolvedRelations, b2 as ReverseGeocodingParams, bz as Role, eF as RollupResult, eI as RollupScheduler, eH as RollupSchedulerOptions, eG as RollupService, de as SHORTCUT_TO_FILTER_OPERATOR, br as SYSTEM_FIELD_NAMES, dP as SchemaResolver, fi as SearchOptions, ax as SelectFilterOperator, d8 as ShortcutOperator, eU as SignedUrlOptions, aO as SortDirection, aP as SortRule, x as StatusGroup, eV as StorageAdapter, ao as StorageProvider, eS as StorageUploadInput, eT as StorageUploadResult, eY as SyncOptions, eX as SyncResult, bt as SystemFieldName, bi as SystemFields, bE as SystemPermissions, bR as TabType, bT as TableTab, eg as TenantAwareRepository, ef as TenantAwareService, dq as TenantContext, di as TenantContextError, c1 as TenantId, at as TextFilterOperator, bu as Timestamps, dT as TraversalOptions, dU as TraversalResult, b9 as TypedAttribute, fe as UpdateDBAttribute, fs as UpdateDBFlow, fa as UpdateDBObject, fo as UpdateDBView, as as UpdateFile, ek as UpdateFlowInput, eq as UpdateObjectInput, bG as UpdateRoleInput, bQ as UpdateUserProfile, eP as UpdateViewInput, eW as UploadFileInput, ff as UpsertDBAttribute, fb as UpsertDBObject, fp as UpsertDBView, c2 as UserId, bO as UserProfile, eK as UserProfileService, eJ as UserProfileServiceOptions, e6 as UserProfilesRepository, bM as UserRole, bB as UserRoleAssignment, eN as UserService, bN as UserStatus, eM as UserValidationError, eL as UserValidationResult, c0 as Uuid, cS as ValidationResult, eQ as ViewService, fv as ViewSyncOptions, fu as ViewSyncResult, e9 as ViewsRepository, bg as WithCustomAttributes, c3 as asTenantId, c4 as asUserId, cr as attributeConfigSchemas, ed as buildAuditChanges, cd as checkboxConfigSchema, c$ as computeRecordStatus, cQ as createAttributeValidator, cy as createCheckboxValidator, cB as createCurrencyValidator, cz as createDateValidator, d9 as createDefaultState, cW as createDraftValidator, cG as createFileValidator, cM as createFormulaValidator, cF as createLocationValidator, e0 as createMockAdapter, cJ as createMultiRelationValidator, cE as createMultiselectValidator, cx as createNumberValidator, cR as createObjectValidator, cA as createPhoneValidator, df as createQueryBuilder, cL as createRatingValidator, cK as createRelationValidator, cP as createRichtextValidator, cN as createRollupValidator, cD as createSelectValidator, cI as createSingleRelationValidator, cC as createStatusValidator, cO as createTextAreaValidator, cw as createTextValidator, cH as createUserValidator, cg as currencyConfigSchema, ce as dateConfigSchema, e1 as defaultPolicyRegistry, f7 as enrichValuesWithSelectLabels, dr as evaluateFormula, ds as evaluateFormulaAttribute, dt as evaluateFormulaAttributeWithRelations, du as evaluateFormulaWithRelations, dv as evaluateFormulaWithResult, f6 as extractAttributeNames, dw as extractFormulaVariables, dx as extractRelationNames, dy as extractRelationReferences, cl as fileConfigSchema, dz as flattenRelationsForEval, dA as formatFormulaResult, da as formatRecord, db as formatRecords, cp as formulaConfigSchema, c5 as generateId, c6 as generatePrefixedId, cs as getAttributeConfigSchema, dj as getContext, cZ as getMissingRequiredAttributes, dE as getPathDepth, dF as getRelationPath, e$ as getSyncPreview, dG as getTargetAttributeName, dk as getTenantId, dl as getUserId, fy as getViewSyncPreview, dm as hasContext, dB as hasRelationReferences, b_ as isActivityTab, aL as isAdvancedFilterState, bZ as isCustomTab, aZ as isFlowDefinition, a_ as isFlowPublished, bX as isFormTab, f5 as isLabelExpression, aU as isNoValueOperator, b$ as isNotesTab, c_ as isRecordComplete, a$ as isSystemFlow, bY as isTableTab, _ as isUniversalRelation, ci as locationConfigSchema, ck as multiselectConfigSchema, e3 as notesPolicy, cc as numberConfigSchema, cu as parseAttributeConfig, dJ as parsePath, dK as pathHasManyCardinality, cf as phoneConfigSchema, co as ratingConfigSchema, c7 as registry, cn as relationConfigSchema, f4 as renderLabelExpression, dQ as resolveMultiplePaths, dR as resolveSingleValue, cb as richtextConfigSchema, cq as rollupConfigSchema, dn as runWithContext, cv as safeParseAttributeConfig, cj as selectConfigSchema, ch as statusConfigSchema, f2 as syncAll, eZ as syncNativeObjects, fw as syncNativeViews, c9 as textConfigSchema, ca as textareaConfigSchema, aM as toAdvancedFilterState, aN as toSimpleFilterState, dS as traversePath, cm as userConfigSchema, cT as validateAttribute, ct as validateAttributeConfig, cX as validateDraft, cY as validateDraftOrThrow, dC as validateFormulaExpression, cU as validateObject, cV as validateObjectOrThrow, dL as validatePath, e_ as verifyNativeObjectsSync, fx as verifyNativeViewsSync, c8 as viewRegistry, dp as withTenantContext } from './runtime-hbTw33Gx.js';
|
|
3
3
|
import { IconName, CountryIso3, CurrencyCode, MimeType, ColorId } from '@stndrds/constants';
|
|
4
4
|
import 'zod';
|
|
5
5
|
|
|
@@ -1033,8 +1033,9 @@ interface File extends Timestamps {
|
|
|
1033
1033
|
url: string;
|
|
1034
1034
|
/**
|
|
1035
1035
|
* User who uploaded the file (FK to user_profiles)
|
|
1036
|
+
* Optional for system-generated files or anonymous uploads.
|
|
1036
1037
|
*/
|
|
1037
|
-
uploadedBy
|
|
1038
|
+
uploadedBy?: Uuid;
|
|
1038
1039
|
/**
|
|
1039
1040
|
* Folder path for organization (e.g., "/contracts/2025")
|
|
1040
1041
|
*/
|
|
@@ -1075,7 +1076,7 @@ interface CreateFile {
|
|
|
1075
1076
|
storagePath: string;
|
|
1076
1077
|
storageBucket?: string;
|
|
1077
1078
|
url: string;
|
|
1078
|
-
uploadedBy
|
|
1079
|
+
uploadedBy?: Uuid;
|
|
1079
1080
|
folderPath?: string;
|
|
1080
1081
|
tags?: string[];
|
|
1081
1082
|
visibility?: FileVisibility;
|
|
@@ -4347,9 +4348,9 @@ interface UploadFileInput {
|
|
|
4347
4348
|
*/
|
|
4348
4349
|
size: number;
|
|
4349
4350
|
/**
|
|
4350
|
-
* User who is uploading the file
|
|
4351
|
+
* User who is uploading the file (optional)
|
|
4351
4352
|
*/
|
|
4352
|
-
uploadedBy
|
|
4353
|
+
uploadedBy?: string;
|
|
4353
4354
|
/**
|
|
4354
4355
|
* Optional folder path for organization
|
|
4355
4356
|
*/
|
|
@@ -1033,8 +1033,9 @@ interface File extends Timestamps {
|
|
|
1033
1033
|
url: string;
|
|
1034
1034
|
/**
|
|
1035
1035
|
* User who uploaded the file (FK to user_profiles)
|
|
1036
|
+
* Optional for system-generated files or anonymous uploads.
|
|
1036
1037
|
*/
|
|
1037
|
-
uploadedBy
|
|
1038
|
+
uploadedBy?: Uuid;
|
|
1038
1039
|
/**
|
|
1039
1040
|
* Folder path for organization (e.g., "/contracts/2025")
|
|
1040
1041
|
*/
|
|
@@ -1075,7 +1076,7 @@ interface CreateFile {
|
|
|
1075
1076
|
storagePath: string;
|
|
1076
1077
|
storageBucket?: string;
|
|
1077
1078
|
url: string;
|
|
1078
|
-
uploadedBy
|
|
1079
|
+
uploadedBy?: Uuid;
|
|
1079
1080
|
folderPath?: string;
|
|
1080
1081
|
tags?: string[];
|
|
1081
1082
|
visibility?: FileVisibility;
|
|
@@ -4347,9 +4348,9 @@ interface UploadFileInput {
|
|
|
4347
4348
|
*/
|
|
4348
4349
|
size: number;
|
|
4349
4350
|
/**
|
|
4350
|
-
* User who is uploading the file
|
|
4351
|
+
* User who is uploading the file (optional)
|
|
4351
4352
|
*/
|
|
4352
|
-
uploadedBy
|
|
4353
|
+
uploadedBy?: string;
|
|
4353
4354
|
/**
|
|
4354
4355
|
* Optional folder path for organization
|
|
4355
4356
|
*/
|
package/dist/runtime.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { ep as AddAttributeInput, dV as AttributeChange, e5 as AttributesRepository, eb as AuditRepository, ee as AuditService, bw as CompletionStatus, eo as CreateCustomObjectInput, fd as CreateDBAttribute, fr as CreateDBFlow, f9 as CreateDBObject, fn as CreateDBView, ej as CreateFlowInput, fg as CreateObjectRecord, eO as CreateViewInput, fc as DBAttribute, fq as DBFlow, f8 as DBObject, fm as DBView, f3 as DEFAULT_LABEL_FALLBACK, d0 as DatabaseAdapter, d1 as FetchResult, eR as FileContent, fl as FileListOptions, ei as FileService, eh as FileServiceOptions, e7 as FilesRepository, el as FlowService, ea as FlowsRepository, d2 as FormattedRecord, dD as FormulaResult, f1 as FullSyncOptions, f0 as FullSyncResult, b4 as GeocodingAdapter, b1 as GeocodingAutocompleteParams, b3 as GeocodingParams, em as GeocodingService, b0 as GeocodingSuggestion, eB as GetRelationOptionsParams, fj as GlobalSearchOptions, fk as GlobalSearchResultItem, en as GlobalSearchService, d3 as GroupedFetchResult, dW as HookContext, dX as HookDefinition, dY as HookHandler, d$ as HookRegistry, dZ as HookType, d4 as InsertOptions, dH as InvalidPathError, fh as ListOptions, dI as MaxDepthExceededError, b5 as NoopGeocodingAdapter, d_ as NoopHookRegistry, e8 as ObjectRecordsRepository, es as ObjectSchemaService, er as ObjectSchemaServiceOptions, e4 as ObjectsRepository, ft as OperationResult, dM as PathCardinality, dN as PathSegment, dO as PathSegmentType, eu as PermissionService, et as PermissionServiceOptions, ec as PermissionsRepository, bJ as PolicyContext, e2 as PolicyRegistry, bL as PolicyViolationError, dg as QueryBuilder, dh as QueryBuilderOptions, d5 as QueryBuilderState, dc as QueryMultipleResultsError, dd as QueryNoResultError, bK as RecordPolicy, ew as RecordService, ev as RecordServiceOptions, d6 as RegistryMap, d7 as RegistryObjectNames, ez as RelationOption, eA as RelationOptionsResponse, eE as RelationResolverService, eC as RelationService, ey as RelationValidationError, ex as RelationValidationResult, eD as ResolvedRelations, b2 as ReverseGeocodingParams, eF as RollupResult, eI as RollupScheduler, eH as RollupSchedulerOptions, eG as RollupService, de as SHORTCUT_TO_FILTER_OPERATOR, dP as SchemaResolver, fi as SearchOptions, d8 as ShortcutOperator, eU as SignedUrlOptions, eV as StorageAdapter, eS as StorageUploadInput, eT as StorageUploadResult, eY as SyncOptions, eX as SyncResult, eg as TenantAwareRepository, ef as TenantAwareService, dq as TenantContext, di as TenantContextError, dT as TraversalOptions, dU as TraversalResult, fe as UpdateDBAttribute, fs as UpdateDBFlow, fa as UpdateDBObject, fo as UpdateDBView, ek as UpdateFlowInput, eq as UpdateObjectInput, eP as UpdateViewInput, eW as UploadFileInput, ff as UpsertDBAttribute, fb as UpsertDBObject, fp as UpsertDBView, eK as UserProfileService, eJ as UserProfileServiceOptions, e6 as UserProfilesRepository, eN as UserService, eM as UserValidationError, eL as UserValidationResult, eQ as ViewService, fv as ViewSyncOptions, fu as ViewSyncResult, e9 as ViewsRepository, ed as buildAuditChanges, d9 as createDefaultState, e0 as createMockAdapter, df as createQueryBuilder, e1 as defaultPolicyRegistry, f7 as enrichValuesWithSelectLabels, dr as evaluateFormula, ds as evaluateFormulaAttribute, dt as evaluateFormulaAttributeWithRelations, du as evaluateFormulaWithRelations, dv as evaluateFormulaWithResult, f6 as extractAttributeNames, dw as extractFormulaVariables, dx as extractRelationNames, dy as extractRelationReferences, dz as flattenRelationsForEval, dA as formatFormulaResult, da as formatRecord, db as formatRecords, dj as getContext, dE as getPathDepth, dF as getRelationPath, e$ as getSyncPreview, dG as getTargetAttributeName, dk as getTenantId, dl as getUserId, fy as getViewSyncPreview, dm as hasContext, dB as hasRelationReferences, f5 as isLabelExpression, e3 as notesPolicy, dJ as parsePath, dK as pathHasManyCardinality, f4 as renderLabelExpression, dQ as resolveMultiplePaths, dR as resolveSingleValue, dn as runWithContext, f2 as syncAll, eZ as syncNativeObjects, fw as syncNativeViews, dS as traversePath, dC as validateFormulaExpression, dL as validatePath, e_ as verifyNativeObjectsSync, fx as verifyNativeViewsSync, dp as withTenantContext } from './runtime-
|
|
1
|
+
export { ep as AddAttributeInput, dV as AttributeChange, e5 as AttributesRepository, eb as AuditRepository, ee as AuditService, bw as CompletionStatus, eo as CreateCustomObjectInput, fd as CreateDBAttribute, fr as CreateDBFlow, f9 as CreateDBObject, fn as CreateDBView, ej as CreateFlowInput, fg as CreateObjectRecord, eO as CreateViewInput, fc as DBAttribute, fq as DBFlow, f8 as DBObject, fm as DBView, f3 as DEFAULT_LABEL_FALLBACK, d0 as DatabaseAdapter, d1 as FetchResult, eR as FileContent, fl as FileListOptions, ei as FileService, eh as FileServiceOptions, e7 as FilesRepository, el as FlowService, ea as FlowsRepository, d2 as FormattedRecord, dD as FormulaResult, f1 as FullSyncOptions, f0 as FullSyncResult, b4 as GeocodingAdapter, b1 as GeocodingAutocompleteParams, b3 as GeocodingParams, em as GeocodingService, b0 as GeocodingSuggestion, eB as GetRelationOptionsParams, fj as GlobalSearchOptions, fk as GlobalSearchResultItem, en as GlobalSearchService, d3 as GroupedFetchResult, dW as HookContext, dX as HookDefinition, dY as HookHandler, d$ as HookRegistry, dZ as HookType, d4 as InsertOptions, dH as InvalidPathError, fh as ListOptions, dI as MaxDepthExceededError, b5 as NoopGeocodingAdapter, d_ as NoopHookRegistry, e8 as ObjectRecordsRepository, es as ObjectSchemaService, er as ObjectSchemaServiceOptions, e4 as ObjectsRepository, ft as OperationResult, dM as PathCardinality, dN as PathSegment, dO as PathSegmentType, eu as PermissionService, et as PermissionServiceOptions, ec as PermissionsRepository, bJ as PolicyContext, e2 as PolicyRegistry, bL as PolicyViolationError, dg as QueryBuilder, dh as QueryBuilderOptions, d5 as QueryBuilderState, dc as QueryMultipleResultsError, dd as QueryNoResultError, bK as RecordPolicy, ew as RecordService, ev as RecordServiceOptions, d6 as RegistryMap, d7 as RegistryObjectNames, ez as RelationOption, eA as RelationOptionsResponse, eE as RelationResolverService, eC as RelationService, ey as RelationValidationError, ex as RelationValidationResult, eD as ResolvedRelations, b2 as ReverseGeocodingParams, eF as RollupResult, eI as RollupScheduler, eH as RollupSchedulerOptions, eG as RollupService, de as SHORTCUT_TO_FILTER_OPERATOR, dP as SchemaResolver, fi as SearchOptions, d8 as ShortcutOperator, eU as SignedUrlOptions, eV as StorageAdapter, eS as StorageUploadInput, eT as StorageUploadResult, eY as SyncOptions, eX as SyncResult, eg as TenantAwareRepository, ef as TenantAwareService, dq as TenantContext, di as TenantContextError, dT as TraversalOptions, dU as TraversalResult, fe as UpdateDBAttribute, fs as UpdateDBFlow, fa as UpdateDBObject, fo as UpdateDBView, ek as UpdateFlowInput, eq as UpdateObjectInput, eP as UpdateViewInput, eW as UploadFileInput, ff as UpsertDBAttribute, fb as UpsertDBObject, fp as UpsertDBView, eK as UserProfileService, eJ as UserProfileServiceOptions, e6 as UserProfilesRepository, eN as UserService, eM as UserValidationError, eL as UserValidationResult, eQ as ViewService, fv as ViewSyncOptions, fu as ViewSyncResult, e9 as ViewsRepository, ed as buildAuditChanges, d9 as createDefaultState, e0 as createMockAdapter, df as createQueryBuilder, e1 as defaultPolicyRegistry, f7 as enrichValuesWithSelectLabels, dr as evaluateFormula, ds as evaluateFormulaAttribute, dt as evaluateFormulaAttributeWithRelations, du as evaluateFormulaWithRelations, dv as evaluateFormulaWithResult, f6 as extractAttributeNames, dw as extractFormulaVariables, dx as extractRelationNames, dy as extractRelationReferences, dz as flattenRelationsForEval, dA as formatFormulaResult, da as formatRecord, db as formatRecords, dj as getContext, dE as getPathDepth, dF as getRelationPath, e$ as getSyncPreview, dG as getTargetAttributeName, dk as getTenantId, dl as getUserId, fy as getViewSyncPreview, dm as hasContext, dB as hasRelationReferences, f5 as isLabelExpression, e3 as notesPolicy, dJ as parsePath, dK as pathHasManyCardinality, f4 as renderLabelExpression, dQ as resolveMultiplePaths, dR as resolveSingleValue, dn as runWithContext, f2 as syncAll, eZ as syncNativeObjects, fw as syncNativeViews, dS as traversePath, dC as validateFormulaExpression, dL as validatePath, e_ as verifyNativeObjectsSync, fx as verifyNativeViewsSync, dp as withTenantContext } from './runtime-hbTw33Gx.mjs';
|
|
2
2
|
import '@stndrds/constants';
|
|
3
3
|
import 'zod';
|
package/dist/runtime.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { ep as AddAttributeInput, dV as AttributeChange, e5 as AttributesRepository, eb as AuditRepository, ee as AuditService, bw as CompletionStatus, eo as CreateCustomObjectInput, fd as CreateDBAttribute, fr as CreateDBFlow, f9 as CreateDBObject, fn as CreateDBView, ej as CreateFlowInput, fg as CreateObjectRecord, eO as CreateViewInput, fc as DBAttribute, fq as DBFlow, f8 as DBObject, fm as DBView, f3 as DEFAULT_LABEL_FALLBACK, d0 as DatabaseAdapter, d1 as FetchResult, eR as FileContent, fl as FileListOptions, ei as FileService, eh as FileServiceOptions, e7 as FilesRepository, el as FlowService, ea as FlowsRepository, d2 as FormattedRecord, dD as FormulaResult, f1 as FullSyncOptions, f0 as FullSyncResult, b4 as GeocodingAdapter, b1 as GeocodingAutocompleteParams, b3 as GeocodingParams, em as GeocodingService, b0 as GeocodingSuggestion, eB as GetRelationOptionsParams, fj as GlobalSearchOptions, fk as GlobalSearchResultItem, en as GlobalSearchService, d3 as GroupedFetchResult, dW as HookContext, dX as HookDefinition, dY as HookHandler, d$ as HookRegistry, dZ as HookType, d4 as InsertOptions, dH as InvalidPathError, fh as ListOptions, dI as MaxDepthExceededError, b5 as NoopGeocodingAdapter, d_ as NoopHookRegistry, e8 as ObjectRecordsRepository, es as ObjectSchemaService, er as ObjectSchemaServiceOptions, e4 as ObjectsRepository, ft as OperationResult, dM as PathCardinality, dN as PathSegment, dO as PathSegmentType, eu as PermissionService, et as PermissionServiceOptions, ec as PermissionsRepository, bJ as PolicyContext, e2 as PolicyRegistry, bL as PolicyViolationError, dg as QueryBuilder, dh as QueryBuilderOptions, d5 as QueryBuilderState, dc as QueryMultipleResultsError, dd as QueryNoResultError, bK as RecordPolicy, ew as RecordService, ev as RecordServiceOptions, d6 as RegistryMap, d7 as RegistryObjectNames, ez as RelationOption, eA as RelationOptionsResponse, eE as RelationResolverService, eC as RelationService, ey as RelationValidationError, ex as RelationValidationResult, eD as ResolvedRelations, b2 as ReverseGeocodingParams, eF as RollupResult, eI as RollupScheduler, eH as RollupSchedulerOptions, eG as RollupService, de as SHORTCUT_TO_FILTER_OPERATOR, dP as SchemaResolver, fi as SearchOptions, d8 as ShortcutOperator, eU as SignedUrlOptions, eV as StorageAdapter, eS as StorageUploadInput, eT as StorageUploadResult, eY as SyncOptions, eX as SyncResult, eg as TenantAwareRepository, ef as TenantAwareService, dq as TenantContext, di as TenantContextError, dT as TraversalOptions, dU as TraversalResult, fe as UpdateDBAttribute, fs as UpdateDBFlow, fa as UpdateDBObject, fo as UpdateDBView, ek as UpdateFlowInput, eq as UpdateObjectInput, eP as UpdateViewInput, eW as UploadFileInput, ff as UpsertDBAttribute, fb as UpsertDBObject, fp as UpsertDBView, eK as UserProfileService, eJ as UserProfileServiceOptions, e6 as UserProfilesRepository, eN as UserService, eM as UserValidationError, eL as UserValidationResult, eQ as ViewService, fv as ViewSyncOptions, fu as ViewSyncResult, e9 as ViewsRepository, ed as buildAuditChanges, d9 as createDefaultState, e0 as createMockAdapter, df as createQueryBuilder, e1 as defaultPolicyRegistry, f7 as enrichValuesWithSelectLabels, dr as evaluateFormula, ds as evaluateFormulaAttribute, dt as evaluateFormulaAttributeWithRelations, du as evaluateFormulaWithRelations, dv as evaluateFormulaWithResult, f6 as extractAttributeNames, dw as extractFormulaVariables, dx as extractRelationNames, dy as extractRelationReferences, dz as flattenRelationsForEval, dA as formatFormulaResult, da as formatRecord, db as formatRecords, dj as getContext, dE as getPathDepth, dF as getRelationPath, e$ as getSyncPreview, dG as getTargetAttributeName, dk as getTenantId, dl as getUserId, fy as getViewSyncPreview, dm as hasContext, dB as hasRelationReferences, f5 as isLabelExpression, e3 as notesPolicy, dJ as parsePath, dK as pathHasManyCardinality, f4 as renderLabelExpression, dQ as resolveMultiplePaths, dR as resolveSingleValue, dn as runWithContext, f2 as syncAll, eZ as syncNativeObjects, fw as syncNativeViews, dS as traversePath, dC as validateFormulaExpression, dL as validatePath, e_ as verifyNativeObjectsSync, fx as verifyNativeViewsSync, dp as withTenantContext } from './runtime-
|
|
1
|
+
export { ep as AddAttributeInput, dV as AttributeChange, e5 as AttributesRepository, eb as AuditRepository, ee as AuditService, bw as CompletionStatus, eo as CreateCustomObjectInput, fd as CreateDBAttribute, fr as CreateDBFlow, f9 as CreateDBObject, fn as CreateDBView, ej as CreateFlowInput, fg as CreateObjectRecord, eO as CreateViewInput, fc as DBAttribute, fq as DBFlow, f8 as DBObject, fm as DBView, f3 as DEFAULT_LABEL_FALLBACK, d0 as DatabaseAdapter, d1 as FetchResult, eR as FileContent, fl as FileListOptions, ei as FileService, eh as FileServiceOptions, e7 as FilesRepository, el as FlowService, ea as FlowsRepository, d2 as FormattedRecord, dD as FormulaResult, f1 as FullSyncOptions, f0 as FullSyncResult, b4 as GeocodingAdapter, b1 as GeocodingAutocompleteParams, b3 as GeocodingParams, em as GeocodingService, b0 as GeocodingSuggestion, eB as GetRelationOptionsParams, fj as GlobalSearchOptions, fk as GlobalSearchResultItem, en as GlobalSearchService, d3 as GroupedFetchResult, dW as HookContext, dX as HookDefinition, dY as HookHandler, d$ as HookRegistry, dZ as HookType, d4 as InsertOptions, dH as InvalidPathError, fh as ListOptions, dI as MaxDepthExceededError, b5 as NoopGeocodingAdapter, d_ as NoopHookRegistry, e8 as ObjectRecordsRepository, es as ObjectSchemaService, er as ObjectSchemaServiceOptions, e4 as ObjectsRepository, ft as OperationResult, dM as PathCardinality, dN as PathSegment, dO as PathSegmentType, eu as PermissionService, et as PermissionServiceOptions, ec as PermissionsRepository, bJ as PolicyContext, e2 as PolicyRegistry, bL as PolicyViolationError, dg as QueryBuilder, dh as QueryBuilderOptions, d5 as QueryBuilderState, dc as QueryMultipleResultsError, dd as QueryNoResultError, bK as RecordPolicy, ew as RecordService, ev as RecordServiceOptions, d6 as RegistryMap, d7 as RegistryObjectNames, ez as RelationOption, eA as RelationOptionsResponse, eE as RelationResolverService, eC as RelationService, ey as RelationValidationError, ex as RelationValidationResult, eD as ResolvedRelations, b2 as ReverseGeocodingParams, eF as RollupResult, eI as RollupScheduler, eH as RollupSchedulerOptions, eG as RollupService, de as SHORTCUT_TO_FILTER_OPERATOR, dP as SchemaResolver, fi as SearchOptions, d8 as ShortcutOperator, eU as SignedUrlOptions, eV as StorageAdapter, eS as StorageUploadInput, eT as StorageUploadResult, eY as SyncOptions, eX as SyncResult, eg as TenantAwareRepository, ef as TenantAwareService, dq as TenantContext, di as TenantContextError, dT as TraversalOptions, dU as TraversalResult, fe as UpdateDBAttribute, fs as UpdateDBFlow, fa as UpdateDBObject, fo as UpdateDBView, ek as UpdateFlowInput, eq as UpdateObjectInput, eP as UpdateViewInput, eW as UploadFileInput, ff as UpsertDBAttribute, fb as UpsertDBObject, fp as UpsertDBView, eK as UserProfileService, eJ as UserProfileServiceOptions, e6 as UserProfilesRepository, eN as UserService, eM as UserValidationError, eL as UserValidationResult, eQ as ViewService, fv as ViewSyncOptions, fu as ViewSyncResult, e9 as ViewsRepository, ed as buildAuditChanges, d9 as createDefaultState, e0 as createMockAdapter, df as createQueryBuilder, e1 as defaultPolicyRegistry, f7 as enrichValuesWithSelectLabels, dr as evaluateFormula, ds as evaluateFormulaAttribute, dt as evaluateFormulaAttributeWithRelations, du as evaluateFormulaWithRelations, dv as evaluateFormulaWithResult, f6 as extractAttributeNames, dw as extractFormulaVariables, dx as extractRelationNames, dy as extractRelationReferences, dz as flattenRelationsForEval, dA as formatFormulaResult, da as formatRecord, db as formatRecords, dj as getContext, dE as getPathDepth, dF as getRelationPath, e$ as getSyncPreview, dG as getTargetAttributeName, dk as getTenantId, dl as getUserId, fy as getViewSyncPreview, dm as hasContext, dB as hasRelationReferences, f5 as isLabelExpression, e3 as notesPolicy, dJ as parsePath, dK as pathHasManyCardinality, f4 as renderLabelExpression, dQ as resolveMultiplePaths, dR as resolveSingleValue, dn as runWithContext, f2 as syncAll, eZ as syncNativeObjects, fw as syncNativeViews, dS as traversePath, dC as validateFormulaExpression, dL as validatePath, e_ as verifyNativeObjectsSync, fx as verifyNativeViewsSync, dp as withTenantContext } from './runtime-hbTw33Gx.js';
|
|
2
2
|
import '@stndrds/constants';
|
|
3
3
|
import 'zod';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stndrds/schema",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.30",
|
|
4
4
|
"description": "Standard schema definitions and utilities",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"expr-eval": "^2.0.2",
|
|
25
25
|
"zod": "^4.2.1",
|
|
26
|
-
"@stndrds/constants": "0.1.0-alpha.
|
|
26
|
+
"@stndrds/constants": "0.1.0-alpha.30"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@types/node": "^25.0.3",
|