@everylanguage/shared-types 1.0.21 → 1.0.22
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 +1283 -1528
package/types/database.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ export type Database = {
|
|
|
40
40
|
device_id: string;
|
|
41
41
|
downloaded_at: string | null;
|
|
42
42
|
id: string;
|
|
43
|
-
location: unknown
|
|
43
|
+
location: unknown;
|
|
44
44
|
origin_share_id: string | null;
|
|
45
45
|
os: string | null;
|
|
46
46
|
os_version: string | null;
|
|
@@ -55,7 +55,7 @@ export type Database = {
|
|
|
55
55
|
device_id: string;
|
|
56
56
|
downloaded_at?: string | null;
|
|
57
57
|
id?: string;
|
|
58
|
-
location?: unknown
|
|
58
|
+
location?: unknown;
|
|
59
59
|
origin_share_id?: string | null;
|
|
60
60
|
os?: string | null;
|
|
61
61
|
os_version?: string | null;
|
|
@@ -70,7 +70,7 @@ export type Database = {
|
|
|
70
70
|
device_id?: string;
|
|
71
71
|
downloaded_at?: string | null;
|
|
72
72
|
id?: string;
|
|
73
|
-
location?: unknown
|
|
73
|
+
location?: unknown;
|
|
74
74
|
origin_share_id?: string | null;
|
|
75
75
|
os?: string | null;
|
|
76
76
|
os_version?: string | null;
|
|
@@ -151,6 +151,13 @@ export type Database = {
|
|
|
151
151
|
referencedRelation: "language_entities";
|
|
152
152
|
referencedColumns: ["id"];
|
|
153
153
|
},
|
|
154
|
+
{
|
|
155
|
+
foreignKeyName: "audio_versions_project_id_fkey";
|
|
156
|
+
columns: ["project_id"];
|
|
157
|
+
isOneToOne: false;
|
|
158
|
+
referencedRelation: "project_financials";
|
|
159
|
+
referencedColumns: ["project_id"];
|
|
160
|
+
},
|
|
154
161
|
{
|
|
155
162
|
foreignKeyName: "audio_versions_project_id_fkey";
|
|
156
163
|
columns: ["project_id"];
|
|
@@ -163,54 +170,65 @@ export type Database = {
|
|
|
163
170
|
bases: {
|
|
164
171
|
Row: {
|
|
165
172
|
created_at: string | null;
|
|
173
|
+
created_by: string | null;
|
|
166
174
|
id: string;
|
|
167
|
-
location: unknown
|
|
175
|
+
location: unknown;
|
|
168
176
|
name: string;
|
|
169
177
|
region_id: string | null;
|
|
170
178
|
updated_at: string | null;
|
|
171
179
|
};
|
|
172
180
|
Insert: {
|
|
173
181
|
created_at?: string | null;
|
|
182
|
+
created_by?: string | null;
|
|
174
183
|
id?: string;
|
|
175
|
-
location?: unknown
|
|
184
|
+
location?: unknown;
|
|
176
185
|
name: string;
|
|
177
186
|
region_id?: string | null;
|
|
178
187
|
updated_at?: string | null;
|
|
179
188
|
};
|
|
180
189
|
Update: {
|
|
181
190
|
created_at?: string | null;
|
|
191
|
+
created_by?: string | null;
|
|
182
192
|
id?: string;
|
|
183
|
-
location?: unknown
|
|
193
|
+
location?: unknown;
|
|
184
194
|
name?: string;
|
|
185
195
|
region_id?: string | null;
|
|
186
196
|
updated_at?: string | null;
|
|
187
197
|
};
|
|
188
|
-
Relationships: [
|
|
198
|
+
Relationships: [
|
|
199
|
+
{
|
|
200
|
+
foreignKeyName: "bases_created_by_fkey";
|
|
201
|
+
columns: ["created_by"];
|
|
202
|
+
isOneToOne: false;
|
|
203
|
+
referencedRelation: "users";
|
|
204
|
+
referencedColumns: ["id"];
|
|
205
|
+
}
|
|
206
|
+
];
|
|
189
207
|
};
|
|
190
208
|
bases_teams: {
|
|
191
209
|
Row: {
|
|
210
|
+
assigned_at: string;
|
|
192
211
|
base_id: string;
|
|
193
|
-
created_at: string | null;
|
|
194
212
|
id: string;
|
|
195
213
|
role_id: string;
|
|
196
214
|
team_id: string;
|
|
197
|
-
|
|
215
|
+
unassigned_at: string | null;
|
|
198
216
|
};
|
|
199
217
|
Insert: {
|
|
218
|
+
assigned_at?: string;
|
|
200
219
|
base_id: string;
|
|
201
|
-
created_at?: string | null;
|
|
202
220
|
id?: string;
|
|
203
221
|
role_id: string;
|
|
204
222
|
team_id: string;
|
|
205
|
-
|
|
223
|
+
unassigned_at?: string | null;
|
|
206
224
|
};
|
|
207
225
|
Update: {
|
|
226
|
+
assigned_at?: string;
|
|
208
227
|
base_id?: string;
|
|
209
|
-
created_at?: string | null;
|
|
210
228
|
id?: string;
|
|
211
229
|
role_id?: string;
|
|
212
230
|
team_id?: string;
|
|
213
|
-
|
|
231
|
+
unassigned_at?: string | null;
|
|
214
232
|
};
|
|
215
233
|
Relationships: [
|
|
216
234
|
{
|
|
@@ -400,25 +418,138 @@ export type Database = {
|
|
|
400
418
|
foreignKeyName: "chapters_book_id_fkey";
|
|
401
419
|
columns: ["book_id"];
|
|
402
420
|
isOneToOne: false;
|
|
403
|
-
referencedRelation: "
|
|
404
|
-
referencedColumns: ["
|
|
421
|
+
referencedRelation: "books";
|
|
422
|
+
referencedColumns: ["id"];
|
|
423
|
+
}
|
|
424
|
+
];
|
|
425
|
+
};
|
|
426
|
+
contributions: {
|
|
427
|
+
Row: {
|
|
428
|
+
amount_cents: number;
|
|
429
|
+
created_at: string;
|
|
430
|
+
created_by: string | null;
|
|
431
|
+
currency_code: string;
|
|
432
|
+
fee_cents: number | null;
|
|
433
|
+
fee_covered_by_donor: boolean | null;
|
|
434
|
+
id: string;
|
|
435
|
+
kind: Database["public"]["Enums"]["contribution_kind"];
|
|
436
|
+
language_adoption_id: string | null;
|
|
437
|
+
occurred_at: string;
|
|
438
|
+
project_id: string | null;
|
|
439
|
+
sponsorship_id: string;
|
|
440
|
+
stripe_charge_id: string | null;
|
|
441
|
+
stripe_invoice_id: string | null;
|
|
442
|
+
stripe_payment_intent_id: string | null;
|
|
443
|
+
stripe_subscription_id: string | null;
|
|
444
|
+
};
|
|
445
|
+
Insert: {
|
|
446
|
+
amount_cents: number;
|
|
447
|
+
created_at?: string;
|
|
448
|
+
created_by?: string | null;
|
|
449
|
+
currency_code?: string;
|
|
450
|
+
fee_cents?: number | null;
|
|
451
|
+
fee_covered_by_donor?: boolean | null;
|
|
452
|
+
id?: string;
|
|
453
|
+
kind: Database["public"]["Enums"]["contribution_kind"];
|
|
454
|
+
language_adoption_id?: string | null;
|
|
455
|
+
occurred_at?: string;
|
|
456
|
+
project_id?: string | null;
|
|
457
|
+
sponsorship_id: string;
|
|
458
|
+
stripe_charge_id?: string | null;
|
|
459
|
+
stripe_invoice_id?: string | null;
|
|
460
|
+
stripe_payment_intent_id?: string | null;
|
|
461
|
+
stripe_subscription_id?: string | null;
|
|
462
|
+
};
|
|
463
|
+
Update: {
|
|
464
|
+
amount_cents?: number;
|
|
465
|
+
created_at?: string;
|
|
466
|
+
created_by?: string | null;
|
|
467
|
+
currency_code?: string;
|
|
468
|
+
fee_cents?: number | null;
|
|
469
|
+
fee_covered_by_donor?: boolean | null;
|
|
470
|
+
id?: string;
|
|
471
|
+
kind?: Database["public"]["Enums"]["contribution_kind"];
|
|
472
|
+
language_adoption_id?: string | null;
|
|
473
|
+
occurred_at?: string;
|
|
474
|
+
project_id?: string | null;
|
|
475
|
+
sponsorship_id?: string;
|
|
476
|
+
stripe_charge_id?: string | null;
|
|
477
|
+
stripe_invoice_id?: string | null;
|
|
478
|
+
stripe_payment_intent_id?: string | null;
|
|
479
|
+
stripe_subscription_id?: string | null;
|
|
480
|
+
};
|
|
481
|
+
Relationships: [
|
|
482
|
+
{
|
|
483
|
+
foreignKeyName: "contributions_created_by_fkey";
|
|
484
|
+
columns: ["created_by"];
|
|
485
|
+
isOneToOne: false;
|
|
486
|
+
referencedRelation: "users";
|
|
487
|
+
referencedColumns: ["id"];
|
|
405
488
|
},
|
|
406
489
|
{
|
|
407
|
-
foreignKeyName: "
|
|
408
|
-
columns: ["
|
|
490
|
+
foreignKeyName: "contributions_language_adoption_id_fkey";
|
|
491
|
+
columns: ["language_adoption_id"];
|
|
409
492
|
isOneToOne: false;
|
|
410
|
-
referencedRelation: "
|
|
493
|
+
referencedRelation: "language_adoptions";
|
|
411
494
|
referencedColumns: ["id"];
|
|
412
495
|
},
|
|
413
496
|
{
|
|
414
|
-
foreignKeyName: "
|
|
415
|
-
columns: ["
|
|
497
|
+
foreignKeyName: "contributions_language_adoption_id_fkey";
|
|
498
|
+
columns: ["language_adoption_id"];
|
|
499
|
+
isOneToOne: false;
|
|
500
|
+
referencedRelation: "public_language_adoptions";
|
|
501
|
+
referencedColumns: ["id"];
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
foreignKeyName: "contributions_project_id_fkey";
|
|
505
|
+
columns: ["project_id"];
|
|
506
|
+
isOneToOne: false;
|
|
507
|
+
referencedRelation: "project_financials";
|
|
508
|
+
referencedColumns: ["project_id"];
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
foreignKeyName: "contributions_project_id_fkey";
|
|
512
|
+
columns: ["project_id"];
|
|
513
|
+
isOneToOne: false;
|
|
514
|
+
referencedRelation: "projects";
|
|
515
|
+
referencedColumns: ["id"];
|
|
516
|
+
},
|
|
517
|
+
{
|
|
518
|
+
foreignKeyName: "contributions_sponsorship_id_fkey";
|
|
519
|
+
columns: ["sponsorship_id"];
|
|
416
520
|
isOneToOne: false;
|
|
417
|
-
referencedRelation: "
|
|
418
|
-
referencedColumns: ["
|
|
521
|
+
referencedRelation: "sponsorships";
|
|
522
|
+
referencedColumns: ["id"];
|
|
419
523
|
}
|
|
420
524
|
];
|
|
421
525
|
};
|
|
526
|
+
exchange_rates: {
|
|
527
|
+
Row: {
|
|
528
|
+
as_of_date: string;
|
|
529
|
+
base_currency: string;
|
|
530
|
+
fetched_at: string;
|
|
531
|
+
id: string;
|
|
532
|
+
provider: string;
|
|
533
|
+
rates: Json;
|
|
534
|
+
};
|
|
535
|
+
Insert: {
|
|
536
|
+
as_of_date: string;
|
|
537
|
+
base_currency?: string;
|
|
538
|
+
fetched_at?: string;
|
|
539
|
+
id?: string;
|
|
540
|
+
provider: string;
|
|
541
|
+
rates: Json;
|
|
542
|
+
};
|
|
543
|
+
Update: {
|
|
544
|
+
as_of_date?: string;
|
|
545
|
+
base_currency?: string;
|
|
546
|
+
fetched_at?: string;
|
|
547
|
+
id?: string;
|
|
548
|
+
provider?: string;
|
|
549
|
+
rates?: Json;
|
|
550
|
+
};
|
|
551
|
+
Relationships: [];
|
|
552
|
+
};
|
|
422
553
|
image_sets: {
|
|
423
554
|
Row: {
|
|
424
555
|
created_at: string | null;
|
|
@@ -517,6 +648,66 @@ export type Database = {
|
|
|
517
648
|
}
|
|
518
649
|
];
|
|
519
650
|
};
|
|
651
|
+
language_adoptions: {
|
|
652
|
+
Row: {
|
|
653
|
+
available_since: string | null;
|
|
654
|
+
created_at: string;
|
|
655
|
+
created_by: string | null;
|
|
656
|
+
currency_code: string;
|
|
657
|
+
deleted_at: string | null;
|
|
658
|
+
estimated_budget_cents: number;
|
|
659
|
+
id: string;
|
|
660
|
+
language_entity_id: string;
|
|
661
|
+
notes: string | null;
|
|
662
|
+
status: Database["public"]["Enums"]["adoption_status"];
|
|
663
|
+
translators_ready: boolean;
|
|
664
|
+
updated_at: string | null;
|
|
665
|
+
};
|
|
666
|
+
Insert: {
|
|
667
|
+
available_since?: string | null;
|
|
668
|
+
created_at?: string;
|
|
669
|
+
created_by?: string | null;
|
|
670
|
+
currency_code?: string;
|
|
671
|
+
deleted_at?: string | null;
|
|
672
|
+
estimated_budget_cents: number;
|
|
673
|
+
id?: string;
|
|
674
|
+
language_entity_id: string;
|
|
675
|
+
notes?: string | null;
|
|
676
|
+
status?: Database["public"]["Enums"]["adoption_status"];
|
|
677
|
+
translators_ready?: boolean;
|
|
678
|
+
updated_at?: string | null;
|
|
679
|
+
};
|
|
680
|
+
Update: {
|
|
681
|
+
available_since?: string | null;
|
|
682
|
+
created_at?: string;
|
|
683
|
+
created_by?: string | null;
|
|
684
|
+
currency_code?: string;
|
|
685
|
+
deleted_at?: string | null;
|
|
686
|
+
estimated_budget_cents?: number;
|
|
687
|
+
id?: string;
|
|
688
|
+
language_entity_id?: string;
|
|
689
|
+
notes?: string | null;
|
|
690
|
+
status?: Database["public"]["Enums"]["adoption_status"];
|
|
691
|
+
translators_ready?: boolean;
|
|
692
|
+
updated_at?: string | null;
|
|
693
|
+
};
|
|
694
|
+
Relationships: [
|
|
695
|
+
{
|
|
696
|
+
foreignKeyName: "language_adoptions_created_by_fkey";
|
|
697
|
+
columns: ["created_by"];
|
|
698
|
+
isOneToOne: false;
|
|
699
|
+
referencedRelation: "users";
|
|
700
|
+
referencedColumns: ["id"];
|
|
701
|
+
},
|
|
702
|
+
{
|
|
703
|
+
foreignKeyName: "language_adoptions_language_entity_id_fkey";
|
|
704
|
+
columns: ["language_entity_id"];
|
|
705
|
+
isOneToOne: false;
|
|
706
|
+
referencedRelation: "language_entities";
|
|
707
|
+
referencedColumns: ["id"];
|
|
708
|
+
}
|
|
709
|
+
];
|
|
710
|
+
};
|
|
520
711
|
language_aliases: {
|
|
521
712
|
Row: {
|
|
522
713
|
alias_name: string;
|
|
@@ -1182,162 +1373,265 @@ export type Database = {
|
|
|
1182
1373
|
}
|
|
1183
1374
|
];
|
|
1184
1375
|
};
|
|
1185
|
-
|
|
1376
|
+
partner_orgs: {
|
|
1186
1377
|
Row: {
|
|
1187
|
-
|
|
1188
|
-
created_at: string | null;
|
|
1378
|
+
created_at: string;
|
|
1189
1379
|
created_by: string | null;
|
|
1190
|
-
|
|
1380
|
+
description: string | null;
|
|
1191
1381
|
id: string;
|
|
1192
|
-
|
|
1382
|
+
name: string;
|
|
1193
1383
|
updated_at: string | null;
|
|
1194
1384
|
};
|
|
1195
1385
|
Insert: {
|
|
1196
|
-
|
|
1197
|
-
created_at?: string | null;
|
|
1386
|
+
created_at?: string;
|
|
1198
1387
|
created_by?: string | null;
|
|
1199
|
-
|
|
1388
|
+
description?: string | null;
|
|
1200
1389
|
id?: string;
|
|
1201
|
-
|
|
1390
|
+
name: string;
|
|
1202
1391
|
updated_at?: string | null;
|
|
1203
1392
|
};
|
|
1204
1393
|
Update: {
|
|
1205
|
-
|
|
1206
|
-
created_at?: string | null;
|
|
1394
|
+
created_at?: string;
|
|
1207
1395
|
created_by?: string | null;
|
|
1208
|
-
|
|
1396
|
+
description?: string | null;
|
|
1209
1397
|
id?: string;
|
|
1210
|
-
|
|
1398
|
+
name?: string;
|
|
1211
1399
|
updated_at?: string | null;
|
|
1212
1400
|
};
|
|
1213
1401
|
Relationships: [
|
|
1214
1402
|
{
|
|
1215
|
-
foreignKeyName: "
|
|
1216
|
-
columns: ["
|
|
1403
|
+
foreignKeyName: "partner_orgs_created_by_fkey";
|
|
1404
|
+
columns: ["created_by"];
|
|
1217
1405
|
isOneToOne: false;
|
|
1218
|
-
referencedRelation: "
|
|
1219
|
-
referencedColumns: ["
|
|
1220
|
-
}
|
|
1406
|
+
referencedRelation: "users";
|
|
1407
|
+
referencedColumns: ["id"];
|
|
1408
|
+
}
|
|
1409
|
+
];
|
|
1410
|
+
};
|
|
1411
|
+
partner_orgs_projects: {
|
|
1412
|
+
Row: {
|
|
1413
|
+
assigned_at: string;
|
|
1414
|
+
id: string;
|
|
1415
|
+
partner_org_id: string;
|
|
1416
|
+
project_id: string;
|
|
1417
|
+
unassigned_at: string | null;
|
|
1418
|
+
};
|
|
1419
|
+
Insert: {
|
|
1420
|
+
assigned_at?: string;
|
|
1421
|
+
id?: string;
|
|
1422
|
+
partner_org_id: string;
|
|
1423
|
+
project_id: string;
|
|
1424
|
+
unassigned_at?: string | null;
|
|
1425
|
+
};
|
|
1426
|
+
Update: {
|
|
1427
|
+
assigned_at?: string;
|
|
1428
|
+
id?: string;
|
|
1429
|
+
partner_org_id?: string;
|
|
1430
|
+
project_id?: string;
|
|
1431
|
+
unassigned_at?: string | null;
|
|
1432
|
+
};
|
|
1433
|
+
Relationships: [
|
|
1221
1434
|
{
|
|
1222
|
-
foreignKeyName: "
|
|
1223
|
-
columns: ["
|
|
1435
|
+
foreignKeyName: "partner_orgs_projects_partner_org_id_fkey";
|
|
1436
|
+
columns: ["partner_org_id"];
|
|
1224
1437
|
isOneToOne: false;
|
|
1225
|
-
referencedRelation: "
|
|
1438
|
+
referencedRelation: "partner_orgs";
|
|
1226
1439
|
referencedColumns: ["id"];
|
|
1227
1440
|
},
|
|
1228
1441
|
{
|
|
1229
|
-
foreignKeyName: "
|
|
1230
|
-
columns: ["
|
|
1442
|
+
foreignKeyName: "partner_orgs_projects_project_id_fkey";
|
|
1443
|
+
columns: ["project_id"];
|
|
1231
1444
|
isOneToOne: false;
|
|
1232
|
-
referencedRelation: "
|
|
1233
|
-
referencedColumns: ["
|
|
1445
|
+
referencedRelation: "project_financials";
|
|
1446
|
+
referencedColumns: ["project_id"];
|
|
1234
1447
|
},
|
|
1235
1448
|
{
|
|
1236
|
-
foreignKeyName: "
|
|
1237
|
-
columns: ["
|
|
1449
|
+
foreignKeyName: "partner_orgs_projects_project_id_fkey";
|
|
1450
|
+
columns: ["project_id"];
|
|
1238
1451
|
isOneToOne: false;
|
|
1239
|
-
referencedRelation: "
|
|
1452
|
+
referencedRelation: "projects";
|
|
1240
1453
|
referencedColumns: ["id"];
|
|
1241
|
-
}
|
|
1454
|
+
}
|
|
1455
|
+
];
|
|
1456
|
+
};
|
|
1457
|
+
partner_wallet_transactions: {
|
|
1458
|
+
Row: {
|
|
1459
|
+
amount_cents: number;
|
|
1460
|
+
created_at: string;
|
|
1461
|
+
created_by: string | null;
|
|
1462
|
+
currency_code: string;
|
|
1463
|
+
id: string;
|
|
1464
|
+
occurred_at: string;
|
|
1465
|
+
reference: string | null;
|
|
1466
|
+
tx_type: Database["public"]["Enums"]["wallet_tx_type"];
|
|
1467
|
+
wallet_id: string;
|
|
1468
|
+
};
|
|
1469
|
+
Insert: {
|
|
1470
|
+
amount_cents: number;
|
|
1471
|
+
created_at?: string;
|
|
1472
|
+
created_by?: string | null;
|
|
1473
|
+
currency_code?: string;
|
|
1474
|
+
id?: string;
|
|
1475
|
+
occurred_at?: string;
|
|
1476
|
+
reference?: string | null;
|
|
1477
|
+
tx_type: Database["public"]["Enums"]["wallet_tx_type"];
|
|
1478
|
+
wallet_id: string;
|
|
1479
|
+
};
|
|
1480
|
+
Update: {
|
|
1481
|
+
amount_cents?: number;
|
|
1482
|
+
created_at?: string;
|
|
1483
|
+
created_by?: string | null;
|
|
1484
|
+
currency_code?: string;
|
|
1485
|
+
id?: string;
|
|
1486
|
+
occurred_at?: string;
|
|
1487
|
+
reference?: string | null;
|
|
1488
|
+
tx_type?: Database["public"]["Enums"]["wallet_tx_type"];
|
|
1489
|
+
wallet_id?: string;
|
|
1490
|
+
};
|
|
1491
|
+
Relationships: [
|
|
1242
1492
|
{
|
|
1243
|
-
foreignKeyName: "
|
|
1244
|
-
columns: ["
|
|
1493
|
+
foreignKeyName: "partner_wallet_transactions_created_by_fkey";
|
|
1494
|
+
columns: ["created_by"];
|
|
1245
1495
|
isOneToOne: false;
|
|
1246
|
-
referencedRelation: "
|
|
1496
|
+
referencedRelation: "users";
|
|
1247
1497
|
referencedColumns: ["id"];
|
|
1248
1498
|
},
|
|
1249
1499
|
{
|
|
1250
|
-
foreignKeyName: "
|
|
1251
|
-
columns: ["
|
|
1500
|
+
foreignKeyName: "partner_wallet_transactions_wallet_id_fkey";
|
|
1501
|
+
columns: ["wallet_id"];
|
|
1252
1502
|
isOneToOne: false;
|
|
1253
|
-
referencedRelation: "
|
|
1503
|
+
referencedRelation: "partner_wallets";
|
|
1254
1504
|
referencedColumns: ["id"];
|
|
1255
1505
|
}
|
|
1256
1506
|
];
|
|
1257
1507
|
};
|
|
1258
|
-
|
|
1508
|
+
partner_wallets: {
|
|
1259
1509
|
Row: {
|
|
1260
|
-
|
|
1261
|
-
context_id: string | null;
|
|
1262
|
-
context_type: string;
|
|
1263
|
-
created_at: string | null;
|
|
1264
|
-
description: string;
|
|
1510
|
+
created_at: string;
|
|
1265
1511
|
id: string;
|
|
1266
|
-
|
|
1267
|
-
updated_at: string | null;
|
|
1512
|
+
partner_org_id: string;
|
|
1268
1513
|
};
|
|
1269
1514
|
Insert: {
|
|
1270
|
-
|
|
1271
|
-
context_id?: string | null;
|
|
1272
|
-
context_type: string;
|
|
1273
|
-
created_at?: string | null;
|
|
1274
|
-
description: string;
|
|
1515
|
+
created_at?: string;
|
|
1275
1516
|
id?: string;
|
|
1276
|
-
|
|
1277
|
-
updated_at?: string | null;
|
|
1517
|
+
partner_org_id: string;
|
|
1278
1518
|
};
|
|
1279
1519
|
Update: {
|
|
1280
|
-
|
|
1281
|
-
context_id?: string | null;
|
|
1282
|
-
context_type?: string;
|
|
1283
|
-
created_at?: string | null;
|
|
1284
|
-
description?: string;
|
|
1520
|
+
created_at?: string;
|
|
1285
1521
|
id?: string;
|
|
1286
|
-
|
|
1287
|
-
updated_at?: string | null;
|
|
1522
|
+
partner_org_id?: string;
|
|
1288
1523
|
};
|
|
1289
1524
|
Relationships: [
|
|
1290
1525
|
{
|
|
1291
|
-
foreignKeyName: "
|
|
1292
|
-
columns: ["
|
|
1293
|
-
isOneToOne:
|
|
1294
|
-
referencedRelation: "
|
|
1526
|
+
foreignKeyName: "partner_wallets_partner_org_id_fkey";
|
|
1527
|
+
columns: ["partner_org_id"];
|
|
1528
|
+
isOneToOne: true;
|
|
1529
|
+
referencedRelation: "partner_orgs";
|
|
1295
1530
|
referencedColumns: ["id"];
|
|
1296
1531
|
}
|
|
1297
1532
|
];
|
|
1298
1533
|
};
|
|
1299
|
-
|
|
1534
|
+
passages: {
|
|
1300
1535
|
Row: {
|
|
1536
|
+
book_id: string;
|
|
1301
1537
|
created_at: string | null;
|
|
1302
1538
|
created_by: string | null;
|
|
1303
|
-
|
|
1304
|
-
end_verse_id: string | null;
|
|
1539
|
+
end_verse_id: string;
|
|
1305
1540
|
id: string;
|
|
1306
|
-
|
|
1307
|
-
playlist_id: string;
|
|
1308
|
-
playlist_item_type: Database["public"]["Enums"]["playlist_item_type"] | null;
|
|
1309
|
-
start_verse_id: string | null;
|
|
1541
|
+
start_verse_id: string;
|
|
1310
1542
|
updated_at: string | null;
|
|
1311
1543
|
};
|
|
1312
1544
|
Insert: {
|
|
1545
|
+
book_id: string;
|
|
1313
1546
|
created_at?: string | null;
|
|
1314
1547
|
created_by?: string | null;
|
|
1315
|
-
|
|
1316
|
-
end_verse_id?: string | null;
|
|
1548
|
+
end_verse_id: string;
|
|
1317
1549
|
id?: string;
|
|
1318
|
-
|
|
1319
|
-
playlist_id: string;
|
|
1320
|
-
playlist_item_type?: Database["public"]["Enums"]["playlist_item_type"] | null;
|
|
1321
|
-
start_verse_id?: string | null;
|
|
1550
|
+
start_verse_id: string;
|
|
1322
1551
|
updated_at?: string | null;
|
|
1323
1552
|
};
|
|
1324
1553
|
Update: {
|
|
1554
|
+
book_id?: string;
|
|
1325
1555
|
created_at?: string | null;
|
|
1326
1556
|
created_by?: string | null;
|
|
1327
|
-
|
|
1328
|
-
end_verse_id?: string | null;
|
|
1557
|
+
end_verse_id?: string;
|
|
1329
1558
|
id?: string;
|
|
1330
|
-
|
|
1331
|
-
playlist_id?: string;
|
|
1332
|
-
playlist_item_type?: Database["public"]["Enums"]["playlist_item_type"] | null;
|
|
1333
|
-
start_verse_id?: string | null;
|
|
1559
|
+
start_verse_id?: string;
|
|
1334
1560
|
updated_at?: string | null;
|
|
1335
1561
|
};
|
|
1336
1562
|
Relationships: [
|
|
1337
1563
|
{
|
|
1338
|
-
foreignKeyName: "
|
|
1339
|
-
columns: ["
|
|
1340
|
-
isOneToOne: false;
|
|
1564
|
+
foreignKeyName: "passages_book_id_fkey";
|
|
1565
|
+
columns: ["book_id"];
|
|
1566
|
+
isOneToOne: false;
|
|
1567
|
+
referencedRelation: "books";
|
|
1568
|
+
referencedColumns: ["id"];
|
|
1569
|
+
},
|
|
1570
|
+
{
|
|
1571
|
+
foreignKeyName: "passages_created_by_fkey";
|
|
1572
|
+
columns: ["created_by"];
|
|
1573
|
+
isOneToOne: false;
|
|
1574
|
+
referencedRelation: "users";
|
|
1575
|
+
referencedColumns: ["id"];
|
|
1576
|
+
},
|
|
1577
|
+
{
|
|
1578
|
+
foreignKeyName: "passages_end_verse_id_fkey";
|
|
1579
|
+
columns: ["end_verse_id"];
|
|
1580
|
+
isOneToOne: false;
|
|
1581
|
+
referencedRelation: "verses";
|
|
1582
|
+
referencedColumns: ["id"];
|
|
1583
|
+
},
|
|
1584
|
+
{
|
|
1585
|
+
foreignKeyName: "passages_start_verse_id_fkey";
|
|
1586
|
+
columns: ["start_verse_id"];
|
|
1587
|
+
isOneToOne: false;
|
|
1588
|
+
referencedRelation: "verses";
|
|
1589
|
+
referencedColumns: ["id"];
|
|
1590
|
+
}
|
|
1591
|
+
];
|
|
1592
|
+
};
|
|
1593
|
+
playlist_items: {
|
|
1594
|
+
Row: {
|
|
1595
|
+
created_at: string | null;
|
|
1596
|
+
created_by: string | null;
|
|
1597
|
+
custom_text: string | null;
|
|
1598
|
+
end_verse_id: string | null;
|
|
1599
|
+
id: string;
|
|
1600
|
+
order_index: number;
|
|
1601
|
+
playlist_id: string;
|
|
1602
|
+
playlist_item_type: Database["public"]["Enums"]["playlist_item_type"] | null;
|
|
1603
|
+
start_verse_id: string | null;
|
|
1604
|
+
updated_at: string | null;
|
|
1605
|
+
};
|
|
1606
|
+
Insert: {
|
|
1607
|
+
created_at?: string | null;
|
|
1608
|
+
created_by?: string | null;
|
|
1609
|
+
custom_text?: string | null;
|
|
1610
|
+
end_verse_id?: string | null;
|
|
1611
|
+
id?: string;
|
|
1612
|
+
order_index: number;
|
|
1613
|
+
playlist_id: string;
|
|
1614
|
+
playlist_item_type?: Database["public"]["Enums"]["playlist_item_type"] | null;
|
|
1615
|
+
start_verse_id?: string | null;
|
|
1616
|
+
updated_at?: string | null;
|
|
1617
|
+
};
|
|
1618
|
+
Update: {
|
|
1619
|
+
created_at?: string | null;
|
|
1620
|
+
created_by?: string | null;
|
|
1621
|
+
custom_text?: string | null;
|
|
1622
|
+
end_verse_id?: string | null;
|
|
1623
|
+
id?: string;
|
|
1624
|
+
order_index?: number;
|
|
1625
|
+
playlist_id?: string;
|
|
1626
|
+
playlist_item_type?: Database["public"]["Enums"]["playlist_item_type"] | null;
|
|
1627
|
+
start_verse_id?: string | null;
|
|
1628
|
+
updated_at?: string | null;
|
|
1629
|
+
};
|
|
1630
|
+
Relationships: [
|
|
1631
|
+
{
|
|
1632
|
+
foreignKeyName: "playlist_items_created_by_fkey";
|
|
1633
|
+
columns: ["created_by"];
|
|
1634
|
+
isOneToOne: false;
|
|
1341
1635
|
referencedRelation: "users";
|
|
1342
1636
|
referencedColumns: ["id"];
|
|
1343
1637
|
},
|
|
@@ -1430,15 +1724,190 @@ export type Database = {
|
|
|
1430
1724
|
};
|
|
1431
1725
|
Relationships: [];
|
|
1432
1726
|
};
|
|
1727
|
+
project_budget_actual_costs: {
|
|
1728
|
+
Row: {
|
|
1729
|
+
amount_cents: number;
|
|
1730
|
+
category: Database["public"]["Enums"]["budget_item_category"];
|
|
1731
|
+
created_at: string;
|
|
1732
|
+
created_by: string | null;
|
|
1733
|
+
currency_code: string;
|
|
1734
|
+
fx_rate_used: number | null;
|
|
1735
|
+
id: string;
|
|
1736
|
+
note: string | null;
|
|
1737
|
+
occurred_at: string;
|
|
1738
|
+
project_id: string;
|
|
1739
|
+
receipt_url: string | null;
|
|
1740
|
+
reporting_usd_cents: number | null;
|
|
1741
|
+
};
|
|
1742
|
+
Insert: {
|
|
1743
|
+
amount_cents: number;
|
|
1744
|
+
category: Database["public"]["Enums"]["budget_item_category"];
|
|
1745
|
+
created_at?: string;
|
|
1746
|
+
created_by?: string | null;
|
|
1747
|
+
currency_code?: string;
|
|
1748
|
+
fx_rate_used?: number | null;
|
|
1749
|
+
id?: string;
|
|
1750
|
+
note?: string | null;
|
|
1751
|
+
occurred_at?: string;
|
|
1752
|
+
project_id: string;
|
|
1753
|
+
receipt_url?: string | null;
|
|
1754
|
+
reporting_usd_cents?: number | null;
|
|
1755
|
+
};
|
|
1756
|
+
Update: {
|
|
1757
|
+
amount_cents?: number;
|
|
1758
|
+
category?: Database["public"]["Enums"]["budget_item_category"];
|
|
1759
|
+
created_at?: string;
|
|
1760
|
+
created_by?: string | null;
|
|
1761
|
+
currency_code?: string;
|
|
1762
|
+
fx_rate_used?: number | null;
|
|
1763
|
+
id?: string;
|
|
1764
|
+
note?: string | null;
|
|
1765
|
+
occurred_at?: string;
|
|
1766
|
+
project_id?: string;
|
|
1767
|
+
receipt_url?: string | null;
|
|
1768
|
+
reporting_usd_cents?: number | null;
|
|
1769
|
+
};
|
|
1770
|
+
Relationships: [
|
|
1771
|
+
{
|
|
1772
|
+
foreignKeyName: "project_budget_actual_costs_created_by_fkey";
|
|
1773
|
+
columns: ["created_by"];
|
|
1774
|
+
isOneToOne: false;
|
|
1775
|
+
referencedRelation: "users";
|
|
1776
|
+
referencedColumns: ["id"];
|
|
1777
|
+
},
|
|
1778
|
+
{
|
|
1779
|
+
foreignKeyName: "project_budget_actual_costs_project_id_fkey";
|
|
1780
|
+
columns: ["project_id"];
|
|
1781
|
+
isOneToOne: false;
|
|
1782
|
+
referencedRelation: "project_financials";
|
|
1783
|
+
referencedColumns: ["project_id"];
|
|
1784
|
+
},
|
|
1785
|
+
{
|
|
1786
|
+
foreignKeyName: "project_budget_actual_costs_project_id_fkey";
|
|
1787
|
+
columns: ["project_id"];
|
|
1788
|
+
isOneToOne: false;
|
|
1789
|
+
referencedRelation: "projects";
|
|
1790
|
+
referencedColumns: ["id"];
|
|
1791
|
+
}
|
|
1792
|
+
];
|
|
1793
|
+
};
|
|
1794
|
+
project_budget_items: {
|
|
1795
|
+
Row: {
|
|
1796
|
+
amount_cents: number;
|
|
1797
|
+
category: Database["public"]["Enums"]["budget_item_category"];
|
|
1798
|
+
created_at: string;
|
|
1799
|
+
created_by: string | null;
|
|
1800
|
+
description: string | null;
|
|
1801
|
+
id: string;
|
|
1802
|
+
project_budget_id: string;
|
|
1803
|
+
};
|
|
1804
|
+
Insert: {
|
|
1805
|
+
amount_cents: number;
|
|
1806
|
+
category: Database["public"]["Enums"]["budget_item_category"];
|
|
1807
|
+
created_at?: string;
|
|
1808
|
+
created_by?: string | null;
|
|
1809
|
+
description?: string | null;
|
|
1810
|
+
id?: string;
|
|
1811
|
+
project_budget_id: string;
|
|
1812
|
+
};
|
|
1813
|
+
Update: {
|
|
1814
|
+
amount_cents?: number;
|
|
1815
|
+
category?: Database["public"]["Enums"]["budget_item_category"];
|
|
1816
|
+
created_at?: string;
|
|
1817
|
+
created_by?: string | null;
|
|
1818
|
+
description?: string | null;
|
|
1819
|
+
id?: string;
|
|
1820
|
+
project_budget_id?: string;
|
|
1821
|
+
};
|
|
1822
|
+
Relationships: [
|
|
1823
|
+
{
|
|
1824
|
+
foreignKeyName: "project_budget_items_created_by_fkey";
|
|
1825
|
+
columns: ["created_by"];
|
|
1826
|
+
isOneToOne: false;
|
|
1827
|
+
referencedRelation: "users";
|
|
1828
|
+
referencedColumns: ["id"];
|
|
1829
|
+
},
|
|
1830
|
+
{
|
|
1831
|
+
foreignKeyName: "project_budget_items_project_budget_id_fkey";
|
|
1832
|
+
columns: ["project_budget_id"];
|
|
1833
|
+
isOneToOne: false;
|
|
1834
|
+
referencedRelation: "project_budgets";
|
|
1835
|
+
referencedColumns: ["id"];
|
|
1836
|
+
}
|
|
1837
|
+
];
|
|
1838
|
+
};
|
|
1839
|
+
project_budgets: {
|
|
1840
|
+
Row: {
|
|
1841
|
+
created_at: string;
|
|
1842
|
+
created_by: string | null;
|
|
1843
|
+
currency_code: string;
|
|
1844
|
+
end_date: string | null;
|
|
1845
|
+
estimated_total_cents: number;
|
|
1846
|
+
id: string;
|
|
1847
|
+
notes: string | null;
|
|
1848
|
+
project_id: string;
|
|
1849
|
+
start_date: string | null;
|
|
1850
|
+
version: number;
|
|
1851
|
+
};
|
|
1852
|
+
Insert: {
|
|
1853
|
+
created_at?: string;
|
|
1854
|
+
created_by?: string | null;
|
|
1855
|
+
currency_code?: string;
|
|
1856
|
+
end_date?: string | null;
|
|
1857
|
+
estimated_total_cents: number;
|
|
1858
|
+
id?: string;
|
|
1859
|
+
notes?: string | null;
|
|
1860
|
+
project_id: string;
|
|
1861
|
+
start_date?: string | null;
|
|
1862
|
+
version: number;
|
|
1863
|
+
};
|
|
1864
|
+
Update: {
|
|
1865
|
+
created_at?: string;
|
|
1866
|
+
created_by?: string | null;
|
|
1867
|
+
currency_code?: string;
|
|
1868
|
+
end_date?: string | null;
|
|
1869
|
+
estimated_total_cents?: number;
|
|
1870
|
+
id?: string;
|
|
1871
|
+
notes?: string | null;
|
|
1872
|
+
project_id?: string;
|
|
1873
|
+
start_date?: string | null;
|
|
1874
|
+
version?: number;
|
|
1875
|
+
};
|
|
1876
|
+
Relationships: [
|
|
1877
|
+
{
|
|
1878
|
+
foreignKeyName: "project_budgets_created_by_fkey";
|
|
1879
|
+
columns: ["created_by"];
|
|
1880
|
+
isOneToOne: false;
|
|
1881
|
+
referencedRelation: "users";
|
|
1882
|
+
referencedColumns: ["id"];
|
|
1883
|
+
},
|
|
1884
|
+
{
|
|
1885
|
+
foreignKeyName: "project_budgets_project_id_fkey";
|
|
1886
|
+
columns: ["project_id"];
|
|
1887
|
+
isOneToOne: false;
|
|
1888
|
+
referencedRelation: "project_financials";
|
|
1889
|
+
referencedColumns: ["project_id"];
|
|
1890
|
+
},
|
|
1891
|
+
{
|
|
1892
|
+
foreignKeyName: "project_budgets_project_id_fkey";
|
|
1893
|
+
columns: ["project_id"];
|
|
1894
|
+
isOneToOne: false;
|
|
1895
|
+
referencedRelation: "projects";
|
|
1896
|
+
referencedColumns: ["id"];
|
|
1897
|
+
}
|
|
1898
|
+
];
|
|
1899
|
+
};
|
|
1433
1900
|
projects: {
|
|
1434
1901
|
Row: {
|
|
1435
1902
|
created_at: string | null;
|
|
1436
1903
|
created_by: string | null;
|
|
1437
1904
|
deleted_at: string | null;
|
|
1438
1905
|
description: string | null;
|
|
1906
|
+
funding_status: Database["public"]["Enums"]["funding_status"];
|
|
1439
1907
|
id: string;
|
|
1440
|
-
location: unknown
|
|
1908
|
+
location: unknown;
|
|
1441
1909
|
name: string;
|
|
1910
|
+
project_status: Database["public"]["Enums"]["project_status"];
|
|
1442
1911
|
region_id: string | null;
|
|
1443
1912
|
source_language_entity_id: string;
|
|
1444
1913
|
target_language_entity_id: string;
|
|
@@ -1449,9 +1918,11 @@ export type Database = {
|
|
|
1449
1918
|
created_by?: string | null;
|
|
1450
1919
|
deleted_at?: string | null;
|
|
1451
1920
|
description?: string | null;
|
|
1921
|
+
funding_status?: Database["public"]["Enums"]["funding_status"];
|
|
1452
1922
|
id?: string;
|
|
1453
|
-
location?: unknown
|
|
1923
|
+
location?: unknown;
|
|
1454
1924
|
name: string;
|
|
1925
|
+
project_status?: Database["public"]["Enums"]["project_status"];
|
|
1455
1926
|
region_id?: string | null;
|
|
1456
1927
|
source_language_entity_id: string;
|
|
1457
1928
|
target_language_entity_id: string;
|
|
@@ -1462,9 +1933,11 @@ export type Database = {
|
|
|
1462
1933
|
created_by?: string | null;
|
|
1463
1934
|
deleted_at?: string | null;
|
|
1464
1935
|
description?: string | null;
|
|
1936
|
+
funding_status?: Database["public"]["Enums"]["funding_status"];
|
|
1465
1937
|
id?: string;
|
|
1466
|
-
location?: unknown
|
|
1938
|
+
location?: unknown;
|
|
1467
1939
|
name?: string;
|
|
1940
|
+
project_status?: Database["public"]["Enums"]["project_status"];
|
|
1468
1941
|
region_id?: string | null;
|
|
1469
1942
|
source_language_entity_id?: string;
|
|
1470
1943
|
target_language_entity_id?: string;
|
|
@@ -1501,6 +1974,65 @@ export type Database = {
|
|
|
1501
1974
|
}
|
|
1502
1975
|
];
|
|
1503
1976
|
};
|
|
1977
|
+
projects_teams: {
|
|
1978
|
+
Row: {
|
|
1979
|
+
assigned_at: string;
|
|
1980
|
+
id: string;
|
|
1981
|
+
is_primary: boolean;
|
|
1982
|
+
project_id: string;
|
|
1983
|
+
project_role_id: string | null;
|
|
1984
|
+
team_id: string;
|
|
1985
|
+
unassigned_at: string | null;
|
|
1986
|
+
};
|
|
1987
|
+
Insert: {
|
|
1988
|
+
assigned_at?: string;
|
|
1989
|
+
id?: string;
|
|
1990
|
+
is_primary?: boolean;
|
|
1991
|
+
project_id: string;
|
|
1992
|
+
project_role_id?: string | null;
|
|
1993
|
+
team_id: string;
|
|
1994
|
+
unassigned_at?: string | null;
|
|
1995
|
+
};
|
|
1996
|
+
Update: {
|
|
1997
|
+
assigned_at?: string;
|
|
1998
|
+
id?: string;
|
|
1999
|
+
is_primary?: boolean;
|
|
2000
|
+
project_id?: string;
|
|
2001
|
+
project_role_id?: string | null;
|
|
2002
|
+
team_id?: string;
|
|
2003
|
+
unassigned_at?: string | null;
|
|
2004
|
+
};
|
|
2005
|
+
Relationships: [
|
|
2006
|
+
{
|
|
2007
|
+
foreignKeyName: "projects_teams_project_id_fkey";
|
|
2008
|
+
columns: ["project_id"];
|
|
2009
|
+
isOneToOne: false;
|
|
2010
|
+
referencedRelation: "project_financials";
|
|
2011
|
+
referencedColumns: ["project_id"];
|
|
2012
|
+
},
|
|
2013
|
+
{
|
|
2014
|
+
foreignKeyName: "projects_teams_project_id_fkey";
|
|
2015
|
+
columns: ["project_id"];
|
|
2016
|
+
isOneToOne: false;
|
|
2017
|
+
referencedRelation: "projects";
|
|
2018
|
+
referencedColumns: ["id"];
|
|
2019
|
+
},
|
|
2020
|
+
{
|
|
2021
|
+
foreignKeyName: "projects_teams_project_role_id_fkey";
|
|
2022
|
+
columns: ["project_role_id"];
|
|
2023
|
+
isOneToOne: false;
|
|
2024
|
+
referencedRelation: "roles";
|
|
2025
|
+
referencedColumns: ["id"];
|
|
2026
|
+
},
|
|
2027
|
+
{
|
|
2028
|
+
foreignKeyName: "projects_teams_team_id_fkey";
|
|
2029
|
+
columns: ["team_id"];
|
|
2030
|
+
isOneToOne: false;
|
|
2031
|
+
referencedRelation: "teams";
|
|
2032
|
+
referencedColumns: ["id"];
|
|
2033
|
+
}
|
|
2034
|
+
];
|
|
2035
|
+
};
|
|
1504
2036
|
region_aliases: {
|
|
1505
2037
|
Row: {
|
|
1506
2038
|
alias_name: string;
|
|
@@ -1692,8 +2224,8 @@ export type Database = {
|
|
|
1692
2224
|
bbox_max_lon: number | null;
|
|
1693
2225
|
bbox_min_lat: number | null;
|
|
1694
2226
|
bbox_min_lon: number | null;
|
|
1695
|
-
boundary: unknown
|
|
1696
|
-
boundary_simplified: unknown
|
|
2227
|
+
boundary: unknown;
|
|
2228
|
+
boundary_simplified: unknown;
|
|
1697
2229
|
center_lat: number | null;
|
|
1698
2230
|
center_lon: number | null;
|
|
1699
2231
|
created_at: string | null;
|
|
@@ -1709,8 +2241,8 @@ export type Database = {
|
|
|
1709
2241
|
bbox_max_lon?: number | null;
|
|
1710
2242
|
bbox_min_lat?: number | null;
|
|
1711
2243
|
bbox_min_lon?: number | null;
|
|
1712
|
-
boundary?: unknown
|
|
1713
|
-
boundary_simplified?: unknown
|
|
2244
|
+
boundary?: unknown;
|
|
2245
|
+
boundary_simplified?: unknown;
|
|
1714
2246
|
center_lat?: number | null;
|
|
1715
2247
|
center_lon?: number | null;
|
|
1716
2248
|
created_at?: string | null;
|
|
@@ -1726,8 +2258,8 @@ export type Database = {
|
|
|
1726
2258
|
bbox_max_lon?: number | null;
|
|
1727
2259
|
bbox_min_lat?: number | null;
|
|
1728
2260
|
bbox_min_lon?: number | null;
|
|
1729
|
-
boundary?: unknown
|
|
1730
|
-
boundary_simplified?: unknown
|
|
2261
|
+
boundary?: unknown;
|
|
2262
|
+
boundary_simplified?: unknown;
|
|
1731
2263
|
center_lat?: number | null;
|
|
1732
2264
|
center_lon?: number | null;
|
|
1733
2265
|
created_at?: string | null;
|
|
@@ -1748,23 +2280,64 @@ export type Database = {
|
|
|
1748
2280
|
}
|
|
1749
2281
|
];
|
|
1750
2282
|
};
|
|
2283
|
+
role_permissions: {
|
|
2284
|
+
Row: {
|
|
2285
|
+
created_at: string;
|
|
2286
|
+
id: string;
|
|
2287
|
+
is_allowed: boolean;
|
|
2288
|
+
permission_key: Database["public"]["Enums"]["permission_key"];
|
|
2289
|
+
resource_type: Database["public"]["Enums"]["resource_type"];
|
|
2290
|
+
role_id: string;
|
|
2291
|
+
};
|
|
2292
|
+
Insert: {
|
|
2293
|
+
created_at?: string;
|
|
2294
|
+
id?: string;
|
|
2295
|
+
is_allowed?: boolean;
|
|
2296
|
+
permission_key: Database["public"]["Enums"]["permission_key"];
|
|
2297
|
+
resource_type: Database["public"]["Enums"]["resource_type"];
|
|
2298
|
+
role_id: string;
|
|
2299
|
+
};
|
|
2300
|
+
Update: {
|
|
2301
|
+
created_at?: string;
|
|
2302
|
+
id?: string;
|
|
2303
|
+
is_allowed?: boolean;
|
|
2304
|
+
permission_key?: Database["public"]["Enums"]["permission_key"];
|
|
2305
|
+
resource_type?: Database["public"]["Enums"]["resource_type"];
|
|
2306
|
+
role_id?: string;
|
|
2307
|
+
};
|
|
2308
|
+
Relationships: [
|
|
2309
|
+
{
|
|
2310
|
+
foreignKeyName: "role_permissions_role_id_fkey";
|
|
2311
|
+
columns: ["role_id"];
|
|
2312
|
+
isOneToOne: false;
|
|
2313
|
+
referencedRelation: "roles";
|
|
2314
|
+
referencedColumns: ["id"];
|
|
2315
|
+
}
|
|
2316
|
+
];
|
|
2317
|
+
};
|
|
1751
2318
|
roles: {
|
|
1752
2319
|
Row: {
|
|
1753
2320
|
created_at: string | null;
|
|
1754
2321
|
id: string;
|
|
1755
2322
|
name: string;
|
|
2323
|
+
resource_type: Database["public"]["Enums"]["resource_type"] | null;
|
|
2324
|
+
role_key: string | null;
|
|
1756
2325
|
updated_at: string | null;
|
|
1757
2326
|
};
|
|
1758
2327
|
Insert: {
|
|
1759
2328
|
created_at?: string | null;
|
|
1760
2329
|
id?: string;
|
|
1761
2330
|
name: string;
|
|
2331
|
+
resource_type?: Database["public"]["Enums"]["resource_type"] | null;
|
|
2332
|
+
role_key?: string | null;
|
|
1762
2333
|
updated_at?: string | null;
|
|
1763
2334
|
};
|
|
1764
2335
|
Update: {
|
|
1765
2336
|
created_at?: string | null;
|
|
1766
2337
|
id?: string;
|
|
1767
2338
|
name?: string;
|
|
2339
|
+
resource_type?: Database["public"]["Enums"]["resource_type"] | null;
|
|
2340
|
+
role_key?: string | null;
|
|
1768
2341
|
updated_at?: string | null;
|
|
1769
2342
|
};
|
|
1770
2343
|
Relationships: [];
|
|
@@ -1902,13 +2475,6 @@ export type Database = {
|
|
|
1902
2475
|
updated_at?: string | null;
|
|
1903
2476
|
};
|
|
1904
2477
|
Relationships: [
|
|
1905
|
-
{
|
|
1906
|
-
foreignKeyName: "sequences_book_id_fkey";
|
|
1907
|
-
columns: ["book_id"];
|
|
1908
|
-
isOneToOne: false;
|
|
1909
|
-
referencedRelation: "audio_book_coverage";
|
|
1910
|
-
referencedColumns: ["book_id"];
|
|
1911
|
-
},
|
|
1912
2478
|
{
|
|
1913
2479
|
foreignKeyName: "sequences_book_id_fkey";
|
|
1914
2480
|
columns: ["book_id"];
|
|
@@ -1916,13 +2482,6 @@ export type Database = {
|
|
|
1916
2482
|
referencedRelation: "books";
|
|
1917
2483
|
referencedColumns: ["id"];
|
|
1918
2484
|
},
|
|
1919
|
-
{
|
|
1920
|
-
foreignKeyName: "sequences_book_id_fkey";
|
|
1921
|
-
columns: ["book_id"];
|
|
1922
|
-
isOneToOne: false;
|
|
1923
|
-
referencedRelation: "text_book_coverage";
|
|
1924
|
-
referencedColumns: ["book_id"];
|
|
1925
|
-
},
|
|
1926
2485
|
{
|
|
1927
2486
|
foreignKeyName: "sequences_created_by_fkey";
|
|
1928
2487
|
columns: ["created_by"];
|
|
@@ -1937,6 +2496,13 @@ export type Database = {
|
|
|
1937
2496
|
referencedRelation: "verses";
|
|
1938
2497
|
referencedColumns: ["id"];
|
|
1939
2498
|
},
|
|
2499
|
+
{
|
|
2500
|
+
foreignKeyName: "sequences_project_id_fkey";
|
|
2501
|
+
columns: ["project_id"];
|
|
2502
|
+
isOneToOne: false;
|
|
2503
|
+
referencedRelation: "project_financials";
|
|
2504
|
+
referencedColumns: ["project_id"];
|
|
2505
|
+
},
|
|
1940
2506
|
{
|
|
1941
2507
|
foreignKeyName: "sequences_project_id_fkey";
|
|
1942
2508
|
columns: ["project_id"];
|
|
@@ -2120,7 +2686,7 @@ export type Database = {
|
|
|
2120
2686
|
country_code: string | null;
|
|
2121
2687
|
ended_at: string | null;
|
|
2122
2688
|
id: string;
|
|
2123
|
-
location: unknown
|
|
2689
|
+
location: unknown;
|
|
2124
2690
|
location_source: Database["public"]["Enums"]["location_source_type"] | null;
|
|
2125
2691
|
os: string | null;
|
|
2126
2692
|
os_version: string | null;
|
|
@@ -2137,7 +2703,7 @@ export type Database = {
|
|
|
2137
2703
|
country_code?: string | null;
|
|
2138
2704
|
ended_at?: string | null;
|
|
2139
2705
|
id?: string;
|
|
2140
|
-
location?: unknown
|
|
2706
|
+
location?: unknown;
|
|
2141
2707
|
location_source?: Database["public"]["Enums"]["location_source_type"] | null;
|
|
2142
2708
|
os?: string | null;
|
|
2143
2709
|
os_version?: string | null;
|
|
@@ -2154,7 +2720,7 @@ export type Database = {
|
|
|
2154
2720
|
country_code?: string | null;
|
|
2155
2721
|
ended_at?: string | null;
|
|
2156
2722
|
id?: string;
|
|
2157
|
-
location?: unknown
|
|
2723
|
+
location?: unknown;
|
|
2158
2724
|
location_source?: Database["public"]["Enums"]["location_source_type"] | null;
|
|
2159
2725
|
os?: string | null;
|
|
2160
2726
|
os_version?: string | null;
|
|
@@ -2304,6 +2870,192 @@ export type Database = {
|
|
|
2304
2870
|
};
|
|
2305
2871
|
Relationships: [];
|
|
2306
2872
|
};
|
|
2873
|
+
sponsorship_allocations: {
|
|
2874
|
+
Row: {
|
|
2875
|
+
allocation_percent: number;
|
|
2876
|
+
created_at: string;
|
|
2877
|
+
created_by: string | null;
|
|
2878
|
+
effective_from: string;
|
|
2879
|
+
effective_to: string | null;
|
|
2880
|
+
id: string;
|
|
2881
|
+
project_id: string;
|
|
2882
|
+
sponsorship_id: string;
|
|
2883
|
+
};
|
|
2884
|
+
Insert: {
|
|
2885
|
+
allocation_percent: number;
|
|
2886
|
+
created_at?: string;
|
|
2887
|
+
created_by?: string | null;
|
|
2888
|
+
effective_from: string;
|
|
2889
|
+
effective_to?: string | null;
|
|
2890
|
+
id?: string;
|
|
2891
|
+
project_id: string;
|
|
2892
|
+
sponsorship_id: string;
|
|
2893
|
+
};
|
|
2894
|
+
Update: {
|
|
2895
|
+
allocation_percent?: number;
|
|
2896
|
+
created_at?: string;
|
|
2897
|
+
created_by?: string | null;
|
|
2898
|
+
effective_from?: string;
|
|
2899
|
+
effective_to?: string | null;
|
|
2900
|
+
id?: string;
|
|
2901
|
+
project_id?: string;
|
|
2902
|
+
sponsorship_id?: string;
|
|
2903
|
+
};
|
|
2904
|
+
Relationships: [
|
|
2905
|
+
{
|
|
2906
|
+
foreignKeyName: "sponsorship_allocations_created_by_fkey";
|
|
2907
|
+
columns: ["created_by"];
|
|
2908
|
+
isOneToOne: false;
|
|
2909
|
+
referencedRelation: "users";
|
|
2910
|
+
referencedColumns: ["id"];
|
|
2911
|
+
},
|
|
2912
|
+
{
|
|
2913
|
+
foreignKeyName: "sponsorship_allocations_project_id_fkey";
|
|
2914
|
+
columns: ["project_id"];
|
|
2915
|
+
isOneToOne: false;
|
|
2916
|
+
referencedRelation: "project_financials";
|
|
2917
|
+
referencedColumns: ["project_id"];
|
|
2918
|
+
},
|
|
2919
|
+
{
|
|
2920
|
+
foreignKeyName: "sponsorship_allocations_project_id_fkey";
|
|
2921
|
+
columns: ["project_id"];
|
|
2922
|
+
isOneToOne: false;
|
|
2923
|
+
referencedRelation: "projects";
|
|
2924
|
+
referencedColumns: ["id"];
|
|
2925
|
+
},
|
|
2926
|
+
{
|
|
2927
|
+
foreignKeyName: "sponsorship_allocations_sponsorship_id_fkey";
|
|
2928
|
+
columns: ["sponsorship_id"];
|
|
2929
|
+
isOneToOne: false;
|
|
2930
|
+
referencedRelation: "sponsorships";
|
|
2931
|
+
referencedColumns: ["id"];
|
|
2932
|
+
}
|
|
2933
|
+
];
|
|
2934
|
+
};
|
|
2935
|
+
sponsorships: {
|
|
2936
|
+
Row: {
|
|
2937
|
+
created_at: string;
|
|
2938
|
+
created_by: string | null;
|
|
2939
|
+
currency_code: string;
|
|
2940
|
+
id: string;
|
|
2941
|
+
language_adoption_id: string | null;
|
|
2942
|
+
partner_org_id: string;
|
|
2943
|
+
pledge_one_time_cents: number;
|
|
2944
|
+
pledge_recurring_cents: number;
|
|
2945
|
+
project_id: string | null;
|
|
2946
|
+
status: Database["public"]["Enums"]["sponsorship_status"];
|
|
2947
|
+
stripe_customer_id: string | null;
|
|
2948
|
+
stripe_payment_intent_id: string | null;
|
|
2949
|
+
stripe_price_id: string | null;
|
|
2950
|
+
stripe_subscription_id: string | null;
|
|
2951
|
+
updated_at: string | null;
|
|
2952
|
+
};
|
|
2953
|
+
Insert: {
|
|
2954
|
+
created_at?: string;
|
|
2955
|
+
created_by?: string | null;
|
|
2956
|
+
currency_code?: string;
|
|
2957
|
+
id?: string;
|
|
2958
|
+
language_adoption_id?: string | null;
|
|
2959
|
+
partner_org_id: string;
|
|
2960
|
+
pledge_one_time_cents?: number;
|
|
2961
|
+
pledge_recurring_cents?: number;
|
|
2962
|
+
project_id?: string | null;
|
|
2963
|
+
status?: Database["public"]["Enums"]["sponsorship_status"];
|
|
2964
|
+
stripe_customer_id?: string | null;
|
|
2965
|
+
stripe_payment_intent_id?: string | null;
|
|
2966
|
+
stripe_price_id?: string | null;
|
|
2967
|
+
stripe_subscription_id?: string | null;
|
|
2968
|
+
updated_at?: string | null;
|
|
2969
|
+
};
|
|
2970
|
+
Update: {
|
|
2971
|
+
created_at?: string;
|
|
2972
|
+
created_by?: string | null;
|
|
2973
|
+
currency_code?: string;
|
|
2974
|
+
id?: string;
|
|
2975
|
+
language_adoption_id?: string | null;
|
|
2976
|
+
partner_org_id?: string;
|
|
2977
|
+
pledge_one_time_cents?: number;
|
|
2978
|
+
pledge_recurring_cents?: number;
|
|
2979
|
+
project_id?: string | null;
|
|
2980
|
+
status?: Database["public"]["Enums"]["sponsorship_status"];
|
|
2981
|
+
stripe_customer_id?: string | null;
|
|
2982
|
+
stripe_payment_intent_id?: string | null;
|
|
2983
|
+
stripe_price_id?: string | null;
|
|
2984
|
+
stripe_subscription_id?: string | null;
|
|
2985
|
+
updated_at?: string | null;
|
|
2986
|
+
};
|
|
2987
|
+
Relationships: [
|
|
2988
|
+
{
|
|
2989
|
+
foreignKeyName: "sponsorships_created_by_fkey";
|
|
2990
|
+
columns: ["created_by"];
|
|
2991
|
+
isOneToOne: false;
|
|
2992
|
+
referencedRelation: "users";
|
|
2993
|
+
referencedColumns: ["id"];
|
|
2994
|
+
},
|
|
2995
|
+
{
|
|
2996
|
+
foreignKeyName: "sponsorships_language_adoption_id_fkey";
|
|
2997
|
+
columns: ["language_adoption_id"];
|
|
2998
|
+
isOneToOne: false;
|
|
2999
|
+
referencedRelation: "language_adoptions";
|
|
3000
|
+
referencedColumns: ["id"];
|
|
3001
|
+
},
|
|
3002
|
+
{
|
|
3003
|
+
foreignKeyName: "sponsorships_language_adoption_id_fkey";
|
|
3004
|
+
columns: ["language_adoption_id"];
|
|
3005
|
+
isOneToOne: false;
|
|
3006
|
+
referencedRelation: "public_language_adoptions";
|
|
3007
|
+
referencedColumns: ["id"];
|
|
3008
|
+
},
|
|
3009
|
+
{
|
|
3010
|
+
foreignKeyName: "sponsorships_partner_org_id_fkey";
|
|
3011
|
+
columns: ["partner_org_id"];
|
|
3012
|
+
isOneToOne: false;
|
|
3013
|
+
referencedRelation: "partner_orgs";
|
|
3014
|
+
referencedColumns: ["id"];
|
|
3015
|
+
},
|
|
3016
|
+
{
|
|
3017
|
+
foreignKeyName: "sponsorships_project_id_fkey";
|
|
3018
|
+
columns: ["project_id"];
|
|
3019
|
+
isOneToOne: false;
|
|
3020
|
+
referencedRelation: "project_financials";
|
|
3021
|
+
referencedColumns: ["project_id"];
|
|
3022
|
+
},
|
|
3023
|
+
{
|
|
3024
|
+
foreignKeyName: "sponsorships_project_id_fkey";
|
|
3025
|
+
columns: ["project_id"];
|
|
3026
|
+
isOneToOne: false;
|
|
3027
|
+
referencedRelation: "projects";
|
|
3028
|
+
referencedColumns: ["id"];
|
|
3029
|
+
}
|
|
3030
|
+
];
|
|
3031
|
+
};
|
|
3032
|
+
stripe_events: {
|
|
3033
|
+
Row: {
|
|
3034
|
+
error_message: string | null;
|
|
3035
|
+
id: string;
|
|
3036
|
+
payload: Json;
|
|
3037
|
+
processed_at: string | null;
|
|
3038
|
+
success: boolean | null;
|
|
3039
|
+
type: string;
|
|
3040
|
+
};
|
|
3041
|
+
Insert: {
|
|
3042
|
+
error_message?: string | null;
|
|
3043
|
+
id: string;
|
|
3044
|
+
payload: Json;
|
|
3045
|
+
processed_at?: string | null;
|
|
3046
|
+
success?: boolean | null;
|
|
3047
|
+
type: string;
|
|
3048
|
+
};
|
|
3049
|
+
Update: {
|
|
3050
|
+
error_message?: string | null;
|
|
3051
|
+
id?: string;
|
|
3052
|
+
payload?: Json;
|
|
3053
|
+
processed_at?: string | null;
|
|
3054
|
+
success?: boolean | null;
|
|
3055
|
+
type?: string;
|
|
3056
|
+
};
|
|
3057
|
+
Relationships: [];
|
|
3058
|
+
};
|
|
2307
3059
|
tags: {
|
|
2308
3060
|
Row: {
|
|
2309
3061
|
created_at: string | null;
|
|
@@ -2342,6 +3094,7 @@ export type Database = {
|
|
|
2342
3094
|
teams: {
|
|
2343
3095
|
Row: {
|
|
2344
3096
|
created_at: string | null;
|
|
3097
|
+
created_by: string | null;
|
|
2345
3098
|
id: string;
|
|
2346
3099
|
name: string;
|
|
2347
3100
|
type: string | null;
|
|
@@ -2349,6 +3102,7 @@ export type Database = {
|
|
|
2349
3102
|
};
|
|
2350
3103
|
Insert: {
|
|
2351
3104
|
created_at?: string | null;
|
|
3105
|
+
created_by?: string | null;
|
|
2352
3106
|
id?: string;
|
|
2353
3107
|
name: string;
|
|
2354
3108
|
type?: string | null;
|
|
@@ -2356,12 +3110,21 @@ export type Database = {
|
|
|
2356
3110
|
};
|
|
2357
3111
|
Update: {
|
|
2358
3112
|
created_at?: string | null;
|
|
3113
|
+
created_by?: string | null;
|
|
2359
3114
|
id?: string;
|
|
2360
3115
|
name?: string;
|
|
2361
3116
|
type?: string | null;
|
|
2362
3117
|
updated_at?: string | null;
|
|
2363
3118
|
};
|
|
2364
|
-
Relationships: [
|
|
3119
|
+
Relationships: [
|
|
3120
|
+
{
|
|
3121
|
+
foreignKeyName: "teams_created_by_fkey";
|
|
3122
|
+
columns: ["created_by"];
|
|
3123
|
+
isOneToOne: false;
|
|
3124
|
+
referencedRelation: "users";
|
|
3125
|
+
referencedColumns: ["id"];
|
|
3126
|
+
}
|
|
3127
|
+
];
|
|
2365
3128
|
};
|
|
2366
3129
|
text_versions: {
|
|
2367
3130
|
Row: {
|
|
@@ -2422,6 +3185,13 @@ export type Database = {
|
|
|
2422
3185
|
referencedRelation: "language_entities";
|
|
2423
3186
|
referencedColumns: ["id"];
|
|
2424
3187
|
},
|
|
3188
|
+
{
|
|
3189
|
+
foreignKeyName: "text_versions_project_id_fkey";
|
|
3190
|
+
columns: ["project_id"];
|
|
3191
|
+
isOneToOne: false;
|
|
3192
|
+
referencedRelation: "project_financials";
|
|
3193
|
+
referencedColumns: ["project_id"];
|
|
3194
|
+
},
|
|
2425
3195
|
{
|
|
2426
3196
|
foreignKeyName: "text_versions_project_id_fkey";
|
|
2427
3197
|
columns: ["project_id"];
|
|
@@ -3357,42 +4127,6 @@ export type Database = {
|
|
|
3357
4127
|
};
|
|
3358
4128
|
};
|
|
3359
4129
|
Views: {
|
|
3360
|
-
audio_book_coverage: {
|
|
3361
|
-
Row: {
|
|
3362
|
-
audio_version_id: string | null;
|
|
3363
|
-
book_id: string | null;
|
|
3364
|
-
complete_chapters: number | null;
|
|
3365
|
-
is_complete: boolean | null;
|
|
3366
|
-
total_chapters: number | null;
|
|
3367
|
-
};
|
|
3368
|
-
Relationships: [];
|
|
3369
|
-
};
|
|
3370
|
-
audio_chapter_coverage: {
|
|
3371
|
-
Row: {
|
|
3372
|
-
audio_version_id: string | null;
|
|
3373
|
-
chapter_id: string | null;
|
|
3374
|
-
covered_verses: number | null;
|
|
3375
|
-
has_any: boolean | null;
|
|
3376
|
-
is_complete: boolean | null;
|
|
3377
|
-
total_verses: number | null;
|
|
3378
|
-
};
|
|
3379
|
-
Relationships: [
|
|
3380
|
-
{
|
|
3381
|
-
foreignKeyName: "verses_chapter_id_fkey";
|
|
3382
|
-
columns: ["chapter_id"];
|
|
3383
|
-
isOneToOne: false;
|
|
3384
|
-
referencedRelation: "chapters";
|
|
3385
|
-
referencedColumns: ["id"];
|
|
3386
|
-
}
|
|
3387
|
-
];
|
|
3388
|
-
};
|
|
3389
|
-
audio_verse_coverage: {
|
|
3390
|
-
Row: {
|
|
3391
|
-
audio_version_id: string | null;
|
|
3392
|
-
verse_id: string | null;
|
|
3393
|
-
};
|
|
3394
|
-
Relationships: [];
|
|
3395
|
-
};
|
|
3396
4130
|
audio_version_progress_summary: {
|
|
3397
4131
|
Row: {
|
|
3398
4132
|
audio_version_id: string | null;
|
|
@@ -3411,10 +4145,10 @@ export type Database = {
|
|
|
3411
4145
|
geography_columns: {
|
|
3412
4146
|
Row: {
|
|
3413
4147
|
coord_dimension: number | null;
|
|
3414
|
-
f_geography_column: unknown
|
|
3415
|
-
f_table_catalog: unknown
|
|
3416
|
-
f_table_name: unknown
|
|
3417
|
-
f_table_schema: unknown
|
|
4148
|
+
f_geography_column: unknown;
|
|
4149
|
+
f_table_catalog: unknown;
|
|
4150
|
+
f_table_name: unknown;
|
|
4151
|
+
f_table_schema: unknown;
|
|
3418
4152
|
srid: number | null;
|
|
3419
4153
|
type: string | null;
|
|
3420
4154
|
};
|
|
@@ -3423,28 +4157,28 @@ export type Database = {
|
|
|
3423
4157
|
geometry_columns: {
|
|
3424
4158
|
Row: {
|
|
3425
4159
|
coord_dimension: number | null;
|
|
3426
|
-
f_geometry_column: unknown
|
|
4160
|
+
f_geometry_column: unknown;
|
|
3427
4161
|
f_table_catalog: string | null;
|
|
3428
|
-
f_table_name: unknown
|
|
3429
|
-
f_table_schema: unknown
|
|
4162
|
+
f_table_name: unknown;
|
|
4163
|
+
f_table_schema: unknown;
|
|
3430
4164
|
srid: number | null;
|
|
3431
4165
|
type: string | null;
|
|
3432
4166
|
};
|
|
3433
4167
|
Insert: {
|
|
3434
4168
|
coord_dimension?: number | null;
|
|
3435
|
-
f_geometry_column?: unknown
|
|
4169
|
+
f_geometry_column?: unknown;
|
|
3436
4170
|
f_table_catalog?: string | null;
|
|
3437
|
-
f_table_name?: unknown
|
|
3438
|
-
f_table_schema?: unknown
|
|
4171
|
+
f_table_name?: unknown;
|
|
4172
|
+
f_table_schema?: unknown;
|
|
3439
4173
|
srid?: number | null;
|
|
3440
4174
|
type?: string | null;
|
|
3441
4175
|
};
|
|
3442
4176
|
Update: {
|
|
3443
4177
|
coord_dimension?: number | null;
|
|
3444
|
-
f_geometry_column?: unknown
|
|
4178
|
+
f_geometry_column?: unknown;
|
|
3445
4179
|
f_table_catalog?: string | null;
|
|
3446
|
-
f_table_name?: unknown
|
|
3447
|
-
f_table_schema?: unknown
|
|
4180
|
+
f_table_name?: unknown;
|
|
4181
|
+
f_table_schema?: unknown;
|
|
3448
4182
|
srid?: number | null;
|
|
3449
4183
|
type?: string | null;
|
|
3450
4184
|
};
|
|
@@ -3523,157 +4257,86 @@ export type Database = {
|
|
|
3523
4257
|
};
|
|
3524
4258
|
Relationships: [];
|
|
3525
4259
|
};
|
|
3526
|
-
|
|
4260
|
+
project_financials: {
|
|
3527
4261
|
Row: {
|
|
3528
|
-
|
|
3529
|
-
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
|
|
4262
|
+
actual_spend_usd_cents: number | null;
|
|
4263
|
+
budget_currency_code: string | null;
|
|
4264
|
+
estimated_total_cents: number | null;
|
|
4265
|
+
estimated_total_usd_cents: number | null;
|
|
4266
|
+
funded_percent: number | null;
|
|
4267
|
+
funding_received_usd_cents: number | null;
|
|
4268
|
+
latest_budget_version: number | null;
|
|
4269
|
+
project_id: string | null;
|
|
4270
|
+
};
|
|
4271
|
+
Relationships: [];
|
|
4272
|
+
};
|
|
4273
|
+
public_language_adoptions: {
|
|
4274
|
+
Row: {
|
|
4275
|
+
available_since: string | null;
|
|
4276
|
+
currency_code: string | null;
|
|
4277
|
+
estimated_budget_cents: number | null;
|
|
4278
|
+
funding_received_usd_cents: number | null;
|
|
4279
|
+
id: string | null;
|
|
4280
|
+
language_entity_id: string | null;
|
|
4281
|
+
notes: string | null;
|
|
4282
|
+
status: Database["public"]["Enums"]["adoption_status"] | null;
|
|
4283
|
+
translators_ready: boolean | null;
|
|
4284
|
+
};
|
|
4285
|
+
Insert: {
|
|
4286
|
+
available_since?: string | null;
|
|
4287
|
+
currency_code?: string | null;
|
|
4288
|
+
estimated_budget_cents?: number | null;
|
|
4289
|
+
funding_received_usd_cents?: never;
|
|
4290
|
+
id?: string | null;
|
|
4291
|
+
language_entity_id?: string | null;
|
|
4292
|
+
notes?: string | null;
|
|
4293
|
+
status?: Database["public"]["Enums"]["adoption_status"] | null;
|
|
4294
|
+
translators_ready?: boolean | null;
|
|
4295
|
+
};
|
|
4296
|
+
Update: {
|
|
4297
|
+
available_since?: string | null;
|
|
4298
|
+
currency_code?: string | null;
|
|
4299
|
+
estimated_budget_cents?: number | null;
|
|
4300
|
+
funding_received_usd_cents?: never;
|
|
4301
|
+
id?: string | null;
|
|
4302
|
+
language_entity_id?: string | null;
|
|
4303
|
+
notes?: string | null;
|
|
4304
|
+
status?: Database["public"]["Enums"]["adoption_status"] | null;
|
|
4305
|
+
translators_ready?: boolean | null;
|
|
3533
4306
|
};
|
|
3534
4307
|
Relationships: [
|
|
3535
4308
|
{
|
|
3536
|
-
foreignKeyName: "
|
|
3537
|
-
columns: ["
|
|
3538
|
-
isOneToOne: false;
|
|
3539
|
-
referencedRelation: "language_entity_best_text_version";
|
|
3540
|
-
referencedColumns: ["text_version_id"];
|
|
3541
|
-
},
|
|
3542
|
-
{
|
|
3543
|
-
foreignKeyName: "verse_texts_text_version_id_fkey";
|
|
3544
|
-
columns: ["text_version_id"];
|
|
3545
|
-
isOneToOne: false;
|
|
3546
|
-
referencedRelation: "mv_text_version_progress_summary";
|
|
3547
|
-
referencedColumns: ["text_version_id"];
|
|
3548
|
-
},
|
|
3549
|
-
{
|
|
3550
|
-
foreignKeyName: "verse_texts_text_version_id_fkey";
|
|
3551
|
-
columns: ["text_version_id"];
|
|
3552
|
-
isOneToOne: false;
|
|
3553
|
-
referencedRelation: "text_version_progress_summary";
|
|
3554
|
-
referencedColumns: ["text_version_id"];
|
|
3555
|
-
},
|
|
3556
|
-
{
|
|
3557
|
-
foreignKeyName: "verse_texts_text_version_id_fkey";
|
|
3558
|
-
columns: ["text_version_id"];
|
|
4309
|
+
foreignKeyName: "language_adoptions_language_entity_id_fkey";
|
|
4310
|
+
columns: ["language_entity_id"];
|
|
3559
4311
|
isOneToOne: false;
|
|
3560
|
-
referencedRelation: "
|
|
4312
|
+
referencedRelation: "language_entities";
|
|
3561
4313
|
referencedColumns: ["id"];
|
|
3562
4314
|
}
|
|
3563
4315
|
];
|
|
3564
4316
|
};
|
|
3565
|
-
|
|
4317
|
+
text_version_progress_summary: {
|
|
3566
4318
|
Row: {
|
|
3567
|
-
|
|
3568
|
-
|
|
4319
|
+
book_fraction: number | null;
|
|
4320
|
+
books_complete: number | null;
|
|
4321
|
+
chapter_fraction: number | null;
|
|
4322
|
+
complete_chapters: number | null;
|
|
4323
|
+
covered_verses: number | null;
|
|
3569
4324
|
text_version_id: string | null;
|
|
4325
|
+
total_books: number | null;
|
|
4326
|
+
total_chapters: number | null;
|
|
3570
4327
|
total_verses: number | null;
|
|
3571
|
-
|
|
4328
|
+
verse_fraction: number | null;
|
|
3572
4329
|
};
|
|
3573
|
-
Relationships: [
|
|
3574
|
-
{
|
|
3575
|
-
foreignKeyName: "verse_texts_text_version_id_fkey";
|
|
3576
|
-
columns: ["text_version_id"];
|
|
3577
|
-
isOneToOne: false;
|
|
3578
|
-
referencedRelation: "language_entity_best_text_version";
|
|
3579
|
-
referencedColumns: ["text_version_id"];
|
|
3580
|
-
},
|
|
3581
|
-
{
|
|
3582
|
-
foreignKeyName: "verse_texts_text_version_id_fkey";
|
|
3583
|
-
columns: ["text_version_id"];
|
|
3584
|
-
isOneToOne: false;
|
|
3585
|
-
referencedRelation: "mv_text_version_progress_summary";
|
|
3586
|
-
referencedColumns: ["text_version_id"];
|
|
3587
|
-
},
|
|
3588
|
-
{
|
|
3589
|
-
foreignKeyName: "verse_texts_text_version_id_fkey";
|
|
3590
|
-
columns: ["text_version_id"];
|
|
3591
|
-
isOneToOne: false;
|
|
3592
|
-
referencedRelation: "text_version_progress_summary";
|
|
3593
|
-
referencedColumns: ["text_version_id"];
|
|
3594
|
-
},
|
|
3595
|
-
{
|
|
3596
|
-
foreignKeyName: "verse_texts_text_version_id_fkey";
|
|
3597
|
-
columns: ["text_version_id"];
|
|
3598
|
-
isOneToOne: false;
|
|
3599
|
-
referencedRelation: "text_versions";
|
|
3600
|
-
referencedColumns: ["id"];
|
|
3601
|
-
},
|
|
3602
|
-
{
|
|
3603
|
-
foreignKeyName: "verses_chapter_id_fkey";
|
|
3604
|
-
columns: ["chapter_id"];
|
|
3605
|
-
isOneToOne: false;
|
|
3606
|
-
referencedRelation: "chapters";
|
|
3607
|
-
referencedColumns: ["id"];
|
|
3608
|
-
}
|
|
3609
|
-
];
|
|
4330
|
+
Relationships: [];
|
|
3610
4331
|
};
|
|
3611
|
-
|
|
4332
|
+
vw_country_language_listens_heatmap: {
|
|
3612
4333
|
Row: {
|
|
3613
|
-
|
|
3614
|
-
|
|
3615
|
-
|
|
3616
|
-
|
|
3617
|
-
|
|
3618
|
-
|
|
3619
|
-
columns: ["text_version_id"];
|
|
3620
|
-
isOneToOne: false;
|
|
3621
|
-
referencedRelation: "language_entity_best_text_version";
|
|
3622
|
-
referencedColumns: ["text_version_id"];
|
|
3623
|
-
},
|
|
3624
|
-
{
|
|
3625
|
-
foreignKeyName: "verse_texts_text_version_id_fkey";
|
|
3626
|
-
columns: ["text_version_id"];
|
|
3627
|
-
isOneToOne: false;
|
|
3628
|
-
referencedRelation: "mv_text_version_progress_summary";
|
|
3629
|
-
referencedColumns: ["text_version_id"];
|
|
3630
|
-
},
|
|
3631
|
-
{
|
|
3632
|
-
foreignKeyName: "verse_texts_text_version_id_fkey";
|
|
3633
|
-
columns: ["text_version_id"];
|
|
3634
|
-
isOneToOne: false;
|
|
3635
|
-
referencedRelation: "text_version_progress_summary";
|
|
3636
|
-
referencedColumns: ["text_version_id"];
|
|
3637
|
-
},
|
|
3638
|
-
{
|
|
3639
|
-
foreignKeyName: "verse_texts_text_version_id_fkey";
|
|
3640
|
-
columns: ["text_version_id"];
|
|
3641
|
-
isOneToOne: false;
|
|
3642
|
-
referencedRelation: "text_versions";
|
|
3643
|
-
referencedColumns: ["id"];
|
|
3644
|
-
},
|
|
3645
|
-
{
|
|
3646
|
-
foreignKeyName: "verse_texts_verse_id_fkey";
|
|
3647
|
-
columns: ["verse_id"];
|
|
3648
|
-
isOneToOne: false;
|
|
3649
|
-
referencedRelation: "verses";
|
|
3650
|
-
referencedColumns: ["id"];
|
|
3651
|
-
}
|
|
3652
|
-
];
|
|
3653
|
-
};
|
|
3654
|
-
text_version_progress_summary: {
|
|
3655
|
-
Row: {
|
|
3656
|
-
book_fraction: number | null;
|
|
3657
|
-
books_complete: number | null;
|
|
3658
|
-
chapter_fraction: number | null;
|
|
3659
|
-
complete_chapters: number | null;
|
|
3660
|
-
covered_verses: number | null;
|
|
3661
|
-
text_version_id: string | null;
|
|
3662
|
-
total_books: number | null;
|
|
3663
|
-
total_chapters: number | null;
|
|
3664
|
-
total_verses: number | null;
|
|
3665
|
-
verse_fraction: number | null;
|
|
3666
|
-
};
|
|
3667
|
-
Relationships: [];
|
|
3668
|
-
};
|
|
3669
|
-
vw_country_language_listens_heatmap: {
|
|
3670
|
-
Row: {
|
|
3671
|
-
country_code: string | null;
|
|
3672
|
-
event_count: number | null;
|
|
3673
|
-
grid: unknown | null;
|
|
3674
|
-
language_entity_id: string | null;
|
|
3675
|
-
last_event_at: string | null;
|
|
3676
|
-
region_id: string | null;
|
|
4334
|
+
country_code: string | null;
|
|
4335
|
+
event_count: number | null;
|
|
4336
|
+
grid: unknown;
|
|
4337
|
+
language_entity_id: string | null;
|
|
4338
|
+
last_event_at: string | null;
|
|
4339
|
+
region_id: string | null;
|
|
3677
4340
|
};
|
|
3678
4341
|
Relationships: [];
|
|
3679
4342
|
};
|
|
@@ -3687,7 +4350,7 @@ export type Database = {
|
|
|
3687
4350
|
vw_language_listens_heatmap: {
|
|
3688
4351
|
Row: {
|
|
3689
4352
|
event_count: number | null;
|
|
3690
|
-
grid: unknown
|
|
4353
|
+
grid: unknown;
|
|
3691
4354
|
language_entity_id: string | null;
|
|
3692
4355
|
last_event_at: string | null;
|
|
3693
4356
|
};
|
|
@@ -3724,11 +4387,11 @@ export type Database = {
|
|
|
3724
4387
|
Returns: unknown;
|
|
3725
4388
|
};
|
|
3726
4389
|
_postgis_pgsql_version: {
|
|
3727
|
-
Args:
|
|
4390
|
+
Args: never;
|
|
3728
4391
|
Returns: string;
|
|
3729
4392
|
};
|
|
3730
4393
|
_postgis_scripts_pgsql_version: {
|
|
3731
|
-
Args:
|
|
4394
|
+
Args: never;
|
|
3732
4395
|
Returns: string;
|
|
3733
4396
|
};
|
|
3734
4397
|
_postgis_selectivity: {
|
|
@@ -3740,6 +4403,14 @@ export type Database = {
|
|
|
3740
4403
|
};
|
|
3741
4404
|
Returns: number;
|
|
3742
4405
|
};
|
|
4406
|
+
_postgis_stats: {
|
|
4407
|
+
Args: {
|
|
4408
|
+
""?: string;
|
|
4409
|
+
att_name: string;
|
|
4410
|
+
tbl: unknown;
|
|
4411
|
+
};
|
|
4412
|
+
Returns: string;
|
|
4413
|
+
};
|
|
3743
4414
|
_st_3dintersects: {
|
|
3744
4415
|
Args: {
|
|
3745
4416
|
geom1: unknown;
|
|
@@ -3747,12 +4418,6 @@ export type Database = {
|
|
|
3747
4418
|
};
|
|
3748
4419
|
Returns: boolean;
|
|
3749
4420
|
};
|
|
3750
|
-
_st_bestsrid: {
|
|
3751
|
-
Args: {
|
|
3752
|
-
"": unknown;
|
|
3753
|
-
};
|
|
3754
|
-
Returns: number;
|
|
3755
|
-
};
|
|
3756
4421
|
_st_contains: {
|
|
3757
4422
|
Args: {
|
|
3758
4423
|
geom1: unknown;
|
|
@@ -3771,7 +4436,10 @@ export type Database = {
|
|
|
3771
4436
|
Args: {
|
|
3772
4437
|
geog1: unknown;
|
|
3773
4438
|
geog2: unknown;
|
|
3774
|
-
}
|
|
4439
|
+
};
|
|
4440
|
+
Returns: boolean;
|
|
4441
|
+
} | {
|
|
4442
|
+
Args: {
|
|
3775
4443
|
geom1: unknown;
|
|
3776
4444
|
geom2: unknown;
|
|
3777
4445
|
};
|
|
@@ -3781,7 +4449,10 @@ export type Database = {
|
|
|
3781
4449
|
Args: {
|
|
3782
4450
|
geog1: unknown;
|
|
3783
4451
|
geog2: unknown;
|
|
3784
|
-
}
|
|
4452
|
+
};
|
|
4453
|
+
Returns: boolean;
|
|
4454
|
+
} | {
|
|
4455
|
+
Args: {
|
|
3785
4456
|
geom1: unknown;
|
|
3786
4457
|
geom2: unknown;
|
|
3787
4458
|
};
|
|
@@ -3852,12 +4523,6 @@ export type Database = {
|
|
|
3852
4523
|
};
|
|
3853
4524
|
Returns: boolean;
|
|
3854
4525
|
};
|
|
3855
|
-
_st_pointoutside: {
|
|
3856
|
-
Args: {
|
|
3857
|
-
"": unknown;
|
|
3858
|
-
};
|
|
3859
|
-
Returns: unknown;
|
|
3860
|
-
};
|
|
3861
4526
|
_st_sortablehash: {
|
|
3862
4527
|
Args: {
|
|
3863
4528
|
geom: unknown;
|
|
@@ -3895,105 +4560,45 @@ export type Database = {
|
|
|
3895
4560
|
};
|
|
3896
4561
|
addgeometrycolumn: {
|
|
3897
4562
|
Args: {
|
|
3898
|
-
catalog_name: string;
|
|
3899
4563
|
column_name: string;
|
|
3900
4564
|
new_dim: number;
|
|
3901
|
-
|
|
4565
|
+
new_srid: number;
|
|
3902
4566
|
new_type: string;
|
|
3903
4567
|
schema_name: string;
|
|
3904
4568
|
table_name: string;
|
|
3905
4569
|
use_typmod?: boolean;
|
|
3906
|
-
}
|
|
4570
|
+
};
|
|
4571
|
+
Returns: string;
|
|
4572
|
+
} | {
|
|
4573
|
+
Args: {
|
|
3907
4574
|
column_name: string;
|
|
3908
4575
|
new_dim: number;
|
|
3909
4576
|
new_srid: number;
|
|
3910
4577
|
new_type: string;
|
|
3911
|
-
schema_name: string;
|
|
3912
4578
|
table_name: string;
|
|
3913
4579
|
use_typmod?: boolean;
|
|
3914
|
-
}
|
|
4580
|
+
};
|
|
4581
|
+
Returns: string;
|
|
4582
|
+
} | {
|
|
4583
|
+
Args: {
|
|
4584
|
+
catalog_name: string;
|
|
3915
4585
|
column_name: string;
|
|
3916
4586
|
new_dim: number;
|
|
3917
|
-
|
|
4587
|
+
new_srid_in: number;
|
|
3918
4588
|
new_type: string;
|
|
4589
|
+
schema_name: string;
|
|
3919
4590
|
table_name: string;
|
|
3920
4591
|
use_typmod?: boolean;
|
|
3921
4592
|
};
|
|
3922
4593
|
Returns: string;
|
|
3923
4594
|
};
|
|
3924
|
-
|
|
3925
|
-
Args: {
|
|
3926
|
-
"": unknown;
|
|
3927
|
-
} | {
|
|
3928
|
-
"": unknown;
|
|
3929
|
-
};
|
|
3930
|
-
Returns: unknown;
|
|
3931
|
-
};
|
|
3932
|
-
box2d: {
|
|
3933
|
-
Args: {
|
|
3934
|
-
"": unknown;
|
|
3935
|
-
} | {
|
|
3936
|
-
"": unknown;
|
|
3937
|
-
};
|
|
3938
|
-
Returns: unknown;
|
|
3939
|
-
};
|
|
3940
|
-
box2d_in: {
|
|
3941
|
-
Args: {
|
|
3942
|
-
"": unknown;
|
|
3943
|
-
};
|
|
3944
|
-
Returns: unknown;
|
|
3945
|
-
};
|
|
3946
|
-
box2d_out: {
|
|
3947
|
-
Args: {
|
|
3948
|
-
"": unknown;
|
|
3949
|
-
};
|
|
3950
|
-
Returns: unknown;
|
|
3951
|
-
};
|
|
3952
|
-
box2df_in: {
|
|
3953
|
-
Args: {
|
|
3954
|
-
"": unknown;
|
|
3955
|
-
};
|
|
3956
|
-
Returns: unknown;
|
|
3957
|
-
};
|
|
3958
|
-
box2df_out: {
|
|
3959
|
-
Args: {
|
|
3960
|
-
"": unknown;
|
|
3961
|
-
};
|
|
3962
|
-
Returns: unknown;
|
|
3963
|
-
};
|
|
3964
|
-
box3d: {
|
|
3965
|
-
Args: {
|
|
3966
|
-
"": unknown;
|
|
3967
|
-
} | {
|
|
3968
|
-
"": unknown;
|
|
3969
|
-
};
|
|
3970
|
-
Returns: unknown;
|
|
3971
|
-
};
|
|
3972
|
-
box3d_in: {
|
|
3973
|
-
Args: {
|
|
3974
|
-
"": unknown;
|
|
3975
|
-
};
|
|
3976
|
-
Returns: unknown;
|
|
3977
|
-
};
|
|
3978
|
-
box3d_out: {
|
|
3979
|
-
Args: {
|
|
3980
|
-
"": unknown;
|
|
3981
|
-
};
|
|
3982
|
-
Returns: unknown;
|
|
3983
|
-
};
|
|
3984
|
-
box3dtobox: {
|
|
3985
|
-
Args: {
|
|
3986
|
-
"": unknown;
|
|
3987
|
-
};
|
|
3988
|
-
Returns: unknown;
|
|
3989
|
-
};
|
|
3990
|
-
bytea: {
|
|
4595
|
+
convert_to_usd: {
|
|
3991
4596
|
Args: {
|
|
3992
|
-
|
|
3993
|
-
|
|
3994
|
-
|
|
4597
|
+
p_amount_cents: number;
|
|
4598
|
+
p_as_of_date: string;
|
|
4599
|
+
p_currency_code: string;
|
|
3995
4600
|
};
|
|
3996
|
-
Returns:
|
|
4601
|
+
Returns: number;
|
|
3997
4602
|
};
|
|
3998
4603
|
cp1252_softmap: {
|
|
3999
4604
|
Args: {
|
|
@@ -4002,11 +4607,11 @@ export type Database = {
|
|
|
4002
4607
|
Returns: string;
|
|
4003
4608
|
};
|
|
4004
4609
|
disablelongtransactions: {
|
|
4005
|
-
Args:
|
|
4610
|
+
Args: never;
|
|
4006
4611
|
Returns: string;
|
|
4007
4612
|
};
|
|
4008
4613
|
drain_progress_refresh_queue: {
|
|
4009
|
-
Args:
|
|
4614
|
+
Args: never;
|
|
4010
4615
|
Returns: {
|
|
4011
4616
|
kind: string;
|
|
4012
4617
|
version_id: string;
|
|
@@ -4014,35 +4619,47 @@ export type Database = {
|
|
|
4014
4619
|
};
|
|
4015
4620
|
dropgeometrycolumn: {
|
|
4016
4621
|
Args: {
|
|
4017
|
-
catalog_name: string;
|
|
4018
4622
|
column_name: string;
|
|
4019
4623
|
schema_name: string;
|
|
4020
4624
|
table_name: string;
|
|
4021
|
-
}
|
|
4625
|
+
};
|
|
4626
|
+
Returns: string;
|
|
4627
|
+
} | {
|
|
4628
|
+
Args: {
|
|
4022
4629
|
column_name: string;
|
|
4023
|
-
schema_name: string;
|
|
4024
4630
|
table_name: string;
|
|
4025
|
-
}
|
|
4631
|
+
};
|
|
4632
|
+
Returns: string;
|
|
4633
|
+
} | {
|
|
4634
|
+
Args: {
|
|
4635
|
+
catalog_name: string;
|
|
4026
4636
|
column_name: string;
|
|
4637
|
+
schema_name: string;
|
|
4027
4638
|
table_name: string;
|
|
4028
4639
|
};
|
|
4029
4640
|
Returns: string;
|
|
4030
4641
|
};
|
|
4031
4642
|
dropgeometrytable: {
|
|
4032
4643
|
Args: {
|
|
4033
|
-
catalog_name: string;
|
|
4034
4644
|
schema_name: string;
|
|
4035
4645
|
table_name: string;
|
|
4036
|
-
}
|
|
4037
|
-
|
|
4646
|
+
};
|
|
4647
|
+
Returns: string;
|
|
4648
|
+
} | {
|
|
4649
|
+
Args: {
|
|
4038
4650
|
table_name: string;
|
|
4039
|
-
}
|
|
4651
|
+
};
|
|
4652
|
+
Returns: string;
|
|
4653
|
+
} | {
|
|
4654
|
+
Args: {
|
|
4655
|
+
catalog_name: string;
|
|
4656
|
+
schema_name: string;
|
|
4040
4657
|
table_name: string;
|
|
4041
4658
|
};
|
|
4042
4659
|
Returns: string;
|
|
4043
4660
|
};
|
|
4044
4661
|
enablelongtransactions: {
|
|
4045
|
-
Args:
|
|
4662
|
+
Args: never;
|
|
4046
4663
|
Returns: string;
|
|
4047
4664
|
};
|
|
4048
4665
|
enqueue_progress_refresh: {
|
|
@@ -4059,79 +4676,9 @@ export type Database = {
|
|
|
4059
4676
|
};
|
|
4060
4677
|
Returns: boolean;
|
|
4061
4678
|
};
|
|
4062
|
-
geography: {
|
|
4063
|
-
Args: {
|
|
4064
|
-
"": string;
|
|
4065
|
-
} | {
|
|
4066
|
-
"": unknown;
|
|
4067
|
-
};
|
|
4068
|
-
Returns: unknown;
|
|
4069
|
-
};
|
|
4070
|
-
geography_analyze: {
|
|
4071
|
-
Args: {
|
|
4072
|
-
"": unknown;
|
|
4073
|
-
};
|
|
4074
|
-
Returns: boolean;
|
|
4075
|
-
};
|
|
4076
|
-
geography_gist_compress: {
|
|
4077
|
-
Args: {
|
|
4078
|
-
"": unknown;
|
|
4079
|
-
};
|
|
4080
|
-
Returns: unknown;
|
|
4081
|
-
};
|
|
4082
|
-
geography_gist_decompress: {
|
|
4083
|
-
Args: {
|
|
4084
|
-
"": unknown;
|
|
4085
|
-
};
|
|
4086
|
-
Returns: unknown;
|
|
4087
|
-
};
|
|
4088
|
-
geography_out: {
|
|
4089
|
-
Args: {
|
|
4090
|
-
"": unknown;
|
|
4091
|
-
};
|
|
4092
|
-
Returns: unknown;
|
|
4093
|
-
};
|
|
4094
|
-
geography_send: {
|
|
4095
|
-
Args: {
|
|
4096
|
-
"": unknown;
|
|
4097
|
-
};
|
|
4098
|
-
Returns: string;
|
|
4099
|
-
};
|
|
4100
|
-
geography_spgist_compress_nd: {
|
|
4101
|
-
Args: {
|
|
4102
|
-
"": unknown;
|
|
4103
|
-
};
|
|
4104
|
-
Returns: unknown;
|
|
4105
|
-
};
|
|
4106
|
-
geography_typmod_in: {
|
|
4107
|
-
Args: {
|
|
4108
|
-
"": unknown[];
|
|
4109
|
-
};
|
|
4110
|
-
Returns: number;
|
|
4111
|
-
};
|
|
4112
|
-
geography_typmod_out: {
|
|
4113
|
-
Args: {
|
|
4114
|
-
"": number;
|
|
4115
|
-
};
|
|
4116
|
-
Returns: unknown;
|
|
4117
|
-
};
|
|
4118
4679
|
geometry: {
|
|
4119
4680
|
Args: {
|
|
4120
4681
|
"": string;
|
|
4121
|
-
} | {
|
|
4122
|
-
"": string;
|
|
4123
|
-
} | {
|
|
4124
|
-
"": unknown;
|
|
4125
|
-
} | {
|
|
4126
|
-
"": unknown;
|
|
4127
|
-
} | {
|
|
4128
|
-
"": unknown;
|
|
4129
|
-
} | {
|
|
4130
|
-
"": unknown;
|
|
4131
|
-
} | {
|
|
4132
|
-
"": unknown;
|
|
4133
|
-
} | {
|
|
4134
|
-
"": unknown;
|
|
4135
4682
|
};
|
|
4136
4683
|
Returns: unknown;
|
|
4137
4684
|
};
|
|
@@ -4142,12 +4689,6 @@ export type Database = {
|
|
|
4142
4689
|
};
|
|
4143
4690
|
Returns: boolean;
|
|
4144
4691
|
};
|
|
4145
|
-
geometry_analyze: {
|
|
4146
|
-
Args: {
|
|
4147
|
-
"": unknown;
|
|
4148
|
-
};
|
|
4149
|
-
Returns: boolean;
|
|
4150
|
-
};
|
|
4151
4692
|
geometry_below: {
|
|
4152
4693
|
Args: {
|
|
4153
4694
|
geom1: unknown;
|
|
@@ -4211,36 +4752,6 @@ export type Database = {
|
|
|
4211
4752
|
};
|
|
4212
4753
|
Returns: boolean;
|
|
4213
4754
|
};
|
|
4214
|
-
geometry_gist_compress_2d: {
|
|
4215
|
-
Args: {
|
|
4216
|
-
"": unknown;
|
|
4217
|
-
};
|
|
4218
|
-
Returns: unknown;
|
|
4219
|
-
};
|
|
4220
|
-
geometry_gist_compress_nd: {
|
|
4221
|
-
Args: {
|
|
4222
|
-
"": unknown;
|
|
4223
|
-
};
|
|
4224
|
-
Returns: unknown;
|
|
4225
|
-
};
|
|
4226
|
-
geometry_gist_decompress_2d: {
|
|
4227
|
-
Args: {
|
|
4228
|
-
"": unknown;
|
|
4229
|
-
};
|
|
4230
|
-
Returns: unknown;
|
|
4231
|
-
};
|
|
4232
|
-
geometry_gist_decompress_nd: {
|
|
4233
|
-
Args: {
|
|
4234
|
-
"": unknown;
|
|
4235
|
-
};
|
|
4236
|
-
Returns: unknown;
|
|
4237
|
-
};
|
|
4238
|
-
geometry_gist_sortsupport_2d: {
|
|
4239
|
-
Args: {
|
|
4240
|
-
"": unknown;
|
|
4241
|
-
};
|
|
4242
|
-
Returns: undefined;
|
|
4243
|
-
};
|
|
4244
4755
|
geometry_gt: {
|
|
4245
4756
|
Args: {
|
|
4246
4757
|
geom1: unknown;
|
|
@@ -4248,18 +4759,6 @@ export type Database = {
|
|
|
4248
4759
|
};
|
|
4249
4760
|
Returns: boolean;
|
|
4250
4761
|
};
|
|
4251
|
-
geometry_hash: {
|
|
4252
|
-
Args: {
|
|
4253
|
-
"": unknown;
|
|
4254
|
-
};
|
|
4255
|
-
Returns: number;
|
|
4256
|
-
};
|
|
4257
|
-
geometry_in: {
|
|
4258
|
-
Args: {
|
|
4259
|
-
"": unknown;
|
|
4260
|
-
};
|
|
4261
|
-
Returns: unknown;
|
|
4262
|
-
};
|
|
4263
4762
|
geometry_le: {
|
|
4264
4763
|
Args: {
|
|
4265
4764
|
geom1: unknown;
|
|
@@ -4281,12 +4780,6 @@ export type Database = {
|
|
|
4281
4780
|
};
|
|
4282
4781
|
Returns: boolean;
|
|
4283
4782
|
};
|
|
4284
|
-
geometry_out: {
|
|
4285
|
-
Args: {
|
|
4286
|
-
"": unknown;
|
|
4287
|
-
};
|
|
4288
|
-
Returns: unknown;
|
|
4289
|
-
};
|
|
4290
4783
|
geometry_overabove: {
|
|
4291
4784
|
Args: {
|
|
4292
4785
|
geom1: unknown;
|
|
@@ -4329,12 +4822,6 @@ export type Database = {
|
|
|
4329
4822
|
};
|
|
4330
4823
|
Returns: boolean;
|
|
4331
4824
|
};
|
|
4332
|
-
geometry_recv: {
|
|
4333
|
-
Args: {
|
|
4334
|
-
"": unknown;
|
|
4335
|
-
};
|
|
4336
|
-
Returns: unknown;
|
|
4337
|
-
};
|
|
4338
4825
|
geometry_right: {
|
|
4339
4826
|
Args: {
|
|
4340
4827
|
geom1: unknown;
|
|
@@ -4356,91 +4843,38 @@ export type Database = {
|
|
|
4356
4843
|
};
|
|
4357
4844
|
Returns: boolean;
|
|
4358
4845
|
};
|
|
4359
|
-
|
|
4360
|
-
Args: {
|
|
4361
|
-
"": unknown;
|
|
4362
|
-
};
|
|
4363
|
-
Returns: string;
|
|
4364
|
-
};
|
|
4365
|
-
geometry_sortsupport: {
|
|
4366
|
-
Args: {
|
|
4367
|
-
"": unknown;
|
|
4368
|
-
};
|
|
4369
|
-
Returns: undefined;
|
|
4370
|
-
};
|
|
4371
|
-
geometry_spgist_compress_2d: {
|
|
4846
|
+
geometry_within: {
|
|
4372
4847
|
Args: {
|
|
4373
|
-
|
|
4848
|
+
geom1: unknown;
|
|
4849
|
+
geom2: unknown;
|
|
4374
4850
|
};
|
|
4375
|
-
Returns:
|
|
4851
|
+
Returns: boolean;
|
|
4376
4852
|
};
|
|
4377
|
-
|
|
4853
|
+
geomfromewkt: {
|
|
4378
4854
|
Args: {
|
|
4379
|
-
"":
|
|
4855
|
+
"": string;
|
|
4380
4856
|
};
|
|
4381
4857
|
Returns: unknown;
|
|
4382
4858
|
};
|
|
4383
|
-
|
|
4859
|
+
get_chapter_global_order: {
|
|
4384
4860
|
Args: {
|
|
4385
|
-
|
|
4861
|
+
chapter_text_id: string;
|
|
4386
4862
|
};
|
|
4387
|
-
Returns:
|
|
4388
|
-
}
|
|
4389
|
-
geometry_typmod_in: {
|
|
4863
|
+
Returns: number;
|
|
4864
|
+
} | {
|
|
4390
4865
|
Args: {
|
|
4391
|
-
|
|
4866
|
+
chapter_uuid: string;
|
|
4392
4867
|
};
|
|
4393
4868
|
Returns: number;
|
|
4394
4869
|
};
|
|
4395
|
-
|
|
4870
|
+
get_country_code_from_point: {
|
|
4396
4871
|
Args: {
|
|
4397
|
-
|
|
4872
|
+
lat: number;
|
|
4873
|
+
lon: number;
|
|
4398
4874
|
};
|
|
4399
|
-
Returns:
|
|
4875
|
+
Returns: string;
|
|
4400
4876
|
};
|
|
4401
|
-
|
|
4402
|
-
Args: {
|
|
4403
|
-
geom1: unknown;
|
|
4404
|
-
geom2: unknown;
|
|
4405
|
-
};
|
|
4406
|
-
Returns: boolean;
|
|
4407
|
-
};
|
|
4408
|
-
geometrytype: {
|
|
4409
|
-
Args: {
|
|
4410
|
-
"": unknown;
|
|
4411
|
-
} | {
|
|
4412
|
-
"": unknown;
|
|
4413
|
-
};
|
|
4414
|
-
Returns: string;
|
|
4415
|
-
};
|
|
4416
|
-
geomfromewkb: {
|
|
4417
|
-
Args: {
|
|
4418
|
-
"": string;
|
|
4419
|
-
};
|
|
4420
|
-
Returns: unknown;
|
|
4421
|
-
};
|
|
4422
|
-
geomfromewkt: {
|
|
4423
|
-
Args: {
|
|
4424
|
-
"": string;
|
|
4425
|
-
};
|
|
4426
|
-
Returns: unknown;
|
|
4427
|
-
};
|
|
4428
|
-
get_chapter_global_order: {
|
|
4429
|
-
Args: {
|
|
4430
|
-
chapter_text_id: string;
|
|
4431
|
-
} | {
|
|
4432
|
-
chapter_uuid: string;
|
|
4433
|
-
};
|
|
4434
|
-
Returns: number;
|
|
4435
|
-
};
|
|
4436
|
-
get_country_code_from_point: {
|
|
4437
|
-
Args: {
|
|
4438
|
-
lat: number;
|
|
4439
|
-
lon: number;
|
|
4440
|
-
};
|
|
4441
|
-
Returns: string;
|
|
4442
|
-
};
|
|
4443
|
-
get_language_entity_hierarchy: {
|
|
4877
|
+
get_language_entity_hierarchy: {
|
|
4444
4878
|
Args: {
|
|
4445
4879
|
entity_id: string;
|
|
4446
4880
|
generations_down?: number;
|
|
@@ -4461,12 +4895,6 @@ export type Database = {
|
|
|
4461
4895
|
};
|
|
4462
4896
|
Returns: string;
|
|
4463
4897
|
};
|
|
4464
|
-
get_proj4_from_srid: {
|
|
4465
|
-
Args: {
|
|
4466
|
-
"": number;
|
|
4467
|
-
};
|
|
4468
|
-
Returns: string;
|
|
4469
|
-
};
|
|
4470
4898
|
get_region_bbox_by_id: {
|
|
4471
4899
|
Args: {
|
|
4472
4900
|
p_region_id: string;
|
|
@@ -4548,68 +4976,26 @@ export type Database = {
|
|
|
4548
4976
|
get_verse_global_order: {
|
|
4549
4977
|
Args: {
|
|
4550
4978
|
verse_text_id: string;
|
|
4551
|
-
} | {
|
|
4552
|
-
verse_uuid: string;
|
|
4553
4979
|
};
|
|
4554
4980
|
Returns: number;
|
|
4555
|
-
}
|
|
4556
|
-
gettransactionid: {
|
|
4557
|
-
Args: Record<PropertyKey, never>;
|
|
4558
|
-
Returns: unknown;
|
|
4559
|
-
};
|
|
4560
|
-
gidx_in: {
|
|
4561
|
-
Args: {
|
|
4562
|
-
"": unknown;
|
|
4563
|
-
};
|
|
4564
|
-
Returns: unknown;
|
|
4565
|
-
};
|
|
4566
|
-
gidx_out: {
|
|
4567
|
-
Args: {
|
|
4568
|
-
"": unknown;
|
|
4569
|
-
};
|
|
4570
|
-
Returns: unknown;
|
|
4571
|
-
};
|
|
4572
|
-
gtrgm_compress: {
|
|
4573
|
-
Args: {
|
|
4574
|
-
"": unknown;
|
|
4575
|
-
};
|
|
4576
|
-
Returns: unknown;
|
|
4577
|
-
};
|
|
4578
|
-
gtrgm_decompress: {
|
|
4579
|
-
Args: {
|
|
4580
|
-
"": unknown;
|
|
4581
|
-
};
|
|
4582
|
-
Returns: unknown;
|
|
4583
|
-
};
|
|
4584
|
-
gtrgm_in: {
|
|
4981
|
+
} | {
|
|
4585
4982
|
Args: {
|
|
4586
|
-
|
|
4587
|
-
};
|
|
4588
|
-
Returns: unknown;
|
|
4589
|
-
};
|
|
4590
|
-
gtrgm_options: {
|
|
4591
|
-
Args: {
|
|
4592
|
-
"": unknown;
|
|
4983
|
+
verse_uuid: string;
|
|
4593
4984
|
};
|
|
4594
|
-
Returns:
|
|
4985
|
+
Returns: number;
|
|
4595
4986
|
};
|
|
4596
|
-
|
|
4597
|
-
Args:
|
|
4598
|
-
"": unknown;
|
|
4599
|
-
};
|
|
4987
|
+
gettransactionid: {
|
|
4988
|
+
Args: never;
|
|
4600
4989
|
Returns: unknown;
|
|
4601
4990
|
};
|
|
4602
|
-
|
|
4991
|
+
has_permission: {
|
|
4603
4992
|
Args: {
|
|
4604
|
-
""
|
|
4993
|
+
p_action: Database["public"]["Enums"]["permission_key"];
|
|
4994
|
+
p_resource_id: string;
|
|
4995
|
+
p_resource_type: Database["public"]["Enums"]["resource_type"];
|
|
4996
|
+
p_user_id: string;
|
|
4605
4997
|
};
|
|
4606
|
-
Returns:
|
|
4607
|
-
};
|
|
4608
|
-
jsonb: {
|
|
4609
|
-
Args: {
|
|
4610
|
-
"": unknown;
|
|
4611
|
-
};
|
|
4612
|
-
Returns: Json;
|
|
4998
|
+
Returns: boolean;
|
|
4613
4999
|
};
|
|
4614
5000
|
list_languages_for_region: {
|
|
4615
5001
|
Args: {
|
|
@@ -4623,7 +5009,7 @@ export type Database = {
|
|
|
4623
5009
|
}[];
|
|
4624
5010
|
};
|
|
4625
5011
|
longtransactionsenabled: {
|
|
4626
|
-
Args:
|
|
5012
|
+
Args: never;
|
|
4627
5013
|
Returns: boolean;
|
|
4628
5014
|
};
|
|
4629
5015
|
mojibake_fix_hard: {
|
|
@@ -4638,105 +5024,18 @@ export type Database = {
|
|
|
4638
5024
|
};
|
|
4639
5025
|
Returns: string;
|
|
4640
5026
|
};
|
|
4641
|
-
|
|
4642
|
-
Args: {
|
|
4643
|
-
"": unknown;
|
|
4644
|
-
};
|
|
4645
|
-
Returns: unknown;
|
|
4646
|
-
};
|
|
4647
|
-
pgis_asflatgeobuf_finalfn: {
|
|
4648
|
-
Args: {
|
|
4649
|
-
"": unknown;
|
|
4650
|
-
};
|
|
4651
|
-
Returns: string;
|
|
4652
|
-
};
|
|
4653
|
-
pgis_asgeobuf_finalfn: {
|
|
4654
|
-
Args: {
|
|
4655
|
-
"": unknown;
|
|
4656
|
-
};
|
|
4657
|
-
Returns: string;
|
|
4658
|
-
};
|
|
4659
|
-
pgis_asmvt_finalfn: {
|
|
4660
|
-
Args: {
|
|
4661
|
-
"": unknown;
|
|
4662
|
-
};
|
|
4663
|
-
Returns: string;
|
|
4664
|
-
};
|
|
4665
|
-
pgis_asmvt_serialfn: {
|
|
4666
|
-
Args: {
|
|
4667
|
-
"": unknown;
|
|
4668
|
-
};
|
|
4669
|
-
Returns: string;
|
|
4670
|
-
};
|
|
4671
|
-
pgis_geometry_clusterintersecting_finalfn: {
|
|
4672
|
-
Args: {
|
|
4673
|
-
"": unknown;
|
|
4674
|
-
};
|
|
4675
|
-
Returns: unknown[];
|
|
4676
|
-
};
|
|
4677
|
-
pgis_geometry_clusterwithin_finalfn: {
|
|
4678
|
-
Args: {
|
|
4679
|
-
"": unknown;
|
|
4680
|
-
};
|
|
4681
|
-
Returns: unknown[];
|
|
4682
|
-
};
|
|
4683
|
-
pgis_geometry_collect_finalfn: {
|
|
4684
|
-
Args: {
|
|
4685
|
-
"": unknown;
|
|
4686
|
-
};
|
|
4687
|
-
Returns: unknown;
|
|
4688
|
-
};
|
|
4689
|
-
pgis_geometry_makeline_finalfn: {
|
|
4690
|
-
Args: {
|
|
4691
|
-
"": unknown;
|
|
4692
|
-
};
|
|
4693
|
-
Returns: unknown;
|
|
4694
|
-
};
|
|
4695
|
-
pgis_geometry_polygonize_finalfn: {
|
|
4696
|
-
Args: {
|
|
4697
|
-
"": unknown;
|
|
4698
|
-
};
|
|
4699
|
-
Returns: unknown;
|
|
4700
|
-
};
|
|
4701
|
-
pgis_geometry_union_parallel_finalfn: {
|
|
4702
|
-
Args: {
|
|
4703
|
-
"": unknown;
|
|
4704
|
-
};
|
|
4705
|
-
Returns: unknown;
|
|
4706
|
-
};
|
|
4707
|
-
pgis_geometry_union_parallel_serialfn: {
|
|
5027
|
+
populate_geometry_columns: {
|
|
4708
5028
|
Args: {
|
|
4709
|
-
|
|
5029
|
+
use_typmod?: boolean;
|
|
4710
5030
|
};
|
|
4711
5031
|
Returns: string;
|
|
4712
|
-
}
|
|
4713
|
-
point: {
|
|
4714
|
-
Args: {
|
|
4715
|
-
"": unknown;
|
|
4716
|
-
};
|
|
4717
|
-
Returns: unknown;
|
|
4718
|
-
};
|
|
4719
|
-
polygon: {
|
|
4720
|
-
Args: {
|
|
4721
|
-
"": unknown;
|
|
4722
|
-
};
|
|
4723
|
-
Returns: unknown;
|
|
4724
|
-
};
|
|
4725
|
-
populate_geometry_columns: {
|
|
5032
|
+
} | {
|
|
4726
5033
|
Args: {
|
|
4727
5034
|
tbl_oid: unknown;
|
|
4728
5035
|
use_typmod?: boolean;
|
|
4729
|
-
} | {
|
|
4730
|
-
use_typmod?: boolean;
|
|
4731
5036
|
};
|
|
4732
5037
|
Returns: number;
|
|
4733
5038
|
};
|
|
4734
|
-
postgis_addbbox: {
|
|
4735
|
-
Args: {
|
|
4736
|
-
"": unknown;
|
|
4737
|
-
};
|
|
4738
|
-
Returns: unknown;
|
|
4739
|
-
};
|
|
4740
5039
|
postgis_constraint_dims: {
|
|
4741
5040
|
Args: {
|
|
4742
5041
|
geomcolumn: string;
|
|
@@ -4761,100 +5060,64 @@ export type Database = {
|
|
|
4761
5060
|
};
|
|
4762
5061
|
Returns: string;
|
|
4763
5062
|
};
|
|
4764
|
-
postgis_dropbbox: {
|
|
4765
|
-
Args: {
|
|
4766
|
-
"": unknown;
|
|
4767
|
-
};
|
|
4768
|
-
Returns: unknown;
|
|
4769
|
-
};
|
|
4770
5063
|
postgis_extensions_upgrade: {
|
|
4771
|
-
Args:
|
|
5064
|
+
Args: never;
|
|
4772
5065
|
Returns: string;
|
|
4773
5066
|
};
|
|
4774
5067
|
postgis_full_version: {
|
|
4775
|
-
Args:
|
|
5068
|
+
Args: never;
|
|
4776
5069
|
Returns: string;
|
|
4777
5070
|
};
|
|
4778
|
-
postgis_geos_noop: {
|
|
4779
|
-
Args: {
|
|
4780
|
-
"": unknown;
|
|
4781
|
-
};
|
|
4782
|
-
Returns: unknown;
|
|
4783
|
-
};
|
|
4784
5071
|
postgis_geos_version: {
|
|
4785
|
-
Args:
|
|
5072
|
+
Args: never;
|
|
4786
5073
|
Returns: string;
|
|
4787
5074
|
};
|
|
4788
|
-
postgis_getbbox: {
|
|
4789
|
-
Args: {
|
|
4790
|
-
"": unknown;
|
|
4791
|
-
};
|
|
4792
|
-
Returns: unknown;
|
|
4793
|
-
};
|
|
4794
|
-
postgis_hasbbox: {
|
|
4795
|
-
Args: {
|
|
4796
|
-
"": unknown;
|
|
4797
|
-
};
|
|
4798
|
-
Returns: boolean;
|
|
4799
|
-
};
|
|
4800
|
-
postgis_index_supportfn: {
|
|
4801
|
-
Args: {
|
|
4802
|
-
"": unknown;
|
|
4803
|
-
};
|
|
4804
|
-
Returns: unknown;
|
|
4805
|
-
};
|
|
4806
5075
|
postgis_lib_build_date: {
|
|
4807
|
-
Args:
|
|
5076
|
+
Args: never;
|
|
4808
5077
|
Returns: string;
|
|
4809
5078
|
};
|
|
4810
5079
|
postgis_lib_revision: {
|
|
4811
|
-
Args:
|
|
5080
|
+
Args: never;
|
|
4812
5081
|
Returns: string;
|
|
4813
5082
|
};
|
|
4814
5083
|
postgis_lib_version: {
|
|
4815
|
-
Args:
|
|
5084
|
+
Args: never;
|
|
4816
5085
|
Returns: string;
|
|
4817
5086
|
};
|
|
4818
5087
|
postgis_libjson_version: {
|
|
4819
|
-
Args:
|
|
5088
|
+
Args: never;
|
|
4820
5089
|
Returns: string;
|
|
4821
5090
|
};
|
|
4822
5091
|
postgis_liblwgeom_version: {
|
|
4823
|
-
Args:
|
|
5092
|
+
Args: never;
|
|
4824
5093
|
Returns: string;
|
|
4825
5094
|
};
|
|
4826
5095
|
postgis_libprotobuf_version: {
|
|
4827
|
-
Args:
|
|
5096
|
+
Args: never;
|
|
4828
5097
|
Returns: string;
|
|
4829
5098
|
};
|
|
4830
5099
|
postgis_libxml_version: {
|
|
4831
|
-
Args:
|
|
5100
|
+
Args: never;
|
|
4832
5101
|
Returns: string;
|
|
4833
5102
|
};
|
|
4834
|
-
postgis_noop: {
|
|
4835
|
-
Args: {
|
|
4836
|
-
"": unknown;
|
|
4837
|
-
};
|
|
4838
|
-
Returns: unknown;
|
|
4839
|
-
};
|
|
4840
5103
|
postgis_proj_version: {
|
|
4841
|
-
Args:
|
|
5104
|
+
Args: never;
|
|
4842
5105
|
Returns: string;
|
|
4843
5106
|
};
|
|
4844
5107
|
postgis_scripts_build_date: {
|
|
4845
|
-
Args:
|
|
5108
|
+
Args: never;
|
|
4846
5109
|
Returns: string;
|
|
4847
5110
|
};
|
|
4848
5111
|
postgis_scripts_installed: {
|
|
4849
|
-
Args:
|
|
5112
|
+
Args: never;
|
|
4850
5113
|
Returns: string;
|
|
4851
5114
|
};
|
|
4852
5115
|
postgis_scripts_released: {
|
|
4853
|
-
Args:
|
|
5116
|
+
Args: never;
|
|
4854
5117
|
Returns: string;
|
|
4855
5118
|
};
|
|
4856
5119
|
postgis_svn_version: {
|
|
4857
|
-
Args:
|
|
5120
|
+
Args: never;
|
|
4858
5121
|
Returns: string;
|
|
4859
5122
|
};
|
|
4860
5123
|
postgis_type_name: {
|
|
@@ -4865,30 +5128,12 @@ export type Database = {
|
|
|
4865
5128
|
};
|
|
4866
5129
|
Returns: string;
|
|
4867
5130
|
};
|
|
4868
|
-
postgis_typmod_dims: {
|
|
4869
|
-
Args: {
|
|
4870
|
-
"": number;
|
|
4871
|
-
};
|
|
4872
|
-
Returns: number;
|
|
4873
|
-
};
|
|
4874
|
-
postgis_typmod_srid: {
|
|
4875
|
-
Args: {
|
|
4876
|
-
"": number;
|
|
4877
|
-
};
|
|
4878
|
-
Returns: number;
|
|
4879
|
-
};
|
|
4880
|
-
postgis_typmod_type: {
|
|
4881
|
-
Args: {
|
|
4882
|
-
"": number;
|
|
4883
|
-
};
|
|
4884
|
-
Returns: string;
|
|
4885
|
-
};
|
|
4886
5131
|
postgis_version: {
|
|
4887
|
-
Args:
|
|
5132
|
+
Args: never;
|
|
4888
5133
|
Returns: string;
|
|
4889
5134
|
};
|
|
4890
5135
|
postgis_wagyu_version: {
|
|
4891
|
-
Args:
|
|
5136
|
+
Args: never;
|
|
4892
5137
|
Returns: string;
|
|
4893
5138
|
};
|
|
4894
5139
|
recommend_language_versions: {
|
|
@@ -4915,19 +5160,19 @@ export type Database = {
|
|
|
4915
5160
|
}[];
|
|
4916
5161
|
};
|
|
4917
5162
|
refresh_all_global_orders: {
|
|
4918
|
-
Args:
|
|
5163
|
+
Args: never;
|
|
4919
5164
|
Returns: undefined;
|
|
4920
5165
|
};
|
|
4921
5166
|
refresh_progress_materialized_views_concurrently: {
|
|
4922
|
-
Args:
|
|
5167
|
+
Args: never;
|
|
4923
5168
|
Returns: undefined;
|
|
4924
5169
|
};
|
|
4925
5170
|
refresh_progress_materialized_views_full: {
|
|
4926
|
-
Args:
|
|
5171
|
+
Args: never;
|
|
4927
5172
|
Returns: undefined;
|
|
4928
5173
|
};
|
|
4929
5174
|
refresh_progress_materialized_views_safe: {
|
|
4930
|
-
Args:
|
|
5175
|
+
Args: never;
|
|
4931
5176
|
Returns: undefined;
|
|
4932
5177
|
};
|
|
4933
5178
|
refresh_region_spatial_cache: {
|
|
@@ -4998,14 +5243,8 @@ export type Database = {
|
|
|
4998
5243
|
similarity_threshold_used: number;
|
|
4999
5244
|
}[];
|
|
5000
5245
|
};
|
|
5001
|
-
set_limit: {
|
|
5002
|
-
Args: {
|
|
5003
|
-
"": number;
|
|
5004
|
-
};
|
|
5005
|
-
Returns: number;
|
|
5006
|
-
};
|
|
5007
5246
|
show_limit: {
|
|
5008
|
-
Args:
|
|
5247
|
+
Args: never;
|
|
5009
5248
|
Returns: number;
|
|
5010
5249
|
};
|
|
5011
5250
|
show_trgm: {
|
|
@@ -5014,18 +5253,6 @@ export type Database = {
|
|
|
5014
5253
|
};
|
|
5015
5254
|
Returns: string[];
|
|
5016
5255
|
};
|
|
5017
|
-
spheroid_in: {
|
|
5018
|
-
Args: {
|
|
5019
|
-
"": unknown;
|
|
5020
|
-
};
|
|
5021
|
-
Returns: unknown;
|
|
5022
|
-
};
|
|
5023
|
-
spheroid_out: {
|
|
5024
|
-
Args: {
|
|
5025
|
-
"": unknown;
|
|
5026
|
-
};
|
|
5027
|
-
Returns: unknown;
|
|
5028
|
-
};
|
|
5029
5256
|
st_3dclosestpoint: {
|
|
5030
5257
|
Args: {
|
|
5031
5258
|
geom1: unknown;
|
|
@@ -5047,12 +5274,6 @@ export type Database = {
|
|
|
5047
5274
|
};
|
|
5048
5275
|
Returns: boolean;
|
|
5049
5276
|
};
|
|
5050
|
-
st_3dlength: {
|
|
5051
|
-
Args: {
|
|
5052
|
-
"": unknown;
|
|
5053
|
-
};
|
|
5054
|
-
Returns: number;
|
|
5055
|
-
};
|
|
5056
5277
|
st_3dlongestline: {
|
|
5057
5278
|
Args: {
|
|
5058
5279
|
geom1: unknown;
|
|
@@ -5074,12 +5295,6 @@ export type Database = {
|
|
|
5074
5295
|
};
|
|
5075
5296
|
Returns: number;
|
|
5076
5297
|
};
|
|
5077
|
-
st_3dperimeter: {
|
|
5078
|
-
Args: {
|
|
5079
|
-
"": unknown;
|
|
5080
|
-
};
|
|
5081
|
-
Returns: number;
|
|
5082
|
-
};
|
|
5083
5298
|
st_3dshortestline: {
|
|
5084
5299
|
Args: {
|
|
5085
5300
|
geom1: unknown;
|
|
@@ -5098,7 +5313,10 @@ export type Database = {
|
|
|
5098
5313
|
Args: {
|
|
5099
5314
|
line1: unknown;
|
|
5100
5315
|
line2: unknown;
|
|
5101
|
-
}
|
|
5316
|
+
};
|
|
5317
|
+
Returns: number;
|
|
5318
|
+
} | {
|
|
5319
|
+
Args: {
|
|
5102
5320
|
pt1: unknown;
|
|
5103
5321
|
pt2: unknown;
|
|
5104
5322
|
pt3: unknown;
|
|
@@ -5108,29 +5326,16 @@ export type Database = {
|
|
|
5108
5326
|
};
|
|
5109
5327
|
st_area: {
|
|
5110
5328
|
Args: {
|
|
5111
|
-
"": string;
|
|
5112
|
-
} | {
|
|
5113
|
-
"": unknown;
|
|
5114
|
-
} | {
|
|
5115
5329
|
geog: unknown;
|
|
5116
5330
|
use_spheroid?: boolean;
|
|
5117
5331
|
};
|
|
5118
5332
|
Returns: number;
|
|
5119
|
-
}
|
|
5120
|
-
st_area2d: {
|
|
5333
|
+
} | {
|
|
5121
5334
|
Args: {
|
|
5122
|
-
"":
|
|
5335
|
+
"": string;
|
|
5123
5336
|
};
|
|
5124
5337
|
Returns: number;
|
|
5125
5338
|
};
|
|
5126
|
-
st_asbinary: {
|
|
5127
|
-
Args: {
|
|
5128
|
-
"": unknown;
|
|
5129
|
-
} | {
|
|
5130
|
-
"": unknown;
|
|
5131
|
-
};
|
|
5132
|
-
Returns: string;
|
|
5133
|
-
};
|
|
5134
5339
|
st_asencodedpolyline: {
|
|
5135
5340
|
Args: {
|
|
5136
5341
|
geom: unknown;
|
|
@@ -5138,90 +5343,101 @@ export type Database = {
|
|
|
5138
5343
|
};
|
|
5139
5344
|
Returns: string;
|
|
5140
5345
|
};
|
|
5141
|
-
st_asewkb: {
|
|
5142
|
-
Args: {
|
|
5143
|
-
"": unknown;
|
|
5144
|
-
};
|
|
5145
|
-
Returns: string;
|
|
5146
|
-
};
|
|
5147
5346
|
st_asewkt: {
|
|
5148
5347
|
Args: {
|
|
5149
5348
|
"": string;
|
|
5150
|
-
} | {
|
|
5151
|
-
"": unknown;
|
|
5152
|
-
} | {
|
|
5153
|
-
"": unknown;
|
|
5154
5349
|
};
|
|
5155
5350
|
Returns: string;
|
|
5156
5351
|
};
|
|
5157
5352
|
st_asgeojson: {
|
|
5158
5353
|
Args: {
|
|
5159
|
-
|
|
5160
|
-
} | {
|
|
5161
|
-
geog: unknown;
|
|
5354
|
+
geom_column?: string;
|
|
5162
5355
|
maxdecimaldigits?: number;
|
|
5163
|
-
|
|
5164
|
-
|
|
5356
|
+
pretty_bool?: boolean;
|
|
5357
|
+
r: Record<string, unknown>;
|
|
5358
|
+
};
|
|
5359
|
+
Returns: string;
|
|
5360
|
+
} | {
|
|
5361
|
+
Args: {
|
|
5165
5362
|
geom: unknown;
|
|
5166
5363
|
maxdecimaldigits?: number;
|
|
5167
5364
|
options?: number;
|
|
5168
|
-
}
|
|
5169
|
-
|
|
5365
|
+
};
|
|
5366
|
+
Returns: string;
|
|
5367
|
+
} | {
|
|
5368
|
+
Args: {
|
|
5369
|
+
geog: unknown;
|
|
5170
5370
|
maxdecimaldigits?: number;
|
|
5171
|
-
|
|
5172
|
-
|
|
5371
|
+
options?: number;
|
|
5372
|
+
};
|
|
5373
|
+
Returns: string;
|
|
5374
|
+
} | {
|
|
5375
|
+
Args: {
|
|
5376
|
+
"": string;
|
|
5173
5377
|
};
|
|
5174
5378
|
Returns: string;
|
|
5175
5379
|
};
|
|
5176
5380
|
st_asgml: {
|
|
5177
5381
|
Args: {
|
|
5178
|
-
|
|
5179
|
-
} | {
|
|
5180
|
-
geog: unknown;
|
|
5181
|
-
id?: string;
|
|
5382
|
+
geom: unknown;
|
|
5182
5383
|
maxdecimaldigits?: number;
|
|
5183
|
-
nprefix?: string;
|
|
5184
5384
|
options?: number;
|
|
5185
|
-
}
|
|
5186
|
-
|
|
5385
|
+
};
|
|
5386
|
+
Returns: string;
|
|
5387
|
+
} | {
|
|
5388
|
+
Args: {
|
|
5389
|
+
geom: unknown;
|
|
5187
5390
|
id?: string;
|
|
5188
5391
|
maxdecimaldigits?: number;
|
|
5189
5392
|
nprefix?: string;
|
|
5190
5393
|
options?: number;
|
|
5191
5394
|
version: number;
|
|
5192
|
-
}
|
|
5193
|
-
|
|
5395
|
+
};
|
|
5396
|
+
Returns: string;
|
|
5397
|
+
} | {
|
|
5398
|
+
Args: {
|
|
5399
|
+
geog: unknown;
|
|
5194
5400
|
id?: string;
|
|
5195
5401
|
maxdecimaldigits?: number;
|
|
5196
5402
|
nprefix?: string;
|
|
5197
5403
|
options?: number;
|
|
5198
5404
|
version: number;
|
|
5199
|
-
}
|
|
5200
|
-
|
|
5405
|
+
};
|
|
5406
|
+
Returns: string;
|
|
5407
|
+
} | {
|
|
5408
|
+
Args: {
|
|
5409
|
+
geog: unknown;
|
|
5410
|
+
id?: string;
|
|
5201
5411
|
maxdecimaldigits?: number;
|
|
5412
|
+
nprefix?: string;
|
|
5202
5413
|
options?: number;
|
|
5203
5414
|
};
|
|
5204
5415
|
Returns: string;
|
|
5205
|
-
}
|
|
5206
|
-
st_ashexewkb: {
|
|
5416
|
+
} | {
|
|
5207
5417
|
Args: {
|
|
5208
|
-
"":
|
|
5418
|
+
"": string;
|
|
5209
5419
|
};
|
|
5210
5420
|
Returns: string;
|
|
5211
5421
|
};
|
|
5212
5422
|
st_askml: {
|
|
5213
5423
|
Args: {
|
|
5214
|
-
|
|
5215
|
-
} | {
|
|
5216
|
-
geog: unknown;
|
|
5424
|
+
geom: unknown;
|
|
5217
5425
|
maxdecimaldigits?: number;
|
|
5218
5426
|
nprefix?: string;
|
|
5219
|
-
}
|
|
5220
|
-
|
|
5427
|
+
};
|
|
5428
|
+
Returns: string;
|
|
5429
|
+
} | {
|
|
5430
|
+
Args: {
|
|
5431
|
+
geog: unknown;
|
|
5221
5432
|
maxdecimaldigits?: number;
|
|
5222
5433
|
nprefix?: string;
|
|
5223
5434
|
};
|
|
5224
5435
|
Returns: string;
|
|
5436
|
+
} | {
|
|
5437
|
+
Args: {
|
|
5438
|
+
"": string;
|
|
5439
|
+
};
|
|
5440
|
+
Returns: string;
|
|
5225
5441
|
};
|
|
5226
5442
|
st_aslatlontext: {
|
|
5227
5443
|
Args: {
|
|
@@ -5249,25 +5465,27 @@ export type Database = {
|
|
|
5249
5465
|
};
|
|
5250
5466
|
st_assvg: {
|
|
5251
5467
|
Args: {
|
|
5252
|
-
|
|
5253
|
-
} | {
|
|
5254
|
-
geog: unknown;
|
|
5468
|
+
geom: unknown;
|
|
5255
5469
|
maxdecimaldigits?: number;
|
|
5256
5470
|
rel?: number;
|
|
5257
|
-
}
|
|
5258
|
-
|
|
5471
|
+
};
|
|
5472
|
+
Returns: string;
|
|
5473
|
+
} | {
|
|
5474
|
+
Args: {
|
|
5475
|
+
geog: unknown;
|
|
5259
5476
|
maxdecimaldigits?: number;
|
|
5260
5477
|
rel?: number;
|
|
5261
5478
|
};
|
|
5262
5479
|
Returns: string;
|
|
5480
|
+
} | {
|
|
5481
|
+
Args: {
|
|
5482
|
+
"": string;
|
|
5483
|
+
};
|
|
5484
|
+
Returns: string;
|
|
5263
5485
|
};
|
|
5264
5486
|
st_astext: {
|
|
5265
5487
|
Args: {
|
|
5266
5488
|
"": string;
|
|
5267
|
-
} | {
|
|
5268
|
-
"": unknown;
|
|
5269
|
-
} | {
|
|
5270
|
-
"": unknown;
|
|
5271
5489
|
};
|
|
5272
5490
|
Returns: string;
|
|
5273
5491
|
};
|
|
@@ -5280,7 +5498,10 @@ export type Database = {
|
|
|
5280
5498
|
prec_z?: number;
|
|
5281
5499
|
with_boxes?: boolean;
|
|
5282
5500
|
with_sizes?: boolean;
|
|
5283
|
-
}
|
|
5501
|
+
};
|
|
5502
|
+
Returns: string;
|
|
5503
|
+
} | {
|
|
5504
|
+
Args: {
|
|
5284
5505
|
geom: unknown;
|
|
5285
5506
|
prec?: number;
|
|
5286
5507
|
prec_m?: number;
|
|
@@ -5300,19 +5521,16 @@ export type Database = {
|
|
|
5300
5521
|
};
|
|
5301
5522
|
st_azimuth: {
|
|
5302
5523
|
Args: {
|
|
5303
|
-
geog1: unknown;
|
|
5304
|
-
geog2: unknown;
|
|
5305
|
-
} | {
|
|
5306
5524
|
geom1: unknown;
|
|
5307
5525
|
geom2: unknown;
|
|
5308
5526
|
};
|
|
5309
5527
|
Returns: number;
|
|
5310
|
-
}
|
|
5311
|
-
st_boundary: {
|
|
5528
|
+
} | {
|
|
5312
5529
|
Args: {
|
|
5313
|
-
|
|
5530
|
+
geog1: unknown;
|
|
5531
|
+
geog2: unknown;
|
|
5314
5532
|
};
|
|
5315
|
-
Returns:
|
|
5533
|
+
Returns: number;
|
|
5316
5534
|
};
|
|
5317
5535
|
st_boundingdiagonal: {
|
|
5318
5536
|
Args: {
|
|
@@ -5326,30 +5544,19 @@ export type Database = {
|
|
|
5326
5544
|
geom: unknown;
|
|
5327
5545
|
options?: string;
|
|
5328
5546
|
radius: number;
|
|
5329
|
-
} | {
|
|
5330
|
-
geom: unknown;
|
|
5331
|
-
quadsegs: number;
|
|
5332
|
-
radius: number;
|
|
5333
5547
|
};
|
|
5334
5548
|
Returns: unknown;
|
|
5335
|
-
}
|
|
5336
|
-
st_buildarea: {
|
|
5549
|
+
} | {
|
|
5337
5550
|
Args: {
|
|
5338
|
-
|
|
5551
|
+
geom: unknown;
|
|
5552
|
+
quadsegs: number;
|
|
5553
|
+
radius: number;
|
|
5339
5554
|
};
|
|
5340
5555
|
Returns: unknown;
|
|
5341
5556
|
};
|
|
5342
5557
|
st_centroid: {
|
|
5343
5558
|
Args: {
|
|
5344
5559
|
"": string;
|
|
5345
|
-
} | {
|
|
5346
|
-
"": unknown;
|
|
5347
|
-
};
|
|
5348
|
-
Returns: unknown;
|
|
5349
|
-
};
|
|
5350
|
-
st_cleangeometry: {
|
|
5351
|
-
Args: {
|
|
5352
|
-
"": unknown;
|
|
5353
5560
|
};
|
|
5354
5561
|
Returns: unknown;
|
|
5355
5562
|
};
|
|
@@ -5367,33 +5574,13 @@ export type Database = {
|
|
|
5367
5574
|
};
|
|
5368
5575
|
Returns: unknown;
|
|
5369
5576
|
};
|
|
5370
|
-
st_clusterintersecting: {
|
|
5371
|
-
Args: {
|
|
5372
|
-
"": unknown[];
|
|
5373
|
-
};
|
|
5374
|
-
Returns: unknown[];
|
|
5375
|
-
};
|
|
5376
5577
|
st_collect: {
|
|
5377
5578
|
Args: {
|
|
5378
|
-
"": unknown[];
|
|
5379
|
-
} | {
|
|
5380
5579
|
geom1: unknown;
|
|
5381
5580
|
geom2: unknown;
|
|
5382
5581
|
};
|
|
5383
5582
|
Returns: unknown;
|
|
5384
5583
|
};
|
|
5385
|
-
st_collectionextract: {
|
|
5386
|
-
Args: {
|
|
5387
|
-
"": unknown;
|
|
5388
|
-
};
|
|
5389
|
-
Returns: unknown;
|
|
5390
|
-
};
|
|
5391
|
-
st_collectionhomogenize: {
|
|
5392
|
-
Args: {
|
|
5393
|
-
"": unknown;
|
|
5394
|
-
};
|
|
5395
|
-
Returns: unknown;
|
|
5396
|
-
};
|
|
5397
5584
|
st_concavehull: {
|
|
5398
5585
|
Args: {
|
|
5399
5586
|
param_allow_holes?: boolean;
|
|
@@ -5416,12 +5603,6 @@ export type Database = {
|
|
|
5416
5603
|
};
|
|
5417
5604
|
Returns: boolean;
|
|
5418
5605
|
};
|
|
5419
|
-
st_convexhull: {
|
|
5420
|
-
Args: {
|
|
5421
|
-
"": unknown;
|
|
5422
|
-
};
|
|
5423
|
-
Returns: unknown;
|
|
5424
|
-
};
|
|
5425
5606
|
st_coorddim: {
|
|
5426
5607
|
Args: {
|
|
5427
5608
|
geometry: unknown;
|
|
@@ -5432,7 +5613,10 @@ export type Database = {
|
|
|
5432
5613
|
Args: {
|
|
5433
5614
|
geog1: unknown;
|
|
5434
5615
|
geog2: unknown;
|
|
5435
|
-
}
|
|
5616
|
+
};
|
|
5617
|
+
Returns: boolean;
|
|
5618
|
+
} | {
|
|
5619
|
+
Args: {
|
|
5436
5620
|
geom1: unknown;
|
|
5437
5621
|
geom2: unknown;
|
|
5438
5622
|
};
|
|
@@ -5442,7 +5626,10 @@ export type Database = {
|
|
|
5442
5626
|
Args: {
|
|
5443
5627
|
geog1: unknown;
|
|
5444
5628
|
geog2: unknown;
|
|
5445
|
-
}
|
|
5629
|
+
};
|
|
5630
|
+
Returns: boolean;
|
|
5631
|
+
} | {
|
|
5632
|
+
Args: {
|
|
5446
5633
|
geom1: unknown;
|
|
5447
5634
|
geom2: unknown;
|
|
5448
5635
|
};
|
|
@@ -5480,12 +5667,6 @@ export type Database = {
|
|
|
5480
5667
|
};
|
|
5481
5668
|
Returns: unknown;
|
|
5482
5669
|
};
|
|
5483
|
-
st_dimension: {
|
|
5484
|
-
Args: {
|
|
5485
|
-
"": unknown;
|
|
5486
|
-
};
|
|
5487
|
-
Returns: number;
|
|
5488
|
-
};
|
|
5489
5670
|
st_disjoint: {
|
|
5490
5671
|
Args: {
|
|
5491
5672
|
geom1: unknown;
|
|
@@ -5494,13 +5675,16 @@ export type Database = {
|
|
|
5494
5675
|
Returns: boolean;
|
|
5495
5676
|
};
|
|
5496
5677
|
st_distance: {
|
|
5678
|
+
Args: {
|
|
5679
|
+
geom1: unknown;
|
|
5680
|
+
geom2: unknown;
|
|
5681
|
+
};
|
|
5682
|
+
Returns: number;
|
|
5683
|
+
} | {
|
|
5497
5684
|
Args: {
|
|
5498
5685
|
geog1: unknown;
|
|
5499
5686
|
geog2: unknown;
|
|
5500
5687
|
use_spheroid?: boolean;
|
|
5501
|
-
} | {
|
|
5502
|
-
geom1: unknown;
|
|
5503
|
-
geom2: unknown;
|
|
5504
5688
|
};
|
|
5505
5689
|
Returns: number;
|
|
5506
5690
|
};
|
|
@@ -5508,7 +5692,10 @@ export type Database = {
|
|
|
5508
5692
|
Args: {
|
|
5509
5693
|
geom1: unknown;
|
|
5510
5694
|
geom2: unknown;
|
|
5511
|
-
}
|
|
5695
|
+
};
|
|
5696
|
+
Returns: number;
|
|
5697
|
+
} | {
|
|
5698
|
+
Args: {
|
|
5512
5699
|
geom1: unknown;
|
|
5513
5700
|
geom2: unknown;
|
|
5514
5701
|
radius: number;
|
|
@@ -5522,30 +5709,6 @@ export type Database = {
|
|
|
5522
5709
|
};
|
|
5523
5710
|
Returns: number;
|
|
5524
5711
|
};
|
|
5525
|
-
st_dump: {
|
|
5526
|
-
Args: {
|
|
5527
|
-
"": unknown;
|
|
5528
|
-
};
|
|
5529
|
-
Returns: Database["public"]["CompositeTypes"]["geometry_dump"][];
|
|
5530
|
-
};
|
|
5531
|
-
st_dumppoints: {
|
|
5532
|
-
Args: {
|
|
5533
|
-
"": unknown;
|
|
5534
|
-
};
|
|
5535
|
-
Returns: Database["public"]["CompositeTypes"]["geometry_dump"][];
|
|
5536
|
-
};
|
|
5537
|
-
st_dumprings: {
|
|
5538
|
-
Args: {
|
|
5539
|
-
"": unknown;
|
|
5540
|
-
};
|
|
5541
|
-
Returns: Database["public"]["CompositeTypes"]["geometry_dump"][];
|
|
5542
|
-
};
|
|
5543
|
-
st_dumpsegments: {
|
|
5544
|
-
Args: {
|
|
5545
|
-
"": unknown;
|
|
5546
|
-
};
|
|
5547
|
-
Returns: Database["public"]["CompositeTypes"]["geometry_dump"][];
|
|
5548
|
-
};
|
|
5549
5712
|
st_dwithin: {
|
|
5550
5713
|
Args: {
|
|
5551
5714
|
geog1: unknown;
|
|
@@ -5555,18 +5718,6 @@ export type Database = {
|
|
|
5555
5718
|
};
|
|
5556
5719
|
Returns: boolean;
|
|
5557
5720
|
};
|
|
5558
|
-
st_endpoint: {
|
|
5559
|
-
Args: {
|
|
5560
|
-
"": unknown;
|
|
5561
|
-
};
|
|
5562
|
-
Returns: unknown;
|
|
5563
|
-
};
|
|
5564
|
-
st_envelope: {
|
|
5565
|
-
Args: {
|
|
5566
|
-
"": unknown;
|
|
5567
|
-
};
|
|
5568
|
-
Returns: unknown;
|
|
5569
|
-
};
|
|
5570
5721
|
st_equals: {
|
|
5571
5722
|
Args: {
|
|
5572
5723
|
geom1: unknown;
|
|
@@ -5576,15 +5727,6 @@ export type Database = {
|
|
|
5576
5727
|
};
|
|
5577
5728
|
st_expand: {
|
|
5578
5729
|
Args: {
|
|
5579
|
-
box: unknown;
|
|
5580
|
-
dx: number;
|
|
5581
|
-
dy: number;
|
|
5582
|
-
} | {
|
|
5583
|
-
box: unknown;
|
|
5584
|
-
dx: number;
|
|
5585
|
-
dy: number;
|
|
5586
|
-
dz?: number;
|
|
5587
|
-
} | {
|
|
5588
5730
|
dm?: number;
|
|
5589
5731
|
dx: number;
|
|
5590
5732
|
dy: number;
|
|
@@ -5592,22 +5734,19 @@ export type Database = {
|
|
|
5592
5734
|
geom: unknown;
|
|
5593
5735
|
};
|
|
5594
5736
|
Returns: unknown;
|
|
5595
|
-
}
|
|
5596
|
-
st_exteriorring: {
|
|
5597
|
-
Args: {
|
|
5598
|
-
"": unknown;
|
|
5599
|
-
};
|
|
5600
|
-
Returns: unknown;
|
|
5601
|
-
};
|
|
5602
|
-
st_flipcoordinates: {
|
|
5737
|
+
} | {
|
|
5603
5738
|
Args: {
|
|
5604
|
-
|
|
5739
|
+
box: unknown;
|
|
5740
|
+
dx: number;
|
|
5741
|
+
dy: number;
|
|
5742
|
+
dz?: number;
|
|
5605
5743
|
};
|
|
5606
5744
|
Returns: unknown;
|
|
5607
|
-
}
|
|
5608
|
-
st_force2d: {
|
|
5745
|
+
} | {
|
|
5609
5746
|
Args: {
|
|
5610
|
-
|
|
5747
|
+
box: unknown;
|
|
5748
|
+
dx: number;
|
|
5749
|
+
dy: number;
|
|
5611
5750
|
};
|
|
5612
5751
|
Returns: unknown;
|
|
5613
5752
|
};
|
|
@@ -5640,60 +5779,21 @@ export type Database = {
|
|
|
5640
5779
|
};
|
|
5641
5780
|
Returns: unknown;
|
|
5642
5781
|
};
|
|
5643
|
-
st_forcecollection: {
|
|
5644
|
-
Args: {
|
|
5645
|
-
"": unknown;
|
|
5646
|
-
};
|
|
5647
|
-
Returns: unknown;
|
|
5648
|
-
};
|
|
5649
|
-
st_forcecurve: {
|
|
5650
|
-
Args: {
|
|
5651
|
-
"": unknown;
|
|
5652
|
-
};
|
|
5653
|
-
Returns: unknown;
|
|
5654
|
-
};
|
|
5655
|
-
st_forcepolygonccw: {
|
|
5656
|
-
Args: {
|
|
5657
|
-
"": unknown;
|
|
5658
|
-
};
|
|
5659
|
-
Returns: unknown;
|
|
5660
|
-
};
|
|
5661
|
-
st_forcepolygoncw: {
|
|
5662
|
-
Args: {
|
|
5663
|
-
"": unknown;
|
|
5664
|
-
};
|
|
5665
|
-
Returns: unknown;
|
|
5666
|
-
};
|
|
5667
|
-
st_forcerhr: {
|
|
5668
|
-
Args: {
|
|
5669
|
-
"": unknown;
|
|
5670
|
-
};
|
|
5671
|
-
Returns: unknown;
|
|
5672
|
-
};
|
|
5673
|
-
st_forcesfs: {
|
|
5674
|
-
Args: {
|
|
5675
|
-
"": unknown;
|
|
5676
|
-
};
|
|
5677
|
-
Returns: unknown;
|
|
5678
|
-
};
|
|
5679
5782
|
st_generatepoints: {
|
|
5680
5783
|
Args: {
|
|
5681
5784
|
area: unknown;
|
|
5682
5785
|
npoints: number;
|
|
5683
|
-
} | {
|
|
5684
|
-
area: unknown;
|
|
5685
|
-
npoints: number;
|
|
5686
5786
|
seed: number;
|
|
5687
5787
|
};
|
|
5688
5788
|
Returns: unknown;
|
|
5689
|
-
}
|
|
5690
|
-
st_geogfromtext: {
|
|
5789
|
+
} | {
|
|
5691
5790
|
Args: {
|
|
5692
|
-
|
|
5791
|
+
area: unknown;
|
|
5792
|
+
npoints: number;
|
|
5693
5793
|
};
|
|
5694
5794
|
Returns: unknown;
|
|
5695
5795
|
};
|
|
5696
|
-
|
|
5796
|
+
st_geogfromtext: {
|
|
5697
5797
|
Args: {
|
|
5698
5798
|
"": string;
|
|
5699
5799
|
};
|
|
@@ -5709,7 +5809,10 @@ export type Database = {
|
|
|
5709
5809
|
Args: {
|
|
5710
5810
|
geog: unknown;
|
|
5711
5811
|
maxchars?: number;
|
|
5712
|
-
}
|
|
5812
|
+
};
|
|
5813
|
+
Returns: string;
|
|
5814
|
+
} | {
|
|
5815
|
+
Args: {
|
|
5713
5816
|
geom: unknown;
|
|
5714
5817
|
maxchars?: number;
|
|
5715
5818
|
};
|
|
@@ -5721,12 +5824,6 @@ export type Database = {
|
|
|
5721
5824
|
};
|
|
5722
5825
|
Returns: unknown;
|
|
5723
5826
|
};
|
|
5724
|
-
st_geomcollfromwkb: {
|
|
5725
|
-
Args: {
|
|
5726
|
-
"": string;
|
|
5727
|
-
};
|
|
5728
|
-
Returns: unknown;
|
|
5729
|
-
};
|
|
5730
5827
|
st_geometricmedian: {
|
|
5731
5828
|
Args: {
|
|
5732
5829
|
fail_if_not_converged?: boolean;
|
|
@@ -5742,18 +5839,6 @@ export type Database = {
|
|
|
5742
5839
|
};
|
|
5743
5840
|
Returns: unknown;
|
|
5744
5841
|
};
|
|
5745
|
-
st_geometrytype: {
|
|
5746
|
-
Args: {
|
|
5747
|
-
"": unknown;
|
|
5748
|
-
};
|
|
5749
|
-
Returns: string;
|
|
5750
|
-
};
|
|
5751
|
-
st_geomfromewkb: {
|
|
5752
|
-
Args: {
|
|
5753
|
-
"": string;
|
|
5754
|
-
};
|
|
5755
|
-
Returns: unknown;
|
|
5756
|
-
};
|
|
5757
5842
|
st_geomfromewkt: {
|
|
5758
5843
|
Args: {
|
|
5759
5844
|
"": string;
|
|
@@ -5763,9 +5848,15 @@ export type Database = {
|
|
|
5763
5848
|
st_geomfromgeojson: {
|
|
5764
5849
|
Args: {
|
|
5765
5850
|
"": Json;
|
|
5766
|
-
}
|
|
5851
|
+
};
|
|
5852
|
+
Returns: unknown;
|
|
5853
|
+
} | {
|
|
5854
|
+
Args: {
|
|
5767
5855
|
"": Json;
|
|
5768
|
-
}
|
|
5856
|
+
};
|
|
5857
|
+
Returns: unknown;
|
|
5858
|
+
} | {
|
|
5859
|
+
Args: {
|
|
5769
5860
|
"": string;
|
|
5770
5861
|
};
|
|
5771
5862
|
Returns: unknown;
|
|
@@ -5794,18 +5885,6 @@ export type Database = {
|
|
|
5794
5885
|
};
|
|
5795
5886
|
Returns: unknown;
|
|
5796
5887
|
};
|
|
5797
|
-
st_geomfromtwkb: {
|
|
5798
|
-
Args: {
|
|
5799
|
-
"": string;
|
|
5800
|
-
};
|
|
5801
|
-
Returns: unknown;
|
|
5802
|
-
};
|
|
5803
|
-
st_geomfromwkb: {
|
|
5804
|
-
Args: {
|
|
5805
|
-
"": string;
|
|
5806
|
-
};
|
|
5807
|
-
Returns: unknown;
|
|
5808
|
-
};
|
|
5809
5888
|
st_gmltosql: {
|
|
5810
5889
|
Args: {
|
|
5811
5890
|
"": string;
|
|
@@ -5836,81 +5915,36 @@ export type Database = {
|
|
|
5836
5915
|
};
|
|
5837
5916
|
st_hexagongrid: {
|
|
5838
5917
|
Args: {
|
|
5839
|
-
bounds: unknown;
|
|
5840
|
-
size: number;
|
|
5841
|
-
};
|
|
5842
|
-
Returns: Record<string, unknown>[];
|
|
5843
|
-
};
|
|
5844
|
-
st_interpolatepoint: {
|
|
5845
|
-
Args: {
|
|
5846
|
-
line: unknown;
|
|
5847
|
-
point: unknown;
|
|
5848
|
-
};
|
|
5849
|
-
Returns: number;
|
|
5850
|
-
};
|
|
5851
|
-
st_intersection: {
|
|
5852
|
-
Args: {
|
|
5853
|
-
geom1: unknown;
|
|
5854
|
-
geom2: unknown;
|
|
5855
|
-
gridsize?: number;
|
|
5856
|
-
};
|
|
5857
|
-
Returns: unknown;
|
|
5858
|
-
};
|
|
5859
|
-
st_intersects: {
|
|
5860
|
-
Args: {
|
|
5861
|
-
geog1: unknown;
|
|
5862
|
-
geog2: unknown;
|
|
5863
|
-
} | {
|
|
5864
|
-
geom1: unknown;
|
|
5865
|
-
geom2: unknown;
|
|
5866
|
-
};
|
|
5867
|
-
Returns: boolean;
|
|
5868
|
-
};
|
|
5869
|
-
st_isclosed: {
|
|
5870
|
-
Args: {
|
|
5871
|
-
"": unknown;
|
|
5872
|
-
};
|
|
5873
|
-
Returns: boolean;
|
|
5874
|
-
};
|
|
5875
|
-
st_iscollection: {
|
|
5876
|
-
Args: {
|
|
5877
|
-
"": unknown;
|
|
5878
|
-
};
|
|
5879
|
-
Returns: boolean;
|
|
5880
|
-
};
|
|
5881
|
-
st_isempty: {
|
|
5882
|
-
Args: {
|
|
5883
|
-
"": unknown;
|
|
5884
|
-
};
|
|
5885
|
-
Returns: boolean;
|
|
5886
|
-
};
|
|
5887
|
-
st_ispolygonccw: {
|
|
5888
|
-
Args: {
|
|
5889
|
-
"": unknown;
|
|
5918
|
+
bounds: unknown;
|
|
5919
|
+
size: number;
|
|
5890
5920
|
};
|
|
5891
|
-
Returns:
|
|
5921
|
+
Returns: Record<string, unknown>[];
|
|
5892
5922
|
};
|
|
5893
|
-
|
|
5923
|
+
st_interpolatepoint: {
|
|
5894
5924
|
Args: {
|
|
5895
|
-
|
|
5925
|
+
line: unknown;
|
|
5926
|
+
point: unknown;
|
|
5896
5927
|
};
|
|
5897
|
-
Returns:
|
|
5928
|
+
Returns: number;
|
|
5898
5929
|
};
|
|
5899
|
-
|
|
5930
|
+
st_intersection: {
|
|
5900
5931
|
Args: {
|
|
5901
|
-
|
|
5932
|
+
geom1: unknown;
|
|
5933
|
+
geom2: unknown;
|
|
5934
|
+
gridsize?: number;
|
|
5902
5935
|
};
|
|
5903
|
-
Returns:
|
|
5936
|
+
Returns: unknown;
|
|
5904
5937
|
};
|
|
5905
|
-
|
|
5938
|
+
st_intersects: {
|
|
5906
5939
|
Args: {
|
|
5907
|
-
|
|
5940
|
+
geom1: unknown;
|
|
5941
|
+
geom2: unknown;
|
|
5908
5942
|
};
|
|
5909
5943
|
Returns: boolean;
|
|
5910
|
-
}
|
|
5911
|
-
st_isvalid: {
|
|
5944
|
+
} | {
|
|
5912
5945
|
Args: {
|
|
5913
|
-
|
|
5946
|
+
geog1: unknown;
|
|
5947
|
+
geog2: unknown;
|
|
5914
5948
|
};
|
|
5915
5949
|
Returns: boolean;
|
|
5916
5950
|
};
|
|
@@ -5920,33 +5954,22 @@ export type Database = {
|
|
|
5920
5954
|
geom: unknown;
|
|
5921
5955
|
};
|
|
5922
5956
|
Returns: Database["public"]["CompositeTypes"]["valid_detail"];
|
|
5923
|
-
|
|
5924
|
-
|
|
5925
|
-
|
|
5926
|
-
|
|
5927
|
-
|
|
5928
|
-
Returns: string;
|
|
5929
|
-
};
|
|
5930
|
-
st_isvalidtrajectory: {
|
|
5931
|
-
Args: {
|
|
5932
|
-
"": unknown;
|
|
5957
|
+
SetofOptions: {
|
|
5958
|
+
from: "*";
|
|
5959
|
+
to: "valid_detail";
|
|
5960
|
+
isOneToOne: true;
|
|
5961
|
+
isSetofReturn: false;
|
|
5933
5962
|
};
|
|
5934
|
-
Returns: boolean;
|
|
5935
5963
|
};
|
|
5936
5964
|
st_length: {
|
|
5937
5965
|
Args: {
|
|
5938
|
-
"": string;
|
|
5939
|
-
} | {
|
|
5940
|
-
"": unknown;
|
|
5941
|
-
} | {
|
|
5942
5966
|
geog: unknown;
|
|
5943
5967
|
use_spheroid?: boolean;
|
|
5944
5968
|
};
|
|
5945
5969
|
Returns: number;
|
|
5946
|
-
}
|
|
5947
|
-
st_length2d: {
|
|
5970
|
+
} | {
|
|
5948
5971
|
Args: {
|
|
5949
|
-
"":
|
|
5972
|
+
"": string;
|
|
5950
5973
|
};
|
|
5951
5974
|
Returns: number;
|
|
5952
5975
|
};
|
|
@@ -5971,24 +5994,12 @@ export type Database = {
|
|
|
5971
5994
|
};
|
|
5972
5995
|
Returns: unknown;
|
|
5973
5996
|
};
|
|
5974
|
-
st_linefrommultipoint: {
|
|
5975
|
-
Args: {
|
|
5976
|
-
"": unknown;
|
|
5977
|
-
};
|
|
5978
|
-
Returns: unknown;
|
|
5979
|
-
};
|
|
5980
5997
|
st_linefromtext: {
|
|
5981
5998
|
Args: {
|
|
5982
5999
|
"": string;
|
|
5983
6000
|
};
|
|
5984
6001
|
Returns: unknown;
|
|
5985
6002
|
};
|
|
5986
|
-
st_linefromwkb: {
|
|
5987
|
-
Args: {
|
|
5988
|
-
"": string;
|
|
5989
|
-
};
|
|
5990
|
-
Returns: unknown;
|
|
5991
|
-
};
|
|
5992
6003
|
st_linelocatepoint: {
|
|
5993
6004
|
Args: {
|
|
5994
6005
|
geom1: unknown;
|
|
@@ -5996,18 +6007,6 @@ export type Database = {
|
|
|
5996
6007
|
};
|
|
5997
6008
|
Returns: number;
|
|
5998
6009
|
};
|
|
5999
|
-
st_linemerge: {
|
|
6000
|
-
Args: {
|
|
6001
|
-
"": unknown;
|
|
6002
|
-
};
|
|
6003
|
-
Returns: unknown;
|
|
6004
|
-
};
|
|
6005
|
-
st_linestringfromwkb: {
|
|
6006
|
-
Args: {
|
|
6007
|
-
"": string;
|
|
6008
|
-
};
|
|
6009
|
-
Returns: unknown;
|
|
6010
|
-
};
|
|
6011
6010
|
st_linetocurve: {
|
|
6012
6011
|
Args: {
|
|
6013
6012
|
geometry: unknown;
|
|
@@ -6046,12 +6045,6 @@ export type Database = {
|
|
|
6046
6045
|
};
|
|
6047
6046
|
Returns: unknown;
|
|
6048
6047
|
};
|
|
6049
|
-
st_m: {
|
|
6050
|
-
Args: {
|
|
6051
|
-
"": unknown;
|
|
6052
|
-
};
|
|
6053
|
-
Returns: number;
|
|
6054
|
-
};
|
|
6055
6048
|
st_makebox2d: {
|
|
6056
6049
|
Args: {
|
|
6057
6050
|
geom1: unknown;
|
|
@@ -6061,23 +6054,13 @@ export type Database = {
|
|
|
6061
6054
|
};
|
|
6062
6055
|
st_makeline: {
|
|
6063
6056
|
Args: {
|
|
6064
|
-
"": unknown[];
|
|
6065
|
-
} | {
|
|
6066
6057
|
geom1: unknown;
|
|
6067
6058
|
geom2: unknown;
|
|
6068
6059
|
};
|
|
6069
6060
|
Returns: unknown;
|
|
6070
6061
|
};
|
|
6071
|
-
st_makepolygon: {
|
|
6072
|
-
Args: {
|
|
6073
|
-
"": unknown;
|
|
6074
|
-
};
|
|
6075
|
-
Returns: unknown;
|
|
6076
|
-
};
|
|
6077
6062
|
st_makevalid: {
|
|
6078
6063
|
Args: {
|
|
6079
|
-
"": unknown;
|
|
6080
|
-
} | {
|
|
6081
6064
|
geom: unknown;
|
|
6082
6065
|
params: string;
|
|
6083
6066
|
};
|
|
@@ -6090,18 +6073,6 @@ export type Database = {
|
|
|
6090
6073
|
};
|
|
6091
6074
|
Returns: number;
|
|
6092
6075
|
};
|
|
6093
|
-
st_maximuminscribedcircle: {
|
|
6094
|
-
Args: {
|
|
6095
|
-
"": unknown;
|
|
6096
|
-
};
|
|
6097
|
-
Returns: Record<string, unknown>;
|
|
6098
|
-
};
|
|
6099
|
-
st_memsize: {
|
|
6100
|
-
Args: {
|
|
6101
|
-
"": unknown;
|
|
6102
|
-
};
|
|
6103
|
-
Returns: number;
|
|
6104
|
-
};
|
|
6105
6076
|
st_minimumboundingcircle: {
|
|
6106
6077
|
Args: {
|
|
6107
6078
|
inputgeom: unknown;
|
|
@@ -6109,72 +6080,24 @@ export type Database = {
|
|
|
6109
6080
|
};
|
|
6110
6081
|
Returns: unknown;
|
|
6111
6082
|
};
|
|
6112
|
-
st_minimumboundingradius: {
|
|
6113
|
-
Args: {
|
|
6114
|
-
"": unknown;
|
|
6115
|
-
};
|
|
6116
|
-
Returns: Record<string, unknown>;
|
|
6117
|
-
};
|
|
6118
|
-
st_minimumclearance: {
|
|
6119
|
-
Args: {
|
|
6120
|
-
"": unknown;
|
|
6121
|
-
};
|
|
6122
|
-
Returns: number;
|
|
6123
|
-
};
|
|
6124
|
-
st_minimumclearanceline: {
|
|
6125
|
-
Args: {
|
|
6126
|
-
"": unknown;
|
|
6127
|
-
};
|
|
6128
|
-
Returns: unknown;
|
|
6129
|
-
};
|
|
6130
6083
|
st_mlinefromtext: {
|
|
6131
6084
|
Args: {
|
|
6132
6085
|
"": string;
|
|
6133
6086
|
};
|
|
6134
6087
|
Returns: unknown;
|
|
6135
6088
|
};
|
|
6136
|
-
st_mlinefromwkb: {
|
|
6137
|
-
Args: {
|
|
6138
|
-
"": string;
|
|
6139
|
-
};
|
|
6140
|
-
Returns: unknown;
|
|
6141
|
-
};
|
|
6142
6089
|
st_mpointfromtext: {
|
|
6143
6090
|
Args: {
|
|
6144
6091
|
"": string;
|
|
6145
6092
|
};
|
|
6146
6093
|
Returns: unknown;
|
|
6147
6094
|
};
|
|
6148
|
-
st_mpointfromwkb: {
|
|
6149
|
-
Args: {
|
|
6150
|
-
"": string;
|
|
6151
|
-
};
|
|
6152
|
-
Returns: unknown;
|
|
6153
|
-
};
|
|
6154
6095
|
st_mpolyfromtext: {
|
|
6155
6096
|
Args: {
|
|
6156
6097
|
"": string;
|
|
6157
6098
|
};
|
|
6158
6099
|
Returns: unknown;
|
|
6159
6100
|
};
|
|
6160
|
-
st_mpolyfromwkb: {
|
|
6161
|
-
Args: {
|
|
6162
|
-
"": string;
|
|
6163
|
-
};
|
|
6164
|
-
Returns: unknown;
|
|
6165
|
-
};
|
|
6166
|
-
st_multi: {
|
|
6167
|
-
Args: {
|
|
6168
|
-
"": unknown;
|
|
6169
|
-
};
|
|
6170
|
-
Returns: unknown;
|
|
6171
|
-
};
|
|
6172
|
-
st_multilinefromwkb: {
|
|
6173
|
-
Args: {
|
|
6174
|
-
"": string;
|
|
6175
|
-
};
|
|
6176
|
-
Returns: unknown;
|
|
6177
|
-
};
|
|
6178
6101
|
st_multilinestringfromtext: {
|
|
6179
6102
|
Args: {
|
|
6180
6103
|
"": string;
|
|
@@ -6187,30 +6110,12 @@ export type Database = {
|
|
|
6187
6110
|
};
|
|
6188
6111
|
Returns: unknown;
|
|
6189
6112
|
};
|
|
6190
|
-
st_multipointfromwkb: {
|
|
6191
|
-
Args: {
|
|
6192
|
-
"": string;
|
|
6193
|
-
};
|
|
6194
|
-
Returns: unknown;
|
|
6195
|
-
};
|
|
6196
|
-
st_multipolyfromwkb: {
|
|
6197
|
-
Args: {
|
|
6198
|
-
"": string;
|
|
6199
|
-
};
|
|
6200
|
-
Returns: unknown;
|
|
6201
|
-
};
|
|
6202
6113
|
st_multipolygonfromtext: {
|
|
6203
6114
|
Args: {
|
|
6204
6115
|
"": string;
|
|
6205
6116
|
};
|
|
6206
6117
|
Returns: unknown;
|
|
6207
6118
|
};
|
|
6208
|
-
st_ndims: {
|
|
6209
|
-
Args: {
|
|
6210
|
-
"": unknown;
|
|
6211
|
-
};
|
|
6212
|
-
Returns: number;
|
|
6213
|
-
};
|
|
6214
6119
|
st_node: {
|
|
6215
6120
|
Args: {
|
|
6216
6121
|
g: unknown;
|
|
@@ -6223,48 +6128,6 @@ export type Database = {
|
|
|
6223
6128
|
};
|
|
6224
6129
|
Returns: unknown;
|
|
6225
6130
|
};
|
|
6226
|
-
st_npoints: {
|
|
6227
|
-
Args: {
|
|
6228
|
-
"": unknown;
|
|
6229
|
-
};
|
|
6230
|
-
Returns: number;
|
|
6231
|
-
};
|
|
6232
|
-
st_nrings: {
|
|
6233
|
-
Args: {
|
|
6234
|
-
"": unknown;
|
|
6235
|
-
};
|
|
6236
|
-
Returns: number;
|
|
6237
|
-
};
|
|
6238
|
-
st_numgeometries: {
|
|
6239
|
-
Args: {
|
|
6240
|
-
"": unknown;
|
|
6241
|
-
};
|
|
6242
|
-
Returns: number;
|
|
6243
|
-
};
|
|
6244
|
-
st_numinteriorring: {
|
|
6245
|
-
Args: {
|
|
6246
|
-
"": unknown;
|
|
6247
|
-
};
|
|
6248
|
-
Returns: number;
|
|
6249
|
-
};
|
|
6250
|
-
st_numinteriorrings: {
|
|
6251
|
-
Args: {
|
|
6252
|
-
"": unknown;
|
|
6253
|
-
};
|
|
6254
|
-
Returns: number;
|
|
6255
|
-
};
|
|
6256
|
-
st_numpatches: {
|
|
6257
|
-
Args: {
|
|
6258
|
-
"": unknown;
|
|
6259
|
-
};
|
|
6260
|
-
Returns: number;
|
|
6261
|
-
};
|
|
6262
|
-
st_numpoints: {
|
|
6263
|
-
Args: {
|
|
6264
|
-
"": unknown;
|
|
6265
|
-
};
|
|
6266
|
-
Returns: number;
|
|
6267
|
-
};
|
|
6268
6131
|
st_offsetcurve: {
|
|
6269
6132
|
Args: {
|
|
6270
6133
|
distance: number;
|
|
@@ -6280,12 +6143,6 @@ export type Database = {
|
|
|
6280
6143
|
};
|
|
6281
6144
|
Returns: boolean;
|
|
6282
6145
|
};
|
|
6283
|
-
st_orientedenvelope: {
|
|
6284
|
-
Args: {
|
|
6285
|
-
"": unknown;
|
|
6286
|
-
};
|
|
6287
|
-
Returns: unknown;
|
|
6288
|
-
};
|
|
6289
6146
|
st_overlaps: {
|
|
6290
6147
|
Args: {
|
|
6291
6148
|
geom1: unknown;
|
|
@@ -6295,31 +6152,17 @@ export type Database = {
|
|
|
6295
6152
|
};
|
|
6296
6153
|
st_perimeter: {
|
|
6297
6154
|
Args: {
|
|
6298
|
-
"": unknown;
|
|
6299
|
-
} | {
|
|
6300
6155
|
geog: unknown;
|
|
6301
6156
|
use_spheroid?: boolean;
|
|
6302
6157
|
};
|
|
6303
6158
|
Returns: number;
|
|
6304
6159
|
};
|
|
6305
|
-
st_perimeter2d: {
|
|
6306
|
-
Args: {
|
|
6307
|
-
"": unknown;
|
|
6308
|
-
};
|
|
6309
|
-
Returns: number;
|
|
6310
|
-
};
|
|
6311
6160
|
st_pointfromtext: {
|
|
6312
6161
|
Args: {
|
|
6313
6162
|
"": string;
|
|
6314
6163
|
};
|
|
6315
6164
|
Returns: unknown;
|
|
6316
6165
|
};
|
|
6317
|
-
st_pointfromwkb: {
|
|
6318
|
-
Args: {
|
|
6319
|
-
"": string;
|
|
6320
|
-
};
|
|
6321
|
-
Returns: unknown;
|
|
6322
|
-
};
|
|
6323
6166
|
st_pointm: {
|
|
6324
6167
|
Args: {
|
|
6325
6168
|
mcoordinate: number;
|
|
@@ -6329,18 +6172,6 @@ export type Database = {
|
|
|
6329
6172
|
};
|
|
6330
6173
|
Returns: unknown;
|
|
6331
6174
|
};
|
|
6332
|
-
st_pointonsurface: {
|
|
6333
|
-
Args: {
|
|
6334
|
-
"": unknown;
|
|
6335
|
-
};
|
|
6336
|
-
Returns: unknown;
|
|
6337
|
-
};
|
|
6338
|
-
st_points: {
|
|
6339
|
-
Args: {
|
|
6340
|
-
"": unknown;
|
|
6341
|
-
};
|
|
6342
|
-
Returns: unknown;
|
|
6343
|
-
};
|
|
6344
6175
|
st_pointz: {
|
|
6345
6176
|
Args: {
|
|
6346
6177
|
srid?: number;
|
|
@@ -6366,30 +6197,12 @@ export type Database = {
|
|
|
6366
6197
|
};
|
|
6367
6198
|
Returns: unknown;
|
|
6368
6199
|
};
|
|
6369
|
-
st_polyfromwkb: {
|
|
6370
|
-
Args: {
|
|
6371
|
-
"": string;
|
|
6372
|
-
};
|
|
6373
|
-
Returns: unknown;
|
|
6374
|
-
};
|
|
6375
6200
|
st_polygonfromtext: {
|
|
6376
6201
|
Args: {
|
|
6377
6202
|
"": string;
|
|
6378
6203
|
};
|
|
6379
6204
|
Returns: unknown;
|
|
6380
6205
|
};
|
|
6381
|
-
st_polygonfromwkb: {
|
|
6382
|
-
Args: {
|
|
6383
|
-
"": string;
|
|
6384
|
-
};
|
|
6385
|
-
Returns: unknown;
|
|
6386
|
-
};
|
|
6387
|
-
st_polygonize: {
|
|
6388
|
-
Args: {
|
|
6389
|
-
"": unknown[];
|
|
6390
|
-
};
|
|
6391
|
-
Returns: unknown;
|
|
6392
|
-
};
|
|
6393
6206
|
st_project: {
|
|
6394
6207
|
Args: {
|
|
6395
6208
|
azimuth: number;
|
|
@@ -6429,12 +6242,6 @@ export type Database = {
|
|
|
6429
6242
|
};
|
|
6430
6243
|
Returns: unknown;
|
|
6431
6244
|
};
|
|
6432
|
-
st_reverse: {
|
|
6433
|
-
Args: {
|
|
6434
|
-
"": unknown;
|
|
6435
|
-
};
|
|
6436
|
-
Returns: unknown;
|
|
6437
|
-
};
|
|
6438
6245
|
st_segmentize: {
|
|
6439
6246
|
Args: {
|
|
6440
6247
|
geog: unknown;
|
|
@@ -6446,7 +6253,10 @@ export type Database = {
|
|
|
6446
6253
|
Args: {
|
|
6447
6254
|
geog: unknown;
|
|
6448
6255
|
srid: number;
|
|
6449
|
-
}
|
|
6256
|
+
};
|
|
6257
|
+
Returns: unknown;
|
|
6258
|
+
} | {
|
|
6259
|
+
Args: {
|
|
6450
6260
|
geom: unknown;
|
|
6451
6261
|
srid: number;
|
|
6452
6262
|
};
|
|
@@ -6459,12 +6269,6 @@ export type Database = {
|
|
|
6459
6269
|
};
|
|
6460
6270
|
Returns: unknown;
|
|
6461
6271
|
};
|
|
6462
|
-
st_shiftlongitude: {
|
|
6463
|
-
Args: {
|
|
6464
|
-
"": unknown;
|
|
6465
|
-
};
|
|
6466
|
-
Returns: unknown;
|
|
6467
|
-
};
|
|
6468
6272
|
st_shortestline: {
|
|
6469
6273
|
Args: {
|
|
6470
6274
|
geom1: unknown;
|
|
@@ -6505,17 +6309,14 @@ export type Database = {
|
|
|
6505
6309
|
};
|
|
6506
6310
|
st_srid: {
|
|
6507
6311
|
Args: {
|
|
6508
|
-
geog: unknown;
|
|
6509
|
-
} | {
|
|
6510
6312
|
geom: unknown;
|
|
6511
6313
|
};
|
|
6512
6314
|
Returns: number;
|
|
6513
|
-
}
|
|
6514
|
-
st_startpoint: {
|
|
6315
|
+
} | {
|
|
6515
6316
|
Args: {
|
|
6516
|
-
|
|
6317
|
+
geog: unknown;
|
|
6517
6318
|
};
|
|
6518
|
-
Returns:
|
|
6319
|
+
Returns: number;
|
|
6519
6320
|
};
|
|
6520
6321
|
st_subdivide: {
|
|
6521
6322
|
Args: {
|
|
@@ -6525,14 +6326,6 @@ export type Database = {
|
|
|
6525
6326
|
};
|
|
6526
6327
|
Returns: unknown[];
|
|
6527
6328
|
};
|
|
6528
|
-
st_summary: {
|
|
6529
|
-
Args: {
|
|
6530
|
-
"": unknown;
|
|
6531
|
-
} | {
|
|
6532
|
-
"": unknown;
|
|
6533
|
-
};
|
|
6534
|
-
Returns: string;
|
|
6535
|
-
};
|
|
6536
6329
|
st_swapordinates: {
|
|
6537
6330
|
Args: {
|
|
6538
6331
|
geom: unknown;
|
|
@@ -6574,14 +6367,20 @@ export type Database = {
|
|
|
6574
6367
|
};
|
|
6575
6368
|
st_transform: {
|
|
6576
6369
|
Args: {
|
|
6577
|
-
from_proj: string;
|
|
6578
6370
|
geom: unknown;
|
|
6579
6371
|
to_proj: string;
|
|
6580
|
-
}
|
|
6372
|
+
};
|
|
6373
|
+
Returns: unknown;
|
|
6374
|
+
} | {
|
|
6375
|
+
Args: {
|
|
6581
6376
|
from_proj: string;
|
|
6582
6377
|
geom: unknown;
|
|
6583
6378
|
to_srid: number;
|
|
6584
|
-
}
|
|
6379
|
+
};
|
|
6380
|
+
Returns: unknown;
|
|
6381
|
+
} | {
|
|
6382
|
+
Args: {
|
|
6383
|
+
from_proj: string;
|
|
6585
6384
|
geom: unknown;
|
|
6586
6385
|
to_proj: string;
|
|
6587
6386
|
};
|
|
@@ -6595,14 +6394,15 @@ export type Database = {
|
|
|
6595
6394
|
};
|
|
6596
6395
|
st_union: {
|
|
6597
6396
|
Args: {
|
|
6598
|
-
"": unknown[];
|
|
6599
|
-
} | {
|
|
6600
6397
|
geom1: unknown;
|
|
6601
6398
|
geom2: unknown;
|
|
6602
|
-
|
|
6399
|
+
gridsize: number;
|
|
6400
|
+
};
|
|
6401
|
+
Returns: unknown;
|
|
6402
|
+
} | {
|
|
6403
|
+
Args: {
|
|
6603
6404
|
geom1: unknown;
|
|
6604
6405
|
geom2: unknown;
|
|
6605
|
-
gridsize: number;
|
|
6606
6406
|
};
|
|
6607
6407
|
Returns: unknown;
|
|
6608
6408
|
};
|
|
@@ -6649,72 +6449,6 @@ export type Database = {
|
|
|
6649
6449
|
};
|
|
6650
6450
|
Returns: unknown;
|
|
6651
6451
|
};
|
|
6652
|
-
st_x: {
|
|
6653
|
-
Args: {
|
|
6654
|
-
"": unknown;
|
|
6655
|
-
};
|
|
6656
|
-
Returns: number;
|
|
6657
|
-
};
|
|
6658
|
-
st_xmax: {
|
|
6659
|
-
Args: {
|
|
6660
|
-
"": unknown;
|
|
6661
|
-
};
|
|
6662
|
-
Returns: number;
|
|
6663
|
-
};
|
|
6664
|
-
st_xmin: {
|
|
6665
|
-
Args: {
|
|
6666
|
-
"": unknown;
|
|
6667
|
-
};
|
|
6668
|
-
Returns: number;
|
|
6669
|
-
};
|
|
6670
|
-
st_y: {
|
|
6671
|
-
Args: {
|
|
6672
|
-
"": unknown;
|
|
6673
|
-
};
|
|
6674
|
-
Returns: number;
|
|
6675
|
-
};
|
|
6676
|
-
st_ymax: {
|
|
6677
|
-
Args: {
|
|
6678
|
-
"": unknown;
|
|
6679
|
-
};
|
|
6680
|
-
Returns: number;
|
|
6681
|
-
};
|
|
6682
|
-
st_ymin: {
|
|
6683
|
-
Args: {
|
|
6684
|
-
"": unknown;
|
|
6685
|
-
};
|
|
6686
|
-
Returns: number;
|
|
6687
|
-
};
|
|
6688
|
-
st_z: {
|
|
6689
|
-
Args: {
|
|
6690
|
-
"": unknown;
|
|
6691
|
-
};
|
|
6692
|
-
Returns: number;
|
|
6693
|
-
};
|
|
6694
|
-
st_zmax: {
|
|
6695
|
-
Args: {
|
|
6696
|
-
"": unknown;
|
|
6697
|
-
};
|
|
6698
|
-
Returns: number;
|
|
6699
|
-
};
|
|
6700
|
-
st_zmflag: {
|
|
6701
|
-
Args: {
|
|
6702
|
-
"": unknown;
|
|
6703
|
-
};
|
|
6704
|
-
Returns: number;
|
|
6705
|
-
};
|
|
6706
|
-
st_zmin: {
|
|
6707
|
-
Args: {
|
|
6708
|
-
"": unknown;
|
|
6709
|
-
};
|
|
6710
|
-
Returns: number;
|
|
6711
|
-
};
|
|
6712
|
-
text: {
|
|
6713
|
-
Args: {
|
|
6714
|
-
"": unknown;
|
|
6715
|
-
};
|
|
6716
|
-
Returns: string;
|
|
6717
|
-
};
|
|
6718
6452
|
try_fix_mojibake: {
|
|
6719
6453
|
Args: {
|
|
6720
6454
|
value: string;
|
|
@@ -6747,7 +6481,10 @@ export type Database = {
|
|
|
6747
6481
|
Args: {
|
|
6748
6482
|
end_verse_text_id: string;
|
|
6749
6483
|
start_verse_text_id: string;
|
|
6750
|
-
}
|
|
6484
|
+
};
|
|
6485
|
+
Returns: boolean;
|
|
6486
|
+
} | {
|
|
6487
|
+
Args: {
|
|
6751
6488
|
end_verse_uuid: string;
|
|
6752
6489
|
start_verse_uuid: string;
|
|
6753
6490
|
};
|
|
@@ -6755,37 +6492,46 @@ export type Database = {
|
|
|
6755
6492
|
};
|
|
6756
6493
|
};
|
|
6757
6494
|
Enums: {
|
|
6495
|
+
adoption_status: "draft" | "available" | "on_hold" | "funded" | "archived";
|
|
6758
6496
|
bookmark_type: "passage";
|
|
6497
|
+
budget_item_category: "meals" | "housing" | "transport" | "equipment";
|
|
6759
6498
|
change_type: "create" | "update" | "delete";
|
|
6760
6499
|
check_status: "pending" | "approved" | "rejected" | "requires_review";
|
|
6761
6500
|
connectivity_type: "wifi" | "cellular" | "offline" | "unknown";
|
|
6501
|
+
contribution_kind: "one_time" | "subscription" | "bank_transfer" | "adjustment" | "refund";
|
|
6762
6502
|
contribution_status: "approved" | "not_approved";
|
|
6763
6503
|
feedback_actioned: "pending" | "actioned" | "rejected";
|
|
6764
6504
|
feedback_type: "approved" | "change_required";
|
|
6505
|
+
funding_status: "unfunded" | "partially_funded" | "fully_funded";
|
|
6765
6506
|
language_entity_level: "family" | "language" | "dialect" | "mother_tongue";
|
|
6766
6507
|
location_source_type: "device" | "ip" | "unknown";
|
|
6767
6508
|
media_type: "audio" | "video";
|
|
6509
|
+
permission_key: "system.admin" | "team.read" | "team.write" | "team.delete" | "team.invite" | "team.manage_roles" | "project.read" | "project.write" | "project.delete" | "project.invite" | "project.manage_roles" | "base.read" | "base.write" | "base.delete" | "base.manage_roles" | "partner.read" | "partner.manage_roles" | "budget.read" | "budget.write" | "contribution.read" | "contribution.write";
|
|
6768
6510
|
platform_type: "ios" | "android" | "web" | "desktop";
|
|
6769
6511
|
playlist_item_type: "passage" | "custom_text";
|
|
6512
|
+
project_status: "precreated" | "active" | "completed" | "cancelled";
|
|
6770
6513
|
publish_status: "pending" | "published" | "archived";
|
|
6771
6514
|
region_level: "continent" | "world_region" | "country" | "state" | "province" | "district" | "town" | "village";
|
|
6515
|
+
resource_type: "global" | "team" | "project" | "base" | "partner";
|
|
6772
6516
|
segment_type: "source" | "target";
|
|
6773
6517
|
share_entity_type: "app" | "chapter" | "playlist" | "verse" | "passage";
|
|
6518
|
+
sponsorship_status: "interest" | "pledged" | "active" | "paused" | "cancelled" | "completed";
|
|
6774
6519
|
target_type: "chapter" | "book" | "sermon" | "passage" | "verse" | "podcast" | "film_segment" | "audio_segment";
|
|
6775
6520
|
testament: "old" | "new";
|
|
6776
6521
|
text_version_source: "official_translation" | "ai_transcription" | "user_submitted";
|
|
6777
6522
|
upload_status: "pending" | "uploading" | "completed" | "failed";
|
|
6778
6523
|
version_filter_type: "audio_only" | "text_only" | "both_required" | "either";
|
|
6524
|
+
wallet_tx_type: "deposit" | "withdrawal" | "adjustment";
|
|
6779
6525
|
};
|
|
6780
6526
|
CompositeTypes: {
|
|
6781
6527
|
geometry_dump: {
|
|
6782
6528
|
path: number[] | null;
|
|
6783
|
-
geom: unknown
|
|
6529
|
+
geom: unknown;
|
|
6784
6530
|
};
|
|
6785
6531
|
valid_detail: {
|
|
6786
6532
|
valid: boolean | null;
|
|
6787
6533
|
reason: string | null;
|
|
6788
|
-
location: unknown
|
|
6534
|
+
location: unknown;
|
|
6789
6535
|
};
|
|
6790
6536
|
};
|
|
6791
6537
|
};
|
|
@@ -6845,27 +6591,36 @@ export declare const Constants: {
|
|
|
6845
6591
|
};
|
|
6846
6592
|
readonly public: {
|
|
6847
6593
|
readonly Enums: {
|
|
6594
|
+
readonly adoption_status: readonly ["draft", "available", "on_hold", "funded", "archived"];
|
|
6848
6595
|
readonly bookmark_type: readonly ["passage"];
|
|
6596
|
+
readonly budget_item_category: readonly ["meals", "housing", "transport", "equipment"];
|
|
6849
6597
|
readonly change_type: readonly ["create", "update", "delete"];
|
|
6850
6598
|
readonly check_status: readonly ["pending", "approved", "rejected", "requires_review"];
|
|
6851
6599
|
readonly connectivity_type: readonly ["wifi", "cellular", "offline", "unknown"];
|
|
6600
|
+
readonly contribution_kind: readonly ["one_time", "subscription", "bank_transfer", "adjustment", "refund"];
|
|
6852
6601
|
readonly contribution_status: readonly ["approved", "not_approved"];
|
|
6853
6602
|
readonly feedback_actioned: readonly ["pending", "actioned", "rejected"];
|
|
6854
6603
|
readonly feedback_type: readonly ["approved", "change_required"];
|
|
6604
|
+
readonly funding_status: readonly ["unfunded", "partially_funded", "fully_funded"];
|
|
6855
6605
|
readonly language_entity_level: readonly ["family", "language", "dialect", "mother_tongue"];
|
|
6856
6606
|
readonly location_source_type: readonly ["device", "ip", "unknown"];
|
|
6857
6607
|
readonly media_type: readonly ["audio", "video"];
|
|
6608
|
+
readonly permission_key: readonly ["system.admin", "team.read", "team.write", "team.delete", "team.invite", "team.manage_roles", "project.read", "project.write", "project.delete", "project.invite", "project.manage_roles", "base.read", "base.write", "base.delete", "base.manage_roles", "partner.read", "partner.manage_roles", "budget.read", "budget.write", "contribution.read", "contribution.write"];
|
|
6858
6609
|
readonly platform_type: readonly ["ios", "android", "web", "desktop"];
|
|
6859
6610
|
readonly playlist_item_type: readonly ["passage", "custom_text"];
|
|
6611
|
+
readonly project_status: readonly ["precreated", "active", "completed", "cancelled"];
|
|
6860
6612
|
readonly publish_status: readonly ["pending", "published", "archived"];
|
|
6861
6613
|
readonly region_level: readonly ["continent", "world_region", "country", "state", "province", "district", "town", "village"];
|
|
6614
|
+
readonly resource_type: readonly ["global", "team", "project", "base", "partner"];
|
|
6862
6615
|
readonly segment_type: readonly ["source", "target"];
|
|
6863
6616
|
readonly share_entity_type: readonly ["app", "chapter", "playlist", "verse", "passage"];
|
|
6617
|
+
readonly sponsorship_status: readonly ["interest", "pledged", "active", "paused", "cancelled", "completed"];
|
|
6864
6618
|
readonly target_type: readonly ["chapter", "book", "sermon", "passage", "verse", "podcast", "film_segment", "audio_segment"];
|
|
6865
6619
|
readonly testament: readonly ["old", "new"];
|
|
6866
6620
|
readonly text_version_source: readonly ["official_translation", "ai_transcription", "user_submitted"];
|
|
6867
6621
|
readonly upload_status: readonly ["pending", "uploading", "completed", "failed"];
|
|
6868
6622
|
readonly version_filter_type: readonly ["audio_only", "text_only", "both_required", "either"];
|
|
6623
|
+
readonly wallet_tx_type: readonly ["deposit", "withdrawal", "adjustment"];
|
|
6869
6624
|
};
|
|
6870
6625
|
};
|
|
6871
6626
|
};
|