@adventurelabs/scout-core 1.4.68 → 1.4.69

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.
@@ -169,6 +169,10 @@ export declare function useSupabase(): SupabaseClient<Database, "public", "publi
169
169
  file_path: string;
170
170
  file_size_bytes: number | null;
171
171
  id: number;
172
+ lifecycle: Database["public"]["Enums"]["entity_lifecycle"];
173
+ lifecycle_changed_at: string;
174
+ lifecycle_changed_by: string | null;
175
+ lifecycle_reason: string | null;
172
176
  modality: string | null;
173
177
  segmented_at: string | null;
174
178
  session_id: number | null;
@@ -185,6 +189,10 @@ export declare function useSupabase(): SupabaseClient<Database, "public", "publi
185
189
  file_path: string;
186
190
  file_size_bytes?: number | null;
187
191
  id?: number;
192
+ lifecycle?: Database["public"]["Enums"]["entity_lifecycle"];
193
+ lifecycle_changed_at?: string;
194
+ lifecycle_changed_by?: string | null;
195
+ lifecycle_reason?: string | null;
188
196
  modality?: string | null;
189
197
  segmented_at?: string | null;
190
198
  session_id?: number | null;
@@ -201,6 +209,10 @@ export declare function useSupabase(): SupabaseClient<Database, "public", "publi
201
209
  file_path?: string;
202
210
  file_size_bytes?: number | null;
203
211
  id?: number;
212
+ lifecycle?: Database["public"]["Enums"]["entity_lifecycle"];
213
+ lifecycle_changed_at?: string;
214
+ lifecycle_changed_by?: string | null;
215
+ lifecycle_reason?: string | null;
204
216
  modality?: string | null;
205
217
  segmented_at?: string | null;
206
218
  session_id?: number | null;
@@ -216,6 +228,12 @@ export declare function useSupabase(): SupabaseClient<Database, "public", "publi
216
228
  isOneToOne: false;
217
229
  referencedRelation: "devices";
218
230
  referencedColumns: ["id"];
231
+ }, {
232
+ foreignKeyName: "artifacts_lifecycle_changed_by_fkey";
233
+ columns: ["lifecycle_changed_by"];
234
+ isOneToOne: false;
235
+ referencedRelation: "users";
236
+ referencedColumns: ["id"];
219
237
  }, {
220
238
  foreignKeyName: "artifacts_session_id_fkey";
221
239
  columns: ["session_id"];
@@ -431,10 +449,12 @@ export declare function useSupabase(): SupabaseClient<Database, "public", "publi
431
449
  herd_id: number;
432
450
  id: number;
433
451
  inserted_at: string;
452
+ lifecycle: Database["public"]["Enums"]["entity_lifecycle"];
453
+ lifecycle_changed_at: string;
454
+ lifecycle_changed_by: string | null;
455
+ lifecycle_reason: string | null;
434
456
  location: unknown;
435
457
  name: string;
436
- video_publisher_token: string | null;
437
- video_subscriber_token: string | null;
438
458
  };
439
459
  Insert: {
440
460
  altitude?: number | null;
@@ -447,10 +467,12 @@ export declare function useSupabase(): SupabaseClient<Database, "public", "publi
447
467
  herd_id: number;
448
468
  id?: number;
449
469
  inserted_at?: string;
470
+ lifecycle?: Database["public"]["Enums"]["entity_lifecycle"];
471
+ lifecycle_changed_at?: string;
472
+ lifecycle_changed_by?: string | null;
473
+ lifecycle_reason?: string | null;
450
474
  location?: unknown;
451
475
  name: string;
452
- video_publisher_token?: string | null;
453
- video_subscriber_token?: string | null;
454
476
  };
455
477
  Update: {
456
478
  altitude?: number | null;
@@ -463,10 +485,12 @@ export declare function useSupabase(): SupabaseClient<Database, "public", "publi
463
485
  herd_id?: number;
464
486
  id?: number;
465
487
  inserted_at?: string;
488
+ lifecycle?: Database["public"]["Enums"]["entity_lifecycle"];
489
+ lifecycle_changed_at?: string;
490
+ lifecycle_changed_by?: string | null;
491
+ lifecycle_reason?: string | null;
466
492
  location?: unknown;
467
493
  name?: string;
468
- video_publisher_token?: string | null;
469
- video_subscriber_token?: string | null;
470
494
  };
471
495
  Relationships: [{
472
496
  foreignKeyName: "devices_created_by_fkey";
@@ -480,6 +504,12 @@ export declare function useSupabase(): SupabaseClient<Database, "public", "publi
480
504
  isOneToOne: false;
481
505
  referencedRelation: "herds";
482
506
  referencedColumns: ["id"];
507
+ }, {
508
+ foreignKeyName: "devices_lifecycle_changed_by_fkey";
509
+ columns: ["lifecycle_changed_by"];
510
+ isOneToOne: false;
511
+ referencedRelation: "users";
512
+ referencedColumns: ["id"];
483
513
  }];
484
514
  };
485
515
  embeddings_vertex_multimodal_001: {
@@ -571,6 +601,10 @@ export declare function useSupabase(): SupabaseClient<Database, "public", "publi
571
601
  id: number;
572
602
  inserted_at: string;
573
603
  is_public: boolean;
604
+ lifecycle: Database["public"]["Enums"]["entity_lifecycle"];
605
+ lifecycle_changed_at: string;
606
+ lifecycle_changed_by: string | null;
607
+ lifecycle_reason: string | null;
574
608
  location: unknown;
575
609
  media_type: Database["public"]["Enums"]["media_type"];
576
610
  media_url: string | null;
@@ -591,6 +625,10 @@ export declare function useSupabase(): SupabaseClient<Database, "public", "publi
591
625
  id?: number;
592
626
  inserted_at?: string;
593
627
  is_public?: boolean;
628
+ lifecycle?: Database["public"]["Enums"]["entity_lifecycle"];
629
+ lifecycle_changed_at?: string;
630
+ lifecycle_changed_by?: string | null;
631
+ lifecycle_reason?: string | null;
594
632
  location?: unknown;
595
633
  media_type?: Database["public"]["Enums"]["media_type"];
596
634
  media_url?: string | null;
@@ -611,6 +649,10 @@ export declare function useSupabase(): SupabaseClient<Database, "public", "publi
611
649
  id?: number;
612
650
  inserted_at?: string;
613
651
  is_public?: boolean;
652
+ lifecycle?: Database["public"]["Enums"]["entity_lifecycle"];
653
+ lifecycle_changed_at?: string;
654
+ lifecycle_changed_by?: string | null;
655
+ lifecycle_reason?: string | null;
614
656
  location?: unknown;
615
657
  media_type?: Database["public"]["Enums"]["media_type"];
616
658
  media_url?: string | null;
@@ -627,6 +669,12 @@ export declare function useSupabase(): SupabaseClient<Database, "public", "publi
627
669
  isOneToOne: false;
628
670
  referencedRelation: "devices";
629
671
  referencedColumns: ["id"];
672
+ }, {
673
+ foreignKeyName: "events_lifecycle_changed_by_fkey";
674
+ columns: ["lifecycle_changed_by"];
675
+ isOneToOne: false;
676
+ referencedRelation: "users";
677
+ referencedColumns: ["id"];
630
678
  }, {
631
679
  foreignKeyName: "events_session_id_fkey";
632
680
  columns: ["session_id"];
@@ -903,34 +951,40 @@ export declare function useSupabase(): SupabaseClient<Database, "public", "publi
903
951
  Row: {
904
952
  certificate_id: number | null;
905
953
  created_at: string;
906
- deleted_at: string | null;
907
954
  device_id: number;
908
955
  id: number;
956
+ lifecycle: Database["public"]["Enums"]["entity_lifecycle"];
957
+ lifecycle_changed_at: string;
958
+ lifecycle_changed_by: string | null;
959
+ lifecycle_reason: string | null;
909
960
  product_number: string;
910
961
  serial_number: string;
911
- status: Database["public"]["Enums"]["component_status"];
912
962
  updated_at: string | null;
913
963
  };
914
964
  Insert: {
915
965
  certificate_id?: number | null;
916
966
  created_at?: string;
917
- deleted_at?: string | null;
918
967
  device_id: number;
919
968
  id?: number;
969
+ lifecycle?: Database["public"]["Enums"]["entity_lifecycle"];
970
+ lifecycle_changed_at?: string;
971
+ lifecycle_changed_by?: string | null;
972
+ lifecycle_reason?: string | null;
920
973
  product_number: string;
921
974
  serial_number: string;
922
- status?: Database["public"]["Enums"]["component_status"];
923
975
  updated_at?: string | null;
924
976
  };
925
977
  Update: {
926
978
  certificate_id?: number | null;
927
979
  created_at?: string;
928
- deleted_at?: string | null;
929
980
  device_id?: number;
930
981
  id?: number;
982
+ lifecycle?: Database["public"]["Enums"]["entity_lifecycle"];
983
+ lifecycle_changed_at?: string;
984
+ lifecycle_changed_by?: string | null;
985
+ lifecycle_reason?: string | null;
931
986
  product_number?: string;
932
987
  serial_number?: string;
933
- status?: Database["public"]["Enums"]["component_status"];
934
988
  updated_at?: string | null;
935
989
  };
936
990
  Relationships: [{
@@ -945,6 +999,12 @@ export declare function useSupabase(): SupabaseClient<Database, "public", "publi
945
999
  isOneToOne: false;
946
1000
  referencedRelation: "devices";
947
1001
  referencedColumns: ["id"];
1002
+ }, {
1003
+ foreignKeyName: "parts_lifecycle_changed_by_fkey";
1004
+ columns: ["lifecycle_changed_by"];
1005
+ isOneToOne: false;
1006
+ referencedRelation: "users";
1007
+ referencedColumns: ["id"];
948
1008
  }];
949
1009
  };
950
1010
  pins: {
@@ -1082,6 +1142,27 @@ export declare function useSupabase(): SupabaseClient<Database, "public", "publi
1082
1142
  referencedColumns: ["id"];
1083
1143
  }];
1084
1144
  };
1145
+ pubsub_jwt_public_keys: {
1146
+ Row: {
1147
+ created_at: string;
1148
+ kid: string;
1149
+ public_jwk: import("../types/supabase").Json;
1150
+ revoked_at: string | null;
1151
+ };
1152
+ Insert: {
1153
+ created_at?: string;
1154
+ kid: string;
1155
+ public_jwk: import("../types/supabase").Json;
1156
+ revoked_at?: string | null;
1157
+ };
1158
+ Update: {
1159
+ created_at?: string;
1160
+ kid?: string;
1161
+ public_jwk?: import("../types/supabase").Json;
1162
+ revoked_at?: string | null;
1163
+ };
1164
+ Relationships: [];
1165
+ };
1085
1166
  segmentations_sam3: {
1086
1167
  Row: {
1087
1168
  artifact_id: number | null;
@@ -1183,6 +1264,10 @@ export declare function useSupabase(): SupabaseClient<Database, "public", "publi
1183
1264
  distance_total: number;
1184
1265
  id: number;
1185
1266
  inserted_at: string;
1267
+ lifecycle: Database["public"]["Enums"]["entity_lifecycle"];
1268
+ lifecycle_changed_at: string;
1269
+ lifecycle_changed_by: string | null;
1270
+ lifecycle_reason: string | null;
1186
1271
  locations: unknown;
1187
1272
  post_approver: string | null;
1188
1273
  software_version: string;
@@ -1202,6 +1287,10 @@ export declare function useSupabase(): SupabaseClient<Database, "public", "publi
1202
1287
  distance_total: number;
1203
1288
  id?: number;
1204
1289
  inserted_at?: string;
1290
+ lifecycle?: Database["public"]["Enums"]["entity_lifecycle"];
1291
+ lifecycle_changed_at?: string;
1292
+ lifecycle_changed_by?: string | null;
1293
+ lifecycle_reason?: string | null;
1205
1294
  locations?: unknown;
1206
1295
  post_approver?: string | null;
1207
1296
  software_version: string;
@@ -1221,6 +1310,10 @@ export declare function useSupabase(): SupabaseClient<Database, "public", "publi
1221
1310
  distance_total?: number;
1222
1311
  id?: number;
1223
1312
  inserted_at?: string;
1313
+ lifecycle?: Database["public"]["Enums"]["entity_lifecycle"];
1314
+ lifecycle_changed_at?: string;
1315
+ lifecycle_changed_by?: string | null;
1316
+ lifecycle_reason?: string | null;
1224
1317
  locations?: unknown;
1225
1318
  post_approver?: string | null;
1226
1319
  software_version?: string;
@@ -1242,6 +1335,12 @@ export declare function useSupabase(): SupabaseClient<Database, "public", "publi
1242
1335
  isOneToOne: false;
1243
1336
  referencedRelation: "devices";
1244
1337
  referencedColumns: ["id"];
1338
+ }, {
1339
+ foreignKeyName: "sessions_lifecycle_changed_by_fkey";
1340
+ columns: ["lifecycle_changed_by"];
1341
+ isOneToOne: false;
1342
+ referencedRelation: "users";
1343
+ referencedColumns: ["id"];
1245
1344
  }, {
1246
1345
  foreignKeyName: "sessions_post_approver_fkey";
1247
1346
  columns: ["post_approver"];
@@ -1370,7 +1469,12 @@ export declare function useSupabase(): SupabaseClient<Database, "public", "publi
1370
1469
  earthranger_id: string | null;
1371
1470
  first: string | null;
1372
1471
  id: string;
1472
+ is_registered: boolean;
1373
1473
  last: string | null;
1474
+ lifecycle: Database["public"]["Enums"]["entity_lifecycle"];
1475
+ lifecycle_changed_at: string;
1476
+ lifecycle_changed_by: string | null;
1477
+ lifecycle_reason: string | null;
1374
1478
  signature_base64: string | null;
1375
1479
  title: string | null;
1376
1480
  username: string | null;
@@ -1380,7 +1484,12 @@ export declare function useSupabase(): SupabaseClient<Database, "public", "publi
1380
1484
  earthranger_id?: string | null;
1381
1485
  first?: string | null;
1382
1486
  id: string;
1487
+ is_registered?: boolean;
1383
1488
  last?: string | null;
1489
+ lifecycle?: Database["public"]["Enums"]["entity_lifecycle"];
1490
+ lifecycle_changed_at?: string;
1491
+ lifecycle_changed_by?: string | null;
1492
+ lifecycle_reason?: string | null;
1384
1493
  signature_base64?: string | null;
1385
1494
  title?: string | null;
1386
1495
  username?: string | null;
@@ -1390,12 +1499,23 @@ export declare function useSupabase(): SupabaseClient<Database, "public", "publi
1390
1499
  earthranger_id?: string | null;
1391
1500
  first?: string | null;
1392
1501
  id?: string;
1502
+ is_registered?: boolean;
1393
1503
  last?: string | null;
1504
+ lifecycle?: Database["public"]["Enums"]["entity_lifecycle"];
1505
+ lifecycle_changed_at?: string;
1506
+ lifecycle_changed_by?: string | null;
1507
+ lifecycle_reason?: string | null;
1394
1508
  signature_base64?: string | null;
1395
1509
  title?: string | null;
1396
1510
  username?: string | null;
1397
1511
  };
1398
- Relationships: [];
1512
+ Relationships: [{
1513
+ foreignKeyName: "users_lifecycle_changed_by_fkey";
1514
+ columns: ["lifecycle_changed_by"];
1515
+ isOneToOne: false;
1516
+ referencedRelation: "users";
1517
+ referencedColumns: ["id"];
1518
+ }];
1399
1519
  };
1400
1520
  users_roles_per_herd: {
1401
1521
  Row: {
@@ -1753,6 +1873,10 @@ export declare function useSupabase(): SupabaseClient<Database, "public", "publi
1753
1873
  file_path: string;
1754
1874
  file_size_bytes: number | null;
1755
1875
  id: number;
1876
+ lifecycle: Database["public"]["Enums"]["entity_lifecycle"];
1877
+ lifecycle_changed_at: string;
1878
+ lifecycle_changed_by: string | null;
1879
+ lifecycle_reason: string | null;
1756
1880
  modality: string | null;
1757
1881
  segmented_at: string | null;
1758
1882
  session_id: number | null;
@@ -1781,6 +1905,10 @@ export declare function useSupabase(): SupabaseClient<Database, "public", "publi
1781
1905
  file_path: string;
1782
1906
  file_size_bytes: number | null;
1783
1907
  id: number;
1908
+ lifecycle: Database["public"]["Enums"]["entity_lifecycle"];
1909
+ lifecycle_changed_at: string;
1910
+ lifecycle_changed_by: string | null;
1911
+ lifecycle_reason: string | null;
1784
1912
  modality: string | null;
1785
1913
  segmented_at: string | null;
1786
1914
  session_id: number | null;
@@ -1810,6 +1938,10 @@ export declare function useSupabase(): SupabaseClient<Database, "public", "publi
1810
1938
  file_path: string;
1811
1939
  file_size_bytes: number | null;
1812
1940
  id: number;
1941
+ lifecycle: Database["public"]["Enums"]["entity_lifecycle"];
1942
+ lifecycle_changed_at: string;
1943
+ lifecycle_changed_by: string | null;
1944
+ lifecycle_reason: string | null;
1813
1945
  modality: string | null;
1814
1946
  segmented_at: string | null;
1815
1947
  session_id: number | null;
@@ -1839,6 +1971,10 @@ export declare function useSupabase(): SupabaseClient<Database, "public", "publi
1839
1971
  file_path: string;
1840
1972
  file_size_bytes: number | null;
1841
1973
  id: number;
1974
+ lifecycle: Database["public"]["Enums"]["entity_lifecycle"];
1975
+ lifecycle_changed_at: string;
1976
+ lifecycle_changed_by: string | null;
1977
+ lifecycle_reason: string | null;
1842
1978
  modality: string | null;
1843
1979
  segmented_at: string | null;
1844
1980
  session_id: number | null;
@@ -1869,6 +2005,10 @@ export declare function useSupabase(): SupabaseClient<Database, "public", "publi
1869
2005
  file_path: string;
1870
2006
  file_size_bytes: number | null;
1871
2007
  id: number;
2008
+ lifecycle: Database["public"]["Enums"]["entity_lifecycle"];
2009
+ lifecycle_changed_at: string;
2010
+ lifecycle_changed_by: string | null;
2011
+ lifecycle_reason: string | null;
1872
2012
  modality: string | null;
1873
2013
  segmented_at: string | null;
1874
2014
  session_id: number | null;
@@ -1899,6 +2039,10 @@ export declare function useSupabase(): SupabaseClient<Database, "public", "publi
1899
2039
  file_path: string;
1900
2040
  file_size_bytes: number | null;
1901
2041
  id: number;
2042
+ lifecycle: Database["public"]["Enums"]["entity_lifecycle"];
2043
+ lifecycle_changed_at: string;
2044
+ lifecycle_changed_by: string | null;
2045
+ lifecycle_reason: string | null;
1902
2046
  modality: string | null;
1903
2047
  segmented_at: string | null;
1904
2048
  session_id: number | null;
@@ -1930,6 +2074,10 @@ export declare function useSupabase(): SupabaseClient<Database, "public", "publi
1930
2074
  file_path: string;
1931
2075
  file_size_bytes: number | null;
1932
2076
  id: number;
2077
+ lifecycle: Database["public"]["Enums"]["entity_lifecycle"];
2078
+ lifecycle_changed_at: string;
2079
+ lifecycle_changed_by: string | null;
2080
+ lifecycle_reason: string | null;
1933
2081
  modality: string | null;
1934
2082
  segmented_at: string | null;
1935
2083
  session_id: number | null;
@@ -1960,6 +2108,10 @@ export declare function useSupabase(): SupabaseClient<Database, "public", "publi
1960
2108
  file_path: string;
1961
2109
  file_size_bytes: number | null;
1962
2110
  id: number;
2111
+ lifecycle: Database["public"]["Enums"]["entity_lifecycle"];
2112
+ lifecycle_changed_at: string;
2113
+ lifecycle_changed_by: string | null;
2114
+ lifecycle_reason: string | null;
1963
2115
  modality: string | null;
1964
2116
  segmented_at: string | null;
1965
2117
  session_id: number | null;
@@ -1991,6 +2143,10 @@ export declare function useSupabase(): SupabaseClient<Database, "public", "publi
1991
2143
  file_path: string;
1992
2144
  file_size_bytes: number | null;
1993
2145
  id: number;
2146
+ lifecycle: Database["public"]["Enums"]["entity_lifecycle"];
2147
+ lifecycle_changed_at: string;
2148
+ lifecycle_changed_by: string | null;
2149
+ lifecycle_reason: string | null;
1994
2150
  modality: string | null;
1995
2151
  segmented_at: string | null;
1996
2152
  session_id: number | null;
@@ -2408,6 +2564,14 @@ export declare function useSupabase(): SupabaseClient<Database, "public", "publi
2408
2564
  isSetofReturn: true;
2409
2565
  };
2410
2566
  };
2567
+ get_pubsub_jwt_public_keys: {
2568
+ Args: never;
2569
+ Returns: import("../types/supabase").Json;
2570
+ };
2571
+ get_pubsub_token_claims: {
2572
+ Args: never;
2573
+ Returns: import("../types/supabase").Json;
2574
+ };
2411
2575
  get_segmentations_sam3_for_artifact: {
2412
2576
  Args: {
2413
2577
  artifact_id_caller: number;
@@ -2730,6 +2894,21 @@ export declare function useSupabase(): SupabaseClient<Database, "public", "publi
2730
2894
  isSetofReturn: true;
2731
2895
  };
2732
2896
  };
2897
+ migrate_conservaition_users_to_sentala: {
2898
+ Args: {
2899
+ preview?: boolean;
2900
+ source_domains?: string[];
2901
+ target_domain?: string;
2902
+ };
2903
+ Returns: {
2904
+ action: string;
2905
+ detail: string;
2906
+ source_email: string;
2907
+ source_user_id: string;
2908
+ target_email: string;
2909
+ target_user_id: string;
2910
+ }[];
2911
+ };
2733
2912
  preview_fix_all_sessions_missing_distance: {
2734
2913
  Args: never;
2735
2914
  Returns: {
@@ -2759,6 +2938,12 @@ export declare function useSupabase(): SupabaseClient<Database, "public", "publi
2759
2938
  Args: never;
2760
2939
  Returns: undefined;
2761
2940
  };
2941
+ revoke_pubsub_jwt_public_key: {
2942
+ Args: {
2943
+ p_kid: string;
2944
+ };
2945
+ Returns: undefined;
2946
+ };
2762
2947
  search_embeddings_vertex_multimodal_001: {
2763
2948
  Args: {
2764
2949
  herd_id_caller?: number;
@@ -2803,15 +2988,22 @@ export declare function useSupabase(): SupabaseClient<Database, "public", "publi
2803
2988
  };
2804
2989
  Returns: undefined;
2805
2990
  };
2991
+ upsert_pubsub_jwt_public_key: {
2992
+ Args: {
2993
+ p_kid: string;
2994
+ p_public_jwk: import("../types/supabase").Json;
2995
+ };
2996
+ Returns: undefined;
2997
+ };
2806
2998
  };
2807
2999
  Enums: {
2808
3000
  analysis_work_status: "waiting" | "cancelled" | "processing" | "failed" | "success";
2809
3001
  app_permission: "herds.delete" | "events.delete";
2810
- component_status: "active" | "inactive";
2811
3002
  device_type: "trail_camera" | "drone_fixed_wing" | "drone_quad" | "gps_tracker" | "sentry_tower" | "smart_buoy" | "radio_mesh_base_station" | "radio_mesh_repeater" | "unknown" | "gps_tracker_vehicle" | "gps_tracker_person" | "radio_mesh_base_station_gateway";
3003
+ entity_lifecycle: "active" | "retired" | "deleted";
2812
3004
  media_type: "image" | "video" | "audio" | "text";
2813
3005
  plan_type: "mission" | "fence" | "rally" | "markov";
2814
- role: "admin" | "viewer" | "editor" | "operator";
3006
+ role: "admin" | "editor" | "viewer";
2815
3007
  tag_observation_type: "manual" | "auto";
2816
3008
  user_status: "ONLINE" | "OFFLINE";
2817
3009
  };
@@ -6,10 +6,12 @@ export type DeviceType = Database["public"]["Enums"]["device_type"];
6
6
  export type MediaType = Database["public"]["Enums"]["media_type"];
7
7
  export type TagObservationType = Database["public"]["Enums"]["tag_observation_type"];
8
8
  export type AnalysisWorkStatus = Database["public"]["Enums"]["analysis_work_status"];
9
+ export type EntityLifecycle = Database["public"]["Enums"]["entity_lifecycle"];
9
10
  /** Supabase Auth user (`auth.getUser()`); not `public.users`. */
10
11
  export type IUser = User;
11
12
  /** Full `public.users` profile row (generated from DB). */
12
13
  export type IUserProfileRow = Database["public"]["Tables"]["users"]["Row"];
14
+ export type IDeviceRow = Database["public"]["Tables"]["devices"]["Row"];
13
15
  export type IDevice = Database["public"]["CompositeTypes"]["device_pretty_location"] & {
14
16
  api_keys_scout?: IApiKeyScout[];
15
17
  parts?: IPart[];
@@ -0,0 +1,7 @@
1
+ export interface IPubsubTokenMint {
2
+ token: string;
3
+ put: string[];
4
+ get: string[];
5
+ iat: number;
6
+ exp: number;
7
+ }
@@ -0,0 +1 @@
1
+ export {};