@camstack/types 1.2.417 → 1.2.419

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 (56) hide show
  1. package/dist/addon.js +2 -2
  2. package/dist/addon.mjs +2 -2
  3. package/dist/capabilities/addons.cap.d.ts +67 -1
  4. package/dist/capabilities/capability-definition.d.ts +5 -0
  5. package/dist/capabilities/color.cap.d.ts +1 -0
  6. package/dist/capabilities/composer.cap.d.ts +201 -0
  7. package/dist/capabilities/core-blocks.cap.d.ts +1441 -0
  8. package/dist/capabilities/group-commands.cap.d.ts +49 -0
  9. package/dist/capabilities/group-status.cap.d.ts +46 -0
  10. package/dist/capabilities/index.d.ts +6 -2
  11. package/dist/capabilities/motion.cap.d.ts +12 -4
  12. package/dist/capabilities/notification-rules.cap.d.ts +46 -0
  13. package/dist/capabilities/osd-manager.cap.d.ts +12 -0
  14. package/dist/client.js +37 -5
  15. package/dist/client.mjs +37 -5
  16. package/dist/composition/composition-report.d.ts +72 -0
  17. package/dist/composition/composition.d.ts +286 -5
  18. package/dist/composition/helpers/actuator.d.ts +58 -0
  19. package/dist/composition/helpers/aggregate.d.ts +41 -0
  20. package/dist/composition/helpers/catalog.d.ts +47 -0
  21. package/dist/composition/helpers/compile.d.ts +22 -0
  22. package/dist/composition/helpers/index.d.ts +7 -0
  23. package/dist/composition/helpers/save.d.ts +18 -0
  24. package/dist/composition/helpers/source-pick.d.ts +40 -0
  25. package/dist/composition/helpers/spec.d.ts +43 -0
  26. package/dist/composition/index.d.ts +1 -0
  27. package/dist/composition/source-ref.d.ts +11 -0
  28. package/dist/composition/validate-composition.d.ts +5 -0
  29. package/dist/{composition-kEl9mevu.mjs → composition-OhpuespA.mjs} +121 -8
  30. package/dist/{composition-DsmkwP9-.js → composition-re1aezX9.js} +198 -7
  31. package/dist/device/cap-vocabulary/entries/sensors.d.ts +1 -1
  32. package/dist/enums/event-category.d.ts +8 -0
  33. package/dist/enums.js +1 -1
  34. package/dist/enums.mjs +1 -1
  35. package/dist/{event-category-DXZ3f9Q5.js → event-category-Ave2VSxY.js} +8 -0
  36. package/dist/{event-category-DHXxB8t9.mjs → event-category-CT-hz5Rb.mjs} +8 -0
  37. package/dist/generated/addon-api.d.ts +35 -0
  38. package/dist/generated/addon-cap-facts.d.ts +1 -1
  39. package/dist/generated/cap-status-types.d.ts +5 -1
  40. package/dist/generated/capability-router-map.d.ts +8 -2
  41. package/dist/generated/device-local-state.d.ts +6 -0
  42. package/dist/generated/device-proxy.d.ts +6 -0
  43. package/dist/generated/device-scoped-caps.d.ts +1 -1
  44. package/dist/generated/history-catalog.d.ts +1 -1
  45. package/dist/generated/method-access-map.d.ts +1 -1
  46. package/dist/generated/method-device-selectors.d.ts +1 -1
  47. package/dist/generated/runtime-state-durability.d.ts +1 -1
  48. package/dist/generated/system-proxy.d.ts +1 -1
  49. package/dist/index.js +1040 -24
  50. package/dist/index.mjs +1006 -25
  51. package/dist/interfaces/event-bus.d.ts +15 -0
  52. package/dist/node.js +1 -1
  53. package/dist/node.mjs +1 -1
  54. package/dist/{sleep-gtskVoMw.js → sleep-YJ6FVsUu.js} +26 -2
  55. package/dist/{sleep-CARd6wZF.mjs → sleep-bykKrTgu.mjs} +26 -2
  56. package/package.json +1 -1
package/dist/addon.js CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_sleep = require("./sleep-gtskVoMw.js");
3
- const require_event_category = require("./event-category-DXZ3f9Q5.js");
2
+ const require_sleep = require("./sleep-YJ6FVsUu.js");
3
+ const require_event_category = require("./event-category-Ave2VSxY.js");
4
4
  const require_err_msg = require("./err-msg-BhVbr0NX.js");
5
5
  //#region src/generated/cap-input-defaults.ts
6
6
  /**
package/dist/addon.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { $ as expandCapMethods, $n as REVALIDATE_AFTER_MS, $r as isSecretMarker, $t as RecordFieldPathSchema, A as HF_REPO, An as RecordUniqueViolationError, Ar as buildSecretRef, B as withoutCallerStamp, Bn as RECORD_CLASSES, C as addonSliceHandleApi, Cn as InvalidRecordError, Dn as RecordNotFoundError, En as RECORDS_ERROR_CODES, Fn as UnknownRecordKindError, Fr as parseSecretRef, G as adminUiCapability, Gn as RECORD_MAX_DATA_BYTES, Hn as RECORD_DEFAULT_MAX_DATA_BYTES, I as deviceOpsCapability, In as asRecordsError, Jn as RECORD_QUERY_MAX, Jt as defineEntryKind, Kn as RECORD_MAX_INDEXES, L as viewerUiCapability, Ln as recordsErrorFromMessage, M as CAP_ADVANCE_FIELDS, Mn as RevConflictError, Mr as globalSecretScope, Nn as TransactRefusedError, Nr as isSecretRef, On as RecordSecretUnavailableError, Or as SECRET_REF_SCHEME, P as CAP_STATE_LEAVES, Pn as UnindexedFilterError, Pr as normalizeSecretOwner, Qn as resolveSecretViewsIn, Qr as isSecretFieldView, Qt as EntryDescriptorSchema, R as DEVICE_CHILDREN_BATCH_MAX, Rn as RECORD_BATCH_MAX, Rr as createEvent, Sn as ForeignSecretMarkerError, Tn as PlaintextSecretError, U as describeCustomActions, Un as RECORD_DELETE_BATCH, Vn as RECORD_DATABASES, Wn as RECORD_ID_MAX_LENGTH, Xn as RECORD_SETTINGS_MAX_ROWS, Xr as classifySecretWrite, Xt as createRecordsAccess, Yn as RECORD_SECRET_COLLECTION_PREFIX, Yr as SECRET_CLEAR, Yt as entryBody, Zn as RECORD_SWEEP_INTERVAL_MS, Zr as isSecretClear, Zt as assertTransactScope, _ as readErrorI18n, _n as collectZodSecretPaths, an as assertValidDeclaration, ar as registerKnownSecret, b as isDeviceScopedCap, bn as DeclarationRefusedError, c as asString, cn as REMOVE_LEAF, cr as PEER_BYTES_CHUNK_BYTES, ct as readNodePin, d as parseJsonUnknown, dn as parseSecretPath, dr as PEER_BYTES_TICKET_TTL_MS, dt as ReadinessRegistry, ei as isSecretMarkerLike, en as RecordIndexSchema, er as createSecretsAccess, f as hfModelUrl, fn as recordArrayItemPath, ft as ReadinessTimeoutError, g as ErrorI18nPayloadSchema, gr as BaseAddon, hn as secretArrayPrefixes, hr as DisposerChain, ht as scopeKey, in as StoredRecordKindDeclarationSchema, ir as knownSecretCount, jn as RecordsError, jr as formatSecretScope, kn as RecordTooLargeError, kr as arrayItemFieldPath, ln as collectSecretLeaves, lr as PEER_BYTES_MAX_OUTSTANDING, mn as recordSecretRef, ni as toSecretFieldView, nn as RecordKindNameSchema, nr as clearKnownSecrets, o as asJsonObject, on as declarationsOf, or as scrubKnownSecrets, p as BOOT_RECOVERY_BACKOFF_MS, pn as recordSecretCollection, pr as DATAPLANE_SECRET_HEADER, qn as RECORD_MAX_INDEX_FIELDS, qt as makeInMemoryRecords, r as maskUrlCredentials, rn as RecordRetentionSchema, rr as forgetKnownSecret, sn as defineRecordKinds, sr as shortSecretRefHash, st as nodePin, t as sleep, ti as makeSecretMarker, tn as RecordKindDeclarationSchema, tr as MIN_SCRUBBED_LENGTH, un as mapSecretLeaves, ur as PEER_BYTES_STALL_MS, ut as MODEL_FORMATS, vn as isZodSecret, vr as normalizeAddonInitResult, w as createEventBusSliceSource, wn as NoCallerError, x as createDeviceProxy, xn as FilterRequiredError, y as DEVICE_SCOPED_CAPS, yn as BatchTooLargeError, z as CALLER_STAMPED_CAPABILITIES, zn as RECORD_BATCH_MAX_BYTES, zr as emitReadiness } from "./sleep-CARd6wZF.mjs";
2
- import { t as EventCategory } from "./event-category-DHXxB8t9.mjs";
1
+ import { $ as expandCapMethods, $n as REVALIDATE_AFTER_MS, $r as isSecretMarker, $t as RecordFieldPathSchema, A as HF_REPO, An as RecordUniqueViolationError, Ar as buildSecretRef, B as withoutCallerStamp, Bn as RECORD_CLASSES, C as addonSliceHandleApi, Cn as InvalidRecordError, Dn as RecordNotFoundError, En as RECORDS_ERROR_CODES, Fn as UnknownRecordKindError, Fr as parseSecretRef, G as adminUiCapability, Gn as RECORD_MAX_DATA_BYTES, Hn as RECORD_DEFAULT_MAX_DATA_BYTES, I as deviceOpsCapability, In as asRecordsError, Jn as RECORD_QUERY_MAX, Jt as defineEntryKind, Kn as RECORD_MAX_INDEXES, L as viewerUiCapability, Ln as recordsErrorFromMessage, M as CAP_ADVANCE_FIELDS, Mn as RevConflictError, Mr as globalSecretScope, Nn as TransactRefusedError, Nr as isSecretRef, On as RecordSecretUnavailableError, Or as SECRET_REF_SCHEME, P as CAP_STATE_LEAVES, Pn as UnindexedFilterError, Pr as normalizeSecretOwner, Qn as resolveSecretViewsIn, Qr as isSecretFieldView, Qt as EntryDescriptorSchema, R as DEVICE_CHILDREN_BATCH_MAX, Rn as RECORD_BATCH_MAX, Rr as createEvent, Sn as ForeignSecretMarkerError, Tn as PlaintextSecretError, U as describeCustomActions, Un as RECORD_DELETE_BATCH, Vn as RECORD_DATABASES, Wn as RECORD_ID_MAX_LENGTH, Xn as RECORD_SETTINGS_MAX_ROWS, Xr as classifySecretWrite, Xt as createRecordsAccess, Yn as RECORD_SECRET_COLLECTION_PREFIX, Yr as SECRET_CLEAR, Yt as entryBody, Zn as RECORD_SWEEP_INTERVAL_MS, Zr as isSecretClear, Zt as assertTransactScope, _ as readErrorI18n, _n as collectZodSecretPaths, an as assertValidDeclaration, ar as registerKnownSecret, b as isDeviceScopedCap, bn as DeclarationRefusedError, c as asString, cn as REMOVE_LEAF, cr as PEER_BYTES_CHUNK_BYTES, ct as readNodePin, d as parseJsonUnknown, dn as parseSecretPath, dr as PEER_BYTES_TICKET_TTL_MS, dt as ReadinessRegistry, ei as isSecretMarkerLike, en as RecordIndexSchema, er as createSecretsAccess, f as hfModelUrl, fn as recordArrayItemPath, ft as ReadinessTimeoutError, g as ErrorI18nPayloadSchema, gr as BaseAddon, hn as secretArrayPrefixes, hr as DisposerChain, ht as scopeKey, in as StoredRecordKindDeclarationSchema, ir as knownSecretCount, jn as RecordsError, jr as formatSecretScope, kn as RecordTooLargeError, kr as arrayItemFieldPath, ln as collectSecretLeaves, lr as PEER_BYTES_MAX_OUTSTANDING, mn as recordSecretRef, ni as toSecretFieldView, nn as RecordKindNameSchema, nr as clearKnownSecrets, o as asJsonObject, on as declarationsOf, or as scrubKnownSecrets, p as BOOT_RECOVERY_BACKOFF_MS, pn as recordSecretCollection, pr as DATAPLANE_SECRET_HEADER, qn as RECORD_MAX_INDEX_FIELDS, qt as makeInMemoryRecords, r as maskUrlCredentials, rn as RecordRetentionSchema, rr as forgetKnownSecret, sn as defineRecordKinds, sr as shortSecretRefHash, st as nodePin, t as sleep, ti as makeSecretMarker, tn as RecordKindDeclarationSchema, tr as MIN_SCRUBBED_LENGTH, un as mapSecretLeaves, ur as PEER_BYTES_STALL_MS, ut as MODEL_FORMATS, vn as isZodSecret, vr as normalizeAddonInitResult, w as createEventBusSliceSource, wn as NoCallerError, x as createDeviceProxy, xn as FilterRequiredError, y as DEVICE_SCOPED_CAPS, yn as BatchTooLargeError, z as CALLER_STAMPED_CAPABILITIES, zn as RECORD_BATCH_MAX_BYTES, zr as emitReadiness } from "./sleep-bykKrTgu.mjs";
2
+ import { t as EventCategory } from "./event-category-CT-hz5Rb.mjs";
3
3
  import { a as DeviceType, t as errMsg } from "./err-msg-BXKzRBwg.mjs";
4
4
  //#region src/generated/cap-input-defaults.ts
5
5
  /**
@@ -104,6 +104,42 @@ declare const PackageVersionInfoSchema: z.ZodObject<{
104
104
  deprecated: z.ZodOptional<z.ZodString>;
105
105
  distTags: z.ZodReadonly<z.ZodArray<z.ZodString>>;
106
106
  }, z.core.$strip>;
107
+ /**
108
+ * One published document. `ok` is markdown from the registry. `missing` means
109
+ * the registry answered and the file was not there. `error` is a registry or
110
+ * tarball failure — never an empty string standing in for either.
111
+ */
112
+ declare const PackageDocBodySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
113
+ status: z.ZodLiteral<"ok">;
114
+ markdown: z.ZodString;
115
+ }, z.core.$strip>, z.ZodObject<{
116
+ status: z.ZodLiteral<"missing">;
117
+ }, z.core.$strip>, z.ZodObject<{
118
+ status: z.ZodLiteral<"error">;
119
+ message: z.ZodString;
120
+ }, z.core.$strip>], "status">;
121
+ declare const PackageDocsSchema: z.ZodObject<{
122
+ name: z.ZodString;
123
+ version: z.ZodString;
124
+ readme: z.ZodDiscriminatedUnion<[z.ZodObject<{
125
+ status: z.ZodLiteral<"ok">;
126
+ markdown: z.ZodString;
127
+ }, z.core.$strip>, z.ZodObject<{
128
+ status: z.ZodLiteral<"missing">;
129
+ }, z.core.$strip>, z.ZodObject<{
130
+ status: z.ZodLiteral<"error">;
131
+ message: z.ZodString;
132
+ }, z.core.$strip>], "status">;
133
+ changelog: z.ZodDiscriminatedUnion<[z.ZodObject<{
134
+ status: z.ZodLiteral<"ok">;
135
+ markdown: z.ZodString;
136
+ }, z.core.$strip>, z.ZodObject<{
137
+ status: z.ZodLiteral<"missing">;
138
+ }, z.core.$strip>, z.ZodObject<{
139
+ status: z.ZodLiteral<"error">;
140
+ message: z.ZodString;
141
+ }, z.core.$strip>], "status">;
142
+ }, z.core.$strip>;
107
143
  declare const SearchResultSchema: z.ZodObject<{
108
144
  name: z.ZodString;
109
145
  version: z.ZodString;
@@ -649,6 +685,36 @@ export declare const addonsCapability: {
649
685
  deprecated: z.ZodOptional<z.ZodString>;
650
686
  distTags: z.ZodReadonly<z.ZodArray<z.ZodString>>;
651
687
  }, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
688
+ /**
689
+ * README and CHANGELOG for one registry package, read on the hub and
690
+ * cached. `version` omitted resolves the `latest` dist-tag. The browser
691
+ * never talks to the registry.
692
+ */
693
+ readonly getPackageDocs: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
694
+ name: z.ZodString;
695
+ version: z.ZodOptional<z.ZodString>;
696
+ }, z.core.$strip>, z.ZodObject<{
697
+ name: z.ZodString;
698
+ version: z.ZodString;
699
+ readme: z.ZodDiscriminatedUnion<[z.ZodObject<{
700
+ status: z.ZodLiteral<"ok">;
701
+ markdown: z.ZodString;
702
+ }, z.core.$strip>, z.ZodObject<{
703
+ status: z.ZodLiteral<"missing">;
704
+ }, z.core.$strip>, z.ZodObject<{
705
+ status: z.ZodLiteral<"error">;
706
+ message: z.ZodString;
707
+ }, z.core.$strip>], "status">;
708
+ changelog: z.ZodDiscriminatedUnion<[z.ZodObject<{
709
+ status: z.ZodLiteral<"ok">;
710
+ markdown: z.ZodString;
711
+ }, z.core.$strip>, z.ZodObject<{
712
+ status: z.ZodLiteral<"missing">;
713
+ }, z.core.$strip>, z.ZodObject<{
714
+ status: z.ZodLiteral<"error">;
715
+ message: z.ZodString;
716
+ }, z.core.$strip>], "status">;
717
+ }, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
652
718
  readonly restartAddon: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
653
719
  addonId: z.ZodString;
654
720
  }, z.core.$strip>, z.ZodUnknown, "mutation">;
@@ -920,4 +986,4 @@ export declare const addonsCapability: {
920
986
  };
921
987
  };
922
988
  export type IAddonsProvider = InferProvider<typeof addonsCapability>;
923
- export { AddonAutoUpdateSchema, AddonListItemSchema, AutoUpdateSettingsSchema, BulkUpdateItemSchema, BulkUpdateItemStatusSchema, BulkUpdatePhaseSchema, BulkUpdateStateSchema, ChannelSchema, ChannelWithInheritSchema, CustomActionInputSchema, FrameworkPackageStatusSchema, InstalledPackageSchema, LogLevelSchema, LogStreamEntrySchema, PackageInstallationSchema, PackageInstallationsSchema, PackageUpdateSchema, PackageVersionInfoSchema, SearchResultSchema, UninstallNodeOutcomeSchema, UninstallNodeResultSchema, UninstallPackageResultSchema, };
989
+ export { AddonAutoUpdateSchema, AddonListItemSchema, AutoUpdateSettingsSchema, BulkUpdateItemSchema, BulkUpdateItemStatusSchema, BulkUpdatePhaseSchema, BulkUpdateStateSchema, ChannelSchema, ChannelWithInheritSchema, CustomActionInputSchema, FrameworkPackageStatusSchema, InstalledPackageSchema, LogLevelSchema, LogStreamEntrySchema, PackageInstallationSchema, PackageInstallationsSchema, PackageDocBodySchema, PackageDocsSchema, PackageUpdateSchema, PackageVersionInfoSchema, SearchResultSchema, UninstallNodeOutcomeSchema, UninstallNodeResultSchema, UninstallPackageResultSchema, };
@@ -518,6 +518,11 @@ export type ComposedMethodAnswer = {
518
518
  } | {
519
519
  readonly kind: 'answer';
520
520
  readonly value: unknown;
521
+ }
522
+ /** Read one field of the composed slice. Unknown is a throw, never false (D393). */
523
+ | {
524
+ readonly kind: 'slice';
525
+ readonly field: string;
521
526
  };
522
527
  /**
523
528
  * Full definition of a capability — the single source of truth for the
@@ -76,6 +76,7 @@ export type ColorStatus = z.infer<typeof ColorStatusSchema>;
76
76
  export type ColorRgbTriplet = z.infer<typeof RgbTripletSchema>;
77
77
  export type ColorHsvTriplet = z.infer<typeof HsvTripletSchema>;
78
78
  export type ColorInput = z.infer<typeof ColorInputSchema>;
79
+ export declare function parseColorInput(value: unknown): ColorInput | null;
79
80
  export declare const colorCapability: {
80
81
  readonly name: 'color';
81
82
  readonly scope: 'device';
@@ -56,6 +56,36 @@ export declare const ComposerBlockSchema: z.ZodObject<{
56
56
  }, z.core.$strip>, z.ZodObject<{
57
57
  kind: z.ZodLiteral<"code">;
58
58
  code: z.ZodString;
59
+ }, z.core.$strip>, z.ZodObject<{
60
+ kind: z.ZodLiteral<"aggregate">;
61
+ reducer: z.ZodEnum<{
62
+ all: "all";
63
+ any: "any";
64
+ max: "max";
65
+ mean: "mean";
66
+ median: "median";
67
+ min: "min";
68
+ sum: "sum";
69
+ }>;
70
+ reads: z.ZodArray<z.ZodObject<{
71
+ source: z.ZodObject<{
72
+ addonId: z.ZodString;
73
+ stableId: z.ZodString;
74
+ }, z.core.$strip>;
75
+ cap: z.ZodString;
76
+ fieldPath: z.ZodString;
77
+ }, z.core.$strip>>;
78
+ publish: z.ZodEnum<{
79
+ excluded: "excluded";
80
+ included: "included";
81
+ total: "total";
82
+ value: "value";
83
+ }>;
84
+ empty: z.ZodEnum<{
85
+ null: "null";
86
+ offline: "offline";
87
+ omit: "omit";
88
+ }>;
59
89
  }, z.core.$strip>], "kind">>;
60
90
  items: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
61
91
  label: z.ZodString;
@@ -85,6 +115,36 @@ export declare const ComposerBlockSchema: z.ZodObject<{
85
115
  }, z.core.$strip>, z.ZodObject<{
86
116
  kind: z.ZodLiteral<"code">;
87
117
  code: z.ZodString;
118
+ }, z.core.$strip>, z.ZodObject<{
119
+ kind: z.ZodLiteral<"aggregate">;
120
+ reducer: z.ZodEnum<{
121
+ all: "all";
122
+ any: "any";
123
+ max: "max";
124
+ mean: "mean";
125
+ median: "median";
126
+ min: "min";
127
+ sum: "sum";
128
+ }>;
129
+ reads: z.ZodArray<z.ZodObject<{
130
+ source: z.ZodObject<{
131
+ addonId: z.ZodString;
132
+ stableId: z.ZodString;
133
+ }, z.core.$strip>;
134
+ cap: z.ZodString;
135
+ fieldPath: z.ZodString;
136
+ }, z.core.$strip>>;
137
+ publish: z.ZodEnum<{
138
+ excluded: "excluded";
139
+ included: "included";
140
+ total: "total";
141
+ value: "value";
142
+ }>;
143
+ empty: z.ZodEnum<{
144
+ null: "null";
145
+ offline: "offline";
146
+ omit: "omit";
147
+ }>;
88
148
  }, z.core.$strip>], "kind">>;
89
149
  }, z.core.$strip>>>;
90
150
  commands: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -108,6 +168,13 @@ export declare const ComposerBlockSchema: z.ZodObject<{
108
168
  stableId: z.ZodString;
109
169
  }, z.core.$strip>;
110
170
  }, z.core.$strip>], "kind">>;
171
+ helper: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
172
+ kind: z.ZodLiteral<'group'>;
173
+ templateId: typeof import("../index.js").GroupTemplateIdSchema;
174
+ aggregate: typeof import("../index.js").AggregateReducerSchema;
175
+ members: z.ZodArray<typeof import("../index.js").HelperMemberSchema>;
176
+ active: z.ZodOptional<typeof import("../index.js").ActiveCriterionSchema>;
177
+ }, z.core.$strip>], "kind">>;
111
178
  }, z.core.$strip>;
112
179
  }, z.core.$strip>;
113
180
  export type ComposerBlock = z.infer<typeof ComposerBlockSchema>;
@@ -181,6 +248,36 @@ export declare const ComposerApplyInputSchema: z.ZodObject<{
181
248
  }, z.core.$strip>, z.ZodObject<{
182
249
  kind: z.ZodLiteral<"code">;
183
250
  code: z.ZodString;
251
+ }, z.core.$strip>, z.ZodObject<{
252
+ kind: z.ZodLiteral<"aggregate">;
253
+ reducer: z.ZodEnum<{
254
+ all: "all";
255
+ any: "any";
256
+ max: "max";
257
+ mean: "mean";
258
+ median: "median";
259
+ min: "min";
260
+ sum: "sum";
261
+ }>;
262
+ reads: z.ZodArray<z.ZodObject<{
263
+ source: z.ZodObject<{
264
+ addonId: z.ZodString;
265
+ stableId: z.ZodString;
266
+ }, z.core.$strip>;
267
+ cap: z.ZodString;
268
+ fieldPath: z.ZodString;
269
+ }, z.core.$strip>>;
270
+ publish: z.ZodEnum<{
271
+ excluded: "excluded";
272
+ included: "included";
273
+ total: "total";
274
+ value: "value";
275
+ }>;
276
+ empty: z.ZodEnum<{
277
+ null: "null";
278
+ offline: "offline";
279
+ omit: "omit";
280
+ }>;
184
281
  }, z.core.$strip>], "kind">>;
185
282
  items: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
186
283
  label: z.ZodString;
@@ -210,6 +307,36 @@ export declare const ComposerApplyInputSchema: z.ZodObject<{
210
307
  }, z.core.$strip>, z.ZodObject<{
211
308
  kind: z.ZodLiteral<"code">;
212
309
  code: z.ZodString;
310
+ }, z.core.$strip>, z.ZodObject<{
311
+ kind: z.ZodLiteral<"aggregate">;
312
+ reducer: z.ZodEnum<{
313
+ all: "all";
314
+ any: "any";
315
+ max: "max";
316
+ mean: "mean";
317
+ median: "median";
318
+ min: "min";
319
+ sum: "sum";
320
+ }>;
321
+ reads: z.ZodArray<z.ZodObject<{
322
+ source: z.ZodObject<{
323
+ addonId: z.ZodString;
324
+ stableId: z.ZodString;
325
+ }, z.core.$strip>;
326
+ cap: z.ZodString;
327
+ fieldPath: z.ZodString;
328
+ }, z.core.$strip>>;
329
+ publish: z.ZodEnum<{
330
+ excluded: "excluded";
331
+ included: "included";
332
+ total: "total";
333
+ value: "value";
334
+ }>;
335
+ empty: z.ZodEnum<{
336
+ null: "null";
337
+ offline: "offline";
338
+ omit: "omit";
339
+ }>;
213
340
  }, z.core.$strip>], "kind">>;
214
341
  }, z.core.$strip>>>;
215
342
  commands: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -233,6 +360,13 @@ export declare const ComposerApplyInputSchema: z.ZodObject<{
233
360
  stableId: z.ZodString;
234
361
  }, z.core.$strip>;
235
362
  }, z.core.$strip>], "kind">>;
363
+ helper: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
364
+ kind: z.ZodLiteral<'group'>;
365
+ templateId: typeof import("../index.js").GroupTemplateIdSchema;
366
+ aggregate: typeof import("../index.js").AggregateReducerSchema;
367
+ members: z.ZodArray<typeof import("../index.js").HelperMemberSchema>;
368
+ active: z.ZodOptional<typeof import("../index.js").ActiveCriterionSchema>;
369
+ }, z.core.$strip>], "kind">>;
236
370
  }, z.core.$strip>;
237
371
  }, z.core.$strip>>;
238
372
  restartBlockIds: z.ZodArray<z.ZodString>;
@@ -339,6 +473,36 @@ export declare const composerCapability: {
339
473
  }, z.core.$strip>, z.ZodObject<{
340
474
  kind: z.ZodLiteral<"code">;
341
475
  code: z.ZodString;
476
+ }, z.core.$strip>, z.ZodObject<{
477
+ kind: z.ZodLiteral<"aggregate">;
478
+ reducer: z.ZodEnum<{
479
+ all: "all";
480
+ any: "any";
481
+ max: "max";
482
+ mean: "mean";
483
+ median: "median";
484
+ min: "min";
485
+ sum: "sum";
486
+ }>;
487
+ reads: z.ZodArray<z.ZodObject<{
488
+ source: z.ZodObject<{
489
+ addonId: z.ZodString;
490
+ stableId: z.ZodString;
491
+ }, z.core.$strip>;
492
+ cap: z.ZodString;
493
+ fieldPath: z.ZodString;
494
+ }, z.core.$strip>>;
495
+ publish: z.ZodEnum<{
496
+ excluded: "excluded";
497
+ included: "included";
498
+ total: "total";
499
+ value: "value";
500
+ }>;
501
+ empty: z.ZodEnum<{
502
+ null: "null";
503
+ offline: "offline";
504
+ omit: "omit";
505
+ }>;
342
506
  }, z.core.$strip>], "kind">>;
343
507
  items: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
344
508
  label: z.ZodString;
@@ -368,6 +532,36 @@ export declare const composerCapability: {
368
532
  }, z.core.$strip>, z.ZodObject<{
369
533
  kind: z.ZodLiteral<"code">;
370
534
  code: z.ZodString;
535
+ }, z.core.$strip>, z.ZodObject<{
536
+ kind: z.ZodLiteral<"aggregate">;
537
+ reducer: z.ZodEnum<{
538
+ all: "all";
539
+ any: "any";
540
+ max: "max";
541
+ mean: "mean";
542
+ median: "median";
543
+ min: "min";
544
+ sum: "sum";
545
+ }>;
546
+ reads: z.ZodArray<z.ZodObject<{
547
+ source: z.ZodObject<{
548
+ addonId: z.ZodString;
549
+ stableId: z.ZodString;
550
+ }, z.core.$strip>;
551
+ cap: z.ZodString;
552
+ fieldPath: z.ZodString;
553
+ }, z.core.$strip>>;
554
+ publish: z.ZodEnum<{
555
+ excluded: "excluded";
556
+ included: "included";
557
+ total: "total";
558
+ value: "value";
559
+ }>;
560
+ empty: z.ZodEnum<{
561
+ null: "null";
562
+ offline: "offline";
563
+ omit: "omit";
564
+ }>;
371
565
  }, z.core.$strip>], "kind">>;
372
566
  }, z.core.$strip>>>;
373
567
  commands: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -391,6 +585,13 @@ export declare const composerCapability: {
391
585
  stableId: z.ZodString;
392
586
  }, z.core.$strip>;
393
587
  }, z.core.$strip>], "kind">>;
588
+ helper: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
589
+ kind: z.ZodLiteral<'group'>;
590
+ templateId: typeof import("../index.js").GroupTemplateIdSchema;
591
+ aggregate: typeof import("../index.js").AggregateReducerSchema;
592
+ members: z.ZodArray<typeof import("../index.js").HelperMemberSchema>;
593
+ active: z.ZodOptional<typeof import("../index.js").ActiveCriterionSchema>;
594
+ }, z.core.$strip>], "kind">>;
394
595
  }, z.core.$strip>;
395
596
  }, z.core.$strip>>;
396
597
  restartBlockIds: z.ZodArray<z.ZodString>;