@fluid-experimental/property-properties 0.58.1001 → 0.58.2000-58133
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/containerSerializer.d.ts.map +1 -1
- package/dist/containerSerializer.js +4 -10
- package/dist/containerSerializer.js.map +1 -1
- package/dist/enableValidations.d.ts.map +1 -1
- package/dist/enableValidations.js +1 -1
- package/dist/enableValidations.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/properties/abstractStaticCollectionProperty.d.ts.map +1 -1
- package/dist/properties/abstractStaticCollectionProperty.js +1 -28
- package/dist/properties/abstractStaticCollectionProperty.js.map +1 -1
- package/dist/properties/arrayProperty.d.ts.map +1 -1
- package/dist/properties/arrayProperty.js +26 -85
- package/dist/properties/arrayProperty.js.map +1 -1
- package/dist/properties/baseProperty.d.ts.map +1 -1
- package/dist/properties/baseProperty.js +9 -71
- package/dist/properties/baseProperty.js.map +1 -1
- package/dist/properties/boolProperty.d.ts.map +1 -1
- package/dist/properties/boolProperty.js +0 -1
- package/dist/properties/boolProperty.js.map +1 -1
- package/dist/properties/containerProperty.d.ts.map +1 -1
- package/dist/properties/containerProperty.js +4 -22
- package/dist/properties/containerProperty.js.map +1 -1
- package/dist/properties/enumArrayProperty.d.ts.map +1 -1
- package/dist/properties/enumArrayProperty.js +2 -14
- package/dist/properties/enumArrayProperty.js.map +1 -1
- package/dist/properties/enumProperty.d.ts.map +1 -1
- package/dist/properties/enumProperty.js +3 -10
- package/dist/properties/enumProperty.js.map +1 -1
- package/dist/properties/floatProperties.js +0 -2
- package/dist/properties/floatProperties.js.map +1 -1
- package/dist/properties/index.d.ts +7 -38
- package/dist/properties/index.d.ts.map +1 -1
- package/dist/properties/index.js +37 -68
- package/dist/properties/index.js.map +1 -1
- package/dist/properties/indexedCollectionBaseProperty.d.ts.map +1 -1
- package/dist/properties/indexedCollectionBaseProperty.js +6 -18
- package/dist/properties/indexedCollectionBaseProperty.js.map +1 -1
- package/dist/properties/intProperties.d.ts.map +1 -1
- package/dist/properties/intProperties.js +3 -20
- package/dist/properties/intProperties.js.map +1 -1
- package/dist/properties/lazyLoadedProperties.js.map +1 -1
- package/dist/properties/mapProperty.d.ts.map +1 -1
- package/dist/properties/mapProperty.js +4 -23
- package/dist/properties/mapProperty.js.map +1 -1
- package/dist/properties/namedNodeProperty.d.ts.map +1 -1
- package/dist/properties/namedNodeProperty.js.map +1 -1
- package/dist/properties/namedProperty.d.ts.map +1 -1
- package/dist/properties/namedProperty.js +0 -3
- package/dist/properties/namedProperty.js.map +1 -1
- package/dist/properties/nodeProperty.d.ts.map +1 -1
- package/dist/properties/nodeProperty.js +0 -3
- package/dist/properties/nodeProperty.js.map +1 -1
- package/dist/properties/primitiveTypeCasts.d.ts.map +1 -1
- package/dist/properties/primitiveTypeCasts.js +2 -2
- package/dist/properties/primitiveTypeCasts.js.map +1 -1
- package/dist/properties/referenceArrayProperty.d.ts.map +1 -1
- package/dist/properties/referenceArrayProperty.js +3 -16
- package/dist/properties/referenceArrayProperty.js.map +1 -1
- package/dist/properties/referenceMapProperty.d.ts.map +1 -1
- package/dist/properties/referenceMapProperty.js +3 -13
- package/dist/properties/referenceMapProperty.js.map +1 -1
- package/dist/properties/referenceProperty.d.ts.map +1 -1
- package/dist/properties/referenceProperty.js +4 -12
- package/dist/properties/referenceProperty.js.map +1 -1
- package/dist/properties/setProperty.d.ts.map +1 -1
- package/dist/properties/setProperty.js +3 -22
- package/dist/properties/setProperty.js.map +1 -1
- package/dist/properties/stringProperty.d.ts.map +1 -1
- package/dist/properties/stringProperty.js +12 -48
- package/dist/properties/stringProperty.js.map +1 -1
- package/dist/properties/uintProperties.js +0 -3
- package/dist/properties/uintProperties.js.map +1 -1
- package/dist/properties/valueArrayProperty.d.ts.map +1 -1
- package/dist/properties/valueArrayProperty.js +3 -45
- package/dist/properties/valueArrayProperty.js.map +1 -1
- package/dist/properties/valueMapProperty.d.ts.map +1 -1
- package/dist/properties/valueMapProperty.js +4 -29
- package/dist/properties/valueMapProperty.js.map +1 -1
- package/dist/properties/valueProperty.d.ts.map +1 -1
- package/dist/properties/valueProperty.js +2 -14
- package/dist/properties/valueProperty.js.map +1 -1
- package/dist/propertyFactory.d.ts.map +1 -1
- package/dist/propertyFactory.js +35 -72
- package/dist/propertyFactory.js.map +1 -1
- package/dist/propertyTemplate.d.ts.map +1 -1
- package/dist/propertyTemplate.js +0 -14
- package/dist/propertyTemplate.js.map +1 -1
- package/dist/propertyTemplateWrapper.d.ts.map +1 -1
- package/dist/propertyTemplateWrapper.js +4 -12
- package/dist/propertyTemplateWrapper.js.map +1 -1
- package/dist/propertyUtils.d.ts.map +1 -1
- package/dist/propertyUtils.js.map +1 -1
- package/dist/test/properties/arrayProperty.spec.js +82 -82
- package/dist/test/properties/arrayProperty.spec.js.map +1 -1
- package/dist/test/properties/baseProperty.spec.js +53 -53
- package/dist/test/properties/baseProperty.spec.js.map +1 -1
- package/dist/test/properties/containerProperty.spec.js +25 -25
- package/dist/test/properties/containerProperty.spec.js.map +1 -1
- package/dist/test/properties/customArrayProperty.spec.js +35 -35
- package/dist/test/properties/customArrayProperty.spec.js.map +1 -1
- package/dist/test/properties/enumArrayProperty.spec.js +6 -6
- package/dist/test/properties/enumArrayProperty.spec.js.map +1 -1
- package/dist/test/properties/enumProperty.spec.js +26 -26
- package/dist/test/properties/enumProperty.spec.js.map +1 -1
- package/dist/test/properties/float32.spec.js.map +1 -1
- package/dist/test/properties/int64ArrayProperty.spec.js +22 -22
- package/dist/test/properties/int64ArrayProperty.spec.js.map +1 -1
- package/dist/test/properties/int64MapProperty.spec.js +28 -28
- package/dist/test/properties/int64MapProperty.spec.js.map +1 -1
- package/dist/test/properties/int64Property.spec.js +11 -11
- package/dist/test/properties/int64Property.spec.js.map +1 -1
- package/dist/test/properties/isLeafNode.spec.js +25 -25
- package/dist/test/properties/isLeafNode.spec.js.map +1 -1
- package/dist/test/properties/mapProperty.spec.js +110 -110
- package/dist/test/properties/mapProperty.spec.js.map +1 -1
- package/dist/test/properties/namedNodeProperty.spec.js +5 -5
- package/dist/test/properties/namedNodeProperty.spec.js.map +1 -1
- package/dist/test/properties/nodeProperty.spec.js +160 -160
- package/dist/test/properties/nodeProperty.spec.js.map +1 -1
- package/dist/test/properties/referenceProperty.spec.js +21 -21
- package/dist/test/properties/referenceProperty.spec.js.map +1 -1
- package/dist/test/properties/relationshipProperty.spec.js +4 -4
- package/dist/test/properties/relationshipProperty.spec.js.map +1 -1
- package/dist/test/properties/setProperty.spec.js +32 -32
- package/dist/test/properties/setProperty.spec.js.map +1 -1
- package/dist/test/properties/stringProperty.spec.js +38 -38
- package/dist/test/properties/stringProperty.spec.js.map +1 -1
- package/dist/test/properties/uint64Property.spec.js +3 -3
- package/dist/test/properties/uint64Property.spec.js.map +1 -1
- package/dist/test/properties/valueMapProperty.spec.js +28 -28
- package/dist/test/properties/valueMapProperty.spec.js.map +1 -1
- package/dist/test/properties/valueProperty.spec.js +7 -7
- package/dist/test/properties/valueProperty.spec.js.map +1 -1
- package/dist/test/propertyFactory.spec.js +559 -560
- package/dist/test/propertyFactory.spec.js.map +1 -1
- package/dist/test/propertyTemplateWrapper.spec.js +38 -38
- package/dist/test/propertyTemplateWrapper.spec.js.map +1 -1
- package/dist/test/propertyUtils.spec.js +5 -5
- package/dist/test/propertyUtils.spec.js.map +1 -1
- package/dist/test/reversibleChangeset.spec.js +266 -266
- package/dist/test/reversibleChangeset.spec.js.map +1 -1
- package/dist/test/setup.js.map +1 -1
- package/dist/test/tsconfig.tsbuildinfo +145 -145
- package/dist/test/utils.spec.js +508 -517
- package/dist/test/utils.spec.js.map +1 -1
- package/dist/test/validation/badMissingSemverInTypeid.js +9 -9
- package/dist/test/validation/badMissingSemverInTypeid.js.map +1 -1
- package/dist/test/validation/badPrimitiveTypeid.js +5 -5
- package/dist/test/validation/badPrimitiveTypeid.js.map +1 -1
- package/dist/test/validation/goodColorId.js +42 -42
- package/dist/test/validation/goodColorId.js.map +1 -1
- package/dist/test/validation/goodColorPalette.js +2 -2
- package/dist/test/validation/goodColorPalette.js.map +1 -1
- package/dist/test/validation/goodPointId.js +9 -9
- package/dist/test/validation/goodPointId.js.map +1 -1
- package/dist/test/validation/reversibleChangeSetTestData.js +1 -1
- package/dist/test/validation/reversibleChangeSetTestData.js.map +1 -1
- package/lib/containerSerializer.js +4 -10
- package/lib/containerSerializer.js.map +1 -1
- package/lib/enableValidations.js +1 -1
- package/lib/enableValidations.js.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/properties/abstractStaticCollectionProperty.js +1 -28
- package/lib/properties/abstractStaticCollectionProperty.js.map +1 -1
- package/lib/properties/arrayProperty.js +26 -85
- package/lib/properties/arrayProperty.js.map +1 -1
- package/lib/properties/baseProperty.js +7 -69
- package/lib/properties/baseProperty.js.map +1 -1
- package/lib/properties/boolProperty.js +0 -1
- package/lib/properties/boolProperty.js.map +1 -1
- package/lib/properties/containerProperty.js +4 -22
- package/lib/properties/containerProperty.js.map +1 -1
- package/lib/properties/enumArrayProperty.js +2 -14
- package/lib/properties/enumArrayProperty.js.map +1 -1
- package/lib/properties/enumProperty.js +3 -10
- package/lib/properties/enumProperty.js.map +1 -1
- package/lib/properties/floatProperties.js +0 -2
- package/lib/properties/floatProperties.js.map +1 -1
- package/lib/properties/index.js +7 -38
- package/lib/properties/index.js.map +1 -1
- package/lib/properties/indexedCollectionBaseProperty.js +6 -18
- package/lib/properties/indexedCollectionBaseProperty.js.map +1 -1
- package/lib/properties/intProperties.js +3 -20
- package/lib/properties/intProperties.js.map +1 -1
- package/lib/properties/lazyLoadedProperties.js.map +1 -1
- package/lib/properties/mapProperty.js +4 -23
- package/lib/properties/mapProperty.js.map +1 -1
- package/lib/properties/namedNodeProperty.js.map +1 -1
- package/lib/properties/namedProperty.js +0 -3
- package/lib/properties/namedProperty.js.map +1 -1
- package/lib/properties/nodeProperty.js +0 -3
- package/lib/properties/nodeProperty.js.map +1 -1
- package/lib/properties/primitiveTypeCasts.js +2 -2
- package/lib/properties/primitiveTypeCasts.js.map +1 -1
- package/lib/properties/referenceArrayProperty.js +3 -16
- package/lib/properties/referenceArrayProperty.js.map +1 -1
- package/lib/properties/referenceMapProperty.js +3 -13
- package/lib/properties/referenceMapProperty.js.map +1 -1
- package/lib/properties/referenceProperty.js +4 -12
- package/lib/properties/referenceProperty.js.map +1 -1
- package/lib/properties/setProperty.js +3 -22
- package/lib/properties/setProperty.js.map +1 -1
- package/lib/properties/stringProperty.js +12 -48
- package/lib/properties/stringProperty.js.map +1 -1
- package/lib/properties/uintProperties.js +0 -3
- package/lib/properties/uintProperties.js.map +1 -1
- package/lib/properties/valueArrayProperty.js +3 -45
- package/lib/properties/valueArrayProperty.js.map +1 -1
- package/lib/properties/valueMapProperty.js +4 -29
- package/lib/properties/valueMapProperty.js.map +1 -1
- package/lib/properties/valueProperty.js +2 -14
- package/lib/properties/valueProperty.js.map +1 -1
- package/lib/propertyFactory.js +35 -72
- package/lib/propertyFactory.js.map +1 -1
- package/lib/propertyTemplate.js +0 -14
- package/lib/propertyTemplate.js.map +1 -1
- package/lib/propertyTemplateWrapper.js +4 -12
- package/lib/propertyTemplateWrapper.js.map +1 -1
- package/lib/propertyUtils.js.map +1 -1
- package/package.json +13 -6
|
@@ -18,30 +18,30 @@ var templateSchema = {
|
|
|
18
18
|
'properties': [
|
|
19
19
|
{
|
|
20
20
|
'id': 'x',
|
|
21
|
-
'typeid': 'Float32'
|
|
21
|
+
'typeid': 'Float32',
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
24
|
'id': 'y',
|
|
25
|
-
'typeid': 'Float32'
|
|
25
|
+
'typeid': 'Float32',
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
28
|
'id': 'z',
|
|
29
|
-
'typeid': 'Float32'
|
|
30
|
-
}
|
|
31
|
-
]
|
|
29
|
+
'typeid': 'Float32',
|
|
30
|
+
},
|
|
31
|
+
],
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
34
|
'id': 'color',
|
|
35
|
-
'typeid': 'TeamLeoValidation2:ColorID-1.0.0'
|
|
35
|
+
'typeid': 'TeamLeoValidation2:ColorID-1.0.0',
|
|
36
36
|
},
|
|
37
37
|
{
|
|
38
38
|
'id': 'normal',
|
|
39
39
|
'typeid': 'Float32',
|
|
40
40
|
'context': 'array',
|
|
41
|
-
'length': 3
|
|
42
|
-
}
|
|
41
|
+
'length': 3,
|
|
42
|
+
},
|
|
43
43
|
],
|
|
44
|
-
'typeid': 'TeamLeoValidation2:PointID'
|
|
44
|
+
'typeid': 'TeamLeoValidation2:PointID',
|
|
45
45
|
};
|
|
46
46
|
module.exports = templateSchema;
|
|
47
47
|
//# sourceMappingURL=badMissingSemverInTypeid.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"badMissingSemverInTypeid.js","sourceRoot":"","sources":["../../../src/test/validation/badMissingSemverInTypeid.js"],"names":[],"mappings":"AAAA;;;GAGG;AACH;;;GAGG;AAEH;;;;KAIK;AACL,IAAI,cAAc,GAAG;IACjB,YAAY,EAAE;QACV;YACI,IAAI,EAAE,UAAU;YAChB,YAAY,EAAE;gBACV;oBACI,IAAI,EAAE,GAAG;oBACT,QAAQ,EAAE,SAAS;iBACtB;gBACD;oBACI,IAAI,EAAE,GAAG;oBACT,QAAQ,EAAE,SAAS;iBACtB;gBACD;oBACI,IAAI,EAAE,GAAG;oBACT,QAAQ,EAAE,SAAS;iBACtB;aACJ;SACJ;QACD;YACI,IAAI,EAAE,OAAO;YACb,QAAQ,EAAE,kCAAkC;SAC/C;QACD;YACI,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,SAAS;YACnB,SAAS,EAAE,OAAO;YAClB,QAAQ,EAAE,CAAC;SACd;KACJ;IACD,QAAQ,EAAE,4BAA4B;CACzC,CAAC;AAEF,MAAM,CAAC,OAAO,GAAG,cAAc,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n/**\n * @fileoverview\n * Test data for property set template semver testing\n */\n\n/**\n * @namespace property-propertiesTest.Test\n * @alias bad_nested_properties.js\n * Namespace containing all schema-related data for property set validation\n */\nvar templateSchema = {\n 'properties': [\n {\n 'id': 'position',\n 'properties': [\n {\n 'id': 'x',\n 'typeid': 'Float32'
|
|
1
|
+
{"version":3,"file":"badMissingSemverInTypeid.js","sourceRoot":"","sources":["../../../src/test/validation/badMissingSemverInTypeid.js"],"names":[],"mappings":"AAAA;;;GAGG;AACH;;;GAGG;AAEH;;;;KAIK;AACL,IAAI,cAAc,GAAG;IACjB,YAAY,EAAE;QACV;YACI,IAAI,EAAE,UAAU;YAChB,YAAY,EAAE;gBACV;oBACI,IAAI,EAAE,GAAG;oBACT,QAAQ,EAAE,SAAS;iBACtB;gBACD;oBACI,IAAI,EAAE,GAAG;oBACT,QAAQ,EAAE,SAAS;iBACtB;gBACD;oBACI,IAAI,EAAE,GAAG;oBACT,QAAQ,EAAE,SAAS;iBACtB;aACJ;SACJ;QACD;YACI,IAAI,EAAE,OAAO;YACb,QAAQ,EAAE,kCAAkC;SAC/C;QACD;YACI,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,SAAS;YACnB,SAAS,EAAE,OAAO;YAClB,QAAQ,EAAE,CAAC;SACd;KACJ;IACD,QAAQ,EAAE,4BAA4B;CACzC,CAAC;AAEF,MAAM,CAAC,OAAO,GAAG,cAAc,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n/**\n * @fileoverview\n * Test data for property set template semver testing\n */\n\n/**\n * @namespace property-propertiesTest.Test\n * @alias bad_nested_properties.js\n * Namespace containing all schema-related data for property set validation\n */\nvar templateSchema = {\n 'properties': [\n {\n 'id': 'position',\n 'properties': [\n {\n 'id': 'x',\n 'typeid': 'Float32',\n },\n {\n 'id': 'y',\n 'typeid': 'Float32',\n },\n {\n 'id': 'z',\n 'typeid': 'Float32',\n },\n ],\n },\n {\n 'id': 'color',\n 'typeid': 'TeamLeoValidation2:ColorID-1.0.0',\n },\n {\n 'id': 'normal',\n 'typeid': 'Float32',\n 'context': 'array',\n 'length': 3,\n },\n ],\n 'typeid': 'TeamLeoValidation2:PointID',\n};\n\nmodule.exports = templateSchema;\n"]}
|
|
@@ -15,18 +15,18 @@ var templateSchema = {
|
|
|
15
15
|
'properties': [
|
|
16
16
|
{
|
|
17
17
|
'id': 'r',
|
|
18
|
-
'typeid': 'Float32'
|
|
18
|
+
'typeid': 'Float32',
|
|
19
19
|
},
|
|
20
20
|
{
|
|
21
21
|
'id': 'g',
|
|
22
|
-
'typeid': 'Float32'
|
|
22
|
+
'typeid': 'Float32',
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
25
|
'id': 'b',
|
|
26
|
-
'typeid': 'Flob32'
|
|
27
|
-
}
|
|
26
|
+
'typeid': 'Flob32',
|
|
27
|
+
},
|
|
28
28
|
],
|
|
29
|
-
'typeid': 'TeamLeoValidation2:ColorID-1.0.0'
|
|
29
|
+
'typeid': 'TeamLeoValidation2:ColorID-1.0.0',
|
|
30
30
|
};
|
|
31
31
|
module.exports = templateSchema;
|
|
32
32
|
//# sourceMappingURL=badPrimitiveTypeid.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"badPrimitiveTypeid.js","sourceRoot":"","sources":["../../../src/test/validation/badPrimitiveTypeid.js"],"names":[],"mappings":"AAAA;;;GAGG;AACH;;;GAGG;AAEH;;;;KAIK;AACL,IAAI,cAAc,GAAG;IACjB,YAAY,EAAE;QACV;YACI,IAAI,EAAE,GAAG;YACT,QAAQ,EAAE,SAAS;SACtB;QACD;YACI,IAAI,EAAE,GAAG;YACT,QAAQ,EAAE,SAAS;SACtB;QACD;YACI,IAAI,EAAE,GAAG;YACT,QAAQ,EAAE,QAAQ;SACrB;KACJ;IACD,QAAQ,EAAE,kCAAkC;CAC/C,CAAC;AAEF,MAAM,CAAC,OAAO,GAAG,cAAc,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n/**\n * @fileoverview\n * Test data for property set template schema testing\n */\n\n/**\n * @namespace property-propertiesTest.Test\n * @alias bad_nested_properties.js\n * Namespace containing all schema-related data for property set validation\n */\nvar templateSchema = {\n 'properties': [\n {\n 'id': 'r',\n 'typeid': 'Float32'
|
|
1
|
+
{"version":3,"file":"badPrimitiveTypeid.js","sourceRoot":"","sources":["../../../src/test/validation/badPrimitiveTypeid.js"],"names":[],"mappings":"AAAA;;;GAGG;AACH;;;GAGG;AAEH;;;;KAIK;AACL,IAAI,cAAc,GAAG;IACjB,YAAY,EAAE;QACV;YACI,IAAI,EAAE,GAAG;YACT,QAAQ,EAAE,SAAS;SACtB;QACD;YACI,IAAI,EAAE,GAAG;YACT,QAAQ,EAAE,SAAS;SACtB;QACD;YACI,IAAI,EAAE,GAAG;YACT,QAAQ,EAAE,QAAQ;SACrB;KACJ;IACD,QAAQ,EAAE,kCAAkC;CAC/C,CAAC;AAEF,MAAM,CAAC,OAAO,GAAG,cAAc,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n/**\n * @fileoverview\n * Test data for property set template schema testing\n */\n\n/**\n * @namespace property-propertiesTest.Test\n * @alias bad_nested_properties.js\n * Namespace containing all schema-related data for property set validation\n */\nvar templateSchema = {\n 'properties': [\n {\n 'id': 'r',\n 'typeid': 'Float32',\n },\n {\n 'id': 'g',\n 'typeid': 'Float32',\n },\n {\n 'id': 'b',\n 'typeid': 'Flob32',\n },\n ],\n 'typeid': 'TeamLeoValidation2:ColorID-1.0.0',\n};\n\nmodule.exports = templateSchema;\n"]}
|
|
@@ -16,167 +16,167 @@ var templateSchema100 = {
|
|
|
16
16
|
{
|
|
17
17
|
'id': 'r',
|
|
18
18
|
'typeid': 'Float32',
|
|
19
|
-
'annotation': { 'description': 'Red' }
|
|
19
|
+
'annotation': { 'description': 'Red' },
|
|
20
20
|
},
|
|
21
21
|
{
|
|
22
22
|
'id': 'g',
|
|
23
23
|
'typeid': 'Float32',
|
|
24
|
-
'annotation': { 'description': 'Green' }
|
|
24
|
+
'annotation': { 'description': 'Green' },
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
27
|
'id': 'b',
|
|
28
28
|
'typeid': 'Float32',
|
|
29
|
-
'annotation': { 'description': 'Blue' }
|
|
30
|
-
}
|
|
29
|
+
'annotation': { 'description': 'Blue' },
|
|
30
|
+
},
|
|
31
31
|
],
|
|
32
|
-
'typeid': 'TeamLeoValidation2:ColorID-1.0.0'
|
|
32
|
+
'typeid': 'TeamLeoValidation2:ColorID-1.0.0',
|
|
33
33
|
};
|
|
34
34
|
var templateSchema100Modified = {
|
|
35
35
|
'properties': [
|
|
36
36
|
{
|
|
37
37
|
'id': 'r',
|
|
38
38
|
'typeid': 'Float32',
|
|
39
|
-
'annotation': { 'description': 'Red' }
|
|
39
|
+
'annotation': { 'description': 'Red' },
|
|
40
40
|
},
|
|
41
41
|
{
|
|
42
42
|
'id': 'g',
|
|
43
43
|
'typeid': 'Float32',
|
|
44
|
-
'annotation': { 'description': 'Green' }
|
|
45
|
-
}
|
|
44
|
+
'annotation': { 'description': 'Green' },
|
|
45
|
+
},
|
|
46
46
|
],
|
|
47
|
-
'typeid': 'TeamLeoValidation2:ColorID-1.0.0'
|
|
47
|
+
'typeid': 'TeamLeoValidation2:ColorID-1.0.0',
|
|
48
48
|
};
|
|
49
49
|
var templateSchema101 = {
|
|
50
50
|
'properties': [
|
|
51
51
|
{
|
|
52
52
|
'id': 'r',
|
|
53
53
|
'typeid': 'Float32',
|
|
54
|
-
'annotation': { 'description': 'Red' }
|
|
54
|
+
'annotation': { 'description': 'Red' },
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
57
|
'id': 'g',
|
|
58
58
|
'typeid': 'Float32',
|
|
59
|
-
'annotation': { 'description': 'Green' }
|
|
59
|
+
'annotation': { 'description': 'Green' },
|
|
60
60
|
},
|
|
61
61
|
{
|
|
62
62
|
'id': 'b',
|
|
63
63
|
'typeid': 'Float32',
|
|
64
|
-
'annotation': { 'description': 'Blue' }
|
|
65
|
-
}
|
|
64
|
+
'annotation': { 'description': 'Blue' },
|
|
65
|
+
},
|
|
66
66
|
],
|
|
67
67
|
'typeid': 'TeamLeoValidation2:ColorID-1.0.1',
|
|
68
|
-
'annotation': { 'description': 'Color template' }
|
|
68
|
+
'annotation': { 'description': 'Color template' },
|
|
69
69
|
};
|
|
70
70
|
var templateSchema101BadSemver = {
|
|
71
71
|
'properties': [
|
|
72
72
|
{
|
|
73
73
|
'id': 'r',
|
|
74
74
|
'typeid': 'Float32',
|
|
75
|
-
'annotation': { 'description': 'Red' }
|
|
75
|
+
'annotation': { 'description': 'Red' },
|
|
76
76
|
},
|
|
77
77
|
{
|
|
78
78
|
'id': 'g',
|
|
79
79
|
'typeid': 'Float32',
|
|
80
|
-
'annotation': { 'description': 'Green' }
|
|
80
|
+
'annotation': { 'description': 'Green' },
|
|
81
81
|
},
|
|
82
82
|
{
|
|
83
83
|
'id': 'b',
|
|
84
84
|
'typeid': 'Float32',
|
|
85
|
-
'annotation': { 'description': 'Blue' }
|
|
85
|
+
'annotation': { 'description': 'Blue' },
|
|
86
86
|
},
|
|
87
87
|
{
|
|
88
88
|
'id': 'a',
|
|
89
89
|
'typeid': 'Float32',
|
|
90
|
-
'annotation': { 'description': 'Alpha' }
|
|
91
|
-
}
|
|
90
|
+
'annotation': { 'description': 'Alpha' },
|
|
91
|
+
},
|
|
92
92
|
],
|
|
93
|
-
'typeid': 'TeamLeoValidation2:ColorID-1.0.1'
|
|
93
|
+
'typeid': 'TeamLeoValidation2:ColorID-1.0.1',
|
|
94
94
|
};
|
|
95
95
|
var templateSchema110 = {
|
|
96
96
|
'properties': [
|
|
97
97
|
{
|
|
98
98
|
'id': 'r',
|
|
99
99
|
'typeid': 'Float32',
|
|
100
|
-
'annotation': { 'description': 'Red' }
|
|
100
|
+
'annotation': { 'description': 'Red' },
|
|
101
101
|
},
|
|
102
102
|
{
|
|
103
103
|
'id': 'g',
|
|
104
104
|
'typeid': 'Float32',
|
|
105
|
-
'annotation': { 'description': 'Green' }
|
|
105
|
+
'annotation': { 'description': 'Green' },
|
|
106
106
|
},
|
|
107
107
|
{
|
|
108
108
|
'id': 'b',
|
|
109
109
|
'typeid': 'Float32',
|
|
110
|
-
'annotation': { 'description': 'Blue' }
|
|
110
|
+
'annotation': { 'description': 'Blue' },
|
|
111
111
|
},
|
|
112
112
|
{
|
|
113
113
|
'id': 'a',
|
|
114
114
|
'typeid': 'Float32',
|
|
115
|
-
'annotation': { 'description': 'Alpha' }
|
|
116
|
-
}
|
|
115
|
+
'annotation': { 'description': 'Alpha' },
|
|
116
|
+
},
|
|
117
117
|
],
|
|
118
|
-
'typeid': 'TeamLeoValidation2:ColorID-1.1.0'
|
|
118
|
+
'typeid': 'TeamLeoValidation2:ColorID-1.1.0',
|
|
119
119
|
};
|
|
120
120
|
var templateSchema110BadSemver = {
|
|
121
121
|
'properties': [
|
|
122
122
|
{
|
|
123
123
|
'id': 'r',
|
|
124
124
|
'typeid': 'Float32',
|
|
125
|
-
'annotation': { 'description': 'Red' }
|
|
125
|
+
'annotation': { 'description': 'Red' },
|
|
126
126
|
},
|
|
127
127
|
{
|
|
128
128
|
'id': 'g',
|
|
129
129
|
'typeid': 'Float32',
|
|
130
|
-
'annotation': { 'description': 'Green' }
|
|
131
|
-
}
|
|
130
|
+
'annotation': { 'description': 'Green' },
|
|
131
|
+
},
|
|
132
132
|
],
|
|
133
|
-
'typeid': 'TeamLeoValidation2:ColorID-1.1.0'
|
|
133
|
+
'typeid': 'TeamLeoValidation2:ColorID-1.1.0',
|
|
134
134
|
};
|
|
135
135
|
var templateSchema110BadSemver2 = {
|
|
136
136
|
'properties': [
|
|
137
137
|
{
|
|
138
138
|
'id': 'r',
|
|
139
139
|
'typeid': 'Float32',
|
|
140
|
-
'annotation': { 'description': 'Red' }
|
|
140
|
+
'annotation': { 'description': 'Red' },
|
|
141
141
|
},
|
|
142
142
|
{
|
|
143
143
|
'id': 'g',
|
|
144
144
|
'typeid': 'Float32',
|
|
145
|
-
'annotation': { 'description': 'Green' }
|
|
146
|
-
}
|
|
145
|
+
'annotation': { 'description': 'Green' },
|
|
146
|
+
},
|
|
147
147
|
],
|
|
148
|
-
'typeid': 'TeamLeoValidation2:ColorID-1.0.1'
|
|
148
|
+
'typeid': 'TeamLeoValidation2:ColorID-1.0.1',
|
|
149
149
|
};
|
|
150
150
|
var templateSchema200 = {
|
|
151
151
|
'properties': [
|
|
152
152
|
{
|
|
153
153
|
'id': 'r',
|
|
154
154
|
'typeid': 'Float32',
|
|
155
|
-
'annotation': { 'description': 'Red' }
|
|
155
|
+
'annotation': { 'description': 'Red' },
|
|
156
156
|
},
|
|
157
157
|
{
|
|
158
158
|
'id': 'g',
|
|
159
159
|
'typeid': 'Float32',
|
|
160
|
-
'annotation': { 'description': 'Green' }
|
|
161
|
-
}
|
|
160
|
+
'annotation': { 'description': 'Green' },
|
|
161
|
+
},
|
|
162
162
|
],
|
|
163
|
-
'typeid': 'TeamLeoValidation2:ColorID-2.0.0'
|
|
163
|
+
'typeid': 'TeamLeoValidation2:ColorID-2.0.0',
|
|
164
164
|
};
|
|
165
165
|
const objToExport = {
|
|
166
166
|
'1-0-0': {
|
|
167
167
|
original: templateSchema100,
|
|
168
|
-
modified: templateSchema100Modified
|
|
168
|
+
modified: templateSchema100Modified,
|
|
169
169
|
},
|
|
170
170
|
'1-0-1': {
|
|
171
171
|
goodSemver: templateSchema101,
|
|
172
|
-
badSemver1: templateSchema101BadSemver
|
|
172
|
+
badSemver1: templateSchema101BadSemver,
|
|
173
173
|
},
|
|
174
174
|
'1-1-0': {
|
|
175
175
|
goodSemver: templateSchema110,
|
|
176
176
|
badSemver1: templateSchema110BadSemver,
|
|
177
|
-
badSemver2: templateSchema110BadSemver2
|
|
177
|
+
badSemver2: templateSchema110BadSemver2,
|
|
178
178
|
},
|
|
179
|
-
'2-0-0': templateSchema200
|
|
179
|
+
'2-0-0': templateSchema200,
|
|
180
180
|
};
|
|
181
181
|
module.exports = objToExport;
|
|
182
182
|
//# sourceMappingURL=goodColorId.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"goodColorId.js","sourceRoot":"","sources":["../../../src/test/validation/goodColorId.js"],"names":[],"mappings":"AAAA;;;GAGG;AACH;;;GAGG;AAEH;;;;KAIK;AACL,IAAI,iBAAiB,GAAG;IACpB,YAAY,EAAE;QACV;YACI,IAAI,EAAE,GAAG;YACT,QAAQ,EAAE,SAAS;YACnB,YAAY,EAAE,EAAE,aAAa,EAAE,KAAK,EAAE;SACzC;QACD;YACI,IAAI,EAAE,GAAG;YACT,QAAQ,EAAE,SAAS;YACnB,YAAY,EAAE,EAAE,aAAa,EAAE,OAAO,EAAE;SAC3C;QACD;YACI,IAAI,EAAE,GAAG;YACT,QAAQ,EAAE,SAAS;YACnB,YAAY,EAAE,EAAE,aAAa,EAAE,MAAM,EAAE;SAC1C;KACJ;IACD,QAAQ,EAAE,kCAAkC;CAC/C,CAAC;AAEF,IAAI,yBAAyB,GAAG;IAC5B,YAAY,EAAE;QACV;YACI,IAAI,EAAE,GAAG;YACT,QAAQ,EAAE,SAAS;YACnB,YAAY,EAAE,EAAE,aAAa,EAAE,KAAK,EAAE;SACzC;QACD;YACI,IAAI,EAAE,GAAG;YACT,QAAQ,EAAE,SAAS;YACnB,YAAY,EAAE,EAAE,aAAa,EAAE,OAAO,EAAE;SAC3C;KACJ;IACD,QAAQ,EAAE,kCAAkC;CAC/C,CAAC;AAEF,IAAI,iBAAiB,GAAG;IACpB,YAAY,EAAE;QACV;YACI,IAAI,EAAE,GAAG;YACT,QAAQ,EAAE,SAAS;YACnB,YAAY,EAAE,EAAE,aAAa,EAAE,KAAK,EAAE;SACzC;QACD;YACI,IAAI,EAAE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B,UAAU,EAAE,0BAA0B;QACtC,UAAU,EAAE,2BAA2B;KAC1C;IACD,OAAO,EAAE,iBAAiB;CAC7B,CAAC;AAEF,MAAM,CAAC,OAAO,GAAG,WAAW,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n/**\n * @fileoverview\n * Test data for property set template schema testing\n */\n\n/**\n * @namespace property-propertiesTest.Test\n * @alias bad_nested_properties.js\n * Namespace containing all schema-related data for property set validation\n */\nvar templateSchema100 = {\n 'properties': [\n {\n 'id': 'r',\n 'typeid': 'Float32',\n 'annotation': { 'description': 'Red' }
|
|
1
|
+
{"version":3,"file":"goodColorId.js","sourceRoot":"","sources":["../../../src/test/validation/goodColorId.js"],"names":[],"mappings":"AAAA;;;GAGG;AACH;;;GAGG;AAEH;;;;KAIK;AACL,IAAI,iBAAiB,GAAG;IACpB,YAAY,EAAE;QACV;YACI,IAAI,EAAE,GAAG;YACT,QAAQ,EAAE,SAAS;YACnB,YAAY,EAAE,EAAE,aAAa,EAAE,KAAK,EAAE;SACzC;QACD;YACI,IAAI,EAAE,GAAG;YACT,QAAQ,EAAE,SAAS;YACnB,YAAY,EAAE,EAAE,aAAa,EAAE,OAAO,EAAE;SAC3C;QACD;YACI,IAAI,EAAE,GAAG;YACT,QAAQ,EAAE,SAAS;YACnB,YAAY,EAAE,EAAE,aAAa,EAAE,MAAM,EAAE;SAC1C;KACJ;IACD,QAAQ,EAAE,kCAAkC;CAC/C,CAAC;AAEF,IAAI,yBAAyB,GAAG;IAC5B,YAAY,EAAE;QACV;YACI,IAAI,EAAE,GAAG;YACT,QAAQ,EAAE,SAAS;YACnB,YAAY,EAAE,EAAE,aAAa,EAAE,KAAK,EAAE;SACzC;QACD;YACI,IAAI,EAAE,GAAG;YACT,QAAQ,EAAE,SAAS;YACnB,YAAY,EAAE,EAAE,aAAa,EAAE,OAAO,EAAE;SAC3C;KACJ;IACD,QAAQ,EAAE,kCAAkC;C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ACL,QAAQ,EAAE,iBAAiB;QAC3B,QAAQ,EAAE,yBAAyB;KACtC;IACD,OAAO,EAAE;QACL,UAAU,EAAE,iBAAiB;QAC7B,UAAU,EAAE,0BAA0B;KACzC;IACD,OAAO,EAAE;QACL,UAAU,EAAE,iBAAiB;QAC7B,UAAU,EAAE,0BAA0B;QACtC,UAAU,EAAE,2BAA2B;KAC1C;IACD,OAAO,EAAE,iBAAiB;CAC7B,CAAC;AAEF,MAAM,CAAC,OAAO,GAAG,WAAW,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n/**\n * @fileoverview\n * Test data for property set template schema testing\n */\n\n/**\n * @namespace property-propertiesTest.Test\n * @alias bad_nested_properties.js\n * Namespace containing all schema-related data for property set validation\n */\nvar templateSchema100 = {\n 'properties': [\n {\n 'id': 'r',\n 'typeid': 'Float32',\n 'annotation': { 'description': 'Red' },\n },\n {\n 'id': 'g',\n 'typeid': 'Float32',\n 'annotation': { 'description': 'Green' },\n },\n {\n 'id': 'b',\n 'typeid': 'Float32',\n 'annotation': { 'description': 'Blue' },\n },\n ],\n 'typeid': 'TeamLeoValidation2:ColorID-1.0.0',\n};\n\nvar templateSchema100Modified = {\n 'properties': [\n {\n 'id': 'r',\n 'typeid': 'Float32',\n 'annotation': { 'description': 'Red' },\n },\n {\n 'id': 'g',\n 'typeid': 'Float32',\n 'annotation': { 'description': 'Green' },\n },\n ],\n 'typeid': 'TeamLeoValidation2:ColorID-1.0.0',\n};\n\nvar templateSchema101 = {\n 'properties': [\n {\n 'id': 'r',\n 'typeid': 'Float32',\n 'annotation': { 'description': 'Red' },\n },\n {\n 'id': 'g',\n 'typeid': 'Float32',\n 'annotation': { 'description': 'Green' },\n },\n {\n 'id': 'b',\n 'typeid': 'Float32',\n 'annotation': { 'description': 'Blue' },\n },\n ],\n 'typeid': 'TeamLeoValidation2:ColorID-1.0.1',\n 'annotation': { 'description': 'Color template' },\n};\n\nvar templateSchema101BadSemver = {\n 'properties': [\n {\n 'id': 'r',\n 'typeid': 'Float32',\n 'annotation': { 'description': 'Red' },\n },\n {\n 'id': 'g',\n 'typeid': 'Float32',\n 'annotation': { 'description': 'Green' },\n },\n {\n 'id': 'b',\n 'typeid': 'Float32',\n 'annotation': { 'description': 'Blue' },\n },\n {\n 'id': 'a',\n 'typeid': 'Float32',\n 'annotation': { 'description': 'Alpha' },\n },\n ],\n 'typeid': 'TeamLeoValidation2:ColorID-1.0.1',\n};\n\nvar templateSchema110 = {\n 'properties': [\n {\n 'id': 'r',\n 'typeid': 'Float32',\n 'annotation': { 'description': 'Red' },\n },\n {\n 'id': 'g',\n 'typeid': 'Float32',\n 'annotation': { 'description': 'Green' },\n },\n {\n 'id': 'b',\n 'typeid': 'Float32',\n 'annotation': { 'description': 'Blue' },\n },\n {\n 'id': 'a',\n 'typeid': 'Float32',\n 'annotation': { 'description': 'Alpha' },\n },\n ],\n 'typeid': 'TeamLeoValidation2:ColorID-1.1.0',\n};\n\nvar templateSchema110BadSemver = {\n 'properties': [\n {\n 'id': 'r',\n 'typeid': 'Float32',\n 'annotation': { 'description': 'Red' },\n },\n {\n 'id': 'g',\n 'typeid': 'Float32',\n 'annotation': { 'description': 'Green' },\n },\n ],\n 'typeid': 'TeamLeoValidation2:ColorID-1.1.0',\n};\n\nvar templateSchema110BadSemver2 = {\n 'properties': [\n {\n 'id': 'r',\n 'typeid': 'Float32',\n 'annotation': { 'description': 'Red' },\n },\n {\n 'id': 'g',\n 'typeid': 'Float32',\n 'annotation': { 'description': 'Green' },\n },\n ],\n 'typeid': 'TeamLeoValidation2:ColorID-1.0.1',\n};\n\nvar templateSchema200 = {\n 'properties': [\n {\n 'id': 'r',\n 'typeid': 'Float32',\n 'annotation': { 'description': 'Red' },\n },\n {\n 'id': 'g',\n 'typeid': 'Float32',\n 'annotation': { 'description': 'Green' },\n },\n ],\n 'typeid': 'TeamLeoValidation2:ColorID-2.0.0',\n};\n\nconst objToExport = {\n '1-0-0': {\n original: templateSchema100,\n modified: templateSchema100Modified,\n },\n '1-0-1': {\n goodSemver: templateSchema101,\n badSemver1: templateSchema101BadSemver,\n },\n '1-1-0': {\n goodSemver: templateSchema110,\n badSemver1: templateSchema110BadSemver,\n badSemver2: templateSchema110BadSemver2,\n },\n '2-0-0': templateSchema200,\n};\n\nmodule.exports = objToExport;\n"]}
|
|
@@ -15,8 +15,8 @@ var templateSchema = {
|
|
|
15
15
|
'typeid': 'Adsk.Library:Colors.ColorPalette-1.0.0',
|
|
16
16
|
'properties': [
|
|
17
17
|
{ 'id': 'colors', 'typeid': 'Reference<Adsk.Core:Math.Color-1.0.0>', 'context': 'map' },
|
|
18
|
-
{ 'id': 'testref', 'typeid': 'Reference', 'context': 'map' }
|
|
19
|
-
]
|
|
18
|
+
{ 'id': 'testref', 'typeid': 'Reference', 'context': 'map' },
|
|
19
|
+
],
|
|
20
20
|
};
|
|
21
21
|
module.exports = templateSchema;
|
|
22
22
|
//# sourceMappingURL=goodColorPalette.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"goodColorPalette.js","sourceRoot":"","sources":["../../../src/test/validation/goodColorPalette.js"],"names":[],"mappings":"AAAA;;;GAGG;AACH;;;GAGG;AAEH;;;;GAIG;AACH,IAAI,cAAc,GAAG;IACjB,QAAQ,EAAE,wCAAwC;IAClD,YAAY,EAAE;QACV,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,uCAAuC,EAAE,SAAS,EAAE,KAAK,EAAE;QACvF,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,SAAS,EAAE,KAAK,EAAE;KAC/D;CACJ,CAAC;AAEF,MAAM,CAAC,OAAO,GAAG,cAAc,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n/**\n * @fileoverview\n * Test data for property set template schema testing\n */\n\n/**\n * @namespace property-propertiesTest.Test\n * @alias bad_nested_properties.js\n * Namespace containing all schema-related data for property set validation\n */\nvar templateSchema = {\n 'typeid': 'Adsk.Library:Colors.ColorPalette-1.0.0',\n 'properties': [\n { 'id': 'colors', 'typeid': 'Reference<Adsk.Core:Math.Color-1.0.0>', 'context': 'map' },\n { 'id': 'testref', 'typeid': 'Reference', 'context': 'map' }
|
|
1
|
+
{"version":3,"file":"goodColorPalette.js","sourceRoot":"","sources":["../../../src/test/validation/goodColorPalette.js"],"names":[],"mappings":"AAAA;;;GAGG;AACH;;;GAGG;AAEH;;;;GAIG;AACH,IAAI,cAAc,GAAG;IACjB,QAAQ,EAAE,wCAAwC;IAClD,YAAY,EAAE;QACV,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,uCAAuC,EAAE,SAAS,EAAE,KAAK,EAAE;QACvF,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,SAAS,EAAE,KAAK,EAAE;KAC/D;CACJ,CAAC;AAEF,MAAM,CAAC,OAAO,GAAG,cAAc,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n/**\n * @fileoverview\n * Test data for property set template schema testing\n */\n\n/**\n * @namespace property-propertiesTest.Test\n * @alias bad_nested_properties.js\n * Namespace containing all schema-related data for property set validation\n */\nvar templateSchema = {\n 'typeid': 'Adsk.Library:Colors.ColorPalette-1.0.0',\n 'properties': [\n { 'id': 'colors', 'typeid': 'Reference<Adsk.Core:Math.Color-1.0.0>', 'context': 'map' },\n { 'id': 'testref', 'typeid': 'Reference', 'context': 'map' },\n ],\n};\n\nmodule.exports = templateSchema;\n"]}
|
|
@@ -18,30 +18,30 @@ var templateSchema = {
|
|
|
18
18
|
'properties': [
|
|
19
19
|
{
|
|
20
20
|
'id': 'x',
|
|
21
|
-
'typeid': 'Float32'
|
|
21
|
+
'typeid': 'Float32',
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
24
|
'id': 'y',
|
|
25
|
-
'typeid': 'Float32'
|
|
25
|
+
'typeid': 'Float32',
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
28
|
'id': 'z',
|
|
29
|
-
'typeid': 'Float32'
|
|
30
|
-
}
|
|
31
|
-
]
|
|
29
|
+
'typeid': 'Float32',
|
|
30
|
+
},
|
|
31
|
+
],
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
34
|
'id': 'color',
|
|
35
|
-
'typeid': 'TeamLeoValidation2:ColorID-1.0.0'
|
|
35
|
+
'typeid': 'TeamLeoValidation2:ColorID-1.0.0',
|
|
36
36
|
},
|
|
37
37
|
{
|
|
38
38
|
'id': 'normal',
|
|
39
39
|
'typeid': 'Float32',
|
|
40
40
|
'context': 'array',
|
|
41
|
-
'length': 3
|
|
42
|
-
}
|
|
41
|
+
'length': 3,
|
|
42
|
+
},
|
|
43
43
|
],
|
|
44
|
-
'typeid': 'TeamLeoValidation2:PointID-1.0.0'
|
|
44
|
+
'typeid': 'TeamLeoValidation2:PointID-1.0.0',
|
|
45
45
|
};
|
|
46
46
|
module.exports = templateSchema;
|
|
47
47
|
//# sourceMappingURL=goodPointId.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"goodPointId.js","sourceRoot":"","sources":["../../../src/test/validation/goodPointId.js"],"names":[],"mappings":"AAAA;;;GAGG;AACH;;;GAGG;AAEH;;;;OAIO;AACP,IAAI,cAAc,GAAG;IACjB,YAAY,EAAE;QACV;YACI,IAAI,EAAE,UAAU;YAChB,YAAY,EAAE;gBACV;oBACI,IAAI,EAAE,GAAG;oBACT,QAAQ,EAAE,SAAS;iBACtB;gBACD;oBACI,IAAI,EAAE,GAAG;oBACT,QAAQ,EAAE,SAAS;iBACtB;gBACD;oBACI,IAAI,EAAE,GAAG;oBACT,QAAQ,EAAE,SAAS;iBACtB;aACJ;SACJ;QACD;YACI,IAAI,EAAE,OAAO;YACb,QAAQ,EAAE,kCAAkC;SAC/C;QACD;YACI,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,SAAS;YACnB,SAAS,EAAE,OAAO;YAClB,QAAQ,EAAE,CAAC;SACd;KACJ;IACD,QAAQ,EAAE,kCAAkC;CAC/C,CAAC;AAEF,MAAM,CAAC,OAAO,GAAG,cAAc,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n/**\n * @fileoverview\n * Test data for property set template schema testing\n */\n\n/**\n * @namespace property-propertiesTest.Test\n * @alias bad_nested_properties.js\n * Namespace containing all schema-related data for property set validation\n */\nvar templateSchema = {\n 'properties': [\n {\n 'id': 'position',\n 'properties': [\n {\n 'id': 'x',\n 'typeid': 'Float32'
|
|
1
|
+
{"version":3,"file":"goodPointId.js","sourceRoot":"","sources":["../../../src/test/validation/goodPointId.js"],"names":[],"mappings":"AAAA;;;GAGG;AACH;;;GAGG;AAEH;;;;OAIO;AACP,IAAI,cAAc,GAAG;IACjB,YAAY,EAAE;QACV;YACI,IAAI,EAAE,UAAU;YAChB,YAAY,EAAE;gBACV;oBACI,IAAI,EAAE,GAAG;oBACT,QAAQ,EAAE,SAAS;iBACtB;gBACD;oBACI,IAAI,EAAE,GAAG;oBACT,QAAQ,EAAE,SAAS;iBACtB;gBACD;oBACI,IAAI,EAAE,GAAG;oBACT,QAAQ,EAAE,SAAS;iBACtB;aACJ;SACJ;QACD;YACI,IAAI,EAAE,OAAO;YACb,QAAQ,EAAE,kCAAkC;SAC/C;QACD;YACI,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,SAAS;YACnB,SAAS,EAAE,OAAO;YAClB,QAAQ,EAAE,CAAC;SACd;KACJ;IACD,QAAQ,EAAE,kCAAkC;CAC/C,CAAC;AAEF,MAAM,CAAC,OAAO,GAAG,cAAc,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n/**\n * @fileoverview\n * Test data for property set template schema testing\n */\n\n/**\n * @namespace property-propertiesTest.Test\n * @alias bad_nested_properties.js\n * Namespace containing all schema-related data for property set validation\n */\nvar templateSchema = {\n 'properties': [\n {\n 'id': 'position',\n 'properties': [\n {\n 'id': 'x',\n 'typeid': 'Float32',\n },\n {\n 'id': 'y',\n 'typeid': 'Float32',\n },\n {\n 'id': 'z',\n 'typeid': 'Float32',\n },\n ],\n },\n {\n 'id': 'color',\n 'typeid': 'TeamLeoValidation2:ColorID-1.0.0',\n },\n {\n 'id': 'normal',\n 'typeid': 'Float32',\n 'context': 'array',\n 'length': 3,\n },\n ],\n 'typeid': 'TeamLeoValidation2:PointID-1.0.0',\n};\n\nmodule.exports = templateSchema;\n"]}
|
|
@@ -11,6 +11,6 @@ const parentChangeSet = { "insert": { "NodeProperty": { "styles": { "insert": {
|
|
|
11
11
|
const originalChangeSet = { "modify": { "autodesk.titanium:vertical-1.0.0": { "fee9d9df-94bb-ec9c-7bb7-5be207dccb9c": { "array<autodesk.titanium:widget-1.0.0>": { "children": { "modify": [[1, [{ "array<autodesk.titanium:widget-1.0.0>": { "children": { "modify": [[1, [{ "array<autodesk.titanium:widget-1.0.0>": { "children": { "modify": [[0, [{ "array<autodesk.titanium:widget-1.0.0>": { "children": { "modify": [[0, [{ "array<autodesk.titanium:widget-1.0.0>": { "children": { "modify": [[0, [{ "array<autodesk.titanium:widget-1.0.0>": { "children": { "modify": [[1, [{ "array<autodesk.titanium:widget-1.0.0>": { "children": { "modify": [[1, [{ "array<autodesk.titanium:widget-1.0.0>": { "children": { "modify": [[1, [{ "array<autodesk.titanium:widget-1.0.0>": { "children": { "modify": [[0, [{ "String": { "text": { "value": "255478265", "oldValue": "25547826" } }, "typeid": "autodesk.titanium:label-1.0.0" }]]] } }, "typeid": "autodesk.titanium:horizontal-1.0.0" }]]] } }, "typeid": "autodesk.titanium:vertical-1.0.0" }]]] } }, "typeid": "autodesk.titanium:vertical-1.0.0" }]], [4, [{ "array<autodesk.titanium:widget-1.0.0>": { "children": { "modify": [[9, [{ "array<autodesk.titanium:widget-1.0.0>": { "children": { "modify": [[0, [{ "map<autodesk.titanium:action-1.0.0>": { "actions": { "modify": { "autodesk.titanium:action-1.0.0": { "click": { "Reference": { "actor": "/fee9d9df-94bb-ec9c-7bb7-5be207dccb9c.children[1].children[1].children[0].children[0].children[0].children[4].children[9].children[0]" }, "insert": { "autodesk.titanium:clickEvent-1.0.0": { "event": { "String": { "guid": "adbeadbf-0f2b-42f1-29c8-656da1f1df98" }, "autodesk.titanium:mouseButton-1.0.0": { "mouseButton": { "Bool": { "primary": true, "secondary": false, "fourth": false, "fifth": false, "auxiliary": false } } }, "autodesk.titanium:modifierKeys-1.0.0": { "modifierKeys": { "Bool": { "alt": false, "control": false, "meta": false, "shift": false } } }, "autodesk.titanium:position2D-1.0.0": { "mouse": { "Float64": { "x": 319, "y": 561 } }, "localMouse": { "Float64": { "x": 17, "y": 17.399999999999977 } } } } } } } } } } }, "typeid": "autodesk.titanium:label-1.0.0" }]]] } }, "typeid": "autodesk.titanium:vertical-1.0.0" }]]] } }, "typeid": "autodesk.titanium:uniformGrid-1.0.0" }]]] } }, "typeid": "autodesk.titanium:vertical-1.0.0" }]]] } }, "typeid": "autodesk.titanium:widgetCanvas-1.0.0" }]]] } }, "typeid": "autodesk.titanium:vertical-1.0.0" }]]] } }, "typeid": "autodesk.titanium:horizontal-1.0.0" }]]] } }, "typeid": "autodesk.titanium:vertical-1.0.0" }]]] } } } }, "autodesk.titanium:application-1.0.0": { "app": { "autodesk.titanium:action-1.0.0": { "lastEvent": { "Reference": { "actor": "/fee9d9df-94bb-ec9c-7bb7-5be207dccb9c.children[1].children[1].children[0].children[0].children[0].children[4].children[9].children[0]" }, "NodeProperty": { "payload": { "modify": { "String": { "button": "5" } } } }, "insert": { "autodesk.titanium:clickEvent-1.0.0": { "event": { "String": { "guid": "adbeadbf-0f2b-42f1-29c8-656da1f1df98" }, "autodesk.titanium:mouseButton-1.0.0": { "mouseButton": { "Bool": { "primary": true, "secondary": false, "fourth": false, "fifth": false, "auxiliary": false } } }, "autodesk.titanium:modifierKeys-1.0.0": { "modifierKeys": { "Bool": { "alt": false, "control": false, "meta": false, "shift": false } } }, "autodesk.titanium:position2D-1.0.0": { "mouse": { "Float64": { "x": 319, "y": 561 } }, "localMouse": { "Float64": { "x": 17, "y": 17.399999999999977 } } } } } }, "remove": ["event"] } } } } } };
|
|
12
12
|
module.exports = {
|
|
13
13
|
parentChangeSet,
|
|
14
|
-
originalChangeSet
|
|
14
|
+
originalChangeSet,
|
|
15
15
|
};
|
|
16
16
|
//# sourceMappingURL=reversibleChangeSetTestData.js.map
|