@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"composer.zod.d.ts","sourceRoot":"","sources":["../../src/hub/composer.zod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;;;;;GAMG;AAEH;;;GAGG;AACH,eAAO,MAAM,2BAA2B;;;IAItC;;;;OAIG;;IAGH;;;OAGG;;;;;;;;;;;;EAEH,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,qBAAqB;;IAGhC;;;OAGG;;;;QAzBH;;;;WAIG;;QAGH;;;WAGG;;;;;;;;;;;;;IAkBH;;;OAGG;;IAGH;;;OAGG;;;;;;;;;;;;;;;;;;;;;;EAGH,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;EAM/B,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,qBAAqB;;;QApChC;;;WAGG;;;;YAzBH;;;;eAIG;;YAGH;;;eAGG;;;;;;;;;;;;;QAkBH;;;WAGG;;QAGH;;;WAGG;;;;;;;;;;;;;;;;;;;;;;;IAwBH;;;OAGG;;IAGH;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEH,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,sBAAsB;;IAGjC;;;OAGG
|
|
1
|
+
{"version":3,"file":"composer.zod.d.ts","sourceRoot":"","sources":["../../src/hub/composer.zod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;;;;;GAMG;AAEH;;;GAGG;AACH,eAAO,MAAM,2BAA2B;;;IAItC;;;;OAIG;;IAGH;;;OAGG;;;;;;;;;;;;EAEH,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,qBAAqB;;IAGhC;;;OAGG;;;;QAzBH;;;;WAIG;;QAGH;;;WAGG;;;;;;;;;;;;;IAkBH;;;OAGG;;IAGH;;;OAGG;;;;;;;;;;;;;;;;;;;;;;EAGH,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;EAM/B,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,qBAAqB;;;QApChC;;;WAGG;;;;YAzBH;;;;eAIG;;YAGH;;;eAGG;;;;;;;;;;;;;QAkBH;;;WAGG;;QAGH;;;WAGG;;;;;;;;;;;;;;;;;;;;;;;IAwBH;;;OAGG;;IAGH;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEH,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,sBAAsB;;IAGjC;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAGH;;;OAGG;;IAGH;;OAEG;;;;IAKH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGH,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACpE,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACpE,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
|
package/dist/hub/composer.zod.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ComposerResponseSchema = exports.ComposerRequestSchema = exports.ConflictReportSchema = exports.BillOfMaterialsSchema = exports.DependencyRequirementSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
const manifest_zod_1 = require("../
|
|
5
|
+
const manifest_zod_1 = require("../system/manifest.zod");
|
|
6
6
|
/**
|
|
7
7
|
* # Cloud Composer Protocol
|
|
8
8
|
*
|
|
@@ -18,7 +18,7 @@ export declare const FeatureSchema: z.ZodObject<{
|
|
|
18
18
|
requires: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
19
19
|
}, "strip", z.ZodTypeAny, {
|
|
20
20
|
code: string;
|
|
21
|
-
type: "boolean" | "
|
|
21
|
+
type: "boolean" | "gauge" | "counter";
|
|
22
22
|
label: string;
|
|
23
23
|
description?: string | undefined;
|
|
24
24
|
unit?: "count" | "percent" | "bytes" | "seconds" | undefined;
|
|
@@ -26,7 +26,7 @@ export declare const FeatureSchema: z.ZodObject<{
|
|
|
26
26
|
}, {
|
|
27
27
|
code: string;
|
|
28
28
|
label: string;
|
|
29
|
-
type?: "boolean" | "
|
|
29
|
+
type?: "boolean" | "gauge" | "counter" | undefined;
|
|
30
30
|
description?: string | undefined;
|
|
31
31
|
unit?: "count" | "percent" | "bytes" | "seconds" | undefined;
|
|
32
32
|
requires?: string[] | undefined;
|
|
@@ -135,17 +135,17 @@ export declare const MarketplacePluginSchema: z.ZodObject<{
|
|
|
135
135
|
version: string;
|
|
136
136
|
verified: boolean;
|
|
137
137
|
rating?: number | undefined;
|
|
138
|
-
description?: string | undefined;
|
|
139
138
|
tags?: string[] | undefined;
|
|
139
|
+
description?: string | undefined;
|
|
140
140
|
icon?: string | undefined;
|
|
141
|
-
|
|
141
|
+
category?: "theme" | "app" | "utility" | "integration" | "driver" | undefined;
|
|
142
142
|
author?: {
|
|
143
143
|
name: string;
|
|
144
144
|
email?: string | undefined;
|
|
145
145
|
url?: string | undefined;
|
|
146
146
|
} | undefined;
|
|
147
|
-
category?: "theme" | "driver" | "app" | "utility" | "integration" | undefined;
|
|
148
147
|
screenshots?: string[] | undefined;
|
|
148
|
+
readme?: string | undefined;
|
|
149
149
|
homepage?: string | undefined;
|
|
150
150
|
repository?: string | undefined;
|
|
151
151
|
bugs?: string | undefined;
|
|
@@ -162,17 +162,17 @@ export declare const MarketplacePluginSchema: z.ZodObject<{
|
|
|
162
162
|
id: string;
|
|
163
163
|
version: string;
|
|
164
164
|
rating?: number | undefined;
|
|
165
|
-
description?: string | undefined;
|
|
166
165
|
tags?: string[] | undefined;
|
|
166
|
+
description?: string | undefined;
|
|
167
167
|
icon?: string | undefined;
|
|
168
|
-
|
|
168
|
+
category?: "theme" | "app" | "utility" | "integration" | "driver" | undefined;
|
|
169
169
|
author?: {
|
|
170
170
|
name: string;
|
|
171
171
|
email?: string | undefined;
|
|
172
172
|
url?: string | undefined;
|
|
173
173
|
} | undefined;
|
|
174
|
-
category?: "theme" | "driver" | "app" | "utility" | "integration" | undefined;
|
|
175
174
|
screenshots?: string[] | undefined;
|
|
175
|
+
readme?: string | undefined;
|
|
176
176
|
homepage?: string | undefined;
|
|
177
177
|
repository?: string | undefined;
|
|
178
178
|
bugs?: string | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -36,15 +36,15 @@
|
|
|
36
36
|
* const user: User = { id: 'u1', email: 'user@example.com' };
|
|
37
37
|
* ```
|
|
38
38
|
*/
|
|
39
|
+
export * as Shared from './shared';
|
|
39
40
|
export * as Data from './data';
|
|
40
|
-
export * as Driver from './driver';
|
|
41
41
|
export * as Permission from './permission';
|
|
42
42
|
export * as UI from './ui';
|
|
43
43
|
export * as System from './system';
|
|
44
44
|
export * as Auth from './auth';
|
|
45
|
-
export * as Kernel from './kernel';
|
|
46
45
|
export * as Hub from './hub';
|
|
47
46
|
export * as AI from './ai';
|
|
48
47
|
export * as API from './api';
|
|
49
48
|
export * as Automation from './automation';
|
|
49
|
+
export * from './stack.zod';
|
|
50
50
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AAOH,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AAOH,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAC/B,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,EAAE,MAAM,MAAM,CAAC;AAC3B,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAC/B,OAAO,KAAK,GAAG,MAAM,OAAO,CAAC;AAC7B,OAAO,KAAK,EAAE,MAAM,MAAM,CAAC;AAC3B,OAAO,KAAK,GAAG,MAAM,OAAO,CAAC;AAC7B,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAE3C,cAAc,aAAa,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -70,21 +70,24 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
70
70
|
return result;
|
|
71
71
|
};
|
|
72
72
|
})();
|
|
73
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
74
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
75
|
+
};
|
|
73
76
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
74
|
-
exports.Automation = exports.API = exports.AI = exports.Hub = exports.
|
|
77
|
+
exports.Automation = exports.API = exports.AI = exports.Hub = exports.Auth = exports.System = exports.UI = exports.Permission = exports.Data = exports.Shared = void 0;
|
|
75
78
|
// ============================================================================
|
|
76
79
|
// NAMESPACE EXPORTS
|
|
77
80
|
// ============================================================================
|
|
78
81
|
// Export protocol domains as namespaces to prevent naming conflicts
|
|
79
82
|
// and establish clear boundaries between different protocol layers.
|
|
83
|
+
exports.Shared = __importStar(require("./shared"));
|
|
80
84
|
exports.Data = __importStar(require("./data"));
|
|
81
|
-
exports.Driver = __importStar(require("./driver"));
|
|
82
85
|
exports.Permission = __importStar(require("./permission"));
|
|
83
86
|
exports.UI = __importStar(require("./ui"));
|
|
84
87
|
exports.System = __importStar(require("./system"));
|
|
85
88
|
exports.Auth = __importStar(require("./auth"));
|
|
86
|
-
exports.Kernel = __importStar(require("./kernel"));
|
|
87
89
|
exports.Hub = __importStar(require("./hub"));
|
|
88
90
|
exports.AI = __importStar(require("./ai"));
|
|
89
91
|
exports.API = __importStar(require("./api"));
|
|
90
92
|
exports.Automation = __importStar(require("./automation"));
|
|
93
|
+
__exportStar(require("./stack.zod"), exports);
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Permission Protocol Exports
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
* -
|
|
6
|
-
* -
|
|
7
|
-
* -
|
|
4
|
+
* Fine-grained Access Control
|
|
5
|
+
* - Permission Sets (CRUD + Field-Level Security)
|
|
6
|
+
* - Sharing Rules (Record Ownership)
|
|
7
|
+
* - Territory Management (Geographic/Hierarchical)
|
|
8
|
+
* - Row-Level Security (RLS - PostgreSQL-style)
|
|
8
9
|
*/
|
|
9
10
|
export * from './permission.zod';
|
|
10
11
|
export * from './sharing.zod';
|
|
11
12
|
export * from './territory.zod';
|
|
13
|
+
export * from './rls.zod';
|
|
12
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/permission/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/permission/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC"}
|
package/dist/permission/index.js
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Permission Protocol Exports
|
|
4
4
|
*
|
|
5
|
-
*
|
|
6
|
-
* -
|
|
7
|
-
* -
|
|
8
|
-
* -
|
|
5
|
+
* Fine-grained Access Control
|
|
6
|
+
* - Permission Sets (CRUD + Field-Level Security)
|
|
7
|
+
* - Sharing Rules (Record Ownership)
|
|
8
|
+
* - Territory Management (Geographic/Hierarchical)
|
|
9
|
+
* - Row-Level Security (RLS - PostgreSQL-style)
|
|
9
10
|
*/
|
|
10
11
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
11
12
|
if (k2 === undefined) k2 = k;
|
|
@@ -25,3 +26,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
25
26
|
__exportStar(require("./permission.zod"), exports);
|
|
26
27
|
__exportStar(require("./sharing.zod"), exports);
|
|
27
28
|
__exportStar(require("./territory.zod"), exports);
|
|
29
|
+
__exportStar(require("./rls.zod"), exports);
|
|
@@ -77,6 +77,20 @@ export declare const FieldPermissionSchema: z.ZodObject<{
|
|
|
77
77
|
* - Profile: The ONE primary functional definition of a user (e.g. Standard User).
|
|
78
78
|
* - Permission Set: Add-on capabilities assigned to users (e.g. Export Reports).
|
|
79
79
|
* - Role: (Defined in src/system/role.zod.ts) Defines data visibility hierarchy.
|
|
80
|
+
*
|
|
81
|
+
* **NAMING CONVENTION:**
|
|
82
|
+
* Permission set names MUST be lowercase snake_case to prevent security issues.
|
|
83
|
+
*
|
|
84
|
+
* @example Good permission set names
|
|
85
|
+
* - 'read_only'
|
|
86
|
+
* - 'system_admin'
|
|
87
|
+
* - 'standard_user'
|
|
88
|
+
* - 'api_access'
|
|
89
|
+
*
|
|
90
|
+
* @example Bad permission set names (will be rejected)
|
|
91
|
+
* - 'ReadOnly' (camelCase)
|
|
92
|
+
* - 'SystemAdmin' (mixed case)
|
|
93
|
+
* - 'Read Only' (spaces)
|
|
80
94
|
*/
|
|
81
95
|
export declare const PermissionSetSchema: z.ZodObject<{
|
|
82
96
|
/** Unique permission set name */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"permission.zod.d.ts","sourceRoot":"","sources":["../../src/permission/permission.zod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"permission.zod.d.ts","sourceRoot":"","sources":["../../src/permission/permission.zod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;;;;;;;GAQG;AACH,eAAO,MAAM,sBAAsB;IACjC,gBAAgB;;IAEhB,gDAAgD;;IAEhD,gDAAgD;;IAEhD,kDAAkD;;IAGlD,2BAA2B;;;;IAK3B;;;;OAIG;;IAGH;;;;OAIG;;;;;;;;;;;;;;;;;;;;;;EAEH,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,qBAAqB;IAChC,yBAAyB;;IAEzB,0BAA0B;;;;;;;;EAE1B,CAAC;AAEH;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,mBAAmB;IAC9B,iCAAiC;;IAGjC,oBAAoB;;IAGpB,+CAA+C;;IAG/C,2DAA2D;;QAxE3D,gBAAgB;;QAEhB,gDAAgD;;QAEhD,gDAAgD;;QAEhD,kDAAkD;;QAGlD,2BAA2B;;;;QAK3B;;;;WAIG;;QAGH;;;;WAIG;;;;;;;;;;;;;;;;;;;;;;;IAkDH,uEAAuE;;QA1CvE,yBAAyB;;QAEzB,0BAA0B;;;;;;;;;IA2C1B,gDAAgD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEhD,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAChE,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACtE,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PermissionSetSchema = exports.FieldPermissionSchema = exports.ObjectPermissionSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
+
const identifiers_zod_1 = require("../shared/identifiers.zod");
|
|
5
6
|
/**
|
|
6
7
|
* Entity (Object) Level Permissions
|
|
7
8
|
* Defines CRUD + VAMA (View All / Modify All) + Lifecycle access.
|
|
@@ -54,10 +55,24 @@ exports.FieldPermissionSchema = zod_1.z.object({
|
|
|
54
55
|
* - Profile: The ONE primary functional definition of a user (e.g. Standard User).
|
|
55
56
|
* - Permission Set: Add-on capabilities assigned to users (e.g. Export Reports).
|
|
56
57
|
* - Role: (Defined in src/system/role.zod.ts) Defines data visibility hierarchy.
|
|
58
|
+
*
|
|
59
|
+
* **NAMING CONVENTION:**
|
|
60
|
+
* Permission set names MUST be lowercase snake_case to prevent security issues.
|
|
61
|
+
*
|
|
62
|
+
* @example Good permission set names
|
|
63
|
+
* - 'read_only'
|
|
64
|
+
* - 'system_admin'
|
|
65
|
+
* - 'standard_user'
|
|
66
|
+
* - 'api_access'
|
|
67
|
+
*
|
|
68
|
+
* @example Bad permission set names (will be rejected)
|
|
69
|
+
* - 'ReadOnly' (camelCase)
|
|
70
|
+
* - 'SystemAdmin' (mixed case)
|
|
71
|
+
* - 'Read Only' (spaces)
|
|
57
72
|
*/
|
|
58
73
|
exports.PermissionSetSchema = zod_1.z.object({
|
|
59
74
|
/** Unique permission set name */
|
|
60
|
-
name:
|
|
75
|
+
name: identifiers_zod_1.SnakeCaseIdentifierSchema.describe('Permission set unique name (lowercase snake_case)'),
|
|
61
76
|
/** Display label */
|
|
62
77
|
label: zod_1.z.string().optional().describe('Display label'),
|
|
63
78
|
/** Is this a Profile? (Base set for a user) */
|