@matter/types 0.13.1-alpha.0-20250515-a4c61c546 → 0.13.1-alpha.0-20250516-6288f3c54
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/dist/cjs/protocol/types/TlvAttributeData.d.ts +3 -1
- package/dist/cjs/protocol/types/TlvAttributeData.d.ts.map +1 -1
- package/dist/cjs/protocol/types/TlvAttributeData.js.map +1 -1
- package/dist/esm/protocol/types/TlvAttributeData.d.ts +3 -1
- package/dist/esm/protocol/types/TlvAttributeData.d.ts.map +1 -1
- package/dist/esm/protocol/types/TlvAttributeData.js.map +1 -1
- package/package.json +5 -5
- package/src/protocol/types/TlvAttributeData.ts +3 -0
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* Copyright 2022-2025 Matter.js Authors
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
+
import { TypeFromSchema } from "../../tlv/TlvSchema.js";
|
|
6
7
|
/** @see {@link MatterSpecification.v13.Core}, section 10.6.4 */
|
|
7
8
|
export declare const TlvAttributeData: import("../../tlv/TlvObject.js").ObjectSchema<{
|
|
8
9
|
dataVersion: import("../../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
@@ -25,6 +26,7 @@ export declare const TlvAttributeData: import("../../tlv/TlvObject.js").ObjectSc
|
|
|
25
26
|
skipDiagnosticsClusters: import("../../index.js").BitFlag;
|
|
26
27
|
}>>;
|
|
27
28
|
}>>;
|
|
28
|
-
data: import("../../tlv/TlvObject.js").FieldType<import("../../
|
|
29
|
+
data: import("../../tlv/TlvObject.js").FieldType<import("../../tlv/TlvSchema.js").TlvStream>;
|
|
29
30
|
}>;
|
|
31
|
+
export type AttributeData = TypeFromSchema<typeof TlvAttributeData>;
|
|
30
32
|
//# sourceMappingURL=TlvAttributeData.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TlvAttributeData.d.ts","sourceRoot":"","sources":["../../../../src/protocol/types/TlvAttributeData.ts"],"names":[],"mappings":"AAAA;;;;GAIG;
|
|
1
|
+
{"version":3,"file":"TlvAttributeData.d.ts","sourceRoot":"","sources":["../../../../src/protocol/types/TlvAttributeData.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAKH,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAGxD,gEAAgE;AAEhE,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;EAK3B,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,cAAc,CAAC,OAAO,gBAAgB,CAAC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/protocol/types/TlvAttributeData.ts"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAMA,oBAAuB;AACvB,uBAA0B;AAC1B,uBAAsD;
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAMA,oBAAuB;AACvB,uBAA0B;AAC1B,uBAAsD;AAEtD,8BAAiC;AAVjC;AAAA;AAAA;AAAA;AAAA;AAcO,MAAM,uBAAmB,4BAAU;AAAA;AAAA,EAEtC,iBAAa,mCAAiB,GAAG,0BAAS;AAAA,EAC1C,UAAM,2BAAS,GAAG,wCAAgB;AAAA,EAClC,UAAM,2BAAS,GAAG,oBAAM;AAC5B,CAAC;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* Copyright 2022-2025 Matter.js Authors
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
+
import { TypeFromSchema } from "../../tlv/TlvSchema.js";
|
|
6
7
|
/** @see {@link MatterSpecification.v13.Core}, section 10.6.4 */
|
|
7
8
|
export declare const TlvAttributeData: import("../../tlv/TlvObject.js").ObjectSchema<{
|
|
8
9
|
dataVersion: import("../../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
@@ -25,6 +26,7 @@ export declare const TlvAttributeData: import("../../tlv/TlvObject.js").ObjectSc
|
|
|
25
26
|
skipDiagnosticsClusters: import("../../index.js").BitFlag;
|
|
26
27
|
}>>;
|
|
27
28
|
}>>;
|
|
28
|
-
data: import("../../tlv/TlvObject.js").FieldType<import("../../
|
|
29
|
+
data: import("../../tlv/TlvObject.js").FieldType<import("../../tlv/TlvSchema.js").TlvStream>;
|
|
29
30
|
}>;
|
|
31
|
+
export type AttributeData = TypeFromSchema<typeof TlvAttributeData>;
|
|
30
32
|
//# sourceMappingURL=TlvAttributeData.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TlvAttributeData.d.ts","sourceRoot":"","sources":["../../../../src/protocol/types/TlvAttributeData.ts"],"names":[],"mappings":"AAAA;;;;GAIG;
|
|
1
|
+
{"version":3,"file":"TlvAttributeData.d.ts","sourceRoot":"","sources":["../../../../src/protocol/types/TlvAttributeData.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAKH,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAGxD,gEAAgE;AAEhE,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;EAK3B,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,cAAc,CAAC,OAAO,gBAAgB,CAAC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/protocol/types/TlvAttributeData.ts"],
|
|
4
|
-
"mappings": "AAAA;AAAA;AAAA;AAAA;AAAA;AAMA,SAAS,cAAc;AACvB,SAAS,iBAAiB;AAC1B,SAAS,UAAU,WAAW,wBAAwB;
|
|
4
|
+
"mappings": "AAAA;AAAA;AAAA;AAAA;AAAA;AAMA,SAAS,cAAc;AACvB,SAAS,iBAAiB;AAC1B,SAAS,UAAU,WAAW,wBAAwB;AAEtD,SAAS,wBAAwB;AAI1B,MAAM,mBAAmB,UAAU;AAAA;AAAA,EAEtC,aAAa,iBAAiB,GAAG,SAAS;AAAA,EAC1C,MAAM,SAAS,GAAG,gBAAgB;AAAA,EAClC,MAAM,SAAS,GAAG,MAAM;AAC5B,CAAC;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@matter/types",
|
|
3
|
-
"version": "0.13.1-alpha.0-
|
|
3
|
+
"version": "0.13.1-alpha.0-20250516-6288f3c54",
|
|
4
4
|
"description": "Definitions for Matter application",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"iot",
|
|
@@ -33,12 +33,12 @@
|
|
|
33
33
|
"embed-examples": "embedme **/README.md"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@matter/general": "0.13.1-alpha.0-
|
|
37
|
-
"@matter/model": "0.13.1-alpha.0-
|
|
36
|
+
"@matter/general": "0.13.1-alpha.0-20250516-6288f3c54",
|
|
37
|
+
"@matter/model": "0.13.1-alpha.0-20250516-6288f3c54"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@matter/tools": "0.13.1-alpha.0-
|
|
41
|
-
"@matter/testing": "0.13.1-alpha.0-
|
|
40
|
+
"@matter/tools": "0.13.1-alpha.0-20250516-6288f3c54",
|
|
41
|
+
"@matter/testing": "0.13.1-alpha.0-20250516-6288f3c54"
|
|
42
42
|
},
|
|
43
43
|
"files": [
|
|
44
44
|
"dist/**/*",
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
import { TlvAny } from "../../tlv/TlvAny.js";
|
|
8
8
|
import { TlvUInt32 } from "../../tlv/TlvNumber.js";
|
|
9
9
|
import { TlvField, TlvObject, TlvOptionalField } from "../../tlv/TlvObject.js";
|
|
10
|
+
import { TypeFromSchema } from "../../tlv/TlvSchema.js";
|
|
10
11
|
import { TlvAttributePath } from "./TlvAttributePath.js";
|
|
11
12
|
|
|
12
13
|
/** @see {@link MatterSpecification.v13.Core}, section 10.6.4 */
|
|
@@ -17,3 +18,5 @@ export const TlvAttributeData = TlvObject({
|
|
|
17
18
|
path: TlvField(1, TlvAttributePath),
|
|
18
19
|
data: TlvField(2, TlvAny),
|
|
19
20
|
});
|
|
21
|
+
|
|
22
|
+
export type AttributeData = TypeFromSchema<typeof TlvAttributeData>;
|