@vertesia/common 1.5.0-dev.20260807.073259Z → 1.5.0-dev.20260901.005903Z

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 (451) hide show
  1. package/lib/access-control.d.ts +0 -14
  2. package/lib/access-control.d.ts.map +1 -1
  3. package/lib/access-control.js +0 -23
  4. package/lib/access-control.js.map +1 -1
  5. package/lib/account-values.d.ts +0 -10
  6. package/lib/account-values.d.ts.map +1 -1
  7. package/lib/account-values.js +0 -44
  8. package/lib/account-values.js.map +1 -1
  9. package/lib/api-contract/components.generated.json +40405 -0
  10. package/lib/api-contract/index.d.ts +186 -0
  11. package/lib/api-contract/index.d.ts.map +1 -0
  12. package/lib/api-contract/index.js +554 -0
  13. package/lib/api-contract/index.js.map +1 -0
  14. package/lib/api-schemas/agent-communication.d.ts +199 -0
  15. package/lib/api-schemas/agent-communication.d.ts.map +1 -0
  16. package/lib/api-schemas/agent-communication.js +150 -0
  17. package/lib/api-schemas/agent-communication.js.map +1 -0
  18. package/lib/api-schemas/agent-runs.d.ts +593 -0
  19. package/lib/api-schemas/agent-runs.d.ts.map +1 -1
  20. package/lib/api-schemas/agent-runs.js +44 -2
  21. package/lib/api-schemas/agent-runs.js.map +1 -1
  22. package/lib/api-schemas/app-lifecycle.d.ts +19 -0
  23. package/lib/api-schemas/app-lifecycle.d.ts.map +1 -1
  24. package/lib/api-schemas/app-lifecycle.js +34 -4
  25. package/lib/api-schemas/app-lifecycle.js.map +1 -1
  26. package/lib/api-schemas/app-runtime.d.ts +9871 -9257
  27. package/lib/api-schemas/app-runtime.d.ts.map +1 -1
  28. package/lib/api-schemas/app-runtime.js +7 -0
  29. package/lib/api-schemas/app-runtime.js.map +1 -1
  30. package/lib/api-schemas/apps.d.ts +1 -0
  31. package/lib/api-schemas/apps.d.ts.map +1 -1
  32. package/lib/api-schemas/apps.js +4 -3
  33. package/lib/api-schemas/apps.js.map +1 -1
  34. package/lib/api-schemas/content-query.d.ts +39 -0
  35. package/lib/api-schemas/content-query.d.ts.map +1 -0
  36. package/lib/api-schemas/content-query.js +30 -0
  37. package/lib/api-schemas/content-query.js.map +1 -0
  38. package/lib/api-schemas/content.d.ts +835 -29
  39. package/lib/api-schemas/content.d.ts.map +1 -1
  40. package/lib/api-schemas/content.js +82 -15
  41. package/lib/api-schemas/content.js.map +1 -1
  42. package/lib/api-schemas/dashboard.d.ts +4 -0
  43. package/lib/api-schemas/dashboard.d.ts.map +1 -1
  44. package/lib/api-schemas/dashboard.js +3 -0
  45. package/lib/api-schemas/dashboard.js.map +1 -1
  46. package/lib/api-schemas/document-processing.d.ts +333 -0
  47. package/lib/api-schemas/document-processing.d.ts.map +1 -1
  48. package/lib/api-schemas/events.d.ts +1007 -4
  49. package/lib/api-schemas/events.d.ts.map +1 -1
  50. package/lib/api-schemas/events.js +4 -1
  51. package/lib/api-schemas/events.js.map +1 -1
  52. package/lib/api-schemas/files.d.ts +17 -0
  53. package/lib/api-schemas/files.d.ts.map +1 -1
  54. package/lib/api-schemas/files.js +23 -0
  55. package/lib/api-schemas/files.js.map +1 -1
  56. package/lib/api-schemas/group.d.ts +7 -0
  57. package/lib/api-schemas/group.d.ts.map +1 -1
  58. package/lib/api-schemas/group.js +9 -0
  59. package/lib/api-schemas/group.js.map +1 -1
  60. package/lib/api-schemas/index.d.ts +4 -0
  61. package/lib/api-schemas/index.d.ts.map +1 -1
  62. package/lib/api-schemas/index.js +4 -0
  63. package/lib/api-schemas/index.js.map +1 -1
  64. package/lib/api-schemas/integrations.d.ts +19 -5
  65. package/lib/api-schemas/integrations.d.ts.map +1 -1
  66. package/lib/api-schemas/integrations.js +25 -2
  67. package/lib/api-schemas/integrations.js.map +1 -1
  68. package/lib/api-schemas/interaction.d.ts +8399 -1076
  69. package/lib/api-schemas/interaction.d.ts.map +1 -1
  70. package/lib/api-schemas/interaction.js +161 -9
  71. package/lib/api-schemas/interaction.js.map +1 -1
  72. package/lib/api-schemas/oauth-server.d.ts +131 -3
  73. package/lib/api-schemas/oauth-server.d.ts.map +1 -1
  74. package/lib/api-schemas/oauth-server.js +137 -3
  75. package/lib/api-schemas/oauth-server.js.map +1 -1
  76. package/lib/api-schemas/process.d.ts +1295 -0
  77. package/lib/api-schemas/process.d.ts.map +1 -1
  78. package/lib/api-schemas/process.js +318 -2
  79. package/lib/api-schemas/process.js.map +1 -1
  80. package/lib/api-schemas/project-configuration.d.ts +1118 -1
  81. package/lib/api-schemas/project-configuration.d.ts.map +1 -1
  82. package/lib/api-schemas/project-configuration.js +6 -2
  83. package/lib/api-schemas/project-configuration.js.map +1 -1
  84. package/lib/api-schemas/project.d.ts +1680 -6
  85. package/lib/api-schemas/project.d.ts.map +1 -1
  86. package/lib/api-schemas/registry.d.ts +87529 -69142
  87. package/lib/api-schemas/registry.d.ts.map +1 -1
  88. package/lib/api-schemas/registry.js +234 -413
  89. package/lib/api-schemas/registry.js.map +1 -1
  90. package/lib/api-schemas/schema-primitives.d.ts +4 -0
  91. package/lib/api-schemas/schema-primitives.d.ts.map +1 -1
  92. package/lib/api-schemas/schema-primitives.js +10 -0
  93. package/lib/api-schemas/schema-primitives.js.map +1 -1
  94. package/lib/api-schemas/store.d.ts +5596 -37
  95. package/lib/api-schemas/store.d.ts.map +1 -1
  96. package/lib/api-schemas/store.js +53 -8
  97. package/lib/api-schemas/store.js.map +1 -1
  98. package/lib/api-schemas/tools.d.ts +115 -0
  99. package/lib/api-schemas/tools.d.ts.map +1 -1
  100. package/lib/api-schemas/tools.js +55 -0
  101. package/lib/api-schemas/tools.js.map +1 -1
  102. package/lib/api-schemas/view-execution.d.ts +330 -854
  103. package/lib/api-schemas/view-execution.d.ts.map +1 -1
  104. package/lib/api-schemas/view-execution.js +26 -2
  105. package/lib/api-schemas/view-execution.js.map +1 -1
  106. package/lib/api-schemas/views.d.ts +452 -2562
  107. package/lib/api-schemas/views.d.ts.map +1 -1
  108. package/lib/api-schemas/views.js +119 -3
  109. package/lib/api-schemas/views.js.map +1 -1
  110. package/lib/api-schemas/workflow-runs.d.ts +344 -5
  111. package/lib/api-schemas/workflow-runs.d.ts.map +1 -1
  112. package/lib/api-schemas/workflow-runs.js +9 -7
  113. package/lib/api-schemas/workflow-runs.js.map +1 -1
  114. package/lib/apps.d.ts +8 -145
  115. package/lib/apps.d.ts.map +1 -1
  116. package/lib/apps.js +1 -54
  117. package/lib/apps.js.map +1 -1
  118. package/lib/ask-user.d.ts +2 -1
  119. package/lib/ask-user.d.ts.map +1 -1
  120. package/lib/audit-trail.d.ts +2 -2
  121. package/lib/audit-trail.d.ts.map +1 -1
  122. package/lib/audit-trail.js +2 -2
  123. package/lib/audit-trail.js.map +1 -1
  124. package/lib/browser-credentials.d.ts +2 -7
  125. package/lib/browser-credentials.d.ts.map +1 -1
  126. package/lib/common.d.ts +4 -1
  127. package/lib/common.d.ts.map +1 -1
  128. package/lib/content-query.d.ts +5 -0
  129. package/lib/content-query.d.ts.map +1 -0
  130. package/lib/content-query.js +2 -0
  131. package/lib/content-query.js.map +1 -0
  132. package/lib/data-platform.d.ts +4 -46
  133. package/lib/data-platform.d.ts.map +1 -1
  134. package/lib/data-platform.js.map +1 -1
  135. package/lib/email.d.ts +12 -18
  136. package/lib/email.d.ts.map +1 -1
  137. package/lib/email.js.map +1 -1
  138. package/lib/environment.d.ts +0 -10
  139. package/lib/environment.d.ts.map +1 -1
  140. package/lib/environment.js +1 -12
  141. package/lib/environment.js.map +1 -1
  142. package/lib/facets.d.ts +0 -4
  143. package/lib/facets.d.ts.map +1 -1
  144. package/lib/group.d.ts +2 -12
  145. package/lib/group.d.ts.map +1 -1
  146. package/lib/group.js.map +1 -1
  147. package/lib/index.d.ts +3 -10
  148. package/lib/index.d.ts.map +1 -1
  149. package/lib/index.js +2 -10
  150. package/lib/index.js.map +1 -1
  151. package/lib/integrations.d.ts +1 -27
  152. package/lib/integrations.d.ts.map +1 -1
  153. package/lib/integrations.js +0 -6
  154. package/lib/integrations.js.map +1 -1
  155. package/lib/interaction.d.ts +10 -222
  156. package/lib/interaction.d.ts.map +1 -1
  157. package/lib/interaction.js +0 -31
  158. package/lib/interaction.js.map +1 -1
  159. package/lib/meters.d.ts +5 -10
  160. package/lib/meters.d.ts.map +1 -1
  161. package/lib/meters.js +1 -9
  162. package/lib/meters.js.map +1 -1
  163. package/lib/oauth-scopes.d.ts +2 -16
  164. package/lib/oauth-scopes.d.ts.map +1 -1
  165. package/lib/oauth-scopes.js +9 -49
  166. package/lib/oauth-scopes.js.map +1 -1
  167. package/lib/oauth-server.d.ts +16 -195
  168. package/lib/oauth-server.d.ts.map +1 -1
  169. package/lib/payload.d.ts +2 -5
  170. package/lib/payload.d.ts.map +1 -1
  171. package/lib/pending-asks.d.ts +9 -41
  172. package/lib/pending-asks.d.ts.map +1 -1
  173. package/lib/platform-event.d.ts +4 -142
  174. package/lib/platform-event.d.ts.map +1 -1
  175. package/lib/platform-event.js.map +1 -1
  176. package/lib/project.d.ts +7 -46
  177. package/lib/project.d.ts.map +1 -1
  178. package/lib/project.js +2 -132
  179. package/lib/project.js.map +1 -1
  180. package/lib/prompt.d.ts +4 -7
  181. package/lib/prompt.d.ts.map +1 -1
  182. package/lib/prompt.js.map +1 -1
  183. package/lib/query.d.ts +0 -8
  184. package/lib/query.d.ts.map +1 -1
  185. package/lib/rate-limiter.d.ts +4 -3
  186. package/lib/rate-limiter.d.ts.map +1 -1
  187. package/lib/runs.d.ts +5 -1
  188. package/lib/runs.d.ts.map +1 -1
  189. package/lib/schema-for-extraction.d.ts +0 -1
  190. package/lib/schema-for-extraction.d.ts.map +1 -1
  191. package/lib/schema-for-extraction.js +1 -1
  192. package/lib/schema-for-extraction.js.map +1 -1
  193. package/lib/secrets.d.ts +2 -1
  194. package/lib/secrets.d.ts.map +1 -1
  195. package/lib/skill.d.ts +0 -13
  196. package/lib/skill.d.ts.map +1 -1
  197. package/lib/store/activity-catalog.d.ts +2 -0
  198. package/lib/store/activity-catalog.d.ts.map +1 -1
  199. package/lib/store/agent-approval.d.ts +0 -1
  200. package/lib/store/agent-approval.d.ts.map +1 -1
  201. package/lib/store/agent-approval.js +0 -3
  202. package/lib/store/agent-approval.js.map +1 -1
  203. package/lib/store/agent-run.d.ts +32 -69
  204. package/lib/store/agent-run.d.ts.map +1 -1
  205. package/lib/store/collections.d.ts +2 -6
  206. package/lib/store/collections.d.ts.map +1 -1
  207. package/lib/store/collections.js.map +1 -1
  208. package/lib/store/conversation-state.d.ts +11 -12
  209. package/lib/store/conversation-state.d.ts.map +1 -1
  210. package/lib/store/conversation-state.js +0 -18
  211. package/lib/store/conversation-state.js.map +1 -1
  212. package/lib/store/doc-analyzer.d.ts +0 -22
  213. package/lib/store/doc-analyzer.d.ts.map +1 -1
  214. package/lib/store/dsl-workflow.d.ts +22 -5
  215. package/lib/store/dsl-workflow.d.ts.map +1 -1
  216. package/lib/store/dsl-workflow.js.map +1 -1
  217. package/lib/store/grounded-extraction.d.ts +0 -14
  218. package/lib/store/grounded-extraction.d.ts.map +1 -1
  219. package/lib/store/grounded-extraction.js +1 -7
  220. package/lib/store/grounded-extraction.js.map +1 -1
  221. package/lib/store/index.d.ts +0 -5
  222. package/lib/store/index.d.ts.map +1 -1
  223. package/lib/store/index.js +0 -6
  224. package/lib/store/index.js.map +1 -1
  225. package/lib/store/intake-policy-schema.generated.d.ts.map +1 -1
  226. package/lib/store/intake-policy-schema.generated.js +279 -1
  227. package/lib/store/intake-policy-schema.generated.js.map +1 -1
  228. package/lib/store/process.d.ts +43 -1
  229. package/lib/store/process.d.ts.map +1 -1
  230. package/lib/store/process.js.map +1 -1
  231. package/lib/store/rendering.d.ts +3 -5
  232. package/lib/store/rendering.d.ts.map +1 -1
  233. package/lib/store/rendering.js +0 -4
  234. package/lib/store/rendering.js.map +1 -1
  235. package/lib/store/schedule.d.ts +0 -16
  236. package/lib/store/schedule.d.ts.map +1 -1
  237. package/lib/store/schedule.js.map +1 -1
  238. package/lib/store/signals.d.ts +12 -0
  239. package/lib/store/signals.d.ts.map +1 -1
  240. package/lib/store/store.d.ts +80 -94
  241. package/lib/store/store.d.ts.map +1 -1
  242. package/lib/store/store.js +5 -25
  243. package/lib/store/store.js.map +1 -1
  244. package/lib/store/workflow.d.ts +35 -86
  245. package/lib/store/workflow.d.ts.map +1 -1
  246. package/lib/store/workflow.js +0 -47
  247. package/lib/store/workflow.js.map +1 -1
  248. package/lib/sts-errors.d.ts +0 -1
  249. package/lib/sts-errors.d.ts.map +1 -1
  250. package/lib/sts-token-types.d.ts +2 -8
  251. package/lib/sts-token-types.d.ts.map +1 -1
  252. package/lib/sts-token-types.js +1 -19
  253. package/lib/sts-token-types.js.map +1 -1
  254. package/lib/tools.d.ts +6 -1
  255. package/lib/tools.d.ts.map +1 -1
  256. package/lib/transient-tokens.d.ts +0 -2
  257. package/lib/transient-tokens.d.ts.map +1 -1
  258. package/lib/user.d.ts +0 -17
  259. package/lib/user.d.ts.map +1 -1
  260. package/lib/user.js.map +1 -1
  261. package/lib/utils/schemas.d.ts +2 -24
  262. package/lib/utils/schemas.d.ts.map +1 -1
  263. package/lib/utils/schemas.js +0 -151
  264. package/lib/utils/schemas.js.map +1 -1
  265. package/lib/vertesia-common.js +3 -4
  266. package/lib/vertesia-common.js.map +1 -1
  267. package/lib/views.d.ts +23 -27
  268. package/lib/views.d.ts.map +1 -1
  269. package/lib/views.js +5 -26
  270. package/lib/views.js.map +1 -1
  271. package/lib/workflow-analytics.d.ts +12 -34
  272. package/lib/workflow-analytics.d.ts.map +1 -1
  273. package/package.json +12 -6
  274. package/src/access-control.ts +0 -26
  275. package/src/account-values.ts +0 -49
  276. package/src/agent-resources.test.ts +1 -12
  277. package/src/api-contract/components.contract.test.ts +99 -0
  278. package/src/api-contract/components.generated.json +40405 -0
  279. package/src/api-contract/index.ts +664 -0
  280. package/src/api-schemas/agent-communication.contract.test.ts +90 -0
  281. package/src/api-schemas/agent-communication.ts +169 -0
  282. package/src/api-schemas/agent-runs.ts +46 -1
  283. package/src/api-schemas/api-discriminators.test.ts +101 -0
  284. package/src/api-schemas/app-lifecycle.ts +39 -4
  285. package/src/api-schemas/app-runtime.ts +8 -0
  286. package/src/api-schemas/apps.ts +4 -3
  287. package/src/api-schemas/content-query.ts +31 -0
  288. package/src/api-schemas/content.ts +88 -15
  289. package/src/api-schemas/dashboard.contract.test.ts +16 -5
  290. package/src/api-schemas/dashboard.ts +3 -0
  291. package/src/api-schemas/events.ts +9 -1
  292. package/src/api-schemas/files.ts +27 -0
  293. package/src/api-schemas/group.ts +10 -0
  294. package/src/api-schemas/index.ts +4 -0
  295. package/src/api-schemas/integrations.ts +27 -2
  296. package/src/api-schemas/interaction.contract.test.ts +204 -1
  297. package/src/api-schemas/interaction.ts +176 -8
  298. package/src/api-schemas/llumiverse.contract.test.ts +33 -2
  299. package/src/api-schemas/oauth-server.ts +152 -3
  300. package/src/api-schemas/oauth.contract.test.ts +64 -1
  301. package/src/api-schemas/process.ts +352 -2
  302. package/src/api-schemas/project-configuration.ts +11 -7
  303. package/src/api-schemas/project.contract.test.ts +83 -6
  304. package/src/api-schemas/registry.ts +290 -457
  305. package/src/api-schemas/schema-primitives.ts +13 -0
  306. package/src/api-schemas/store.contract.test.ts +30 -1
  307. package/src/api-schemas/store.ts +58 -11
  308. package/src/api-schemas/tools.ts +62 -0
  309. package/src/api-schemas/view-execution.ts +28 -2
  310. package/src/api-schemas/views.contract.test.ts +119 -0
  311. package/src/api-schemas/views.ts +142 -3
  312. package/src/api-schemas/workflow-runs.ts +9 -7
  313. package/src/api-schemas/zeno-response-contracts.test.ts +344 -0
  314. package/src/apps.test.ts +2 -40
  315. package/src/apps.ts +14 -181
  316. package/src/ask-user.ts +1 -1
  317. package/src/audit-trail.ts +3 -3
  318. package/src/browser-credentials.ts +3 -7
  319. package/src/common.ts +13 -1
  320. package/src/content-query.ts +5 -0
  321. package/src/data-platform.ts +4 -51
  322. package/src/email.ts +24 -18
  323. package/src/environment.ts +1 -14
  324. package/src/facets.ts +0 -6
  325. package/src/group.ts +2 -12
  326. package/src/index.ts +3 -15
  327. package/src/integrations.ts +1 -52
  328. package/src/interaction.ts +12 -271
  329. package/src/meters.ts +10 -11
  330. package/src/oauth-scopes.test.ts +15 -0
  331. package/src/oauth-scopes.ts +10 -64
  332. package/src/oauth-server.ts +28 -215
  333. package/src/payload.ts +1 -6
  334. package/src/pending-asks.ts +17 -42
  335. package/src/platform-event.ts +3 -156
  336. package/src/project.ts +12 -160
  337. package/src/prompt.ts +9 -8
  338. package/src/query.ts +0 -9
  339. package/src/rate-limiter.ts +3 -3
  340. package/src/runs.ts +8 -0
  341. package/src/schema-for-extraction.ts +1 -1
  342. package/src/secrets.ts +3 -0
  343. package/src/skill.ts +0 -15
  344. package/src/store/activity-catalog.ts +3 -0
  345. package/src/store/agent-approval.ts +0 -4
  346. package/src/store/agent-run.ts +39 -93
  347. package/src/store/collections.ts +3 -6
  348. package/src/store/conversation-state.ts +12 -25
  349. package/src/store/doc-analyzer.ts +0 -26
  350. package/src/store/dsl-workflow.ts +28 -5
  351. package/src/store/grounded-extraction.ts +0 -18
  352. package/src/store/index.ts +0 -6
  353. package/src/store/intake-policy-schema.generated.ts +293 -1
  354. package/src/store/process.ts +84 -0
  355. package/src/store/rendering.ts +3 -8
  356. package/src/store/schedule.ts +0 -19
  357. package/src/store/signals.ts +14 -0
  358. package/src/store/store.ts +118 -127
  359. package/src/store/workflow.ts +32 -120
  360. package/src/sts-errors.ts +0 -2
  361. package/src/sts-token-types.ts +3 -28
  362. package/src/tools.ts +15 -0
  363. package/src/transient-tokens.ts +0 -2
  364. package/src/user.ts +0 -20
  365. package/src/utils/schemas.ts +2 -159
  366. package/src/views.ts +50 -47
  367. package/src/workflow-analytics.ts +12 -40
  368. package/tsconfig.dist.json +4 -1
  369. package/lib/Progress.d.ts +0 -22
  370. package/lib/Progress.d.ts.map +0 -1
  371. package/lib/Progress.js +0 -57
  372. package/lib/Progress.js.map +0 -1
  373. package/lib/agent-request-template.d.ts +0 -4
  374. package/lib/agent-request-template.d.ts.map +0 -1
  375. package/lib/agent-request-template.js +0 -46
  376. package/lib/agent-request-template.js.map +0 -1
  377. package/lib/channels.d.ts +0 -22
  378. package/lib/channels.d.ts.map +0 -1
  379. package/lib/channels.js +0 -57
  380. package/lib/channels.js.map +0 -1
  381. package/lib/host-utils.d.ts +0 -8
  382. package/lib/host-utils.d.ts.map +0 -1
  383. package/lib/host-utils.js +0 -84
  384. package/lib/host-utils.js.map +0 -1
  385. package/lib/platform-event-validation.d.ts +0 -45
  386. package/lib/platform-event-validation.d.ts.map +0 -1
  387. package/lib/platform-event-validation.js +0 -336
  388. package/lib/platform-event-validation.js.map +0 -1
  389. package/lib/store/hive-memory.d.ts +0 -117
  390. package/lib/store/hive-memory.d.ts.map +0 -1
  391. package/lib/store/hive-memory.js +0 -2
  392. package/lib/store/hive-memory.js.map +0 -1
  393. package/lib/store/object-types.d.ts +0 -24
  394. package/lib/store/object-types.d.ts.map +0 -1
  395. package/lib/store/object-types.js +0 -95
  396. package/lib/store/object-types.js.map +0 -1
  397. package/lib/store/process-schema.d.ts +0 -561
  398. package/lib/store/process-schema.d.ts.map +0 -1
  399. package/lib/store/process-schema.js +0 -561
  400. package/lib/store/process-schema.js.map +0 -1
  401. package/lib/store/process-validation.d.ts +0 -17
  402. package/lib/store/process-validation.d.ts.map +0 -1
  403. package/lib/store/process-validation.js +0 -515
  404. package/lib/store/process-validation.js.map +0 -1
  405. package/lib/store/temporalio.d.ts +0 -17
  406. package/lib/store/temporalio.d.ts.map +0 -1
  407. package/lib/store/temporalio.js +0 -41
  408. package/lib/store/temporalio.js.map +0 -1
  409. package/lib/view-configuration-validation.d.ts +0 -15
  410. package/lib/view-configuration-validation.d.ts.map +0 -1
  411. package/lib/view-configuration-validation.js +0 -63
  412. package/lib/view-configuration-validation.js.map +0 -1
  413. package/lib/view-query-validation.d.ts +0 -13
  414. package/lib/view-query-validation.d.ts.map +0 -1
  415. package/lib/view-query-validation.js +0 -266
  416. package/lib/view-query-validation.js.map +0 -1
  417. package/lib/view-validation-helpers.d.ts +0 -15
  418. package/lib/view-validation-helpers.d.ts.map +0 -1
  419. package/lib/view-validation-helpers.js +0 -25
  420. package/lib/view-validation-helpers.js.map +0 -1
  421. package/lib/views-schema.d.ts +0 -1992
  422. package/lib/views-schema.d.ts.map +0 -1
  423. package/lib/views-schema.js +0 -674
  424. package/lib/views-schema.js.map +0 -1
  425. package/lib/views-validation.d.ts +0 -21
  426. package/lib/views-validation.d.ts.map +0 -1
  427. package/lib/views-validation.js +0 -164
  428. package/lib/views-validation.js.map +0 -1
  429. package/src/Progress.ts +0 -59
  430. package/src/agent-request-template.test.ts +0 -40
  431. package/src/agent-request-template.ts +0 -45
  432. package/src/channels.ts +0 -70
  433. package/src/host-utils.test.ts +0 -61
  434. package/src/host-utils.ts +0 -93
  435. package/src/platform-event-validation.test.ts +0 -251
  436. package/src/platform-event-validation.ts +0 -372
  437. package/src/project.test.ts +0 -44
  438. package/src/store/hive-memory.ts +0 -167
  439. package/src/store/object-types.ts +0 -123
  440. package/src/store/process-schema.test.ts +0 -149
  441. package/src/store/process-schema.ts +0 -564
  442. package/src/store/process-validation.test.ts +0 -635
  443. package/src/store/process-validation.ts +0 -646
  444. package/src/store/temporalio.ts +0 -54
  445. package/src/view-configuration-validation.ts +0 -74
  446. package/src/view-query-validation.test.ts +0 -21
  447. package/src/view-query-validation.ts +0 -319
  448. package/src/view-validation-helpers.ts +0 -28
  449. package/src/views-schema.test.ts +0 -372
  450. package/src/views-schema.ts +0 -689
  451. package/src/views-validation.ts +0 -234
@@ -1,674 +0,0 @@
1
- import { ELASTICSEARCH_FIELD_PATH_PATTERN_SOURCE, VIEW_CONFIGURATION_ID_PATTERN_SOURCE, } from './view-validation-helpers.js';
2
- import { VIEW_RESULT_FIELD_FORMATS, VIEW_SEARCH_FIELD_TYPES } from './views.js';
3
- export const VIEW_EXPERIENCE_CONFIGURATION_JSON_SCHEMA_ID = 'https://schemas.vertesia.com/view-experience.v1.schema.json';
4
- export const PERSISTED_VIEW_EXPERIENCE_CONFIGURATION_JSON_SCHEMA_ID = 'https://schemas.vertesia.com/persisted-view-experience.v1.schema.json';
5
- /**
6
- * Canonical structural schema for reusable inline and app-contributed View configuration.
7
- *
8
- * Cross-reference rules such as unique navigation ids and valid default display
9
- * references are enforced by validateViewConfiguration().
10
- */
11
- export const ViewExperienceConfigurationJsonSchema = {
12
- $id: VIEW_EXPERIENCE_CONFIGURATION_JSON_SCHEMA_ID,
13
- type: 'object',
14
- title: 'View Experience',
15
- description: 'A reusable content navigation and search experience. Save it through /api/v1/views, then render it at /view/<id>.',
16
- properties: {
17
- name: {
18
- type: 'string',
19
- minLength: 1,
20
- maxLength: 120,
21
- description: 'Human-readable View name.',
22
- },
23
- description: {
24
- type: 'string',
25
- maxLength: 4000,
26
- description: 'Purpose and intended audience of this View.',
27
- },
28
- enabled: {
29
- type: 'boolean',
30
- description: 'Whether the View may be executed.',
31
- },
32
- layout: {
33
- $ref: '#/$defs/layout',
34
- },
35
- scope: {
36
- $ref: '#/$defs/scope',
37
- },
38
- navigation: {
39
- type: 'array',
40
- maxItems: 20,
41
- description: 'Ordered facets or hierarchies used to browse the scoped content.',
42
- items: {
43
- oneOf: [
44
- { $ref: '#/$defs/locationNavigation' },
45
- { $ref: '#/$defs/collectionNavigation' },
46
- { $ref: '#/$defs/termsNavigation' },
47
- { $ref: '#/$defs/hierarchyNavigation' },
48
- { $ref: '#/$defs/rangeNavigation' },
49
- ],
50
- },
51
- },
52
- search: {
53
- $ref: '#/$defs/search',
54
- },
55
- results: {
56
- $ref: '#/$defs/results',
57
- },
58
- },
59
- required: ['name'],
60
- additionalProperties: false,
61
- $defs: {
62
- configurationId: {
63
- type: 'string',
64
- minLength: 1,
65
- maxLength: 64,
66
- pattern: VIEW_CONFIGURATION_ID_PATTERN_SOURCE,
67
- description: 'Stable id starting with a letter and containing letters, numbers, underscores, or hyphens.',
68
- },
69
- fieldName: {
70
- type: 'string',
71
- minLength: 1,
72
- maxLength: 160,
73
- pattern: ELASTICSEARCH_FIELD_PATH_PATTERN_SOURCE,
74
- description: 'Dot-separated Elasticsearch field name.',
75
- },
76
- stringArray: {
77
- type: 'array',
78
- maxItems: 100,
79
- items: {
80
- type: 'string',
81
- minLength: 1,
82
- },
83
- },
84
- layout: {
85
- type: 'object',
86
- description: 'Overall browsing layout.',
87
- properties: {
88
- mode: {
89
- type: 'string',
90
- enum: ['browse', 'worklist'],
91
- description: 'Browse emphasizes discovery; worklist emphasizes case-style task handling.',
92
- },
93
- navigation_position: {
94
- type: 'string',
95
- enum: ['sidebar', 'top'],
96
- description: 'Where navigation widgets appear.',
97
- },
98
- },
99
- required: [],
100
- additionalProperties: false,
101
- },
102
- scope: {
103
- type: 'object',
104
- description: 'Hard boundary applied to every search and navigation query.',
105
- properties: {
106
- type_ids: {
107
- $ref: '#/$defs/stringArray',
108
- description: 'Content type ids included in the View.',
109
- },
110
- locations: {
111
- $ref: '#/$defs/stringArray',
112
- description: 'Absolute content location roots included in the View.',
113
- },
114
- collection_ids: {
115
- $ref: '#/$defs/stringArray',
116
- description: 'Collection ids included in the View.',
117
- },
118
- include_collection_descendants: {
119
- type: 'boolean',
120
- description: 'Include descendants of scoped collections.',
121
- },
122
- fixed_filter: {
123
- type: 'object',
124
- description: 'Elasticsearch query clause always applied by the runtime. Script-like and unsafe clauses are rejected.',
125
- required: [],
126
- additionalProperties: true,
127
- },
128
- head_only: {
129
- type: 'boolean',
130
- description: 'Return only current head revisions.',
131
- },
132
- },
133
- required: [],
134
- additionalProperties: false,
135
- },
136
- locationNavigation: {
137
- type: 'object',
138
- title: 'Location hierarchy',
139
- description: 'Browse the hierarchical content location path.',
140
- properties: {
141
- id: { $ref: '#/$defs/configurationId' },
142
- label: { type: 'string', minLength: 1, maxLength: 120 },
143
- source: { const: 'location' },
144
- presentation: { type: 'string', enum: ['tree', 'list', 'select', 'chips'] },
145
- multi_select: { type: 'boolean' },
146
- order: { type: 'integer' },
147
- renderer: { type: 'string', minLength: 1, maxLength: 120 },
148
- roots: {
149
- type: 'array',
150
- maxItems: 50,
151
- items: { type: 'string', pattern: '^/' },
152
- description: 'Absolute location roots shown by the hierarchy.',
153
- },
154
- depth: {
155
- type: 'integer',
156
- minimum: 1,
157
- maximum: 20,
158
- },
159
- },
160
- required: ['id', 'label', 'source'],
161
- additionalProperties: false,
162
- },
163
- collectionNavigation: {
164
- type: 'object',
165
- title: 'Collection hierarchy',
166
- description: 'Browse collection membership and optionally collection descendants.',
167
- properties: {
168
- id: { $ref: '#/$defs/configurationId' },
169
- label: { type: 'string', minLength: 1, maxLength: 120 },
170
- source: { const: 'collection' },
171
- presentation: { type: 'string', enum: ['tree', 'list', 'select', 'chips'] },
172
- multi_select: { type: 'boolean' },
173
- order: { type: 'integer' },
174
- renderer: { type: 'string', minLength: 1, maxLength: 120 },
175
- roots: {
176
- type: 'array',
177
- maxItems: 50,
178
- items: { type: 'string', minLength: 1 },
179
- },
180
- include_descendants: {
181
- type: 'boolean',
182
- },
183
- },
184
- required: ['id', 'label', 'source'],
185
- additionalProperties: false,
186
- },
187
- termsNavigation: {
188
- type: 'object',
189
- title: 'Property facet',
190
- description: 'Bucket a keyword-like property such as brand.',
191
- properties: {
192
- id: { $ref: '#/$defs/configurationId' },
193
- label: { type: 'string', minLength: 1, maxLength: 120 },
194
- source: { const: 'terms' },
195
- presentation: { type: 'string', enum: ['tree', 'list', 'select', 'chips'] },
196
- multi_select: { type: 'boolean' },
197
- order: { type: 'integer' },
198
- renderer: { type: 'string', minLength: 1, maxLength: 120 },
199
- field: { $ref: '#/$defs/fieldName' },
200
- size: {
201
- type: 'integer',
202
- minimum: 1,
203
- maximum: 500,
204
- },
205
- sort: {
206
- type: 'string',
207
- enum: ['count', 'label'],
208
- },
209
- },
210
- required: ['id', 'label', 'source', 'field'],
211
- additionalProperties: false,
212
- },
213
- hierarchyLevel: {
214
- type: 'object',
215
- title: 'Property hierarchy level',
216
- description: 'One mapped property in a drill-down hierarchy.',
217
- properties: {
218
- id: { $ref: '#/$defs/configurationId' },
219
- label: { type: 'string', minLength: 1, maxLength: 120 },
220
- field: { $ref: '#/$defs/fieldName' },
221
- size: {
222
- type: 'integer',
223
- minimum: 1,
224
- maximum: 500,
225
- },
226
- sort: {
227
- type: 'string',
228
- enum: ['count', 'label'],
229
- },
230
- },
231
- required: ['id', 'label', 'field'],
232
- additionalProperties: false,
233
- },
234
- hierarchyNavigation: {
235
- type: 'object',
236
- title: 'Property hierarchy',
237
- description: 'Drill down through mapped properties such as State, then City.',
238
- properties: {
239
- id: { $ref: '#/$defs/configurationId' },
240
- label: { type: 'string', minLength: 1, maxLength: 120 },
241
- source: { const: 'hierarchy' },
242
- presentation: { type: 'string', enum: ['tree', 'list', 'select', 'chips'] },
243
- multi_select: { const: false },
244
- order: { type: 'integer' },
245
- renderer: { type: 'string', minLength: 1, maxLength: 120 },
246
- levels: {
247
- type: 'array',
248
- minItems: 2,
249
- maxItems: 10,
250
- items: { $ref: '#/$defs/hierarchyLevel' },
251
- },
252
- },
253
- required: ['id', 'label', 'source', 'levels'],
254
- additionalProperties: false,
255
- },
256
- rangeDefinition: {
257
- type: 'object',
258
- properties: {
259
- id: { $ref: '#/$defs/configurationId' },
260
- label: { type: 'string', minLength: 1, maxLength: 120 },
261
- from: { type: 'number' },
262
- to: { type: 'number' },
263
- },
264
- required: ['id', 'label'],
265
- additionalProperties: false,
266
- anyOf: [{ required: ['from'] }, { required: ['to'] }],
267
- },
268
- rangeNavigation: {
269
- type: 'object',
270
- title: 'Numeric range facet',
271
- description: 'Bucket a numeric property such as project_size into authored ranges.',
272
- properties: {
273
- id: { $ref: '#/$defs/configurationId' },
274
- label: { type: 'string', minLength: 1, maxLength: 120 },
275
- source: { const: 'range' },
276
- presentation: { type: 'string', enum: ['tree', 'list', 'select', 'chips'] },
277
- multi_select: { type: 'boolean' },
278
- order: { type: 'integer' },
279
- renderer: { type: 'string', minLength: 1, maxLength: 120 },
280
- field: { $ref: '#/$defs/fieldName' },
281
- ranges: {
282
- type: 'array',
283
- minItems: 1,
284
- items: { $ref: '#/$defs/rangeDefinition' },
285
- },
286
- },
287
- required: ['id', 'label', 'source', 'field', 'ranges'],
288
- additionalProperties: false,
289
- },
290
- keyTerm: {
291
- type: 'object',
292
- description: 'A URL-serializable structured search input.',
293
- properties: {
294
- id: { $ref: '#/$defs/configurationId' },
295
- label: { type: 'string', minLength: 1, maxLength: 120 },
296
- field: { $ref: '#/$defs/fieldName' },
297
- type: {
298
- type: 'string',
299
- enum: [...VIEW_SEARCH_FIELD_TYPES],
300
- },
301
- multiple: { type: 'boolean' },
302
- operator: {
303
- type: 'string',
304
- enum: ['match', 'term', 'range'],
305
- },
306
- },
307
- required: ['id', 'label', 'type'],
308
- additionalProperties: false,
309
- },
310
- searchField: {
311
- type: 'object',
312
- description: 'A mapped Elasticsearch field available to query planning and deterministic full-text fallback.',
313
- properties: {
314
- field: { $ref: '#/$defs/fieldName' },
315
- description: {
316
- type: 'string',
317
- minLength: 1,
318
- maxLength: 500,
319
- description: 'Semantic meaning of the field for query planners.',
320
- },
321
- type: {
322
- type: 'string',
323
- enum: [...VIEW_SEARCH_FIELD_TYPES],
324
- description: 'Mapping hint used only when the active index does not expose the field type.',
325
- },
326
- mode: {
327
- type: 'string',
328
- enum: ['auto', 'full_text', 'exact'],
329
- description: 'Whether the field supports scoring text queries, structured exact queries, or mapping-derived behavior.',
330
- },
331
- boost: {
332
- type: 'number',
333
- minimum: 0.1,
334
- maximum: 20,
335
- description: 'Relative boost when the field participates in multi-field text search.',
336
- },
337
- },
338
- required: ['field'],
339
- additionalProperties: false,
340
- },
341
- interactionConfig: {
342
- type: 'object',
343
- description: 'One execution configuration for the agentic search model. Set environment and/or model to override project defaults.',
344
- properties: {
345
- id: { type: 'string' },
346
- environment: { type: 'string' },
347
- model: { type: 'string' },
348
- do_validate: { type: 'boolean' },
349
- run_data: { type: 'string' },
350
- configMode: { type: 'string' },
351
- model_options: {
352
- type: 'object',
353
- required: [],
354
- additionalProperties: true,
355
- },
356
- prompt_cache_key: { type: 'string' },
357
- prompt_cache_schema_suffix: { type: 'boolean' },
358
- http_timeout: {
359
- type: 'object',
360
- required: [],
361
- additionalProperties: true,
362
- },
363
- },
364
- required: [],
365
- additionalProperties: true,
366
- },
367
- agenticSearch: {
368
- type: 'object',
369
- description: 'Agentic query planning configuration. The default interaction is sys:ContentSearchAgent and it emits secured Elasticsearch DSL.',
370
- properties: {
371
- interaction: {
372
- type: 'string',
373
- maxLength: 200,
374
- description: 'Interaction id. Defaults to sys:ContentSearchAgent.',
375
- },
376
- config: { $ref: '#/$defs/interactionConfig' },
377
- instructions: {
378
- type: 'string',
379
- maxLength: 4000,
380
- description: 'Domain-specific guidance for translating natural language into Elasticsearch DSL.',
381
- },
382
- mode: {
383
- type: 'string',
384
- enum: ['query'],
385
- description: 'Generate and validate an Elasticsearch query before execution.',
386
- },
387
- timeout_ms: {
388
- type: 'integer',
389
- minimum: 1000,
390
- maximum: 60000,
391
- },
392
- minimum_confidence: {
393
- type: 'number',
394
- minimum: 0,
395
- maximum: 1,
396
- },
397
- },
398
- required: [],
399
- additionalProperties: false,
400
- },
401
- search: {
402
- type: 'object',
403
- description: 'Text and structured search configuration.',
404
- properties: {
405
- renderer: {
406
- type: 'string',
407
- maxLength: 120,
408
- description: 'Optional app-registered search renderer name.',
409
- },
410
- mode: {
411
- type: 'string',
412
- enum: ['deterministic', 'agentic'],
413
- },
414
- placeholder: {
415
- type: 'string',
416
- maxLength: 240,
417
- },
418
- fields: {
419
- type: 'array',
420
- maxItems: 50,
421
- items: { $ref: '#/$defs/searchField' },
422
- description: 'Fields disclosed to query planning. Text-capable entries also define deterministic fallback search.',
423
- },
424
- key_terms: {
425
- type: 'array',
426
- maxItems: 50,
427
- items: { $ref: '#/$defs/keyTerm' },
428
- },
429
- agentic: { $ref: '#/$defs/agenticSearch' },
430
- },
431
- required: [],
432
- additionalProperties: false,
433
- },
434
- resultField: {
435
- type: 'object',
436
- properties: {
437
- field: { $ref: '#/$defs/fieldName' },
438
- label: { type: 'string', maxLength: 120 },
439
- format: {
440
- type: 'string',
441
- enum: [...VIEW_RESULT_FIELD_FORMATS],
442
- },
443
- fallback: { type: 'string', maxLength: 240 },
444
- },
445
- required: ['field'],
446
- additionalProperties: false,
447
- },
448
- resultMedia: {
449
- type: 'object',
450
- properties: {
451
- source: {
452
- type: 'string',
453
- enum: ['content_thumbnail', 'property', 'type_icon'],
454
- },
455
- field: { $ref: '#/$defs/fieldName' },
456
- fit: {
457
- type: 'string',
458
- enum: ['cover', 'contain'],
459
- },
460
- fallback: {
461
- type: 'string',
462
- enum: ['type_icon', 'placeholder', 'none'],
463
- },
464
- },
465
- required: ['source'],
466
- additionalProperties: false,
467
- },
468
- resultFieldArray: {
469
- type: 'array',
470
- items: { $ref: '#/$defs/resultField' },
471
- },
472
- listDisplay: {
473
- type: 'object',
474
- properties: {
475
- id: { $ref: '#/$defs/configurationId' },
476
- label: { type: 'string', minLength: 1, maxLength: 120 },
477
- renderer: { type: 'string', minLength: 1, maxLength: 120 },
478
- page_size: { type: 'integer', minimum: 1, maximum: 200 },
479
- type: { const: 'list' },
480
- title: { $ref: '#/$defs/resultField' },
481
- subtitle: { $ref: '#/$defs/resultFieldArray' },
482
- description: { $ref: '#/$defs/resultField' },
483
- media: { $ref: '#/$defs/resultMedia' },
484
- badges: { $ref: '#/$defs/resultFieldArray' },
485
- },
486
- required: ['id', 'label', 'type', 'title'],
487
- additionalProperties: false,
488
- },
489
- tableColumn: {
490
- type: 'object',
491
- properties: {
492
- field: { $ref: '#/$defs/fieldName' },
493
- label: { type: 'string', maxLength: 120 },
494
- format: {
495
- type: 'string',
496
- enum: [...VIEW_RESULT_FIELD_FORMATS],
497
- },
498
- fallback: { type: 'string', maxLength: 240 },
499
- width: { type: 'integer', minimum: 40, maximum: 2000 },
500
- sortable: { type: 'boolean' },
501
- sort_option: { $ref: '#/$defs/configurationId' },
502
- },
503
- required: ['field'],
504
- additionalProperties: false,
505
- },
506
- tableDisplay: {
507
- type: 'object',
508
- properties: {
509
- id: { $ref: '#/$defs/configurationId' },
510
- label: { type: 'string', minLength: 1, maxLength: 120 },
511
- renderer: { type: 'string', minLength: 1, maxLength: 120 },
512
- page_size: { type: 'integer', minimum: 1, maximum: 200 },
513
- type: { const: 'table' },
514
- columns: {
515
- type: 'array',
516
- minItems: 1,
517
- items: { $ref: '#/$defs/tableColumn' },
518
- },
519
- },
520
- required: ['id', 'label', 'type', 'columns'],
521
- additionalProperties: false,
522
- },
523
- cardsDisplay: {
524
- type: 'object',
525
- properties: {
526
- id: { $ref: '#/$defs/configurationId' },
527
- label: { type: 'string', minLength: 1, maxLength: 120 },
528
- renderer: { type: 'string', minLength: 1, maxLength: 120 },
529
- page_size: { type: 'integer', minimum: 1, maximum: 200 },
530
- type: { const: 'cards' },
531
- title: { $ref: '#/$defs/resultField' },
532
- description: { $ref: '#/$defs/resultField' },
533
- media: { $ref: '#/$defs/resultMedia' },
534
- fields: { $ref: '#/$defs/resultFieldArray' },
535
- badges: { $ref: '#/$defs/resultFieldArray' },
536
- columns: { type: 'integer', enum: [2, 3, 4, 5, 6] },
537
- },
538
- required: ['id', 'label', 'type', 'title'],
539
- additionalProperties: false,
540
- },
541
- galleryDisplay: {
542
- type: 'object',
543
- properties: {
544
- id: { $ref: '#/$defs/configurationId' },
545
- label: { type: 'string', minLength: 1, maxLength: 120 },
546
- renderer: { type: 'string', minLength: 1, maxLength: 120 },
547
- page_size: { type: 'integer', minimum: 1, maximum: 200 },
548
- type: { const: 'gallery' },
549
- media: { $ref: '#/$defs/resultMedia' },
550
- title: { $ref: '#/$defs/resultField' },
551
- caption: { $ref: '#/$defs/resultFieldArray' },
552
- columns: { type: 'integer', enum: [2, 3, 4, 5, 6] },
553
- },
554
- required: ['id', 'label', 'type', 'media', 'title'],
555
- additionalProperties: false,
556
- },
557
- boardCard: {
558
- type: 'object',
559
- properties: {
560
- title: { $ref: '#/$defs/resultField' },
561
- description: { $ref: '#/$defs/resultField' },
562
- media: { $ref: '#/$defs/resultMedia' },
563
- fields: { $ref: '#/$defs/resultFieldArray' },
564
- badges: { $ref: '#/$defs/resultFieldArray' },
565
- },
566
- required: ['title'],
567
- additionalProperties: false,
568
- },
569
- boardColumn: {
570
- type: 'object',
571
- properties: {
572
- value: { type: 'string', minLength: 1 },
573
- label: { type: 'string', minLength: 1, maxLength: 120 },
574
- order: { type: 'integer' },
575
- },
576
- required: ['value', 'label'],
577
- additionalProperties: false,
578
- },
579
- boardDisplay: {
580
- type: 'object',
581
- properties: {
582
- id: { $ref: '#/$defs/configurationId' },
583
- label: { type: 'string', minLength: 1, maxLength: 120 },
584
- renderer: { type: 'string', minLength: 1, maxLength: 120 },
585
- page_size: { type: 'integer', minimum: 1, maximum: 200 },
586
- type: { const: 'board' },
587
- group_by: { $ref: '#/$defs/fieldName' },
588
- columns: {
589
- type: 'array',
590
- items: { $ref: '#/$defs/boardColumn' },
591
- },
592
- card: { $ref: '#/$defs/boardCard' },
593
- },
594
- required: ['id', 'label', 'type', 'group_by', 'card'],
595
- additionalProperties: false,
596
- },
597
- display: {
598
- oneOf: [
599
- { $ref: '#/$defs/listDisplay' },
600
- { $ref: '#/$defs/tableDisplay' },
601
- { $ref: '#/$defs/cardsDisplay' },
602
- { $ref: '#/$defs/galleryDisplay' },
603
- { $ref: '#/$defs/boardDisplay' },
604
- ],
605
- },
606
- sortClause: {
607
- type: 'object',
608
- properties: {
609
- field: { $ref: '#/$defs/fieldName' },
610
- order: {
611
- type: 'string',
612
- enum: ['asc', 'desc'],
613
- },
614
- },
615
- required: ['field', 'order'],
616
- additionalProperties: false,
617
- },
618
- sortOption: {
619
- type: 'object',
620
- properties: {
621
- id: { $ref: '#/$defs/configurationId' },
622
- label: { type: 'string', minLength: 1, maxLength: 120 },
623
- sort: {
624
- type: 'array',
625
- minItems: 1,
626
- items: { $ref: '#/$defs/sortClause' },
627
- },
628
- },
629
- required: ['id', 'label', 'sort'],
630
- additionalProperties: false,
631
- },
632
- results: {
633
- type: 'object',
634
- description: 'Built-in or app-rendered visual result layouts.',
635
- properties: {
636
- default_display: { $ref: '#/$defs/configurationId' },
637
- allow_display_switch: { type: 'boolean' },
638
- displays: {
639
- type: 'array',
640
- minItems: 1,
641
- maxItems: 10,
642
- items: { $ref: '#/$defs/display' },
643
- },
644
- default_sort: { $ref: '#/$defs/configurationId' },
645
- sort_options: {
646
- type: 'array',
647
- items: { $ref: '#/$defs/sortOption' },
648
- },
649
- },
650
- required: ['default_display', 'displays'],
651
- additionalProperties: false,
652
- },
653
- },
654
- };
655
- /**
656
- * Structural schema for project-scoped Views saved through the Views API.
657
- *
658
- * App-contributed and inline View definitions use the reusable base schema,
659
- * while persisted resources additionally document their purpose.
660
- */
661
- export const PersistedViewExperienceConfigurationJsonSchema = {
662
- ...ViewExperienceConfigurationJsonSchema,
663
- $id: PERSISTED_VIEW_EXPERIENCE_CONFIGURATION_JSON_SCHEMA_ID,
664
- title: 'Persisted View Experience',
665
- properties: {
666
- ...ViewExperienceConfigurationJsonSchema.properties,
667
- description: {
668
- ...ViewExperienceConfigurationJsonSchema.properties.description,
669
- minLength: 1,
670
- },
671
- },
672
- required: ['name', 'description'],
673
- };
674
- //# sourceMappingURL=views-schema.js.map