@fluid-experimental/property-changeset 1.2.3-83900 → 2.0.0-internal.1.0.0

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 (45) hide show
  1. package/dist/changeset.d.ts +39 -45
  2. package/dist/changeset.d.ts.map +1 -1
  3. package/dist/changeset.js +39 -45
  4. package/dist/changeset.js.map +1 -1
  5. package/dist/changeset_operations/array.d.ts +3 -3
  6. package/dist/changeset_operations/array.d.ts.map +1 -1
  7. package/dist/changeset_operations/array.js +45 -47
  8. package/dist/changeset_operations/array.js.map +1 -1
  9. package/dist/changeset_operations/indexedCollection.d.ts +2 -2
  10. package/dist/changeset_operations/indexedCollection.js +2 -2
  11. package/dist/changeset_operations/indexedCollection.js.map +1 -1
  12. package/dist/helpers/typeidHelper.d.ts +9 -9
  13. package/dist/helpers/typeidHelper.js +9 -9
  14. package/dist/helpers/typeidHelper.js.map +1 -1
  15. package/dist/pathHelper.d.ts +4 -4
  16. package/dist/pathHelper.js +4 -4
  17. package/dist/pathHelper.js.map +1 -1
  18. package/dist/templateValidator.d.ts +6 -6
  19. package/dist/templateValidator.d.ts.map +1 -1
  20. package/dist/templateValidator.js +66 -58
  21. package/dist/templateValidator.js.map +1 -1
  22. package/dist/test/tsconfig.tsbuildinfo +1 -1
  23. package/dist/utils.d.ts +7 -7
  24. package/dist/utils.js +9 -9
  25. package/dist/utils.js.map +1 -1
  26. package/dist/validationResultBuilder.d.ts +4 -4
  27. package/dist/validationResultBuilder.js +4 -4
  28. package/dist/validationResultBuilder.js.map +1 -1
  29. package/lib/changeset.js +39 -45
  30. package/lib/changeset.js.map +1 -1
  31. package/lib/changeset_operations/array.js +45 -47
  32. package/lib/changeset_operations/array.js.map +1 -1
  33. package/lib/changeset_operations/indexedCollection.js +2 -2
  34. package/lib/changeset_operations/indexedCollection.js.map +1 -1
  35. package/lib/helpers/typeidHelper.js +9 -9
  36. package/lib/helpers/typeidHelper.js.map +1 -1
  37. package/lib/pathHelper.js +4 -4
  38. package/lib/pathHelper.js.map +1 -1
  39. package/lib/templateValidator.js +66 -58
  40. package/lib/templateValidator.js.map +1 -1
  41. package/lib/utils.js +9 -9
  42. package/lib/utils.js.map +1 -1
  43. package/lib/validationResultBuilder.js +4 -4
  44. package/lib/validationResultBuilder.js.map +1 -1
  45. package/package.json +3 -3
package/dist/utils.js CHANGED
@@ -35,7 +35,7 @@ var Utils;
35
35
  /**
36
36
  * Traverses a ChangeSet recursively and invokes the callback for each visited property.
37
37
  *
38
- * @param in_preCallback - The (pre-order) callback function that is invoked for each property
38
+ * @param in_preCallback - The (pre-order) callback function that is invoked for each property
39
39
  * @param in_postCallback - The (post-order) callback function that is invoked for each property
40
40
  * @param in_context - The traversal context for the currently processed property
41
41
  * @param in_levelCallback - A callback for when a node is reached
@@ -426,7 +426,7 @@ var Utils;
426
426
  /**
427
427
  * Traverses a ChangeSet recursively and invokes the callback for each visited property.
428
428
  *
429
- * @param in_preCallback - The (pre-order) callback function that is invoked for each property
429
+ * @param in_preCallback - The (pre-order) callback function that is invoked for each property
430
430
  * @param in_postCallback - The (post-order) callback function that is invoked for each property
431
431
  * @param in_context - The traversal context for the currently processed property
432
432
  */
@@ -735,7 +735,7 @@ var Utils;
735
735
  /**
736
736
  * Returns true if the passed context is an empty object
737
737
  * @private
738
- * @param in_context change set traversal context
738
+ * @param in_context - change set traversal context
739
739
  * @returns Wether the object is empty
740
740
  */
741
741
  _isEmptyObject(in_context) {
@@ -789,7 +789,7 @@ var Utils;
789
789
  /**
790
790
  * Replace the current nested ChangeSet by another one
791
791
  *
792
- * @param in_newNestedChangeset The new content
792
+ * @param in_newNestedChangeset - The new content
793
793
  */
794
794
  replaceNestedChangeSet(in_newNestedChangeset) {
795
795
  let parent = this.getParentNestedChangeSet();
@@ -1075,7 +1075,7 @@ var Utils;
1075
1075
  * @param in_callback - A callback that is used to emit every template
1076
1076
  * @param in_finalizer - A callback that is called when enumeration is completed
1077
1077
  *
1078
- * @returns All templates that appear in the ChangeSet
1078
+ * @returns All templates that appear in the ChangeSet
1079
1079
  * The returned object has members key (string), corresponding to the type and value with the
1080
1080
  * definition (object)
1081
1081
  */
@@ -1156,7 +1156,7 @@ var Utils;
1156
1156
  /**
1157
1157
  * Searches through a ChangeSet and returns all Changes to a properties with a given typeid
1158
1158
  *
1159
- * @param in_typeid - The typeid of the property to look for
1159
+ * @param in_typeid - The typeid of the property to look for
1160
1160
  * @param in_changeSet - The ChangeSet to process
1161
1161
  * @param in_excludeTypeids - Exclude all typeids from the returned ChangeSet
1162
1162
  * @returns Returns the applied operations to entries of the given typeid. The returned maps for insert and modify map paths to ChangeSets
@@ -1504,7 +1504,7 @@ var Utils;
1504
1504
  * NOTE: Paths that traverse through sets and arrays are not supported.
1505
1505
  *
1506
1506
  * @param in_changeSet - The changeset to parse
1507
- * @param - List of paths to filter by. This can either be passed
1507
+ * @param in_paths - List of paths to filter by. This can either be passed
1508
1508
  * as a flat array of paths or as a Map with the tokenized, tree structured paths, see the
1509
1509
  * documentation of getChangesToTokenizedPaths for an example.
1510
1510
  * Note: duplicate paths will be ignored including ones that encompasse other paths
@@ -1701,7 +1701,7 @@ var Utils;
1701
1701
  * Converts an array of paths to the tree structured representation that is needed
1702
1702
  * as input for the function getChangesToTokenizedPaths.
1703
1703
  *
1704
- * @param in_paths - An array with paths
1704
+ * @param in_paths - An array with paths
1705
1705
  * @returns {Map} A tree structured representation of the tokenized paths that can be
1706
1706
  * passed to getChangesToTokenizedPaths and getFilteredChangeSetByPaths.
1707
1707
  */
@@ -1805,7 +1805,7 @@ var Utils;
1805
1805
  * }
1806
1806
  * }
1807
1807
  * @param in_changeSet - The changeset to extract paths from
1808
- * @param in_options] - Set of options
1808
+ * @param in_options - Set of options
1809
1809
  * @param in_options.includeOperation - Flag to include the operation
1810
1810
  * @param in_options.includeTypeidInfo - Flag to include the typeid info
1811
1811
  * @returns - Flat list of paths