@camstack/types 1.2.593 → 1.2.595

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 (52) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/dist/addon.d.ts +1 -0
  3. package/dist/addon.js +157 -156
  4. package/dist/addon.mjs +4 -4
  5. package/dist/capabilities/composer.cap.d.ts +9 -0
  6. package/dist/capabilities/core-blocks.cap.d.ts +64 -0
  7. package/dist/capabilities/device-manager.cap.d.ts +681 -48
  8. package/dist/capabilities/index.d.ts +1 -1
  9. package/dist/capabilities/platform-probe.cap.d.ts +28 -0
  10. package/dist/capabilities/power-meter.cap.d.ts +16 -5
  11. package/dist/capabilities/power-source.cap.d.ts +10 -0
  12. package/dist/client.js +10 -1
  13. package/dist/client.mjs +10 -1
  14. package/dist/{composed-stable-id-BNTaDZEh.mjs → composed-stable-id-DIeNz933.mjs} +3 -0
  15. package/dist/{composed-stable-id-BdeYe5dD.js → composed-stable-id-DkF5-kuf.js} +3 -0
  16. package/dist/composition/composition-report.d.ts +3 -0
  17. package/dist/composition/composition.d.ts +14 -0
  18. package/dist/composition/power-source-link.d.ts +8 -0
  19. package/dist/device/base-device.d.ts +8 -0
  20. package/dist/device/device-icon.d.ts +1 -0
  21. package/dist/device/device-management.d.ts +4 -0
  22. package/dist/device/device-type.d.ts +4 -1
  23. package/dist/device/hero/hero-look.d.ts +1 -0
  24. package/dist/device/hero/hero-scene.d.ts +1 -0
  25. package/dist/device/identity-links.d.ts +310 -0
  26. package/dist/device/index.d.ts +2 -0
  27. package/dist/device/state-refresh.d.ts +15 -1
  28. package/dist/enums/event-category.d.ts +14 -0
  29. package/dist/enums.js +1 -1
  30. package/dist/enums.mjs +1 -1
  31. package/dist/{event-category-CY27-fF0.mjs → event-category-7P4A3bYA.mjs} +14 -0
  32. package/dist/{event-category-BKxXXxnV.js → event-category-CMA0-jGW.js} +14 -0
  33. package/dist/generated/addon-api.d.ts +35 -0
  34. package/dist/generated/addon-cap-facts.d.ts +1 -1
  35. package/dist/generated/customize-catalog.d.ts +4 -4
  36. package/dist/generated/device-proxy.d.ts +1 -1
  37. package/dist/generated/method-access-map.d.ts +1 -1
  38. package/dist/generated/method-device-selectors.d.ts +2 -2
  39. package/dist/generated/system-proxy.d.ts +1 -1
  40. package/dist/{implemented-methods-BarLh7tc.js → implemented-methods-DnfgAfI6.js} +17 -2
  41. package/dist/{implemented-methods-k3KProJd.mjs → implemented-methods-wFScvZ40.mjs} +12 -3
  42. package/dist/index.d.ts +5 -2
  43. package/dist/index.js +4204 -4224
  44. package/dist/index.mjs +348 -389
  45. package/dist/inference/runtime-capabilities.d.ts +13 -2
  46. package/dist/interfaces/addon.d.ts +3 -1
  47. package/dist/interfaces/platform.d.ts +32 -0
  48. package/dist/node.js +2 -2
  49. package/dist/node.mjs +2 -2
  50. package/dist/{sleep-DO-ayTnk.mjs → runtime-capabilities-Bgt5QBvO.mjs} +403 -3
  51. package/dist/{sleep-BOK28JE0.js → runtime-capabilities-wOKNm9iz.js} +498 -2
  52. package/package.json +1 -1
@@ -357,6 +357,9 @@ export declare const CoreBlockSourceSchema: z.ZodDiscriminatedUnion<[z.ZodObject
357
357
  kind: z.ZodLiteral<"extension">;
358
358
  target: z.ZodLiteral<"remote">;
359
359
  }, z.core.$strip>], "kind">>>;
360
+ contributedBy: z.ZodOptional<z.ZodObject<{
361
+ linkId: z.ZodString;
362
+ }, z.core.$strip>>;
360
363
  }, z.core.$strip>, z.ZodObject<{
361
364
  kind: z.ZodLiteral<"passthrough">;
362
365
  cap: z.ZodString;
@@ -585,6 +588,9 @@ export declare const CompositionBlockInputSchema: z.ZodObject<{
585
588
  kind: z.ZodLiteral<"extension">;
586
589
  target: z.ZodLiteral<"remote">;
587
590
  }, z.core.$strip>], "kind">>>;
591
+ contributedBy: z.ZodOptional<z.ZodObject<{
592
+ linkId: z.ZodString;
593
+ }, z.core.$strip>>;
588
594
  }, z.core.$strip>, z.ZodObject<{
589
595
  kind: z.ZodLiteral<"passthrough">;
590
596
  cap: z.ZodString;
@@ -834,6 +840,9 @@ export declare const CoreBlockSchema: z.ZodObject<{
834
840
  kind: z.ZodLiteral<"extension">;
835
841
  target: z.ZodLiteral<"remote">;
836
842
  }, z.core.$strip>], "kind">>>;
843
+ contributedBy: z.ZodOptional<z.ZodObject<{
844
+ linkId: z.ZodString;
845
+ }, z.core.$strip>>;
837
846
  }, z.core.$strip>, z.ZodObject<{
838
847
  kind: z.ZodLiteral<"passthrough">;
839
848
  cap: z.ZodString;
@@ -1124,6 +1133,9 @@ export declare const CompositionViewSchema: z.ZodObject<{
1124
1133
  kind: z.ZodLiteral<"extension">;
1125
1134
  target: z.ZodLiteral<"remote">;
1126
1135
  }, z.core.$strip>], "kind">>>;
1136
+ contributedBy: z.ZodOptional<z.ZodObject<{
1137
+ linkId: z.ZodString;
1138
+ }, z.core.$strip>>;
1127
1139
  }, z.core.$strip>, z.ZodObject<{
1128
1140
  kind: z.ZodLiteral<"passthrough">;
1129
1141
  cap: z.ZodString;
@@ -1412,6 +1424,9 @@ export declare const CompositionListReadSchema: z.ZodDiscriminatedUnion<[z.ZodOb
1412
1424
  kind: z.ZodLiteral<"extension">;
1413
1425
  target: z.ZodLiteral<"remote">;
1414
1426
  }, z.core.$strip>], "kind">>>;
1427
+ contributedBy: z.ZodOptional<z.ZodObject<{
1428
+ linkId: z.ZodString;
1429
+ }, z.core.$strip>>;
1415
1430
  }, z.core.$strip>, z.ZodObject<{
1416
1431
  kind: z.ZodLiteral<"passthrough">;
1417
1432
  cap: z.ZodString;
@@ -1704,6 +1719,9 @@ export declare const CompositionGetReadSchema: z.ZodDiscriminatedUnion<[z.ZodObj
1704
1719
  kind: z.ZodLiteral<"extension">;
1705
1720
  target: z.ZodLiteral<"remote">;
1706
1721
  }, z.core.$strip>], "kind">>>;
1722
+ contributedBy: z.ZodOptional<z.ZodObject<{
1723
+ linkId: z.ZodString;
1724
+ }, z.core.$strip>>;
1707
1725
  }, z.core.$strip>, z.ZodObject<{
1708
1726
  kind: z.ZodLiteral<"passthrough">;
1709
1727
  cap: z.ZodString;
@@ -1997,6 +2015,9 @@ export declare const CompositionCustomizationReadSchema: z.ZodDiscriminatedUnion
1997
2015
  kind: z.ZodLiteral<"extension">;
1998
2016
  target: z.ZodLiteral<"remote">;
1999
2017
  }, z.core.$strip>], "kind">>>;
2018
+ contributedBy: z.ZodOptional<z.ZodObject<{
2019
+ linkId: z.ZodString;
2020
+ }, z.core.$strip>>;
2000
2021
  }, z.core.$strip>, z.ZodObject<{
2001
2022
  kind: z.ZodLiteral<"passthrough">;
2002
2023
  cap: z.ZodString;
@@ -2310,6 +2331,9 @@ export declare const coreBlocksCapability: {
2310
2331
  kind: z.ZodLiteral<"extension">;
2311
2332
  target: z.ZodLiteral<"remote">;
2312
2333
  }, z.core.$strip>], "kind">>>;
2334
+ contributedBy: z.ZodOptional<z.ZodObject<{
2335
+ linkId: z.ZodString;
2336
+ }, z.core.$strip>>;
2313
2337
  }, z.core.$strip>, z.ZodObject<{
2314
2338
  kind: z.ZodLiteral<"passthrough">;
2315
2339
  cap: z.ZodString;
@@ -2561,6 +2585,9 @@ export declare const coreBlocksCapability: {
2561
2585
  kind: z.ZodLiteral<"extension">;
2562
2586
  target: z.ZodLiteral<"remote">;
2563
2587
  }, z.core.$strip>], "kind">>>;
2588
+ contributedBy: z.ZodOptional<z.ZodObject<{
2589
+ linkId: z.ZodString;
2590
+ }, z.core.$strip>>;
2564
2591
  }, z.core.$strip>, z.ZodObject<{
2565
2592
  kind: z.ZodLiteral<"passthrough">;
2566
2593
  cap: z.ZodString;
@@ -2827,6 +2854,9 @@ export declare const coreBlocksCapability: {
2827
2854
  kind: z.ZodLiteral<"extension">;
2828
2855
  target: z.ZodLiteral<"remote">;
2829
2856
  }, z.core.$strip>], "kind">>>;
2857
+ contributedBy: z.ZodOptional<z.ZodObject<{
2858
+ linkId: z.ZodString;
2859
+ }, z.core.$strip>>;
2830
2860
  }, z.core.$strip>, z.ZodObject<{
2831
2861
  kind: z.ZodLiteral<"passthrough">;
2832
2862
  cap: z.ZodString;
@@ -3091,6 +3121,9 @@ export declare const coreBlocksCapability: {
3091
3121
  kind: z.ZodLiteral<"extension">;
3092
3122
  target: z.ZodLiteral<"remote">;
3093
3123
  }, z.core.$strip>], "kind">>>;
3124
+ contributedBy: z.ZodOptional<z.ZodObject<{
3125
+ linkId: z.ZodString;
3126
+ }, z.core.$strip>>;
3094
3127
  }, z.core.$strip>, z.ZodObject<{
3095
3128
  kind: z.ZodLiteral<"passthrough">;
3096
3129
  cap: z.ZodString;
@@ -3350,6 +3383,9 @@ export declare const coreBlocksCapability: {
3350
3383
  kind: z.ZodLiteral<"extension">;
3351
3384
  target: z.ZodLiteral<"remote">;
3352
3385
  }, z.core.$strip>], "kind">>>;
3386
+ contributedBy: z.ZodOptional<z.ZodObject<{
3387
+ linkId: z.ZodString;
3388
+ }, z.core.$strip>>;
3353
3389
  }, z.core.$strip>, z.ZodObject<{
3354
3390
  kind: z.ZodLiteral<"passthrough">;
3355
3391
  cap: z.ZodString;
@@ -3614,6 +3650,9 @@ export declare const coreBlocksCapability: {
3614
3650
  kind: z.ZodLiteral<"extension">;
3615
3651
  target: z.ZodLiteral<"remote">;
3616
3652
  }, z.core.$strip>], "kind">>>;
3653
+ contributedBy: z.ZodOptional<z.ZodObject<{
3654
+ linkId: z.ZodString;
3655
+ }, z.core.$strip>>;
3617
3656
  }, z.core.$strip>, z.ZodObject<{
3618
3657
  kind: z.ZodLiteral<"passthrough">;
3619
3658
  cap: z.ZodString;
@@ -3940,6 +3979,9 @@ export declare const coreBlocksCapability: {
3940
3979
  kind: z.ZodLiteral<"extension">;
3941
3980
  target: z.ZodLiteral<"remote">;
3942
3981
  }, z.core.$strip>], "kind">>>;
3982
+ contributedBy: z.ZodOptional<z.ZodObject<{
3983
+ linkId: z.ZodString;
3984
+ }, z.core.$strip>>;
3943
3985
  }, z.core.$strip>, z.ZodObject<{
3944
3986
  kind: z.ZodLiteral<"passthrough">;
3945
3987
  cap: z.ZodString;
@@ -4187,6 +4229,9 @@ export declare const coreBlocksCapability: {
4187
4229
  kind: z.ZodLiteral<"extension">;
4188
4230
  target: z.ZodLiteral<"remote">;
4189
4231
  }, z.core.$strip>], "kind">>>;
4232
+ contributedBy: z.ZodOptional<z.ZodObject<{
4233
+ linkId: z.ZodString;
4234
+ }, z.core.$strip>>;
4190
4235
  }, z.core.$strip>, z.ZodObject<{
4191
4236
  kind: z.ZodLiteral<"passthrough">;
4192
4237
  cap: z.ZodString;
@@ -4417,6 +4462,9 @@ export declare const coreBlocksCapability: {
4417
4462
  kind: z.ZodLiteral<"extension">;
4418
4463
  target: z.ZodLiteral<"remote">;
4419
4464
  }, z.core.$strip>], "kind">>>;
4465
+ contributedBy: z.ZodOptional<z.ZodObject<{
4466
+ linkId: z.ZodString;
4467
+ }, z.core.$strip>>;
4420
4468
  }, z.core.$strip>, z.ZodObject<{
4421
4469
  kind: z.ZodLiteral<"passthrough">;
4422
4470
  cap: z.ZodString;
@@ -4664,6 +4712,9 @@ export declare const coreBlocksCapability: {
4664
4712
  kind: z.ZodLiteral<"extension">;
4665
4713
  target: z.ZodLiteral<"remote">;
4666
4714
  }, z.core.$strip>], "kind">>>;
4715
+ contributedBy: z.ZodOptional<z.ZodObject<{
4716
+ linkId: z.ZodString;
4717
+ }, z.core.$strip>>;
4667
4718
  }, z.core.$strip>, z.ZodObject<{
4668
4719
  kind: z.ZodLiteral<"passthrough">;
4669
4720
  cap: z.ZodString;
@@ -4920,6 +4971,9 @@ export declare const coreBlocksCapability: {
4920
4971
  kind: z.ZodLiteral<"extension">;
4921
4972
  target: z.ZodLiteral<"remote">;
4922
4973
  }, z.core.$strip>], "kind">>>;
4974
+ contributedBy: z.ZodOptional<z.ZodObject<{
4975
+ linkId: z.ZodString;
4976
+ }, z.core.$strip>>;
4923
4977
  }, z.core.$strip>, z.ZodObject<{
4924
4978
  kind: z.ZodLiteral<"passthrough">;
4925
4979
  cap: z.ZodString;
@@ -5211,6 +5265,9 @@ export declare const coreBlocksCapability: {
5211
5265
  kind: z.ZodLiteral<"extension">;
5212
5266
  target: z.ZodLiteral<"remote">;
5213
5267
  }, z.core.$strip>], "kind">>>;
5268
+ contributedBy: z.ZodOptional<z.ZodObject<{
5269
+ linkId: z.ZodString;
5270
+ }, z.core.$strip>>;
5214
5271
  }, z.core.$strip>, z.ZodObject<{
5215
5272
  kind: z.ZodLiteral<"passthrough">;
5216
5273
  cap: z.ZodString;
@@ -5509,6 +5566,9 @@ export declare const coreBlocksCapability: {
5509
5566
  kind: z.ZodLiteral<"extension">;
5510
5567
  target: z.ZodLiteral<"remote">;
5511
5568
  }, z.core.$strip>], "kind">>>;
5569
+ contributedBy: z.ZodOptional<z.ZodObject<{
5570
+ linkId: z.ZodString;
5571
+ }, z.core.$strip>>;
5512
5572
  }, z.core.$strip>, z.ZodObject<{
5513
5573
  kind: z.ZodLiteral<"passthrough">;
5514
5574
  cap: z.ZodString;
@@ -5801,6 +5861,9 @@ export declare const coreBlocksCapability: {
5801
5861
  kind: z.ZodLiteral<"extension">;
5802
5862
  target: z.ZodLiteral<"remote">;
5803
5863
  }, z.core.$strip>], "kind">>>;
5864
+ contributedBy: z.ZodOptional<z.ZodObject<{
5865
+ linkId: z.ZodString;
5866
+ }, z.core.$strip>>;
5804
5867
  }, z.core.$strip>, z.ZodObject<{
5805
5868
  kind: z.ZodLiteral<"passthrough">;
5806
5869
  cap: z.ZodString;
@@ -5828,6 +5891,7 @@ export declare const coreBlocksCapability: {
5828
5891
  "helper-mismatch": "helper-mismatch";
5829
5892
  "item-field-reserved": "item-field-reserved";
5830
5893
  "kind-mismatch": "kind-mismatch";
5894
+ "link-contribution-removed": "link-contribution-removed";
5831
5895
  "may-be-null": "may-be-null";
5832
5896
  "member-constraint": "member-constraint";
5833
5897
  "missing-field": "missing-field";