@objectstack/spec 1.0.5 → 1.0.7

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.
Files changed (64) hide show
  1. package/dist/ai/index.d.mts +1 -1
  2. package/dist/ai/index.d.ts +1 -1
  3. package/dist/api/index.d.mts +2 -2
  4. package/dist/api/index.d.ts +2 -2
  5. package/dist/api/index.js +1880 -1784
  6. package/dist/api/index.js.map +1 -1
  7. package/dist/api/index.mjs +1880 -1784
  8. package/dist/api/index.mjs.map +1 -1
  9. package/dist/automation/index.d.mts +1 -1
  10. package/dist/automation/index.d.ts +1 -1
  11. package/dist/contracts/index.d.mts +3 -3
  12. package/dist/contracts/index.d.ts +3 -3
  13. package/dist/data/index.d.mts +3 -3
  14. package/dist/data/index.d.ts +3 -3
  15. package/dist/data/index.js +5 -1
  16. package/dist/data/index.js.map +1 -1
  17. package/dist/data/index.mjs +5 -1
  18. package/dist/data/index.mjs.map +1 -1
  19. package/dist/{driver.zod-YoPJRbBk.d.mts → driver.zod-BOM_Etco.d.mts} +164 -3467
  20. package/dist/{driver.zod-B0DitHQ2.d.ts → driver.zod-lfi00zVT.d.ts} +164 -3467
  21. package/dist/{field.zod-Da5S-hAo.d.mts → field.zod-B_lzVsuC.d.ts} +871 -1
  22. package/dist/{field.zod-Da5S-hAo.d.ts → field.zod-dhbAw0SA.d.mts} +871 -1
  23. package/dist/hub/index.d.mts +1 -1
  24. package/dist/hub/index.d.ts +1 -1
  25. package/dist/hub/index.js +796 -707
  26. package/dist/hub/index.js.map +1 -1
  27. package/dist/hub/index.mjs +796 -707
  28. package/dist/hub/index.mjs.map +1 -1
  29. package/dist/{index-DSLwt2M_.d.ts → index-C67cfwmW.d.ts} +6 -355
  30. package/dist/{index-BMqjuD4e.d.ts → index-CH5zloR3.d.ts} +2 -2
  31. package/dist/{index-CIBOjiZG.d.mts → index-CU4m6noq.d.mts} +2 -2
  32. package/dist/{index-BeFe7iF_.d.mts → index-CyognKSZ.d.ts} +268 -1565
  33. package/dist/{index-CFaoWA3X.d.ts → index-DE_lJ11p.d.mts} +268 -1565
  34. package/dist/{index-C34qbBQr.d.mts → index-DLcySG7U.d.mts} +262 -241
  35. package/dist/{index-C34qbBQr.d.ts → index-DLcySG7U.d.ts} +262 -241
  36. package/dist/{index-BYtinxqf.d.mts → index-Dp7GFJ8V.d.mts} +6 -355
  37. package/dist/{index-D8XFyX0x.d.mts → index-Os7lItRe.d.mts} +108 -108
  38. package/dist/{index-D8XFyX0x.d.ts → index-Os7lItRe.d.ts} +108 -108
  39. package/dist/{index-CsF8m5Wj.d.mts → index-l6WIlmOD.d.mts} +39 -39
  40. package/dist/{index-CsF8m5Wj.d.ts → index-l6WIlmOD.d.ts} +39 -39
  41. package/dist/index.d.mts +162 -162
  42. package/dist/index.d.ts +162 -162
  43. package/dist/index.js +714 -672
  44. package/dist/index.js.map +1 -1
  45. package/dist/index.mjs +714 -672
  46. package/dist/index.mjs.map +1 -1
  47. package/dist/kernel/index.d.mts +1 -1
  48. package/dist/kernel/index.d.ts +1 -1
  49. package/dist/kernel/index.js +705 -669
  50. package/dist/kernel/index.js.map +1 -1
  51. package/dist/kernel/index.mjs +704 -669
  52. package/dist/kernel/index.mjs.map +1 -1
  53. package/json-schema/api/CompileManifestResponse.json +6 -2
  54. package/json-schema/api/ExportRequest.json +419 -758
  55. package/json-schema/api/FindDataRequest.json +9 -0
  56. package/json-schema/data/JoinNode.json +9 -0
  57. package/json-schema/data/Mapping.json +9 -0
  58. package/json-schema/data/Query.json +9 -0
  59. package/json-schema/hub/ComposerResponse.json +6 -2
  60. package/json-schema/kernel/Manifest.json +6 -2
  61. package/json-schema/kernel/Plugin.json +28 -0
  62. package/package.json +1 -1
  63. package/dist/{index-iGrpxfqq.d.mts → index-D12rNohm.d.mts} +1 -1
  64. package/dist/{index-iGrpxfqq.d.ts → index-D12rNohm.d.ts} +1 -1
@@ -155,6 +155,10 @@
155
155
  "type": "number",
156
156
  "description": "Records to skip (OFFSET)"
157
157
  },
158
+ "top": {
159
+ "type": "number",
160
+ "description": "Alias for limit (OData compatibility)"
161
+ },
158
162
  "cursor": {
159
163
  "type": "object",
160
164
  "additionalProperties": {},
@@ -490,6 +494,11 @@
490
494
  "distinct": {
491
495
  "type": "boolean",
492
496
  "description": "SELECT DISTINCT flag"
497
+ },
498
+ "expand": {
499
+ "type": "object",
500
+ "additionalProperties": {},
501
+ "description": "Recursive relation loading (nested queries)"
493
502
  }
494
503
  },
495
504
  "required": [
@@ -265,6 +265,10 @@
265
265
  "type": "number",
266
266
  "description": "Records to skip (OFFSET)"
267
267
  },
268
+ "top": {
269
+ "type": "number",
270
+ "description": "Alias for limit (OData compatibility)"
271
+ },
268
272
  "cursor": {
269
273
  "type": "object",
270
274
  "additionalProperties": {},
@@ -473,6 +477,11 @@
473
477
  "distinct": {
474
478
  "type": "boolean",
475
479
  "description": "SELECT DISTINCT flag"
480
+ },
481
+ "expand": {
482
+ "type": "object",
483
+ "additionalProperties": {},
484
+ "description": "Recursive relation loading (nested queries)"
476
485
  }
477
486
  },
478
487
  "required": [
@@ -270,6 +270,10 @@
270
270
  "type": "number",
271
271
  "description": "Records to skip (OFFSET)"
272
272
  },
273
+ "top": {
274
+ "type": "number",
275
+ "description": "Alias for limit (OData compatibility)"
276
+ },
273
277
  "cursor": {
274
278
  "type": "object",
275
279
  "additionalProperties": {},
@@ -605,6 +609,11 @@
605
609
  "distinct": {
606
610
  "type": "boolean",
607
611
  "description": "SELECT DISTINCT flag"
612
+ },
613
+ "expand": {
614
+ "type": "object",
615
+ "additionalProperties": {},
616
+ "description": "Recursive relation loading (nested queries)"
608
617
  }
609
618
  },
610
619
  "required": [
@@ -148,6 +148,10 @@
148
148
  "type": "number",
149
149
  "description": "Records to skip (OFFSET)"
150
150
  },
151
+ "top": {
152
+ "type": "number",
153
+ "description": "Alias for limit (OData compatibility)"
154
+ },
151
155
  "cursor": {
152
156
  "type": "object",
153
157
  "additionalProperties": {},
@@ -483,6 +487,11 @@
483
487
  "distinct": {
484
488
  "type": "boolean",
485
489
  "description": "SELECT DISTINCT flag"
490
+ },
491
+ "expand": {
492
+ "type": "object",
493
+ "additionalProperties": {},
494
+ "description": "Recursive relation loading (nested queries)"
486
495
  }
487
496
  },
488
497
  "required": [
@@ -22,11 +22,15 @@
22
22
  "type": {
23
23
  "type": "string",
24
24
  "enum": [
25
- "app",
26
25
  "plugin",
26
+ "ui",
27
27
  "driver",
28
- "module",
28
+ "server",
29
+ "app",
30
+ "theme",
31
+ "agent",
29
32
  "objectql",
33
+ "module",
30
34
  "gateway",
31
35
  "adapter"
32
36
  ],
@@ -16,11 +16,15 @@
16
16
  "type": {
17
17
  "type": "string",
18
18
  "enum": [
19
- "app",
20
19
  "plugin",
20
+ "ui",
21
21
  "driver",
22
- "module",
22
+ "server",
23
+ "app",
24
+ "theme",
25
+ "agent",
23
26
  "objectql",
27
+ "module",
24
28
  "gateway",
25
29
  "adapter"
26
30
  ],
@@ -9,6 +9,34 @@
9
9
  "minLength": 1,
10
10
  "description": "Unique Plugin ID (e.g. com.example.crm)"
11
11
  },
12
+ "type": {
13
+ "type": "string",
14
+ "enum": [
15
+ "standard",
16
+ "ui",
17
+ "driver",
18
+ "server",
19
+ "app",
20
+ "theme",
21
+ "agent",
22
+ "objectql"
23
+ ],
24
+ "default": "standard",
25
+ "description": "Plugin Type categorization for runtime behavior"
26
+ },
27
+ "staticPath": {
28
+ "type": "string",
29
+ "description": "Absolute path to static assets (Required for type=\"ui-plugin\")"
30
+ },
31
+ "slug": {
32
+ "type": "string",
33
+ "pattern": "^[a-z0-9-_]+$",
34
+ "description": "URL path segment (Required for type=\"ui-plugin\")"
35
+ },
36
+ "default": {
37
+ "type": "boolean",
38
+ "description": "Serve at root path (Only one \"ui-plugin\" can be default)"
39
+ },
12
40
  "version": {
13
41
  "type": "string",
14
42
  "pattern": "^\\d+\\.\\d+\\.\\d+$",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@objectstack/spec",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "description": "ObjectStack Protocol & Specification - TypeScript Interfaces, JSON Schemas, and Convention Configurations",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/index.js",
@@ -4665,8 +4665,8 @@ declare const ConnectorSchema: z.ZodObject<{
4665
4665
  supportsFiltering?: boolean | undefined;
4666
4666
  }[] | undefined;
4667
4667
  baseUrl?: string | undefined;
4668
- verified?: boolean | undefined;
4669
4668
  homepage?: string | undefined;
4669
+ verified?: boolean | undefined;
4670
4670
  triggers?: {
4671
4671
  type: "webhook" | "stream" | "polling";
4672
4672
  name: string;
@@ -4665,8 +4665,8 @@ declare const ConnectorSchema: z.ZodObject<{
4665
4665
  supportsFiltering?: boolean | undefined;
4666
4666
  }[] | undefined;
4667
4667
  baseUrl?: string | undefined;
4668
- verified?: boolean | undefined;
4669
4668
  homepage?: string | undefined;
4669
+ verified?: boolean | undefined;
4670
4670
  triggers?: {
4671
4671
  type: "webhook" | "stream" | "polling";
4672
4672
  name: string;