@everylanguage/shared-types 1.0.23-dev.20251211.91235.160 → 1.0.23
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 +3 -55
package/package.json
CHANGED
package/types/database.d.ts
CHANGED
|
@@ -2047,7 +2047,6 @@ export type Database = {
|
|
|
2047
2047
|
id: string;
|
|
2048
2048
|
is_bible_audio: boolean | null;
|
|
2049
2049
|
language_entity_id: string;
|
|
2050
|
-
local_path: string | null;
|
|
2051
2050
|
media_type: Database["public"]["Enums"]["media_type"];
|
|
2052
2051
|
object_key: string | null;
|
|
2053
2052
|
original_filename: string | null;
|
|
@@ -2074,7 +2073,6 @@ export type Database = {
|
|
|
2074
2073
|
id?: string;
|
|
2075
2074
|
is_bible_audio?: boolean | null;
|
|
2076
2075
|
language_entity_id: string;
|
|
2077
|
-
local_path?: string | null;
|
|
2078
2076
|
media_type: Database["public"]["Enums"]["media_type"];
|
|
2079
2077
|
object_key?: string | null;
|
|
2080
2078
|
original_filename?: string | null;
|
|
@@ -2101,7 +2099,6 @@ export type Database = {
|
|
|
2101
2099
|
id?: string;
|
|
2102
2100
|
is_bible_audio?: boolean | null;
|
|
2103
2101
|
language_entity_id?: string;
|
|
2104
|
-
local_path?: string | null;
|
|
2105
2102
|
media_type?: Database["public"]["Enums"]["media_type"];
|
|
2106
2103
|
object_key?: string | null;
|
|
2107
2104
|
original_filename?: string | null;
|
|
@@ -3757,7 +3754,7 @@ export type Database = {
|
|
|
3757
3754
|
sequences: {
|
|
3758
3755
|
Row: {
|
|
3759
3756
|
book_id: string;
|
|
3760
|
-
chapter_id: string;
|
|
3757
|
+
chapter_id: string | null;
|
|
3761
3758
|
check_status: Database["public"]["Enums"]["check_status"];
|
|
3762
3759
|
created_at: string | null;
|
|
3763
3760
|
created_by: string | null;
|
|
@@ -3775,7 +3772,7 @@ export type Database = {
|
|
|
3775
3772
|
};
|
|
3776
3773
|
Insert: {
|
|
3777
3774
|
book_id: string;
|
|
3778
|
-
chapter_id
|
|
3775
|
+
chapter_id?: string | null;
|
|
3779
3776
|
check_status?: Database["public"]["Enums"]["check_status"];
|
|
3780
3777
|
created_at?: string | null;
|
|
3781
3778
|
created_by?: string | null;
|
|
@@ -3793,7 +3790,7 @@ export type Database = {
|
|
|
3793
3790
|
};
|
|
3794
3791
|
Update: {
|
|
3795
3792
|
book_id?: string;
|
|
3796
|
-
chapter_id?: string;
|
|
3793
|
+
chapter_id?: string | null;
|
|
3797
3794
|
check_status?: Database["public"]["Enums"]["check_status"];
|
|
3798
3795
|
created_at?: string | null;
|
|
3799
3796
|
created_by?: string | null;
|
|
@@ -6275,14 +6272,6 @@ export type Database = {
|
|
|
6275
6272
|
};
|
|
6276
6273
|
Returns: Database["public"]["Enums"]["funding_status"];
|
|
6277
6274
|
};
|
|
6278
|
-
can_view_user_in_project: {
|
|
6279
|
-
Args: {
|
|
6280
|
-
p_project_id: string;
|
|
6281
|
-
p_target_user_id: string;
|
|
6282
|
-
p_viewer_user_id: string;
|
|
6283
|
-
};
|
|
6284
|
-
Returns: boolean;
|
|
6285
|
-
};
|
|
6286
6275
|
check_language_project_allocations: {
|
|
6287
6276
|
Args: {
|
|
6288
6277
|
language_id: string;
|
|
@@ -6297,13 +6286,6 @@ export type Database = {
|
|
|
6297
6286
|
};
|
|
6298
6287
|
Returns: boolean;
|
|
6299
6288
|
};
|
|
6300
|
-
check_users_share_project: {
|
|
6301
|
-
Args: {
|
|
6302
|
-
p_target_user_id: string;
|
|
6303
|
-
p_viewer_user_id: string;
|
|
6304
|
-
};
|
|
6305
|
-
Returns: boolean;
|
|
6306
|
-
};
|
|
6307
6289
|
convert_to_usd: {
|
|
6308
6290
|
Args: {
|
|
6309
6291
|
p_amount_cents: number;
|
|
@@ -6402,12 +6384,6 @@ export type Database = {
|
|
|
6402
6384
|
user_id: string;
|
|
6403
6385
|
}[];
|
|
6404
6386
|
};
|
|
6405
|
-
fix_double_encoded_utf8: {
|
|
6406
|
-
Args: {
|
|
6407
|
-
input_text: string;
|
|
6408
|
-
};
|
|
6409
|
-
Returns: string;
|
|
6410
|
-
};
|
|
6411
6387
|
geometry: {
|
|
6412
6388
|
Args: {
|
|
6413
6389
|
"": string;
|
|
@@ -7014,19 +6990,6 @@ export type Database = {
|
|
|
7014
6990
|
};
|
|
7015
6991
|
Returns: number;
|
|
7016
6992
|
};
|
|
7017
|
-
get_schema_info: {
|
|
7018
|
-
Args: never;
|
|
7019
|
-
Returns: Json;
|
|
7020
|
-
};
|
|
7021
|
-
get_shared_projects: {
|
|
7022
|
-
Args: {
|
|
7023
|
-
p_target_user_id: string;
|
|
7024
|
-
p_viewer_user_id: string;
|
|
7025
|
-
};
|
|
7026
|
-
Returns: {
|
|
7027
|
-
project_id: string;
|
|
7028
|
-
}[];
|
|
7029
|
-
};
|
|
7030
6993
|
get_unallocated_amount: {
|
|
7031
6994
|
Args: {
|
|
7032
6995
|
donation_uuid: string;
|
|
@@ -8647,14 +8610,6 @@ export type Database = {
|
|
|
8647
8610
|
};
|
|
8648
8611
|
Returns: unknown;
|
|
8649
8612
|
};
|
|
8650
|
-
test_is_project_member: {
|
|
8651
|
-
Args: {
|
|
8652
|
-
p_project_id: string;
|
|
8653
|
-
p_target_user_id: string;
|
|
8654
|
-
p_viewer_user_id: string;
|
|
8655
|
-
};
|
|
8656
|
-
Returns: boolean;
|
|
8657
|
-
};
|
|
8658
8613
|
transform_grn_coordinates_cache_to_language_entities_regions: {
|
|
8659
8614
|
Args: never;
|
|
8660
8615
|
Returns: {
|
|
@@ -8754,13 +8709,6 @@ export type Database = {
|
|
|
8754
8709
|
};
|
|
8755
8710
|
Returns: string;
|
|
8756
8711
|
};
|
|
8757
|
-
users_share_project: {
|
|
8758
|
-
Args: {
|
|
8759
|
-
p_target_user_id: string;
|
|
8760
|
-
p_viewer_user_id: string;
|
|
8761
|
-
};
|
|
8762
|
-
Returns: boolean;
|
|
8763
|
-
};
|
|
8764
8712
|
validate_grn_matching_coverage: {
|
|
8765
8713
|
Args: never;
|
|
8766
8714
|
Returns: {
|