@amityco/ts-sdk 7.5.4-97804e95.0 → 7.5.4-db55aa2.0
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/@types/domains/content.d.ts +2 -8
- package/dist/@types/domains/content.d.ts.map +1 -1
- package/dist/@types/domains/feed.d.ts +1 -1
- package/dist/@types/domains/feed.d.ts.map +1 -1
- package/dist/@types/domains/file.d.ts +0 -1
- package/dist/@types/domains/file.d.ts.map +1 -1
- package/dist/@types/domains/post.d.ts +0 -3
- package/dist/@types/domains/post.d.ts.map +1 -1
- package/dist/feedRepository/api/getCustomRankingGlobalFeed.d.ts +1 -1
- package/dist/feedRepository/api/getCustomRankingGlobalFeed.d.ts.map +1 -1
- package/dist/fileRepository/api/index.d.ts +0 -1
- package/dist/fileRepository/api/index.d.ts.map +1 -1
- package/dist/index.cjs.js +1 -109
- package/dist/index.esm.js +1 -109
- package/dist/index.umd.js +2 -2
- package/dist/messagePreview/utils/getSubChannelMessagePreviewWithUser.d.ts +1 -1
- package/dist/postRepository/api/index.d.ts +0 -1
- package/dist/postRepository/api/index.d.ts.map +1 -1
- package/dist/utils/linkedObject/postLinkedObject.d.ts.map +1 -1
- package/dist/utils/postTypePredicate.d.ts +0 -1
- package/dist/utils/postTypePredicate.d.ts.map +1 -1
- package/dist/utils/tests/dummy/comment.d.ts +1 -1
- package/package.json +1 -1
- package/src/@types/domains/content.ts +0 -10
- package/src/@types/domains/feed.ts +1 -1
- package/src/@types/domains/file.ts +0 -1
- package/src/@types/domains/post.ts +0 -4
- package/src/feedRepository/api/getCustomRankingGlobalFeed.ts +1 -1
- package/src/fileRepository/api/index.ts +0 -1
- package/src/postRepository/api/index.ts +0 -2
- package/src/postRepository/api/queryPosts.ts +1 -1
- package/src/utils/linkedObject/postLinkedObject.ts +1 -12
- package/src/utils/postTypePredicate.ts +0 -10
- package/dist/fileRepository/api/uploadClip.d.ts +0 -17
- package/dist/fileRepository/api/uploadClip.d.ts.map +0 -1
- package/dist/postRepository/api/createClipPost.d.ts +0 -32
- package/dist/postRepository/api/createClipPost.d.ts.map +0 -1
- package/src/fileRepository/api/uploadClip.ts +0 -71
- package/src/postRepository/api/createClipPost.ts +0 -62
|
@@ -19,7 +19,7 @@ export declare enum ContentFlagReasonEnum {
|
|
|
19
19
|
declare global {
|
|
20
20
|
namespace Amity {
|
|
21
21
|
type ContentFlagReason = Exclude<`${ContentFlagReasonEnum}`, `${ContentFlagReasonEnum.Others}`> | (string & {});
|
|
22
|
-
type ContentType = 'text' | 'image' | 'file' | 'video' | 'poll' | 'json' | 'liveStream' |
|
|
22
|
+
type ContentType = 'text' | 'image' | 'file' | 'video' | 'poll' | 'json' | 'liveStream' | string;
|
|
23
23
|
type ContentFeedType = ValueOf<typeof ContentFeedType>;
|
|
24
24
|
type ContentDataText = {
|
|
25
25
|
text: string;
|
|
@@ -42,19 +42,13 @@ declare global {
|
|
|
42
42
|
[K in Amity.VideoSize]?: Amity.File<'video'>['fileId'];
|
|
43
43
|
};
|
|
44
44
|
};
|
|
45
|
-
type ContentDataClip = {
|
|
46
|
-
thumbnailFileId: Amity.File<'image'>['fileId'];
|
|
47
|
-
fileId: Amity.File<'clip'>['fileId'];
|
|
48
|
-
isMuted?: boolean;
|
|
49
|
-
displayMode?: Amity.ClipDisplayMode;
|
|
50
|
-
};
|
|
51
45
|
type ContentDataPoll = {
|
|
52
46
|
pollId: Amity.Poll['pollId'];
|
|
53
47
|
};
|
|
54
48
|
type ContentDataStream = {
|
|
55
49
|
streamId: Amity.Stream['streamId'];
|
|
56
50
|
};
|
|
57
|
-
type ContentData<T extends ContentType> = T extends 'text' ? ContentDataText : T extends 'file' ? ContentDataFile : T extends 'image' ? ContentDataImage : T extends 'video' ? ContentDataVideo : T extends 'poll' ? ContentDataPoll : T extends 'liveStream' ? ContentDataStream : T extends '
|
|
51
|
+
type ContentData<T extends ContentType> = T extends 'text' ? ContentDataText : T extends 'file' ? ContentDataFile : T extends 'image' ? ContentDataImage : T extends 'video' ? ContentDataVideo : T extends 'poll' ? ContentDataPoll : T extends 'liveStream' ? ContentDataStream : T extends 'json' ? Record<string, unknown> : T extends string ? string | Record<string, unknown> : never;
|
|
58
52
|
type Content<T extends ContentType> = {
|
|
59
53
|
dataType?: T;
|
|
60
54
|
dataTypes?: T[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content.d.ts","sourceRoot":"","sources":["../../../src/@types/domains/content.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe;;;;;;EAM1B,CAAC;AAEH,oBAAY,qBAAqB;IAC/B,mBAAmB,iCAAiC;IACpD,oBAAoB,2BAA2B;IAC/C,iBAAiB,yBAAyB;IAC1C,4BAA4B,oCAAoC;IAChE,sBAAsB,2CAA2C;IACjE,qBAAqB,6BAA6B;IAClD,WAAW,kBAAkB;IAC7B,gBAAgB,wCAAwC;IACxD,MAAM,WAAW;CAClB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,KAAK,CAAC;QACd,KAAK,iBAAiB,GAClB,OAAO,CAAC,GAAG,qBAAqB,EAAE,EAAE,GAAG,qBAAqB,CAAC,MAAM,EAAE,CAAC,GACtE,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;QAElB,KAAK,WAAW,GACZ,MAAM,GACN,OAAO,GACP,MAAM,GACN,OAAO,GACP,MAAM,GACN,MAAM,GACN,YAAY,GACZ,MAAM,
|
|
1
|
+
{"version":3,"file":"content.d.ts","sourceRoot":"","sources":["../../../src/@types/domains/content.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe;;;;;;EAM1B,CAAC;AAEH,oBAAY,qBAAqB;IAC/B,mBAAmB,iCAAiC;IACpD,oBAAoB,2BAA2B;IAC/C,iBAAiB,yBAAyB;IAC1C,4BAA4B,oCAAoC;IAChE,sBAAsB,2CAA2C;IACjE,qBAAqB,6BAA6B;IAClD,WAAW,kBAAkB;IAC7B,gBAAgB,wCAAwC;IACxD,MAAM,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,GACjB,mBAAmB,GACnB,KAAK,CAAC;KACX;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feed.d.ts","sourceRoot":"","sources":["../../../src/@types/domains/feed.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC;AAEV,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,KAAK,CAAC;QACd,KAAK,IAAI,GAAG;YACV,MAAM,EAAE,MAAM,CAAC;YACf,QAAQ,EAAE,WAAW,GAAG,WAAW,CAAC;YACpC,UAAU,EAAE,OAAO,CAAC,KAAK,CAAC,MAAM,EAAE,WAAW,GAAG,MAAM,CAAC,CAAC;YACxD,QAAQ,EAAE,MAAM,CAAC;YACjB,SAAS,EAAE,MAAM,CAAC;SACnB,GAAG,KAAK,CAAC,UAAU,CAAC;QAErB,KAAK,eAAe,GAAG;YACrB,QAAQ,CAAC,EAAE,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,YAAY,
|
|
1
|
+
{"version":3,"file":"feed.d.ts","sourceRoot":"","sources":["../../../src/@types/domains/feed.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC;AAEV,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,KAAK,CAAC;QACd,KAAK,IAAI,GAAG;YACV,MAAM,EAAE,MAAM,CAAC;YACf,QAAQ,EAAE,WAAW,GAAG,WAAW,CAAC;YACpC,UAAU,EAAE,OAAO,CAAC,KAAK,CAAC,MAAM,EAAE,WAAW,GAAG,MAAM,CAAC,CAAC;YACxD,QAAQ,EAAE,MAAM,CAAC;YACjB,SAAS,EAAE,MAAM,CAAC;SACnB,GAAG,KAAK,CAAC,UAAU,CAAC;QAErB,KAAK,eAAe,GAAG;YACrB,QAAQ,CAAC,EAAE,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,YAAY,CAAC;YACrD,UAAU,CAAC,EAAE,MAAM,CAAC;SACrB,CAAC;KACH;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file.d.ts","sourceRoot":"","sources":["../../../src/@types/domains/file.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"file.d.ts","sourceRoot":"","sources":["../../../src/@types/domains/file.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ;;;;EAInB,CAAC;AAEH,eAAO,MAAM,eAAe;;;;;;EAM1B,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;EAKjC,CAAC;AAEH,eAAO,MAAM,SAAS;;;;;EAKpB,CAAC;AAEH,oBAAY,kBAAkB;IAC5B,MAAM,WAAW;IACjB,OAAO,YAAY;CACpB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,KAAK,CAAC;QACd,KAAK,cAAc,GAAG,GAAG,kBAAkB,EAAE,CAAC;QAE9C,KAAK,QAAQ,GAAG,OAAO,CAAC,OAAO,QAAQ,CAAC,CAAC;QAEzC,KAAK,eAAe,GAAG,OAAO,CAAC,OAAO,eAAe,CAAC,CAAC;QAEvD,KAAK,sBAAsB,GAAG,OAAO,CAAC,OAAO,sBAAsB,CAAC,CAAC;QAErE,KAAK,SAAS,GAAG,OAAO,CAAC,OAAO,SAAS,CAAC,CAAC;QAE3C,KAAK,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;QAE1C,KAAK,aAAa,GAAG;YACnB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;YAC9B,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;YAC7B,KAAK,EAAE,MAAM,CAAC;YACd,MAAM,EAAE,MAAM,CAAC;YACf,MAAM,EAAE,OAAO,CAAC;SACjB,CAAC;QAEF,KAAK,aAAa,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;QAE3C,KAAK,WAAW,CAAC,CAAC,SAAS,QAAQ,IAAI,CAAC,SAAS,MAAM,GACnD,YAAY,GACZ,CAAC,SAAS,OAAO,GACjB,aAAa,GACb,CAAC,SAAS,OAAO,GACjB,aAAa,GACb,KAAK,CAAC;QAEV,KAAK,IAAI,CAAC,CAAC,SAAS,QAAQ,GAAG,GAAG,IAAI,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;KAC5D;CACF"}
|
|
@@ -5,7 +5,6 @@ export declare const PostContentType: Readonly<{
|
|
|
5
5
|
VIDEO: "video";
|
|
6
6
|
LIVESTREAM: "liveStream";
|
|
7
7
|
POLL: "poll";
|
|
8
|
-
CLIP: "clip";
|
|
9
8
|
}>;
|
|
10
9
|
declare global {
|
|
11
10
|
namespace Amity {
|
|
@@ -57,10 +56,8 @@ declare global {
|
|
|
57
56
|
getVideoInfo: () => Amity.File<'video'> | undefined;
|
|
58
57
|
getVideoThumbnailInfo: () => Amity.File<'image'> | undefined;
|
|
59
58
|
getFileInfo: () => Amity.File<'file'> | undefined;
|
|
60
|
-
getClipInfo: () => Amity.File<'clip'> | undefined;
|
|
61
59
|
};
|
|
62
60
|
type Post<T extends PostContentType = any> = Amity.InternalPost<T> & Amity.PostLinkObject;
|
|
63
|
-
type ClipDisplayMode = 'fill' | 'fit';
|
|
64
61
|
type QueryPosts = {
|
|
65
62
|
targetId: string;
|
|
66
63
|
targetType: Amity.InternalPost['targetType'];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post.d.ts","sourceRoot":"","sources":["../../../src/@types/domains/post.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"post.d.ts","sourceRoot":"","sources":["../../../src/@types/domains/post.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe;;;;;;;EAO1B,CAAC;AAEH,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,KAAK,CAAC;QAEd,KAAK,cAAc,GAAG,KAAK,CAAC,IAAI,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC;QAE3D,KAAK,eAAe,GAAG,OAAO,CAAC,OA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,CAAC,YAAY,CAAC,QAAQ,CAAC,EAAE,eAAe;QAC7C,wBAAwB,CACzB,CAAC;KACH;CACF"}
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* */
|
|
15
15
|
export declare const getCustomRankingGlobalFeed: {
|
|
16
16
|
(query?: {
|
|
17
|
-
dataTypes?: ('video' | 'image' | 'file' | 'liveStream'
|
|
17
|
+
dataTypes?: ('video' | 'image' | 'file' | 'liveStream')[];
|
|
18
18
|
limit?: number;
|
|
19
19
|
queryToken?: string;
|
|
20
20
|
}): Promise<Omit<Amity.Cached<Amity.Paged<Amity.Post>> & Amity.Pagination, 'nextPage' | 'prevPage'>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCustomRankingGlobalFeed.d.ts","sourceRoot":"","sources":["../../../src/feedRepository/api/getCustomRankingGlobalFeed.ts"],"names":[],"mappings":"AAUA;;;;;;;;;;;;;KAaK;AACL,eAAO,MAAM,0BAA0B;aAAkB;QACvD,SAAS,CAAC,EAAE,CAAC,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,YAAY,
|
|
1
|
+
{"version":3,"file":"getCustomRankingGlobalFeed.d.ts","sourceRoot":"","sources":["../../../src/feedRepository/api/getCustomRankingGlobalFeed.ts"],"names":[],"mappings":"AAUA;;;;;;;;;;;;;KAaK;AACL,eAAO,MAAM,0BAA0B;aAAkB;QACvD,SAAS,CAAC,EAAE,CAAC,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,YAAY,CAAC,EAAE,CAAC;QAC1D,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB,GAAG,QACF,KAAK,MAAM,MAAM,CAAC,MAAM,KAAK,CAAC,MAAM,IAAI,CAAC,CAAC,GAAG,MAAM,UAAU,EAAE,UAAU,GAAG,UAAU,CAAC,CACxF;IAyCD;;;;;;;;;;;;;SAaK;oBAEK,WAAW,iCAAiC,CAAC,CAAC,CAAC,CAAC,GAEtD,KAAK,MAAM,MAAM,CAAC,MAAM,KAAK,CAAC,MAAM,IAAI,CAAC,CAAC,GAAG,MAAM,UAAU,EAAE,UAAU,GAAG,UAAU,CAAC,GACvF,SAAS;CArBZ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/fileRepository/api/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/fileRepository/api/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC"}
|
package/dist/index.cjs.js
CHANGED
|
@@ -33,7 +33,6 @@ const FileType = Object.freeze({
|
|
|
33
33
|
FILE: 'file',
|
|
34
34
|
IMAGE: 'image',
|
|
35
35
|
VIDEO: 'video',
|
|
36
|
-
CLIP: 'clip',
|
|
37
36
|
});
|
|
38
37
|
const VideoResolution = Object.freeze({
|
|
39
38
|
'1080P': '1080p',
|
|
@@ -117,7 +116,6 @@ const PostContentType = Object.freeze({
|
|
|
117
116
|
VIDEO: 'video',
|
|
118
117
|
LIVESTREAM: 'liveStream',
|
|
119
118
|
POLL: 'poll',
|
|
120
|
-
CLIP: 'clip',
|
|
121
119
|
});
|
|
122
120
|
|
|
123
121
|
exports.InvitationTypeEnum = void 0;
|
|
@@ -6693,13 +6691,6 @@ function isAmityVideoPost(post) {
|
|
|
6693
6691
|
'videoFileId' in post.data &&
|
|
6694
6692
|
'thumbnailFileId' in post.data &&
|
|
6695
6693
|
post.dataType === 'video');
|
|
6696
|
-
}
|
|
6697
|
-
function isAmityClipPost(post) {
|
|
6698
|
-
return !!(post.data &&
|
|
6699
|
-
typeof post.data !== 'string' &&
|
|
6700
|
-
'fileId' in post.data &&
|
|
6701
|
-
'thumbnailFileId' in post.data &&
|
|
6702
|
-
post.dataType === 'clip');
|
|
6703
6694
|
}
|
|
6704
6695
|
|
|
6705
6696
|
const postLinkedObject = (post) => {
|
|
@@ -6754,12 +6745,6 @@ const postLinkedObject = (post) => {
|
|
|
6754
6745
|
return isAmityFilePost(post)
|
|
6755
6746
|
? (_b = pullFromCache(['file', 'get', (_a = post === null || post === void 0 ? void 0 : post.data) === null || _a === void 0 ? void 0 : _a.fileId])) === null || _b === void 0 ? void 0 : _b.data
|
|
6756
6747
|
: undefined;
|
|
6757
|
-
},
|
|
6758
|
-
getClipInfo() {
|
|
6759
|
-
var _a, _b;
|
|
6760
|
-
return isAmityClipPost(post)
|
|
6761
|
-
? (_b = pullFromCache(['file', 'get', (_a = post === null || post === void 0 ? void 0 : post.data) === null || _a === void 0 ? void 0 : _a.fileId])) === null || _b === void 0 ? void 0 : _b.data
|
|
6762
|
-
: undefined;
|
|
6763
6748
|
} });
|
|
6764
6749
|
};
|
|
6765
6750
|
|
|
@@ -13730,57 +13715,6 @@ const updateAltText = async (fileId, altText) => {
|
|
|
13730
13715
|
};
|
|
13731
13716
|
/* end_public_function */
|
|
13732
13717
|
|
|
13733
|
-
/* begin_public_function
|
|
13734
|
-
id: file.upload.clip
|
|
13735
|
-
*/
|
|
13736
|
-
/**
|
|
13737
|
-
* ```js
|
|
13738
|
-
* import { FileRepository } from '@amityco/ts-sdk'
|
|
13739
|
-
* const created = await FileRepository.uploadClip(formData)
|
|
13740
|
-
* ```
|
|
13741
|
-
*
|
|
13742
|
-
* Creates an {@link Amity.File}
|
|
13743
|
-
*
|
|
13744
|
-
* @param formData The data necessary to create a new {@link Amity.File}
|
|
13745
|
-
* @param onProgress The callback to track the upload progress
|
|
13746
|
-
* @returns The newly created {@link Amity.File}
|
|
13747
|
-
*
|
|
13748
|
-
* @category File API
|
|
13749
|
-
* @async
|
|
13750
|
-
*/
|
|
13751
|
-
const uploadClip = async (formData, feedType, onProgress) => {
|
|
13752
|
-
const client = getActiveClient();
|
|
13753
|
-
client.log('file/uploadClip', formData);
|
|
13754
|
-
const file = formData.get('files');
|
|
13755
|
-
if (!file)
|
|
13756
|
-
throw new Error('The formData object must have a `files` key.');
|
|
13757
|
-
const accessType = GlobalFileAccessType$1.getInstance().getFileAccessType();
|
|
13758
|
-
formData.append('accessType', accessType);
|
|
13759
|
-
formData.append('preferredFilename', file.name);
|
|
13760
|
-
if (feedType) {
|
|
13761
|
-
formData.append('feedType', feedType);
|
|
13762
|
-
}
|
|
13763
|
-
const headers = 'getHeaders' in formData
|
|
13764
|
-
? formData.getHeaders()
|
|
13765
|
-
: { 'content-type': 'multipart/form-data' };
|
|
13766
|
-
const { data } = await client.upload.post('/api/v4/clips', formData, {
|
|
13767
|
-
headers,
|
|
13768
|
-
onUploadProgress({ loaded, total = 100 }) {
|
|
13769
|
-
onProgress && onProgress(Math.round((loaded * 100) / total));
|
|
13770
|
-
},
|
|
13771
|
-
});
|
|
13772
|
-
// API-FIX: payload should be serialized properly
|
|
13773
|
-
// const { files } = data
|
|
13774
|
-
const cachedAt = client.cache && Date.now();
|
|
13775
|
-
if (client.cache)
|
|
13776
|
-
ingestInCache({ files: data }, { cachedAt });
|
|
13777
|
-
return {
|
|
13778
|
-
data,
|
|
13779
|
-
cachedAt,
|
|
13780
|
-
};
|
|
13781
|
-
};
|
|
13782
|
-
/* end_public_function */
|
|
13783
|
-
|
|
13784
13718
|
var index$k = /*#__PURE__*/Object.freeze({
|
|
13785
13719
|
__proto__: null,
|
|
13786
13720
|
getFile: getFile,
|
|
@@ -13789,8 +13723,7 @@ var index$k = /*#__PURE__*/Object.freeze({
|
|
|
13789
13723
|
fileUrlWithSize: fileUrlWithSize,
|
|
13790
13724
|
uploadVideo: uploadVideo,
|
|
13791
13725
|
uploadImage: uploadImage,
|
|
13792
|
-
updateAltText: updateAltText
|
|
13793
|
-
uploadClip: uploadClip
|
|
13726
|
+
updateAltText: updateAltText
|
|
13794
13727
|
});
|
|
13795
13728
|
|
|
13796
13729
|
/**
|
|
@@ -22983,46 +22916,6 @@ const isPostFlaggedByMe = async (postId) => {
|
|
|
22983
22916
|
};
|
|
22984
22917
|
/* end_public_function */
|
|
22985
22918
|
|
|
22986
|
-
/* begin_public_function
|
|
22987
|
-
id: post.create.clip_post
|
|
22988
|
-
*/
|
|
22989
|
-
/**
|
|
22990
|
-
* ```js
|
|
22991
|
-
* import { PostRepository } from '@amityco/ts-sdk'
|
|
22992
|
-
* const created = await PostRepository.createClipPost({
|
|
22993
|
-
* targetType: 'user',
|
|
22994
|
-
* targetId: 'foobar',
|
|
22995
|
-
* dataType: 'clip',
|
|
22996
|
-
* data: { text: 'hello world' },
|
|
22997
|
-
* attachments: [{ type: 'clip', fileId: 'fileId123', displayMode: 'fill', isMuted: false }]
|
|
22998
|
-
* }))
|
|
22999
|
-
* ```
|
|
23000
|
-
*
|
|
23001
|
-
* Creates an {@link Amity.Post}
|
|
23002
|
-
*
|
|
23003
|
-
* @param bundle The data necessary to create a new {@link Amity.Post}
|
|
23004
|
-
* @returns The newly created {@link Amity.Post}
|
|
23005
|
-
*
|
|
23006
|
-
* @category Post API
|
|
23007
|
-
* @async
|
|
23008
|
-
*/
|
|
23009
|
-
const createClipPost = async (bundle) => {
|
|
23010
|
-
const client = getActiveClient();
|
|
23011
|
-
client.log('post/createPost', bundle);
|
|
23012
|
-
const { data: payload } = await client.http.post('/api/v4/posts', bundle);
|
|
23013
|
-
fireEvent('post.created', payload);
|
|
23014
|
-
const data = prepareMembershipPayload(payload, 'communityUsers');
|
|
23015
|
-
const cachedAt = client.cache && Date.now();
|
|
23016
|
-
if (client.cache)
|
|
23017
|
-
ingestInCache(data, { cachedAt });
|
|
23018
|
-
const { posts } = data;
|
|
23019
|
-
return {
|
|
23020
|
-
data: LinkedObject.post(posts[0]),
|
|
23021
|
-
cachedAt,
|
|
23022
|
-
};
|
|
23023
|
-
};
|
|
23024
|
-
/* end_public_function */
|
|
23025
|
-
|
|
23026
22919
|
/* begin_public_function
|
|
23027
22920
|
id: comment.get_by_ids
|
|
23028
22921
|
*/
|
|
@@ -24923,7 +24816,6 @@ var index$7 = /*#__PURE__*/Object.freeze({
|
|
|
24923
24816
|
flagPost: flagPost,
|
|
24924
24817
|
unflagPost: unflagPost,
|
|
24925
24818
|
isPostFlaggedByMe: isPostFlaggedByMe,
|
|
24926
|
-
createClipPost: createClipPost,
|
|
24927
24819
|
onPostCreated: onPostCreated,
|
|
24928
24820
|
onPostUpdated: onPostUpdated,
|
|
24929
24821
|
onPostDeleted: onPostDeleted,
|
package/dist/index.esm.js
CHANGED
|
@@ -18,7 +18,6 @@ const FileType = Object.freeze({
|
|
|
18
18
|
FILE: 'file',
|
|
19
19
|
IMAGE: 'image',
|
|
20
20
|
VIDEO: 'video',
|
|
21
|
-
CLIP: 'clip',
|
|
22
21
|
});
|
|
23
22
|
const VideoResolution = Object.freeze({
|
|
24
23
|
'1080P': '1080p',
|
|
@@ -102,7 +101,6 @@ const PostContentType = Object.freeze({
|
|
|
102
101
|
VIDEO: 'video',
|
|
103
102
|
LIVESTREAM: 'liveStream',
|
|
104
103
|
POLL: 'poll',
|
|
105
|
-
CLIP: 'clip',
|
|
106
104
|
});
|
|
107
105
|
|
|
108
106
|
var InvitationTypeEnum;
|
|
@@ -22785,13 +22783,6 @@ function isAmityVideoPost(post) {
|
|
|
22785
22783
|
'videoFileId' in post.data &&
|
|
22786
22784
|
'thumbnailFileId' in post.data &&
|
|
22787
22785
|
post.dataType === 'video');
|
|
22788
|
-
}
|
|
22789
|
-
function isAmityClipPost(post) {
|
|
22790
|
-
return !!(post.data &&
|
|
22791
|
-
typeof post.data !== 'string' &&
|
|
22792
|
-
'fileId' in post.data &&
|
|
22793
|
-
'thumbnailFileId' in post.data &&
|
|
22794
|
-
post.dataType === 'clip');
|
|
22795
22786
|
}
|
|
22796
22787
|
|
|
22797
22788
|
const postLinkedObject = (post) => {
|
|
@@ -22846,12 +22837,6 @@ const postLinkedObject = (post) => {
|
|
|
22846
22837
|
return isAmityFilePost(post)
|
|
22847
22838
|
? (_b = pullFromCache(['file', 'get', (_a = post === null || post === void 0 ? void 0 : post.data) === null || _a === void 0 ? void 0 : _a.fileId])) === null || _b === void 0 ? void 0 : _b.data
|
|
22848
22839
|
: undefined;
|
|
22849
|
-
},
|
|
22850
|
-
getClipInfo() {
|
|
22851
|
-
var _a, _b;
|
|
22852
|
-
return isAmityClipPost(post)
|
|
22853
|
-
? (_b = pullFromCache(['file', 'get', (_a = post === null || post === void 0 ? void 0 : post.data) === null || _a === void 0 ? void 0 : _a.fileId])) === null || _b === void 0 ? void 0 : _b.data
|
|
22854
|
-
: undefined;
|
|
22855
22840
|
} });
|
|
22856
22841
|
};
|
|
22857
22842
|
|
|
@@ -29822,57 +29807,6 @@ const updateAltText = async (fileId, altText) => {
|
|
|
29822
29807
|
};
|
|
29823
29808
|
/* end_public_function */
|
|
29824
29809
|
|
|
29825
|
-
/* begin_public_function
|
|
29826
|
-
id: file.upload.clip
|
|
29827
|
-
*/
|
|
29828
|
-
/**
|
|
29829
|
-
* ```js
|
|
29830
|
-
* import { FileRepository } from '@amityco/ts-sdk'
|
|
29831
|
-
* const created = await FileRepository.uploadClip(formData)
|
|
29832
|
-
* ```
|
|
29833
|
-
*
|
|
29834
|
-
* Creates an {@link Amity.File}
|
|
29835
|
-
*
|
|
29836
|
-
* @param formData The data necessary to create a new {@link Amity.File}
|
|
29837
|
-
* @param onProgress The callback to track the upload progress
|
|
29838
|
-
* @returns The newly created {@link Amity.File}
|
|
29839
|
-
*
|
|
29840
|
-
* @category File API
|
|
29841
|
-
* @async
|
|
29842
|
-
*/
|
|
29843
|
-
const uploadClip = async (formData, feedType, onProgress) => {
|
|
29844
|
-
const client = getActiveClient();
|
|
29845
|
-
client.log('file/uploadClip', formData);
|
|
29846
|
-
const file = formData.get('files');
|
|
29847
|
-
if (!file)
|
|
29848
|
-
throw new Error('The formData object must have a `files` key.');
|
|
29849
|
-
const accessType = GlobalFileAccessType$1.getInstance().getFileAccessType();
|
|
29850
|
-
formData.append('accessType', accessType);
|
|
29851
|
-
formData.append('preferredFilename', file.name);
|
|
29852
|
-
if (feedType) {
|
|
29853
|
-
formData.append('feedType', feedType);
|
|
29854
|
-
}
|
|
29855
|
-
const headers = 'getHeaders' in formData
|
|
29856
|
-
? formData.getHeaders()
|
|
29857
|
-
: { 'content-type': 'multipart/form-data' };
|
|
29858
|
-
const { data } = await client.upload.post('/api/v4/clips', formData, {
|
|
29859
|
-
headers,
|
|
29860
|
-
onUploadProgress({ loaded, total = 100 }) {
|
|
29861
|
-
onProgress && onProgress(Math.round((loaded * 100) / total));
|
|
29862
|
-
},
|
|
29863
|
-
});
|
|
29864
|
-
// API-FIX: payload should be serialized properly
|
|
29865
|
-
// const { files } = data
|
|
29866
|
-
const cachedAt = client.cache && Date.now();
|
|
29867
|
-
if (client.cache)
|
|
29868
|
-
ingestInCache({ files: data }, { cachedAt });
|
|
29869
|
-
return {
|
|
29870
|
-
data,
|
|
29871
|
-
cachedAt,
|
|
29872
|
-
};
|
|
29873
|
-
};
|
|
29874
|
-
/* end_public_function */
|
|
29875
|
-
|
|
29876
29810
|
var index$k = /*#__PURE__*/Object.freeze({
|
|
29877
29811
|
__proto__: null,
|
|
29878
29812
|
getFile: getFile,
|
|
@@ -29881,8 +29815,7 @@ var index$k = /*#__PURE__*/Object.freeze({
|
|
|
29881
29815
|
fileUrlWithSize: fileUrlWithSize,
|
|
29882
29816
|
uploadVideo: uploadVideo,
|
|
29883
29817
|
uploadImage: uploadImage,
|
|
29884
|
-
updateAltText: updateAltText
|
|
29885
|
-
uploadClip: uploadClip
|
|
29818
|
+
updateAltText: updateAltText
|
|
29886
29819
|
});
|
|
29887
29820
|
|
|
29888
29821
|
/**
|
|
@@ -39075,46 +39008,6 @@ const isPostFlaggedByMe = async (postId) => {
|
|
|
39075
39008
|
};
|
|
39076
39009
|
/* end_public_function */
|
|
39077
39010
|
|
|
39078
|
-
/* begin_public_function
|
|
39079
|
-
id: post.create.clip_post
|
|
39080
|
-
*/
|
|
39081
|
-
/**
|
|
39082
|
-
* ```js
|
|
39083
|
-
* import { PostRepository } from '@amityco/ts-sdk'
|
|
39084
|
-
* const created = await PostRepository.createClipPost({
|
|
39085
|
-
* targetType: 'user',
|
|
39086
|
-
* targetId: 'foobar',
|
|
39087
|
-
* dataType: 'clip',
|
|
39088
|
-
* data: { text: 'hello world' },
|
|
39089
|
-
* attachments: [{ type: 'clip', fileId: 'fileId123', displayMode: 'fill', isMuted: false }]
|
|
39090
|
-
* }))
|
|
39091
|
-
* ```
|
|
39092
|
-
*
|
|
39093
|
-
* Creates an {@link Amity.Post}
|
|
39094
|
-
*
|
|
39095
|
-
* @param bundle The data necessary to create a new {@link Amity.Post}
|
|
39096
|
-
* @returns The newly created {@link Amity.Post}
|
|
39097
|
-
*
|
|
39098
|
-
* @category Post API
|
|
39099
|
-
* @async
|
|
39100
|
-
*/
|
|
39101
|
-
const createClipPost = async (bundle) => {
|
|
39102
|
-
const client = getActiveClient();
|
|
39103
|
-
client.log('post/createPost', bundle);
|
|
39104
|
-
const { data: payload } = await client.http.post('/api/v4/posts', bundle);
|
|
39105
|
-
fireEvent('post.created', payload);
|
|
39106
|
-
const data = prepareMembershipPayload(payload, 'communityUsers');
|
|
39107
|
-
const cachedAt = client.cache && Date.now();
|
|
39108
|
-
if (client.cache)
|
|
39109
|
-
ingestInCache(data, { cachedAt });
|
|
39110
|
-
const { posts } = data;
|
|
39111
|
-
return {
|
|
39112
|
-
data: LinkedObject.post(posts[0]),
|
|
39113
|
-
cachedAt,
|
|
39114
|
-
};
|
|
39115
|
-
};
|
|
39116
|
-
/* end_public_function */
|
|
39117
|
-
|
|
39118
39011
|
/* begin_public_function
|
|
39119
39012
|
id: comment.get_by_ids
|
|
39120
39013
|
*/
|
|
@@ -41015,7 +40908,6 @@ var index$7 = /*#__PURE__*/Object.freeze({
|
|
|
41015
40908
|
flagPost: flagPost,
|
|
41016
40909
|
unflagPost: unflagPost,
|
|
41017
40910
|
isPostFlaggedByMe: isPostFlaggedByMe,
|
|
41018
|
-
createClipPost: createClipPost,
|
|
41019
40911
|
onPostCreated: onPostCreated,
|
|
41020
40912
|
onPostUpdated: onPostUpdated,
|
|
41021
40913
|
onPostDeleted: onPostDeleted,
|