@objectstack/spec 0.3.3 → 0.4.2
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/ai/conversation.zod.d.ts +14 -14
- package/dist/ai/cost.zod.d.ts +112 -112
- package/dist/ai/model-registry.zod.d.ts +44 -44
- package/dist/ai/nlq.zod.d.ts +2 -2
- package/dist/ai/orchestration.zod.d.ts +6 -6
- package/dist/ai/predictive.zod.d.ts +8 -8
- package/dist/ai/rag-pipeline.zod.d.ts +62 -62
- package/dist/api/contract.zod.d.ts +92 -92
- package/dist/api/discovery.zod.d.ts +2 -2
- package/dist/api/index.d.ts +2 -0
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/index.js +2 -0
- package/dist/api/odata.zod.d.ts +482 -0
- package/dist/api/odata.zod.d.ts.map +1 -0
- package/dist/api/odata.zod.js +401 -0
- package/dist/api/router.zod.d.ts +4 -4
- package/dist/auth/config.zod.d.ts +21 -21
- package/dist/auth/index.d.ts +1 -0
- package/dist/auth/index.d.ts.map +1 -1
- package/dist/auth/index.js +1 -0
- package/dist/auth/organization.zod.d.ts +2 -2
- package/dist/auth/role.zod.d.ts +14 -0
- package/dist/auth/role.zod.d.ts.map +1 -1
- package/dist/auth/role.zod.js +16 -1
- package/dist/auth/scim.zod.d.ts +2732 -0
- package/dist/auth/scim.zod.d.ts.map +1 -0
- package/dist/auth/scim.zod.js +811 -0
- package/dist/automation/approval.zod.d.ts +643 -0
- package/dist/automation/approval.zod.d.ts.map +1 -0
- package/dist/automation/approval.zod.js +84 -0
- package/dist/automation/connector.zod.d.ts +1284 -0
- package/dist/automation/connector.zod.d.ts.map +1 -0
- package/dist/automation/connector.zod.js +500 -0
- package/dist/automation/etl.zod.d.ts +623 -0
- package/dist/automation/etl.zod.d.ts.map +1 -0
- package/dist/automation/etl.zod.js +359 -0
- package/dist/automation/flow.zod.d.ts +6 -6
- package/dist/automation/index.d.ts +4 -0
- package/dist/automation/index.d.ts.map +1 -1
- package/dist/automation/index.js +4 -0
- package/dist/automation/sync.zod.d.ts +854 -0
- package/dist/automation/sync.zod.d.ts.map +1 -0
- package/dist/automation/sync.zod.js +444 -0
- package/dist/automation/webhook.zod.d.ts +24 -1
- package/dist/automation/webhook.zod.d.ts.map +1 -1
- package/dist/automation/webhook.zod.js +27 -3
- package/dist/automation/workflow.zod.d.ts +14 -0
- package/dist/automation/workflow.zod.d.ts.map +1 -1
- package/dist/automation/workflow.zod.js +16 -1
- package/dist/data/field.zod.d.ts +338 -8
- package/dist/data/field.zod.d.ts.map +1 -1
- package/dist/data/field.zod.js +100 -16
- package/dist/data/mapping.zod.d.ts +22 -10
- package/dist/data/mapping.zod.d.ts.map +1 -1
- package/dist/data/mapping.zod.js +16 -3
- package/dist/data/object.zod.d.ts +116 -22
- package/dist/data/object.zod.d.ts.map +1 -1
- package/dist/data/object.zod.js +4 -4
- package/dist/data/validation.zod.d.ts +18 -18
- package/dist/hub/composer.zod.d.ts +43 -1940
- package/dist/hub/composer.zod.d.ts.map +1 -1
- package/dist/hub/composer.zod.js +1 -1
- package/dist/hub/license.zod.d.ts +2 -2
- package/dist/hub/marketplace.zod.d.ts +6 -6
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -3
- package/dist/permission/index.d.ts +7 -5
- package/dist/permission/index.d.ts.map +1 -1
- package/dist/permission/index.js +7 -5
- package/dist/permission/permission.zod.d.ts +14 -0
- package/dist/permission/permission.zod.d.ts.map +1 -1
- package/dist/permission/permission.zod.js +16 -1
- package/dist/permission/rls.zod.d.ts +605 -0
- package/dist/permission/rls.zod.d.ts.map +1 -0
- package/dist/permission/rls.zod.js +615 -0
- package/dist/permission/territory.zod.d.ts +13 -0
- package/dist/permission/territory.zod.d.ts.map +1 -1
- package/dist/permission/territory.zod.js +15 -1
- package/dist/shared/identifiers.zod.d.ts +87 -0
- package/dist/shared/identifiers.zod.d.ts.map +1 -0
- package/dist/shared/identifiers.zod.js +101 -0
- package/dist/shared/index.d.ts +6 -0
- package/dist/shared/index.d.ts.map +1 -0
- package/dist/{driver → shared}/index.js +5 -4
- package/dist/stack.zod.d.ts +19869 -0
- package/dist/stack.zod.d.ts.map +1 -0
- package/dist/stack.zod.js +248 -0
- package/dist/system/audit.zod.d.ts +12 -12
- package/dist/{kernel → system}/context.zod.d.ts.map +1 -1
- package/dist/{driver → system}/datasource.zod.d.ts +2 -2
- package/dist/{driver → system}/datasource.zod.d.ts.map +1 -1
- package/dist/{driver → system/driver}/mongo.zod.d.ts +2 -2
- package/dist/system/driver/mongo.zod.d.ts.map +1 -0
- package/dist/{driver → system/driver}/postgres.zod.d.ts +4 -4
- package/dist/system/driver/postgres.zod.d.ts.map +1 -0
- package/dist/{driver → system}/driver.zod.d.ts +14 -14
- package/dist/{driver → system}/driver.zod.d.ts.map +1 -1
- package/dist/system/events.zod.d.ts +15 -12
- package/dist/system/events.zod.d.ts.map +1 -1
- package/dist/system/events.zod.js +5 -1
- package/dist/system/feature.zod.d.ts +131 -0
- package/dist/system/feature.zod.d.ts.map +1 -0
- package/dist/system/feature.zod.js +45 -0
- package/dist/system/index.d.ts +10 -0
- package/dist/system/index.d.ts.map +1 -1
- package/dist/system/index.js +12 -0
- package/dist/system/job.zod.d.ts +8 -8
- package/dist/{kernel → system}/logger.zod.d.ts +4 -4
- package/dist/{kernel → system}/logger.zod.d.ts.map +1 -1
- package/dist/system/manifest.zod.d.ts +518 -0
- package/dist/system/manifest.zod.d.ts.map +1 -0
- package/dist/{kernel → system}/manifest.zod.js +8 -17
- package/dist/{kernel → system}/plugin.zod.d.ts.map +1 -1
- package/dist/{kernel → system}/scoped-storage.zod.d.ts +2 -2
- package/dist/{kernel → system}/scoped-storage.zod.d.ts.map +1 -1
- package/dist/ui/action.zod.d.ts +35 -10
- package/dist/ui/action.zod.d.ts.map +1 -1
- package/dist/ui/action.zod.js +30 -1
- package/dist/ui/app.zod.d.ts +23 -8
- package/dist/ui/app.zod.d.ts.map +1 -1
- package/dist/ui/app.zod.js +32 -4
- package/dist/ui/block.zod.d.ts +265 -0
- package/dist/ui/block.zod.d.ts.map +1 -0
- package/dist/ui/block.zod.js +90 -0
- package/dist/ui/component.zod.d.ts +265 -0
- package/dist/ui/component.zod.d.ts.map +1 -0
- package/dist/ui/component.zod.js +90 -0
- package/dist/ui/dashboard.zod.d.ts +15 -15
- package/dist/ui/dashboard.zod.d.ts.map +1 -1
- package/dist/ui/dashboard.zod.js +18 -8
- package/dist/ui/index.d.ts +1 -0
- package/dist/ui/index.d.ts.map +1 -1
- package/dist/ui/index.js +1 -0
- package/dist/ui/page.zod.d.ts +21 -3
- package/dist/ui/page.zod.d.ts.map +1 -1
- package/dist/ui/page.zod.js +37 -4
- package/dist/ui/report.zod.d.ts +7 -7
- package/dist/ui/view.zod.d.ts +252 -240
- package/dist/ui/view.zod.d.ts.map +1 -1
- package/dist/ui/view.zod.js +32 -3
- package/dist/ui/widget.zod.d.ts +673 -5
- package/dist/ui/widget.zod.d.ts.map +1 -1
- package/dist/ui/widget.zod.js +294 -1
- package/json-schema/api/ODataError.json +65 -0
- package/json-schema/api/ODataFilterFunction.json +39 -0
- package/json-schema/api/ODataFilterOperator.json +24 -0
- package/json-schema/api/ODataMetadata.json +115 -0
- package/json-schema/api/ODataQuery.json +89 -0
- package/json-schema/api/ODataResponse.json +37 -0
- package/json-schema/auth/Role.json +3 -2
- package/json-schema/auth/SCIMAddress.json +50 -0
- package/json-schema/auth/SCIMEmail.json +38 -0
- package/json-schema/auth/SCIMEnterpriseUser.json +55 -0
- package/json-schema/auth/SCIMError.json +52 -0
- package/json-schema/auth/SCIMGroup.json +102 -0
- package/json-schema/auth/SCIMGroupReference.json +36 -0
- package/json-schema/auth/SCIMListResponse.json +606 -0
- package/json-schema/auth/SCIMMemberReference.json +36 -0
- package/json-schema/auth/SCIMMeta.json +35 -0
- package/json-schema/auth/SCIMName.json +36 -0
- package/json-schema/auth/SCIMPatchOperation.json +31 -0
- package/json-schema/auth/SCIMPatchRequest.json +56 -0
- package/json-schema/auth/SCIMPhoneNumber.json +40 -0
- package/json-schema/auth/SCIMUser.json +462 -0
- package/json-schema/automation/ApprovalAction.json +35 -0
- package/json-schema/automation/ApprovalActionType.json +15 -0
- package/json-schema/automation/ApprovalProcess.json +326 -0
- package/json-schema/automation/ApprovalStep.json +147 -0
- package/json-schema/automation/ApproverType.json +16 -0
- package/json-schema/automation/AuthField.json +73 -0
- package/json-schema/automation/Authentication.json +159 -0
- package/json-schema/automation/AuthenticationType.json +18 -0
- package/json-schema/automation/ConflictResolution.json +16 -0
- package/json-schema/automation/Connector.json +440 -0
- package/json-schema/automation/ConnectorCategory.json +26 -0
- package/json-schema/automation/ConnectorInstance.json +69 -0
- package/json-schema/automation/ConnectorOperation.json +117 -0
- package/json-schema/automation/ConnectorTrigger.json +54 -0
- package/json-schema/automation/DataDestinationConfig.json +89 -0
- package/json-schema/automation/DataSourceConfig.json +34 -0
- package/json-schema/automation/DataSyncConfig.json +355 -0
- package/json-schema/automation/ETLDestination.json +57 -0
- package/json-schema/automation/ETLEndpointType.json +19 -0
- package/json-schema/automation/ETLPipeline.json +252 -0
- package/json-schema/automation/ETLPipelineRun.json +107 -0
- package/json-schema/automation/ETLRunStatus.json +17 -0
- package/json-schema/automation/ETLSource.json +60 -0
- package/json-schema/automation/ETLSyncMode.json +14 -0
- package/json-schema/automation/ETLTransformation.json +46 -0
- package/json-schema/automation/ETLTransformationType.json +21 -0
- package/json-schema/automation/FieldMapping.json +36 -0
- package/json-schema/automation/OAuth2Config.json +43 -0
- package/json-schema/automation/OperationParameter.json +59 -0
- package/json-schema/automation/OperationType.json +17 -0
- package/json-schema/automation/SyncDirection.json +14 -0
- package/json-schema/automation/SyncExecutionResult.json +135 -0
- package/json-schema/automation/SyncExecutionStatus.json +17 -0
- package/json-schema/automation/SyncMode.json +14 -0
- package/json-schema/automation/Webhook.json +3 -1
- package/json-schema/automation/WebhookReceiver.json +3 -1
- package/json-schema/automation/WorkflowRule.json +3 -2
- package/json-schema/data/Field.json +62 -4
- package/json-schema/data/FieldType.json +12 -2
- package/json-schema/data/Object.json +62 -4
- package/json-schema/data/SelectOption.json +4 -2
- package/json-schema/data/VectorConfig.json +51 -0
- package/json-schema/hub/ComposerResponse.json +4 -2163
- package/json-schema/permission/PermissionSet.json +3 -1
- package/json-schema/permission/RLSConfig.json +59 -0
- package/json-schema/permission/RLSEvaluationResult.json +40 -0
- package/json-schema/permission/RLSOperation.json +16 -0
- package/json-schema/permission/RLSUserContext.json +51 -0
- package/json-schema/permission/RowLevelSecurityPolicy.json +77 -0
- package/json-schema/permission/Territory.json +3 -1
- package/json-schema/shared/EventName.json +12 -0
- package/json-schema/shared/SnakeCaseIdentifier.json +12 -0
- package/json-schema/shared/SystemIdentifier.json +12 -0
- package/json-schema/system/Event.json +3 -2
- package/json-schema/system/FeatureFlag.json +87 -0
- package/json-schema/system/FeatureStrategy.json +16 -0
- package/json-schema/system/Manifest.json +398 -0
- package/json-schema/ui/Action.json +25 -4
- package/json-schema/ui/ActionParam.json +12 -2
- package/json-schema/ui/App.json +18 -7
- package/json-schema/ui/ChartType.json +9 -1
- package/json-schema/ui/Dashboard.json +9 -1
- package/json-schema/ui/DashboardNavItem.json +3 -1
- package/json-schema/ui/DashboardWidget.json +9 -1
- package/json-schema/ui/FieldWidgetProps.json +62 -4
- package/json-schema/ui/FormView.json +4 -1
- package/json-schema/ui/GroupNavItem.json +3 -1
- package/json-schema/ui/ListView.json +7 -1
- package/json-schema/ui/NavigationItem.json +15 -5
- package/json-schema/ui/ObjectNavItem.json +3 -1
- package/json-schema/ui/Page.json +36 -4
- package/json-schema/ui/PageCardProps.json +32 -0
- package/json-schema/ui/PageComponent.json +33 -3
- package/json-schema/ui/PageComponentType.json +32 -0
- package/json-schema/ui/PageHeaderProps.json +39 -0
- package/json-schema/ui/PageNavItem.json +3 -1
- package/json-schema/ui/PageRegion.json +33 -3
- package/json-schema/ui/PageTabsProps.json +55 -0
- package/json-schema/ui/RecordDetailsProps.json +37 -0
- package/json-schema/ui/RecordHighlightsProps.json +24 -0
- package/json-schema/ui/RecordRelatedListProps.json +39 -0
- package/json-schema/ui/UrlNavItem.json +3 -1
- package/json-schema/ui/View.json +22 -4
- package/json-schema/ui/WidgetEvent.json +42 -0
- package/json-schema/ui/WidgetLifecycle.json +40 -0
- package/json-schema/ui/WidgetManifest.json +262 -0
- package/json-schema/ui/WidgetProperty.json +58 -0
- package/package.json +1 -1
- package/prompts/architecture.md +5 -5
- package/prompts/create-new-project.md +85 -0
- package/dist/driver/index.d.ts +0 -5
- package/dist/driver/index.d.ts.map +0 -1
- package/dist/driver/mongo.zod.d.ts.map +0 -1
- package/dist/driver/postgres.zod.d.ts.map +0 -1
- package/dist/kernel/index.d.ts +0 -12
- package/dist/kernel/index.d.ts.map +0 -1
- package/dist/kernel/index.js +0 -27
- package/dist/kernel/manifest.zod.d.ts +0 -2153
- package/dist/kernel/manifest.zod.d.ts.map +0 -1
- package/json-schema/kernel/Manifest.json +0 -2557
- /package/dist/{kernel → system}/context.zod.d.ts +0 -0
- /package/dist/{kernel → system}/context.zod.js +0 -0
- /package/dist/{driver → system}/datasource.zod.js +0 -0
- /package/dist/{driver → system/driver}/mongo.zod.js +0 -0
- /package/dist/{driver → system/driver}/postgres.zod.js +0 -0
- /package/dist/{driver → system}/driver.zod.js +0 -0
- /package/dist/{kernel → system}/logger.zod.js +0 -0
- /package/dist/{kernel → system}/plugin.zod.d.ts +0 -0
- /package/dist/{kernel → system}/plugin.zod.js +0 -0
- /package/dist/{kernel → system}/scoped-storage.zod.js +0 -0
- /package/json-schema/{driver → system}/Datasource.json +0 -0
- /package/json-schema/{driver → system}/DatasourceCapabilities.json +0 -0
- /package/json-schema/{driver → system}/DriverCapabilities.json +0 -0
- /package/json-schema/{driver → system}/DriverDefinition.json +0 -0
- /package/json-schema/{driver → system}/DriverInterface.json +0 -0
- /package/json-schema/{driver → system}/DriverOptions.json +0 -0
- /package/json-schema/{driver → system}/DriverType.json +0 -0
- /package/json-schema/{kernel → system}/FileMetadata.json +0 -0
- /package/json-schema/{kernel → system}/I18nContext.json +0 -0
- /package/json-schema/{kernel → system}/KernelContext.json +0 -0
- /package/json-schema/{kernel → system}/LogEntry.json +0 -0
- /package/json-schema/{kernel → system}/LogFormat.json +0 -0
- /package/json-schema/{kernel → system}/LogLevel.json +0 -0
- /package/json-schema/{kernel → system}/Logger.json +0 -0
- /package/json-schema/{kernel → system}/LoggerConfig.json +0 -0
- /package/json-schema/{driver → system}/MongoConfig.json +0 -0
- /package/json-schema/{kernel → system}/ObjectQLClient.json +0 -0
- /package/json-schema/{kernel → system}/Plugin.json +0 -0
- /package/json-schema/{kernel → system}/PluginContext.json +0 -0
- /package/json-schema/{kernel → system}/PluginLifecycle.json +0 -0
- /package/json-schema/{driver → system}/PostgresConfig.json +0 -0
- /package/json-schema/{kernel → system}/Router.json +0 -0
- /package/json-schema/{kernel → system}/RuntimeMode.json +0 -0
- /package/json-schema/{kernel → system}/Scheduler.json +0 -0
- /package/json-schema/{kernel → system}/ScopedStorage.json +0 -0
- /package/json-schema/{kernel → system}/ScopedStorageConfig.json +0 -0
- /package/json-schema/{kernel → system}/StorageAdapterType.json +0 -0
- /package/json-schema/{kernel → system}/StorageScope.json +0 -0
- /package/json-schema/{kernel → system}/SystemAPI.json +0 -0
|
@@ -111,13 +111,13 @@ declare const ObjectSchemaBase: z.ZodObject<{
|
|
|
111
111
|
* Taxonomy & Organization
|
|
112
112
|
*/
|
|
113
113
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
114
|
-
active: z.ZodDefault<z.ZodBoolean
|
|
115
|
-
isSystem: z.ZodDefault<z.ZodBoolean
|
|
116
|
-
abstract: z.ZodDefault<z.ZodBoolean
|
|
114
|
+
active: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
115
|
+
isSystem: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
116
|
+
abstract: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
117
117
|
/**
|
|
118
118
|
* Storage & Virtualization
|
|
119
119
|
*/
|
|
120
|
-
datasource: z.ZodDefault<z.ZodString
|
|
120
|
+
datasource: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
121
121
|
tableName: z.ZodOptional<z.ZodString>;
|
|
122
122
|
/**
|
|
123
123
|
* Data Model
|
|
@@ -125,7 +125,7 @@ declare const ObjectSchemaBase: z.ZodObject<{
|
|
|
125
125
|
fields: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
126
126
|
name: z.ZodOptional<z.ZodString>;
|
|
127
127
|
label: z.ZodOptional<z.ZodString>;
|
|
128
|
-
type: z.ZodEnum<["text", "textarea", "email", "url", "phone", "password", "markdown", "html", "richtext", "number", "currency", "percent", "date", "datetime", "time", "boolean", "select", "lookup", "master_detail", "image", "file", "avatar", "formula", "summary", "autonumber", "location", "
|
|
128
|
+
type: z.ZodEnum<["text", "textarea", "email", "url", "phone", "password", "markdown", "html", "richtext", "number", "currency", "percent", "date", "datetime", "time", "boolean", "toggle", "select", "multiselect", "radio", "checkboxes", "lookup", "master_detail", "tree", "image", "file", "avatar", "video", "audio", "formula", "summary", "autonumber", "location", "address", "code", "json", "color", "rating", "slider", "signature", "qrcode", "progress", "tags", "vector"]>;
|
|
129
129
|
description: z.ZodOptional<z.ZodString>;
|
|
130
130
|
format: z.ZodOptional<z.ZodString>;
|
|
131
131
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -205,13 +205,32 @@ declare const ObjectSchemaBase: z.ZodObject<{
|
|
|
205
205
|
currencyMode?: "dynamic" | "fixed" | undefined;
|
|
206
206
|
defaultCurrency?: string | undefined;
|
|
207
207
|
}>>;
|
|
208
|
+
vectorConfig: z.ZodOptional<z.ZodObject<{
|
|
209
|
+
dimensions: z.ZodNumber;
|
|
210
|
+
distanceMetric: z.ZodDefault<z.ZodEnum<["cosine", "euclidean", "dotProduct", "manhattan"]>>;
|
|
211
|
+
normalized: z.ZodDefault<z.ZodBoolean>;
|
|
212
|
+
indexed: z.ZodDefault<z.ZodBoolean>;
|
|
213
|
+
indexType: z.ZodOptional<z.ZodEnum<["hnsw", "ivfflat", "flat"]>>;
|
|
214
|
+
}, "strip", z.ZodTypeAny, {
|
|
215
|
+
dimensions: number;
|
|
216
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
217
|
+
normalized: boolean;
|
|
218
|
+
indexed: boolean;
|
|
219
|
+
indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
|
|
220
|
+
}, {
|
|
221
|
+
dimensions: number;
|
|
222
|
+
distanceMetric?: "cosine" | "euclidean" | "dotProduct" | "manhattan" | undefined;
|
|
223
|
+
normalized?: boolean | undefined;
|
|
224
|
+
indexed?: boolean | undefined;
|
|
225
|
+
indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
|
|
226
|
+
}>>;
|
|
208
227
|
hidden: z.ZodDefault<z.ZodBoolean>;
|
|
209
228
|
readonly: z.ZodDefault<z.ZodBoolean>;
|
|
210
229
|
encryption: z.ZodDefault<z.ZodBoolean>;
|
|
211
230
|
index: z.ZodDefault<z.ZodBoolean>;
|
|
212
231
|
externalId: z.ZodDefault<z.ZodBoolean>;
|
|
213
232
|
}, "strip", z.ZodTypeAny, {
|
|
214
|
-
type: "number" | "boolean" | "code" | "date" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "time" | "select" | "lookup" | "master_detail" | "image" | "file" | "avatar" | "formula" | "summary" | "autonumber" | "location" | "
|
|
233
|
+
type: "number" | "boolean" | "code" | "date" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "time" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "lookup" | "master_detail" | "tree" | "image" | "file" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "json" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "tags" | "vector";
|
|
215
234
|
required: boolean;
|
|
216
235
|
searchable: boolean;
|
|
217
236
|
multiple: boolean;
|
|
@@ -272,8 +291,15 @@ declare const ObjectSchemaBase: z.ZodObject<{
|
|
|
272
291
|
currencyMode: "dynamic" | "fixed";
|
|
273
292
|
defaultCurrency: string;
|
|
274
293
|
} | undefined;
|
|
294
|
+
vectorConfig?: {
|
|
295
|
+
dimensions: number;
|
|
296
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
297
|
+
normalized: boolean;
|
|
298
|
+
indexed: boolean;
|
|
299
|
+
indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
|
|
300
|
+
} | undefined;
|
|
275
301
|
}, {
|
|
276
|
-
type: "number" | "boolean" | "code" | "date" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "time" | "select" | "lookup" | "master_detail" | "image" | "file" | "avatar" | "formula" | "summary" | "autonumber" | "location" | "
|
|
302
|
+
type: "number" | "boolean" | "code" | "date" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "time" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "lookup" | "master_detail" | "tree" | "image" | "file" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "json" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "tags" | "vector";
|
|
277
303
|
options?: {
|
|
278
304
|
value: string;
|
|
279
305
|
label: string;
|
|
@@ -329,6 +355,13 @@ declare const ObjectSchemaBase: z.ZodObject<{
|
|
|
329
355
|
currencyMode?: "dynamic" | "fixed" | undefined;
|
|
330
356
|
defaultCurrency?: string | undefined;
|
|
331
357
|
} | undefined;
|
|
358
|
+
vectorConfig?: {
|
|
359
|
+
dimensions: number;
|
|
360
|
+
distanceMetric?: "cosine" | "euclidean" | "dotProduct" | "manhattan" | undefined;
|
|
361
|
+
normalized?: boolean | undefined;
|
|
362
|
+
indexed?: boolean | undefined;
|
|
363
|
+
indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
|
|
364
|
+
} | undefined;
|
|
332
365
|
hidden?: boolean | undefined;
|
|
333
366
|
readonly?: boolean | undefined;
|
|
334
367
|
encryption?: boolean | undefined;
|
|
@@ -429,7 +462,7 @@ declare const ObjectSchemaBase: z.ZodObject<{
|
|
|
429
462
|
}>>;
|
|
430
463
|
}, "strip", z.ZodTypeAny, {
|
|
431
464
|
fields: Record<string, {
|
|
432
|
-
type: "number" | "boolean" | "code" | "date" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "time" | "select" | "lookup" | "master_detail" | "image" | "file" | "avatar" | "formula" | "summary" | "autonumber" | "location" | "
|
|
465
|
+
type: "number" | "boolean" | "code" | "date" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "time" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "lookup" | "master_detail" | "tree" | "image" | "file" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "json" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "tags" | "vector";
|
|
433
466
|
required: boolean;
|
|
434
467
|
searchable: boolean;
|
|
435
468
|
multiple: boolean;
|
|
@@ -490,15 +523,22 @@ declare const ObjectSchemaBase: z.ZodObject<{
|
|
|
490
523
|
currencyMode: "dynamic" | "fixed";
|
|
491
524
|
defaultCurrency: string;
|
|
492
525
|
} | undefined;
|
|
526
|
+
vectorConfig?: {
|
|
527
|
+
dimensions: number;
|
|
528
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
529
|
+
normalized: boolean;
|
|
530
|
+
indexed: boolean;
|
|
531
|
+
indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
|
|
532
|
+
} | undefined;
|
|
493
533
|
}>;
|
|
494
534
|
name: string;
|
|
495
535
|
active: boolean;
|
|
496
536
|
isSystem: boolean;
|
|
497
537
|
abstract: boolean;
|
|
498
538
|
datasource: string;
|
|
539
|
+
tags?: string[] | undefined;
|
|
499
540
|
label?: string | undefined;
|
|
500
541
|
description?: string | undefined;
|
|
501
|
-
tags?: string[] | undefined;
|
|
502
542
|
search?: {
|
|
503
543
|
fields: string[];
|
|
504
544
|
displayFields?: string[] | undefined;
|
|
@@ -530,7 +570,7 @@ declare const ObjectSchemaBase: z.ZodObject<{
|
|
|
530
570
|
} | undefined;
|
|
531
571
|
}, {
|
|
532
572
|
fields: Record<string, {
|
|
533
|
-
type: "number" | "boolean" | "code" | "date" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "time" | "select" | "lookup" | "master_detail" | "image" | "file" | "avatar" | "formula" | "summary" | "autonumber" | "location" | "
|
|
573
|
+
type: "number" | "boolean" | "code" | "date" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "time" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "lookup" | "master_detail" | "tree" | "image" | "file" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "json" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "tags" | "vector";
|
|
534
574
|
options?: {
|
|
535
575
|
value: string;
|
|
536
576
|
label: string;
|
|
@@ -586,6 +626,13 @@ declare const ObjectSchemaBase: z.ZodObject<{
|
|
|
586
626
|
currencyMode?: "dynamic" | "fixed" | undefined;
|
|
587
627
|
defaultCurrency?: string | undefined;
|
|
588
628
|
} | undefined;
|
|
629
|
+
vectorConfig?: {
|
|
630
|
+
dimensions: number;
|
|
631
|
+
distanceMetric?: "cosine" | "euclidean" | "dotProduct" | "manhattan" | undefined;
|
|
632
|
+
normalized?: boolean | undefined;
|
|
633
|
+
indexed?: boolean | undefined;
|
|
634
|
+
indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
|
|
635
|
+
} | undefined;
|
|
589
636
|
hidden?: boolean | undefined;
|
|
590
637
|
readonly?: boolean | undefined;
|
|
591
638
|
encryption?: boolean | undefined;
|
|
@@ -593,10 +640,10 @@ declare const ObjectSchemaBase: z.ZodObject<{
|
|
|
593
640
|
externalId?: boolean | undefined;
|
|
594
641
|
}>;
|
|
595
642
|
name: string;
|
|
643
|
+
tags?: string[] | undefined;
|
|
596
644
|
label?: string | undefined;
|
|
597
645
|
description?: string | undefined;
|
|
598
646
|
active?: boolean | undefined;
|
|
599
|
-
tags?: string[] | undefined;
|
|
600
647
|
search?: {
|
|
601
648
|
fields: string[];
|
|
602
649
|
displayFields?: string[] | undefined;
|
|
@@ -646,13 +693,13 @@ export declare const ObjectSchema: z.ZodObject<{
|
|
|
646
693
|
* Taxonomy & Organization
|
|
647
694
|
*/
|
|
648
695
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
649
|
-
active: z.ZodDefault<z.ZodBoolean
|
|
650
|
-
isSystem: z.ZodDefault<z.ZodBoolean
|
|
651
|
-
abstract: z.ZodDefault<z.ZodBoolean
|
|
696
|
+
active: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
697
|
+
isSystem: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
698
|
+
abstract: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
652
699
|
/**
|
|
653
700
|
* Storage & Virtualization
|
|
654
701
|
*/
|
|
655
|
-
datasource: z.ZodDefault<z.ZodString
|
|
702
|
+
datasource: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
656
703
|
tableName: z.ZodOptional<z.ZodString>;
|
|
657
704
|
/**
|
|
658
705
|
* Data Model
|
|
@@ -660,7 +707,7 @@ export declare const ObjectSchema: z.ZodObject<{
|
|
|
660
707
|
fields: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
661
708
|
name: z.ZodOptional<z.ZodString>;
|
|
662
709
|
label: z.ZodOptional<z.ZodString>;
|
|
663
|
-
type: z.ZodEnum<["text", "textarea", "email", "url", "phone", "password", "markdown", "html", "richtext", "number", "currency", "percent", "date", "datetime", "time", "boolean", "select", "lookup", "master_detail", "image", "file", "avatar", "formula", "summary", "autonumber", "location", "
|
|
710
|
+
type: z.ZodEnum<["text", "textarea", "email", "url", "phone", "password", "markdown", "html", "richtext", "number", "currency", "percent", "date", "datetime", "time", "boolean", "toggle", "select", "multiselect", "radio", "checkboxes", "lookup", "master_detail", "tree", "image", "file", "avatar", "video", "audio", "formula", "summary", "autonumber", "location", "address", "code", "json", "color", "rating", "slider", "signature", "qrcode", "progress", "tags", "vector"]>;
|
|
664
711
|
description: z.ZodOptional<z.ZodString>;
|
|
665
712
|
format: z.ZodOptional<z.ZodString>;
|
|
666
713
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -740,13 +787,32 @@ export declare const ObjectSchema: z.ZodObject<{
|
|
|
740
787
|
currencyMode?: "dynamic" | "fixed" | undefined;
|
|
741
788
|
defaultCurrency?: string | undefined;
|
|
742
789
|
}>>;
|
|
790
|
+
vectorConfig: z.ZodOptional<z.ZodObject<{
|
|
791
|
+
dimensions: z.ZodNumber;
|
|
792
|
+
distanceMetric: z.ZodDefault<z.ZodEnum<["cosine", "euclidean", "dotProduct", "manhattan"]>>;
|
|
793
|
+
normalized: z.ZodDefault<z.ZodBoolean>;
|
|
794
|
+
indexed: z.ZodDefault<z.ZodBoolean>;
|
|
795
|
+
indexType: z.ZodOptional<z.ZodEnum<["hnsw", "ivfflat", "flat"]>>;
|
|
796
|
+
}, "strip", z.ZodTypeAny, {
|
|
797
|
+
dimensions: number;
|
|
798
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
799
|
+
normalized: boolean;
|
|
800
|
+
indexed: boolean;
|
|
801
|
+
indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
|
|
802
|
+
}, {
|
|
803
|
+
dimensions: number;
|
|
804
|
+
distanceMetric?: "cosine" | "euclidean" | "dotProduct" | "manhattan" | undefined;
|
|
805
|
+
normalized?: boolean | undefined;
|
|
806
|
+
indexed?: boolean | undefined;
|
|
807
|
+
indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
|
|
808
|
+
}>>;
|
|
743
809
|
hidden: z.ZodDefault<z.ZodBoolean>;
|
|
744
810
|
readonly: z.ZodDefault<z.ZodBoolean>;
|
|
745
811
|
encryption: z.ZodDefault<z.ZodBoolean>;
|
|
746
812
|
index: z.ZodDefault<z.ZodBoolean>;
|
|
747
813
|
externalId: z.ZodDefault<z.ZodBoolean>;
|
|
748
814
|
}, "strip", z.ZodTypeAny, {
|
|
749
|
-
type: "number" | "boolean" | "code" | "date" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "time" | "select" | "lookup" | "master_detail" | "image" | "file" | "avatar" | "formula" | "summary" | "autonumber" | "location" | "
|
|
815
|
+
type: "number" | "boolean" | "code" | "date" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "time" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "lookup" | "master_detail" | "tree" | "image" | "file" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "json" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "tags" | "vector";
|
|
750
816
|
required: boolean;
|
|
751
817
|
searchable: boolean;
|
|
752
818
|
multiple: boolean;
|
|
@@ -807,8 +873,15 @@ export declare const ObjectSchema: z.ZodObject<{
|
|
|
807
873
|
currencyMode: "dynamic" | "fixed";
|
|
808
874
|
defaultCurrency: string;
|
|
809
875
|
} | undefined;
|
|
876
|
+
vectorConfig?: {
|
|
877
|
+
dimensions: number;
|
|
878
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
879
|
+
normalized: boolean;
|
|
880
|
+
indexed: boolean;
|
|
881
|
+
indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
|
|
882
|
+
} | undefined;
|
|
810
883
|
}, {
|
|
811
|
-
type: "number" | "boolean" | "code" | "date" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "time" | "select" | "lookup" | "master_detail" | "image" | "file" | "avatar" | "formula" | "summary" | "autonumber" | "location" | "
|
|
884
|
+
type: "number" | "boolean" | "code" | "date" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "time" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "lookup" | "master_detail" | "tree" | "image" | "file" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "json" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "tags" | "vector";
|
|
812
885
|
options?: {
|
|
813
886
|
value: string;
|
|
814
887
|
label: string;
|
|
@@ -864,6 +937,13 @@ export declare const ObjectSchema: z.ZodObject<{
|
|
|
864
937
|
currencyMode?: "dynamic" | "fixed" | undefined;
|
|
865
938
|
defaultCurrency?: string | undefined;
|
|
866
939
|
} | undefined;
|
|
940
|
+
vectorConfig?: {
|
|
941
|
+
dimensions: number;
|
|
942
|
+
distanceMetric?: "cosine" | "euclidean" | "dotProduct" | "manhattan" | undefined;
|
|
943
|
+
normalized?: boolean | undefined;
|
|
944
|
+
indexed?: boolean | undefined;
|
|
945
|
+
indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
|
|
946
|
+
} | undefined;
|
|
867
947
|
hidden?: boolean | undefined;
|
|
868
948
|
readonly?: boolean | undefined;
|
|
869
949
|
encryption?: boolean | undefined;
|
|
@@ -964,7 +1044,7 @@ export declare const ObjectSchema: z.ZodObject<{
|
|
|
964
1044
|
}>>;
|
|
965
1045
|
}, "strip", z.ZodTypeAny, {
|
|
966
1046
|
fields: Record<string, {
|
|
967
|
-
type: "number" | "boolean" | "code" | "date" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "time" | "select" | "lookup" | "master_detail" | "image" | "file" | "avatar" | "formula" | "summary" | "autonumber" | "location" | "
|
|
1047
|
+
type: "number" | "boolean" | "code" | "date" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "time" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "lookup" | "master_detail" | "tree" | "image" | "file" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "json" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "tags" | "vector";
|
|
968
1048
|
required: boolean;
|
|
969
1049
|
searchable: boolean;
|
|
970
1050
|
multiple: boolean;
|
|
@@ -1025,15 +1105,22 @@ export declare const ObjectSchema: z.ZodObject<{
|
|
|
1025
1105
|
currencyMode: "dynamic" | "fixed";
|
|
1026
1106
|
defaultCurrency: string;
|
|
1027
1107
|
} | undefined;
|
|
1108
|
+
vectorConfig?: {
|
|
1109
|
+
dimensions: number;
|
|
1110
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
1111
|
+
normalized: boolean;
|
|
1112
|
+
indexed: boolean;
|
|
1113
|
+
indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
|
|
1114
|
+
} | undefined;
|
|
1028
1115
|
}>;
|
|
1029
1116
|
name: string;
|
|
1030
1117
|
active: boolean;
|
|
1031
1118
|
isSystem: boolean;
|
|
1032
1119
|
abstract: boolean;
|
|
1033
1120
|
datasource: string;
|
|
1121
|
+
tags?: string[] | undefined;
|
|
1034
1122
|
label?: string | undefined;
|
|
1035
1123
|
description?: string | undefined;
|
|
1036
|
-
tags?: string[] | undefined;
|
|
1037
1124
|
search?: {
|
|
1038
1125
|
fields: string[];
|
|
1039
1126
|
displayFields?: string[] | undefined;
|
|
@@ -1065,7 +1152,7 @@ export declare const ObjectSchema: z.ZodObject<{
|
|
|
1065
1152
|
} | undefined;
|
|
1066
1153
|
}, {
|
|
1067
1154
|
fields: Record<string, {
|
|
1068
|
-
type: "number" | "boolean" | "code" | "date" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "time" | "select" | "lookup" | "master_detail" | "image" | "file" | "avatar" | "formula" | "summary" | "autonumber" | "location" | "
|
|
1155
|
+
type: "number" | "boolean" | "code" | "date" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "time" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "lookup" | "master_detail" | "tree" | "image" | "file" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "json" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "tags" | "vector";
|
|
1069
1156
|
options?: {
|
|
1070
1157
|
value: string;
|
|
1071
1158
|
label: string;
|
|
@@ -1121,6 +1208,13 @@ export declare const ObjectSchema: z.ZodObject<{
|
|
|
1121
1208
|
currencyMode?: "dynamic" | "fixed" | undefined;
|
|
1122
1209
|
defaultCurrency?: string | undefined;
|
|
1123
1210
|
} | undefined;
|
|
1211
|
+
vectorConfig?: {
|
|
1212
|
+
dimensions: number;
|
|
1213
|
+
distanceMetric?: "cosine" | "euclidean" | "dotProduct" | "manhattan" | undefined;
|
|
1214
|
+
normalized?: boolean | undefined;
|
|
1215
|
+
indexed?: boolean | undefined;
|
|
1216
|
+
indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
|
|
1217
|
+
} | undefined;
|
|
1124
1218
|
hidden?: boolean | undefined;
|
|
1125
1219
|
readonly?: boolean | undefined;
|
|
1126
1220
|
encryption?: boolean | undefined;
|
|
@@ -1128,10 +1222,10 @@ export declare const ObjectSchema: z.ZodObject<{
|
|
|
1128
1222
|
externalId?: boolean | undefined;
|
|
1129
1223
|
}>;
|
|
1130
1224
|
name: string;
|
|
1225
|
+
tags?: string[] | undefined;
|
|
1131
1226
|
label?: string | undefined;
|
|
1132
1227
|
description?: string | undefined;
|
|
1133
1228
|
active?: boolean | undefined;
|
|
1134
|
-
tags?: string[] | undefined;
|
|
1135
1229
|
search?: {
|
|
1136
1230
|
fields: string[];
|
|
1137
1231
|
displayFields?: string[] | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"object.zod.d.ts","sourceRoot":"","sources":["../../src/data/object.zod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB;;;;;;;;;GASG;AACH,eAAO,MAAM,kBAAkB;IAC7B,4CAA4C;;IAG5C,oCAAoC;;IAGpC,qCAAqC;;IAGrC;;;OAGG;;IAaH,+CAA+C;;IAG/C,8DAA8D;;IAG9D,gEAAgE;;IAGhE,uCAAuC;;IAGvC,wCAAwC;;IAGxC,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;EAE5B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;EAKtB,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;EAI7B,CAAC;AAEH;;;;;GAKG;AACH,QAAA,MAAM,gBAAgB;IACpB;;OAEG;;;;;;IAOH;;OAEG;;;;;IAMH;;OAEG;;;IAIH;;OAEG
|
|
1
|
+
{"version":3,"file":"object.zod.d.ts","sourceRoot":"","sources":["../../src/data/object.zod.ts"],"names":[],"mappings":"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"}
|
package/dist/data/object.zod.js
CHANGED
|
@@ -86,13 +86,13 @@ const ObjectSchemaBase = zod_1.z.object({
|
|
|
86
86
|
* Taxonomy & Organization
|
|
87
87
|
*/
|
|
88
88
|
tags: zod_1.z.array(zod_1.z.string()).optional().describe('Categorization tags (e.g. "sales", "system", "reference")'),
|
|
89
|
-
active: zod_1.z.boolean().default(true).describe('Is the object active and usable'),
|
|
90
|
-
isSystem: zod_1.z.boolean().default(false).describe('Is system object (protected from deletion)'),
|
|
91
|
-
abstract: zod_1.z.boolean().default(false).describe('Is abstract base object (cannot be instantiated)'),
|
|
89
|
+
active: zod_1.z.boolean().optional().default(true).describe('Is the object active and usable'),
|
|
90
|
+
isSystem: zod_1.z.boolean().optional().default(false).describe('Is system object (protected from deletion)'),
|
|
91
|
+
abstract: zod_1.z.boolean().optional().default(false).describe('Is abstract base object (cannot be instantiated)'),
|
|
92
92
|
/**
|
|
93
93
|
* Storage & Virtualization
|
|
94
94
|
*/
|
|
95
|
-
datasource: zod_1.z.string().default('default').describe('Target Datasource ID. "default" is the primary DB.'),
|
|
95
|
+
datasource: zod_1.z.string().optional().default('default').describe('Target Datasource ID. "default" is the primary DB.'),
|
|
96
96
|
tableName: zod_1.z.string().optional().describe('Physical table/collection name in the target datasource'),
|
|
97
97
|
/**
|
|
98
98
|
* Data Model
|
|
@@ -23,19 +23,19 @@ export declare const ScriptValidationSchema: z.ZodObject<{
|
|
|
23
23
|
events: ("insert" | "update" | "delete")[];
|
|
24
24
|
severity: "error" | "warning" | "info";
|
|
25
25
|
condition: string;
|
|
26
|
+
tags?: string[] | undefined;
|
|
26
27
|
label?: string | undefined;
|
|
27
28
|
description?: string | undefined;
|
|
28
|
-
tags?: string[] | undefined;
|
|
29
29
|
}, {
|
|
30
30
|
message: string;
|
|
31
31
|
type: "script";
|
|
32
32
|
name: string;
|
|
33
33
|
condition: string;
|
|
34
|
+
tags?: string[] | undefined;
|
|
34
35
|
label?: string | undefined;
|
|
35
36
|
description?: string | undefined;
|
|
36
37
|
active?: boolean | undefined;
|
|
37
38
|
events?: ("insert" | "update" | "delete")[] | undefined;
|
|
38
|
-
tags?: string[] | undefined;
|
|
39
39
|
severity?: "error" | "warning" | "info" | undefined;
|
|
40
40
|
}>;
|
|
41
41
|
/**
|
|
@@ -65,20 +65,20 @@ export declare const UniquenessValidationSchema: z.ZodObject<{
|
|
|
65
65
|
events: ("insert" | "update" | "delete")[];
|
|
66
66
|
severity: "error" | "warning" | "info";
|
|
67
67
|
caseSensitive: boolean;
|
|
68
|
+
tags?: string[] | undefined;
|
|
68
69
|
label?: string | undefined;
|
|
69
70
|
description?: string | undefined;
|
|
70
|
-
tags?: string[] | undefined;
|
|
71
71
|
scope?: string | undefined;
|
|
72
72
|
}, {
|
|
73
73
|
message: string;
|
|
74
74
|
type: "unique";
|
|
75
75
|
fields: string[];
|
|
76
76
|
name: string;
|
|
77
|
+
tags?: string[] | undefined;
|
|
77
78
|
label?: string | undefined;
|
|
78
79
|
description?: string | undefined;
|
|
79
80
|
active?: boolean | undefined;
|
|
80
81
|
events?: ("insert" | "update" | "delete")[] | undefined;
|
|
81
|
-
tags?: string[] | undefined;
|
|
82
82
|
severity?: "error" | "warning" | "info" | undefined;
|
|
83
83
|
scope?: string | undefined;
|
|
84
84
|
caseSensitive?: boolean | undefined;
|
|
@@ -109,20 +109,20 @@ export declare const StateMachineValidationSchema: z.ZodObject<{
|
|
|
109
109
|
events: ("insert" | "update" | "delete")[];
|
|
110
110
|
severity: "error" | "warning" | "info";
|
|
111
111
|
transitions: Record<string, string[]>;
|
|
112
|
+
tags?: string[] | undefined;
|
|
112
113
|
label?: string | undefined;
|
|
113
114
|
description?: string | undefined;
|
|
114
|
-
tags?: string[] | undefined;
|
|
115
115
|
}, {
|
|
116
116
|
message: string;
|
|
117
117
|
type: "state_machine";
|
|
118
118
|
field: string;
|
|
119
119
|
name: string;
|
|
120
120
|
transitions: Record<string, string[]>;
|
|
121
|
+
tags?: string[] | undefined;
|
|
121
122
|
label?: string | undefined;
|
|
122
123
|
description?: string | undefined;
|
|
123
124
|
active?: boolean | undefined;
|
|
124
125
|
events?: ("insert" | "update" | "delete")[] | undefined;
|
|
125
|
-
tags?: string[] | undefined;
|
|
126
126
|
severity?: "error" | "warning" | "info" | undefined;
|
|
127
127
|
}>;
|
|
128
128
|
/**
|
|
@@ -151,22 +151,22 @@ export declare const FormatValidationSchema: z.ZodObject<{
|
|
|
151
151
|
active: boolean;
|
|
152
152
|
events: ("insert" | "update" | "delete")[];
|
|
153
153
|
severity: "error" | "warning" | "info";
|
|
154
|
+
tags?: string[] | undefined;
|
|
154
155
|
label?: string | undefined;
|
|
155
156
|
description?: string | undefined;
|
|
156
157
|
format?: "email" | "url" | "phone" | "json" | undefined;
|
|
157
|
-
tags?: string[] | undefined;
|
|
158
158
|
regex?: string | undefined;
|
|
159
159
|
}, {
|
|
160
160
|
message: string;
|
|
161
161
|
type: "format";
|
|
162
162
|
field: string;
|
|
163
163
|
name: string;
|
|
164
|
+
tags?: string[] | undefined;
|
|
164
165
|
label?: string | undefined;
|
|
165
166
|
description?: string | undefined;
|
|
166
167
|
format?: "email" | "url" | "phone" | "json" | undefined;
|
|
167
168
|
active?: boolean | undefined;
|
|
168
169
|
events?: ("insert" | "update" | "delete")[] | undefined;
|
|
169
|
-
tags?: string[] | undefined;
|
|
170
170
|
severity?: "error" | "warning" | "info" | undefined;
|
|
171
171
|
regex?: string | undefined;
|
|
172
172
|
}>;
|
|
@@ -255,20 +255,20 @@ export declare const CrossFieldValidationSchema: z.ZodObject<{
|
|
|
255
255
|
events: ("insert" | "update" | "delete")[];
|
|
256
256
|
severity: "error" | "warning" | "info";
|
|
257
257
|
condition: string;
|
|
258
|
+
tags?: string[] | undefined;
|
|
258
259
|
label?: string | undefined;
|
|
259
260
|
description?: string | undefined;
|
|
260
|
-
tags?: string[] | undefined;
|
|
261
261
|
}, {
|
|
262
262
|
message: string;
|
|
263
263
|
type: "cross_field";
|
|
264
264
|
fields: string[];
|
|
265
265
|
name: string;
|
|
266
266
|
condition: string;
|
|
267
|
+
tags?: string[] | undefined;
|
|
267
268
|
label?: string | undefined;
|
|
268
269
|
description?: string | undefined;
|
|
269
270
|
active?: boolean | undefined;
|
|
270
271
|
events?: ("insert" | "update" | "delete")[] | undefined;
|
|
271
|
-
tags?: string[] | undefined;
|
|
272
272
|
severity?: "error" | "warning" | "info" | undefined;
|
|
273
273
|
}>;
|
|
274
274
|
/**
|
|
@@ -302,20 +302,20 @@ export declare const JSONValidationSchema: z.ZodObject<{
|
|
|
302
302
|
events: ("insert" | "update" | "delete")[];
|
|
303
303
|
severity: "error" | "warning" | "info";
|
|
304
304
|
schema: Record<string, any>;
|
|
305
|
+
tags?: string[] | undefined;
|
|
305
306
|
label?: string | undefined;
|
|
306
307
|
description?: string | undefined;
|
|
307
|
-
tags?: string[] | undefined;
|
|
308
308
|
}, {
|
|
309
309
|
message: string;
|
|
310
310
|
type: "json_schema";
|
|
311
311
|
field: string;
|
|
312
312
|
name: string;
|
|
313
313
|
schema: Record<string, any>;
|
|
314
|
+
tags?: string[] | undefined;
|
|
314
315
|
label?: string | undefined;
|
|
315
316
|
description?: string | undefined;
|
|
316
317
|
active?: boolean | undefined;
|
|
317
318
|
events?: ("insert" | "update" | "delete")[] | undefined;
|
|
318
|
-
tags?: string[] | undefined;
|
|
319
319
|
severity?: "error" | "warning" | "info" | undefined;
|
|
320
320
|
}>;
|
|
321
321
|
/**
|
|
@@ -463,9 +463,9 @@ export declare const AsyncValidationSchema: z.ZodObject<{
|
|
|
463
463
|
method: "GET" | "POST";
|
|
464
464
|
timeout: number;
|
|
465
465
|
params?: Record<string, any> | undefined;
|
|
466
|
+
tags?: string[] | undefined;
|
|
466
467
|
label?: string | undefined;
|
|
467
468
|
description?: string | undefined;
|
|
468
|
-
tags?: string[] | undefined;
|
|
469
469
|
validatorUrl?: string | undefined;
|
|
470
470
|
headers?: Record<string, string> | undefined;
|
|
471
471
|
validatorFunction?: string | undefined;
|
|
@@ -476,11 +476,11 @@ export declare const AsyncValidationSchema: z.ZodObject<{
|
|
|
476
476
|
field: string;
|
|
477
477
|
name: string;
|
|
478
478
|
params?: Record<string, any> | undefined;
|
|
479
|
+
tags?: string[] | undefined;
|
|
479
480
|
label?: string | undefined;
|
|
480
481
|
description?: string | undefined;
|
|
481
482
|
active?: boolean | undefined;
|
|
482
483
|
events?: ("insert" | "update" | "delete")[] | undefined;
|
|
483
|
-
tags?: string[] | undefined;
|
|
484
484
|
severity?: "error" | "warning" | "info" | undefined;
|
|
485
485
|
validatorUrl?: string | undefined;
|
|
486
486
|
method?: "GET" | "POST" | undefined;
|
|
@@ -515,20 +515,20 @@ export declare const CustomValidatorSchema: z.ZodObject<{
|
|
|
515
515
|
severity: "error" | "warning" | "info";
|
|
516
516
|
handler: string;
|
|
517
517
|
params?: Record<string, any> | undefined;
|
|
518
|
+
tags?: string[] | undefined;
|
|
518
519
|
label?: string | undefined;
|
|
519
520
|
description?: string | undefined;
|
|
520
|
-
tags?: string[] | undefined;
|
|
521
521
|
}, {
|
|
522
522
|
message: string;
|
|
523
523
|
type: "custom";
|
|
524
524
|
name: string;
|
|
525
525
|
handler: string;
|
|
526
526
|
params?: Record<string, any> | undefined;
|
|
527
|
+
tags?: string[] | undefined;
|
|
527
528
|
label?: string | undefined;
|
|
528
529
|
description?: string | undefined;
|
|
529
530
|
active?: boolean | undefined;
|
|
530
531
|
events?: ("insert" | "update" | "delete")[] | undefined;
|
|
531
|
-
tags?: string[] | undefined;
|
|
532
532
|
severity?: "error" | "warning" | "info" | undefined;
|
|
533
533
|
}>;
|
|
534
534
|
/**
|
|
@@ -733,9 +733,9 @@ export declare const ConditionalValidationSchema: z.ZodObject<{
|
|
|
733
733
|
events: ("insert" | "update" | "delete")[];
|
|
734
734
|
severity: "error" | "warning" | "info";
|
|
735
735
|
when: string;
|
|
736
|
+
tags?: string[] | undefined;
|
|
736
737
|
label?: string | undefined;
|
|
737
738
|
description?: string | undefined;
|
|
738
|
-
tags?: string[] | undefined;
|
|
739
739
|
then?: any;
|
|
740
740
|
otherwise?: any;
|
|
741
741
|
}, {
|
|
@@ -743,11 +743,11 @@ export declare const ConditionalValidationSchema: z.ZodObject<{
|
|
|
743
743
|
type: "conditional";
|
|
744
744
|
name: string;
|
|
745
745
|
when: string;
|
|
746
|
+
tags?: string[] | undefined;
|
|
746
747
|
label?: string | undefined;
|
|
747
748
|
description?: string | undefined;
|
|
748
749
|
active?: boolean | undefined;
|
|
749
750
|
events?: ("insert" | "update" | "delete")[] | undefined;
|
|
750
|
-
tags?: string[] | undefined;
|
|
751
751
|
severity?: "error" | "warning" | "info" | undefined;
|
|
752
752
|
then?: any;
|
|
753
753
|
otherwise?: any;
|