@rtsee/live-storage 0.0.38 → 0.0.39
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/dist/live-storage/src/presentation/interfaces/PresentationStorageProcessor.d.ts +21 -1
- package/dist/live-storage/src/presentation/interfaces/PresentationStorageProcessor.d.ts.map +1 -1
- package/dist/live-storage/src/presentation/models/PresentationStorage.d.ts +21 -1
- package/dist/live-storage/src/presentation/models/PresentationStorage.d.ts.map +1 -1
- package/dist/live-storage/src/presentation/models/PresentationStorage.js +61 -1
- package/dist/live-storage/src/presentation/models/PresentationStorage.js.map +1 -1
- package/dist/live-storage/src/presentation/models/index.d.ts +3 -0
- package/dist/live-storage/src/presentation/models/index.d.ts.map +1 -1
- package/dist/live-storage/src/presentation/models/index.js +3 -0
- package/dist/live-storage/src/presentation/models/index.js.map +1 -1
- package/dist/live-storage/src/presentation/models/local-storage/PresentationLocalStorage.d.ts +25 -5
- package/dist/live-storage/src/presentation/models/local-storage/PresentationLocalStorage.d.ts.map +1 -1
- package/dist/live-storage/src/presentation/models/local-storage/PresentationLocalStorage.js +95 -10
- package/dist/live-storage/src/presentation/models/local-storage/PresentationLocalStorage.js.map +1 -1
- package/dist/live-storage/src/presentation/models/local-storage/RTSeePresentationRoomsStorage.d.ts.map +1 -1
- package/dist/live-storage/src/presentation/models/local-storage/RTSeePresentationRoomsStorage.js.map +1 -1
- package/dist/live-storage/src/presentation/models/local-storage/RTSeePresentationSlidesStorage.d.ts +11 -0
- package/dist/live-storage/src/presentation/models/local-storage/RTSeePresentationSlidesStorage.d.ts.map +1 -0
- package/dist/live-storage/src/presentation/models/local-storage/RTSeePresentationSlidesStorage.js +59 -0
- package/dist/live-storage/src/presentation/models/local-storage/RTSeePresentationSlidesStorage.js.map +1 -0
- package/dist/live-storage/src/presentation/models/local-storage/RTSeePresentationStoriesStorage.d.ts +47 -0
- package/dist/live-storage/src/presentation/models/local-storage/RTSeePresentationStoriesStorage.d.ts.map +1 -0
- package/dist/live-storage/src/presentation/models/local-storage/RTSeePresentationStoriesStorage.js +264 -0
- package/dist/live-storage/src/presentation/models/local-storage/RTSeePresentationStoriesStorage.js.map +1 -0
- package/dist/live-storage/src/presentation/models/local-storage/mocks.d.ts +14 -0
- package/dist/live-storage/src/presentation/models/local-storage/mocks.d.ts.map +1 -0
- package/dist/live-storage/src/presentation/models/local-storage/mocks.js +224 -0
- package/dist/live-storage/src/presentation/models/local-storage/mocks.js.map +1 -0
- package/dist/live-storage/src/presentation/models/remote-storage/PresentationRemoteStorage.d.ts +21 -1
- package/dist/live-storage/src/presentation/models/remote-storage/PresentationRemoteStorage.d.ts.map +1 -1
- package/dist/live-storage/src/presentation/models/remote-storage/PresentationRemoteStorage.js +60 -0
- package/dist/live-storage/src/presentation/models/remote-storage/PresentationRemoteStorage.js.map +1 -1
- package/package.json +2 -2
package/dist/live-storage/src/presentation/models/remote-storage/PresentationRemoteStorage.js
CHANGED
|
@@ -5,6 +5,9 @@ class RTSeePresentationRemoteStorage {
|
|
|
5
5
|
constructor(options) {
|
|
6
6
|
this.handlers = options.handlers;
|
|
7
7
|
}
|
|
8
|
+
getStories(peerId, options) {
|
|
9
|
+
return this.handlers.getStories(peerId, options);
|
|
10
|
+
}
|
|
8
11
|
createRoom(clientId, options) {
|
|
9
12
|
return this.handlers.createRoom(options, clientId);
|
|
10
13
|
}
|
|
@@ -25,6 +28,63 @@ class RTSeePresentationRemoteStorage {
|
|
|
25
28
|
return this.handlers.getRoomsForPeer(clientId);
|
|
26
29
|
}
|
|
27
30
|
;
|
|
31
|
+
createStory(peerId, options) {
|
|
32
|
+
return this.handlers.createStory(peerId, options);
|
|
33
|
+
}
|
|
34
|
+
editStory(peerId, options) {
|
|
35
|
+
return this.handlers.editStory(peerId, options);
|
|
36
|
+
}
|
|
37
|
+
deleteStory(peerId, storyId) {
|
|
38
|
+
return this.handlers.deleteStory(peerId, storyId);
|
|
39
|
+
}
|
|
40
|
+
publishStory(peerId, storyId) {
|
|
41
|
+
return this.handlers.publishStory(peerId, storyId);
|
|
42
|
+
}
|
|
43
|
+
getCategories(peerId, populate) {
|
|
44
|
+
return this.handlers.getCategories(peerId, populate);
|
|
45
|
+
}
|
|
46
|
+
createCategory(peerId, category) {
|
|
47
|
+
return this.handlers.createCategory(peerId, category);
|
|
48
|
+
}
|
|
49
|
+
updateCategory(peerId, category) {
|
|
50
|
+
return this.handlers.updateCategory(peerId, category);
|
|
51
|
+
}
|
|
52
|
+
deleteCategory(peerId, categoryId) {
|
|
53
|
+
return this.handlers.deleteCategory(peerId, categoryId);
|
|
54
|
+
}
|
|
55
|
+
addStoryToCategory(peerId, storyId, categoryId) {
|
|
56
|
+
return this.handlers.addStoryToCategory(peerId, storyId, categoryId);
|
|
57
|
+
}
|
|
58
|
+
removeStoryFromCategory(peerId, storyId, categoryId) {
|
|
59
|
+
return this.handlers.removeStoryFromCategory(peerId, storyId, categoryId);
|
|
60
|
+
}
|
|
61
|
+
getLabels(peerId, populate) {
|
|
62
|
+
return this.handlers.getLabels(peerId, populate);
|
|
63
|
+
}
|
|
64
|
+
getLabel(peerId, options) {
|
|
65
|
+
return this.handlers.getLabel(peerId, options);
|
|
66
|
+
}
|
|
67
|
+
createLabel(peerId, label) {
|
|
68
|
+
return this.handlers.createLabel(peerId, label);
|
|
69
|
+
}
|
|
70
|
+
editLabel(peerId, label) {
|
|
71
|
+
return this.handlers.editLabel(peerId, label);
|
|
72
|
+
}
|
|
73
|
+
deleteLabel(peerId, labelId) {
|
|
74
|
+
return this.handlers.deleteLabel(peerId, labelId);
|
|
75
|
+
}
|
|
76
|
+
getSlides(peerId, options) {
|
|
77
|
+
return this.handlers.getSlides(peerId, options);
|
|
78
|
+
}
|
|
79
|
+
createSlide(peerId, options) {
|
|
80
|
+
return this.handlers.createSlide(peerId, options);
|
|
81
|
+
}
|
|
82
|
+
editSlide(peerId, options) {
|
|
83
|
+
return this.handlers.editSlide(peerId, options);
|
|
84
|
+
}
|
|
85
|
+
deleteSlide(peerId, slideId) {
|
|
86
|
+
return this.handlers.deleteSlide(peerId, slideId);
|
|
87
|
+
}
|
|
28
88
|
}
|
|
29
89
|
exports.RTSeePresentationRemoteStorage = RTSeePresentationRemoteStorage;
|
|
30
90
|
//# sourceMappingURL=PresentationRemoteStorage.js.map
|
package/dist/live-storage/src/presentation/models/remote-storage/PresentationRemoteStorage.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PresentationRemoteStorage.js","sourceRoot":"","sources":["../../../../../../src/presentation/models/remote-storage/PresentationRemoteStorage.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"PresentationRemoteStorage.js","sourceRoot":"","sources":["../../../../../../src/presentation/models/remote-storage/PresentationRemoteStorage.ts"],"names":[],"mappings":";;;AAeA,MAAa,8BAA8B;IAGzC,YAAY,OAAmD;QAC7D,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC;IACnC,CAAC;IAED,UAAU,CAAC,MAAc,EAAE,OAAsB;QAC/C,OAAO,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnD,CAAC;IAED,UAAU,CAAC,QAAgB,EAAE,OAAiC;QAC5D,OAAO,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;IACrD,CAAC;IAED,UAAU,CAAC,QAAgB,EAAE,MAAc;QACzC,OAAO,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;IACpD,CAAC;IAED,iBAAiB,CAAC,QAAgB,EAAE,MAAc;QAChD,OAAO,IAAI,CAAC,QAAQ,CAAC,iBAAiB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;IAC3D,CAAC;IAED,YAAY,CAAC,QAAgB,EAAE,MAAc;QAC3C,OAAO,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC,MAAM,EAAE,Q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,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACpD,CAAC;IAED,SAAS,CAAC,MAAc,EAAE,OAAyB;QACjD,OAAO,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IACjD,CAAC;IAED,WAAW,CAAC,MAAc,EAAE,OAAe;QACzC,OAAO,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACpD,CAAC;CACF;AAjJD,wEAiJC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rtsee/live-storage",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.39",
|
|
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": "
|
|
49
|
+
"gitHead": "c0b08f7968545a4aad3fceef3ff1727c4058865d"
|
|
50
50
|
}
|