@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,192 +0,0 @@
1
- import { Rule, type RuleAction, type RuleProps } from '../../../../lib/manifest';
2
- import type { Field } from '../../../../lib/manifest/field';
3
- import type {
4
- AnyCustomObjectDefinition,
5
- FieldNames,
6
- FieldValue,
7
- LookupReference,
8
- } from '../../custom-objects/types';
9
- import type { ManifestConditionInput } from './conditions';
10
- import { resolveManifestConditionInput } from './conditions';
11
- import type {
12
- StandardManifestFieldName,
13
- TypedManifestFieldInput,
14
- TypedManifestFieldName,
15
- } from './field-resolution';
16
- import { resolveTypedManifestField } from './field-resolution';
17
- import type { ManifestRegistration } from './types';
18
-
19
- type StandardRuleFieldValue<TFieldName extends string> =
20
- TFieldName extends 'owner_role' | 'created_by' | 'last_modified_by' ? string | LookupReference : string;
21
-
22
- type CustomRuleFieldValue<
23
- TDefinition extends AnyCustomObjectDefinition,
24
- TFieldName extends FieldNames<TDefinition>,
25
- > = TDefinition['fields'][TFieldName] extends infer TField ?
26
- FieldValue<TField> extends readonly (infer TElement)[] ?
27
- FieldValue<TField> | TElement
28
- : FieldValue<TField>
29
- : never;
30
-
31
- /**
32
- * Fixed value accepted by a typed rule action for one field name.
33
- *
34
- * @typeParam TDefinition - Typed custom-object definition that owns the field namespace.
35
- * @typeParam TFieldName - Standard or logical field name that should receive the fixed value.
36
- */
37
- export type TypedRuleFixedValue<
38
- TDefinition extends AnyCustomObjectDefinition,
39
- TFieldName extends TypedManifestFieldName<TDefinition>,
40
- > = TFieldName extends FieldNames<TDefinition> ? CustomRuleFieldValue<TDefinition, TFieldName>
41
- : TFieldName extends StandardManifestFieldName<TDefinition> ? StandardRuleFieldValue<TFieldName>
42
- : never;
43
-
44
- /**
45
- * Typed rule action emitted by the typed rule helper family.
46
- *
47
- * The runtime shape is intentionally identical to the low-level {@link RuleAction}
48
- * type so the helper composes cleanly with the existing manifest class.
49
- *
50
- * @typeParam TDefinition - Typed custom-object definition that owns the field namespace.
51
- */
52
- export type TypedRuleAction<TDefinition extends AnyCustomObjectDefinition> = RuleAction & {
53
- readonly __typedRuleActionDefinition__?: TDefinition;
54
- };
55
-
56
- /**
57
- * Field setter returned by {@link TypedRuleHelpers.setField}.
58
- *
59
- * @typeParam TDefinition - Typed custom-object definition that owns the field namespace.
60
- * @typeParam TFieldName - Standard or logical field name being targeted.
61
- */
62
- export interface TypedRuleFieldSetter<
63
- TDefinition extends AnyCustomObjectDefinition,
64
- TFieldName extends TypedManifestFieldName<TDefinition>,
65
- > {
66
- /**
67
- * Creates one fixed-value rule action for the selected field.
68
- *
69
- * For select fields, the value may be either one option string or the full
70
- * array shape used by the underlying typed record model.
71
- */
72
- toValue(value: TypedRuleFixedValue<TDefinition, TFieldName>): TypedRuleAction<TDefinition>;
73
- /**
74
- * Creates one formula-backed rule action for the selected field.
75
- *
76
- * Use this as the explicit escape hatch when the default fixed-value path is
77
- * too restrictive and you need to compute the assigned value through the
78
- * low-level rule-formula string surface.
79
- */
80
- toFormula(formula: string): TypedRuleAction<TDefinition>;
81
- }
82
-
83
- /**
84
- * Helper family for typed rule actions.
85
- *
86
- * @typeParam TDefinition - Typed custom-object definition that owns the field namespace.
87
- */
88
- export interface TypedRuleHelpers<TDefinition extends AnyCustomObjectDefinition> {
89
- /** Returns a typed field setter for the selected field name. */
90
- setField<TFieldName extends TypedManifestFieldName<TDefinition>>(
91
- field: TFieldName,
92
- ): TypedRuleFieldSetter<TDefinition, TFieldName>;
93
- /** Returns a passthrough field setter for raw manifest fields such as summary fields. */
94
- setField(field: Field): {
95
- toValue(value: unknown): TypedRuleAction<TDefinition>;
96
- toFormula(formula: string): TypedRuleAction<TDefinition>;
97
- };
98
- }
99
-
100
- /**
101
- * Initialization properties for {@link defineTypedRule}.
102
- *
103
- * @typeParam TDefinition - Typed custom-object definition whose field namespace should be enforced.
104
- */
105
- type TypedRuleActionInput<TDefinition extends AnyCustomObjectDefinition> =
106
- | readonly (TypedRuleAction<TDefinition> | RuleAction)[]
107
- | ((helpers: TypedRuleHelpers<TDefinition>) => readonly (TypedRuleAction<TDefinition> | RuleAction)[]);
108
-
109
- type TypedRuleBaseProps<TDefinition extends AnyCustomObjectDefinition> = Omit<
110
- RuleProps,
111
- 'actions' | 'rqlCondition' | 'triggerType' | 'updateTriggerType'
112
- > & {
113
- /** Optional condition that must be truthy for the rule to fire. */
114
- readonly when?: ManifestConditionInput<TDefinition>;
115
- /**
116
- * Rule actions created via {@link createTypedRuleHelpers}, authored directly
117
- * as low-level actions, or produced lazily from one typed helper callback.
118
- */
119
- readonly actions?: TypedRuleActionInput<TDefinition>;
120
- };
121
-
122
- /**
123
- * Initialization properties for {@link defineTypedRule}.
124
- *
125
- * `triggerType` and `updateTriggerType` intentionally form a discriminated
126
- * union so the common CREATE-vs-UPDATE rule invariants are enforced at compile
127
- * time instead of only by the low-level manifest class at runtime.
128
- *
129
- * @typeParam TDefinition - Typed custom-object definition whose field namespace should be enforced.
130
- */
131
- export type TypedRuleProps<TDefinition extends AnyCustomObjectDefinition> =
132
- | (TypedRuleBaseProps<TDefinition> & {
133
- readonly triggerType: 'CREATE';
134
- readonly updateTriggerType?: never;
135
- })
136
- | (TypedRuleBaseProps<TDefinition> & {
137
- readonly triggerType: Exclude<RuleProps['triggerType'], 'CREATE'>;
138
- readonly updateTriggerType: NonNullable<RuleProps['updateTriggerType']>;
139
- });
140
-
141
- /**
142
- * Creates typed rule-action helpers for one manifest registration.
143
- *
144
- * @param registration - Manifest registration produced from the typed object definition.
145
- * @returns Immutable rule-action helper family.
146
- * @typeParam TDefinition - Typed custom-object definition whose field namespace should be enforced.
147
- */
148
- export function createTypedRuleHelpers<TDefinition extends AnyCustomObjectDefinition>(
149
- registration: ManifestRegistration<TDefinition>,
150
- ): TypedRuleHelpers<TDefinition> {
151
- function createSetter(field: Field) {
152
- return Object.freeze({
153
- toValue(value: unknown): TypedRuleAction<TDefinition> {
154
- return Object.freeze({ targetField: field, fixedValue: value }) as TypedRuleAction<TDefinition>;
155
- },
156
- toFormula(formula: string): TypedRuleAction<TDefinition> {
157
- return Object.freeze({ targetField: field, rqlFormula: formula }) as TypedRuleAction<TDefinition>;
158
- },
159
- });
160
- }
161
-
162
- return Object.freeze({
163
- setField(field: TypedManifestFieldInput<TDefinition> | Field) {
164
- return createSetter(
165
- resolveTypedManifestField(registration, field as TypedManifestFieldInput<TDefinition>),
166
- );
167
- },
168
- }) as TypedRuleHelpers<TDefinition>;
169
- }
170
-
171
- /**
172
- * Defines a record-triggered rule using typed field names and manifest-condition fragments.
173
- *
174
- * @param registration - Manifest registration produced from the typed object definition.
175
- * @param props - Typed rule properties.
176
- * @returns Low-level rule manifest instance.
177
- * @typeParam TDefinition - Typed custom-object definition whose field namespace should be enforced.
178
- */
179
- export function defineTypedRule<TDefinition extends AnyCustomObjectDefinition>(
180
- registration: ManifestRegistration<TDefinition>,
181
- props: TypedRuleProps<TDefinition>,
182
- ): Rule {
183
- const { when, actions, ...rest } = props;
184
- const resolvedActions =
185
- typeof actions === 'function' ? actions(createTypedRuleHelpers(registration)) : actions;
186
-
187
- return new Rule(registration.object, {
188
- ...rest,
189
- ...(when != null ? { rqlCondition: resolveManifestConditionInput(registration, when) } : {}),
190
- ...(resolvedActions != null ? { actions: [...resolvedActions] } : {}),
191
- });
192
- }