@rtsee/common 0.0.18 → 0.0.19
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/common/src/interfaces/index.d.ts +1 -0
- package/dist/common/src/interfaces/index.d.ts.map +1 -1
- package/dist/common/src/interfaces/index.js +1 -0
- package/dist/common/src/interfaces/index.js.map +1 -1
- package/dist/common/src/interfaces/presentation/RTSeePresentationOptions.d.ts +8 -0
- package/dist/common/src/interfaces/presentation/RTSeePresentationOptions.d.ts.map +1 -0
- package/dist/common/src/interfaces/presentation/RTSeePresentationOptions.js +3 -0
- package/dist/common/src/interfaces/presentation/RTSeePresentationOptions.js.map +1 -0
- package/dist/common/src/interfaces/presentation/RTSeeStory.d.ts +16 -0
- package/dist/common/src/interfaces/presentation/RTSeeStory.d.ts.map +1 -0
- package/dist/common/src/interfaces/presentation/RTSeeStory.js +3 -0
- package/dist/common/src/interfaces/presentation/RTSeeStory.js.map +1 -0
- package/dist/common/src/interfaces/presentation/RTSeeStorySlide.d.ts +8 -0
- package/dist/common/src/interfaces/presentation/RTSeeStorySlide.d.ts.map +1 -0
- package/dist/common/src/interfaces/presentation/RTSeeStorySlide.js +3 -0
- package/dist/common/src/interfaces/presentation/RTSeeStorySlide.js.map +1 -0
- package/dist/common/src/interfaces/presentation/StoriesQuery.d.ts +11 -0
- package/dist/common/src/interfaces/presentation/StoriesQuery.d.ts.map +1 -0
- package/dist/common/src/interfaces/presentation/StoriesQuery.js +3 -0
- package/dist/common/src/interfaces/presentation/StoriesQuery.js.map +1 -0
- package/dist/common/src/interfaces/presentation/StorySlidesQuery.d.ts +12 -0
- package/dist/common/src/interfaces/presentation/StorySlidesQuery.d.ts.map +1 -0
- package/dist/common/src/interfaces/presentation/StorySlidesQuery.js +3 -0
- package/dist/common/src/interfaces/presentation/StorySlidesQuery.js.map +1 -0
- package/dist/common/src/interfaces/presentation/index.d.ts +6 -0
- package/dist/common/src/interfaces/presentation/index.d.ts.map +1 -0
- package/dist/common/src/interfaces/presentation/index.js +22 -0
- package/dist/common/src/interfaces/presentation/index.js.map +1 -0
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC"}
|
|
@@ -17,4 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./messenger"), exports);
|
|
18
18
|
__exportStar(require("./events-manager"), exports);
|
|
19
19
|
__exportStar(require("./conference"), exports);
|
|
20
|
+
__exportStar(require("./presentation"), exports);
|
|
20
21
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,mDAAiC;AACjC,+CAA6B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,mDAAiC;AACjC,+CAA6B;AAC7B,iDAA+B"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IStoriesQuery, IStoriesQueryResponse, IStorySlidesQuery, IStorySlidesQueryResponse } from "@rtsee/common";
|
|
2
|
+
import { IRTSeeCoreOptions } from "@rtsee/core";
|
|
3
|
+
export interface IRTSeePresentationOptions extends IRTSeeCoreOptions {
|
|
4
|
+
getStories: (options: IStoriesQuery) => Promise<IStoriesQueryResponse>;
|
|
5
|
+
getSlides: (options: IStorySlidesQuery) => Promise<IStorySlidesQueryResponse>;
|
|
6
|
+
step?: number;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=RTSeePresentationOptions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RTSeePresentationOptions.d.ts","sourceRoot":"","sources":["../../../../../src/interfaces/presentation/RTSeePresentationOptions.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,qBAAqB,EACrB,iBAAiB,EACjB,yBAAyB,EAC1B,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAEhD,MAAM,WAAW,yBAA0B,SAAQ,iBAAiB;IAClE,UAAU,EAAE,CAAC,OAAO,EAAE,aAAa,KAAK,OAAO,CAAC,qBAAqB,CAAC,CAAE;IACxE,SAAS,EAAE,CAAC,OAAO,EAAE,iBAAiB,KAAK,OAAO,CAAC,yBAAyB,CAAC,CAAC;IAC9E,IAAI,CAAC,EAAE,MAAM,CAAC;CACf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RTSeePresentationOptions.js","sourceRoot":"","sources":["../../../../../src/interfaces/presentation/RTSeePresentationOptions.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { IRTSeeStorySlide, IStorySlidesQuery, IStorySlidesQueryResponse } from "@rtsee/common";
|
|
2
|
+
export interface IRTSeeStory {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
imageUrl: string;
|
|
6
|
+
totalSlides: number;
|
|
7
|
+
averageReadTime?: number;
|
|
8
|
+
description?: string;
|
|
9
|
+
background?: string;
|
|
10
|
+
slides?: IRTSeeStorySlide[];
|
|
11
|
+
}
|
|
12
|
+
export interface IRTSeeStoryOptions extends IRTSeeStory {
|
|
13
|
+
getRemoteSlides: (options: IStorySlidesQuery) => Promise<IStorySlidesQueryResponse>;
|
|
14
|
+
preloadBuffer?: number;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=RTSeeStory.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RTSeeStory.d.ts","sourceRoot":"","sources":["../../../../../src/interfaces/presentation/RTSeeStory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,gBAAgB,EAAE,iBAAiB,EAAE,yBAAyB,EAAC,MAAM,eAAe,CAAC;AAE7F,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,gBAAgB,EAAE,CAAC;CAC7B;AAED,MAAM,WAAW,kBAAmB,SAAQ,WAAW;IACrD,eAAe,EAAE,CAAC,OAAO,EAAE,iBAAiB,KAAK,OAAO,CAAC,yBAAyB,CAAC,CAAC;IACpF,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RTSeeStory.js","sourceRoot":"","sources":["../../../../../src/interfaces/presentation/RTSeeStory.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RTSeeStorySlide.d.ts","sourceRoot":"","sources":["../../../../../src/interfaces/presentation/RTSeeStorySlide.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB,CAAC,CAAC,GAAG,GAAG;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,CAAC,CAAC;CACV"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RTSeeStorySlide.js","sourceRoot":"","sources":["../../../../../src/interfaces/presentation/RTSeeStorySlide.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IRTSeeStory } from "@rtsee/common";
|
|
2
|
+
export interface IStoriesQuery {
|
|
3
|
+
catalog?: string;
|
|
4
|
+
offset?: number;
|
|
5
|
+
limit?: number;
|
|
6
|
+
}
|
|
7
|
+
export interface IStoriesQueryResponse {
|
|
8
|
+
stories: IRTSeeStory[];
|
|
9
|
+
total: number;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=StoriesQuery.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StoriesQuery.d.ts","sourceRoot":"","sources":["../../../../../src/interfaces/presentation/StoriesQuery.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,eAAe,CAAC;AAE1C,MAAM,WAAW,aAAa;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,WAAW,EAAE,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;CACf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StoriesQuery.js","sourceRoot":"","sources":["../../../../../src/interfaces/presentation/StoriesQuery.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IRTSeeStorySlide, RTSeeMessengerSearchDirection } from "@rtsee/common";
|
|
2
|
+
export interface IStorySlidesQuery {
|
|
3
|
+
storyId: string;
|
|
4
|
+
slideNumber: number;
|
|
5
|
+
direction: RTSeeMessengerSearchDirection;
|
|
6
|
+
limit: number;
|
|
7
|
+
}
|
|
8
|
+
export interface IStorySlidesQueryResponse {
|
|
9
|
+
slides: IRTSeeStorySlide[];
|
|
10
|
+
total: number;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=StorySlidesQuery.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StorySlidesQuery.d.ts","sourceRoot":"","sources":["../../../../../src/interfaces/presentation/StorySlidesQuery.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,gBAAgB,EAAE,6BAA6B,EAAC,MAAM,eAAe,CAAC;AAE9E,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,6BAA6B,CAAC;IACzC,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,yBAAyB;IACxC,MAAM,EAAE,gBAAgB,EAAE,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;CACf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StorySlidesQuery.js","sourceRoot":"","sources":["../../../../../src/interfaces/presentation/StorySlidesQuery.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/interfaces/presentation/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
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("./RTSeeStory"), exports);
|
|
18
|
+
__exportStar(require("./RTSeeStorySlide"), exports);
|
|
19
|
+
__exportStar(require("./StorySlidesQuery"), exports);
|
|
20
|
+
__exportStar(require("./StoriesQuery"), exports);
|
|
21
|
+
__exportStar(require("./RTSeePresentationOptions"), exports);
|
|
22
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/interfaces/presentation/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,oDAAkC;AAClC,qDAAmC;AACnC,iDAA+B;AAC/B,6DAA2C"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rtsee/common",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.19",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "dist/common/src/index",
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
"publishConfig": {
|
|
32
32
|
"access": "public"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "bb223780c5ffdbb9860ddf8612cde61cbb77701d"
|
|
35
35
|
}
|