@rentman/rm-core 1.5.0 → 1.5.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 (90) hide show
  1. package/changelog.md +6 -2
  2. package/dist/rm-core.js +7278 -7236
  3. package/dist/rm-core.min.js +1 -1
  4. package/dist/src/classes/ApiFormatter.d.ts +39 -40
  5. package/dist/src/classes/ApiRequestService.d.ts +20 -20
  6. package/dist/src/classes/ApiResponseProcessor.d.ts +33 -33
  7. package/dist/src/classes/BatchStatus.d.ts +27 -27
  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 +37 -37
  11. package/dist/src/classes/CollectionEntryService.d.ts +26 -26
  12. package/dist/src/classes/CollectionHandler.d.ts +57 -57
  13. package/dist/src/classes/CollectionMatcher.d.ts +30 -30
  14. package/dist/src/classes/CollectionResourceService.d.ts +5 -5
  15. package/dist/src/classes/ColumnCache.d.ts +21 -21
  16. package/dist/src/classes/ColumnExpansion.d.ts +19 -19
  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 +46 -46
  20. package/dist/src/classes/ColumnSubsetCache.d.ts +9 -9
  21. package/dist/src/classes/ColumnUtil.d.ts +76 -76
  22. package/dist/src/classes/CreateRequest.d.ts +20 -20
  23. package/dist/src/classes/ItemAdministrator.d.ts +70 -83
  24. package/dist/src/classes/ItemCache.d.ts +22 -22
  25. package/dist/src/classes/ItemEntryService.d.ts +24 -24
  26. package/dist/src/classes/ItemHandler.d.ts +60 -62
  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 +51 -51
  30. package/dist/src/classes/LockService.d.ts +23 -23
  31. package/dist/src/classes/ModuleChangesCompilation.d.ts +21 -21
  32. package/dist/src/classes/QueryMatcher.d.ts +14 -14
  33. package/dist/src/classes/QueryParser.d.ts +16 -16
  34. package/dist/src/classes/QueryService.d.ts +19 -19
  35. package/dist/src/classes/RequestColumnExpansion.d.ts +12 -12
  36. package/dist/src/classes/SocketMessageHandler.d.ts +40 -40
  37. package/dist/src/classes/Util.d.ts +27 -27
  38. package/dist/src/classes/index.d.ts +34 -34
  39. package/dist/src/constants.d.ts +18 -18
  40. package/dist/src/core.d.ts +48 -48
  41. package/dist/src/factories/ApiResponseProcessorFactory.d.ts +6 -6
  42. package/dist/src/factories/BatchStatusFactory.d.ts +8 -8
  43. package/dist/src/factories/ChangesCompilationFactory.d.ts +9 -9
  44. package/dist/src/factories/ChangesProcessorFactory.d.ts +18 -18
  45. package/dist/src/factories/CollectionCacheFactory.d.ts +7 -7
  46. package/dist/src/factories/CollectionEntryFactory.d.ts +21 -21
  47. package/dist/src/factories/CollectionMatcherFactory.d.ts +7 -7
  48. package/dist/src/factories/CollectionResourceFactory.d.ts +13 -13
  49. package/dist/src/factories/ColumnExpansionFactory.d.ts +9 -9
  50. package/dist/src/factories/ColumnInfoFactory.d.ts +6 -6
  51. package/dist/src/factories/ColumnSetFactory.d.ts +11 -11
  52. package/dist/src/factories/ColumnSubsetCacheFactory.d.ts +7 -7
  53. package/dist/src/factories/CreateRequestFactory.d.ts +11 -11
  54. package/dist/src/factories/ItemCacheFactory.d.ts +7 -7
  55. package/dist/src/factories/ItemEntryFactory.d.ts +19 -19
  56. package/dist/src/factories/ItemResourceFactory.d.ts +14 -14
  57. package/dist/src/factories/LocalCacheFactory.d.ts +15 -15
  58. package/dist/src/factories/ModuleChangesCompilationFactory.d.ts +5 -5
  59. package/dist/src/factories/QueryMatcherFactory.d.ts +7 -7
  60. package/dist/src/factories/QueryParserFactory.d.ts +5 -5
  61. package/dist/src/factories/RequestColumnExpansionFactory.d.ts +6 -6
  62. package/dist/src/factories/TemplateFactory.d.ts +10 -10
  63. package/dist/src/factories/index.d.ts +22 -22
  64. package/dist/src/index.d.ts +7 -7
  65. package/dist/src/interfaces/ApiRequestServiceInterface.d.ts +11 -11
  66. package/dist/src/interfaces/AuthInterface.d.ts +9 -9
  67. package/dist/src/interfaces/ErrorHandlerInterface.d.ts +5 -5
  68. package/dist/src/interfaces/LocalCacheManagerInterface.d.ts +5 -5
  69. package/dist/src/interfaces/PromiseLibraryInterface.d.ts +15 -15
  70. package/dist/src/interfaces/SocketMessageInterface.d.ts +3 -3
  71. package/dist/src/interfaces/index.d.ts +6 -6
  72. package/dist/src/models/CollectionEditResource.d.ts +15 -15
  73. package/dist/src/models/CollectionEntry.d.ts +67 -67
  74. package/dist/src/models/CollectionEntryOptions.d.ts +20 -20
  75. package/dist/src/models/CollectionResource.d.ts +40 -40
  76. package/dist/src/models/CollectionResourceOptions.d.ts +38 -38
  77. package/dist/src/models/CollectionViewResource.d.ts +6 -6
  78. package/dist/src/models/EditResource.d.ts +18 -18
  79. package/dist/src/models/ItemEntry.d.ts +71 -71
  80. package/dist/src/models/ItemEntryOptions.d.ts +18 -18
  81. package/dist/src/models/ItemResource.d.ts +23 -23
  82. package/dist/src/models/ItemResourceOptions.d.ts +13 -13
  83. package/dist/src/models/Template.d.ts +11 -11
  84. package/dist/src/models/ViewResource.d.ts +4 -4
  85. package/dist/src/models/index.d.ts +13 -13
  86. package/dist/src/types/ItemTypesCollection.d.ts +234 -231
  87. package/dist/src/types/PromiseInterface.d.ts +2 -2
  88. package/dist/src/types/index.d.ts +2 -2
  89. package/package.json +1 -1
  90. package/readme.md +15 -15
package/changelog.md CHANGED
@@ -1,6 +1,10 @@
1
1
  #Changelog
2
2
  Contains new features, breaking changes and their reasoning
3
3
 
4
+ ## 1.5.1
5
+ - Properly remove item entry stub from (local) cache when request fails.
6
+ - Fix issue where item or collection options could be set to undefined.
7
+
4
8
  ## 1.5.0
5
9
  - Add `SocketMessage` type and add types to `SocketMessageHandler`
6
10
  - Expand local items requested using `getItemById` or `getItemsById` in `ItemAdministrator`.
@@ -12,8 +16,8 @@ Contains new features, breaking changes and their reasoning
12
16
  ### Introduce typing of item and collection options
13
17
  - **Breaking:** Removed `QueryItemType` collection entry option.
14
18
  - **Breaking:** Removed `ItemResourceService`.
15
- - Removed `processOptions` parameter from `createItemResource` (`ItemAdministrator`). It is now equivalent to
16
- `addSingleItem`.
19
+ - Removed `processOptions` parameter from `createCollectionResource` (`ItemAdministrator`). It is now equivalent to
20
+ `addCollection`.
17
21
  - When creating an item resource using `ItemResourceFactory`, a collection entry using `CollectionResourceFactory` or a
18
22
  collection resource using `CollectionResourceFactory` it is no longer necessary to process options beforehand. It is
19
23
  still necessary when interacting with `CollectionHandler` or `ItemHandler` directly.