@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
|
@@ -0,0 +1,515 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* Schema for the ObjectStack Manifest.
|
|
4
|
+
* This defines the structure of a package configuration in the ObjectStack ecosystem.
|
|
5
|
+
* All packages (apps, plugins, drivers, modules) must conform to this schema.
|
|
6
|
+
*/
|
|
7
|
+
export declare const ManifestSchema: z.ZodObject<{
|
|
8
|
+
/**
|
|
9
|
+
* Unique package identifier using reverse domain notation.
|
|
10
|
+
* Example: "com.example.crm"
|
|
11
|
+
*/
|
|
12
|
+
id: z.ZodString;
|
|
13
|
+
/**
|
|
14
|
+
* Package version following semantic versioning (major.minor.patch).
|
|
15
|
+
* Example: "1.0.0"
|
|
16
|
+
*/
|
|
17
|
+
version: z.ZodString;
|
|
18
|
+
/**
|
|
19
|
+
* Type of the package in the ObjectStack ecosystem.
|
|
20
|
+
* - app: Standalone application
|
|
21
|
+
* - plugin: Extension to ObjectOS
|
|
22
|
+
* - driver: Low-level integration driver
|
|
23
|
+
* - module: Reusable code module
|
|
24
|
+
*/
|
|
25
|
+
type: z.ZodEnum<["app", "plugin", "driver", "module"]>;
|
|
26
|
+
/**
|
|
27
|
+
* Human-readable name of the package.
|
|
28
|
+
*/
|
|
29
|
+
name: z.ZodString;
|
|
30
|
+
/**
|
|
31
|
+
* Brief description of the package functionality.
|
|
32
|
+
*/
|
|
33
|
+
description: z.ZodOptional<z.ZodString>;
|
|
34
|
+
/**
|
|
35
|
+
* Array of permission strings that the package requires.
|
|
36
|
+
* Example: ["system.user.read", "system.data.write"]
|
|
37
|
+
*/
|
|
38
|
+
permissions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
39
|
+
/**
|
|
40
|
+
* Glob patterns specifying ObjectQL schemas files (typically *.object.yml or *.object.ts).
|
|
41
|
+
* Example: `["./src/objects/*.object.yml"]`
|
|
42
|
+
*/
|
|
43
|
+
objects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
44
|
+
/**
|
|
45
|
+
* Defines system level DataSources.
|
|
46
|
+
*/
|
|
47
|
+
datasources: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
48
|
+
/**
|
|
49
|
+
* Package Dependencies.
|
|
50
|
+
* Map of package IDs to version requirements.
|
|
51
|
+
*/
|
|
52
|
+
dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
53
|
+
/**
|
|
54
|
+
* Plugin Configuration Schema.
|
|
55
|
+
* Defines the settings this plugin exposes to the user.
|
|
56
|
+
* Uses a simplified JSON Schema format.
|
|
57
|
+
*/
|
|
58
|
+
configuration: z.ZodOptional<z.ZodObject<{
|
|
59
|
+
title: z.ZodOptional<z.ZodString>;
|
|
60
|
+
properties: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
61
|
+
type: z.ZodEnum<["string", "number", "boolean", "array", "object"]>;
|
|
62
|
+
default: z.ZodOptional<z.ZodAny>;
|
|
63
|
+
description: z.ZodOptional<z.ZodString>;
|
|
64
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
65
|
+
secret: z.ZodOptional<z.ZodBoolean>;
|
|
66
|
+
enum: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
67
|
+
}, "strip", z.ZodTypeAny, {
|
|
68
|
+
type: "string" | "number" | "boolean" | "object" | "array";
|
|
69
|
+
required?: boolean | undefined;
|
|
70
|
+
default?: any;
|
|
71
|
+
description?: string | undefined;
|
|
72
|
+
secret?: boolean | undefined;
|
|
73
|
+
enum?: string[] | undefined;
|
|
74
|
+
}, {
|
|
75
|
+
type: "string" | "number" | "boolean" | "object" | "array";
|
|
76
|
+
required?: boolean | undefined;
|
|
77
|
+
default?: any;
|
|
78
|
+
description?: string | undefined;
|
|
79
|
+
secret?: boolean | undefined;
|
|
80
|
+
enum?: string[] | undefined;
|
|
81
|
+
}>>;
|
|
82
|
+
}, "strip", z.ZodTypeAny, {
|
|
83
|
+
properties: Record<string, {
|
|
84
|
+
type: "string" | "number" | "boolean" | "object" | "array";
|
|
85
|
+
required?: boolean | undefined;
|
|
86
|
+
default?: any;
|
|
87
|
+
description?: string | undefined;
|
|
88
|
+
secret?: boolean | undefined;
|
|
89
|
+
enum?: string[] | undefined;
|
|
90
|
+
}>;
|
|
91
|
+
title?: string | undefined;
|
|
92
|
+
}, {
|
|
93
|
+
properties: Record<string, {
|
|
94
|
+
type: "string" | "number" | "boolean" | "object" | "array";
|
|
95
|
+
required?: boolean | undefined;
|
|
96
|
+
default?: any;
|
|
97
|
+
description?: string | undefined;
|
|
98
|
+
secret?: boolean | undefined;
|
|
99
|
+
enum?: string[] | undefined;
|
|
100
|
+
}>;
|
|
101
|
+
title?: string | undefined;
|
|
102
|
+
}>>;
|
|
103
|
+
/**
|
|
104
|
+
* Contribution Points (VS Code Style).
|
|
105
|
+
* formalized way to extend the platform capabilities.
|
|
106
|
+
*/
|
|
107
|
+
contributes: z.ZodOptional<z.ZodObject<{
|
|
108
|
+
/**
|
|
109
|
+
* Register new Metadata Kinds (CRDs).
|
|
110
|
+
* Enables the system to parse and validate new file types.
|
|
111
|
+
* Example: Registering a BI plugin to handle *.report.ts
|
|
112
|
+
*/
|
|
113
|
+
kinds: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
114
|
+
id: z.ZodString;
|
|
115
|
+
globs: z.ZodArray<z.ZodString, "many">;
|
|
116
|
+
description: z.ZodOptional<z.ZodString>;
|
|
117
|
+
}, "strip", z.ZodTypeAny, {
|
|
118
|
+
id: string;
|
|
119
|
+
globs: string[];
|
|
120
|
+
description?: string | undefined;
|
|
121
|
+
}, {
|
|
122
|
+
id: string;
|
|
123
|
+
globs: string[];
|
|
124
|
+
description?: string | undefined;
|
|
125
|
+
}>, "many">>;
|
|
126
|
+
/**
|
|
127
|
+
* Register System Hooks.
|
|
128
|
+
* Declares that this plugin listens to specific system events.
|
|
129
|
+
*/
|
|
130
|
+
events: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
131
|
+
/**
|
|
132
|
+
* Register UI Menus.
|
|
133
|
+
*/
|
|
134
|
+
menus: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
135
|
+
id: z.ZodString;
|
|
136
|
+
label: z.ZodString;
|
|
137
|
+
command: z.ZodOptional<z.ZodString>;
|
|
138
|
+
}, "strip", z.ZodTypeAny, {
|
|
139
|
+
label: string;
|
|
140
|
+
id: string;
|
|
141
|
+
command?: string | undefined;
|
|
142
|
+
}, {
|
|
143
|
+
label: string;
|
|
144
|
+
id: string;
|
|
145
|
+
command?: string | undefined;
|
|
146
|
+
}>, "many">>>;
|
|
147
|
+
/**
|
|
148
|
+
* Register Custom Themes.
|
|
149
|
+
*/
|
|
150
|
+
themes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
151
|
+
id: z.ZodString;
|
|
152
|
+
label: z.ZodString;
|
|
153
|
+
path: z.ZodString;
|
|
154
|
+
}, "strip", z.ZodTypeAny, {
|
|
155
|
+
path: string;
|
|
156
|
+
label: string;
|
|
157
|
+
id: string;
|
|
158
|
+
}, {
|
|
159
|
+
path: string;
|
|
160
|
+
label: string;
|
|
161
|
+
id: string;
|
|
162
|
+
}>, "many">>;
|
|
163
|
+
/**
|
|
164
|
+
* Register Translations.
|
|
165
|
+
* Path to translation files (e.g. "locales/en.json").
|
|
166
|
+
*/
|
|
167
|
+
translations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
168
|
+
locale: z.ZodString;
|
|
169
|
+
path: z.ZodString;
|
|
170
|
+
}, "strip", z.ZodTypeAny, {
|
|
171
|
+
path: string;
|
|
172
|
+
locale: string;
|
|
173
|
+
}, {
|
|
174
|
+
path: string;
|
|
175
|
+
locale: string;
|
|
176
|
+
}>, "many">>;
|
|
177
|
+
/**
|
|
178
|
+
* Register Server Actions.
|
|
179
|
+
* Invocable functions exposed to Flows or API.
|
|
180
|
+
*/
|
|
181
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
182
|
+
name: z.ZodString;
|
|
183
|
+
label: z.ZodOptional<z.ZodString>;
|
|
184
|
+
description: z.ZodOptional<z.ZodString>;
|
|
185
|
+
input: z.ZodOptional<z.ZodAny>;
|
|
186
|
+
output: z.ZodOptional<z.ZodAny>;
|
|
187
|
+
}, "strip", z.ZodTypeAny, {
|
|
188
|
+
name: string;
|
|
189
|
+
label?: string | undefined;
|
|
190
|
+
description?: string | undefined;
|
|
191
|
+
input?: any;
|
|
192
|
+
output?: any;
|
|
193
|
+
}, {
|
|
194
|
+
name: string;
|
|
195
|
+
label?: string | undefined;
|
|
196
|
+
description?: string | undefined;
|
|
197
|
+
input?: any;
|
|
198
|
+
output?: any;
|
|
199
|
+
}>, "many">>;
|
|
200
|
+
/**
|
|
201
|
+
* Register Storage Drivers.
|
|
202
|
+
* Enables connecting to new types of datasources.
|
|
203
|
+
*/
|
|
204
|
+
drivers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
205
|
+
id: z.ZodString;
|
|
206
|
+
label: z.ZodString;
|
|
207
|
+
description: z.ZodOptional<z.ZodString>;
|
|
208
|
+
}, "strip", z.ZodTypeAny, {
|
|
209
|
+
label: string;
|
|
210
|
+
id: string;
|
|
211
|
+
description?: string | undefined;
|
|
212
|
+
}, {
|
|
213
|
+
label: string;
|
|
214
|
+
id: string;
|
|
215
|
+
description?: string | undefined;
|
|
216
|
+
}>, "many">>;
|
|
217
|
+
/**
|
|
218
|
+
* Register Custom Field Types.
|
|
219
|
+
* Extends the data model with new widget types.
|
|
220
|
+
*/
|
|
221
|
+
fieldTypes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
222
|
+
name: z.ZodString;
|
|
223
|
+
label: z.ZodString;
|
|
224
|
+
description: z.ZodOptional<z.ZodString>;
|
|
225
|
+
}, "strip", z.ZodTypeAny, {
|
|
226
|
+
label: string;
|
|
227
|
+
name: string;
|
|
228
|
+
description?: string | undefined;
|
|
229
|
+
}, {
|
|
230
|
+
label: string;
|
|
231
|
+
name: string;
|
|
232
|
+
description?: string | undefined;
|
|
233
|
+
}>, "many">>;
|
|
234
|
+
/**
|
|
235
|
+
* Register Custom Query Operators/Functions.
|
|
236
|
+
* Extends ObjectQL with new functions (e.g. distance()).
|
|
237
|
+
*/
|
|
238
|
+
functions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
239
|
+
name: z.ZodString;
|
|
240
|
+
description: z.ZodOptional<z.ZodString>;
|
|
241
|
+
args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
242
|
+
returnType: z.ZodOptional<z.ZodString>;
|
|
243
|
+
}, "strip", z.ZodTypeAny, {
|
|
244
|
+
name: string;
|
|
245
|
+
description?: string | undefined;
|
|
246
|
+
args?: string[] | undefined;
|
|
247
|
+
returnType?: string | undefined;
|
|
248
|
+
}, {
|
|
249
|
+
name: string;
|
|
250
|
+
description?: string | undefined;
|
|
251
|
+
args?: string[] | undefined;
|
|
252
|
+
returnType?: string | undefined;
|
|
253
|
+
}>, "many">>;
|
|
254
|
+
}, "strip", z.ZodTypeAny, {
|
|
255
|
+
events?: string[] | undefined;
|
|
256
|
+
fieldTypes?: {
|
|
257
|
+
label: string;
|
|
258
|
+
name: string;
|
|
259
|
+
description?: string | undefined;
|
|
260
|
+
}[] | undefined;
|
|
261
|
+
actions?: {
|
|
262
|
+
name: string;
|
|
263
|
+
label?: string | undefined;
|
|
264
|
+
description?: string | undefined;
|
|
265
|
+
input?: any;
|
|
266
|
+
output?: any;
|
|
267
|
+
}[] | undefined;
|
|
268
|
+
kinds?: {
|
|
269
|
+
id: string;
|
|
270
|
+
globs: string[];
|
|
271
|
+
description?: string | undefined;
|
|
272
|
+
}[] | undefined;
|
|
273
|
+
menus?: Record<string, {
|
|
274
|
+
label: string;
|
|
275
|
+
id: string;
|
|
276
|
+
command?: string | undefined;
|
|
277
|
+
}[]> | undefined;
|
|
278
|
+
themes?: {
|
|
279
|
+
path: string;
|
|
280
|
+
label: string;
|
|
281
|
+
id: string;
|
|
282
|
+
}[] | undefined;
|
|
283
|
+
translations?: {
|
|
284
|
+
path: string;
|
|
285
|
+
locale: string;
|
|
286
|
+
}[] | undefined;
|
|
287
|
+
drivers?: {
|
|
288
|
+
label: string;
|
|
289
|
+
id: string;
|
|
290
|
+
description?: string | undefined;
|
|
291
|
+
}[] | undefined;
|
|
292
|
+
functions?: {
|
|
293
|
+
name: string;
|
|
294
|
+
description?: string | undefined;
|
|
295
|
+
args?: string[] | undefined;
|
|
296
|
+
returnType?: string | undefined;
|
|
297
|
+
}[] | undefined;
|
|
298
|
+
}, {
|
|
299
|
+
events?: string[] | undefined;
|
|
300
|
+
fieldTypes?: {
|
|
301
|
+
label: string;
|
|
302
|
+
name: string;
|
|
303
|
+
description?: string | undefined;
|
|
304
|
+
}[] | undefined;
|
|
305
|
+
actions?: {
|
|
306
|
+
name: string;
|
|
307
|
+
label?: string | undefined;
|
|
308
|
+
description?: string | undefined;
|
|
309
|
+
input?: any;
|
|
310
|
+
output?: any;
|
|
311
|
+
}[] | undefined;
|
|
312
|
+
kinds?: {
|
|
313
|
+
id: string;
|
|
314
|
+
globs: string[];
|
|
315
|
+
description?: string | undefined;
|
|
316
|
+
}[] | undefined;
|
|
317
|
+
menus?: Record<string, {
|
|
318
|
+
label: string;
|
|
319
|
+
id: string;
|
|
320
|
+
command?: string | undefined;
|
|
321
|
+
}[]> | undefined;
|
|
322
|
+
themes?: {
|
|
323
|
+
path: string;
|
|
324
|
+
label: string;
|
|
325
|
+
id: string;
|
|
326
|
+
}[] | undefined;
|
|
327
|
+
translations?: {
|
|
328
|
+
path: string;
|
|
329
|
+
locale: string;
|
|
330
|
+
}[] | undefined;
|
|
331
|
+
drivers?: {
|
|
332
|
+
label: string;
|
|
333
|
+
id: string;
|
|
334
|
+
description?: string | undefined;
|
|
335
|
+
}[] | undefined;
|
|
336
|
+
functions?: {
|
|
337
|
+
name: string;
|
|
338
|
+
description?: string | undefined;
|
|
339
|
+
args?: string[] | undefined;
|
|
340
|
+
returnType?: string | undefined;
|
|
341
|
+
}[] | undefined;
|
|
342
|
+
}>>;
|
|
343
|
+
/**
|
|
344
|
+
* Initial data seeding configuration.
|
|
345
|
+
* Defines default records to be inserted when the package is installed.
|
|
346
|
+
*/
|
|
347
|
+
data: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
348
|
+
object: z.ZodString;
|
|
349
|
+
records: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">;
|
|
350
|
+
mode: z.ZodDefault<z.ZodEnum<["upsert", "insert", "ignore"]>>;
|
|
351
|
+
}, "strip", z.ZodTypeAny, {
|
|
352
|
+
object: string;
|
|
353
|
+
mode: "insert" | "upsert" | "ignore";
|
|
354
|
+
records: Record<string, any>[];
|
|
355
|
+
}, {
|
|
356
|
+
object: string;
|
|
357
|
+
records: Record<string, any>[];
|
|
358
|
+
mode?: "insert" | "upsert" | "ignore" | undefined;
|
|
359
|
+
}>, "many">>;
|
|
360
|
+
/**
|
|
361
|
+
* Extension points contributed by this package.
|
|
362
|
+
* Allows packages to extend UI components, add functionality, etc.
|
|
363
|
+
*/
|
|
364
|
+
extensions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
365
|
+
}, "strip", z.ZodTypeAny, {
|
|
366
|
+
type: "app" | "module" | "plugin" | "driver";
|
|
367
|
+
name: string;
|
|
368
|
+
id: string;
|
|
369
|
+
version: string;
|
|
370
|
+
description?: string | undefined;
|
|
371
|
+
objects?: string[] | undefined;
|
|
372
|
+
data?: {
|
|
373
|
+
object: string;
|
|
374
|
+
mode: "insert" | "upsert" | "ignore";
|
|
375
|
+
records: Record<string, any>[];
|
|
376
|
+
}[] | undefined;
|
|
377
|
+
dependencies?: Record<string, string> | undefined;
|
|
378
|
+
permissions?: string[] | undefined;
|
|
379
|
+
datasources?: string[] | undefined;
|
|
380
|
+
configuration?: {
|
|
381
|
+
properties: Record<string, {
|
|
382
|
+
type: "string" | "number" | "boolean" | "object" | "array";
|
|
383
|
+
required?: boolean | undefined;
|
|
384
|
+
default?: any;
|
|
385
|
+
description?: string | undefined;
|
|
386
|
+
secret?: boolean | undefined;
|
|
387
|
+
enum?: string[] | undefined;
|
|
388
|
+
}>;
|
|
389
|
+
title?: string | undefined;
|
|
390
|
+
} | undefined;
|
|
391
|
+
contributes?: {
|
|
392
|
+
events?: string[] | undefined;
|
|
393
|
+
fieldTypes?: {
|
|
394
|
+
label: string;
|
|
395
|
+
name: string;
|
|
396
|
+
description?: string | undefined;
|
|
397
|
+
}[] | undefined;
|
|
398
|
+
actions?: {
|
|
399
|
+
name: string;
|
|
400
|
+
label?: string | undefined;
|
|
401
|
+
description?: string | undefined;
|
|
402
|
+
input?: any;
|
|
403
|
+
output?: any;
|
|
404
|
+
}[] | undefined;
|
|
405
|
+
kinds?: {
|
|
406
|
+
id: string;
|
|
407
|
+
globs: string[];
|
|
408
|
+
description?: string | undefined;
|
|
409
|
+
}[] | undefined;
|
|
410
|
+
menus?: Record<string, {
|
|
411
|
+
label: string;
|
|
412
|
+
id: string;
|
|
413
|
+
command?: string | undefined;
|
|
414
|
+
}[]> | undefined;
|
|
415
|
+
themes?: {
|
|
416
|
+
path: string;
|
|
417
|
+
label: string;
|
|
418
|
+
id: string;
|
|
419
|
+
}[] | undefined;
|
|
420
|
+
translations?: {
|
|
421
|
+
path: string;
|
|
422
|
+
locale: string;
|
|
423
|
+
}[] | undefined;
|
|
424
|
+
drivers?: {
|
|
425
|
+
label: string;
|
|
426
|
+
id: string;
|
|
427
|
+
description?: string | undefined;
|
|
428
|
+
}[] | undefined;
|
|
429
|
+
functions?: {
|
|
430
|
+
name: string;
|
|
431
|
+
description?: string | undefined;
|
|
432
|
+
args?: string[] | undefined;
|
|
433
|
+
returnType?: string | undefined;
|
|
434
|
+
}[] | undefined;
|
|
435
|
+
} | undefined;
|
|
436
|
+
extensions?: Record<string, any> | undefined;
|
|
437
|
+
}, {
|
|
438
|
+
type: "app" | "module" | "plugin" | "driver";
|
|
439
|
+
name: string;
|
|
440
|
+
id: string;
|
|
441
|
+
version: string;
|
|
442
|
+
description?: string | undefined;
|
|
443
|
+
objects?: string[] | undefined;
|
|
444
|
+
data?: {
|
|
445
|
+
object: string;
|
|
446
|
+
records: Record<string, any>[];
|
|
447
|
+
mode?: "insert" | "upsert" | "ignore" | undefined;
|
|
448
|
+
}[] | undefined;
|
|
449
|
+
dependencies?: Record<string, string> | undefined;
|
|
450
|
+
permissions?: string[] | undefined;
|
|
451
|
+
datasources?: string[] | undefined;
|
|
452
|
+
configuration?: {
|
|
453
|
+
properties: Record<string, {
|
|
454
|
+
type: "string" | "number" | "boolean" | "object" | "array";
|
|
455
|
+
required?: boolean | undefined;
|
|
456
|
+
default?: any;
|
|
457
|
+
description?: string | undefined;
|
|
458
|
+
secret?: boolean | undefined;
|
|
459
|
+
enum?: string[] | undefined;
|
|
460
|
+
}>;
|
|
461
|
+
title?: string | undefined;
|
|
462
|
+
} | undefined;
|
|
463
|
+
contributes?: {
|
|
464
|
+
events?: string[] | undefined;
|
|
465
|
+
fieldTypes?: {
|
|
466
|
+
label: string;
|
|
467
|
+
name: string;
|
|
468
|
+
description?: string | undefined;
|
|
469
|
+
}[] | undefined;
|
|
470
|
+
actions?: {
|
|
471
|
+
name: string;
|
|
472
|
+
label?: string | undefined;
|
|
473
|
+
description?: string | undefined;
|
|
474
|
+
input?: any;
|
|
475
|
+
output?: any;
|
|
476
|
+
}[] | undefined;
|
|
477
|
+
kinds?: {
|
|
478
|
+
id: string;
|
|
479
|
+
globs: string[];
|
|
480
|
+
description?: string | undefined;
|
|
481
|
+
}[] | undefined;
|
|
482
|
+
menus?: Record<string, {
|
|
483
|
+
label: string;
|
|
484
|
+
id: string;
|
|
485
|
+
command?: string | undefined;
|
|
486
|
+
}[]> | undefined;
|
|
487
|
+
themes?: {
|
|
488
|
+
path: string;
|
|
489
|
+
label: string;
|
|
490
|
+
id: string;
|
|
491
|
+
}[] | undefined;
|
|
492
|
+
translations?: {
|
|
493
|
+
path: string;
|
|
494
|
+
locale: string;
|
|
495
|
+
}[] | undefined;
|
|
496
|
+
drivers?: {
|
|
497
|
+
label: string;
|
|
498
|
+
id: string;
|
|
499
|
+
description?: string | undefined;
|
|
500
|
+
}[] | undefined;
|
|
501
|
+
functions?: {
|
|
502
|
+
name: string;
|
|
503
|
+
description?: string | undefined;
|
|
504
|
+
args?: string[] | undefined;
|
|
505
|
+
returnType?: string | undefined;
|
|
506
|
+
}[] | undefined;
|
|
507
|
+
} | undefined;
|
|
508
|
+
extensions?: Record<string, any> | undefined;
|
|
509
|
+
}>;
|
|
510
|
+
/**
|
|
511
|
+
* TypeScript type inferred from the ManifestSchema.
|
|
512
|
+
* Use this type for type-safe manifest handling in TypeScript code.
|
|
513
|
+
*/
|
|
514
|
+
export type ObjectStackManifest = z.infer<typeof ManifestSchema>;
|
|
515
|
+
//# sourceMappingURL=manifest.zod.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"manifest.zod.d.ts","sourceRoot":"","sources":["../../src/system/manifest.zod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;GAIG;AACH,eAAO,MAAM,cAAc;IACzB;;;OAGG;;IAGH;;;OAGG;;IAGH;;;;;;OAMG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;;OAGG;;IAGH;;;OAGG;;IAGH;;OAEG;;IAGH;;;OAGG;;IAGH;;;;OAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAaH;;;OAGG;;QAED;;;;WAIG;;;;;;;;;;;;;;QAOH;;;WAGG;;QAGH;;WAEG;;;;;;;;;;;;;;QAOH;;WAEG;;;;;;;;;;;;;;QAOH;;;WAGG;;;;;;;;;;;QAMH;;;WAGG;;;;;;;;;;;;;;;;;;;;QASH;;;WAGG;;;;;;;;;;;;;;QAOH;;;WAGG;;;;;;;;;;;;;;QAOH;;;WAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IASL;;;OAGG;;;;;;;;;;;;;;IAOH;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEH,CAAC;AAEH;;;GAGG;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC"}
|
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ManifestSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
const object_zod_1 = require("../data/object.zod");
|
|
6
|
-
const datasource_zod_1 = require("../driver/datasource.zod");
|
|
7
5
|
/**
|
|
8
6
|
* Schema for the ObjectStack Manifest.
|
|
9
7
|
* This defines the structure of a package configuration in the ObjectStack ecosystem.
|
|
@@ -46,16 +44,6 @@ exports.ManifestSchema = zod_1.z.object({
|
|
|
46
44
|
* Example: `["./src/objects/*.object.yml"]`
|
|
47
45
|
*/
|
|
48
46
|
objects: zod_1.z.array(zod_1.z.string()).optional().describe('Glob patterns for ObjectQL schemas files'),
|
|
49
|
-
/**
|
|
50
|
-
* Inline/Compiled Definitions (Compiler Output).
|
|
51
|
-
* Populated by Cloud Composer or Build Tools.
|
|
52
|
-
* If present, Runtime should prioritize these over glob scanning.
|
|
53
|
-
*/
|
|
54
|
-
definitions: zod_1.z.object({
|
|
55
|
-
objects: zod_1.z.record(object_zod_1.ObjectSchema).optional().describe('Map of compiled Object Schemas (Name -> Schema)'),
|
|
56
|
-
datasource: zod_1.z.record(datasource_zod_1.DatasourceSchema).optional().describe('Map of compiled Datasource Schemas'),
|
|
57
|
-
// Add other resource types as needed (flows, views, apps)
|
|
58
|
-
}).optional().describe('Inline resource definitions (for serverless/compiled runtimes)'),
|
|
59
47
|
/**
|
|
60
48
|
* Defines system level DataSources.
|
|
61
49
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.zod.d.ts","sourceRoot":"","sources":["../../src/
|
|
1
|
+
{"version":3,"file":"plugin.zod.d.ts","sourceRoot":"","sources":["../../src/system/plugin.zod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;GAEG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;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AC,CAAC;AACzE,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC"}
|
|
@@ -36,13 +36,13 @@ export declare const ScopedStorageConfigSchema: z.ZodObject<{
|
|
|
36
36
|
quota: z.ZodOptional<z.ZodNumber>;
|
|
37
37
|
}, "strip", z.ZodTypeAny, {
|
|
38
38
|
location: string;
|
|
39
|
-
scope: "data" | "config" | "
|
|
39
|
+
scope: "data" | "config" | "temp" | "cache" | "logs" | "public";
|
|
40
40
|
adapter: "s3" | "gcs" | "local" | "memory" | "azure" | "gridfs";
|
|
41
41
|
options?: Record<string, any> | undefined;
|
|
42
42
|
quota?: number | undefined;
|
|
43
43
|
}, {
|
|
44
44
|
location: string;
|
|
45
|
-
scope: "data" | "config" | "
|
|
45
|
+
scope: "data" | "config" | "temp" | "cache" | "logs" | "public";
|
|
46
46
|
options?: Record<string, any> | undefined;
|
|
47
47
|
adapter?: "s3" | "gcs" | "local" | "memory" | "azure" | "gridfs" | undefined;
|
|
48
48
|
quota?: number | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scoped-storage.zod.d.ts","sourceRoot":"","sources":["../../src/
|
|
1
|
+
{"version":3,"file":"scoped-storage.zod.d.ts","sourceRoot":"","sources":["../../src/system/scoped-storage.zod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;GAGG;AACH,eAAO,MAAM,YAAY,kEAO0B,CAAC;AAEpD,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAExD;;GAEG;AACH,eAAO,MAAM,kBAAkB,gEAO7B,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,yBAAyB;IACpC;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;;;;;;;;;;;;;EAEH,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE5E;;;GAGG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;EAQ7B,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
|