@periskope/types 0.6.34 → 0.6.35
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.d.ts +7 -0
- package/package.json +1 -1
- package/types.ts +11 -0
package/dist/types.d.ts
CHANGED
|
@@ -84,3 +84,10 @@ export type LogsType = {
|
|
|
84
84
|
export type BroadcastLogType = Tables<'view_broadcast_logs'> & {
|
|
85
85
|
logs: LogsType[];
|
|
86
86
|
};
|
|
87
|
+
export type ChatParticipantOperation = {
|
|
88
|
+
participant_ids: string[];
|
|
89
|
+
operation_type: 'ADD' | 'REMOVE' | 'PROMOTE' | 'DEMOTE';
|
|
90
|
+
};
|
|
91
|
+
export type ChatParticipantOperationPayload = ChatParticipantOperation & {
|
|
92
|
+
chat_ids: string[];
|
|
93
|
+
};
|
package/package.json
CHANGED
package/types.ts
CHANGED
|
@@ -161,3 +161,14 @@ export type LogsType = {
|
|
|
161
161
|
export type BroadcastLogType = Tables<'view_broadcast_logs'> & {
|
|
162
162
|
logs: LogsType[];
|
|
163
163
|
};
|
|
164
|
+
|
|
165
|
+
/* ----------------------- CHAT PARTICIPANT OPERATION ----------------------- */
|
|
166
|
+
|
|
167
|
+
export type ChatParticipantOperation = {
|
|
168
|
+
participant_ids: string[];
|
|
169
|
+
operation_type: 'ADD' | 'REMOVE' | 'PROMOTE' | 'DEMOTE';
|
|
170
|
+
};
|
|
171
|
+
|
|
172
|
+
export type ChatParticipantOperationPayload = ChatParticipantOperation & {
|
|
173
|
+
chat_ids: string[];
|
|
174
|
+
};
|