@everylanguage/shared-types 1.0.18 → 1.0.19
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 +35 -0
package/package.json
CHANGED
package/types/database.d.ts
CHANGED
|
@@ -433,8 +433,10 @@ export type Database = {
|
|
|
433
433
|
created_at: string | null;
|
|
434
434
|
created_by: string | null;
|
|
435
435
|
deleted_at: string | null;
|
|
436
|
+
file_type: string | null;
|
|
436
437
|
id: string;
|
|
437
438
|
object_key: string | null;
|
|
439
|
+
original_filename: string | null;
|
|
438
440
|
publish_status: Database["public"]["Enums"]["publish_status"];
|
|
439
441
|
set_id: string | null;
|
|
440
442
|
storage_provider: string | null;
|
|
@@ -447,8 +449,10 @@ export type Database = {
|
|
|
447
449
|
created_at?: string | null;
|
|
448
450
|
created_by?: string | null;
|
|
449
451
|
deleted_at?: string | null;
|
|
452
|
+
file_type?: string | null;
|
|
450
453
|
id?: string;
|
|
451
454
|
object_key?: string | null;
|
|
455
|
+
original_filename?: string | null;
|
|
452
456
|
publish_status?: Database["public"]["Enums"]["publish_status"];
|
|
453
457
|
set_id?: string | null;
|
|
454
458
|
storage_provider?: string | null;
|
|
@@ -461,8 +465,10 @@ export type Database = {
|
|
|
461
465
|
created_at?: string | null;
|
|
462
466
|
created_by?: string | null;
|
|
463
467
|
deleted_at?: string | null;
|
|
468
|
+
file_type?: string | null;
|
|
464
469
|
id?: string;
|
|
465
470
|
object_key?: string | null;
|
|
471
|
+
original_filename?: string | null;
|
|
466
472
|
publish_status?: Database["public"]["Enums"]["publish_status"];
|
|
467
473
|
set_id?: string | null;
|
|
468
474
|
storage_provider?: string | null;
|
|
@@ -839,11 +845,13 @@ export type Database = {
|
|
|
839
845
|
duration_seconds: number | null;
|
|
840
846
|
end_verse_id: string | null;
|
|
841
847
|
file_size: number | null;
|
|
848
|
+
file_type: string | null;
|
|
842
849
|
id: string;
|
|
843
850
|
is_bible_audio: boolean | null;
|
|
844
851
|
language_entity_id: string;
|
|
845
852
|
media_type: Database["public"]["Enums"]["media_type"];
|
|
846
853
|
object_key: string | null;
|
|
854
|
+
original_filename: string | null;
|
|
847
855
|
publish_status: Database["public"]["Enums"]["publish_status"] | null;
|
|
848
856
|
start_verse_id: string | null;
|
|
849
857
|
storage_provider: string | null;
|
|
@@ -861,11 +869,13 @@ export type Database = {
|
|
|
861
869
|
duration_seconds?: number | null;
|
|
862
870
|
end_verse_id?: string | null;
|
|
863
871
|
file_size?: number | null;
|
|
872
|
+
file_type?: string | null;
|
|
864
873
|
id?: string;
|
|
865
874
|
is_bible_audio?: boolean | null;
|
|
866
875
|
language_entity_id: string;
|
|
867
876
|
media_type: Database["public"]["Enums"]["media_type"];
|
|
868
877
|
object_key?: string | null;
|
|
878
|
+
original_filename?: string | null;
|
|
869
879
|
publish_status?: Database["public"]["Enums"]["publish_status"] | null;
|
|
870
880
|
start_verse_id?: string | null;
|
|
871
881
|
storage_provider?: string | null;
|
|
@@ -883,11 +893,13 @@ export type Database = {
|
|
|
883
893
|
duration_seconds?: number | null;
|
|
884
894
|
end_verse_id?: string | null;
|
|
885
895
|
file_size?: number | null;
|
|
896
|
+
file_type?: string | null;
|
|
886
897
|
id?: string;
|
|
887
898
|
is_bible_audio?: boolean | null;
|
|
888
899
|
language_entity_id?: string;
|
|
889
900
|
media_type?: Database["public"]["Enums"]["media_type"];
|
|
890
901
|
object_key?: string | null;
|
|
902
|
+
original_filename?: string | null;
|
|
891
903
|
publish_status?: Database["public"]["Enums"]["publish_status"] | null;
|
|
892
904
|
start_verse_id?: string | null;
|
|
893
905
|
storage_provider?: string | null;
|
|
@@ -4253,6 +4265,29 @@ export type Database = {
|
|
|
4253
4265
|
Args: Record<PropertyKey, never>;
|
|
4254
4266
|
Returns: string;
|
|
4255
4267
|
};
|
|
4268
|
+
recommend_language_versions: {
|
|
4269
|
+
Args: {
|
|
4270
|
+
filter_type?: Database["public"]["Enums"]["version_filter_type"];
|
|
4271
|
+
include_regions?: boolean;
|
|
4272
|
+
lookback_days?: number;
|
|
4273
|
+
max_results?: number;
|
|
4274
|
+
};
|
|
4275
|
+
Returns: {
|
|
4276
|
+
alias_id: string;
|
|
4277
|
+
alias_name: string;
|
|
4278
|
+
alias_similarity_score: number;
|
|
4279
|
+
audio_version_count: number;
|
|
4280
|
+
audio_versions: Json;
|
|
4281
|
+
entity_id: string;
|
|
4282
|
+
entity_level: string;
|
|
4283
|
+
entity_name: string;
|
|
4284
|
+
entity_parent_id: string;
|
|
4285
|
+
regions: Json;
|
|
4286
|
+
similarity_threshold_used: number;
|
|
4287
|
+
text_version_count: number;
|
|
4288
|
+
text_versions: Json;
|
|
4289
|
+
}[];
|
|
4290
|
+
};
|
|
4256
4291
|
refresh_all_global_orders: {
|
|
4257
4292
|
Args: Record<PropertyKey, never>;
|
|
4258
4293
|
Returns: undefined;
|