@atcute/bluesky 3.3.4 → 4.0.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/lexicons/index.d.ts +1 -0
- package/dist/lexicons/index.d.ts.map +1 -1
- package/dist/lexicons/index.js +1 -0
- package/dist/lexicons/index.js.map +1 -1
- package/dist/lexicons/types/app/bsky/embed/external.d.ts +4 -0
- package/dist/lexicons/types/app/bsky/embed/external.d.ts.map +1 -1
- package/dist/lexicons/types/app/bsky/embed/external.js +4 -0
- package/dist/lexicons/types/app/bsky/embed/external.js.map +1 -1
- package/dist/lexicons/types/chat/bsky/actor/defs.d.ts +10 -1
- package/dist/lexicons/types/chat/bsky/actor/defs.d.ts.map +1 -1
- package/dist/lexicons/types/chat/bsky/actor/defs.js +5 -1
- package/dist/lexicons/types/chat/bsky/actor/defs.js.map +1 -1
- package/dist/lexicons/types/chat/bsky/convo/defs.d.ts +114 -23
- package/dist/lexicons/types/chat/bsky/convo/defs.d.ts.map +1 -1
- package/dist/lexicons/types/chat/bsky/convo/defs.js +129 -23
- package/dist/lexicons/types/chat/bsky/convo/defs.js.map +1 -1
- package/dist/lexicons/types/chat/bsky/convo/getConvoMembers.d.ts +33 -0
- package/dist/lexicons/types/chat/bsky/convo/getConvoMembers.d.ts.map +1 -0
- package/dist/lexicons/types/chat/bsky/convo/getConvoMembers.js +26 -0
- package/dist/lexicons/types/chat/bsky/convo/getConvoMembers.js.map +1 -0
- package/dist/lexicons/types/chat/bsky/convo/getMessages.d.ts +5 -0
- package/dist/lexicons/types/chat/bsky/convo/getMessages.d.ts.map +1 -1
- package/dist/lexicons/types/chat/bsky/convo/getMessages.js +7 -0
- package/dist/lexicons/types/chat/bsky/convo/getMessages.js.map +1 -1
- package/dist/lexicons/types/chat/bsky/group/addMembers.d.ts +2 -0
- package/dist/lexicons/types/chat/bsky/group/addMembers.d.ts.map +1 -1
- package/dist/lexicons/types/chat/bsky/group/addMembers.js +4 -0
- package/dist/lexicons/types/chat/bsky/group/addMembers.js.map +1 -1
- package/dist/limits.d.ts +35 -35
- package/dist/limits.d.ts.map +1 -1
- package/dist/limits.js +11 -11
- package/dist/limits.js.map +1 -1
- package/lib/lexicons/index.ts +1 -0
- package/lib/lexicons/types/app/bsky/embed/external.ts +4 -0
- package/lib/lexicons/types/chat/bsky/actor/defs.ts +8 -1
- package/lib/lexicons/types/chat/bsky/convo/defs.ts +133 -23
- package/lib/lexicons/types/chat/bsky/convo/getConvoMembers.ts +45 -0
- package/lib/lexicons/types/chat/bsky/convo/getMessages.ts +8 -0
- package/lib/lexicons/types/chat/bsky/group/addMembers.ts +4 -0
- package/lib/limits.ts +11 -11
- package/package.json +5 -5
package/dist/limits.d.ts
CHANGED
|
@@ -1,12 +1,5 @@
|
|
|
1
1
|
/** limits for `app.bsky.feed.post` */
|
|
2
2
|
export declare const feedPost: {
|
|
3
|
-
readonly text: {
|
|
4
|
-
readonly maxGraphemes: 300;
|
|
5
|
-
readonly maxLength: 3000;
|
|
6
|
-
};
|
|
7
|
-
readonly langs: {
|
|
8
|
-
readonly maxItems: 3;
|
|
9
|
-
};
|
|
10
3
|
readonly tags: {
|
|
11
4
|
readonly maxItems: 8;
|
|
12
5
|
readonly item: {
|
|
@@ -14,40 +7,47 @@ export declare const feedPost: {
|
|
|
14
7
|
readonly maxLength: 640;
|
|
15
8
|
};
|
|
16
9
|
};
|
|
10
|
+
readonly text: {
|
|
11
|
+
readonly maxGraphemes: 300;
|
|
12
|
+
readonly maxLength: 3000;
|
|
13
|
+
};
|
|
14
|
+
readonly langs: {
|
|
15
|
+
readonly maxItems: 3;
|
|
16
|
+
};
|
|
17
17
|
};
|
|
18
18
|
/** limits for `app.bsky.actor.profile` */
|
|
19
19
|
export declare const actorProfile: {
|
|
20
|
-
readonly
|
|
21
|
-
readonly
|
|
22
|
-
readonly maxLength: 640;
|
|
20
|
+
readonly avatar: {
|
|
21
|
+
readonly maxSize: 1000000;
|
|
23
22
|
};
|
|
24
|
-
readonly
|
|
25
|
-
readonly
|
|
26
|
-
readonly maxLength: 2560;
|
|
23
|
+
readonly banner: {
|
|
24
|
+
readonly maxSize: 1000000;
|
|
27
25
|
};
|
|
28
26
|
readonly pronouns: {
|
|
29
27
|
readonly maxGraphemes: 20;
|
|
30
28
|
readonly maxLength: 200;
|
|
31
29
|
};
|
|
32
|
-
readonly
|
|
33
|
-
readonly
|
|
30
|
+
readonly description: {
|
|
31
|
+
readonly maxGraphemes: 256;
|
|
32
|
+
readonly maxLength: 2560;
|
|
34
33
|
};
|
|
35
|
-
readonly
|
|
36
|
-
readonly
|
|
34
|
+
readonly displayName: {
|
|
35
|
+
readonly maxGraphemes: 64;
|
|
36
|
+
readonly maxLength: 640;
|
|
37
37
|
};
|
|
38
38
|
};
|
|
39
39
|
/** limits for `app.bsky.feed.generator` */
|
|
40
40
|
export declare const feedGenerator: {
|
|
41
|
-
readonly
|
|
42
|
-
readonly
|
|
43
|
-
readonly maxLength: 240;
|
|
41
|
+
readonly avatar: {
|
|
42
|
+
readonly maxSize: 1000000;
|
|
44
43
|
};
|
|
45
44
|
readonly description: {
|
|
46
45
|
readonly maxGraphemes: 300;
|
|
47
46
|
readonly maxLength: 3000;
|
|
48
47
|
};
|
|
49
|
-
readonly
|
|
50
|
-
readonly
|
|
48
|
+
readonly displayName: {
|
|
49
|
+
readonly maxGraphemes: 24;
|
|
50
|
+
readonly maxLength: 240;
|
|
51
51
|
};
|
|
52
52
|
};
|
|
53
53
|
/** limits for `app.bsky.feed.threadgate` */
|
|
@@ -61,12 +61,12 @@ export declare const feedThreadgate: {
|
|
|
61
61
|
};
|
|
62
62
|
/** limits for `app.bsky.feed.postgate` */
|
|
63
63
|
export declare const feedPostgate: {
|
|
64
|
-
readonly detachedEmbeddingUris: {
|
|
65
|
-
readonly maxItems: 50;
|
|
66
|
-
};
|
|
67
64
|
readonly embeddingRules: {
|
|
68
65
|
readonly maxItems: 5;
|
|
69
66
|
};
|
|
67
|
+
readonly detachedEmbeddingUris: {
|
|
68
|
+
readonly maxItems: 50;
|
|
69
|
+
};
|
|
70
70
|
};
|
|
71
71
|
/** limits for `app.bsky.graph.list` */
|
|
72
72
|
export declare const graphList: {
|
|
@@ -74,13 +74,13 @@ export declare const graphList: {
|
|
|
74
74
|
readonly maxLength: 64;
|
|
75
75
|
readonly minLength: 1;
|
|
76
76
|
};
|
|
77
|
+
readonly avatar: {
|
|
78
|
+
readonly maxSize: 1000000;
|
|
79
|
+
};
|
|
77
80
|
readonly description: {
|
|
78
81
|
readonly maxGraphemes: 300;
|
|
79
82
|
readonly maxLength: 3000;
|
|
80
83
|
};
|
|
81
|
-
readonly avatar: {
|
|
82
|
-
readonly maxSize: 1000000;
|
|
83
|
-
};
|
|
84
84
|
};
|
|
85
85
|
/** limits for `app.bsky.graph.starterpack` */
|
|
86
86
|
export declare const graphStarterpack: {
|
|
@@ -89,13 +89,13 @@ export declare const graphStarterpack: {
|
|
|
89
89
|
readonly maxLength: 500;
|
|
90
90
|
readonly minLength: 1;
|
|
91
91
|
};
|
|
92
|
+
readonly feeds: {
|
|
93
|
+
readonly maxItems: 3;
|
|
94
|
+
};
|
|
92
95
|
readonly description: {
|
|
93
96
|
readonly maxGraphemes: 300;
|
|
94
97
|
readonly maxLength: 3000;
|
|
95
98
|
};
|
|
96
|
-
readonly feeds: {
|
|
97
|
-
readonly maxItems: 3;
|
|
98
|
-
};
|
|
99
99
|
};
|
|
100
100
|
/** limits for `app.bsky.embed.images` */
|
|
101
101
|
export declare const embedImages: {
|
|
@@ -110,16 +110,16 @@ export declare const embedImages: {
|
|
|
110
110
|
};
|
|
111
111
|
/** limits for `app.bsky.embed.video` */
|
|
112
112
|
export declare const embedVideo: {
|
|
113
|
+
readonly alt: {
|
|
114
|
+
readonly maxGraphemes: 1000;
|
|
115
|
+
readonly maxLength: 10000;
|
|
116
|
+
};
|
|
113
117
|
readonly video: {
|
|
114
118
|
readonly maxSize: 100000000;
|
|
115
119
|
};
|
|
116
120
|
readonly captions: {
|
|
117
121
|
readonly maxItems: 20;
|
|
118
122
|
};
|
|
119
|
-
readonly alt: {
|
|
120
|
-
readonly maxGraphemes: 1000;
|
|
121
|
-
readonly maxLength: 10000;
|
|
122
|
-
};
|
|
123
123
|
readonly caption: {
|
|
124
124
|
readonly file: {
|
|
125
125
|
readonly maxSize: 20000;
|
package/dist/limits.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"limits.d.ts","sourceRoot":"","sources":["../lib/limits.ts"],"names":[],"mappings":"AAGA,sCAAsC;AACtC,eAAO,MAAM,QAAQ;aACpB,IAAI;
|
|
1
|
+
{"version":3,"file":"limits.d.ts","sourceRoot":"","sources":["../lib/limits.ts"],"names":[],"mappings":"AAGA,sCAAsC;AACtC,eAAO,MAAM,QAAQ;aACpB,IAAI;iBACH,QAAQ,EAAE,CAAC;iBACX,IAAI;qBAAI,YAAY,EAAE,EAAE;qBAAE,SAAS,EAAE,GAAG;;;aAEzC,IAAI;iBAAI,YAAY,EAAE,GAAG;iBAAE,SAAS,EAAE,IAAK;;aAC3C,KAAK;iBAAI,QAAQ,EAAE,CAAC;;CACX,CAAC;AAEX,0CAA0C;AAC1C,eAAO,MAAM,YAAY;aACxB,MAAM;iBAAI,OAAO,EAAE,OAAS;;aAC5B,MAAM;iBAAI,OAAO,EAAE,OAAS;;aAC5B,QAAQ;iBAAI,YAAY,EAAE,EAAE;iBAAE,SAAS,EAAE,GAAG;;aAC5C,WAAW;iBAAI,YAAY,EAAE,GAAG;iBAAE,SAAS,EAAE,IAAK;;aAClD,WAAW;iBAAI,YAAY,EAAE,EAAE;iBAAE,SAAS,EAAE,GAAG;;CACtC,CAAC;AAEX,2CAA2C;AAC3C,eAAO,MAAM,aAAa;aACzB,MAAM;iBAAI,OAAO,EAAE,OAAS;;aAC5B,WAAW;iBAAI,YAAY,EAAE,GAAG;iBAAE,SAAS,EAAE,IAAK;;aAClD,WAAW;iBAAI,YAAY,EAAE,EAAE;iBA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,OAAO,EAAE,OAAS;;;CAEnB,CAAC;AAEX,2CAA2C;AAC3C,eAAO,MAAM,aAAa;aACzB,GAAG;iBACF,GAAG;qBAAI,YAAY,EAAE,EAAE;qBAAE,SAAS,EAAE,GAAG;;;CAE/B,CAAC;AAEX,wCAAwC;AACxC,eAAO,MAAM,YAAY;aACxB,IAAI;iBAAI,YAAY,EAAE,IAAK;iBAAE,SAAS,EAAE,KAAM;;CACrC,CAAC"}
|
package/dist/limits.js
CHANGED
|
@@ -2,26 +2,26 @@
|
|
|
2
2
|
// do not edit manually
|
|
3
3
|
/** limits for `app.bsky.feed.post` */
|
|
4
4
|
export const feedPost = {
|
|
5
|
-
text: { maxGraphemes: 300, maxLength: 3_000 },
|
|
6
|
-
langs: { maxItems: 3 },
|
|
7
5
|
tags: {
|
|
8
6
|
maxItems: 8,
|
|
9
7
|
item: { maxGraphemes: 64, maxLength: 640 },
|
|
10
8
|
},
|
|
9
|
+
text: { maxGraphemes: 300, maxLength: 3_000 },
|
|
10
|
+
langs: { maxItems: 3 },
|
|
11
11
|
};
|
|
12
12
|
/** limits for `app.bsky.actor.profile` */
|
|
13
13
|
export const actorProfile = {
|
|
14
|
-
displayName: { maxGraphemes: 64, maxLength: 640 },
|
|
15
|
-
description: { maxGraphemes: 256, maxLength: 2_560 },
|
|
16
|
-
pronouns: { maxGraphemes: 20, maxLength: 200 },
|
|
17
14
|
avatar: { maxSize: 1_000_000 },
|
|
18
15
|
banner: { maxSize: 1_000_000 },
|
|
16
|
+
pronouns: { maxGraphemes: 20, maxLength: 200 },
|
|
17
|
+
description: { maxGraphemes: 256, maxLength: 2_560 },
|
|
18
|
+
displayName: { maxGraphemes: 64, maxLength: 640 },
|
|
19
19
|
};
|
|
20
20
|
/** limits for `app.bsky.feed.generator` */
|
|
21
21
|
export const feedGenerator = {
|
|
22
|
-
displayName: { maxGraphemes: 24, maxLength: 240 },
|
|
23
|
-
description: { maxGraphemes: 300, maxLength: 3_000 },
|
|
24
22
|
avatar: { maxSize: 1_000_000 },
|
|
23
|
+
description: { maxGraphemes: 300, maxLength: 3_000 },
|
|
24
|
+
displayName: { maxGraphemes: 24, maxLength: 240 },
|
|
25
25
|
};
|
|
26
26
|
/** limits for `app.bsky.feed.threadgate` */
|
|
27
27
|
export const feedThreadgate = {
|
|
@@ -30,20 +30,20 @@ export const feedThreadgate = {
|
|
|
30
30
|
};
|
|
31
31
|
/** limits for `app.bsky.feed.postgate` */
|
|
32
32
|
export const feedPostgate = {
|
|
33
|
-
detachedEmbeddingUris: { maxItems: 50 },
|
|
34
33
|
embeddingRules: { maxItems: 5 },
|
|
34
|
+
detachedEmbeddingUris: { maxItems: 50 },
|
|
35
35
|
};
|
|
36
36
|
/** limits for `app.bsky.graph.list` */
|
|
37
37
|
export const graphList = {
|
|
38
38
|
name: { maxLength: 64, minLength: 1 },
|
|
39
|
-
description: { maxGraphemes: 300, maxLength: 3_000 },
|
|
40
39
|
avatar: { maxSize: 1_000_000 },
|
|
40
|
+
description: { maxGraphemes: 300, maxLength: 3_000 },
|
|
41
41
|
};
|
|
42
42
|
/** limits for `app.bsky.graph.starterpack` */
|
|
43
43
|
export const graphStarterpack = {
|
|
44
44
|
name: { maxGraphemes: 50, maxLength: 500, minLength: 1 },
|
|
45
|
-
description: { maxGraphemes: 300, maxLength: 3_000 },
|
|
46
45
|
feeds: { maxItems: 3 },
|
|
46
|
+
description: { maxGraphemes: 300, maxLength: 3_000 },
|
|
47
47
|
};
|
|
48
48
|
/** limits for `app.bsky.embed.images` */
|
|
49
49
|
export const embedImages = {
|
|
@@ -54,9 +54,9 @@ export const embedImages = {
|
|
|
54
54
|
};
|
|
55
55
|
/** limits for `app.bsky.embed.video` */
|
|
56
56
|
export const embedVideo = {
|
|
57
|
+
alt: { maxGraphemes: 1_000, maxLength: 10_000 },
|
|
57
58
|
video: { maxSize: 100_000_000 },
|
|
58
59
|
captions: { maxItems: 20 },
|
|
59
|
-
alt: { maxGraphemes: 1_000, maxLength: 10_000 },
|
|
60
60
|
caption: {
|
|
61
61
|
file: { maxSize: 20_000 },
|
|
62
62
|
},
|
package/dist/limits.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"limits.js","sourceRoot":"","sources":["../lib/limits.ts"],"names":[],"mappings":"AAAA,uDAAuD;AACvD,uBAAuB;AAEvB,sCAAsC;AACtC,MAAM,CAAC,MAAM,QAAQ,GAAG;IACvB,IAAI,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"limits.js","sourceRoot":"","sources":["../lib/limits.ts"],"names":[],"mappings":"AAAA,uDAAuD;AACvD,uBAAuB;AAEvB,sCAAsC;AACtC,MAAM,CAAC,MAAM,QAAQ,GAAG;IACvB,IAAI,EAAE;QACL,QAAQ,EAAE,CAAC;QACX,IAAI,EAAE,EAAE,YAAY,EAAE,EAAE,EAAE,SAAS,EAAE,GAAG,EAAE;KAC1C;IACD,IAAI,EAAE,EAAE,YAAY,EAAE,GAAG,EAAE,SAAS,EAAE,KAAK,EAAE;IAC7C,KAAK,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE;CACb,CAAC;AAEX,0CAA0C;AAC1C,MAAM,CAAC,MAAM,YAAY,GAAG;IAC3B,MAAM,EAAE,EAAE,OAAO,EAAE,SAAS,EAAE;IAC9B,MAAM,EAAE,EAAE,OAAO,EAAE,SAAS,EAAE;IAC9B,QAAQ,EAAE,EAAE,YAAY,EAAE,EAAE,EAAE,SAAS,EAAE,GAAG,EAAE;IAC9C,WAAW,EAAE,EAAE,YAAY,EAAE,GAAG,EAAE,SAAS,EAAE,KAAK,EAAE;IACpD,WAAW,EAAE,EAAE,YAAY,EAAE,EAAE,EAAE,SAAS,EAAE,GAAG,EAAE;CACxC,CAAC;AAEX,2CAA2C;AAC3C,MAAM,CAAC,MAAM,aAAa,GAAG;IAC5B,MAAM,EAAE,EAAE,OAAO,EAAE,SAAS,EAAE;IAC9B,WAAW,EAAE,EAAE,YAAY,EAAE,GAAG,EAAE,SAAS,EAAE,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YAAY,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE;IAC/C,KAAK,EAAE,EAAE,OAAO,EAAE,WAAW,EAAE;IAC/B,QAAQ,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC1B,OAAO,EAAE;QACR,IAAI,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE;KACzB;CACQ,CAAC;AAEX,2CAA2C;AAC3C,MAAM,CAAC,MAAM,aAAa,GAAG;IAC5B,QAAQ,EAAE;QACT,KAAK,EAAE,EAAE,OAAO,EAAE,SAAS,EAAE;KAC7B;CACQ,CAAC;AAEX,2CAA2C;AAC3C,MAAM,CAAC,MAAM,aAAa,GAAG;IAC5B,GAAG,EAAE;QACJ,GAAG,EAAE,EAAE,YAAY,EAAE,EAAE,EAAE,SAAS,EAAE,GAAG,EAAE;KACzC;CACQ,CAAC;AAEX,wCAAwC;AACxC,MAAM,CAAC,MAAM,YAAY,GAAG;IAC3B,IAAI,EAAE,EAAE,YAAY,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE;CACvC,CAAC"}
|
package/lib/lexicons/index.ts
CHANGED
|
@@ -154,6 +154,7 @@ export * as ChatBskyConvoDeleteMessageForSelf from './types/chat/bsky/convo/dele
|
|
|
154
154
|
export * as ChatBskyConvoGetConvo from './types/chat/bsky/convo/getConvo.ts';
|
|
155
155
|
export * as ChatBskyConvoGetConvoAvailability from './types/chat/bsky/convo/getConvoAvailability.ts';
|
|
156
156
|
export * as ChatBskyConvoGetConvoForMembers from './types/chat/bsky/convo/getConvoForMembers.ts';
|
|
157
|
+
export * as ChatBskyConvoGetConvoMembers from './types/chat/bsky/convo/getConvoMembers.ts';
|
|
157
158
|
export * as ChatBskyConvoGetLog from './types/chat/bsky/convo/getLog.ts';
|
|
158
159
|
export * as ChatBskyConvoGetMessages from './types/chat/bsky/convo/getMessages.ts';
|
|
159
160
|
export * as ChatBskyConvoLeaveConvo from './types/chat/bsky/convo/leaveConvo.ts';
|
|
@@ -3,6 +3,10 @@ import * as v from '@atcute/lexicons/validations';
|
|
|
3
3
|
|
|
4
4
|
const _externalSchema = /*#__PURE__*/ v.object({
|
|
5
5
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.embed.external#external')),
|
|
6
|
+
/**
|
|
7
|
+
* The URI of the Atmosphere record representing this external content, if it exists. Example: a site.standard.document record.
|
|
8
|
+
*/
|
|
9
|
+
associatedRecord: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.resourceUriString()),
|
|
6
10
|
description: /*#__PURE__*/ v.string(),
|
|
7
11
|
/**
|
|
8
12
|
* @accept image/*
|
|
@@ -23,6 +23,9 @@ const _groupConvoMemberSchema = /*#__PURE__*/ v.object({
|
|
|
23
23
|
},
|
|
24
24
|
});
|
|
25
25
|
const _memberRoleSchema = /*#__PURE__*/ v.string<'owner' | 'standard' | (string & {})>();
|
|
26
|
+
const _pastGroupConvoMemberSchema = /*#__PURE__*/ v.object({
|
|
27
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('chat.bsky.actor.defs#pastGroupConvoMember')),
|
|
28
|
+
});
|
|
26
29
|
const _profileViewBasicSchema = /*#__PURE__*/ v.object({
|
|
27
30
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('chat.bsky.actor.defs#profileViewBasic')),
|
|
28
31
|
get associated() {
|
|
@@ -51,7 +54,7 @@ const _profileViewBasicSchema = /*#__PURE__*/ v.object({
|
|
|
51
54
|
*/
|
|
52
55
|
get kind() {
|
|
53
56
|
return /*#__PURE__*/ v.optional(
|
|
54
|
-
/*#__PURE__*/ v.variant([directConvoMemberSchema, groupConvoMemberSchema]),
|
|
57
|
+
/*#__PURE__*/ v.variant([directConvoMemberSchema, groupConvoMemberSchema, pastGroupConvoMemberSchema]),
|
|
55
58
|
);
|
|
56
59
|
},
|
|
57
60
|
get labels() {
|
|
@@ -68,19 +71,23 @@ const _profileViewBasicSchema = /*#__PURE__*/ v.object({
|
|
|
68
71
|
type directConvoMember$schematype = typeof _directConvoMemberSchema;
|
|
69
72
|
type groupConvoMember$schematype = typeof _groupConvoMemberSchema;
|
|
70
73
|
type memberRole$schematype = typeof _memberRoleSchema;
|
|
74
|
+
type pastGroupConvoMember$schematype = typeof _pastGroupConvoMemberSchema;
|
|
71
75
|
type profileViewBasic$schematype = typeof _profileViewBasicSchema;
|
|
72
76
|
|
|
73
77
|
export interface directConvoMemberSchema extends directConvoMember$schematype {}
|
|
74
78
|
export interface groupConvoMemberSchema extends groupConvoMember$schematype {}
|
|
75
79
|
export interface memberRoleSchema extends memberRole$schematype {}
|
|
80
|
+
export interface pastGroupConvoMemberSchema extends pastGroupConvoMember$schematype {}
|
|
76
81
|
export interface profileViewBasicSchema extends profileViewBasic$schematype {}
|
|
77
82
|
|
|
78
83
|
export const directConvoMemberSchema = _directConvoMemberSchema as directConvoMemberSchema;
|
|
79
84
|
export const groupConvoMemberSchema = _groupConvoMemberSchema as groupConvoMemberSchema;
|
|
80
85
|
export const memberRoleSchema = _memberRoleSchema as memberRoleSchema;
|
|
86
|
+
export const pastGroupConvoMemberSchema = _pastGroupConvoMemberSchema as pastGroupConvoMemberSchema;
|
|
81
87
|
export const profileViewBasicSchema = _profileViewBasicSchema as profileViewBasicSchema;
|
|
82
88
|
|
|
83
89
|
export interface DirectConvoMember extends v.InferInput<typeof directConvoMemberSchema> {}
|
|
84
90
|
export interface GroupConvoMember extends v.InferInput<typeof groupConvoMemberSchema> {}
|
|
85
91
|
export type MemberRole = v.InferInput<typeof memberRoleSchema>;
|
|
92
|
+
export interface PastGroupConvoMember extends v.InferInput<typeof pastGroupConvoMemberSchema> {}
|
|
86
93
|
export interface ProfileViewBasic extends v.InferInput<typeof profileViewBasicSchema> {}
|