@objectstack/spec 0.3.3 → 0.4.1
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 +42 -1939
- 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 +515 -0
- package/dist/system/manifest.zod.d.ts.map +1 -0
- package/dist/{kernel → system}/manifest.zod.js +0 -12
- 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 +0 -2162
- 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 +395 -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
|
@@ -52,24 +52,34 @@
|
|
|
52
52
|
"datetime",
|
|
53
53
|
"time",
|
|
54
54
|
"boolean",
|
|
55
|
+
"toggle",
|
|
55
56
|
"select",
|
|
57
|
+
"multiselect",
|
|
58
|
+
"radio",
|
|
59
|
+
"checkboxes",
|
|
56
60
|
"lookup",
|
|
57
61
|
"master_detail",
|
|
62
|
+
"tree",
|
|
58
63
|
"image",
|
|
59
64
|
"file",
|
|
60
65
|
"avatar",
|
|
66
|
+
"video",
|
|
67
|
+
"audio",
|
|
61
68
|
"formula",
|
|
62
69
|
"summary",
|
|
63
70
|
"autonumber",
|
|
64
71
|
"location",
|
|
65
|
-
"geolocation",
|
|
66
72
|
"address",
|
|
67
73
|
"code",
|
|
74
|
+
"json",
|
|
68
75
|
"color",
|
|
69
76
|
"rating",
|
|
70
77
|
"slider",
|
|
71
78
|
"signature",
|
|
72
|
-
"qrcode"
|
|
79
|
+
"qrcode",
|
|
80
|
+
"progress",
|
|
81
|
+
"tags",
|
|
82
|
+
"vector"
|
|
73
83
|
],
|
|
74
84
|
"description": "Field Data Type"
|
|
75
85
|
},
|
|
@@ -135,11 +145,13 @@
|
|
|
135
145
|
"properties": {
|
|
136
146
|
"label": {
|
|
137
147
|
"type": "string",
|
|
138
|
-
"description": "Display label"
|
|
148
|
+
"description": "Display label (human-readable, any case allowed)"
|
|
139
149
|
},
|
|
140
150
|
"value": {
|
|
141
151
|
"type": "string",
|
|
142
|
-
"
|
|
152
|
+
"minLength": 2,
|
|
153
|
+
"pattern": "^[a-z][a-z0-9_.]*$",
|
|
154
|
+
"description": "Stored value (lowercase machine identifier)"
|
|
143
155
|
},
|
|
144
156
|
"color": {
|
|
145
157
|
"type": "string",
|
|
@@ -353,6 +365,52 @@
|
|
|
353
365
|
"additionalProperties": false,
|
|
354
366
|
"description": "Configuration for currency field type"
|
|
355
367
|
},
|
|
368
|
+
"vectorConfig": {
|
|
369
|
+
"type": "object",
|
|
370
|
+
"properties": {
|
|
371
|
+
"dimensions": {
|
|
372
|
+
"type": "integer",
|
|
373
|
+
"minimum": 1,
|
|
374
|
+
"maximum": 10000,
|
|
375
|
+
"description": "Vector dimensionality (e.g., 1536 for OpenAI embeddings)"
|
|
376
|
+
},
|
|
377
|
+
"distanceMetric": {
|
|
378
|
+
"type": "string",
|
|
379
|
+
"enum": [
|
|
380
|
+
"cosine",
|
|
381
|
+
"euclidean",
|
|
382
|
+
"dotProduct",
|
|
383
|
+
"manhattan"
|
|
384
|
+
],
|
|
385
|
+
"default": "cosine",
|
|
386
|
+
"description": "Distance/similarity metric for vector search"
|
|
387
|
+
},
|
|
388
|
+
"normalized": {
|
|
389
|
+
"type": "boolean",
|
|
390
|
+
"default": false,
|
|
391
|
+
"description": "Whether vectors are normalized (unit length)"
|
|
392
|
+
},
|
|
393
|
+
"indexed": {
|
|
394
|
+
"type": "boolean",
|
|
395
|
+
"default": true,
|
|
396
|
+
"description": "Whether to create a vector index for fast similarity search"
|
|
397
|
+
},
|
|
398
|
+
"indexType": {
|
|
399
|
+
"type": "string",
|
|
400
|
+
"enum": [
|
|
401
|
+
"hnsw",
|
|
402
|
+
"ivfflat",
|
|
403
|
+
"flat"
|
|
404
|
+
],
|
|
405
|
+
"description": "Vector index algorithm (HNSW for high accuracy, IVFFlat for large datasets)"
|
|
406
|
+
}
|
|
407
|
+
},
|
|
408
|
+
"required": [
|
|
409
|
+
"dimensions"
|
|
410
|
+
],
|
|
411
|
+
"additionalProperties": false,
|
|
412
|
+
"description": "Configuration for vector field type (AI/ML embeddings)"
|
|
413
|
+
},
|
|
356
414
|
"hidden": {
|
|
357
415
|
"type": "boolean",
|
|
358
416
|
"default": false,
|
|
@@ -6,7 +6,9 @@
|
|
|
6
6
|
"properties": {
|
|
7
7
|
"id": {
|
|
8
8
|
"type": "string",
|
|
9
|
-
"
|
|
9
|
+
"minLength": 2,
|
|
10
|
+
"pattern": "^[a-z][a-z0-9_]*$",
|
|
11
|
+
"description": "Unique identifier for this navigation item (lowercase snake_case)"
|
|
10
12
|
},
|
|
11
13
|
"label": {
|
|
12
14
|
"type": "string",
|
|
@@ -5,7 +5,10 @@
|
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"name": {
|
|
8
|
-
"type": "string"
|
|
8
|
+
"type": "string",
|
|
9
|
+
"minLength": 2,
|
|
10
|
+
"pattern": "^[a-z][a-z0-9_]*$",
|
|
11
|
+
"description": "Internal view name (lowercase snake_case)"
|
|
9
12
|
},
|
|
10
13
|
"label": {
|
|
11
14
|
"type": "string"
|
|
@@ -14,8 +17,11 @@
|
|
|
14
17
|
"type": "string",
|
|
15
18
|
"enum": [
|
|
16
19
|
"grid",
|
|
20
|
+
"spreadsheet",
|
|
17
21
|
"kanban",
|
|
22
|
+
"gallery",
|
|
18
23
|
"calendar",
|
|
24
|
+
"timeline",
|
|
19
25
|
"gantt",
|
|
20
26
|
"map"
|
|
21
27
|
],
|
|
@@ -8,7 +8,9 @@
|
|
|
8
8
|
"properties": {
|
|
9
9
|
"id": {
|
|
10
10
|
"type": "string",
|
|
11
|
-
"
|
|
11
|
+
"minLength": 2,
|
|
12
|
+
"pattern": "^[a-z][a-z0-9_]*$",
|
|
13
|
+
"description": "Unique identifier for this navigation item (lowercase snake_case)"
|
|
12
14
|
},
|
|
13
15
|
"label": {
|
|
14
16
|
"type": "string",
|
|
@@ -48,7 +50,9 @@
|
|
|
48
50
|
"properties": {
|
|
49
51
|
"id": {
|
|
50
52
|
"type": "string",
|
|
51
|
-
"
|
|
53
|
+
"minLength": 2,
|
|
54
|
+
"pattern": "^[a-z][a-z0-9_]*$",
|
|
55
|
+
"description": "Unique identifier for this navigation item (lowercase snake_case)"
|
|
52
56
|
},
|
|
53
57
|
"label": {
|
|
54
58
|
"type": "string",
|
|
@@ -84,7 +88,9 @@
|
|
|
84
88
|
"properties": {
|
|
85
89
|
"id": {
|
|
86
90
|
"type": "string",
|
|
87
|
-
"
|
|
91
|
+
"minLength": 2,
|
|
92
|
+
"pattern": "^[a-z][a-z0-9_]*$",
|
|
93
|
+
"description": "Unique identifier for this navigation item (lowercase snake_case)"
|
|
88
94
|
},
|
|
89
95
|
"label": {
|
|
90
96
|
"type": "string",
|
|
@@ -125,7 +131,9 @@
|
|
|
125
131
|
"properties": {
|
|
126
132
|
"id": {
|
|
127
133
|
"type": "string",
|
|
128
|
-
"
|
|
134
|
+
"minLength": 2,
|
|
135
|
+
"pattern": "^[a-z][a-z0-9_]*$",
|
|
136
|
+
"description": "Unique identifier for this navigation item (lowercase snake_case)"
|
|
129
137
|
},
|
|
130
138
|
"label": {
|
|
131
139
|
"type": "string",
|
|
@@ -170,7 +178,9 @@
|
|
|
170
178
|
"properties": {
|
|
171
179
|
"id": {
|
|
172
180
|
"type": "string",
|
|
173
|
-
"
|
|
181
|
+
"minLength": 2,
|
|
182
|
+
"pattern": "^[a-z][a-z0-9_]*$",
|
|
183
|
+
"description": "Unique identifier for this navigation item (lowercase snake_case)"
|
|
174
184
|
},
|
|
175
185
|
"label": {
|
|
176
186
|
"type": "string",
|
|
@@ -6,7 +6,9 @@
|
|
|
6
6
|
"properties": {
|
|
7
7
|
"id": {
|
|
8
8
|
"type": "string",
|
|
9
|
-
"
|
|
9
|
+
"minLength": 2,
|
|
10
|
+
"pattern": "^[a-z][a-z0-9_]*$",
|
|
11
|
+
"description": "Unique identifier for this navigation item (lowercase snake_case)"
|
|
10
12
|
},
|
|
11
13
|
"label": {
|
|
12
14
|
"type": "string",
|
package/json-schema/ui/Page.json
CHANGED
|
@@ -6,7 +6,9 @@
|
|
|
6
6
|
"properties": {
|
|
7
7
|
"name": {
|
|
8
8
|
"type": "string",
|
|
9
|
-
"
|
|
9
|
+
"minLength": 2,
|
|
10
|
+
"pattern": "^[a-z][a-z0-9_]*$",
|
|
11
|
+
"description": "Page unique name (lowercase snake_case)"
|
|
10
12
|
},
|
|
11
13
|
"label": {
|
|
12
14
|
"type": "string"
|
|
@@ -57,8 +59,38 @@
|
|
|
57
59
|
"type": "object",
|
|
58
60
|
"properties": {
|
|
59
61
|
"type": {
|
|
60
|
-
"
|
|
61
|
-
|
|
62
|
+
"anyOf": [
|
|
63
|
+
{
|
|
64
|
+
"type": "string",
|
|
65
|
+
"enum": [
|
|
66
|
+
"page:header",
|
|
67
|
+
"page:footer",
|
|
68
|
+
"page:sidebar",
|
|
69
|
+
"page:tabs",
|
|
70
|
+
"page:accordion",
|
|
71
|
+
"page:card",
|
|
72
|
+
"page:section",
|
|
73
|
+
"record:details",
|
|
74
|
+
"record:highlights",
|
|
75
|
+
"record:related_list",
|
|
76
|
+
"record:activity",
|
|
77
|
+
"record:chatter",
|
|
78
|
+
"record:path",
|
|
79
|
+
"app:launcher",
|
|
80
|
+
"nav:menu",
|
|
81
|
+
"nav:breadcrumb",
|
|
82
|
+
"global:search",
|
|
83
|
+
"global:notifications",
|
|
84
|
+
"user:profile",
|
|
85
|
+
"ai:chat_window",
|
|
86
|
+
"ai:suggestion"
|
|
87
|
+
]
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"type": "string"
|
|
91
|
+
}
|
|
92
|
+
],
|
|
93
|
+
"description": "Component Type (Standard enum or custom string)"
|
|
62
94
|
},
|
|
63
95
|
"id": {
|
|
64
96
|
"type": "string",
|
|
@@ -70,7 +102,7 @@
|
|
|
70
102
|
"properties": {
|
|
71
103
|
"type": "object",
|
|
72
104
|
"additionalProperties": {},
|
|
73
|
-
"description": "Component props passed to the widget"
|
|
105
|
+
"description": "Component props passed to the widget. See block.zod.ts for schemas."
|
|
74
106
|
},
|
|
75
107
|
"visibility": {
|
|
76
108
|
"type": "string",
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/PageCardProps",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"PageCardProps": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"title": {
|
|
8
|
+
"type": "string"
|
|
9
|
+
},
|
|
10
|
+
"bordered": {
|
|
11
|
+
"type": "boolean",
|
|
12
|
+
"default": true
|
|
13
|
+
},
|
|
14
|
+
"actions": {
|
|
15
|
+
"type": "array",
|
|
16
|
+
"items": {
|
|
17
|
+
"type": "string"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"children": {
|
|
21
|
+
"type": "array",
|
|
22
|
+
"description": "Card content"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"required": [
|
|
26
|
+
"children"
|
|
27
|
+
],
|
|
28
|
+
"additionalProperties": false
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
32
|
+
}
|
|
@@ -5,8 +5,38 @@
|
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"type": {
|
|
8
|
-
"
|
|
9
|
-
|
|
8
|
+
"anyOf": [
|
|
9
|
+
{
|
|
10
|
+
"type": "string",
|
|
11
|
+
"enum": [
|
|
12
|
+
"page:header",
|
|
13
|
+
"page:footer",
|
|
14
|
+
"page:sidebar",
|
|
15
|
+
"page:tabs",
|
|
16
|
+
"page:accordion",
|
|
17
|
+
"page:card",
|
|
18
|
+
"page:section",
|
|
19
|
+
"record:details",
|
|
20
|
+
"record:highlights",
|
|
21
|
+
"record:related_list",
|
|
22
|
+
"record:activity",
|
|
23
|
+
"record:chatter",
|
|
24
|
+
"record:path",
|
|
25
|
+
"app:launcher",
|
|
26
|
+
"nav:menu",
|
|
27
|
+
"nav:breadcrumb",
|
|
28
|
+
"global:search",
|
|
29
|
+
"global:notifications",
|
|
30
|
+
"user:profile",
|
|
31
|
+
"ai:chat_window",
|
|
32
|
+
"ai:suggestion"
|
|
33
|
+
]
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"type": "string"
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"description": "Component Type (Standard enum or custom string)"
|
|
10
40
|
},
|
|
11
41
|
"id": {
|
|
12
42
|
"type": "string",
|
|
@@ -18,7 +48,7 @@
|
|
|
18
48
|
"properties": {
|
|
19
49
|
"type": "object",
|
|
20
50
|
"additionalProperties": {},
|
|
21
|
-
"description": "Component props passed to the widget"
|
|
51
|
+
"description": "Component props passed to the widget. See block.zod.ts for schemas."
|
|
22
52
|
},
|
|
23
53
|
"visibility": {
|
|
24
54
|
"type": "string",
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/PageComponentType",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"PageComponentType": {
|
|
5
|
+
"type": "string",
|
|
6
|
+
"enum": [
|
|
7
|
+
"page:header",
|
|
8
|
+
"page:footer",
|
|
9
|
+
"page:sidebar",
|
|
10
|
+
"page:tabs",
|
|
11
|
+
"page:accordion",
|
|
12
|
+
"page:card",
|
|
13
|
+
"page:section",
|
|
14
|
+
"record:details",
|
|
15
|
+
"record:highlights",
|
|
16
|
+
"record:related_list",
|
|
17
|
+
"record:activity",
|
|
18
|
+
"record:chatter",
|
|
19
|
+
"record:path",
|
|
20
|
+
"app:launcher",
|
|
21
|
+
"nav:menu",
|
|
22
|
+
"nav:breadcrumb",
|
|
23
|
+
"global:search",
|
|
24
|
+
"global:notifications",
|
|
25
|
+
"user:profile",
|
|
26
|
+
"ai:chat_window",
|
|
27
|
+
"ai:suggestion"
|
|
28
|
+
]
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
32
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/PageHeaderProps",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"PageHeaderProps": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"title": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"description": "Page title"
|
|
10
|
+
},
|
|
11
|
+
"subtitle": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"description": "Page subtitle"
|
|
14
|
+
},
|
|
15
|
+
"icon": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"description": "Icon name"
|
|
18
|
+
},
|
|
19
|
+
"breadcrumb": {
|
|
20
|
+
"type": "boolean",
|
|
21
|
+
"default": true,
|
|
22
|
+
"description": "Show breadcrumb"
|
|
23
|
+
},
|
|
24
|
+
"actions": {
|
|
25
|
+
"type": "array",
|
|
26
|
+
"items": {
|
|
27
|
+
"type": "string"
|
|
28
|
+
},
|
|
29
|
+
"description": "Action IDs to show in header"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"required": [
|
|
33
|
+
"title"
|
|
34
|
+
],
|
|
35
|
+
"additionalProperties": false
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
39
|
+
}
|
|
@@ -6,7 +6,9 @@
|
|
|
6
6
|
"properties": {
|
|
7
7
|
"id": {
|
|
8
8
|
"type": "string",
|
|
9
|
-
"
|
|
9
|
+
"minLength": 2,
|
|
10
|
+
"pattern": "^[a-z][a-z0-9_]*$",
|
|
11
|
+
"description": "Unique identifier for this navigation item (lowercase snake_case)"
|
|
10
12
|
},
|
|
11
13
|
"label": {
|
|
12
14
|
"type": "string",
|
|
@@ -23,8 +23,38 @@
|
|
|
23
23
|
"type": "object",
|
|
24
24
|
"properties": {
|
|
25
25
|
"type": {
|
|
26
|
-
"
|
|
27
|
-
|
|
26
|
+
"anyOf": [
|
|
27
|
+
{
|
|
28
|
+
"type": "string",
|
|
29
|
+
"enum": [
|
|
30
|
+
"page:header",
|
|
31
|
+
"page:footer",
|
|
32
|
+
"page:sidebar",
|
|
33
|
+
"page:tabs",
|
|
34
|
+
"page:accordion",
|
|
35
|
+
"page:card",
|
|
36
|
+
"page:section",
|
|
37
|
+
"record:details",
|
|
38
|
+
"record:highlights",
|
|
39
|
+
"record:related_list",
|
|
40
|
+
"record:activity",
|
|
41
|
+
"record:chatter",
|
|
42
|
+
"record:path",
|
|
43
|
+
"app:launcher",
|
|
44
|
+
"nav:menu",
|
|
45
|
+
"nav:breadcrumb",
|
|
46
|
+
"global:search",
|
|
47
|
+
"global:notifications",
|
|
48
|
+
"user:profile",
|
|
49
|
+
"ai:chat_window",
|
|
50
|
+
"ai:suggestion"
|
|
51
|
+
]
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"type": "string"
|
|
55
|
+
}
|
|
56
|
+
],
|
|
57
|
+
"description": "Component Type (Standard enum or custom string)"
|
|
28
58
|
},
|
|
29
59
|
"id": {
|
|
30
60
|
"type": "string",
|
|
@@ -36,7 +66,7 @@
|
|
|
36
66
|
"properties": {
|
|
37
67
|
"type": "object",
|
|
38
68
|
"additionalProperties": {},
|
|
39
|
-
"description": "Component props passed to the widget"
|
|
69
|
+
"description": "Component props passed to the widget. See block.zod.ts for schemas."
|
|
40
70
|
},
|
|
41
71
|
"visibility": {
|
|
42
72
|
"type": "string",
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/PageTabsProps",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"PageTabsProps": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"type": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"enum": [
|
|
10
|
+
"line",
|
|
11
|
+
"card",
|
|
12
|
+
"pill"
|
|
13
|
+
],
|
|
14
|
+
"default": "line"
|
|
15
|
+
},
|
|
16
|
+
"position": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"enum": [
|
|
19
|
+
"top",
|
|
20
|
+
"left"
|
|
21
|
+
],
|
|
22
|
+
"default": "top"
|
|
23
|
+
},
|
|
24
|
+
"items": {
|
|
25
|
+
"type": "array",
|
|
26
|
+
"items": {
|
|
27
|
+
"type": "object",
|
|
28
|
+
"properties": {
|
|
29
|
+
"label": {
|
|
30
|
+
"type": "string"
|
|
31
|
+
},
|
|
32
|
+
"icon": {
|
|
33
|
+
"type": "string"
|
|
34
|
+
},
|
|
35
|
+
"children": {
|
|
36
|
+
"type": "array",
|
|
37
|
+
"description": "Child components"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"required": [
|
|
41
|
+
"label",
|
|
42
|
+
"children"
|
|
43
|
+
],
|
|
44
|
+
"additionalProperties": false
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"required": [
|
|
49
|
+
"items"
|
|
50
|
+
],
|
|
51
|
+
"additionalProperties": false
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
55
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/RecordDetailsProps",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"RecordDetailsProps": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"columns": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"enum": [
|
|
10
|
+
"1",
|
|
11
|
+
"2",
|
|
12
|
+
"3",
|
|
13
|
+
"4"
|
|
14
|
+
],
|
|
15
|
+
"default": "2"
|
|
16
|
+
},
|
|
17
|
+
"layout": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"enum": [
|
|
20
|
+
"auto",
|
|
21
|
+
"custom"
|
|
22
|
+
],
|
|
23
|
+
"default": "auto"
|
|
24
|
+
},
|
|
25
|
+
"sections": {
|
|
26
|
+
"type": "array",
|
|
27
|
+
"items": {
|
|
28
|
+
"type": "string"
|
|
29
|
+
},
|
|
30
|
+
"description": "Section IDs to show"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"additionalProperties": false
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
37
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/RecordHighlightsProps",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"RecordHighlightsProps": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"fields": {
|
|
8
|
+
"type": "array",
|
|
9
|
+
"items": {
|
|
10
|
+
"type": "string"
|
|
11
|
+
},
|
|
12
|
+
"minItems": 1,
|
|
13
|
+
"maxItems": 7,
|
|
14
|
+
"description": "Key fields to highlights (max 7)"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"required": [
|
|
18
|
+
"fields"
|
|
19
|
+
],
|
|
20
|
+
"additionalProperties": false
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
24
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/RecordRelatedListProps",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"RecordRelatedListProps": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"objectName": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"description": "Related object name"
|
|
10
|
+
},
|
|
11
|
+
"relationshipField": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"description": "Field on related object that points to this record"
|
|
14
|
+
},
|
|
15
|
+
"columns": {
|
|
16
|
+
"type": "array",
|
|
17
|
+
"items": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
20
|
+
"description": "Fields to display"
|
|
21
|
+
},
|
|
22
|
+
"sort": {
|
|
23
|
+
"type": "string"
|
|
24
|
+
},
|
|
25
|
+
"limit": {
|
|
26
|
+
"type": "number",
|
|
27
|
+
"default": 5
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"required": [
|
|
31
|
+
"objectName",
|
|
32
|
+
"relationshipField",
|
|
33
|
+
"columns"
|
|
34
|
+
],
|
|
35
|
+
"additionalProperties": false
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
39
|
+
}
|
|
@@ -6,7 +6,9 @@
|
|
|
6
6
|
"properties": {
|
|
7
7
|
"id": {
|
|
8
8
|
"type": "string",
|
|
9
|
-
"
|
|
9
|
+
"minLength": 2,
|
|
10
|
+
"pattern": "^[a-z][a-z0-9_]*$",
|
|
11
|
+
"description": "Unique identifier for this navigation item (lowercase snake_case)"
|
|
10
12
|
},
|
|
11
13
|
"label": {
|
|
12
14
|
"type": "string",
|