@rentman/rm-core 1.7.4 → 1.7.6

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 (94) hide show
  1. package/changelog.md +11 -0
  2. package/dist/rm-core.js +7918 -7533
  3. package/dist/rm-core.min.js +1 -1
  4. package/dist/src/classes/ApiFormatter.d.ts +39 -39
  5. package/dist/src/classes/ApiRequestService.d.ts +20 -20
  6. package/dist/src/classes/ApiResponseProcessor.d.ts +39 -39
  7. package/dist/src/classes/BatchStatus.d.ts +28 -28
  8. package/dist/src/classes/ChangesCompilation.d.ts +51 -51
  9. package/dist/src/classes/ChangesProcessor.d.ts +33 -33
  10. package/dist/src/classes/CollectionCache.d.ts +34 -34
  11. package/dist/src/classes/CollectionEntryService.d.ts +23 -23
  12. package/dist/src/classes/CollectionHandler.d.ts +54 -54
  13. package/dist/src/classes/CollectionMatcher.d.ts +42 -42
  14. package/dist/src/classes/CollectionResourceService.d.ts +6 -6
  15. package/dist/src/classes/ColumnCache.d.ts +21 -21
  16. package/dist/src/classes/ColumnExpansion.d.ts +18 -18
  17. package/dist/src/classes/ColumnHandler.d.ts +21 -21
  18. package/dist/src/classes/ColumnInfo.d.ts +14 -14
  19. package/dist/src/classes/ColumnSet.d.ts +39 -46
  20. package/dist/src/classes/ColumnSubsetCache.d.ts +8 -8
  21. package/dist/src/classes/ColumnUtil.d.ts +89 -89
  22. package/dist/src/classes/CreateRequest.d.ts +20 -20
  23. package/dist/src/classes/ItemAdministrator.d.ts +237 -238
  24. package/dist/src/classes/ItemCache.d.ts +23 -23
  25. package/dist/src/classes/ItemEntryService.d.ts +23 -24
  26. package/dist/src/classes/ItemHandler.d.ts +60 -60
  27. package/dist/src/classes/ItemRequestService.d.ts +23 -23
  28. package/dist/src/classes/KeyService.d.ts +16 -16
  29. package/dist/src/classes/LocalCache.d.ts +92 -97
  30. package/dist/src/classes/LocalCacheEventHandler.d.ts +19 -0
  31. package/dist/src/classes/LockService.d.ts +32 -32
  32. package/dist/src/classes/ModuleChangesCompilation.d.ts +21 -21
  33. package/dist/src/classes/QueryMatcher.d.ts +14 -14
  34. package/dist/src/classes/QueryParser.d.ts +34 -34
  35. package/dist/src/classes/QueryService.d.ts +14 -14
  36. package/dist/src/classes/RequestColumnExpansion.d.ts +14 -14
  37. package/dist/src/classes/ResourceCache.d.ts +25 -25
  38. package/dist/src/classes/SocketMessageHandler.d.ts +41 -41
  39. package/dist/src/classes/Util.d.ts +28 -28
  40. package/dist/src/classes/index.d.ts +36 -35
  41. package/dist/src/constants.d.ts +18 -18
  42. package/dist/src/core.d.ts +48 -48
  43. package/dist/src/factories/ApiResponseProcessorFactory.d.ts +6 -6
  44. package/dist/src/factories/BatchStatusFactory.d.ts +9 -9
  45. package/dist/src/factories/ChangesCompilationFactory.d.ts +10 -10
  46. package/dist/src/factories/CollectionCacheFactory.d.ts +8 -8
  47. package/dist/src/factories/CollectionEntryFactory.d.ts +23 -23
  48. package/dist/src/factories/CollectionMatcherFactory.d.ts +8 -8
  49. package/dist/src/factories/CollectionResourceFactory.d.ts +33 -33
  50. package/dist/src/factories/ColumnExpansionFactory.d.ts +8 -8
  51. package/dist/src/factories/ColumnInfoFactory.d.ts +7 -7
  52. package/dist/src/factories/ColumnSetFactory.d.ts +17 -11
  53. package/dist/src/factories/ColumnSubsetCacheFactory.d.ts +6 -6
  54. package/dist/src/factories/CreateRequestFactory.d.ts +11 -11
  55. package/dist/src/factories/ItemCacheFactory.d.ts +7 -7
  56. package/dist/src/factories/ItemEntryFactory.d.ts +21 -21
  57. package/dist/src/factories/ItemResourceFactory.d.ts +29 -29
  58. package/dist/src/factories/LocalCacheFactory.d.ts +16 -16
  59. package/dist/src/factories/ModuleChangesCompilationFactory.d.ts +6 -6
  60. package/dist/src/factories/QueryMatcherFactory.d.ts +7 -7
  61. package/dist/src/factories/QueryParserFactory.d.ts +6 -6
  62. package/dist/src/factories/RequestColumnExpansionFactory.d.ts +6 -6
  63. package/dist/src/factories/TemplateFactory.d.ts +10 -10
  64. package/dist/src/factories/index.d.ts +21 -21
  65. package/dist/src/index.d.ts +7 -7
  66. package/dist/src/interfaces/ApiRequestServiceInterface.d.ts +11 -11
  67. package/dist/src/interfaces/AuthInterface.d.ts +9 -9
  68. package/dist/src/interfaces/ErrorHandlerInterface.d.ts +5 -5
  69. package/dist/src/interfaces/ExceptionHandlerInterface.d.ts +3 -3
  70. package/dist/src/interfaces/LocalCacheManagerInterface.d.ts +5 -5
  71. package/dist/src/interfaces/PromiseLibraryInterface.d.ts +25 -25
  72. package/dist/src/interfaces/SocketMessageInterface.d.ts +3 -3
  73. package/dist/src/interfaces/index.d.ts +7 -7
  74. package/dist/src/models/CollectionEditResource.d.ts +14 -14
  75. package/dist/src/models/CollectionEntry.d.ts +82 -82
  76. package/dist/src/models/CollectionEntryOptions.d.ts +12 -12
  77. package/dist/src/models/CollectionResource.d.ts +41 -41
  78. package/dist/src/models/CollectionResourceOptions.d.ts +22 -22
  79. package/dist/src/models/CollectionViewResource.d.ts +7 -7
  80. package/dist/src/models/EditResource.d.ts +18 -18
  81. package/dist/src/models/ItemEntry.d.ts +70 -70
  82. package/dist/src/models/ItemEntryOptions.d.ts +10 -11
  83. package/dist/src/models/ItemResource.d.ts +27 -27
  84. package/dist/src/models/ItemResourceOptions.d.ts +9 -9
  85. package/dist/src/models/LocalViewResource.d.ts +7 -7
  86. package/dist/src/models/RemoteViewResource.d.ts +7 -7
  87. package/dist/src/models/Template.d.ts +11 -11
  88. package/dist/src/models/ViewResource.d.ts +8 -8
  89. package/dist/src/models/index.d.ts +15 -15
  90. package/dist/src/types/ItemTypesCollection.d.ts +196 -213
  91. package/dist/src/types/PromiseInterface.d.ts +2 -2
  92. package/dist/src/types/index.d.ts +2 -2
  93. package/package.json +1 -1
  94. package/readme.md +15 -15
package/changelog.md CHANGED
@@ -1,6 +1,17 @@
1
1
  #Changelog
2
2
  Contains new features, breaking changes and their reasoning
3
3
 
4
+ ## 1.7.6
5
+ - Add priority parameter to local cache callbacks. The callback condition (`always` / `onClose` / `skipOnClose`) no longer has any effect on the order in which the callbacks get executed.
6
+ - **Breaking:** Remove `LocalCacheCallbackCondition` enum.
7
+ - Add `itemId` parameter to `ItemHandler.fetchNewItem`. An error is thrown when an ID already exists. Add `getNewResourceWithId` to ItemAdministrator. Deprecate `getItemByState`.
8
+
9
+ ## 1.7.5
10
+ - For template column sets it is no longer assumed all columns are present. This fixes an issue with incomplete column
11
+ sets in the front-end.
12
+ - Fix issue where `changesProcessor` instance was undefined in `itemResourceFactory` and `collectionResourceFactory`.
13
+ Create variables for each core service in order to get a TypeScript error when a dependency hasn't been initialized yet.
14
+
4
15
  ## 1.7.4
5
16
  - Add support for strict ItemType type checking in `FieldMap`
6
17