@rtsee/live-storage 0.0.61 → 0.0.63

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 (74) hide show
  1. package/dist/live-storage/src/index.d.ts +1 -0
  2. package/dist/live-storage/src/index.d.ts.map +1 -1
  3. package/dist/live-storage/src/index.js +1 -0
  4. package/dist/live-storage/src/index.js.map +1 -1
  5. package/dist/live-storage/src/presentation/models/PresentationStorage.d.ts.map +1 -1
  6. package/dist/live-storage/src/presentation/models/PresentationStorage.js.map +1 -1
  7. package/dist/live-storage/src/presentation/models/local-storage/PresentationLocalStorage.js.map +1 -1
  8. package/dist/live-storage/src/presentation/models/remote-storage/PresentationRemoteStorage.d.ts.map +1 -1
  9. package/dist/live-storage/src/presentation/models/remote-storage/PresentationRemoteStorage.js.map +1 -1
  10. package/dist/live-storage/src/utilities/index.d.ts +3 -0
  11. package/dist/live-storage/src/utilities/index.d.ts.map +1 -0
  12. package/dist/live-storage/src/utilities/index.js +19 -0
  13. package/dist/live-storage/src/utilities/index.js.map +1 -0
  14. package/dist/live-storage/src/utilities/interfaces/UtilitiesStorageProcessor.d.ts +5 -0
  15. package/dist/live-storage/src/utilities/interfaces/UtilitiesStorageProcessor.d.ts.map +1 -0
  16. package/dist/live-storage/src/utilities/interfaces/UtilitiesStorageProcessor.js +3 -0
  17. package/dist/live-storage/src/utilities/interfaces/UtilitiesStorageProcessor.js.map +1 -0
  18. package/dist/live-storage/src/utilities/interfaces/index.d.ts +2 -0
  19. package/dist/live-storage/src/utilities/interfaces/index.d.ts.map +1 -0
  20. package/dist/live-storage/src/utilities/interfaces/index.js +18 -0
  21. package/dist/live-storage/src/utilities/interfaces/index.js.map +1 -0
  22. package/dist/live-storage/src/utilities/models/UtilitiesStorageProcessor.d.ts +41 -0
  23. package/dist/live-storage/src/utilities/models/UtilitiesStorageProcessor.d.ts.map +1 -0
  24. package/dist/live-storage/src/utilities/models/UtilitiesStorageProcessor.js +110 -0
  25. package/dist/live-storage/src/utilities/models/UtilitiesStorageProcessor.js.map +1 -0
  26. package/dist/live-storage/src/utilities/models/index.d.ts +4 -0
  27. package/dist/live-storage/src/utilities/models/index.d.ts.map +1 -0
  28. package/dist/live-storage/src/utilities/models/index.js +20 -0
  29. package/dist/live-storage/src/utilities/models/index.js.map +1 -0
  30. package/dist/live-storage/src/utilities/models/local-storage/UtilitiesLocalStorage.d.ts +43 -0
  31. package/dist/live-storage/src/utilities/models/local-storage/UtilitiesLocalStorage.d.ts.map +1 -0
  32. package/dist/live-storage/src/utilities/models/local-storage/UtilitiesLocalStorage.js +171 -0
  33. package/dist/live-storage/src/utilities/models/local-storage/UtilitiesLocalStorage.js.map +1 -0
  34. package/dist/live-storage/src/utilities/models/local-storage/index.d.ts +3 -0
  35. package/dist/live-storage/src/utilities/models/local-storage/index.d.ts.map +1 -0
  36. package/dist/live-storage/src/utilities/models/local-storage/index.js +19 -0
  37. package/dist/live-storage/src/utilities/models/local-storage/index.js.map +1 -0
  38. package/dist/live-storage/src/utilities/models/local-storage/local-vault/EntitiesStorage.d.ts +11 -0
  39. package/dist/live-storage/src/utilities/models/local-storage/local-vault/EntitiesStorage.d.ts.map +1 -0
  40. package/dist/live-storage/src/utilities/models/local-storage/local-vault/EntitiesStorage.js +44 -0
  41. package/dist/live-storage/src/utilities/models/local-storage/local-vault/EntitiesStorage.js.map +1 -0
  42. package/dist/live-storage/src/utilities/models/local-storage/local-vault/EntityConfigurationsStorage.d.ts +11 -0
  43. package/dist/live-storage/src/utilities/models/local-storage/local-vault/EntityConfigurationsStorage.d.ts.map +1 -0
  44. package/dist/live-storage/src/utilities/models/local-storage/local-vault/EntityConfigurationsStorage.js +44 -0
  45. package/dist/live-storage/src/utilities/models/local-storage/local-vault/EntityConfigurationsStorage.js.map +1 -0
  46. package/dist/live-storage/src/utilities/models/local-storage/local-vault/RatesStorage.d.ts +13 -0
  47. package/dist/live-storage/src/utilities/models/local-storage/local-vault/RatesStorage.d.ts.map +1 -0
  48. package/dist/live-storage/src/utilities/models/local-storage/local-vault/RatesStorage.js +69 -0
  49. package/dist/live-storage/src/utilities/models/local-storage/local-vault/RatesStorage.js.map +1 -0
  50. package/dist/live-storage/src/utilities/models/local-storage/local-vault/RatingConfigurationsStorage.d.ts +11 -0
  51. package/dist/live-storage/src/utilities/models/local-storage/local-vault/RatingConfigurationsStorage.d.ts.map +1 -0
  52. package/dist/live-storage/src/utilities/models/local-storage/local-vault/RatingConfigurationsStorage.js +43 -0
  53. package/dist/live-storage/src/utilities/models/local-storage/local-vault/RatingConfigurationsStorage.js.map +1 -0
  54. package/dist/live-storage/src/utilities/models/local-storage/local-vault/TagGroupsStorage.d.ts +11 -0
  55. package/dist/live-storage/src/utilities/models/local-storage/local-vault/TagGroupsStorage.d.ts.map +1 -0
  56. package/dist/live-storage/src/utilities/models/local-storage/local-vault/TagGroupsStorage.js +44 -0
  57. package/dist/live-storage/src/utilities/models/local-storage/local-vault/TagGroupsStorage.js.map +1 -0
  58. package/dist/live-storage/src/utilities/models/local-storage/local-vault/TagsStorage.d.ts +12 -0
  59. package/dist/live-storage/src/utilities/models/local-storage/local-vault/TagsStorage.d.ts.map +1 -0
  60. package/dist/live-storage/src/utilities/models/local-storage/local-vault/TagsStorage.js +65 -0
  61. package/dist/live-storage/src/utilities/models/local-storage/local-vault/TagsStorage.js.map +1 -0
  62. package/dist/live-storage/src/utilities/models/local-storage/local-vault/index.d.ts +7 -0
  63. package/dist/live-storage/src/utilities/models/local-storage/local-vault/index.d.ts.map +1 -0
  64. package/dist/live-storage/src/utilities/models/local-storage/local-vault/index.js +23 -0
  65. package/dist/live-storage/src/utilities/models/local-storage/local-vault/index.js.map +1 -0
  66. package/dist/live-storage/src/utilities/models/remote-storage/UtilitiesRemoteStorage.d.ts +39 -0
  67. package/dist/live-storage/src/utilities/models/remote-storage/UtilitiesRemoteStorage.d.ts.map +1 -0
  68. package/dist/live-storage/src/utilities/models/remote-storage/UtilitiesRemoteStorage.js +105 -0
  69. package/dist/live-storage/src/utilities/models/remote-storage/UtilitiesRemoteStorage.js.map +1 -0
  70. package/dist/live-storage/src/utilities/models/remote-storage/index.d.ts +2 -0
  71. package/dist/live-storage/src/utilities/models/remote-storage/index.d.ts.map +1 -0
  72. package/dist/live-storage/src/utilities/models/remote-storage/index.js +18 -0
  73. package/dist/live-storage/src/utilities/models/remote-storage/index.js.map +1 -0
  74. package/package.json +2 -2
@@ -0,0 +1,65 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TagsStorage = void 0;
4
+ const core_1 = require("@rtsee/core");
5
+ class TagsStorage {
6
+ constructor() {
7
+ this.data = [];
8
+ }
9
+ getAll(transport, options) {
10
+ let tags = this.data
11
+ .filter((ri) => {
12
+ return ri.applicationId === transport.peer.rtseeAppId;
13
+ });
14
+ // if (options.groupId) {
15
+ // tags = tags.filter((tag) => {
16
+ // return options.groupId === tag.groupId;
17
+ // })
18
+ // }
19
+ if (options.parentId) {
20
+ tags = tags.filter((tag) => {
21
+ return options.parentId === tag.parentId;
22
+ });
23
+ }
24
+ if (options.priorityOrder) {
25
+ this.sortByPriority(tags, options.priorityOrder);
26
+ }
27
+ return tags;
28
+ }
29
+ getById(transport, tagId) {
30
+ return this.data.find((t) => {
31
+ return t.id === tagId && t.applicationId === transport.peer.rtseeAppId;
32
+ }) || null;
33
+ }
34
+ add(transport, tagData) {
35
+ const tag = Object.assign(Object.assign({}, tagData), { id: core_1.RTSeeCore.uuidv4(), applicationId: transport.peer.rtseeAppId });
36
+ this.data.push(tag);
37
+ return tag;
38
+ }
39
+ edit(transport, tagData) {
40
+ const tag = this.getById(transport, tagData.id);
41
+ if (!tag) {
42
+ return null;
43
+ }
44
+ tag.name = tagData.name;
45
+ tag.description = tagData.description;
46
+ return tag;
47
+ }
48
+ remove(transport, tagId) {
49
+ const tag = this.getById(transport, tagId);
50
+ if (!tag) {
51
+ return null;
52
+ }
53
+ this.data.splice(this.data.indexOf(tag), 1);
54
+ return tag;
55
+ }
56
+ sortByPriority(tags, order) {
57
+ tags.sort((a, b) => {
58
+ return order === 'asc'
59
+ ? a.priority - b.priority
60
+ : b.priority - a.priority;
61
+ });
62
+ }
63
+ }
64
+ exports.TagsStorage = TagsStorage;
65
+ //# sourceMappingURL=TagsStorage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TagsStorage.js","sourceRoot":"","sources":["../../../../../../../src/utilities/models/local-storage/local-vault/TagsStorage.ts"],"names":[],"mappings":";;;AACA,sCAAuD;AAEvD,MAAa,WAAW;IAAxB;QACE,SAAI,GAAgB,EAAE,CAAC;IA+FzB,CAAC;IA7FC,MAAM,CACJ,SAA0B,EAC1B,OAA0B;QAE1B,IAAI,IAAI,GAAgB,IAAI,CAAC,IAAI;aAC9B,MAAM,CAAC,CAAC,EAAE,EAAE,EAAE;YACb,OAAO,EAAE,CAAC,aAAa,KAAK,SAAS,CAAC,IAAI,CAAC,UAAU,CAAC;QACxD,CAAC,CAAC,CAAC;QAEL,yBAAyB;QACzB,kCAAkC;QAClC,8CAA8C;QAC9C,OAAO;QACP,IAAI;QAEJ,IAAI,OAAO,CAAC,QAAQ,EAAE,CAAC;YACrB,IAAI,GAAG,IAAI,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE;gBACzB,OAAO,OAAO,CAAC,QAAQ,KAAK,GAAG,CAAC,QAAQ,CAAC;YAC3C,CAAC,CAAC,CAAA;QACJ,CAAC;QAED,IAAI,OAAO,CAAC,aAAa,EAAE,CAAC;YAC1B,IAAI,CAAC,cAAc,CAAC,IAAI,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC;QACnD,CAAC;QAED,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO,CACL,SAA0B,EAC1B,KAAa;QAEb,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE;YAC1B,OAAO,CAAC,CAAC,EAAE,KAAK,KAAK,IAAI,CAAC,CAAC,aAAa,K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;gBACzB,CAAC,CAAC,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,QAAQ,CAAC;QAC9B,CAAC,CAAC,CAAA;IACJ,CAAC;CACF;AAhGD,kCAgGC"}
@@ -0,0 +1,7 @@
1
+ export * from './RatesStorage';
2
+ export * from './RatingConfigurationsStorage';
3
+ export * from './TagsStorage';
4
+ export * from './TagGroupsStorage';
5
+ export * from './EntitiesStorage';
6
+ export * from './EntityConfigurationsStorage';
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/utilities/models/local-storage/local-vault/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,+BAA+B,CAAC;AAC9C,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,+BAA+B,CAAC"}
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./RatesStorage"), exports);
18
+ __exportStar(require("./RatingConfigurationsStorage"), exports);
19
+ __exportStar(require("./TagsStorage"), exports);
20
+ __exportStar(require("./TagGroupsStorage"), exports);
21
+ __exportStar(require("./EntitiesStorage"), exports);
22
+ __exportStar(require("./EntityConfigurationsStorage"), exports);
23
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/utilities/models/local-storage/local-vault/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,gEAA8C;AAC9C,gDAA8B;AAC9B,qDAAmC;AACnC,oDAAkC;AAClC,gEAA8C"}
@@ -0,0 +1,39 @@
1
+ import { IUtilitiesStorageProcessor } from "@rtsee/utilities-signaling";
2
+ import { IRTSeeRate, IRTSeeTagBase, IRTSeeTagGroupBase, IRTSeeTagGroup, IUtilitiesStorageHandlers, IRTSeeRatesRequest, IRTSeeTagsRequest, IRTSeeRatesResponse, IRTSeeRateResponse, IRTSeeTagsResponse, IRTSeeTagResponse, IRTSeeTagGroupsRequest, IRTSeeTagGroupsResponse, IRTSeeTagGroupResponse, IRTSeeRatingConfigurationsRequest, IRTSeeRatingConfigurationsResponse, IRTSeeRatingConfigurationResponse, IRTSeeRatingConfiguration, IRTSeeEntityConfigurationsRequest, IRTSeeEntityConfigurationsResponse, IRTSeeEntityConfigurationRequest, IRTSeeEntityConfigurationResponse, IRTSeeEntityConfiguration, IRTSeeEntitiesRequest, IRTSeeEntitiesResponse, IRTSeeEntityRequest, IRTSeeEntityResponse, IRTSeeEntity } from "@rtsee/common";
3
+ import { IRTSeeTransport } from "@rtsee/core";
4
+ import { IUtilitiesStorageProcessorOptions } from "@rtsee/live-storage";
5
+ export declare class RTSeeUtilitiesRemoteStorage implements IUtilitiesStorageProcessor {
6
+ handlers: IUtilitiesStorageHandlers;
7
+ constructor(options: IUtilitiesStorageProcessorOptions);
8
+ getRatingConfigurations(transport: IRTSeeTransport, options: IRTSeeRatingConfigurationsRequest): Promise<IRTSeeRatingConfigurationsResponse>;
9
+ getRatingConfiguration(transport: IRTSeeTransport, ratingConfigurationId: string): Promise<IRTSeeRatingConfigurationResponse>;
10
+ createRatingConfiguration(transport: IRTSeeTransport, ratingConfiguration: Omit<IRTSeeRatingConfiguration, 'id'>): Promise<IRTSeeRatingConfigurationResponse>;
11
+ editRatingConfiguration(transport: IRTSeeTransport, options: IRTSeeRatingConfiguration): Promise<IRTSeeRatingConfigurationResponse>;
12
+ deleteRatingConfiguration(transport: IRTSeeTransport, ratingConfigurationId: string): Promise<IRTSeeRatingConfigurationResponse>;
13
+ getRates(transport: IRTSeeTransport, options: IRTSeeRatesRequest): Promise<IRTSeeRatesResponse>;
14
+ getRate(transport: IRTSeeTransport, ratingId: string): Promise<IRTSeeRateResponse>;
15
+ createRate(transport: IRTSeeTransport, options: Omit<IRTSeeRate, 'id'>): Promise<IRTSeeRateResponse>;
16
+ editRate(transport: IRTSeeTransport, options: IRTSeeRate): Promise<IRTSeeRateResponse>;
17
+ deleteRate(transport: IRTSeeTransport, ratingId: string): Promise<IRTSeeRateResponse>;
18
+ getTags(transport: IRTSeeTransport, options: IRTSeeTagsRequest): Promise<IRTSeeTagsResponse>;
19
+ getTag(transport: IRTSeeTransport, tagId: string): Promise<IRTSeeTagResponse>;
20
+ createTag(transport: IRTSeeTransport, options: Omit<IRTSeeTagBase, 'id'>): Promise<IRTSeeTagResponse>;
21
+ editTag(transport: IRTSeeTransport, options: IRTSeeTagBase): Promise<IRTSeeTagResponse>;
22
+ deleteTag(transport: IRTSeeTransport, tagId: string): Promise<IRTSeeTagResponse>;
23
+ getTagGroups(transport: IRTSeeTransport, options: IRTSeeTagGroupsRequest): Promise<IRTSeeTagGroupsResponse>;
24
+ getTagGroup(transport: IRTSeeTransport, tagGroupId: string): Promise<IRTSeeTagGroupResponse>;
25
+ createTagGroup(transport: IRTSeeTransport, options: IRTSeeTagGroupBase): Promise<IRTSeeTagGroupResponse>;
26
+ editTagGroup(transport: IRTSeeTransport, options: IRTSeeTagGroup): Promise<IRTSeeTagGroupResponse>;
27
+ deleteTagGroup(transport: IRTSeeTransport, tagGroupId: string): Promise<IRTSeeTagGroupResponse>;
28
+ getEntityConfigurations(transport: IRTSeeTransport, options: IRTSeeEntityConfigurationsRequest): Promise<IRTSeeEntityConfigurationsResponse>;
29
+ getEntityConfiguration(transport: IRTSeeTransport, options: IRTSeeEntityConfigurationRequest): Promise<IRTSeeEntityConfigurationResponse>;
30
+ createEntityConfiguration(transport: IRTSeeTransport, options: Omit<IRTSeeEntityConfiguration, "id">): Promise<IRTSeeEntityConfigurationResponse>;
31
+ editEntityConfiguration(transport: IRTSeeTransport, options: IRTSeeEntityConfiguration): Promise<IRTSeeEntityConfigurationResponse>;
32
+ deleteEntityConfiguration(transport: IRTSeeTransport, options: IRTSeeEntityConfigurationRequest): Promise<IRTSeeEntityConfigurationResponse>;
33
+ getEntities(transport: IRTSeeTransport, options: IRTSeeEntitiesRequest): Promise<IRTSeeEntitiesResponse>;
34
+ getEntity(transport: IRTSeeTransport, options: IRTSeeEntityRequest): Promise<IRTSeeEntityResponse>;
35
+ createEntity(transport: IRTSeeTransport, options: Omit<IRTSeeEntity, "id">): Promise<IRTSeeEntityResponse>;
36
+ editEntity(transport: IRTSeeTransport, options: IRTSeeEntity): Promise<IRTSeeEntityResponse>;
37
+ deleteEntity(transport: IRTSeeTransport, options: IRTSeeEntityRequest): Promise<IRTSeeEntityResponse>;
38
+ }
39
+ //# sourceMappingURL=UtilitiesRemoteStorage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UtilitiesRemoteStorage.d.ts","sourceRoot":"","sources":["../../../../../../src/utilities/models/remote-storage/UtilitiesRemoteStorage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,4BAA4B,CAAC;AACxE,OAAO,EACL,UAAU,EACV,aAAa,EACb,kBAAkB,EAClB,cAAc,EACd,yBAAyB,EACzB,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,EACnB,kBAAkB,EAClB,kBAAkB,EAClB,iBAAiB,EACjB,sBAAsB,EACtB,uBAAuB,EACvB,sBAAsB,EACtB,iCA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AE,eAAe,EAC1B,OAAO,EAAE,iCAAiC,GACzC,OAAO,CAAC,kCAAkC,CAAC;IAI9C,sBAAsB,CACpB,SAAS,EAAE,eAAe,EAC1B,OAAO,EAAE,gCAAgC,GACxC,OAAO,CAAC,iCAAiC,CAAC;IAI7C,yBAAyB,CACvB,SAAS,EAAE,eAAe,EAC1B,OAAO,EAAE,IAAI,CAAC,yBAAyB,EAAE,IAAI,CAAC,GAC7C,OAAO,CAAC,iCAAiC,CAAC;IAI7C,uBAAuB,CACrB,SAAS,EAAE,eAAe,EAC1B,OAAO,EAAE,yBAAyB,GACjC,OAAO,CAAC,iCAAiC,CAAC;IAI7C,yBAAyB,CACvB,SAAS,EAAE,eAAe,EAC1B,OAAO,EAAE,gCAAgC,GACxC,OAAO,CAAC,iCAAiC,CAAC;IAK7C,WAAW,CACT,SAAS,EAAE,eAAe,EAC1B,OAAO,EAAE,qBAAqB,GAC7B,OAAO,CAAC,sBAAsB,CAAC;IAIlC,SAAS,CACP,SAAS,EAAE,eAAe,EAC1B,OAAO,EAAE,mBAAmB,GAC3B,OAAO,CAAC,oBAAoB,CAAC;IAIhC,YAAY,CACV,SAAS,EAAE,eAAe,EAC1B,OAAO,EAAE,IAAI,CAAC,YAAY,EAAE,IAAI,CAAC,GAChC,OAAO,CAAC,oBAAoB,CAAC;IAIhC,UAAU,CACR,SAAS,EAAE,eAAe,EAC1B,OAAO,EAAE,YAAY,GACpB,OAAO,CAAC,oBAAoB,CAAC;IAIhC,YAAY,CACV,SAAS,EAAE,eAAe,EAC1B,OAAO,EAAE,mBAAmB,GAC3B,OAAO,CAAC,oBAAoB,CAAC;CAGjC"}
@@ -0,0 +1,105 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RTSeeUtilitiesRemoteStorage = void 0;
4
+ class RTSeeUtilitiesRemoteStorage {
5
+ constructor(options) {
6
+ this.handlers = options.handlers;
7
+ }
8
+ getRatingConfigurations(transport, options) {
9
+ return this.handlers.getRatingConfigurations(transport, options);
10
+ }
11
+ getRatingConfiguration(transport, ratingConfigurationId) {
12
+ return this.handlers.getRatingConfiguration(transport, ratingConfigurationId);
13
+ }
14
+ createRatingConfiguration(transport, ratingConfiguration) {
15
+ return this.handlers.createRatingConfiguration(transport, ratingConfiguration);
16
+ }
17
+ editRatingConfiguration(transport, options) {
18
+ return this.handlers.editRatingConfiguration(transport, options);
19
+ }
20
+ deleteRatingConfiguration(transport, ratingConfigurationId) {
21
+ return this.handlers.deleteRatingConfiguration(transport, ratingConfigurationId);
22
+ }
23
+ // ratings
24
+ getRates(transport, options) {
25
+ return this.handlers.getRates(transport, options);
26
+ }
27
+ getRate(transport, ratingId) {
28
+ return this.handlers.getRate(transport, ratingId);
29
+ }
30
+ createRate(transport, options) {
31
+ return this.handlers.createRate(transport, options);
32
+ }
33
+ editRate(transport, options) {
34
+ return this.handlers.editRate(transport, options);
35
+ }
36
+ deleteRate(transport, ratingId) {
37
+ return this.handlers.deleteRate(transport, ratingId);
38
+ }
39
+ // tags
40
+ getTags(transport, options) {
41
+ return this.handlers.getTags(transport, options);
42
+ }
43
+ getTag(transport, tagId) {
44
+ return this.handlers.getTag(transport, tagId);
45
+ }
46
+ createTag(transport, options) {
47
+ return this.handlers.createTag(transport, options);
48
+ }
49
+ editTag(transport, options) {
50
+ return this.handlers.editTag(transport, options);
51
+ }
52
+ deleteTag(transport, tagId) {
53
+ return this.handlers.deleteTag(transport, tagId);
54
+ }
55
+ // tag groups
56
+ getTagGroups(transport, options) {
57
+ return this.handlers.getTagGroups(transport, options);
58
+ }
59
+ getTagGroup(transport, tagGroupId) {
60
+ return this.handlers.getTagGroup(transport, tagGroupId);
61
+ }
62
+ createTagGroup(transport, options) {
63
+ return this.handlers.createTagGroup(transport, options);
64
+ }
65
+ editTagGroup(transport, options) {
66
+ return this.handlers.editTagGroup(transport, options);
67
+ }
68
+ deleteTagGroup(transport, tagGroupId) {
69
+ return this.handlers.deleteTagGroup(transport, tagGroupId);
70
+ }
71
+ //entity configurations
72
+ getEntityConfigurations(transport, options) {
73
+ return this.handlers.getEntityConfigurations(transport, options);
74
+ }
75
+ getEntityConfiguration(transport, options) {
76
+ return this.handlers.getEntityConfiguration(transport, options);
77
+ }
78
+ createEntityConfiguration(transport, options) {
79
+ return this.handlers.createEntityConfiguration(transport, options);
80
+ }
81
+ editEntityConfiguration(transport, options) {
82
+ return this.handlers.editEntityConfiguration(transport, options);
83
+ }
84
+ deleteEntityConfiguration(transport, options) {
85
+ return this.handlers.deleteEntityConfiguration(transport, options);
86
+ }
87
+ // entities
88
+ getEntities(transport, options) {
89
+ return this.handlers.getEntities(transport, options);
90
+ }
91
+ getEntity(transport, options) {
92
+ return this.handlers.getEntity(transport, options);
93
+ }
94
+ createEntity(transport, options) {
95
+ return this.handlers.createEntity(transport, options);
96
+ }
97
+ editEntity(transport, options) {
98
+ return this.handlers.editEntity(transport, options);
99
+ }
100
+ deleteEntity(transport, options) {
101
+ return this.handlers.deleteEntity(transport, options);
102
+ }
103
+ }
104
+ exports.RTSeeUtilitiesRemoteStorage = RTSeeUtilitiesRemoteStorage;
105
+ //# sourceMappingURL=UtilitiesRemoteStorage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UtilitiesRemoteStorage.js","sourceRoot":"","sources":["../../../../../../src/utilities/models/remote-storage/UtilitiesRemoteStorage.ts"],"names":[],"mappings":";;;AAkCA,MAAa,2BAA2B;IAGtC,YAAY,OAA0C;QACpD,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC;IACnC,CAAC;IAED,uBAAuB,CACrB,SAA0B,EAC1B,OAA0C;QAE1C,OAAO,IAAI,CAAC,QAAQ,CAAC,uBAAuB,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;IAED,sBAAsB,CACpB,SAA0B,EAC1B,qBAA6B;QAE7B,OAAO,IAAI,CAAC,QAAQ,CAAC,sBAAsB,CAAC,SAAS,EAAE,qBAAqB,CAAC,CAAC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AC,QAAQ,CAAC,YAAY,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IACxD,CAAC;CACF;AA7ND,kEA6NC"}
@@ -0,0 +1,2 @@
1
+ export * from './UtilitiesRemoteStorage';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/utilities/models/remote-storage/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC"}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./UtilitiesRemoteStorage"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/utilities/models/remote-storage/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rtsee/live-storage",
3
- "version": "0.0.61",
3
+ "version": "0.0.63",
4
4
  "license": "ISC",
5
5
  "private": false,
6
6
  "main": "dist/live-storage/src/index",
@@ -46,5 +46,5 @@
46
46
  "redis": "^4.3.1",
47
47
  "redis-om": "^0.3.6"
48
48
  },
49
- "gitHead": "52ef8569fe98acc9a388f6aaf15f077db52b13ca"
49
+ "gitHead": "7a229aae39995a27cc78623ba9f4181b655c558a"
50
50
  }