@rtsee/common 0.0.35 → 0.0.37

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 (43) hide show
  1. package/dist/common/src/interfaces/file-vault/FileMetadata.d.ts +23 -0
  2. package/dist/common/src/interfaces/file-vault/FileMetadata.d.ts.map +1 -0
  3. package/dist/common/src/interfaces/file-vault/FileMetadata.js +13 -0
  4. package/dist/common/src/interfaces/file-vault/FileMetadata.js.map +1 -0
  5. package/dist/common/src/interfaces/file-vault/Image.d.ts +9 -0
  6. package/dist/common/src/interfaces/file-vault/Image.d.ts.map +1 -0
  7. package/dist/common/src/interfaces/file-vault/Image.js +3 -0
  8. package/dist/common/src/interfaces/file-vault/Image.js.map +1 -0
  9. package/dist/common/src/interfaces/file-vault/index.d.ts +3 -0
  10. package/dist/common/src/interfaces/file-vault/index.d.ts.map +1 -0
  11. package/dist/common/src/interfaces/file-vault/index.js +19 -0
  12. package/dist/common/src/interfaces/file-vault/index.js.map +1 -0
  13. package/dist/common/src/interfaces/index.d.ts +1 -0
  14. package/dist/common/src/interfaces/index.d.ts.map +1 -1
  15. package/dist/common/src/interfaces/index.js +1 -0
  16. package/dist/common/src/interfaces/index.js.map +1 -1
  17. package/dist/common/src/interfaces/presentation/Category.d.ts +12 -0
  18. package/dist/common/src/interfaces/presentation/Category.d.ts.map +1 -0
  19. package/dist/common/src/interfaces/presentation/Category.js +3 -0
  20. package/dist/common/src/interfaces/presentation/Category.js.map +1 -0
  21. package/dist/common/src/interfaces/presentation/Label.d.ts +14 -0
  22. package/dist/common/src/interfaces/presentation/Label.d.ts.map +1 -0
  23. package/dist/common/src/interfaces/presentation/Label.js +3 -0
  24. package/dist/common/src/interfaces/presentation/Label.js.map +1 -0
  25. package/dist/common/src/interfaces/presentation/PresentationSignalingEvents.d.ts +23 -1
  26. package/dist/common/src/interfaces/presentation/PresentationSignalingEvents.d.ts.map +1 -1
  27. package/dist/common/src/interfaces/presentation/PresentationSignalingEvents.js +27 -0
  28. package/dist/common/src/interfaces/presentation/PresentationSignalingEvents.js.map +1 -1
  29. package/dist/common/src/interfaces/presentation/PresentationStorageHandlers.d.ts +28 -7
  30. package/dist/common/src/interfaces/presentation/PresentationStorageHandlers.d.ts.map +1 -1
  31. package/dist/common/src/interfaces/presentation/RTSeePresentationOptions.d.ts +3 -2
  32. package/dist/common/src/interfaces/presentation/RTSeePresentationOptions.d.ts.map +1 -1
  33. package/dist/common/src/interfaces/presentation/RTSeeStory.d.ts +7 -1
  34. package/dist/common/src/interfaces/presentation/RTSeeStory.d.ts.map +1 -1
  35. package/dist/common/src/interfaces/presentation/RTSeeStorySlide.d.ts +2 -0
  36. package/dist/common/src/interfaces/presentation/RTSeeStorySlide.d.ts.map +1 -1
  37. package/dist/common/src/interfaces/presentation/StoriesQuery.d.ts +5 -2
  38. package/dist/common/src/interfaces/presentation/StoriesQuery.d.ts.map +1 -1
  39. package/dist/common/src/interfaces/presentation/index.d.ts +2 -0
  40. package/dist/common/src/interfaces/presentation/index.d.ts.map +1 -1
  41. package/dist/common/src/interfaces/presentation/index.js +2 -0
  42. package/dist/common/src/interfaces/presentation/index.js.map +1 -1
  43. package/package.json +2 -2
@@ -0,0 +1,23 @@
1
+ export interface IRTSeeFileMetadata {
2
+ name: string;
3
+ type?: string;
4
+ [key: string]: any;
5
+ }
6
+ export declare enum RTSeeS3FileUploadResponseKeys {
7
+ BUCKET = "bucket",
8
+ CONTENT_LENGTH = "content-length",
9
+ CONTENT_TYPE = "content-type",
10
+ ETAG = "etag",
11
+ KEY = "key",
12
+ LOCATION = "location"
13
+ }
14
+ export interface IRTSeeFileS3UploadResponseBody {
15
+ [RTSeeS3FileUploadResponseKeys.BUCKET]: string;
16
+ [RTSeeS3FileUploadResponseKeys.CONTENT_LENGTH]: string;
17
+ [RTSeeS3FileUploadResponseKeys.CONTENT_TYPE]: string;
18
+ [RTSeeS3FileUploadResponseKeys.ETAG]: string;
19
+ [RTSeeS3FileUploadResponseKeys.KEY]: string;
20
+ [RTSeeS3FileUploadResponseKeys.LOCATION]: string;
21
+ [key: string]: any;
22
+ }
23
+ //# sourceMappingURL=FileMetadata.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FileMetadata.d.ts","sourceRoot":"","sources":["../../../../../src/interfaces/file-vault/FileMetadata.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED,oBAAY,6BAA6B;IACvC,MAAM,WAAW;IACjB,cAAc,mBAAmB;IACjC,YAAY,iBAAiB;IAC7B,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,QAAQ,aAAa;CACtB;AAED,MAAM,WAAW,8BAA8B;IAC7C,CAAC,6BAA6B,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IAC/C,CAAC,6BAA6B,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;IACvD,CAAC,6BAA6B,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC;IACrD,CAAC,6BAA6B,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IAC7C,CAAC,6BAA6B,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC;IAC5C,CAAC,6BAA6B,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IACjD,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB"}
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RTSeeS3FileUploadResponseKeys = void 0;
4
+ var RTSeeS3FileUploadResponseKeys;
5
+ (function (RTSeeS3FileUploadResponseKeys) {
6
+ RTSeeS3FileUploadResponseKeys["BUCKET"] = "bucket";
7
+ RTSeeS3FileUploadResponseKeys["CONTENT_LENGTH"] = "content-length";
8
+ RTSeeS3FileUploadResponseKeys["CONTENT_TYPE"] = "content-type";
9
+ RTSeeS3FileUploadResponseKeys["ETAG"] = "etag";
10
+ RTSeeS3FileUploadResponseKeys["KEY"] = "key";
11
+ RTSeeS3FileUploadResponseKeys["LOCATION"] = "location";
12
+ })(RTSeeS3FileUploadResponseKeys || (exports.RTSeeS3FileUploadResponseKeys = RTSeeS3FileUploadResponseKeys = {}));
13
+ //# sourceMappingURL=FileMetadata.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FileMetadata.js","sourceRoot":"","sources":["../../../../../src/interfaces/file-vault/FileMetadata.ts"],"names":[],"mappings":";;;AAMA,IAAY,6BAOX;AAPD,WAAY,6BAA6B;IACvC,kDAAiB,CAAA;IACjB,kEAAiC,CAAA;IACjC,8DAA6B,CAAA;IAC7B,8CAAa,CAAA;IACb,4CAAW,CAAA;IACX,sDAAqB,CAAA;AACvB,CAAC,EAPW,6BAA6B,6CAA7B,6BAA6B,QAOxC"}
@@ -0,0 +1,9 @@
1
+ export interface IRTSeeImage {
2
+ url: string;
3
+ width: number;
4
+ height: number;
5
+ aspectRatio: number;
6
+ smallVersion?: Omit<IRTSeeImage, 'smallVersion' | 'squareVersion'>;
7
+ squareVersion?: Omit<IRTSeeImage, 'squareVersion' | 'smallVersion'>;
8
+ }
9
+ //# sourceMappingURL=Image.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Image.d.ts","sourceRoot":"","sources":["../../../../../src/interfaces/file-vault/Image.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,IAAI,CAAC,WAAW,EAAE,cAAc,GAAG,eAAe,CAAC,CAAC;IACnE,aAAa,CAAC,EAAE,IAAI,CAAC,WAAW,EAAE,eAAe,GAAG,cAAc,CAAC,CAAC;CACrE"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=Image.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Image.js","sourceRoot":"","sources":["../../../../../src/interfaces/file-vault/Image.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export * from './Image';
2
+ export * from './FileMetadata';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/interfaces/file-vault/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC"}
@@ -0,0 +1,19 @@
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("./Image"), exports);
18
+ __exportStar(require("./FileMetadata"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/interfaces/file-vault/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,iDAA+B"}
@@ -2,4 +2,5 @@ export * from "./messenger";
2
2
  export * from "./events-manager";
3
3
  export * from "./conference";
4
4
  export * from "./presentation";
5
+ export * from "./file-vault";
5
6
  //# 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;AAC7B,cAAc,gBAAgB,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;AAC/B,cAAc,cAAc,CAAC"}
@@ -18,4 +18,5 @@ __exportStar(require("./messenger"), exports);
18
18
  __exportStar(require("./events-manager"), exports);
19
19
  __exportStar(require("./conference"), exports);
20
20
  __exportStar(require("./presentation"), exports);
21
+ __exportStar(require("./file-vault"), exports);
21
22
  //# 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;AAC7B,iDAA+B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,mDAAiC;AACjC,+CAA6B;AAC7B,iDAA+B;AAC/B,+CAA6B"}
@@ -0,0 +1,12 @@
1
+ import { IRTSeeStory } from "@rtsee/common";
2
+ export interface IRTSeeStoryCategory {
3
+ id: string;
4
+ name: string;
5
+ description: string;
6
+ stories: IRTSeeStory[];
7
+ }
8
+ export interface IRTSeeStoryCategoryRequestOptions {
9
+ id: string;
10
+ populate: boolean;
11
+ }
12
+ //# sourceMappingURL=Category.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Category.d.ts","sourceRoot":"","sources":["../../../../../src/interfaces/presentation/Category.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,WAAW,EAAE,CAAC;CACxB;AAED,MAAM,WAAW,iCAAiC;IAChD,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,OAAO,CAAC;CACnB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=Category.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Category.js","sourceRoot":"","sources":["../../../../../src/interfaces/presentation/Category.ts"],"names":[],"mappings":""}
@@ -0,0 +1,14 @@
1
+ import { IRTSeeStory } from "@rtsee/common";
2
+ export interface IRTSeeStoryLabel {
3
+ id: string;
4
+ name: string;
5
+ description: string;
6
+ symbol: string;
7
+ color: string;
8
+ stories: IRTSeeStory[];
9
+ }
10
+ export interface IRTSeeStoryLabelRequestOptions {
11
+ id: string;
12
+ populate: boolean;
13
+ }
14
+ //# sourceMappingURL=Label.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../../../src/interfaces/presentation/Label.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,eAAe,CAAC;AAE1C,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,WAAW,EAAE,CAAC;CACxB;AAED,MAAM,WAAW,8BAA8B;IAC7C,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,OAAO,CAAC;CACnB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=Label.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Label.js","sourceRoot":"","sources":["../../../../../src/interfaces/presentation/Label.ts"],"names":[],"mappings":""}
@@ -6,6 +6,28 @@ export declare enum PresentationSignalingEvents {
6
6
  JOIN_ROOM = "rtsee-join-room",
7
7
  ROOM_JOIN_CONFIRMED = "rtsee-room-join-confirmed",
8
8
  SLIDE_NAV_EVENT = "rtsee-slide-nav-event",
9
- JOIN_CALL = "rtsee-join-call"
9
+ JOIN_CALL = "rtsee-join-call",
10
+ GET_STORIES = "rtsee-get-stories",
11
+ GET_STORY = "rtsee-get-story",
12
+ CREATE_STORY = "rtsee-create-story",
13
+ EDIT_STORY = "rtsee-edit-story",
14
+ DELETE_STORY = "rtsee-delete-story",
15
+ PUBLISH_STORY = "rtsee-publish-story",
16
+ GET_CATEGORIES = "rtsee-get-story-categories",
17
+ GET_CATEGORY = "rtsee-get-story-category",
18
+ CREATE_CATEGORY = "rtsee-create-story-category",
19
+ EDIT_CATEGORY = "rtsee-edit-story-category",
20
+ DELETE_CATEGORY = "rtsee-delete-story-category",
21
+ ADD_STORY_TO_CATEGORY = "rtsee-add-story-to-category",
22
+ REMOVE_STORY_FROM_CATEGORY = "rtsee-remove-story-from-category",
23
+ GET_LABELS = "rtsee-get-story-labels",
24
+ GET_LABEL = "rtsee-get-story-label",
25
+ CREATE_LABEL = "rtsee-create-story-label",
26
+ EDIT_LABEL = "rtsee-edit-story-label",
27
+ DELETE_LABEL = "rtsee-delete-story-label",
28
+ GET_SLIDES = "rtsee-get-story-slides",
29
+ CREATE_SLIDE = "rtsee-create-story-slide",
30
+ EDIT_SLIDE = "rtsee-edit-story-slide",
31
+ DELETE_SLIDE = "rtsee-delete-story-slide"
10
32
  }
11
33
  //# sourceMappingURL=PresentationSignalingEvents.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PresentationSignalingEvents.d.ts","sourceRoot":"","sources":["../../../../../src/interfaces/presentation/PresentationSignalingEvents.ts"],"names":[],"mappings":"AAAA,oBAAY,2BAA2B;IACrC,SAAS,oBAAoB;IAC7B,aAAa,wBAAwB;IACrC,WAAW,sBAAsB;IACjC,YAAY,uBAAuB;IACnC,SAAS,oBAAoB;IAC7B,mBAAmB,8BAA8B;IACjD,eAAe,0BAA0B;IACzC,SAAS,oBAAoB;CAC9B"}
1
+ {"version":3,"file":"PresentationSignalingEvents.d.ts","sourceRoot":"","sources":["../../../../../src/interfaces/presentation/PresentationSignalingEvents.ts"],"names":[],"mappings":"AAAA,oBAAY,2BAA2B;IAErC,SAAS,oBAAoB;IAC7B,aAAa,wBAAwB;IACrC,WAAW,sBAAsB;IACjC,YAAY,uBAAuB;IACnC,SAAS,oBAAoB;IAC7B,mBAAmB,8BAA8B;IACjD,eAAe,0BAA0B;IACzC,SAAS,oBAAoB;IAG7B,WAAW,sBAAsB;IACjC,SAAS,oBAAoB;IAC7B,YAAY,uBAAuB;IACnC,UAAU,qBAAqB;IAC/B,YAAY,uBAAuB;IACnC,aAAa,wBAAwB;IAGrC,cAAc,+BAA+B;IAC7C,YAAY,6BAA6B;IACzC,eAAe,gCAAgC;IAC/C,aAAa,8BAA8B;IAC3C,eAAe,gCAAgC;IAC/C,qBAAqB,gCAAgC;IACrD,0BAA0B,qCAAqC;IAG/D,UAAU,2BAA2B;IACrC,SAAS,0BAA0B;IACnC,YAAY,6BAA6B;IACzC,UAAU,2BAA2B;IACrC,YAAY,6BAA6B;IAGzC,UAAU,2BAA2B;IACrC,YAAY,6BAA6B;IACzC,UAAU,2BAA2B;IACrC,YAAY,6BAA6B;CAC1C"}
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PresentationSignalingEvents = void 0;
4
4
  var PresentationSignalingEvents;
5
5
  (function (PresentationSignalingEvents) {
6
+ // room
6
7
  PresentationSignalingEvents["GET_ROOMS"] = "rtsee-get-rooms";
7
8
  PresentationSignalingEvents["ROOMS_FETCHED"] = "rtsee-rooms-fetched";
8
9
  PresentationSignalingEvents["CREATE_ROOM"] = "rtsee-create-room";
@@ -11,5 +12,31 @@ var PresentationSignalingEvents;
11
12
  PresentationSignalingEvents["ROOM_JOIN_CONFIRMED"] = "rtsee-room-join-confirmed";
12
13
  PresentationSignalingEvents["SLIDE_NAV_EVENT"] = "rtsee-slide-nav-event";
13
14
  PresentationSignalingEvents["JOIN_CALL"] = "rtsee-join-call";
15
+ // story
16
+ PresentationSignalingEvents["GET_STORIES"] = "rtsee-get-stories";
17
+ PresentationSignalingEvents["GET_STORY"] = "rtsee-get-story";
18
+ PresentationSignalingEvents["CREATE_STORY"] = "rtsee-create-story";
19
+ PresentationSignalingEvents["EDIT_STORY"] = "rtsee-edit-story";
20
+ PresentationSignalingEvents["DELETE_STORY"] = "rtsee-delete-story";
21
+ PresentationSignalingEvents["PUBLISH_STORY"] = "rtsee-publish-story";
22
+ // category
23
+ PresentationSignalingEvents["GET_CATEGORIES"] = "rtsee-get-story-categories";
24
+ PresentationSignalingEvents["GET_CATEGORY"] = "rtsee-get-story-category";
25
+ PresentationSignalingEvents["CREATE_CATEGORY"] = "rtsee-create-story-category";
26
+ PresentationSignalingEvents["EDIT_CATEGORY"] = "rtsee-edit-story-category";
27
+ PresentationSignalingEvents["DELETE_CATEGORY"] = "rtsee-delete-story-category";
28
+ PresentationSignalingEvents["ADD_STORY_TO_CATEGORY"] = "rtsee-add-story-to-category";
29
+ PresentationSignalingEvents["REMOVE_STORY_FROM_CATEGORY"] = "rtsee-remove-story-from-category";
30
+ // label
31
+ PresentationSignalingEvents["GET_LABELS"] = "rtsee-get-story-labels";
32
+ PresentationSignalingEvents["GET_LABEL"] = "rtsee-get-story-label";
33
+ PresentationSignalingEvents["CREATE_LABEL"] = "rtsee-create-story-label";
34
+ PresentationSignalingEvents["EDIT_LABEL"] = "rtsee-edit-story-label";
35
+ PresentationSignalingEvents["DELETE_LABEL"] = "rtsee-delete-story-label";
36
+ // slide
37
+ PresentationSignalingEvents["GET_SLIDES"] = "rtsee-get-story-slides";
38
+ PresentationSignalingEvents["CREATE_SLIDE"] = "rtsee-create-story-slide";
39
+ PresentationSignalingEvents["EDIT_SLIDE"] = "rtsee-edit-story-slide";
40
+ PresentationSignalingEvents["DELETE_SLIDE"] = "rtsee-delete-story-slide";
14
41
  })(PresentationSignalingEvents || (exports.PresentationSignalingEvents = PresentationSignalingEvents = {}));
15
42
  //# sourceMappingURL=PresentationSignalingEvents.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PresentationSignalingEvents.js","sourceRoot":"","sources":["../../../../../src/interfaces/presentation/PresentationSignalingEvents.ts"],"names":[],"mappings":";;;AAAA,IAAY,2BASX;AATD,WAAY,2BAA2B;IACrC,4DAA6B,CAAA;IAC7B,oEAAqC,CAAA;IACrC,gEAAiC,CAAA;IACjC,kEAAmC,CAAA;IACnC,4DAA6B,CAAA;IAC7B,gFAAiD,CAAA;IACjD,wEAAyC,CAAA;IACzC,4DAA6B,CAAA;AAC/B,CAAC,EATW,2BAA2B,2CAA3B,2BAA2B,QAStC"}
1
+ {"version":3,"file":"PresentationSignalingEvents.js","sourceRoot":"","sources":["../../../../../src/interfaces/presentation/PresentationSignalingEvents.ts"],"names":[],"mappings":";;;AAAA,IAAY,2BAwCX;AAxCD,WAAY,2BAA2B;IACrC,OAAO;IACP,4DAA6B,CAAA;IAC7B,oEAAqC,CAAA;IACrC,gEAAiC,CAAA;IACjC,kEAAmC,CAAA;IACnC,4DAA6B,CAAA;IAC7B,gFAAiD,CAAA;IACjD,wEAAyC,CAAA;IACzC,4DAA6B,CAAA;IAE7B,QAAQ;IACR,gEAAiC,CAAA;IACjC,4DAA6B,CAAA;IAC7B,kEAAmC,CAAA;IACnC,8DAA+B,CAAA;IAC/B,kEAAmC,CAAA;IACnC,oEAAqC,CAAA;IAErC,WAAW;IACX,4EAA6C,CAAA;IAC7C,wEAAyC,CAAA;IACzC,8EAA+C,CAAA;IAC/C,0EAA2C,CAAA;IAC3C,8EAA+C,CAAA;IAC/C,oFAAqD,CAAA;IACrD,8FAA+D,CAAA;IAE/D,QAAQ;IACR,oEAAqC,CAAA;IACrC,kEAAmC,CAAA;IACnC,wEAAyC,CAAA;IACzC,oEAAqC,CAAA;IACrC,wEAAyC,CAAA;IAEzC,QAAQ;IACR,oEAAqC,CAAA;IACrC,wEAAyC,CAAA;IACzC,oEAAqC,CAAA;IACrC,wEAAyC,CAAA;AAC3C,CAAC,EAxCW,2BAA2B,2CAA3B,2BAA2B,QAwCtC"}
@@ -1,10 +1,31 @@
1
- import { IPresentationRoom, IPresentationRoomOptions } from "@rtsee/common";
1
+ import { IPresentationRoom, IPresentationRoomOptions, IRTSeeStory, IRTSeeStoryCategory, IRTSeeStoryLabel, IRTSeeStoryLabelRequestOptions, IRTSeeStorySlide, IStoriesQuery, IStoriesQueryResponse, IStorySlidesQuery, IStorySlidesQueryResponse } from "@rtsee/common";
2
2
  export interface IPresentationStorageHandlers {
3
- createRoom: (options: IPresentationRoomOptions, peerId: string) => Promise<IPresentationRoom | null>;
4
- deleteRoom: (roomId: string, peerId: string) => Promise<IPresentationRoom | null>;
5
- onJoinRoomRequest: (roomId: string, peerId: string) => Promise<IPresentationRoom | null>;
6
- onRoomJoined: (roomId: string, peerId: string) => Promise<void>;
7
- onRoomLeft: (roomId: string, peerId: string) => Promise<void>;
8
- getRoomsForPeer: (peerId: string) => Promise<IPresentationRoom[]>;
3
+ createRoom(options: IPresentationRoomOptions, peerId: string): Promise<IPresentationRoom | null>;
4
+ deleteRoom(roomId: string, peerId: string): Promise<IPresentationRoom | null>;
5
+ onJoinRoomRequest(roomId: string, peerId: string): Promise<IPresentationRoom | null>;
6
+ onRoomJoined(roomId: string, peerId: string): Promise<void>;
7
+ onRoomLeft(roomId: string, peerId: string): Promise<void>;
8
+ getRoomsForPeer(peerId: string): Promise<IPresentationRoom[]>;
9
+ getStories(peerId: string, options: IStoriesQuery): Promise<IStoriesQueryResponse>;
10
+ getStory(peerId: string, storyId: string): Promise<IRTSeeStory[]>;
11
+ createStory(peerId: string, options: Omit<IRTSeeStory, 'id'>): Promise<IRTSeeStory>;
12
+ editStory(peerId: string, options: IRTSeeStory): Promise<IRTSeeStory>;
13
+ deleteStory(peerId: string, storyId: string): Promise<IRTSeeStory>;
14
+ publishStory(peerId: string, storyId: string): Promise<IRTSeeStory>;
15
+ getSlides(peerId: string, options: IStorySlidesQuery): Promise<IStorySlidesQueryResponse>;
16
+ createSlide(peerId: string, options: Omit<IRTSeeStorySlide, 'id'>): Promise<IRTSeeStorySlide>;
17
+ editSlide(peerId: string, options: IRTSeeStorySlide): Promise<IRTSeeStorySlide>;
18
+ deleteSlide(peerId: string, slideId: string): Promise<IRTSeeStorySlide>;
19
+ getCategories(peerId: string, populate?: boolean): Promise<IRTSeeStoryCategory[]>;
20
+ createCategory(peerId: string, category: Omit<IRTSeeStoryCategory, 'id'>): Promise<IRTSeeStoryCategory>;
21
+ deleteCategory(peerId: string, categoryId: string): Promise<IRTSeeStoryCategory | null>;
22
+ updateCategory(peerId: string, category: IRTSeeStoryCategory): Promise<IRTSeeStoryCategory | null>;
23
+ addStoryToCategory(peerId: string, storyId: string, categoryId: string): Promise<IRTSeeStory | null>;
24
+ removeStoryFromCategory(peerId: string, storyId: string, categoryId: string): Promise<IRTSeeStory | null>;
25
+ getLabels(peerId: string, populate?: boolean): Promise<IRTSeeStoryLabel[]>;
26
+ getLabel(peerId: string, options: IRTSeeStoryLabelRequestOptions): Promise<IRTSeeStoryLabel>;
27
+ createLabel(peerId: string, label: Omit<IRTSeeStoryLabel, 'id' | 'stories'>): Promise<IRTSeeStoryLabel>;
28
+ editLabel(peerId: string, label: IRTSeeStoryLabel): Promise<IRTSeeStoryLabel>;
29
+ deleteLabel(peerId: string, labelId: string): Promise<IRTSeeStoryLabel>;
9
30
  }
10
31
  //# sourceMappingURL=PresentationStorageHandlers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PresentationStorageHandlers.d.ts","sourceRoot":"","sources":["../../../../../src/interfaces/presentation/PresentationStorageHandlers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,iBAAiB,EAAE,wBAAwB,EAAC,MAAM,eAAe,CAAC;AAE1E,MAAM,WAAW,4BAA4B;IAC3C,UAAU,EAAE,CAAC,OAAO,EAAE,wBAAwB,EAAE,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC,iBAAiB,GAAG,IAAI,CAAC,CAAC;IACrG,UAAU,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC,iBAAiB,GAAG,IAAI,CAAC,CAAC;IAClF,iBAAiB,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC,iBAAiB,GAAG,IAAI,CAAC,CAAC;IACzF,YAAY,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAChE,UAAU,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9D,eAAe,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC,iBAAiB,EAAE,CAAC,CAAC;CACnE"}
1
+ {"version":3,"file":"PresentationStorageHandlers.d.ts","sourceRoot":"","sources":["../../../../../src/interfaces/presentation/PresentationStorageHandlers.ts"],"names":[],"mappings":"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"}
@@ -1,9 +1,10 @@
1
1
  import { IStoriesQuery, IStoriesQueryResponse, IStorySlidesQuery, IStorySlidesQueryResponse } from "@rtsee/common";
2
2
  import { IRTSeeCoreOptions } from "@rtsee/core";
3
3
  export interface IRTSeePresentationOptions extends IRTSeeCoreOptions {
4
- getStories: (options: IStoriesQuery) => Promise<IStoriesQueryResponse>;
5
- getSlides: (options: IStorySlidesQuery) => Promise<IStorySlidesQueryResponse>;
4
+ getStories?: (options: IStoriesQuery) => Promise<IStoriesQueryResponse>;
5
+ getSlides?: (options: IStorySlidesQuery) => Promise<IStorySlidesQueryResponse>;
6
6
  roomPrefix: string;
7
7
  step?: number;
8
+ companionUrl?: string;
8
9
  }
9
10
  //# sourceMappingURL=RTSeePresentationOptions.d.ts.map
@@ -1 +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,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf"}
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,CAAC,EAAE,CAAC,OAAO,EAAE,aAAa,KAAK,OAAO,CAAC,qBAAqB,CAAC,CAAE;IACzE,SAAS,CAAC,EAAE,CAAC,OAAO,EAAE,iBAAiB,KAAK,OAAO,CAAC,yBAAyB,CAAC,CAAC;IAC/E,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB"}
@@ -1,4 +1,4 @@
1
- import { IRTSeeStorySlide, IStorySlidesQuery, IStorySlidesQueryResponse } from "@rtsee/common";
1
+ import { IRTSeeStoryCategory, IRTSeeStoryLabel, IRTSeeStorySlide, IStorySlidesQuery, IStorySlidesQueryResponse } from "@rtsee/common";
2
2
  export interface IRTSeeStory {
3
3
  id: string;
4
4
  name: string;
@@ -7,7 +7,13 @@ export interface IRTSeeStory {
7
7
  averageReadTime?: number;
8
8
  description?: string;
9
9
  background?: string;
10
+ authorId?: string;
11
+ isPublished?: boolean;
10
12
  slides?: IRTSeeStorySlide[];
13
+ categoriesIds?: string[];
14
+ labelsIds?: string[];
15
+ categories?: Omit<IRTSeeStoryCategory, 'stories'>[];
16
+ labels?: Omit<IRTSeeStoryLabel, 'stories'>[];
11
17
  }
12
18
  export interface IRTSeeStoryOptions extends IRTSeeStory {
13
19
  getRemoteSlides: (options: IStorySlidesQuery) => Promise<IStorySlidesQueryResponse>;
@@ -1 +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"}
1
+ {"version":3,"file":"RTSeeStory.d.ts","sourceRoot":"","sources":["../../../../../src/interfaces/presentation/RTSeeStory.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,EACjB,yBAAyB,EAC1B,MAAM,eAAe,CAAC;AAEvB,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,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,MAAM,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAC5B,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,UAAU,CAAC,EAAE,IAAI,CAAC,mBAAmB,EAAE,SAAS,CAAC,EAAE,CAAC;IACpD,MAAM,CAAC,EAAE,IAAI,CAAC,gBAAgB,EAAE,SAAS,CAAC,EAAE,CAAC;CAC9C;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"}
@@ -1,4 +1,6 @@
1
1
  export interface IRTSeeStorySlide<T = any> {
2
+ id: string;
3
+ storyId: string;
2
4
  text: string;
3
5
  slideNumber: number;
4
6
  imageUrl?: string;
@@ -1 +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"}
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,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,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"}
@@ -1,6 +1,6 @@
1
- import { IRTSeeStory } from "@rtsee/common";
1
+ import { IRTSeeStory, IRTSeeStoryCategory } from "@rtsee/common";
2
2
  export interface IStoriesQuery {
3
- catalog?: string;
3
+ category?: string;
4
4
  offset?: number;
5
5
  limit?: number;
6
6
  }
@@ -8,4 +8,7 @@ export interface IStoriesQueryResponse {
8
8
  stories: IRTSeeStory[];
9
9
  total: number;
10
10
  }
11
+ export interface IStoriesCategoriesResponse {
12
+ categories: IRTSeeStoryCategory[];
13
+ }
11
14
  //# sourceMappingURL=StoriesQuery.d.ts.map
@@ -1 +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"}
1
+ {"version":3,"file":"StoriesQuery.d.ts","sourceRoot":"","sources":["../../../../../src/interfaces/presentation/StoriesQuery.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAE,mBAAmB,EAAC,MAAM,eAAe,CAAC;AAE/D,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,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;AAED,MAAM,WAAW,0BAA0B;IACzC,UAAU,EAAE,mBAAmB,EAAE,CAAC;CACnC"}
@@ -7,4 +7,6 @@ export * from './Room';
7
7
  export * from './PresentationStorageHandlers';
8
8
  export * from './PresentationSignalingEvents';
9
9
  export * from './SlideNavigationEvent';
10
+ export * from './Category';
11
+ export * from './Label';
10
12
  //# sourceMappingURL=index.d.ts.map
@@ -1 +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;AAC3C,cAAc,QAAQ,CAAC;AACvB,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,wBAAwB,CAAC"}
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;AAC3C,cAAc,QAAQ,CAAC;AACvB,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,wBAAwB,CAAC;AACvC,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC"}
@@ -23,4 +23,6 @@ __exportStar(require("./Room"), exports);
23
23
  __exportStar(require("./PresentationStorageHandlers"), exports);
24
24
  __exportStar(require("./PresentationSignalingEvents"), exports);
25
25
  __exportStar(require("./SlideNavigationEvent"), exports);
26
+ __exportStar(require("./Category"), exports);
27
+ __exportStar(require("./Label"), exports);
26
28
  //# sourceMappingURL=index.js.map
@@ -1 +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;AAC3C,yCAAuB;AACvB,gEAA8C;AAC9C,gEAA8C;AAC9C,yDAAuC"}
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;AAC3C,yCAAuB;AACvB,gEAA8C;AAC9C,gEAA8C;AAC9C,yDAAuC;AACvC,6CAA2B;AAC3B,0CAAwB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rtsee/common",
3
- "version": "0.0.35",
3
+ "version": "0.0.37",
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": "af2aac90a2382bfc482e449e19f69a3ac81e081a"
34
+ "gitHead": "c0b08f7968545a4aad3fceef3ff1727c4058865d"
35
35
  }