@rippling/rippling-sdk 0.2.0-alpha.83 → 0.2.0-alpha.85

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 (314) hide show
  1. package/examples/manifest/custom-object-creation-workflow/custom-object-creation-workflow.ts +44 -26
  2. package/examples/manifest/dental-practice-management/dental-practice-management.ts +470 -142
  3. package/examples/manifest/dental-practice-management/functions/chair-schedule.ts +23 -13
  4. package/examples/manifest/dental-practice-management/functions/complete-visit.ts +55 -32
  5. package/examples/manifest/dental-practice-management/functions/operatory-list.ts +23 -13
  6. package/examples/manifest/dental-practice-management/functions/patient-list.ts +23 -13
  7. package/examples/manifest/dental-practice-management/functions/treatment-plan-list.ts +23 -13
  8. package/examples/manifest/existing-manifest-mutations/existing-manifest-mutations.ts +23 -68
  9. package/examples/manifest/field-service-dispatch/field-service-dispatch.ts +375 -102
  10. package/examples/manifest/grant-program-management/grant-program-management.ts +419 -125
  11. package/examples/manifest/gym-membership-management/functions/check-in-desk.ts +23 -13
  12. package/examples/manifest/gym-membership-management/functions/member-list.ts +23 -13
  13. package/examples/manifest/gym-membership-management/functions/today-schedule.ts +23 -13
  14. package/examples/manifest/gym-membership-management/functions/trainer-list.ts +23 -13
  15. package/examples/manifest/gym-membership-management/gym-membership-management.ts +442 -92
  16. package/examples/manifest/procurement-approval-hub/procurement-approval-hub.ts +408 -122
  17. package/examples/manifest/simple-todo-app/functions/mark-done.ts +12 -16
  18. package/examples/manifest/simple-todo-app/functions/todo-list.ts +23 -13
  19. package/examples/manifest/simple-todo-app/simple-todo-app.ts +109 -40
  20. package/examples/manifest/todo-app-without-object-list-view/functions/todo-page.ts +193 -166
  21. package/examples/manifest/todo-app-without-object-list-view/todo-app-without-object-list-view.ts +47 -24
  22. package/package.json +13 -7
  23. package/resources/custom-objects/custom-objects.d.mts +0 -7
  24. package/resources/custom-objects/custom-objects.d.mts.map +1 -1
  25. package/resources/custom-objects/custom-objects.d.ts +0 -7
  26. package/resources/custom-objects/custom-objects.d.ts.map +1 -1
  27. package/resources/custom-objects/custom-objects.js.map +1 -1
  28. package/resources/custom-objects/custom-objects.mjs.map +1 -1
  29. package/resources/custom-objects/fields.d.mts +14 -128
  30. package/resources/custom-objects/fields.d.mts.map +1 -1
  31. package/resources/custom-objects/fields.d.ts +14 -128
  32. package/resources/custom-objects/fields.d.ts.map +1 -1
  33. package/src/resources/custom-objects/custom-objects.ts +0 -8
  34. package/src/resources/custom-objects/fields.ts +13 -191
  35. package/src/tsconfig.json +1 -1
  36. package/src/version.ts +1 -1
  37. package/version.d.mts +1 -1
  38. package/version.d.ts +1 -1
  39. package/version.js +1 -1
  40. package/version.mjs +1 -1
  41. package/core/platform/custom-objects/category.d.mts +0 -125
  42. package/core/platform/custom-objects/category.d.mts.map +0 -1
  43. package/core/platform/custom-objects/category.d.ts +0 -125
  44. package/core/platform/custom-objects/category.d.ts.map +0 -1
  45. package/core/platform/custom-objects/category.js +0 -188
  46. package/core/platform/custom-objects/category.js.map +0 -1
  47. package/core/platform/custom-objects/category.mjs +0 -178
  48. package/core/platform/custom-objects/category.mjs.map +0 -1
  49. package/core/platform/custom-objects/definition.d.mts +0 -147
  50. package/core/platform/custom-objects/definition.d.mts.map +0 -1
  51. package/core/platform/custom-objects/definition.d.ts +0 -147
  52. package/core/platform/custom-objects/definition.d.ts.map +0 -1
  53. package/core/platform/custom-objects/definition.js +0 -200
  54. package/core/platform/custom-objects/definition.js.map +0 -1
  55. package/core/platform/custom-objects/definition.mjs +0 -190
  56. package/core/platform/custom-objects/definition.mjs.map +0 -1
  57. package/core/platform/custom-objects/fields.d.mts +0 -302
  58. package/core/platform/custom-objects/fields.d.mts.map +0 -1
  59. package/core/platform/custom-objects/fields.d.ts +0 -302
  60. package/core/platform/custom-objects/fields.d.ts.map +0 -1
  61. package/core/platform/custom-objects/fields.js +0 -369
  62. package/core/platform/custom-objects/fields.js.map +0 -1
  63. package/core/platform/custom-objects/fields.mjs +0 -347
  64. package/core/platform/custom-objects/fields.mjs.map +0 -1
  65. package/core/platform/custom-objects/function-runtime.d.mts +0 -42
  66. package/core/platform/custom-objects/function-runtime.d.mts.map +0 -1
  67. package/core/platform/custom-objects/function-runtime.d.ts +0 -42
  68. package/core/platform/custom-objects/function-runtime.d.ts.map +0 -1
  69. package/core/platform/custom-objects/function-runtime.js +0 -38
  70. package/core/platform/custom-objects/function-runtime.js.map +0 -1
  71. package/core/platform/custom-objects/function-runtime.mjs +0 -35
  72. package/core/platform/custom-objects/function-runtime.mjs.map +0 -1
  73. package/core/platform/custom-objects/lifecycle.d.mts +0 -83
  74. package/core/platform/custom-objects/lifecycle.d.mts.map +0 -1
  75. package/core/platform/custom-objects/lifecycle.d.ts +0 -83
  76. package/core/platform/custom-objects/lifecycle.d.ts.map +0 -1
  77. package/core/platform/custom-objects/lifecycle.js +0 -372
  78. package/core/platform/custom-objects/lifecycle.js.map +0 -1
  79. package/core/platform/custom-objects/lifecycle.mjs +0 -367
  80. package/core/platform/custom-objects/lifecycle.mjs.map +0 -1
  81. package/core/platform/custom-objects/manager.d.mts +0 -354
  82. package/core/platform/custom-objects/manager.d.mts.map +0 -1
  83. package/core/platform/custom-objects/manager.d.ts +0 -354
  84. package/core/platform/custom-objects/manager.d.ts.map +0 -1
  85. package/core/platform/custom-objects/manager.js +0 -646
  86. package/core/platform/custom-objects/manager.js.map +0 -1
  87. package/core/platform/custom-objects/manager.mjs +0 -637
  88. package/core/platform/custom-objects/manager.mjs.map +0 -1
  89. package/core/platform/custom-objects/provisioning.d.mts +0 -138
  90. package/core/platform/custom-objects/provisioning.d.mts.map +0 -1
  91. package/core/platform/custom-objects/provisioning.d.ts +0 -138
  92. package/core/platform/custom-objects/provisioning.d.ts.map +0 -1
  93. package/core/platform/custom-objects/provisioning.js +0 -455
  94. package/core/platform/custom-objects/provisioning.js.map +0 -1
  95. package/core/platform/custom-objects/provisioning.mjs +0 -447
  96. package/core/platform/custom-objects/provisioning.mjs.map +0 -1
  97. package/core/platform/custom-objects/rql.d.mts +0 -122
  98. package/core/platform/custom-objects/rql.d.mts.map +0 -1
  99. package/core/platform/custom-objects/rql.d.ts +0 -122
  100. package/core/platform/custom-objects/rql.d.ts.map +0 -1
  101. package/core/platform/custom-objects/rql.js +0 -225
  102. package/core/platform/custom-objects/rql.js.map +0 -1
  103. package/core/platform/custom-objects/rql.mjs +0 -222
  104. package/core/platform/custom-objects/rql.mjs.map +0 -1
  105. package/core/platform/custom-objects/schema-manager.d.mts +0 -203
  106. package/core/platform/custom-objects/schema-manager.d.mts.map +0 -1
  107. package/core/platform/custom-objects/schema-manager.d.ts +0 -203
  108. package/core/platform/custom-objects/schema-manager.d.ts.map +0 -1
  109. package/core/platform/custom-objects/schema-manager.js +0 -256
  110. package/core/platform/custom-objects/schema-manager.js.map +0 -1
  111. package/core/platform/custom-objects/schema-manager.mjs +0 -249
  112. package/core/platform/custom-objects/schema-manager.mjs.map +0 -1
  113. package/core/platform/custom-objects/typed-rql.d.mts +0 -157
  114. package/core/platform/custom-objects/typed-rql.d.mts.map +0 -1
  115. package/core/platform/custom-objects/typed-rql.d.ts +0 -157
  116. package/core/platform/custom-objects/typed-rql.d.ts.map +0 -1
  117. package/core/platform/custom-objects/typed-rql.js +0 -583
  118. package/core/platform/custom-objects/typed-rql.js.map +0 -1
  119. package/core/platform/custom-objects/typed-rql.mjs +0 -580
  120. package/core/platform/custom-objects/typed-rql.mjs.map +0 -1
  121. package/core/platform/custom-objects/types.d.mts +0 -549
  122. package/core/platform/custom-objects/types.d.mts.map +0 -1
  123. package/core/platform/custom-objects/types.d.ts +0 -549
  124. package/core/platform/custom-objects/types.d.ts.map +0 -1
  125. package/core/platform/custom-objects/types.js +0 -20
  126. package/core/platform/custom-objects/types.js.map +0 -1
  127. package/core/platform/custom-objects/types.mjs +0 -17
  128. package/core/platform/custom-objects/types.mjs.map +0 -1
  129. package/core/platform/custom-objects/validation.d.mts +0 -97
  130. package/core/platform/custom-objects/validation.d.mts.map +0 -1
  131. package/core/platform/custom-objects/validation.d.ts +0 -97
  132. package/core/platform/custom-objects/validation.d.ts.map +0 -1
  133. package/core/platform/custom-objects/validation.js +0 -477
  134. package/core/platform/custom-objects/validation.js.map +0 -1
  135. package/core/platform/custom-objects/validation.mjs +0 -465
  136. package/core/platform/custom-objects/validation.mjs.map +0 -1
  137. package/core/platform/custom-objects.d.mts +0 -67
  138. package/core/platform/custom-objects.d.mts.map +0 -1
  139. package/core/platform/custom-objects.d.ts +0 -67
  140. package/core/platform/custom-objects.d.ts.map +0 -1
  141. package/core/platform/custom-objects.js +0 -118
  142. package/core/platform/custom-objects.js.map +0 -1
  143. package/core/platform/custom-objects.mjs +0 -45
  144. package/core/platform/custom-objects.mjs.map +0 -1
  145. package/core/platform/manifest/custom-objects/action.d.mts +0 -58
  146. package/core/platform/manifest/custom-objects/action.d.mts.map +0 -1
  147. package/core/platform/manifest/custom-objects/action.d.ts +0 -58
  148. package/core/platform/manifest/custom-objects/action.d.ts.map +0 -1
  149. package/core/platform/manifest/custom-objects/action.js +0 -44
  150. package/core/platform/manifest/custom-objects/action.js.map +0 -1
  151. package/core/platform/manifest/custom-objects/action.mjs +0 -40
  152. package/core/platform/manifest/custom-objects/action.mjs.map +0 -1
  153. package/core/platform/manifest/custom-objects/conditions.d.mts +0 -240
  154. package/core/platform/manifest/custom-objects/conditions.d.mts.map +0 -1
  155. package/core/platform/manifest/custom-objects/conditions.d.ts +0 -240
  156. package/core/platform/manifest/custom-objects/conditions.d.ts.map +0 -1
  157. package/core/platform/manifest/custom-objects/conditions.js +0 -326
  158. package/core/platform/manifest/custom-objects/conditions.js.map +0 -1
  159. package/core/platform/manifest/custom-objects/conditions.mjs +0 -321
  160. package/core/platform/manifest/custom-objects/conditions.mjs.map +0 -1
  161. package/core/platform/manifest/custom-objects/existing.d.mts +0 -87
  162. package/core/platform/manifest/custom-objects/existing.d.mts.map +0 -1
  163. package/core/platform/manifest/custom-objects/existing.d.ts +0 -87
  164. package/core/platform/manifest/custom-objects/existing.d.ts.map +0 -1
  165. package/core/platform/manifest/custom-objects/existing.js +0 -113
  166. package/core/platform/manifest/custom-objects/existing.js.map +0 -1
  167. package/core/platform/manifest/custom-objects/existing.mjs +0 -109
  168. package/core/platform/manifest/custom-objects/existing.mjs.map +0 -1
  169. package/core/platform/manifest/custom-objects/field-resolution.d.mts +0 -48
  170. package/core/platform/manifest/custom-objects/field-resolution.d.mts.map +0 -1
  171. package/core/platform/manifest/custom-objects/field-resolution.d.ts +0 -48
  172. package/core/platform/manifest/custom-objects/field-resolution.d.ts.map +0 -1
  173. package/core/platform/manifest/custom-objects/field-resolution.js +0 -61
  174. package/core/platform/manifest/custom-objects/field-resolution.js.map +0 -1
  175. package/core/platform/manifest/custom-objects/field-resolution.mjs +0 -58
  176. package/core/platform/manifest/custom-objects/field-resolution.mjs.map +0 -1
  177. package/core/platform/manifest/custom-objects/function-file.d.mts +0 -87
  178. package/core/platform/manifest/custom-objects/function-file.d.mts.map +0 -1
  179. package/core/platform/manifest/custom-objects/function-file.d.ts +0 -87
  180. package/core/platform/manifest/custom-objects/function-file.d.ts.map +0 -1
  181. package/core/platform/manifest/custom-objects/function-file.js +0 -76
  182. package/core/platform/manifest/custom-objects/function-file.js.map +0 -1
  183. package/core/platform/manifest/custom-objects/function-file.mjs +0 -69
  184. package/core/platform/manifest/custom-objects/function-file.mjs.map +0 -1
  185. package/core/platform/manifest/custom-objects/list-view.d.mts +0 -65
  186. package/core/platform/manifest/custom-objects/list-view.d.mts.map +0 -1
  187. package/core/platform/manifest/custom-objects/list-view.d.ts +0 -65
  188. package/core/platform/manifest/custom-objects/list-view.d.ts.map +0 -1
  189. package/core/platform/manifest/custom-objects/list-view.js +0 -33
  190. package/core/platform/manifest/custom-objects/list-view.js.map +0 -1
  191. package/core/platform/manifest/custom-objects/list-view.mjs +0 -30
  192. package/core/platform/manifest/custom-objects/list-view.mjs.map +0 -1
  193. package/core/platform/manifest/custom-objects/object-list-page.d.mts +0 -43
  194. package/core/platform/manifest/custom-objects/object-list-page.d.mts.map +0 -1
  195. package/core/platform/manifest/custom-objects/object-list-page.d.ts +0 -43
  196. package/core/platform/manifest/custom-objects/object-list-page.d.ts.map +0 -1
  197. package/core/platform/manifest/custom-objects/object-list-page.js +0 -54
  198. package/core/platform/manifest/custom-objects/object-list-page.js.map +0 -1
  199. package/core/platform/manifest/custom-objects/object-list-page.mjs +0 -50
  200. package/core/platform/manifest/custom-objects/object-list-page.mjs.map +0 -1
  201. package/core/platform/manifest/custom-objects/page-layout.d.mts +0 -142
  202. package/core/platform/manifest/custom-objects/page-layout.d.mts.map +0 -1
  203. package/core/platform/manifest/custom-objects/page-layout.d.ts +0 -142
  204. package/core/platform/manifest/custom-objects/page-layout.d.ts.map +0 -1
  205. package/core/platform/manifest/custom-objects/page-layout.js +0 -184
  206. package/core/platform/manifest/custom-objects/page-layout.js.map +0 -1
  207. package/core/platform/manifest/custom-objects/page-layout.mjs +0 -180
  208. package/core/platform/manifest/custom-objects/page-layout.mjs.map +0 -1
  209. package/core/platform/manifest/custom-objects/register.d.mts +0 -87
  210. package/core/platform/manifest/custom-objects/register.d.mts.map +0 -1
  211. package/core/platform/manifest/custom-objects/register.d.ts +0 -87
  212. package/core/platform/manifest/custom-objects/register.d.ts.map +0 -1
  213. package/core/platform/manifest/custom-objects/register.js +0 -395
  214. package/core/platform/manifest/custom-objects/register.js.map +0 -1
  215. package/core/platform/manifest/custom-objects/register.mjs +0 -391
  216. package/core/platform/manifest/custom-objects/register.mjs.map +0 -1
  217. package/core/platform/manifest/custom-objects/rule.d.mts +0 -113
  218. package/core/platform/manifest/custom-objects/rule.d.mts.map +0 -1
  219. package/core/platform/manifest/custom-objects/rule.d.ts +0 -113
  220. package/core/platform/manifest/custom-objects/rule.d.ts.map +0 -1
  221. package/core/platform/manifest/custom-objects/rule.js +0 -49
  222. package/core/platform/manifest/custom-objects/rule.js.map +0 -1
  223. package/core/platform/manifest/custom-objects/rule.mjs +0 -45
  224. package/core/platform/manifest/custom-objects/rule.mjs.map +0 -1
  225. package/core/platform/manifest/custom-objects/sdui-page.d.mts +0 -214
  226. package/core/platform/manifest/custom-objects/sdui-page.d.mts.map +0 -1
  227. package/core/platform/manifest/custom-objects/sdui-page.d.ts +0 -214
  228. package/core/platform/manifest/custom-objects/sdui-page.d.ts.map +0 -1
  229. package/core/platform/manifest/custom-objects/sdui-page.js +0 -194
  230. package/core/platform/manifest/custom-objects/sdui-page.js.map +0 -1
  231. package/core/platform/manifest/custom-objects/sdui-page.mjs +0 -182
  232. package/core/platform/manifest/custom-objects/sdui-page.mjs.map +0 -1
  233. package/core/platform/manifest/custom-objects/typed-condition.d.mts +0 -28
  234. package/core/platform/manifest/custom-objects/typed-condition.d.mts.map +0 -1
  235. package/core/platform/manifest/custom-objects/typed-condition.d.ts +0 -28
  236. package/core/platform/manifest/custom-objects/typed-condition.d.ts.map +0 -1
  237. package/core/platform/manifest/custom-objects/typed-condition.js +0 -434
  238. package/core/platform/manifest/custom-objects/typed-condition.js.map +0 -1
  239. package/core/platform/manifest/custom-objects/typed-condition.mjs +0 -431
  240. package/core/platform/manifest/custom-objects/typed-condition.mjs.map +0 -1
  241. package/core/platform/manifest/custom-objects/types.d.mts +0 -29
  242. package/core/platform/manifest/custom-objects/types.d.mts.map +0 -1
  243. package/core/platform/manifest/custom-objects/types.d.ts +0 -29
  244. package/core/platform/manifest/custom-objects/types.d.ts.map +0 -1
  245. package/core/platform/manifest/custom-objects/types.js +0 -3
  246. package/core/platform/manifest/custom-objects/types.js.map +0 -1
  247. package/core/platform/manifest/custom-objects/types.mjs +0 -2
  248. package/core/platform/manifest/custom-objects/types.mjs.map +0 -1
  249. package/core/platform/manifest/custom-objects/validation.d.mts +0 -44
  250. package/core/platform/manifest/custom-objects/validation.d.mts.map +0 -1
  251. package/core/platform/manifest/custom-objects/validation.d.ts +0 -44
  252. package/core/platform/manifest/custom-objects/validation.d.ts.map +0 -1
  253. package/core/platform/manifest/custom-objects/validation.js +0 -30
  254. package/core/platform/manifest/custom-objects/validation.js.map +0 -1
  255. package/core/platform/manifest/custom-objects/validation.mjs +0 -27
  256. package/core/platform/manifest/custom-objects/validation.mjs.map +0 -1
  257. package/core/platform/manifest/custom-objects/workflow.d.mts +0 -47
  258. package/core/platform/manifest/custom-objects/workflow.d.mts.map +0 -1
  259. package/core/platform/manifest/custom-objects/workflow.d.ts +0 -47
  260. package/core/platform/manifest/custom-objects/workflow.d.ts.map +0 -1
  261. package/core/platform/manifest/custom-objects/workflow.js +0 -38
  262. package/core/platform/manifest/custom-objects/workflow.js.map +0 -1
  263. package/core/platform/manifest/custom-objects/workflow.mjs +0 -34
  264. package/core/platform/manifest/custom-objects/workflow.mjs.map +0 -1
  265. package/core/platform/manifest/custom-objects.d.mts +0 -85
  266. package/core/platform/manifest/custom-objects.d.mts.map +0 -1
  267. package/core/platform/manifest/custom-objects.d.ts +0 -85
  268. package/core/platform/manifest/custom-objects.d.ts.map +0 -1
  269. package/core/platform/manifest/custom-objects.js +0 -84
  270. package/core/platform/manifest/custom-objects.js.map +0 -1
  271. package/core/platform/manifest/custom-objects.mjs +0 -55
  272. package/core/platform/manifest/custom-objects.mjs.map +0 -1
  273. package/examples/manifest/custom-object-creation-workflow/functions/intake-request-created.ts +0 -20
  274. package/examples/manifest/custom-object-creation-workflow/schema.ts +0 -29
  275. package/examples/manifest/dental-practice-management/schema.ts +0 -298
  276. package/examples/manifest/field-service-dispatch/schema.ts +0 -248
  277. package/examples/manifest/grant-program-management/schema.ts +0 -269
  278. package/examples/manifest/gym-membership-management/schema.ts +0 -266
  279. package/examples/manifest/procurement-approval-hub/functions/route-purchase-request.ts +0 -20
  280. package/examples/manifest/procurement-approval-hub/schema.ts +0 -256
  281. package/examples/manifest/simple-todo-app/schema.ts +0 -60
  282. package/examples/manifest/todo-app-without-object-list-view/schema.ts +0 -28
  283. package/src/core/platform/README.md +0 -20
  284. package/src/core/platform/custom-objects/category.ts +0 -294
  285. package/src/core/platform/custom-objects/definition.ts +0 -373
  286. package/src/core/platform/custom-objects/fields.ts +0 -653
  287. package/src/core/platform/custom-objects/function-runtime.ts +0 -76
  288. package/src/core/platform/custom-objects/lifecycle.ts +0 -557
  289. package/src/core/platform/custom-objects/manager.ts +0 -959
  290. package/src/core/platform/custom-objects/provisioning.ts +0 -672
  291. package/src/core/platform/custom-objects/rql.ts +0 -375
  292. package/src/core/platform/custom-objects/schema-manager.ts +0 -351
  293. package/src/core/platform/custom-objects/typed-rql.ts +0 -1273
  294. package/src/core/platform/custom-objects/types.ts +0 -753
  295. package/src/core/platform/custom-objects/validation.ts +0 -573
  296. package/src/core/platform/custom-objects.ts +0 -269
  297. package/src/core/platform/manifest/README.md +0 -26
  298. package/src/core/platform/manifest/custom-objects/action.ts +0 -87
  299. package/src/core/platform/manifest/custom-objects/conditions.ts +0 -762
  300. package/src/core/platform/manifest/custom-objects/existing.ts +0 -221
  301. package/src/core/platform/manifest/custom-objects/field-resolution.ts +0 -116
  302. package/src/core/platform/manifest/custom-objects/function-file.ts +0 -149
  303. package/src/core/platform/manifest/custom-objects/list-view.ts +0 -95
  304. package/src/core/platform/manifest/custom-objects/object-list-page.ts +0 -87
  305. package/src/core/platform/manifest/custom-objects/page-layout.ts +0 -380
  306. package/src/core/platform/manifest/custom-objects/register.ts +0 -555
  307. package/src/core/platform/manifest/custom-objects/rule.ts +0 -192
  308. package/src/core/platform/manifest/custom-objects/sdui-page.ts +0 -515
  309. package/src/core/platform/manifest/custom-objects/typed-condition.ts +0 -617
  310. package/src/core/platform/manifest/custom-objects/types.ts +0 -92
  311. package/src/core/platform/manifest/custom-objects/validation.ts +0 -70
  312. package/src/core/platform/manifest/custom-objects/workflow.ts +0 -71
  313. package/src/core/platform/manifest/custom-objects.ts +0 -203
  314. package/src/pebble-sdui-web-custom-apps-shim.d.ts +0 -3
@@ -1 +0,0 @@
1
- {"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../../src/core/platform/manifest/custom-objects/validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,oCAAiC;AAC5E,OAAO,KAAK,EAAE,yBAAyB,EAAE,sCAAmC;AAC5E,OAAO,KAAK,EAAE,uBAAuB,EAAE,8BAA2B;AAElE,OAAO,KAAK,EAAE,oBAAoB,EAAE,mBAAgB;AACpD,OAAO,KAAK,EAAE,sBAAsB,EAAE,wBAAqB;AAG3D;;;;GAIG;AACH,KAAK,wBAAwB,CAAC,WAAW,SAAS,yBAAyB,IAAI,IAAI,CACjF,eAAe,EACf,YAAY,GAAG,UAAU,GAAG,OAAO,CACpC,GAAG;IACF,iFAAiF;IACjF,QAAQ,CAAC,WAAW,EAAE,sBAAsB,CAAC,WAAW,CAAC,CAAC;CAC3D,CAAC;AAEF;;;;;;;;GAQG;AACH,MAAM,MAAM,oBAAoB,CAAC,WAAW,SAAS,yBAAyB,IAC1E,CAAC,wBAAwB,CAAC,WAAW,CAAC,GAAG;IACvC,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;IACxB,gFAAgF;IAChF,QAAQ,CAAC,KAAK,EAAE,uBAAuB,CAAC,WAAW,CAAC,CAAC;CACtD,CAAC,GACF,CAAC,wBAAwB,CAAC,WAAW,CAAC,GAAG;IACvC,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC;IACzB,kEAAkE;IAClE,QAAQ,CAAC,KAAK,CAAC,EAAE,KAAK,CAAC;CACxB,CAAC,CAAC;AAEP;;;;;;;;GAQG;AACH,wBAAgB,qBAAqB,CAAC,WAAW,SAAS,yBAAyB,EACjF,YAAY,EAAE,oBAAoB,CAAC,WAAW,CAAC,EAC/C,KAAK,EAAE,oBAAoB,CAAC,WAAW,CAAC,GACvC,UAAU,CAeZ"}
@@ -1,30 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.defineTypedValidation = defineTypedValidation;
4
- const manifest_1 = require("../../../../lib/manifest.js");
5
- const field_resolution_1 = require("./field-resolution.js");
6
- const conditions_1 = require("./conditions.js");
7
- /**
8
- * Defines a validation rule using typed field names and manifest-condition fragments.
9
- *
10
- * @param registration - Manifest registration produced from the typed object definition.
11
- * @param props - Typed validation properties.
12
- * @returns Low-level validation manifest instance.
13
- * @throws {Error} When `level` is `'FIELD'` but no `field` is provided, or when `field` is provided for a record-level validation.
14
- * @typeParam TDefinition - Typed custom-object definition whose field namespace should be enforced.
15
- */
16
- function defineTypedValidation(registration, props) {
17
- const { whenInvalid, field, ...rest } = props;
18
- if (rest.level === 'FIELD' && field == null) {
19
- throw new Error('defineTypedValidation(...): field is required when level is FIELD.');
20
- }
21
- if (rest.level === 'RECORD' && field != null) {
22
- throw new Error('defineTypedValidation(...): field must be omitted when level is RECORD.');
23
- }
24
- return new manifest_1.Validation(registration.object, {
25
- ...rest,
26
- rqlFormula: (0, conditions_1.resolveManifestConditionInput)(registration, whenInvalid),
27
- ...(field != null ? { fieldRef: (0, field_resolution_1.resolveTypedManifestField)(registration, field) } : {}),
28
- });
29
- }
30
- //# sourceMappingURL=validation.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"validation.js","sourceRoot":"","sources":["../../../../src/core/platform/manifest/custom-objects/validation.ts"],"names":[],"mappings":";;AAmDA,sDAkBC;AArED,0DAA4E;AAG5E,4DAA+D;AAG/D,gDAA6D;AAoC7D;;;;;;;;GAQG;AACH,SAAgB,qBAAqB,CACnC,YAA+C,EAC/C,KAAwC;IAExC,MAAM,EAAE,WAAW,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,CAAC;IAE9C,IAAI,IAAI,CAAC,KAAK,KAAK,OAAO,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAC5C,MAAM,IAAI,KAAK,CAAC,oEAAoE,CAAC,CAAC;IACxF,CAAC;IACD,IAAI,IAAI,CAAC,KAAK,KAAK,QAAQ,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAC7C,MAAM,IAAI,KAAK,CAAC,yEAAyE,CAAC,CAAC;IAC7F,CAAC;IAED,OAAO,IAAI,qBAAU,CAAC,YAAY,CAAC,MAAM,EAAE;QACzC,GAAG,IAAI;QACP,UAAU,EAAE,IAAA,0CAA6B,EAAC,YAAY,EAAE,WAAW,CAAC;QACpE,GAAG,CAAC,KAAK,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,IAAA,4CAAyB,EAAC,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;KACvF,CAAC,CAAC;AACL,CAAC"}
@@ -1,27 +0,0 @@
1
- import { Validation } from "../../../../lib/manifest.mjs";
2
- import { resolveTypedManifestField } from "./field-resolution.mjs";
3
- import { resolveManifestConditionInput } from "./conditions.mjs";
4
- /**
5
- * Defines a validation rule using typed field names and manifest-condition fragments.
6
- *
7
- * @param registration - Manifest registration produced from the typed object definition.
8
- * @param props - Typed validation properties.
9
- * @returns Low-level validation manifest instance.
10
- * @throws {Error} When `level` is `'FIELD'` but no `field` is provided, or when `field` is provided for a record-level validation.
11
- * @typeParam TDefinition - Typed custom-object definition whose field namespace should be enforced.
12
- */
13
- export function defineTypedValidation(registration, props) {
14
- const { whenInvalid, field, ...rest } = props;
15
- if (rest.level === 'FIELD' && field == null) {
16
- throw new Error('defineTypedValidation(...): field is required when level is FIELD.');
17
- }
18
- if (rest.level === 'RECORD' && field != null) {
19
- throw new Error('defineTypedValidation(...): field must be omitted when level is RECORD.');
20
- }
21
- return new Validation(registration.object, {
22
- ...rest,
23
- rqlFormula: resolveManifestConditionInput(registration, whenInvalid),
24
- ...(field != null ? { fieldRef: resolveTypedManifestField(registration, field) } : {}),
25
- });
26
- }
27
- //# sourceMappingURL=validation.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"validation.mjs","sourceRoot":"","sources":["../../../../src/core/platform/manifest/custom-objects/validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAwB,qCAAiC;AAG5E,OAAO,EAAE,yBAAyB,EAAE,+BAA2B;AAG/D,OAAO,EAAE,6BAA6B,EAAE,yBAAqB;AAoC7D;;;;;;;;GAQG;AACH,MAAM,UAAU,qBAAqB,CACnC,YAA+C,EAC/C,KAAwC;IAExC,MAAM,EAAE,WAAW,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,CAAC;IAE9C,IAAI,IAAI,CAAC,KAAK,KAAK,OAAO,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAC5C,MAAM,IAAI,KAAK,CAAC,oEAAoE,CAAC,CAAC;IACxF,CAAC;IACD,IAAI,IAAI,CAAC,KAAK,KAAK,QAAQ,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAC7C,MAAM,IAAI,KAAK,CAAC,yEAAyE,CAAC,CAAC;IAC7F,CAAC;IAED,OAAO,IAAI,UAAU,CAAC,YAAY,CAAC,MAAM,EAAE;QACzC,GAAG,IAAI;QACP,UAAU,EAAE,6BAA6B,CAAC,YAAY,EAAE,WAAW,CAAC;QACpE,GAAG,CAAC,KAAK,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,yBAAyB,CAAC,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;KACvF,CAAC,CAAC;AACL,CAAC"}
@@ -1,47 +0,0 @@
1
- import { Workflow, type WorkflowProps } from "../../../../lib/manifest.mjs";
2
- import type { ManifestScope } from "../../../../lib/manifest/manifest-builder.mjs";
3
- import type { WorkflowTrigger } from "../../../../lib/manifest/workflow.mjs";
4
- import type { AnyCustomObjectDefinition } from "../../custom-objects/types.mjs";
5
- import type { TypedCustomObjectLifecycleTriggerBuilder } from "./conditions.mjs";
6
- /**
7
- * Workflow-trigger inputs accepted by {@link defineTypedWorkflow}.
8
- *
9
- * @typeParam TDefinition - Typed custom-object definition carried by lifecycle-trigger builders.
10
- */
11
- export type TypedWorkflowTriggerInput<TDefinition extends AnyCustomObjectDefinition = AnyCustomObjectDefinition> = WorkflowTrigger | TypedCustomObjectLifecycleTriggerBuilder<TDefinition, any>;
12
- /**
13
- * Initialization properties for {@link defineTypedWorkflow}.
14
- *
15
- * The helper keeps the low-level workflow manifest class intact while allowing
16
- * typed custom-object lifecycle builders to flow directly into the final
17
- * workflow authoring step.
18
- *
19
- * @typeParam TDefinition - Typed custom-object definition carried by lifecycle-trigger builders.
20
- */
21
- export interface TypedWorkflowProps<TDefinition extends AnyCustomObjectDefinition = AnyCustomObjectDefinition> extends Omit<WorkflowProps, 'trigger'> {
22
- /** Workflow trigger authored either as a low-level trigger object or a typed lifecycle builder. */
23
- readonly trigger: TypedWorkflowTriggerInput<TDefinition>;
24
- }
25
- /**
26
- * Resolves a typed workflow-trigger input into the low-level manifest trigger shape.
27
- *
28
- * @param trigger - Workflow trigger input to resolve.
29
- * @returns Low-level workflow trigger consumed by {@link Workflow}.
30
- * @typeParam TDefinition - Typed custom-object definition carried by lifecycle-trigger builders.
31
- */
32
- export declare function resolveTypedWorkflowTrigger<TDefinition extends AnyCustomObjectDefinition>(trigger: TypedWorkflowTriggerInput<TDefinition>): WorkflowTrigger;
33
- /**
34
- * Defines a workflow while accepting typed custom-object lifecycle trigger builders.
35
- *
36
- * Prefer {@link defineTypedWorkflowFromFunctionFile} for the common colocated-
37
- * handler path. Use this lower-level explicit form when the backing function is
38
- * already defined separately or when the caller wants to pass a fully built
39
- * low-level trigger object.
40
- *
41
- * @param scope - Manifest scope that should own the workflow.
42
- * @param props - Workflow properties with a typed or low-level trigger.
43
- * @returns Low-level workflow manifest instance.
44
- * @typeParam TDefinition - Typed custom-object definition carried by lifecycle-trigger builders.
45
- */
46
- export declare function defineTypedWorkflow<TDefinition extends AnyCustomObjectDefinition>(scope: ManifestScope, props: TypedWorkflowProps<TDefinition>): Workflow;
47
- //# sourceMappingURL=workflow.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"workflow.d.mts","sourceRoot":"","sources":["../../../../src/core/platform/manifest/custom-objects/workflow.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,qCAAiC;AACxE,OAAO,KAAK,EAAE,aAAa,EAAE,sDAAkD;AAC/E,OAAO,KAAK,EAAE,eAAe,EAAE,8CAA0C;AACzE,OAAO,KAAK,EAAE,yBAAyB,EAAE,uCAAmC;AAC5E,OAAO,KAAK,EAAE,wCAAwC,EAAE,yBAAqB;AAE7E;;;;GAIG;AACH,MAAM,MAAM,yBAAyB,CACnC,WAAW,SAAS,yBAAyB,GAAG,yBAAyB,IACvE,eAAe,GAAG,wCAAwC,CAAC,WAAW,EAAE,GAAG,CAAC,CAAC;AAEjF;;;;;;;;GAQG;AACH,MAAM,WAAW,kBAAkB,CAAC,WAAW,SAAS,yBAAyB,GAAG,yBAAyB,CAC3G,SAAQ,IAAI,CAAC,aAAa,EAAE,SAAS,CAAC;IACtC,mGAAmG;IACnG,QAAQ,CAAC,OAAO,EAAE,yBAAyB,CAAC,WAAW,CAAC,CAAC;CAC1D;AAQD;;;;;;GAMG;AACH,wBAAgB,2BAA2B,CAAC,WAAW,SAAS,yBAAyB,EACvF,OAAO,EAAE,yBAAyB,CAAC,WAAW,CAAC,GAC9C,eAAe,CAEjB;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,mBAAmB,CAAC,WAAW,SAAS,yBAAyB,EAC/E,KAAK,EAAE,aAAa,EACpB,KAAK,EAAE,kBAAkB,CAAC,WAAW,CAAC,GACrC,QAAQ,CAKV"}
@@ -1,47 +0,0 @@
1
- import { Workflow, type WorkflowProps } from "../../../../lib/manifest.js";
2
- import type { ManifestScope } from "../../../../lib/manifest/manifest-builder.js";
3
- import type { WorkflowTrigger } from "../../../../lib/manifest/workflow.js";
4
- import type { AnyCustomObjectDefinition } from "../../custom-objects/types.js";
5
- import type { TypedCustomObjectLifecycleTriggerBuilder } from "./conditions.js";
6
- /**
7
- * Workflow-trigger inputs accepted by {@link defineTypedWorkflow}.
8
- *
9
- * @typeParam TDefinition - Typed custom-object definition carried by lifecycle-trigger builders.
10
- */
11
- export type TypedWorkflowTriggerInput<TDefinition extends AnyCustomObjectDefinition = AnyCustomObjectDefinition> = WorkflowTrigger | TypedCustomObjectLifecycleTriggerBuilder<TDefinition, any>;
12
- /**
13
- * Initialization properties for {@link defineTypedWorkflow}.
14
- *
15
- * The helper keeps the low-level workflow manifest class intact while allowing
16
- * typed custom-object lifecycle builders to flow directly into the final
17
- * workflow authoring step.
18
- *
19
- * @typeParam TDefinition - Typed custom-object definition carried by lifecycle-trigger builders.
20
- */
21
- export interface TypedWorkflowProps<TDefinition extends AnyCustomObjectDefinition = AnyCustomObjectDefinition> extends Omit<WorkflowProps, 'trigger'> {
22
- /** Workflow trigger authored either as a low-level trigger object or a typed lifecycle builder. */
23
- readonly trigger: TypedWorkflowTriggerInput<TDefinition>;
24
- }
25
- /**
26
- * Resolves a typed workflow-trigger input into the low-level manifest trigger shape.
27
- *
28
- * @param trigger - Workflow trigger input to resolve.
29
- * @returns Low-level workflow trigger consumed by {@link Workflow}.
30
- * @typeParam TDefinition - Typed custom-object definition carried by lifecycle-trigger builders.
31
- */
32
- export declare function resolveTypedWorkflowTrigger<TDefinition extends AnyCustomObjectDefinition>(trigger: TypedWorkflowTriggerInput<TDefinition>): WorkflowTrigger;
33
- /**
34
- * Defines a workflow while accepting typed custom-object lifecycle trigger builders.
35
- *
36
- * Prefer {@link defineTypedWorkflowFromFunctionFile} for the common colocated-
37
- * handler path. Use this lower-level explicit form when the backing function is
38
- * already defined separately or when the caller wants to pass a fully built
39
- * low-level trigger object.
40
- *
41
- * @param scope - Manifest scope that should own the workflow.
42
- * @param props - Workflow properties with a typed or low-level trigger.
43
- * @returns Low-level workflow manifest instance.
44
- * @typeParam TDefinition - Typed custom-object definition carried by lifecycle-trigger builders.
45
- */
46
- export declare function defineTypedWorkflow<TDefinition extends AnyCustomObjectDefinition>(scope: ManifestScope, props: TypedWorkflowProps<TDefinition>): Workflow;
47
- //# sourceMappingURL=workflow.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"workflow.d.ts","sourceRoot":"","sources":["../../../../src/core/platform/manifest/custom-objects/workflow.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,oCAAiC;AACxE,OAAO,KAAK,EAAE,aAAa,EAAE,qDAAkD;AAC/E,OAAO,KAAK,EAAE,eAAe,EAAE,6CAA0C;AACzE,OAAO,KAAK,EAAE,yBAAyB,EAAE,sCAAmC;AAC5E,OAAO,KAAK,EAAE,wCAAwC,EAAE,wBAAqB;AAE7E;;;;GAIG;AACH,MAAM,MAAM,yBAAyB,CACnC,WAAW,SAAS,yBAAyB,GAAG,yBAAyB,IACvE,eAAe,GAAG,wCAAwC,CAAC,WAAW,EAAE,GAAG,CAAC,CAAC;AAEjF;;;;;;;;GAQG;AACH,MAAM,WAAW,kBAAkB,CAAC,WAAW,SAAS,yBAAyB,GAAG,yBAAyB,CAC3G,SAAQ,IAAI,CAAC,aAAa,EAAE,SAAS,CAAC;IACtC,mGAAmG;IACnG,QAAQ,CAAC,OAAO,EAAE,yBAAyB,CAAC,WAAW,CAAC,CAAC;CAC1D;AAQD;;;;;;GAMG;AACH,wBAAgB,2BAA2B,CAAC,WAAW,SAAS,yBAAyB,EACvF,OAAO,EAAE,yBAAyB,CAAC,WAAW,CAAC,GAC9C,eAAe,CAEjB;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,mBAAmB,CAAC,WAAW,SAAS,yBAAyB,EAC/E,KAAK,EAAE,aAAa,EACpB,KAAK,EAAE,kBAAkB,CAAC,WAAW,CAAC,GACrC,QAAQ,CAKV"}
@@ -1,38 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.resolveTypedWorkflowTrigger = resolveTypedWorkflowTrigger;
4
- exports.defineTypedWorkflow = defineTypedWorkflow;
5
- const manifest_1 = require("../../../../lib/manifest.js");
6
- function isTypedLifecycleTriggerBuilder(value) {
7
- return typeof value === 'object' && value != null && 'build' in value && typeof value.build === 'function';
8
- }
9
- /**
10
- * Resolves a typed workflow-trigger input into the low-level manifest trigger shape.
11
- *
12
- * @param trigger - Workflow trigger input to resolve.
13
- * @returns Low-level workflow trigger consumed by {@link Workflow}.
14
- * @typeParam TDefinition - Typed custom-object definition carried by lifecycle-trigger builders.
15
- */
16
- function resolveTypedWorkflowTrigger(trigger) {
17
- return isTypedLifecycleTriggerBuilder(trigger) ? trigger.build() : trigger;
18
- }
19
- /**
20
- * Defines a workflow while accepting typed custom-object lifecycle trigger builders.
21
- *
22
- * Prefer {@link defineTypedWorkflowFromFunctionFile} for the common colocated-
23
- * handler path. Use this lower-level explicit form when the backing function is
24
- * already defined separately or when the caller wants to pass a fully built
25
- * low-level trigger object.
26
- *
27
- * @param scope - Manifest scope that should own the workflow.
28
- * @param props - Workflow properties with a typed or low-level trigger.
29
- * @returns Low-level workflow manifest instance.
30
- * @typeParam TDefinition - Typed custom-object definition carried by lifecycle-trigger builders.
31
- */
32
- function defineTypedWorkflow(scope, props) {
33
- return new manifest_1.Workflow(scope, {
34
- ...props,
35
- trigger: resolveTypedWorkflowTrigger(props.trigger),
36
- });
37
- }
38
- //# sourceMappingURL=workflow.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"workflow.js","sourceRoot":"","sources":["../../../../src/core/platform/manifest/custom-objects/workflow.ts"],"names":[],"mappings":";;AA2CA,kEAIC;AAeD,kDAQC;AAtED,0DAAwE;AA8BxE,SAAS,8BAA8B,CACrC,KAA6C;IAE7C,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,IAAI,IAAI,IAAI,OAAO,IAAI,KAAK,IAAI,OAAO,KAAK,CAAC,KAAK,KAAK,UAAU,CAAC;AAC7G,CAAC;AAED;;;;;;GAMG;AACH,SAAgB,2BAA2B,CACzC,OAA+C;IAE/C,OAAO,8BAA8B,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC;AAC7E,CAAC;AAED;;;;;;;;;;;;GAYG;AACH,SAAgB,mBAAmB,CACjC,KAAoB,EACpB,KAAsC;IAEtC,OAAO,IAAI,mBAAQ,CAAC,KAAK,EAAE;QACzB,GAAG,KAAK;QACR,OAAO,EAAE,2BAA2B,CAAC,KAAK,CAAC,OAAO,CAAC;KACpD,CAAC,CAAC;AACL,CAAC"}
@@ -1,34 +0,0 @@
1
- import { Workflow } from "../../../../lib/manifest.mjs";
2
- function isTypedLifecycleTriggerBuilder(value) {
3
- return typeof value === 'object' && value != null && 'build' in value && typeof value.build === 'function';
4
- }
5
- /**
6
- * Resolves a typed workflow-trigger input into the low-level manifest trigger shape.
7
- *
8
- * @param trigger - Workflow trigger input to resolve.
9
- * @returns Low-level workflow trigger consumed by {@link Workflow}.
10
- * @typeParam TDefinition - Typed custom-object definition carried by lifecycle-trigger builders.
11
- */
12
- export function resolveTypedWorkflowTrigger(trigger) {
13
- return isTypedLifecycleTriggerBuilder(trigger) ? trigger.build() : trigger;
14
- }
15
- /**
16
- * Defines a workflow while accepting typed custom-object lifecycle trigger builders.
17
- *
18
- * Prefer {@link defineTypedWorkflowFromFunctionFile} for the common colocated-
19
- * handler path. Use this lower-level explicit form when the backing function is
20
- * already defined separately or when the caller wants to pass a fully built
21
- * low-level trigger object.
22
- *
23
- * @param scope - Manifest scope that should own the workflow.
24
- * @param props - Workflow properties with a typed or low-level trigger.
25
- * @returns Low-level workflow manifest instance.
26
- * @typeParam TDefinition - Typed custom-object definition carried by lifecycle-trigger builders.
27
- */
28
- export function defineTypedWorkflow(scope, props) {
29
- return new Workflow(scope, {
30
- ...props,
31
- trigger: resolveTypedWorkflowTrigger(props.trigger),
32
- });
33
- }
34
- //# sourceMappingURL=workflow.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"workflow.mjs","sourceRoot":"","sources":["../../../../src/core/platform/manifest/custom-objects/workflow.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAsB,qCAAiC;AA8BxE,SAAS,8BAA8B,CACrC,KAA6C;IAE7C,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,IAAI,IAAI,IAAI,OAAO,IAAI,KAAK,IAAI,OAAO,KAAK,CAAC,KAAK,KAAK,UAAU,CAAC;AAC7G,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,2BAA2B,CACzC,OAA+C;IAE/C,OAAO,8BAA8B,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC;AAC7E,CAAC;AAED;;;;;;;;;;;;GAYG;AACH,MAAM,UAAU,mBAAmB,CACjC,KAAoB,EACpB,KAAsC;IAEtC,OAAO,IAAI,QAAQ,CAAC,KAAK,EAAE;QACzB,GAAG,KAAK;QACR,OAAO,EAAE,2BAA2B,CAAC,KAAK,CAAC,OAAO,CAAC;KACpD,CAAC,CAAC;AACL,CAAC"}
@@ -1,85 +0,0 @@
1
- /**
2
- * Public manifest-integration surface for typed custom objects.
3
- *
4
- * Import this module when you want to materialize typed custom-object
5
- * definitions into low-level manifest classes or use manifest-specific helpers
6
- * such as typed list views and page layouts.
7
- *
8
- * Relationship to the rest of the SDK:
9
- *
10
- * ```text
11
- * core/platform/custom-objects
12
- * |
13
- * v
14
- * core/platform/manifest/custom-objects
15
- * |
16
- * v
17
- * lib/manifest
18
- * ```
19
- *
20
- * The implementation lives under `core/platform/manifest/custom-objects/`, but
21
- * this file is the stable public entrypoint that consumers should import from:
22
- *
23
- * ```ts
24
- * import { registerManifestCustomObject } from '@rippling/rippling-sdk/core/platform/manifest/custom-objects';
25
- * ```
26
- */
27
- /** Manifest-registration result and field-class mapping types used by the typed manifest adapters. */
28
- export type { ManifestFieldForDefinition, ManifestRegistration } from "./custom-objects/types.mjs";
29
- /** Manifest-bridge options and tuple types used when materializing typed schemas. */
30
- export type { ManifestRegistrationTuple, RegisterManifestCustomObjectOptions, RegisterManifestCustomObjectsOptions, } from "./custom-objects/register.mjs";
31
- /** Bridges that convert typed schemas into the existing manifest class model. */
32
- export { registerManifestCustomObject, registerManifestCustomObjects } from "./custom-objects/register.mjs";
33
- /** Source-file loading props and result types for typed workflow/action wiring plus SDUI page wiring. */
34
- export type { ManifestFunctionFileSource, ManifestFunctionFromFileProps, SduiPageFromFunctionFileProps, SduiPageFromFunctionFileResult, TypedWorkflowFromFunctionFileProps, TypedWorkflowFromFunctionFileResult, } from "./custom-objects/function-file.mjs";
35
- /** Helpers that wire one colocated handler file into a typed workflow or SDUI page plus backing manifest function. */
36
- export { defineSduiPageFromFunctionFile, defineTypedWorkflowFromFunctionFile, } from "./custom-objects/function-file.mjs";
37
- /** Shared manifest field-name types used by typed list-view and page-layout helpers. */
38
- export type { StandardManifestFieldName, TypedManifestFieldInput, TypedManifestFieldName, } from "./custom-objects/field-resolution.mjs";
39
- /** Shared field resolver used by typed manifest helpers. */
40
- export { resolveTypedManifestField } from "./custom-objects/field-resolution.mjs";
41
- /** Typed manifest-condition fragments, field tokens, lifecycle builders, and helper inputs. */
42
- export type { ManifestConditionCategory, ManifestConditionFieldCategory, ManifestConditionFieldScope, ManifestConditionFieldToken, ManifestConditionFragment, ManifestConditionFunctionToken, ManifestConditionHelpers, ManifestConditionInput, ManifestCustomObjectTarget, TypedCustomObjectLifecycle, TypedCustomObjectLifecycleTriggerBuilder, } from "./custom-objects/conditions.mjs";
43
- /** Typed manifest-condition and custom-object lifecycle helper families. */
44
- export { createManifestConditionHelpers, customObjectLifecycle } from "./custom-objects/conditions.mjs";
45
- /** Parsed-string typed manifest-condition field-name types. */
46
- export type { ParsedConditionFieldName, ParsedConditionStandardFieldName, } from "./custom-objects/typed-condition.mjs";
47
- /** Parsed-string manifest-condition compiler for the typed custom-object lane. */
48
- export { typedCondition } from "./custom-objects/typed-condition.mjs";
49
- /** Typed list-view field names and props for manifest custom-object registrations. */
50
- export type { StandardListViewFieldName, TypedListViewDefProps, TypedListViewFieldInput, TypedListViewFieldName, } from "./custom-objects/list-view.mjs";
51
- /** Typed list-view helper with object-specific field-name IntelliSense. */
52
- export { defineTypedListView } from "./custom-objects/list-view.mjs";
53
- /** Typed page-layout field-array types for manifest custom-object registrations. */
54
- export type { TypedBasicPageLayoutProps, TypedCustomObjectPageLayoutProps, TypedFieldsSection, TypedPageLayoutSection, TypedPageLayoutTab, TypedSectionField, TypedSectionFieldInput, TypedSystemSectionEdit, TypedSystemTabEdit, TypedTabEdits, TypedTabWithSections, } from "./custom-objects/page-layout.mjs";
55
- /** Typed page-layout helpers with object-specific field-name IntelliSense for common field arrays and basic layouts. */
56
- export { defineBasicTypedPageLayout, defineTypedPageLayout } from "./custom-objects/page-layout.mjs";
57
- /** Typed validation helper properties. */
58
- export type { TypedValidationProps } from "./custom-objects/validation.mjs";
59
- /** Typed validation helper that accepts manifest-condition fragments and typed fields. */
60
- export { defineTypedValidation } from "./custom-objects/validation.mjs";
61
- /** Typed rule-action values, helpers, and rule properties. */
62
- export type { TypedRuleAction, TypedRuleFieldSetter, TypedRuleFixedValue, TypedRuleHelpers, TypedRuleProps, } from "./custom-objects/rule.mjs";
63
- /** Typed rule-action helpers and record-triggered rule helper. */
64
- export { createTypedRuleHelpers, defineTypedRule } from "./custom-objects/rule.mjs";
65
- /** Typed workflow helper properties and trigger inputs. */
66
- export type { TypedWorkflowProps, TypedWorkflowTriggerInput } from "./custom-objects/workflow.mjs";
67
- /** Typed workflow helper that accepts lifecycle-trigger builders. */
68
- export { defineTypedWorkflow, resolveTypedWorkflowTrigger } from "./custom-objects/workflow.mjs";
69
- /** Typed custom-object action helper props and file-wiring result types. */
70
- export type { TypedCustomObjectActionFromFunctionFileProps, TypedCustomObjectActionFromFunctionFileResult, TypedCustomObjectActionProps, } from "./custom-objects/action.mjs";
71
- /** Typed custom-object action helpers. Prefer the file-backed helper for the common one-action/one-handler path. */
72
- export { defineTypedCustomObjectAction, defineTypedCustomObjectActionFromFunctionFile, } from "./custom-objects/action.mjs";
73
- /** Standard input/output types for init-only custom-object object-list page functions. */
74
- export type { TypedObjectListPageInput, TypedObjectListPageOutput } from "./custom-objects/object-list-page.mjs";
75
- /** Helper that renders the standard ObjectListView-backed SDUI page-function response. */
76
- export { handleTypedObjectListPageEvent } from "./custom-objects/object-list-page.mjs";
77
- /** Shared output unions and payload shapes for stateful SDUI page functions. */
78
- export type { TypedSduiMutationTriggerOptions, TypedSduiPageActionName, TypedSduiPageActionParams, TypedSduiPageErrorOutput, TypedSduiPageHandlerArgs, TypedSduiPageHandlerOptions, TypedSduiPageOutput, TypedSduiPageSpecOutput, TypedSduiStateAssignments, TypedSduiStatePath, TypedSduiStatePathForValue, TypedSduiStatePathValue, } from "./custom-objects/sdui-page.mjs";
79
- /** Stateful SDUI action-dispatch helpers. Prefer `defineTypedSduiPageHandlerFor(...)` for the default authoring path and keep `defineTypedSduiPageHandler(...)` as the more explicit escape hatch. */
80
- export { createTypedSduiMutationTrigger, defineTypedSduiPageHandler, defineTypedSduiPageHandlerFor, defineTypedSduiStateAssignments, resolveTypedSduiStatePath, } from "./custom-objects/sdui-page.mjs";
81
- /** Existing-manifest rebinding option and result types for typed custom-object extensions. */
82
- export type { BindExistingManifestCustomObjectOptions, BindExistingManifestCustomObjectsOptions, ExistingManifestRegistration, ExistingManifestRegistrationTuple, } from "./custom-objects/existing.mjs";
83
- /** Existing-manifest rebinding helpers for the typed custom-object lane. */
84
- export { bindExistingManifestCustomObject, bindExistingManifestCustomObjects, } from "./custom-objects/existing.mjs";
85
- //# sourceMappingURL=custom-objects.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"custom-objects.d.mts","sourceRoot":"","sources":["../../../src/core/platform/manifest/custom-objects.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH,sGAAsG;AACtG,YAAY,EAAE,0BAA0B,EAAE,oBAAoB,EAAE,mCAA+B;AAE/F,qFAAqF;AACrF,YAAY,EACV,yBAAyB,EACzB,mCAAmC,EACnC,oCAAoC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,iCAAiC,GAClC,sCAAkC"}
@@ -1,85 +0,0 @@
1
- /**
2
- * Public manifest-integration surface for typed custom objects.
3
- *
4
- * Import this module when you want to materialize typed custom-object
5
- * definitions into low-level manifest classes or use manifest-specific helpers
6
- * such as typed list views and page layouts.
7
- *
8
- * Relationship to the rest of the SDK:
9
- *
10
- * ```text
11
- * core/platform/custom-objects
12
- * |
13
- * v
14
- * core/platform/manifest/custom-objects
15
- * |
16
- * v
17
- * lib/manifest
18
- * ```
19
- *
20
- * The implementation lives under `core/platform/manifest/custom-objects/`, but
21
- * this file is the stable public entrypoint that consumers should import from:
22
- *
23
- * ```ts
24
- * import { registerManifestCustomObject } from '@rippling/rippling-sdk/core/platform/manifest/custom-objects';
25
- * ```
26
- */
27
- /** Manifest-registration result and field-class mapping types used by the typed manifest adapters. */
28
- export type { ManifestFieldForDefinition, ManifestRegistration } from "./custom-objects/types.js";
29
- /** Manifest-bridge options and tuple types used when materializing typed schemas. */
30
- export type { ManifestRegistrationTuple, RegisterManifestCustomObjectOptions, RegisterManifestCustomObjectsOptions, } from "./custom-objects/register.js";
31
- /** Bridges that convert typed schemas into the existing manifest class model. */
32
- export { registerManifestCustomObject, registerManifestCustomObjects } from "./custom-objects/register.js";
33
- /** Source-file loading props and result types for typed workflow/action wiring plus SDUI page wiring. */
34
- export type { ManifestFunctionFileSource, ManifestFunctionFromFileProps, SduiPageFromFunctionFileProps, SduiPageFromFunctionFileResult, TypedWorkflowFromFunctionFileProps, TypedWorkflowFromFunctionFileResult, } from "./custom-objects/function-file.js";
35
- /** Helpers that wire one colocated handler file into a typed workflow or SDUI page plus backing manifest function. */
36
- export { defineSduiPageFromFunctionFile, defineTypedWorkflowFromFunctionFile, } from "./custom-objects/function-file.js";
37
- /** Shared manifest field-name types used by typed list-view and page-layout helpers. */
38
- export type { StandardManifestFieldName, TypedManifestFieldInput, TypedManifestFieldName, } from "./custom-objects/field-resolution.js";
39
- /** Shared field resolver used by typed manifest helpers. */
40
- export { resolveTypedManifestField } from "./custom-objects/field-resolution.js";
41
- /** Typed manifest-condition fragments, field tokens, lifecycle builders, and helper inputs. */
42
- export type { ManifestConditionCategory, ManifestConditionFieldCategory, ManifestConditionFieldScope, ManifestConditionFieldToken, ManifestConditionFragment, ManifestConditionFunctionToken, ManifestConditionHelpers, ManifestConditionInput, ManifestCustomObjectTarget, TypedCustomObjectLifecycle, TypedCustomObjectLifecycleTriggerBuilder, } from "./custom-objects/conditions.js";
43
- /** Typed manifest-condition and custom-object lifecycle helper families. */
44
- export { createManifestConditionHelpers, customObjectLifecycle } from "./custom-objects/conditions.js";
45
- /** Parsed-string typed manifest-condition field-name types. */
46
- export type { ParsedConditionFieldName, ParsedConditionStandardFieldName, } from "./custom-objects/typed-condition.js";
47
- /** Parsed-string manifest-condition compiler for the typed custom-object lane. */
48
- export { typedCondition } from "./custom-objects/typed-condition.js";
49
- /** Typed list-view field names and props for manifest custom-object registrations. */
50
- export type { StandardListViewFieldName, TypedListViewDefProps, TypedListViewFieldInput, TypedListViewFieldName, } from "./custom-objects/list-view.js";
51
- /** Typed list-view helper with object-specific field-name IntelliSense. */
52
- export { defineTypedListView } from "./custom-objects/list-view.js";
53
- /** Typed page-layout field-array types for manifest custom-object registrations. */
54
- export type { TypedBasicPageLayoutProps, TypedCustomObjectPageLayoutProps, TypedFieldsSection, TypedPageLayoutSection, TypedPageLayoutTab, TypedSectionField, TypedSectionFieldInput, TypedSystemSectionEdit, TypedSystemTabEdit, TypedTabEdits, TypedTabWithSections, } from "./custom-objects/page-layout.js";
55
- /** Typed page-layout helpers with object-specific field-name IntelliSense for common field arrays and basic layouts. */
56
- export { defineBasicTypedPageLayout, defineTypedPageLayout } from "./custom-objects/page-layout.js";
57
- /** Typed validation helper properties. */
58
- export type { TypedValidationProps } from "./custom-objects/validation.js";
59
- /** Typed validation helper that accepts manifest-condition fragments and typed fields. */
60
- export { defineTypedValidation } from "./custom-objects/validation.js";
61
- /** Typed rule-action values, helpers, and rule properties. */
62
- export type { TypedRuleAction, TypedRuleFieldSetter, TypedRuleFixedValue, TypedRuleHelpers, TypedRuleProps, } from "./custom-objects/rule.js";
63
- /** Typed rule-action helpers and record-triggered rule helper. */
64
- export { createTypedRuleHelpers, defineTypedRule } from "./custom-objects/rule.js";
65
- /** Typed workflow helper properties and trigger inputs. */
66
- export type { TypedWorkflowProps, TypedWorkflowTriggerInput } from "./custom-objects/workflow.js";
67
- /** Typed workflow helper that accepts lifecycle-trigger builders. */
68
- export { defineTypedWorkflow, resolveTypedWorkflowTrigger } from "./custom-objects/workflow.js";
69
- /** Typed custom-object action helper props and file-wiring result types. */
70
- export type { TypedCustomObjectActionFromFunctionFileProps, TypedCustomObjectActionFromFunctionFileResult, TypedCustomObjectActionProps, } from "./custom-objects/action.js";
71
- /** Typed custom-object action helpers. Prefer the file-backed helper for the common one-action/one-handler path. */
72
- export { defineTypedCustomObjectAction, defineTypedCustomObjectActionFromFunctionFile, } from "./custom-objects/action.js";
73
- /** Standard input/output types for init-only custom-object object-list page functions. */
74
- export type { TypedObjectListPageInput, TypedObjectListPageOutput } from "./custom-objects/object-list-page.js";
75
- /** Helper that renders the standard ObjectListView-backed SDUI page-function response. */
76
- export { handleTypedObjectListPageEvent } from "./custom-objects/object-list-page.js";
77
- /** Shared output unions and payload shapes for stateful SDUI page functions. */
78
- export type { TypedSduiMutationTriggerOptions, TypedSduiPageActionName, TypedSduiPageActionParams, TypedSduiPageErrorOutput, TypedSduiPageHandlerArgs, TypedSduiPageHandlerOptions, TypedSduiPageOutput, TypedSduiPageSpecOutput, TypedSduiStateAssignments, TypedSduiStatePath, TypedSduiStatePathForValue, TypedSduiStatePathValue, } from "./custom-objects/sdui-page.js";
79
- /** Stateful SDUI action-dispatch helpers. Prefer `defineTypedSduiPageHandlerFor(...)` for the default authoring path and keep `defineTypedSduiPageHandler(...)` as the more explicit escape hatch. */
80
- export { createTypedSduiMutationTrigger, defineTypedSduiPageHandler, defineTypedSduiPageHandlerFor, defineTypedSduiStateAssignments, resolveTypedSduiStatePath, } from "./custom-objects/sdui-page.js";
81
- /** Existing-manifest rebinding option and result types for typed custom-object extensions. */
82
- export type { BindExistingManifestCustomObjectOptions, BindExistingManifestCustomObjectsOptions, ExistingManifestRegistration, ExistingManifestRegistrationTuple, } from "./custom-objects/existing.js";
83
- /** Existing-manifest rebinding helpers for the typed custom-object lane. */
84
- export { bindExistingManifestCustomObject, bindExistingManifestCustomObjects, } from "./custom-objects/existing.js";
85
- //# sourceMappingURL=custom-objects.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"custom-objects.d.ts","sourceRoot":"","sources":["../../../src/core/platform/manifest/custom-objects.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH,sGAAsG;AACtG,YAAY,EAAE,0BAA0B,EAAE,oBAAoB,EAAE,kCAA+B;AAE/F,qFAAqF;AACrF,YAAY,EACV,yBAAyB,EACzB,mCAAmC,EACnC,oCAAoC,GACrC,qCAAkC;AAEnC,iFAAiF;AACjF,OAAO,EAAE,4BAA4B,EAAE,6BAA6B,EAAE,qCAAkC;AAExG,yGAAyG;AACzG,YAAY,EACV,0BAA0B,EAC1B,6BAA6B,EAC7B,6BAA6B,EAC7B,8BAA8B,EAC9B,kCAAkC,EAClC,mCAAmC,GACpC,0CAAuC;AAExC,sHAAsH;AACtH,OAAO,EACL,8BAA8B,EAC9B,mCAAmC,GACpC,0CAAuC;AAExC,wFAAwF;AACxF,YAAY,EACV,yBAAyB,EACzB,uBAAuB,EACvB,sBAAsB,GACvB,6CAA0C;AAE3C,4DAA4D;AAC5D,OAAO,EAAE,yBAAyB,EAAE,6CAA0C;AAE9E,+FAA+F;AAC/F,YAAY,EACV,yBAAyB,EACzB,8BAA8B,EAC9B,2BAA2B,EAC3B,2BAA2B,EAC3B,yBAAyB,EACzB,8BAA8B,EAC9B,wBAAwB,EACxB,sBAAsB,EACtB,0BAA0B,EAC1B,0BAA0B,EAC1B,wCAAwC,GACzC,uCAAoC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C1F,YAAY,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,6CAA0C;AAE7G,0FAA0F;AAC1F,OAAO,EAAE,8BAA8B,EAAE,6CAA0C;AAEnF,gFAAgF;AAChF,YAAY,EACV,+BAA+B,EAC/B,uBAAuB,EACvB,yBAAyB,EACzB,wBAAwB,EACxB,wBAAwB,EACxB,2BAA2B,EAC3B,mBAAmB,EACnB,uBAAuB,EACvB,yBAAyB,EACzB,kBAAkB,EAClB,0BAA0B,EAC1B,uBAAuB,GACxB,sCAAmC;AAEpC,sMAAsM;AACtM,OAAO,EACL,8BAA8B,EAC9B,0BAA0B,EAC1B,6BAA6B,EAC7B,+BAA+B,EAC/B,yBAAyB,GAC1B,sCAAmC;AAEpC,8FAA8F;AAC9F,YAAY,EACV,uCAAuC,EACvC,wCAAwC,EACxC,4BAA4B,EAC5B,iCAAiC,GAClC,qCAAkC;AAEnC,4EAA4E;AAC5E,OAAO,EACL,gCAAgC,EAChC,iCAAiC,GAClC,qCAAkC"}
@@ -1,84 +0,0 @@
1
- "use strict";
2
- /**
3
- * Public manifest-integration surface for typed custom objects.
4
- *
5
- * Import this module when you want to materialize typed custom-object
6
- * definitions into low-level manifest classes or use manifest-specific helpers
7
- * such as typed list views and page layouts.
8
- *
9
- * Relationship to the rest of the SDK:
10
- *
11
- * ```text
12
- * core/platform/custom-objects
13
- * |
14
- * v
15
- * core/platform/manifest/custom-objects
16
- * |
17
- * v
18
- * lib/manifest
19
- * ```
20
- *
21
- * The implementation lives under `core/platform/manifest/custom-objects/`, but
22
- * this file is the stable public entrypoint that consumers should import from:
23
- *
24
- * ```ts
25
- * import { registerManifestCustomObject } from '@rippling/rippling-sdk/core/platform/manifest/custom-objects';
26
- * ```
27
- */
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.bindExistingManifestCustomObjects = exports.bindExistingManifestCustomObject = exports.resolveTypedSduiStatePath = exports.defineTypedSduiStateAssignments = exports.defineTypedSduiPageHandlerFor = exports.defineTypedSduiPageHandler = exports.createTypedSduiMutationTrigger = exports.handleTypedObjectListPageEvent = exports.defineTypedCustomObjectActionFromFunctionFile = exports.defineTypedCustomObjectAction = exports.resolveTypedWorkflowTrigger = exports.defineTypedWorkflow = exports.defineTypedRule = exports.createTypedRuleHelpers = exports.defineTypedValidation = exports.defineTypedPageLayout = exports.defineBasicTypedPageLayout = exports.defineTypedListView = exports.typedCondition = exports.customObjectLifecycle = exports.createManifestConditionHelpers = exports.resolveTypedManifestField = exports.defineTypedWorkflowFromFunctionFile = exports.defineSduiPageFromFunctionFile = exports.registerManifestCustomObjects = exports.registerManifestCustomObject = void 0;
30
- /** Bridges that convert typed schemas into the existing manifest class model. */
31
- var register_1 = require("./custom-objects/register.js");
32
- Object.defineProperty(exports, "registerManifestCustomObject", { enumerable: true, get: function () { return register_1.registerManifestCustomObject; } });
33
- Object.defineProperty(exports, "registerManifestCustomObjects", { enumerable: true, get: function () { return register_1.registerManifestCustomObjects; } });
34
- /** Helpers that wire one colocated handler file into a typed workflow or SDUI page plus backing manifest function. */
35
- var function_file_1 = require("./custom-objects/function-file.js");
36
- Object.defineProperty(exports, "defineSduiPageFromFunctionFile", { enumerable: true, get: function () { return function_file_1.defineSduiPageFromFunctionFile; } });
37
- Object.defineProperty(exports, "defineTypedWorkflowFromFunctionFile", { enumerable: true, get: function () { return function_file_1.defineTypedWorkflowFromFunctionFile; } });
38
- /** Shared field resolver used by typed manifest helpers. */
39
- var field_resolution_1 = require("./custom-objects/field-resolution.js");
40
- Object.defineProperty(exports, "resolveTypedManifestField", { enumerable: true, get: function () { return field_resolution_1.resolveTypedManifestField; } });
41
- /** Typed manifest-condition and custom-object lifecycle helper families. */
42
- var conditions_1 = require("./custom-objects/conditions.js");
43
- Object.defineProperty(exports, "createManifestConditionHelpers", { enumerable: true, get: function () { return conditions_1.createManifestConditionHelpers; } });
44
- Object.defineProperty(exports, "customObjectLifecycle", { enumerable: true, get: function () { return conditions_1.customObjectLifecycle; } });
45
- /** Parsed-string manifest-condition compiler for the typed custom-object lane. */
46
- var typed_condition_1 = require("./custom-objects/typed-condition.js");
47
- Object.defineProperty(exports, "typedCondition", { enumerable: true, get: function () { return typed_condition_1.typedCondition; } });
48
- /** Typed list-view helper with object-specific field-name IntelliSense. */
49
- var list_view_1 = require("./custom-objects/list-view.js");
50
- Object.defineProperty(exports, "defineTypedListView", { enumerable: true, get: function () { return list_view_1.defineTypedListView; } });
51
- /** Typed page-layout helpers with object-specific field-name IntelliSense for common field arrays and basic layouts. */
52
- var page_layout_1 = require("./custom-objects/page-layout.js");
53
- Object.defineProperty(exports, "defineBasicTypedPageLayout", { enumerable: true, get: function () { return page_layout_1.defineBasicTypedPageLayout; } });
54
- Object.defineProperty(exports, "defineTypedPageLayout", { enumerable: true, get: function () { return page_layout_1.defineTypedPageLayout; } });
55
- /** Typed validation helper that accepts manifest-condition fragments and typed fields. */
56
- var validation_1 = require("./custom-objects/validation.js");
57
- Object.defineProperty(exports, "defineTypedValidation", { enumerable: true, get: function () { return validation_1.defineTypedValidation; } });
58
- /** Typed rule-action helpers and record-triggered rule helper. */
59
- var rule_1 = require("./custom-objects/rule.js");
60
- Object.defineProperty(exports, "createTypedRuleHelpers", { enumerable: true, get: function () { return rule_1.createTypedRuleHelpers; } });
61
- Object.defineProperty(exports, "defineTypedRule", { enumerable: true, get: function () { return rule_1.defineTypedRule; } });
62
- /** Typed workflow helper that accepts lifecycle-trigger builders. */
63
- var workflow_1 = require("./custom-objects/workflow.js");
64
- Object.defineProperty(exports, "defineTypedWorkflow", { enumerable: true, get: function () { return workflow_1.defineTypedWorkflow; } });
65
- Object.defineProperty(exports, "resolveTypedWorkflowTrigger", { enumerable: true, get: function () { return workflow_1.resolveTypedWorkflowTrigger; } });
66
- /** Typed custom-object action helpers. Prefer the file-backed helper for the common one-action/one-handler path. */
67
- var action_1 = require("./custom-objects/action.js");
68
- Object.defineProperty(exports, "defineTypedCustomObjectAction", { enumerable: true, get: function () { return action_1.defineTypedCustomObjectAction; } });
69
- Object.defineProperty(exports, "defineTypedCustomObjectActionFromFunctionFile", { enumerable: true, get: function () { return action_1.defineTypedCustomObjectActionFromFunctionFile; } });
70
- /** Helper that renders the standard ObjectListView-backed SDUI page-function response. */
71
- var object_list_page_1 = require("./custom-objects/object-list-page.js");
72
- Object.defineProperty(exports, "handleTypedObjectListPageEvent", { enumerable: true, get: function () { return object_list_page_1.handleTypedObjectListPageEvent; } });
73
- /** Stateful SDUI action-dispatch helpers. Prefer `defineTypedSduiPageHandlerFor(...)` for the default authoring path and keep `defineTypedSduiPageHandler(...)` as the more explicit escape hatch. */
74
- var sdui_page_1 = require("./custom-objects/sdui-page.js");
75
- Object.defineProperty(exports, "createTypedSduiMutationTrigger", { enumerable: true, get: function () { return sdui_page_1.createTypedSduiMutationTrigger; } });
76
- Object.defineProperty(exports, "defineTypedSduiPageHandler", { enumerable: true, get: function () { return sdui_page_1.defineTypedSduiPageHandler; } });
77
- Object.defineProperty(exports, "defineTypedSduiPageHandlerFor", { enumerable: true, get: function () { return sdui_page_1.defineTypedSduiPageHandlerFor; } });
78
- Object.defineProperty(exports, "defineTypedSduiStateAssignments", { enumerable: true, get: function () { return sdui_page_1.defineTypedSduiStateAssignments; } });
79
- Object.defineProperty(exports, "resolveTypedSduiStatePath", { enumerable: true, get: function () { return sdui_page_1.resolveTypedSduiStatePath; } });
80
- /** Existing-manifest rebinding helpers for the typed custom-object lane. */
81
- var existing_1 = require("./custom-objects/existing.js");
82
- Object.defineProperty(exports, "bindExistingManifestCustomObject", { enumerable: true, get: function () { return existing_1.bindExistingManifestCustomObject; } });
83
- Object.defineProperty(exports, "bindExistingManifestCustomObjects", { enumerable: true, get: function () { return existing_1.bindExistingManifestCustomObjects; } });
84
- //# sourceMappingURL=custom-objects.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"custom-objects.js","sourceRoot":"","sources":["../../../src/core/platform/manifest/custom-objects.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;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
- * Import this module when you want to materialize typed custom-object
5
- * definitions into low-level manifest classes or use manifest-specific helpers
6
- * such as typed list views and page layouts.
7
- *
8
- * Relationship to the rest of the SDK:
9
- *
10
- * ```text
11
- * core/platform/custom-objects
12
- * |
13
- * v
14
- * core/platform/manifest/custom-objects
15
- * |
16
- * v
17
- * lib/manifest
18
- * ```
19
- *
20
- * The implementation lives under `core/platform/manifest/custom-objects/`, but
21
- * this file is the stable public entrypoint that consumers should import from:
22
- *
23
- * ```ts
24
- * import { registerManifestCustomObject } from '@rippling/rippling-sdk/core/platform/manifest/custom-objects';
25
- * ```
26
- */
27
- /** Bridges that convert typed schemas into the existing manifest class model. */
28
- export { registerManifestCustomObject, registerManifestCustomObjects } from "./custom-objects/register.mjs";
29
- /** Helpers that wire one colocated handler file into a typed workflow or SDUI page plus backing manifest function. */
30
- export { defineSduiPageFromFunctionFile, defineTypedWorkflowFromFunctionFile, } from "./custom-objects/function-file.mjs";
31
- /** Shared field resolver used by typed manifest helpers. */
32
- export { resolveTypedManifestField } from "./custom-objects/field-resolution.mjs";
33
- /** Typed manifest-condition and custom-object lifecycle helper families. */
34
- export { createManifestConditionHelpers, customObjectLifecycle } from "./custom-objects/conditions.mjs";
35
- /** Parsed-string manifest-condition compiler for the typed custom-object lane. */
36
- export { typedCondition } from "./custom-objects/typed-condition.mjs";
37
- /** Typed list-view helper with object-specific field-name IntelliSense. */
38
- export { defineTypedListView } from "./custom-objects/list-view.mjs";
39
- /** Typed page-layout helpers with object-specific field-name IntelliSense for common field arrays and basic layouts. */
40
- export { defineBasicTypedPageLayout, defineTypedPageLayout } from "./custom-objects/page-layout.mjs";
41
- /** Typed validation helper that accepts manifest-condition fragments and typed fields. */
42
- export { defineTypedValidation } from "./custom-objects/validation.mjs";
43
- /** Typed rule-action helpers and record-triggered rule helper. */
44
- export { createTypedRuleHelpers, defineTypedRule } from "./custom-objects/rule.mjs";
45
- /** Typed workflow helper that accepts lifecycle-trigger builders. */
46
- export { defineTypedWorkflow, resolveTypedWorkflowTrigger } from "./custom-objects/workflow.mjs";
47
- /** Typed custom-object action helpers. Prefer the file-backed helper for the common one-action/one-handler path. */
48
- export { defineTypedCustomObjectAction, defineTypedCustomObjectActionFromFunctionFile, } from "./custom-objects/action.mjs";
49
- /** Helper that renders the standard ObjectListView-backed SDUI page-function response. */
50
- export { handleTypedObjectListPageEvent } from "./custom-objects/object-list-page.mjs";
51
- /** Stateful SDUI action-dispatch helpers. Prefer `defineTypedSduiPageHandlerFor(...)` for the default authoring path and keep `defineTypedSduiPageHandler(...)` as the more explicit escape hatch. */
52
- export { createTypedSduiMutationTrigger, defineTypedSduiPageHandler, defineTypedSduiPageHandlerFor, defineTypedSduiStateAssignments, resolveTypedSduiStatePath, } from "./custom-objects/sdui-page.mjs";
53
- /** Existing-manifest rebinding helpers for the typed custom-object lane. */
54
- export { bindExistingManifestCustomObject, bindExistingManifestCustomObjects, } from "./custom-objects/existing.mjs";
55
- //# sourceMappingURL=custom-objects.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"custom-objects.mjs","sourceRoot":"","sources":["../../../src/core/platform/manifest/custom-objects.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAYH,iFAAiF;AACjF,OAAO,EAAE,4BAA4B,EAAE,6BAA6B,EAAE,sCAAkC;AAYxG,sHAAsH;AACtH,OAAO,EACL,8BAA8B,EAC9B,mCAAmC,GACpC,2CAAuC;AASxC,4DAA4D;AAC5D,OAAO,EAAE,yBAAyB,EAAE,8CAA0C;AAiB9E,4EAA4E;AAC5E,OAAO,EAAE,8BAA8B,EAAE,qBAAqB,EAAE,wCAAoC;AAQpG,kFAAkF;AAClF,OAAO,EAAE,cAAc,EAAE,6CAAyC;AAUlE,2EAA2E;AAC3E,OAAO,EAAE,mBAAmB,EAAE,uCAAmC;AAiBjE,wHAAwH;AACxH,OAAO,EAAE,0BAA0B,EAAE,qBAAqB,EAAE,yCAAqC;AAKjG,0FAA0F;AAC1F,OAAO,EAAE,qBAAqB,EAAE,wCAAoC;AAWpE,kEAAkE;AAClE,OAAO,EAAE,sBAAsB,EAAE,eAAe,EAAE,kCAA8B;AAKhF,qEAAqE;AACrE,OAAO,EAAE,mBAAmB,EAAE,2BAA2B,EAAE,sCAAkC;AAS7F,oHAAoH;AACpH,OAAO,EACL,6BAA6B,EAC7B,6CAA6C,GAC9C,oCAAgC;AAKjC,0FAA0F;AAC1F,OAAO,EAAE,8BAA8B,EAAE,8CAA0C;AAkBnF,sMAAsM;AACtM,OAAO,EACL,8BAA8B,EAC9B,0BAA0B,EAC1B,6BAA6B,EAC7B,+BAA+B,EAC/B,yBAAyB,GAC1B,uCAAmC;AAUpC,4EAA4E;AAC5E,OAAO,EACL,gCAAgC,EAChC,iCAAiC,GAClC,sCAAkC"}