@hobenakicoffee/libraries 1.12.0 → 1.13.0
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/package.json +1 -1
- package/src/types/supabase.ts +102 -0
package/package.json
CHANGED
package/src/types/supabase.ts
CHANGED
|
@@ -137,6 +137,69 @@ export type Database = {
|
|
|
137
137
|
},
|
|
138
138
|
];
|
|
139
139
|
};
|
|
140
|
+
conversation_participants: {
|
|
141
|
+
Row: {
|
|
142
|
+
conversation_id: string;
|
|
143
|
+
joined_at: string;
|
|
144
|
+
last_read_at: string | null;
|
|
145
|
+
profile_id: string;
|
|
146
|
+
};
|
|
147
|
+
Insert: {
|
|
148
|
+
conversation_id: string;
|
|
149
|
+
joined_at?: string;
|
|
150
|
+
last_read_at?: string | null;
|
|
151
|
+
profile_id: string;
|
|
152
|
+
};
|
|
153
|
+
Update: {
|
|
154
|
+
conversation_id?: string;
|
|
155
|
+
joined_at?: string;
|
|
156
|
+
last_read_at?: string | null;
|
|
157
|
+
profile_id?: string;
|
|
158
|
+
};
|
|
159
|
+
Relationships: [
|
|
160
|
+
{
|
|
161
|
+
foreignKeyName: "conversation_participants_conversation_id_fkey";
|
|
162
|
+
columns: ["conversation_id"];
|
|
163
|
+
isOneToOne: false;
|
|
164
|
+
referencedRelation: "conversations";
|
|
165
|
+
referencedColumns: ["id"];
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
foreignKeyName: "conversation_participants_profile_id_fkey";
|
|
169
|
+
columns: ["profile_id"];
|
|
170
|
+
isOneToOne: false;
|
|
171
|
+
referencedRelation: "profiles";
|
|
172
|
+
referencedColumns: ["id"];
|
|
173
|
+
},
|
|
174
|
+
];
|
|
175
|
+
};
|
|
176
|
+
conversations: {
|
|
177
|
+
Row: {
|
|
178
|
+
created_at: string;
|
|
179
|
+
id: string;
|
|
180
|
+
last_message_at: string | null;
|
|
181
|
+
last_message_preview: string | null;
|
|
182
|
+
name: string | null;
|
|
183
|
+
type: string;
|
|
184
|
+
};
|
|
185
|
+
Insert: {
|
|
186
|
+
created_at?: string;
|
|
187
|
+
id?: string;
|
|
188
|
+
last_message_at?: string | null;
|
|
189
|
+
last_message_preview?: string | null;
|
|
190
|
+
name?: string | null;
|
|
191
|
+
type?: string;
|
|
192
|
+
};
|
|
193
|
+
Update: {
|
|
194
|
+
created_at?: string;
|
|
195
|
+
id?: string;
|
|
196
|
+
last_message_at?: string | null;
|
|
197
|
+
last_message_preview?: string | null;
|
|
198
|
+
name?: string | null;
|
|
199
|
+
type?: string;
|
|
200
|
+
};
|
|
201
|
+
Relationships: [];
|
|
202
|
+
};
|
|
140
203
|
follows: {
|
|
141
204
|
Row: {
|
|
142
205
|
created_at: string | null;
|
|
@@ -268,6 +331,45 @@ export type Database = {
|
|
|
268
331
|
};
|
|
269
332
|
Relationships: [];
|
|
270
333
|
};
|
|
334
|
+
messages: {
|
|
335
|
+
Row: {
|
|
336
|
+
content: string;
|
|
337
|
+
conversation_id: string;
|
|
338
|
+
created_at: string;
|
|
339
|
+
id: number;
|
|
340
|
+
sender_id: string;
|
|
341
|
+
};
|
|
342
|
+
Insert: {
|
|
343
|
+
content: string;
|
|
344
|
+
conversation_id: string;
|
|
345
|
+
created_at?: string;
|
|
346
|
+
id?: number;
|
|
347
|
+
sender_id: string;
|
|
348
|
+
};
|
|
349
|
+
Update: {
|
|
350
|
+
content?: string;
|
|
351
|
+
conversation_id?: string;
|
|
352
|
+
created_at?: string;
|
|
353
|
+
id?: number;
|
|
354
|
+
sender_id?: string;
|
|
355
|
+
};
|
|
356
|
+
Relationships: [
|
|
357
|
+
{
|
|
358
|
+
foreignKeyName: "messages_conversation_id_fkey";
|
|
359
|
+
columns: ["conversation_id"];
|
|
360
|
+
isOneToOne: false;
|
|
361
|
+
referencedRelation: "conversations";
|
|
362
|
+
referencedColumns: ["id"];
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
foreignKeyName: "messages_sender_id_fkey";
|
|
366
|
+
columns: ["sender_id"];
|
|
367
|
+
isOneToOne: false;
|
|
368
|
+
referencedRelation: "profiles";
|
|
369
|
+
referencedColumns: ["id"];
|
|
370
|
+
},
|
|
371
|
+
];
|
|
372
|
+
};
|
|
271
373
|
payout_methods: {
|
|
272
374
|
Row: {
|
|
273
375
|
created_at: string;
|