@periskope/types 0.6.42 → 0.6.44

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/types.ts CHANGED
@@ -45,6 +45,7 @@ export type MediaType = {
45
45
  mimetype?: string;
46
46
  filename?: string;
47
47
  dimensions?: { width: number; height: number; ar: number };
48
+ size?: number;
48
49
  };
49
50
 
50
51
  export type MessageType = OverrideProperties<
@@ -162,14 +163,12 @@ export type LogsType = {
162
163
  total_count: number | null;
163
164
  delivery_info: MessageInfo | null;
164
165
  delivered_count: number | null;
165
- chat_image: string | null;
166
- chat_name: string | null;
167
166
  members: Partial<ChatMemberType>[];
168
167
  member_count: number | null;
169
168
  };
170
169
 
171
170
  export type BroadcastLogType = Tables<'view_broadcast_logs'> & {
172
- logs: LogsType[];
171
+ logs: (LogsType & ChatType)[];
173
172
  };
174
173
 
175
174
  /* ----------------------- CHAT PARTICIPANT OPERATION ----------------------- */