@party-stack/ontology 0.18.0 → 0.19.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 (406) hide show
  1. package/lib/OntologyPullConfig.d.ts +15 -13
  2. package/lib/OntologyPullConfig.d.ts.map +1 -1
  3. package/lib/OntologyPullConfig.js +0 -1
  4. package/lib/_virtual/_rolldown/runtime.js +13 -0
  5. package/lib/cli/format.d.ts +4 -0
  6. package/lib/cli/format.d.ts.map +1 -0
  7. package/lib/cli/format.js +19 -0
  8. package/lib/cli/format.js.map +1 -0
  9. package/lib/cli/generate.d.ts +6 -5
  10. package/lib/cli/generate.d.ts.map +1 -1
  11. package/lib/cli/generate.js +86 -110
  12. package/lib/cli/generate.js.map +1 -1
  13. package/lib/cli/index.d.ts +1 -3
  14. package/lib/cli/index.js +42 -59
  15. package/lib/cli/index.js.map +1 -1
  16. package/lib/cli/pull.d.ts +3 -1
  17. package/lib/cli/pull.d.ts.map +1 -1
  18. package/lib/cli/pull.js +42 -60
  19. package/lib/cli/pull.js.map +1 -1
  20. package/lib/examples/blog.d.ts +347 -345
  21. package/lib/examples/blog.d.ts.map +1 -1
  22. package/lib/examples/blog.js +350 -337
  23. package/lib/examples/blog.js.map +1 -1
  24. package/lib/examples/blog.live-queries.d.ts +8 -3
  25. package/lib/examples/blog.live-queries.d.ts.map +1 -1
  26. package/lib/examples/blog.live-queries.js +28 -44
  27. package/lib/examples/blog.live-queries.js.map +1 -1
  28. package/lib/examples/generated/constants.d.ts +1 -2
  29. package/lib/examples/generated/constants.js +0 -2
  30. package/lib/examples/generated/live.d.ts +5 -3
  31. package/lib/examples/generated/live.d.ts.map +1 -1
  32. package/lib/examples/generated/live.js +12 -8
  33. package/lib/examples/generated/live.js.map +1 -1
  34. package/lib/examples/generated/types.d.ts +52 -50
  35. package/lib/examples/generated/types.d.ts.map +1 -1
  36. package/lib/examples/generated/types.js +0 -2
  37. package/lib/generate/builders.d.ts +8 -5
  38. package/lib/generate/builders.d.ts.map +1 -1
  39. package/lib/generate/builders.js +53 -55
  40. package/lib/generate/builders.js.map +1 -1
  41. package/lib/generate/constants.d.ts +3 -1
  42. package/lib/generate/constants.d.ts.map +1 -1
  43. package/lib/generate/constants.js +23 -26
  44. package/lib/generate/constants.js.map +1 -1
  45. package/lib/generate/index.d.ts +6 -6
  46. package/lib/generate/index.js +6 -6
  47. package/lib/generate/live.d.ts +8 -6
  48. package/lib/generate/live.d.ts.map +1 -1
  49. package/lib/generate/live.js +43 -42
  50. package/lib/generate/live.js.map +1 -1
  51. package/lib/generate/ontology.d.ts +4 -2
  52. package/lib/generate/ontology.d.ts.map +1 -1
  53. package/lib/generate/ontology.js +453 -354
  54. package/lib/generate/ontology.js.map +1 -1
  55. package/lib/generate/types.d.ts +7 -6
  56. package/lib/generate/types.d.ts.map +1 -1
  57. package/lib/generate/types.js +190 -262
  58. package/lib/generate/types.js.map +1 -1
  59. package/lib/generate/utils/buildJsDocs.d.ts +7 -4
  60. package/lib/generate/utils/buildJsDocs.d.ts.map +1 -1
  61. package/lib/generate/utils/buildJsDocs.js +14 -10
  62. package/lib/generate/utils/buildJsDocs.js.map +1 -1
  63. package/lib/index.d.ts +30 -13
  64. package/lib/index.js +18 -10
  65. package/lib/infer.d.ts +129 -152
  66. package/lib/infer.d.ts.map +1 -1
  67. package/lib/infer.js +10 -6
  68. package/lib/infer.js.map +1 -1
  69. package/lib/installation/createMetaOntologyConfiguration.d.ts +6 -3
  70. package/lib/installation/createMetaOntologyConfiguration.d.ts.map +1 -1
  71. package/lib/installation/createMetaOntologyConfiguration.js +13 -11
  72. package/lib/installation/createMetaOntologyConfiguration.js.map +1 -1
  73. package/lib/installation/createOntologyBackendInstallation.d.ts +3 -1
  74. package/lib/installation/createOntologyBackendInstallation.d.ts.map +1 -1
  75. package/lib/installation/createOntologyBackendInstallation.js +205 -268
  76. package/lib/installation/createOntologyBackendInstallation.js.map +1 -1
  77. package/lib/installation/index.d.ts +4 -4
  78. package/lib/installation/index.js +3 -3
  79. package/lib/installation/types.d.ts +83 -80
  80. package/lib/installation/types.d.ts.map +1 -1
  81. package/lib/installation/types.js +0 -1
  82. package/lib/ir/generated/builders.d.ts +294 -382
  83. package/lib/ir/generated/builders.d.ts.map +1 -1
  84. package/lib/ir/generated/builders.js +180 -119
  85. package/lib/ir/generated/builders.js.map +1 -1
  86. package/lib/ir/generated/constants.d.ts +137 -135
  87. package/lib/ir/generated/constants.d.ts.map +1 -1
  88. package/lib/ir/generated/constants.js +162 -129
  89. package/lib/ir/generated/constants.js.map +1 -1
  90. package/lib/ir/generated/types.d.ts +239 -234
  91. package/lib/ir/generated/types.d.ts.map +1 -1
  92. package/lib/ir/generated/types.js +0 -2
  93. package/lib/ir/index.d.ts +4 -4
  94. package/lib/ir/index.js +3 -4
  95. package/lib/ir/schema.d.ts +2174 -2172
  96. package/lib/ir/schema.d.ts.map +1 -1
  97. package/lib/ir/schema.js +1184 -1343
  98. package/lib/ir/schema.js.map +1 -1
  99. package/lib/ir/validate.d.ts +5 -3
  100. package/lib/ir/validate.d.ts.map +1 -1
  101. package/lib/ir/validate.js +589 -707
  102. package/lib/ir/validate.js.map +1 -1
  103. package/lib/json/index.d.ts +10 -8
  104. package/lib/json/index.d.ts.map +1 -1
  105. package/lib/json/index.js +101 -135
  106. package/lib/json/index.js.map +1 -1
  107. package/lib/lenses.d.ts +7 -4
  108. package/lib/lenses.d.ts.map +1 -1
  109. package/lib/lenses.js +96 -132
  110. package/lib/lenses.js.map +1 -1
  111. package/lib/live/LiveOntology.d.ts +55 -60
  112. package/lib/live/LiveOntology.d.ts.map +1 -1
  113. package/lib/live/LiveOntology.js +98 -124
  114. package/lib/live/LiveOntology.js.map +1 -1
  115. package/lib/live/OntologyBackendAdapter.d.ts +79 -76
  116. package/lib/live/OntologyBackendAdapter.d.ts.map +1 -1
  117. package/lib/live/OntologyBackendAdapter.js +0 -1
  118. package/lib/live/actions/createLiveOntologyAction.d.ts +27 -24
  119. package/lib/live/actions/createLiveOntologyAction.d.ts.map +1 -1
  120. package/lib/live/actions/createLiveOntologyAction.js +24 -21
  121. package/lib/live/actions/createLiveOntologyAction.js.map +1 -1
  122. package/lib/live/actions/createLiveOntologyActions.d.ts +23 -20
  123. package/lib/live/actions/createLiveOntologyActions.d.ts.map +1 -1
  124. package/lib/live/actions/createLiveOntologyActions.js +131 -161
  125. package/lib/live/actions/createLiveOntologyActions.js.map +1 -1
  126. package/lib/live/actions/prepareActionParameters.d.ts +14 -11
  127. package/lib/live/actions/prepareActionParameters.d.ts.map +1 -1
  128. package/lib/live/actions/prepareActionParameters.js +190 -228
  129. package/lib/live/actions/prepareActionParameters.js.map +1 -1
  130. package/lib/live/attachments/attachmentSources.d.ts +7 -4
  131. package/lib/live/attachments/attachmentSources.d.ts.map +1 -1
  132. package/lib/live/attachments/attachmentSources.js +55 -71
  133. package/lib/live/attachments/attachmentSources.js.map +1 -1
  134. package/lib/live/attachments/createLiveOntologyAttachments.d.ts +47 -45
  135. package/lib/live/attachments/createLiveOntologyAttachments.d.ts.map +1 -1
  136. package/lib/live/attachments/createLiveOntologyAttachments.js +65 -83
  137. package/lib/live/attachments/createLiveOntologyAttachments.js.map +1 -1
  138. package/lib/live/attachments/types.d.ts +10 -9
  139. package/lib/live/attachments/types.d.ts.map +1 -1
  140. package/lib/live/attachments/types.js +0 -1
  141. package/lib/live/attachments/unsupportedOntologyAttachmentsAdapter.d.ts +3 -1
  142. package/lib/live/attachments/unsupportedOntologyAttachmentsAdapter.d.ts.map +1 -1
  143. package/lib/live/attachments/unsupportedOntologyAttachmentsAdapter.js +5 -3
  144. package/lib/live/attachments/unsupportedOntologyAttachmentsAdapter.js.map +1 -1
  145. package/lib/live/expression.d.ts +16 -14
  146. package/lib/live/expression.d.ts.map +1 -1
  147. package/lib/live/expression.js +142 -223
  148. package/lib/live/expression.js.map +1 -1
  149. package/lib/live/index.d.ts +12 -9
  150. package/lib/live/index.js +6 -8
  151. package/lib/live/mutators/OntologyEdits.d.ts +12 -9
  152. package/lib/live/mutators/OntologyEdits.d.ts.map +1 -1
  153. package/lib/live/mutators/OntologyEdits.js +57 -74
  154. package/lib/live/mutators/OntologyEdits.js.map +1 -1
  155. package/lib/live/mutators/createMutatorTx.d.ts +7 -5
  156. package/lib/live/mutators/createMutatorTx.d.ts.map +1 -1
  157. package/lib/live/mutators/createMutatorTx.js +53 -69
  158. package/lib/live/mutators/createMutatorTx.js.map +1 -1
  159. package/lib/live/mutators/runOptimisticAction.d.ts +16 -13
  160. package/lib/live/mutators/runOptimisticAction.d.ts.map +1 -1
  161. package/lib/live/mutators/runOptimisticAction.js +26 -26
  162. package/lib/live/mutators/runOptimisticAction.js.map +1 -1
  163. package/lib/live/mutators/types.d.ts +18 -16
  164. package/lib/live/mutators/types.d.ts.map +1 -1
  165. package/lib/live/mutators/types.js +0 -1
  166. package/lib/live/objects/OntologyObject.d.ts +2 -0
  167. package/lib/live/objects/OntologyObject.d.ts.map +1 -1
  168. package/lib/live/objects/OntologyObject.js +0 -1
  169. package/lib/live/objects/createLiveOntologyObjectCollection.d.ts +13 -10
  170. package/lib/live/objects/createLiveOntologyObjectCollection.d.ts.map +1 -1
  171. package/lib/live/objects/createLiveOntologyObjectCollection.js +49 -53
  172. package/lib/live/objects/createLiveOntologyObjectCollection.js.map +1 -1
  173. package/lib/live/objects/ontologyObjectCollectionId.d.ts +2 -0
  174. package/lib/live/objects/ontologyObjectCollectionId.d.ts.map +1 -1
  175. package/lib/live/objects/ontologyObjectCollectionId.js +6 -2
  176. package/lib/live/objects/ontologyObjectCollectionId.js.map +1 -1
  177. package/lib/live/outbox/createOntologyOutbox.d.ts +16 -14
  178. package/lib/live/outbox/createOntologyOutbox.d.ts.map +1 -1
  179. package/lib/live/outbox/createOntologyOutbox.js +275 -326
  180. package/lib/live/outbox/createOntologyOutbox.js.map +1 -1
  181. package/lib/live/outbox/leaderExecutor.d.ts +15 -13
  182. package/lib/live/outbox/leaderExecutor.d.ts.map +1 -1
  183. package/lib/live/outbox/leaderExecutor.js +114 -153
  184. package/lib/live/outbox/leaderExecutor.js.map +1 -1
  185. package/lib/live/outbox/outboxService.d.ts +4 -2
  186. package/lib/live/outbox/outboxService.d.ts.map +1 -1
  187. package/lib/live/outbox/outboxService.js +66 -71
  188. package/lib/live/outbox/outboxService.js.map +1 -1
  189. package/lib/live/outbox/projectionManager.d.ts +26 -24
  190. package/lib/live/outbox/projectionManager.d.ts.map +1 -1
  191. package/lib/live/outbox/projectionManager.js +121 -147
  192. package/lib/live/outbox/projectionManager.js.map +1 -1
  193. package/lib/live/outbox/repository.d.ts +27 -25
  194. package/lib/live/outbox/repository.d.ts.map +1 -1
  195. package/lib/live/outbox/repository.js +192 -241
  196. package/lib/live/outbox/repository.js.map +1 -1
  197. package/lib/live/outbox/service.d.ts +52 -50
  198. package/lib/live/outbox/service.d.ts.map +1 -1
  199. package/lib/live/outbox/service.js +5 -1
  200. package/lib/live/outbox/service.js.map +1 -1
  201. package/lib/live/outbox/types.d.ts +35 -33
  202. package/lib/live/outbox/types.d.ts.map +1 -1
  203. package/lib/live/outbox/types.js +10 -6
  204. package/lib/live/outbox/types.js.map +1 -1
  205. package/lib/live/waitForCollectionReady.d.ts +3 -1
  206. package/lib/live/waitForCollectionReady.d.ts.map +1 -1
  207. package/lib/live/waitForCollectionReady.js +44 -65
  208. package/lib/live/waitForCollectionReady.js.map +1 -1
  209. package/lib/meta/createLocalMetaOntologyBackendAdapter.d.ts +5 -2
  210. package/lib/meta/createLocalMetaOntologyBackendAdapter.d.ts.map +1 -1
  211. package/lib/meta/createLocalMetaOntologyBackendAdapter.js +37 -39
  212. package/lib/meta/createLocalMetaOntologyBackendAdapter.js.map +1 -1
  213. package/lib/meta/generated/constants.d.ts +137 -135
  214. package/lib/meta/generated/constants.d.ts.map +1 -1
  215. package/lib/meta/generated/constants.js +162 -129
  216. package/lib/meta/generated/constants.js.map +1 -1
  217. package/lib/meta/generated/live.d.ts +5 -2
  218. package/lib/meta/generated/live.d.ts.map +1 -1
  219. package/lib/meta/generated/live.js +12 -8
  220. package/lib/meta/generated/live.js.map +1 -1
  221. package/lib/meta/generated/types.d.ts +233 -231
  222. package/lib/meta/generated/types.d.ts.map +1 -1
  223. package/lib/meta/generated/types.js +0 -2
  224. package/lib/meta/ontology.d.ts +23 -21
  225. package/lib/meta/ontology.d.ts.map +1 -1
  226. package/lib/meta/ontology.js +100 -104
  227. package/lib/meta/ontology.js.map +1 -1
  228. package/lib/meta/pull.d.ts +8 -6
  229. package/lib/meta/pull.d.ts.map +1 -1
  230. package/lib/meta/pull.js +39 -52
  231. package/lib/meta/pull.js.map +1 -1
  232. package/lib/utils/index.d.ts +8 -8
  233. package/lib/utils/index.js +5 -6
  234. package/lib/utils/links.d.ts +34 -32
  235. package/lib/utils/links.d.ts.map +1 -1
  236. package/lib/utils/links.js +10 -17
  237. package/lib/utils/links.js.map +1 -1
  238. package/lib/utils/paths.d.ts +2 -0
  239. package/lib/utils/paths.d.ts.map +1 -1
  240. package/lib/utils/paths.js +32 -44
  241. package/lib/utils/paths.js.map +1 -1
  242. package/lib/utils/provide.d.ts +2 -0
  243. package/lib/utils/provide.d.ts.map +1 -1
  244. package/lib/utils/provide.js +7 -9
  245. package/lib/utils/provide.js.map +1 -1
  246. package/lib/utils/targets.d.ts +20 -18
  247. package/lib/utils/targets.d.ts.map +1 -1
  248. package/lib/utils/targets.js +0 -1
  249. package/lib/utils/typeNames.d.ts +10 -8
  250. package/lib/utils/typeNames.d.ts.map +1 -1
  251. package/lib/utils/typeNames.js +0 -1
  252. package/lib/utils/types.d.ts +6 -4
  253. package/lib/utils/types.d.ts.map +1 -1
  254. package/lib/utils/types.js +38 -38
  255. package/lib/utils/types.js.map +1 -1
  256. package/lib/utils/uncertain.d.ts +5 -3
  257. package/lib/utils/uncertain.d.ts.map +1 -1
  258. package/lib/utils/uncertain.js +11 -9
  259. package/lib/utils/uncertain.js.map +1 -1
  260. package/lib/utils/validation.d.ts +4 -2
  261. package/lib/utils/validation.d.ts.map +1 -1
  262. package/lib/utils/validation.js +0 -1
  263. package/lib/utils/values.d.ts +21 -18
  264. package/lib/utils/values.d.ts.map +1 -1
  265. package/lib/utils/values.js +0 -1
  266. package/package.json +22 -25
  267. package/lib/OntologyPullConfig.js.map +0 -1
  268. package/lib/cli/index.d.ts.map +0 -1
  269. package/lib/cli/index.test.d.ts +0 -2
  270. package/lib/cli/index.test.d.ts.map +0 -1
  271. package/lib/cli/index.test.js +0 -34
  272. package/lib/cli/index.test.js.map +0 -1
  273. package/lib/cli/pull.test.d.ts +0 -2
  274. package/lib/cli/pull.test.d.ts.map +0 -1
  275. package/lib/cli/pull.test.js +0 -125
  276. package/lib/cli/pull.test.js.map +0 -1
  277. package/lib/examples/generated/constants.d.ts.map +0 -1
  278. package/lib/examples/generated/constants.js.map +0 -1
  279. package/lib/examples/generated/types.js.map +0 -1
  280. package/lib/generate/builders.test.d.ts +0 -2
  281. package/lib/generate/builders.test.d.ts.map +0 -1
  282. package/lib/generate/builders.test.js +0 -49
  283. package/lib/generate/builders.test.js.map +0 -1
  284. package/lib/generate/index.d.ts.map +0 -1
  285. package/lib/generate/index.js.map +0 -1
  286. package/lib/generate/live.test.d.ts +0 -2
  287. package/lib/generate/live.test.d.ts.map +0 -1
  288. package/lib/generate/live.test.js +0 -22
  289. package/lib/generate/live.test.js.map +0 -1
  290. package/lib/generate/ontology.test.d.ts +0 -2
  291. package/lib/generate/ontology.test.d.ts.map +0 -1
  292. package/lib/generate/ontology.test.js +0 -157
  293. package/lib/generate/ontology.test.js.map +0 -1
  294. package/lib/generate/types.test.d.ts +0 -2
  295. package/lib/generate/types.test.d.ts.map +0 -1
  296. package/lib/generate/types.test.js +0 -304
  297. package/lib/generate/types.test.js.map +0 -1
  298. package/lib/index.d.ts.map +0 -1
  299. package/lib/index.js.map +0 -1
  300. package/lib/infer.test.d.ts +0 -2
  301. package/lib/infer.test.d.ts.map +0 -1
  302. package/lib/infer.test.js +0 -125
  303. package/lib/infer.test.js.map +0 -1
  304. package/lib/installation/createMetaOntologyConfiguration.test.d.ts +0 -2
  305. package/lib/installation/createMetaOntologyConfiguration.test.d.ts.map +0 -1
  306. package/lib/installation/createMetaOntologyConfiguration.test.js +0 -20
  307. package/lib/installation/createMetaOntologyConfiguration.test.js.map +0 -1
  308. package/lib/installation/createOntologyBackendInstallation.test.d.ts +0 -2
  309. package/lib/installation/createOntologyBackendInstallation.test.d.ts.map +0 -1
  310. package/lib/installation/createOntologyBackendInstallation.test.js +0 -320
  311. package/lib/installation/createOntologyBackendInstallation.test.js.map +0 -1
  312. package/lib/installation/index.d.ts.map +0 -1
  313. package/lib/installation/index.js.map +0 -1
  314. package/lib/installation/types.js.map +0 -1
  315. package/lib/ir/generated/types.js.map +0 -1
  316. package/lib/ir/index.d.ts.map +0 -1
  317. package/lib/ir/index.js.map +0 -1
  318. package/lib/ir/validate.test.d.ts +0 -2
  319. package/lib/ir/validate.test.d.ts.map +0 -1
  320. package/lib/ir/validate.test.js +0 -1061
  321. package/lib/ir/validate.test.js.map +0 -1
  322. package/lib/json/index.test.d.ts +0 -2
  323. package/lib/json/index.test.d.ts.map +0 -1
  324. package/lib/json/index.test.js +0 -142
  325. package/lib/json/index.test.js.map +0 -1
  326. package/lib/lenses.test.d.ts +0 -2
  327. package/lib/lenses.test.d.ts.map +0 -1
  328. package/lib/lenses.test.js +0 -80
  329. package/lib/lenses.test.js.map +0 -1
  330. package/lib/live/LiveOntology.test.d.ts +0 -2
  331. package/lib/live/LiveOntology.test.d.ts.map +0 -1
  332. package/lib/live/LiveOntology.test.js +0 -507
  333. package/lib/live/LiveOntology.test.js.map +0 -1
  334. package/lib/live/OntologyBackendAdapter.js.map +0 -1
  335. package/lib/live/actions/createLiveOntologyAction.test.d.ts +0 -2
  336. package/lib/live/actions/createLiveOntologyAction.test.d.ts.map +0 -1
  337. package/lib/live/actions/createLiveOntologyAction.test.js +0 -232
  338. package/lib/live/actions/createLiveOntologyAction.test.js.map +0 -1
  339. package/lib/live/actions/prepareActionParameters.test.d.ts +0 -2
  340. package/lib/live/actions/prepareActionParameters.test.d.ts.map +0 -1
  341. package/lib/live/actions/prepareActionParameters.test.js +0 -165
  342. package/lib/live/actions/prepareActionParameters.test.js.map +0 -1
  343. package/lib/live/attachments/attachmentMetadata.test.d.ts +0 -2
  344. package/lib/live/attachments/attachmentMetadata.test.d.ts.map +0 -1
  345. package/lib/live/attachments/attachmentMetadata.test.js +0 -73
  346. package/lib/live/attachments/attachmentMetadata.test.js.map +0 -1
  347. package/lib/live/attachments/createLiveOntologyAttachments.test.d.ts +0 -2
  348. package/lib/live/attachments/createLiveOntologyAttachments.test.d.ts.map +0 -1
  349. package/lib/live/attachments/createLiveOntologyAttachments.test.js +0 -363
  350. package/lib/live/attachments/createLiveOntologyAttachments.test.js.map +0 -1
  351. package/lib/live/attachments/types.js.map +0 -1
  352. package/lib/live/expression.test.d.ts +0 -2
  353. package/lib/live/expression.test.d.ts.map +0 -1
  354. package/lib/live/expression.test.js +0 -281
  355. package/lib/live/expression.test.js.map +0 -1
  356. package/lib/live/index.d.ts.map +0 -1
  357. package/lib/live/index.js.map +0 -1
  358. package/lib/live/mutators/OntologyEdits.test.d.ts +0 -2
  359. package/lib/live/mutators/OntologyEdits.test.d.ts.map +0 -1
  360. package/lib/live/mutators/OntologyEdits.test.js +0 -85
  361. package/lib/live/mutators/OntologyEdits.test.js.map +0 -1
  362. package/lib/live/mutators/createMutatorTx.test.d.ts +0 -2
  363. package/lib/live/mutators/createMutatorTx.test.d.ts.map +0 -1
  364. package/lib/live/mutators/createMutatorTx.test.js +0 -182
  365. package/lib/live/mutators/createMutatorTx.test.js.map +0 -1
  366. package/lib/live/mutators/types.js.map +0 -1
  367. package/lib/live/objects/OntologyObject.js.map +0 -1
  368. package/lib/live/objects/createLiveOntologyObjectCollection.test.d.ts +0 -2
  369. package/lib/live/objects/createLiveOntologyObjectCollection.test.d.ts.map +0 -1
  370. package/lib/live/objects/createLiveOntologyObjectCollection.test.js +0 -181
  371. package/lib/live/objects/createLiveOntologyObjectCollection.test.js.map +0 -1
  372. package/lib/live/outbox/createOntologyOutbox.test.d.ts +0 -2
  373. package/lib/live/outbox/createOntologyOutbox.test.d.ts.map +0 -1
  374. package/lib/live/outbox/createOntologyOutbox.test.js +0 -1007
  375. package/lib/live/outbox/createOntologyOutbox.test.js.map +0 -1
  376. package/lib/live/outbox/outboxValues.d.ts +0 -7
  377. package/lib/live/outbox/outboxValues.d.ts.map +0 -1
  378. package/lib/live/outbox/outboxValues.js +0 -76
  379. package/lib/live/outbox/outboxValues.js.map +0 -1
  380. package/lib/meta/generated/types.js.map +0 -1
  381. package/lib/meta/ontology.test.d.ts +0 -2
  382. package/lib/meta/ontology.test.d.ts.map +0 -1
  383. package/lib/meta/ontology.test.js +0 -84
  384. package/lib/meta/ontology.test.js.map +0 -1
  385. package/lib/utils/index.d.ts.map +0 -1
  386. package/lib/utils/index.js.map +0 -1
  387. package/lib/utils/links.test.d.ts +0 -2
  388. package/lib/utils/links.test.d.ts.map +0 -1
  389. package/lib/utils/links.test.js +0 -109
  390. package/lib/utils/links.test.js.map +0 -1
  391. package/lib/utils/paths.test.d.ts +0 -2
  392. package/lib/utils/paths.test.d.ts.map +0 -1
  393. package/lib/utils/paths.test.js +0 -33
  394. package/lib/utils/paths.test.js.map +0 -1
  395. package/lib/utils/targets.js.map +0 -1
  396. package/lib/utils/typeNames.js.map +0 -1
  397. package/lib/utils/types.test.d.ts +0 -2
  398. package/lib/utils/types.test.d.ts.map +0 -1
  399. package/lib/utils/types.test.js +0 -157
  400. package/lib/utils/types.test.js.map +0 -1
  401. package/lib/utils/uncertain.test.d.ts +0 -2
  402. package/lib/utils/uncertain.test.d.ts.map +0 -1
  403. package/lib/utils/uncertain.test.js +0 -14
  404. package/lib/utils/uncertain.test.js.map +0 -1
  405. package/lib/utils/validation.js.map +0 -1
  406. package/lib/utils/values.js.map +0 -1
@@ -1,38 +1,39 @@
1
1
  import * as v from "@party-stack/ontology/values";
2
+ //#region src/meta/generated/types.d.ts
2
3
  /** A renderer-independent icon name from @party-stack/icons. */
3
4
  export type IconName = "activity" | "add" | "airplane" | "alarm" | "alert" | "archive" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-up" | "attachment" | "award" | "bank" | "barcode" | "bell" | "book" | "bookmark" | "briefcase" | "bug" | "building" | "calculator" | "calendar" | "camera" | "chart-bar" | "chart-line" | "chart-pie" | "chat" | "check" | "check-circle" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "circle" | "clipboard" | "clock" | "cloud" | "code" | "compass" | "copy" | "credit-card" | "cube" | "database" | "delete" | "document" | "download" | "edit" | "email" | "error" | "eye" | "eye-off" | "filter" | "flag" | "folder" | "globe" | "grid" | "heart" | "help" | "history" | "home" | "image" | "info" | "key" | "layers" | "lightbulb" | "link" | "list" | "location" | "lock" | "lock-open" | "map" | "menu" | "microphone" | "minus" | "minus-circle" | "moon" | "more-horizontal" | "more-vertical" | "notification" | "package" | "pause" | "people" | "person" | "phone" | "pin" | "play" | "play-circle" | "plus-circle" | "printer" | "project" | "refresh" | "rocket" | "save" | "search" | "send" | "settings" | "share" | "shield" | "shopping-bag" | "shopping-cart" | "star" | "stop" | "sun" | "tag" | "ticket" | "tools" | "upload" | "video" | "warning" | "window" | "wrench" | "x" | "x-circle";
4
5
  /** A portable icon descriptor with optional provider meta for lossless round trips. */
5
6
  export type IconDescriptor = {
6
- /** Renderer-independent icon name. */
7
- name: IconName;
8
- /** Namespaced source-provider meta. */
9
- meta?: Record<string, unknown>;
7
+ /** Renderer-independent icon name. */
8
+ name: IconName;
9
+ /** Namespaced source-provider meta. */
10
+ meta?: Record<string, unknown>;
10
11
  };
11
12
  export type Deprecation = {
12
- message: string;
13
+ message: string;
13
14
  };
14
15
  /** A suggested value for a string. */
15
16
  export type StringSuggestion = {
16
- value: string;
17
- label?: string;
17
+ value: string;
18
+ label?: string;
18
19
  };
19
20
  /** Constrains a string to a set of allowed values. */
20
21
  export type StringEnumConstraint = {
21
- options: Array<StringSuggestion>;
22
+ options: Array<StringSuggestion>;
22
23
  };
23
24
  /** Constrains a string to a regex. */
24
25
  export type StringRegexConstraint = {
25
- regex: string;
26
+ regex: string;
26
27
  };
27
28
  /** A constraint that can be applied to a string type. */
28
29
  export type StringConstraint = v.Union<{
29
- enum: StringEnumConstraint;
30
- regex: StringRegexConstraint;
30
+ enum: StringEnumConstraint;
31
+ regex: StringRegexConstraint;
31
32
  }>;
32
33
  /** A string type with optional constraints. */
33
34
  export type StringTypeDef = {
34
- constraint?: StringConstraint;
35
- suggestions?: Array<StringSuggestion>;
35
+ constraint?: StringConstraint;
36
+ suggestions?: Array<StringSuggestion>;
36
37
  };
37
38
  /** A boolean type. */
38
39
  export type BooleanTypeDef = Record<never, never>;
@@ -52,196 +53,196 @@ export type GeopointTypeDef = Record<never, never>;
52
53
  export type UnknownTypeDef = Record<never, never>;
53
54
  /** A list/array type. */
54
55
  export type ListTypeDef = {
55
- /** The type of elements in the list. */
56
- elementType: TypeDef;
56
+ /** The type of elements in the list. */
57
+ elementType: TypeDef;
57
58
  };
58
59
  /** A map/record type. */
59
60
  export type MapTypeDef = {
60
- /** The type of keys (must be string right now). */
61
- keyType: TypeDef;
62
- /** The type of values. */
63
- valueType: TypeDef;
61
+ /** The type of keys (must be string right now). */
62
+ keyType: TypeDef;
63
+ /** The type of values. */
64
+ valueType: TypeDef;
64
65
  };
65
66
  /** Definition of a field in a struct. */
66
67
  export type FieldDef = {
67
- /** The field name in code. */
68
- name: string;
69
- /** Human-readable name. */
70
- displayName: string;
71
- /** The field's type. */
72
- type: TypeDef;
73
- /** Optional description. */
74
- description?: string;
75
- deprecated?: Deprecation;
68
+ /** The field name in code. */
69
+ name: string;
70
+ /** Human-readable name. */
71
+ displayName: string;
72
+ /** The field's type. */
73
+ type: TypeDef;
74
+ /** Optional description. */
75
+ description?: string;
76
+ deprecated?: Deprecation;
76
77
  };
77
78
  /** A struct type with named fields. */
78
79
  export type StructTypeDef = {
79
- fields: Array<FieldDef>;
80
+ fields: Array<FieldDef>;
80
81
  };
81
82
  /** Definition of a variant in a discriminated union. */
82
83
  export type VariantDef = {
83
- /** The variant's discriminator value. */
84
- name: string;
85
- /** The variant's payload type. */
86
- type: TypeDef;
84
+ /** The variant's discriminator value. */
85
+ name: string;
86
+ /** The variant's payload type. */
87
+ type: TypeDef;
87
88
  };
88
89
  /** A discriminated union type. */
89
90
  export type UnionTypeDef = {
90
- variants: Array<VariantDef>;
91
+ variants: Array<VariantDef>;
91
92
  };
92
93
  /** Wraps a type to make it optional. */
93
94
  export type OptionalTypeDef = {
94
- /** The wrapped type. */
95
- type: TypeDef;
95
+ /** The wrapped type. */
96
+ type: TypeDef;
96
97
  };
97
98
  /** A result type (ok or error). */
98
99
  export type ResultTypeDef = {
99
- /** The type of the success value. */
100
- okType: TypeDef;
101
- /** The type of the error value. */
102
- errType: TypeDef;
100
+ /** The type of the success value. */
101
+ okType: TypeDef;
102
+ /** The type of the error value. */
103
+ errType: TypeDef;
103
104
  };
104
105
  /** A reference to a named type. */
105
106
  export type TypeRef = {
106
- /** The name of the referenced type. */
107
- name: string;
107
+ /** The name of the referenced type. */
108
+ name: string;
108
109
  };
109
110
  /** A type definition. Can be a primitive, collection, struct, union, optional, result, or reference. */
110
111
  export type TypeDef = v.Union<{
111
- string: StringTypeDef;
112
- boolean: BooleanTypeDef;
113
- integer: IntegerTypeDef;
114
- float: FloatTypeDef;
115
- double: DoubleTypeDef;
116
- date: DateTypeDef;
117
- timestamp: TimestampTypeDef;
118
- geopoint: GeopointTypeDef;
119
- list: ListTypeDef;
120
- map: MapTypeDef;
121
- struct: StructTypeDef;
122
- union: UnionTypeDef;
123
- optional: OptionalTypeDef;
124
- result: ResultTypeDef;
125
- ref: TypeRef;
126
- attachment: AttachmentTypeDef;
127
- objectReference: ObjectReferenceTypeDef;
128
- unknown: UnknownTypeDef;
112
+ string: StringTypeDef;
113
+ boolean: BooleanTypeDef;
114
+ integer: IntegerTypeDef;
115
+ float: FloatTypeDef;
116
+ double: DoubleTypeDef;
117
+ date: DateTypeDef;
118
+ timestamp: TimestampTypeDef;
119
+ geopoint: GeopointTypeDef;
120
+ list: ListTypeDef;
121
+ map: MapTypeDef;
122
+ struct: StructTypeDef;
123
+ union: UnionTypeDef;
124
+ optional: OptionalTypeDef;
125
+ result: ResultTypeDef;
126
+ ref: TypeRef;
127
+ attachment: AttachmentTypeDef;
128
+ objectReference: ObjectReferenceTypeDef;
129
+ unknown: UnknownTypeDef;
129
130
  }>;
130
131
  /** A supported image media type. */
131
132
  export type ImageMediaType = "image/bmp" | "image/tiff" | "image/nitf" | "image/jp2" | "image/jpeg" | "image/png" | "image/gif" | "image/svg+xml" | "image/webp";
132
133
  /** Constrains intrinsic pixel dimensions. */
133
134
  export type DimensionsConstraint = {
134
- width?: {
135
- min?: v.integer;
136
- max?: v.integer;
137
- };
138
- height?: {
139
- min?: v.integer;
140
- max?: v.integer;
141
- };
135
+ width?: {
136
+ min?: v.integer;
137
+ max?: v.integer;
138
+ };
139
+ height?: {
140
+ min?: v.integer;
141
+ max?: v.integer;
142
+ };
142
143
  };
143
144
  /** Constraints specific to image attachments. */
144
145
  export type ImageAttachmentConstraint = {
145
- mediaTypes?: Array<ImageMediaType>;
146
- dimensions?: DimensionsConstraint;
146
+ mediaTypes?: Array<ImageMediaType>;
147
+ dimensions?: DimensionsConstraint;
147
148
  };
148
149
  /** Content-specific attachment constraints. */
149
150
  export type AttachmentContentConstraint = v.Union<{
150
- image: ImageAttachmentConstraint;
151
+ image: ImageAttachmentConstraint;
151
152
  }>;
152
153
  /** Constraints applied to an attachment. */
153
154
  export type AttachmentConstraint = {
154
- size?: {
155
- min?: v.double;
156
- max?: v.double;
157
- };
158
- content?: AttachmentContentConstraint;
155
+ size?: {
156
+ min?: v.double;
157
+ max?: v.double;
158
+ };
159
+ content?: AttachmentContentConstraint;
159
160
  };
160
161
  /** A file handle with optional constraints. */
161
162
  export type AttachmentTypeDef = {
162
- constraint?: AttachmentConstraint;
163
- meta?: Record<string, unknown>;
163
+ constraint?: AttachmentConstraint;
164
+ meta?: Record<string, unknown>;
164
165
  };
165
166
  /** A reference to an ontology object type. */
166
167
  export type ObjectReferenceTypeDef = {
167
- /** The referenced object type name. */
168
- objectType: string;
168
+ /** The referenced object type name. */
169
+ objectType: string;
169
170
  };
170
171
  /** A property on an Object type. */
171
172
  export type PropertyDef = {
172
- /** The provider-assigned stable identifier for this property. */
173
- id: string;
174
- /** The property's name. */
175
- name: string;
176
- /** Human-readable name. */
177
- displayName: string;
178
- /** The property's type. */
179
- type: TypeDef;
180
- /** Optional description. */
181
- description?: string;
182
- deprecated?: Deprecation;
173
+ /** The provider-assigned stable identifier for this property. */
174
+ id: string;
175
+ /** The property's name. */
176
+ name: string;
177
+ /** Human-readable name. */
178
+ displayName: string;
179
+ /** The property's type. */
180
+ type: TypeDef;
181
+ /** Optional description. */
182
+ description?: string;
183
+ deprecated?: Deprecation;
183
184
  };
184
185
  export type LinkTypeSideDef = {
185
- objectType: string;
186
- name: string;
187
- displayName: string;
186
+ objectType: string;
187
+ name: string;
188
+ displayName: string;
188
189
  };
189
190
  /** The cardinality of a link from the source's perspective. */
190
191
  export type LinkCardinality = "one" | "many";
191
192
  /** A parameter of an Action type. */
192
193
  export type ActionParameterDef = {
193
- /** The parameter's name. */
194
- name: string;
195
- /** Human-readable name. */
196
- displayName: string;
197
- /** The parameter's type. */
198
- type: TypeDef;
199
- /** Optional description. */
200
- description?: string;
201
- deprecated?: Deprecation;
202
- /** The expression used when the caller does not provide a value. */
203
- defaultValue?: Expression;
194
+ /** The parameter's name. */
195
+ name: string;
196
+ /** Human-readable name. */
197
+ displayName: string;
198
+ /** The parameter's type. */
199
+ type: TypeDef;
200
+ /** Optional description. */
201
+ description?: string;
202
+ deprecated?: Deprecation;
203
+ /** The expression used when the caller does not provide a value. */
204
+ defaultValue?: Expression;
204
205
  };
205
206
  /** Reads a named input from the root expression scope. */
206
207
  export type InputReferenceExpression = {
207
- name: string;
208
+ name: string;
208
209
  };
209
210
  /** Reads a named lexically scoped expression binding. */
210
211
  export type LocalReferenceExpression = {
211
- name: string;
212
+ name: string;
212
213
  };
213
214
  /** Reads a named value from the expression context. */
214
215
  export type ContextReferenceExpression = {
215
- name: string;
216
+ name: string;
216
217
  };
217
218
  /** Reads a structural path from a source expression. */
218
219
  export type GetAtExpression = {
219
- source: Expression;
220
- path: Array<string>;
220
+ source: Expression;
221
+ path: Array<string>;
221
222
  };
222
223
  /** Resolves an object reference to its ontology object. */
223
224
  export type ObjectLookupExpression = {
224
- reference: Expression;
225
+ reference: Expression;
225
226
  };
226
227
  /** Follows one named to-one ontology link from a source object. */
227
228
  export type LinkHopExpression = {
228
- source: Expression;
229
- link: string;
229
+ source: Expression;
230
+ link: string;
230
231
  };
231
232
  /** A named field constructed by a struct expression. */
232
233
  export type StructExpressionField = {
233
- name: string;
234
- value: Expression;
234
+ name: string;
235
+ value: Expression;
235
236
  };
236
237
  /** Constructs a struct value from field expressions. */
237
238
  export type StructExpression = {
238
- fields: Array<StructExpressionField>;
239
+ fields: Array<StructExpressionField>;
239
240
  };
240
241
  /** Maps each element of a list to a new value. */
241
242
  export type MapExpression = {
242
- source: Expression;
243
- binding: string;
244
- body: Expression;
243
+ source: Expression;
244
+ binding: string;
245
+ body: Expression;
245
246
  };
246
247
  /** Generates a UUID value. */
247
248
  export type UuidExpression = Record<never, never>;
@@ -249,167 +250,168 @@ export type UuidExpression = Record<never, never>;
249
250
  export type NowExpression = Record<never, never>;
250
251
  /** A static literal value. */
251
252
  export type LiteralExpression = {
252
- /** The literal value. */
253
- value: unknown;
253
+ /** The literal value. */
254
+ value: unknown;
254
255
  };
255
256
  /** An expression that resolves to a value. */
256
257
  export type Expression = v.Union<{
257
- inputReference: InputReferenceExpression;
258
- contextReference: ContextReferenceExpression;
259
- localReference: LocalReferenceExpression;
260
- getAt: GetAtExpression;
261
- objectLookup: ObjectLookupExpression;
262
- linkHop: LinkHopExpression;
263
- struct: StructExpression;
264
- map: MapExpression;
265
- uuid: UuidExpression;
266
- now: NowExpression;
267
- literal: LiteralExpression;
258
+ inputReference: InputReferenceExpression;
259
+ contextReference: ContextReferenceExpression;
260
+ localReference: LocalReferenceExpression;
261
+ getAt: GetAtExpression;
262
+ objectLookup: ObjectLookupExpression;
263
+ linkHop: LinkHopExpression;
264
+ struct: StructExpression;
265
+ map: MapExpression;
266
+ uuid: UuidExpression;
267
+ now: NowExpression;
268
+ literal: LiteralExpression;
268
269
  }>;
269
270
  /** Assigns an expression to a property path on an object written by an action. */
270
271
  export type PropertyAssignment = {
271
- property: Array<string>;
272
- value: Expression;
272
+ property: Array<string>;
273
+ value: Expression;
273
274
  };
274
275
  /** Creates an object and assigns property values. */
275
276
  export type CreateObjectActionLogicStep = {
276
- objectType: string;
277
- values: Array<PropertyAssignment>;
277
+ objectType: string;
278
+ values: Array<PropertyAssignment>;
278
279
  };
279
280
  /** Updates a referenced object and assigns property values. */
280
281
  export type UpdateObjectActionLogicStep = {
281
- object: InputReferenceExpression;
282
- values: Array<PropertyAssignment>;
282
+ object: InputReferenceExpression;
283
+ values: Array<PropertyAssignment>;
283
284
  };
284
285
  /** Deletes a referenced object. */
285
286
  export type DeleteObjectActionLogicStep = {
286
- object: InputReferenceExpression;
287
+ object: InputReferenceExpression;
287
288
  };
288
289
  /** A logic step performed by an action. */
289
290
  export type ActionLogicStep = v.Union<{
290
- createObject: CreateObjectActionLogicStep;
291
- updateObject: UpdateObjectActionLogicStep;
292
- deleteObject: DeleteObjectActionLogicStep;
291
+ createObject: CreateObjectActionLogicStep;
292
+ updateObject: UpdateObjectActionLogicStep;
293
+ deleteObject: DeleteObjectActionLogicStep;
293
294
  }>;
294
295
  /** A parameter accepted by a query function type. */
295
296
  export type QueryFunctionParameterDef = {
296
- /** The query function parameter's programmatic name. */
297
- name: string;
298
- /** Human-readable name. */
299
- displayName: string;
300
- type: TypeDef;
301
- /** Optional description. */
302
- description?: string;
303
- deprecated?: Deprecation;
297
+ /** The query function parameter's programmatic name. */
298
+ name: string;
299
+ /** Human-readable name. */
300
+ displayName: string;
301
+ type: TypeDef;
302
+ /** Optional description. */
303
+ description?: string;
304
+ deprecated?: Deprecation;
304
305
  };
305
306
  /** Moves a property from one path to another. */
306
307
  export type MoveLensOp = {
307
- from: Array<string>;
308
- to: Array<string>;
308
+ from: Array<string>;
309
+ to: Array<string>;
309
310
  };
310
311
  /** Retains only the selected top-level properties. */
311
312
  export type SelectLensOp = {
312
- properties: Array<string>;
313
+ properties: Array<string>;
313
314
  };
314
315
  /** One schema and value transformation operation. */
315
316
  export type LensOp = v.Union<{
316
- move: MoveLensOp;
317
- select: SelectLensOp;
317
+ move: MoveLensOp;
318
+ select: SelectLensOp;
318
319
  }>;
319
320
  /** An ordered sequence of source-to-target transformation operations. */
320
321
  export type Lens = {
321
- operations: Array<LensOp>;
322
+ operations: Array<LensOp>;
322
323
  };
323
324
  /** A named type definition that can be referenced by other types. */
324
325
  export type ValueType = {
325
- /** The type's name for use in code. */
326
- name: string;
327
- /** Optional documentation for the type. */
328
- description?: string;
329
- deprecated?: Deprecation;
330
- /** The type definition. */
331
- type: TypeDef;
326
+ /** The type's name for use in code. */
327
+ name: string;
328
+ /** Optional documentation for the type. */
329
+ description?: string;
330
+ deprecated?: Deprecation;
331
+ /** The type definition. */
332
+ type: TypeDef;
332
333
  };
333
334
  /** An object type in the ontology. */
334
335
  export type ObjectType = {
335
- /** The provider-assigned stable identifier for this object type. */
336
- id: string;
337
- /** The object type's programmatic name. */
338
- name: string;
339
- /** Human-readable name. */
340
- displayName: string;
341
- pluralDisplayName: string;
342
- /** The name of the property that serves as primary key. */
343
- primaryKey: string;
344
- /** The optional property name used as the human-readable title for an object. */
345
- title?: string;
346
- /** Optional portable icon descriptor. */
347
- icon?: IconDescriptor;
348
- /** Optional display color independent of the icon. */
349
- color?: string;
350
- /** The object type's propertieo. */
351
- properties: Array<PropertyDef>;
352
- /** Optional description. */
353
- description?: string;
354
- deprecated?: Deprecation;
336
+ /** The provider-assigned stable identifier for this object type. */
337
+ id: string;
338
+ /** The object type's programmatic name. */
339
+ name: string;
340
+ /** Human-readable name. */
341
+ displayName: string;
342
+ pluralDisplayName: string;
343
+ /** The name of the property that serves as primary key. */
344
+ primaryKey: string;
345
+ /** The optional property name used as the human-readable title for an object. */
346
+ title?: string;
347
+ /** Optional portable icon descriptor. */
348
+ icon?: IconDescriptor;
349
+ /** Optional display color independent of the icon. */
350
+ color?: string;
351
+ /** The object type's propertieo. */
352
+ properties: Array<PropertyDef>;
353
+ /** Optional description. */
354
+ description?: string;
355
+ deprecated?: Deprecation;
355
356
  };
356
357
  /** A relationship between two object types. */
357
358
  export type LinkType = {
358
- id: string;
359
- source: LinkTypeSideDef;
360
- target: LinkTypeSideDef;
361
- /** The foreign key on the source. */
362
- foreignKey: string;
363
- /** How many sources are linked to the target. */
364
- cardinality: "one" | "many";
359
+ id: string;
360
+ source: LinkTypeSideDef;
361
+ target: LinkTypeSideDef;
362
+ /** The foreign key on the source. */
363
+ foreignKey: string;
364
+ /** How many sources are linked to the target. */
365
+ cardinality: "one" | "many";
365
366
  };
366
367
  /** An action type in the ontology. */
367
368
  export type ActionType = {
368
- /** The provider-assigned stable identifier for this action type. */
369
- id: string;
370
- /** Provider-specific metadata used to execute this action. */
371
- meta?: Record<string, unknown>;
372
- /** The object type's programmatic name. */
373
- name: string;
374
- /** Human-readable name. */
375
- displayName: string;
376
- /** Optional portable icon descriptor. */
377
- icon?: IconDescriptor;
378
- /** Optional display color independent of the icon. */
379
- color?: string;
380
- /** The action type's parametero. */
381
- parameters: Array<ActionParameterDef>;
382
- /** The action type's local logic stepo. */
383
- logic: Array<ActionLogicStep>;
384
- /** Optional description. */
385
- description?: string;
386
- deprecated?: Deprecation;
369
+ /** The provider-assigned stable identifier for this action type. */
370
+ id: string;
371
+ /** Provider-specific metadata used to execute this action. */
372
+ meta?: Record<string, unknown>;
373
+ /** The object type's programmatic name. */
374
+ name: string;
375
+ /** Human-readable name. */
376
+ displayName: string;
377
+ /** Optional portable icon descriptor. */
378
+ icon?: IconDescriptor;
379
+ /** Optional display color independent of the icon. */
380
+ color?: string;
381
+ /** The action type's parametero. */
382
+ parameters: Array<ActionParameterDef>;
383
+ /** The action type's local logic stepo. */
384
+ logic: Array<ActionLogicStep>;
385
+ /** Optional description. */
386
+ description?: string;
387
+ deprecated?: Deprecation;
387
388
  };
388
389
  /** A runnable query function type in the ontology. */
389
390
  export type QueryFunctionType = {
390
- /** The query function type's programmatic name. */
391
- name: string;
392
- /** Human-readable name. */
393
- displayName: string;
394
- /** The query function type's parameters. */
395
- parameters: Array<QueryFunctionParameterDef>;
396
- /** The query function type's return type. */
397
- returnType: TypeDef;
398
- /** Optional description. */
399
- description?: string;
400
- deprecated?: Deprecation;
391
+ /** The query function type's programmatic name. */
392
+ name: string;
393
+ /** Human-readable name. */
394
+ displayName: string;
395
+ /** The query function type's parameters. */
396
+ parameters: Array<QueryFunctionParameterDef>;
397
+ /** The query function type's return type. */
398
+ returnType: TypeDef;
399
+ /** Optional description. */
400
+ description?: string;
401
+ deprecated?: Deprecation;
401
402
  };
402
403
  export type MetaOntologyContext = Record<string, unknown>;
403
404
  export type MetaOntology = {
404
- context: MetaOntologyContext;
405
- objectTypes: {
406
- ValueType: ValueType;
407
- ObjectType: ObjectType;
408
- LinkType: LinkType;
409
- ActionType: ActionType;
410
- QueryFunctionType: QueryFunctionType;
411
- };
412
- actionTypes: Record<never, never>;
413
- queryFunctionTypes: Record<never, never>;
414
- };
405
+ context: MetaOntologyContext;
406
+ objectTypes: {
407
+ ValueType: ValueType;
408
+ ObjectType: ObjectType;
409
+ LinkType: LinkType;
410
+ ActionType: ActionType;
411
+ QueryFunctionType: QueryFunctionType;
412
+ };
413
+ actionTypes: Record<never, never>;
414
+ queryFunctionTypes: Record<never, never>;
415
+ };
416
+ //#endregion
415
417
  //# sourceMappingURL=types.d.ts.map