@objectstack/spec 2.0.0 → 2.0.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.
Files changed (39) hide show
  1. package/dist/api/index.d.mts +1 -1
  2. package/dist/api/index.d.ts +1 -1
  3. package/dist/api/index.js +28 -159
  4. package/dist/api/index.js.map +1 -1
  5. package/dist/api/index.mjs +27 -158
  6. package/dist/api/index.mjs.map +1 -1
  7. package/dist/{index-XO8S5zL2.d.ts → index-BvKdac5U.d.ts} +144 -111
  8. package/dist/{index-CgljqRyc.d.mts → index-CR1mxRt5.d.mts} +8 -9
  9. package/dist/{index-BIc5QtGI.d.mts → index-Ch3NLQeS.d.mts} +144 -111
  10. package/dist/{index-DpraDphg.d.ts → index-op6pEi6m.d.ts} +8 -9
  11. package/dist/index.d.mts +3 -15
  12. package/dist/index.d.ts +3 -15
  13. package/dist/index.js +27 -159
  14. package/dist/index.js.map +1 -1
  15. package/dist/index.mjs +27 -159
  16. package/dist/index.mjs.map +1 -1
  17. package/dist/system/index.d.mts +1 -1
  18. package/dist/system/index.d.ts +1 -1
  19. package/dist/system/index.js +0 -3
  20. package/dist/system/index.js.map +1 -1
  21. package/dist/system/index.mjs +0 -3
  22. package/dist/system/index.mjs.map +1 -1
  23. package/json-schema/api/ApiCapabilities.json +0 -5
  24. package/json-schema/api/ApiRoutes.json +1 -6
  25. package/json-schema/api/Discovery.json +40 -11
  26. package/json-schema/api/DispatcherConfig.json +0 -1
  27. package/json-schema/api/DispatcherRoute.json +0 -1
  28. package/json-schema/api/GetDiscoveryResponse.json +1 -11
  29. package/json-schema/api/RestApiEndpoint.json +1 -2
  30. package/json-schema/api/RestApiPluginConfig.json +2 -4
  31. package/json-schema/api/RestApiRouteCategory.json +1 -2
  32. package/json-schema/api/RestApiRouteRegistration.json +2 -4
  33. package/json-schema/api/RouterConfig.json +0 -6
  34. package/json-schema/api/ServiceInfo.json +41 -0
  35. package/json-schema/system/CoreServiceName.json +0 -1
  36. package/json-schema/system/KernelServiceMap.json +0 -1
  37. package/json-schema/system/ServiceConfig.json +0 -1
  38. package/json-schema/system/ServiceStatus.json +0 -1
  39. package/package.json +1 -1
@@ -41976,7 +41976,7 @@ type MetadataManagerConfig = z.infer<typeof MetadataManagerConfigSchema>;
41976
41976
  * 2. Route requests to the correct service handler.
41977
41977
  * 3. Type-check service interactions.
41978
41978
  */
41979
- declare const CoreServiceName: z.ZodEnum<["metadata", "data", "auth", "file-storage", "search", "cache", "queue", "automation", "graphql", "analytics", "hub", "realtime", "job", "notification", "ai", "i18n", "ui", "workflow"]>;
41979
+ declare const CoreServiceName: z.ZodEnum<["metadata", "data", "auth", "file-storage", "search", "cache", "queue", "automation", "graphql", "analytics", "realtime", "job", "notification", "ai", "i18n", "ui", "workflow"]>;
41980
41980
  type CoreServiceName = z.infer<typeof CoreServiceName>;
41981
41981
  /**
41982
41982
  * Service Criticality Level
@@ -41998,7 +41998,6 @@ declare const ServiceRequirementDef: {
41998
41998
  readonly automation: "optional";
41999
41999
  readonly graphql: "optional";
42000
42000
  readonly analytics: "optional";
42001
- readonly hub: "optional";
42002
42001
  readonly realtime: "optional";
42003
42002
  readonly notification: "optional";
42004
42003
  readonly ai: "optional";
@@ -42010,7 +42009,7 @@ declare const ServiceRequirementDef: {
42010
42009
  * Describes the availability and health of a service
42011
42010
  */
42012
42011
  declare const ServiceStatusSchema: z.ZodObject<{
42013
- name: z.ZodEnum<["metadata", "data", "auth", "file-storage", "search", "cache", "queue", "automation", "graphql", "analytics", "hub", "realtime", "job", "notification", "ai", "i18n", "ui", "workflow"]>;
42012
+ name: z.ZodEnum<["metadata", "data", "auth", "file-storage", "search", "cache", "queue", "automation", "graphql", "analytics", "realtime", "job", "notification", "ai", "i18n", "ui", "workflow"]>;
42014
42013
  enabled: z.ZodBoolean;
42015
42014
  status: z.ZodEnum<["running", "stopped", "degraded", "initializing"]>;
42016
42015
  version: z.ZodOptional<z.ZodString>;
@@ -42019,14 +42018,14 @@ declare const ServiceStatusSchema: z.ZodObject<{
42019
42018
  }, "strip", z.ZodTypeAny, {
42020
42019
  status: "stopped" | "running" | "degraded" | "initializing";
42021
42020
  enabled: boolean;
42022
- name: "search" | "data" | "cache" | "metadata" | "graphql" | "auth" | "queue" | "file-storage" | "automation" | "analytics" | "hub" | "realtime" | "job" | "notification" | "ai" | "i18n" | "ui" | "workflow";
42021
+ name: "search" | "data" | "cache" | "metadata" | "graphql" | "auth" | "queue" | "file-storage" | "automation" | "analytics" | "realtime" | "job" | "notification" | "ai" | "i18n" | "ui" | "workflow";
42023
42022
  provider?: string | undefined;
42024
42023
  version?: string | undefined;
42025
42024
  features?: string[] | undefined;
42026
42025
  }, {
42027
42026
  status: "stopped" | "running" | "degraded" | "initializing";
42028
42027
  enabled: boolean;
42029
- name: "search" | "data" | "cache" | "metadata" | "graphql" | "auth" | "queue" | "file-storage" | "automation" | "analytics" | "hub" | "realtime" | "job" | "notification" | "ai" | "i18n" | "ui" | "workflow";
42028
+ name: "search" | "data" | "cache" | "metadata" | "graphql" | "auth" | "queue" | "file-storage" | "automation" | "analytics" | "realtime" | "job" | "notification" | "ai" | "i18n" | "ui" | "workflow";
42030
42029
  provider?: string | undefined;
42031
42030
  version?: string | undefined;
42032
42031
  features?: string[] | undefined;
@@ -42035,18 +42034,18 @@ declare const ServiceStatusSchema: z.ZodObject<{
42035
42034
  * The Contract definition for what the Kernel MUST expose
42036
42035
  * map<ServiceName, ServiceInstance>
42037
42036
  */
42038
- declare const KernelServiceMapSchema: z.ZodRecord<z.ZodEnum<["metadata", "data", "auth", "file-storage", "search", "cache", "queue", "automation", "graphql", "analytics", "hub", "realtime", "job", "notification", "ai", "i18n", "ui", "workflow"]>, z.ZodUnknown>;
42037
+ declare const KernelServiceMapSchema: z.ZodRecord<z.ZodEnum<["metadata", "data", "auth", "file-storage", "search", "cache", "queue", "automation", "graphql", "analytics", "realtime", "job", "notification", "ai", "i18n", "ui", "workflow"]>, z.ZodUnknown>;
42039
42038
  declare const ServiceConfigSchema: z.ZodObject<{
42040
42039
  id: z.ZodString;
42041
- name: z.ZodEnum<["metadata", "data", "auth", "file-storage", "search", "cache", "queue", "automation", "graphql", "analytics", "hub", "realtime", "job", "notification", "ai", "i18n", "ui", "workflow"]>;
42040
+ name: z.ZodEnum<["metadata", "data", "auth", "file-storage", "search", "cache", "queue", "automation", "graphql", "analytics", "realtime", "job", "notification", "ai", "i18n", "ui", "workflow"]>;
42042
42041
  options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
42043
42042
  }, "strip", z.ZodTypeAny, {
42044
42043
  id: string;
42045
- name: "search" | "data" | "cache" | "metadata" | "graphql" | "auth" | "queue" | "file-storage" | "automation" | "analytics" | "hub" | "realtime" | "job" | "notification" | "ai" | "i18n" | "ui" | "workflow";
42044
+ name: "search" | "data" | "cache" | "metadata" | "graphql" | "auth" | "queue" | "file-storage" | "automation" | "analytics" | "realtime" | "job" | "notification" | "ai" | "i18n" | "ui" | "workflow";
42046
42045
  options?: Record<string, unknown> | undefined;
42047
42046
  }, {
42048
42047
  id: string;
42049
- name: "search" | "data" | "cache" | "metadata" | "graphql" | "auth" | "queue" | "file-storage" | "automation" | "analytics" | "hub" | "realtime" | "job" | "notification" | "ai" | "i18n" | "ui" | "workflow";
42048
+ name: "search" | "data" | "cache" | "metadata" | "graphql" | "auth" | "queue" | "file-storage" | "automation" | "analytics" | "realtime" | "job" | "notification" | "ai" | "i18n" | "ui" | "workflow";
42050
42049
  options?: Record<string, unknown> | undefined;
42051
42050
  }>;
42052
42051