@elevasis/ui 1.15.3 → 1.17.1

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.
Files changed (41) hide show
  1. package/dist/charts/index.d.ts +25 -2
  2. package/dist/charts/index.js +2 -2
  3. package/dist/{chunk-FEZ2TGSH.js → chunk-7ATCF6UL.js} +282 -14
  4. package/dist/{chunk-4NHYV42S.js → chunk-7S5FS7WW.js} +35 -4
  5. package/dist/chunk-ADSSLKKP.js +10 -0
  6. package/dist/{chunk-WY2BCL5F.js → chunk-F25DUOWI.js} +2 -2
  7. package/dist/chunk-MHW43EOH.js +47 -0
  8. package/dist/{chunk-6YIE72M2.js → chunk-NUULWBAD.js} +1 -1
  9. package/dist/{chunk-E6Q6A5TU.js → chunk-QCEUL5QG.js} +2 -6
  10. package/dist/{chunk-4NAZQ7WO.js → chunk-RYSPAQGW.js} +2 -2
  11. package/dist/{chunk-XY7VKOKI.js → chunk-UEYUPTAD.js} +80 -777
  12. package/dist/chunk-ZGK6XZVY.js +1208 -0
  13. package/dist/components/index.d.ts +511 -488
  14. package/dist/components/index.js +28 -1221
  15. package/dist/features/operations/index.css +565 -0
  16. package/dist/features/operations/index.d.ts +90 -0
  17. package/dist/features/operations/index.js +241 -0
  18. package/dist/hooks/index.d.ts +509 -488
  19. package/dist/hooks/index.js +4 -4
  20. package/dist/hooks/published.d.ts +509 -488
  21. package/dist/hooks/published.js +4 -4
  22. package/dist/index.d.ts +522 -490
  23. package/dist/index.js +6 -6
  24. package/dist/initialization/index.d.ts +508 -487
  25. package/dist/layout/index.d.ts +196 -6
  26. package/dist/layout/index.js +5 -4
  27. package/dist/profile/index.d.ts +508 -487
  28. package/dist/provider/index.d.ts +1 -1
  29. package/dist/provider/index.js +4 -4
  30. package/dist/provider/published.d.ts +1 -1
  31. package/dist/router/index.d.ts +12 -1
  32. package/dist/router/index.js +1 -1
  33. package/dist/supabase/index.d.ts +890 -851
  34. package/dist/theme/index.d.ts +1 -1
  35. package/dist/theme/index.js +3 -3
  36. package/dist/types/index.d.ts +509 -488
  37. package/package.json +5 -1
  38. package/dist/chunk-LHQTTUL2.js +0 -27
  39. package/dist/components/layout/backgrounds/CyberParticles.d.ts +0 -30
  40. package/dist/components/layout/backgrounds/CyberParticles.d.ts.map +0 -1
  41. package/dist/components/layout/backgrounds/CyberParticles.js +0 -138
@@ -6,7 +6,7 @@ type Json = string | number | boolean | null | {
6
6
  } | Json[];
7
7
  type Database = {
8
8
  __InternalSupabase: {
9
- PostgrestVersion: '12.2.3 (519615d)';
9
+ PostgrestVersion: "12.2.3 (519615d)";
10
10
  };
11
11
  public: {
12
12
  Tables: {
@@ -85,11 +85,11 @@ type Database = {
85
85
  };
86
86
  Relationships: [
87
87
  {
88
- foreignKeyName: 'acq_companies_organization_id_fkey';
89
- columns: ['organization_id'];
88
+ foreignKeyName: "acq_companies_organization_id_fkey";
89
+ columns: ["organization_id"];
90
90
  isOneToOne: false;
91
- referencedRelation: 'organizations';
92
- referencedColumns: ['id'];
91
+ referencedRelation: "organizations";
92
+ referencedColumns: ["id"];
93
93
  }
94
94
  ];
95
95
  };
@@ -174,18 +174,18 @@ type Database = {
174
174
  };
175
175
  Relationships: [
176
176
  {
177
- foreignKeyName: 'acq_contacts_company_id_fkey';
178
- columns: ['company_id'];
177
+ foreignKeyName: "acq_contacts_company_id_fkey";
178
+ columns: ["company_id"];
179
179
  isOneToOne: false;
180
- referencedRelation: 'acq_companies';
181
- referencedColumns: ['id'];
180
+ referencedRelation: "acq_companies";
181
+ referencedColumns: ["id"];
182
182
  },
183
183
  {
184
- foreignKeyName: 'acq_contacts_organization_id_fkey';
185
- columns: ['organization_id'];
184
+ foreignKeyName: "acq_contacts_organization_id_fkey";
185
+ columns: ["organization_id"];
186
186
  isOneToOne: false;
187
- referencedRelation: 'organizations';
188
- referencedColumns: ['id'];
187
+ referencedRelation: "organizations";
188
+ referencedColumns: ["id"];
189
189
  }
190
190
  ];
191
191
  };
@@ -222,11 +222,11 @@ type Database = {
222
222
  };
223
223
  Relationships: [
224
224
  {
225
- foreignKeyName: 'acq_content_organization_id_fkey';
226
- columns: ['organization_id'];
225
+ foreignKeyName: "acq_content_organization_id_fkey";
226
+ columns: ["organization_id"];
227
227
  isOneToOne: false;
228
- referencedRelation: 'organizations';
229
- referencedColumns: ['id'];
228
+ referencedRelation: "organizations";
229
+ referencedColumns: ["id"];
230
230
  }
231
231
  ];
232
232
  };
@@ -290,18 +290,18 @@ type Database = {
290
290
  };
291
291
  Relationships: [
292
292
  {
293
- foreignKeyName: 'acq_content_distributions_content_id_fkey';
294
- columns: ['content_id'];
293
+ foreignKeyName: "acq_content_distributions_content_id_fkey";
294
+ columns: ["content_id"];
295
295
  isOneToOne: false;
296
- referencedRelation: 'acq_content';
297
- referencedColumns: ['id'];
296
+ referencedRelation: "acq_content";
297
+ referencedColumns: ["id"];
298
298
  },
299
299
  {
300
- foreignKeyName: 'acq_content_distributions_organization_id_fkey';
301
- columns: ['organization_id'];
300
+ foreignKeyName: "acq_content_distributions_organization_id_fkey";
301
+ columns: ["organization_id"];
302
302
  isOneToOne: false;
303
- referencedRelation: 'organizations';
304
- referencedColumns: ['id'];
303
+ referencedRelation: "organizations";
304
+ referencedColumns: ["id"];
305
305
  }
306
306
  ];
307
307
  };
@@ -413,25 +413,25 @@ type Database = {
413
413
  };
414
414
  Relationships: [
415
415
  {
416
- foreignKeyName: 'acq_deals_contact_id_fkey';
417
- columns: ['contact_id'];
416
+ foreignKeyName: "acq_deals_contact_id_fkey";
417
+ columns: ["contact_id"];
418
418
  isOneToOne: false;
419
- referencedRelation: 'acq_contacts';
420
- referencedColumns: ['id'];
419
+ referencedRelation: "acq_contacts";
420
+ referencedColumns: ["id"];
421
421
  },
422
422
  {
423
- foreignKeyName: 'acq_deals_organization_id_fkey';
424
- columns: ['organization_id'];
423
+ foreignKeyName: "acq_deals_organization_id_fkey";
424
+ columns: ["organization_id"];
425
425
  isOneToOne: false;
426
- referencedRelation: 'organizations';
427
- referencedColumns: ['id'];
426
+ referencedRelation: "organizations";
427
+ referencedColumns: ["id"];
428
428
  },
429
429
  {
430
- foreignKeyName: 'acq_deals_source_list_id_fkey';
431
- columns: ['source_list_id'];
430
+ foreignKeyName: "acq_deals_source_list_id_fkey";
431
+ columns: ["source_list_id"];
432
432
  isOneToOne: false;
433
- referencedRelation: 'acq_lists';
434
- referencedColumns: ['id'];
433
+ referencedRelation: "acq_lists";
434
+ referencedColumns: ["id"];
435
435
  }
436
436
  ];
437
437
  };
@@ -459,18 +459,18 @@ type Database = {
459
459
  };
460
460
  Relationships: [
461
461
  {
462
- foreignKeyName: 'acq_list_members_contact_id_fkey';
463
- columns: ['contact_id'];
462
+ foreignKeyName: "acq_list_members_contact_id_fkey";
463
+ columns: ["contact_id"];
464
464
  isOneToOne: false;
465
- referencedRelation: 'acq_contacts';
466
- referencedColumns: ['id'];
465
+ referencedRelation: "acq_contacts";
466
+ referencedColumns: ["id"];
467
467
  },
468
468
  {
469
- foreignKeyName: 'acq_list_members_list_id_fkey';
470
- columns: ['list_id'];
469
+ foreignKeyName: "acq_list_members_list_id_fkey";
470
+ columns: ["list_id"];
471
471
  isOneToOne: false;
472
- referencedRelation: 'acq_lists';
473
- referencedColumns: ['id'];
472
+ referencedRelation: "acq_lists";
473
+ referencedColumns: ["id"];
474
474
  }
475
475
  ];
476
476
  };
@@ -519,11 +519,11 @@ type Database = {
519
519
  };
520
520
  Relationships: [
521
521
  {
522
- foreignKeyName: 'acq_lists_organization_id_fkey';
523
- columns: ['organization_id'];
522
+ foreignKeyName: "acq_lists_organization_id_fkey";
523
+ columns: ["organization_id"];
524
524
  isOneToOne: false;
525
- referencedRelation: 'organizations';
526
- referencedColumns: ['id'];
525
+ referencedRelation: "organizations";
526
+ referencedColumns: ["id"];
527
527
  }
528
528
  ];
529
529
  };
@@ -599,18 +599,18 @@ type Database = {
599
599
  };
600
600
  Relationships: [
601
601
  {
602
- foreignKeyName: 'acq_seo_metrics_organization_id_fkey';
603
- columns: ['organization_id'];
602
+ foreignKeyName: "acq_seo_metrics_organization_id_fkey";
603
+ columns: ["organization_id"];
604
604
  isOneToOne: false;
605
- referencedRelation: 'organizations';
606
- referencedColumns: ['id'];
605
+ referencedRelation: "organizations";
606
+ referencedColumns: ["id"];
607
607
  },
608
608
  {
609
- foreignKeyName: 'acq_seo_metrics_seo_page_id_fkey';
610
- columns: ['seo_page_id'];
609
+ foreignKeyName: "acq_seo_metrics_seo_page_id_fkey";
610
+ columns: ["seo_page_id"];
611
611
  isOneToOne: false;
612
- referencedRelation: 'acq_seo_pages';
613
- referencedColumns: ['id'];
612
+ referencedRelation: "acq_seo_pages";
613
+ referencedColumns: ["id"];
614
614
  }
615
615
  ];
616
616
  };
@@ -686,11 +686,11 @@ type Database = {
686
686
  };
687
687
  Relationships: [
688
688
  {
689
- foreignKeyName: 'acq_seo_pages_organization_id_fkey';
690
- columns: ['organization_id'];
689
+ foreignKeyName: "acq_seo_pages_organization_id_fkey";
690
+ columns: ["organization_id"];
691
691
  isOneToOne: false;
692
- referencedRelation: 'organizations';
693
- referencedColumns: ['id'];
692
+ referencedRelation: "organizations";
693
+ referencedColumns: ["id"];
694
694
  }
695
695
  ];
696
696
  };
@@ -787,11 +787,11 @@ type Database = {
787
787
  };
788
788
  Relationships: [
789
789
  {
790
- foreignKeyName: 'acq_social_posts_organization_id_fkey';
791
- columns: ['organization_id'];
790
+ foreignKeyName: "acq_social_posts_organization_id_fkey";
791
+ columns: ["organization_id"];
792
792
  isOneToOne: false;
793
- referencedRelation: 'organizations';
794
- referencedColumns: ['id'];
793
+ referencedRelation: "organizations";
794
+ referencedColumns: ["id"];
795
795
  }
796
796
  ];
797
797
  };
@@ -846,11 +846,11 @@ type Database = {
846
846
  };
847
847
  Relationships: [
848
848
  {
849
- foreignKeyName: 'activities_organization_id_fkey';
850
- columns: ['organization_id'];
849
+ foreignKeyName: "activities_organization_id_fkey";
850
+ columns: ["organization_id"];
851
851
  isOneToOne: false;
852
- referencedRelation: 'organizations';
853
- referencedColumns: ['id'];
852
+ referencedRelation: "organizations";
853
+ referencedColumns: ["id"];
854
854
  }
855
855
  ];
856
856
  };
@@ -881,11 +881,11 @@ type Database = {
881
881
  };
882
882
  Relationships: [
883
883
  {
884
- foreignKeyName: 'api_keys_organization_id_fkey';
885
- columns: ['organization_id'];
884
+ foreignKeyName: "api_keys_organization_id_fkey";
885
+ columns: ["organization_id"];
886
886
  isOneToOne: false;
887
- referencedRelation: 'organizations';
888
- referencedColumns: ['id'];
887
+ referencedRelation: "organizations";
888
+ referencedColumns: ["id"];
889
889
  }
890
890
  ];
891
891
  };
@@ -922,11 +922,11 @@ type Database = {
922
922
  };
923
923
  Relationships: [
924
924
  {
925
- foreignKeyName: 'calibration_projects_organization_id_fkey';
926
- columns: ['organization_id'];
925
+ foreignKeyName: "calibration_projects_organization_id_fkey";
926
+ columns: ["organization_id"];
927
927
  isOneToOne: false;
928
- referencedRelation: 'organizations';
929
- referencedColumns: ['id'];
928
+ referencedRelation: "organizations";
929
+ referencedColumns: ["id"];
930
930
  }
931
931
  ];
932
932
  };
@@ -981,18 +981,18 @@ type Database = {
981
981
  };
982
982
  Relationships: [
983
983
  {
984
- foreignKeyName: 'calibration_runs_organization_id_fkey';
985
- columns: ['organization_id'];
984
+ foreignKeyName: "calibration_runs_organization_id_fkey";
985
+ columns: ["organization_id"];
986
986
  isOneToOne: false;
987
- referencedRelation: 'organizations';
988
- referencedColumns: ['id'];
987
+ referencedRelation: "organizations";
988
+ referencedColumns: ["id"];
989
989
  },
990
990
  {
991
- foreignKeyName: 'calibration_runs_project_id_fkey';
992
- columns: ['project_id'];
991
+ foreignKeyName: "calibration_runs_project_id_fkey";
992
+ columns: ["project_id"];
993
993
  isOneToOne: false;
994
- referencedRelation: 'calibration_projects';
995
- referencedColumns: ['id'];
994
+ referencedRelation: "calibration_projects";
995
+ referencedColumns: ["id"];
996
996
  }
997
997
  ];
998
998
  };
@@ -1071,25 +1071,25 @@ type Database = {
1071
1071
  };
1072
1072
  Relationships: [
1073
1073
  {
1074
- foreignKeyName: 'command_queue_completed_by_fkey';
1075
- columns: ['completed_by'];
1074
+ foreignKeyName: "command_queue_completed_by_fkey";
1075
+ columns: ["completed_by"];
1076
1076
  isOneToOne: false;
1077
- referencedRelation: 'users';
1078
- referencedColumns: ['id'];
1077
+ referencedRelation: "users";
1078
+ referencedColumns: ["id"];
1079
1079
  },
1080
1080
  {
1081
- foreignKeyName: 'command_queue_organization_id_fkey';
1082
- columns: ['organization_id'];
1081
+ foreignKeyName: "command_queue_organization_id_fkey";
1082
+ columns: ["organization_id"];
1083
1083
  isOneToOne: false;
1084
- referencedRelation: 'organizations';
1085
- referencedColumns: ['id'];
1084
+ referencedRelation: "organizations";
1085
+ referencedColumns: ["id"];
1086
1086
  },
1087
1087
  {
1088
- foreignKeyName: 'command_queue_target_execution_id_fkey';
1089
- columns: ['target_execution_id'];
1088
+ foreignKeyName: "command_queue_target_execution_id_fkey";
1089
+ columns: ["target_execution_id"];
1090
1090
  isOneToOne: false;
1091
- referencedRelation: 'execution_logs';
1092
- referencedColumns: ['execution_id'];
1091
+ referencedRelation: "execution_logs";
1092
+ referencedColumns: ["execution_id"];
1093
1093
  }
1094
1094
  ];
1095
1095
  };
@@ -1129,306 +1129,18 @@ type Database = {
1129
1129
  };
1130
1130
  Relationships: [
1131
1131
  {
1132
- foreignKeyName: 'credentials_created_by_fkey';
1133
- columns: ['created_by'];
1132
+ foreignKeyName: "credentials_created_by_fkey";
1133
+ columns: ["created_by"];
1134
1134
  isOneToOne: false;
1135
- referencedRelation: 'users';
1136
- referencedColumns: ['id'];
1135
+ referencedRelation: "users";
1136
+ referencedColumns: ["id"];
1137
1137
  },
1138
1138
  {
1139
- foreignKeyName: 'credentials_organization_id_fkey';
1140
- columns: ['organization_id'];
1139
+ foreignKeyName: "credentials_organization_id_fkey";
1140
+ columns: ["organization_id"];
1141
1141
  isOneToOne: false;
1142
- referencedRelation: 'organizations';
1143
- referencedColumns: ['id'];
1144
- }
1145
- ];
1146
- };
1147
- prj_tasks: {
1148
- Row: {
1149
- checklist: Json | null;
1150
- completed_at: string | null;
1151
- created_at: string;
1152
- description: string | null;
1153
- due_date: string | null;
1154
- file_url: string | null;
1155
- id: string;
1156
- metadata: Json | null;
1157
- milestone_id: string | null;
1158
- name: string;
1159
- organization_id: string;
1160
- parent_task_id: string | null;
1161
- project_id: string;
1162
- resume_context: Json | null;
1163
- status: string;
1164
- type: string;
1165
- updated_at: string;
1166
- };
1167
- Insert: {
1168
- checklist?: Json | null;
1169
- completed_at?: string | null;
1170
- created_at?: string;
1171
- description?: string | null;
1172
- due_date?: string | null;
1173
- file_url?: string | null;
1174
- id?: string;
1175
- metadata?: Json | null;
1176
- milestone_id?: string | null;
1177
- name: string;
1178
- organization_id: string;
1179
- parent_task_id?: string | null;
1180
- project_id: string;
1181
- resume_context?: Json | null;
1182
- status?: string;
1183
- type?: string;
1184
- updated_at?: string;
1185
- };
1186
- Update: {
1187
- checklist?: Json | null;
1188
- completed_at?: string | null;
1189
- created_at?: string;
1190
- description?: string | null;
1191
- due_date?: string | null;
1192
- file_url?: string | null;
1193
- id?: string;
1194
- metadata?: Json | null;
1195
- milestone_id?: string | null;
1196
- name?: string;
1197
- organization_id?: string;
1198
- parent_task_id?: string | null;
1199
- project_id?: string;
1200
- resume_context?: Json | null;
1201
- status?: string;
1202
- type?: string;
1203
- updated_at?: string;
1204
- };
1205
- Relationships: [
1206
- {
1207
- foreignKeyName: 'prj_tasks_project_id_fkey';
1208
- columns: ['project_id'];
1209
- isOneToOne: false;
1210
- referencedRelation: 'prj_projects';
1211
- referencedColumns: ['id'];
1212
- },
1213
- {
1214
- foreignKeyName: 'prj_tasks_milestone_id_fkey';
1215
- columns: ['milestone_id'];
1216
- isOneToOne: false;
1217
- referencedRelation: 'prj_milestones';
1218
- referencedColumns: ['id'];
1219
- },
1220
- {
1221
- foreignKeyName: 'prj_tasks_organization_id_fkey';
1222
- columns: ['organization_id'];
1223
- isOneToOne: false;
1224
- referencedRelation: 'organizations';
1225
- referencedColumns: ['id'];
1226
- }
1227
- ];
1228
- };
1229
- prj_projects: {
1230
- Row: {
1231
- actual_end_date: string | null;
1232
- client_company_id: string | null;
1233
- contract_value: number | null;
1234
- created_at: string;
1235
- deal_id: string | null;
1236
- description: string | null;
1237
- id: string;
1238
- kind: string;
1239
- metadata: Json | null;
1240
- name: string;
1241
- organization_id: string;
1242
- start_date: string | null;
1243
- status: string;
1244
- target_end_date: string | null;
1245
- updated_at: string;
1246
- };
1247
- Insert: {
1248
- actual_end_date?: string | null;
1249
- client_company_id?: string | null;
1250
- contract_value?: number | null;
1251
- created_at?: string;
1252
- deal_id?: string | null;
1253
- description?: string | null;
1254
- id?: string;
1255
- kind?: string;
1256
- metadata?: Json | null;
1257
- name: string;
1258
- organization_id: string;
1259
- start_date?: string | null;
1260
- status?: string;
1261
- target_end_date?: string | null;
1262
- updated_at?: string;
1263
- };
1264
- Update: {
1265
- actual_end_date?: string | null;
1266
- client_company_id?: string | null;
1267
- contract_value?: number | null;
1268
- created_at?: string;
1269
- deal_id?: string | null;
1270
- description?: string | null;
1271
- id?: string;
1272
- kind?: string;
1273
- metadata?: Json | null;
1274
- name?: string;
1275
- organization_id?: string;
1276
- start_date?: string | null;
1277
- status?: string;
1278
- target_end_date?: string | null;
1279
- updated_at?: string;
1280
- };
1281
- Relationships: [
1282
- {
1283
- foreignKeyName: 'prj_projects_client_company_id_fkey';
1284
- columns: ['client_company_id'];
1285
- isOneToOne: false;
1286
- referencedRelation: 'acq_companies';
1287
- referencedColumns: ['id'];
1288
- },
1289
- {
1290
- foreignKeyName: 'prj_projects_deal_id_fkey';
1291
- columns: ['deal_id'];
1292
- isOneToOne: false;
1293
- referencedRelation: 'acq_deals';
1294
- referencedColumns: ['id'];
1295
- },
1296
- {
1297
- foreignKeyName: 'prj_projects_organization_id_fkey';
1298
- columns: ['organization_id'];
1299
- isOneToOne: false;
1300
- referencedRelation: 'organizations';
1301
- referencedColumns: ['id'];
1302
- }
1303
- ];
1304
- };
1305
- prj_milestones: {
1306
- Row: {
1307
- checklist: Json | null;
1308
- completed_at: string | null;
1309
- created_at: string;
1310
- description: string | null;
1311
- due_date: string | null;
1312
- id: string;
1313
- metadata: Json | null;
1314
- name: string;
1315
- organization_id: string;
1316
- project_id: string;
1317
- sequence: number;
1318
- status: string;
1319
- updated_at: string;
1320
- };
1321
- Insert: {
1322
- checklist?: Json | null;
1323
- completed_at?: string | null;
1324
- created_at?: string;
1325
- description?: string | null;
1326
- due_date?: string | null;
1327
- id?: string;
1328
- metadata?: Json | null;
1329
- name: string;
1330
- organization_id: string;
1331
- project_id: string;
1332
- sequence?: number;
1333
- status?: string;
1334
- updated_at?: string;
1335
- };
1336
- Update: {
1337
- checklist?: Json | null;
1338
- completed_at?: string | null;
1339
- created_at?: string;
1340
- description?: string | null;
1341
- due_date?: string | null;
1342
- id?: string;
1343
- metadata?: Json | null;
1344
- name?: string;
1345
- organization_id?: string;
1346
- project_id?: string;
1347
- sequence?: number;
1348
- status?: string;
1349
- updated_at?: string;
1350
- };
1351
- Relationships: [
1352
- {
1353
- foreignKeyName: 'prj_milestones_project_id_fkey';
1354
- columns: ['project_id'];
1355
- isOneToOne: false;
1356
- referencedRelation: 'prj_projects';
1357
- referencedColumns: ['id'];
1358
- },
1359
- {
1360
- foreignKeyName: 'prj_milestones_organization_id_fkey';
1361
- columns: ['organization_id'];
1362
- isOneToOne: false;
1363
- referencedRelation: 'organizations';
1364
- referencedColumns: ['id'];
1365
- }
1366
- ];
1367
- };
1368
- prj_notes: {
1369
- Row: {
1370
- content: string;
1371
- created_at: string;
1372
- created_by: string | null;
1373
- id: string;
1374
- metadata: Json | null;
1375
- milestone_id: string | null;
1376
- occurred_at: string;
1377
- organization_id: string;
1378
- project_id: string;
1379
- summary: string | null;
1380
- task_id: string | null;
1381
- type: string;
1382
- };
1383
- Insert: {
1384
- content: string;
1385
- created_at?: string;
1386
- created_by?: string | null;
1387
- id?: string;
1388
- metadata?: Json | null;
1389
- milestone_id?: string | null;
1390
- occurred_at?: string;
1391
- organization_id: string;
1392
- project_id: string;
1393
- summary?: string | null;
1394
- task_id?: string | null;
1395
- type?: string;
1396
- };
1397
- Update: {
1398
- content?: string;
1399
- created_at?: string;
1400
- created_by?: string | null;
1401
- id?: string;
1402
- metadata?: Json | null;
1403
- milestone_id?: string | null;
1404
- occurred_at?: string;
1405
- organization_id?: string;
1406
- project_id?: string;
1407
- summary?: string | null;
1408
- task_id?: string | null;
1409
- type?: string;
1410
- };
1411
- Relationships: [
1412
- {
1413
- foreignKeyName: 'prj_notes_created_by_fkey';
1414
- columns: ['created_by'];
1415
- isOneToOne: false;
1416
- referencedRelation: 'users';
1417
- referencedColumns: ['id'];
1418
- },
1419
- {
1420
- foreignKeyName: 'prj_notes_project_id_fkey';
1421
- columns: ['project_id'];
1422
- isOneToOne: false;
1423
- referencedRelation: 'prj_projects';
1424
- referencedColumns: ['id'];
1425
- },
1426
- {
1427
- foreignKeyName: 'prj_notes_organization_id_fkey';
1428
- columns: ['organization_id'];
1429
- isOneToOne: false;
1430
- referencedRelation: 'organizations';
1431
- referencedColumns: ['id'];
1142
+ referencedRelation: "organizations";
1143
+ referencedColumns: ["id"];
1432
1144
  }
1433
1145
  ];
1434
1146
  };
@@ -1480,11 +1192,11 @@ type Database = {
1480
1192
  };
1481
1193
  Relationships: [
1482
1194
  {
1483
- foreignKeyName: 'deployments_organization_id_fkey';
1484
- columns: ['organization_id'];
1195
+ foreignKeyName: "deployments_organization_id_fkey";
1196
+ columns: ["organization_id"];
1485
1197
  isOneToOne: false;
1486
- referencedRelation: 'organizations';
1487
- referencedColumns: ['id'];
1198
+ referencedRelation: "organizations";
1199
+ referencedColumns: ["id"];
1488
1200
  }
1489
1201
  ];
1490
1202
  };
@@ -1539,25 +1251,25 @@ type Database = {
1539
1251
  };
1540
1252
  Relationships: [
1541
1253
  {
1542
- foreignKeyName: 'execution_errors_execution_id_fkey';
1543
- columns: ['execution_id'];
1254
+ foreignKeyName: "execution_errors_execution_id_fkey";
1255
+ columns: ["execution_id"];
1544
1256
  isOneToOne: false;
1545
- referencedRelation: 'execution_logs';
1546
- referencedColumns: ['execution_id'];
1257
+ referencedRelation: "execution_logs";
1258
+ referencedColumns: ["execution_id"];
1547
1259
  },
1548
1260
  {
1549
- foreignKeyName: 'execution_errors_organization_id_fkey';
1550
- columns: ['organization_id'];
1261
+ foreignKeyName: "execution_errors_organization_id_fkey";
1262
+ columns: ["organization_id"];
1551
1263
  isOneToOne: false;
1552
- referencedRelation: 'organizations';
1553
- referencedColumns: ['id'];
1264
+ referencedRelation: "organizations";
1265
+ referencedColumns: ["id"];
1554
1266
  },
1555
1267
  {
1556
- foreignKeyName: 'execution_errors_resolved_by_fkey';
1557
- columns: ['resolved_by'];
1268
+ foreignKeyName: "execution_errors_resolved_by_fkey";
1269
+ columns: ["resolved_by"];
1558
1270
  isOneToOne: false;
1559
- referencedRelation: 'users';
1560
- referencedColumns: ['id'];
1271
+ referencedRelation: "users";
1272
+ referencedColumns: ["id"];
1561
1273
  }
1562
1274
  ];
1563
1275
  };
@@ -1639,32 +1351,32 @@ type Database = {
1639
1351
  };
1640
1352
  Relationships: [
1641
1353
  {
1642
- foreignKeyName: 'execution_history_organization_id_fkey';
1643
- columns: ['organization_id'];
1354
+ foreignKeyName: "execution_history_organization_id_fkey";
1355
+ columns: ["organization_id"];
1644
1356
  isOneToOne: false;
1645
- referencedRelation: 'organizations';
1646
- referencedColumns: ['id'];
1357
+ referencedRelation: "organizations";
1358
+ referencedColumns: ["id"];
1647
1359
  },
1648
1360
  {
1649
- foreignKeyName: 'execution_logs_origin_execution_id_fkey';
1650
- columns: ['origin_execution_id'];
1361
+ foreignKeyName: "execution_logs_origin_execution_id_fkey";
1362
+ columns: ["origin_execution_id"];
1651
1363
  isOneToOne: false;
1652
- referencedRelation: 'execution_logs';
1653
- referencedColumns: ['execution_id'];
1364
+ referencedRelation: "execution_logs";
1365
+ referencedColumns: ["execution_id"];
1654
1366
  },
1655
1367
  {
1656
- foreignKeyName: 'execution_logs_session_id_fkey';
1657
- columns: ['session_id'];
1368
+ foreignKeyName: "execution_logs_session_id_fkey";
1369
+ columns: ["session_id"];
1658
1370
  isOneToOne: false;
1659
- referencedRelation: 'sessions';
1660
- referencedColumns: ['session_id'];
1371
+ referencedRelation: "sessions";
1372
+ referencedColumns: ["session_id"];
1661
1373
  },
1662
1374
  {
1663
- foreignKeyName: 'execution_logs_user_id_fkey';
1664
- columns: ['user_id'];
1375
+ foreignKeyName: "execution_logs_user_id_fkey";
1376
+ columns: ["user_id"];
1665
1377
  isOneToOne: false;
1666
- referencedRelation: 'users';
1667
- referencedColumns: ['id'];
1378
+ referencedRelation: "users";
1379
+ referencedColumns: ["id"];
1668
1380
  }
1669
1381
  ];
1670
1382
  };
@@ -1710,18 +1422,18 @@ type Database = {
1710
1422
  };
1711
1423
  Relationships: [
1712
1424
  {
1713
- foreignKeyName: 'execution_metrics_execution_id_fkey';
1714
- columns: ['execution_id'];
1425
+ foreignKeyName: "execution_metrics_execution_id_fkey";
1426
+ columns: ["execution_id"];
1715
1427
  isOneToOne: true;
1716
- referencedRelation: 'execution_logs';
1717
- referencedColumns: ['execution_id'];
1428
+ referencedRelation: "execution_logs";
1429
+ referencedColumns: ["execution_id"];
1718
1430
  },
1719
1431
  {
1720
- foreignKeyName: 'execution_metrics_organization_id_fkey';
1721
- columns: ['organization_id'];
1432
+ foreignKeyName: "execution_metrics_organization_id_fkey";
1433
+ columns: ["organization_id"];
1722
1434
  isOneToOne: false;
1723
- referencedRelation: 'organizations';
1724
- referencedColumns: ['id'];
1435
+ referencedRelation: "organizations";
1436
+ referencedColumns: ["id"];
1725
1437
  }
1726
1438
  ];
1727
1439
  };
@@ -1764,18 +1476,18 @@ type Database = {
1764
1476
  };
1765
1477
  Relationships: [
1766
1478
  {
1767
- foreignKeyName: 'notifications_organization_id_fkey';
1768
- columns: ['organization_id'];
1479
+ foreignKeyName: "notifications_organization_id_fkey";
1480
+ columns: ["organization_id"];
1769
1481
  isOneToOne: false;
1770
- referencedRelation: 'organizations';
1771
- referencedColumns: ['id'];
1482
+ referencedRelation: "organizations";
1483
+ referencedColumns: ["id"];
1772
1484
  },
1773
1485
  {
1774
- foreignKeyName: 'notifications_user_id_fkey';
1775
- columns: ['user_id'];
1486
+ foreignKeyName: "notifications_user_id_fkey";
1487
+ columns: ["user_id"];
1776
1488
  isOneToOne: false;
1777
- referencedRelation: 'users';
1778
- referencedColumns: ['id'];
1489
+ referencedRelation: "users";
1490
+ referencedColumns: ["id"];
1779
1491
  }
1780
1492
  ];
1781
1493
  };
@@ -1830,18 +1542,18 @@ type Database = {
1830
1542
  };
1831
1543
  Relationships: [
1832
1544
  {
1833
- foreignKeyName: 'org_invitations_inviter_user_id_fkey';
1834
- columns: ['inviter_user_id'];
1545
+ foreignKeyName: "org_invitations_inviter_user_id_fkey";
1546
+ columns: ["inviter_user_id"];
1835
1547
  isOneToOne: false;
1836
- referencedRelation: 'users';
1837
- referencedColumns: ['id'];
1548
+ referencedRelation: "users";
1549
+ referencedColumns: ["id"];
1838
1550
  },
1839
1551
  {
1840
- foreignKeyName: 'org_invitations_organization_id_fkey';
1841
- columns: ['organization_id'];
1552
+ foreignKeyName: "org_invitations_organization_id_fkey";
1553
+ columns: ["organization_id"];
1842
1554
  isOneToOne: false;
1843
- referencedRelation: 'organizations';
1844
- referencedColumns: ['id'];
1555
+ referencedRelation: "organizations";
1556
+ referencedColumns: ["id"];
1845
1557
  }
1846
1558
  ];
1847
1559
  };
@@ -1881,18 +1593,18 @@ type Database = {
1881
1593
  };
1882
1594
  Relationships: [
1883
1595
  {
1884
- foreignKeyName: 'org_memberships_organization_id_fkey';
1885
- columns: ['organization_id'];
1596
+ foreignKeyName: "org_memberships_organization_id_fkey";
1597
+ columns: ["organization_id"];
1886
1598
  isOneToOne: false;
1887
- referencedRelation: 'organizations';
1888
- referencedColumns: ['id'];
1599
+ referencedRelation: "organizations";
1600
+ referencedColumns: ["id"];
1889
1601
  },
1890
1602
  {
1891
- foreignKeyName: 'org_memberships_user_id_fkey';
1892
- columns: ['user_id'];
1603
+ foreignKeyName: "org_memberships_user_id_fkey";
1604
+ columns: ["user_id"];
1893
1605
  isOneToOne: false;
1894
- referencedRelation: 'users';
1895
- referencedColumns: ['id'];
1606
+ referencedRelation: "users";
1607
+ referencedColumns: ["id"];
1896
1608
  }
1897
1609
  ];
1898
1610
  };
@@ -1932,6 +1644,315 @@ type Database = {
1932
1644
  };
1933
1645
  Relationships: [];
1934
1646
  };
1647
+ prj_milestones: {
1648
+ Row: {
1649
+ checklist: Json | null;
1650
+ completed_at: string | null;
1651
+ created_at: string;
1652
+ description: string | null;
1653
+ due_date: string | null;
1654
+ id: string;
1655
+ metadata: Json | null;
1656
+ name: string;
1657
+ organization_id: string;
1658
+ project_id: string;
1659
+ sequence: number;
1660
+ status: string;
1661
+ updated_at: string;
1662
+ };
1663
+ Insert: {
1664
+ checklist?: Json | null;
1665
+ completed_at?: string | null;
1666
+ created_at?: string;
1667
+ description?: string | null;
1668
+ due_date?: string | null;
1669
+ id?: string;
1670
+ metadata?: Json | null;
1671
+ name: string;
1672
+ organization_id: string;
1673
+ project_id: string;
1674
+ sequence?: number;
1675
+ status?: string;
1676
+ updated_at?: string;
1677
+ };
1678
+ Update: {
1679
+ checklist?: Json | null;
1680
+ completed_at?: string | null;
1681
+ created_at?: string;
1682
+ description?: string | null;
1683
+ due_date?: string | null;
1684
+ id?: string;
1685
+ metadata?: Json | null;
1686
+ name?: string;
1687
+ organization_id?: string;
1688
+ project_id?: string;
1689
+ sequence?: number;
1690
+ status?: string;
1691
+ updated_at?: string;
1692
+ };
1693
+ Relationships: [
1694
+ {
1695
+ foreignKeyName: "prj_milestones_organization_id_fkey";
1696
+ columns: ["organization_id"];
1697
+ isOneToOne: false;
1698
+ referencedRelation: "organizations";
1699
+ referencedColumns: ["id"];
1700
+ },
1701
+ {
1702
+ foreignKeyName: "prj_milestones_project_id_fkey";
1703
+ columns: ["project_id"];
1704
+ isOneToOne: false;
1705
+ referencedRelation: "prj_projects";
1706
+ referencedColumns: ["id"];
1707
+ }
1708
+ ];
1709
+ };
1710
+ prj_notes: {
1711
+ Row: {
1712
+ content: string;
1713
+ created_at: string;
1714
+ created_by: string | null;
1715
+ id: string;
1716
+ metadata: Json | null;
1717
+ milestone_id: string | null;
1718
+ occurred_at: string;
1719
+ organization_id: string;
1720
+ project_id: string;
1721
+ summary: string | null;
1722
+ task_id: string | null;
1723
+ type: string;
1724
+ };
1725
+ Insert: {
1726
+ content: string;
1727
+ created_at?: string;
1728
+ created_by?: string | null;
1729
+ id?: string;
1730
+ metadata?: Json | null;
1731
+ milestone_id?: string | null;
1732
+ occurred_at?: string;
1733
+ organization_id: string;
1734
+ project_id: string;
1735
+ summary?: string | null;
1736
+ task_id?: string | null;
1737
+ type?: string;
1738
+ };
1739
+ Update: {
1740
+ content?: string;
1741
+ created_at?: string;
1742
+ created_by?: string | null;
1743
+ id?: string;
1744
+ metadata?: Json | null;
1745
+ milestone_id?: string | null;
1746
+ occurred_at?: string;
1747
+ organization_id?: string;
1748
+ project_id?: string;
1749
+ summary?: string | null;
1750
+ task_id?: string | null;
1751
+ type?: string;
1752
+ };
1753
+ Relationships: [
1754
+ {
1755
+ foreignKeyName: "prj_notes_created_by_fkey";
1756
+ columns: ["created_by"];
1757
+ isOneToOne: false;
1758
+ referencedRelation: "users";
1759
+ referencedColumns: ["id"];
1760
+ },
1761
+ {
1762
+ foreignKeyName: "prj_notes_milestone_id_fkey";
1763
+ columns: ["milestone_id"];
1764
+ isOneToOne: false;
1765
+ referencedRelation: "prj_milestones";
1766
+ referencedColumns: ["id"];
1767
+ },
1768
+ {
1769
+ foreignKeyName: "prj_notes_organization_id_fkey";
1770
+ columns: ["organization_id"];
1771
+ isOneToOne: false;
1772
+ referencedRelation: "organizations";
1773
+ referencedColumns: ["id"];
1774
+ },
1775
+ {
1776
+ foreignKeyName: "prj_notes_project_id_fkey";
1777
+ columns: ["project_id"];
1778
+ isOneToOne: false;
1779
+ referencedRelation: "prj_projects";
1780
+ referencedColumns: ["id"];
1781
+ },
1782
+ {
1783
+ foreignKeyName: "prj_notes_task_id_fkey";
1784
+ columns: ["task_id"];
1785
+ isOneToOne: false;
1786
+ referencedRelation: "prj_tasks";
1787
+ referencedColumns: ["id"];
1788
+ }
1789
+ ];
1790
+ };
1791
+ prj_projects: {
1792
+ Row: {
1793
+ actual_end_date: string | null;
1794
+ client_company_id: string | null;
1795
+ contract_value: number | null;
1796
+ created_at: string;
1797
+ deal_id: string | null;
1798
+ description: string | null;
1799
+ id: string;
1800
+ kind: string;
1801
+ metadata: Json | null;
1802
+ name: string;
1803
+ organization_id: string;
1804
+ start_date: string | null;
1805
+ status: string;
1806
+ target_end_date: string | null;
1807
+ updated_at: string;
1808
+ };
1809
+ Insert: {
1810
+ actual_end_date?: string | null;
1811
+ client_company_id?: string | null;
1812
+ contract_value?: number | null;
1813
+ created_at?: string;
1814
+ deal_id?: string | null;
1815
+ description?: string | null;
1816
+ id?: string;
1817
+ kind?: string;
1818
+ metadata?: Json | null;
1819
+ name: string;
1820
+ organization_id: string;
1821
+ start_date?: string | null;
1822
+ status?: string;
1823
+ target_end_date?: string | null;
1824
+ updated_at?: string;
1825
+ };
1826
+ Update: {
1827
+ actual_end_date?: string | null;
1828
+ client_company_id?: string | null;
1829
+ contract_value?: number | null;
1830
+ created_at?: string;
1831
+ deal_id?: string | null;
1832
+ description?: string | null;
1833
+ id?: string;
1834
+ kind?: string;
1835
+ metadata?: Json | null;
1836
+ name?: string;
1837
+ organization_id?: string;
1838
+ start_date?: string | null;
1839
+ status?: string;
1840
+ target_end_date?: string | null;
1841
+ updated_at?: string;
1842
+ };
1843
+ Relationships: [
1844
+ {
1845
+ foreignKeyName: "prj_projects_client_company_id_fkey";
1846
+ columns: ["client_company_id"];
1847
+ isOneToOne: false;
1848
+ referencedRelation: "acq_companies";
1849
+ referencedColumns: ["id"];
1850
+ },
1851
+ {
1852
+ foreignKeyName: "prj_projects_deal_id_fkey";
1853
+ columns: ["deal_id"];
1854
+ isOneToOne: false;
1855
+ referencedRelation: "acq_deals";
1856
+ referencedColumns: ["id"];
1857
+ },
1858
+ {
1859
+ foreignKeyName: "prj_projects_organization_id_fkey";
1860
+ columns: ["organization_id"];
1861
+ isOneToOne: false;
1862
+ referencedRelation: "organizations";
1863
+ referencedColumns: ["id"];
1864
+ }
1865
+ ];
1866
+ };
1867
+ prj_tasks: {
1868
+ Row: {
1869
+ checklist: Json;
1870
+ completed_at: string | null;
1871
+ created_at: string;
1872
+ description: string | null;
1873
+ due_date: string | null;
1874
+ file_url: string | null;
1875
+ id: string;
1876
+ metadata: Json | null;
1877
+ milestone_id: string | null;
1878
+ name: string;
1879
+ organization_id: string;
1880
+ parent_task_id: string | null;
1881
+ project_id: string;
1882
+ resume_context: Json | null;
1883
+ status: string;
1884
+ type: string;
1885
+ updated_at: string;
1886
+ };
1887
+ Insert: {
1888
+ checklist?: Json;
1889
+ completed_at?: string | null;
1890
+ created_at?: string;
1891
+ description?: string | null;
1892
+ due_date?: string | null;
1893
+ file_url?: string | null;
1894
+ id?: string;
1895
+ metadata?: Json | null;
1896
+ milestone_id?: string | null;
1897
+ name: string;
1898
+ organization_id: string;
1899
+ parent_task_id?: string | null;
1900
+ project_id: string;
1901
+ resume_context?: Json | null;
1902
+ status?: string;
1903
+ type?: string;
1904
+ updated_at?: string;
1905
+ };
1906
+ Update: {
1907
+ checklist?: Json;
1908
+ completed_at?: string | null;
1909
+ created_at?: string;
1910
+ description?: string | null;
1911
+ due_date?: string | null;
1912
+ file_url?: string | null;
1913
+ id?: string;
1914
+ metadata?: Json | null;
1915
+ milestone_id?: string | null;
1916
+ name?: string;
1917
+ organization_id?: string;
1918
+ parent_task_id?: string | null;
1919
+ project_id?: string;
1920
+ resume_context?: Json | null;
1921
+ status?: string;
1922
+ type?: string;
1923
+ updated_at?: string;
1924
+ };
1925
+ Relationships: [
1926
+ {
1927
+ foreignKeyName: "prj_tasks_milestone_id_fkey";
1928
+ columns: ["milestone_id"];
1929
+ isOneToOne: false;
1930
+ referencedRelation: "prj_milestones";
1931
+ referencedColumns: ["id"];
1932
+ },
1933
+ {
1934
+ foreignKeyName: "prj_tasks_organization_id_fkey";
1935
+ columns: ["organization_id"];
1936
+ isOneToOne: false;
1937
+ referencedRelation: "organizations";
1938
+ referencedColumns: ["id"];
1939
+ },
1940
+ {
1941
+ foreignKeyName: "prj_tasks_parent_task_id_fkey";
1942
+ columns: ["parent_task_id"];
1943
+ isOneToOne: false;
1944
+ referencedRelation: "prj_tasks";
1945
+ referencedColumns: ["id"];
1946
+ },
1947
+ {
1948
+ foreignKeyName: "prj_tasks_project_id_fkey";
1949
+ columns: ["project_id"];
1950
+ isOneToOne: false;
1951
+ referencedRelation: "prj_projects";
1952
+ referencedColumns: ["id"];
1953
+ }
1954
+ ];
1955
+ };
1935
1956
  session_messages: {
1936
1957
  Row: {
1937
1958
  created_at: string | null;
@@ -1968,11 +1989,11 @@ type Database = {
1968
1989
  };
1969
1990
  Relationships: [
1970
1991
  {
1971
- foreignKeyName: 'session_messages_session_id_fkey';
1972
- columns: ['session_id'];
1992
+ foreignKeyName: "session_messages_session_id_fkey";
1993
+ columns: ["session_id"];
1973
1994
  isOneToOne: false;
1974
- referencedRelation: 'sessions';
1975
- referencedColumns: ['session_id'];
1995
+ referencedRelation: "sessions";
1996
+ referencedColumns: ["session_id"];
1976
1997
  }
1977
1998
  ];
1978
1999
  };
@@ -2027,18 +2048,18 @@ type Database = {
2027
2048
  };
2028
2049
  Relationships: [
2029
2050
  {
2030
- foreignKeyName: 'fk_organization';
2031
- columns: ['organization_id'];
2051
+ foreignKeyName: "fk_organization";
2052
+ columns: ["organization_id"];
2032
2053
  isOneToOne: false;
2033
- referencedRelation: 'organizations';
2034
- referencedColumns: ['id'];
2054
+ referencedRelation: "organizations";
2055
+ referencedColumns: ["id"];
2035
2056
  },
2036
2057
  {
2037
- foreignKeyName: 'fk_user';
2038
- columns: ['user_id'];
2058
+ foreignKeyName: "fk_user";
2059
+ columns: ["user_id"];
2039
2060
  isOneToOne: false;
2040
- referencedRelation: 'users';
2041
- referencedColumns: ['id'];
2061
+ referencedRelation: "users";
2062
+ referencedColumns: ["id"];
2042
2063
  }
2043
2064
  ];
2044
2065
  };
@@ -2114,11 +2135,11 @@ type Database = {
2114
2135
  };
2115
2136
  Relationships: [
2116
2137
  {
2117
- foreignKeyName: 'task_schedules_organization_id_fkey';
2118
- columns: ['organization_id'];
2138
+ foreignKeyName: "task_schedules_organization_id_fkey";
2139
+ columns: ["organization_id"];
2119
2140
  isOneToOne: false;
2120
- referencedRelation: 'organizations';
2121
- referencedColumns: ['id'];
2141
+ referencedRelation: "organizations";
2142
+ referencedColumns: ["id"];
2122
2143
  }
2123
2144
  ];
2124
2145
  };
@@ -2173,11 +2194,11 @@ type Database = {
2173
2194
  };
2174
2195
  Relationships: [
2175
2196
  {
2176
- foreignKeyName: 'user_profiles_last_visited_org_fkey';
2177
- columns: ['last_visited_org'];
2197
+ foreignKeyName: "user_profiles_last_visited_org_fkey";
2198
+ columns: ["last_visited_org"];
2178
2199
  isOneToOne: false;
2179
- referencedRelation: 'organizations';
2180
- referencedColumns: ['id'];
2200
+ referencedRelation: "organizations";
2201
+ referencedColumns: ["id"];
2181
2202
  }
2182
2203
  ];
2183
2204
  };
@@ -2223,11 +2244,11 @@ type Database = {
2223
2244
  };
2224
2245
  Relationships: [
2225
2246
  {
2226
- foreignKeyName: 'webhook_endpoints_organization_id_fkey';
2227
- columns: ['organization_id'];
2247
+ foreignKeyName: "webhook_endpoints_organization_id_fkey";
2248
+ columns: ["organization_id"];
2228
2249
  isOneToOne: false;
2229
- referencedRelation: 'organizations';
2230
- referencedColumns: ['id'];
2250
+ referencedRelation: "organizations";
2251
+ referencedColumns: ["id"];
2231
2252
  }
2232
2253
  ];
2233
2254
  };
@@ -2347,17 +2368,17 @@ type Database = {
2347
2368
  };
2348
2369
  };
2349
2370
  };
2350
- type DatabaseWithoutInternals = Omit<Database, '__InternalSupabase'>;
2351
- type DefaultSchema = DatabaseWithoutInternals[Extract<keyof Database, 'public'>];
2352
- type Tables<DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema['Tables'] & DefaultSchema['Views']) | {
2371
+ type DatabaseWithoutInternals = Omit<Database, "__InternalSupabase">;
2372
+ type DefaultSchema = DatabaseWithoutInternals[Extract<keyof Database, "public">];
2373
+ type Tables<DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema["Tables"] & DefaultSchema["Views"]) | {
2353
2374
  schema: keyof DatabaseWithoutInternals;
2354
2375
  }, TableName extends DefaultSchemaTableNameOrOptions extends {
2355
2376
  schema: keyof DatabaseWithoutInternals;
2356
- } ? keyof (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables'] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Views']) : never = never> = DefaultSchemaTableNameOrOptions extends {
2377
+ } ? keyof (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Views"]) : never = never> = DefaultSchemaTableNameOrOptions extends {
2357
2378
  schema: keyof DatabaseWithoutInternals;
2358
- } ? (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables'] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Views'])[TableName] extends {
2379
+ } ? (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Views"])[TableName] extends {
2359
2380
  Row: infer R;
2360
- } ? R : never : DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema['Tables'] & DefaultSchema['Views']) ? (DefaultSchema['Tables'] & DefaultSchema['Views'])[DefaultSchemaTableNameOrOptions] extends {
2381
+ } ? R : never : DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema["Tables"] & DefaultSchema["Views"]) ? (DefaultSchema["Tables"] & DefaultSchema["Views"])[DefaultSchemaTableNameOrOptions] extends {
2361
2382
  Row: infer R;
2362
2383
  } ? R : never : never;
2363
2384