@rippling/rippling-sdk 0.2.0-alpha.84 → 0.2.0-alpha.86

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 (195) 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/fields.d.mts +1 -40
  24. package/resources/custom-objects/fields.d.mts.map +1 -1
  25. package/resources/custom-objects/fields.d.ts +1 -40
  26. package/resources/custom-objects/fields.d.ts.map +1 -1
  27. package/resources/levels.d.mts +25 -4
  28. package/resources/levels.d.mts.map +1 -1
  29. package/resources/levels.d.ts +25 -4
  30. package/resources/levels.d.ts.map +1 -1
  31. package/src/resources/custom-objects/fields.ts +1 -46
  32. package/src/resources/levels.ts +28 -4
  33. package/src/tsconfig.json +1 -1
  34. package/src/version.ts +1 -1
  35. package/version.d.mts +1 -1
  36. package/version.d.ts +1 -1
  37. package/version.js +1 -1
  38. package/version.mjs +1 -1
  39. package/core/platform/manifest/custom-objects/action.d.mts +0 -58
  40. package/core/platform/manifest/custom-objects/action.d.mts.map +0 -1
  41. package/core/platform/manifest/custom-objects/action.d.ts +0 -58
  42. package/core/platform/manifest/custom-objects/action.d.ts.map +0 -1
  43. package/core/platform/manifest/custom-objects/action.js +0 -44
  44. package/core/platform/manifest/custom-objects/action.js.map +0 -1
  45. package/core/platform/manifest/custom-objects/action.mjs +0 -40
  46. package/core/platform/manifest/custom-objects/action.mjs.map +0 -1
  47. package/core/platform/manifest/custom-objects/conditions.d.mts +0 -240
  48. package/core/platform/manifest/custom-objects/conditions.d.mts.map +0 -1
  49. package/core/platform/manifest/custom-objects/conditions.d.ts +0 -240
  50. package/core/platform/manifest/custom-objects/conditions.d.ts.map +0 -1
  51. package/core/platform/manifest/custom-objects/conditions.js +0 -326
  52. package/core/platform/manifest/custom-objects/conditions.js.map +0 -1
  53. package/core/platform/manifest/custom-objects/conditions.mjs +0 -321
  54. package/core/platform/manifest/custom-objects/conditions.mjs.map +0 -1
  55. package/core/platform/manifest/custom-objects/existing.d.mts +0 -87
  56. package/core/platform/manifest/custom-objects/existing.d.mts.map +0 -1
  57. package/core/platform/manifest/custom-objects/existing.d.ts +0 -87
  58. package/core/platform/manifest/custom-objects/existing.d.ts.map +0 -1
  59. package/core/platform/manifest/custom-objects/existing.js +0 -113
  60. package/core/platform/manifest/custom-objects/existing.js.map +0 -1
  61. package/core/platform/manifest/custom-objects/existing.mjs +0 -109
  62. package/core/platform/manifest/custom-objects/existing.mjs.map +0 -1
  63. package/core/platform/manifest/custom-objects/field-resolution.d.mts +0 -48
  64. package/core/platform/manifest/custom-objects/field-resolution.d.mts.map +0 -1
  65. package/core/platform/manifest/custom-objects/field-resolution.d.ts +0 -48
  66. package/core/platform/manifest/custom-objects/field-resolution.d.ts.map +0 -1
  67. package/core/platform/manifest/custom-objects/field-resolution.js +0 -61
  68. package/core/platform/manifest/custom-objects/field-resolution.js.map +0 -1
  69. package/core/platform/manifest/custom-objects/field-resolution.mjs +0 -58
  70. package/core/platform/manifest/custom-objects/field-resolution.mjs.map +0 -1
  71. package/core/platform/manifest/custom-objects/function-file.d.mts +0 -87
  72. package/core/platform/manifest/custom-objects/function-file.d.mts.map +0 -1
  73. package/core/platform/manifest/custom-objects/function-file.d.ts +0 -87
  74. package/core/platform/manifest/custom-objects/function-file.d.ts.map +0 -1
  75. package/core/platform/manifest/custom-objects/function-file.js +0 -76
  76. package/core/platform/manifest/custom-objects/function-file.js.map +0 -1
  77. package/core/platform/manifest/custom-objects/function-file.mjs +0 -69
  78. package/core/platform/manifest/custom-objects/function-file.mjs.map +0 -1
  79. package/core/platform/manifest/custom-objects/list-view.d.mts +0 -65
  80. package/core/platform/manifest/custom-objects/list-view.d.mts.map +0 -1
  81. package/core/platform/manifest/custom-objects/list-view.d.ts +0 -65
  82. package/core/platform/manifest/custom-objects/list-view.d.ts.map +0 -1
  83. package/core/platform/manifest/custom-objects/list-view.js +0 -33
  84. package/core/platform/manifest/custom-objects/list-view.js.map +0 -1
  85. package/core/platform/manifest/custom-objects/list-view.mjs +0 -30
  86. package/core/platform/manifest/custom-objects/list-view.mjs.map +0 -1
  87. package/core/platform/manifest/custom-objects/object-list-page.d.mts +0 -43
  88. package/core/platform/manifest/custom-objects/object-list-page.d.mts.map +0 -1
  89. package/core/platform/manifest/custom-objects/object-list-page.d.ts +0 -43
  90. package/core/platform/manifest/custom-objects/object-list-page.d.ts.map +0 -1
  91. package/core/platform/manifest/custom-objects/object-list-page.js +0 -54
  92. package/core/platform/manifest/custom-objects/object-list-page.js.map +0 -1
  93. package/core/platform/manifest/custom-objects/object-list-page.mjs +0 -50
  94. package/core/platform/manifest/custom-objects/object-list-page.mjs.map +0 -1
  95. package/core/platform/manifest/custom-objects/page-layout.d.mts +0 -142
  96. package/core/platform/manifest/custom-objects/page-layout.d.mts.map +0 -1
  97. package/core/platform/manifest/custom-objects/page-layout.d.ts +0 -142
  98. package/core/platform/manifest/custom-objects/page-layout.d.ts.map +0 -1
  99. package/core/platform/manifest/custom-objects/page-layout.js +0 -184
  100. package/core/platform/manifest/custom-objects/page-layout.js.map +0 -1
  101. package/core/platform/manifest/custom-objects/page-layout.mjs +0 -180
  102. package/core/platform/manifest/custom-objects/page-layout.mjs.map +0 -1
  103. package/core/platform/manifest/custom-objects/register.d.mts +0 -87
  104. package/core/platform/manifest/custom-objects/register.d.mts.map +0 -1
  105. package/core/platform/manifest/custom-objects/register.d.ts +0 -87
  106. package/core/platform/manifest/custom-objects/register.d.ts.map +0 -1
  107. package/core/platform/manifest/custom-objects/register.js +0 -395
  108. package/core/platform/manifest/custom-objects/register.js.map +0 -1
  109. package/core/platform/manifest/custom-objects/register.mjs +0 -391
  110. package/core/platform/manifest/custom-objects/register.mjs.map +0 -1
  111. package/core/platform/manifest/custom-objects/rule.d.mts +0 -113
  112. package/core/platform/manifest/custom-objects/rule.d.mts.map +0 -1
  113. package/core/platform/manifest/custom-objects/rule.d.ts +0 -113
  114. package/core/platform/manifest/custom-objects/rule.d.ts.map +0 -1
  115. package/core/platform/manifest/custom-objects/rule.js +0 -49
  116. package/core/platform/manifest/custom-objects/rule.js.map +0 -1
  117. package/core/platform/manifest/custom-objects/rule.mjs +0 -45
  118. package/core/platform/manifest/custom-objects/rule.mjs.map +0 -1
  119. package/core/platform/manifest/custom-objects/sdui-page.d.mts +0 -214
  120. package/core/platform/manifest/custom-objects/sdui-page.d.mts.map +0 -1
  121. package/core/platform/manifest/custom-objects/sdui-page.d.ts +0 -214
  122. package/core/platform/manifest/custom-objects/sdui-page.d.ts.map +0 -1
  123. package/core/platform/manifest/custom-objects/sdui-page.js +0 -194
  124. package/core/platform/manifest/custom-objects/sdui-page.js.map +0 -1
  125. package/core/platform/manifest/custom-objects/sdui-page.mjs +0 -182
  126. package/core/platform/manifest/custom-objects/sdui-page.mjs.map +0 -1
  127. package/core/platform/manifest/custom-objects/typed-condition.d.mts +0 -28
  128. package/core/platform/manifest/custom-objects/typed-condition.d.mts.map +0 -1
  129. package/core/platform/manifest/custom-objects/typed-condition.d.ts +0 -28
  130. package/core/platform/manifest/custom-objects/typed-condition.d.ts.map +0 -1
  131. package/core/platform/manifest/custom-objects/typed-condition.js +0 -434
  132. package/core/platform/manifest/custom-objects/typed-condition.js.map +0 -1
  133. package/core/platform/manifest/custom-objects/typed-condition.mjs +0 -431
  134. package/core/platform/manifest/custom-objects/typed-condition.mjs.map +0 -1
  135. package/core/platform/manifest/custom-objects/types.d.mts +0 -29
  136. package/core/platform/manifest/custom-objects/types.d.mts.map +0 -1
  137. package/core/platform/manifest/custom-objects/types.d.ts +0 -29
  138. package/core/platform/manifest/custom-objects/types.d.ts.map +0 -1
  139. package/core/platform/manifest/custom-objects/types.js +0 -3
  140. package/core/platform/manifest/custom-objects/types.js.map +0 -1
  141. package/core/platform/manifest/custom-objects/types.mjs +0 -2
  142. package/core/platform/manifest/custom-objects/types.mjs.map +0 -1
  143. package/core/platform/manifest/custom-objects/validation.d.mts +0 -44
  144. package/core/platform/manifest/custom-objects/validation.d.mts.map +0 -1
  145. package/core/platform/manifest/custom-objects/validation.d.ts +0 -44
  146. package/core/platform/manifest/custom-objects/validation.d.ts.map +0 -1
  147. package/core/platform/manifest/custom-objects/validation.js +0 -30
  148. package/core/platform/manifest/custom-objects/validation.js.map +0 -1
  149. package/core/platform/manifest/custom-objects/validation.mjs +0 -27
  150. package/core/platform/manifest/custom-objects/validation.mjs.map +0 -1
  151. package/core/platform/manifest/custom-objects/workflow.d.mts +0 -47
  152. package/core/platform/manifest/custom-objects/workflow.d.mts.map +0 -1
  153. package/core/platform/manifest/custom-objects/workflow.d.ts +0 -47
  154. package/core/platform/manifest/custom-objects/workflow.d.ts.map +0 -1
  155. package/core/platform/manifest/custom-objects/workflow.js +0 -38
  156. package/core/platform/manifest/custom-objects/workflow.js.map +0 -1
  157. package/core/platform/manifest/custom-objects/workflow.mjs +0 -34
  158. package/core/platform/manifest/custom-objects/workflow.mjs.map +0 -1
  159. package/core/platform/manifest/custom-objects.d.mts +0 -85
  160. package/core/platform/manifest/custom-objects.d.mts.map +0 -1
  161. package/core/platform/manifest/custom-objects.d.ts +0 -85
  162. package/core/platform/manifest/custom-objects.d.ts.map +0 -1
  163. package/core/platform/manifest/custom-objects.js +0 -84
  164. package/core/platform/manifest/custom-objects.js.map +0 -1
  165. package/core/platform/manifest/custom-objects.mjs +0 -55
  166. package/core/platform/manifest/custom-objects.mjs.map +0 -1
  167. package/examples/manifest/custom-object-creation-workflow/functions/intake-request-created.ts +0 -20
  168. package/examples/manifest/custom-object-creation-workflow/schema.ts +0 -29
  169. package/examples/manifest/dental-practice-management/schema.ts +0 -298
  170. package/examples/manifest/field-service-dispatch/schema.ts +0 -248
  171. package/examples/manifest/grant-program-management/schema.ts +0 -269
  172. package/examples/manifest/gym-membership-management/schema.ts +0 -266
  173. package/examples/manifest/procurement-approval-hub/functions/route-purchase-request.ts +0 -20
  174. package/examples/manifest/procurement-approval-hub/schema.ts +0 -256
  175. package/examples/manifest/simple-todo-app/schema.ts +0 -60
  176. package/examples/manifest/todo-app-without-object-list-view/schema.ts +0 -28
  177. package/src/core/platform/README.md +0 -20
  178. package/src/core/platform/manifest/README.md +0 -26
  179. package/src/core/platform/manifest/custom-objects/action.ts +0 -87
  180. package/src/core/platform/manifest/custom-objects/conditions.ts +0 -762
  181. package/src/core/platform/manifest/custom-objects/existing.ts +0 -221
  182. package/src/core/platform/manifest/custom-objects/field-resolution.ts +0 -116
  183. package/src/core/platform/manifest/custom-objects/function-file.ts +0 -149
  184. package/src/core/platform/manifest/custom-objects/list-view.ts +0 -95
  185. package/src/core/platform/manifest/custom-objects/object-list-page.ts +0 -87
  186. package/src/core/platform/manifest/custom-objects/page-layout.ts +0 -380
  187. package/src/core/platform/manifest/custom-objects/register.ts +0 -555
  188. package/src/core/platform/manifest/custom-objects/rule.ts +0 -192
  189. package/src/core/platform/manifest/custom-objects/sdui-page.ts +0 -515
  190. package/src/core/platform/manifest/custom-objects/typed-condition.ts +0 -617
  191. package/src/core/platform/manifest/custom-objects/types.ts +0 -92
  192. package/src/core/platform/manifest/custom-objects/validation.ts +0 -70
  193. package/src/core/platform/manifest/custom-objects/workflow.ts +0 -71
  194. package/src/core/platform/manifest/custom-objects.ts +0 -203
  195. package/src/pebble-sdui-web-custom-apps-shim.d.ts +0 -3
@@ -1,58 +0,0 @@
1
- import { CustomObjectAction, type CustomObjectActionProps, type ManifestFunction } from "../../../../lib/manifest.js";
2
- import type { ManifestScope } from "../../../../lib/manifest/manifest-builder.js";
3
- import type { AnyCustomObjectDefinition } from "../../custom-objects/types.js";
4
- import { type ManifestFunctionFromFileProps } from "./function-file.js";
5
- import type { ManifestRegistration } from "./types.js";
6
- /**
7
- * Initialization properties for {@link defineTypedCustomObjectAction}.
8
- *
9
- * @typeParam TDefinition - Typed custom-object definition whose object action is being authored.
10
- */
11
- export interface TypedCustomObjectActionProps<TDefinition extends AnyCustomObjectDefinition> extends Omit<CustomObjectActionProps, 'function'> {
12
- /** Existing manifest function invoked by this action. */
13
- readonly function: ManifestFunction;
14
- /** Phantom type anchor that keeps the props definition-scoped in editor hover/help. */
15
- readonly __typedActionDefinition__?: TDefinition;
16
- }
17
- /**
18
- * Initialization properties for {@link defineTypedCustomObjectActionFromFunctionFile}.
19
- *
20
- * @typeParam TDefinition - Typed custom-object definition whose object action is being authored.
21
- */
22
- export interface TypedCustomObjectActionFromFunctionFileProps<TDefinition extends AnyCustomObjectDefinition> extends Omit<TypedCustomObjectActionProps<TDefinition>, 'function'> {
23
- /** Function metadata and source-file location for the action handler. */
24
- readonly function: ManifestFunctionFromFileProps;
25
- }
26
- /** Result returned by {@link defineTypedCustomObjectActionFromFunctionFile}. */
27
- export interface TypedCustomObjectActionFromFunctionFileResult {
28
- /** Manifest function created from the provided source file. */
29
- readonly function: ManifestFunction;
30
- /** Custom-object action wired to the created manifest function. */
31
- readonly action: CustomObjectAction;
32
- }
33
- /**
34
- * Defines one custom-object action for a typed manifest registration.
35
- *
36
- * Prefer {@link defineTypedCustomObjectActionFromFunctionFile} for the common
37
- * colocated-handler path. Use this lower-level form when the backing manifest
38
- * function already exists separately and you only need to wire the action.
39
- *
40
- * @param registration - Manifest registration produced from the typed object definition.
41
- * @param props - Action metadata plus the backing manifest function.
42
- * @returns Low-level custom-object action manifest instance.
43
- * @typeParam TDefinition - Typed custom-object definition whose action is being authored.
44
- */
45
- export declare function defineTypedCustomObjectAction<TDefinition extends AnyCustomObjectDefinition>(registration: ManifestRegistration<TDefinition>, props: TypedCustomObjectActionProps<TDefinition>): CustomObjectAction;
46
- /**
47
- * Defines one custom-object action and its backing manifest function from a source file.
48
- *
49
- * This is the intended golden path when one custom-object action owns one
50
- * colocated handler file.
51
- *
52
- * @param registration - Manifest registration produced from the typed object definition.
53
- * @param props - Action metadata plus the function source-file location.
54
- * @returns Created manifest function plus the action wired to it.
55
- * @typeParam TDefinition - Typed custom-object definition whose action is being authored.
56
- */
57
- export declare function defineTypedCustomObjectActionFromFunctionFile<TDefinition extends AnyCustomObjectDefinition>(scope: ManifestScope, registration: ManifestRegistration<TDefinition>, props: TypedCustomObjectActionFromFunctionFileProps<TDefinition>): TypedCustomObjectActionFromFunctionFileResult;
58
- //# sourceMappingURL=action.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"action.d.ts","sourceRoot":"","sources":["../../../../src/core/platform/manifest/custom-objects/action.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,KAAK,uBAAuB,EAC5B,KAAK,gB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 -1,44 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.defineTypedCustomObjectAction = defineTypedCustomObjectAction;
4
- exports.defineTypedCustomObjectActionFromFunctionFile = defineTypedCustomObjectActionFromFunctionFile;
5
- const manifest_1 = require("../../../../lib/manifest.js");
6
- const function_file_1 = require("./function-file.js");
7
- /**
8
- * Defines one custom-object action for a typed manifest registration.
9
- *
10
- * Prefer {@link defineTypedCustomObjectActionFromFunctionFile} for the common
11
- * colocated-handler path. Use this lower-level form when the backing manifest
12
- * function already exists separately and you only need to wire the action.
13
- *
14
- * @param registration - Manifest registration produced from the typed object definition.
15
- * @param props - Action metadata plus the backing manifest function.
16
- * @returns Low-level custom-object action manifest instance.
17
- * @typeParam TDefinition - Typed custom-object definition whose action is being authored.
18
- */
19
- function defineTypedCustomObjectAction(registration, props) {
20
- return new manifest_1.CustomObjectAction(registration.object, props);
21
- }
22
- /**
23
- * Defines one custom-object action and its backing manifest function from a source file.
24
- *
25
- * This is the intended golden path when one custom-object action owns one
26
- * colocated handler file.
27
- *
28
- * @param registration - Manifest registration produced from the typed object definition.
29
- * @param props - Action metadata plus the function source-file location.
30
- * @returns Created manifest function plus the action wired to it.
31
- * @typeParam TDefinition - Typed custom-object definition whose action is being authored.
32
- */
33
- function defineTypedCustomObjectActionFromFunctionFile(scope, registration, props) {
34
- const { function: functionProps, ...actionProps } = props;
35
- const createdFunction = (0, function_file_1.defineManifestFunctionFromFile)(scope, functionProps);
36
- return {
37
- function: createdFunction,
38
- action: defineTypedCustomObjectAction(registration, {
39
- ...actionProps,
40
- function: createdFunction,
41
- }),
42
- };
43
- }
44
- //# sourceMappingURL=action.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"action.js","sourceRoot":"","sources":["../../../../src/core/platform/manifest/custom-objects/action.ts"],"names":[],"mappings":";;AAsDA,sEAKC;AAaD,sGAcC;AAtFD,0DAIkC;AAGlC,sDAAqG;AAmCrG;;;;;;;;;;;GAWG;AACH,SAAgB,6BAA6B,CAC3C,YAA+C,EAC/C,KAAgD;IAEhD,OAAO,IAAI,6BAAkB,CAAC,YAAY,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;AAC5D,CAAC;AAED;;;;;;;;;;GAUG;AACH,SAAgB,6CAA6C,CAC3D,KAAoB,EACpB,YAA+C,EAC/C,KAAgE;IAEhE,MAAM,EAAE,QAAQ,EAAE,aAAa,EAAE,GAAG,WAAW,EAAE,GAAG,KAAK,CAAC;IAC1D,MAAM,eAAe,GAAG,IAAA,8CAA8B,EAAC,KAAK,EAAE,aAAa,CAAC,CAAC;IAC7E,OAAO;QACL,QAAQ,EAAE,eAAe;QACzB,MAAM,EAAE,6BAA6B,CAAC,YAAY,EAAE;YAClD,GAAG,WAAW;YACd,QAAQ,EAAE,eAAe;SAC1B,CAAC;KACH,CAAC;AACJ,CAAC"}
@@ -1,40 +0,0 @@
1
- import { CustomObjectAction, } from "../../../../lib/manifest.mjs";
2
- import { defineManifestFunctionFromFile } from "./function-file.mjs";
3
- /**
4
- * Defines one custom-object action for a typed manifest registration.
5
- *
6
- * Prefer {@link defineTypedCustomObjectActionFromFunctionFile} for the common
7
- * colocated-handler path. Use this lower-level form when the backing manifest
8
- * function already exists separately and you only need to wire the action.
9
- *
10
- * @param registration - Manifest registration produced from the typed object definition.
11
- * @param props - Action metadata plus the backing manifest function.
12
- * @returns Low-level custom-object action manifest instance.
13
- * @typeParam TDefinition - Typed custom-object definition whose action is being authored.
14
- */
15
- export function defineTypedCustomObjectAction(registration, props) {
16
- return new CustomObjectAction(registration.object, props);
17
- }
18
- /**
19
- * Defines one custom-object action and its backing manifest function from a source file.
20
- *
21
- * This is the intended golden path when one custom-object action owns one
22
- * colocated handler file.
23
- *
24
- * @param registration - Manifest registration produced from the typed object definition.
25
- * @param props - Action metadata plus the function source-file location.
26
- * @returns Created manifest function plus the action wired to it.
27
- * @typeParam TDefinition - Typed custom-object definition whose action is being authored.
28
- */
29
- export function defineTypedCustomObjectActionFromFunctionFile(scope, registration, props) {
30
- const { function: functionProps, ...actionProps } = props;
31
- const createdFunction = defineManifestFunctionFromFile(scope, functionProps);
32
- return {
33
- function: createdFunction,
34
- action: defineTypedCustomObjectAction(registration, {
35
- ...actionProps,
36
- function: createdFunction,
37
- }),
38
- };
39
- }
40
- //# sourceMappingURL=action.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"action.mjs","sourceRoot":"","sources":["../../../../src/core/platform/manifest/custom-objects/action.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,GAGnB,qCAAiC;AAGlC,OAAO,EAAE,8BAA8B,EAAsC,4BAAwB;AAmCrG;;;;;;;;;;;GAWG;AACH,MAAM,UAAU,6BAA6B,CAC3C,YAA+C,EAC/C,KAAgD;IAEhD,OAAO,IAAI,kBAAkB,CAAC,YAAY,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;AAC5D,CAAC;AAED;;;;;;;;;;GAUG;AACH,MAAM,UAAU,6CAA6C,CAC3D,KAAoB,EACpB,YAA+C,EAC/C,KAAgE;IAEhE,MAAM,EAAE,QAAQ,EAAE,aAAa,EAAE,GAAG,WAAW,EAAE,GAAG,KAAK,CAAC;IAC1D,MAAM,eAAe,GAAG,8BAA8B,CAAC,KAAK,EAAE,aAAa,CAAC,CAAC;IAC7E,OAAO;QACL,QAAQ,EAAE,eAAe;QACzB,MAAM,EAAE,6BAA6B,CAAC,YAAY,EAAE;YAClD,GAAG,WAAW;YACd,QAAQ,EAAE,eAAe;SAC1B,CAAC;KACH,CAAC;AACJ,CAAC"}
@@ -1,240 +0,0 @@
1
- import type { WorkflowRecordChangeTrigger } from "../../../../lib/manifest/workflow.mjs";
2
- import type { AnyCustomObjectDefinition, FieldNames, LookupReference } from "../../custom-objects/types.mjs";
3
- import type { ManifestRegistration } from "./types.mjs";
4
- import type { StandardManifestFieldName, TypedManifestFieldName } from "./field-resolution.mjs";
5
- /** Category bucket used to validate and render typed manifest-condition operands. */
6
- export type ManifestConditionCategory = 'string' | 'number' | 'boolean' | 'lookup' | 'unsupported';
7
- /**
8
- * Input target accepted by manifest-side typed custom-object helpers.
9
- *
10
- * These helpers can operate either on the structural definition itself or on the
11
- * manifest registration produced from that definition.
12
- *
13
- * @typeParam TDefinition - Typed custom-object definition being targeted.
14
- */
15
- export type ManifestCustomObjectTarget<TDefinition extends AnyCustomObjectDefinition> = TDefinition | ManifestRegistration<TDefinition>;
16
- /**
17
- * One rendered manifest-condition fragment.
18
- *
19
- * The fragment text intentionally stays opaque so callers compose conditions via
20
- * helper functions instead of splicing strings manually.
21
- */
22
- export interface ManifestConditionFragment {
23
- readonly text: string;
24
- }
25
- /**
26
- * Typed field token used by manifest-condition helpers.
27
- *
28
- * @typeParam TFieldName - Logical field name or standard field name represented by this token.
29
- * @typeParam TCategory - Comparable category enforced for values compared against this field.
30
- */
31
- export interface ManifestConditionFieldToken<TFieldName extends string = string, TCategory extends ManifestConditionCategory = ManifestConditionCategory> {
32
- readonly kind: 'field';
33
- readonly fieldName: TFieldName;
34
- readonly apiName: string;
35
- readonly category: TCategory;
36
- }
37
- /**
38
- * Typed function token used by manifest-condition helpers.
39
- *
40
- * @typeParam TCategory - Comparable category yielded by this function token.
41
- */
42
- export interface ManifestConditionFunctionToken<TCategory extends ManifestConditionCategory = ManifestConditionCategory> {
43
- readonly kind: 'function';
44
- readonly text: string;
45
- readonly category: TCategory;
46
- }
47
- /**
48
- * Callback-or-fragment input accepted by higher-level manifest helpers.
49
- *
50
- * @typeParam TDefinition - Typed custom-object definition that owns the field namespace.
51
- */
52
- export type ManifestConditionInput<TDefinition extends AnyCustomObjectDefinition> = ManifestConditionFragment | ((helpers: ManifestConditionHelpers<TDefinition>) => ManifestConditionFragment);
53
- type ComparableTokenByCategory<TCategory extends ManifestConditionCategory> = ManifestConditionFieldToken<string, TCategory> | ManifestConditionFunctionToken<TCategory>;
54
- type ScalarComparableInput<TCategory extends ManifestConditionCategory> = TCategory extends 'string' ? string | null | ComparableTokenByCategory<'string'> : TCategory extends 'number' ? number | null | ComparableTokenByCategory<'number'> : TCategory extends 'boolean' ? boolean | null | ComparableTokenByCategory<'boolean'> : TCategory extends 'lookup' ? string | LookupReference | null | ComparableTokenByCategory<'lookup'> : never;
55
- type ArrayComparableInput<TCategory extends ManifestConditionCategory> = TCategory extends 'string' ? readonly string[] : TCategory extends 'number' ? readonly number[] : TCategory extends 'boolean' ? readonly boolean[] : TCategory extends 'lookup' ? readonly (string | LookupReference)[] : never;
56
- type StandardManifestConditionCategory<TFieldName extends string> = TFieldName extends 'owner_role' | 'created_by' | 'last_modified_by' ? 'lookup' : 'string';
57
- type ManifestConditionCategoryByFieldKind<TKind extends string> = TKind extends ('text' | 'long-text' | 'email' | 'url' | 'phone' | 'date' | 'datetime' | 'time' | 'select' | 'radio' | 'formula-text' | 'formula-date' | 'formula-url') ? 'string' : TKind extends ('number' | 'currency' | 'percentage' | 'formula-number' | 'formula-currency' | 'formula-percentage') ? 'number' : TKind extends 'boolean' | 'formula-boolean' ? 'boolean' : TKind extends 'lookup' | 'parent-child' ? 'lookup' : 'unsupported';
58
- type CustomManifestConditionFieldCategoryMap<TDefinition extends AnyCustomObjectDefinition> = {
59
- readonly [K in FieldNames<TDefinition>]: TDefinition['fields'][K] extends ({
60
- kind: infer TKind extends string;
61
- }) ? ManifestConditionCategoryByFieldKind<TKind> : 'unsupported';
62
- };
63
- type ManifestConditionFieldCategoryMap<TDefinition extends AnyCustomObjectDefinition> = {
64
- readonly [K in StandardManifestFieldName<TDefinition>]: StandardManifestConditionCategory<K>;
65
- } & CustomManifestConditionFieldCategoryMap<TDefinition>;
66
- /**
67
- * Category inferred for one manifest-condition field name.
68
- *
69
- * @typeParam TDefinition - Typed custom-object definition that owns the field.
70
- * @typeParam TFieldName - Standard or logical field name whose category should be inferred.
71
- */
72
- export type ManifestConditionFieldCategory<TDefinition extends AnyCustomObjectDefinition, TFieldName extends TypedManifestFieldName<TDefinition>> = TFieldName extends keyof ManifestConditionFieldCategoryMap<TDefinition> ? ManifestConditionFieldCategoryMap<TDefinition>[TFieldName] : 'unsupported';
73
- /**
74
- * Typed field-token scope exposed on manifest-condition helpers.
75
- *
76
- * @typeParam TDefinition - Typed custom-object definition that owns the field namespace.
77
- */
78
- export type ManifestConditionFieldScope<TDefinition extends AnyCustomObjectDefinition> = {
79
- readonly [K in TypedManifestFieldName<TDefinition>]: ManifestConditionFieldToken<K, ManifestConditionFieldCategory<TDefinition, K>>;
80
- };
81
- /**
82
- * Field-scoped comparator helper returned by {@link ManifestConditionHelpers.where}.
83
- *
84
- * This is the higher-order condition authoring path for callers that want to
85
- * pick a field once and then author one or more comparisons against it.
86
- *
87
- * @typeParam TDefinition - Typed custom-object definition that owns the field namespace.
88
- * @typeParam TFieldName - Logical or standard field name bound to this comparator.
89
- */
90
- export interface ManifestConditionFieldComparator<TDefinition extends AnyCustomObjectDefinition, TFieldName extends TypedManifestFieldName<TDefinition>> {
91
- /** Typed field token bound to this comparator. */
92
- readonly field: ManifestConditionFieldToken<TFieldName, ManifestConditionFieldCategory<TDefinition, TFieldName>>;
93
- /** Builds an equality comparison fragment against the bound field. */
94
- eq(value: ScalarComparableInput<ManifestConditionFieldCategory<TDefinition, TFieldName>>): ManifestConditionFragment;
95
- /** Builds an inequality comparison fragment against the bound field. */
96
- ne(value: ScalarComparableInput<ManifestConditionFieldCategory<TDefinition, TFieldName>>): ManifestConditionFragment;
97
- /** Builds a less-than comparison fragment against the bound field. */
98
- lt(value: ScalarComparableInput<ManifestConditionFieldCategory<TDefinition, TFieldName>>): ManifestConditionFragment;
99
- /** Builds a less-than-or-equal comparison fragment against the bound field. */
100
- lte(value: ScalarComparableInput<ManifestConditionFieldCategory<TDefinition, TFieldName>>): ManifestConditionFragment;
101
- /** Builds a greater-than comparison fragment against the bound field. */
102
- gt(value: ScalarComparableInput<ManifestConditionFieldCategory<TDefinition, TFieldName>>): ManifestConditionFragment;
103
- /** Builds a greater-than-or-equal comparison fragment against the bound field. */
104
- gte(value: ScalarComparableInput<ManifestConditionFieldCategory<TDefinition, TFieldName>>): ManifestConditionFragment;
105
- /** Builds an `IN [...]` comparison fragment against the bound field. */
106
- in(values: ArrayComparableInput<ManifestConditionFieldCategory<TDefinition, TFieldName>>): ManifestConditionFragment;
107
- /** Builds a `NOT_IN [...]` comparison fragment against the bound field. */
108
- notIn(values: ArrayComparableInput<ManifestConditionFieldCategory<TDefinition, TFieldName>>): ManifestConditionFragment;
109
- /** Builds a null-check equality fragment against the bound field. */
110
- isNull(): ManifestConditionFragment;
111
- /** Builds a non-null inequality fragment against the bound field. */
112
- isNotNull(): ManifestConditionFragment;
113
- }
114
- /**
115
- * Main helper surface for typed manifest conditions and formulas.
116
- *
117
- * The helpers intentionally produce small immutable fragments that can be reused
118
- * across list views, validations, workflow triggers, and rules.
119
- *
120
- * @typeParam TDefinition - Typed custom-object definition whose field namespace should be enforced.
121
- */
122
- export interface ManifestConditionHelpers<TDefinition extends AnyCustomObjectDefinition> {
123
- /** Definition that owns the helper field namespace. */
124
- readonly definition: TDefinition;
125
- /** Object-specific field-token scope keyed by standard and logical field names. */
126
- readonly fields: ManifestConditionFieldScope<TDefinition>;
127
- /** Returns one typed field token by name. */
128
- field<TFieldName extends TypedManifestFieldName<TDefinition>>(fieldName: TFieldName): ManifestConditionFieldToken<TFieldName, ManifestConditionFieldCategory<TDefinition, TFieldName>>;
129
- /** Returns a higher-order comparator helper bound to one field name. */
130
- where<TFieldName extends TypedManifestFieldName<TDefinition>>(fieldName: TFieldName): ManifestConditionFieldComparator<TDefinition, TFieldName>;
131
- /** Returns the `TODAY()` manifest function token for date-style comparisons. */
132
- today(): ManifestConditionFunctionToken<'string'>;
133
- /** Builds an equality comparison fragment. */
134
- eq<TFieldName extends TypedManifestFieldName<TDefinition>>(field: ManifestConditionFieldToken<TFieldName, ManifestConditionFieldCategory<TDefinition, TFieldName>>, value: ScalarComparableInput<ManifestConditionFieldCategory<TDefinition, TFieldName>>): ManifestConditionFragment;
135
- /** Builds an inequality comparison fragment. */
136
- ne<TFieldName extends TypedManifestFieldName<TDefinition>>(field: ManifestConditionFieldToken<TFieldName, ManifestConditionFieldCategory<TDefinition, TFieldName>>, value: ScalarComparableInput<ManifestConditionFieldCategory<TDefinition, TFieldName>>): ManifestConditionFragment;
137
- /** Builds a less-than comparison fragment. */
138
- lt<TFieldName extends TypedManifestFieldName<TDefinition>>(field: ManifestConditionFieldToken<TFieldName, ManifestConditionFieldCategory<TDefinition, TFieldName>>, value: ScalarComparableInput<ManifestConditionFieldCategory<TDefinition, TFieldName>>): ManifestConditionFragment;
139
- /** Builds a less-than-or-equal comparison fragment. */
140
- lte<TFieldName extends TypedManifestFieldName<TDefinition>>(field: ManifestConditionFieldToken<TFieldName, ManifestConditionFieldCategory<TDefinition, TFieldName>>, value: ScalarComparableInput<ManifestConditionFieldCategory<TDefinition, TFieldName>>): ManifestConditionFragment;
141
- /** Builds a greater-than comparison fragment. */
142
- gt<TFieldName extends TypedManifestFieldName<TDefinition>>(field: ManifestConditionFieldToken<TFieldName, ManifestConditionFieldCategory<TDefinition, TFieldName>>, value: ScalarComparableInput<ManifestConditionFieldCategory<TDefinition, TFieldName>>): ManifestConditionFragment;
143
- /** Builds a greater-than-or-equal comparison fragment. */
144
- gte<TFieldName extends TypedManifestFieldName<TDefinition>>(field: ManifestConditionFieldToken<TFieldName, ManifestConditionFieldCategory<TDefinition, TFieldName>>, value: ScalarComparableInput<ManifestConditionFieldCategory<TDefinition, TFieldName>>): ManifestConditionFragment;
145
- /** Builds an `IN [...]` comparison fragment. */
146
- in<TFieldName extends TypedManifestFieldName<TDefinition>>(field: ManifestConditionFieldToken<TFieldName, ManifestConditionFieldCategory<TDefinition, TFieldName>>, values: ArrayComparableInput<ManifestConditionFieldCategory<TDefinition, TFieldName>>): ManifestConditionFragment;
147
- /** Builds a `NOT_IN [...]` comparison fragment. */
148
- notIn<TFieldName extends TypedManifestFieldName<TDefinition>>(field: ManifestConditionFieldToken<TFieldName, ManifestConditionFieldCategory<TDefinition, TFieldName>>, values: ArrayComparableInput<ManifestConditionFieldCategory<TDefinition, TFieldName>>): ManifestConditionFragment;
149
- /** Builds a null-check equality fragment. */
150
- isNull<TFieldName extends TypedManifestFieldName<TDefinition>>(field: ManifestConditionFieldToken<TFieldName, ManifestConditionFieldCategory<TDefinition, TFieldName>>): ManifestConditionFragment;
151
- /** Builds a non-null inequality fragment. */
152
- isNotNull<TFieldName extends TypedManifestFieldName<TDefinition>>(field: ManifestConditionFieldToken<TFieldName, ManifestConditionFieldCategory<TDefinition, TFieldName>>): ManifestConditionFragment;
153
- /** Builds an `AND` composition fragment. */
154
- and(...fragments: readonly ManifestConditionFragment[]): ManifestConditionFragment;
155
- /** Alias for `and(...)` used when callers want a more declarative composition name. */
156
- all(...fragments: readonly ManifestConditionFragment[]): ManifestConditionFragment;
157
- /** Builds an `OR` composition fragment. */
158
- or(...fragments: readonly ManifestConditionFragment[]): ManifestConditionFragment;
159
- /** Alias for `or(...)` used when callers want a more declarative composition name. */
160
- any(...fragments: readonly ManifestConditionFragment[]): ManifestConditionFragment;
161
- /** Builds a `NOT` composition fragment. */
162
- not(fragment: ManifestConditionFragment): ManifestConditionFragment;
163
- /** Negates `or(...)` across all fragments. */
164
- none(...fragments: readonly ManifestConditionFragment[]): ManifestConditionFragment;
165
- /** Wraps one pre-authored manifest condition/formula string as an explicit escape hatch. */
166
- raw(text: string): ManifestConditionFragment;
167
- /** Renders one fragment to its final manifest string form. */
168
- render(fragment: ManifestConditionFragment): string;
169
- }
170
- /**
171
- * Typed lifecycle-event composer for one custom object.
172
- *
173
- * The builder keeps workflow concepts separate from custom objects while still
174
- * preserving the object's type information through the lifecycle chain.
175
- *
176
- * @typeParam TDefinition - Typed custom-object definition whose lifecycle is being targeted.
177
- * @typeParam TOperation - Workflow record-change operation selected for this trigger.
178
- */
179
- export interface TypedCustomObjectLifecycleTriggerBuilder<TDefinition extends AnyCustomObjectDefinition, TOperation extends WorkflowRecordChangeTrigger['record_change_operation_type']> {
180
- /** Typed custom-object definition that owns this lifecycle trigger. */
181
- readonly definition: TDefinition;
182
- /** Selected record-change operation for this lifecycle trigger. */
183
- readonly operation: TOperation;
184
- /** Adds an RQL guard to the lifecycle trigger. */
185
- when(condition: ManifestConditionInput<TDefinition>): TypedCustomObjectLifecycleTriggerBuilder<TDefinition, TOperation>;
186
- /** Materializes the lifecycle builder into the low-level workflow trigger shape. */
187
- build(): WorkflowRecordChangeTrigger;
188
- }
189
- /**
190
- * Typed lifecycle helper namespace for one custom object.
191
- *
192
- * @typeParam TDefinition - Typed custom-object definition whose lifecycle events should be exposed.
193
- */
194
- export interface TypedCustomObjectLifecycle<TDefinition extends AnyCustomObjectDefinition> {
195
- /** Typed custom-object definition that owns this lifecycle namespace. */
196
- readonly definition: TDefinition;
197
- /** Builds a workflow trigger for record creation. */
198
- onCreate(): TypedCustomObjectLifecycleTriggerBuilder<TDefinition, 'RECORD_CHANGE_OPERATION_TYPE_CREATE'>;
199
- /** Builds a workflow trigger for record updates. */
200
- onUpdate(): TypedCustomObjectLifecycleTriggerBuilder<TDefinition, 'RECORD_CHANGE_OPERATION_TYPE_UPDATE'>;
201
- /** Builds a workflow trigger for record deletion. */
202
- onDelete(): TypedCustomObjectLifecycleTriggerBuilder<TDefinition, 'RECORD_CHANGE_OPERATION_TYPE_DELETE'>;
203
- /** Builds a workflow trigger for record creation or update. */
204
- onCreateOrUpdate(): TypedCustomObjectLifecycleTriggerBuilder<TDefinition, 'RECORD_CHANGE_OPERATION_TYPE_CREATE_OR_UPDATE'>;
205
- }
206
- /**
207
- * Creates typed manifest-condition helpers for one custom object target.
208
- *
209
- * The resulting helper family can be reused anywhere the manifest expects an
210
- * RQL-like object condition or formula string: list-view filters, validation
211
- * formulas, workflow guards, and rule conditions.
212
- *
213
- * @param target - Typed custom-object definition or manifest registration.
214
- * @returns Immutable field-aware manifest-condition helper surface.
215
- * @typeParam TDefinition - Typed custom-object definition whose field namespace should be enforced.
216
- */
217
- export declare function createManifestConditionHelpers<TDefinition extends AnyCustomObjectDefinition>(target: ManifestCustomObjectTarget<TDefinition>): ManifestConditionHelpers<TDefinition>;
218
- /**
219
- * Resolves one manifest-condition input into final manifest string text.
220
- *
221
- * @param target - Typed custom-object definition or manifest registration.
222
- * @param input - Condition fragment or helper callback to resolve.
223
- * @returns Final manifest condition/formula string.
224
- * @typeParam TDefinition - Typed custom-object definition that owns the helper field namespace.
225
- */
226
- export declare function resolveManifestConditionInput<TDefinition extends AnyCustomObjectDefinition>(target: ManifestCustomObjectTarget<TDefinition>, input: ManifestConditionInput<TDefinition>): string;
227
- /**
228
- * Creates the typed lifecycle helper namespace for one custom object.
229
- *
230
- * The lifecycle helper keeps workflows and custom objects as separate concepts
231
- * while exposing the custom object's record lifecycle as a fluent, typed join
232
- * point for workflow composition.
233
- *
234
- * @param target - Typed custom-object definition or manifest registration.
235
- * @returns Immutable lifecycle helper namespace for that custom object.
236
- * @typeParam TDefinition - Typed custom-object definition whose lifecycle events should be exposed.
237
- */
238
- export declare function customObjectLifecycle<TDefinition extends AnyCustomObjectDefinition>(target: ManifestCustomObjectTarget<TDefinition>): TypedCustomObjectLifecycle<TDefinition>;
239
- export {};
240
- //# sourceMappingURL=conditions.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"conditions.d.mts","sourceRoot":"","sources":["../../../../src/core/platform/manifest/custom-objects/conditions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,2BAA2B,EAAE,8CAA0C;AACrF,OAAO,KAAK,EAAE,yBAAyB,EAAE,UAAU,EAAE,eAAe,EAAE,uCAAmC;AACzG,OAAO,KAAK,EAAE,oBAAoB,EAAE,oBAAgB;AACpD,OAAO,KAAK,EAAE,yBAAyB,EAAE,sBAAsB,EAAE,+BAA2B;AAc5F,qFAAqF;AACrF,MAAM,MAAM,yBAAyB,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,QAAQ,GAAG,aAAa,CAAC;AAEnG;;;;;;;GAOG;AACH,MAAM,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