@camstack/addon-post-analysis 1.2.276 → 1.2.277

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.
@@ -5359,7 +5359,7 @@ var ZodIssueCode = {
5359
5359
  var ZodFirstPartyTypeKind;
5360
5360
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5361
5361
  //#endregion
5362
- //#region ../types/dist/sleep-pM_J7YnY.mjs
5362
+ //#region ../types/dist/sleep-D_4W7xuQ.mjs
5363
5363
  /**
5364
5364
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5365
5365
  * window to float samples (D455).
@@ -7421,11 +7421,17 @@ var RawStateResultSchema = object({
7421
7421
  method(object({ deviceId: number() }), array(StreamSourceEntrySchema)), method(object({ deviceId: number() }), array(ConfigEntrySchema$1)), method(object({
7422
7422
  deviceId: number(),
7423
7423
  values: record(string(), unknown())
7424
- }), _void(), { kind: "mutation" }), method(object({
7424
+ }), _void(), {
7425
+ kind: "mutation",
7426
+ auth: "admin"
7427
+ }), method(object({
7425
7428
  deviceId: number(),
7426
7429
  action: string().min(1),
7427
7430
  input: unknown()
7428
- }), unknown(), { kind: "mutation" }), method(object({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), unknown().nullable()), method(object({ deviceId: number() }), RawStateResultSchema.nullable(), { auth: "protected" });
7431
+ }), unknown(), { kind: "mutation" }), method(object({ deviceId: number() }), _void(), {
7432
+ kind: "mutation",
7433
+ auth: "admin"
7434
+ }), method(object({ deviceId: number() }), unknown().nullable()), method(object({ deviceId: number() }), RawStateResultSchema.nullable(), { auth: "protected" });
7429
7435
  /**
7430
7436
  * AUTO-GENERATED by scripts/generate-device-scoped-caps.ts — DO NOT EDIT.
7431
7437
  *
@@ -12159,7 +12165,7 @@ method(ListInputSchema, array(BrokerInfoSchema$1)), method(GetInputSchema, Broke
12159
12165
  }), method(UnsubscribeInputSchema, _void(), {
12160
12166
  kind: "mutation",
12161
12167
  auth: "admin"
12162
- }), method(GetStateInputSchema, unknown().nullable()), method(_void(), RegistryStatusSchema);
12168
+ }), method(GetStateInputSchema, unknown().nullable(), { auth: "admin" }), method(_void(), RegistryStatusSchema);
12163
12169
  DeviceType.Camera;
12164
12170
  /** Stream delivery format. (Relocated from the retired `streaming-engine` cap.) */
12165
12171
  var StreamFormatSchema = _enum([
@@ -13346,17 +13352,20 @@ method(object({
13346
13352
  namespace: string().optional(),
13347
13353
  collection: string(),
13348
13354
  key: string()
13349
- }), unknown()), method(object({
13355
+ }), unknown(), { auth: "admin" }), method(object({
13350
13356
  namespace: string().optional(),
13351
13357
  collection: string(),
13352
13358
  key: string(),
13353
13359
  value: unknown()
13354
- }), _void(), { kind: "mutation" }), method(object({
13360
+ }), _void(), {
13361
+ kind: "mutation",
13362
+ auth: "admin"
13363
+ }), method(object({
13355
13364
  namespace: string().optional(),
13356
13365
  collection: string(),
13357
13366
  filter: QueryFilterSchema.optional(),
13358
13367
  columns: array(string()).readonly().optional()
13359
- }), array(SettingsRecordSchema).readonly()), method(object({
13368
+ }), array(SettingsRecordSchema).readonly(), { auth: "admin" }), method(object({
13360
13369
  namespace: string().optional(),
13361
13370
  collection: string(),
13362
13371
  /** Declared columns identifying the slot; must be covered by a UNIQUE
@@ -13366,7 +13375,10 @@ method(object({
13366
13375
  }), object({
13367
13376
  /** The id the row HAS: assigned by SQLite on an insert, or the existing
13368
13377
  * row's own id on an update. */
13369
- id: union([string(), number()]) }), { kind: "mutation" }), method(object({
13378
+ id: union([string(), number()]) }), {
13379
+ kind: "mutation",
13380
+ auth: "admin"
13381
+ }), method(object({
13370
13382
  namespace: string().optional(),
13371
13383
  collection: string(),
13372
13384
  record: object({
@@ -13379,38 +13391,56 @@ id: union([string(), number()]) }), { kind: "mutation" }), method(object({
13379
13391
  * for an absent one, or the ROWID SQLite assigned on an `INTEGER`
13380
13392
  * primary key — which is the only place an auto key is knowable.
13381
13393
  */
13382
- id: union([string(), number()]) }), { kind: "mutation" }), method(object({
13394
+ id: union([string(), number()]) }), {
13395
+ kind: "mutation",
13396
+ auth: "admin"
13397
+ }), method(object({
13383
13398
  namespace: string().optional(),
13384
13399
  collection: string(),
13385
13400
  records: array(BulkRecordSchema).readonly()
13386
- }), object({ inserted: number().int() }), { kind: "mutation" }), method(object({
13401
+ }), object({ inserted: number().int() }), {
13402
+ kind: "mutation",
13403
+ auth: "admin"
13404
+ }), method(object({
13387
13405
  namespace: string().optional(),
13388
13406
  collection: string(),
13389
13407
  id: string(),
13390
13408
  data: record(string(), unknown())
13391
- }), _void(), { kind: "mutation" }), method(object({
13409
+ }), _void(), {
13410
+ kind: "mutation",
13411
+ auth: "admin"
13412
+ }), method(object({
13392
13413
  namespace: string().optional(),
13393
13414
  collection: string(),
13394
13415
  key: string()
13395
- }), _void(), { kind: "mutation" }), method(object({
13416
+ }), _void(), {
13417
+ kind: "mutation",
13418
+ auth: "admin"
13419
+ }), method(object({
13396
13420
  namespace: string().optional(),
13397
13421
  collection: string(),
13398
13422
  filter: MutationFilterSchema
13399
- }), object({ deleted: number().int() }), { kind: "mutation" }), method(object({
13423
+ }), object({ deleted: number().int() }), {
13424
+ kind: "mutation",
13425
+ auth: "admin"
13426
+ }), method(object({
13400
13427
  namespace: string().optional(),
13401
13428
  collection: string(),
13402
13429
  filter: MutationFilterSchema,
13403
13430
  data: record(string(), unknown())
13404
- }), object({ updated: number().int() }), { kind: "mutation" }), method(object({
13431
+ }), object({ updated: number().int() }), {
13432
+ kind: "mutation",
13433
+ auth: "admin"
13434
+ }), method(object({
13405
13435
  namespace: string().optional(),
13406
13436
  collection: string(),
13407
13437
  filter: QueryFilterSchema.optional()
13408
- }), number()), method(object({
13438
+ }), number(), { auth: "admin" }), method(object({
13409
13439
  namespace: string().optional(),
13410
13440
  collection: string(),
13411
13441
  fields: array(AggregateFieldSchema).readonly(),
13412
13442
  filter: QueryFilterSchema.optional()
13413
- }), AggregateResultSchema), method(object({
13443
+ }), AggregateResultSchema, { auth: "admin" }), method(object({
13414
13444
  namespace: string().optional(),
13415
13445
  collection: string(),
13416
13446
  field: string(),
@@ -13420,15 +13450,18 @@ id: union([string(), number()]) }), { kind: "mutation" }), method(object({
13420
13450
  }), array(object({
13421
13451
  bucket: number().int(),
13422
13452
  count: number().int()
13423
- })).readonly()), method(object({
13453
+ })).readonly(), { auth: "admin" }), method(object({
13424
13454
  namespace: string().optional(),
13425
13455
  collection: string()
13426
- }), boolean()), method(object({
13456
+ }), boolean(), { auth: "admin" }), method(object({
13427
13457
  namespace: string().optional(),
13428
13458
  collection: string(),
13429
13459
  columns: array(CollectionColumnSchema).readonly(),
13430
13460
  indexes: array(CollectionIndexSchema).readonly().optional()
13431
- }), _void(), { kind: "mutation" });
13461
+ }), _void(), {
13462
+ kind: "mutation",
13463
+ auth: "admin"
13464
+ });
13432
13465
  /**
13433
13466
  * What one engine says about itself. The orchestrator uses `kind` to pick
13434
13467
  * a registrant for a collection; `engineId` is what a log line names when
@@ -14219,7 +14252,13 @@ var ExposeInputSchema = object({
14219
14252
  capabilities: array(string()).optional()
14220
14253
  });
14221
14254
  var UnexposeInputSchema = object({ deviceId: string() });
14222
- method(_void(), DeviceExportStatusSchema), method(_void(), array(DeviceKindSchema)), method(_void(), array(ExposedDeviceSchema)), method(ExposeInputSchema, _void(), { kind: "mutation" }), method(UnexposeInputSchema, _void(), { kind: "mutation" });
14255
+ method(_void(), DeviceExportStatusSchema), method(_void(), array(DeviceKindSchema)), method(_void(), array(ExposedDeviceSchema)), method(ExposeInputSchema, _void(), {
14256
+ kind: "mutation",
14257
+ auth: "admin"
14258
+ }), method(UnexposeInputSchema, _void(), {
14259
+ kind: "mutation",
14260
+ auth: "admin"
14261
+ });
14223
14262
  /** Wire/storage schema for one icon id. */
14224
14263
  var LocationIconIdSchema = _enum([
14225
14264
  "map-pin",
@@ -14723,7 +14762,10 @@ method(object({
14723
14762
  kind: "mutation",
14724
14763
  auth: "admin",
14725
14764
  timeoutMs: 12 * 6e4
14726
- }), method(DeviceRegisterPayloadSchema, _void(), { kind: "mutation" }), method(DeviceRemovePayloadSchema, _void(), { kind: "mutation" }), method(DevicePersistConfigPayloadSchema, _void(), { kind: "mutation" }), method(object({ deviceId: number() }), record(string(), unknown())), method(object({ deviceId: number() }), record(string(), unknown())), method(object({ deviceId: number() }), DeviceMetaSchema.nullable()), method(object({
14765
+ }), method(DeviceRegisterPayloadSchema, _void(), { kind: "mutation" }), method(DeviceRemovePayloadSchema, _void(), { kind: "mutation" }), method(DevicePersistConfigPayloadSchema, _void(), {
14766
+ kind: "mutation",
14767
+ auth: "admin"
14768
+ }), method(object({ deviceId: number() }), record(string(), unknown()), { auth: "admin" }), method(object({ deviceId: number() }), record(string(), unknown()), { auth: "admin" }), method(object({ deviceId: number() }), DeviceMetaSchema.nullable()), method(object({
14727
14769
  deviceId: number(),
14728
14770
  name: string()
14729
14771
  }), _void(), {
@@ -16511,7 +16553,22 @@ var StatusSchema = object({
16511
16553
  brokerCount: number(),
16512
16554
  embeddedRunning: boolean()
16513
16555
  });
16514
- method(_void(), array(BrokerInfoSchema)), method(IdInputSchema, BrokerConnectionDetailsSchema), method(AddBrokerInputSchema, AddBrokerResultSchema, { kind: "mutation" }), method(IdInputSchema, _void(), { kind: "mutation" }), method(IdInputSchema, TestResultSchema$1, { kind: "mutation" }), method(StartEmbeddedInputSchema, StartEmbeddedResultSchema, { kind: "mutation" }), method(IdInputSchema, _void(), { kind: "mutation" }), method(_void(), StatusSchema);
16556
+ method(_void(), array(BrokerInfoSchema)), method(IdInputSchema, BrokerConnectionDetailsSchema, { auth: "admin" }), method(AddBrokerInputSchema, AddBrokerResultSchema, {
16557
+ kind: "mutation",
16558
+ auth: "admin"
16559
+ }), method(IdInputSchema, _void(), {
16560
+ kind: "mutation",
16561
+ auth: "admin"
16562
+ }), method(IdInputSchema, TestResultSchema$1, {
16563
+ kind: "mutation",
16564
+ auth: "admin"
16565
+ }), method(StartEmbeddedInputSchema, StartEmbeddedResultSchema, {
16566
+ kind: "mutation",
16567
+ auth: "admin"
16568
+ }), method(IdInputSchema, _void(), {
16569
+ kind: "mutation",
16570
+ auth: "admin"
16571
+ }), method(_void(), StatusSchema);
16515
16572
  var NetworkEndpointSchema = object({
16516
16573
  url: string(),
16517
16574
  hostname: string(),
@@ -16806,6 +16863,18 @@ var TargetKindSchema = object({
16806
16863
  */
16807
16864
  iconMediaType: string().optional(),
16808
16865
  configSchema: ConfigSchemaPassthrough,
16866
+ /**
16867
+ * The config keys that decide WHERE this kind's secrets are sent (server,
16868
+ * base URL, instance, chat, recipient). A save that changes any of them
16869
+ * while leaving a secret redacted is refused by the provider (D634), so an
16870
+ * editor uses this to ask for the secret on exactly those edits instead of
16871
+ * on every edit.
16872
+ *
16873
+ * Optional: absent from a provider that holds no secret (the Home Assistant
16874
+ * kinds) and from a provider older than this field — an editor that finds
16875
+ * it absent must assume ANY edit may need the secret.
16876
+ */
16877
+ destinationKeys: array(string()).optional(),
16809
16878
  supportsDiscovery: boolean(),
16810
16879
  caps: TargetKindCapsSchema
16811
16880
  });
@@ -16844,19 +16913,34 @@ var SendResultSchema = object({
16844
16913
  });
16845
16914
  /** Same shape as SendResult — kept as a distinct name for the test panel. */
16846
16915
  var TestResultSchema = SendResultSchema;
16847
- method(object({}), array(TargetKindSchema)), method(object({}), array(TargetSchema)), method(object({
16916
+ method(object({}), array(TargetKindSchema)), method(object({}), array(TargetSchema), { auth: "admin" }), method(object({
16848
16917
  kind: string(),
16849
16918
  config: record(string(), unknown()).optional()
16850
- }), array(DiscoveredTargetSchema)), method(object({
16919
+ }), array(DiscoveredTargetSchema), { auth: "admin" }), method(object({
16851
16920
  targetId: string(),
16852
16921
  notification: NotificationSchema
16853
- }), SendResultSchema, { kind: "mutation" }), method(object({
16922
+ }), SendResultSchema, {
16923
+ kind: "mutation",
16924
+ auth: "admin"
16925
+ }), method(object({
16854
16926
  targetId: string(),
16855
16927
  sample: NotificationSchema.optional()
16856
- }), TestResultSchema, { kind: "mutation" }), method(object({ target: TargetSchema }), TargetSchema, { kind: "mutation" }), method(object({ targetId: string() }), _void(), { kind: "mutation" }), method(object({
16928
+ }), TestResultSchema, {
16929
+ kind: "mutation",
16930
+ auth: "admin"
16931
+ }), method(object({ target: TargetSchema }), TargetSchema, {
16932
+ kind: "mutation",
16933
+ auth: "admin"
16934
+ }), method(object({ targetId: string() }), _void(), {
16935
+ kind: "mutation",
16936
+ auth: "admin"
16937
+ }), method(object({
16857
16938
  targetId: string(),
16858
16939
  enabled: boolean()
16859
- }), _void(), { kind: "mutation" });
16940
+ }), _void(), {
16941
+ kind: "mutation",
16942
+ auth: "admin"
16943
+ });
16860
16944
  /**
16861
16945
  * The class names a per-class COUNT can ever be keyed on — the macro ids, and
16862
16946
  * only those.
@@ -25714,41 +25798,65 @@ var ProviderListEntrySchema = discriminatedUnion("shouldSaveDiskSpace", [object(
25714
25798
  method(object({
25715
25799
  location: StorageLocationRefSchema,
25716
25800
  relativePath: string()
25717
- }), string()), method(object({
25801
+ }), string(), { auth: "admin" }), method(object({
25718
25802
  location: StorageLocationRefSchema,
25719
25803
  relativePath: string(),
25720
25804
  data: _instanceof(Uint8Array)
25721
- }), _void(), { kind: "mutation" }), method(object({
25805
+ }), _void(), {
25806
+ kind: "mutation",
25807
+ auth: "admin"
25808
+ }), method(object({
25722
25809
  location: StorageLocationRefSchema,
25723
25810
  relativePath: string()
25724
- }), _instanceof(Uint8Array)), method(object({
25811
+ }), _instanceof(Uint8Array), { auth: "admin" }), method(object({
25725
25812
  location: StorageLocationRefSchema,
25726
25813
  relativePath: string()
25727
- }), boolean()), method(object({
25814
+ }), boolean(), { auth: "admin" }), method(object({
25728
25815
  location: StorageLocationRefSchema,
25729
25816
  prefix: string().optional()
25730
- }), array(string()).readonly()), method(object({
25817
+ }), array(string()).readonly(), { auth: "admin" }), method(object({
25731
25818
  location: StorageLocationRefSchema,
25732
25819
  relativePath: string()
25733
- }), _void(), { kind: "mutation" }), method(object({ location: StorageLocationRefSchema }), number().nullable()), method(object({
25820
+ }), _void(), {
25821
+ kind: "mutation",
25822
+ auth: "admin"
25823
+ }), method(object({ location: StorageLocationRefSchema }), number().nullable()), method(object({
25734
25824
  location: StorageLocationRefSchema,
25735
25825
  relativePath: string(),
25736
25826
  sizeBytes: number().optional()
25737
- }), object({ uploadId: string() }), { kind: "mutation" }), method(object({
25827
+ }), object({ uploadId: string() }), {
25828
+ kind: "mutation",
25829
+ auth: "admin"
25830
+ }), method(object({
25738
25831
  uploadId: string(),
25739
25832
  offset: number(),
25740
25833
  data: _instanceof(Uint8Array)
25741
- }), _void(), { kind: "mutation" }), method(object({ uploadId: string() }), _void(), { kind: "mutation" }), method(object({ uploadId: string() }), _void(), { kind: "mutation" }), method(object({
25834
+ }), _void(), {
25835
+ kind: "mutation",
25836
+ auth: "admin"
25837
+ }), method(object({ uploadId: string() }), _void(), {
25838
+ kind: "mutation",
25839
+ auth: "admin"
25840
+ }), method(object({ uploadId: string() }), _void(), {
25841
+ kind: "mutation",
25842
+ auth: "admin"
25843
+ }), method(object({
25742
25844
  location: StorageLocationRefSchema,
25743
25845
  relativePath: string()
25744
25846
  }), object({
25745
25847
  downloadId: string(),
25746
25848
  sizeBytes: number()
25747
- }), { kind: "mutation" }), method(object({
25849
+ }), {
25850
+ kind: "mutation",
25851
+ auth: "admin"
25852
+ }), method(object({
25748
25853
  downloadId: string(),
25749
25854
  offset: number(),
25750
25855
  length: number()
25751
- }), _instanceof(Uint8Array)), method(object({ downloadId: string() }), _void(), { kind: "mutation" }), method(object({ type: StorageLocationTypeSchema.optional() }), array(StorageLocationSchema).readonly()), method(_void(), array(StorageLocationDeclarationSchema).readonly()), method(StorageLocationSchema.omit({
25856
+ }), _instanceof(Uint8Array), { auth: "admin" }), method(object({ downloadId: string() }), _void(), {
25857
+ kind: "mutation",
25858
+ auth: "admin"
25859
+ }), method(object({ type: StorageLocationTypeSchema.optional() }), array(StorageLocationSchema).readonly()), method(_void(), array(StorageLocationDeclarationSchema).readonly()), method(StorageLocationSchema.omit({
25752
25860
  createdAt: true,
25753
25861
  updatedAt: true
25754
25862
  }), StorageLocationSchema, {