@periskope/types 0.6.31 → 0.6.32
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/supabase.types.d.ts +6 -1
- package/dist/types.d.ts +1 -1
- package/package.json +1 -1
- package/supabase.types.ts +6 -1
- package/types.ts +1 -1
package/dist/supabase.types.d.ts
CHANGED
|
@@ -393,6 +393,7 @@ export interface Database {
|
|
|
393
393
|
tbl_chat_reactions: {
|
|
394
394
|
Row: {
|
|
395
395
|
ack: number | null;
|
|
396
|
+
chat_id: string | null;
|
|
396
397
|
id: Json | null;
|
|
397
398
|
message_id: string | null;
|
|
398
399
|
msg_id: Json | null;
|
|
@@ -405,9 +406,11 @@ export interface Database {
|
|
|
405
406
|
read: boolean | null;
|
|
406
407
|
sender_id: string | null;
|
|
407
408
|
timestamp: string | null;
|
|
409
|
+
unique_id: string | null;
|
|
408
410
|
};
|
|
409
411
|
Insert: {
|
|
410
412
|
ack?: number | null;
|
|
413
|
+
chat_id?: string | null;
|
|
411
414
|
id?: Json | null;
|
|
412
415
|
message_id?: string | null;
|
|
413
416
|
msg_id?: Json | null;
|
|
@@ -420,9 +423,11 @@ export interface Database {
|
|
|
420
423
|
read?: boolean | null;
|
|
421
424
|
sender_id?: string | null;
|
|
422
425
|
timestamp?: string | null;
|
|
426
|
+
unique_id?: string | null;
|
|
423
427
|
};
|
|
424
428
|
Update: {
|
|
425
429
|
ack?: number | null;
|
|
430
|
+
chat_id?: string | null;
|
|
426
431
|
id?: Json | null;
|
|
427
432
|
message_id?: string | null;
|
|
428
433
|
msg_id?: Json | null;
|
|
@@ -435,6 +440,7 @@ export interface Database {
|
|
|
435
440
|
read?: boolean | null;
|
|
436
441
|
sender_id?: string | null;
|
|
437
442
|
timestamp?: string | null;
|
|
443
|
+
unique_id?: string | null;
|
|
438
444
|
};
|
|
439
445
|
Relationships: [
|
|
440
446
|
{
|
|
@@ -879,7 +885,6 @@ export interface Database {
|
|
|
879
885
|
label_ids: Json | null;
|
|
880
886
|
last_read_timestamp: string | null;
|
|
881
887
|
latest_message: Json | null;
|
|
882
|
-
latest_message_timestamp: string | null;
|
|
883
888
|
member_count: number | null;
|
|
884
889
|
message_unread_count: number | null;
|
|
885
890
|
mute_expiration: number | null;
|
package/dist/types.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export type ChatType = Merge<Tables<'view_chats'>, {
|
|
|
17
17
|
chat_id: string;
|
|
18
18
|
latest_message: MessageType | null;
|
|
19
19
|
members: Record<string, ChatMemberType> | null;
|
|
20
|
-
chat_type: 'user' | 'group' | 'business';
|
|
20
|
+
chat_type: 'user' | 'group' | 'business' | 'unknown';
|
|
21
21
|
active_phone?: string;
|
|
22
22
|
chat_access: Record<string, boolean>;
|
|
23
23
|
label_ids: Record<string, boolean>;
|
package/package.json
CHANGED
package/supabase.types.ts
CHANGED
|
@@ -392,6 +392,7 @@ export interface Database {
|
|
|
392
392
|
tbl_chat_reactions: {
|
|
393
393
|
Row: {
|
|
394
394
|
ack: number | null
|
|
395
|
+
chat_id: string | null
|
|
395
396
|
id: Json | null
|
|
396
397
|
message_id: string | null
|
|
397
398
|
msg_id: Json | null
|
|
@@ -404,9 +405,11 @@ export interface Database {
|
|
|
404
405
|
read: boolean | null
|
|
405
406
|
sender_id: string | null
|
|
406
407
|
timestamp: string | null
|
|
408
|
+
unique_id: string | null
|
|
407
409
|
}
|
|
408
410
|
Insert: {
|
|
409
411
|
ack?: number | null
|
|
412
|
+
chat_id?: string | null
|
|
410
413
|
id?: Json | null
|
|
411
414
|
message_id?: string | null
|
|
412
415
|
msg_id?: Json | null
|
|
@@ -419,9 +422,11 @@ export interface Database {
|
|
|
419
422
|
read?: boolean | null
|
|
420
423
|
sender_id?: string | null
|
|
421
424
|
timestamp?: string | null
|
|
425
|
+
unique_id?: string | null
|
|
422
426
|
}
|
|
423
427
|
Update: {
|
|
424
428
|
ack?: number | null
|
|
429
|
+
chat_id?: string | null
|
|
425
430
|
id?: Json | null
|
|
426
431
|
message_id?: string | null
|
|
427
432
|
msg_id?: Json | null
|
|
@@ -434,6 +439,7 @@ export interface Database {
|
|
|
434
439
|
read?: boolean | null
|
|
435
440
|
sender_id?: string | null
|
|
436
441
|
timestamp?: string | null
|
|
442
|
+
unique_id?: string | null
|
|
437
443
|
}
|
|
438
444
|
Relationships: [
|
|
439
445
|
{
|
|
@@ -882,7 +888,6 @@ export interface Database {
|
|
|
882
888
|
label_ids: Json | null
|
|
883
889
|
last_read_timestamp: string | null
|
|
884
890
|
latest_message: Json | null
|
|
885
|
-
latest_message_timestamp: string | null
|
|
886
891
|
member_count: number | null
|
|
887
892
|
message_unread_count: number | null
|
|
888
893
|
mute_expiration: number | null
|
package/types.ts
CHANGED
|
@@ -32,7 +32,7 @@ export type ChatType = Merge<
|
|
|
32
32
|
chat_id: string;
|
|
33
33
|
latest_message: MessageType | null;
|
|
34
34
|
members: Record<string, ChatMemberType> | null;
|
|
35
|
-
chat_type: 'user' | 'group' | 'business';
|
|
35
|
+
chat_type: 'user' | 'group' | 'business' | 'unknown';
|
|
36
36
|
active_phone?: string;
|
|
37
37
|
chat_access: Record<string, boolean>;
|
|
38
38
|
label_ids: Record<string, boolean>;
|