@objectstack/spec 0.8.2 → 0.9.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/README.md +58 -4
- package/dist/ai/devops-agent.zod.d.ts +1 -1
- package/dist/ai/feedback-loop.zod.d.ts +4293 -0
- package/dist/ai/feedback-loop.zod.d.ts.map +1 -0
- package/dist/ai/feedback-loop.zod.js +53 -0
- package/dist/ai/index.d.ts +1 -0
- package/dist/ai/index.d.ts.map +1 -1
- package/dist/ai/index.js +1 -0
- package/dist/api/documentation.zod.d.ts +1073 -0
- package/dist/api/documentation.zod.d.ts.map +1 -0
- package/dist/api/documentation.zod.js +487 -0
- package/dist/api/errors.zod.d.ts +6 -6
- package/dist/api/graphql.zod.d.ts +3 -3
- package/dist/api/hub.zod.d.ts +5239 -0
- package/dist/api/hub.zod.d.ts.map +1 -0
- package/dist/api/hub.zod.js +784 -0
- package/dist/api/index.d.ts +4 -0
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/index.js +4 -0
- package/dist/api/odata.zod.d.ts +1 -1
- package/dist/api/registry.example.d.ts +411 -0
- package/dist/api/registry.example.d.ts.map +1 -0
- package/dist/api/registry.example.js +470 -0
- package/dist/api/registry.zod.d.ts +2095 -0
- package/dist/api/registry.zod.d.ts.map +1 -0
- package/dist/api/registry.zod.js +755 -0
- package/dist/api/websocket.zod.d.ts +8 -8
- package/dist/auth/scim.zod.d.ts +3 -3
- package/dist/automation/flow.zod.d.ts +3 -3
- package/dist/contracts/index.d.ts +1 -0
- package/dist/contracts/index.d.ts.map +1 -1
- package/dist/contracts/index.js +1 -0
- package/dist/contracts/schema-driver.d.ts +21 -0
- package/dist/contracts/schema-driver.d.ts.map +1 -0
- package/dist/contracts/schema-driver.js +2 -0
- package/dist/hub/composer.zod.d.ts +226 -0
- package/dist/hub/composer.zod.d.ts.map +1 -1
- package/dist/hub/hub-federation.zod.d.ts +764 -0
- package/dist/hub/hub-federation.zod.d.ts.map +1 -0
- package/dist/hub/hub-federation.zod.js +441 -0
- package/dist/hub/index.d.ts +2 -0
- package/dist/hub/index.d.ts.map +1 -1
- package/dist/hub/index.js +3 -0
- package/dist/hub/plugin-security.zod.d.ts +1029 -0
- package/dist/hub/plugin-security.zod.d.ts.map +1 -0
- package/dist/hub/plugin-security.zod.js +637 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/integration/connector/vercel.zod.d.ts +2 -2
- package/dist/qa/index.d.ts +11 -0
- package/dist/qa/index.d.ts.map +1 -0
- package/dist/qa/index.js +26 -0
- package/dist/qa/testing.zod.d.ts +345 -0
- package/dist/qa/testing.zod.d.ts.map +1 -0
- package/dist/qa/testing.zod.js +69 -0
- package/dist/stack.zod.d.ts +3395 -596
- package/dist/stack.zod.d.ts.map +1 -1
- package/dist/stack.zod.js +20 -2
- package/dist/system/index.d.ts +2 -0
- package/dist/system/index.d.ts.map +1 -1
- package/dist/system/index.js +2 -0
- package/dist/system/manifest.zod.d.ts +226 -0
- package/dist/system/manifest.zod.d.ts.map +1 -1
- package/dist/system/manifest.zod.js +8 -0
- package/dist/system/message-queue.zod.d.ts +2 -2
- package/dist/system/metadata-loader.zod.d.ts +1 -1
- package/dist/system/migration.zod.d.ts +4205 -0
- package/dist/system/migration.zod.d.ts.map +1 -0
- package/dist/system/migration.zod.js +70 -0
- package/dist/system/plugin-loading.zod.d.ts +575 -0
- package/dist/system/plugin-loading.zod.d.ts.map +1 -0
- package/dist/system/plugin-loading.zod.js +612 -0
- package/json-schema/ai/FeedbackLoop.json +7 -0
- package/json-schema/ai/Issue.json +7 -0
- package/json-schema/ai/MetadataSource.json +7 -0
- package/json-schema/ai/Resolution.json +7 -0
- package/json-schema/api/ApiChangelogEntry.json +7 -0
- package/json-schema/api/ApiDiscoveryQuery.json +7 -0
- package/json-schema/api/ApiDiscoveryResponse.json +7 -0
- package/json-schema/api/ApiDocumentationConfig.json +7 -0
- package/json-schema/api/ApiEndpointRegistration.json +7 -0
- package/json-schema/api/ApiMetadata.json +7 -0
- package/json-schema/api/ApiParameter.json +7 -0
- package/json-schema/api/ApiProtocolType.json +7 -0
- package/json-schema/api/ApiRegistry.json +7 -0
- package/json-schema/api/ApiRegistryEntry.json +7 -0
- package/json-schema/api/ApiResponse.json +7 -0
- package/json-schema/api/ApiTestCollection.json +7 -0
- package/json-schema/api/ApiTestRequest.json +7 -0
- package/json-schema/api/ApiTestingUiConfig.json +7 -0
- package/json-schema/api/ApiTestingUiType.json +7 -0
- package/json-schema/api/BuildStatusResponse.json +7 -0
- package/json-schema/api/CodeGenerationTemplate.json +7 -0
- package/json-schema/api/CompileManifestRequest.json +7 -0
- package/json-schema/api/CompileManifestResponse.json +7 -0
- package/json-schema/api/ConflictResolutionStrategy.json +7 -0
- package/json-schema/api/CreateSpaceRequest.json +7 -0
- package/json-schema/api/CreateTenantRequest.json +7 -0
- package/json-schema/api/GeneratedApiDocumentation.json +7 -0
- package/json-schema/api/GetBuildStatusRequest.json +7 -0
- package/json-schema/api/GetMarketplacePluginRequest.json +7 -0
- package/json-schema/api/GetPluginVersionsRequest.json +7 -0
- package/json-schema/api/GetPluginVersionsResponse.json +7 -0
- package/json-schema/api/HttpStatusCode.json +7 -0
- package/json-schema/api/HubHealthResponse.json +7 -0
- package/json-schema/api/HubMetricsResponse.json +7 -0
- package/json-schema/api/IssueLicenseRequest.json +7 -0
- package/json-schema/api/LicenseResponse.json +7 -0
- package/json-schema/api/ListLicensesRequest.json +7 -0
- package/json-schema/api/ListLicensesResponse.json +7 -0
- package/json-schema/api/ListMarketplaceRequest.json +7 -0
- package/json-schema/api/ListMarketplaceResponse.json +7 -0
- package/json-schema/api/ListSpacesRequest.json +7 -0
- package/json-schema/api/ListSpacesResponse.json +7 -0
- package/json-schema/api/ListTenantsRequest.json +7 -0
- package/json-schema/api/ListTenantsResponse.json +7 -0
- package/json-schema/api/MarketplacePluginResponse.json +7 -0
- package/json-schema/api/ObjectQLReference.json +7 -0
- package/json-schema/api/OpenApiSecurityScheme.json +7 -0
- package/json-schema/api/OpenApiServer.json +7 -0
- package/json-schema/api/OpenApiSpec.json +7 -0
- package/json-schema/api/PaginationRequest.json +7 -0
- package/json-schema/api/PaginationResponse.json +7 -0
- package/json-schema/api/PluginResponse.json +7 -0
- package/json-schema/api/PluginVersionInfo.json +7 -0
- package/json-schema/api/PublishPluginRequest.json +7 -0
- package/json-schema/api/RevokeLicenseRequest.json +7 -0
- package/json-schema/api/SchemaDefinition.json +7 -0
- package/json-schema/api/SearchPluginsRequest.json +7 -0
- package/json-schema/api/SearchPluginsResponse.json +7 -0
- package/json-schema/api/SpaceResponse.json +7 -0
- package/json-schema/api/TenantResponse.json +7 -0
- package/json-schema/api/UpdatePluginRequest.json +7 -0
- package/json-schema/api/UpdateSpaceRequest.json +7 -0
- package/json-schema/api/UpdateTenantRequest.json +7 -0
- package/json-schema/api/ValidateLicenseRequest.json +7 -0
- package/json-schema/api/ValidateLicenseResponse.json +7 -0
- package/json-schema/hub/DependencyConflict.json +7 -0
- package/json-schema/hub/DependencyGraph.json +7 -0
- package/json-schema/hub/DependencyGraphNode.json +7 -0
- package/json-schema/hub/DependencyResolutionResult.json +7 -0
- package/json-schema/hub/EdgeLocation.json +7 -0
- package/json-schema/hub/FederationTopology.json +7 -0
- package/json-schema/hub/GlobalRegistryEntry.json +7 -0
- package/json-schema/hub/HubInstance.json +7 -0
- package/json-schema/hub/PackageDependency.json +7 -0
- package/json-schema/hub/PluginProvenance.json +7 -0
- package/json-schema/hub/PluginTrustScore.json +7 -0
- package/json-schema/hub/Region.json +7 -0
- package/json-schema/hub/ReplicationJob.json +7 -0
- package/json-schema/hub/SBOM.json +7 -0
- package/json-schema/hub/SBOMEntry.json +7 -0
- package/json-schema/hub/SecurityPolicy.json +7 -0
- package/json-schema/hub/SecurityScanResult.json +7 -0
- package/json-schema/hub/SecurityVulnerability.json +7 -0
- package/json-schema/hub/TenantPlacementPolicy.json +7 -0
- package/json-schema/hub/VulnerabilitySeverity.json +7 -0
- package/json-schema/qa/TestAction.json +7 -0
- package/json-schema/qa/TestActionType.json +7 -0
- package/json-schema/qa/TestAssertion.json +7 -0
- package/json-schema/qa/TestAssertionType.json +7 -0
- package/json-schema/qa/TestContext.json +7 -0
- package/json-schema/qa/TestScenario.json +7 -0
- package/json-schema/qa/TestStep.json +7 -0
- package/json-schema/qa/TestSuite.json +7 -0
- package/json-schema/system/AddFieldOperation.json +7 -0
- package/json-schema/system/ChangeSet.json +7 -0
- package/json-schema/system/CreateObjectOperation.json +7 -0
- package/json-schema/system/DeleteObjectOperation.json +7 -0
- package/json-schema/system/ExecuteSqlOperation.json +7 -0
- package/json-schema/system/MigrationDependency.json +7 -0
- package/json-schema/system/MigrationOperation.json +7 -0
- package/json-schema/system/ModifyFieldOperation.json +7 -0
- package/json-schema/system/PluginCaching.json +7 -0
- package/json-schema/system/PluginCodeSplitting.json +7 -0
- package/json-schema/system/PluginDependencyResolution.json +7 -0
- package/json-schema/system/PluginDynamicImport.json +7 -0
- package/json-schema/system/PluginHotReload.json +7 -0
- package/json-schema/system/PluginInitialization.json +7 -0
- package/json-schema/system/PluginLoadingConfig.json +7 -0
- package/json-schema/system/PluginLoadingEvent.json +7 -0
- package/json-schema/system/PluginLoadingState.json +7 -0
- package/json-schema/system/PluginLoadingStrategy.json +7 -0
- package/json-schema/system/PluginPerformanceMonitoring.json +7 -0
- package/json-schema/system/PluginPreloadConfig.json +7 -0
- package/json-schema/system/PluginSandboxing.json +7 -0
- package/json-schema/system/RemoveFieldOperation.json +7 -0
- package/json-schema/system/RenameObjectOperation.json +7 -0
- package/package.json +1 -1
|
@@ -38,9 +38,9 @@ export declare const FilterOperator: z.ZodEnum<{
|
|
|
38
38
|
gt: "gt";
|
|
39
39
|
gte: "gte";
|
|
40
40
|
eq: "eq";
|
|
41
|
+
contains: "contains";
|
|
41
42
|
ne: "ne";
|
|
42
43
|
nin: "nin";
|
|
43
|
-
contains: "contains";
|
|
44
44
|
exists: "exists";
|
|
45
45
|
}>;
|
|
46
46
|
export type FilterOperator = z.infer<typeof FilterOperator>;
|
|
@@ -60,9 +60,9 @@ export declare const EventFilterCondition: z.ZodObject<{
|
|
|
60
60
|
gt: "gt";
|
|
61
61
|
gte: "gte";
|
|
62
62
|
eq: "eq";
|
|
63
|
+
contains: "contains";
|
|
63
64
|
ne: "ne";
|
|
64
65
|
nin: "nin";
|
|
65
|
-
contains: "contains";
|
|
66
66
|
exists: "exists";
|
|
67
67
|
}>;
|
|
68
68
|
value: z.ZodOptional<z.ZodAny>;
|
|
@@ -142,10 +142,10 @@ export declare const PresenceStateSchema: z.ZodObject<{
|
|
|
142
142
|
lastSeen: z.ZodString;
|
|
143
143
|
currentLocation: z.ZodOptional<z.ZodString>;
|
|
144
144
|
device: z.ZodOptional<z.ZodEnum<{
|
|
145
|
-
other: "other";
|
|
146
|
-
mobile: "mobile";
|
|
147
145
|
desktop: "desktop";
|
|
146
|
+
mobile: "mobile";
|
|
148
147
|
tablet: "tablet";
|
|
148
|
+
other: "other";
|
|
149
149
|
}>>;
|
|
150
150
|
customStatus: z.ZodOptional<z.ZodString>;
|
|
151
151
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
@@ -321,10 +321,10 @@ export declare const PresenceMessageSchema: z.ZodObject<{
|
|
|
321
321
|
lastSeen: z.ZodString;
|
|
322
322
|
currentLocation: z.ZodOptional<z.ZodString>;
|
|
323
323
|
device: z.ZodOptional<z.ZodEnum<{
|
|
324
|
-
other: "other";
|
|
325
|
-
mobile: "mobile";
|
|
326
324
|
desktop: "desktop";
|
|
325
|
+
mobile: "mobile";
|
|
327
326
|
tablet: "tablet";
|
|
327
|
+
other: "other";
|
|
328
328
|
}>>;
|
|
329
329
|
customStatus: z.ZodOptional<z.ZodString>;
|
|
330
330
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
@@ -500,10 +500,10 @@ export declare const WebSocketMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
500
500
|
lastSeen: z.ZodString;
|
|
501
501
|
currentLocation: z.ZodOptional<z.ZodString>;
|
|
502
502
|
device: z.ZodOptional<z.ZodEnum<{
|
|
503
|
-
other: "other";
|
|
504
|
-
mobile: "mobile";
|
|
505
503
|
desktop: "desktop";
|
|
504
|
+
mobile: "mobile";
|
|
506
505
|
tablet: "tablet";
|
|
506
|
+
other: "other";
|
|
507
507
|
}>>;
|
|
508
508
|
customStatus: z.ZodOptional<z.ZodString>;
|
|
509
509
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
package/dist/auth/scim.zod.d.ts
CHANGED
|
@@ -114,9 +114,9 @@ export declare const SCIMPhoneNumberSchema: z.ZodObject<{
|
|
|
114
114
|
value: z.ZodString;
|
|
115
115
|
type: z.ZodOptional<z.ZodEnum<{
|
|
116
116
|
home: "home";
|
|
117
|
+
mobile: "mobile";
|
|
117
118
|
work: "work";
|
|
118
119
|
other: "other";
|
|
119
|
-
mobile: "mobile";
|
|
120
120
|
fax: "fax";
|
|
121
121
|
pager: "pager";
|
|
122
122
|
}>>;
|
|
@@ -215,9 +215,9 @@ export declare const SCIMUserSchema: z.ZodObject<{
|
|
|
215
215
|
value: z.ZodString;
|
|
216
216
|
type: z.ZodOptional<z.ZodEnum<{
|
|
217
217
|
home: "home";
|
|
218
|
+
mobile: "mobile";
|
|
218
219
|
work: "work";
|
|
219
220
|
other: "other";
|
|
220
|
-
mobile: "mobile";
|
|
221
221
|
fax: "fax";
|
|
222
222
|
pager: "pager";
|
|
223
223
|
}>>;
|
|
@@ -389,9 +389,9 @@ export declare const SCIMListResponseSchema: z.ZodObject<{
|
|
|
389
389
|
value: z.ZodString;
|
|
390
390
|
type: z.ZodOptional<z.ZodEnum<{
|
|
391
391
|
home: "home";
|
|
392
|
+
mobile: "mobile";
|
|
392
393
|
work: "work";
|
|
393
394
|
other: "other";
|
|
394
|
-
mobile: "mobile";
|
|
395
395
|
fax: "fax";
|
|
396
396
|
pager: "pager";
|
|
397
397
|
}>>;
|
|
@@ -11,10 +11,10 @@ export declare const FlowNodeAction: z.ZodEnum<{
|
|
|
11
11
|
create_record: "create_record";
|
|
12
12
|
update_record: "update_record";
|
|
13
13
|
delete_record: "delete_record";
|
|
14
|
+
wait: "wait";
|
|
14
15
|
assignment: "assignment";
|
|
15
16
|
get_record: "get_record";
|
|
16
17
|
http_request: "http_request";
|
|
17
|
-
wait: "wait";
|
|
18
18
|
subflow: "subflow";
|
|
19
19
|
}>;
|
|
20
20
|
/**
|
|
@@ -42,10 +42,10 @@ export declare const FlowNodeSchema: z.ZodObject<{
|
|
|
42
42
|
create_record: "create_record";
|
|
43
43
|
update_record: "update_record";
|
|
44
44
|
delete_record: "delete_record";
|
|
45
|
+
wait: "wait";
|
|
45
46
|
assignment: "assignment";
|
|
46
47
|
get_record: "get_record";
|
|
47
48
|
http_request: "http_request";
|
|
48
|
-
wait: "wait";
|
|
49
49
|
subflow: "subflow";
|
|
50
50
|
}>;
|
|
51
51
|
label: z.ZodString;
|
|
@@ -110,10 +110,10 @@ export declare const FlowSchema: z.ZodObject<{
|
|
|
110
110
|
create_record: "create_record";
|
|
111
111
|
update_record: "update_record";
|
|
112
112
|
delete_record: "delete_record";
|
|
113
|
+
wait: "wait";
|
|
113
114
|
assignment: "assignment";
|
|
114
115
|
get_record: "get_record";
|
|
115
116
|
http_request: "http_request";
|
|
116
|
-
wait: "wait";
|
|
117
117
|
subflow: "subflow";
|
|
118
118
|
}>;
|
|
119
119
|
label: z.ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/contracts/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,8BAA8B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/contracts/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oBAAoB,CAAC"}
|
package/dist/contracts/index.js
CHANGED
|
@@ -27,3 +27,4 @@ __exportStar(require("./service-registry.js"), exports);
|
|
|
27
27
|
__exportStar(require("./plugin-validator.js"), exports);
|
|
28
28
|
__exportStar(require("./startup-orchestrator.js"), exports);
|
|
29
29
|
__exportStar(require("./plugin-lifecycle-events.js"), exports);
|
|
30
|
+
__exportStar(require("./schema-driver.js"), exports);
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { ObjectSchema } from '../data/object.zod.js';
|
|
3
|
+
import { FieldSchema } from '../data/field.zod.js';
|
|
4
|
+
type DataField = z.infer<typeof FieldSchema>;
|
|
5
|
+
type DataObject = z.infer<typeof ObjectSchema>;
|
|
6
|
+
/**
|
|
7
|
+
* Interface for Data Definition Language (DDL) operations.
|
|
8
|
+
* Drivers should implement this to support automatic migrations.
|
|
9
|
+
*/
|
|
10
|
+
export interface ISchemaDriver {
|
|
11
|
+
createCollection(objectName: string, schema?: DataObject): Promise<void>;
|
|
12
|
+
dropCollection(objectName: string): Promise<void>;
|
|
13
|
+
addColumn(objectName: string, fieldName: string, field: DataField): Promise<void>;
|
|
14
|
+
modifyColumn(objectName: string, fieldName: string, field: DataField): Promise<void>;
|
|
15
|
+
dropColumn(objectName: string, fieldName: string): Promise<void>;
|
|
16
|
+
createIndex(objectName: string, indexName: string, fields: string[]): Promise<void>;
|
|
17
|
+
dropIndex(objectName: string, indexName: string): Promise<void>;
|
|
18
|
+
executeRaw(statement: string): Promise<any>;
|
|
19
|
+
}
|
|
20
|
+
export {};
|
|
21
|
+
//# sourceMappingURL=schema-driver.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema-driver.d.ts","sourceRoot":"","sources":["../../src/contracts/schema-driver.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAEnD,KAAK,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC;AAC7C,KAAK,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAE/C;;;GAGG;AACH,MAAM,WAAW,aAAa;IAC5B,gBAAgB,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACzE,cAAc,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAElD,SAAS,CAAC,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAClF,YAAY,CAAC,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACrF,UAAU,CAAC,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEjE,WAAW,CAAC,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACpF,SAAS,CAAC,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEhE,UAAU,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;CAC7C"}
|
|
@@ -276,6 +276,232 @@ export declare const ComposerResponseSchema: z.ZodObject<{
|
|
|
276
276
|
}, z.core.$strip>>>;
|
|
277
277
|
}, z.core.$strip>>;
|
|
278
278
|
extensions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
279
|
+
loading: z.ZodOptional<z.ZodObject<{
|
|
280
|
+
strategy: z.ZodDefault<z.ZodEnum<{
|
|
281
|
+
lazy: "lazy";
|
|
282
|
+
parallel: "parallel";
|
|
283
|
+
eager: "eager";
|
|
284
|
+
deferred: "deferred";
|
|
285
|
+
"on-demand": "on-demand";
|
|
286
|
+
}>>;
|
|
287
|
+
preload: z.ZodOptional<z.ZodObject<{
|
|
288
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
289
|
+
priority: z.ZodDefault<z.ZodNumber>;
|
|
290
|
+
resources: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
291
|
+
metadata: "metadata";
|
|
292
|
+
code: "code";
|
|
293
|
+
dependencies: "dependencies";
|
|
294
|
+
assets: "assets";
|
|
295
|
+
services: "services";
|
|
296
|
+
}>>>;
|
|
297
|
+
conditions: z.ZodOptional<z.ZodObject<{
|
|
298
|
+
routes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
299
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
300
|
+
deviceType: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
301
|
+
desktop: "desktop";
|
|
302
|
+
mobile: "mobile";
|
|
303
|
+
tablet: "tablet";
|
|
304
|
+
}>>>;
|
|
305
|
+
minNetworkSpeed: z.ZodOptional<z.ZodEnum<{
|
|
306
|
+
"slow-2g": "slow-2g";
|
|
307
|
+
"2g": "2g";
|
|
308
|
+
"3g": "3g";
|
|
309
|
+
"4g": "4g";
|
|
310
|
+
}>>;
|
|
311
|
+
}, z.core.$strip>>;
|
|
312
|
+
}, z.core.$strip>>;
|
|
313
|
+
codeSplitting: z.ZodOptional<z.ZodObject<{
|
|
314
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
315
|
+
strategy: z.ZodDefault<z.ZodEnum<{
|
|
316
|
+
custom: "custom";
|
|
317
|
+
size: "size";
|
|
318
|
+
route: "route";
|
|
319
|
+
feature: "feature";
|
|
320
|
+
}>>;
|
|
321
|
+
chunkNaming: z.ZodDefault<z.ZodEnum<{
|
|
322
|
+
hashed: "hashed";
|
|
323
|
+
named: "named";
|
|
324
|
+
sequential: "sequential";
|
|
325
|
+
}>>;
|
|
326
|
+
maxChunkSize: z.ZodOptional<z.ZodNumber>;
|
|
327
|
+
sharedDependencies: z.ZodOptional<z.ZodObject<{
|
|
328
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
329
|
+
minChunks: z.ZodDefault<z.ZodNumber>;
|
|
330
|
+
}, z.core.$strip>>;
|
|
331
|
+
}, z.core.$strip>>;
|
|
332
|
+
dynamicImport: z.ZodOptional<z.ZodObject<{
|
|
333
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
334
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
335
|
+
lazy: "lazy";
|
|
336
|
+
async: "async";
|
|
337
|
+
eager: "eager";
|
|
338
|
+
sync: "sync";
|
|
339
|
+
}>>;
|
|
340
|
+
prefetch: z.ZodDefault<z.ZodBoolean>;
|
|
341
|
+
preload: z.ZodDefault<z.ZodBoolean>;
|
|
342
|
+
webpackChunkName: z.ZodOptional<z.ZodString>;
|
|
343
|
+
timeout: z.ZodDefault<z.ZodNumber>;
|
|
344
|
+
retry: z.ZodOptional<z.ZodObject<{
|
|
345
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
346
|
+
maxAttempts: z.ZodDefault<z.ZodNumber>;
|
|
347
|
+
backoffMs: z.ZodDefault<z.ZodNumber>;
|
|
348
|
+
}, z.core.$strip>>;
|
|
349
|
+
}, z.core.$strip>>;
|
|
350
|
+
initialization: z.ZodOptional<z.ZodObject<{
|
|
351
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
352
|
+
async: "async";
|
|
353
|
+
parallel: "parallel";
|
|
354
|
+
sequential: "sequential";
|
|
355
|
+
sync: "sync";
|
|
356
|
+
}>>;
|
|
357
|
+
timeout: z.ZodDefault<z.ZodNumber>;
|
|
358
|
+
priority: z.ZodDefault<z.ZodNumber>;
|
|
359
|
+
critical: z.ZodDefault<z.ZodBoolean>;
|
|
360
|
+
retry: z.ZodOptional<z.ZodObject<{
|
|
361
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
362
|
+
maxAttempts: z.ZodDefault<z.ZodNumber>;
|
|
363
|
+
backoffMs: z.ZodDefault<z.ZodNumber>;
|
|
364
|
+
}, z.core.$strip>>;
|
|
365
|
+
healthCheckInterval: z.ZodOptional<z.ZodNumber>;
|
|
366
|
+
}, z.core.$strip>>;
|
|
367
|
+
dependencyResolution: z.ZodOptional<z.ZodObject<{
|
|
368
|
+
strategy: z.ZodDefault<z.ZodEnum<{
|
|
369
|
+
strict: "strict";
|
|
370
|
+
compatible: "compatible";
|
|
371
|
+
latest: "latest";
|
|
372
|
+
pinned: "pinned";
|
|
373
|
+
}>>;
|
|
374
|
+
peerDependencies: z.ZodOptional<z.ZodObject<{
|
|
375
|
+
resolve: z.ZodDefault<z.ZodBoolean>;
|
|
376
|
+
onMissing: z.ZodDefault<z.ZodEnum<{
|
|
377
|
+
error: "error";
|
|
378
|
+
warn: "warn";
|
|
379
|
+
ignore: "ignore";
|
|
380
|
+
}>>;
|
|
381
|
+
onMismatch: z.ZodDefault<z.ZodEnum<{
|
|
382
|
+
error: "error";
|
|
383
|
+
warn: "warn";
|
|
384
|
+
ignore: "ignore";
|
|
385
|
+
}>>;
|
|
386
|
+
}, z.core.$strip>>;
|
|
387
|
+
optionalDependencies: z.ZodOptional<z.ZodObject<{
|
|
388
|
+
load: z.ZodDefault<z.ZodBoolean>;
|
|
389
|
+
onFailure: z.ZodDefault<z.ZodEnum<{
|
|
390
|
+
warn: "warn";
|
|
391
|
+
ignore: "ignore";
|
|
392
|
+
}>>;
|
|
393
|
+
}, z.core.$strip>>;
|
|
394
|
+
conflictResolution: z.ZodDefault<z.ZodEnum<{
|
|
395
|
+
manual: "manual";
|
|
396
|
+
latest: "latest";
|
|
397
|
+
fail: "fail";
|
|
398
|
+
oldest: "oldest";
|
|
399
|
+
}>>;
|
|
400
|
+
circularDependencies: z.ZodDefault<z.ZodEnum<{
|
|
401
|
+
error: "error";
|
|
402
|
+
warn: "warn";
|
|
403
|
+
allow: "allow";
|
|
404
|
+
}>>;
|
|
405
|
+
}, z.core.$strip>>;
|
|
406
|
+
hotReload: z.ZodOptional<z.ZodObject<{
|
|
407
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
408
|
+
strategy: z.ZodDefault<z.ZodEnum<{
|
|
409
|
+
full: "full";
|
|
410
|
+
partial: "partial";
|
|
411
|
+
"state-preserve": "state-preserve";
|
|
412
|
+
}>>;
|
|
413
|
+
watchPatterns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
414
|
+
ignorePatterns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
415
|
+
debounceMs: z.ZodDefault<z.ZodNumber>;
|
|
416
|
+
preserveState: z.ZodDefault<z.ZodBoolean>;
|
|
417
|
+
stateSerialization: z.ZodOptional<z.ZodObject<{
|
|
418
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
419
|
+
handler: z.ZodOptional<z.ZodString>;
|
|
420
|
+
}, z.core.$strip>>;
|
|
421
|
+
hooks: z.ZodOptional<z.ZodObject<{
|
|
422
|
+
beforeReload: z.ZodOptional<z.ZodString>;
|
|
423
|
+
afterReload: z.ZodOptional<z.ZodString>;
|
|
424
|
+
onError: z.ZodOptional<z.ZodString>;
|
|
425
|
+
}, z.core.$strip>>;
|
|
426
|
+
}, z.core.$strip>>;
|
|
427
|
+
caching: z.ZodOptional<z.ZodObject<{
|
|
428
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
429
|
+
storage: z.ZodDefault<z.ZodEnum<{
|
|
430
|
+
hybrid: "hybrid";
|
|
431
|
+
memory: "memory";
|
|
432
|
+
disk: "disk";
|
|
433
|
+
indexeddb: "indexeddb";
|
|
434
|
+
}>>;
|
|
435
|
+
keyStrategy: z.ZodDefault<z.ZodEnum<{
|
|
436
|
+
hash: "hash";
|
|
437
|
+
version: "version";
|
|
438
|
+
timestamp: "timestamp";
|
|
439
|
+
}>>;
|
|
440
|
+
ttl: z.ZodOptional<z.ZodNumber>;
|
|
441
|
+
maxSize: z.ZodOptional<z.ZodNumber>;
|
|
442
|
+
invalidateOn: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
443
|
+
error: "error";
|
|
444
|
+
manual: "manual";
|
|
445
|
+
"version-change": "version-change";
|
|
446
|
+
"dependency-change": "dependency-change";
|
|
447
|
+
}>>>;
|
|
448
|
+
compression: z.ZodOptional<z.ZodObject<{
|
|
449
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
450
|
+
algorithm: z.ZodDefault<z.ZodEnum<{
|
|
451
|
+
gzip: "gzip";
|
|
452
|
+
brotli: "brotli";
|
|
453
|
+
deflate: "deflate";
|
|
454
|
+
}>>;
|
|
455
|
+
}, z.core.$strip>>;
|
|
456
|
+
}, z.core.$strip>>;
|
|
457
|
+
sandboxing: z.ZodOptional<z.ZodObject<{
|
|
458
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
459
|
+
isolationLevel: z.ZodDefault<z.ZodEnum<{
|
|
460
|
+
none: "none";
|
|
461
|
+
process: "process";
|
|
462
|
+
vm: "vm";
|
|
463
|
+
iframe: "iframe";
|
|
464
|
+
"web-worker": "web-worker";
|
|
465
|
+
}>>;
|
|
466
|
+
allowedCapabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
467
|
+
resourceQuotas: z.ZodOptional<z.ZodObject<{
|
|
468
|
+
maxMemoryMB: z.ZodOptional<z.ZodNumber>;
|
|
469
|
+
maxCpuTimeMs: z.ZodOptional<z.ZodNumber>;
|
|
470
|
+
maxFileDescriptors: z.ZodOptional<z.ZodNumber>;
|
|
471
|
+
maxNetworkKBps: z.ZodOptional<z.ZodNumber>;
|
|
472
|
+
}, z.core.$strip>>;
|
|
473
|
+
permissions: z.ZodOptional<z.ZodObject<{
|
|
474
|
+
allowedAPIs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
475
|
+
allowedPaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
476
|
+
allowedEndpoints: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
477
|
+
allowedEnvVars: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
478
|
+
}, z.core.$strip>>;
|
|
479
|
+
}, z.core.$strip>>;
|
|
480
|
+
monitoring: z.ZodOptional<z.ZodObject<{
|
|
481
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
482
|
+
metrics: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
483
|
+
"load-time": "load-time";
|
|
484
|
+
"init-time": "init-time";
|
|
485
|
+
"memory-usage": "memory-usage";
|
|
486
|
+
"cpu-usage": "cpu-usage";
|
|
487
|
+
"api-calls": "api-calls";
|
|
488
|
+
"error-rate": "error-rate";
|
|
489
|
+
"cache-hit-rate": "cache-hit-rate";
|
|
490
|
+
}>>>;
|
|
491
|
+
samplingRate: z.ZodDefault<z.ZodNumber>;
|
|
492
|
+
reportingInterval: z.ZodDefault<z.ZodNumber>;
|
|
493
|
+
budgets: z.ZodOptional<z.ZodObject<{
|
|
494
|
+
maxLoadTimeMs: z.ZodOptional<z.ZodNumber>;
|
|
495
|
+
maxInitTimeMs: z.ZodOptional<z.ZodNumber>;
|
|
496
|
+
maxMemoryMB: z.ZodOptional<z.ZodNumber>;
|
|
497
|
+
}, z.core.$strip>>;
|
|
498
|
+
onBudgetViolation: z.ZodDefault<z.ZodEnum<{
|
|
499
|
+
error: "error";
|
|
500
|
+
warn: "warn";
|
|
501
|
+
ignore: "ignore";
|
|
502
|
+
}>>;
|
|
503
|
+
}, z.core.$strip>>;
|
|
504
|
+
}, z.core.$strip>>;
|
|
279
505
|
}, z.core.$strip>>;
|
|
280
506
|
manifestUrl: z.ZodOptional<z.ZodString>;
|
|
281
507
|
buildId: z.ZodString;
|
|
@@ -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;;;;;iBAgBtC,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;iBAqBhC,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;iBAM/B,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;iBAchC,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,sBAAsB
|
|
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;;;;;iBAgBtC,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;iBAqBhC,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;iBAM/B,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;iBAchC,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA2BjC,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;AACtE,MAAM,MAAM,cAAc,GAAG,eAAe,CAAC"}
|