@fluid-experimental/property-properties 2.0.0-dev.5.2.0.169897 → 2.0.0-dev.5.3.2.178189

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/index.d.ts CHANGED
@@ -3,6 +3,7 @@
3
3
  * Licensed under the MIT License.
4
4
  */
5
5
  import { PropertyFactory } from "./propertyFactory";
6
+ import { PropertyTemplate } from "./propertyTemplate";
6
7
  import { PropertyUtils } from "./propertyUtils";
7
8
  import { BaseProperty } from "./properties/baseProperty";
8
9
  import { ContainerProperty } from "./properties/containerProperty";
@@ -21,5 +22,5 @@ import { ValueArrayProperty } from "./properties/valueArrayProperty";
21
22
  import { ValueMapProperty } from "./properties/valueMapProperty";
22
23
  import { ValueProperty } from "./properties/valueProperty";
23
24
  import { enableValidations } from "./enableValidations";
24
- export { PropertyFactory, PropertyUtils, BaseProperty, ContainerProperty, MapProperty, NodeProperty, ArrayProperty, SetProperty, StringProperty, ReferenceProperty, ReferenceMapProperty, ReferenceArrayProperty, Uint64Property, EnumArrayProperty, EnumProperty, Int64Property, ValueArrayProperty, ValueMapProperty, ValueProperty, enableValidations, };
25
+ export { PropertyFactory, PropertyTemplate, PropertyUtils, BaseProperty, ContainerProperty, MapProperty, NodeProperty, ArrayProperty, SetProperty, StringProperty, ReferenceProperty, ReferenceMapProperty, ReferenceArrayProperty, Uint64Property, EnumArrayProperty, EnumProperty, Int64Property, ValueArrayProperty, ValueMapProperty, ValueProperty, enableValidations, };
25
26
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,iBA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AClB,gBAAgB,EAChB,aAAa,EACb,iBAAiB,GACjB,CAAC"}
package/dist/index.js CHANGED
@@ -4,9 +4,11 @@
4
4
  * Licensed under the MIT License.
5
5
  */
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.enableValidations = exports.ValueProperty = exports.ValueMapProperty = exports.ValueArrayProperty = exports.Int64Property = exports.EnumProperty = exports.EnumArrayProperty = exports.Uint64Property = exports.ReferenceArrayProperty = exports.ReferenceMapProperty = exports.ReferenceProperty = exports.StringProperty = exports.SetProperty = exports.ArrayProperty = exports.NodeProperty = exports.MapProperty = exports.ContainerProperty = exports.BaseProperty = exports.PropertyUtils = exports.PropertyFactory = void 0;
7
+ exports.enableValidations = exports.ValueProperty = exports.ValueMapProperty = exports.ValueArrayProperty = exports.Int64Property = exports.EnumProperty = exports.EnumArrayProperty = exports.Uint64Property = exports.ReferenceArrayProperty = exports.ReferenceMapProperty = exports.ReferenceProperty = exports.StringProperty = exports.SetProperty = exports.ArrayProperty = exports.NodeProperty = exports.MapProperty = exports.ContainerProperty = exports.BaseProperty = exports.PropertyUtils = exports.PropertyTemplate = exports.PropertyFactory = void 0;
8
8
  const propertyFactory_1 = require("./propertyFactory");
9
9
  Object.defineProperty(exports, "PropertyFactory", { enumerable: true, get: function () { return propertyFactory_1.PropertyFactory; } });
10
+ const propertyTemplate_1 = require("./propertyTemplate");
11
+ Object.defineProperty(exports, "PropertyTemplate", { enumerable: true, get: function () { return propertyTemplate_1.PropertyTemplate; } });
10
12
  const propertyUtils_1 = require("./propertyUtils");
11
13
  Object.defineProperty(exports, "PropertyUtils", { enumerable: true, get: function () { return propertyUtils_1.PropertyUtils; } });
12
14
  const baseProperty_1 = require("./properties/baseProperty");
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,uDAAoD;AAqBnD,gGArBQ,iCAAe,OAqBR;AApBhB,mDAAgD;AAqB/C,8FArBQ,6BAAa,OAqBR;AApBd,4DAAyD;AAqBxD,6FArBQ,2BAAY,OAqBR;AApBb,sEAAmE;AAqBlE,kGArBQ,qCAAiB,OAqBR;AApBlB,0DAAuD;AAqBtD,4FArBQ,yBAAW,OAqBR;AApBZ,4DAAyD;AAqBxD,6FArBQ,2BAAY,OAqBR;AApBb,8DAA2D;AAqB1D,8FArBQ,6BAAa,OAqBR;AApBd,0DAAuD;AAqBtD,4FArBQ,yBAAW,OAqBR;AApBZ,gEAA6D;AAqB5D,+FArBQ,+BAAc,OAqBR;AApBf,sEAAmE;AAqBlE,kGArBQ,qCAAiB,OAqBR;AApBlB,gFAA6E;AAsB5E,uGAtBQ,+CAAsB,OAsBR;AArBvB,4EAAyE;AAoBxE,qGApBQ,2CAAoB,OAoBR;AAnBrB,sEAAmE;AAsBlE,kGAtBQ,qCAAiB,OAsBR;AArBlB,4DAAyD;AAsBxD,6FAtBQ,2BAAY,OAsBR;AArBb,8DAA2E;AAsB1E,8FAtBQ,6BAAa,OAsBR;AAHb,+FAnBuB,8BAAc,OAmBvB;AAlBf,wEAAqE;AAsBpE,mGAtBQ,uCAAkB,OAsBR;AArBnB,oEAAiE;AAsBhE,iGAtBQ,mCAAgB,OAsBR;AArBjB,8DAA2D;AAsB1D,8FAtBQ,6BAAa,OAsBR;AArBd,2DAAwD;AAsBvD,kGAtBQ,qCAAiB,OAsBR","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport { PropertyFactory } from \"./propertyFactory\";\nimport { PropertyUtils } from \"./propertyUtils\";\nimport { BaseProperty } from \"./properties/baseProperty\";\nimport { ContainerProperty } from \"./properties/containerProperty\";\nimport { MapProperty } from \"./properties/mapProperty\";\nimport { NodeProperty } from \"./properties/nodeProperty\";\nimport { ArrayProperty } from \"./properties/arrayProperty\";\nimport { SetProperty } from \"./properties/setProperty\";\nimport { StringProperty } from \"./properties/stringProperty\";\nimport { ReferenceProperty } from \"./properties/referenceProperty\";\nimport { ReferenceArrayProperty } from \"./properties/referenceArrayProperty\";\nimport { ReferenceMapProperty } from \"./properties/referenceMapProperty\";\nimport { EnumArrayProperty } from \"./properties/enumArrayProperty\";\nimport { EnumProperty } from \"./properties/enumProperty\";\nimport { Int64Property, Uint64Property } from \"./properties/intProperties\";\nimport { ValueArrayProperty } from \"./properties/valueArrayProperty\";\nimport { ValueMapProperty } from \"./properties/valueMapProperty\";\nimport { ValueProperty } from \"./properties/valueProperty\";\nimport { enableValidations } from \"./enableValidations\";\n\nexport {\n\tPropertyFactory,\n\tPropertyUtils,\n\tBaseProperty,\n\tContainerProperty,\n\tMapProperty,\n\tNodeProperty,\n\tArrayProperty,\n\tSetProperty,\n\tStringProperty,\n\tReferenceProperty,\n\tReferenceMapProperty,\n\tReferenceArrayProperty,\n\tUint64Property,\n\tEnumArrayProperty,\n\tEnumProperty,\n\tInt64Property,\n\tValueArrayProperty,\n\tValueMapProperty,\n\tValueProperty,\n\tenableValidations,\n};\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,uDAAoD;AAsBnD,gGAtBQ,iCAAe,OAsBR;AArBhB,yDAAsD;AAsBrD,iGAtBQ,mCAAgB,OAsBR;AArBjB,mDAAgD;AAsB/C,8FAtBQ,6BAAa,OAsBR;AArBd,4DAAyD;AAsBxD,6FAtBQ,2BAAY,OAsBR;AArBb,sEAAmE;AAsBlE,kGAtBQ,qCAAiB,OAsBR;AArBlB,0DAAuD;AAsBtD,4FAtBQ,yBAAW,OAsBR;AArBZ,4DAAyD;AAsBxD,6FAtBQ,2BAAY,OAsBR;AArBb,8DAA2D;AAsB1D,8FAtBQ,6BAAa,OAsBR;AArBd,0DAAuD;AAsBtD,4FAtBQ,yBAAW,OAsBR;AArBZ,gEAA6D;AAsB5D,+FAtBQ,+BAAc,OAsBR;AArBf,sEAAmE;AAsBlE,kGAtBQ,qCAAiB,OAsBR;AArBlB,gFAA6E;AAuB5E,uGAvBQ,+CAAsB,OAuBR;AAtBvB,4EAAyE;AAqBxE,qGArBQ,2CAAoB,OAqBR;AApBrB,sEAAmE;AAuBlE,kGAvBQ,qCAAiB,OAuBR;AAtBlB,4DAAyD;AAuBxD,6FAvBQ,2BAAY,OAuBR;AAtBb,8DAA2E;AAuB1E,8FAvBQ,6BAAa,OAuBR;AAHb,+FApBuB,8BAAc,OAoBvB;AAnBf,wEAAqE;AAuBpE,mGAvBQ,uCAAkB,OAuBR;AAtBnB,oEAAiE;AAuBhE,iGAvBQ,mCAAgB,OAuBR;AAtBjB,8DAA2D;AAuB1D,8FAvBQ,6BAAa,OAuBR;AAtBd,2DAAwD;AAuBvD,kGAvBQ,qCAAiB,OAuBR","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport { PropertyFactory } from \"./propertyFactory\";\nimport { PropertyTemplate } from \"./propertyTemplate\";\nimport { PropertyUtils } from \"./propertyUtils\";\nimport { BaseProperty } from \"./properties/baseProperty\";\nimport { ContainerProperty } from \"./properties/containerProperty\";\nimport { MapProperty } from \"./properties/mapProperty\";\nimport { NodeProperty } from \"./properties/nodeProperty\";\nimport { ArrayProperty } from \"./properties/arrayProperty\";\nimport { SetProperty } from \"./properties/setProperty\";\nimport { StringProperty } from \"./properties/stringProperty\";\nimport { ReferenceProperty } from \"./properties/referenceProperty\";\nimport { ReferenceArrayProperty } from \"./properties/referenceArrayProperty\";\nimport { ReferenceMapProperty } from \"./properties/referenceMapProperty\";\nimport { EnumArrayProperty } from \"./properties/enumArrayProperty\";\nimport { EnumProperty } from \"./properties/enumProperty\";\nimport { Int64Property, Uint64Property } from \"./properties/intProperties\";\nimport { ValueArrayProperty } from \"./properties/valueArrayProperty\";\nimport { ValueMapProperty } from \"./properties/valueMapProperty\";\nimport { ValueProperty } from \"./properties/valueProperty\";\nimport { enableValidations } from \"./enableValidations\";\n\nexport {\n\tPropertyFactory,\n\tPropertyTemplate,\n\tPropertyUtils,\n\tBaseProperty,\n\tContainerProperty,\n\tMapProperty,\n\tNodeProperty,\n\tArrayProperty,\n\tSetProperty,\n\tStringProperty,\n\tReferenceProperty,\n\tReferenceMapProperty,\n\tReferenceArrayProperty,\n\tUint64Property,\n\tEnumArrayProperty,\n\tEnumProperty,\n\tInt64Property,\n\tValueArrayProperty,\n\tValueMapProperty,\n\tValueProperty,\n\tenableValidations,\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"propertyFactory.d.ts","sourceRoot":"","sources":["../src/propertyFactory.js"],"names":[],"mappings":";AAk5EA,4CAAuD"}
1
+ {"version":3,"file":"propertyFactory.d.ts","sourceRoot":"","sources":["../src/propertyFactory.js"],"names":[],"mappings":";AAy5EA,4CAAuD"}
@@ -465,6 +465,12 @@ class PropertyFactory {
465
465
  }
466
466
  }
467
467
  }
468
+ /**
469
+ * @returns {Array.<string>} Array of the names of the registered types.
470
+ */
471
+ listRegisteredTypes() {
472
+ return Array.from(this._localPrimitivePropertiesAndTemplates.keys);
473
+ }
468
474
  /**
469
475
  * Recursively parses the object of the specified type and returns the created
470
476
  * array of PropertySets Templates. It does the same thing as the registerFrom()