@rtsee/common 0.0.17 → 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.
Files changed (37) hide show
  1. package/dist/common/src/interfaces/conference/IConference.d.ts +3 -0
  2. package/dist/common/src/interfaces/conference/IConference.d.ts.map +1 -0
  3. package/dist/common/src/interfaces/conference/IConference.js +3 -0
  4. package/dist/common/src/interfaces/conference/IConference.js.map +1 -0
  5. package/dist/common/src/interfaces/conference/index.d.ts +1 -0
  6. package/dist/common/src/interfaces/conference/index.d.ts.map +1 -1
  7. package/dist/common/src/interfaces/conference/index.js +1 -0
  8. package/dist/common/src/interfaces/conference/index.js.map +1 -1
  9. package/dist/common/src/interfaces/index.d.ts +1 -0
  10. package/dist/common/src/interfaces/index.d.ts.map +1 -1
  11. package/dist/common/src/interfaces/index.js +1 -0
  12. package/dist/common/src/interfaces/index.js.map +1 -1
  13. package/dist/common/src/interfaces/presentation/RTSeePresentationOptions.d.ts +8 -0
  14. package/dist/common/src/interfaces/presentation/RTSeePresentationOptions.d.ts.map +1 -0
  15. package/dist/common/src/interfaces/presentation/RTSeePresentationOptions.js +3 -0
  16. package/dist/common/src/interfaces/presentation/RTSeePresentationOptions.js.map +1 -0
  17. package/dist/common/src/interfaces/presentation/RTSeeStory.d.ts +16 -0
  18. package/dist/common/src/interfaces/presentation/RTSeeStory.d.ts.map +1 -0
  19. package/dist/common/src/interfaces/presentation/RTSeeStory.js +3 -0
  20. package/dist/common/src/interfaces/presentation/RTSeeStory.js.map +1 -0
  21. package/dist/common/src/interfaces/presentation/RTSeeStorySlide.d.ts +8 -0
  22. package/dist/common/src/interfaces/presentation/RTSeeStorySlide.d.ts.map +1 -0
  23. package/dist/common/src/interfaces/presentation/RTSeeStorySlide.js +3 -0
  24. package/dist/common/src/interfaces/presentation/RTSeeStorySlide.js.map +1 -0
  25. package/dist/common/src/interfaces/presentation/StoriesQuery.d.ts +11 -0
  26. package/dist/common/src/interfaces/presentation/StoriesQuery.d.ts.map +1 -0
  27. package/dist/common/src/interfaces/presentation/StoriesQuery.js +3 -0
  28. package/dist/common/src/interfaces/presentation/StoriesQuery.js.map +1 -0
  29. package/dist/common/src/interfaces/presentation/StorySlidesQuery.d.ts +12 -0
  30. package/dist/common/src/interfaces/presentation/StorySlidesQuery.d.ts.map +1 -0
  31. package/dist/common/src/interfaces/presentation/StorySlidesQuery.js +3 -0
  32. package/dist/common/src/interfaces/presentation/StorySlidesQuery.js.map +1 -0
  33. package/dist/common/src/interfaces/presentation/index.d.ts +6 -0
  34. package/dist/common/src/interfaces/presentation/index.d.ts.map +1 -0
  35. package/dist/common/src/interfaces/presentation/index.js +22 -0
  36. package/dist/common/src/interfaces/presentation/index.js.map +1 -0
  37. package/package.json +2 -2
@@ -0,0 +1,3 @@
1
+ export interface IConference {
2
+ }
3
+ //# sourceMappingURL=IConference.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IConference.d.ts","sourceRoot":"","sources":["../../../../../src/interfaces/conference/IConference.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;CAE3B"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IConference.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IConference.js","sourceRoot":"","sources":["../../../../../src/interfaces/conference/IConference.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  export * from "./ConferenceSignals";
2
+ export * from './IConference';
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/interfaces/conference/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/interfaces/conference/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC"}
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./ConferenceSignals"), exports);
18
+ __exportStar(require("./IConference"), exports);
18
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/interfaces/conference/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/interfaces/conference/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,gDAA8B"}
@@ -1,4 +1,5 @@
1
1
  export * from "./messenger";
2
2
  export * from "./events-manager";
3
3
  export * from "./conference";
4
+ export * from "./presentation";
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -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,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=RTSeePresentationOptions.js.map
@@ -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,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=RTSeeStory.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RTSeeStory.js","sourceRoot":"","sources":["../../../../../src/interfaces/presentation/RTSeeStory.ts"],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
1
+ export interface IRTSeeStorySlide<T = any> {
2
+ text: string;
3
+ slideNumber: number;
4
+ imageUrl?: string;
5
+ widget?: string;
6
+ data?: T;
7
+ }
8
+ //# sourceMappingURL=RTSeeStorySlide.d.ts.map
@@ -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,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=RTSeeStorySlide.js.map
@@ -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,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=StoriesQuery.js.map
@@ -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,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=StorySlidesQuery.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StorySlidesQuery.js","sourceRoot":"","sources":["../../../../../src/interfaces/presentation/StorySlidesQuery.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ export * from './RTSeeStory';
2
+ export * from './RTSeeStorySlide';
3
+ export * from './StorySlidesQuery';
4
+ export * from './StoriesQuery';
5
+ export * from './RTSeePresentationOptions';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -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.17",
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": "3edfc8fb3e8212feed94909d2d62686ec69507f2"
34
+ "gitHead": "bb223780c5ffdbb9860ddf8612cde61cbb77701d"
35
35
  }