@objectstack/spec 0.4.1 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -244,7 +244,7 @@ export declare const ComposerResponseSchema: z.ZodObject<{
244
244
  manifest: z.ZodOptional<z.ZodObject<{
245
245
  id: z.ZodString;
246
246
  version: z.ZodString;
247
- type: z.ZodEnum<["app", "plugin", "driver", "module"]>;
247
+ type: z.ZodEnum<["app", "plugin", "driver", "module", "objectql", "gateway", "adapter"]>;
248
248
  name: z.ZodString;
249
249
  description: z.ZodOptional<z.ZodString>;
250
250
  permissions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -512,7 +512,7 @@ export declare const ComposerResponseSchema: z.ZodObject<{
512
512
  }>, "many">>;
513
513
  extensions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
514
514
  }, "strip", z.ZodTypeAny, {
515
- type: "app" | "module" | "plugin" | "driver";
515
+ type: "app" | "module" | "plugin" | "driver" | "objectql" | "gateway" | "adapter";
516
516
  name: string;
517
517
  id: string;
518
518
  version: string;
@@ -584,7 +584,7 @@ export declare const ComposerResponseSchema: z.ZodObject<{
584
584
  } | undefined;
585
585
  extensions?: Record<string, any> | undefined;
586
586
  }, {
587
- type: "app" | "module" | "plugin" | "driver";
587
+ type: "app" | "module" | "plugin" | "driver" | "objectql" | "gateway" | "adapter";
588
588
  name: string;
589
589
  id: string;
590
590
  version: string;
@@ -696,7 +696,7 @@ export declare const ComposerResponseSchema: z.ZodObject<{
696
696
  timestamp: string;
697
697
  buildId: string;
698
698
  manifest?: {
699
- type: "app" | "module" | "plugin" | "driver";
699
+ type: "app" | "module" | "plugin" | "driver" | "objectql" | "gateway" | "adapter";
700
700
  name: string;
701
701
  id: string;
702
702
  version: string;
@@ -783,7 +783,7 @@ export declare const ComposerResponseSchema: z.ZodObject<{
783
783
  timestamp: string;
784
784
  buildId: string;
785
785
  manifest?: {
786
- type: "app" | "module" | "plugin" | "driver";
786
+ type: "app" | "module" | "plugin" | "driver" | "objectql" | "gateway" | "adapter";
787
787
  name: string;
788
788
  id: string;
789
789
  version: string;
@@ -25,7 +25,7 @@ export declare const ObjectStackDefinitionSchema: z.ZodObject<{
25
25
  manifest: z.ZodObject<{
26
26
  id: z.ZodString;
27
27
  version: z.ZodString;
28
- type: z.ZodEnum<["app", "plugin", "driver", "module"]>;
28
+ type: z.ZodEnum<["app", "plugin", "driver", "module", "objectql", "gateway", "adapter"]>;
29
29
  name: z.ZodString;
30
30
  description: z.ZodOptional<z.ZodString>;
31
31
  permissions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -293,7 +293,7 @@ export declare const ObjectStackDefinitionSchema: z.ZodObject<{
293
293
  }>, "many">>;
294
294
  extensions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
295
295
  }, "strip", z.ZodTypeAny, {
296
- type: "app" | "module" | "plugin" | "driver";
296
+ type: "app" | "module" | "plugin" | "driver" | "objectql" | "gateway" | "adapter";
297
297
  name: string;
298
298
  id: string;
299
299
  version: string;
@@ -365,7 +365,7 @@ export declare const ObjectStackDefinitionSchema: z.ZodObject<{
365
365
  } | undefined;
366
366
  extensions?: Record<string, any> | undefined;
367
367
  }, {
368
- type: "app" | "module" | "plugin" | "driver";
368
+ type: "app" | "module" | "plugin" | "driver" | "objectql" | "gateway" | "adapter";
369
369
  name: string;
370
370
  id: string;
371
371
  version: string;
@@ -6584,7 +6584,7 @@ export declare const ObjectStackDefinitionSchema: z.ZodObject<{
6584
6584
  }>, "many">>;
6585
6585
  }, "strip", z.ZodTypeAny, {
6586
6586
  manifest: {
6587
- type: "app" | "module" | "plugin" | "driver";
6587
+ type: "app" | "module" | "plugin" | "driver" | "objectql" | "gateway" | "adapter";
6588
6588
  name: string;
6589
6589
  id: string;
6590
6590
  version: string;
@@ -7655,7 +7655,7 @@ export declare const ObjectStackDefinitionSchema: z.ZodObject<{
7655
7655
  }[] | undefined;
7656
7656
  }, {
7657
7657
  manifest: {
7658
- type: "app" | "module" | "plugin" | "driver";
7658
+ type: "app" | "module" | "plugin" | "driver" | "objectql" | "gateway" | "adapter";
7659
7659
  name: string;
7660
7660
  id: string;
7661
7661
  version: string;
@@ -8731,7 +8731,7 @@ export declare const ObjectStackSchema: z.ZodObject<{
8731
8731
  manifest: z.ZodObject<{
8732
8732
  id: z.ZodString;
8733
8733
  version: z.ZodString;
8734
- type: z.ZodEnum<["app", "plugin", "driver", "module"]>;
8734
+ type: z.ZodEnum<["app", "plugin", "driver", "module", "objectql", "gateway", "adapter"]>;
8735
8735
  name: z.ZodString;
8736
8736
  description: z.ZodOptional<z.ZodString>;
8737
8737
  permissions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -8999,7 +8999,7 @@ export declare const ObjectStackSchema: z.ZodObject<{
8999
8999
  }>, "many">>;
9000
9000
  extensions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
9001
9001
  }, "strip", z.ZodTypeAny, {
9002
- type: "app" | "module" | "plugin" | "driver";
9002
+ type: "app" | "module" | "plugin" | "driver" | "objectql" | "gateway" | "adapter";
9003
9003
  name: string;
9004
9004
  id: string;
9005
9005
  version: string;
@@ -9071,7 +9071,7 @@ export declare const ObjectStackSchema: z.ZodObject<{
9071
9071
  } | undefined;
9072
9072
  extensions?: Record<string, any> | undefined;
9073
9073
  }, {
9074
- type: "app" | "module" | "plugin" | "driver";
9074
+ type: "app" | "module" | "plugin" | "driver" | "objectql" | "gateway" | "adapter";
9075
9075
  name: string;
9076
9076
  id: string;
9077
9077
  version: string;
@@ -15290,7 +15290,7 @@ export declare const ObjectStackSchema: z.ZodObject<{
15290
15290
  }>, "many">>;
15291
15291
  }, "strip", z.ZodTypeAny, {
15292
15292
  manifest: {
15293
- type: "app" | "module" | "plugin" | "driver";
15293
+ type: "app" | "module" | "plugin" | "driver" | "objectql" | "gateway" | "adapter";
15294
15294
  name: string;
15295
15295
  id: string;
15296
15296
  version: string;
@@ -16361,7 +16361,7 @@ export declare const ObjectStackSchema: z.ZodObject<{
16361
16361
  }[] | undefined;
16362
16362
  }, {
16363
16363
  manifest: {
16364
- type: "app" | "module" | "plugin" | "driver";
16364
+ type: "app" | "module" | "plugin" | "driver" | "objectql" | "gateway" | "adapter";
16365
16365
  name: string;
16366
16366
  id: string;
16367
16367
  version: string;
@@ -17438,7 +17438,7 @@ export type ObjectStack = ObjectStackDefinition;
17438
17438
  */
17439
17439
  export declare const defineStack: (config: z.input<typeof ObjectStackDefinitionSchema>) => {
17440
17440
  manifest: {
17441
- type: "app" | "module" | "plugin" | "driver";
17441
+ type: "app" | "module" | "plugin" | "driver" | "objectql" | "gateway" | "adapter";
17442
17442
  name: string;
17443
17443
  id: string;
17444
17444
  version: string;
@@ -17,12 +17,15 @@ export declare const ManifestSchema: z.ZodObject<{
17
17
  version: z.ZodString;
18
18
  /**
19
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
20
+ * - app: Business application package
21
+ * - plugin: General-purpose functionality extension
22
+ * - driver: Southbound interface - Database/external service adapter (Postgres, MongoDB, S3)
23
+ * - module: Reusable code library/shared module
24
+ * - objectql: Core engine - Data layer implementation
25
+ * - gateway: Northbound interface - API protocol entry point (GraphQL, REST, RPC, OData)
26
+ * - adapter: Host adapter - Runtime container (Express, Hono, Fastify, Serverless)
24
27
  */
25
- type: z.ZodEnum<["app", "plugin", "driver", "module"]>;
28
+ type: z.ZodEnum<["app", "plugin", "driver", "module", "objectql", "gateway", "adapter"]>;
26
29
  /**
27
30
  * Human-readable name of the package.
28
31
  */
@@ -363,7 +366,7 @@ export declare const ManifestSchema: z.ZodObject<{
363
366
  */
364
367
  extensions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
365
368
  }, "strip", z.ZodTypeAny, {
366
- type: "app" | "module" | "plugin" | "driver";
369
+ type: "app" | "module" | "plugin" | "driver" | "objectql" | "gateway" | "adapter";
367
370
  name: string;
368
371
  id: string;
369
372
  version: string;
@@ -435,7 +438,7 @@ export declare const ManifestSchema: z.ZodObject<{
435
438
  } | undefined;
436
439
  extensions?: Record<string, any> | undefined;
437
440
  }, {
438
- type: "app" | "module" | "plugin" | "driver";
441
+ type: "app" | "module" | "plugin" | "driver" | "objectql" | "gateway" | "adapter";
439
442
  name: string;
440
443
  id: string;
441
444
  version: string;
@@ -1 +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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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C"}
@@ -20,12 +20,15 @@ exports.ManifestSchema = zod_1.z.object({
20
20
  version: zod_1.z.string().regex(/^\d+\.\d+\.\d+$/).describe('Package version (semantic versioning)'),
21
21
  /**
22
22
  * Type of the package in the ObjectStack ecosystem.
23
- * - app: Standalone application
24
- * - plugin: Extension to ObjectOS
25
- * - driver: Low-level integration driver
26
- * - module: Reusable code module
23
+ * - app: Business application package
24
+ * - plugin: General-purpose functionality extension
25
+ * - driver: Southbound interface - Database/external service adapter (Postgres, MongoDB, S3)
26
+ * - module: Reusable code library/shared module
27
+ * - objectql: Core engine - Data layer implementation
28
+ * - gateway: Northbound interface - API protocol entry point (GraphQL, REST, RPC, OData)
29
+ * - adapter: Host adapter - Runtime container (Express, Hono, Fastify, Serverless)
27
30
  */
28
- type: zod_1.z.enum(['app', 'plugin', 'driver', 'module']).describe('Type of package'),
31
+ type: zod_1.z.enum(['app', 'plugin', 'driver', 'module', 'objectql', 'gateway', 'adapter']).describe('Type of package'),
29
32
  /**
30
33
  * Human-readable name of the package.
31
34
  */
@@ -25,7 +25,10 @@
25
25
  "app",
26
26
  "plugin",
27
27
  "driver",
28
- "module"
28
+ "module",
29
+ "objectql",
30
+ "gateway",
31
+ "adapter"
29
32
  ],
30
33
  "description": "Type of package"
31
34
  },
@@ -19,7 +19,10 @@
19
19
  "app",
20
20
  "plugin",
21
21
  "driver",
22
- "module"
22
+ "module",
23
+ "objectql",
24
+ "gateway",
25
+ "adapter"
23
26
  ],
24
27
  "description": "Type of package"
25
28
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@objectstack/spec",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "ObjectStack Protocol & Specification - TypeScript Interfaces, JSON Schemas, and Convention Configurations",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",