@circle-vibe/shared 1.1.30 → 1.1.32
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/build/index.js +1 -1
- package/build/src/enums/file-video-server-socket-keys.d.ts +1 -1
- package/build/src/enums/file-video-server-socket-keys.js +10 -10
- package/build/src/enums/file-video-server-socket-keys.js.map +1 -1
- package/build/src/enums/index.d.ts +1 -0
- package/build/src/enums/index.js +1 -0
- package/build/src/enums/index.js.map +1 -1
- package/build/src/types/chat-socket-params.d.ts +2 -2
- package/build/src/types/{file-vido-socket-params.js → file-video-socket-params.js} +1 -1
- package/build/src/types/file-video-socket-params.js.map +1 -0
- package/build/src/types/index.d.ts +1 -1
- package/build/src/types/index.js +1 -1
- package/build/src/types/index.js.map +1 -1
- package/build/src/utils/compose-avatar-fallback/compose-avatar-fallback.d.ts +2 -0
- package/build/src/utils/compose-avatar-fallback/compose-avatar-fallback.js +10 -0
- package/build/src/utils/compose-avatar-fallback/compose-avatar-fallback.js.map +1 -0
- package/build/src/utils/compose-avatar-fallback/index.d.ts +1 -0
- package/build/src/utils/compose-avatar-fallback/index.js +18 -0
- package/build/src/utils/compose-avatar-fallback/index.js.map +1 -0
- package/build/src/utils/index.d.ts +1 -0
- package/build/src/utils/index.js +1 -0
- package/build/src/utils/index.js.map +1 -1
- package/package.json +1 -1
- package/build/src/types/file-vido-socket-params.js.map +0 -1
- /package/build/src/types/{file-vido-socket-params.d.ts → file-video-socket-params.d.ts} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
var
|
|
5
|
-
(function (
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
})(
|
|
3
|
+
exports.FileVideoServerSocketKeys = void 0;
|
|
4
|
+
var FileVideoServerSocketKeys;
|
|
5
|
+
(function (FileVideoServerSocketKeys) {
|
|
6
|
+
FileVideoServerSocketKeys["START_VIDEO_UPLOAD"] = "START_VIDEO_UPLOAD";
|
|
7
|
+
FileVideoServerSocketKeys["UPLOAD_VIDEO_STARTED"] = "UPLOAD_VIDEO_STARTED";
|
|
8
|
+
FileVideoServerSocketKeys["UPLOAD_VIDEO_ERROR"] = "UPLOAD_VIDEO_ERROR";
|
|
9
|
+
FileVideoServerSocketKeys["UPLOAD_VIDEO_END"] = "UPLOAD_VIDEO_END";
|
|
10
|
+
FileVideoServerSocketKeys["UPLOAD_VIDEO_SUCCESS"] = "UPLOAD_VIDEO_SUCCESS";
|
|
11
|
+
FileVideoServerSocketKeys["UPLOAD_VIDEO_CHUNK"] = "UPLOAD_VIDEO_CHUNK";
|
|
12
|
+
})(FileVideoServerSocketKeys = exports.FileVideoServerSocketKeys || (exports.FileVideoServerSocketKeys = {}));
|
|
13
13
|
//# sourceMappingURL=file-video-server-socket-keys.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-video-server-socket-keys.js","sourceRoot":"","sources":["../../../src/enums/file-video-server-socket-keys.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"file-video-server-socket-keys.js","sourceRoot":"","sources":["../../../src/enums/file-video-server-socket-keys.ts"],"names":[],"mappings":";;;AAAA,IAAY,yBAOX;AAPD,WAAY,yBAAyB;IACnC,sEAAyC,CAAA;IACzC,0EAA6C,CAAA;IAC7C,sEAAyC,CAAA;IACzC,kEAAqC,CAAA;IACrC,0EAA6C,CAAA;IAC7C,sEAAyC,CAAA;AAC3C,CAAC,EAPW,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAOpC"}
|
package/build/src/enums/index.js
CHANGED
|
@@ -28,4 +28,5 @@ __exportStar(require("./message-file-entity-type"), exports);
|
|
|
28
28
|
__exportStar(require("./sort-direction"), exports);
|
|
29
29
|
__exportStar(require("./user-chat-status"), exports);
|
|
30
30
|
__exportStar(require("./gateway-namespaces"), exports);
|
|
31
|
+
__exportStar(require("./file-video-server-socket-keys"), exports);
|
|
31
32
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,8CAA4B;AAC5B,mDAAiC;AACjC,iDAA+B;AAC/B,8CAA4B;AAC5B,qDAAmC;AACnC,qDAAmC;AACnC,iDAA+B;AAC/B,8CAA4B;AAC5B,mDAAiC;AACjC,6DAA2C;AAC3C,mDAAiC;AACjC,qDAAmC;AACnC,uDAAqC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,8CAA4B;AAC5B,mDAAiC;AACjC,iDAA+B;AAC/B,8CAA4B;AAC5B,qDAAmC;AACnC,qDAAmC;AACnC,iDAA+B;AAC/B,8CAA4B;AAC5B,mDAAiC;AACjC,6DAA2C;AAC3C,mDAAiC;AACjC,qDAAmC;AACnC,uDAAqC;AACrC,kEAAgD"}
|
|
@@ -21,7 +21,7 @@ export interface SendMessageChatSocketParams {
|
|
|
21
21
|
content: string;
|
|
22
22
|
chatId: number;
|
|
23
23
|
senderId: number;
|
|
24
|
-
threadId
|
|
24
|
+
threadId?: number;
|
|
25
25
|
hidden: boolean;
|
|
26
26
|
messageType: MessageType;
|
|
27
27
|
}
|
|
@@ -29,7 +29,7 @@ export interface SendFileMessagePartChatSocketParams {
|
|
|
29
29
|
content: string;
|
|
30
30
|
chatId: number;
|
|
31
31
|
senderId: number;
|
|
32
|
-
threadId
|
|
32
|
+
threadId?: number;
|
|
33
33
|
hidden: boolean;
|
|
34
34
|
messageType: MessageType;
|
|
35
35
|
fileMeta: SendFileMessageMetaInput;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file-video-socket-params.js","sourceRoot":"","sources":["../../../src/types/file-video-socket-params.ts"],"names":[],"mappings":""}
|
package/build/src/types/index.js
CHANGED
|
@@ -17,5 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./custom-css-variables"), exports);
|
|
18
18
|
__exportStar(require("./extended-react-functional-component"), exports);
|
|
19
19
|
__exportStar(require("./chat-socket-params"), exports);
|
|
20
|
-
__exportStar(require("./file-
|
|
20
|
+
__exportStar(require("./file-video-socket-params"), exports);
|
|
21
21
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAuC;AACvC,wEAAsD;AACtD,uDAAqC;AACrC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAuC;AACvC,wEAAsD;AACtD,uDAAqC;AACrC,6DAA2C"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.composeAvatarFallback = void 0;
|
|
4
|
+
const composeAvatarFallback = (user) => [user.username, user.surname]
|
|
5
|
+
.filter(Boolean)
|
|
6
|
+
.map((line) => line.charAt(0))
|
|
7
|
+
.join("")
|
|
8
|
+
.toUpperCase();
|
|
9
|
+
exports.composeAvatarFallback = composeAvatarFallback;
|
|
10
|
+
//# sourceMappingURL=compose-avatar-fallback.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compose-avatar-fallback.js","sourceRoot":"","sources":["../../../../src/utils/compose-avatar-fallback/compose-avatar-fallback.ts"],"names":[],"mappings":";;;AAEO,MAAM,qBAAqB,GAAG,CAAC,IAAU,EAAE,EAAE,CAClD,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC;KAC1B,MAAM,CAAC,OAAO,CAAC;KACf,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;KAC7B,IAAI,CAAC,EAAE,CAAC;KACR,WAAW,EAAE,CAAC;AALN,QAAA,qBAAqB,yBAKf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './compose-avatar-fallback';
|
|
@@ -0,0 +1,18 @@
|
|
|
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("./compose-avatar-fallback"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/utils/compose-avatar-fallback/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C"}
|
package/build/src/utils/index.js
CHANGED
|
@@ -18,4 +18,5 @@ __exportStar(require("./get-formik-form-control-value"), exports);
|
|
|
18
18
|
__exportStar(require("./is-formik-field-required"), exports);
|
|
19
19
|
__exportStar(require("./get-formik-form-control-error"), exports);
|
|
20
20
|
__exportStar(require("./is-token-expired"), exports);
|
|
21
|
+
__exportStar(require("./compose-avatar-fallback"), exports);
|
|
21
22
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/utils/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kEAAgD;AAChD,6DAA2C;AAC3C,kEAAgD;AAChD,qDAAmC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/utils/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kEAAgD;AAChD,6DAA2C;AAC3C,kEAAgD;AAChD,qDAAmC;AACnC,4DAA0C"}
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"file-vido-socket-params.js","sourceRoot":"","sources":["../../../src/types/file-vido-socket-params.ts"],"names":[],"mappings":""}
|
|
File without changes
|