@elaraai/e3-ui 1.0.97 → 1.0.99

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 (491) hide show
  1. package/README.md +0 -2
  2. package/dist/src/allocation/adapters.d.ts +1 -1
  3. package/dist/src/allocation/adapters.js +1 -1
  4. package/dist/src/allocation/index.d.ts +232 -25
  5. package/dist/src/allocation/index.d.ts.map +1 -1
  6. package/dist/src/allocation/index.js +35 -6
  7. package/dist/src/allocation/index.js.map +1 -1
  8. package/dist/src/allocation/types.d.ts +41 -0
  9. package/dist/src/allocation/types.d.ts.map +1 -1
  10. package/dist/src/allocation/types.js +35 -0
  11. package/dist/src/allocation/types.js.map +1 -1
  12. package/dist/src/bind/data-indexed.d.ts +286 -37
  13. package/dist/src/bind/data-indexed.d.ts.map +1 -1
  14. package/dist/src/bind/data-indexed.js +259 -38
  15. package/dist/src/bind/data-indexed.js.map +1 -1
  16. package/dist/src/bind/data.d.ts +48 -9
  17. package/dist/src/bind/data.d.ts.map +1 -1
  18. package/dist/src/bind/data.js +48 -3
  19. package/dist/src/bind/data.js.map +1 -1
  20. package/dist/src/bind/record.d.ts +61 -24
  21. package/dist/src/bind/record.d.ts.map +1 -1
  22. package/dist/src/bind/record.js +17 -57
  23. package/dist/src/bind/record.js.map +1 -1
  24. package/dist/src/calendar/index.d.ts +522 -36
  25. package/dist/src/calendar/index.d.ts.map +1 -1
  26. package/dist/src/calendar/index.js +53 -13
  27. package/dist/src/calendar/index.js.map +1 -1
  28. package/dist/src/calendar/paged.d.ts +89 -0
  29. package/dist/src/calendar/paged.d.ts.map +1 -0
  30. package/dist/src/calendar/paged.js +148 -0
  31. package/dist/src/calendar/paged.js.map +1 -0
  32. package/dist/src/flowchart/index.d.ts +35 -31
  33. package/dist/src/flowchart/index.d.ts.map +1 -1
  34. package/dist/src/flowchart/index.js +35 -31
  35. package/dist/src/flowchart/index.js.map +1 -1
  36. package/dist/src/flowchart/library.d.ts +108 -84
  37. package/dist/src/flowchart/library.d.ts.map +1 -1
  38. package/dist/src/flowchart/library.js +108 -84
  39. package/dist/src/flowchart/library.js.map +1 -1
  40. package/dist/src/flowchart/payload.d.ts +105 -17
  41. package/dist/src/flowchart/payload.d.ts.map +1 -1
  42. package/dist/src/flowchart/payload.js +3 -3
  43. package/dist/src/flowchart/payload.js.map +1 -1
  44. package/dist/src/flowchart/values.d.ts +35 -31
  45. package/dist/src/flowchart/values.d.ts.map +1 -1
  46. package/dist/src/flowchart/values.js +35 -31
  47. package/dist/src/flowchart/values.js.map +1 -1
  48. package/dist/src/flowchart/window.d.ts.map +1 -1
  49. package/dist/src/flowchart/window.js +3 -2
  50. package/dist/src/flowchart/window.js.map +1 -1
  51. package/dist/src/index.d.ts +13 -4
  52. package/dist/src/index.d.ts.map +1 -1
  53. package/dist/src/index.js +20 -1
  54. package/dist/src/index.js.map +1 -1
  55. package/dist/src/internal.d.ts +18 -8
  56. package/dist/src/internal.d.ts.map +1 -1
  57. package/dist/src/internal.js +40 -10
  58. package/dist/src/internal.js.map +1 -1
  59. package/dist/src/plan/assemble.d.ts +8 -0
  60. package/dist/src/plan/assemble.d.ts.map +1 -1
  61. package/dist/src/plan/assemble.js +1 -1
  62. package/dist/src/plan/assemble.js.map +1 -1
  63. package/dist/src/plan/builders.d.ts +1530 -10
  64. package/dist/src/plan/builders.d.ts.map +1 -1
  65. package/dist/src/plan/builders.js +260 -122
  66. package/dist/src/plan/builders.js.map +1 -1
  67. package/dist/src/plan/event-rows.d.ts +224 -157
  68. package/dist/src/plan/event-rows.d.ts.map +1 -1
  69. package/dist/src/plan/event-rows.js +201 -56
  70. package/dist/src/plan/event-rows.js.map +1 -1
  71. package/dist/src/plan/factories.d.ts +72 -4
  72. package/dist/src/plan/factories.d.ts.map +1 -1
  73. package/dist/src/plan/factories.js +147 -1
  74. package/dist/src/plan/factories.js.map +1 -1
  75. package/dist/src/plan/index.d.ts +152 -125
  76. package/dist/src/plan/index.d.ts.map +1 -1
  77. package/dist/src/plan/index.js +138 -122
  78. package/dist/src/plan/index.js.map +1 -1
  79. package/dist/src/plan/ir.d.ts +1139 -8
  80. package/dist/src/plan/ir.d.ts.map +1 -1
  81. package/dist/src/plan/ir.js +5 -0
  82. package/dist/src/plan/ir.js.map +1 -1
  83. package/dist/src/plan/library.d.ts +65 -42
  84. package/dist/src/plan/library.d.ts.map +1 -1
  85. package/dist/src/plan/library.js +65 -42
  86. package/dist/src/plan/library.js.map +1 -1
  87. package/dist/src/plan/nested-checks.d.ts +146 -0
  88. package/dist/src/plan/nested-checks.d.ts.map +1 -0
  89. package/dist/src/plan/nested-checks.js +468 -0
  90. package/dist/src/plan/nested-checks.js.map +1 -0
  91. package/dist/src/plan/nested-patch.d.ts +35 -0
  92. package/dist/src/plan/nested-patch.d.ts.map +1 -0
  93. package/dist/src/plan/nested-patch.js +143 -0
  94. package/dist/src/plan/nested-patch.js.map +1 -0
  95. package/dist/src/plan/nested-read.d.ts +3250 -0
  96. package/dist/src/plan/nested-read.d.ts.map +1 -0
  97. package/dist/src/plan/nested-read.js +163 -0
  98. package/dist/src/plan/nested-read.js.map +1 -0
  99. package/dist/src/plan/nested.d.ts +280 -0
  100. package/dist/src/plan/nested.d.ts.map +1 -0
  101. package/dist/src/plan/nested.js +6 -0
  102. package/dist/src/plan/nested.js.map +1 -0
  103. package/dist/src/plan/ordered-source.d.ts +3067 -1
  104. package/dist/src/plan/ordered-source.d.ts.map +1 -1
  105. package/dist/src/plan/ordered-source.js +67 -17
  106. package/dist/src/plan/ordered-source.js.map +1 -1
  107. package/dist/src/plan/over.d.ts +111 -75
  108. package/dist/src/plan/over.d.ts.map +1 -1
  109. package/dist/src/plan/over.js +111 -75
  110. package/dist/src/plan/over.js.map +1 -1
  111. package/dist/src/plan/pick.d.ts +15 -3
  112. package/dist/src/plan/pick.d.ts.map +1 -1
  113. package/dist/src/plan/pick.js +75 -36
  114. package/dist/src/plan/pick.js.map +1 -1
  115. package/dist/src/plan/plan.d.ts +3143 -501
  116. package/dist/src/plan/plan.d.ts.map +1 -1
  117. package/dist/src/plan/plan.js +133 -34
  118. package/dist/src/plan/plan.js.map +1 -1
  119. package/dist/src/plan/reads.d.ts +421 -0
  120. package/dist/src/plan/reads.d.ts.map +1 -0
  121. package/dist/src/plan/reads.js +143 -0
  122. package/dist/src/plan/reads.js.map +1 -0
  123. package/dist/src/plan/refs.d.ts +111 -75
  124. package/dist/src/plan/refs.d.ts.map +1 -1
  125. package/dist/src/plan/refs.js +111 -75
  126. package/dist/src/plan/refs.js.map +1 -1
  127. package/dist/src/plan/root.d.ts +14 -7
  128. package/dist/src/plan/root.d.ts.map +1 -1
  129. package/dist/src/plan/root.js +82 -17
  130. package/dist/src/plan/root.js.map +1 -1
  131. package/dist/src/plan/series.d.ts +5153 -4331
  132. package/dist/src/plan/series.d.ts.map +1 -1
  133. package/dist/src/plan/series.js +1082 -266
  134. package/dist/src/plan/series.js.map +1 -1
  135. package/dist/src/plan/shade.d.ts +981 -0
  136. package/dist/src/plan/shade.d.ts.map +1 -0
  137. package/dist/src/plan/shade.js +60 -0
  138. package/dist/src/plan/shade.js.map +1 -0
  139. package/dist/src/plan/types.d.ts +192 -18
  140. package/dist/src/plan/types.d.ts.map +1 -1
  141. package/dist/src/plan/types.js +77 -19
  142. package/dist/src/plan/types.js.map +1 -1
  143. package/dist/src/query/builder.d.ts +3 -3
  144. package/dist/src/query/builder.d.ts.map +1 -1
  145. package/dist/src/query/builder.js +1 -1
  146. package/dist/src/query/library.d.ts +3 -3
  147. package/dist/src/query/library.d.ts.map +1 -1
  148. package/dist/src/query/library.js +1 -1
  149. package/dist/src/query/queries.d.ts +2 -2
  150. package/dist/src/query/queries.js +1 -1
  151. package/dist/src/query/saved.d.ts +8 -4
  152. package/dist/src/query/saved.d.ts.map +1 -1
  153. package/dist/src/query/saved.js +8 -4
  154. package/dist/src/query/saved.js.map +1 -1
  155. package/dist/src/query/types.d.ts +8 -3
  156. package/dist/src/query/types.d.ts.map +1 -1
  157. package/dist/src/query/types.js +8 -3
  158. package/dist/src/query/types.js.map +1 -1
  159. package/dist/src/roster/index.d.ts +583 -39
  160. package/dist/src/roster/index.d.ts.map +1 -1
  161. package/dist/src/roster/index.js +109 -35
  162. package/dist/src/roster/index.js.map +1 -1
  163. package/dist/src/roster/library.d.ts +12 -2
  164. package/dist/src/roster/library.d.ts.map +1 -1
  165. package/dist/src/roster/library.js +8 -0
  166. package/dist/src/roster/library.js.map +1 -1
  167. package/dist/src/roster/lists.d.ts +59 -12
  168. package/dist/src/roster/lists.d.ts.map +1 -1
  169. package/dist/src/roster/lists.js +51 -58
  170. package/dist/src/roster/lists.js.map +1 -1
  171. package/dist/src/roster/targets.d.ts +8 -4
  172. package/dist/src/roster/targets.d.ts.map +1 -1
  173. package/dist/src/roster/targets.js +9 -5
  174. package/dist/src/roster/targets.js.map +1 -1
  175. package/dist/src/roster/times.d.ts +402 -0
  176. package/dist/src/roster/times.d.ts.map +1 -1
  177. package/dist/src/roster/types.d.ts +913 -1
  178. package/dist/src/roster/types.d.ts.map +1 -1
  179. package/dist/src/roster/types.js +43 -3
  180. package/dist/src/roster/types.js.map +1 -1
  181. package/dist/src/schedule/cell-checks.d.ts +85 -0
  182. package/dist/src/schedule/cell-checks.d.ts.map +1 -0
  183. package/dist/src/schedule/cell-checks.js +211 -0
  184. package/dist/src/schedule/cell-checks.js.map +1 -0
  185. package/dist/src/schedule/days.d.ts +1 -1
  186. package/dist/src/schedule/days.js +1 -1
  187. package/dist/src/schedule/events.d.ts +52 -16
  188. package/dist/src/schedule/events.d.ts.map +1 -1
  189. package/dist/src/schedule/events.js +574 -356
  190. package/dist/src/schedule/events.js.map +1 -1
  191. package/dist/src/schedule/fields.d.ts +134 -0
  192. package/dist/src/schedule/fields.d.ts.map +1 -0
  193. package/dist/src/schedule/fields.js +207 -0
  194. package/dist/src/schedule/fields.js.map +1 -0
  195. package/dist/src/schedule/library.d.ts +11 -3
  196. package/dist/src/schedule/library.d.ts.map +1 -1
  197. package/dist/src/schedule/library.js +9 -6
  198. package/dist/src/schedule/library.js.map +1 -1
  199. package/dist/src/schedule/optimise.d.ts +124 -0
  200. package/dist/src/schedule/optimise.d.ts.map +1 -0
  201. package/dist/src/schedule/optimise.js +140 -0
  202. package/dist/src/schedule/optimise.js.map +1 -0
  203. package/dist/src/schedule/pages.d.ts +76 -0
  204. package/dist/src/schedule/pages.d.ts.map +1 -0
  205. package/dist/src/schedule/pages.js +86 -0
  206. package/dist/src/schedule/pages.js.map +1 -0
  207. package/dist/src/schedule/patch.d.ts +1 -1
  208. package/dist/src/schedule/patch.js +1 -1
  209. package/dist/src/schedule/periods.d.ts +8 -4
  210. package/dist/src/schedule/periods.d.ts.map +1 -1
  211. package/dist/src/schedule/periods.js +1 -1
  212. package/dist/src/schedule/periods.js.map +1 -1
  213. package/dist/src/schedule/record-window.d.ts +115 -22
  214. package/dist/src/schedule/record-window.d.ts.map +1 -1
  215. package/dist/src/schedule/record-window.js +140 -62
  216. package/dist/src/schedule/record-window.js.map +1 -1
  217. package/dist/src/schedule/resources.d.ts +9 -5
  218. package/dist/src/schedule/resources.d.ts.map +1 -1
  219. package/dist/src/schedule/resources.js +35 -15
  220. package/dist/src/schedule/resources.js.map +1 -1
  221. package/dist/src/schedule/session.d.ts +15 -1
  222. package/dist/src/schedule/session.d.ts.map +1 -1
  223. package/dist/src/schedule/session.js +30 -18
  224. package/dist/src/schedule/session.js.map +1 -1
  225. package/dist/src/schedule/types.d.ts +455 -37
  226. package/dist/src/schedule/types.d.ts.map +1 -1
  227. package/dist/src/schedule/types.js +79 -18
  228. package/dist/src/schedule/types.js.map +1 -1
  229. package/dist/src/schedule/window.d.ts +30 -9
  230. package/dist/src/schedule/window.d.ts.map +1 -1
  231. package/dist/src/schedule/window.js +101 -49
  232. package/dist/src/schedule/window.js.map +1 -1
  233. package/dist/src/schematic/index.d.ts +287 -0
  234. package/dist/src/schematic/index.d.ts.map +1 -0
  235. package/dist/src/schematic/index.js +216 -0
  236. package/dist/src/schematic/index.js.map +1 -0
  237. package/dist/src/schematic/kinds.d.ts +501 -0
  238. package/dist/src/schematic/kinds.d.ts.map +1 -0
  239. package/dist/src/schematic/kinds.js +1027 -0
  240. package/dist/src/schematic/kinds.js.map +1 -0
  241. package/dist/src/schematic/layers.d.ts +74 -0
  242. package/dist/src/schematic/layers.d.ts.map +1 -0
  243. package/dist/src/schematic/layers.js +99 -0
  244. package/dist/src/schematic/layers.js.map +1 -0
  245. package/dist/src/schematic/library.d.ts +202 -0
  246. package/dist/src/schematic/library.d.ts.map +1 -0
  247. package/dist/src/schematic/library.js +244 -0
  248. package/dist/src/schematic/library.js.map +1 -0
  249. package/dist/src/schematic/payload.d.ts +8310 -0
  250. package/dist/src/schematic/payload.d.ts.map +1 -0
  251. package/dist/src/schematic/payload.js +446 -0
  252. package/dist/src/schematic/payload.js.map +1 -0
  253. package/dist/src/schematic/schematic.d.ts +27 -0
  254. package/dist/src/schematic/schematic.d.ts.map +1 -0
  255. package/dist/src/schematic/schematic.js +17 -0
  256. package/dist/src/schematic/schematic.js.map +1 -0
  257. package/dist/src/schematic/shapes.d.ts +150 -0
  258. package/dist/src/schematic/shapes.d.ts.map +1 -0
  259. package/dist/src/schematic/shapes.js +171 -0
  260. package/dist/src/schematic/shapes.js.map +1 -0
  261. package/dist/src/schematic/templates.d.ts +96 -0
  262. package/dist/src/schematic/templates.d.ts.map +1 -0
  263. package/dist/src/schematic/templates.js +91 -0
  264. package/dist/src/schematic/templates.js.map +1 -0
  265. package/dist/src/schematic/types.d.ts +5766 -0
  266. package/dist/src/schematic/types.d.ts.map +1 -0
  267. package/dist/src/schematic/types.js +688 -0
  268. package/dist/src/schematic/types.js.map +1 -0
  269. package/dist/src/schematic/window.d.ts +213 -0
  270. package/dist/src/schematic/window.d.ts.map +1 -0
  271. package/dist/src/schematic/window.js +340 -0
  272. package/dist/src/schematic/window.js.map +1 -0
  273. package/dist/src/sheet/bridge.d.ts +19 -0
  274. package/dist/src/sheet/bridge.d.ts.map +1 -1
  275. package/dist/src/sheet/bridge.js +28 -21
  276. package/dist/src/sheet/bridge.js.map +1 -1
  277. package/dist/src/sheet/editing-bridge.d.ts +4 -2
  278. package/dist/src/sheet/editing-bridge.d.ts.map +1 -1
  279. package/dist/src/sheet/editing-bridge.js +8 -2
  280. package/dist/src/sheet/editing-bridge.js.map +1 -1
  281. package/dist/src/sheet/editing-types.d.ts +9 -5
  282. package/dist/src/sheet/editing-types.d.ts.map +1 -1
  283. package/dist/src/sheet/editing-types.js +9 -5
  284. package/dist/src/sheet/editing-types.js.map +1 -1
  285. package/dist/src/sheet/index.d.ts +84 -54
  286. package/dist/src/sheet/index.d.ts.map +1 -1
  287. package/dist/src/sheet/index.js +81 -53
  288. package/dist/src/sheet/index.js.map +1 -1
  289. package/dist/src/sheet/library.d.ts +13 -8
  290. package/dist/src/sheet/library.d.ts.map +1 -1
  291. package/dist/src/sheet/library.js +13 -8
  292. package/dist/src/sheet/library.js.map +1 -1
  293. package/dist/src/sheet/optimise.d.ts +69 -0
  294. package/dist/src/sheet/optimise.d.ts.map +1 -0
  295. package/dist/src/sheet/optimise.js +81 -0
  296. package/dist/src/sheet/optimise.js.map +1 -0
  297. package/dist/src/sheet/record.d.ts +1 -1
  298. package/dist/src/sheet/record.js +2 -2
  299. package/dist/src/sheet/record.js.map +1 -1
  300. package/dist/src/sheet/registers.d.ts +157 -133
  301. package/dist/src/sheet/registers.d.ts.map +1 -1
  302. package/dist/src/sheet/registers.js +157 -133
  303. package/dist/src/sheet/registers.js.map +1 -1
  304. package/dist/src/sheet/root.d.ts +6 -1
  305. package/dist/src/sheet/root.d.ts.map +1 -1
  306. package/dist/src/sheet/root.js +17 -5
  307. package/dist/src/sheet/root.js.map +1 -1
  308. package/dist/src/sheet/sheet.d.ts +696 -590
  309. package/dist/src/sheet/sheet.d.ts.map +1 -1
  310. package/dist/src/sheet/sheet.js +49 -15
  311. package/dist/src/sheet/sheet.js.map +1 -1
  312. package/dist/src/sheet/sub-rows.d.ts +106 -76
  313. package/dist/src/sheet/sub-rows.d.ts.map +1 -1
  314. package/dist/src/sheet/sub-rows.js +106 -76
  315. package/dist/src/sheet/sub-rows.js.map +1 -1
  316. package/dist/src/sheet/types.d.ts +57 -20
  317. package/dist/src/sheet/types.d.ts.map +1 -1
  318. package/dist/src/sheet/types.js +4 -8
  319. package/dist/src/sheet/types.js.map +1 -1
  320. package/dist/src/studio/builder.d.ts +3 -153
  321. package/dist/src/studio/builder.d.ts.map +1 -1
  322. package/dist/src/studio/builder.js +1 -1
  323. package/dist/src/studio/canvas.d.ts +5 -4
  324. package/dist/src/studio/canvas.d.ts.map +1 -1
  325. package/dist/src/studio/canvas.js +8 -7
  326. package/dist/src/studio/canvas.js.map +1 -1
  327. package/dist/src/studio/component.d.ts +30 -20
  328. package/dist/src/studio/component.d.ts.map +1 -1
  329. package/dist/src/studio/component.js +26 -61
  330. package/dist/src/studio/component.js.map +1 -1
  331. package/dist/src/studio/index.d.ts +2 -2
  332. package/dist/src/studio/index.d.ts.map +1 -1
  333. package/dist/src/studio/index.js +1 -1
  334. package/dist/src/studio/index.js.map +1 -1
  335. package/dist/src/studio/inspector.d.ts +10 -39
  336. package/dist/src/studio/inspector.d.ts.map +1 -1
  337. package/dist/src/studio/inspector.js +11 -31
  338. package/dist/src/studio/inspector.js.map +1 -1
  339. package/dist/src/studio/library.d.ts +3 -169
  340. package/dist/src/studio/library.d.ts.map +1 -1
  341. package/dist/src/studio/library.js +1 -1
  342. package/dist/src/studio/page.d.ts +0 -8
  343. package/dist/src/studio/page.d.ts.map +1 -1
  344. package/dist/src/studio/pages.d.ts +17 -591
  345. package/dist/src/studio/pages.d.ts.map +1 -1
  346. package/dist/src/studio/pages.js +17 -44
  347. package/dist/src/studio/pages.js.map +1 -1
  348. package/dist/src/studio/palette.d.ts +2 -7
  349. package/dist/src/studio/palette.d.ts.map +1 -1
  350. package/dist/src/studio/palette.js +4 -5
  351. package/dist/src/studio/palette.js.map +1 -1
  352. package/dist/src/studio/publish.d.ts +8 -18
  353. package/dist/src/studio/publish.d.ts.map +1 -1
  354. package/dist/src/studio/publish.js +10 -36
  355. package/dist/src/studio/publish.js.map +1 -1
  356. package/dist/src/utils/derive.d.ts +12 -12
  357. package/dist/src/utils/derive.d.ts.map +1 -1
  358. package/dist/src/utils/derive.js +5 -2
  359. package/dist/src/utils/derive.js.map +1 -1
  360. package/dist/src/utils/keyed-rows.d.ts +41 -0
  361. package/dist/src/utils/keyed-rows.d.ts.map +1 -0
  362. package/dist/src/utils/keyed-rows.js +64 -0
  363. package/dist/src/utils/keyed-rows.js.map +1 -0
  364. package/dist/src/utils/optimise.d.ts +79 -0
  365. package/dist/src/utils/optimise.d.ts.map +1 -0
  366. package/dist/src/utils/optimise.js +46 -0
  367. package/dist/src/utils/optimise.js.map +1 -0
  368. package/dist/src/utils/ordered-source.d.ts.map +1 -1
  369. package/dist/src/utils/ordered-source.js +14 -5
  370. package/dist/src/utils/ordered-source.js.map +1 -1
  371. package/dist/test/allocation/allocation.examples.d.ts +1900 -1610
  372. package/dist/test/allocation/allocation.examples.d.ts.map +1 -1
  373. package/dist/test/allocation/allocation.examples.js +179 -89
  374. package/dist/test/allocation/allocation.examples.js.map +1 -1
  375. package/dist/test/allocation/optimise.examples.d.ts +109 -0
  376. package/dist/test/allocation/optimise.examples.d.ts.map +1 -0
  377. package/dist/test/allocation/optimise.examples.js +223 -0
  378. package/dist/test/allocation/optimise.examples.js.map +1 -0
  379. package/dist/test/bind/data/data.examples.d.ts +1172 -514
  380. package/dist/test/bind/data/data.examples.d.ts.map +1 -1
  381. package/dist/test/bind/data/data.examples.js +284 -164
  382. package/dist/test/bind/data/data.examples.js.map +1 -1
  383. package/dist/test/bind/record/record.examples.d.ts +457 -428
  384. package/dist/test/bind/record/record.examples.d.ts.map +1 -1
  385. package/dist/test/bind/record/record.examples.js +41 -21
  386. package/dist/test/bind/record/record.examples.js.map +1 -1
  387. package/dist/test/calendar/calendar-records.examples.d.ts +162 -170
  388. package/dist/test/calendar/calendar-records.examples.d.ts.map +1 -1
  389. package/dist/test/calendar/calendar-records.examples.js +20 -12
  390. package/dist/test/calendar/calendar-records.examples.js.map +1 -1
  391. package/dist/test/calendar/calendar-windows.examples.d.ts +9 -0
  392. package/dist/test/calendar/calendar-windows.examples.d.ts.map +1 -0
  393. package/dist/test/calendar/calendar-windows.examples.js +111 -0
  394. package/dist/test/calendar/calendar-windows.examples.js.map +1 -0
  395. package/dist/test/calendar/calendar.examples.d.ts +1172 -915
  396. package/dist/test/calendar/calendar.examples.d.ts.map +1 -1
  397. package/dist/test/calendar/calendar.examples.js +211 -124
  398. package/dist/test/calendar/calendar.examples.js.map +1 -1
  399. package/dist/test/calendar/optimise.examples.d.ts +132 -0
  400. package/dist/test/calendar/optimise.examples.d.ts.map +1 -0
  401. package/dist/test/calendar/optimise.examples.js +75 -0
  402. package/dist/test/calendar/optimise.examples.js.map +1 -0
  403. package/dist/test/examples-package.d.ts +49 -16
  404. package/dist/test/examples-package.d.ts.map +1 -1
  405. package/dist/test/examples-package.js +138 -49
  406. package/dist/test/examples-package.js.map +1 -1
  407. package/dist/test/flowchart/flowchart.examples.d.ts +3841 -2840
  408. package/dist/test/flowchart/flowchart.examples.d.ts.map +1 -1
  409. package/dist/test/flowchart/flowchart.examples.js +211 -121
  410. package/dist/test/flowchart/flowchart.examples.js.map +1 -1
  411. package/dist/test/plan/optimise.examples.d.ts +207 -0
  412. package/dist/test/plan/optimise.examples.d.ts.map +1 -0
  413. package/dist/test/plan/optimise.examples.js +98 -0
  414. package/dist/test/plan/optimise.examples.js.map +1 -0
  415. package/dist/test/plan/plan-events.examples.d.ts +4055 -3279
  416. package/dist/test/plan/plan-events.examples.d.ts.map +1 -1
  417. package/dist/test/plan/plan-events.examples.js +492 -319
  418. package/dist/test/plan/plan-events.examples.js.map +1 -1
  419. package/dist/test/plan/plan-nested.examples.d.ts +1829 -0
  420. package/dist/test/plan/plan-nested.examples.d.ts.map +1 -0
  421. package/dist/test/plan/plan-nested.examples.js +321 -0
  422. package/dist/test/plan/plan-nested.examples.js.map +1 -0
  423. package/dist/test/plan/plan-records.examples.d.ts +391 -244
  424. package/dist/test/plan/plan-records.examples.d.ts.map +1 -1
  425. package/dist/test/plan/plan-records.examples.js +186 -65
  426. package/dist/test/plan/plan-records.examples.js.map +1 -1
  427. package/dist/test/plan/plan-windows.examples.d.ts +1978 -803
  428. package/dist/test/plan/plan-windows.examples.d.ts.map +1 -1
  429. package/dist/test/plan/plan-windows.examples.js +269 -99
  430. package/dist/test/plan/plan-windows.examples.js.map +1 -1
  431. package/dist/test/plan/plan.examples.d.ts +2238 -5726
  432. package/dist/test/plan/plan.examples.d.ts.map +1 -1
  433. package/dist/test/plan/plan.examples.js +846 -973
  434. package/dist/test/plan/plan.examples.js.map +1 -1
  435. package/dist/test/query/query.examples.d.ts +5221 -3005
  436. package/dist/test/query/query.examples.d.ts.map +1 -1
  437. package/dist/test/query/query.examples.js +169 -118
  438. package/dist/test/query/query.examples.js.map +1 -1
  439. package/dist/test/roster/domain.examples.d.ts +804 -0
  440. package/dist/test/roster/domain.examples.d.ts.map +1 -1
  441. package/dist/test/roster/domain.examples.js +3 -3
  442. package/dist/test/roster/domain.examples.js.map +1 -1
  443. package/dist/test/roster/optimise.examples.d.ts +485 -0
  444. package/dist/test/roster/optimise.examples.d.ts.map +1 -0
  445. package/dist/test/roster/optimise.examples.js +155 -0
  446. package/dist/test/roster/optimise.examples.js.map +1 -0
  447. package/dist/test/roster/roster-records.examples.d.ts +364 -404
  448. package/dist/test/roster/roster-records.examples.d.ts.map +1 -1
  449. package/dist/test/roster/roster-records.examples.js +40 -26
  450. package/dist/test/roster/roster-records.examples.js.map +1 -1
  451. package/dist/test/roster/roster.examples.d.ts +5091 -1424
  452. package/dist/test/roster/roster.examples.d.ts.map +1 -1
  453. package/dist/test/roster/roster.examples.js +255 -109
  454. package/dist/test/roster/roster.examples.js.map +1 -1
  455. package/dist/test/roster/warehouse.d.ts +150 -7
  456. package/dist/test/roster/warehouse.d.ts.map +1 -1
  457. package/dist/test/roster/warehouse.js +36 -11
  458. package/dist/test/roster/warehouse.js.map +1 -1
  459. package/dist/test/schedule/schedule.examples.d.ts +2646 -2473
  460. package/dist/test/schedule/schedule.examples.d.ts.map +1 -1
  461. package/dist/test/schedule/schedule.examples.js +144 -88
  462. package/dist/test/schedule/schedule.examples.js.map +1 -1
  463. package/dist/test/schematic/schematic-records.examples.d.ts +454 -0
  464. package/dist/test/schematic/schematic-records.examples.d.ts.map +1 -0
  465. package/dist/test/schematic/schematic-records.examples.js +219 -0
  466. package/dist/test/schematic/schematic-records.examples.js.map +1 -0
  467. package/dist/test/schematic/schematic.examples.d.ts +2640 -0
  468. package/dist/test/schematic/schematic.examples.d.ts.map +1 -0
  469. package/dist/test/schematic/schematic.examples.js +559 -0
  470. package/dist/test/schematic/schematic.examples.js.map +1 -0
  471. package/dist/test/sheet/optimise.examples.d.ts +184 -0
  472. package/dist/test/sheet/optimise.examples.d.ts.map +1 -0
  473. package/dist/test/sheet/optimise.examples.js +79 -0
  474. package/dist/test/sheet/optimise.examples.js.map +1 -0
  475. package/dist/test/sheet/sheet-records.examples.d.ts +208 -356
  476. package/dist/test/sheet/sheet-records.examples.d.ts.map +1 -1
  477. package/dist/test/sheet/sheet-records.examples.js +66 -29
  478. package/dist/test/sheet/sheet-records.examples.js.map +1 -1
  479. package/dist/test/sheet/sheet.examples.d.ts +3650 -3377
  480. package/dist/test/sheet/sheet.examples.d.ts.map +1 -1
  481. package/dist/test/sheet/sheet.examples.js +406 -296
  482. package/dist/test/sheet/sheet.examples.js.map +1 -1
  483. package/dist/test/studio/component.examples.js +2 -2
  484. package/dist/test/studio/component.examples.js.map +1 -1
  485. package/dist/test/studio/page.examples.js +6 -6
  486. package/dist/test/studio/page.examples.js.map +1 -1
  487. package/dist/test/studio/studio.examples.d.ts +2329 -873
  488. package/dist/test/studio/studio.examples.d.ts.map +1 -1
  489. package/dist/test/studio/studio.examples.js +155 -107
  490. package/dist/test/studio/studio.examples.js.map +1 -1
  491. package/package.json +15 -11
@@ -105,11 +105,80 @@ export declare const CalendarShiftTemplate: StructType<{
105
105
  export declare const calendarMachines: import("@elaraai/e3").RecordDef<DictType<StringType, StructType<{
106
106
  readonly name: StringType;
107
107
  readonly area: StringType;
108
- }>>, [variant<"field", "records">, variant<"field", "calendar_machines">]>;
108
+ }>>, [variant<"field", "records">, variant<"field", "calendar_machines">], import("@elaraai/e3").IndexesOf<{
109
+ calendar_machines_by_area: import("@elaraai/e3").IndexDraft<StringType, NullType, readonly ["area"], unknown>;
110
+ }, DictType<StringType, StructType<{
111
+ readonly name: StringType;
112
+ readonly area: StringType;
113
+ }>>>, import("@elaraai/e3").MutationsOf<{
114
+ patch: import("@elaraai/e3").MutationDraft<[VariantType<{
115
+ unchanged: NullType;
116
+ replace: StructType<{
117
+ before: DictType<StringType, StructType<{
118
+ readonly name: StringType;
119
+ readonly area: StringType;
120
+ }>>;
121
+ after: DictType<StringType, StructType<{
122
+ readonly name: StringType;
123
+ readonly area: StringType;
124
+ }>>;
125
+ }>;
126
+ patch: DictType<StringType, VariantType<{
127
+ delete: StructType<{
128
+ readonly name: StringType;
129
+ readonly area: StringType;
130
+ }>;
131
+ insert: StructType<{
132
+ readonly name: StringType;
133
+ readonly area: StringType;
134
+ }>;
135
+ update: VariantType<{
136
+ unchanged: NullType;
137
+ replace: StructType<{
138
+ before: StructType<{
139
+ readonly name: StringType;
140
+ readonly area: StringType;
141
+ }>;
142
+ after: StructType<{
143
+ readonly name: StringType;
144
+ readonly area: StringType;
145
+ }>;
146
+ }>;
147
+ patch: StructType<{
148
+ readonly name: VariantType<{
149
+ unchanged: NullType;
150
+ replace: StructType<{
151
+ before: StringType;
152
+ after: StringType;
153
+ }>;
154
+ }>;
155
+ readonly area: VariantType<{
156
+ unchanged: NullType;
157
+ replace: StructType<{
158
+ before: StringType;
159
+ after: StringType;
160
+ }>;
161
+ }>;
162
+ }>;
163
+ }>;
164
+ }>>;
165
+ }>]>;
166
+ }, DictType<StringType, StructType<{
167
+ readonly name: StringType;
168
+ readonly area: StringType;
169
+ }>>>>;
109
170
  export declare const calendarPeople: import("@elaraai/e3").RecordDef<DictType<StringType, StructType<{
110
171
  readonly name: StringType;
111
172
  readonly team: StringType;
112
- }>>, [variant<"field", "records">, variant<"field", "calendar_people">]>;
173
+ }>>, [variant<"field", "records">, variant<"field", "calendar_people">], import("@elaraai/e3").IndexesOf<{
174
+ calendar_people_by_team: import("@elaraai/e3").IndexDraft<StringType, NullType, readonly ["team"], unknown>;
175
+ }, DictType<StringType, StructType<{
176
+ readonly name: StringType;
177
+ readonly team: StringType;
178
+ }>>>, import("@elaraai/e3").MutationsOf<Record<never, never>, DictType<StringType, StructType<{
179
+ readonly name: StringType;
180
+ readonly team: StringType;
181
+ }>>>>;
113
182
  export declare const calendarJobs: import("@elaraai/e3").RecordDef<DictType<StringType, StructType<{
114
183
  readonly title: StringType;
115
184
  readonly start: OptionType<DateTimeType>;
@@ -123,8 +192,48 @@ export declare const calendarJobs: import("@elaraai/e3").RecordDef<DictType<Stri
123
192
  readonly hours: FloatType;
124
193
  readonly customer: StringType;
125
194
  readonly due: OptionType<DateTimeType>;
126
- }>>, [variant<"field", "records">, variant<"field", "calendar_jobs">]>;
127
- export declare const calendarJobsPatch: import("@elaraai/e3").MutationDef<"patch", DictType<StringType, StructType<{
195
+ }>>, [variant<"field", "records">, variant<"field", "calendar_jobs">], import("@elaraai/e3").IndexesOf<{
196
+ calendar_jobs_by_time: import("@elaraai/e3").IndexDraft<StructType<{
197
+ on: StructType<Record<never, never>>;
198
+ node: IntegerType;
199
+ at: OptionType<DateTimeType>;
200
+ }>, NullType, readonly [], {
201
+ readonly interval: {
202
+ readonly from: "start";
203
+ readonly to: "end";
204
+ };
205
+ }>;
206
+ calendar_jobs_by_status_time: import("@elaraai/e3").IndexDraft<StructType<{
207
+ on: StructType<{
208
+ status: VariantType<{
209
+ readonly planned: NullType;
210
+ readonly active: NullType;
211
+ readonly done: NullType;
212
+ }>;
213
+ }>;
214
+ node: IntegerType;
215
+ at: OptionType<DateTimeType>;
216
+ }>, NullType, readonly ["status"], {
217
+ readonly interval: {
218
+ readonly from: "start";
219
+ readonly to: "end";
220
+ };
221
+ }>;
222
+ calendar_jobs_by_machine_time: import("@elaraai/e3").IndexDraft<StructType<{
223
+ on: StructType<{
224
+ machine: OptionType<StringType>;
225
+ }>;
226
+ node: IntegerType;
227
+ at: OptionType<DateTimeType>;
228
+ }>, NullType, readonly ["machine"], {
229
+ readonly interval: {
230
+ readonly from: "start";
231
+ readonly to: "end";
232
+ };
233
+ }>;
234
+ calendar_jobs_by_day: import("@elaraai/e3").IndexDraft<DateTimeType, NullType, undefined, unknown>;
235
+ calendar_jobs_unscheduled: import("@elaraai/e3").IndexDraft<OptionType<DateTimeType>, NullType, undefined, unknown>;
236
+ }, DictType<StringType, StructType<{
128
237
  readonly title: StringType;
129
238
  readonly start: OptionType<DateTimeType>;
130
239
  readonly end: OptionType<DateTimeType>;
@@ -137,255 +246,270 @@ export declare const calendarJobsPatch: import("@elaraai/e3").MutationDef<"patch
137
246
  readonly hours: FloatType;
138
247
  readonly customer: StringType;
139
248
  readonly due: OptionType<DateTimeType>;
140
- }>>, [VariantType<{
141
- unchanged: NullType;
142
- replace: StructType<{
143
- before: DictType<StringType, StructType<{
144
- readonly title: StringType;
145
- readonly start: OptionType<DateTimeType>;
146
- readonly end: OptionType<DateTimeType>;
147
- readonly machine: OptionType<StringType>;
148
- readonly status: VariantType<{
149
- readonly planned: NullType;
150
- readonly active: NullType;
151
- readonly done: NullType;
152
- }>;
153
- readonly hours: FloatType;
154
- readonly customer: StringType;
155
- readonly due: OptionType<DateTimeType>;
156
- }>>;
157
- after: DictType<StringType, StructType<{
158
- readonly title: StringType;
159
- readonly start: OptionType<DateTimeType>;
160
- readonly end: OptionType<DateTimeType>;
161
- readonly machine: OptionType<StringType>;
162
- readonly status: VariantType<{
163
- readonly planned: NullType;
164
- readonly active: NullType;
165
- readonly done: NullType;
166
- }>;
167
- readonly hours: FloatType;
168
- readonly customer: StringType;
169
- readonly due: OptionType<DateTimeType>;
170
- }>>;
171
- }>;
172
- patch: DictType<StringType, VariantType<{
173
- delete: StructType<{
174
- readonly title: StringType;
175
- readonly start: OptionType<DateTimeType>;
176
- readonly end: OptionType<DateTimeType>;
177
- readonly machine: OptionType<StringType>;
178
- readonly status: VariantType<{
179
- readonly planned: NullType;
180
- readonly active: NullType;
181
- readonly done: NullType;
182
- }>;
183
- readonly hours: FloatType;
184
- readonly customer: StringType;
185
- readonly due: OptionType<DateTimeType>;
186
- }>;
187
- insert: StructType<{
188
- readonly title: StringType;
189
- readonly start: OptionType<DateTimeType>;
190
- readonly end: OptionType<DateTimeType>;
191
- readonly machine: OptionType<StringType>;
192
- readonly status: VariantType<{
193
- readonly planned: NullType;
194
- readonly active: NullType;
195
- readonly done: NullType;
196
- }>;
197
- readonly hours: FloatType;
198
- readonly customer: StringType;
199
- readonly due: OptionType<DateTimeType>;
200
- }>;
201
- update: VariantType<{
202
- unchanged: NullType;
203
- replace: StructType<{
204
- before: StructType<{
205
- readonly title: StringType;
206
- readonly start: OptionType<DateTimeType>;
207
- readonly end: OptionType<DateTimeType>;
208
- readonly machine: OptionType<StringType>;
209
- readonly status: VariantType<{
210
- readonly planned: NullType;
211
- readonly active: NullType;
212
- readonly done: NullType;
213
- }>;
214
- readonly hours: FloatType;
215
- readonly customer: StringType;
216
- readonly due: OptionType<DateTimeType>;
249
+ }>>>, import("@elaraai/e3").MutationsOf<{
250
+ patch: import("@elaraai/e3").MutationDraft<[VariantType<{
251
+ unchanged: NullType;
252
+ replace: StructType<{
253
+ before: DictType<StringType, StructType<{
254
+ readonly title: StringType;
255
+ readonly start: OptionType<DateTimeType>;
256
+ readonly end: OptionType<DateTimeType>;
257
+ readonly machine: OptionType<StringType>;
258
+ readonly status: VariantType<{
259
+ readonly planned: NullType;
260
+ readonly active: NullType;
261
+ readonly done: NullType;
217
262
  }>;
218
- after: StructType<{
219
- readonly title: StringType;
220
- readonly start: OptionType<DateTimeType>;
221
- readonly end: OptionType<DateTimeType>;
222
- readonly machine: OptionType<StringType>;
223
- readonly status: VariantType<{
224
- readonly planned: NullType;
225
- readonly active: NullType;
226
- readonly done: NullType;
227
- }>;
228
- readonly hours: FloatType;
229
- readonly customer: StringType;
230
- readonly due: OptionType<DateTimeType>;
263
+ readonly hours: FloatType;
264
+ readonly customer: StringType;
265
+ readonly due: OptionType<DateTimeType>;
266
+ }>>;
267
+ after: DictType<StringType, StructType<{
268
+ readonly title: StringType;
269
+ readonly start: OptionType<DateTimeType>;
270
+ readonly end: OptionType<DateTimeType>;
271
+ readonly machine: OptionType<StringType>;
272
+ readonly status: VariantType<{
273
+ readonly planned: NullType;
274
+ readonly active: NullType;
275
+ readonly done: NullType;
276
+ }>;
277
+ readonly hours: FloatType;
278
+ readonly customer: StringType;
279
+ readonly due: OptionType<DateTimeType>;
280
+ }>>;
281
+ }>;
282
+ patch: DictType<StringType, VariantType<{
283
+ delete: StructType<{
284
+ readonly title: StringType;
285
+ readonly start: OptionType<DateTimeType>;
286
+ readonly end: OptionType<DateTimeType>;
287
+ readonly machine: OptionType<StringType>;
288
+ readonly status: VariantType<{
289
+ readonly planned: NullType;
290
+ readonly active: NullType;
291
+ readonly done: NullType;
231
292
  }>;
293
+ readonly hours: FloatType;
294
+ readonly customer: StringType;
295
+ readonly due: OptionType<DateTimeType>;
232
296
  }>;
233
- patch: StructType<{
234
- readonly title: VariantType<{
235
- unchanged: NullType;
236
- replace: StructType<{
237
- before: StringType;
238
- after: StringType;
239
- }>;
297
+ insert: StructType<{
298
+ readonly title: StringType;
299
+ readonly start: OptionType<DateTimeType>;
300
+ readonly end: OptionType<DateTimeType>;
301
+ readonly machine: OptionType<StringType>;
302
+ readonly status: VariantType<{
303
+ readonly planned: NullType;
304
+ readonly active: NullType;
305
+ readonly done: NullType;
240
306
  }>;
241
- readonly start: VariantType<{
242
- unchanged: NullType;
243
- replace: StructType<{
244
- before: OptionType<DateTimeType>;
245
- after: OptionType<DateTimeType>;
246
- }>;
247
- patch: VariantType<{
248
- none: VariantType<{
249
- unchanged: NullType;
250
- replace: StructType<{
251
- before: NullType;
252
- after: NullType;
253
- }>;
307
+ readonly hours: FloatType;
308
+ readonly customer: StringType;
309
+ readonly due: OptionType<DateTimeType>;
310
+ }>;
311
+ update: VariantType<{
312
+ unchanged: NullType;
313
+ replace: StructType<{
314
+ before: StructType<{
315
+ readonly title: StringType;
316
+ readonly start: OptionType<DateTimeType>;
317
+ readonly end: OptionType<DateTimeType>;
318
+ readonly machine: OptionType<StringType>;
319
+ readonly status: VariantType<{
320
+ readonly planned: NullType;
321
+ readonly active: NullType;
322
+ readonly done: NullType;
254
323
  }>;
255
- some: VariantType<{
256
- unchanged: NullType;
257
- replace: StructType<{
258
- before: DateTimeType;
259
- after: DateTimeType;
260
- }>;
324
+ readonly hours: FloatType;
325
+ readonly customer: StringType;
326
+ readonly due: OptionType<DateTimeType>;
327
+ }>;
328
+ after: StructType<{
329
+ readonly title: StringType;
330
+ readonly start: OptionType<DateTimeType>;
331
+ readonly end: OptionType<DateTimeType>;
332
+ readonly machine: OptionType<StringType>;
333
+ readonly status: VariantType<{
334
+ readonly planned: NullType;
335
+ readonly active: NullType;
336
+ readonly done: NullType;
261
337
  }>;
338
+ readonly hours: FloatType;
339
+ readonly customer: StringType;
340
+ readonly due: OptionType<DateTimeType>;
262
341
  }>;
263
342
  }>;
264
- readonly end: VariantType<{
265
- unchanged: NullType;
266
- replace: StructType<{
267
- before: OptionType<DateTimeType>;
268
- after: OptionType<DateTimeType>;
343
+ patch: StructType<{
344
+ readonly title: VariantType<{
345
+ unchanged: NullType;
346
+ replace: StructType<{
347
+ before: StringType;
348
+ after: StringType;
349
+ }>;
269
350
  }>;
270
- patch: VariantType<{
271
- none: VariantType<{
272
- unchanged: NullType;
273
- replace: StructType<{
274
- before: NullType;
275
- after: NullType;
276
- }>;
351
+ readonly start: VariantType<{
352
+ unchanged: NullType;
353
+ replace: StructType<{
354
+ before: OptionType<DateTimeType>;
355
+ after: OptionType<DateTimeType>;
277
356
  }>;
278
- some: VariantType<{
279
- unchanged: NullType;
280
- replace: StructType<{
281
- before: DateTimeType;
282
- after: DateTimeType;
357
+ patch: VariantType<{
358
+ none: VariantType<{
359
+ unchanged: NullType;
360
+ replace: StructType<{
361
+ before: NullType;
362
+ after: NullType;
363
+ }>;
364
+ }>;
365
+ some: VariantType<{
366
+ unchanged: NullType;
367
+ replace: StructType<{
368
+ before: DateTimeType;
369
+ after: DateTimeType;
370
+ }>;
283
371
  }>;
284
372
  }>;
285
373
  }>;
286
- }>;
287
- readonly machine: VariantType<{
288
- unchanged: NullType;
289
- replace: StructType<{
290
- before: OptionType<StringType>;
291
- after: OptionType<StringType>;
292
- }>;
293
- patch: VariantType<{
294
- none: VariantType<{
295
- unchanged: NullType;
296
- replace: StructType<{
297
- before: NullType;
298
- after: NullType;
299
- }>;
374
+ readonly end: VariantType<{
375
+ unchanged: NullType;
376
+ replace: StructType<{
377
+ before: OptionType<DateTimeType>;
378
+ after: OptionType<DateTimeType>;
300
379
  }>;
301
- some: VariantType<{
302
- unchanged: NullType;
303
- replace: StructType<{
304
- before: StringType;
305
- after: StringType;
380
+ patch: VariantType<{
381
+ none: VariantType<{
382
+ unchanged: NullType;
383
+ replace: StructType<{
384
+ before: NullType;
385
+ after: NullType;
386
+ }>;
387
+ }>;
388
+ some: VariantType<{
389
+ unchanged: NullType;
390
+ replace: StructType<{
391
+ before: DateTimeType;
392
+ after: DateTimeType;
393
+ }>;
306
394
  }>;
307
395
  }>;
308
396
  }>;
309
- }>;
310
- readonly status: VariantType<{
311
- unchanged: NullType;
312
- replace: StructType<{
313
- before: VariantType<{
314
- readonly planned: NullType;
315
- readonly active: NullType;
316
- readonly done: NullType;
397
+ readonly machine: VariantType<{
398
+ unchanged: NullType;
399
+ replace: StructType<{
400
+ before: OptionType<StringType>;
401
+ after: OptionType<StringType>;
317
402
  }>;
318
- after: VariantType<{
319
- readonly planned: NullType;
320
- readonly active: NullType;
321
- readonly done: NullType;
403
+ patch: VariantType<{
404
+ none: VariantType<{
405
+ unchanged: NullType;
406
+ replace: StructType<{
407
+ before: NullType;
408
+ after: NullType;
409
+ }>;
410
+ }>;
411
+ some: VariantType<{
412
+ unchanged: NullType;
413
+ replace: StructType<{
414
+ before: StringType;
415
+ after: StringType;
416
+ }>;
417
+ }>;
322
418
  }>;
323
419
  }>;
324
- patch: VariantType<{
325
- readonly planned: VariantType<{
326
- unchanged: NullType;
327
- replace: StructType<{
328
- before: NullType;
329
- after: NullType;
420
+ readonly status: VariantType<{
421
+ unchanged: NullType;
422
+ replace: StructType<{
423
+ before: VariantType<{
424
+ readonly planned: NullType;
425
+ readonly active: NullType;
426
+ readonly done: NullType;
330
427
  }>;
331
- }>;
332
- readonly active: VariantType<{
333
- unchanged: NullType;
334
- replace: StructType<{
335
- before: NullType;
336
- after: NullType;
428
+ after: VariantType<{
429
+ readonly planned: NullType;
430
+ readonly active: NullType;
431
+ readonly done: NullType;
337
432
  }>;
338
433
  }>;
339
- readonly done: VariantType<{
340
- unchanged: NullType;
341
- replace: StructType<{
342
- before: NullType;
343
- after: NullType;
434
+ patch: VariantType<{
435
+ readonly planned: VariantType<{
436
+ unchanged: NullType;
437
+ replace: StructType<{
438
+ before: NullType;
439
+ after: NullType;
440
+ }>;
441
+ }>;
442
+ readonly active: VariantType<{
443
+ unchanged: NullType;
444
+ replace: StructType<{
445
+ before: NullType;
446
+ after: NullType;
447
+ }>;
448
+ }>;
449
+ readonly done: VariantType<{
450
+ unchanged: NullType;
451
+ replace: StructType<{
452
+ before: NullType;
453
+ after: NullType;
454
+ }>;
344
455
  }>;
345
456
  }>;
346
457
  }>;
347
- }>;
348
- readonly hours: VariantType<{
349
- unchanged: NullType;
350
- replace: StructType<{
351
- before: FloatType;
352
- after: FloatType;
353
- }>;
354
- }>;
355
- readonly customer: VariantType<{
356
- unchanged: NullType;
357
- replace: StructType<{
358
- before: StringType;
359
- after: StringType;
458
+ readonly hours: VariantType<{
459
+ unchanged: NullType;
460
+ replace: StructType<{
461
+ before: FloatType;
462
+ after: FloatType;
463
+ }>;
360
464
  }>;
361
- }>;
362
- readonly due: VariantType<{
363
- unchanged: NullType;
364
- replace: StructType<{
365
- before: OptionType<DateTimeType>;
366
- after: OptionType<DateTimeType>;
465
+ readonly customer: VariantType<{
466
+ unchanged: NullType;
467
+ replace: StructType<{
468
+ before: StringType;
469
+ after: StringType;
470
+ }>;
367
471
  }>;
368
- patch: VariantType<{
369
- none: VariantType<{
370
- unchanged: NullType;
371
- replace: StructType<{
372
- before: NullType;
373
- after: NullType;
374
- }>;
472
+ readonly due: VariantType<{
473
+ unchanged: NullType;
474
+ replace: StructType<{
475
+ before: OptionType<DateTimeType>;
476
+ after: OptionType<DateTimeType>;
375
477
  }>;
376
- some: VariantType<{
377
- unchanged: NullType;
378
- replace: StructType<{
379
- before: DateTimeType;
380
- after: DateTimeType;
478
+ patch: VariantType<{
479
+ none: VariantType<{
480
+ unchanged: NullType;
481
+ replace: StructType<{
482
+ before: NullType;
483
+ after: NullType;
484
+ }>;
485
+ }>;
486
+ some: VariantType<{
487
+ unchanged: NullType;
488
+ replace: StructType<{
489
+ before: DateTimeType;
490
+ after: DateTimeType;
491
+ }>;
381
492
  }>;
382
493
  }>;
383
494
  }>;
384
495
  }>;
385
496
  }>;
386
- }>;
387
- }>>;
388
- }>]>;
497
+ }>>;
498
+ }>]>;
499
+ }, DictType<StringType, StructType<{
500
+ readonly title: StringType;
501
+ readonly start: OptionType<DateTimeType>;
502
+ readonly end: OptionType<DateTimeType>;
503
+ readonly machine: OptionType<StringType>;
504
+ readonly status: VariantType<{
505
+ readonly planned: NullType;
506
+ readonly active: NullType;
507
+ readonly done: NullType;
508
+ }>;
509
+ readonly hours: FloatType;
510
+ readonly customer: StringType;
511
+ readonly due: OptionType<DateTimeType>;
512
+ }>>>>;
389
513
  export declare const calendarServices: import("@elaraai/e3").RecordDef<DictType<StringType, StructType<{
390
514
  readonly title: StringType;
391
515
  readonly start: DateTimeType;
@@ -393,226 +517,287 @@ export declare const calendarServices: import("@elaraai/e3").RecordDef<DictType<
393
517
  readonly machine: StringType;
394
518
  readonly technician: StringType;
395
519
  readonly notes: StringType;
396
- }>>, [variant<"field", "records">, variant<"field", "calendar_services">]>;
397
- export declare const calendarServicesPatch: import("@elaraai/e3").MutationDef<"patch", DictType<StringType, StructType<{
520
+ }>>, [variant<"field", "records">, variant<"field", "calendar_services">], import("@elaraai/e3").IndexesOf<{
521
+ calendar_services_by_time: import("@elaraai/e3").IndexDraft<StructType<{
522
+ on: StructType<Record<never, never>>;
523
+ node: IntegerType;
524
+ at: DateTimeType;
525
+ }>, NullType, readonly [], {
526
+ readonly interval: {
527
+ readonly from: "start";
528
+ readonly to: "end";
529
+ };
530
+ }>;
531
+ calendar_services_by_machine_time: import("@elaraai/e3").IndexDraft<StructType<{
532
+ on: StructType<{
533
+ machine: StringType;
534
+ }>;
535
+ node: IntegerType;
536
+ at: DateTimeType;
537
+ }>, NullType, readonly ["machine"], {
538
+ readonly interval: {
539
+ readonly from: "start";
540
+ readonly to: "end";
541
+ };
542
+ }>;
543
+ }, DictType<StringType, StructType<{
398
544
  readonly title: StringType;
399
545
  readonly start: DateTimeType;
400
546
  readonly end: DateTimeType;
401
547
  readonly machine: StringType;
402
548
  readonly technician: StringType;
403
549
  readonly notes: StringType;
404
- }>>, [VariantType<{
405
- unchanged: NullType;
406
- replace: StructType<{
407
- before: DictType<StringType, StructType<{
408
- readonly title: StringType;
409
- readonly start: DateTimeType;
410
- readonly end: DateTimeType;
411
- readonly machine: StringType;
412
- readonly technician: StringType;
413
- readonly notes: StringType;
414
- }>>;
415
- after: DictType<StringType, StructType<{
416
- readonly title: StringType;
417
- readonly start: DateTimeType;
418
- readonly end: DateTimeType;
419
- readonly machine: StringType;
420
- readonly technician: StringType;
421
- readonly notes: StringType;
422
- }>>;
423
- }>;
424
- patch: DictType<StringType, VariantType<{
425
- delete: StructType<{
426
- readonly title: StringType;
427
- readonly start: DateTimeType;
428
- readonly end: DateTimeType;
429
- readonly machine: StringType;
430
- readonly technician: StringType;
431
- readonly notes: StringType;
432
- }>;
433
- insert: StructType<{
434
- readonly title: StringType;
435
- readonly start: DateTimeType;
436
- readonly end: DateTimeType;
437
- readonly machine: StringType;
438
- readonly technician: StringType;
439
- readonly notes: StringType;
550
+ }>>>, import("@elaraai/e3").MutationsOf<{
551
+ patch: import("@elaraai/e3").MutationDraft<[VariantType<{
552
+ unchanged: NullType;
553
+ replace: StructType<{
554
+ before: DictType<StringType, StructType<{
555
+ readonly title: StringType;
556
+ readonly start: DateTimeType;
557
+ readonly end: DateTimeType;
558
+ readonly machine: StringType;
559
+ readonly technician: StringType;
560
+ readonly notes: StringType;
561
+ }>>;
562
+ after: DictType<StringType, StructType<{
563
+ readonly title: StringType;
564
+ readonly start: DateTimeType;
565
+ readonly end: DateTimeType;
566
+ readonly machine: StringType;
567
+ readonly technician: StringType;
568
+ readonly notes: StringType;
569
+ }>>;
440
570
  }>;
441
- update: VariantType<{
442
- unchanged: NullType;
443
- replace: StructType<{
444
- before: StructType<{
445
- readonly title: StringType;
446
- readonly start: DateTimeType;
447
- readonly end: DateTimeType;
448
- readonly machine: StringType;
449
- readonly technician: StringType;
450
- readonly notes: StringType;
451
- }>;
452
- after: StructType<{
453
- readonly title: StringType;
454
- readonly start: DateTimeType;
455
- readonly end: DateTimeType;
456
- readonly machine: StringType;
457
- readonly technician: StringType;
458
- readonly notes: StringType;
459
- }>;
571
+ patch: DictType<StringType, VariantType<{
572
+ delete: StructType<{
573
+ readonly title: StringType;
574
+ readonly start: DateTimeType;
575
+ readonly end: DateTimeType;
576
+ readonly machine: StringType;
577
+ readonly technician: StringType;
578
+ readonly notes: StringType;
579
+ }>;
580
+ insert: StructType<{
581
+ readonly title: StringType;
582
+ readonly start: DateTimeType;
583
+ readonly end: DateTimeType;
584
+ readonly machine: StringType;
585
+ readonly technician: StringType;
586
+ readonly notes: StringType;
460
587
  }>;
461
- patch: StructType<{
462
- readonly title: VariantType<{
463
- unchanged: NullType;
464
- replace: StructType<{
465
- before: StringType;
466
- after: StringType;
588
+ update: VariantType<{
589
+ unchanged: NullType;
590
+ replace: StructType<{
591
+ before: StructType<{
592
+ readonly title: StringType;
593
+ readonly start: DateTimeType;
594
+ readonly end: DateTimeType;
595
+ readonly machine: StringType;
596
+ readonly technician: StringType;
597
+ readonly notes: StringType;
467
598
  }>;
468
- }>;
469
- readonly start: VariantType<{
470
- unchanged: NullType;
471
- replace: StructType<{
472
- before: DateTimeType;
473
- after: DateTimeType;
599
+ after: StructType<{
600
+ readonly title: StringType;
601
+ readonly start: DateTimeType;
602
+ readonly end: DateTimeType;
603
+ readonly machine: StringType;
604
+ readonly technician: StringType;
605
+ readonly notes: StringType;
474
606
  }>;
475
607
  }>;
476
- readonly end: VariantType<{
477
- unchanged: NullType;
478
- replace: StructType<{
479
- before: DateTimeType;
480
- after: DateTimeType;
608
+ patch: StructType<{
609
+ readonly title: VariantType<{
610
+ unchanged: NullType;
611
+ replace: StructType<{
612
+ before: StringType;
613
+ after: StringType;
614
+ }>;
481
615
  }>;
482
- }>;
483
- readonly machine: VariantType<{
484
- unchanged: NullType;
485
- replace: StructType<{
486
- before: StringType;
487
- after: StringType;
616
+ readonly start: VariantType<{
617
+ unchanged: NullType;
618
+ replace: StructType<{
619
+ before: DateTimeType;
620
+ after: DateTimeType;
621
+ }>;
488
622
  }>;
489
- }>;
490
- readonly technician: VariantType<{
491
- unchanged: NullType;
492
- replace: StructType<{
493
- before: StringType;
494
- after: StringType;
623
+ readonly end: VariantType<{
624
+ unchanged: NullType;
625
+ replace: StructType<{
626
+ before: DateTimeType;
627
+ after: DateTimeType;
628
+ }>;
495
629
  }>;
496
- }>;
497
- readonly notes: VariantType<{
498
- unchanged: NullType;
499
- replace: StructType<{
500
- before: StringType;
501
- after: StringType;
630
+ readonly machine: VariantType<{
631
+ unchanged: NullType;
632
+ replace: StructType<{
633
+ before: StringType;
634
+ after: StringType;
635
+ }>;
636
+ }>;
637
+ readonly technician: VariantType<{
638
+ unchanged: NullType;
639
+ replace: StructType<{
640
+ before: StringType;
641
+ after: StringType;
642
+ }>;
643
+ }>;
644
+ readonly notes: VariantType<{
645
+ unchanged: NullType;
646
+ replace: StructType<{
647
+ before: StringType;
648
+ after: StringType;
649
+ }>;
502
650
  }>;
503
651
  }>;
504
652
  }>;
505
- }>;
506
- }>>;
507
- }>]>;
508
- export declare const calendarShifts: import("@elaraai/e3").RecordDef<DictType<StringType, StructType<{
653
+ }>>;
654
+ }>]>;
655
+ }, DictType<StringType, StructType<{
509
656
  readonly title: StringType;
510
657
  readonly start: DateTimeType;
511
658
  readonly end: DateTimeType;
512
- readonly person: StringType;
659
+ readonly machine: StringType;
660
+ readonly technician: StringType;
513
661
  readonly notes: StringType;
514
- }>>, [variant<"field", "records">, variant<"field", "calendar_shifts">]>;
515
- export declare const calendarShiftsPatch: import("@elaraai/e3").MutationDef<"patch", DictType<StringType, StructType<{
662
+ }>>>>;
663
+ export declare const calendarShifts: import("@elaraai/e3").RecordDef<DictType<StringType, StructType<{
516
664
  readonly title: StringType;
517
665
  readonly start: DateTimeType;
518
666
  readonly end: DateTimeType;
519
667
  readonly person: StringType;
520
668
  readonly notes: StringType;
521
- }>>, [VariantType<{
522
- unchanged: NullType;
523
- replace: StructType<{
524
- before: DictType<StringType, StructType<{
525
- readonly title: StringType;
526
- readonly start: DateTimeType;
527
- readonly end: DateTimeType;
528
- readonly person: StringType;
529
- readonly notes: StringType;
530
- }>>;
531
- after: DictType<StringType, StructType<{
532
- readonly title: StringType;
533
- readonly start: DateTimeType;
534
- readonly end: DateTimeType;
535
- readonly person: StringType;
536
- readonly notes: StringType;
537
- }>>;
669
+ }>>, [variant<"field", "records">, variant<"field", "calendar_shifts">], import("@elaraai/e3").IndexesOf<{
670
+ calendar_shifts_by_time: import("@elaraai/e3").IndexDraft<StructType<{
671
+ on: StructType<Record<never, never>>;
672
+ node: IntegerType;
673
+ at: DateTimeType;
674
+ }>, NullType, readonly [], {
675
+ readonly interval: {
676
+ readonly from: "start";
677
+ readonly to: "end";
678
+ };
538
679
  }>;
539
- patch: DictType<StringType, VariantType<{
540
- delete: StructType<{
541
- readonly title: StringType;
542
- readonly start: DateTimeType;
543
- readonly end: DateTimeType;
544
- readonly person: StringType;
545
- readonly notes: StringType;
680
+ calendar_shifts_by_person_time: import("@elaraai/e3").IndexDraft<StructType<{
681
+ on: StructType<{
682
+ person: StringType;
546
683
  }>;
547
- insert: StructType<{
548
- readonly title: StringType;
549
- readonly start: DateTimeType;
550
- readonly end: DateTimeType;
551
- readonly person: StringType;
552
- readonly notes: StringType;
684
+ node: IntegerType;
685
+ at: DateTimeType;
686
+ }>, NullType, readonly ["person"], {
687
+ readonly interval: {
688
+ readonly from: "start";
689
+ readonly to: "end";
690
+ };
691
+ }>;
692
+ }, DictType<StringType, StructType<{
693
+ readonly title: StringType;
694
+ readonly start: DateTimeType;
695
+ readonly end: DateTimeType;
696
+ readonly person: StringType;
697
+ readonly notes: StringType;
698
+ }>>>, import("@elaraai/e3").MutationsOf<{
699
+ patch: import("@elaraai/e3").MutationDraft<[VariantType<{
700
+ unchanged: NullType;
701
+ replace: StructType<{
702
+ before: DictType<StringType, StructType<{
703
+ readonly title: StringType;
704
+ readonly start: DateTimeType;
705
+ readonly end: DateTimeType;
706
+ readonly person: StringType;
707
+ readonly notes: StringType;
708
+ }>>;
709
+ after: DictType<StringType, StructType<{
710
+ readonly title: StringType;
711
+ readonly start: DateTimeType;
712
+ readonly end: DateTimeType;
713
+ readonly person: StringType;
714
+ readonly notes: StringType;
715
+ }>>;
553
716
  }>;
554
- update: VariantType<{
555
- unchanged: NullType;
556
- replace: StructType<{
557
- before: StructType<{
558
- readonly title: StringType;
559
- readonly start: DateTimeType;
560
- readonly end: DateTimeType;
561
- readonly person: StringType;
562
- readonly notes: StringType;
563
- }>;
564
- after: StructType<{
565
- readonly title: StringType;
566
- readonly start: DateTimeType;
567
- readonly end: DateTimeType;
568
- readonly person: StringType;
569
- readonly notes: StringType;
570
- }>;
717
+ patch: DictType<StringType, VariantType<{
718
+ delete: StructType<{
719
+ readonly title: StringType;
720
+ readonly start: DateTimeType;
721
+ readonly end: DateTimeType;
722
+ readonly person: StringType;
723
+ readonly notes: StringType;
724
+ }>;
725
+ insert: StructType<{
726
+ readonly title: StringType;
727
+ readonly start: DateTimeType;
728
+ readonly end: DateTimeType;
729
+ readonly person: StringType;
730
+ readonly notes: StringType;
571
731
  }>;
572
- patch: StructType<{
573
- readonly title: VariantType<{
574
- unchanged: NullType;
575
- replace: StructType<{
576
- before: StringType;
577
- after: StringType;
732
+ update: VariantType<{
733
+ unchanged: NullType;
734
+ replace: StructType<{
735
+ before: StructType<{
736
+ readonly title: StringType;
737
+ readonly start: DateTimeType;
738
+ readonly end: DateTimeType;
739
+ readonly person: StringType;
740
+ readonly notes: StringType;
578
741
  }>;
579
- }>;
580
- readonly start: VariantType<{
581
- unchanged: NullType;
582
- replace: StructType<{
583
- before: DateTimeType;
584
- after: DateTimeType;
742
+ after: StructType<{
743
+ readonly title: StringType;
744
+ readonly start: DateTimeType;
745
+ readonly end: DateTimeType;
746
+ readonly person: StringType;
747
+ readonly notes: StringType;
585
748
  }>;
586
749
  }>;
587
- readonly end: VariantType<{
588
- unchanged: NullType;
589
- replace: StructType<{
590
- before: DateTimeType;
591
- after: DateTimeType;
750
+ patch: StructType<{
751
+ readonly title: VariantType<{
752
+ unchanged: NullType;
753
+ replace: StructType<{
754
+ before: StringType;
755
+ after: StringType;
756
+ }>;
592
757
  }>;
593
- }>;
594
- readonly person: VariantType<{
595
- unchanged: NullType;
596
- replace: StructType<{
597
- before: StringType;
598
- after: StringType;
758
+ readonly start: VariantType<{
759
+ unchanged: NullType;
760
+ replace: StructType<{
761
+ before: DateTimeType;
762
+ after: DateTimeType;
763
+ }>;
599
764
  }>;
600
- }>;
601
- readonly notes: VariantType<{
602
- unchanged: NullType;
603
- replace: StructType<{
604
- before: StringType;
605
- after: StringType;
765
+ readonly end: VariantType<{
766
+ unchanged: NullType;
767
+ replace: StructType<{
768
+ before: DateTimeType;
769
+ after: DateTimeType;
770
+ }>;
771
+ }>;
772
+ readonly person: VariantType<{
773
+ unchanged: NullType;
774
+ replace: StructType<{
775
+ before: StringType;
776
+ after: StringType;
777
+ }>;
778
+ }>;
779
+ readonly notes: VariantType<{
780
+ unchanged: NullType;
781
+ replace: StructType<{
782
+ before: StringType;
783
+ after: StringType;
784
+ }>;
606
785
  }>;
607
786
  }>;
608
787
  }>;
609
- }>;
610
- }>>;
611
- }>]>;
612
- export declare const calendarJobTemplates: import("@elaraai/e3").RecordDef<DictType<StringType, StructType<{
613
- readonly name: StringType;
614
- readonly group: StringType;
615
- readonly hours: FloatType;
788
+ }>>;
789
+ }>]>;
790
+ }, DictType<StringType, StructType<{
791
+ readonly title: StringType;
792
+ readonly start: DateTimeType;
793
+ readonly end: DateTimeType;
794
+ readonly person: StringType;
795
+ readonly notes: StringType;
796
+ }>>>>;
797
+ export declare const calendarJobTemplates: import("@elaraai/e3").RecordDef<DictType<StringType, StructType<{
798
+ readonly name: StringType;
799
+ readonly group: StringType;
800
+ readonly hours: FloatType;
616
801
  readonly values: StructType<{
617
802
  readonly title: StringType;
618
803
  readonly status: VariantType<{
@@ -624,82 +809,9 @@ export declare const calendarJobTemplates: import("@elaraai/e3").RecordDef<DictT
624
809
  readonly customer: StringType;
625
810
  readonly due: OptionType<DateTimeType>;
626
811
  }>;
627
- }>>, [variant<"field", "records">, variant<"field", "calendar_job_templates">]>;
628
- export declare const calendarServiceTemplates: import("@elaraai/e3").RecordDef<DictType<StringType, StructType<{
629
- readonly name: StringType;
630
- readonly group: StringType;
631
- readonly hours: FloatType;
632
- readonly values: StructType<{
633
- readonly title: StringType;
634
- readonly technician: StringType;
635
- readonly notes: StringType;
636
- }>;
637
- }>>, [variant<"field", "records">, variant<"field", "calendar_service_templates">]>;
638
- export declare const calendarShiftTemplates: import("@elaraai/e3").RecordDef<DictType<StringType, StructType<{
639
- readonly name: StringType;
640
- readonly group: StringType;
641
- readonly hour: IntegerType;
642
- readonly values: StructType<{
643
- readonly title: StringType;
644
- readonly notes: StringType;
645
- }>;
646
- }>>, [variant<"field", "records">, variant<"field", "calendar_shift_templates">]>;
647
- export declare const calendarMachinesPatch: import("@elaraai/e3").MutationDef<"patch", DictType<StringType, StructType<{
648
- readonly name: StringType;
649
- readonly area: StringType;
650
- }>>, [VariantType<{
651
- unchanged: NullType;
652
- replace: StructType<{
653
- before: DictType<StringType, StructType<{
654
- readonly name: StringType;
655
- readonly area: StringType;
656
- }>>;
657
- after: DictType<StringType, StructType<{
658
- readonly name: StringType;
659
- readonly area: StringType;
660
- }>>;
661
- }>;
662
- patch: DictType<StringType, VariantType<{
663
- delete: StructType<{
664
- readonly name: StringType;
665
- readonly area: StringType;
666
- }>;
667
- insert: StructType<{
668
- readonly name: StringType;
669
- readonly area: StringType;
670
- }>;
671
- update: VariantType<{
672
- unchanged: NullType;
673
- replace: StructType<{
674
- before: StructType<{
675
- readonly name: StringType;
676
- readonly area: StringType;
677
- }>;
678
- after: StructType<{
679
- readonly name: StringType;
680
- readonly area: StringType;
681
- }>;
682
- }>;
683
- patch: StructType<{
684
- readonly name: VariantType<{
685
- unchanged: NullType;
686
- replace: StructType<{
687
- before: StringType;
688
- after: StringType;
689
- }>;
690
- }>;
691
- readonly area: VariantType<{
692
- unchanged: NullType;
693
- replace: StructType<{
694
- before: StringType;
695
- after: StringType;
696
- }>;
697
- }>;
698
- }>;
699
- }>;
700
- }>>;
701
- }>]>;
702
- export declare const calendarJobTemplatesPatch: import("@elaraai/e3").MutationDef<"patch", DictType<StringType, StructType<{
812
+ }>>, [variant<"field", "records">, variant<"field", "calendar_job_templates">], import("@elaraai/e3").IndexesOf<{
813
+ calendar_job_templates_by_group: import("@elaraai/e3").IndexDraft<StringType, NullType, readonly ["group"], unknown>;
814
+ }, DictType<StringType, StructType<{
703
815
  readonly name: StringType;
704
816
  readonly group: StringType;
705
817
  readonly hours: FloatType;
@@ -714,137 +826,84 @@ export declare const calendarJobTemplatesPatch: import("@elaraai/e3").MutationDe
714
826
  readonly customer: StringType;
715
827
  readonly due: OptionType<DateTimeType>;
716
828
  }>;
717
- }>>, [VariantType<{
718
- unchanged: NullType;
719
- replace: StructType<{
720
- before: DictType<StringType, StructType<{
721
- readonly name: StringType;
722
- readonly group: StringType;
723
- readonly hours: FloatType;
724
- readonly values: StructType<{
725
- readonly title: StringType;
726
- readonly status: VariantType<{
727
- readonly planned: NullType;
728
- readonly active: NullType;
729
- readonly done: NullType;
730
- }>;
829
+ }>>>, import("@elaraai/e3").MutationsOf<{
830
+ patch: import("@elaraai/e3").MutationDraft<[VariantType<{
831
+ unchanged: NullType;
832
+ replace: StructType<{
833
+ before: DictType<StringType, StructType<{
834
+ readonly name: StringType;
835
+ readonly group: StringType;
731
836
  readonly hours: FloatType;
732
- readonly customer: StringType;
733
- readonly due: OptionType<DateTimeType>;
734
- }>;
735
- }>>;
736
- after: DictType<StringType, StructType<{
737
- readonly name: StringType;
738
- readonly group: StringType;
739
- readonly hours: FloatType;
740
- readonly values: StructType<{
741
- readonly title: StringType;
742
- readonly status: VariantType<{
743
- readonly planned: NullType;
744
- readonly active: NullType;
745
- readonly done: NullType;
837
+ readonly values: StructType<{
838
+ readonly title: StringType;
839
+ readonly status: VariantType<{
840
+ readonly planned: NullType;
841
+ readonly active: NullType;
842
+ readonly done: NullType;
843
+ }>;
844
+ readonly hours: FloatType;
845
+ readonly customer: StringType;
846
+ readonly due: OptionType<DateTimeType>;
746
847
  }>;
848
+ }>>;
849
+ after: DictType<StringType, StructType<{
850
+ readonly name: StringType;
851
+ readonly group: StringType;
747
852
  readonly hours: FloatType;
748
- readonly customer: StringType;
749
- readonly due: OptionType<DateTimeType>;
750
- }>;
751
- }>>;
752
- }>;
753
- patch: DictType<StringType, VariantType<{
754
- delete: StructType<{
755
- readonly name: StringType;
756
- readonly group: StringType;
757
- readonly hours: FloatType;
758
- readonly values: StructType<{
759
- readonly title: StringType;
760
- readonly status: VariantType<{
761
- readonly planned: NullType;
762
- readonly active: NullType;
763
- readonly done: NullType;
853
+ readonly values: StructType<{
854
+ readonly title: StringType;
855
+ readonly status: VariantType<{
856
+ readonly planned: NullType;
857
+ readonly active: NullType;
858
+ readonly done: NullType;
859
+ }>;
860
+ readonly hours: FloatType;
861
+ readonly customer: StringType;
862
+ readonly due: OptionType<DateTimeType>;
764
863
  }>;
765
- readonly hours: FloatType;
766
- readonly customer: StringType;
767
- readonly due: OptionType<DateTimeType>;
768
- }>;
864
+ }>>;
769
865
  }>;
770
- insert: StructType<{
771
- readonly name: StringType;
772
- readonly group: StringType;
773
- readonly hours: FloatType;
774
- readonly values: StructType<{
775
- readonly title: StringType;
776
- readonly status: VariantType<{
777
- readonly planned: NullType;
778
- readonly active: NullType;
779
- readonly done: NullType;
780
- }>;
866
+ patch: DictType<StringType, VariantType<{
867
+ delete: StructType<{
868
+ readonly name: StringType;
869
+ readonly group: StringType;
781
870
  readonly hours: FloatType;
782
- readonly customer: StringType;
783
- readonly due: OptionType<DateTimeType>;
784
- }>;
785
- }>;
786
- update: VariantType<{
787
- unchanged: NullType;
788
- replace: StructType<{
789
- before: StructType<{
790
- readonly name: StringType;
791
- readonly group: StringType;
792
- readonly hours: FloatType;
793
- readonly values: StructType<{
794
- readonly title: StringType;
795
- readonly status: VariantType<{
796
- readonly planned: NullType;
797
- readonly active: NullType;
798
- readonly done: NullType;
799
- }>;
800
- readonly hours: FloatType;
801
- readonly customer: StringType;
802
- readonly due: OptionType<DateTimeType>;
871
+ readonly values: StructType<{
872
+ readonly title: StringType;
873
+ readonly status: VariantType<{
874
+ readonly planned: NullType;
875
+ readonly active: NullType;
876
+ readonly done: NullType;
803
877
  }>;
804
- }>;
805
- after: StructType<{
806
- readonly name: StringType;
807
- readonly group: StringType;
808
878
  readonly hours: FloatType;
809
- readonly values: StructType<{
810
- readonly title: StringType;
811
- readonly status: VariantType<{
812
- readonly planned: NullType;
813
- readonly active: NullType;
814
- readonly done: NullType;
815
- }>;
816
- readonly hours: FloatType;
817
- readonly customer: StringType;
818
- readonly due: OptionType<DateTimeType>;
819
- }>;
879
+ readonly customer: StringType;
880
+ readonly due: OptionType<DateTimeType>;
820
881
  }>;
821
882
  }>;
822
- patch: StructType<{
823
- readonly name: VariantType<{
824
- unchanged: NullType;
825
- replace: StructType<{
826
- before: StringType;
827
- after: StringType;
828
- }>;
829
- }>;
830
- readonly group: VariantType<{
831
- unchanged: NullType;
832
- replace: StructType<{
833
- before: StringType;
834
- after: StringType;
835
- }>;
836
- }>;
837
- readonly hours: VariantType<{
838
- unchanged: NullType;
839
- replace: StructType<{
840
- before: FloatType;
841
- after: FloatType;
883
+ insert: StructType<{
884
+ readonly name: StringType;
885
+ readonly group: StringType;
886
+ readonly hours: FloatType;
887
+ readonly values: StructType<{
888
+ readonly title: StringType;
889
+ readonly status: VariantType<{
890
+ readonly planned: NullType;
891
+ readonly active: NullType;
892
+ readonly done: NullType;
842
893
  }>;
894
+ readonly hours: FloatType;
895
+ readonly customer: StringType;
896
+ readonly due: OptionType<DateTimeType>;
843
897
  }>;
844
- readonly values: VariantType<{
845
- unchanged: NullType;
846
- replace: StructType<{
847
- before: StructType<{
898
+ }>;
899
+ update: VariantType<{
900
+ unchanged: NullType;
901
+ replace: StructType<{
902
+ before: StructType<{
903
+ readonly name: StringType;
904
+ readonly group: StringType;
905
+ readonly hours: FloatType;
906
+ readonly values: StructType<{
848
907
  readonly title: StringType;
849
908
  readonly status: VariantType<{
850
909
  readonly planned: NullType;
@@ -855,7 +914,12 @@ export declare const calendarJobTemplatesPatch: import("@elaraai/e3").MutationDe
855
914
  readonly customer: StringType;
856
915
  readonly due: OptionType<DateTimeType>;
857
916
  }>;
858
- after: StructType<{
917
+ }>;
918
+ after: StructType<{
919
+ readonly name: StringType;
920
+ readonly group: StringType;
921
+ readonly hours: FloatType;
922
+ readonly values: StructType<{
859
923
  readonly title: StringType;
860
924
  readonly status: VariantType<{
861
925
  readonly planned: NullType;
@@ -867,85 +931,135 @@ export declare const calendarJobTemplatesPatch: import("@elaraai/e3").MutationDe
867
931
  readonly due: OptionType<DateTimeType>;
868
932
  }>;
869
933
  }>;
870
- patch: StructType<{
871
- readonly title: VariantType<{
872
- unchanged: NullType;
873
- replace: StructType<{
874
- before: StringType;
875
- after: StringType;
876
- }>;
934
+ }>;
935
+ patch: StructType<{
936
+ readonly name: VariantType<{
937
+ unchanged: NullType;
938
+ replace: StructType<{
939
+ before: StringType;
940
+ after: StringType;
877
941
  }>;
878
- readonly status: VariantType<{
879
- unchanged: NullType;
880
- replace: StructType<{
881
- before: VariantType<{
942
+ }>;
943
+ readonly group: VariantType<{
944
+ unchanged: NullType;
945
+ replace: StructType<{
946
+ before: StringType;
947
+ after: StringType;
948
+ }>;
949
+ }>;
950
+ readonly hours: VariantType<{
951
+ unchanged: NullType;
952
+ replace: StructType<{
953
+ before: FloatType;
954
+ after: FloatType;
955
+ }>;
956
+ }>;
957
+ readonly values: VariantType<{
958
+ unchanged: NullType;
959
+ replace: StructType<{
960
+ before: StructType<{
961
+ readonly title: StringType;
962
+ readonly status: VariantType<{
882
963
  readonly planned: NullType;
883
964
  readonly active: NullType;
884
965
  readonly done: NullType;
885
966
  }>;
886
- after: VariantType<{
967
+ readonly hours: FloatType;
968
+ readonly customer: StringType;
969
+ readonly due: OptionType<DateTimeType>;
970
+ }>;
971
+ after: StructType<{
972
+ readonly title: StringType;
973
+ readonly status: VariantType<{
887
974
  readonly planned: NullType;
888
975
  readonly active: NullType;
889
976
  readonly done: NullType;
890
977
  }>;
978
+ readonly hours: FloatType;
979
+ readonly customer: StringType;
980
+ readonly due: OptionType<DateTimeType>;
891
981
  }>;
892
- patch: VariantType<{
893
- readonly planned: VariantType<{
894
- unchanged: NullType;
895
- replace: StructType<{
896
- before: NullType;
897
- after: NullType;
898
- }>;
982
+ }>;
983
+ patch: StructType<{
984
+ readonly title: VariantType<{
985
+ unchanged: NullType;
986
+ replace: StructType<{
987
+ before: StringType;
988
+ after: StringType;
899
989
  }>;
900
- readonly active: VariantType<{
901
- unchanged: NullType;
902
- replace: StructType<{
903
- before: NullType;
904
- after: NullType;
990
+ }>;
991
+ readonly status: VariantType<{
992
+ unchanged: NullType;
993
+ replace: StructType<{
994
+ before: VariantType<{
995
+ readonly planned: NullType;
996
+ readonly active: NullType;
997
+ readonly done: NullType;
998
+ }>;
999
+ after: VariantType<{
1000
+ readonly planned: NullType;
1001
+ readonly active: NullType;
1002
+ readonly done: NullType;
905
1003
  }>;
906
1004
  }>;
907
- readonly done: VariantType<{
908
- unchanged: NullType;
909
- replace: StructType<{
910
- before: NullType;
911
- after: NullType;
1005
+ patch: VariantType<{
1006
+ readonly planned: VariantType<{
1007
+ unchanged: NullType;
1008
+ replace: StructType<{
1009
+ before: NullType;
1010
+ after: NullType;
1011
+ }>;
1012
+ }>;
1013
+ readonly active: VariantType<{
1014
+ unchanged: NullType;
1015
+ replace: StructType<{
1016
+ before: NullType;
1017
+ after: NullType;
1018
+ }>;
1019
+ }>;
1020
+ readonly done: VariantType<{
1021
+ unchanged: NullType;
1022
+ replace: StructType<{
1023
+ before: NullType;
1024
+ after: NullType;
1025
+ }>;
912
1026
  }>;
913
1027
  }>;
914
1028
  }>;
915
- }>;
916
- readonly hours: VariantType<{
917
- unchanged: NullType;
918
- replace: StructType<{
919
- before: FloatType;
920
- after: FloatType;
921
- }>;
922
- }>;
923
- readonly customer: VariantType<{
924
- unchanged: NullType;
925
- replace: StructType<{
926
- before: StringType;
927
- after: StringType;
1029
+ readonly hours: VariantType<{
1030
+ unchanged: NullType;
1031
+ replace: StructType<{
1032
+ before: FloatType;
1033
+ after: FloatType;
1034
+ }>;
928
1035
  }>;
929
- }>;
930
- readonly due: VariantType<{
931
- unchanged: NullType;
932
- replace: StructType<{
933
- before: OptionType<DateTimeType>;
934
- after: OptionType<DateTimeType>;
1036
+ readonly customer: VariantType<{
1037
+ unchanged: NullType;
1038
+ replace: StructType<{
1039
+ before: StringType;
1040
+ after: StringType;
1041
+ }>;
935
1042
  }>;
936
- patch: VariantType<{
937
- none: VariantType<{
938
- unchanged: NullType;
939
- replace: StructType<{
940
- before: NullType;
941
- after: NullType;
942
- }>;
1043
+ readonly due: VariantType<{
1044
+ unchanged: NullType;
1045
+ replace: StructType<{
1046
+ before: OptionType<DateTimeType>;
1047
+ after: OptionType<DateTimeType>;
943
1048
  }>;
944
- some: VariantType<{
945
- unchanged: NullType;
946
- replace: StructType<{
947
- before: DateTimeType;
948
- after: DateTimeType;
1049
+ patch: VariantType<{
1050
+ none: VariantType<{
1051
+ unchanged: NullType;
1052
+ replace: StructType<{
1053
+ before: NullType;
1054
+ after: NullType;
1055
+ }>;
1056
+ }>;
1057
+ some: VariantType<{
1058
+ unchanged: NullType;
1059
+ replace: StructType<{
1060
+ before: DateTimeType;
1061
+ after: DateTimeType;
1062
+ }>;
949
1063
  }>;
950
1064
  }>;
951
1065
  }>;
@@ -953,169 +1067,9 @@ export declare const calendarJobTemplatesPatch: import("@elaraai/e3").MutationDe
953
1067
  }>;
954
1068
  }>;
955
1069
  }>;
956
- }>;
957
- }>>;
958
- }>]>;
959
- export declare const calendarJobsByTime: import("@elaraai/e3").RecordIndexDef<"calendar_jobs_by_time", DictType<StringType, StructType<{
960
- readonly title: StringType;
961
- readonly start: OptionType<DateTimeType>;
962
- readonly end: OptionType<DateTimeType>;
963
- readonly machine: OptionType<StringType>;
964
- readonly status: VariantType<{
965
- readonly planned: NullType;
966
- readonly active: NullType;
967
- readonly done: NullType;
968
- }>;
969
- readonly hours: FloatType;
970
- readonly customer: StringType;
971
- readonly due: OptionType<DateTimeType>;
972
- }>>, StructType<Record<never, never> & {
973
- __interval: IntegerType;
974
- } & {
975
- start: OptionType<DateTimeType>;
976
- }>, NullType, readonly ["start"]> & {
977
- interval: {
978
- readonly from: "start";
979
- readonly to: "end";
980
- };
981
- };
982
- export declare const calendarJobsByStatusTime: import("@elaraai/e3").RecordIndexDef<"calendar_jobs_by_status_time", DictType<StringType, StructType<{
983
- readonly title: StringType;
984
- readonly start: OptionType<DateTimeType>;
985
- readonly end: OptionType<DateTimeType>;
986
- readonly machine: OptionType<StringType>;
987
- readonly status: VariantType<{
988
- readonly planned: NullType;
989
- readonly active: NullType;
990
- readonly done: NullType;
991
- }>;
992
- readonly hours: FloatType;
993
- readonly customer: StringType;
994
- readonly due: OptionType<DateTimeType>;
995
- }>>, StructType<{
996
- status: VariantType<{
997
- readonly planned: NullType;
998
- readonly active: NullType;
999
- readonly done: NullType;
1000
- }>;
1001
- } & {
1002
- __interval: IntegerType;
1003
- } & {
1004
- start: OptionType<DateTimeType>;
1005
- }>, NullType, readonly ["status", "start"]> & {
1006
- interval: {
1007
- readonly from: "start";
1008
- readonly to: "end";
1009
- };
1010
- };
1011
- export declare const calendarJobsByMachineTime: import("@elaraai/e3").RecordIndexDef<"calendar_jobs_by_machine_time", DictType<StringType, StructType<{
1012
- readonly title: StringType;
1013
- readonly start: OptionType<DateTimeType>;
1014
- readonly end: OptionType<DateTimeType>;
1015
- readonly machine: OptionType<StringType>;
1016
- readonly status: VariantType<{
1017
- readonly planned: NullType;
1018
- readonly active: NullType;
1019
- readonly done: NullType;
1020
- }>;
1021
- readonly hours: FloatType;
1022
- readonly customer: StringType;
1023
- readonly due: OptionType<DateTimeType>;
1024
- }>>, StructType<{
1025
- machine: OptionType<StringType>;
1026
- } & {
1027
- __interval: IntegerType;
1028
- } & {
1029
- start: OptionType<DateTimeType>;
1030
- }>, NullType, readonly ["machine", "start"]> & {
1031
- interval: {
1032
- readonly from: "start";
1033
- readonly to: "end";
1034
- };
1035
- };
1036
- export declare const calendarServicesByTime: import("@elaraai/e3").RecordIndexDef<"calendar_services_by_time", DictType<StringType, StructType<{
1037
- readonly title: StringType;
1038
- readonly start: DateTimeType;
1039
- readonly end: DateTimeType;
1040
- readonly machine: StringType;
1041
- readonly technician: StringType;
1042
- readonly notes: StringType;
1043
- }>>, StructType<Record<never, never> & {
1044
- __interval: IntegerType;
1045
- } & {
1046
- start: DateTimeType;
1047
- }>, NullType, readonly ["start"]> & {
1048
- interval: {
1049
- readonly from: "start";
1050
- readonly to: "end";
1051
- };
1052
- };
1053
- export declare const calendarServicesByMachineTime: import("@elaraai/e3").RecordIndexDef<"calendar_services_by_machine_time", DictType<StringType, StructType<{
1054
- readonly title: StringType;
1055
- readonly start: DateTimeType;
1056
- readonly end: DateTimeType;
1057
- readonly machine: StringType;
1058
- readonly technician: StringType;
1059
- readonly notes: StringType;
1060
- }>>, StructType<{
1061
- machine: StringType;
1062
- } & {
1063
- __interval: IntegerType;
1064
- } & {
1065
- start: DateTimeType;
1066
- }>, NullType, readonly ["machine", "start"]> & {
1067
- interval: {
1068
- readonly from: "start";
1069
- readonly to: "end";
1070
- };
1071
- };
1072
- export declare const calendarShiftsByTime: import("@elaraai/e3").RecordIndexDef<"calendar_shifts_by_time", DictType<StringType, StructType<{
1073
- readonly title: StringType;
1074
- readonly start: DateTimeType;
1075
- readonly end: DateTimeType;
1076
- readonly person: StringType;
1077
- readonly notes: StringType;
1078
- }>>, StructType<Record<never, never> & {
1079
- __interval: IntegerType;
1080
- } & {
1081
- start: DateTimeType;
1082
- }>, NullType, readonly ["start"]> & {
1083
- interval: {
1084
- readonly from: "start";
1085
- readonly to: "end";
1086
- };
1087
- };
1088
- export declare const calendarShiftsByPersonTime: import("@elaraai/e3").RecordIndexDef<"calendar_shifts_by_person_time", DictType<StringType, StructType<{
1089
- readonly title: StringType;
1090
- readonly start: DateTimeType;
1091
- readonly end: DateTimeType;
1092
- readonly person: StringType;
1093
- readonly notes: StringType;
1094
- }>>, StructType<{
1095
- person: StringType;
1096
- } & {
1097
- __interval: IntegerType;
1098
- } & {
1099
- start: DateTimeType;
1100
- }>, NullType, readonly ["person", "start"]> & {
1101
- interval: {
1102
- readonly from: "start";
1103
- readonly to: "end";
1104
- };
1105
- };
1106
- export declare const calendarMachinesByArea: import("@elaraai/e3").RecordIndexDef<"calendar_machines_by_area", DictType<StringType, StructType<{
1107
- readonly name: StringType;
1108
- readonly area: StringType;
1109
- }>>, StringType, NullType, readonly ["area"]> & {
1110
- interval: undefined;
1111
- };
1112
- export declare const calendarPeopleByTeam: import("@elaraai/e3").RecordIndexDef<"calendar_people_by_team", DictType<StringType, StructType<{
1113
- readonly name: StringType;
1114
- readonly team: StringType;
1115
- }>>, StringType, NullType, readonly ["team"]> & {
1116
- interval: undefined;
1117
- };
1118
- export declare const calendarJobTemplatesByGroup: import("@elaraai/e3").RecordIndexDef<"calendar_job_templates_by_group", DictType<StringType, StructType<{
1070
+ }>>;
1071
+ }>]>;
1072
+ }, DictType<StringType, StructType<{
1119
1073
  readonly name: StringType;
1120
1074
  readonly group: StringType;
1121
1075
  readonly hours: FloatType;
@@ -1130,10 +1084,8 @@ export declare const calendarJobTemplatesByGroup: import("@elaraai/e3").RecordIn
1130
1084
  readonly customer: StringType;
1131
1085
  readonly due: OptionType<DateTimeType>;
1132
1086
  }>;
1133
- }>>, StringType, NullType, readonly ["group"]> & {
1134
- interval: undefined;
1135
- };
1136
- export declare const calendarServiceTemplatesByGroup: import("@elaraai/e3").RecordIndexDef<"calendar_service_templates_by_group", DictType<StringType, StructType<{
1087
+ }>>>>;
1088
+ export declare const calendarServiceTemplates: import("@elaraai/e3").RecordDef<DictType<StringType, StructType<{
1137
1089
  readonly name: StringType;
1138
1090
  readonly group: StringType;
1139
1091
  readonly hours: FloatType;
@@ -1142,10 +1094,28 @@ export declare const calendarServiceTemplatesByGroup: import("@elaraai/e3").Reco
1142
1094
  readonly technician: StringType;
1143
1095
  readonly notes: StringType;
1144
1096
  }>;
1145
- }>>, StringType, NullType, readonly ["group"]> & {
1146
- interval: undefined;
1147
- };
1148
- export declare const calendarShiftTemplatesByGroup: import("@elaraai/e3").RecordIndexDef<"calendar_shift_templates_by_group", DictType<StringType, StructType<{
1097
+ }>>, [variant<"field", "records">, variant<"field", "calendar_service_templates">], import("@elaraai/e3").IndexesOf<{
1098
+ calendar_service_templates_by_group: import("@elaraai/e3").IndexDraft<StringType, NullType, readonly ["group"], unknown>;
1099
+ }, DictType<StringType, StructType<{
1100
+ readonly name: StringType;
1101
+ readonly group: StringType;
1102
+ readonly hours: FloatType;
1103
+ readonly values: StructType<{
1104
+ readonly title: StringType;
1105
+ readonly technician: StringType;
1106
+ readonly notes: StringType;
1107
+ }>;
1108
+ }>>>, import("@elaraai/e3").MutationsOf<Record<never, never>, DictType<StringType, StructType<{
1109
+ readonly name: StringType;
1110
+ readonly group: StringType;
1111
+ readonly hours: FloatType;
1112
+ readonly values: StructType<{
1113
+ readonly title: StringType;
1114
+ readonly technician: StringType;
1115
+ readonly notes: StringType;
1116
+ }>;
1117
+ }>>>>;
1118
+ export declare const calendarShiftTemplates: import("@elaraai/e3").RecordDef<DictType<StringType, StructType<{
1149
1119
  readonly name: StringType;
1150
1120
  readonly group: StringType;
1151
1121
  readonly hour: IntegerType;
@@ -1153,15 +1123,120 @@ export declare const calendarShiftTemplatesByGroup: import("@elaraai/e3").Record
1153
1123
  readonly title: StringType;
1154
1124
  readonly notes: StringType;
1155
1125
  }>;
1156
- }>>, StringType, NullType, readonly ["group"]> & {
1157
- interval: undefined;
1158
- };
1126
+ }>>, [variant<"field", "records">, variant<"field", "calendar_shift_templates">], import("@elaraai/e3").IndexesOf<{
1127
+ calendar_shift_templates_by_group: import("@elaraai/e3").IndexDraft<StringType, NullType, readonly ["group"], unknown>;
1128
+ }, DictType<StringType, StructType<{
1129
+ readonly name: StringType;
1130
+ readonly group: StringType;
1131
+ readonly hour: IntegerType;
1132
+ readonly values: StructType<{
1133
+ readonly title: StringType;
1134
+ readonly notes: StringType;
1135
+ }>;
1136
+ }>>>, import("@elaraai/e3").MutationsOf<Record<never, never>, DictType<StringType, StructType<{
1137
+ readonly name: StringType;
1138
+ readonly group: StringType;
1139
+ readonly hour: IntegerType;
1140
+ readonly values: StructType<{
1141
+ readonly title: StringType;
1142
+ readonly notes: StringType;
1143
+ }>;
1144
+ }>>>>;
1159
1145
  export declare const calendarOperations: import("@elaraai/east").ExampleDef<[], any>;
1160
1146
  export declare const calendarMobile: import("@elaraai/east").ExampleDef<[], any>;
1161
1147
  export declare const calendarReadOnly: import("@elaraai/east").ExampleDef<[], any>;
1162
1148
  export declare const calendarMinimal: import("@elaraai/east").ExampleDef<[], any>;
1163
- /** Each job is indexed under every UTC day it touches, leaving an exact midnight end out. */
1164
- export declare const calendarJobsByDay: import("@elaraai/e3").RecordIndexDef<"calendar_jobs_by_day", DictType<StringType, StructType<{
1149
+ export declare const calendarWindowed: import("@elaraai/east").ExampleDef<[], any>;
1150
+ /** The smallest event record needs only its title and two instants. */
1151
+ export declare const CalendarAppointment: StructType<{
1152
+ readonly title: StringType;
1153
+ readonly start: DateTimeType;
1154
+ readonly end: DateTimeType;
1155
+ }>;
1156
+ export declare const calendarAppointments: import("@elaraai/e3").RecordDef<DictType<StringType, StructType<{
1157
+ readonly title: StringType;
1158
+ readonly start: DateTimeType;
1159
+ readonly end: DateTimeType;
1160
+ }>>, [variant<"field", "records">, variant<"field", "calendar_appointments">], import("@elaraai/e3").IndexesOf<Record<never, never>, DictType<StringType, StructType<{
1161
+ readonly title: StringType;
1162
+ readonly start: DateTimeType;
1163
+ readonly end: DateTimeType;
1164
+ }>>>, import("@elaraai/e3").MutationsOf<{
1165
+ patch: import("@elaraai/e3").MutationDraft<[VariantType<{
1166
+ unchanged: NullType;
1167
+ replace: StructType<{
1168
+ before: DictType<StringType, StructType<{
1169
+ readonly title: StringType;
1170
+ readonly start: DateTimeType;
1171
+ readonly end: DateTimeType;
1172
+ }>>;
1173
+ after: DictType<StringType, StructType<{
1174
+ readonly title: StringType;
1175
+ readonly start: DateTimeType;
1176
+ readonly end: DateTimeType;
1177
+ }>>;
1178
+ }>;
1179
+ patch: DictType<StringType, VariantType<{
1180
+ delete: StructType<{
1181
+ readonly title: StringType;
1182
+ readonly start: DateTimeType;
1183
+ readonly end: DateTimeType;
1184
+ }>;
1185
+ insert: StructType<{
1186
+ readonly title: StringType;
1187
+ readonly start: DateTimeType;
1188
+ readonly end: DateTimeType;
1189
+ }>;
1190
+ update: VariantType<{
1191
+ unchanged: NullType;
1192
+ replace: StructType<{
1193
+ before: StructType<{
1194
+ readonly title: StringType;
1195
+ readonly start: DateTimeType;
1196
+ readonly end: DateTimeType;
1197
+ }>;
1198
+ after: StructType<{
1199
+ readonly title: StringType;
1200
+ readonly start: DateTimeType;
1201
+ readonly end: DateTimeType;
1202
+ }>;
1203
+ }>;
1204
+ patch: StructType<{
1205
+ readonly title: VariantType<{
1206
+ unchanged: NullType;
1207
+ replace: StructType<{
1208
+ before: StringType;
1209
+ after: StringType;
1210
+ }>;
1211
+ }>;
1212
+ readonly start: VariantType<{
1213
+ unchanged: NullType;
1214
+ replace: StructType<{
1215
+ before: DateTimeType;
1216
+ after: DateTimeType;
1217
+ }>;
1218
+ }>;
1219
+ readonly end: VariantType<{
1220
+ unchanged: NullType;
1221
+ replace: StructType<{
1222
+ before: DateTimeType;
1223
+ after: DateTimeType;
1224
+ }>;
1225
+ }>;
1226
+ }>;
1227
+ }>;
1228
+ }>>;
1229
+ }>]>;
1230
+ }, DictType<StringType, StructType<{
1231
+ readonly title: StringType;
1232
+ readonly start: DateTimeType;
1233
+ readonly end: DateTimeType;
1234
+ }>>>>;
1235
+ export declare const calendarQuickstart: import("@elaraai/east").ExampleDef<[], any>;
1236
+ /** A custom inspector edits the complete typed row through the same session. */
1237
+ export declare const calendarCustomInspector: import("@elaraai/east").ExampleDef<[], any>;
1238
+ /** The jobs the conflicts example edits, in a record of their own, so no other example's edits meet them. */
1239
+ export declare const calendarConflictJobs: import("@elaraai/e3").RecordDef<DictType<StringType, StructType<{
1165
1240
  readonly title: StringType;
1166
1241
  readonly start: OptionType<DateTimeType>;
1167
1242
  readonly end: OptionType<DateTimeType>;
@@ -1174,11 +1249,7 @@ export declare const calendarJobsByDay: import("@elaraai/e3").RecordIndexDef<"ca
1174
1249
  readonly hours: FloatType;
1175
1250
  readonly customer: StringType;
1176
1251
  readonly due: OptionType<DateTimeType>;
1177
- }>>, DateTimeType, NullType, undefined> & {
1178
- interval: undefined;
1179
- };
1180
- /** The unscheduled rows are indexed by due date; they remain in the jobs record. */
1181
- export declare const calendarJobsUnscheduled: import("@elaraai/e3").RecordIndexDef<"calendar_jobs_unscheduled", DictType<StringType, StructType<{
1252
+ }>>, [variant<"field", "records">, variant<"field", "calendar_conflict_jobs">], import("@elaraai/e3").IndexesOf<Record<never, never>, DictType<StringType, StructType<{
1182
1253
  readonly title: StringType;
1183
1254
  readonly start: OptionType<DateTimeType>;
1184
1255
  readonly end: OptionType<DateTimeType>;
@@ -1191,91 +1262,277 @@ export declare const calendarJobsUnscheduled: import("@elaraai/e3").RecordIndexD
1191
1262
  readonly hours: FloatType;
1192
1263
  readonly customer: StringType;
1193
1264
  readonly due: OptionType<DateTimeType>;
1194
- }>>, OptionType<DateTimeType>, NullType, undefined> & {
1195
- interval: undefined;
1196
- };
1197
- export declare const calendarWindowed: import("@elaraai/east").ExampleDef<[], any>;
1198
- /** The smallest event record needs only its title and two instants. */
1199
- export declare const CalendarAppointment: StructType<{
1200
- readonly title: StringType;
1201
- readonly start: DateTimeType;
1202
- readonly end: DateTimeType;
1203
- }>;
1204
- export declare const calendarAppointments: import("@elaraai/e3").RecordDef<DictType<StringType, StructType<{
1205
- readonly title: StringType;
1206
- readonly start: DateTimeType;
1207
- readonly end: DateTimeType;
1208
- }>>, [variant<"field", "records">, variant<"field", "calendar_appointments">]>;
1209
- export declare const calendarAppointmentsPatch: import("@elaraai/e3").MutationDef<"patch", DictType<StringType, StructType<{
1210
- readonly title: StringType;
1211
- readonly start: DateTimeType;
1212
- readonly end: DateTimeType;
1213
- }>>, [VariantType<{
1214
- unchanged: NullType;
1215
- replace: StructType<{
1216
- before: DictType<StringType, StructType<{
1217
- readonly title: StringType;
1218
- readonly start: DateTimeType;
1219
- readonly end: DateTimeType;
1220
- }>>;
1221
- after: DictType<StringType, StructType<{
1222
- readonly title: StringType;
1223
- readonly start: DateTimeType;
1224
- readonly end: DateTimeType;
1225
- }>>;
1226
- }>;
1227
- patch: DictType<StringType, VariantType<{
1228
- delete: StructType<{
1229
- readonly title: StringType;
1230
- readonly start: DateTimeType;
1231
- readonly end: DateTimeType;
1232
- }>;
1233
- insert: StructType<{
1234
- readonly title: StringType;
1235
- readonly start: DateTimeType;
1236
- readonly end: DateTimeType;
1265
+ }>>>, import("@elaraai/e3").MutationsOf<{
1266
+ patch: import("@elaraai/e3").MutationDraft<[VariantType<{
1267
+ unchanged: NullType;
1268
+ replace: StructType<{
1269
+ before: DictType<StringType, StructType<{
1270
+ readonly title: StringType;
1271
+ readonly start: OptionType<DateTimeType>;
1272
+ readonly end: OptionType<DateTimeType>;
1273
+ readonly machine: OptionType<StringType>;
1274
+ readonly status: VariantType<{
1275
+ readonly planned: NullType;
1276
+ readonly active: NullType;
1277
+ readonly done: NullType;
1278
+ }>;
1279
+ readonly hours: FloatType;
1280
+ readonly customer: StringType;
1281
+ readonly due: OptionType<DateTimeType>;
1282
+ }>>;
1283
+ after: DictType<StringType, StructType<{
1284
+ readonly title: StringType;
1285
+ readonly start: OptionType<DateTimeType>;
1286
+ readonly end: OptionType<DateTimeType>;
1287
+ readonly machine: OptionType<StringType>;
1288
+ readonly status: VariantType<{
1289
+ readonly planned: NullType;
1290
+ readonly active: NullType;
1291
+ readonly done: NullType;
1292
+ }>;
1293
+ readonly hours: FloatType;
1294
+ readonly customer: StringType;
1295
+ readonly due: OptionType<DateTimeType>;
1296
+ }>>;
1237
1297
  }>;
1238
- update: VariantType<{
1239
- unchanged: NullType;
1240
- replace: StructType<{
1241
- before: StructType<{
1242
- readonly title: StringType;
1243
- readonly start: DateTimeType;
1244
- readonly end: DateTimeType;
1298
+ patch: DictType<StringType, VariantType<{
1299
+ delete: StructType<{
1300
+ readonly title: StringType;
1301
+ readonly start: OptionType<DateTimeType>;
1302
+ readonly end: OptionType<DateTimeType>;
1303
+ readonly machine: OptionType<StringType>;
1304
+ readonly status: VariantType<{
1305
+ readonly planned: NullType;
1306
+ readonly active: NullType;
1307
+ readonly done: NullType;
1245
1308
  }>;
1246
- after: StructType<{
1247
- readonly title: StringType;
1248
- readonly start: DateTimeType;
1249
- readonly end: DateTimeType;
1309
+ readonly hours: FloatType;
1310
+ readonly customer: StringType;
1311
+ readonly due: OptionType<DateTimeType>;
1312
+ }>;
1313
+ insert: StructType<{
1314
+ readonly title: StringType;
1315
+ readonly start: OptionType<DateTimeType>;
1316
+ readonly end: OptionType<DateTimeType>;
1317
+ readonly machine: OptionType<StringType>;
1318
+ readonly status: VariantType<{
1319
+ readonly planned: NullType;
1320
+ readonly active: NullType;
1321
+ readonly done: NullType;
1250
1322
  }>;
1323
+ readonly hours: FloatType;
1324
+ readonly customer: StringType;
1325
+ readonly due: OptionType<DateTimeType>;
1251
1326
  }>;
1252
- patch: StructType<{
1253
- readonly title: VariantType<{
1254
- unchanged: NullType;
1255
- replace: StructType<{
1256
- before: StringType;
1257
- after: StringType;
1327
+ update: VariantType<{
1328
+ unchanged: NullType;
1329
+ replace: StructType<{
1330
+ before: StructType<{
1331
+ readonly title: StringType;
1332
+ readonly start: OptionType<DateTimeType>;
1333
+ readonly end: OptionType<DateTimeType>;
1334
+ readonly machine: OptionType<StringType>;
1335
+ readonly status: VariantType<{
1336
+ readonly planned: NullType;
1337
+ readonly active: NullType;
1338
+ readonly done: NullType;
1339
+ }>;
1340
+ readonly hours: FloatType;
1341
+ readonly customer: StringType;
1342
+ readonly due: OptionType<DateTimeType>;
1258
1343
  }>;
1259
- }>;
1260
- readonly start: VariantType<{
1261
- unchanged: NullType;
1262
- replace: StructType<{
1263
- before: DateTimeType;
1264
- after: DateTimeType;
1344
+ after: StructType<{
1345
+ readonly title: StringType;
1346
+ readonly start: OptionType<DateTimeType>;
1347
+ readonly end: OptionType<DateTimeType>;
1348
+ readonly machine: OptionType<StringType>;
1349
+ readonly status: VariantType<{
1350
+ readonly planned: NullType;
1351
+ readonly active: NullType;
1352
+ readonly done: NullType;
1353
+ }>;
1354
+ readonly hours: FloatType;
1355
+ readonly customer: StringType;
1356
+ readonly due: OptionType<DateTimeType>;
1265
1357
  }>;
1266
1358
  }>;
1267
- readonly end: VariantType<{
1268
- unchanged: NullType;
1269
- replace: StructType<{
1270
- before: DateTimeType;
1271
- after: DateTimeType;
1359
+ patch: StructType<{
1360
+ readonly title: VariantType<{
1361
+ unchanged: NullType;
1362
+ replace: StructType<{
1363
+ before: StringType;
1364
+ after: StringType;
1365
+ }>;
1366
+ }>;
1367
+ readonly start: VariantType<{
1368
+ unchanged: NullType;
1369
+ replace: StructType<{
1370
+ before: OptionType<DateTimeType>;
1371
+ after: OptionType<DateTimeType>;
1372
+ }>;
1373
+ patch: VariantType<{
1374
+ none: VariantType<{
1375
+ unchanged: NullType;
1376
+ replace: StructType<{
1377
+ before: NullType;
1378
+ after: NullType;
1379
+ }>;
1380
+ }>;
1381
+ some: VariantType<{
1382
+ unchanged: NullType;
1383
+ replace: StructType<{
1384
+ before: DateTimeType;
1385
+ after: DateTimeType;
1386
+ }>;
1387
+ }>;
1388
+ }>;
1389
+ }>;
1390
+ readonly end: VariantType<{
1391
+ unchanged: NullType;
1392
+ replace: StructType<{
1393
+ before: OptionType<DateTimeType>;
1394
+ after: OptionType<DateTimeType>;
1395
+ }>;
1396
+ patch: VariantType<{
1397
+ none: VariantType<{
1398
+ unchanged: NullType;
1399
+ replace: StructType<{
1400
+ before: NullType;
1401
+ after: NullType;
1402
+ }>;
1403
+ }>;
1404
+ some: VariantType<{
1405
+ unchanged: NullType;
1406
+ replace: StructType<{
1407
+ before: DateTimeType;
1408
+ after: DateTimeType;
1409
+ }>;
1410
+ }>;
1411
+ }>;
1412
+ }>;
1413
+ readonly machine: VariantType<{
1414
+ unchanged: NullType;
1415
+ replace: StructType<{
1416
+ before: OptionType<StringType>;
1417
+ after: OptionType<StringType>;
1418
+ }>;
1419
+ patch: VariantType<{
1420
+ none: VariantType<{
1421
+ unchanged: NullType;
1422
+ replace: StructType<{
1423
+ before: NullType;
1424
+ after: NullType;
1425
+ }>;
1426
+ }>;
1427
+ some: VariantType<{
1428
+ unchanged: NullType;
1429
+ replace: StructType<{
1430
+ before: StringType;
1431
+ after: StringType;
1432
+ }>;
1433
+ }>;
1434
+ }>;
1435
+ }>;
1436
+ readonly status: VariantType<{
1437
+ unchanged: NullType;
1438
+ replace: StructType<{
1439
+ before: VariantType<{
1440
+ readonly planned: NullType;
1441
+ readonly active: NullType;
1442
+ readonly done: NullType;
1443
+ }>;
1444
+ after: VariantType<{
1445
+ readonly planned: NullType;
1446
+ readonly active: NullType;
1447
+ readonly done: NullType;
1448
+ }>;
1449
+ }>;
1450
+ patch: VariantType<{
1451
+ readonly planned: VariantType<{
1452
+ unchanged: NullType;
1453
+ replace: StructType<{
1454
+ before: NullType;
1455
+ after: NullType;
1456
+ }>;
1457
+ }>;
1458
+ readonly active: VariantType<{
1459
+ unchanged: NullType;
1460
+ replace: StructType<{
1461
+ before: NullType;
1462
+ after: NullType;
1463
+ }>;
1464
+ }>;
1465
+ readonly done: VariantType<{
1466
+ unchanged: NullType;
1467
+ replace: StructType<{
1468
+ before: NullType;
1469
+ after: NullType;
1470
+ }>;
1471
+ }>;
1472
+ }>;
1473
+ }>;
1474
+ readonly hours: VariantType<{
1475
+ unchanged: NullType;
1476
+ replace: StructType<{
1477
+ before: FloatType;
1478
+ after: FloatType;
1479
+ }>;
1480
+ }>;
1481
+ readonly customer: VariantType<{
1482
+ unchanged: NullType;
1483
+ replace: StructType<{
1484
+ before: StringType;
1485
+ after: StringType;
1486
+ }>;
1487
+ }>;
1488
+ readonly due: VariantType<{
1489
+ unchanged: NullType;
1490
+ replace: StructType<{
1491
+ before: OptionType<DateTimeType>;
1492
+ after: OptionType<DateTimeType>;
1493
+ }>;
1494
+ patch: VariantType<{
1495
+ none: VariantType<{
1496
+ unchanged: NullType;
1497
+ replace: StructType<{
1498
+ before: NullType;
1499
+ after: NullType;
1500
+ }>;
1501
+ }>;
1502
+ some: VariantType<{
1503
+ unchanged: NullType;
1504
+ replace: StructType<{
1505
+ before: DateTimeType;
1506
+ after: DateTimeType;
1507
+ }>;
1508
+ }>;
1509
+ }>;
1272
1510
  }>;
1273
1511
  }>;
1274
1512
  }>;
1275
- }>;
1276
- }>>;
1277
- }>]>;
1278
- export declare const calendarQuickstart: import("@elaraai/east").ExampleDef<[], any>;
1279
- /** A custom inspector edits the complete typed row through the same session. */
1280
- export declare const calendarCustomInspector: import("@elaraai/east").ExampleDef<[], any>;
1513
+ }>>;
1514
+ }>]>;
1515
+ elsewhere: import("@elaraai/e3").MutationDraft<[]>;
1516
+ }, DictType<StringType, StructType<{
1517
+ readonly title: StringType;
1518
+ readonly start: OptionType<DateTimeType>;
1519
+ readonly end: OptionType<DateTimeType>;
1520
+ readonly machine: OptionType<StringType>;
1521
+ readonly status: VariantType<{
1522
+ readonly planned: NullType;
1523
+ readonly active: NullType;
1524
+ readonly done: NullType;
1525
+ }>;
1526
+ readonly hours: FloatType;
1527
+ readonly customer: StringType;
1528
+ readonly due: OptionType<DateTimeType>;
1529
+ }>>>>;
1530
+ /**
1531
+ * Your edits meeting someone else's save, in one window: edit, then press
1532
+ * Someone else saves, which saves another person's change to the same jobs —
1533
+ * every job an hour later. A job you moved or resized too is a conflict, its
1534
+ * dates one card to choose; a customer or hours you changed in the panel
1535
+ * combines with theirs. Each press saves their change again.
1536
+ */
1537
+ export declare const calendarConflicts: import("@elaraai/east").ExampleDef<[], any>;
1281
1538
  //# sourceMappingURL=calendar.examples.d.ts.map