@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.
- package/changelog.md +6 -2
- package/dist/rm-core.js +7278 -7236
- package/dist/rm-core.min.js +1 -1
- package/dist/src/classes/ApiFormatter.d.ts +39 -40
- package/dist/src/classes/ApiRequestService.d.ts +20 -20
- package/dist/src/classes/ApiResponseProcessor.d.ts +33 -33
- package/dist/src/classes/BatchStatus.d.ts +27 -27
- package/dist/src/classes/ChangesCompilation.d.ts +51 -51
- package/dist/src/classes/ChangesProcessor.d.ts +33 -33
- package/dist/src/classes/CollectionCache.d.ts +37 -37
- package/dist/src/classes/CollectionEntryService.d.ts +26 -26
- package/dist/src/classes/CollectionHandler.d.ts +57 -57
- package/dist/src/classes/CollectionMatcher.d.ts +30 -30
- package/dist/src/classes/CollectionResourceService.d.ts +5 -5
- package/dist/src/classes/ColumnCache.d.ts +21 -21
- package/dist/src/classes/ColumnExpansion.d.ts +19 -19
- package/dist/src/classes/ColumnHandler.d.ts +21 -21
- package/dist/src/classes/ColumnInfo.d.ts +14 -14
- package/dist/src/classes/ColumnSet.d.ts +46 -46
- package/dist/src/classes/ColumnSubsetCache.d.ts +9 -9
- package/dist/src/classes/ColumnUtil.d.ts +76 -76
- package/dist/src/classes/CreateRequest.d.ts +20 -20
- package/dist/src/classes/ItemAdministrator.d.ts +70 -83
- package/dist/src/classes/ItemCache.d.ts +22 -22
- package/dist/src/classes/ItemEntryService.d.ts +24 -24
- package/dist/src/classes/ItemHandler.d.ts +60 -62
- package/dist/src/classes/ItemRequestService.d.ts +23 -23
- package/dist/src/classes/KeyService.d.ts +16 -16
- package/dist/src/classes/LocalCache.d.ts +51 -51
- package/dist/src/classes/LockService.d.ts +23 -23
- package/dist/src/classes/ModuleChangesCompilation.d.ts +21 -21
- package/dist/src/classes/QueryMatcher.d.ts +14 -14
- package/dist/src/classes/QueryParser.d.ts +16 -16
- package/dist/src/classes/QueryService.d.ts +19 -19
- package/dist/src/classes/RequestColumnExpansion.d.ts +12 -12
- package/dist/src/classes/SocketMessageHandler.d.ts +40 -40
- package/dist/src/classes/Util.d.ts +27 -27
- package/dist/src/classes/index.d.ts +34 -34
- package/dist/src/constants.d.ts +18 -18
- package/dist/src/core.d.ts +48 -48
- package/dist/src/factories/ApiResponseProcessorFactory.d.ts +6 -6
- package/dist/src/factories/BatchStatusFactory.d.ts +8 -8
- package/dist/src/factories/ChangesCompilationFactory.d.ts +9 -9
- package/dist/src/factories/ChangesProcessorFactory.d.ts +18 -18
- package/dist/src/factories/CollectionCacheFactory.d.ts +7 -7
- package/dist/src/factories/CollectionEntryFactory.d.ts +21 -21
- package/dist/src/factories/CollectionMatcherFactory.d.ts +7 -7
- package/dist/src/factories/CollectionResourceFactory.d.ts +13 -13
- package/dist/src/factories/ColumnExpansionFactory.d.ts +9 -9
- package/dist/src/factories/ColumnInfoFactory.d.ts +6 -6
- package/dist/src/factories/ColumnSetFactory.d.ts +11 -11
- package/dist/src/factories/ColumnSubsetCacheFactory.d.ts +7 -7
- package/dist/src/factories/CreateRequestFactory.d.ts +11 -11
- package/dist/src/factories/ItemCacheFactory.d.ts +7 -7
- package/dist/src/factories/ItemEntryFactory.d.ts +19 -19
- package/dist/src/factories/ItemResourceFactory.d.ts +14 -14
- package/dist/src/factories/LocalCacheFactory.d.ts +15 -15
- package/dist/src/factories/ModuleChangesCompilationFactory.d.ts +5 -5
- package/dist/src/factories/QueryMatcherFactory.d.ts +7 -7
- package/dist/src/factories/QueryParserFactory.d.ts +5 -5
- package/dist/src/factories/RequestColumnExpansionFactory.d.ts +6 -6
- package/dist/src/factories/TemplateFactory.d.ts +10 -10
- package/dist/src/factories/index.d.ts +22 -22
- package/dist/src/index.d.ts +7 -7
- package/dist/src/interfaces/ApiRequestServiceInterface.d.ts +11 -11
- package/dist/src/interfaces/AuthInterface.d.ts +9 -9
- package/dist/src/interfaces/ErrorHandlerInterface.d.ts +5 -5
- package/dist/src/interfaces/LocalCacheManagerInterface.d.ts +5 -5
- package/dist/src/interfaces/PromiseLibraryInterface.d.ts +15 -15
- package/dist/src/interfaces/SocketMessageInterface.d.ts +3 -3
- package/dist/src/interfaces/index.d.ts +6 -6
- package/dist/src/models/CollectionEditResource.d.ts +15 -15
- package/dist/src/models/CollectionEntry.d.ts +67 -67
- package/dist/src/models/CollectionEntryOptions.d.ts +20 -20
- package/dist/src/models/CollectionResource.d.ts +40 -40
- package/dist/src/models/CollectionResourceOptions.d.ts +38 -38
- package/dist/src/models/CollectionViewResource.d.ts +6 -6
- package/dist/src/models/EditResource.d.ts +18 -18
- package/dist/src/models/ItemEntry.d.ts +71 -71
- package/dist/src/models/ItemEntryOptions.d.ts +18 -18
- package/dist/src/models/ItemResource.d.ts +23 -23
- package/dist/src/models/ItemResourceOptions.d.ts +13 -13
- package/dist/src/models/Template.d.ts +11 -11
- package/dist/src/models/ViewResource.d.ts +4 -4
- package/dist/src/models/index.d.ts +13 -13
- package/dist/src/types/ItemTypesCollection.d.ts +234 -231
- package/dist/src/types/PromiseInterface.d.ts +2 -2
- package/dist/src/types/index.d.ts +2 -2
- package/package.json +1 -1
- 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 `
|
|
16
|
-
`
|
|
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.
|