@periskope/types 0.6.31 → 0.6.33
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 +12 -7
- package/dist/types.d.ts +1 -1
- package/package.json +1 -1
- package/supabase.types.ts +12 -7
- package/types.ts +1 -1
package/dist/supabase.types.d.ts
CHANGED
|
@@ -393,8 +393,9 @@ 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
|
-
message_id: string
|
|
398
|
+
message_id: string;
|
|
398
399
|
msg_id: Json | null;
|
|
399
400
|
org_id: string;
|
|
400
401
|
org_phone: string;
|
|
@@ -403,13 +404,15 @@ export interface Database {
|
|
|
403
404
|
reaction: string | null;
|
|
404
405
|
reaction_id: string;
|
|
405
406
|
read: boolean | null;
|
|
406
|
-
sender_id: string
|
|
407
|
+
sender_id: string;
|
|
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
|
-
message_id
|
|
415
|
+
message_id: string;
|
|
413
416
|
msg_id?: Json | null;
|
|
414
417
|
org_id: string;
|
|
415
418
|
org_phone: string;
|
|
@@ -418,13 +421,15 @@ export interface Database {
|
|
|
418
421
|
reaction?: string | null;
|
|
419
422
|
reaction_id: string;
|
|
420
423
|
read?: boolean | null;
|
|
421
|
-
sender_id
|
|
424
|
+
sender_id: string;
|
|
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
|
-
message_id?: string
|
|
432
|
+
message_id?: string;
|
|
428
433
|
msg_id?: Json | null;
|
|
429
434
|
org_id?: string;
|
|
430
435
|
org_phone?: string;
|
|
@@ -433,8 +438,9 @@ export interface Database {
|
|
|
433
438
|
reaction?: string | null;
|
|
434
439
|
reaction_id?: string;
|
|
435
440
|
read?: boolean | null;
|
|
436
|
-
sender_id?: string
|
|
441
|
+
sender_id?: string;
|
|
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,8 +392,9 @@ 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
|
-
message_id: string
|
|
397
|
+
message_id: string
|
|
397
398
|
msg_id: Json | null
|
|
398
399
|
org_id: string
|
|
399
400
|
org_phone: string
|
|
@@ -402,13 +403,15 @@ export interface Database {
|
|
|
402
403
|
reaction: string | null
|
|
403
404
|
reaction_id: string
|
|
404
405
|
read: boolean | null
|
|
405
|
-
sender_id: string
|
|
406
|
+
sender_id: string
|
|
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
|
-
message_id
|
|
414
|
+
message_id: string
|
|
412
415
|
msg_id?: Json | null
|
|
413
416
|
org_id: string
|
|
414
417
|
org_phone: string
|
|
@@ -417,13 +420,15 @@ export interface Database {
|
|
|
417
420
|
reaction?: string | null
|
|
418
421
|
reaction_id: string
|
|
419
422
|
read?: boolean | null
|
|
420
|
-
sender_id
|
|
423
|
+
sender_id: string
|
|
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
|
-
message_id?: string
|
|
431
|
+
message_id?: string
|
|
427
432
|
msg_id?: Json | null
|
|
428
433
|
org_id?: string
|
|
429
434
|
org_phone?: string
|
|
@@ -432,8 +437,9 @@ export interface Database {
|
|
|
432
437
|
reaction?: string | null
|
|
433
438
|
reaction_id?: string
|
|
434
439
|
read?: boolean | null
|
|
435
|
-
sender_id?: string
|
|
440
|
+
sender_id?: string
|
|
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>;
|