@jealous-robot-dev/shared-types-responses 1.55.15 → 1.55.17

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.
@@ -1,9 +1,19 @@
1
1
  import { EventTypes, LiveStudioParticipRole } from "@jealous-robot-dev/drophr-common";
2
+ import { MessengerMedia } from "../messenger";
3
+ export declare enum LiveStudioResponses {
4
+ OK = "ok",
5
+ JOIN_LATER = "join later",
6
+ INVALID_URL = "invalid url",
7
+ SESSION_ENDED = "session ended",
8
+ NOT_ALLOWED = "User not allowed",
9
+ ALREADY_JOINED = "User already joined"
10
+ }
2
11
  export interface LiveStudioMessage {
3
12
  ts: number;
4
13
  key: string;
5
- text: string;
14
+ text?: string;
6
15
  member: string;
16
+ file?: MessengerMedia;
7
17
  }
8
18
  export interface LiveStudioConversation {
9
19
  id: string;
@@ -1,2 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LiveStudioResponses = void 0;
4
+ var LiveStudioResponses;
5
+ (function (LiveStudioResponses) {
6
+ LiveStudioResponses["OK"] = "ok";
7
+ LiveStudioResponses["JOIN_LATER"] = "join later";
8
+ LiveStudioResponses["INVALID_URL"] = "invalid url";
9
+ LiveStudioResponses["SESSION_ENDED"] = "session ended";
10
+ LiveStudioResponses["NOT_ALLOWED"] = "User not allowed";
11
+ LiveStudioResponses["ALREADY_JOINED"] = "User already joined";
12
+ })(LiveStudioResponses = exports.LiveStudioResponses || (exports.LiveStudioResponses = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jealous-robot-dev/shared-types-responses",
3
- "version": "1.55.15",
3
+ "version": "1.55.17",
4
4
  "description": "Meetle common types of API responses",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",