@camstack/types 1.2.574 → 1.2.576
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.
- package/CHANGELOG.md +18 -0
- package/dist/addon.js +1 -1
- package/dist/addon.mjs +1 -1
- package/dist/automation/action.d.ts +2 -0
- package/dist/automation/scheduler.d.ts +2 -0
- package/dist/capabilities/action-source.cap.d.ts +1 -0
- package/dist/capabilities/actions.cap.d.ts +7 -0
- package/dist/capabilities/core-blocks.cap.d.ts +20 -0
- package/dist/capabilities/device-manager.cap.d.ts +18 -0
- package/dist/capabilities/energy-system.cap.d.ts +4 -0
- package/dist/capabilities/index.d.ts +3 -1
- package/dist/capabilities/schedulers.cap.d.ts +8 -0
- package/dist/capabilities/tags.cap.d.ts +123 -0
- package/dist/capabilities/template.cap.d.ts +8 -0
- package/dist/client.js +685 -678
- package/dist/client.mjs +685 -678
- package/dist/device/device-management.d.ts +4 -0
- package/dist/device-template-catalogue.d.ts +67 -0
- package/dist/device-template-catalogue.js +361 -0
- package/dist/device-template-catalogue.mjs +346 -0
- package/dist/expression/device-template.d.ts +5 -6
- package/dist/generated/addon-api.d.ts +43 -0
- package/dist/generated/cap-vocabulary.d.ts +1 -1
- package/dist/generated/capability-router-map.d.ts +5 -2
- package/dist/generated/device-proxy.d.ts +1 -1
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/method-device-selectors.d.ts +2 -2
- package/dist/generated/system-proxy.d.ts +2 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +4112 -3872
- package/dist/index.mjs +4081 -3873
- package/dist/{sleep-CsIzA4m_.js → sleep-BURDyp_n.js} +7 -1
- package/dist/{sleep-CLDVTB5R.mjs → sleep-C9EWTQr9.mjs} +7 -1
- package/dist/tags/tag.d.ts +56 -0
- package/package.json +6 -1
|
@@ -24,6 +24,7 @@ export declare const TemplateRecordSchema: z.ZodObject<{
|
|
|
24
24
|
createdAt: z.ZodNumber;
|
|
25
25
|
updatedAt: z.ZodNumber;
|
|
26
26
|
builtIn: z.ZodOptional<z.ZodLiteral<true>>;
|
|
27
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
27
28
|
}, z.core.$strip>;
|
|
28
29
|
export type TemplateRecord = z.infer<typeof TemplateRecordSchema>;
|
|
29
30
|
export declare const TEMPLATE_WRITE_REFUSALS: readonly ['invalid-payload', 'not-found', 'read-only'];
|
|
@@ -40,6 +41,7 @@ export declare const TemplateWriteResultSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
40
41
|
createdAt: z.ZodNumber;
|
|
41
42
|
updatedAt: z.ZodNumber;
|
|
42
43
|
builtIn: z.ZodOptional<z.ZodLiteral<true>>;
|
|
44
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
43
45
|
}, z.core.$strip>;
|
|
44
46
|
}, z.core.$strip>, z.ZodObject<{
|
|
45
47
|
status: z.ZodLiteral<"refused">;
|
|
@@ -102,6 +104,7 @@ export declare const templateCapability: {
|
|
|
102
104
|
createdAt: z.ZodNumber;
|
|
103
105
|
updatedAt: z.ZodNumber;
|
|
104
106
|
builtIn: z.ZodOptional<z.ZodLiteral<true>>;
|
|
107
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
105
108
|
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
106
109
|
readonly get: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
107
110
|
id: z.ZodString;
|
|
@@ -116,6 +119,7 @@ export declare const templateCapability: {
|
|
|
116
119
|
createdAt: z.ZodNumber;
|
|
117
120
|
updatedAt: z.ZodNumber;
|
|
118
121
|
builtIn: z.ZodOptional<z.ZodLiteral<true>>;
|
|
122
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
119
123
|
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
120
124
|
readonly create: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
121
125
|
kind: z.ZodEnum<{
|
|
@@ -124,6 +128,7 @@ export declare const templateCapability: {
|
|
|
124
128
|
}>;
|
|
125
129
|
name: z.ZodString;
|
|
126
130
|
payload: z.ZodUnknown;
|
|
131
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
127
132
|
}, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
128
133
|
status: z.ZodLiteral<"saved">;
|
|
129
134
|
template: z.ZodObject<{
|
|
@@ -137,6 +142,7 @@ export declare const templateCapability: {
|
|
|
137
142
|
createdAt: z.ZodNumber;
|
|
138
143
|
updatedAt: z.ZodNumber;
|
|
139
144
|
builtIn: z.ZodOptional<z.ZodLiteral<true>>;
|
|
145
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
140
146
|
}, z.core.$strip>;
|
|
141
147
|
}, z.core.$strip>, z.ZodObject<{
|
|
142
148
|
status: z.ZodLiteral<"refused">;
|
|
@@ -151,6 +157,7 @@ export declare const templateCapability: {
|
|
|
151
157
|
id: z.ZodString;
|
|
152
158
|
name: z.ZodOptional<z.ZodString>;
|
|
153
159
|
payload: z.ZodOptional<z.ZodUnknown>;
|
|
160
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
154
161
|
}, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
155
162
|
status: z.ZodLiteral<"saved">;
|
|
156
163
|
template: z.ZodObject<{
|
|
@@ -164,6 +171,7 @@ export declare const templateCapability: {
|
|
|
164
171
|
createdAt: z.ZodNumber;
|
|
165
172
|
updatedAt: z.ZodNumber;
|
|
166
173
|
builtIn: z.ZodOptional<z.ZodLiteral<true>>;
|
|
174
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
167
175
|
}, z.core.$strip>;
|
|
168
176
|
}, z.core.$strip>, z.ZodObject<{
|
|
169
177
|
status: z.ZodLiteral<"refused">;
|