@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 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@periskope/types",
3
- "version": "0.6.34",
3
+ "version": "0.6.35",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
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
+ };