@everylanguage/shared-types 1.0.15 → 1.0.17
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/types/database.d.ts +501 -421
package/types/database.d.ts
CHANGED
|
@@ -15,10 +15,10 @@ export type Database = {
|
|
|
15
15
|
Functions: {
|
|
16
16
|
graphql: {
|
|
17
17
|
Args: {
|
|
18
|
+
extensions?: Json;
|
|
18
19
|
operationName?: string;
|
|
19
20
|
query?: string;
|
|
20
21
|
variables?: Json;
|
|
21
|
-
extensions?: Json;
|
|
22
22
|
};
|
|
23
23
|
Returns: Json;
|
|
24
24
|
};
|
|
@@ -34,57 +34,54 @@ export type Database = {
|
|
|
34
34
|
Tables: {
|
|
35
35
|
app_downloads: {
|
|
36
36
|
Row: {
|
|
37
|
-
anon_user_id: string | null;
|
|
38
37
|
app_version: string;
|
|
39
|
-
created_at: string | null;
|
|
40
38
|
device_id: string;
|
|
39
|
+
downloaded_at: string | null;
|
|
41
40
|
id: string;
|
|
42
|
-
installed_at: string | null;
|
|
43
41
|
location: unknown | null;
|
|
42
|
+
origin_share_id: string | null;
|
|
44
43
|
os: string | null;
|
|
45
44
|
os_version: string | null;
|
|
46
45
|
platform: Database["public"]["Enums"]["platform_type"];
|
|
47
|
-
|
|
46
|
+
user_id: string | null;
|
|
48
47
|
};
|
|
49
48
|
Insert: {
|
|
50
|
-
anon_user_id?: string | null;
|
|
51
49
|
app_version: string;
|
|
52
|
-
created_at?: string | null;
|
|
53
50
|
device_id: string;
|
|
51
|
+
downloaded_at?: string | null;
|
|
54
52
|
id?: string;
|
|
55
|
-
installed_at?: string | null;
|
|
56
53
|
location?: unknown | null;
|
|
54
|
+
origin_share_id?: string | null;
|
|
57
55
|
os?: string | null;
|
|
58
56
|
os_version?: string | null;
|
|
59
57
|
platform: Database["public"]["Enums"]["platform_type"];
|
|
60
|
-
|
|
58
|
+
user_id?: string | null;
|
|
61
59
|
};
|
|
62
60
|
Update: {
|
|
63
|
-
anon_user_id?: string | null;
|
|
64
61
|
app_version?: string;
|
|
65
|
-
created_at?: string | null;
|
|
66
62
|
device_id?: string;
|
|
63
|
+
downloaded_at?: string | null;
|
|
67
64
|
id?: string;
|
|
68
|
-
installed_at?: string | null;
|
|
69
65
|
location?: unknown | null;
|
|
66
|
+
origin_share_id?: string | null;
|
|
70
67
|
os?: string | null;
|
|
71
68
|
os_version?: string | null;
|
|
72
69
|
platform?: Database["public"]["Enums"]["platform_type"];
|
|
73
|
-
|
|
70
|
+
user_id?: string | null;
|
|
74
71
|
};
|
|
75
72
|
Relationships: [
|
|
76
73
|
{
|
|
77
|
-
foreignKeyName: "
|
|
78
|
-
columns: ["
|
|
74
|
+
foreignKeyName: "app_downloads_origin_share_id_fkey";
|
|
75
|
+
columns: ["origin_share_id"];
|
|
79
76
|
isOneToOne: false;
|
|
80
|
-
referencedRelation: "
|
|
77
|
+
referencedRelation: "shares";
|
|
81
78
|
referencedColumns: ["id"];
|
|
82
79
|
},
|
|
83
80
|
{
|
|
84
|
-
foreignKeyName: "
|
|
85
|
-
columns: ["
|
|
81
|
+
foreignKeyName: "app_downloads_user_id_fkey";
|
|
82
|
+
columns: ["user_id"];
|
|
86
83
|
isOneToOne: false;
|
|
87
|
-
referencedRelation: "
|
|
84
|
+
referencedRelation: "users";
|
|
88
85
|
referencedColumns: ["id"];
|
|
89
86
|
}
|
|
90
87
|
];
|
|
@@ -297,49 +294,33 @@ export type Database = {
|
|
|
297
294
|
};
|
|
298
295
|
chapter_listens: {
|
|
299
296
|
Row: {
|
|
300
|
-
anon_user_id: string;
|
|
301
297
|
chapter_id: string;
|
|
302
|
-
connectivity: Database["public"]["Enums"]["connectivity_type"] | null;
|
|
303
|
-
created_at: string | null;
|
|
304
|
-
device_id: string;
|
|
305
298
|
id: string;
|
|
306
299
|
language_entity_id: string;
|
|
307
300
|
listened_at: string | null;
|
|
308
|
-
|
|
301
|
+
origin_share_id: string | null;
|
|
309
302
|
session_id: string;
|
|
303
|
+
user_id: string | null;
|
|
310
304
|
};
|
|
311
305
|
Insert: {
|
|
312
|
-
anon_user_id: string;
|
|
313
306
|
chapter_id: string;
|
|
314
|
-
connectivity?: Database["public"]["Enums"]["connectivity_type"] | null;
|
|
315
|
-
created_at?: string | null;
|
|
316
|
-
device_id: string;
|
|
317
307
|
id?: string;
|
|
318
308
|
language_entity_id: string;
|
|
319
309
|
listened_at?: string | null;
|
|
320
|
-
|
|
310
|
+
origin_share_id?: string | null;
|
|
321
311
|
session_id: string;
|
|
312
|
+
user_id?: string | null;
|
|
322
313
|
};
|
|
323
314
|
Update: {
|
|
324
|
-
anon_user_id?: string;
|
|
325
315
|
chapter_id?: string;
|
|
326
|
-
connectivity?: Database["public"]["Enums"]["connectivity_type"] | null;
|
|
327
|
-
created_at?: string | null;
|
|
328
|
-
device_id?: string;
|
|
329
316
|
id?: string;
|
|
330
317
|
language_entity_id?: string;
|
|
331
318
|
listened_at?: string | null;
|
|
332
|
-
|
|
319
|
+
origin_share_id?: string | null;
|
|
333
320
|
session_id?: string;
|
|
321
|
+
user_id?: string | null;
|
|
334
322
|
};
|
|
335
323
|
Relationships: [
|
|
336
|
-
{
|
|
337
|
-
foreignKeyName: "chapter_listens_anon_user_id_fkey";
|
|
338
|
-
columns: ["anon_user_id"];
|
|
339
|
-
isOneToOne: false;
|
|
340
|
-
referencedRelation: "users_anon";
|
|
341
|
-
referencedColumns: ["id"];
|
|
342
|
-
},
|
|
343
324
|
{
|
|
344
325
|
foreignKeyName: "chapter_listens_chapter_id_fkey";
|
|
345
326
|
columns: ["chapter_id"];
|
|
@@ -354,12 +335,26 @@ export type Database = {
|
|
|
354
335
|
referencedRelation: "language_entities";
|
|
355
336
|
referencedColumns: ["id"];
|
|
356
337
|
},
|
|
338
|
+
{
|
|
339
|
+
foreignKeyName: "chapter_listens_origin_share_id_fkey";
|
|
340
|
+
columns: ["origin_share_id"];
|
|
341
|
+
isOneToOne: false;
|
|
342
|
+
referencedRelation: "shares";
|
|
343
|
+
referencedColumns: ["id"];
|
|
344
|
+
},
|
|
357
345
|
{
|
|
358
346
|
foreignKeyName: "chapter_listens_session_id_fkey";
|
|
359
347
|
columns: ["session_id"];
|
|
360
348
|
isOneToOne: false;
|
|
361
349
|
referencedRelation: "sessions";
|
|
362
350
|
referencedColumns: ["id"];
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
foreignKeyName: "chapter_listens_user_id_fkey";
|
|
354
|
+
columns: ["user_id"];
|
|
355
|
+
isOneToOne: false;
|
|
356
|
+
referencedRelation: "users";
|
|
357
|
+
referencedColumns: ["id"];
|
|
363
358
|
}
|
|
364
359
|
];
|
|
365
360
|
};
|
|
@@ -439,9 +434,11 @@ export type Database = {
|
|
|
439
434
|
created_by: string | null;
|
|
440
435
|
deleted_at: string | null;
|
|
441
436
|
id: string;
|
|
437
|
+
object_key: string | null;
|
|
442
438
|
publish_status: Database["public"]["Enums"]["publish_status"];
|
|
443
439
|
remote_path: string;
|
|
444
440
|
set_id: string | null;
|
|
441
|
+
storage_provider: string | null;
|
|
445
442
|
target_id: string;
|
|
446
443
|
target_type: Database["public"]["Enums"]["target_type"];
|
|
447
444
|
updated_at: string | null;
|
|
@@ -452,9 +449,11 @@ export type Database = {
|
|
|
452
449
|
created_by?: string | null;
|
|
453
450
|
deleted_at?: string | null;
|
|
454
451
|
id?: string;
|
|
452
|
+
object_key?: string | null;
|
|
455
453
|
publish_status?: Database["public"]["Enums"]["publish_status"];
|
|
456
454
|
remote_path: string;
|
|
457
455
|
set_id?: string | null;
|
|
456
|
+
storage_provider?: string | null;
|
|
458
457
|
target_id: string;
|
|
459
458
|
target_type: Database["public"]["Enums"]["target_type"];
|
|
460
459
|
updated_at?: string | null;
|
|
@@ -465,9 +464,11 @@ export type Database = {
|
|
|
465
464
|
created_by?: string | null;
|
|
466
465
|
deleted_at?: string | null;
|
|
467
466
|
id?: string;
|
|
467
|
+
object_key?: string | null;
|
|
468
468
|
publish_status?: Database["public"]["Enums"]["publish_status"];
|
|
469
469
|
remote_path?: string;
|
|
470
470
|
set_id?: string | null;
|
|
471
|
+
storage_provider?: string | null;
|
|
471
472
|
target_id?: string;
|
|
472
473
|
target_type?: Database["public"]["Enums"]["target_type"];
|
|
473
474
|
updated_at?: string | null;
|
|
@@ -760,55 +761,39 @@ export type Database = {
|
|
|
760
761
|
};
|
|
761
762
|
media_file_listens: {
|
|
762
763
|
Row: {
|
|
763
|
-
anon_user_id: string;
|
|
764
|
-
connectivity: Database["public"]["Enums"]["connectivity_type"] | null;
|
|
765
|
-
created_at: string | null;
|
|
766
|
-
device_id: string;
|
|
767
764
|
duration_seconds: number;
|
|
768
765
|
id: string;
|
|
769
766
|
language_entity_id: string;
|
|
770
767
|
listened_at: string | null;
|
|
771
|
-
location: unknown | null;
|
|
772
768
|
media_file_id: string;
|
|
769
|
+
origin_share_id: string | null;
|
|
773
770
|
position_seconds: number;
|
|
774
771
|
session_id: string;
|
|
772
|
+
user_id: string | null;
|
|
775
773
|
};
|
|
776
774
|
Insert: {
|
|
777
|
-
anon_user_id: string;
|
|
778
|
-
connectivity?: Database["public"]["Enums"]["connectivity_type"] | null;
|
|
779
|
-
created_at?: string | null;
|
|
780
|
-
device_id: string;
|
|
781
775
|
duration_seconds: number;
|
|
782
776
|
id?: string;
|
|
783
777
|
language_entity_id: string;
|
|
784
778
|
listened_at?: string | null;
|
|
785
|
-
location?: unknown | null;
|
|
786
779
|
media_file_id: string;
|
|
780
|
+
origin_share_id?: string | null;
|
|
787
781
|
position_seconds: number;
|
|
788
782
|
session_id: string;
|
|
783
|
+
user_id?: string | null;
|
|
789
784
|
};
|
|
790
785
|
Update: {
|
|
791
|
-
anon_user_id?: string;
|
|
792
|
-
connectivity?: Database["public"]["Enums"]["connectivity_type"] | null;
|
|
793
|
-
created_at?: string | null;
|
|
794
|
-
device_id?: string;
|
|
795
786
|
duration_seconds?: number;
|
|
796
787
|
id?: string;
|
|
797
788
|
language_entity_id?: string;
|
|
798
789
|
listened_at?: string | null;
|
|
799
|
-
location?: unknown | null;
|
|
800
790
|
media_file_id?: string;
|
|
791
|
+
origin_share_id?: string | null;
|
|
801
792
|
position_seconds?: number;
|
|
802
793
|
session_id?: string;
|
|
794
|
+
user_id?: string | null;
|
|
803
795
|
};
|
|
804
796
|
Relationships: [
|
|
805
|
-
{
|
|
806
|
-
foreignKeyName: "media_file_listens_anon_user_id_fkey";
|
|
807
|
-
columns: ["anon_user_id"];
|
|
808
|
-
isOneToOne: false;
|
|
809
|
-
referencedRelation: "users_anon";
|
|
810
|
-
referencedColumns: ["id"];
|
|
811
|
-
},
|
|
812
797
|
{
|
|
813
798
|
foreignKeyName: "media_file_listens_language_entity_id_fkey";
|
|
814
799
|
columns: ["language_entity_id"];
|
|
@@ -823,12 +808,26 @@ export type Database = {
|
|
|
823
808
|
referencedRelation: "media_files";
|
|
824
809
|
referencedColumns: ["id"];
|
|
825
810
|
},
|
|
811
|
+
{
|
|
812
|
+
foreignKeyName: "media_file_listens_origin_share_id_fkey";
|
|
813
|
+
columns: ["origin_share_id"];
|
|
814
|
+
isOneToOne: false;
|
|
815
|
+
referencedRelation: "shares";
|
|
816
|
+
referencedColumns: ["id"];
|
|
817
|
+
},
|
|
826
818
|
{
|
|
827
819
|
foreignKeyName: "media_file_listens_session_id_fkey";
|
|
828
820
|
columns: ["session_id"];
|
|
829
821
|
isOneToOne: false;
|
|
830
822
|
referencedRelation: "sessions";
|
|
831
823
|
referencedColumns: ["id"];
|
|
824
|
+
},
|
|
825
|
+
{
|
|
826
|
+
foreignKeyName: "media_file_listens_user_id_fkey";
|
|
827
|
+
columns: ["user_id"];
|
|
828
|
+
isOneToOne: false;
|
|
829
|
+
referencedRelation: "users";
|
|
830
|
+
referencedColumns: ["id"];
|
|
832
831
|
}
|
|
833
832
|
];
|
|
834
833
|
};
|
|
@@ -847,9 +846,11 @@ export type Database = {
|
|
|
847
846
|
is_bible_audio: boolean | null;
|
|
848
847
|
language_entity_id: string;
|
|
849
848
|
media_type: Database["public"]["Enums"]["media_type"];
|
|
849
|
+
object_key: string | null;
|
|
850
850
|
publish_status: Database["public"]["Enums"]["publish_status"] | null;
|
|
851
851
|
remote_path: string | null;
|
|
852
852
|
start_verse_id: string | null;
|
|
853
|
+
storage_provider: string | null;
|
|
853
854
|
updated_at: string | null;
|
|
854
855
|
upload_status: Database["public"]["Enums"]["upload_status"] | null;
|
|
855
856
|
version: number | null;
|
|
@@ -868,9 +869,11 @@ export type Database = {
|
|
|
868
869
|
is_bible_audio?: boolean | null;
|
|
869
870
|
language_entity_id: string;
|
|
870
871
|
media_type: Database["public"]["Enums"]["media_type"];
|
|
872
|
+
object_key?: string | null;
|
|
871
873
|
publish_status?: Database["public"]["Enums"]["publish_status"] | null;
|
|
872
874
|
remote_path?: string | null;
|
|
873
875
|
start_verse_id?: string | null;
|
|
876
|
+
storage_provider?: string | null;
|
|
874
877
|
updated_at?: string | null;
|
|
875
878
|
upload_status?: Database["public"]["Enums"]["upload_status"] | null;
|
|
876
879
|
version?: number | null;
|
|
@@ -889,9 +892,11 @@ export type Database = {
|
|
|
889
892
|
is_bible_audio?: boolean | null;
|
|
890
893
|
language_entity_id?: string;
|
|
891
894
|
media_type?: Database["public"]["Enums"]["media_type"];
|
|
895
|
+
object_key?: string | null;
|
|
892
896
|
publish_status?: Database["public"]["Enums"]["publish_status"] | null;
|
|
893
897
|
remote_path?: string | null;
|
|
894
898
|
start_verse_id?: string | null;
|
|
899
|
+
storage_provider?: string | null;
|
|
895
900
|
updated_at?: string | null;
|
|
896
901
|
upload_status?: Database["public"]["Enums"]["upload_status"] | null;
|
|
897
902
|
version?: number | null;
|
|
@@ -1043,6 +1048,7 @@ export type Database = {
|
|
|
1043
1048
|
created_at: string | null;
|
|
1044
1049
|
created_by: string | null;
|
|
1045
1050
|
deleted_at: string | null;
|
|
1051
|
+
denormalized_audio_version_id: string | null;
|
|
1046
1052
|
duration_seconds: number;
|
|
1047
1053
|
id: string;
|
|
1048
1054
|
media_file_id: string;
|
|
@@ -1054,6 +1060,7 @@ export type Database = {
|
|
|
1054
1060
|
created_at?: string | null;
|
|
1055
1061
|
created_by?: string | null;
|
|
1056
1062
|
deleted_at?: string | null;
|
|
1063
|
+
denormalized_audio_version_id?: string | null;
|
|
1057
1064
|
duration_seconds: number;
|
|
1058
1065
|
id?: string;
|
|
1059
1066
|
media_file_id: string;
|
|
@@ -1065,6 +1072,7 @@ export type Database = {
|
|
|
1065
1072
|
created_at?: string | null;
|
|
1066
1073
|
created_by?: string | null;
|
|
1067
1074
|
deleted_at?: string | null;
|
|
1075
|
+
denormalized_audio_version_id?: string | null;
|
|
1068
1076
|
duration_seconds?: number;
|
|
1069
1077
|
id?: string;
|
|
1070
1078
|
media_file_id?: string;
|
|
@@ -1080,6 +1088,13 @@ export type Database = {
|
|
|
1080
1088
|
referencedRelation: "users";
|
|
1081
1089
|
referencedColumns: ["id"];
|
|
1082
1090
|
},
|
|
1091
|
+
{
|
|
1092
|
+
foreignKeyName: "media_files_verses_denormalized_audio_version_id_fkey";
|
|
1093
|
+
columns: ["denormalized_audio_version_id"];
|
|
1094
|
+
isOneToOne: false;
|
|
1095
|
+
referencedRelation: "audio_versions";
|
|
1096
|
+
referencedColumns: ["id"];
|
|
1097
|
+
},
|
|
1083
1098
|
{
|
|
1084
1099
|
foreignKeyName: "media_files_verses_media_file_id_fkey";
|
|
1085
1100
|
columns: ["media_file_id"];
|
|
@@ -1200,31 +1215,37 @@ export type Database = {
|
|
|
1200
1215
|
Row: {
|
|
1201
1216
|
created_at: string | null;
|
|
1202
1217
|
created_by: string | null;
|
|
1218
|
+
custom_text: string | null;
|
|
1219
|
+
end_verse_id: string | null;
|
|
1203
1220
|
id: string;
|
|
1204
1221
|
order_index: number;
|
|
1205
1222
|
playlist_id: string;
|
|
1206
|
-
|
|
1207
|
-
|
|
1223
|
+
playlist_item_type: Database["public"]["Enums"]["playlist_item_type"] | null;
|
|
1224
|
+
start_verse_id: string | null;
|
|
1208
1225
|
updated_at: string | null;
|
|
1209
1226
|
};
|
|
1210
1227
|
Insert: {
|
|
1211
1228
|
created_at?: string | null;
|
|
1212
1229
|
created_by?: string | null;
|
|
1230
|
+
custom_text?: string | null;
|
|
1231
|
+
end_verse_id?: string | null;
|
|
1213
1232
|
id?: string;
|
|
1214
1233
|
order_index: number;
|
|
1215
1234
|
playlist_id: string;
|
|
1216
|
-
|
|
1217
|
-
|
|
1235
|
+
playlist_item_type?: Database["public"]["Enums"]["playlist_item_type"] | null;
|
|
1236
|
+
start_verse_id?: string | null;
|
|
1218
1237
|
updated_at?: string | null;
|
|
1219
1238
|
};
|
|
1220
1239
|
Update: {
|
|
1221
1240
|
created_at?: string | null;
|
|
1222
1241
|
created_by?: string | null;
|
|
1242
|
+
custom_text?: string | null;
|
|
1243
|
+
end_verse_id?: string | null;
|
|
1223
1244
|
id?: string;
|
|
1224
1245
|
order_index?: number;
|
|
1225
1246
|
playlist_id?: string;
|
|
1226
|
-
|
|
1227
|
-
|
|
1247
|
+
playlist_item_type?: Database["public"]["Enums"]["playlist_item_type"] | null;
|
|
1248
|
+
start_verse_id?: string | null;
|
|
1228
1249
|
updated_at?: string | null;
|
|
1229
1250
|
};
|
|
1230
1251
|
Relationships: [
|
|
@@ -1235,12 +1256,26 @@ export type Database = {
|
|
|
1235
1256
|
referencedRelation: "users";
|
|
1236
1257
|
referencedColumns: ["id"];
|
|
1237
1258
|
},
|
|
1259
|
+
{
|
|
1260
|
+
foreignKeyName: "playlist_items_end_verse_id_fkey";
|
|
1261
|
+
columns: ["end_verse_id"];
|
|
1262
|
+
isOneToOne: false;
|
|
1263
|
+
referencedRelation: "verses";
|
|
1264
|
+
referencedColumns: ["id"];
|
|
1265
|
+
},
|
|
1238
1266
|
{
|
|
1239
1267
|
foreignKeyName: "playlist_items_playlist_id_fkey";
|
|
1240
1268
|
columns: ["playlist_id"];
|
|
1241
1269
|
isOneToOne: false;
|
|
1242
1270
|
referencedRelation: "playlists";
|
|
1243
1271
|
referencedColumns: ["id"];
|
|
1272
|
+
},
|
|
1273
|
+
{
|
|
1274
|
+
foreignKeyName: "playlist_items_start_verse_id_fkey";
|
|
1275
|
+
columns: ["start_verse_id"];
|
|
1276
|
+
isOneToOne: false;
|
|
1277
|
+
referencedRelation: "verses";
|
|
1278
|
+
referencedColumns: ["id"];
|
|
1244
1279
|
}
|
|
1245
1280
|
];
|
|
1246
1281
|
};
|
|
@@ -1937,53 +1972,69 @@ export type Database = {
|
|
|
1937
1972
|
};
|
|
1938
1973
|
sessions: {
|
|
1939
1974
|
Row: {
|
|
1940
|
-
|
|
1975
|
+
app_download_id: string | null;
|
|
1941
1976
|
app_version: string;
|
|
1942
1977
|
connectivity: Database["public"]["Enums"]["connectivity_type"] | null;
|
|
1943
|
-
|
|
1944
|
-
|
|
1978
|
+
continent_code: string | null;
|
|
1979
|
+
country_code: string | null;
|
|
1945
1980
|
ended_at: string | null;
|
|
1946
1981
|
id: string;
|
|
1947
1982
|
location: unknown | null;
|
|
1983
|
+
location_source: Database["public"]["Enums"]["location_source_type"] | null;
|
|
1948
1984
|
os: string | null;
|
|
1949
1985
|
os_version: string | null;
|
|
1950
1986
|
platform: Database["public"]["Enums"]["platform_type"];
|
|
1987
|
+
region_code: string | null;
|
|
1951
1988
|
started_at: string | null;
|
|
1989
|
+
user_id: string | null;
|
|
1952
1990
|
};
|
|
1953
1991
|
Insert: {
|
|
1954
|
-
|
|
1992
|
+
app_download_id?: string | null;
|
|
1955
1993
|
app_version: string;
|
|
1956
1994
|
connectivity?: Database["public"]["Enums"]["connectivity_type"] | null;
|
|
1957
|
-
|
|
1958
|
-
|
|
1995
|
+
continent_code?: string | null;
|
|
1996
|
+
country_code?: string | null;
|
|
1959
1997
|
ended_at?: string | null;
|
|
1960
1998
|
id?: string;
|
|
1961
1999
|
location?: unknown | null;
|
|
2000
|
+
location_source?: Database["public"]["Enums"]["location_source_type"] | null;
|
|
1962
2001
|
os?: string | null;
|
|
1963
2002
|
os_version?: string | null;
|
|
1964
2003
|
platform: Database["public"]["Enums"]["platform_type"];
|
|
2004
|
+
region_code?: string | null;
|
|
1965
2005
|
started_at?: string | null;
|
|
2006
|
+
user_id?: string | null;
|
|
1966
2007
|
};
|
|
1967
2008
|
Update: {
|
|
1968
|
-
|
|
2009
|
+
app_download_id?: string | null;
|
|
1969
2010
|
app_version?: string;
|
|
1970
2011
|
connectivity?: Database["public"]["Enums"]["connectivity_type"] | null;
|
|
1971
|
-
|
|
1972
|
-
|
|
2012
|
+
continent_code?: string | null;
|
|
2013
|
+
country_code?: string | null;
|
|
1973
2014
|
ended_at?: string | null;
|
|
1974
2015
|
id?: string;
|
|
1975
2016
|
location?: unknown | null;
|
|
2017
|
+
location_source?: Database["public"]["Enums"]["location_source_type"] | null;
|
|
1976
2018
|
os?: string | null;
|
|
1977
2019
|
os_version?: string | null;
|
|
1978
2020
|
platform?: Database["public"]["Enums"]["platform_type"];
|
|
2021
|
+
region_code?: string | null;
|
|
1979
2022
|
started_at?: string | null;
|
|
2023
|
+
user_id?: string | null;
|
|
1980
2024
|
};
|
|
1981
2025
|
Relationships: [
|
|
1982
2026
|
{
|
|
1983
|
-
foreignKeyName: "
|
|
1984
|
-
columns: ["
|
|
2027
|
+
foreignKeyName: "sessions_app_download_id_fkey";
|
|
2028
|
+
columns: ["app_download_id"];
|
|
1985
2029
|
isOneToOne: false;
|
|
1986
|
-
referencedRelation: "
|
|
2030
|
+
referencedRelation: "app_downloads";
|
|
2031
|
+
referencedColumns: ["id"];
|
|
2032
|
+
},
|
|
2033
|
+
{
|
|
2034
|
+
foreignKeyName: "sessions_user_id_fkey";
|
|
2035
|
+
columns: ["user_id"];
|
|
2036
|
+
isOneToOne: false;
|
|
2037
|
+
referencedRelation: "users";
|
|
1987
2038
|
referencedColumns: ["id"];
|
|
1988
2039
|
}
|
|
1989
2040
|
];
|
|
@@ -1991,55 +2042,32 @@ export type Database = {
|
|
|
1991
2042
|
share_opens: {
|
|
1992
2043
|
Row: {
|
|
1993
2044
|
created_at: string | null;
|
|
1994
|
-
device_id: string | null;
|
|
1995
2045
|
id: string;
|
|
1996
|
-
language_entity_id: string;
|
|
1997
|
-
location: unknown | null;
|
|
1998
2046
|
opened_at: string | null;
|
|
1999
|
-
opened_by_anon_user_id: string | null;
|
|
2000
2047
|
origin_share_id: string | null;
|
|
2001
2048
|
session_id: string | null;
|
|
2002
2049
|
share_id: string;
|
|
2050
|
+
user_id: string | null;
|
|
2003
2051
|
};
|
|
2004
2052
|
Insert: {
|
|
2005
2053
|
created_at?: string | null;
|
|
2006
|
-
device_id?: string | null;
|
|
2007
2054
|
id?: string;
|
|
2008
|
-
language_entity_id: string;
|
|
2009
|
-
location?: unknown | null;
|
|
2010
2055
|
opened_at?: string | null;
|
|
2011
|
-
opened_by_anon_user_id?: string | null;
|
|
2012
2056
|
origin_share_id?: string | null;
|
|
2013
2057
|
session_id?: string | null;
|
|
2014
2058
|
share_id: string;
|
|
2059
|
+
user_id?: string | null;
|
|
2015
2060
|
};
|
|
2016
2061
|
Update: {
|
|
2017
2062
|
created_at?: string | null;
|
|
2018
|
-
device_id?: string | null;
|
|
2019
2063
|
id?: string;
|
|
2020
|
-
language_entity_id?: string;
|
|
2021
|
-
location?: unknown | null;
|
|
2022
2064
|
opened_at?: string | null;
|
|
2023
|
-
opened_by_anon_user_id?: string | null;
|
|
2024
2065
|
origin_share_id?: string | null;
|
|
2025
2066
|
session_id?: string | null;
|
|
2026
2067
|
share_id?: string;
|
|
2068
|
+
user_id?: string | null;
|
|
2027
2069
|
};
|
|
2028
2070
|
Relationships: [
|
|
2029
|
-
{
|
|
2030
|
-
foreignKeyName: "share_opens_language_entity_id_fkey";
|
|
2031
|
-
columns: ["language_entity_id"];
|
|
2032
|
-
isOneToOne: false;
|
|
2033
|
-
referencedRelation: "language_entities";
|
|
2034
|
-
referencedColumns: ["id"];
|
|
2035
|
-
},
|
|
2036
|
-
{
|
|
2037
|
-
foreignKeyName: "share_opens_opened_by_anon_user_id_fkey";
|
|
2038
|
-
columns: ["opened_by_anon_user_id"];
|
|
2039
|
-
isOneToOne: false;
|
|
2040
|
-
referencedRelation: "users_anon";
|
|
2041
|
-
referencedColumns: ["id"];
|
|
2042
|
-
},
|
|
2043
2071
|
{
|
|
2044
2072
|
foreignKeyName: "share_opens_origin_share_id_fkey";
|
|
2045
2073
|
columns: ["origin_share_id"];
|
|
@@ -2060,57 +2088,48 @@ export type Database = {
|
|
|
2060
2088
|
isOneToOne: false;
|
|
2061
2089
|
referencedRelation: "shares";
|
|
2062
2090
|
referencedColumns: ["id"];
|
|
2091
|
+
},
|
|
2092
|
+
{
|
|
2093
|
+
foreignKeyName: "share_opens_user_id_fkey";
|
|
2094
|
+
columns: ["user_id"];
|
|
2095
|
+
isOneToOne: false;
|
|
2096
|
+
referencedRelation: "users";
|
|
2097
|
+
referencedColumns: ["id"];
|
|
2063
2098
|
}
|
|
2064
2099
|
];
|
|
2065
2100
|
};
|
|
2066
2101
|
shares: {
|
|
2067
2102
|
Row: {
|
|
2068
|
-
anon_user_id: string;
|
|
2069
|
-
created_at: string | null;
|
|
2070
|
-
device_id: string;
|
|
2071
2103
|
id: string;
|
|
2072
2104
|
language_entity_id: string;
|
|
2073
|
-
location: unknown | null;
|
|
2074
2105
|
origin_share_id: string | null;
|
|
2075
2106
|
session_id: string;
|
|
2076
2107
|
share_entity_id: string;
|
|
2077
2108
|
share_entity_type: Database["public"]["Enums"]["share_entity_type"];
|
|
2078
2109
|
shared_at: string | null;
|
|
2110
|
+
user_id: string | null;
|
|
2079
2111
|
};
|
|
2080
2112
|
Insert: {
|
|
2081
|
-
anon_user_id: string;
|
|
2082
|
-
created_at?: string | null;
|
|
2083
|
-
device_id: string;
|
|
2084
2113
|
id?: string;
|
|
2085
2114
|
language_entity_id: string;
|
|
2086
|
-
location?: unknown | null;
|
|
2087
2115
|
origin_share_id?: string | null;
|
|
2088
2116
|
session_id: string;
|
|
2089
2117
|
share_entity_id: string;
|
|
2090
2118
|
share_entity_type: Database["public"]["Enums"]["share_entity_type"];
|
|
2091
2119
|
shared_at?: string | null;
|
|
2120
|
+
user_id?: string | null;
|
|
2092
2121
|
};
|
|
2093
2122
|
Update: {
|
|
2094
|
-
anon_user_id?: string;
|
|
2095
|
-
created_at?: string | null;
|
|
2096
|
-
device_id?: string;
|
|
2097
2123
|
id?: string;
|
|
2098
2124
|
language_entity_id?: string;
|
|
2099
|
-
location?: unknown | null;
|
|
2100
2125
|
origin_share_id?: string | null;
|
|
2101
2126
|
session_id?: string;
|
|
2102
2127
|
share_entity_id?: string;
|
|
2103
2128
|
share_entity_type?: Database["public"]["Enums"]["share_entity_type"];
|
|
2104
2129
|
shared_at?: string | null;
|
|
2130
|
+
user_id?: string | null;
|
|
2105
2131
|
};
|
|
2106
2132
|
Relationships: [
|
|
2107
|
-
{
|
|
2108
|
-
foreignKeyName: "shares_anon_user_id_fkey";
|
|
2109
|
-
columns: ["anon_user_id"];
|
|
2110
|
-
isOneToOne: false;
|
|
2111
|
-
referencedRelation: "users_anon";
|
|
2112
|
-
referencedColumns: ["id"];
|
|
2113
|
-
},
|
|
2114
2133
|
{
|
|
2115
2134
|
foreignKeyName: "shares_language_entity_id_fkey";
|
|
2116
2135
|
columns: ["language_entity_id"];
|
|
@@ -2131,6 +2150,13 @@ export type Database = {
|
|
|
2131
2150
|
isOneToOne: false;
|
|
2132
2151
|
referencedRelation: "sessions";
|
|
2133
2152
|
referencedColumns: ["id"];
|
|
2153
|
+
},
|
|
2154
|
+
{
|
|
2155
|
+
foreignKeyName: "shares_user_id_fkey";
|
|
2156
|
+
columns: ["user_id"];
|
|
2157
|
+
isOneToOne: false;
|
|
2158
|
+
referencedRelation: "users";
|
|
2159
|
+
referencedColumns: ["id"];
|
|
2134
2160
|
}
|
|
2135
2161
|
];
|
|
2136
2162
|
};
|
|
@@ -2287,43 +2313,33 @@ export type Database = {
|
|
|
2287
2313
|
};
|
|
2288
2314
|
user_bookmark_folders: {
|
|
2289
2315
|
Row: {
|
|
2290
|
-
anon_user_id: string | null;
|
|
2291
2316
|
color: string | null;
|
|
2292
2317
|
created_at: string | null;
|
|
2293
2318
|
id: string;
|
|
2294
2319
|
name: string;
|
|
2295
2320
|
parent_folder_id: string | null;
|
|
2296
2321
|
updated_at: string | null;
|
|
2297
|
-
user_id: string
|
|
2322
|
+
user_id: string;
|
|
2298
2323
|
};
|
|
2299
2324
|
Insert: {
|
|
2300
|
-
anon_user_id?: string | null;
|
|
2301
2325
|
color?: string | null;
|
|
2302
2326
|
created_at?: string | null;
|
|
2303
2327
|
id?: string;
|
|
2304
2328
|
name: string;
|
|
2305
2329
|
parent_folder_id?: string | null;
|
|
2306
2330
|
updated_at?: string | null;
|
|
2307
|
-
user_id
|
|
2331
|
+
user_id: string;
|
|
2308
2332
|
};
|
|
2309
2333
|
Update: {
|
|
2310
|
-
anon_user_id?: string | null;
|
|
2311
2334
|
color?: string | null;
|
|
2312
2335
|
created_at?: string | null;
|
|
2313
2336
|
id?: string;
|
|
2314
2337
|
name?: string;
|
|
2315
2338
|
parent_folder_id?: string | null;
|
|
2316
2339
|
updated_at?: string | null;
|
|
2317
|
-
user_id?: string
|
|
2340
|
+
user_id?: string;
|
|
2318
2341
|
};
|
|
2319
2342
|
Relationships: [
|
|
2320
|
-
{
|
|
2321
|
-
foreignKeyName: "user_bookmark_folders_anon_user_id_fkey";
|
|
2322
|
-
columns: ["anon_user_id"];
|
|
2323
|
-
isOneToOne: false;
|
|
2324
|
-
referencedRelation: "users_anon";
|
|
2325
|
-
referencedColumns: ["id"];
|
|
2326
|
-
},
|
|
2327
2343
|
{
|
|
2328
2344
|
foreignKeyName: "user_bookmark_folders_parent_folder_id_fkey";
|
|
2329
2345
|
columns: ["parent_folder_id"];
|
|
@@ -2342,54 +2358,61 @@ export type Database = {
|
|
|
2342
2358
|
};
|
|
2343
2359
|
user_bookmarks: {
|
|
2344
2360
|
Row: {
|
|
2345
|
-
anon_user_id: string | null;
|
|
2346
2361
|
bookmark_folder_id: string | null;
|
|
2362
|
+
bookmark_type: Database["public"]["Enums"]["bookmark_type"] | null;
|
|
2347
2363
|
color: string | null;
|
|
2348
2364
|
created_at: string | null;
|
|
2365
|
+
end_verse_id: string | null;
|
|
2349
2366
|
id: string;
|
|
2350
2367
|
note: string | null;
|
|
2351
|
-
|
|
2352
|
-
target_type: Database["public"]["Enums"]["target_type"];
|
|
2368
|
+
start_verse_id: string | null;
|
|
2353
2369
|
updated_at: string | null;
|
|
2354
|
-
user_id: string
|
|
2370
|
+
user_id: string;
|
|
2355
2371
|
};
|
|
2356
2372
|
Insert: {
|
|
2357
|
-
anon_user_id?: string | null;
|
|
2358
2373
|
bookmark_folder_id?: string | null;
|
|
2374
|
+
bookmark_type?: Database["public"]["Enums"]["bookmark_type"] | null;
|
|
2359
2375
|
color?: string | null;
|
|
2360
2376
|
created_at?: string | null;
|
|
2377
|
+
end_verse_id?: string | null;
|
|
2361
2378
|
id?: string;
|
|
2362
2379
|
note?: string | null;
|
|
2363
|
-
|
|
2364
|
-
target_type: Database["public"]["Enums"]["target_type"];
|
|
2380
|
+
start_verse_id?: string | null;
|
|
2365
2381
|
updated_at?: string | null;
|
|
2366
|
-
user_id
|
|
2382
|
+
user_id: string;
|
|
2367
2383
|
};
|
|
2368
2384
|
Update: {
|
|
2369
|
-
anon_user_id?: string | null;
|
|
2370
2385
|
bookmark_folder_id?: string | null;
|
|
2386
|
+
bookmark_type?: Database["public"]["Enums"]["bookmark_type"] | null;
|
|
2371
2387
|
color?: string | null;
|
|
2372
2388
|
created_at?: string | null;
|
|
2389
|
+
end_verse_id?: string | null;
|
|
2373
2390
|
id?: string;
|
|
2374
2391
|
note?: string | null;
|
|
2375
|
-
|
|
2376
|
-
target_type?: Database["public"]["Enums"]["target_type"];
|
|
2392
|
+
start_verse_id?: string | null;
|
|
2377
2393
|
updated_at?: string | null;
|
|
2378
|
-
user_id?: string
|
|
2394
|
+
user_id?: string;
|
|
2379
2395
|
};
|
|
2380
2396
|
Relationships: [
|
|
2381
2397
|
{
|
|
2382
|
-
foreignKeyName: "
|
|
2383
|
-
columns: ["
|
|
2398
|
+
foreignKeyName: "user_bookmarks_bookmark_folder_id_fkey";
|
|
2399
|
+
columns: ["bookmark_folder_id"];
|
|
2384
2400
|
isOneToOne: false;
|
|
2385
|
-
referencedRelation: "
|
|
2401
|
+
referencedRelation: "user_bookmark_folders";
|
|
2386
2402
|
referencedColumns: ["id"];
|
|
2387
2403
|
},
|
|
2388
2404
|
{
|
|
2389
|
-
foreignKeyName: "
|
|
2390
|
-
columns: ["
|
|
2405
|
+
foreignKeyName: "user_bookmarks_end_verse_id_fkey";
|
|
2406
|
+
columns: ["end_verse_id"];
|
|
2391
2407
|
isOneToOne: false;
|
|
2392
|
-
referencedRelation: "
|
|
2408
|
+
referencedRelation: "verses";
|
|
2409
|
+
referencedColumns: ["id"];
|
|
2410
|
+
},
|
|
2411
|
+
{
|
|
2412
|
+
foreignKeyName: "user_bookmarks_start_verse_id_fkey";
|
|
2413
|
+
columns: ["start_verse_id"];
|
|
2414
|
+
isOneToOne: false;
|
|
2415
|
+
referencedRelation: "verses";
|
|
2393
2416
|
referencedColumns: ["id"];
|
|
2394
2417
|
},
|
|
2395
2418
|
{
|
|
@@ -2455,36 +2478,50 @@ export type Database = {
|
|
|
2455
2478
|
}
|
|
2456
2479
|
];
|
|
2457
2480
|
};
|
|
2458
|
-
|
|
2481
|
+
user_current_selections: {
|
|
2459
2482
|
Row: {
|
|
2460
|
-
created_at: string
|
|
2461
|
-
created_by: string;
|
|
2462
|
-
formatting: Json | null;
|
|
2483
|
+
created_at: string;
|
|
2463
2484
|
id: string;
|
|
2464
|
-
|
|
2465
|
-
|
|
2485
|
+
selected_audio_version: string | null;
|
|
2486
|
+
selected_text_version: string | null;
|
|
2487
|
+
updated_at: string;
|
|
2488
|
+
user_id: string;
|
|
2466
2489
|
};
|
|
2467
2490
|
Insert: {
|
|
2468
|
-
created_at?: string
|
|
2469
|
-
created_by: string;
|
|
2470
|
-
formatting?: Json | null;
|
|
2491
|
+
created_at?: string;
|
|
2471
2492
|
id?: string;
|
|
2472
|
-
|
|
2473
|
-
|
|
2493
|
+
selected_audio_version?: string | null;
|
|
2494
|
+
selected_text_version?: string | null;
|
|
2495
|
+
updated_at?: string;
|
|
2496
|
+
user_id: string;
|
|
2474
2497
|
};
|
|
2475
2498
|
Update: {
|
|
2476
|
-
created_at?: string
|
|
2477
|
-
created_by?: string;
|
|
2478
|
-
formatting?: Json | null;
|
|
2499
|
+
created_at?: string;
|
|
2479
2500
|
id?: string;
|
|
2480
|
-
|
|
2481
|
-
|
|
2501
|
+
selected_audio_version?: string | null;
|
|
2502
|
+
selected_text_version?: string | null;
|
|
2503
|
+
updated_at?: string;
|
|
2504
|
+
user_id?: string;
|
|
2482
2505
|
};
|
|
2483
2506
|
Relationships: [
|
|
2484
2507
|
{
|
|
2485
|
-
foreignKeyName: "
|
|
2486
|
-
columns: ["
|
|
2508
|
+
foreignKeyName: "user_current_selections_selected_audio_version_fkey";
|
|
2509
|
+
columns: ["selected_audio_version"];
|
|
2487
2510
|
isOneToOne: false;
|
|
2511
|
+
referencedRelation: "audio_versions";
|
|
2512
|
+
referencedColumns: ["id"];
|
|
2513
|
+
},
|
|
2514
|
+
{
|
|
2515
|
+
foreignKeyName: "user_current_selections_selected_text_version_fkey";
|
|
2516
|
+
columns: ["selected_text_version"];
|
|
2517
|
+
isOneToOne: false;
|
|
2518
|
+
referencedRelation: "text_versions";
|
|
2519
|
+
referencedColumns: ["id"];
|
|
2520
|
+
},
|
|
2521
|
+
{
|
|
2522
|
+
foreignKeyName: "user_current_selections_user_id_fkey";
|
|
2523
|
+
columns: ["user_id"];
|
|
2524
|
+
isOneToOne: true;
|
|
2488
2525
|
referencedRelation: "users";
|
|
2489
2526
|
referencedColumns: ["id"];
|
|
2490
2527
|
}
|
|
@@ -2492,40 +2529,30 @@ export type Database = {
|
|
|
2492
2529
|
};
|
|
2493
2530
|
user_playlist_groups: {
|
|
2494
2531
|
Row: {
|
|
2495
|
-
anon_user_id: string | null;
|
|
2496
2532
|
created_at: string | null;
|
|
2497
2533
|
description: string | null;
|
|
2498
2534
|
id: string;
|
|
2499
2535
|
name: string;
|
|
2500
2536
|
updated_at: string | null;
|
|
2501
|
-
user_id: string
|
|
2537
|
+
user_id: string;
|
|
2502
2538
|
};
|
|
2503
2539
|
Insert: {
|
|
2504
|
-
anon_user_id?: string | null;
|
|
2505
2540
|
created_at?: string | null;
|
|
2506
2541
|
description?: string | null;
|
|
2507
2542
|
id?: string;
|
|
2508
2543
|
name: string;
|
|
2509
2544
|
updated_at?: string | null;
|
|
2510
|
-
user_id
|
|
2545
|
+
user_id: string;
|
|
2511
2546
|
};
|
|
2512
2547
|
Update: {
|
|
2513
|
-
anon_user_id?: string | null;
|
|
2514
2548
|
created_at?: string | null;
|
|
2515
2549
|
description?: string | null;
|
|
2516
2550
|
id?: string;
|
|
2517
2551
|
name?: string;
|
|
2518
2552
|
updated_at?: string | null;
|
|
2519
|
-
user_id?: string
|
|
2553
|
+
user_id?: string;
|
|
2520
2554
|
};
|
|
2521
2555
|
Relationships: [
|
|
2522
|
-
{
|
|
2523
|
-
foreignKeyName: "user_playlist_groups_anon_user_id_fkey";
|
|
2524
|
-
columns: ["anon_user_id"];
|
|
2525
|
-
isOneToOne: false;
|
|
2526
|
-
referencedRelation: "users_anon";
|
|
2527
|
-
referencedColumns: ["id"];
|
|
2528
|
-
},
|
|
2529
2556
|
{
|
|
2530
2557
|
foreignKeyName: "user_playlist_groups_user_id_fkey";
|
|
2531
2558
|
columns: ["user_id"];
|
|
@@ -2537,53 +2564,30 @@ export type Database = {
|
|
|
2537
2564
|
};
|
|
2538
2565
|
user_playlists: {
|
|
2539
2566
|
Row: {
|
|
2540
|
-
anon_user_id: string | null;
|
|
2541
2567
|
created_at: string | null;
|
|
2542
2568
|
id: string;
|
|
2543
|
-
image_id: string | null;
|
|
2544
|
-
name: string;
|
|
2545
2569
|
playlist_id: string;
|
|
2546
2570
|
updated_at: string | null;
|
|
2547
|
-
user_id: string
|
|
2571
|
+
user_id: string;
|
|
2548
2572
|
user_playlist_group_id: string | null;
|
|
2549
2573
|
};
|
|
2550
2574
|
Insert: {
|
|
2551
|
-
anon_user_id?: string | null;
|
|
2552
2575
|
created_at?: string | null;
|
|
2553
2576
|
id?: string;
|
|
2554
|
-
image_id?: string | null;
|
|
2555
|
-
name: string;
|
|
2556
2577
|
playlist_id: string;
|
|
2557
2578
|
updated_at?: string | null;
|
|
2558
|
-
user_id
|
|
2579
|
+
user_id: string;
|
|
2559
2580
|
user_playlist_group_id?: string | null;
|
|
2560
2581
|
};
|
|
2561
2582
|
Update: {
|
|
2562
|
-
anon_user_id?: string | null;
|
|
2563
2583
|
created_at?: string | null;
|
|
2564
2584
|
id?: string;
|
|
2565
|
-
image_id?: string | null;
|
|
2566
|
-
name?: string;
|
|
2567
2585
|
playlist_id?: string;
|
|
2568
2586
|
updated_at?: string | null;
|
|
2569
|
-
user_id?: string
|
|
2587
|
+
user_id?: string;
|
|
2570
2588
|
user_playlist_group_id?: string | null;
|
|
2571
2589
|
};
|
|
2572
2590
|
Relationships: [
|
|
2573
|
-
{
|
|
2574
|
-
foreignKeyName: "user_playlists_anon_user_id_fkey";
|
|
2575
|
-
columns: ["anon_user_id"];
|
|
2576
|
-
isOneToOne: false;
|
|
2577
|
-
referencedRelation: "users_anon";
|
|
2578
|
-
referencedColumns: ["id"];
|
|
2579
|
-
},
|
|
2580
|
-
{
|
|
2581
|
-
foreignKeyName: "user_playlists_image_id_fkey";
|
|
2582
|
-
columns: ["image_id"];
|
|
2583
|
-
isOneToOne: false;
|
|
2584
|
-
referencedRelation: "images";
|
|
2585
|
-
referencedColumns: ["id"];
|
|
2586
|
-
},
|
|
2587
2591
|
{
|
|
2588
2592
|
foreignKeyName: "user_playlists_playlist_id_fkey";
|
|
2589
2593
|
columns: ["playlist_id"];
|
|
@@ -2652,39 +2656,68 @@ export type Database = {
|
|
|
2652
2656
|
}
|
|
2653
2657
|
];
|
|
2654
2658
|
};
|
|
2655
|
-
|
|
2659
|
+
user_saved_audio_versions: {
|
|
2656
2660
|
Row: {
|
|
2657
|
-
|
|
2661
|
+
audio_version_id: string;
|
|
2658
2662
|
created_at: string | null;
|
|
2659
2663
|
id: string;
|
|
2660
|
-
set_id: string;
|
|
2661
2664
|
updated_at: string | null;
|
|
2662
|
-
user_id: string
|
|
2665
|
+
user_id: string;
|
|
2663
2666
|
};
|
|
2664
2667
|
Insert: {
|
|
2665
|
-
|
|
2668
|
+
audio_version_id: string;
|
|
2666
2669
|
created_at?: string | null;
|
|
2667
2670
|
id?: string;
|
|
2668
|
-
set_id: string;
|
|
2669
2671
|
updated_at?: string | null;
|
|
2670
|
-
user_id
|
|
2672
|
+
user_id: string;
|
|
2671
2673
|
};
|
|
2672
2674
|
Update: {
|
|
2673
|
-
|
|
2675
|
+
audio_version_id?: string;
|
|
2674
2676
|
created_at?: string | null;
|
|
2675
2677
|
id?: string;
|
|
2676
|
-
set_id?: string;
|
|
2677
2678
|
updated_at?: string | null;
|
|
2678
|
-
user_id?: string
|
|
2679
|
+
user_id?: string;
|
|
2679
2680
|
};
|
|
2680
2681
|
Relationships: [
|
|
2681
2682
|
{
|
|
2682
|
-
foreignKeyName: "
|
|
2683
|
-
columns: ["
|
|
2683
|
+
foreignKeyName: "user_saved_audio_versions_audio_version_id_fkey";
|
|
2684
|
+
columns: ["audio_version_id"];
|
|
2684
2685
|
isOneToOne: false;
|
|
2685
|
-
referencedRelation: "
|
|
2686
|
+
referencedRelation: "audio_versions";
|
|
2686
2687
|
referencedColumns: ["id"];
|
|
2687
2688
|
},
|
|
2689
|
+
{
|
|
2690
|
+
foreignKeyName: "user_saved_audio_versions_user_id_fkey";
|
|
2691
|
+
columns: ["user_id"];
|
|
2692
|
+
isOneToOne: false;
|
|
2693
|
+
referencedRelation: "users";
|
|
2694
|
+
referencedColumns: ["id"];
|
|
2695
|
+
}
|
|
2696
|
+
];
|
|
2697
|
+
};
|
|
2698
|
+
user_saved_image_sets: {
|
|
2699
|
+
Row: {
|
|
2700
|
+
created_at: string | null;
|
|
2701
|
+
id: string;
|
|
2702
|
+
set_id: string;
|
|
2703
|
+
updated_at: string | null;
|
|
2704
|
+
user_id: string;
|
|
2705
|
+
};
|
|
2706
|
+
Insert: {
|
|
2707
|
+
created_at?: string | null;
|
|
2708
|
+
id?: string;
|
|
2709
|
+
set_id: string;
|
|
2710
|
+
updated_at?: string | null;
|
|
2711
|
+
user_id: string;
|
|
2712
|
+
};
|
|
2713
|
+
Update: {
|
|
2714
|
+
created_at?: string | null;
|
|
2715
|
+
id?: string;
|
|
2716
|
+
set_id?: string;
|
|
2717
|
+
updated_at?: string | null;
|
|
2718
|
+
user_id?: string;
|
|
2719
|
+
};
|
|
2720
|
+
Relationships: [
|
|
2688
2721
|
{
|
|
2689
2722
|
foreignKeyName: "user_saved_image_sets_set_id_fkey";
|
|
2690
2723
|
columns: ["set_id"];
|
|
@@ -2701,60 +2734,89 @@ export type Database = {
|
|
|
2701
2734
|
}
|
|
2702
2735
|
];
|
|
2703
2736
|
};
|
|
2704
|
-
|
|
2737
|
+
user_saved_text_versions: {
|
|
2705
2738
|
Row: {
|
|
2706
|
-
anon_user_id: string | null;
|
|
2707
|
-
audio_version_id: string | null;
|
|
2708
2739
|
created_at: string | null;
|
|
2709
2740
|
id: string;
|
|
2710
|
-
text_version_id: string
|
|
2741
|
+
text_version_id: string;
|
|
2711
2742
|
updated_at: string | null;
|
|
2712
|
-
user_id: string
|
|
2743
|
+
user_id: string;
|
|
2713
2744
|
};
|
|
2714
2745
|
Insert: {
|
|
2715
|
-
anon_user_id?: string | null;
|
|
2716
|
-
audio_version_id?: string | null;
|
|
2717
2746
|
created_at?: string | null;
|
|
2718
2747
|
id?: string;
|
|
2719
|
-
text_version_id
|
|
2748
|
+
text_version_id: string;
|
|
2720
2749
|
updated_at?: string | null;
|
|
2721
|
-
user_id
|
|
2750
|
+
user_id: string;
|
|
2722
2751
|
};
|
|
2723
2752
|
Update: {
|
|
2724
|
-
anon_user_id?: string | null;
|
|
2725
|
-
audio_version_id?: string | null;
|
|
2726
2753
|
created_at?: string | null;
|
|
2727
2754
|
id?: string;
|
|
2728
|
-
text_version_id?: string
|
|
2755
|
+
text_version_id?: string;
|
|
2729
2756
|
updated_at?: string | null;
|
|
2730
|
-
user_id?: string
|
|
2757
|
+
user_id?: string;
|
|
2731
2758
|
};
|
|
2732
2759
|
Relationships: [
|
|
2733
2760
|
{
|
|
2734
|
-
foreignKeyName: "
|
|
2735
|
-
columns: ["
|
|
2761
|
+
foreignKeyName: "user_saved_text_versions_text_version_id_fkey";
|
|
2762
|
+
columns: ["text_version_id"];
|
|
2736
2763
|
isOneToOne: false;
|
|
2737
|
-
referencedRelation: "
|
|
2764
|
+
referencedRelation: "text_versions";
|
|
2738
2765
|
referencedColumns: ["id"];
|
|
2739
2766
|
},
|
|
2740
2767
|
{
|
|
2741
|
-
foreignKeyName: "
|
|
2742
|
-
columns: ["
|
|
2768
|
+
foreignKeyName: "user_saved_text_versions_user_id_fkey";
|
|
2769
|
+
columns: ["user_id"];
|
|
2770
|
+
isOneToOne: false;
|
|
2771
|
+
referencedRelation: "users";
|
|
2772
|
+
referencedColumns: ["id"];
|
|
2773
|
+
}
|
|
2774
|
+
];
|
|
2775
|
+
};
|
|
2776
|
+
user_version_selections: {
|
|
2777
|
+
Row: {
|
|
2778
|
+
created_at: string | null;
|
|
2779
|
+
current_audio_version_id: string | null;
|
|
2780
|
+
current_text_version_id: string | null;
|
|
2781
|
+
id: string;
|
|
2782
|
+
updated_at: string | null;
|
|
2783
|
+
user_id: string;
|
|
2784
|
+
};
|
|
2785
|
+
Insert: {
|
|
2786
|
+
created_at?: string | null;
|
|
2787
|
+
current_audio_version_id?: string | null;
|
|
2788
|
+
current_text_version_id?: string | null;
|
|
2789
|
+
id?: string;
|
|
2790
|
+
updated_at?: string | null;
|
|
2791
|
+
user_id: string;
|
|
2792
|
+
};
|
|
2793
|
+
Update: {
|
|
2794
|
+
created_at?: string | null;
|
|
2795
|
+
current_audio_version_id?: string | null;
|
|
2796
|
+
current_text_version_id?: string | null;
|
|
2797
|
+
id?: string;
|
|
2798
|
+
updated_at?: string | null;
|
|
2799
|
+
user_id?: string;
|
|
2800
|
+
};
|
|
2801
|
+
Relationships: [
|
|
2802
|
+
{
|
|
2803
|
+
foreignKeyName: "user_version_selections_current_audio_version_id_fkey";
|
|
2804
|
+
columns: ["current_audio_version_id"];
|
|
2743
2805
|
isOneToOne: false;
|
|
2744
2806
|
referencedRelation: "audio_versions";
|
|
2745
2807
|
referencedColumns: ["id"];
|
|
2746
2808
|
},
|
|
2747
2809
|
{
|
|
2748
|
-
foreignKeyName: "
|
|
2749
|
-
columns: ["
|
|
2810
|
+
foreignKeyName: "user_version_selections_current_text_version_id_fkey";
|
|
2811
|
+
columns: ["current_text_version_id"];
|
|
2750
2812
|
isOneToOne: false;
|
|
2751
2813
|
referencedRelation: "text_versions";
|
|
2752
2814
|
referencedColumns: ["id"];
|
|
2753
2815
|
},
|
|
2754
2816
|
{
|
|
2755
|
-
foreignKeyName: "
|
|
2817
|
+
foreignKeyName: "user_version_selections_user_id_fkey";
|
|
2756
2818
|
columns: ["user_id"];
|
|
2757
|
-
isOneToOne:
|
|
2819
|
+
isOneToOne: true;
|
|
2758
2820
|
referencedRelation: "users";
|
|
2759
2821
|
referencedColumns: ["id"];
|
|
2760
2822
|
}
|
|
@@ -2762,72 +2824,37 @@ export type Database = {
|
|
|
2762
2824
|
};
|
|
2763
2825
|
users: {
|
|
2764
2826
|
Row: {
|
|
2765
|
-
auth_uid: string;
|
|
2766
2827
|
created_at: string | null;
|
|
2767
|
-
email: string;
|
|
2828
|
+
email: string | null;
|
|
2768
2829
|
first_name: string | null;
|
|
2769
2830
|
id: string;
|
|
2831
|
+
is_anonymous: boolean;
|
|
2770
2832
|
last_name: string | null;
|
|
2771
2833
|
phone_number: string | null;
|
|
2772
2834
|
updated_at: string | null;
|
|
2773
2835
|
};
|
|
2774
2836
|
Insert: {
|
|
2775
|
-
auth_uid: string;
|
|
2776
2837
|
created_at?: string | null;
|
|
2777
|
-
email
|
|
2838
|
+
email?: string | null;
|
|
2778
2839
|
first_name?: string | null;
|
|
2779
2840
|
id?: string;
|
|
2841
|
+
is_anonymous?: boolean;
|
|
2780
2842
|
last_name?: string | null;
|
|
2781
2843
|
phone_number?: string | null;
|
|
2782
2844
|
updated_at?: string | null;
|
|
2783
2845
|
};
|
|
2784
2846
|
Update: {
|
|
2785
|
-
auth_uid?: string;
|
|
2786
2847
|
created_at?: string | null;
|
|
2787
|
-
email?: string;
|
|
2848
|
+
email?: string | null;
|
|
2788
2849
|
first_name?: string | null;
|
|
2789
2850
|
id?: string;
|
|
2851
|
+
is_anonymous?: boolean;
|
|
2790
2852
|
last_name?: string | null;
|
|
2791
2853
|
phone_number?: string | null;
|
|
2792
2854
|
updated_at?: string | null;
|
|
2793
2855
|
};
|
|
2794
2856
|
Relationships: [];
|
|
2795
2857
|
};
|
|
2796
|
-
users_anon: {
|
|
2797
|
-
Row: {
|
|
2798
|
-
auth_uid: string | null;
|
|
2799
|
-
created_at: string | null;
|
|
2800
|
-
device_id: string;
|
|
2801
|
-
id: string;
|
|
2802
|
-
updated_at: string | null;
|
|
2803
|
-
user_id: string | null;
|
|
2804
|
-
};
|
|
2805
|
-
Insert: {
|
|
2806
|
-
auth_uid?: string | null;
|
|
2807
|
-
created_at?: string | null;
|
|
2808
|
-
device_id: string;
|
|
2809
|
-
id?: string;
|
|
2810
|
-
updated_at?: string | null;
|
|
2811
|
-
user_id?: string | null;
|
|
2812
|
-
};
|
|
2813
|
-
Update: {
|
|
2814
|
-
auth_uid?: string | null;
|
|
2815
|
-
created_at?: string | null;
|
|
2816
|
-
device_id?: string;
|
|
2817
|
-
id?: string;
|
|
2818
|
-
updated_at?: string | null;
|
|
2819
|
-
user_id?: string | null;
|
|
2820
|
-
};
|
|
2821
|
-
Relationships: [
|
|
2822
|
-
{
|
|
2823
|
-
foreignKeyName: "users_anon_user_id_fkey";
|
|
2824
|
-
columns: ["user_id"];
|
|
2825
|
-
isOneToOne: false;
|
|
2826
|
-
referencedRelation: "users";
|
|
2827
|
-
referencedColumns: ["id"];
|
|
2828
|
-
}
|
|
2829
|
-
];
|
|
2830
|
-
};
|
|
2831
2858
|
verse_feedback: {
|
|
2832
2859
|
Row: {
|
|
2833
2860
|
actioned: Database["public"]["Enums"]["feedback_actioned"];
|
|
@@ -2901,54 +2928,45 @@ export type Database = {
|
|
|
2901
2928
|
};
|
|
2902
2929
|
verse_listens: {
|
|
2903
2930
|
Row: {
|
|
2904
|
-
anon_user_id: string;
|
|
2905
|
-
connectivity: Database["public"]["Enums"]["connectivity_type"] | null;
|
|
2906
|
-
created_at: string | null;
|
|
2907
|
-
device_id: string;
|
|
2908
2931
|
id: string;
|
|
2909
2932
|
language_entity_id: string;
|
|
2910
2933
|
listened_at: string | null;
|
|
2911
|
-
|
|
2934
|
+
origin_share_id: string | null;
|
|
2912
2935
|
session_id: string;
|
|
2936
|
+
user_id: string | null;
|
|
2913
2937
|
verse_id: string;
|
|
2914
2938
|
};
|
|
2915
2939
|
Insert: {
|
|
2916
|
-
anon_user_id: string;
|
|
2917
|
-
connectivity?: Database["public"]["Enums"]["connectivity_type"] | null;
|
|
2918
|
-
created_at?: string | null;
|
|
2919
|
-
device_id: string;
|
|
2920
2940
|
id?: string;
|
|
2921
2941
|
language_entity_id: string;
|
|
2922
2942
|
listened_at?: string | null;
|
|
2923
|
-
|
|
2943
|
+
origin_share_id?: string | null;
|
|
2924
2944
|
session_id: string;
|
|
2945
|
+
user_id?: string | null;
|
|
2925
2946
|
verse_id: string;
|
|
2926
2947
|
};
|
|
2927
2948
|
Update: {
|
|
2928
|
-
anon_user_id?: string;
|
|
2929
|
-
connectivity?: Database["public"]["Enums"]["connectivity_type"] | null;
|
|
2930
|
-
created_at?: string | null;
|
|
2931
|
-
device_id?: string;
|
|
2932
2949
|
id?: string;
|
|
2933
2950
|
language_entity_id?: string;
|
|
2934
2951
|
listened_at?: string | null;
|
|
2935
|
-
|
|
2952
|
+
origin_share_id?: string | null;
|
|
2936
2953
|
session_id?: string;
|
|
2954
|
+
user_id?: string | null;
|
|
2937
2955
|
verse_id?: string;
|
|
2938
2956
|
};
|
|
2939
2957
|
Relationships: [
|
|
2940
2958
|
{
|
|
2941
|
-
foreignKeyName: "
|
|
2942
|
-
columns: ["
|
|
2959
|
+
foreignKeyName: "verse_listens_language_entity_id_fkey";
|
|
2960
|
+
columns: ["language_entity_id"];
|
|
2943
2961
|
isOneToOne: false;
|
|
2944
|
-
referencedRelation: "
|
|
2962
|
+
referencedRelation: "language_entities";
|
|
2945
2963
|
referencedColumns: ["id"];
|
|
2946
2964
|
},
|
|
2947
2965
|
{
|
|
2948
|
-
foreignKeyName: "
|
|
2949
|
-
columns: ["
|
|
2966
|
+
foreignKeyName: "verse_listens_origin_share_id_fkey";
|
|
2967
|
+
columns: ["origin_share_id"];
|
|
2950
2968
|
isOneToOne: false;
|
|
2951
|
-
referencedRelation: "
|
|
2969
|
+
referencedRelation: "shares";
|
|
2952
2970
|
referencedColumns: ["id"];
|
|
2953
2971
|
},
|
|
2954
2972
|
{
|
|
@@ -2958,6 +2976,13 @@ export type Database = {
|
|
|
2958
2976
|
referencedRelation: "sessions";
|
|
2959
2977
|
referencedColumns: ["id"];
|
|
2960
2978
|
},
|
|
2979
|
+
{
|
|
2980
|
+
foreignKeyName: "verse_listens_user_id_fkey";
|
|
2981
|
+
columns: ["user_id"];
|
|
2982
|
+
isOneToOne: false;
|
|
2983
|
+
referencedRelation: "users";
|
|
2984
|
+
referencedColumns: ["id"];
|
|
2985
|
+
},
|
|
2961
2986
|
{
|
|
2962
2987
|
foreignKeyName: "verse_listens_verse_id_fkey";
|
|
2963
2988
|
columns: ["verse_id"];
|
|
@@ -3105,22 +3130,71 @@ export type Database = {
|
|
|
3105
3130
|
srid?: number | null;
|
|
3106
3131
|
type?: string | null;
|
|
3107
3132
|
};
|
|
3108
|
-
Relationships: [];
|
|
3133
|
+
Relationships: [];
|
|
3134
|
+
};
|
|
3135
|
+
passages_with_playlist_id: {
|
|
3136
|
+
Row: {
|
|
3137
|
+
book_id: string | null;
|
|
3138
|
+
created_at: string | null;
|
|
3139
|
+
created_by: string | null;
|
|
3140
|
+
end_verse_id: string | null;
|
|
3141
|
+
id: string | null;
|
|
3142
|
+
playlist_id: string | null;
|
|
3143
|
+
start_verse_id: string | null;
|
|
3144
|
+
updated_at: string | null;
|
|
3145
|
+
};
|
|
3146
|
+
Relationships: [
|
|
3147
|
+
{
|
|
3148
|
+
foreignKeyName: "passages_book_id_fkey";
|
|
3149
|
+
columns: ["book_id"];
|
|
3150
|
+
isOneToOne: false;
|
|
3151
|
+
referencedRelation: "books";
|
|
3152
|
+
referencedColumns: ["id"];
|
|
3153
|
+
},
|
|
3154
|
+
{
|
|
3155
|
+
foreignKeyName: "passages_created_by_fkey";
|
|
3156
|
+
columns: ["created_by"];
|
|
3157
|
+
isOneToOne: false;
|
|
3158
|
+
referencedRelation: "users";
|
|
3159
|
+
referencedColumns: ["id"];
|
|
3160
|
+
},
|
|
3161
|
+
{
|
|
3162
|
+
foreignKeyName: "passages_end_verse_id_fkey";
|
|
3163
|
+
columns: ["end_verse_id"];
|
|
3164
|
+
isOneToOne: false;
|
|
3165
|
+
referencedRelation: "verses";
|
|
3166
|
+
referencedColumns: ["id"];
|
|
3167
|
+
},
|
|
3168
|
+
{
|
|
3169
|
+
foreignKeyName: "passages_start_verse_id_fkey";
|
|
3170
|
+
columns: ["start_verse_id"];
|
|
3171
|
+
isOneToOne: false;
|
|
3172
|
+
referencedRelation: "verses";
|
|
3173
|
+
referencedColumns: ["id"];
|
|
3174
|
+
},
|
|
3175
|
+
{
|
|
3176
|
+
foreignKeyName: "playlist_items_playlist_id_fkey";
|
|
3177
|
+
columns: ["playlist_id"];
|
|
3178
|
+
isOneToOne: false;
|
|
3179
|
+
referencedRelation: "playlists";
|
|
3180
|
+
referencedColumns: ["id"];
|
|
3181
|
+
}
|
|
3182
|
+
];
|
|
3109
3183
|
};
|
|
3110
3184
|
};
|
|
3111
3185
|
Functions: {
|
|
3112
3186
|
_postgis_deprecate: {
|
|
3113
3187
|
Args: {
|
|
3114
|
-
oldname: string;
|
|
3115
3188
|
newname: string;
|
|
3189
|
+
oldname: string;
|
|
3116
3190
|
version: string;
|
|
3117
3191
|
};
|
|
3118
3192
|
Returns: undefined;
|
|
3119
3193
|
};
|
|
3120
3194
|
_postgis_index_extent: {
|
|
3121
3195
|
Args: {
|
|
3122
|
-
tbl: unknown;
|
|
3123
3196
|
col: string;
|
|
3197
|
+
tbl: unknown;
|
|
3124
3198
|
};
|
|
3125
3199
|
Returns: unknown;
|
|
3126
3200
|
};
|
|
@@ -3134,10 +3208,10 @@ export type Database = {
|
|
|
3134
3208
|
};
|
|
3135
3209
|
_postgis_selectivity: {
|
|
3136
3210
|
Args: {
|
|
3137
|
-
tbl: unknown;
|
|
3138
3211
|
att_name: string;
|
|
3139
3212
|
geom: unknown;
|
|
3140
3213
|
mode?: string;
|
|
3214
|
+
tbl: unknown;
|
|
3141
3215
|
};
|
|
3142
3216
|
Returns: number;
|
|
3143
3217
|
};
|
|
@@ -3274,10 +3348,10 @@ export type Database = {
|
|
|
3274
3348
|
};
|
|
3275
3349
|
_st_voronoi: {
|
|
3276
3350
|
Args: {
|
|
3277
|
-
g1: unknown;
|
|
3278
3351
|
clip?: unknown;
|
|
3279
|
-
|
|
3352
|
+
g1: unknown;
|
|
3280
3353
|
return_polygons?: boolean;
|
|
3354
|
+
tolerance?: number;
|
|
3281
3355
|
};
|
|
3282
3356
|
Returns: unknown;
|
|
3283
3357
|
};
|
|
@@ -3297,27 +3371,27 @@ export type Database = {
|
|
|
3297
3371
|
addgeometrycolumn: {
|
|
3298
3372
|
Args: {
|
|
3299
3373
|
catalog_name: string;
|
|
3300
|
-
schema_name: string;
|
|
3301
|
-
table_name: string;
|
|
3302
3374
|
column_name: string;
|
|
3375
|
+
new_dim: number;
|
|
3303
3376
|
new_srid_in: number;
|
|
3304
3377
|
new_type: string;
|
|
3305
|
-
new_dim: number;
|
|
3306
|
-
use_typmod?: boolean;
|
|
3307
|
-
} | {
|
|
3308
3378
|
schema_name: string;
|
|
3309
3379
|
table_name: string;
|
|
3380
|
+
use_typmod?: boolean;
|
|
3381
|
+
} | {
|
|
3310
3382
|
column_name: string;
|
|
3383
|
+
new_dim: number;
|
|
3311
3384
|
new_srid: number;
|
|
3312
3385
|
new_type: string;
|
|
3313
|
-
|
|
3386
|
+
schema_name: string;
|
|
3387
|
+
table_name: string;
|
|
3314
3388
|
use_typmod?: boolean;
|
|
3315
3389
|
} | {
|
|
3316
|
-
table_name: string;
|
|
3317
3390
|
column_name: string;
|
|
3391
|
+
new_dim: number;
|
|
3318
3392
|
new_srid: number;
|
|
3319
3393
|
new_type: string;
|
|
3320
|
-
|
|
3394
|
+
table_name: string;
|
|
3321
3395
|
use_typmod?: boolean;
|
|
3322
3396
|
};
|
|
3323
3397
|
Returns: string;
|
|
@@ -3403,16 +3477,16 @@ export type Database = {
|
|
|
3403
3477
|
dropgeometrycolumn: {
|
|
3404
3478
|
Args: {
|
|
3405
3479
|
catalog_name: string;
|
|
3480
|
+
column_name: string;
|
|
3406
3481
|
schema_name: string;
|
|
3407
3482
|
table_name: string;
|
|
3408
|
-
column_name: string;
|
|
3409
3483
|
} | {
|
|
3484
|
+
column_name: string;
|
|
3410
3485
|
schema_name: string;
|
|
3411
3486
|
table_name: string;
|
|
3412
|
-
column_name: string;
|
|
3413
3487
|
} | {
|
|
3414
|
-
table_name: string;
|
|
3415
3488
|
column_name: string;
|
|
3489
|
+
table_name: string;
|
|
3416
3490
|
};
|
|
3417
3491
|
Returns: string;
|
|
3418
3492
|
};
|
|
@@ -3817,16 +3891,16 @@ export type Database = {
|
|
|
3817
3891
|
get_language_entity_hierarchy: {
|
|
3818
3892
|
Args: {
|
|
3819
3893
|
entity_id: string;
|
|
3820
|
-
generations_up?: number;
|
|
3821
3894
|
generations_down?: number;
|
|
3895
|
+
generations_up?: number;
|
|
3822
3896
|
};
|
|
3823
3897
|
Returns: {
|
|
3898
|
+
generation_distance: number;
|
|
3824
3899
|
hierarchy_entity_id: string;
|
|
3825
|
-
hierarchy_entity_name: string;
|
|
3826
3900
|
hierarchy_entity_level: string;
|
|
3901
|
+
hierarchy_entity_name: string;
|
|
3827
3902
|
hierarchy_parent_id: string;
|
|
3828
3903
|
relationship_type: string;
|
|
3829
|
-
generation_distance: number;
|
|
3830
3904
|
}[];
|
|
3831
3905
|
};
|
|
3832
3906
|
get_language_entity_path: {
|
|
@@ -3843,17 +3917,17 @@ export type Database = {
|
|
|
3843
3917
|
};
|
|
3844
3918
|
get_region_hierarchy: {
|
|
3845
3919
|
Args: {
|
|
3846
|
-
region_id: string;
|
|
3847
|
-
generations_up?: number;
|
|
3848
3920
|
generations_down?: number;
|
|
3921
|
+
generations_up?: number;
|
|
3922
|
+
region_id: string;
|
|
3849
3923
|
};
|
|
3850
3924
|
Returns: {
|
|
3925
|
+
generation_distance: number;
|
|
3926
|
+
hierarchy_parent_id: string;
|
|
3851
3927
|
hierarchy_region_id: string;
|
|
3852
|
-
hierarchy_region_name: string;
|
|
3853
3928
|
hierarchy_region_level: string;
|
|
3854
|
-
|
|
3929
|
+
hierarchy_region_name: string;
|
|
3855
3930
|
relationship_type: string;
|
|
3856
|
-
generation_distance: number;
|
|
3857
3931
|
}[];
|
|
3858
3932
|
};
|
|
3859
3933
|
get_region_path: {
|
|
@@ -4033,25 +4107,25 @@ export type Database = {
|
|
|
4033
4107
|
};
|
|
4034
4108
|
postgis_constraint_dims: {
|
|
4035
4109
|
Args: {
|
|
4110
|
+
geomcolumn: string;
|
|
4036
4111
|
geomschema: string;
|
|
4037
4112
|
geomtable: string;
|
|
4038
|
-
geomcolumn: string;
|
|
4039
4113
|
};
|
|
4040
4114
|
Returns: number;
|
|
4041
4115
|
};
|
|
4042
4116
|
postgis_constraint_srid: {
|
|
4043
4117
|
Args: {
|
|
4118
|
+
geomcolumn: string;
|
|
4044
4119
|
geomschema: string;
|
|
4045
4120
|
geomtable: string;
|
|
4046
|
-
geomcolumn: string;
|
|
4047
4121
|
};
|
|
4048
4122
|
Returns: number;
|
|
4049
4123
|
};
|
|
4050
4124
|
postgis_constraint_type: {
|
|
4051
4125
|
Args: {
|
|
4126
|
+
geomcolumn: string;
|
|
4052
4127
|
geomschema: string;
|
|
4053
4128
|
geomtable: string;
|
|
4054
|
-
geomcolumn: string;
|
|
4055
4129
|
};
|
|
4056
4130
|
Returns: string;
|
|
4057
4131
|
};
|
|
@@ -4153,8 +4227,8 @@ export type Database = {
|
|
|
4153
4227
|
};
|
|
4154
4228
|
postgis_type_name: {
|
|
4155
4229
|
Args: {
|
|
4156
|
-
geomname: string;
|
|
4157
4230
|
coord_dimension: number;
|
|
4231
|
+
geomname: string;
|
|
4158
4232
|
use_new_name?: boolean;
|
|
4159
4233
|
};
|
|
4160
4234
|
Returns: string;
|
|
@@ -4191,64 +4265,64 @@ export type Database = {
|
|
|
4191
4265
|
};
|
|
4192
4266
|
search_language_aliases: {
|
|
4193
4267
|
Args: {
|
|
4194
|
-
|
|
4268
|
+
include_regions?: boolean;
|
|
4195
4269
|
max_results?: number;
|
|
4196
4270
|
min_similarity?: number;
|
|
4197
|
-
|
|
4271
|
+
search_query: string;
|
|
4198
4272
|
};
|
|
4199
4273
|
Returns: {
|
|
4200
|
-
similarity_threshold_used: number;
|
|
4201
4274
|
alias_id: string;
|
|
4202
4275
|
alias_name: string;
|
|
4203
4276
|
alias_similarity_score: number;
|
|
4204
4277
|
entity_id: string;
|
|
4205
|
-
entity_name: string;
|
|
4206
4278
|
entity_level: string;
|
|
4279
|
+
entity_name: string;
|
|
4207
4280
|
entity_parent_id: string;
|
|
4208
4281
|
regions: Json;
|
|
4282
|
+
similarity_threshold_used: number;
|
|
4209
4283
|
}[];
|
|
4210
4284
|
};
|
|
4211
4285
|
search_language_aliases_with_versions: {
|
|
4212
4286
|
Args: {
|
|
4213
|
-
search_query: string;
|
|
4214
4287
|
filter_type?: Database["public"]["Enums"]["version_filter_type"];
|
|
4288
|
+
include_regions?: boolean;
|
|
4215
4289
|
max_results?: number;
|
|
4216
4290
|
min_similarity?: number;
|
|
4217
|
-
|
|
4291
|
+
search_query: string;
|
|
4218
4292
|
};
|
|
4219
4293
|
Returns: {
|
|
4220
|
-
similarity_threshold_used: number;
|
|
4221
4294
|
alias_id: string;
|
|
4222
4295
|
alias_name: string;
|
|
4223
4296
|
alias_similarity_score: number;
|
|
4297
|
+
audio_version_count: number;
|
|
4298
|
+
audio_versions: Json;
|
|
4224
4299
|
entity_id: string;
|
|
4225
|
-
entity_name: string;
|
|
4226
4300
|
entity_level: string;
|
|
4301
|
+
entity_name: string;
|
|
4227
4302
|
entity_parent_id: string;
|
|
4228
4303
|
regions: Json;
|
|
4229
|
-
|
|
4304
|
+
similarity_threshold_used: number;
|
|
4230
4305
|
text_version_count: number;
|
|
4231
|
-
audio_versions: Json;
|
|
4232
4306
|
text_versions: Json;
|
|
4233
4307
|
}[];
|
|
4234
4308
|
};
|
|
4235
4309
|
search_region_aliases: {
|
|
4236
4310
|
Args: {
|
|
4237
|
-
|
|
4311
|
+
include_languages?: boolean;
|
|
4238
4312
|
max_results?: number;
|
|
4239
4313
|
min_similarity?: number;
|
|
4240
|
-
|
|
4314
|
+
search_query: string;
|
|
4241
4315
|
};
|
|
4242
4316
|
Returns: {
|
|
4243
|
-
similarity_threshold_used: number;
|
|
4244
4317
|
alias_id: string;
|
|
4245
4318
|
alias_name: string;
|
|
4246
4319
|
alias_similarity_score: number;
|
|
4320
|
+
languages: Json;
|
|
4247
4321
|
region_id: string;
|
|
4248
|
-
region_name: string;
|
|
4249
4322
|
region_level: string;
|
|
4323
|
+
region_name: string;
|
|
4250
4324
|
region_parent_id: string;
|
|
4251
|
-
|
|
4325
|
+
similarity_threshold_used: number;
|
|
4252
4326
|
}[];
|
|
4253
4327
|
};
|
|
4254
4328
|
set_limit: {
|
|
@@ -4419,10 +4493,10 @@ export type Database = {
|
|
|
4419
4493
|
maxdecimaldigits?: number;
|
|
4420
4494
|
options?: number;
|
|
4421
4495
|
} | {
|
|
4422
|
-
r: Record<string, unknown>;
|
|
4423
4496
|
geom_column?: string;
|
|
4424
4497
|
maxdecimaldigits?: number;
|
|
4425
4498
|
pretty_bool?: boolean;
|
|
4499
|
+
r: Record<string, unknown>;
|
|
4426
4500
|
};
|
|
4427
4501
|
Returns: string;
|
|
4428
4502
|
};
|
|
@@ -4431,28 +4505,28 @@ export type Database = {
|
|
|
4431
4505
|
"": string;
|
|
4432
4506
|
} | {
|
|
4433
4507
|
geog: unknown;
|
|
4434
|
-
maxdecimaldigits?: number;
|
|
4435
|
-
options?: number;
|
|
4436
|
-
nprefix?: string;
|
|
4437
4508
|
id?: string;
|
|
4438
|
-
} | {
|
|
4439
|
-
geom: unknown;
|
|
4440
4509
|
maxdecimaldigits?: number;
|
|
4510
|
+
nprefix?: string;
|
|
4441
4511
|
options?: number;
|
|
4442
4512
|
} | {
|
|
4443
|
-
version: number;
|
|
4444
4513
|
geog: unknown;
|
|
4514
|
+
id?: string;
|
|
4445
4515
|
maxdecimaldigits?: number;
|
|
4446
|
-
options?: number;
|
|
4447
4516
|
nprefix?: string;
|
|
4448
|
-
|
|
4517
|
+
options?: number;
|
|
4518
|
+
version: number;
|
|
4449
4519
|
} | {
|
|
4520
|
+
geom: unknown;
|
|
4521
|
+
id?: string;
|
|
4522
|
+
maxdecimaldigits?: number;
|
|
4523
|
+
nprefix?: string;
|
|
4524
|
+
options?: number;
|
|
4450
4525
|
version: number;
|
|
4526
|
+
} | {
|
|
4451
4527
|
geom: unknown;
|
|
4452
4528
|
maxdecimaldigits?: number;
|
|
4453
4529
|
options?: number;
|
|
4454
|
-
nprefix?: string;
|
|
4455
|
-
id?: string;
|
|
4456
4530
|
};
|
|
4457
4531
|
Returns: string;
|
|
4458
4532
|
};
|
|
@@ -4485,18 +4559,18 @@ export type Database = {
|
|
|
4485
4559
|
};
|
|
4486
4560
|
st_asmarc21: {
|
|
4487
4561
|
Args: {
|
|
4488
|
-
geom: unknown;
|
|
4489
4562
|
format?: string;
|
|
4563
|
+
geom: unknown;
|
|
4490
4564
|
};
|
|
4491
4565
|
Returns: string;
|
|
4492
4566
|
};
|
|
4493
4567
|
st_asmvtgeom: {
|
|
4494
4568
|
Args: {
|
|
4495
|
-
geom: unknown;
|
|
4496
4569
|
bounds: unknown;
|
|
4497
|
-
extent?: number;
|
|
4498
4570
|
buffer?: number;
|
|
4499
4571
|
clip_geom?: boolean;
|
|
4572
|
+
extent?: number;
|
|
4573
|
+
geom: unknown;
|
|
4500
4574
|
};
|
|
4501
4575
|
Returns: unknown;
|
|
4502
4576
|
};
|
|
@@ -4505,12 +4579,12 @@ export type Database = {
|
|
|
4505
4579
|
"": string;
|
|
4506
4580
|
} | {
|
|
4507
4581
|
geog: unknown;
|
|
4508
|
-
rel?: number;
|
|
4509
4582
|
maxdecimaldigits?: number;
|
|
4583
|
+
rel?: number;
|
|
4510
4584
|
} | {
|
|
4511
4585
|
geom: unknown;
|
|
4512
|
-
rel?: number;
|
|
4513
4586
|
maxdecimaldigits?: number;
|
|
4587
|
+
rel?: number;
|
|
4514
4588
|
};
|
|
4515
4589
|
Returns: string;
|
|
4516
4590
|
};
|
|
@@ -4529,17 +4603,17 @@ export type Database = {
|
|
|
4529
4603
|
geom: unknown[];
|
|
4530
4604
|
ids: number[];
|
|
4531
4605
|
prec?: number;
|
|
4532
|
-
prec_z?: number;
|
|
4533
4606
|
prec_m?: number;
|
|
4534
|
-
|
|
4607
|
+
prec_z?: number;
|
|
4535
4608
|
with_boxes?: boolean;
|
|
4609
|
+
with_sizes?: boolean;
|
|
4536
4610
|
} | {
|
|
4537
4611
|
geom: unknown;
|
|
4538
4612
|
prec?: number;
|
|
4539
|
-
prec_z?: number;
|
|
4540
4613
|
prec_m?: number;
|
|
4541
|
-
|
|
4614
|
+
prec_z?: number;
|
|
4542
4615
|
with_boxes?: boolean;
|
|
4616
|
+
with_sizes?: boolean;
|
|
4543
4617
|
};
|
|
4544
4618
|
Returns: string;
|
|
4545
4619
|
};
|
|
@@ -4569,20 +4643,20 @@ export type Database = {
|
|
|
4569
4643
|
};
|
|
4570
4644
|
st_boundingdiagonal: {
|
|
4571
4645
|
Args: {
|
|
4572
|
-
geom: unknown;
|
|
4573
4646
|
fits?: boolean;
|
|
4647
|
+
geom: unknown;
|
|
4574
4648
|
};
|
|
4575
4649
|
Returns: unknown;
|
|
4576
4650
|
};
|
|
4577
4651
|
st_buffer: {
|
|
4578
4652
|
Args: {
|
|
4579
4653
|
geom: unknown;
|
|
4580
|
-
radius: number;
|
|
4581
4654
|
options?: string;
|
|
4655
|
+
radius: number;
|
|
4582
4656
|
} | {
|
|
4583
4657
|
geom: unknown;
|
|
4584
|
-
radius: number;
|
|
4585
4658
|
quadsegs: number;
|
|
4659
|
+
radius: number;
|
|
4586
4660
|
};
|
|
4587
4661
|
Returns: unknown;
|
|
4588
4662
|
};
|
|
@@ -4608,8 +4682,8 @@ export type Database = {
|
|
|
4608
4682
|
};
|
|
4609
4683
|
st_clipbybox2d: {
|
|
4610
4684
|
Args: {
|
|
4611
|
-
geom: unknown;
|
|
4612
4685
|
box: unknown;
|
|
4686
|
+
geom: unknown;
|
|
4613
4687
|
};
|
|
4614
4688
|
Returns: unknown;
|
|
4615
4689
|
};
|
|
@@ -4649,9 +4723,9 @@ export type Database = {
|
|
|
4649
4723
|
};
|
|
4650
4724
|
st_concavehull: {
|
|
4651
4725
|
Args: {
|
|
4726
|
+
param_allow_holes?: boolean;
|
|
4652
4727
|
param_geom: unknown;
|
|
4653
4728
|
param_pctconvex: number;
|
|
4654
|
-
param_allow_holes?: boolean;
|
|
4655
4729
|
};
|
|
4656
4730
|
Returns: unknown;
|
|
4657
4731
|
};
|
|
@@ -4710,18 +4784,18 @@ export type Database = {
|
|
|
4710
4784
|
};
|
|
4711
4785
|
st_curvetoline: {
|
|
4712
4786
|
Args: {
|
|
4787
|
+
flags?: number;
|
|
4713
4788
|
geom: unknown;
|
|
4714
4789
|
tol?: number;
|
|
4715
4790
|
toltype?: number;
|
|
4716
|
-
flags?: number;
|
|
4717
4791
|
};
|
|
4718
4792
|
Returns: unknown;
|
|
4719
4793
|
};
|
|
4720
4794
|
st_delaunaytriangles: {
|
|
4721
4795
|
Args: {
|
|
4796
|
+
flags?: number;
|
|
4722
4797
|
g1: unknown;
|
|
4723
4798
|
tolerance?: number;
|
|
4724
|
-
flags?: number;
|
|
4725
4799
|
};
|
|
4726
4800
|
Returns: unknown;
|
|
4727
4801
|
};
|
|
@@ -4838,11 +4912,11 @@ export type Database = {
|
|
|
4838
4912
|
dy: number;
|
|
4839
4913
|
dz?: number;
|
|
4840
4914
|
} | {
|
|
4841
|
-
|
|
4915
|
+
dm?: number;
|
|
4842
4916
|
dx: number;
|
|
4843
4917
|
dy: number;
|
|
4844
4918
|
dz?: number;
|
|
4845
|
-
|
|
4919
|
+
geom: unknown;
|
|
4846
4920
|
};
|
|
4847
4921
|
Returns: unknown;
|
|
4848
4922
|
};
|
|
@@ -4888,8 +4962,8 @@ export type Database = {
|
|
|
4888
4962
|
st_force4d: {
|
|
4889
4963
|
Args: {
|
|
4890
4964
|
geom: unknown;
|
|
4891
|
-
zvalue?: number;
|
|
4892
4965
|
mvalue?: number;
|
|
4966
|
+
zvalue?: number;
|
|
4893
4967
|
};
|
|
4894
4968
|
Returns: unknown;
|
|
4895
4969
|
};
|
|
@@ -4982,10 +5056,10 @@ export type Database = {
|
|
|
4982
5056
|
};
|
|
4983
5057
|
st_geometricmedian: {
|
|
4984
5058
|
Args: {
|
|
5059
|
+
fail_if_not_converged?: boolean;
|
|
4985
5060
|
g: unknown;
|
|
4986
|
-
tolerance?: number;
|
|
4987
5061
|
max_iter?: number;
|
|
4988
|
-
|
|
5062
|
+
tolerance?: number;
|
|
4989
5063
|
};
|
|
4990
5064
|
Returns: unknown;
|
|
4991
5065
|
};
|
|
@@ -5080,17 +5154,17 @@ export type Database = {
|
|
|
5080
5154
|
};
|
|
5081
5155
|
st_hexagon: {
|
|
5082
5156
|
Args: {
|
|
5083
|
-
size: number;
|
|
5084
5157
|
cell_i: number;
|
|
5085
5158
|
cell_j: number;
|
|
5086
5159
|
origin?: unknown;
|
|
5160
|
+
size: number;
|
|
5087
5161
|
};
|
|
5088
5162
|
Returns: unknown;
|
|
5089
5163
|
};
|
|
5090
5164
|
st_hexagongrid: {
|
|
5091
5165
|
Args: {
|
|
5092
|
-
size: number;
|
|
5093
5166
|
bounds: unknown;
|
|
5167
|
+
size: number;
|
|
5094
5168
|
};
|
|
5095
5169
|
Returns: Record<string, unknown>[];
|
|
5096
5170
|
};
|
|
@@ -5169,8 +5243,8 @@ export type Database = {
|
|
|
5169
5243
|
};
|
|
5170
5244
|
st_isvaliddetail: {
|
|
5171
5245
|
Args: {
|
|
5172
|
-
geom: unknown;
|
|
5173
5246
|
flags?: number;
|
|
5247
|
+
geom: unknown;
|
|
5174
5248
|
};
|
|
5175
5249
|
Returns: Database["public"]["CompositeTypes"]["valid_detail"];
|
|
5176
5250
|
};
|
|
@@ -5205,8 +5279,8 @@ export type Database = {
|
|
|
5205
5279
|
};
|
|
5206
5280
|
st_letters: {
|
|
5207
5281
|
Args: {
|
|
5208
|
-
letters: string;
|
|
5209
5282
|
font?: Json;
|
|
5283
|
+
letters: string;
|
|
5210
5284
|
};
|
|
5211
5285
|
Returns: unknown;
|
|
5212
5286
|
};
|
|
@@ -5219,8 +5293,8 @@ export type Database = {
|
|
|
5219
5293
|
};
|
|
5220
5294
|
st_linefromencodedpolyline: {
|
|
5221
5295
|
Args: {
|
|
5222
|
-
txtin: string;
|
|
5223
5296
|
nprecision?: number;
|
|
5297
|
+
txtin: string;
|
|
5224
5298
|
};
|
|
5225
5299
|
Returns: unknown;
|
|
5226
5300
|
};
|
|
@@ -5270,24 +5344,24 @@ export type Database = {
|
|
|
5270
5344
|
st_locatealong: {
|
|
5271
5345
|
Args: {
|
|
5272
5346
|
geometry: unknown;
|
|
5273
|
-
measure: number;
|
|
5274
5347
|
leftrightoffset?: number;
|
|
5348
|
+
measure: number;
|
|
5275
5349
|
};
|
|
5276
5350
|
Returns: unknown;
|
|
5277
5351
|
};
|
|
5278
5352
|
st_locatebetween: {
|
|
5279
5353
|
Args: {
|
|
5280
|
-
geometry: unknown;
|
|
5281
5354
|
frommeasure: number;
|
|
5282
|
-
|
|
5355
|
+
geometry: unknown;
|
|
5283
5356
|
leftrightoffset?: number;
|
|
5357
|
+
tomeasure: number;
|
|
5284
5358
|
};
|
|
5285
5359
|
Returns: unknown;
|
|
5286
5360
|
};
|
|
5287
5361
|
st_locatebetweenelevations: {
|
|
5288
5362
|
Args: {
|
|
5289
|
-
geometry: unknown;
|
|
5290
5363
|
fromelevation: number;
|
|
5364
|
+
geometry: unknown;
|
|
5291
5365
|
toelevation: number;
|
|
5292
5366
|
};
|
|
5293
5367
|
Returns: unknown;
|
|
@@ -5520,8 +5594,8 @@ export type Database = {
|
|
|
5520
5594
|
};
|
|
5521
5595
|
st_offsetcurve: {
|
|
5522
5596
|
Args: {
|
|
5523
|
-
line: unknown;
|
|
5524
5597
|
distance: number;
|
|
5598
|
+
line: unknown;
|
|
5525
5599
|
params?: string;
|
|
5526
5600
|
};
|
|
5527
5601
|
Returns: unknown;
|
|
@@ -5575,10 +5649,10 @@ export type Database = {
|
|
|
5575
5649
|
};
|
|
5576
5650
|
st_pointm: {
|
|
5577
5651
|
Args: {
|
|
5578
|
-
xcoordinate: number;
|
|
5579
|
-
ycoordinate: number;
|
|
5580
5652
|
mcoordinate: number;
|
|
5581
5653
|
srid?: number;
|
|
5654
|
+
xcoordinate: number;
|
|
5655
|
+
ycoordinate: number;
|
|
5582
5656
|
};
|
|
5583
5657
|
Returns: unknown;
|
|
5584
5658
|
};
|
|
@@ -5596,20 +5670,20 @@ export type Database = {
|
|
|
5596
5670
|
};
|
|
5597
5671
|
st_pointz: {
|
|
5598
5672
|
Args: {
|
|
5673
|
+
srid?: number;
|
|
5599
5674
|
xcoordinate: number;
|
|
5600
5675
|
ycoordinate: number;
|
|
5601
5676
|
zcoordinate: number;
|
|
5602
|
-
srid?: number;
|
|
5603
5677
|
};
|
|
5604
5678
|
Returns: unknown;
|
|
5605
5679
|
};
|
|
5606
5680
|
st_pointzm: {
|
|
5607
5681
|
Args: {
|
|
5682
|
+
mcoordinate: number;
|
|
5683
|
+
srid?: number;
|
|
5608
5684
|
xcoordinate: number;
|
|
5609
5685
|
ycoordinate: number;
|
|
5610
5686
|
zcoordinate: number;
|
|
5611
|
-
mcoordinate: number;
|
|
5612
|
-
srid?: number;
|
|
5613
5687
|
};
|
|
5614
5688
|
Returns: unknown;
|
|
5615
5689
|
};
|
|
@@ -5645,19 +5719,19 @@ export type Database = {
|
|
|
5645
5719
|
};
|
|
5646
5720
|
st_project: {
|
|
5647
5721
|
Args: {
|
|
5648
|
-
geog: unknown;
|
|
5649
|
-
distance: number;
|
|
5650
5722
|
azimuth: number;
|
|
5723
|
+
distance: number;
|
|
5724
|
+
geog: unknown;
|
|
5651
5725
|
};
|
|
5652
5726
|
Returns: unknown;
|
|
5653
5727
|
};
|
|
5654
5728
|
st_quantizecoordinates: {
|
|
5655
5729
|
Args: {
|
|
5656
5730
|
g: unknown;
|
|
5731
|
+
prec_m?: number;
|
|
5657
5732
|
prec_x: number;
|
|
5658
5733
|
prec_y?: number;
|
|
5659
5734
|
prec_z?: number;
|
|
5660
|
-
prec_m?: number;
|
|
5661
5735
|
};
|
|
5662
5736
|
Returns: unknown;
|
|
5663
5737
|
};
|
|
@@ -5728,8 +5802,8 @@ export type Database = {
|
|
|
5728
5802
|
st_simplifypolygonhull: {
|
|
5729
5803
|
Args: {
|
|
5730
5804
|
geom: unknown;
|
|
5731
|
-
vertex_fraction: number;
|
|
5732
5805
|
is_outer?: boolean;
|
|
5806
|
+
vertex_fraction: number;
|
|
5733
5807
|
};
|
|
5734
5808
|
Returns: unknown;
|
|
5735
5809
|
};
|
|
@@ -5742,17 +5816,17 @@ export type Database = {
|
|
|
5742
5816
|
};
|
|
5743
5817
|
st_square: {
|
|
5744
5818
|
Args: {
|
|
5745
|
-
size: number;
|
|
5746
5819
|
cell_i: number;
|
|
5747
5820
|
cell_j: number;
|
|
5748
5821
|
origin?: unknown;
|
|
5822
|
+
size: number;
|
|
5749
5823
|
};
|
|
5750
5824
|
Returns: unknown;
|
|
5751
5825
|
};
|
|
5752
5826
|
st_squaregrid: {
|
|
5753
5827
|
Args: {
|
|
5754
|
-
size: number;
|
|
5755
5828
|
bounds: unknown;
|
|
5829
|
+
size: number;
|
|
5756
5830
|
};
|
|
5757
5831
|
Returns: Record<string, unknown>[];
|
|
5758
5832
|
};
|
|
@@ -5773,8 +5847,8 @@ export type Database = {
|
|
|
5773
5847
|
st_subdivide: {
|
|
5774
5848
|
Args: {
|
|
5775
5849
|
geom: unknown;
|
|
5776
|
-
maxvertices?: number;
|
|
5777
5850
|
gridsize?: number;
|
|
5851
|
+
maxvertices?: number;
|
|
5778
5852
|
};
|
|
5779
5853
|
Returns: unknown[];
|
|
5780
5854
|
};
|
|
@@ -5810,11 +5884,11 @@ export type Database = {
|
|
|
5810
5884
|
};
|
|
5811
5885
|
st_tileenvelope: {
|
|
5812
5886
|
Args: {
|
|
5813
|
-
zoom: number;
|
|
5814
|
-
x: number;
|
|
5815
|
-
y: number;
|
|
5816
5887
|
bounds?: unknown;
|
|
5817
5888
|
margin?: number;
|
|
5889
|
+
x: number;
|
|
5890
|
+
y: number;
|
|
5891
|
+
zoom: number;
|
|
5818
5892
|
};
|
|
5819
5893
|
Returns: unknown;
|
|
5820
5894
|
};
|
|
@@ -5827,12 +5901,12 @@ export type Database = {
|
|
|
5827
5901
|
};
|
|
5828
5902
|
st_transform: {
|
|
5829
5903
|
Args: {
|
|
5830
|
-
geom: unknown;
|
|
5831
5904
|
from_proj: string;
|
|
5905
|
+
geom: unknown;
|
|
5832
5906
|
to_proj: string;
|
|
5833
5907
|
} | {
|
|
5834
|
-
geom: unknown;
|
|
5835
5908
|
from_proj: string;
|
|
5909
|
+
geom: unknown;
|
|
5836
5910
|
to_srid: number;
|
|
5837
5911
|
} | {
|
|
5838
5912
|
geom: unknown;
|
|
@@ -5861,17 +5935,17 @@ export type Database = {
|
|
|
5861
5935
|
};
|
|
5862
5936
|
st_voronoilines: {
|
|
5863
5937
|
Args: {
|
|
5938
|
+
extend_to?: unknown;
|
|
5864
5939
|
g1: unknown;
|
|
5865
5940
|
tolerance?: number;
|
|
5866
|
-
extend_to?: unknown;
|
|
5867
5941
|
};
|
|
5868
5942
|
Returns: unknown;
|
|
5869
5943
|
};
|
|
5870
5944
|
st_voronoipolygons: {
|
|
5871
5945
|
Args: {
|
|
5946
|
+
extend_to?: unknown;
|
|
5872
5947
|
g1: unknown;
|
|
5873
5948
|
tolerance?: number;
|
|
5874
|
-
extend_to?: unknown;
|
|
5875
5949
|
};
|
|
5876
5950
|
Returns: unknown;
|
|
5877
5951
|
};
|
|
@@ -5897,8 +5971,8 @@ export type Database = {
|
|
|
5897
5971
|
st_wrapx: {
|
|
5898
5972
|
Args: {
|
|
5899
5973
|
geom: unknown;
|
|
5900
|
-
wrap: number;
|
|
5901
5974
|
move: number;
|
|
5975
|
+
wrap: number;
|
|
5902
5976
|
};
|
|
5903
5977
|
Returns: unknown;
|
|
5904
5978
|
};
|
|
@@ -5977,25 +6051,26 @@ export type Database = {
|
|
|
5977
6051
|
updategeometrysrid: {
|
|
5978
6052
|
Args: {
|
|
5979
6053
|
catalogn_name: string;
|
|
5980
|
-
schema_name: string;
|
|
5981
|
-
table_name: string;
|
|
5982
6054
|
column_name: string;
|
|
5983
6055
|
new_srid_in: number;
|
|
6056
|
+
schema_name: string;
|
|
6057
|
+
table_name: string;
|
|
5984
6058
|
};
|
|
5985
6059
|
Returns: string;
|
|
5986
6060
|
};
|
|
5987
6061
|
validate_verse_range: {
|
|
5988
6062
|
Args: {
|
|
5989
|
-
start_verse_text_id: string;
|
|
5990
6063
|
end_verse_text_id: string;
|
|
6064
|
+
start_verse_text_id: string;
|
|
5991
6065
|
} | {
|
|
5992
|
-
start_verse_uuid: string;
|
|
5993
6066
|
end_verse_uuid: string;
|
|
6067
|
+
start_verse_uuid: string;
|
|
5994
6068
|
};
|
|
5995
6069
|
Returns: boolean;
|
|
5996
6070
|
};
|
|
5997
6071
|
};
|
|
5998
6072
|
Enums: {
|
|
6073
|
+
bookmark_type: "passage";
|
|
5999
6074
|
change_type: "create" | "update" | "delete";
|
|
6000
6075
|
check_status: "pending" | "approved" | "rejected" | "requires_review";
|
|
6001
6076
|
connectivity_type: "wifi" | "cellular" | "offline" | "unknown";
|
|
@@ -6003,8 +6078,10 @@ export type Database = {
|
|
|
6003
6078
|
feedback_actioned: "pending" | "actioned" | "rejected";
|
|
6004
6079
|
feedback_type: "approved" | "change_required";
|
|
6005
6080
|
language_entity_level: "family" | "language" | "dialect" | "mother_tongue";
|
|
6081
|
+
location_source_type: "device" | "ip" | "unknown";
|
|
6006
6082
|
media_type: "audio" | "video";
|
|
6007
6083
|
platform_type: "ios" | "android" | "web" | "desktop";
|
|
6084
|
+
playlist_item_type: "passage" | "custom_text";
|
|
6008
6085
|
publish_status: "pending" | "published" | "archived";
|
|
6009
6086
|
region_level: "continent" | "world_region" | "country" | "state" | "province" | "district" | "town" | "village";
|
|
6010
6087
|
segment_type: "source" | "target";
|
|
@@ -6083,6 +6160,7 @@ export declare const Constants: {
|
|
|
6083
6160
|
};
|
|
6084
6161
|
readonly public: {
|
|
6085
6162
|
readonly Enums: {
|
|
6163
|
+
readonly bookmark_type: readonly ["passage"];
|
|
6086
6164
|
readonly change_type: readonly ["create", "update", "delete"];
|
|
6087
6165
|
readonly check_status: readonly ["pending", "approved", "rejected", "requires_review"];
|
|
6088
6166
|
readonly connectivity_type: readonly ["wifi", "cellular", "offline", "unknown"];
|
|
@@ -6090,8 +6168,10 @@ export declare const Constants: {
|
|
|
6090
6168
|
readonly feedback_actioned: readonly ["pending", "actioned", "rejected"];
|
|
6091
6169
|
readonly feedback_type: readonly ["approved", "change_required"];
|
|
6092
6170
|
readonly language_entity_level: readonly ["family", "language", "dialect", "mother_tongue"];
|
|
6171
|
+
readonly location_source_type: readonly ["device", "ip", "unknown"];
|
|
6093
6172
|
readonly media_type: readonly ["audio", "video"];
|
|
6094
6173
|
readonly platform_type: readonly ["ios", "android", "web", "desktop"];
|
|
6174
|
+
readonly playlist_item_type: readonly ["passage", "custom_text"];
|
|
6095
6175
|
readonly publish_status: readonly ["pending", "published", "archived"];
|
|
6096
6176
|
readonly region_level: readonly ["continent", "world_region", "country", "state", "province", "district", "town", "village"];
|
|
6097
6177
|
readonly segment_type: readonly ["source", "target"];
|