@everylanguage/shared-types 1.0.10 → 1.0.11
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 +16 -42
package/package.json
CHANGED
package/types/database.d.ts
CHANGED
|
@@ -407,7 +407,6 @@ export type Database = {
|
|
|
407
407
|
created_by: string | null;
|
|
408
408
|
id: string;
|
|
409
409
|
name: string;
|
|
410
|
-
remote_path: string;
|
|
411
410
|
updated_at: string | null;
|
|
412
411
|
};
|
|
413
412
|
Insert: {
|
|
@@ -415,7 +414,6 @@ export type Database = {
|
|
|
415
414
|
created_by?: string | null;
|
|
416
415
|
id?: string;
|
|
417
416
|
name: string;
|
|
418
|
-
remote_path: string;
|
|
419
417
|
updated_at?: string | null;
|
|
420
418
|
};
|
|
421
419
|
Update: {
|
|
@@ -423,7 +421,6 @@ export type Database = {
|
|
|
423
421
|
created_by?: string | null;
|
|
424
422
|
id?: string;
|
|
425
423
|
name?: string;
|
|
426
|
-
remote_path?: string;
|
|
427
424
|
updated_at?: string | null;
|
|
428
425
|
};
|
|
429
426
|
Relationships: [
|
|
@@ -835,6 +832,7 @@ export type Database = {
|
|
|
835
832
|
media_files: {
|
|
836
833
|
Row: {
|
|
837
834
|
audio_version_id: string | null;
|
|
835
|
+
chapter_id: string | null;
|
|
838
836
|
check_status: Database["public"]["Enums"]["check_status"] | null;
|
|
839
837
|
created_at: string | null;
|
|
840
838
|
created_by: string | null;
|
|
@@ -845,9 +843,7 @@ export type Database = {
|
|
|
845
843
|
id: string;
|
|
846
844
|
is_bible_audio: boolean | null;
|
|
847
845
|
language_entity_id: string;
|
|
848
|
-
local_path: string | null;
|
|
849
846
|
media_type: Database["public"]["Enums"]["media_type"];
|
|
850
|
-
project_id: string | null;
|
|
851
847
|
publish_status: Database["public"]["Enums"]["publish_status"] | null;
|
|
852
848
|
remote_path: string | null;
|
|
853
849
|
start_verse_id: string | null;
|
|
@@ -857,6 +853,7 @@ export type Database = {
|
|
|
857
853
|
};
|
|
858
854
|
Insert: {
|
|
859
855
|
audio_version_id?: string | null;
|
|
856
|
+
chapter_id?: string | null;
|
|
860
857
|
check_status?: Database["public"]["Enums"]["check_status"] | null;
|
|
861
858
|
created_at?: string | null;
|
|
862
859
|
created_by?: string | null;
|
|
@@ -867,9 +864,7 @@ export type Database = {
|
|
|
867
864
|
id?: string;
|
|
868
865
|
is_bible_audio?: boolean | null;
|
|
869
866
|
language_entity_id: string;
|
|
870
|
-
local_path?: string | null;
|
|
871
867
|
media_type: Database["public"]["Enums"]["media_type"];
|
|
872
|
-
project_id?: string | null;
|
|
873
868
|
publish_status?: Database["public"]["Enums"]["publish_status"] | null;
|
|
874
869
|
remote_path?: string | null;
|
|
875
870
|
start_verse_id?: string | null;
|
|
@@ -879,6 +874,7 @@ export type Database = {
|
|
|
879
874
|
};
|
|
880
875
|
Update: {
|
|
881
876
|
audio_version_id?: string | null;
|
|
877
|
+
chapter_id?: string | null;
|
|
882
878
|
check_status?: Database["public"]["Enums"]["check_status"] | null;
|
|
883
879
|
created_at?: string | null;
|
|
884
880
|
created_by?: string | null;
|
|
@@ -889,9 +885,7 @@ export type Database = {
|
|
|
889
885
|
id?: string;
|
|
890
886
|
is_bible_audio?: boolean | null;
|
|
891
887
|
language_entity_id?: string;
|
|
892
|
-
local_path?: string | null;
|
|
893
888
|
media_type?: Database["public"]["Enums"]["media_type"];
|
|
894
|
-
project_id?: string | null;
|
|
895
889
|
publish_status?: Database["public"]["Enums"]["publish_status"] | null;
|
|
896
890
|
remote_path?: string | null;
|
|
897
891
|
start_verse_id?: string | null;
|
|
@@ -907,6 +901,13 @@ export type Database = {
|
|
|
907
901
|
referencedRelation: "audio_versions";
|
|
908
902
|
referencedColumns: ["id"];
|
|
909
903
|
},
|
|
904
|
+
{
|
|
905
|
+
foreignKeyName: "media_files_chapter_id_fkey";
|
|
906
|
+
columns: ["chapter_id"];
|
|
907
|
+
isOneToOne: false;
|
|
908
|
+
referencedRelation: "chapters";
|
|
909
|
+
referencedColumns: ["id"];
|
|
910
|
+
},
|
|
910
911
|
{
|
|
911
912
|
foreignKeyName: "media_files_created_by_fkey";
|
|
912
913
|
columns: ["created_by"];
|
|
@@ -928,13 +929,6 @@ export type Database = {
|
|
|
928
929
|
referencedRelation: "language_entities";
|
|
929
930
|
referencedColumns: ["id"];
|
|
930
931
|
},
|
|
931
|
-
{
|
|
932
|
-
foreignKeyName: "media_files_project_id_fkey";
|
|
933
|
-
columns: ["project_id"];
|
|
934
|
-
isOneToOne: false;
|
|
935
|
-
referencedRelation: "projects";
|
|
936
|
-
referencedColumns: ["id"];
|
|
937
|
-
},
|
|
938
932
|
{
|
|
939
933
|
foreignKeyName: "media_files_start_verse_id_fkey";
|
|
940
934
|
columns: ["start_verse_id"];
|
|
@@ -1052,7 +1046,6 @@ export type Database = {
|
|
|
1052
1046
|
start_time_seconds: number;
|
|
1053
1047
|
updated_at: string | null;
|
|
1054
1048
|
verse_id: string;
|
|
1055
|
-
verse_text_id: string | null;
|
|
1056
1049
|
};
|
|
1057
1050
|
Insert: {
|
|
1058
1051
|
created_at?: string | null;
|
|
@@ -1064,7 +1057,6 @@ export type Database = {
|
|
|
1064
1057
|
start_time_seconds: number;
|
|
1065
1058
|
updated_at?: string | null;
|
|
1066
1059
|
verse_id: string;
|
|
1067
|
-
verse_text_id?: string | null;
|
|
1068
1060
|
};
|
|
1069
1061
|
Update: {
|
|
1070
1062
|
created_at?: string | null;
|
|
@@ -1076,7 +1068,6 @@ export type Database = {
|
|
|
1076
1068
|
start_time_seconds?: number;
|
|
1077
1069
|
updated_at?: string | null;
|
|
1078
1070
|
verse_id?: string;
|
|
1079
|
-
verse_text_id?: string | null;
|
|
1080
1071
|
};
|
|
1081
1072
|
Relationships: [
|
|
1082
1073
|
{
|
|
@@ -1099,13 +1090,6 @@ export type Database = {
|
|
|
1099
1090
|
isOneToOne: false;
|
|
1100
1091
|
referencedRelation: "verses";
|
|
1101
1092
|
referencedColumns: ["id"];
|
|
1102
|
-
},
|
|
1103
|
-
{
|
|
1104
|
-
foreignKeyName: "media_files_verses_verse_text_id_fkey";
|
|
1105
|
-
columns: ["verse_text_id"];
|
|
1106
|
-
isOneToOne: false;
|
|
1107
|
-
referencedRelation: "verse_texts";
|
|
1108
|
-
referencedColumns: ["id"];
|
|
1109
1093
|
}
|
|
1110
1094
|
];
|
|
1111
1095
|
};
|
|
@@ -2669,7 +2653,7 @@ export type Database = {
|
|
|
2669
2653
|
};
|
|
2670
2654
|
user_saved_versions: {
|
|
2671
2655
|
Row: {
|
|
2672
|
-
|
|
2656
|
+
audio_version_id: string | null;
|
|
2673
2657
|
created_at: string | null;
|
|
2674
2658
|
id: string;
|
|
2675
2659
|
text_version_id: string | null;
|
|
@@ -2677,7 +2661,7 @@ export type Database = {
|
|
|
2677
2661
|
user_id: string;
|
|
2678
2662
|
};
|
|
2679
2663
|
Insert: {
|
|
2680
|
-
|
|
2664
|
+
audio_version_id?: string | null;
|
|
2681
2665
|
created_at?: string | null;
|
|
2682
2666
|
id?: string;
|
|
2683
2667
|
text_version_id?: string | null;
|
|
@@ -2685,7 +2669,7 @@ export type Database = {
|
|
|
2685
2669
|
user_id: string;
|
|
2686
2670
|
};
|
|
2687
2671
|
Update: {
|
|
2688
|
-
|
|
2672
|
+
audio_version_id?: string | null;
|
|
2689
2673
|
created_at?: string | null;
|
|
2690
2674
|
id?: string;
|
|
2691
2675
|
text_version_id?: string | null;
|
|
@@ -2694,10 +2678,10 @@ export type Database = {
|
|
|
2694
2678
|
};
|
|
2695
2679
|
Relationships: [
|
|
2696
2680
|
{
|
|
2697
|
-
foreignKeyName: "
|
|
2698
|
-
columns: ["
|
|
2681
|
+
foreignKeyName: "user_saved_versions_audio_version_id_fkey";
|
|
2682
|
+
columns: ["audio_version_id"];
|
|
2699
2683
|
isOneToOne: false;
|
|
2700
|
-
referencedRelation: "
|
|
2684
|
+
referencedRelation: "audio_versions";
|
|
2701
2685
|
referencedColumns: ["id"];
|
|
2702
2686
|
},
|
|
2703
2687
|
{
|
|
@@ -2855,7 +2839,6 @@ export type Database = {
|
|
|
2855
2839
|
created_by: string | null;
|
|
2856
2840
|
deleted_at: string | null;
|
|
2857
2841
|
id: string;
|
|
2858
|
-
project_id: string | null;
|
|
2859
2842
|
publish_status: Database["public"]["Enums"]["publish_status"];
|
|
2860
2843
|
text_version_id: string | null;
|
|
2861
2844
|
updated_at: string | null;
|
|
@@ -2868,7 +2851,6 @@ export type Database = {
|
|
|
2868
2851
|
created_by?: string | null;
|
|
2869
2852
|
deleted_at?: string | null;
|
|
2870
2853
|
id?: string;
|
|
2871
|
-
project_id?: string | null;
|
|
2872
2854
|
publish_status?: Database["public"]["Enums"]["publish_status"];
|
|
2873
2855
|
text_version_id?: string | null;
|
|
2874
2856
|
updated_at?: string | null;
|
|
@@ -2881,7 +2863,6 @@ export type Database = {
|
|
|
2881
2863
|
created_by?: string | null;
|
|
2882
2864
|
deleted_at?: string | null;
|
|
2883
2865
|
id?: string;
|
|
2884
|
-
project_id?: string | null;
|
|
2885
2866
|
publish_status?: Database["public"]["Enums"]["publish_status"];
|
|
2886
2867
|
text_version_id?: string | null;
|
|
2887
2868
|
updated_at?: string | null;
|
|
@@ -2897,13 +2878,6 @@ export type Database = {
|
|
|
2897
2878
|
referencedRelation: "users";
|
|
2898
2879
|
referencedColumns: ["id"];
|
|
2899
2880
|
},
|
|
2900
|
-
{
|
|
2901
|
-
foreignKeyName: "verse_texts_project_id_fkey";
|
|
2902
|
-
columns: ["project_id"];
|
|
2903
|
-
isOneToOne: false;
|
|
2904
|
-
referencedRelation: "projects";
|
|
2905
|
-
referencedColumns: ["id"];
|
|
2906
|
-
},
|
|
2907
2881
|
{
|
|
2908
2882
|
foreignKeyName: "verse_texts_text_version_id_fkey";
|
|
2909
2883
|
columns: ["text_version_id"];
|