@objectstack/spec 0.6.1 → 0.7.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 (812) hide show
  1. package/dist/ai/agent-action.zod.d.ts +2231 -0
  2. package/dist/ai/agent-action.zod.d.ts.map +1 -0
  3. package/dist/ai/agent-action.zod.js +401 -0
  4. package/dist/ai/agent.zod.d.ts +8 -8
  5. package/dist/ai/conversation.zod.d.ts +100 -66
  6. package/dist/ai/conversation.zod.d.ts.map +1 -1
  7. package/dist/ai/conversation.zod.js +5 -5
  8. package/dist/ai/cost.zod.d.ts +279 -207
  9. package/dist/ai/cost.zod.d.ts.map +1 -1
  10. package/dist/ai/cost.zod.js +25 -1
  11. package/dist/ai/index.d.ts +1 -0
  12. package/dist/ai/index.d.ts.map +1 -1
  13. package/dist/ai/index.js +1 -0
  14. package/dist/ai/model-registry.zod.d.ts +131 -131
  15. package/dist/ai/nlq.zod.d.ts +72 -45
  16. package/dist/ai/nlq.zod.d.ts.map +1 -1
  17. package/dist/ai/nlq.zod.js +4 -0
  18. package/dist/ai/orchestration.zod.d.ts +69 -43
  19. package/dist/ai/orchestration.zod.d.ts.map +1 -1
  20. package/dist/ai/orchestration.zod.js +3 -0
  21. package/dist/ai/predictive.zod.d.ts +88 -62
  22. package/dist/ai/predictive.zod.d.ts.map +1 -1
  23. package/dist/ai/predictive.zod.js +3 -0
  24. package/dist/ai/rag-pipeline.zod.d.ts +98 -72
  25. package/dist/ai/rag-pipeline.zod.d.ts.map +1 -1
  26. package/dist/ai/rag-pipeline.zod.js +4 -1
  27. package/dist/api/batch.zod.d.ts +1029 -0
  28. package/dist/api/batch.zod.d.ts.map +1 -0
  29. package/dist/api/batch.zod.js +196 -0
  30. package/dist/api/contract.zod.d.ts +96 -0
  31. package/dist/api/contract.zod.d.ts.map +1 -1
  32. package/dist/api/discovery.zod.d.ts +16 -16
  33. package/dist/api/endpoint.zod.d.ts +29 -28
  34. package/dist/api/endpoint.zod.d.ts.map +1 -1
  35. package/dist/api/endpoint.zod.js +4 -7
  36. package/dist/api/errors.zod.d.ts +364 -0
  37. package/dist/api/errors.zod.d.ts.map +1 -0
  38. package/dist/api/errors.zod.js +296 -0
  39. package/dist/api/graphql.zod.d.ts +5727 -0
  40. package/dist/api/graphql.zod.d.ts.map +1 -0
  41. package/dist/api/graphql.zod.js +724 -0
  42. package/dist/api/http-cache.zod.d.ts +439 -0
  43. package/dist/api/http-cache.zod.d.ts.map +1 -0
  44. package/dist/api/http-cache.zod.js +219 -0
  45. package/dist/api/index.d.ts +11 -1
  46. package/dist/api/index.d.ts.map +1 -1
  47. package/dist/api/index.js +13 -1
  48. package/dist/api/odata.zod.d.ts +4 -4
  49. package/dist/api/protocol.zod.d.ts +9375 -0
  50. package/dist/api/protocol.zod.d.ts.map +1 -0
  51. package/dist/api/protocol.zod.js +376 -0
  52. package/dist/api/realtime.zod.d.ts +2 -2
  53. package/dist/api/rest-server.zod.d.ts +2330 -0
  54. package/dist/api/rest-server.zod.d.ts.map +1 -0
  55. package/dist/api/rest-server.zod.js +424 -0
  56. package/dist/api/router.zod.d.ts +39 -32
  57. package/dist/api/router.zod.d.ts.map +1 -1
  58. package/dist/api/router.zod.js +5 -23
  59. package/dist/api/view-storage.zod.d.ts +8220 -0
  60. package/dist/api/view-storage.zod.d.ts.map +1 -0
  61. package/dist/api/view-storage.zod.js +243 -0
  62. package/dist/api/websocket.zod.d.ts +1740 -0
  63. package/dist/api/websocket.zod.d.ts.map +1 -0
  64. package/dist/api/websocket.zod.js +470 -0
  65. package/dist/auth/config.zod.d.ts +655 -304
  66. package/dist/auth/config.zod.d.ts.map +1 -1
  67. package/dist/auth/config.zod.js +149 -7
  68. package/dist/auth/identity.zod.d.ts +9 -9
  69. package/dist/auth/organization.zod.d.ts +6 -6
  70. package/dist/auth/policy.zod.d.ts +3 -3
  71. package/dist/auth/scim.zod.d.ts +83 -83
  72. package/dist/automation/approval.zod.d.ts +18 -18
  73. package/dist/automation/etl.zod.d.ts +53 -23
  74. package/dist/automation/etl.zod.d.ts.map +1 -1
  75. package/dist/automation/etl.zod.js +31 -1
  76. package/dist/automation/flow.zod.d.ts +26 -26
  77. package/dist/automation/index.d.ts +1 -1
  78. package/dist/automation/index.d.ts.map +1 -1
  79. package/dist/automation/index.js +1 -1
  80. package/dist/automation/sync.zod.d.ts +381 -166
  81. package/dist/automation/sync.zod.d.ts.map +1 -1
  82. package/dist/automation/sync.zod.js +38 -31
  83. package/dist/automation/{connector.zod.d.ts → trigger-registry.zod.d.ts} +77 -62
  84. package/dist/automation/trigger-registry.zod.d.ts.map +1 -0
  85. package/dist/automation/{connector.zod.js → trigger-registry.zod.js} +36 -21
  86. package/dist/automation/webhook.zod.d.ts +106 -19
  87. package/dist/automation/webhook.zod.d.ts.map +1 -1
  88. package/dist/automation/webhook.zod.js +58 -13
  89. package/dist/automation/workflow.zod.d.ts +1089 -265
  90. package/dist/automation/workflow.zod.d.ts.map +1 -1
  91. package/dist/automation/workflow.zod.js +3 -6
  92. package/dist/contracts/data-engine.d.ts +61 -0
  93. package/dist/contracts/data-engine.d.ts.map +1 -0
  94. package/dist/contracts/data-engine.js +2 -0
  95. package/dist/contracts/http-server.d.ts +119 -0
  96. package/dist/contracts/http-server.d.ts.map +1 -0
  97. package/dist/contracts/http-server.js +12 -0
  98. package/dist/contracts/index.d.ts +14 -0
  99. package/dist/contracts/index.d.ts.map +1 -0
  100. package/dist/contracts/index.js +29 -0
  101. package/dist/contracts/logger.d.ts +63 -0
  102. package/dist/contracts/logger.d.ts.map +1 -0
  103. package/dist/contracts/logger.js +2 -0
  104. package/dist/contracts/plugin-lifecycle-events.d.ts +150 -0
  105. package/dist/contracts/plugin-lifecycle-events.d.ts.map +1 -0
  106. package/dist/contracts/plugin-lifecycle-events.js +10 -0
  107. package/dist/contracts/plugin-validator.d.ts +106 -0
  108. package/dist/contracts/plugin-validator.d.ts.map +1 -0
  109. package/dist/contracts/plugin-validator.js +8 -0
  110. package/dist/contracts/service-registry.d.ts +94 -0
  111. package/dist/contracts/service-registry.d.ts.map +1 -0
  112. package/dist/contracts/service-registry.js +11 -0
  113. package/dist/contracts/startup-orchestrator.d.ts +122 -0
  114. package/dist/contracts/startup-orchestrator.d.ts.map +1 -0
  115. package/dist/contracts/startup-orchestrator.js +2 -0
  116. package/dist/data/data-engine.zod.d.ts +2636 -0
  117. package/dist/data/data-engine.zod.d.ts.map +1 -0
  118. package/dist/data/data-engine.zod.js +282 -0
  119. package/dist/data/document.zod.d.ts +746 -0
  120. package/dist/data/document.zod.d.ts.map +1 -0
  121. package/dist/data/document.zod.js +326 -0
  122. package/dist/data/driver/mongo.zod.d.ts +82 -0
  123. package/dist/data/driver/mongo.zod.d.ts.map +1 -0
  124. package/dist/data/driver/mongo.zod.js +68 -0
  125. package/dist/{system → data}/driver/postgres.zod.d.ts +4 -4
  126. package/dist/data/driver/postgres.zod.d.ts.map +1 -0
  127. package/dist/data/driver-nosql.zod.d.ts +1008 -0
  128. package/dist/data/driver-nosql.zod.d.ts.map +1 -0
  129. package/dist/data/driver-nosql.zod.js +417 -0
  130. package/dist/data/driver-sql.zod.d.ts +652 -0
  131. package/dist/data/driver-sql.zod.d.ts.map +1 -0
  132. package/dist/data/driver-sql.zod.js +150 -0
  133. package/dist/{system → data}/driver.zod.d.ts +1538 -249
  134. package/dist/data/driver.zod.d.ts.map +1 -0
  135. package/dist/{system → data}/driver.zod.js +137 -13
  136. package/dist/data/external-lookup.zod.d.ts +662 -0
  137. package/dist/data/external-lookup.zod.d.ts.map +1 -0
  138. package/dist/data/external-lookup.zod.js +223 -0
  139. package/dist/data/field.zod.d.ts +3896 -107
  140. package/dist/data/field.zod.d.ts.map +1 -1
  141. package/dist/data/field.zod.js +161 -2
  142. package/dist/data/hook.zod.d.ts +4 -4
  143. package/dist/data/index.d.ts +7 -0
  144. package/dist/data/index.d.ts.map +1 -1
  145. package/dist/data/index.js +9 -0
  146. package/dist/data/mapping.zod.d.ts +85 -17
  147. package/dist/data/mapping.zod.d.ts.map +1 -1
  148. package/dist/data/object.zod.d.ts +2117 -77
  149. package/dist/data/object.zod.d.ts.map +1 -1
  150. package/dist/data/object.zod.js +128 -15
  151. package/dist/data/query.zod.d.ts +112 -0
  152. package/dist/data/query.zod.d.ts.map +1 -1
  153. package/dist/data/query.zod.js +47 -1
  154. package/dist/data/validation.zod.d.ts +2 -2
  155. package/dist/hub/composer.zod.d.ts +868 -68
  156. package/dist/hub/composer.zod.d.ts.map +1 -1
  157. package/dist/hub/index.d.ts +1 -0
  158. package/dist/hub/index.d.ts.map +1 -1
  159. package/dist/hub/index.js +1 -0
  160. package/dist/hub/license.zod.d.ts +2 -2
  161. package/dist/hub/marketplace.zod.d.ts +2 -2
  162. package/dist/hub/plugin-registry.zod.d.ts +1681 -0
  163. package/dist/hub/plugin-registry.zod.d.ts.map +1 -0
  164. package/dist/hub/plugin-registry.zod.js +350 -0
  165. package/dist/hub/space.zod.d.ts +19 -19
  166. package/dist/hub/tenant.zod.d.ts +44 -44
  167. package/dist/index.d.ts +3 -0
  168. package/dist/index.d.ts.map +1 -1
  169. package/dist/index.js +11 -1
  170. package/dist/integration/connector/database.zod.d.ts +1666 -0
  171. package/dist/integration/connector/database.zod.d.ts.map +1 -0
  172. package/dist/integration/connector/database.zod.js +303 -0
  173. package/dist/integration/connector/file-storage.zod.d.ts +1386 -0
  174. package/dist/integration/connector/file-storage.zod.d.ts.map +1 -0
  175. package/dist/integration/connector/file-storage.zod.js +346 -0
  176. package/dist/integration/connector/message-queue.zod.d.ts +1729 -0
  177. package/dist/integration/connector/message-queue.zod.d.ts.map +1 -0
  178. package/dist/integration/connector/message-queue.zod.js +428 -0
  179. package/dist/integration/connector/saas.zod.d.ts +1440 -0
  180. package/dist/integration/connector/saas.zod.d.ts.map +1 -0
  181. package/dist/integration/connector/saas.zod.js +224 -0
  182. package/dist/integration/connector.zod.d.ts +1571 -0
  183. package/dist/integration/connector.zod.d.ts.map +1 -0
  184. package/dist/integration/connector.zod.js +426 -0
  185. package/dist/integration/index.d.ts +15 -0
  186. package/dist/integration/index.d.ts.map +1 -0
  187. package/dist/integration/index.js +32 -0
  188. package/dist/permission/permission.zod.d.ts +140 -6
  189. package/dist/permission/permission.zod.d.ts.map +1 -1
  190. package/dist/permission/permission.zod.js +48 -0
  191. package/dist/permission/rls.zod.d.ts +8 -8
  192. package/dist/permission/sharing.zod.d.ts +14 -14
  193. package/dist/shared/http.zod.d.ts +140 -0
  194. package/dist/shared/http.zod.d.ts.map +1 -0
  195. package/dist/shared/http.zod.js +133 -0
  196. package/dist/shared/index.d.ts +2 -0
  197. package/dist/shared/index.d.ts.map +1 -1
  198. package/dist/shared/index.js +2 -0
  199. package/dist/shared/mapping.zod.d.ts +226 -0
  200. package/dist/shared/mapping.zod.d.ts.map +1 -0
  201. package/dist/shared/mapping.zod.js +103 -0
  202. package/dist/stack.zod.d.ts +9222 -1785
  203. package/dist/stack.zod.d.ts.map +1 -1
  204. package/dist/system/audit.zod.d.ts +35 -35
  205. package/dist/system/cache.zod.d.ts +151 -0
  206. package/dist/system/cache.zod.d.ts.map +1 -0
  207. package/dist/system/cache.zod.js +57 -0
  208. package/dist/system/change-management.zod.d.ts +626 -0
  209. package/dist/system/change-management.zod.d.ts.map +1 -0
  210. package/dist/system/change-management.zod.js +329 -0
  211. package/dist/system/collaboration.zod.d.ts +2099 -0
  212. package/dist/system/collaboration.zod.d.ts.map +1 -0
  213. package/dist/system/collaboration.zod.js +392 -0
  214. package/dist/system/compliance.zod.d.ts +366 -0
  215. package/dist/system/compliance.zod.d.ts.map +1 -0
  216. package/dist/system/compliance.zod.js +70 -0
  217. package/dist/system/context.zod.d.ts +5 -5
  218. package/dist/system/encryption.zod.d.ts +227 -0
  219. package/dist/system/encryption.zod.d.ts.map +1 -0
  220. package/dist/system/encryption.zod.js +43 -0
  221. package/dist/system/feature.zod.d.ts +12 -12
  222. package/dist/system/http-server.zod.d.ts +735 -0
  223. package/dist/system/http-server.zod.d.ts.map +1 -0
  224. package/dist/system/http-server.zod.js +300 -0
  225. package/dist/system/index.d.ts +20 -6
  226. package/dist/system/index.d.ts.map +1 -1
  227. package/dist/system/index.js +32 -7
  228. package/dist/system/job.zod.d.ts +2 -2
  229. package/dist/system/logging.zod.d.ts +2186 -0
  230. package/dist/system/logging.zod.d.ts.map +1 -0
  231. package/dist/system/logging.zod.js +564 -0
  232. package/dist/system/manifest.zod.d.ts +659 -14
  233. package/dist/system/manifest.zod.d.ts.map +1 -1
  234. package/dist/system/manifest.zod.js +8 -0
  235. package/dist/system/masking.zod.d.ts +87 -0
  236. package/dist/system/masking.zod.d.ts.map +1 -0
  237. package/dist/system/masking.zod.js +30 -0
  238. package/dist/system/message-queue.zod.d.ts +177 -0
  239. package/dist/system/message-queue.zod.d.ts.map +1 -0
  240. package/dist/system/message-queue.zod.js +46 -0
  241. package/dist/system/metadata-loader.zod.d.ts +641 -0
  242. package/dist/system/metadata-loader.zod.d.ts.map +1 -0
  243. package/dist/system/metadata-loader.zod.js +373 -0
  244. package/dist/system/metrics.zod.d.ts +1965 -0
  245. package/dist/system/metrics.zod.d.ts.map +1 -0
  246. package/dist/system/metrics.zod.js +585 -0
  247. package/dist/system/notification.zod.d.ts +725 -0
  248. package/dist/system/notification.zod.d.ts.map +1 -0
  249. package/dist/system/notification.zod.js +335 -0
  250. package/dist/system/object-storage.zod.d.ts +1722 -0
  251. package/dist/system/object-storage.zod.d.ts.map +1 -0
  252. package/dist/system/object-storage.zod.js +591 -0
  253. package/dist/system/plugin-capability.zod.d.ts +1130 -0
  254. package/dist/system/plugin-capability.zod.d.ts.map +1 -0
  255. package/dist/system/plugin-capability.zod.js +271 -0
  256. package/dist/system/plugin-lifecycle-events.zod.d.ts +382 -0
  257. package/dist/system/plugin-lifecycle-events.zod.d.ts.map +1 -0
  258. package/dist/system/plugin-lifecycle-events.zod.js +284 -0
  259. package/dist/system/plugin-validator.zod.d.ts +245 -0
  260. package/dist/system/plugin-validator.zod.d.ts.map +1 -0
  261. package/dist/system/plugin-validator.zod.js +136 -0
  262. package/dist/system/plugin.zod.d.ts +86 -86
  263. package/dist/system/search-engine.zod.d.ts +256 -0
  264. package/dist/system/search-engine.zod.d.ts.map +1 -0
  265. package/dist/system/search-engine.zod.js +50 -0
  266. package/dist/system/service-registry.zod.d.ts +247 -0
  267. package/dist/system/service-registry.zod.d.ts.map +1 -0
  268. package/dist/system/service-registry.zod.js +218 -0
  269. package/dist/system/startup-orchestrator.zod.d.ts +376 -0
  270. package/dist/system/startup-orchestrator.zod.d.ts.map +1 -0
  271. package/dist/system/startup-orchestrator.zod.js +171 -0
  272. package/dist/system/tracing.zod.d.ts +1881 -0
  273. package/dist/system/tracing.zod.d.ts.map +1 -0
  274. package/dist/system/tracing.zod.js +567 -0
  275. package/dist/ui/action.zod.d.ts +10 -10
  276. package/dist/ui/app.zod.d.ts +6 -6
  277. package/dist/ui/chart.zod.d.ts +41 -0
  278. package/dist/ui/chart.zod.d.ts.map +1 -0
  279. package/dist/ui/chart.zod.js +66 -0
  280. package/dist/ui/component.zod.d.ts +2 -2
  281. package/dist/ui/dashboard.zod.d.ts +108 -18
  282. package/dist/ui/dashboard.zod.d.ts.map +1 -1
  283. package/dist/ui/dashboard.zod.js +5 -25
  284. package/dist/ui/index.d.ts +3 -1
  285. package/dist/ui/index.d.ts.map +1 -1
  286. package/dist/ui/index.js +3 -1
  287. package/dist/ui/page.zod.d.ts +2 -2
  288. package/dist/ui/page.zod.js +1 -1
  289. package/dist/ui/report.zod.d.ts +62 -12
  290. package/dist/ui/report.zod.d.ts.map +1 -1
  291. package/dist/ui/report.zod.js +5 -5
  292. package/dist/ui/theme.zod.d.ts +6 -6
  293. package/dist/ui/view.zod.d.ts +316 -316
  294. package/dist/ui/widget.zod.d.ts +825 -31
  295. package/dist/ui/widget.zod.d.ts.map +1 -1
  296. package/json-schema/ai/AIOperationCost.json +79 -0
  297. package/json-schema/ai/AIOrchestrationExecutionResult.json +32 -0
  298. package/json-schema/ai/AgentAction.json +436 -0
  299. package/json-schema/ai/AgentActionResult.json +69 -0
  300. package/json-schema/ai/AgentActionSequence.json +492 -0
  301. package/json-schema/ai/AgentActionSequenceResult.json +143 -0
  302. package/json-schema/ai/ComponentActionParams.json +77 -0
  303. package/json-schema/ai/ComponentActionType.json +20 -0
  304. package/json-schema/ai/ConversationMessage.json +12 -2
  305. package/json-schema/ai/ConversationSession.json +44 -2
  306. package/json-schema/ai/DataActionParams.json +38 -0
  307. package/json-schema/ai/DataActionType.json +18 -0
  308. package/json-schema/ai/FormActionParams.json +36 -0
  309. package/json-schema/ai/FormActionType.json +20 -0
  310. package/json-schema/ai/IntentActionMapping.json +491 -0
  311. package/json-schema/ai/NLQResponse.json +32 -0
  312. package/json-schema/ai/NavigationActionParams.json +56 -0
  313. package/json-schema/ai/NavigationActionType.json +21 -0
  314. package/json-schema/ai/PredictionResult.json +32 -0
  315. package/json-schema/ai/RAGQueryResponse.json +34 -1
  316. package/json-schema/ai/TokenUsage.json +32 -0
  317. package/json-schema/ai/UIActionType.json +63 -0
  318. package/json-schema/ai/ViewActionParams.json +74 -0
  319. package/json-schema/ai/ViewActionType.json +21 -0
  320. package/json-schema/ai/WorkflowActionParams.json +61 -0
  321. package/json-schema/ai/WorkflowActionType.json +18 -0
  322. package/json-schema/api/AckMessage.json +46 -0
  323. package/json-schema/api/ApiEndpoint.json +4 -3
  324. package/json-schema/api/BatchDataRequest.json +93 -0
  325. package/json-schema/api/BatchDataResponse.json +144 -0
  326. package/json-schema/api/BatchEndpointsConfig.json +56 -0
  327. package/json-schema/api/BatchOperationResult.json +57 -0
  328. package/json-schema/api/BatchOperationType.json +15 -0
  329. package/json-schema/api/BatchOptions.json +32 -0
  330. package/json-schema/api/BatchRecord.json +25 -0
  331. package/json-schema/api/BatchUpdateRequest.json +78 -0
  332. package/json-schema/api/BatchUpdateResponse.json +144 -0
  333. package/json-schema/api/CacheControl.json +42 -0
  334. package/json-schema/api/CacheDirective.json +17 -0
  335. package/json-schema/api/CacheInvalidationRequest.json +43 -0
  336. package/json-schema/api/CacheInvalidationResponse.json +31 -0
  337. package/json-schema/api/CacheInvalidationTarget.json +17 -0
  338. package/json-schema/api/CreateDataRequest.json +25 -0
  339. package/json-schema/api/CreateDataResponse.json +30 -0
  340. package/json-schema/api/CreateManyDataRequest.json +28 -0
  341. package/json-schema/api/CreateManyDataResponse.json +33 -0
  342. package/json-schema/api/CreateViewRequest.json +1042 -0
  343. package/json-schema/api/CrudEndpointPattern.json +41 -0
  344. package/json-schema/api/CrudEndpointsConfig.json +106 -0
  345. package/json-schema/api/CrudOperation.json +16 -0
  346. package/json-schema/api/CursorMessage.json +139 -0
  347. package/json-schema/api/CursorPosition.json +112 -0
  348. package/json-schema/api/DeleteDataRequest.json +24 -0
  349. package/json-schema/api/DeleteDataResponse.json +29 -0
  350. package/json-schema/api/DeleteManyDataRequest.json +54 -0
  351. package/json-schema/api/DeleteManyDataResponse.json +144 -0
  352. package/json-schema/api/DeleteManyRequest.json +51 -0
  353. package/json-schema/api/DeleteViewRequest.json +19 -0
  354. package/json-schema/api/DeleteViewResponse.json +19 -0
  355. package/json-schema/api/DocumentState.json +49 -0
  356. package/json-schema/api/ETag.json +24 -0
  357. package/json-schema/api/EditMessage.json +135 -0
  358. package/json-schema/api/EditOperation.json +108 -0
  359. package/json-schema/api/EditOperationType.json +14 -0
  360. package/json-schema/api/EndpointRegistry.json +284 -0
  361. package/json-schema/api/EnhancedApiError.json +226 -0
  362. package/json-schema/api/ErrorCategory.json +20 -0
  363. package/json-schema/api/ErrorMessage.json +44 -0
  364. package/json-schema/api/ErrorResponse.json +259 -0
  365. package/json-schema/api/EventFilter.json +65 -0
  366. package/json-schema/api/EventFilterCondition.json +42 -0
  367. package/json-schema/api/EventMessage.json +55 -0
  368. package/json-schema/api/EventPattern.json +12 -0
  369. package/json-schema/api/EventSubscription.json +105 -0
  370. package/json-schema/api/ExportRequest.json +110 -0
  371. package/json-schema/api/FieldError.json +88 -0
  372. package/json-schema/api/FilterOperator.json +24 -0
  373. package/json-schema/api/FindDataRequest.json +509 -0
  374. package/json-schema/api/FindDataResponse.json +36 -0
  375. package/json-schema/api/GeneratedEndpoint.json +88 -0
  376. package/json-schema/api/GetDataRequest.json +24 -0
  377. package/json-schema/api/GetDataResponse.json +30 -0
  378. package/json-schema/api/GetDiscoveryRequest.json +11 -0
  379. package/json-schema/api/GetDiscoveryResponse.json +38 -0
  380. package/json-schema/api/GetMetaItemCachedRequest.json +77 -0
  381. package/json-schema/api/GetMetaItemCachedResponse.json +85 -0
  382. package/json-schema/api/GetMetaItemRequest.json +24 -0
  383. package/json-schema/api/GetMetaItemResponse.json +27 -0
  384. package/json-schema/api/GetMetaItemsRequest.json +19 -0
  385. package/json-schema/api/GetMetaItemsResponse.json +24 -0
  386. package/json-schema/api/GetMetaTypesRequest.json +11 -0
  387. package/json-schema/api/GetMetaTypesResponse.json +22 -0
  388. package/json-schema/api/GetUiViewRequest.json +28 -0
  389. package/json-schema/api/GetUiViewResponse.json +31 -0
  390. package/json-schema/api/GetViewRequest.json +19 -0
  391. package/json-schema/api/GetViewResponse.json +1103 -0
  392. package/json-schema/api/GraphQLConfig.json +1389 -0
  393. package/json-schema/api/GraphQLDataLoaderConfig.json +101 -0
  394. package/json-schema/api/GraphQLDirectiveConfig.json +108 -0
  395. package/json-schema/api/GraphQLDirectiveLocation.json +30 -0
  396. package/json-schema/api/GraphQLMutationConfig.json +180 -0
  397. package/json-schema/api/GraphQLPersistedQuery.json +151 -0
  398. package/json-schema/api/GraphQLQueryComplexity.json +83 -0
  399. package/json-schema/api/GraphQLQueryConfig.json +231 -0
  400. package/json-schema/api/GraphQLQueryDepthLimit.json +44 -0
  401. package/json-schema/api/GraphQLRateLimit.json +138 -0
  402. package/json-schema/api/GraphQLResolverConfig.json +98 -0
  403. package/json-schema/api/GraphQLScalarType.json +32 -0
  404. package/json-schema/api/GraphQLSubscriptionConfig.json +118 -0
  405. package/json-schema/api/GraphQLTypeConfig.json +113 -0
  406. package/json-schema/api/ListViewsRequest.json +58 -0
  407. package/json-schema/api/ListViewsResponse.json +1132 -0
  408. package/json-schema/api/MetadataCacheRequest.json +58 -0
  409. package/json-schema/api/MetadataCacheResponse.json +85 -0
  410. package/json-schema/api/MetadataEndpointsConfig.json +54 -0
  411. package/json-schema/api/ObjectStackProtocol.json +11 -0
  412. package/json-schema/api/PingMessage.json +31 -0
  413. package/json-schema/api/PongMessage.json +36 -0
  414. package/json-schema/api/PresenceMessage.json +92 -0
  415. package/json-schema/api/PresenceState.json +65 -0
  416. package/json-schema/api/PresenceUpdate.json +35 -0
  417. package/json-schema/api/RateLimit.json +4 -3
  418. package/json-schema/api/RestApiConfig.json +127 -0
  419. package/json-schema/api/RestServerConfig.json +401 -0
  420. package/json-schema/api/RetryStrategy.json +15 -0
  421. package/json-schema/api/RouteGenerationConfig.json +71 -0
  422. package/json-schema/api/RouterConfig.json +22 -9
  423. package/json-schema/api/SavedView.json +1074 -0
  424. package/json-schema/api/SimpleCursorPosition.json +53 -0
  425. package/json-schema/api/SimplePresenceState.json +44 -0
  426. package/json-schema/api/StandardErrorCode.json +62 -0
  427. package/json-schema/api/SubscribeMessage.json +132 -0
  428. package/json-schema/api/UnsubscribeMessage.json +47 -0
  429. package/json-schema/api/UnsubscribeRequest.json +20 -0
  430. package/json-schema/api/UpdateDataRequest.json +30 -0
  431. package/json-schema/api/UpdateDataResponse.json +30 -0
  432. package/json-schema/api/UpdateManyDataRequest.json +70 -0
  433. package/json-schema/api/UpdateManyDataResponse.json +144 -0
  434. package/json-schema/api/UpdateManyRequest.json +67 -0
  435. package/json-schema/api/UpdateViewRequest.json +1041 -0
  436. package/json-schema/api/ViewColumn.json +58 -0
  437. package/json-schema/api/ViewLayout.json +125 -0
  438. package/json-schema/api/ViewResponse.json +1103 -0
  439. package/json-schema/api/ViewType.json +19 -0
  440. package/json-schema/api/ViewVisibility.json +15 -0
  441. package/json-schema/api/WebSocketConfig.json +63 -0
  442. package/json-schema/api/WebSocketEvent.json +40 -0
  443. package/json-schema/api/WebSocketMessage.json +707 -0
  444. package/json-schema/api/WebSocketMessageType.json +21 -0
  445. package/json-schema/api/WebSocketPresenceStatus.json +15 -0
  446. package/json-schema/api/WebSocketServerConfig.json +42 -0
  447. package/json-schema/auth/APIKey.json +34 -0
  448. package/json-schema/auth/ApplicationAuthConfig.json +841 -0
  449. package/json-schema/auth/AuthConfig.json +158 -730
  450. package/json-schema/auth/BasicAuth.json +30 -0
  451. package/json-schema/auth/BearerAuth.json +25 -0
  452. package/json-schema/auth/JWTAuth.json +66 -0
  453. package/json-schema/auth/NoAuth.json +20 -0
  454. package/json-schema/auth/OAuth2.json +62 -0
  455. package/json-schema/auth/SAMLAuth.json +64 -0
  456. package/json-schema/automation/DataDestinationConfig.json +120 -14
  457. package/json-schema/automation/DataSyncConfig.json +120 -14
  458. package/json-schema/automation/TimeTrigger.json +166 -31
  459. package/json-schema/automation/Webhook.json +99 -16
  460. package/json-schema/automation/WebhookTriggerAction.json +166 -31
  461. package/json-schema/automation/WorkflowAction.json +166 -31
  462. package/json-schema/automation/WorkflowRule.json +332 -62
  463. package/json-schema/data/AggregationPipeline.json +99 -0
  464. package/json-schema/data/AggregationStage.json +25 -0
  465. package/json-schema/data/ApiMethod.json +25 -0
  466. package/json-schema/data/CDCConfig.json +37 -0
  467. package/json-schema/data/ComputedFieldCache.json +33 -0
  468. package/json-schema/data/ConsistencyLevel.json +17 -0
  469. package/json-schema/data/DataEngineAggregateOptions.json +80 -0
  470. package/json-schema/data/DataEngineAggregateRequest.json +98 -0
  471. package/json-schema/data/DataEngineBatchRequest.json +699 -0
  472. package/json-schema/data/DataEngineContract.json +12 -0
  473. package/json-schema/data/DataEngineCountOptions.json +44 -0
  474. package/json-schema/data/DataEngineCountRequest.json +61 -0
  475. package/json-schema/data/DataEngineDeleteOptions.json +48 -0
  476. package/json-schema/data/DataEngineDeleteRequest.json +68 -0
  477. package/json-schema/data/DataEngineExecuteRequest.json +24 -0
  478. package/json-schema/data/DataEngineFilter.json +37 -0
  479. package/json-schema/data/DataEngineFindOneRequest.json +133 -0
  480. package/json-schema/data/DataEngineFindRequest.json +133 -0
  481. package/json-schema/data/DataEngineInsertOptions.json +17 -0
  482. package/json-schema/data/DataEngineInsertRequest.json +50 -0
  483. package/json-schema/data/DataEngineQueryOptions.json +116 -0
  484. package/json-schema/data/DataEngineRequest.json +1372 -0
  485. package/json-schema/data/DataEngineSort.json +54 -0
  486. package/json-schema/data/DataEngineUpdateOptions.json +56 -0
  487. package/json-schema/data/DataEngineUpdateRequest.json +81 -0
  488. package/json-schema/data/DataEngineVectorFindRequest.json +74 -0
  489. package/json-schema/data/DataQualityRules.json +45 -0
  490. package/json-schema/data/DataTypeMapping.json +51 -0
  491. package/json-schema/data/Document.json +292 -0
  492. package/json-schema/data/DocumentTemplate.json +78 -0
  493. package/json-schema/data/DocumentValidationSchema.json +39 -0
  494. package/json-schema/data/DocumentVersion.json +50 -0
  495. package/json-schema/data/DriverCapabilities.json +180 -0
  496. package/json-schema/data/DriverConfig.json +243 -0
  497. package/json-schema/data/DriverInterface.json +199 -0
  498. package/json-schema/data/ESignatureConfig.json +74 -0
  499. package/json-schema/data/ExternalDataSource.json +68 -0
  500. package/json-schema/data/ExternalFieldMapping.json +151 -0
  501. package/json-schema/data/ExternalLookup.json +327 -0
  502. package/json-schema/data/Field.json +435 -1
  503. package/json-schema/data/FieldMapping.json +83 -0
  504. package/json-schema/data/FileAttachmentConfig.json +219 -0
  505. package/json-schema/data/FullTextSearch.json +60 -0
  506. package/json-schema/data/Index.json +14 -7
  507. package/json-schema/data/JoinNode.json +55 -0
  508. package/json-schema/data/Mapping.json +639 -0
  509. package/json-schema/data/NoSQLDataTypeMapping.json +63 -0
  510. package/json-schema/data/NoSQLDatabaseType.json +19 -0
  511. package/json-schema/data/NoSQLDriverConfig.json +452 -0
  512. package/json-schema/data/NoSQLIndex.json +87 -0
  513. package/json-schema/data/NoSQLIndexType.json +19 -0
  514. package/json-schema/data/NoSQLOperationType.json +22 -0
  515. package/json-schema/data/NoSQLQueryOptions.json +61 -0
  516. package/json-schema/data/NoSQLTransactionOptions.json +47 -0
  517. package/json-schema/data/Object.json +606 -8
  518. package/json-schema/data/PartitioningConfig.json +38 -0
  519. package/json-schema/data/PoolConfig.json +36 -0
  520. package/json-schema/data/Query.json +55 -0
  521. package/json-schema/data/ReplicationConfig.json +46 -0
  522. package/json-schema/data/SQLDialect.json +17 -0
  523. package/json-schema/data/SQLDriverConfig.json +325 -0
  524. package/json-schema/data/SSLConfig.json +29 -0
  525. package/json-schema/data/ShardingConfig.json +35 -0
  526. package/json-schema/data/SoftDeleteConfig.json +29 -0
  527. package/json-schema/data/TenancyConfig.json +39 -0
  528. package/json-schema/data/TransformType.json +18 -0
  529. package/json-schema/data/VersioningConfig.json +39 -0
  530. package/json-schema/hub/ComposerResponse.json +405 -0
  531. package/json-schema/hub/PluginInstallConfig.json +53 -0
  532. package/json-schema/hub/PluginQualityMetrics.json +101 -0
  533. package/json-schema/hub/PluginRegistryEntry.json +833 -0
  534. package/json-schema/hub/PluginSearchFilters.json +91 -0
  535. package/json-schema/hub/PluginStatistics.json +84 -0
  536. package/json-schema/hub/PluginVendor.json +47 -0
  537. package/json-schema/integration/AckMode.json +15 -0
  538. package/json-schema/integration/ApiVersionConfig.json +32 -0
  539. package/json-schema/integration/Authentication.json +269 -0
  540. package/json-schema/integration/CdcConfig.json +55 -0
  541. package/json-schema/integration/ConflictResolution.json +16 -0
  542. package/json-schema/integration/Connector.json +919 -0
  543. package/json-schema/integration/ConnectorStatus.json +16 -0
  544. package/json-schema/integration/ConnectorType.json +18 -0
  545. package/json-schema/integration/ConsumerConfig.json +67 -0
  546. package/json-schema/integration/DataSyncConfig.json +79 -0
  547. package/json-schema/integration/DatabaseConnector.json +1372 -0
  548. package/json-schema/integration/DatabasePoolConfig.json +53 -0
  549. package/json-schema/integration/DatabaseProvider.json +24 -0
  550. package/json-schema/integration/DatabaseTable.json +216 -0
  551. package/json-schema/integration/DeliveryGuarantee.json +15 -0
  552. package/json-schema/integration/DlqConfig.json +37 -0
  553. package/json-schema/integration/FieldMapping.json +170 -0
  554. package/json-schema/integration/FieldTransform.json +36 -0
  555. package/json-schema/integration/FileAccessPattern.json +17 -0
  556. package/json-schema/integration/FileFilterConfig.json +50 -0
  557. package/json-schema/integration/FileMetadataConfig.json +41 -0
  558. package/json-schema/integration/FileStorageConnector.json +1240 -0
  559. package/json-schema/integration/FileStorageProvider.json +23 -0
  560. package/json-schema/integration/FileVersioningConfig.json +28 -0
  561. package/json-schema/integration/MessageFormat.json +18 -0
  562. package/json-schema/integration/MessageQueueConnector.json +1325 -0
  563. package/json-schema/integration/MessageQueueProvider.json +25 -0
  564. package/json-schema/integration/MultipartUploadConfig.json +36 -0
  565. package/json-schema/integration/ProducerConfig.json +72 -0
  566. package/json-schema/integration/RateLimitConfig.json +69 -0
  567. package/json-schema/integration/RateLimitStrategy.json +16 -0
  568. package/json-schema/integration/RetryConfig.json +73 -0
  569. package/json-schema/integration/RetryStrategy.json +16 -0
  570. package/json-schema/integration/SaasConnector.json +1267 -0
  571. package/json-schema/integration/SaasObjectType.json +218 -0
  572. package/json-schema/integration/SaasProvider.json +24 -0
  573. package/json-schema/integration/SslConfig.json +34 -0
  574. package/json-schema/integration/StorageBucket.json +99 -0
  575. package/json-schema/integration/SyncStrategy.json +16 -0
  576. package/json-schema/integration/TopicQueue.json +252 -0
  577. package/json-schema/integration/WebhookConfig.json +201 -0
  578. package/json-schema/integration/WebhookEvent.json +20 -0
  579. package/json-schema/integration/WebhookSignatureAlgorithm.json +15 -0
  580. package/json-schema/permission/PermissionSet.json +80 -0
  581. package/json-schema/shared/CorsConfig.json +57 -0
  582. package/json-schema/shared/FieldMapping.json +142 -0
  583. package/json-schema/shared/HttpMethod.json +18 -0
  584. package/json-schema/shared/RateLimitConfig.json +27 -0
  585. package/json-schema/shared/StaticMount.json +28 -0
  586. package/json-schema/shared/TransformType.json +120 -0
  587. package/json-schema/system/AccessControlConfig.json +106 -0
  588. package/json-schema/system/AnalyzerConfig.json +41 -0
  589. package/json-schema/system/AuditLogConfig.json +48 -0
  590. package/json-schema/system/AwarenessEvent.json +51 -0
  591. package/json-schema/system/AwarenessSession.json +117 -0
  592. package/json-schema/system/AwarenessUpdate.json +35 -0
  593. package/json-schema/system/AwarenessUserState.json +77 -0
  594. package/json-schema/system/BucketConfig.json +332 -0
  595. package/json-schema/system/CRDTMergeResult.json +295 -0
  596. package/json-schema/system/CRDTState.json +258 -0
  597. package/json-schema/system/CRDTType.json +20 -0
  598. package/json-schema/system/CacheConfig.json +121 -0
  599. package/json-schema/system/CacheInvalidation.json +43 -0
  600. package/json-schema/system/CacheStrategy.json +16 -0
  601. package/json-schema/system/CacheTier.json +52 -0
  602. package/json-schema/system/CapabilityConformanceLevel.json +16 -0
  603. package/json-schema/system/ChangeImpact.json +55 -0
  604. package/json-schema/system/ChangePriority.json +15 -0
  605. package/json-schema/system/ChangeRequest.json +313 -0
  606. package/json-schema/system/ChangeStatus.json +21 -0
  607. package/json-schema/system/ChangeType.json +15 -0
  608. package/json-schema/system/CollaborationMode.json +15 -0
  609. package/json-schema/system/CollaborationSession.json +575 -0
  610. package/json-schema/system/CollaborationSessionConfig.json +86 -0
  611. package/json-schema/system/CollaborativeCursor.json +189 -0
  612. package/json-schema/system/ComplianceConfig.json +202 -0
  613. package/json-schema/system/ConsoleDestinationConfig.json +29 -0
  614. package/json-schema/system/ConsumerConfig.json +34 -0
  615. package/json-schema/system/CounterOperation.json +30 -0
  616. package/json-schema/system/CursorColorPreset.json +21 -0
  617. package/json-schema/system/CursorSelection.json +66 -0
  618. package/json-schema/system/CursorStyle.json +59 -0
  619. package/json-schema/system/CursorUpdate.json +101 -0
  620. package/json-schema/system/DeadLetterQueue.json +26 -0
  621. package/json-schema/system/EmailTemplate.json +69 -0
  622. package/json-schema/system/EncryptionAlgorithm.json +14 -0
  623. package/json-schema/system/EncryptionConfig.json +93 -0
  624. package/json-schema/system/EventPhase.json +15 -0
  625. package/json-schema/system/ExtendedLogLevel.json +18 -0
  626. package/json-schema/system/ExtensionPoint.json +67 -0
  627. package/json-schema/system/ExternalServiceDestinationConfig.json +51 -0
  628. package/json-schema/system/FacetConfig.json +30 -0
  629. package/json-schema/system/FieldEncryption.json +110 -0
  630. package/json-schema/system/FileDestinationConfig.json +56 -0
  631. package/json-schema/system/FileMetadata.json +14 -7
  632. package/json-schema/system/GCounter.json +28 -0
  633. package/json-schema/system/GDPRConfig.json +71 -0
  634. package/json-schema/system/HIPAAConfig.json +45 -0
  635. package/json-schema/system/HealthStatus.json +33 -0
  636. package/json-schema/system/HistogramBucketConfig.json +92 -0
  637. package/json-schema/system/HookRegisteredEvent.json +30 -0
  638. package/json-schema/system/HookTriggeredEvent.json +34 -0
  639. package/json-schema/system/HttpDestinationConfig.json +111 -0
  640. package/json-schema/system/HttpServerConfig.json +156 -0
  641. package/json-schema/system/InAppNotification.json +48 -0
  642. package/json-schema/system/KernelEventBase.json +19 -0
  643. package/json-schema/system/KernelReadyEvent.json +29 -0
  644. package/json-schema/system/KernelShutdownEvent.json +23 -0
  645. package/json-schema/system/KeyManagementProvider.json +16 -0
  646. package/json-schema/system/KeyRotationPolicy.json +29 -0
  647. package/json-schema/system/LWWRegister.json +51 -0
  648. package/json-schema/system/LifecycleAction.json +15 -0
  649. package/json-schema/system/LifecyclePolicyConfig.json +84 -0
  650. package/json-schema/system/LifecyclePolicyRule.json +68 -0
  651. package/json-schema/system/LogDestination.json +295 -0
  652. package/json-schema/system/LogDestinationType.json +26 -0
  653. package/json-schema/system/LogEnrichmentConfig.json +59 -0
  654. package/json-schema/system/LoggerConfig.json +4 -0
  655. package/json-schema/system/LoggingConfig.json +613 -0
  656. package/json-schema/system/Manifest.json +405 -0
  657. package/json-schema/system/MaskingConfig.json +77 -0
  658. package/json-schema/system/MaskingRule.json +57 -0
  659. package/json-schema/system/MaskingStrategy.json +18 -0
  660. package/json-schema/system/MessageQueueConfig.json +143 -0
  661. package/json-schema/system/MessageQueueProvider.json +17 -0
  662. package/json-schema/system/MetadataCollectionInfo.json +53 -0
  663. package/json-schema/system/MetadataExportOptions.json +49 -0
  664. package/json-schema/system/MetadataFormat.json +15 -0
  665. package/json-schema/system/MetadataImportOptions.json +42 -0
  666. package/json-schema/system/MetadataLoadOptions.json +52 -0
  667. package/json-schema/system/MetadataLoadResult.json +86 -0
  668. package/json-schema/system/MetadataLoaderContract.json +48 -0
  669. package/json-schema/system/MetadataManagerConfig.json +108 -0
  670. package/json-schema/system/MetadataSaveOptions.json +64 -0
  671. package/json-schema/system/MetadataSaveResult.json +42 -0
  672. package/json-schema/system/MetadataStats.json +51 -0
  673. package/json-schema/system/MetadataWatchEvent.json +48 -0
  674. package/json-schema/system/MetricAggregationConfig.json +69 -0
  675. package/json-schema/system/MetricAggregationType.json +25 -0
  676. package/json-schema/system/MetricDataPoint.json +135 -0
  677. package/json-schema/system/MetricDefinition.json +193 -0
  678. package/json-schema/system/MetricExportConfig.json +93 -0
  679. package/json-schema/system/MetricLabels.json +13 -0
  680. package/json-schema/system/MetricType.json +16 -0
  681. package/json-schema/system/MetricUnit.json +32 -0
  682. package/json-schema/system/MetricsConfig.json +718 -0
  683. package/json-schema/system/MiddlewareConfig.json +70 -0
  684. package/json-schema/system/MiddlewareType.json +18 -0
  685. package/json-schema/system/MultipartUploadConfig.json +49 -0
  686. package/json-schema/system/NotificationChannel.json +18 -0
  687. package/json-schema/system/NotificationConfig.json +343 -0
  688. package/json-schema/system/ORSet.json +57 -0
  689. package/json-schema/system/ORSetElement.json +39 -0
  690. package/json-schema/system/OTComponent.json +76 -0
  691. package/json-schema/system/OTOperation.json +128 -0
  692. package/json-schema/system/OTOperationType.json +14 -0
  693. package/json-schema/system/OTTransformResult.json +150 -0
  694. package/json-schema/system/ObjectMetadata.json +90 -0
  695. package/json-schema/system/ObjectStorageConfig.json +475 -0
  696. package/json-schema/system/OpenTelemetryCompatibility.json +196 -0
  697. package/json-schema/system/OtelExporterType.json +22 -0
  698. package/json-schema/system/PCIDSSConfig.json +47 -0
  699. package/json-schema/system/PNCounter.json +37 -0
  700. package/json-schema/system/PluginCapability.json +127 -0
  701. package/json-schema/system/PluginCapabilityManifest.json +410 -0
  702. package/json-schema/system/PluginDependency.json +39 -0
  703. package/json-schema/system/PluginErrorEvent.json +46 -0
  704. package/json-schema/system/PluginEventBase.json +24 -0
  705. package/json-schema/system/PluginInterface.json +141 -0
  706. package/json-schema/system/PluginLifecycleEventType.json +31 -0
  707. package/json-schema/system/PluginLifecyclePhaseEvent.json +38 -0
  708. package/json-schema/system/PluginMetadata.json +37 -0
  709. package/json-schema/system/PluginRegisteredEvent.json +28 -0
  710. package/json-schema/system/PluginStartupResult.json +73 -0
  711. package/json-schema/system/PresignedUrlConfig.json +49 -0
  712. package/json-schema/system/ProtocolFeature.json +34 -0
  713. package/json-schema/system/ProtocolReference.json +56 -0
  714. package/json-schema/system/ProtocolVersion.json +30 -0
  715. package/json-schema/system/PushNotification.json +60 -0
  716. package/json-schema/system/RollbackPlan.json +51 -0
  717. package/json-schema/system/RouteHandlerMetadata.json +85 -0
  718. package/json-schema/system/SMSTemplate.json +36 -0
  719. package/json-schema/system/SamplingDecision.json +15 -0
  720. package/json-schema/system/SamplingStrategyType.json +20 -0
  721. package/json-schema/system/ScopeConfig.json +28 -0
  722. package/json-schema/system/ScopeInfo.json +39 -0
  723. package/json-schema/system/SearchConfig.json +195 -0
  724. package/json-schema/system/SearchIndexConfig.json +78 -0
  725. package/json-schema/system/SearchProvider.json +16 -0
  726. package/json-schema/system/ServerCapabilities.json +63 -0
  727. package/json-schema/system/ServerEvent.json +39 -0
  728. package/json-schema/system/ServerEventType.json +18 -0
  729. package/json-schema/system/ServerStatus.json +93 -0
  730. package/json-schema/system/ServiceFactoryRegistration.json +44 -0
  731. package/json-schema/system/ServiceLevelIndicator.json +105 -0
  732. package/json-schema/system/ServiceLevelObjective.json +170 -0
  733. package/json-schema/system/ServiceMetadata.json +43 -0
  734. package/json-schema/system/ServiceRegisteredEvent.json +28 -0
  735. package/json-schema/system/ServiceRegistryConfig.json +39 -0
  736. package/json-schema/system/ServiceScopeType.json +15 -0
  737. package/json-schema/system/ServiceUnregisteredEvent.json +24 -0
  738. package/json-schema/system/Span.json +387 -0
  739. package/json-schema/system/SpanAttributeValue.json +38 -0
  740. package/json-schema/system/SpanAttributes.json +42 -0
  741. package/json-schema/system/SpanEvent.json +62 -0
  742. package/json-schema/system/SpanKind.json +17 -0
  743. package/json-schema/system/SpanLink.json +110 -0
  744. package/json-schema/system/SpanStatus.json +15 -0
  745. package/json-schema/system/StartupOptions.json +36 -0
  746. package/json-schema/system/StartupOrchestrationResult.json +104 -0
  747. package/json-schema/system/StorageAcl.json +18 -0
  748. package/json-schema/system/StorageClass.json +17 -0
  749. package/json-schema/system/StorageConnection.json +62 -0
  750. package/json-schema/system/StorageProvider.json +21 -0
  751. package/json-schema/system/StorageScope.json +5 -1
  752. package/json-schema/system/StructuredLogEntry.json +191 -0
  753. package/json-schema/system/TextCRDTOperation.json +52 -0
  754. package/json-schema/system/TextCRDTState.json +105 -0
  755. package/json-schema/system/TimeSeries.json +69 -0
  756. package/json-schema/system/TimeSeriesDataPoint.json +33 -0
  757. package/json-schema/system/TopicConfig.json +39 -0
  758. package/json-schema/system/TraceContext.json +64 -0
  759. package/json-schema/system/TraceContextPropagation.json +79 -0
  760. package/json-schema/system/TraceFlags.json +12 -0
  761. package/json-schema/system/TracePropagationFormat.json +19 -0
  762. package/json-schema/system/TraceSamplingConfig.json +186 -0
  763. package/json-schema/system/TraceState.json +23 -0
  764. package/json-schema/system/TracingConfig.json +536 -0
  765. package/json-schema/system/UserActivityStatus.json +15 -0
  766. package/json-schema/system/ValidationError.json +28 -0
  767. package/json-schema/system/ValidationResult.json +71 -0
  768. package/json-schema/system/ValidationWarning.json +28 -0
  769. package/json-schema/system/VectorClock.json +23 -0
  770. package/json-schema/ui/ChartConfig.json +74 -0
  771. package/json-schema/ui/ChartType.json +21 -8
  772. package/json-schema/ui/Dashboard.json +90 -8
  773. package/json-schema/ui/DashboardWidget.json +90 -8
  774. package/json-schema/ui/FieldWidgetProps.json +435 -1
  775. package/json-schema/ui/Page.json +1 -1
  776. package/json-schema/ui/PageComponent.json +1 -1
  777. package/json-schema/ui/PageRegion.json +1 -1
  778. package/json-schema/ui/Report.json +48 -5
  779. package/json-schema/ui/ReportChart.json +48 -5
  780. package/package.json +5 -1
  781. package/dist/api/protocol.d.ts +0 -65
  782. package/dist/api/protocol.d.ts.map +0 -1
  783. package/dist/api/protocol.js +0 -8
  784. package/dist/automation/connector.zod.d.ts.map +0 -1
  785. package/dist/system/data-engine.zod.d.ts +0 -59
  786. package/dist/system/data-engine.zod.d.ts.map +0 -1
  787. package/dist/system/data-engine.zod.js +0 -38
  788. package/dist/system/driver/mongo.zod.d.ts +0 -107
  789. package/dist/system/driver/mongo.zod.d.ts.map +0 -1
  790. package/dist/system/driver/mongo.zod.js +0 -80
  791. package/dist/system/driver/postgres.zod.d.ts.map +0 -1
  792. package/dist/system/driver.zod.d.ts.map +0 -1
  793. package/dist/system/logger.zod.d.ts +0 -111
  794. package/dist/system/logger.zod.d.ts.map +0 -1
  795. package/dist/system/logger.zod.js +0 -75
  796. package/dist/system/scoped-storage.zod.d.ts +0 -81
  797. package/dist/system/scoped-storage.zod.d.ts.map +0 -1
  798. package/dist/system/scoped-storage.zod.js +0 -66
  799. package/dist/ui/block.zod.d.ts +0 -265
  800. package/dist/ui/block.zod.d.ts.map +0 -1
  801. package/dist/ui/block.zod.js +0 -90
  802. package/json-schema/automation/FieldMapping.json +0 -36
  803. package/json-schema/system/DataEngineFilter.json +0 -11
  804. package/json-schema/system/DataEngineQueryOptions.json +0 -48
  805. package/json-schema/system/DriverCapabilities.json +0 -79
  806. package/json-schema/system/DriverInterface.json +0 -98
  807. package/json-schema/system/MongoConfig.json +0 -82
  808. package/json-schema/system/PostgresConfig.json +0 -98
  809. package/json-schema/system/ScopedStorageConfig.json +0 -54
  810. package/json-schema/system/StorageAdapterType.json +0 -17
  811. /package/dist/{system → data}/driver/postgres.zod.js +0 -0
  812. /package/json-schema/{system → data}/DriverOptions.json +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin-capability.zod.d.ts","sourceRoot":"","sources":["../../src/system/plugin-capability.zod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;GAUG;AAEH;;;GAGG;AACH,eAAO,MAAM,gCAAgC,8DAKD,CAAC;AAE7C;;;GAGG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;EAIa,CAAC;AAEhD;;;;;;;;GAQG;AACH,eAAO,MAAM,uBAAuB;IAClC;;;OAGG;;IAKH;;OAEG;;IAGH;;OAEG;;;;;;;;;;;;;;IAGH;;OAEG;;IAGH;;OAEG;;;;;;;;;;;;;;;;;;;;;;EAEH,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;EAMhC,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,sBAAsB;IACjC;;OAEG;;QAhDH;;;WAGG;;QAKH;;WAEG;;QAGH;;WAEG;;;;;;;;;;;;;;QAGH;;WAEG;;QAGH;;WAEG;;;;;;;;;;;;;;;;;;;;;;;IA0BH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;;;;;;;;;;;;;;;;;;;IAGH;;OAEG;;IAGH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGH,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,qBAAqB;IAChC;;;OAGG;;IAKH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;;;;;;;;;;;;;IAGH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAcH;;OAEG;;;;;;;;;;;;;;IAOH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEH,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,sBAAsB;IACjC;;OAEG;;IAKH;;;OAGG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;;;;;;;;;;;;;EAEH,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,oBAAoB;IAC/B;;OAEG;;IAKH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAWH;;OAEG;;;;;;;;;;;;;;IAOH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;EAGH,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,8BAA8B;IACzC;;OAEG;;QAvLH;;WAEG;;YAhDH;;;eAGG;;YAKH;;eAEG;;YAGH;;eAEG;;;;;;;;;;;;;;YAGH;;eAEG;;YAGH;;eAEG;;;;;;;;;;;;;;;;;;;;;;;QA0BH;;WAEG;;QAGH;;WAEG;;QAGH;;WAEG;;;;;;;;;;;;;;;;;;;;QAGH;;WAEG;;QAGH;;WAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAgKH;;OAEG;;QAxJH;;;WAGG;;QAKH;;WAEG;;QAGH;;WAEG;;QAGH;;WAEG;;;;;;;;;;;;;;QAGH;;WAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAcH;;WAEG;;;;;;;;;;;;;;QAOH;;WAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA0GH;;OAEG;;QAnGH;;WAEG;;QAKH;;;WAGG;;QAGH;;WAEG;;QAGH;;WAEG;;QAGH;;WAEG;;;;;;;;;;;;;;;IA8EH;;OAEG;;QAvEH;;WAEG;;QAKH;;WAEG;;QAGH;;WAEG;;QAGH;;WAEG;;QAWH;;WAEG;;;;;;;;;;;;;;QAOH;;WAEG;;;;;;;;;;;;;;;;;;;;;;;;;IAkCH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOH,CAAC;AAGH,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC;AAC1F,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACpE,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACxE,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,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,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC"}
@@ -0,0 +1,271 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PluginCapabilityManifestSchema = exports.ExtensionPointSchema = exports.PluginDependencySchema = exports.PluginInterfaceSchema = exports.PluginCapabilitySchema = exports.ProtocolFeatureSchema = exports.ProtocolReferenceSchema = exports.ProtocolVersionSchema = exports.CapabilityConformanceLevelSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ /**
6
+ * # Plugin Capability Protocol
7
+ *
8
+ * Defines the standard way plugins declare their capabilities, implementations,
9
+ * and conformance levels to ensure interoperability across vendors.
10
+ *
11
+ * Based on the Protocol-Oriented Architecture pattern similar to:
12
+ * - Kubernetes CRDs (Custom Resource Definitions)
13
+ * - OSGi Service Registry
14
+ * - Eclipse Extension Points
15
+ */
16
+ /**
17
+ * Capability Conformance Level
18
+ * Indicates how completely a plugin implements a given protocol.
19
+ */
20
+ exports.CapabilityConformanceLevelSchema = zod_1.z.enum([
21
+ 'full', // Complete implementation of all protocol features
22
+ 'partial', // Subset implementation with specific features listed
23
+ 'experimental', // Unstable/preview implementation
24
+ 'deprecated', // Still supported but scheduled for removal
25
+ ]).describe('Level of protocol conformance');
26
+ /**
27
+ * Protocol Version Schema
28
+ * Uses semantic versioning to track protocol evolution.
29
+ */
30
+ exports.ProtocolVersionSchema = zod_1.z.object({
31
+ major: zod_1.z.number().int().min(0),
32
+ minor: zod_1.z.number().int().min(0),
33
+ patch: zod_1.z.number().int().min(0),
34
+ }).describe('Semantic version of the protocol');
35
+ /**
36
+ * Protocol Reference
37
+ * Uniquely identifies a protocol/interface that a plugin can implement.
38
+ *
39
+ * Examples:
40
+ * - com.objectstack.protocol.storage.v1
41
+ * - com.objectstack.protocol.auth.oauth2.v2
42
+ * - com.acme.protocol.payment.stripe.v1
43
+ */
44
+ exports.ProtocolReferenceSchema = zod_1.z.object({
45
+ /**
46
+ * Protocol identifier using reverse domain notation.
47
+ * Format: {domain}.protocol.{category}.{name}[.{subcategory}].v{major}
48
+ */
49
+ id: zod_1.z.string()
50
+ .regex(/^([a-z][a-z0-9]*\.)+protocol\.[a-z][a-z0-9._]*\.v\d+$/)
51
+ .describe('Unique protocol identifier (e.g., com.objectstack.protocol.storage.v1)'),
52
+ /**
53
+ * Human-readable protocol name
54
+ */
55
+ label: zod_1.z.string(),
56
+ /**
57
+ * Protocol version
58
+ */
59
+ version: exports.ProtocolVersionSchema,
60
+ /**
61
+ * Detailed protocol specification URL or file reference
62
+ */
63
+ specification: zod_1.z.string().optional().describe('URL or path to protocol specification'),
64
+ /**
65
+ * Brief description of what this protocol defines
66
+ */
67
+ description: zod_1.z.string().optional(),
68
+ });
69
+ /**
70
+ * Protocol Feature
71
+ * Represents a specific capability within a protocol.
72
+ */
73
+ exports.ProtocolFeatureSchema = zod_1.z.object({
74
+ name: zod_1.z.string().describe('Feature identifier within the protocol'),
75
+ enabled: zod_1.z.boolean().default(true),
76
+ description: zod_1.z.string().optional(),
77
+ sinceVersion: zod_1.z.string().optional().describe('Version when this feature was added'),
78
+ deprecatedSince: zod_1.z.string().optional().describe('Version when deprecated'),
79
+ });
80
+ /**
81
+ * Plugin Capability Declaration
82
+ * Documents what protocols a plugin implements and to what extent.
83
+ */
84
+ exports.PluginCapabilitySchema = zod_1.z.object({
85
+ /**
86
+ * The protocol being implemented
87
+ */
88
+ protocol: exports.ProtocolReferenceSchema,
89
+ /**
90
+ * Conformance level
91
+ */
92
+ conformance: exports.CapabilityConformanceLevelSchema.default('full'),
93
+ /**
94
+ * Specific features implemented (required if conformance is 'partial')
95
+ */
96
+ implementedFeatures: zod_1.z.array(zod_1.z.string()).optional().describe('List of implemented feature names'),
97
+ /**
98
+ * Optional feature flags indicating advanced capabilities
99
+ */
100
+ features: zod_1.z.array(exports.ProtocolFeatureSchema).optional(),
101
+ /**
102
+ * Custom metadata for vendor-specific information
103
+ */
104
+ metadata: zod_1.z.record(zod_1.z.any()).optional(),
105
+ /**
106
+ * Testing/Certification status
107
+ */
108
+ certified: zod_1.z.boolean().default(false).describe('Has passed official conformance tests'),
109
+ certificationDate: zod_1.z.string().datetime().optional(),
110
+ });
111
+ /**
112
+ * Plugin Interface Declaration
113
+ * Defines the contract for services this plugin provides to other plugins.
114
+ */
115
+ exports.PluginInterfaceSchema = zod_1.z.object({
116
+ /**
117
+ * Unique interface identifier
118
+ * Format: {plugin-id}.interface.{name}
119
+ */
120
+ id: zod_1.z.string()
121
+ .regex(/^([a-z][a-z0-9]*\.)+interface\.[a-z][a-z0-9._]+$/)
122
+ .describe('Unique interface identifier'),
123
+ /**
124
+ * Interface name
125
+ */
126
+ name: zod_1.z.string(),
127
+ /**
128
+ * Description of what this interface provides
129
+ */
130
+ description: zod_1.z.string().optional(),
131
+ /**
132
+ * Interface version
133
+ */
134
+ version: exports.ProtocolVersionSchema,
135
+ /**
136
+ * Methods exposed by this interface
137
+ */
138
+ methods: zod_1.z.array(zod_1.z.object({
139
+ name: zod_1.z.string().describe('Method name'),
140
+ description: zod_1.z.string().optional(),
141
+ parameters: zod_1.z.array(zod_1.z.object({
142
+ name: zod_1.z.string(),
143
+ type: zod_1.z.string().describe('Type notation (e.g., string, number, User)'),
144
+ required: zod_1.z.boolean().default(true),
145
+ description: zod_1.z.string().optional(),
146
+ })).optional(),
147
+ returnType: zod_1.z.string().optional().describe('Return value type'),
148
+ async: zod_1.z.boolean().default(false).describe('Whether method returns a Promise'),
149
+ })),
150
+ /**
151
+ * Events emitted by this interface
152
+ */
153
+ events: zod_1.z.array(zod_1.z.object({
154
+ name: zod_1.z.string().describe('Event name'),
155
+ description: zod_1.z.string().optional(),
156
+ payload: zod_1.z.string().optional().describe('Event payload type'),
157
+ })).optional(),
158
+ /**
159
+ * Stability level
160
+ */
161
+ stability: zod_1.z.enum(['stable', 'beta', 'alpha', 'experimental']).default('stable'),
162
+ });
163
+ /**
164
+ * Plugin Dependency Declaration
165
+ * Specifies what other plugins or capabilities this plugin requires.
166
+ */
167
+ exports.PluginDependencySchema = zod_1.z.object({
168
+ /**
169
+ * Plugin ID using reverse domain notation
170
+ */
171
+ pluginId: zod_1.z.string()
172
+ .regex(/^([a-z][a-z0-9]*\.)+[a-z][a-z0-9-]+$/)
173
+ .describe('Required plugin identifier'),
174
+ /**
175
+ * Version constraint (supports semver ranges)
176
+ * Examples: "1.0.0", "^1.2.3", ">=2.0.0 <3.0.0"
177
+ */
178
+ version: zod_1.z.string().describe('Semantic version constraint'),
179
+ /**
180
+ * Whether this dependency is optional
181
+ */
182
+ optional: zod_1.z.boolean().default(false),
183
+ /**
184
+ * Reason for the dependency
185
+ */
186
+ reason: zod_1.z.string().optional(),
187
+ /**
188
+ * Minimum required capabilities from the dependency
189
+ */
190
+ requiredCapabilities: zod_1.z.array(zod_1.z.string()).optional().describe('Protocol IDs the dependency must support'),
191
+ });
192
+ /**
193
+ * Extension Point Declaration
194
+ * Defines hooks where other plugins can extend this plugin's functionality.
195
+ */
196
+ exports.ExtensionPointSchema = zod_1.z.object({
197
+ /**
198
+ * Extension point identifier
199
+ */
200
+ id: zod_1.z.string()
201
+ .regex(/^([a-z][a-z0-9]*\.)+extension\.[a-z][a-z0-9._]+$/)
202
+ .describe('Unique extension point identifier'),
203
+ /**
204
+ * Extension point name
205
+ */
206
+ name: zod_1.z.string(),
207
+ /**
208
+ * Description
209
+ */
210
+ description: zod_1.z.string().optional(),
211
+ /**
212
+ * Type of extension point
213
+ */
214
+ type: zod_1.z.enum([
215
+ 'action', // Plugins can register executable actions
216
+ 'hook', // Plugins can listen to lifecycle events
217
+ 'widget', // Plugins can contribute UI widgets
218
+ 'provider', // Plugins can provide data/services
219
+ 'transformer', // Plugins can transform data
220
+ 'validator', // Plugins can validate data
221
+ 'decorator', // Plugins can enhance/wrap functionality
222
+ ]),
223
+ /**
224
+ * Expected interface contract for extensions
225
+ */
226
+ contract: zod_1.z.object({
227
+ input: zod_1.z.string().optional().describe('Input type/schema'),
228
+ output: zod_1.z.string().optional().describe('Output type/schema'),
229
+ signature: zod_1.z.string().optional().describe('Function signature if applicable'),
230
+ }).optional(),
231
+ /**
232
+ * Cardinality
233
+ */
234
+ cardinality: zod_1.z.enum(['single', 'multiple']).default('multiple')
235
+ .describe('Whether multiple extensions can register to this point'),
236
+ });
237
+ /**
238
+ * Complete Plugin Capability Manifest
239
+ * This is included in the main plugin manifest to declare all capabilities.
240
+ */
241
+ exports.PluginCapabilityManifestSchema = zod_1.z.object({
242
+ /**
243
+ * Protocols this plugin implements
244
+ */
245
+ implements: zod_1.z.array(exports.PluginCapabilitySchema).optional()
246
+ .describe('List of protocols this plugin conforms to'),
247
+ /**
248
+ * Interfaces this plugin exposes to other plugins
249
+ */
250
+ provides: zod_1.z.array(exports.PluginInterfaceSchema).optional()
251
+ .describe('Services/APIs this plugin offers to others'),
252
+ /**
253
+ * Dependencies on other plugins
254
+ */
255
+ requires: zod_1.z.array(exports.PluginDependencySchema).optional()
256
+ .describe('Required plugins and their capabilities'),
257
+ /**
258
+ * Extension points this plugin defines
259
+ */
260
+ extensionPoints: zod_1.z.array(exports.ExtensionPointSchema).optional()
261
+ .describe('Points where other plugins can extend this plugin'),
262
+ /**
263
+ * Extensions this plugin contributes to other plugins
264
+ */
265
+ extensions: zod_1.z.array(zod_1.z.object({
266
+ targetPluginId: zod_1.z.string().describe('Plugin ID being extended'),
267
+ extensionPointId: zod_1.z.string().describe('Extension point identifier'),
268
+ implementation: zod_1.z.string().describe('Path to implementation module'),
269
+ priority: zod_1.z.number().int().default(100).describe('Registration priority (lower = higher priority)'),
270
+ })).optional().describe('Extensions contributed to other plugins'),
271
+ });
@@ -0,0 +1,382 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * Plugin Lifecycle Events Protocol
4
+ *
5
+ * Zod schemas for plugin lifecycle event data structures.
6
+ * These schemas align with the IPluginLifecycleEvents contract interface.
7
+ *
8
+ * Following ObjectStack "Zod First" principle - all data structures
9
+ * must have Zod schemas for runtime validation and JSON Schema generation.
10
+ */
11
+ /**
12
+ * Event Phase Enum
13
+ * Lifecycle phase where an error occurred
14
+ */
15
+ export declare const EventPhaseSchema: z.ZodEnum<["init", "start", "destroy"]>;
16
+ export type EventPhase = z.infer<typeof EventPhaseSchema>;
17
+ /**
18
+ * Plugin Event Base Schema
19
+ * Common fields for all plugin events
20
+ */
21
+ export declare const PluginEventBaseSchema: z.ZodObject<{
22
+ /**
23
+ * Plugin name
24
+ */
25
+ pluginName: z.ZodString;
26
+ /**
27
+ * Event timestamp (Unix milliseconds)
28
+ */
29
+ timestamp: z.ZodNumber;
30
+ }, "strip", z.ZodTypeAny, {
31
+ timestamp: number;
32
+ pluginName: string;
33
+ }, {
34
+ timestamp: number;
35
+ pluginName: string;
36
+ }>;
37
+ /**
38
+ * Plugin Registered Event Schema
39
+ *
40
+ * @example
41
+ * {
42
+ * "pluginName": "crm-plugin",
43
+ * "timestamp": 1706659200000,
44
+ * "version": "1.0.0"
45
+ * }
46
+ */
47
+ export declare const PluginRegisteredEventSchema: z.ZodObject<{
48
+ /**
49
+ * Plugin name
50
+ */
51
+ pluginName: z.ZodString;
52
+ /**
53
+ * Event timestamp (Unix milliseconds)
54
+ */
55
+ timestamp: z.ZodNumber;
56
+ } & {
57
+ /**
58
+ * Plugin version (optional)
59
+ */
60
+ version: z.ZodOptional<z.ZodString>;
61
+ }, "strip", z.ZodTypeAny, {
62
+ timestamp: number;
63
+ pluginName: string;
64
+ version?: string | undefined;
65
+ }, {
66
+ timestamp: number;
67
+ pluginName: string;
68
+ version?: string | undefined;
69
+ }>;
70
+ export type PluginRegisteredEvent = z.infer<typeof PluginRegisteredEventSchema>;
71
+ /**
72
+ * Plugin Lifecycle Phase Event Schema
73
+ * For init, start, destroy phases
74
+ *
75
+ * @example
76
+ * {
77
+ * "pluginName": "crm-plugin",
78
+ * "timestamp": 1706659200000,
79
+ * "duration": 1250,
80
+ * "phase": "init"
81
+ * }
82
+ */
83
+ export declare const PluginLifecyclePhaseEventSchema: z.ZodObject<{
84
+ /**
85
+ * Plugin name
86
+ */
87
+ pluginName: z.ZodString;
88
+ /**
89
+ * Event timestamp (Unix milliseconds)
90
+ */
91
+ timestamp: z.ZodNumber;
92
+ } & {
93
+ /**
94
+ * Duration of the phase (milliseconds)
95
+ */
96
+ duration: z.ZodOptional<z.ZodNumber>;
97
+ /**
98
+ * Lifecycle phase
99
+ */
100
+ phase: z.ZodOptional<z.ZodEnum<["init", "start", "destroy"]>>;
101
+ }, "strip", z.ZodTypeAny, {
102
+ timestamp: number;
103
+ pluginName: string;
104
+ duration?: number | undefined;
105
+ phase?: "start" | "init" | "destroy" | undefined;
106
+ }, {
107
+ timestamp: number;
108
+ pluginName: string;
109
+ duration?: number | undefined;
110
+ phase?: "start" | "init" | "destroy" | undefined;
111
+ }>;
112
+ export type PluginLifecyclePhaseEvent = z.infer<typeof PluginLifecyclePhaseEventSchema>;
113
+ /**
114
+ * Plugin Error Event Schema
115
+ * When a plugin encounters an error
116
+ *
117
+ * @example
118
+ * {
119
+ * "pluginName": "crm-plugin",
120
+ * "timestamp": 1706659200000,
121
+ * "error": Error("Connection failed"),
122
+ * "phase": "start",
123
+ * "errorMessage": "Connection failed",
124
+ * "errorStack": "Error: Connection failed\n at ..."
125
+ * }
126
+ */
127
+ export declare const PluginErrorEventSchema: z.ZodObject<{
128
+ /**
129
+ * Plugin name
130
+ */
131
+ pluginName: z.ZodString;
132
+ /**
133
+ * Event timestamp (Unix milliseconds)
134
+ */
135
+ timestamp: z.ZodNumber;
136
+ } & {
137
+ /**
138
+ * Error object
139
+ */
140
+ error: z.ZodType<Error, z.ZodTypeDef, Error>;
141
+ /**
142
+ * Lifecycle phase where error occurred
143
+ */
144
+ phase: z.ZodEnum<["init", "start", "destroy"]>;
145
+ /**
146
+ * Error message (for serialization)
147
+ */
148
+ errorMessage: z.ZodOptional<z.ZodString>;
149
+ /**
150
+ * Error stack trace (for debugging)
151
+ */
152
+ errorStack: z.ZodOptional<z.ZodString>;
153
+ }, "strip", z.ZodTypeAny, {
154
+ error: Error;
155
+ timestamp: number;
156
+ pluginName: string;
157
+ phase: "start" | "init" | "destroy";
158
+ errorMessage?: string | undefined;
159
+ errorStack?: string | undefined;
160
+ }, {
161
+ error: Error;
162
+ timestamp: number;
163
+ pluginName: string;
164
+ phase: "start" | "init" | "destroy";
165
+ errorMessage?: string | undefined;
166
+ errorStack?: string | undefined;
167
+ }>;
168
+ export type PluginErrorEvent = z.infer<typeof PluginErrorEventSchema>;
169
+ /**
170
+ * Service Registered Event Schema
171
+ *
172
+ * @example
173
+ * {
174
+ * "serviceName": "database",
175
+ * "timestamp": 1706659200000,
176
+ * "serviceType": "IDataEngine"
177
+ * }
178
+ */
179
+ export declare const ServiceRegisteredEventSchema: z.ZodObject<{
180
+ /**
181
+ * Service name
182
+ */
183
+ serviceName: z.ZodString;
184
+ /**
185
+ * Event timestamp (Unix milliseconds)
186
+ */
187
+ timestamp: z.ZodNumber;
188
+ /**
189
+ * Service type (optional)
190
+ */
191
+ serviceType: z.ZodOptional<z.ZodString>;
192
+ }, "strip", z.ZodTypeAny, {
193
+ timestamp: number;
194
+ serviceName: string;
195
+ serviceType?: string | undefined;
196
+ }, {
197
+ timestamp: number;
198
+ serviceName: string;
199
+ serviceType?: string | undefined;
200
+ }>;
201
+ export type ServiceRegisteredEvent = z.infer<typeof ServiceRegisteredEventSchema>;
202
+ /**
203
+ * Service Unregistered Event Schema
204
+ *
205
+ * @example
206
+ * {
207
+ * "serviceName": "database",
208
+ * "timestamp": 1706659200000
209
+ * }
210
+ */
211
+ export declare const ServiceUnregisteredEventSchema: z.ZodObject<{
212
+ /**
213
+ * Service name
214
+ */
215
+ serviceName: z.ZodString;
216
+ /**
217
+ * Event timestamp (Unix milliseconds)
218
+ */
219
+ timestamp: z.ZodNumber;
220
+ }, "strip", z.ZodTypeAny, {
221
+ timestamp: number;
222
+ serviceName: string;
223
+ }, {
224
+ timestamp: number;
225
+ serviceName: string;
226
+ }>;
227
+ export type ServiceUnregisteredEvent = z.infer<typeof ServiceUnregisteredEventSchema>;
228
+ /**
229
+ * Hook Registered Event Schema
230
+ *
231
+ * @example
232
+ * {
233
+ * "hookName": "data.beforeInsert",
234
+ * "timestamp": 1706659200000,
235
+ * "handlerCount": 3
236
+ * }
237
+ */
238
+ export declare const HookRegisteredEventSchema: z.ZodObject<{
239
+ /**
240
+ * Hook name
241
+ */
242
+ hookName: z.ZodString;
243
+ /**
244
+ * Event timestamp (Unix milliseconds)
245
+ */
246
+ timestamp: z.ZodNumber;
247
+ /**
248
+ * Number of handlers registered for this hook
249
+ */
250
+ handlerCount: z.ZodNumber;
251
+ }, "strip", z.ZodTypeAny, {
252
+ timestamp: number;
253
+ hookName: string;
254
+ handlerCount: number;
255
+ }, {
256
+ timestamp: number;
257
+ hookName: string;
258
+ handlerCount: number;
259
+ }>;
260
+ export type HookRegisteredEvent = z.infer<typeof HookRegisteredEventSchema>;
261
+ /**
262
+ * Hook Triggered Event Schema
263
+ *
264
+ * @example
265
+ * {
266
+ * "hookName": "data.beforeInsert",
267
+ * "timestamp": 1706659200000,
268
+ * "args": [{ "object": "customer", "data": {...} }],
269
+ * "handlerCount": 3
270
+ * }
271
+ */
272
+ export declare const HookTriggeredEventSchema: z.ZodObject<{
273
+ /**
274
+ * Hook name
275
+ */
276
+ hookName: z.ZodString;
277
+ /**
278
+ * Event timestamp (Unix milliseconds)
279
+ */
280
+ timestamp: z.ZodNumber;
281
+ /**
282
+ * Arguments passed to the hook
283
+ */
284
+ args: z.ZodArray<z.ZodAny, "many">;
285
+ /**
286
+ * Number of handlers that will handle this event
287
+ */
288
+ handlerCount: z.ZodOptional<z.ZodNumber>;
289
+ }, "strip", z.ZodTypeAny, {
290
+ timestamp: number;
291
+ args: any[];
292
+ hookName: string;
293
+ handlerCount?: number | undefined;
294
+ }, {
295
+ timestamp: number;
296
+ args: any[];
297
+ hookName: string;
298
+ handlerCount?: number | undefined;
299
+ }>;
300
+ export type HookTriggeredEvent = z.infer<typeof HookTriggeredEventSchema>;
301
+ /**
302
+ * Kernel Event Base Schema
303
+ * Common fields for kernel events
304
+ */
305
+ export declare const KernelEventBaseSchema: z.ZodObject<{
306
+ /**
307
+ * Event timestamp (Unix milliseconds)
308
+ */
309
+ timestamp: z.ZodNumber;
310
+ }, "strip", z.ZodTypeAny, {
311
+ timestamp: number;
312
+ }, {
313
+ timestamp: number;
314
+ }>;
315
+ /**
316
+ * Kernel Ready Event Schema
317
+ *
318
+ * @example
319
+ * {
320
+ * "timestamp": 1706659200000,
321
+ * "duration": 5400,
322
+ * "pluginCount": 12
323
+ * }
324
+ */
325
+ export declare const KernelReadyEventSchema: z.ZodObject<{
326
+ /**
327
+ * Event timestamp (Unix milliseconds)
328
+ */
329
+ timestamp: z.ZodNumber;
330
+ } & {
331
+ /**
332
+ * Total initialization duration (milliseconds)
333
+ */
334
+ duration: z.ZodOptional<z.ZodNumber>;
335
+ /**
336
+ * Number of plugins initialized
337
+ */
338
+ pluginCount: z.ZodOptional<z.ZodNumber>;
339
+ }, "strip", z.ZodTypeAny, {
340
+ timestamp: number;
341
+ duration?: number | undefined;
342
+ pluginCount?: number | undefined;
343
+ }, {
344
+ timestamp: number;
345
+ duration?: number | undefined;
346
+ pluginCount?: number | undefined;
347
+ }>;
348
+ export type KernelReadyEvent = z.infer<typeof KernelReadyEventSchema>;
349
+ /**
350
+ * Kernel Shutdown Event Schema
351
+ *
352
+ * @example
353
+ * {
354
+ * "timestamp": 1706659200000,
355
+ * "reason": "SIGTERM received"
356
+ * }
357
+ */
358
+ export declare const KernelShutdownEventSchema: z.ZodObject<{
359
+ /**
360
+ * Event timestamp (Unix milliseconds)
361
+ */
362
+ timestamp: z.ZodNumber;
363
+ } & {
364
+ /**
365
+ * Shutdown reason (optional)
366
+ */
367
+ reason: z.ZodOptional<z.ZodString>;
368
+ }, "strip", z.ZodTypeAny, {
369
+ timestamp: number;
370
+ reason?: string | undefined;
371
+ }, {
372
+ timestamp: number;
373
+ reason?: string | undefined;
374
+ }>;
375
+ export type KernelShutdownEvent = z.infer<typeof KernelShutdownEventSchema>;
376
+ /**
377
+ * Plugin Lifecycle Event Type Enum
378
+ * All possible plugin lifecycle event types
379
+ */
380
+ export declare const PluginLifecycleEventType: z.ZodEnum<["kernel:ready", "kernel:shutdown", "kernel:before-init", "kernel:after-init", "plugin:registered", "plugin:before-init", "plugin:init", "plugin:after-init", "plugin:before-start", "plugin:started", "plugin:after-start", "plugin:before-destroy", "plugin:destroyed", "plugin:after-destroy", "plugin:error", "service:registered", "service:unregistered", "hook:registered", "hook:triggered"]>;
381
+ export type PluginLifecycleEventType = z.infer<typeof PluginLifecycleEventType>;
382
+ //# sourceMappingURL=plugin-lifecycle-events.zod.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin-lifecycle-events.zod.d.ts","sourceRoot":"","sources":["../../src/system/plugin-lifecycle-events.zod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;GAQG;AAMH;;;GAGG;AACH,eAAO,MAAM,gBAAgB,yCACQ,CAAC;AAEtC,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE1D;;;GAGG;AACH,eAAO,MAAM,qBAAqB;IAChC;;OAEG;;IAGH;;OAEG;;;;;;;;EAEH,CAAC;AAEH;;;;;;;;;GASG;AACH,eAAO,MAAM,2BAA2B;IArBtC;;OAEG;;IAGH;;OAEG;;;IAeH;;OAEG;;;;;;;;;;EAEH,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEhF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,+BAA+B;IA1C1C;;OAEG;;IAGH;;OAEG;;;IAoCH;;OAEG;;IAGH;;OAEG;;;;;;;;;;;;EAEH,CAAC;AAEH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AAExF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,sBAAsB;IAtEjC;;OAEG;;IAGH;;OAEG;;;IAgEH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;;;;;;;;;;;;;;;EAEH,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAMtE;;;;;;;;;GASG;AACH,eAAO,MAAM,4BAA4B;IACvC;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;;;;;;;;;EAEH,CAAC;AAEH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAElF;;;;;;;;GAQG;AACH,eAAO,MAAM,8BAA8B;IACzC;;OAEG;;IAGH;;OAEG;;;;;;;;EAEH,CAAC;AAEH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AAMtF;;;;;;;;;GASG;AACH,eAAO,MAAM,yBAAyB;IACpC;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;;;;;;;;;EAEH,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE5E;;;;;;;;;;GAUG;AACH,eAAO,MAAM,wBAAwB;IACnC;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;;;;;;;;;;;EAEH,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAM1E;;;GAGG;AACH,eAAO,MAAM,qBAAqB;IAChC;;OAEG;;;;;;EAEH,CAAC;AAEH;;;;;;;;;GASG;AACH,eAAO,MAAM,sBAAsB;IAhBjC;;OAEG;;;IAeH;;OAEG;;IAGH;;OAEG;;;;;;;;;;EAEH,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEtE;;;;;;;;GAQG;AACH,eAAO,MAAM,yBAAyB;IAvCpC;;OAEG;;;IAsCH;;OAEG;;;;;;;;EAEH,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAM5E;;;GAGG;AACH,eAAO,MAAM,wBAAwB,iZAoBK,CAAC;AAE3C,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC"}