@fluid-experimental/property-changeset 2.0.0-internal.3.0.5 → 2.0.0-internal.3.1.1

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 (113) hide show
  1. package/README.md +1 -0
  2. package/dist/changeset.d.ts +2 -2
  3. package/dist/changeset.d.ts.map +1 -1
  4. package/dist/changeset.js +61 -45
  5. package/dist/changeset.js.map +1 -1
  6. package/dist/changeset_operations/array.d.ts +6 -6
  7. package/dist/changeset_operations/array.d.ts.map +1 -1
  8. package/dist/changeset_operations/array.js +87 -56
  9. package/dist/changeset_operations/array.js.map +1 -1
  10. package/dist/changeset_operations/arrayChangesetIterator.d.ts.map +1 -1
  11. package/dist/changeset_operations/arrayChangesetIterator.js +43 -41
  12. package/dist/changeset_operations/arrayChangesetIterator.js.map +1 -1
  13. package/dist/changeset_operations/changesetConflictTypes.d.ts.map +1 -1
  14. package/dist/changeset_operations/changesetConflictTypes.js.map +1 -1
  15. package/dist/changeset_operations/indexedCollection.d.ts.map +1 -1
  16. package/dist/changeset_operations/indexedCollection.js +76 -44
  17. package/dist/changeset_operations/indexedCollection.js.map +1 -1
  18. package/dist/changeset_operations/isEmptyChangeset.d.ts.map +1 -1
  19. package/dist/changeset_operations/isEmptyChangeset.js +2 -1
  20. package/dist/changeset_operations/isEmptyChangeset.js.map +1 -1
  21. package/dist/changeset_operations/operationTypes.d.ts.map +1 -1
  22. package/dist/changeset_operations/operationTypes.js.map +1 -1
  23. package/dist/helpers/typeidHelper.d.ts +10 -10
  24. package/dist/helpers/typeidHelper.d.ts.map +1 -1
  25. package/dist/helpers/typeidHelper.js +19 -17
  26. package/dist/helpers/typeidHelper.js.map +1 -1
  27. package/dist/index.d.ts.map +1 -1
  28. package/dist/index.js.map +1 -1
  29. package/dist/isReservedKeyword.d.ts.map +1 -1
  30. package/dist/isReservedKeyword.js.map +1 -1
  31. package/dist/pathHelper.d.ts.map +1 -1
  32. package/dist/pathHelper.js +16 -10
  33. package/dist/pathHelper.js.map +1 -1
  34. package/dist/rebase.d.ts.map +1 -1
  35. package/dist/rebase.js +20 -13
  36. package/dist/rebase.js.map +1 -1
  37. package/dist/templateSchema.d.ts.map +1 -1
  38. package/dist/templateSchema.js +10 -11
  39. package/dist/templateSchema.js.map +1 -1
  40. package/dist/templateValidator.d.ts.map +1 -1
  41. package/dist/templateValidator.js +135 -102
  42. package/dist/templateValidator.js.map +1 -1
  43. package/dist/test/array.spec.js +141 -343
  44. package/dist/test/array.spec.js.map +1 -1
  45. package/dist/test/pathHelper.spec.js +299 -166
  46. package/dist/test/pathHelper.spec.js.map +1 -1
  47. package/dist/test/reversibleCs.spec.js.map +1 -1
  48. package/dist/test/schemaValidator.js +3 -1
  49. package/dist/test/schemaValidator.js.map +1 -1
  50. package/dist/test/schemas/badBothPropertiesAndTypeid.js +8 -8
  51. package/dist/test/schemas/badBothPropertiesAndTypeid.js.map +1 -1
  52. package/dist/test/schemas/badInvalidSemverInTypeid.js +18 -16
  53. package/dist/test/schemas/badInvalidSemverInTypeid.js.map +1 -1
  54. package/dist/test/schemas/badMissingSemverInTypeid.js +18 -16
  55. package/dist/test/schemas/badMissingSemverInTypeid.js.map +1 -1
  56. package/dist/test/schemas/badNestedProperties.js +18 -17
  57. package/dist/test/schemas/badNestedProperties.js.map +1 -1
  58. package/dist/test/schemas/badPrimitiveTypeid.js +9 -8
  59. package/dist/test/schemas/badPrimitiveTypeid.js.map +1 -1
  60. package/dist/test/schemas/badVersionedTypeid.js +19 -17
  61. package/dist/test/schemas/badVersionedTypeid.js.map +1 -1
  62. package/dist/test/schemas/goodColorPalette.js +4 -4
  63. package/dist/test/schemas/goodColorPalette.js.map +1 -1
  64. package/dist/test/schemas/goodDraftAsVersion.js +2 -4
  65. package/dist/test/schemas/goodDraftAsVersion.js.map +1 -1
  66. package/dist/test/schemas/goodPointId.js +18 -16
  67. package/dist/test/schemas/goodPointId.js.map +1 -1
  68. package/dist/test/schemas/goodReferenceAndRegular.js +5 -5
  69. package/dist/test/schemas/goodReferenceAndRegular.js.map +1 -1
  70. package/dist/test/schemas/goodReservedTypes.js +8 -7
  71. package/dist/test/schemas/goodReservedTypes.js.map +1 -1
  72. package/dist/test/schemas/goodUIBorder.js +19 -16
  73. package/dist/test/schemas/goodUIBorder.js.map +1 -1
  74. package/dist/test/tsconfig.tsbuildinfo +1 -1
  75. package/dist/test/validator/templateSyntax.spec.js.map +1 -1
  76. package/dist/test/validator/templateValidator.spec.js +329 -306
  77. package/dist/test/validator/templateValidator.spec.js.map +1 -1
  78. package/dist/test/validator/typeidHelper.spec.js +98 -65
  79. package/dist/test/validator/typeidHelper.spec.js.map +1 -1
  80. package/dist/utils.d.ts +1 -1
  81. package/dist/utils.d.ts.map +1 -1
  82. package/dist/utils.js +149 -95
  83. package/dist/utils.js.map +1 -1
  84. package/dist/validationResultBuilder.d.ts.map +1 -1
  85. package/dist/validationResultBuilder.js.map +1 -1
  86. package/lib/changeset.js +63 -47
  87. package/lib/changeset.js.map +1 -1
  88. package/lib/changeset_operations/array.js +88 -57
  89. package/lib/changeset_operations/array.js.map +1 -1
  90. package/lib/changeset_operations/arrayChangesetIterator.js +43 -41
  91. package/lib/changeset_operations/arrayChangesetIterator.js.map +1 -1
  92. package/lib/changeset_operations/changesetConflictTypes.js.map +1 -1
  93. package/lib/changeset_operations/indexedCollection.js +76 -44
  94. package/lib/changeset_operations/indexedCollection.js.map +1 -1
  95. package/lib/changeset_operations/isEmptyChangeset.js +2 -1
  96. package/lib/changeset_operations/isEmptyChangeset.js.map +1 -1
  97. package/lib/changeset_operations/operationTypes.js.map +1 -1
  98. package/lib/helpers/typeidHelper.js +19 -17
  99. package/lib/helpers/typeidHelper.js.map +1 -1
  100. package/lib/index.js.map +1 -1
  101. package/lib/isReservedKeyword.js.map +1 -1
  102. package/lib/pathHelper.js +17 -11
  103. package/lib/pathHelper.js.map +1 -1
  104. package/lib/rebase.js +20 -13
  105. package/lib/rebase.js.map +1 -1
  106. package/lib/templateSchema.js +10 -11
  107. package/lib/templateSchema.js.map +1 -1
  108. package/lib/templateValidator.js +135 -102
  109. package/lib/templateValidator.js.map +1 -1
  110. package/lib/utils.js +149 -95
  111. package/lib/utils.js.map +1 -1
  112. package/lib/validationResultBuilder.js.map +1 -1
  113. package/package.json +100 -100
@@ -1 +1 @@
1
- {"version":3,"file":"pathHelper.spec.js","sourceRoot":"","sources":["../../src/test/pathHelper.spec.ts"],"names":[],"mappings":";AAAA;;;GAGG;;AAEH;;GAEG;AAEH,+BAA8B;AAC9B,8CAA2C;AAE3C,QAAQ,CAAC,YAAY,EAAE;IACnB,QAAQ,CAAC,oBAAoB,EAAE;QAC3B,EAAE,CAAC,gDAAgD,EAAE;YACjD,IAAI,KAAK,GAAG,EAAE,CAAC;YACf,IAAA,aAAM,EAAC,uBAAU,CAAC,kBAAkB,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;YACnE,IAAA,aAAM,EAAC,KAAK,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;YAEhC,IAAA,aAAM,EAAC,uBAAU,CAAC,kBAAkB,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;YAC7E,IAAA,aAAM,EAAC,KAAK,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,uBAAU,CAAC,WAAW,CAAC,kBAAkB,CAAC,CAAC,CAAC;YAEzE,IAAA,aAAM,EAAC,uBAAU,CAAC,kBAAkB,CAAC,YAAY,EAAE,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;YAC5F,IAAA,aAAM,EAAC,KAAK,CAAC,CAAC,EAAE,CAAC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EAAE,CAAC,oDAAoD,EAAE;YACrD,KAAK,GAAG,CAAC,OAAO,EAAE,OAAO,EAAE,GAAG,CAAC,CAAC;YAChC,MAAM,GAAG,GAAG,uBAAU,CAAC,eAAe,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;YACrD,IAAA,aAAM,EAAC,GAAG,CAAC,cAAc,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,uBAAU,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC;YAC9E,IAAA,aAAM,EAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;QAC3D,CAAC,CAAC,CAAC;QAEH,EAAE,CAAC,oDAAoD,EAAE;YACrD,KAAK,GAAG,CAAC,GAAG,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;YAChC,MAAM,GAAG,GAAG,uBAAU,CAAC,eAAe,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;YACrD,IAAA,aAAM,EAAC,GAAG,CAAC,cAAc,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,uBAAU,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC;YAC9E,IAAA,aAAM,EAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;QAC3D,CAAC,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\n/**\n * @fileoverview In this file, we will test the path helper functions described in /src/properties/path_helper.js\n */\n\nimport { expect } from 'chai';\nimport { PathHelper } from \"../pathHelper\";\n\ndescribe('PathHelper', function() {\n describe('tokenizePathString', function() {\n it('should work for simple paths separated by dots', function() {\n let types = [];\n expect(PathHelper.tokenizePathString('', types)).to.deep.equal([]);\n expect(types).to.deep.equal([]);\n\n expect(PathHelper.tokenizePathString('test', types)).to.deep.equal(['test']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN]);\n\n expect(PathHelper.tokenizePathString('test.test2', types)).to.deep.equal(['test', 'test2']);\n expect(types).to.deep.equal([\n PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN,\n PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN,\n ]);\n\n expect(function() { PathHelper.tokenizePathString('.test2'); }).to.throw();\n expect(function() { PathHelper.tokenizePathString('test2.'); }).to.throw();\n expect(function() { PathHelper.tokenizePathString('.'); }).to.throw();\n });\n\n it('should work for arrays', function() {\n let types = [];\n expect(PathHelper.tokenizePathString('[test]', types)).to.deep.equal(['test']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.ARRAY_TOKEN]);\n\n expect(PathHelper.tokenizePathString('[test][test2]', types)).to.deep.equal(['test', 'test2']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.ARRAY_TOKEN, PathHelper.TOKEN_TYPES.ARRAY_TOKEN]);\n\n expect(function() { PathHelper.tokenizePathString('['); }).to.throw();\n expect(function() { PathHelper.tokenizePathString('[abcd'); }).to.throw();\n expect(function() { PathHelper.tokenizePathString(']'); }).to.throw();\n expect(function() { PathHelper.tokenizePathString('[abcd]]'); }).to.throw();\n expect(function() { PathHelper.tokenizePathString('[]'); }).to.throw();\n });\n\n it('should work for combinations of arrays and paths separated by dots', function() {\n let types = [];\n expect(PathHelper.tokenizePathString('map[test]', types)).to.deep.equal(['map', 'test']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN, PathHelper.TOKEN_TYPES.ARRAY_TOKEN]);\n\n expect(PathHelper.tokenizePathString('[test].parameter', types)).to.deep.equal(['test', 'parameter']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.ARRAY_TOKEN, PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN]);\n\n expect(PathHelper.tokenizePathString('map[test].parameter[test2]', types)).to.deep.equal(\n ['map', 'test', 'parameter', 'test2']);\n expect(types).to.deep.equal([\n PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN,\n PathHelper.TOKEN_TYPES.ARRAY_TOKEN,\n PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN,\n PathHelper.TOKEN_TYPES.ARRAY_TOKEN,\n ]);\n\n expect(function() { PathHelper.tokenizePathString('[test]parameter'); }).to.throw();\n });\n\n it('should work for quoted tokens', function() {\n let types = [];\n expect(PathHelper.tokenizePathString('\"test\"', types)).to.deep.equal(['test']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN]);\n\n expect(PathHelper.tokenizePathString('\"te\\\\\"st\"', types)).to.deep.equal(['te\"st']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN]);\n\n expect(PathHelper.tokenizePathString('\"te\\\\\\\\st\"', types)).to.deep.equal(['te\\\\st']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN]);\n\n expect(PathHelper.tokenizePathString('\"\"', types)).to.deep.equal(['']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN]);\n\n expect(PathHelper.tokenizePathString('\"test1\".test2', types)).to.deep.equal(['test1', 'test2']);\n expect(types).to.deep.equal([\n PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN, PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN,\n ]);\n\n expect(PathHelper.tokenizePathString('\"test1\".\"test2\"', types)).to.deep.equal(['test1', 'test2']);\n expect(types).to.deep.equal([\n PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN, PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN,\n ]);\n\n expect(PathHelper.tokenizePathString('test1.\"test2\"', types)).to.deep.equal(['test1', 'test2']);\n expect(types).to.deep.equal([\n PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN, PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN,\n ]);\n\n expect(PathHelper.tokenizePathString('test1[\"test2\"]', types)).to.deep.equal(['test1', 'test2']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN, PathHelper.TOKEN_TYPES.ARRAY_TOKEN]);\n\n expect(PathHelper.tokenizePathString('\"test1\"[\"test2\"]', types)).to.deep.equal(['test1', 'test2']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN, PathHelper.TOKEN_TYPES.ARRAY_TOKEN]);\n\n expect(PathHelper.tokenizePathString('\"\"[\"\"]', types)).to.deep.equal(['', '']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN, PathHelper.TOKEN_TYPES.ARRAY_TOKEN]);\n\n expect(PathHelper.tokenizePathString('\"/\"', types)).to.deep.equal(['/']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN]);\n\n expect(PathHelper.tokenizePathString('/', types)).to.deep.equal(['/']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.PATH_ROOT_TOKEN]);\n\n expect(PathHelper.tokenizePathString('/test', types)).to.deep.equal(['/', 'test']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.PATH_ROOT_TOKEN, PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN]);\n\n expect(PathHelper.tokenizePathString('/[test]', types)).to.deep.equal(['/', 'test']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.PATH_ROOT_TOKEN, PathHelper.TOKEN_TYPES.ARRAY_TOKEN]);\n\n expect(PathHelper.tokenizePathString('*', types)).to.deep.equal(['*']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.DEREFERENCE_TOKEN]);\n\n expect(PathHelper.tokenizePathString('test*', types)).to.deep.equal(['test', '*']);\n expect(types).to.deep.equal([\n PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN, PathHelper.TOKEN_TYPES.DEREFERENCE_TOKEN,\n ]);\n\n expect(PathHelper.tokenizePathString('*.test', types)).to.deep.equal(['*', 'test']);\n expect(types).to.deep.equal([\n PathHelper.TOKEN_TYPES.DEREFERENCE_TOKEN, PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN,\n ]);\n\n expect(function() { PathHelper.tokenizePathString('*test', types); }).to.throw();\n expect(function() { PathHelper.tokenizePathString('test*test', types); }).to.throw();\n\n expect(PathHelper.tokenizePathString('*.test*.test2*', types)).to.deep.equal(['*', 'test', '*', 'test2', '*']);\n expect(types).to.deep.equal([\n PathHelper.TOKEN_TYPES.DEREFERENCE_TOKEN,\n PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN,\n PathHelper.TOKEN_TYPES.DEREFERENCE_TOKEN,\n PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN,\n PathHelper.TOKEN_TYPES.DEREFERENCE_TOKEN,\n ]);\n\n expect(PathHelper.tokenizePathString('/*', types)).to.deep.equal(['/', '*']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.PATH_ROOT_TOKEN, PathHelper.TOKEN_TYPES.DEREFERENCE_TOKEN]);\n\n expect(PathHelper.tokenizePathString('*[test]', types)).to.deep.equal(['*', 'test']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.DEREFERENCE_TOKEN, PathHelper.TOKEN_TYPES.ARRAY_TOKEN]);\n\n expect(PathHelper.tokenizePathString('[test]*', types)).to.deep.equal(['test', '*']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.ARRAY_TOKEN, PathHelper.TOKEN_TYPES.DEREFERENCE_TOKEN]);\n\n expect(PathHelper.tokenizePathString('[test]*.test2', types)).to.deep.equal(['test', '*', 'test2']);\n expect(types).to.deep.equal([\n PathHelper.TOKEN_TYPES.ARRAY_TOKEN,\n PathHelper.TOKEN_TYPES.DEREFERENCE_TOKEN,\n PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN,\n ]);\n\n expect(PathHelper.tokenizePathString('[test]*[test2]', types)).to.deep.equal(['test', '*', 'test2']);\n expect(types).to.deep.equal([\n PathHelper.TOKEN_TYPES.ARRAY_TOKEN,\n PathHelper.TOKEN_TYPES.DEREFERENCE_TOKEN,\n PathHelper.TOKEN_TYPES.ARRAY_TOKEN,\n ]);\n\n expect(function() { PathHelper.tokenizePathString('[test]*test', types); }).to.throw();\n\n expect(function() { PathHelper.tokenizePathString('\"'); }).to.throw();\n expect(function() { PathHelper.tokenizePathString('test\"'); }).to.throw();\n expect(function() { PathHelper.tokenizePathString('\"tests'); }).to.throw();\n expect(function() { PathHelper.tokenizePathString('\"\\\\a\"'); }).to.throw();\n });\n\n it('should work for relative paths', function() {\n let types = [];\n expect(PathHelper.tokenizePathString('../test', types)).to.deep.equal(['../', 'test']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.RAISE_LEVEL_TOKEN,\n PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN,\n ]);\n\n expect(PathHelper.tokenizePathString('../../../test', types)).to.deep.equal(['../', '../', '../', 'test']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.RAISE_LEVEL_TOKEN, PathHelper.TOKEN_TYPES.RAISE_LEVEL_TOKEN,\n PathHelper.TOKEN_TYPES.RAISE_LEVEL_TOKEN, PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN,\n ]);\n\n expect(PathHelper.tokenizePathString('../../test[0].test2[key]', types)).to.deep.equal(\n ['../', '../', 'test', '0', 'test2', 'key']);\n expect(types).to.deep.equal([PathHelper.TOKEN_TYPES.RAISE_LEVEL_TOKEN, PathHelper.TOKEN_TYPES.RAISE_LEVEL_TOKEN,\n PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN, PathHelper.TOKEN_TYPES.ARRAY_TOKEN,\n PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN, PathHelper.TOKEN_TYPES.ARRAY_TOKEN,\n ]);\n\n expect(function() { PathHelper.tokenizePathString('/../test2'); }).to.throw();\n });\n });\n\n describe('quotePathSegment', function() {\n it('should quote simple strings', function() {\n expect(PathHelper.quotePathSegment('test')).to.equal('\"test\"');\n expect(JSON.parse(PathHelper.quotePathSegment('test'))).to.equal('test');\n });\n it('should correctly quote strings with a quotation mark', function() {\n expect(PathHelper.quotePathSegment('\"')).to.equal('\"\\\\\"\"');\n expect(JSON.parse(PathHelper.quotePathSegment('\"'))).to.equal('\"');\n });\n it('should correctly quote strings with a backslash', function() {\n expect(PathHelper.quotePathSegment('\\\\')).to.equal('\"\\\\\\\\\"');\n expect(JSON.parse(PathHelper.quotePathSegment('\\\\'))).to.equal('\\\\');\n });\n\n it('should work for paths with multiple occurrences of the test string', function() {\n expect(PathHelper.quotePathSegment('test\"property\"')).to.equal('\"test\\\\\"property\\\\\"\"');\n expect(PathHelper.quotePathSegment('test\\\\property\\\\')).to.equal('\"test\\\\\\\\property\\\\\\\\\"');\n expect(PathHelper.quotePathSegment('test\"\\\\property\\\\\"')).to.equal('\"test\\\\\"\\\\\\\\property\\\\\\\\\\\\\"\"');\n });\n });\n\n describe('quotePathSegmentIfNeeded', function() {\n it('should quote all required strings', function() {\n expect(PathHelper.quotePathSegmentIfNeeded('.')).to.equal('\".\"');\n expect(PathHelper.quotePathSegmentIfNeeded('\"')).to.equal('\"\\\\\"\"');\n expect(PathHelper.quotePathSegmentIfNeeded('\\\\')).to.equal('\"\\\\\\\\\"');\n expect(PathHelper.quotePathSegmentIfNeeded('[')).to.equal('\"[\"');\n expect(PathHelper.quotePathSegmentIfNeeded(']')).to.equal('\"]\"');\n expect(PathHelper.quotePathSegmentIfNeeded('')).to.equal('\"\"');\n expect(PathHelper.quotePathSegmentIfNeeded('/')).to.equal('\"/\"');\n expect(PathHelper.quotePathSegmentIfNeeded('*')).to.equal('\"*\"');\n });\n\n it('should not quote other strings', function() {\n expect(PathHelper.quotePathSegmentIfNeeded('abcd')).to.equal('abcd');\n expect(PathHelper.quotePathSegmentIfNeeded('test_string')).to.equal('test_string');\n });\n });\n\n describe('unquotePathSegment', function() {\n it('should unquote simple strings', function() {\n expect(PathHelper.unquotePathSegment('\"test\"')).to.equal('test');\n });\n\n it('should correctly unquote strings with a quotation mark', function() {\n expect(PathHelper.unquotePathSegment('\"\\\\\"\"')).to.equal('\"');\n });\n\n it('should correctly unquote strings with a backslash', function() {\n expect(PathHelper.unquotePathSegment('\"\\\\\\\\\"')).to.equal('\\\\');\n });\n\n it('should work with empty strings', function() {\n expect(PathHelper.unquotePathSegment('')).to.equal('');\n });\n\n it('should throw on non strings', function() {\n // @ts-ignore\n expect(() => PathHelper.unquotePathSegment(5)).to.throw();\n });\n\n it('should work for paths with multiple occurrences of the test string', function() {\n expect(PathHelper.unquotePathSegment('\"test\\\\\"property\\\\\"\"')).to.equal('test\"property\"');\n expect(PathHelper.unquotePathSegment('\"test\\\\\\\\property\\\\\\\\\"')).to.equal('test\\\\property\\\\');\n expect(PathHelper.unquotePathSegment('\"test\\\\\"\\\\\\\\property\\\\\\\\\\\\\"\"')).to.equal('test\"\\\\property\\\\\"');\n });\n });\n\n describe('convertAbsolutePathToCanonical', function() {\n it('should remove leading /', function() {\n expect(PathHelper.convertAbsolutePathToCanonical('/a.b.c')).to.equal('a.b.c');\n });\n\n it('should throw on ../', function() {\n expect(() => PathHelper.convertAbsolutePathToCanonical('../a.b.c')).to.throw('../');\n });\n\n it('should throw on *', function() {\n expect(() => PathHelper.convertAbsolutePathToCanonical('/a.b.c*')).to.throw('*');\n });\n\n it('should replace square brackets by periods', function() {\n expect(PathHelper.convertAbsolutePathToCanonical('/a.b[c]')).to.equal('a.b.c');\n expect(PathHelper.convertAbsolutePathToCanonical('/a[b].c')).to.equal('a.b.c');\n });\n\n it('should keep properly escaped property names', function() {\n expect(PathHelper.convertAbsolutePathToCanonical('\".\"')).to.equal('\".\"');\n expect(PathHelper.convertAbsolutePathToCanonical('\"\\\\\"\"')).to.equal('\"\\\\\"\"');\n expect(PathHelper.convertAbsolutePathToCanonical('\"\\\\\\\\\"')).to.equal('\"\\\\\\\\\"');\n expect(PathHelper.convertAbsolutePathToCanonical('\"[\"')).to.equal('\"[\"');\n expect(PathHelper.convertAbsolutePathToCanonical('\"]\"')).to.equal('\"]\"');\n expect(PathHelper.convertAbsolutePathToCanonical('\"\"')).to.equal('\"\"');\n expect(PathHelper.convertAbsolutePathToCanonical('\"/\"')).to.equal('\"/\"');\n expect(PathHelper.convertAbsolutePathToCanonical('\"*\"')).to.equal('\"*\"');\n });\n\n it('should properly unescape unusually escaped property names', function() {\n expect(PathHelper.convertAbsolutePathToCanonical('\"a\".\"b\"')).to.equal('a.b');\n expect(PathHelper.convertAbsolutePathToCanonical('\"a\"[b][\"c\"]')).to.equal('a.b.c');\n });\n\n it('should not modify simple paths', function() {\n expect(PathHelper.convertAbsolutePathToCanonical('a.b.c.d')).to.equal('a.b.c.d');\n expect(PathHelper.convertAbsolutePathToCanonical('test_string')).to.equal('test_string');\n });\n });\n\n describe('getPathCoverage', function() {\n this.timeout(500);\n let paths;\n\n it('should succeed if property is included in a path 1', function() {\n paths = ['a.b'];\n const res = PathHelper.getPathCoverage('a.b', paths);\n expect(res.coverageExtent).to.equal(PathHelper.CoverageExtent.FULLY_COVERED);\n expect(res.pathList).to.deep.equal(['a.b']);\n });\n\n it('should succeed if property is included in a path 2', function() {\n paths = ['a.b'];\n const res = PathHelper.getPathCoverage('a.b.c', paths);\n expect(res.coverageExtent).to.equal(PathHelper.CoverageExtent.FULLY_COVERED);\n expect(res.pathList).to.deep.equal(['a.b']);\n });\n\n it('should succeed if property is included in a path 3', function() {\n paths = ['a.b'];\n const res = PathHelper.getPathCoverage('a.b.c.d', paths);\n expect(res.coverageExtent).to.equal(PathHelper.CoverageExtent.FULLY_COVERED);\n expect(res.pathList).to.deep.equal(['a.b']);\n });\n\n it('should fail if property is not included in any path 1', function() {\n paths = ['a.b'];\n const res = PathHelper.getPathCoverage('b', paths);\n expect(res.coverageExtent).to.equal(PathHelper.CoverageExtent.UNCOVERED);\n expect(res.pathList).to.deep.equal([]);\n });\n\n it('should fail if property is not included in any path 2', function() {\n paths = ['a.b'];\n const res = PathHelper.getPathCoverage('b.f.g', paths);\n expect(res.coverageExtent).to.equal(PathHelper.CoverageExtent.UNCOVERED);\n expect(res.pathList).to.deep.equal([]);\n });\n\n it('should fail if property is not included in any path but have common root 1', function() {\n paths = ['a.b'];\n const res = PathHelper.getPathCoverage('a.h', paths);\n expect(res.coverageExtent).to.equal(PathHelper.CoverageExtent.UNCOVERED);\n expect(res.pathList).to.deep.equal([]);\n });\n\n it('should fail if property is not included in any path but have common root 2', function() {\n paths = ['a.b'];\n const res = PathHelper.getPathCoverage('a.i.j', paths);\n expect(res.coverageExtent).to.equal(PathHelper.CoverageExtent.UNCOVERED);\n expect(res.pathList).to.deep.equal([]);\n });\n\n it('should succeed if path goes through the property 1', function() {\n paths = ['a.b.c', 'a.b.d', 'z'];\n const res = PathHelper.getPathCoverage('a.b', paths);\n expect(res.coverageExtent).to.equal(PathHelper.CoverageExtent.PARTLY_COVERED);\n expect(res.pathList).to.deep.equal(['a.b.c', 'a.b.d']);\n });\n\n it('should succeed if path goes through the property 2', function() {\n paths = ['z', 'a.b.c', 'a.b.d'];\n const res = PathHelper.getPathCoverage('a.b', paths);\n expect(res.coverageExtent).to.equal(PathHelper.CoverageExtent.PARTLY_COVERED);\n expect(res.pathList).to.deep.equal(['a.b.c', 'a.b.d']);\n });\n });\n});\n"]}
1
+ {"version":3,"file":"pathHelper.spec.js","sourceRoot":"","sources":["../../src/test/pathHelper.spec.ts"],"names":[],"mappings":";AAAA;;;GAGG;;AAEH;;GAEG;AAEH,+BAA8B;AAC9B,8CAA2C;AAE3C,QAAQ,CAAC,YAAY,EAAE;IACtB,QAAQ,CAAC,oBAAoB,EAAE;QAC9B,EAAE,CAAC,gDAAgD,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C;QACxD,CAAC,CAAC,CAAC;QAEH,EAAE,CAAC,oDAAoD,EAAE;YACxD,KAAK,GAAG,CAAC,GAAG,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;YAChC,MAAM,GAAG,GAAG,uBAAU,CAAC,eAAe,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;YACrD,IAAA,aAAM,EAAC,GAAG,CAAC,cAAc,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,uBAAU,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC;YAC9E,IAAA,aAAM,EAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;QACxD,CAAC,CAAC,CAAC;IACJ,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\n/**\n * @fileoverview In this file, we will test the path helper functions described in /src/properties/path_helper.js\n */\n\nimport { expect } from \"chai\";\nimport { PathHelper } from \"../pathHelper\";\n\ndescribe(\"PathHelper\", function () {\n\tdescribe(\"tokenizePathString\", function () {\n\t\tit(\"should work for simple paths separated by dots\", function () {\n\t\t\tlet types = [];\n\t\t\texpect(PathHelper.tokenizePathString(\"\", types)).to.deep.equal([]);\n\t\t\texpect(types).to.deep.equal([]);\n\n\t\t\texpect(PathHelper.tokenizePathString(\"test\", types)).to.deep.equal([\"test\"]);\n\t\t\texpect(types).to.deep.equal([PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN]);\n\n\t\t\texpect(PathHelper.tokenizePathString(\"test.test2\", types)).to.deep.equal([\n\t\t\t\t\"test\",\n\t\t\t\t\"test2\",\n\t\t\t]);\n\t\t\texpect(types).to.deep.equal([\n\t\t\t\tPathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN,\n\t\t\t\tPathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN,\n\t\t\t]);\n\n\t\t\texpect(function () {\n\t\t\t\tPathHelper.tokenizePathString(\".test2\");\n\t\t\t}).to.throw();\n\t\t\texpect(function () {\n\t\t\t\tPathHelper.tokenizePathString(\"test2.\");\n\t\t\t}).to.throw();\n\t\t\texpect(function () {\n\t\t\t\tPathHelper.tokenizePathString(\".\");\n\t\t\t}).to.throw();\n\t\t});\n\n\t\tit(\"should work for arrays\", function () {\n\t\t\tlet types = [];\n\t\t\texpect(PathHelper.tokenizePathString(\"[test]\", types)).to.deep.equal([\"test\"]);\n\t\t\texpect(types).to.deep.equal([PathHelper.TOKEN_TYPES.ARRAY_TOKEN]);\n\n\t\t\texpect(PathHelper.tokenizePathString(\"[test][test2]\", types)).to.deep.equal([\n\t\t\t\t\"test\",\n\t\t\t\t\"test2\",\n\t\t\t]);\n\t\t\texpect(types).to.deep.equal([\n\t\t\t\tPathHelper.TOKEN_TYPES.ARRAY_TOKEN,\n\t\t\t\tPathHelper.TOKEN_TYPES.ARRAY_TOKEN,\n\t\t\t]);\n\n\t\t\texpect(function () {\n\t\t\t\tPathHelper.tokenizePathString(\"[\");\n\t\t\t}).to.throw();\n\t\t\texpect(function () {\n\t\t\t\tPathHelper.tokenizePathString(\"[abcd\");\n\t\t\t}).to.throw();\n\t\t\texpect(function () {\n\t\t\t\tPathHelper.tokenizePathString(\"]\");\n\t\t\t}).to.throw();\n\t\t\texpect(function () {\n\t\t\t\tPathHelper.tokenizePathString(\"[abcd]]\");\n\t\t\t}).to.throw();\n\t\t\texpect(function () {\n\t\t\t\tPathHelper.tokenizePathString(\"[]\");\n\t\t\t}).to.throw();\n\t\t});\n\n\t\tit(\"should work for combinations of arrays and paths separated by dots\", function () {\n\t\t\tlet types = [];\n\t\t\texpect(PathHelper.tokenizePathString(\"map[test]\", types)).to.deep.equal([\n\t\t\t\t\"map\",\n\t\t\t\t\"test\",\n\t\t\t]);\n\t\t\texpect(types).to.deep.equal([\n\t\t\t\tPathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN,\n\t\t\t\tPathHelper.TOKEN_TYPES.ARRAY_TOKEN,\n\t\t\t]);\n\n\t\t\texpect(PathHelper.tokenizePathString(\"[test].parameter\", types)).to.deep.equal([\n\t\t\t\t\"test\",\n\t\t\t\t\"parameter\",\n\t\t\t]);\n\t\t\texpect(types).to.deep.equal([\n\t\t\t\tPathHelper.TOKEN_TYPES.ARRAY_TOKEN,\n\t\t\t\tPathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN,\n\t\t\t]);\n\n\t\t\texpect(\n\t\t\t\tPathHelper.tokenizePathString(\"map[test].parameter[test2]\", types),\n\t\t\t).to.deep.equal([\"map\", \"test\", \"parameter\", \"test2\"]);\n\t\t\texpect(types).to.deep.equal([\n\t\t\t\tPathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN,\n\t\t\t\tPathHelper.TOKEN_TYPES.ARRAY_TOKEN,\n\t\t\t\tPathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN,\n\t\t\t\tPathHelper.TOKEN_TYPES.ARRAY_TOKEN,\n\t\t\t]);\n\n\t\t\texpect(function () {\n\t\t\t\tPathHelper.tokenizePathString(\"[test]parameter\");\n\t\t\t}).to.throw();\n\t\t});\n\n\t\tit(\"should work for quoted tokens\", function () {\n\t\t\tlet types = [];\n\t\t\texpect(PathHelper.tokenizePathString('\"test\"', types)).to.deep.equal([\"test\"]);\n\t\t\texpect(types).to.deep.equal([PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN]);\n\n\t\t\texpect(PathHelper.tokenizePathString('\"te\\\\\"st\"', types)).to.deep.equal(['te\"st']);\n\t\t\texpect(types).to.deep.equal([PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN]);\n\n\t\t\texpect(PathHelper.tokenizePathString('\"te\\\\\\\\st\"', types)).to.deep.equal([\"te\\\\st\"]);\n\t\t\texpect(types).to.deep.equal([PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN]);\n\n\t\t\texpect(PathHelper.tokenizePathString('\"\"', types)).to.deep.equal([\"\"]);\n\t\t\texpect(types).to.deep.equal([PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN]);\n\n\t\t\texpect(PathHelper.tokenizePathString('\"test1\".test2', types)).to.deep.equal([\n\t\t\t\t\"test1\",\n\t\t\t\t\"test2\",\n\t\t\t]);\n\t\t\texpect(types).to.deep.equal([\n\t\t\t\tPathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN,\n\t\t\t\tPathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN,\n\t\t\t]);\n\n\t\t\texpect(PathHelper.tokenizePathString('\"test1\".\"test2\"', types)).to.deep.equal([\n\t\t\t\t\"test1\",\n\t\t\t\t\"test2\",\n\t\t\t]);\n\t\t\texpect(types).to.deep.equal([\n\t\t\t\tPathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN,\n\t\t\t\tPathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN,\n\t\t\t]);\n\n\t\t\texpect(PathHelper.tokenizePathString('test1.\"test2\"', types)).to.deep.equal([\n\t\t\t\t\"test1\",\n\t\t\t\t\"test2\",\n\t\t\t]);\n\t\t\texpect(types).to.deep.equal([\n\t\t\t\tPathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN,\n\t\t\t\tPathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN,\n\t\t\t]);\n\n\t\t\texpect(PathHelper.tokenizePathString('test1[\"test2\"]', types)).to.deep.equal([\n\t\t\t\t\"test1\",\n\t\t\t\t\"test2\",\n\t\t\t]);\n\t\t\texpect(types).to.deep.equal([\n\t\t\t\tPathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN,\n\t\t\t\tPathHelper.TOKEN_TYPES.ARRAY_TOKEN,\n\t\t\t]);\n\n\t\t\texpect(PathHelper.tokenizePathString('\"test1\"[\"test2\"]', types)).to.deep.equal([\n\t\t\t\t\"test1\",\n\t\t\t\t\"test2\",\n\t\t\t]);\n\t\t\texpect(types).to.deep.equal([\n\t\t\t\tPathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN,\n\t\t\t\tPathHelper.TOKEN_TYPES.ARRAY_TOKEN,\n\t\t\t]);\n\n\t\t\texpect(PathHelper.tokenizePathString('\"\"[\"\"]', types)).to.deep.equal([\"\", \"\"]);\n\t\t\texpect(types).to.deep.equal([\n\t\t\t\tPathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN,\n\t\t\t\tPathHelper.TOKEN_TYPES.ARRAY_TOKEN,\n\t\t\t]);\n\n\t\t\texpect(PathHelper.tokenizePathString('\"/\"', types)).to.deep.equal([\"/\"]);\n\t\t\texpect(types).to.deep.equal([PathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN]);\n\n\t\t\texpect(PathHelper.tokenizePathString(\"/\", types)).to.deep.equal([\"/\"]);\n\t\t\texpect(types).to.deep.equal([PathHelper.TOKEN_TYPES.PATH_ROOT_TOKEN]);\n\n\t\t\texpect(PathHelper.tokenizePathString(\"/test\", types)).to.deep.equal([\"/\", \"test\"]);\n\t\t\texpect(types).to.deep.equal([\n\t\t\t\tPathHelper.TOKEN_TYPES.PATH_ROOT_TOKEN,\n\t\t\t\tPathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN,\n\t\t\t]);\n\n\t\t\texpect(PathHelper.tokenizePathString(\"/[test]\", types)).to.deep.equal([\"/\", \"test\"]);\n\t\t\texpect(types).to.deep.equal([\n\t\t\t\tPathHelper.TOKEN_TYPES.PATH_ROOT_TOKEN,\n\t\t\t\tPathHelper.TOKEN_TYPES.ARRAY_TOKEN,\n\t\t\t]);\n\n\t\t\texpect(PathHelper.tokenizePathString(\"*\", types)).to.deep.equal([\"*\"]);\n\t\t\texpect(types).to.deep.equal([PathHelper.TOKEN_TYPES.DEREFERENCE_TOKEN]);\n\n\t\t\texpect(PathHelper.tokenizePathString(\"test*\", types)).to.deep.equal([\"test\", \"*\"]);\n\t\t\texpect(types).to.deep.equal([\n\t\t\t\tPathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN,\n\t\t\t\tPathHelper.TOKEN_TYPES.DEREFERENCE_TOKEN,\n\t\t\t]);\n\n\t\t\texpect(PathHelper.tokenizePathString(\"*.test\", types)).to.deep.equal([\"*\", \"test\"]);\n\t\t\texpect(types).to.deep.equal([\n\t\t\t\tPathHelper.TOKEN_TYPES.DEREFERENCE_TOKEN,\n\t\t\t\tPathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN,\n\t\t\t]);\n\n\t\t\texpect(function () {\n\t\t\t\tPathHelper.tokenizePathString(\"*test\", types);\n\t\t\t}).to.throw();\n\t\t\texpect(function () {\n\t\t\t\tPathHelper.tokenizePathString(\"test*test\", types);\n\t\t\t}).to.throw();\n\n\t\t\texpect(PathHelper.tokenizePathString(\"*.test*.test2*\", types)).to.deep.equal([\n\t\t\t\t\"*\",\n\t\t\t\t\"test\",\n\t\t\t\t\"*\",\n\t\t\t\t\"test2\",\n\t\t\t\t\"*\",\n\t\t\t]);\n\t\t\texpect(types).to.deep.equal([\n\t\t\t\tPathHelper.TOKEN_TYPES.DEREFERENCE_TOKEN,\n\t\t\t\tPathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN,\n\t\t\t\tPathHelper.TOKEN_TYPES.DEREFERENCE_TOKEN,\n\t\t\t\tPathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN,\n\t\t\t\tPathHelper.TOKEN_TYPES.DEREFERENCE_TOKEN,\n\t\t\t]);\n\n\t\t\texpect(PathHelper.tokenizePathString(\"/*\", types)).to.deep.equal([\"/\", \"*\"]);\n\t\t\texpect(types).to.deep.equal([\n\t\t\t\tPathHelper.TOKEN_TYPES.PATH_ROOT_TOKEN,\n\t\t\t\tPathHelper.TOKEN_TYPES.DEREFERENCE_TOKEN,\n\t\t\t]);\n\n\t\t\texpect(PathHelper.tokenizePathString(\"*[test]\", types)).to.deep.equal([\"*\", \"test\"]);\n\t\t\texpect(types).to.deep.equal([\n\t\t\t\tPathHelper.TOKEN_TYPES.DEREFERENCE_TOKEN,\n\t\t\t\tPathHelper.TOKEN_TYPES.ARRAY_TOKEN,\n\t\t\t]);\n\n\t\t\texpect(PathHelper.tokenizePathString(\"[test]*\", types)).to.deep.equal([\"test\", \"*\"]);\n\t\t\texpect(types).to.deep.equal([\n\t\t\t\tPathHelper.TOKEN_TYPES.ARRAY_TOKEN,\n\t\t\t\tPathHelper.TOKEN_TYPES.DEREFERENCE_TOKEN,\n\t\t\t]);\n\n\t\t\texpect(PathHelper.tokenizePathString(\"[test]*.test2\", types)).to.deep.equal([\n\t\t\t\t\"test\",\n\t\t\t\t\"*\",\n\t\t\t\t\"test2\",\n\t\t\t]);\n\t\t\texpect(types).to.deep.equal([\n\t\t\t\tPathHelper.TOKEN_TYPES.ARRAY_TOKEN,\n\t\t\t\tPathHelper.TOKEN_TYPES.DEREFERENCE_TOKEN,\n\t\t\t\tPathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN,\n\t\t\t]);\n\n\t\t\texpect(PathHelper.tokenizePathString(\"[test]*[test2]\", types)).to.deep.equal([\n\t\t\t\t\"test\",\n\t\t\t\t\"*\",\n\t\t\t\t\"test2\",\n\t\t\t]);\n\t\t\texpect(types).to.deep.equal([\n\t\t\t\tPathHelper.TOKEN_TYPES.ARRAY_TOKEN,\n\t\t\t\tPathHelper.TOKEN_TYPES.DEREFERENCE_TOKEN,\n\t\t\t\tPathHelper.TOKEN_TYPES.ARRAY_TOKEN,\n\t\t\t]);\n\n\t\t\texpect(function () {\n\t\t\t\tPathHelper.tokenizePathString(\"[test]*test\", types);\n\t\t\t}).to.throw();\n\n\t\t\texpect(function () {\n\t\t\t\tPathHelper.tokenizePathString('\"');\n\t\t\t}).to.throw();\n\t\t\texpect(function () {\n\t\t\t\tPathHelper.tokenizePathString('test\"');\n\t\t\t}).to.throw();\n\t\t\texpect(function () {\n\t\t\t\tPathHelper.tokenizePathString('\"tests');\n\t\t\t}).to.throw();\n\t\t\texpect(function () {\n\t\t\t\tPathHelper.tokenizePathString('\"\\\\a\"');\n\t\t\t}).to.throw();\n\t\t});\n\n\t\tit(\"should work for relative paths\", function () {\n\t\t\tlet types = [];\n\t\t\texpect(PathHelper.tokenizePathString(\"../test\", types)).to.deep.equal([\"../\", \"test\"]);\n\t\t\texpect(types).to.deep.equal([\n\t\t\t\tPathHelper.TOKEN_TYPES.RAISE_LEVEL_TOKEN,\n\t\t\t\tPathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN,\n\t\t\t]);\n\n\t\t\texpect(PathHelper.tokenizePathString(\"../../../test\", types)).to.deep.equal([\n\t\t\t\t\"../\",\n\t\t\t\t\"../\",\n\t\t\t\t\"../\",\n\t\t\t\t\"test\",\n\t\t\t]);\n\t\t\texpect(types).to.deep.equal([\n\t\t\t\tPathHelper.TOKEN_TYPES.RAISE_LEVEL_TOKEN,\n\t\t\t\tPathHelper.TOKEN_TYPES.RAISE_LEVEL_TOKEN,\n\t\t\t\tPathHelper.TOKEN_TYPES.RAISE_LEVEL_TOKEN,\n\t\t\t\tPathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN,\n\t\t\t]);\n\n\t\t\texpect(PathHelper.tokenizePathString(\"../../test[0].test2[key]\", types)).to.deep.equal([\n\t\t\t\t\"../\",\n\t\t\t\t\"../\",\n\t\t\t\t\"test\",\n\t\t\t\t\"0\",\n\t\t\t\t\"test2\",\n\t\t\t\t\"key\",\n\t\t\t]);\n\t\t\texpect(types).to.deep.equal([\n\t\t\t\tPathHelper.TOKEN_TYPES.RAISE_LEVEL_TOKEN,\n\t\t\t\tPathHelper.TOKEN_TYPES.RAISE_LEVEL_TOKEN,\n\t\t\t\tPathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN,\n\t\t\t\tPathHelper.TOKEN_TYPES.ARRAY_TOKEN,\n\t\t\t\tPathHelper.TOKEN_TYPES.PATH_SEGMENT_TOKEN,\n\t\t\t\tPathHelper.TOKEN_TYPES.ARRAY_TOKEN,\n\t\t\t]);\n\n\t\t\texpect(function () {\n\t\t\t\tPathHelper.tokenizePathString(\"/../test2\");\n\t\t\t}).to.throw();\n\t\t});\n\t});\n\n\tdescribe(\"quotePathSegment\", function () {\n\t\tit(\"should quote simple strings\", function () {\n\t\t\texpect(PathHelper.quotePathSegment(\"test\")).to.equal('\"test\"');\n\t\t\texpect(JSON.parse(PathHelper.quotePathSegment(\"test\"))).to.equal(\"test\");\n\t\t});\n\t\tit(\"should correctly quote strings with a quotation mark\", function () {\n\t\t\texpect(PathHelper.quotePathSegment('\"')).to.equal('\"\\\\\"\"');\n\t\t\texpect(JSON.parse(PathHelper.quotePathSegment('\"'))).to.equal('\"');\n\t\t});\n\t\tit(\"should correctly quote strings with a backslash\", function () {\n\t\t\texpect(PathHelper.quotePathSegment(\"\\\\\")).to.equal('\"\\\\\\\\\"');\n\t\t\texpect(JSON.parse(PathHelper.quotePathSegment(\"\\\\\"))).to.equal(\"\\\\\");\n\t\t});\n\n\t\tit(\"should work for paths with multiple occurrences of the test string\", function () {\n\t\t\texpect(PathHelper.quotePathSegment('test\"property\"')).to.equal('\"test\\\\\"property\\\\\"\"');\n\t\t\texpect(PathHelper.quotePathSegment(\"test\\\\property\\\\\")).to.equal(\n\t\t\t\t'\"test\\\\\\\\property\\\\\\\\\"',\n\t\t\t);\n\t\t\texpect(PathHelper.quotePathSegment('test\"\\\\property\\\\\"')).to.equal(\n\t\t\t\t'\"test\\\\\"\\\\\\\\property\\\\\\\\\\\\\"\"',\n\t\t\t);\n\t\t});\n\t});\n\n\tdescribe(\"quotePathSegmentIfNeeded\", function () {\n\t\tit(\"should quote all required strings\", function () {\n\t\t\texpect(PathHelper.quotePathSegmentIfNeeded(\".\")).to.equal('\".\"');\n\t\t\texpect(PathHelper.quotePathSegmentIfNeeded('\"')).to.equal('\"\\\\\"\"');\n\t\t\texpect(PathHelper.quotePathSegmentIfNeeded(\"\\\\\")).to.equal('\"\\\\\\\\\"');\n\t\t\texpect(PathHelper.quotePathSegmentIfNeeded(\"[\")).to.equal('\"[\"');\n\t\t\texpect(PathHelper.quotePathSegmentIfNeeded(\"]\")).to.equal('\"]\"');\n\t\t\texpect(PathHelper.quotePathSegmentIfNeeded(\"\")).to.equal('\"\"');\n\t\t\texpect(PathHelper.quotePathSegmentIfNeeded(\"/\")).to.equal('\"/\"');\n\t\t\texpect(PathHelper.quotePathSegmentIfNeeded(\"*\")).to.equal('\"*\"');\n\t\t});\n\n\t\tit(\"should not quote other strings\", function () {\n\t\t\texpect(PathHelper.quotePathSegmentIfNeeded(\"abcd\")).to.equal(\"abcd\");\n\t\t\texpect(PathHelper.quotePathSegmentIfNeeded(\"test_string\")).to.equal(\"test_string\");\n\t\t});\n\t});\n\n\tdescribe(\"unquotePathSegment\", function () {\n\t\tit(\"should unquote simple strings\", function () {\n\t\t\texpect(PathHelper.unquotePathSegment('\"test\"')).to.equal(\"test\");\n\t\t});\n\n\t\tit(\"should correctly unquote strings with a quotation mark\", function () {\n\t\t\texpect(PathHelper.unquotePathSegment('\"\\\\\"\"')).to.equal('\"');\n\t\t});\n\n\t\tit(\"should correctly unquote strings with a backslash\", function () {\n\t\t\texpect(PathHelper.unquotePathSegment('\"\\\\\\\\\"')).to.equal(\"\\\\\");\n\t\t});\n\n\t\tit(\"should work with empty strings\", function () {\n\t\t\texpect(PathHelper.unquotePathSegment(\"\")).to.equal(\"\");\n\t\t});\n\n\t\tit(\"should throw on non strings\", function () {\n\t\t\t// @ts-ignore\n\t\t\texpect(() => PathHelper.unquotePathSegment(5)).to.throw();\n\t\t});\n\n\t\tit(\"should work for paths with multiple occurrences of the test string\", function () {\n\t\t\texpect(PathHelper.unquotePathSegment('\"test\\\\\"property\\\\\"\"')).to.equal(\n\t\t\t\t'test\"property\"',\n\t\t\t);\n\t\t\texpect(PathHelper.unquotePathSegment('\"test\\\\\\\\property\\\\\\\\\"')).to.equal(\n\t\t\t\t\"test\\\\property\\\\\",\n\t\t\t);\n\t\t\texpect(PathHelper.unquotePathSegment('\"test\\\\\"\\\\\\\\property\\\\\\\\\\\\\"\"')).to.equal(\n\t\t\t\t'test\"\\\\property\\\\\"',\n\t\t\t);\n\t\t});\n\t});\n\n\tdescribe(\"convertAbsolutePathToCanonical\", function () {\n\t\tit(\"should remove leading /\", function () {\n\t\t\texpect(PathHelper.convertAbsolutePathToCanonical(\"/a.b.c\")).to.equal(\"a.b.c\");\n\t\t});\n\n\t\tit(\"should throw on ../\", function () {\n\t\t\texpect(() => PathHelper.convertAbsolutePathToCanonical(\"../a.b.c\")).to.throw(\"../\");\n\t\t});\n\n\t\tit(\"should throw on *\", function () {\n\t\t\texpect(() => PathHelper.convertAbsolutePathToCanonical(\"/a.b.c*\")).to.throw(\"*\");\n\t\t});\n\n\t\tit(\"should replace square brackets by periods\", function () {\n\t\t\texpect(PathHelper.convertAbsolutePathToCanonical(\"/a.b[c]\")).to.equal(\"a.b.c\");\n\t\t\texpect(PathHelper.convertAbsolutePathToCanonical(\"/a[b].c\")).to.equal(\"a.b.c\");\n\t\t});\n\n\t\tit(\"should keep properly escaped property names\", function () {\n\t\t\texpect(PathHelper.convertAbsolutePathToCanonical('\".\"')).to.equal('\".\"');\n\t\t\texpect(PathHelper.convertAbsolutePathToCanonical('\"\\\\\"\"')).to.equal('\"\\\\\"\"');\n\t\t\texpect(PathHelper.convertAbsolutePathToCanonical('\"\\\\\\\\\"')).to.equal('\"\\\\\\\\\"');\n\t\t\texpect(PathHelper.convertAbsolutePathToCanonical('\"[\"')).to.equal('\"[\"');\n\t\t\texpect(PathHelper.convertAbsolutePathToCanonical('\"]\"')).to.equal('\"]\"');\n\t\t\texpect(PathHelper.convertAbsolutePathToCanonical('\"\"')).to.equal('\"\"');\n\t\t\texpect(PathHelper.convertAbsolutePathToCanonical('\"/\"')).to.equal('\"/\"');\n\t\t\texpect(PathHelper.convertAbsolutePathToCanonical('\"*\"')).to.equal('\"*\"');\n\t\t});\n\n\t\tit(\"should properly unescape unusually escaped property names\", function () {\n\t\t\texpect(PathHelper.convertAbsolutePathToCanonical('\"a\".\"b\"')).to.equal(\"a.b\");\n\t\t\texpect(PathHelper.convertAbsolutePathToCanonical('\"a\"[b][\"c\"]')).to.equal(\"a.b.c\");\n\t\t});\n\n\t\tit(\"should not modify simple paths\", function () {\n\t\t\texpect(PathHelper.convertAbsolutePathToCanonical(\"a.b.c.d\")).to.equal(\"a.b.c.d\");\n\t\t\texpect(PathHelper.convertAbsolutePathToCanonical(\"test_string\")).to.equal(\n\t\t\t\t\"test_string\",\n\t\t\t);\n\t\t});\n\t});\n\n\tdescribe(\"getPathCoverage\", function () {\n\t\tthis.timeout(500);\n\t\tlet paths;\n\n\t\tit(\"should succeed if property is included in a path 1\", function () {\n\t\t\tpaths = [\"a.b\"];\n\t\t\tconst res = PathHelper.getPathCoverage(\"a.b\", paths);\n\t\t\texpect(res.coverageExtent).to.equal(PathHelper.CoverageExtent.FULLY_COVERED);\n\t\t\texpect(res.pathList).to.deep.equal([\"a.b\"]);\n\t\t});\n\n\t\tit(\"should succeed if property is included in a path 2\", function () {\n\t\t\tpaths = [\"a.b\"];\n\t\t\tconst res = PathHelper.getPathCoverage(\"a.b.c\", paths);\n\t\t\texpect(res.coverageExtent).to.equal(PathHelper.CoverageExtent.FULLY_COVERED);\n\t\t\texpect(res.pathList).to.deep.equal([\"a.b\"]);\n\t\t});\n\n\t\tit(\"should succeed if property is included in a path 3\", function () {\n\t\t\tpaths = [\"a.b\"];\n\t\t\tconst res = PathHelper.getPathCoverage(\"a.b.c.d\", paths);\n\t\t\texpect(res.coverageExtent).to.equal(PathHelper.CoverageExtent.FULLY_COVERED);\n\t\t\texpect(res.pathList).to.deep.equal([\"a.b\"]);\n\t\t});\n\n\t\tit(\"should fail if property is not included in any path 1\", function () {\n\t\t\tpaths = [\"a.b\"];\n\t\t\tconst res = PathHelper.getPathCoverage(\"b\", paths);\n\t\t\texpect(res.coverageExtent).to.equal(PathHelper.CoverageExtent.UNCOVERED);\n\t\t\texpect(res.pathList).to.deep.equal([]);\n\t\t});\n\n\t\tit(\"should fail if property is not included in any path 2\", function () {\n\t\t\tpaths = [\"a.b\"];\n\t\t\tconst res = PathHelper.getPathCoverage(\"b.f.g\", paths);\n\t\t\texpect(res.coverageExtent).to.equal(PathHelper.CoverageExtent.UNCOVERED);\n\t\t\texpect(res.pathList).to.deep.equal([]);\n\t\t});\n\n\t\tit(\"should fail if property is not included in any path but have common root 1\", function () {\n\t\t\tpaths = [\"a.b\"];\n\t\t\tconst res = PathHelper.getPathCoverage(\"a.h\", paths);\n\t\t\texpect(res.coverageExtent).to.equal(PathHelper.CoverageExtent.UNCOVERED);\n\t\t\texpect(res.pathList).to.deep.equal([]);\n\t\t});\n\n\t\tit(\"should fail if property is not included in any path but have common root 2\", function () {\n\t\t\tpaths = [\"a.b\"];\n\t\t\tconst res = PathHelper.getPathCoverage(\"a.i.j\", paths);\n\t\t\texpect(res.coverageExtent).to.equal(PathHelper.CoverageExtent.UNCOVERED);\n\t\t\texpect(res.pathList).to.deep.equal([]);\n\t\t});\n\n\t\tit(\"should succeed if path goes through the property 1\", function () {\n\t\t\tpaths = [\"a.b.c\", \"a.b.d\", \"z\"];\n\t\t\tconst res = PathHelper.getPathCoverage(\"a.b\", paths);\n\t\t\texpect(res.coverageExtent).to.equal(PathHelper.CoverageExtent.PARTLY_COVERED);\n\t\t\texpect(res.pathList).to.deep.equal([\"a.b.c\", \"a.b.d\"]);\n\t\t});\n\n\t\tit(\"should succeed if path goes through the property 2\", function () {\n\t\t\tpaths = [\"z\", \"a.b.c\", \"a.b.d\"];\n\t\t\tconst res = PathHelper.getPathCoverage(\"a.b\", paths);\n\t\t\texpect(res.coverageExtent).to.equal(PathHelper.CoverageExtent.PARTLY_COVERED);\n\t\t\texpect(res.pathList).to.deep.equal([\"a.b.c\", \"a.b.d\"]);\n\t\t});\n\t});\n});\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"reversibleCs.spec.js","sourceRoot":"","sources":["../../src/test/reversibleCs.spec.ts"],"names":[],"mappings":";AAAA;;;GAGG;;AAEH;;GAEG;AAEH,yDAAsD;AAEtD,4CAAyC;AAEzC,QAAQ,CAAC,uBAAuB,EAAE;IAC9B,EAAE,CAAC,+BAA+B,EAAE,GAAG,EAAE;QACrC,MAAM,UAAU,GAAG;YACf,aAAa,EAAE;gBACX,UAAU,EAAE;oBACR,MAAM,EAAE;wBACJ,MAAM,EAAE,sCAAsC;qBACjD;iBACJ;aACJ;SACJ,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,qBAAS,CAAC,IAAA,wBAAS,EAAC,UAAU,CAAC,CAAC,CAAC;QACxD,UAAU,CAAC,kBAAkB,EAAE,CAAC;QAEhC,MAAM,QAAQ,GAAG,IAAI,qBAAS,CAAC,UAAU,CAAC,CAAC;QAC3C,QAAQ,CAAC,cAAc,CAAC,UAAU,CAAC,CAAC;IACxC,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,+BAA+B,EAAE,GAAG,EAAE;QACrC,MAAM,UAAU,GAAG;YACf,aAAa,EAAE;gBACX,UAAU,EAAE;oBACR,MAAM,EAAE;wBACJ,MAAM,EAAE,sCAAsC;qBACjD;iBACJ;aACJ;SACJ,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,qBAAS,CAAC,IAAA,wBAAS,EAAC,UAAU,CAAC,CAAC,CAAC;QACxD,UAAU,CAAC,kBAAkB,EAAE,CAAC;QAEhC,MAAM,QAAQ,GAAG,IAAI,qBAAS,CAAC,UAAU,CAAC,CAAC;QAC3C,QAAQ,CAAC,cAAc,CAAC,UAAU,CAAC,CAAC;IACxC,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\n/**\n * @fileoverview In this file, we will test the path helper functions described in /src/properties/path_helper.js\n */\n\nimport { copy as cloneDeep } from \"fastest-json-copy\";\n\nimport { ChangeSet } from \"../changeset\";\n\ndescribe(\"Reversible ChangeSets\", function() {\n it(\"Inverting a string map insert\", () => {\n const originalCS = {\n \"map<String>\": {\n selections: {\n insert: {\n target: \"c6e96078-d1eb-8d41-219f-6f935794c453\",\n },\n },\n },\n };\n const invertedCS = new ChangeSet(cloneDeep(originalCS));\n invertedCS.toInverseChangeSet();\n\n const combined = new ChangeSet(originalCS);\n combined.applyChangeSet(invertedCS);\n });\n\n it(\"Inverting a string map remove\", () => {\n const originalCS = {\n \"map<String>\": {\n selections: {\n remove: {\n target: \"c6e96078-d1eb-8d41-219f-6f935794c453\",\n },\n },\n },\n };\n const invertedCS = new ChangeSet(cloneDeep(originalCS));\n invertedCS.toInverseChangeSet();\n\n const combined = new ChangeSet(originalCS);\n combined.applyChangeSet(invertedCS);\n });\n});\n"]}
1
+ {"version":3,"file":"reversibleCs.spec.js","sourceRoot":"","sources":["../../src/test/reversibleCs.spec.ts"],"names":[],"mappings":";AAAA;;;GAGG;;AAEH;;GAEG;AAEH,yDAAsD;AAEtD,4CAAyC;AAEzC,QAAQ,CAAC,uBAAuB,EAAE;IACjC,EAAE,CAAC,+BAA+B,EAAE,GAAG,EAAE;QACxC,MAAM,UAAU,GAAG;YAClB,aAAa,EAAE;gBACd,UAAU,EAAE;oBACX,MAAM,EAAE;wBACP,MAAM,EAAE,sCAAsC;qBAC9C;iBACD;aACD;SACD,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,qBAAS,CAAC,IAAA,wBAAS,EAAC,UAAU,CAAC,CAAC,CAAC;QACxD,UAAU,CAAC,kBAAkB,EAAE,CAAC;QAEhC,MAAM,QAAQ,GAAG,IAAI,qBAAS,CAAC,UAAU,CAAC,CAAC;QAC3C,QAAQ,CAAC,cAAc,CAAC,UAAU,CAAC,CAAC;IACrC,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,+BAA+B,EAAE,GAAG,EAAE;QACxC,MAAM,UAAU,GAAG;YAClB,aAAa,EAAE;gBACd,UAAU,EAAE;oBACX,MAAM,EAAE;wBACP,MAAM,EAAE,sCAAsC;qBAC9C;iBACD;aACD;SACD,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,qBAAS,CAAC,IAAA,wBAAS,EAAC,UAAU,CAAC,CAAC,CAAC;QACxD,UAAU,CAAC,kBAAkB,EAAE,CAAC;QAEhC,MAAM,QAAQ,GAAG,IAAI,qBAAS,CAAC,UAAU,CAAC,CAAC;QAC3C,QAAQ,CAAC,cAAc,CAAC,UAAU,CAAC,CAAC;IACrC,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\n/**\n * @fileoverview In this file, we will test the path helper functions described in /src/properties/path_helper.js\n */\n\nimport { copy as cloneDeep } from \"fastest-json-copy\";\n\nimport { ChangeSet } from \"../changeset\";\n\ndescribe(\"Reversible ChangeSets\", function () {\n\tit(\"Inverting a string map insert\", () => {\n\t\tconst originalCS = {\n\t\t\t\"map<String>\": {\n\t\t\t\tselections: {\n\t\t\t\t\tinsert: {\n\t\t\t\t\t\ttarget: \"c6e96078-d1eb-8d41-219f-6f935794c453\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t};\n\t\tconst invertedCS = new ChangeSet(cloneDeep(originalCS));\n\t\tinvertedCS.toInverseChangeSet();\n\n\t\tconst combined = new ChangeSet(originalCS);\n\t\tcombined.applyChangeSet(invertedCS);\n\t});\n\n\tit(\"Inverting a string map remove\", () => {\n\t\tconst originalCS = {\n\t\t\t\"map<String>\": {\n\t\t\t\tselections: {\n\t\t\t\t\tremove: {\n\t\t\t\t\t\ttarget: \"c6e96078-d1eb-8d41-219f-6f935794c453\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t};\n\t\tconst invertedCS = new ChangeSet(cloneDeep(originalCS));\n\t\tinvertedCS.toInverseChangeSet();\n\n\t\tconst combined = new ChangeSet(originalCS);\n\t\tcombined.applyChangeSet(invertedCS);\n\t});\n});\n"]}
@@ -67,7 +67,9 @@ class SchemaValidator {
67
67
  // Run over all parents and insert them into the parents array
68
68
  if (template.inherits) {
69
69
  // We have to distinguish the cases where the parents are either specified as a single string or an array
70
- const parents = Array.isArray(template.inherits) ? template.inherits : [template.inherits];
70
+ const parents = Array.isArray(template.inherits)
71
+ ? template.inherits
72
+ : [template.inherits];
71
73
  for (let i = 0; i < parents.length; i++) {
72
74
  // Mark it as parent
73
75
  out_parents[parents[i]] = true;
@@ -1 +1 @@
1
- {"version":3,"file":"schemaValidator.js","sourceRoot":"","sources":["../../src/test/schemaValidator.ts"],"names":[],"mappings":";AAAA;;;GAGG;AACH;;GAEG;;;AAEH,4DAAyD;AACzD,0DAAuD;AAEvD,MAAa,eAAe;IAExB;QAuCA,mBAAc,GAAG,KAAK,EAAE,MAAM,EAAE,EAAE,CAAC,IAAI,OAAO,CAAC,UAAS,OAAO,EAAE,MAAM;YACnE,UAAU,CAAC;gBACP,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,KAAK,SAAS,CAAC,CAAC;YAClD,CAAC,EAAE,CAAC,CAAC,CAAC;QACV,CAAC,CAAC,CAAC;QA1CC,IAAI,CAAC,SAAS,GAAG,EAAE,CAAC;IACxB,CAAC;IAED,YAAY,CAAC,iBAAsB,EAAE,aAA8B,EAAE,UAAkC;QACnG,UAAU,GAAG,UAAU,IAAI,EAAE,CAAC;QAE9B,IAAI,iBAAiB,KAAK,aAAa;YACnC,CAAC,CAAC,CAAC,UAAU,CAAC,WAAW,IAAI,UAAU,CAAC,WAAW,KAAK,SAAS,CAAC,EAAE;YACpE,OAAO,IAAI,CAAC;SACf;QAED,MAAM,OAAO,GAAG,EAAE,CAAC;QACnB,IAAI,CAAC,wBAAwB,CAAC,iBAAiB,EAAE,OAAO,EAAE,IAAI,CAAC,CAAC;QAEhE,OAAO,OAAO,CAAC,aAAa,CAAC,KAAK,SAAS,CAAC;IAChD,CAAC;IAED,SAAS,CAAC,MAAuB;QAC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corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n/**\n * Basic implementation of part of the PropertyFactory needed to run test on validation.\n */\n\nimport { TemplateValidator } from \"../templateValidator\";\nimport { TypeIdHelper } from \"../helpers/typeidHelper\";\n\nexport class SchemaValidator {\n schemaMap: Record<string, any>;\n constructor() {\n this.schemaMap = {};\n }\n\n inheritsFrom(in_templateTypeid: any, in_baseTypeid: string | number, in_options: { includeSelf?: any; }) {\n in_options = in_options || {};\n\n if (in_templateTypeid === in_baseTypeid &&\n (!!in_options.includeSelf || in_options.includeSelf === undefined)) {\n return true;\n }\n\n const parents = {};\n this.getAllParentsForTemplate(in_templateTypeid, parents, true);\n\n return parents[in_baseTypeid] !== undefined;\n }\n\n hasSchema(typeid: string | number) {\n return this.schemaMap[typeid] !== undefined;\n }\n\n register(schema) {\n this.schemaMap[schema.typeid] = schema;\n }\n\n async inheritsFromAsync(child, ancestor) {\n return new Promise(function(resolve, reject) {\n setTimeout(function() {\n try {\n resolve(this.inheritsFrom(child, ancestor));\n } catch (error) {\n console.error(\"Error in inheritsFrom: \", error);\n reject(error);\n }\n }, 5);\n });\n }\n\n hasSchemaAsync = async (typeid) => new Promise(function(resolve, reject) {\n setTimeout(function() {\n resolve(this.schemaMap[typeid] !== undefined);\n }, 5);\n });\n\n getAllParentsForTemplate(in_typeid, out_parents, in_includeBaseProperty) {\n if (TypeIdHelper.isPrimitiveType(in_typeid)) {\n // Everything inherits from BaseProperty.\n if (in_includeBaseProperty) {\n out_parents.ContainerProperty = true;\n }\n\n return;\n }\n\n const template = this.schemaMap[in_typeid];\n if (!template) {\n throw new Error(`Missing typeid: ${in_typeid}`);\n }\n\n // Everything inherits from BaseProperty.\n if (in_includeBaseProperty) {\n out_parents.ContainerProperty = true;\n }\n\n // Run over all parents and insert them into the parents array\n if (template.inherits) {\n // We have to distinguish the cases where the parents are either specified as a single string or an array\n const parents = Array.isArray(template.inherits) ? template.inherits : [template.inherits];\n\n for (let i = 0; i < parents.length; i++) {\n // Mark it as parent\n out_parents[parents[i]] = true;\n\n // Continue recursively\n this.getAllParentsForTemplate(parents[i], out_parents, undefined);\n }\n }\n }\n\n validate(in_schema, in_previousSchema?, in_async?, in_skipSemver?, in_allowDraft?): any {\n in_skipSemver = in_skipSemver || false;\n\n if (in_async) {\n let options = {\n inheritsFromAsync: this.inheritsFromAsync as any,\n hasSchemaAsync: this.hasSchemaAsync as any,\n skipSemver: in_skipSemver as boolean,\n allowDraft: in_allowDraft as boolean,\n };\n let templateValidator = new TemplateValidator(options);\n\n return templateValidator.validateAsync(in_schema, in_previousSchema);\n } else {\n let options = {\n inheritsFrom: this.inheritsFrom as any,\n hasSchema: this.hasSchema as any,\n skipSemver: in_skipSemver,\n allowDraft: in_allowDraft,\n };\n let templateValidator = new TemplateValidator(options);\n\n return templateValidator.validate(in_schema, in_previousSchema);\n }\n }\n}\n"]}
1
+ {"version":3,"file":"schemaValidator.js","sourceRoot":"","sources":["../../src/test/schemaValidator.ts"],"names":[],"mappings":";AAAA;;;GAGG;AACH;;GAEG;;;AAEH,4DAAyD;AACzD,0DAAuD;AAEvD,MAAa,eAAe;IAE3B;QA6CA,mBAAc,GAAG,KAAK,EAAE,MAAM,EAAE,EAAE,CACjC,IAAI,OAAO,CAAC,UAAU,OAAO,EAAE,MAAM;YACpC,UAAU,CAAC;gBACV,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,KAAK,SAAS,CAAC,CAAC;YAC/C,CAAC,EAAE,CAAC,CAAC,CAAC;QACP,CAAC,CAAC,CAAC;QAjDH,IAAI,CAAC,SAAS,GAAG,EAAE,CAAC;IACrB,CAAC;IAED,YAAY,CACX,iBAAsB,EACtB,aAA8B,EAC9B,UAAiC;QAEjC,UAAU,GAAG,UAAU,IAAI,EAAE,CAAC;QAE9B,IACC,iBAAiB,KAAK,aAAa;YACnC,CAAC,CAAC,CAAC,UAAU,CAAC,WAAW,IAAI,UAAU,CAAC,WAAW,KAAK,SAAS,CAAC,EACjE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,UAAU,EAAE,aAAa;aACzB,CAAC;YACF,IAAI,iBAAiB,GAAG,IAAI,qCAAiB,CAAC,OAAO,CAAC,CAAC;YAEvD,OAAO,iBAAiB,CAAC,QAAQ,CAAC,SAAS,EAAE,iBAAiB,CAAC,CAAC;SAChE;IACF,CAAC;CACD;AApHD,0CAoHC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n/**\n * Basic implementation of part of the PropertyFactory needed to run test on validation.\n */\n\nimport { TemplateValidator } from \"../templateValidator\";\nimport { TypeIdHelper } from \"../helpers/typeidHelper\";\n\nexport class SchemaValidator {\n\tschemaMap: Record<string, any>;\n\tconstructor() {\n\t\tthis.schemaMap = {};\n\t}\n\n\tinheritsFrom(\n\t\tin_templateTypeid: any,\n\t\tin_baseTypeid: string | number,\n\t\tin_options: { includeSelf?: any },\n\t) {\n\t\tin_options = in_options || {};\n\n\t\tif (\n\t\t\tin_templateTypeid === in_baseTypeid &&\n\t\t\t(!!in_options.includeSelf || in_options.includeSelf === undefined)\n\t\t) {\n\t\t\treturn true;\n\t\t}\n\n\t\tconst parents = {};\n\t\tthis.getAllParentsForTemplate(in_templateTypeid, parents, true);\n\n\t\treturn parents[in_baseTypeid] !== undefined;\n\t}\n\n\thasSchema(typeid: string | number) {\n\t\treturn this.schemaMap[typeid] !== undefined;\n\t}\n\n\tregister(schema) {\n\t\tthis.schemaMap[schema.typeid] = schema;\n\t}\n\n\tasync inheritsFromAsync(child, ancestor) {\n\t\treturn new Promise(function (resolve, reject) {\n\t\t\tsetTimeout(function () {\n\t\t\t\ttry {\n\t\t\t\t\tresolve(this.inheritsFrom(child, ancestor));\n\t\t\t\t} catch (error) {\n\t\t\t\t\tconsole.error(\"Error in inheritsFrom: \", error);\n\t\t\t\t\treject(error);\n\t\t\t\t}\n\t\t\t}, 5);\n\t\t});\n\t}\n\n\thasSchemaAsync = async (typeid) =>\n\t\tnew Promise(function (resolve, reject) {\n\t\t\tsetTimeout(function () {\n\t\t\t\tresolve(this.schemaMap[typeid] !== undefined);\n\t\t\t}, 5);\n\t\t});\n\n\tgetAllParentsForTemplate(in_typeid, out_parents, in_includeBaseProperty) {\n\t\tif (TypeIdHelper.isPrimitiveType(in_typeid)) {\n\t\t\t// Everything inherits from BaseProperty.\n\t\t\tif (in_includeBaseProperty) {\n\t\t\t\tout_parents.ContainerProperty = true;\n\t\t\t}\n\n\t\t\treturn;\n\t\t}\n\n\t\tconst template = this.schemaMap[in_typeid];\n\t\tif (!template) {\n\t\t\tthrow new Error(`Missing typeid: ${in_typeid}`);\n\t\t}\n\n\t\t// Everything inherits from BaseProperty.\n\t\tif (in_includeBaseProperty) {\n\t\t\tout_parents.ContainerProperty = true;\n\t\t}\n\n\t\t// Run over all parents and insert them into the parents array\n\t\tif (template.inherits) {\n\t\t\t// We have to distinguish the cases where the parents are either specified as a single string or an array\n\t\t\tconst parents = Array.isArray(template.inherits)\n\t\t\t\t? template.inherits\n\t\t\t\t: [template.inherits];\n\n\t\t\tfor (let i = 0; i < parents.length; i++) {\n\t\t\t\t// Mark it as parent\n\t\t\t\tout_parents[parents[i]] = true;\n\n\t\t\t\t// Continue recursively\n\t\t\t\tthis.getAllParentsForTemplate(parents[i], out_parents, undefined);\n\t\t\t}\n\t\t}\n\t}\n\n\tvalidate(in_schema, in_previousSchema?, in_async?, in_skipSemver?, in_allowDraft?): any {\n\t\tin_skipSemver = in_skipSemver || false;\n\n\t\tif (in_async) {\n\t\t\tlet options = {\n\t\t\t\tinheritsFromAsync: this.inheritsFromAsync as any,\n\t\t\t\thasSchemaAsync: this.hasSchemaAsync as any,\n\t\t\t\tskipSemver: in_skipSemver as boolean,\n\t\t\t\tallowDraft: in_allowDraft as boolean,\n\t\t\t};\n\t\t\tlet templateValidator = new TemplateValidator(options);\n\n\t\t\treturn templateValidator.validateAsync(in_schema, in_previousSchema);\n\t\t} else {\n\t\t\tlet options = {\n\t\t\t\tinheritsFrom: this.inheritsFrom as any,\n\t\t\t\thasSchema: this.hasSchema as any,\n\t\t\t\tskipSemver: in_skipSemver,\n\t\t\t\tallowDraft: in_allowDraft,\n\t\t\t};\n\t\t\tlet templateValidator = new TemplateValidator(options);\n\n\t\t\treturn templateValidator.validate(in_schema, in_previousSchema);\n\t\t}\n\t}\n}\n"]}
@@ -13,14 +13,14 @@
13
13
  * Namespace containing all schema-related data for property set validation
14
14
  */
15
15
  var templateSchema = {
16
- 'properties': [{
17
- 'id': 'r',
18
- 'typeid': 'Float32',
19
- 'properties': [
20
- { 'typeid': 'Int32', 'id': 'ri' },
21
- ],
22
- }],
23
- 'typeid': 'TeamLeoValidation2:ColorID-1.0.0',
16
+ properties: [
17
+ {
18
+ id: "r",
19
+ typeid: "Float32",
20
+ properties: [{ typeid: "Int32", id: "ri" }],
21
+ },
22
+ ],
23
+ typeid: "TeamLeoValidation2:ColorID-1.0.0",
24
24
  };
25
25
  module.exports = templateSchema;
26
26
  })();
@@ -1 +1 @@
1
- {"version":3,"file":"badBothPropertiesAndTypeid.js","sourceRoot":"","sources":["../../../src/test/schemas/badBothPropertiesAndTypeid.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH;;;GAGG;AACH,CAAC;IACG;;;;OAIG;IACH,IAAI,cAAc,GAAG;QACjB,YAAY,EAAE,CAAC;gBACX,IAAI,EAAE,GAAG;gBACT,QAAQ,EAAE,SAAS;gBACnB,YAAY,EAAE;oBACV,EAAE,QAAQ,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE;iBACpC;aACJ,CAAC;QACF,QAAQ,EAAE,kCAAkC;KAC/C,CAAC;IACF,MAAM,CAAC,OAAO,GAAG,cAAc,CAAC;AACpC,CAAC,CAAC,EAAE,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(function() {\n /**\n * @namespace property-changeset.Test\n * @alias badBothPropertiesAndTypeid.js\n * Namespace containing all schema-related data for property set validation\n */\n var templateSchema = {\n 'properties': [{\n 'id': 'r',\n 'typeid': 'Float32',\n 'properties': [\n { 'typeid': 'Int32', 'id': 'ri' },\n ],\n }],\n 'typeid': 'TeamLeoValidation2:ColorID-1.0.0',\n };\n module.exports = templateSchema;\n})();\n"]}
1
+ {"version":3,"file":"badBothPropertiesAndTypeid.js","sourceRoot":"","sources":["../../../src/test/schemas/badBothPropertiesAndTypeid.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH;;;GAGG;AACH,CAAC;IACA;;;;OAIG;IACH,IAAI,cAAc,GAAG;QACpB,UAAU,EAAE;YACX;gBACC,EAAE,EAAE,GAAG;gBACP,MAAM,EAAE,SAAS;gBACjB,UAAU,EAAE,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC;aAC3C;SACD;QACD,MAAM,EAAE,kCAAkC;KAC1C,CAAC;IACF,MAAM,CAAC,OAAO,GAAG,cAAc,CAAC;AACjC,CAAC,CAAC,EAAE,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(function () {\n\t/**\n\t * @namespace property-changeset.Test\n\t * @alias badBothPropertiesAndTypeid.js\n\t * Namespace containing all schema-related data for property set validation\n\t */\n\tvar templateSchema = {\n\t\tproperties: [\n\t\t\t{\n\t\t\t\tid: \"r\",\n\t\t\t\ttypeid: \"Float32\",\n\t\t\t\tproperties: [{ typeid: \"Int32\", id: \"ri\" }],\n\t\t\t},\n\t\t],\n\t\ttypeid: \"TeamLeoValidation2:ColorID-1.0.0\",\n\t};\n\tmodule.exports = templateSchema;\n})();\n"]}
@@ -13,34 +13,36 @@
13
13
  * Namespace containing all schema-related data for property set validation
14
14
  */
15
15
  var templateSchema = {
16
- 'properties': [{
17
- 'id': 'position',
18
- 'properties': [{
19
- 'id': 'x',
20
- 'typeid': 'Float32',
16
+ properties: [
17
+ {
18
+ id: "position",
19
+ properties: [
20
+ {
21
+ id: "x",
22
+ typeid: "Float32",
21
23
  },
22
24
  {
23
- 'id': 'y',
24
- 'typeid': 'Float32',
25
+ id: "y",
26
+ typeid: "Float32",
25
27
  },
26
28
  {
27
- 'id': 'z',
28
- 'typeid': 'Float32',
29
+ id: "z",
30
+ typeid: "Float32",
29
31
  },
30
32
  ],
31
33
  },
32
34
  {
33
- 'id': 'color',
34
- 'typeid': 'TeamLeoValidation2:ColorID-1.0.0',
35
+ id: "color",
36
+ typeid: "TeamLeoValidation2:ColorID-1.0.0",
35
37
  },
36
38
  {
37
- 'id': 'normal',
38
- 'typeid': 'Float32',
39
- 'context': 'array',
40
- 'length': 3,
39
+ id: "normal",
40
+ typeid: "Float32",
41
+ context: "array",
42
+ length: 3,
41
43
  },
42
44
  ],
43
- 'typeid': 'TeamLeoValidation2:PointID-1.0.0.1',
45
+ typeid: "TeamLeoValidation2:PointID-1.0.0.1",
44
46
  };
45
47
  module.exports = templateSchema;
46
48
  })();
@@ -1 +1 @@
1
- {"version":3,"file":"badInvalidSemverInTypeid.js","sourceRoot":"","sources":["../../../src/test/schemas/badInvalidSemverInTypeid.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH;;;GAGG;AACH,CAAC;IACG;;;;OAIG;IACH,IAAI,cAAc,GAAG;QACjB,YAAY,EAAE,CAAC;gBACP,IAAI,EAAE,UAAU;gBAChB,YAAY,EAAE,CAAC;wBACP,IAAI,EAAE,GAAG;wBACT,QAAQ,EAAE,SAAS;qBACtB;oBACD;wBACI,IAAI,EAAE,GAAG;wBACT,QAAQ,EAAE,SAAS;qBACtB;oBACD;wBACI,IAAI,EAAE,GAAG;wBACT,QAAQ,EAAE,SAAS;qBACtB;iBACJ;aACJ;YACD;gBACI,IAAI,EAAE,OAAO;gBACb,QAAQ,EAAE,kCAAkC;aAC/C;YACD;gBACI,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,SAAS;gBACnB,SAAS,EAAE,OAAO;gBAClB,QAAQ,EAAE,CAAC;aACd;SACJ;QACD,QAAQ,EAAE,oCAAoC;KACjD,CAAC;IACF,MAAM,CAAC,OAAO,GAAG,cAAc,CAAC;AACpC,CAAC,CAAC,EAAE,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(function() {\n /**\n * @namespace property-changeset.Test\n * @alias badNestedProperties.js\n * Namespace containing all schema-related data for property set validation\n */\n var templateSchema = {\n 'properties': [{\n 'id': 'position',\n 'properties': [{\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.1',\n };\n module.exports = templateSchema;\n})();\n"]}
1
+ {"version":3,"file":"badInvalidSemverInTypeid.js","sourceRoot":"","sources":["../../../src/test/schemas/badInvalidSemverInTypeid.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH;;;GAGG;AACH,CAAC;IACA;;;;OAIG;IACH,IAAI,cAAc,GAAG;QACpB,UAAU,EAAE;YACX;gBACC,EAAE,EAAE,UAAU;gBACd,UAAU,EAAE;oBACX;wBACC,EAAE,EAAE,GAAG;wBACP,MAAM,EAAE,SAAS;qBACjB;oBACD;wBACC,EAAE,EAAE,GAAG;wBACP,MAAM,EAAE,SAAS;qBACjB;oBACD;wBACC,EAAE,EAAE,GAAG;wBACP,MAAM,EAAE,SAAS;qBACjB;iBACD;aACD;YACD;gBACC,EAAE,EAAE,OAAO;gBACX,MAAM,EAAE,kCAAkC;aAC1C;YACD;gBACC,EAAE,EAAE,QAAQ;gBACZ,MAAM,EAAE,SAAS;gBACjB,OAAO,EAAE,OAAO;gBAChB,MAAM,EAAE,CAAC;aACT;SACD;QACD,MAAM,EAAE,oCAAoC;KAC5C,CAAC;IACF,MAAM,CAAC,OAAO,GAAG,cAAc,CAAC;AACjC,CAAC,CAAC,EAAE,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(function () {\n\t/**\n\t * @namespace property-changeset.Test\n\t * @alias badNestedProperties.js\n\t * Namespace containing all schema-related data for property set validation\n\t */\n\tvar templateSchema = {\n\t\tproperties: [\n\t\t\t{\n\t\t\t\tid: \"position\",\n\t\t\t\tproperties: [\n\t\t\t\t\t{\n\t\t\t\t\t\tid: \"x\",\n\t\t\t\t\t\ttypeid: \"Float32\",\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tid: \"y\",\n\t\t\t\t\t\ttypeid: \"Float32\",\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tid: \"z\",\n\t\t\t\t\t\ttypeid: \"Float32\",\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"color\",\n\t\t\t\ttypeid: \"TeamLeoValidation2:ColorID-1.0.0\",\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"normal\",\n\t\t\t\ttypeid: \"Float32\",\n\t\t\t\tcontext: \"array\",\n\t\t\t\tlength: 3,\n\t\t\t},\n\t\t],\n\t\ttypeid: \"TeamLeoValidation2:PointID-1.0.0.1\",\n\t};\n\tmodule.exports = templateSchema;\n})();\n"]}
@@ -13,34 +13,36 @@
13
13
  * Namespace containing all schema-related data for property set validation
14
14
  */
15
15
  var templateSchema = {
16
- 'properties': [{
17
- 'id': 'position',
18
- 'properties': [{
19
- 'id': 'x',
20
- 'typeid': 'Float32',
16
+ properties: [
17
+ {
18
+ id: "position",
19
+ properties: [
20
+ {
21
+ id: "x",
22
+ typeid: "Float32",
21
23
  },
22
24
  {
23
- 'id': 'y',
24
- 'typeid': 'Float32',
25
+ id: "y",
26
+ typeid: "Float32",
25
27
  },
26
28
  {
27
- 'id': 'z',
28
- 'typeid': 'Float32',
29
+ id: "z",
30
+ typeid: "Float32",
29
31
  },
30
32
  ],
31
33
  },
32
34
  {
33
- 'id': 'color',
34
- 'typeid': 'TeamLeoValidation2:ColorID-1.0.0',
35
+ id: "color",
36
+ typeid: "TeamLeoValidation2:ColorID-1.0.0",
35
37
  },
36
38
  {
37
- 'id': 'normal',
38
- 'typeid': 'Float32',
39
- 'context': 'array',
40
- 'length': 3,
39
+ id: "normal",
40
+ typeid: "Float32",
41
+ context: "array",
42
+ length: 3,
41
43
  },
42
44
  ],
43
- 'typeid': 'TeamLeoValidation2:PointID',
45
+ typeid: "TeamLeoValidation2:PointID",
44
46
  };
45
47
  module.exports = templateSchema;
46
48
  })();
@@ -1 +1 @@
1
- {"version":3,"file":"badMissingSemverInTypeid.js","sourceRoot":"","sources":["../../../src/test/schemas/badMissingSemverInTypeid.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH;;;GAGG;AACH,CAAC;IACG;;;;OAIG;IACH,IAAI,cAAc,GAAG;QACjB,YAAY,EAAE,CAAC;gBACP,IAAI,EAAE,UAAU;gBAChB,YAAY,EAAE,CAAC;wBACP,IAAI,EAAE,GAAG;wBACT,QAAQ,EAAE,SAAS;qBACtB;oBACD;wBACI,IAAI,EAAE,GAAG;wBACT,QAAQ,EAAE,SAAS;qBACtB;oBACD;wBACI,IAAI,EAAE,GAAG;wBACT,QAAQ,EAAE,SAAS;qBACtB;iBACJ;aACJ;YACD;gBACI,IAAI,EAAE,OAAO;gBACb,QAAQ,EAAE,kCAAkC;aAC/C;YACD;gBACI,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,SAAS;gBACnB,SAAS,EAAE,OAAO;gBAClB,QAAQ,EAAE,CAAC;aACd;SACJ;QACD,QAAQ,EAAE,4BAA4B;KACzC,CAAC;IACF,MAAM,CAAC,OAAO,GAAG,cAAc,CAAC;AACpC,CAAC,CAAC,EAAE,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(function() {\n /**\n * @namespace property-changeset.Test\n * @alias badNestedProperties.js\n * Namespace containing all schema-related data for property set validation\n */\n var templateSchema = {\n 'properties': [{\n 'id': 'position',\n 'properties': [{\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 module.exports = templateSchema;\n})();\n"]}
1
+ {"version":3,"file":"badMissingSemverInTypeid.js","sourceRoot":"","sources":["../../../src/test/schemas/badMissingSemverInTypeid.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH;;;GAGG;AACH,CAAC;IACA;;;;OAIG;IACH,IAAI,cAAc,GAAG;QACpB,UAAU,EAAE;YACX;gBACC,EAAE,EAAE,UAAU;gBACd,UAAU,EAAE;oBACX;wBACC,EAAE,EAAE,GAAG;wBACP,MAAM,EAAE,SAAS;qBACjB;oBACD;wBACC,EAAE,EAAE,GAAG;wBACP,MAAM,EAAE,SAAS;qBACjB;oBACD;wBACC,EAAE,EAAE,GAAG;wBACP,MAAM,EAAE,SAAS;qBACjB;iBACD;aACD;YACD;gBACC,EAAE,EAAE,OAAO;gBACX,MAAM,EAAE,kCAAkC;aAC1C;YACD;gBACC,EAAE,EAAE,QAAQ;gBACZ,MAAM,EAAE,SAAS;gBACjB,OAAO,EAAE,OAAO;gBAChB,MAAM,EAAE,CAAC;aACT;SACD;QACD,MAAM,EAAE,4BAA4B;KACpC,CAAC;IACF,MAAM,CAAC,OAAO,GAAG,cAAc,CAAC;AACjC,CAAC,CAAC,EAAE,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(function () {\n\t/**\n\t * @namespace property-changeset.Test\n\t * @alias badNestedProperties.js\n\t * Namespace containing all schema-related data for property set validation\n\t */\n\tvar templateSchema = {\n\t\tproperties: [\n\t\t\t{\n\t\t\t\tid: \"position\",\n\t\t\t\tproperties: [\n\t\t\t\t\t{\n\t\t\t\t\t\tid: \"x\",\n\t\t\t\t\t\ttypeid: \"Float32\",\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tid: \"y\",\n\t\t\t\t\t\ttypeid: \"Float32\",\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tid: \"z\",\n\t\t\t\t\t\ttypeid: \"Float32\",\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"color\",\n\t\t\t\ttypeid: \"TeamLeoValidation2:ColorID-1.0.0\",\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"normal\",\n\t\t\t\ttypeid: \"Float32\",\n\t\t\t\tcontext: \"array\",\n\t\t\t\tlength: 3,\n\t\t\t},\n\t\t],\n\t\ttypeid: \"TeamLeoValidation2:PointID\",\n\t};\n\tmodule.exports = templateSchema;\n})();\n"]}
@@ -13,35 +13,36 @@
13
13
  * Namespace containing all schema-related data for property set validation
14
14
  */
15
15
  var templateSchema = {
16
- 'properties': [{
17
- 'id': 'r',
18
- 'typeid': 'Float32',
16
+ properties: [
17
+ {
18
+ id: "r",
19
+ typeid: "Float32",
19
20
  },
20
21
  {
21
- 'id': 'g',
22
- 'typeid': 'Float32',
22
+ id: "g",
23
+ typeid: "Float32",
23
24
  },
24
25
  {
25
- 'id': 'b',
26
- 'typeid': 'Float32',
26
+ id: "b",
27
+ typeid: "Float32",
27
28
  },
28
29
  {
29
- 'id': 'nest',
30
- 'properties': [
31
- { 'id': 'x', 'typeid': 'Float32' },
32
- { 'id': 'y', 'typeid': 'Float32' },
33
- { 'id': 'reftype', 'typeid': 'Reference<NS.NS2:Core.Adsk.RefType-1.0.0>' },
30
+ id: "nest",
31
+ properties: [
32
+ { id: "x", typeid: "Float32" },
33
+ { id: "y", typeid: "Float32" },
34
+ { id: "reftype", typeid: "Reference<NS.NS2:Core.Adsk.RefType-1.0.0>" },
34
35
  {
35
- 'id': 'nestedAgain',
36
- 'properties': [
37
- { 'id': 'a', 'typeid': 'Int32' },
38
- { 'id': 'b', 'typeid': 'Flob' },
36
+ id: "nestedAgain",
37
+ properties: [
38
+ { id: "a", typeid: "Int32" },
39
+ { id: "b", typeid: "Flob" },
39
40
  ],
40
41
  },
41
42
  ],
42
43
  },
43
44
  ],
44
- 'typeid': 'TeamLeoValidation2:NestedTest-1.0.0',
45
+ typeid: "TeamLeoValidation2:NestedTest-1.0.0",
45
46
  };
46
47
  module.exports = templateSchema;
47
48
  })();
@@ -1 +1 @@
1
- {"version":3,"file":"badNestedProperties.js","sourceRoot":"","sources":["../../../src/test/schemas/badNestedProperties.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH;;;GAGG;AACH,CAAC;IACG;;;;OAIG;IACH,IAAI,cAAc,GAAG;QACjB,YAAY,EAAE,CAAC;gBACP,IAAI,EAAE,GAAG;gBACT,QAAQ,EAAE,SAAS;aACtB;YACD;gBACI,IAAI,EAAE,GAAG;gBACT,QAAQ,EAAE,SAAS;aACtB;YACD;gBACI,IAAI,EAAE,GAAG;gBACT,QAAQ,EAAE,SAAS;aACtB;YACD;gBACI,IAAI,EAAE,MAAM;gBACZ,YAAY,EAAE;oBACV,EAAE,IAAI,EAAE,GAAG,EAAE,QAAQ,EAAE,SAAS,EAAE;oBAClC,EAAE,IAAI,EAAE,GAAG,EAAE,QAAQ,EAAE,SAAS,EAAE;oBAClC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,2CAA2C,EAAE;oBAC1E;wBACI,IAAI,EAAE,aAAa;wBACnB,YAAY,EAAE;4BACV,EAAE,IAAI,EAAE,GAAG,EAAE,QAAQ,EAAE,OAAO,EAAE;4BAChC,EAAE,IAAI,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,EAAE;yBAClC;qBACJ;iBACJ;aACJ;SACJ;QACD,QAAQ,EAAE,qCAAqC;KAClD,CAAC;IACF,MAAM,CAAC,OAAO,GAAG,cAAc,CAAC;AACpC,CAAC,CAAC,EAAE,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(function() {\n /**\n * @namespace property-changeset.Test\n * @alias badNestedProperties.js\n * Namespace containing all schema-related data for property set validation\n */\n var templateSchema = {\n 'properties': [{\n 'id': 'r',\n 'typeid': 'Float32',\n },\n {\n 'id': 'g',\n 'typeid': 'Float32',\n },\n {\n 'id': 'b',\n 'typeid': 'Float32',\n },\n {\n 'id': 'nest',\n 'properties': [\n { 'id': 'x', 'typeid': 'Float32' },\n { 'id': 'y', 'typeid': 'Float32' },\n { 'id': 'reftype', 'typeid': 'Reference<NS.NS2:Core.Adsk.RefType-1.0.0>' },\n {\n 'id': 'nestedAgain',\n 'properties': [\n { 'id': 'a', 'typeid': 'Int32' },\n { 'id': 'b', 'typeid': 'Flob' },\n ],\n },\n ],\n },\n ],\n 'typeid': 'TeamLeoValidation2:NestedTest-1.0.0',\n };\n module.exports = templateSchema;\n})();\n"]}
1
+ {"version":3,"file":"badNestedProperties.js","sourceRoot":"","sources":["../../../src/test/schemas/badNestedProperties.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH;;;GAGG;AACH,CAAC;IACA;;;;OAIG;IACH,IAAI,cAAc,GAAG;QACpB,UAAU,EAAE;YACX;gBACC,EAAE,EAAE,GAAG;gBACP,MAAM,EAAE,SAAS;aACjB;YACD;gBACC,EAAE,EAAE,GAAG;gBACP,MAAM,EAAE,SAAS;aACjB;YACD;gBACC,EAAE,EAAE,GAAG;gBACP,MAAM,EAAE,SAAS;aACjB;YACD;gBACC,EAAE,EAAE,MAAM;gBACV,UAAU,EAAE;oBACX,EAAE,EAAE,EAAE,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE;oBAC9B,EAAE,EAAE,EAAE,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE;oBAC9B,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,2CAA2C,EAAE;oBACtE;wBACC,EAAE,EAAE,aAAa;wBACjB,UAAU,EAAE;4BACX,EAAE,EAAE,EAAE,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE;4BAC5B,EAAE,EAAE,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE;yBAC3B;qBACD;iBACD;aACD;SACD;QACD,MAAM,EAAE,qCAAqC;KAC7C,CAAC;IACF,MAAM,CAAC,OAAO,GAAG,cAAc,CAAC;AACjC,CAAC,CAAC,EAAE,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(function () {\n\t/**\n\t * @namespace property-changeset.Test\n\t * @alias badNestedProperties.js\n\t * Namespace containing all schema-related data for property set validation\n\t */\n\tvar templateSchema = {\n\t\tproperties: [\n\t\t\t{\n\t\t\t\tid: \"r\",\n\t\t\t\ttypeid: \"Float32\",\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"g\",\n\t\t\t\ttypeid: \"Float32\",\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"b\",\n\t\t\t\ttypeid: \"Float32\",\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"nest\",\n\t\t\t\tproperties: [\n\t\t\t\t\t{ id: \"x\", typeid: \"Float32\" },\n\t\t\t\t\t{ id: \"y\", typeid: \"Float32\" },\n\t\t\t\t\t{ id: \"reftype\", typeid: \"Reference<NS.NS2:Core.Adsk.RefType-1.0.0>\" },\n\t\t\t\t\t{\n\t\t\t\t\t\tid: \"nestedAgain\",\n\t\t\t\t\t\tproperties: [\n\t\t\t\t\t\t\t{ id: \"a\", typeid: \"Int32\" },\n\t\t\t\t\t\t\t{ id: \"b\", typeid: \"Flob\" },\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t],\n\t\ttypeid: \"TeamLeoValidation2:NestedTest-1.0.0\",\n\t};\n\tmodule.exports = templateSchema;\n})();\n"]}
@@ -13,20 +13,21 @@
13
13
  * Namespace containing all schema-related data for property set validation
14
14
  */
15
15
  var templateSchema = {
16
- 'properties': [{
17
- 'id': 'r',
18
- 'typeid': 'Float32',
16
+ properties: [
17
+ {
18
+ id: "r",
19
+ typeid: "Float32",
19
20
  },
20
21
  {
21
- 'id': 'g',
22
- 'typeid': 'Float32',
22
+ id: "g",
23
+ typeid: "Float32",
23
24
  },
24
25
  {
25
- 'id': 'b',
26
- 'typeid': 'Flob32',
26
+ id: "b",
27
+ typeid: "Flob32",
27
28
  },
28
29
  ],
29
- 'typeid': 'TeamLeoValidation2:ColorID-1.0.0',
30
+ typeid: "TeamLeoValidation2:ColorID-1.0.0",
30
31
  };
31
32
  module.exports = templateSchema;
32
33
  })();
@@ -1 +1 @@
1
- {"version":3,"file":"badPrimitiveTypeid.js","sourceRoot":"","sources":["../../../src/test/schemas/badPrimitiveTypeid.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH;;;GAGG;AACH,CAAC;IACG;;;;OAIG;IACH,IAAI,cAAc,GAAG;QACjB,YAAY,EAAE,CAAC;gBACP,IAAI,EAAE,GAAG;gBACT,QAAQ,EAAE,SAAS;aACtB;YACD;gBACI,IAAI,EAAE,GAAG;gBACT,QAAQ,EAAE,SAAS;aACtB;YACD;gBACI,IAAI,EAAE,GAAG;gBACT,QAAQ,EAAE,QAAQ;aACrB;SACJ;QACD,QAAQ,EAAE,kCAAkC;KAC/C,CAAC;IACF,MAAM,CAAC,OAAO,GAAG,cAAc,CAAC;AACpC,CAAC,CAAC,EAAE,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(function() {\n /**\n * @namespace property-changeset.Test\n * @alias badNestedProperties.js\n * Namespace containing all schema-related data for property set validation\n */\n var templateSchema = {\n 'properties': [{\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 module.exports = templateSchema;\n})();\n"]}
1
+ {"version":3,"file":"badPrimitiveTypeid.js","sourceRoot":"","sources":["../../../src/test/schemas/badPrimitiveTypeid.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH;;;GAGG;AACH,CAAC;IACA;;;;OAIG;IACH,IAAI,cAAc,GAAG;QACpB,UAAU,EAAE;YACX;gBACC,EAAE,EAAE,GAAG;gBACP,MAAM,EAAE,SAAS;aACjB;YACD;gBACC,EAAE,EAAE,GAAG;gBACP,MAAM,EAAE,SAAS;aACjB;YACD;gBACC,EAAE,EAAE,GAAG;gBACP,MAAM,EAAE,QAAQ;aAChB;SACD;QACD,MAAM,EAAE,kCAAkC;KAC1C,CAAC;IACF,MAAM,CAAC,OAAO,GAAG,cAAc,CAAC;AACjC,CAAC,CAAC,EAAE,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(function () {\n\t/**\n\t * @namespace property-changeset.Test\n\t * @alias badNestedProperties.js\n\t * Namespace containing all schema-related data for property set validation\n\t */\n\tvar templateSchema = {\n\t\tproperties: [\n\t\t\t{\n\t\t\t\tid: \"r\",\n\t\t\t\ttypeid: \"Float32\",\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"g\",\n\t\t\t\ttypeid: \"Float32\",\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"b\",\n\t\t\t\ttypeid: \"Flob32\",\n\t\t\t},\n\t\t],\n\t\ttypeid: \"TeamLeoValidation2:ColorID-1.0.0\",\n\t};\n\tmodule.exports = templateSchema;\n})();\n"]}