@betterinternship/schema.moa 2.2.1 → 2.3.1
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/dist/db.d.ts +53 -104
- package/dist/db.doc.types.d.ts +3 -64
- package/dist/db.doc.types.js.map +1 -1
- package/dist/db.internship.types.d.ts +50 -43
- package/dist/db.internship.types.js.map +1 -1
- package/dist/db.js.map +1 -1
- package/dist/db.uni.types.d.ts +295 -295
- package/dist/db.uni.types.js +8 -8
- package/dist/env.d.ts +1 -1
- package/dist/env.js +6 -6
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/db.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export type DocumentDatabase = _DocumentDatabase;
|
|
|
7
7
|
export type EntityDatabase = _EntityDatabase;
|
|
8
8
|
export type SchoolDatabase = _SchoolDatabase;
|
|
9
9
|
export type InternshipDatabase = _InternshipDatabase;
|
|
10
|
-
export type DocumentTables<T extends "base_documents" | "base_images" | "signed_documents" | "field_template_registry" | "
|
|
10
|
+
export type DocumentTables<T extends "base_documents" | "base_images" | "signed_documents" | "field_template_registry" | "form_template_registry" | "pending_forms" | "form_groups" | {
|
|
11
11
|
schema: "public";
|
|
12
12
|
}> = _DocumentTables<T>;
|
|
13
13
|
export type EntityTables<T extends "entities" | "entity_logs" | "messages" | "threads" | "moa_requests" | "new_entity_requests" | {
|
|
@@ -16,7 +16,7 @@ export type EntityTables<T extends "entities" | "entity_logs" | "messages" | "th
|
|
|
16
16
|
export type SchoolTables<T extends "moa_histories" | "schools" | "private_entity_notes" | "school_accounts" | "school_entities" | "school_logs" | {
|
|
17
17
|
schema: "public";
|
|
18
18
|
}> = _SchoolTables<T>;
|
|
19
|
-
export type InternshipTables<T extends "coordinator_accounts" | "signatory_accounts" | "signatory_forms" | "
|
|
19
|
+
export type InternshipTables<T extends "coordinator_accounts" | "signatory_accounts" | "signatory_forms" | "form_processes" | {
|
|
20
20
|
schema: "public";
|
|
21
21
|
}> = _InternshipTables<T>;
|
|
22
22
|
export declare const entityDb: import("@supabase/supabase-js").SupabaseClient<_EntityDatabase, "public", {
|
|
@@ -634,36 +634,6 @@ export declare const documentDb: import("@supabase/supabase-js").SupabaseClient<
|
|
|
634
634
|
};
|
|
635
635
|
Relationships: [];
|
|
636
636
|
};
|
|
637
|
-
form_group_accounts: {
|
|
638
|
-
Row: {
|
|
639
|
-
created_at: string;
|
|
640
|
-
email: string;
|
|
641
|
-
form_group_id: string;
|
|
642
|
-
id: string;
|
|
643
|
-
name: string | null;
|
|
644
|
-
};
|
|
645
|
-
Insert: {
|
|
646
|
-
created_at?: string;
|
|
647
|
-
email: string;
|
|
648
|
-
form_group_id: string;
|
|
649
|
-
id?: string;
|
|
650
|
-
name?: string | null;
|
|
651
|
-
};
|
|
652
|
-
Update: {
|
|
653
|
-
created_at?: string;
|
|
654
|
-
email?: string;
|
|
655
|
-
form_group_id?: string;
|
|
656
|
-
id?: string;
|
|
657
|
-
name?: string | null;
|
|
658
|
-
};
|
|
659
|
-
Relationships: [{
|
|
660
|
-
foreignKeyName: "form_group_accounts_form_group_id_fkey";
|
|
661
|
-
columns: ["form_group_id"];
|
|
662
|
-
isOneToOne: false;
|
|
663
|
-
referencedRelation: "form_groups";
|
|
664
|
-
referencedColumns: ["id"];
|
|
665
|
-
}];
|
|
666
|
-
};
|
|
667
637
|
form_groups: {
|
|
668
638
|
Row: {
|
|
669
639
|
description: string;
|
|
@@ -682,7 +652,7 @@ export declare const documentDb: import("@supabase/supabase-js").SupabaseClient<
|
|
|
682
652
|
};
|
|
683
653
|
Relationships: [];
|
|
684
654
|
};
|
|
685
|
-
|
|
655
|
+
form_template_registry: {
|
|
686
656
|
Row: {
|
|
687
657
|
base_document_id: string | null;
|
|
688
658
|
form_metadata_id: string;
|
|
@@ -718,7 +688,7 @@ export declare const documentDb: import("@supabase/supabase-js").SupabaseClient<
|
|
|
718
688
|
referencedColumns: ["id"];
|
|
719
689
|
}];
|
|
720
690
|
};
|
|
721
|
-
|
|
691
|
+
pending_forms: {
|
|
722
692
|
Row: {
|
|
723
693
|
audit: import("./db.doc.types").Json | null;
|
|
724
694
|
base_document_id: string | null;
|
|
@@ -772,33 +742,6 @@ export declare const documentDb: import("@supabase/supabase-js").SupabaseClient<
|
|
|
772
742
|
referencedColumns: ["id"];
|
|
773
743
|
}];
|
|
774
744
|
};
|
|
775
|
-
prefilled_documents: {
|
|
776
|
-
Row: {
|
|
777
|
-
base_document_id: string;
|
|
778
|
-
descriptors: import("./db.doc.types").Json;
|
|
779
|
-
id: string;
|
|
780
|
-
url: string;
|
|
781
|
-
};
|
|
782
|
-
Insert: {
|
|
783
|
-
base_document_id: string;
|
|
784
|
-
descriptors?: import("./db.doc.types").Json;
|
|
785
|
-
id?: string;
|
|
786
|
-
url: string;
|
|
787
|
-
};
|
|
788
|
-
Update: {
|
|
789
|
-
base_document_id?: string;
|
|
790
|
-
descriptors?: import("./db.doc.types").Json;
|
|
791
|
-
id?: string;
|
|
792
|
-
url?: string;
|
|
793
|
-
};
|
|
794
|
-
Relationships: [{
|
|
795
|
-
foreignKeyName: "prefilled_documents_base_document_id_fkey";
|
|
796
|
-
columns: ["base_document_id"];
|
|
797
|
-
isOneToOne: false;
|
|
798
|
-
referencedRelation: "base_documents";
|
|
799
|
-
referencedColumns: ["id"];
|
|
800
|
-
}];
|
|
801
|
-
};
|
|
802
745
|
signed_documents: {
|
|
803
746
|
Row: {
|
|
804
747
|
base_document_id: string | null;
|
|
@@ -906,6 +849,42 @@ export declare const internshipDb: import("@supabase/supabase-js").SupabaseClien
|
|
|
906
849
|
referencedColumns: ["id"];
|
|
907
850
|
}];
|
|
908
851
|
};
|
|
852
|
+
form_processes: {
|
|
853
|
+
Row: {
|
|
854
|
+
display_information: import("./db.internship.types").Json | null;
|
|
855
|
+
form_label: string | null;
|
|
856
|
+
form_name: string;
|
|
857
|
+
id: string;
|
|
858
|
+
initiator_id: string | null;
|
|
859
|
+
pending_document_id: string | null;
|
|
860
|
+
prefilled_document_id: string | null;
|
|
861
|
+
signed_document_id: string | null;
|
|
862
|
+
timestamp: string;
|
|
863
|
+
};
|
|
864
|
+
Insert: {
|
|
865
|
+
display_information?: import("./db.internship.types").Json | null;
|
|
866
|
+
form_label?: string | null;
|
|
867
|
+
form_name: string;
|
|
868
|
+
id?: string;
|
|
869
|
+
initiator_id?: string | null;
|
|
870
|
+
pending_document_id?: string | null;
|
|
871
|
+
prefilled_document_id?: string | null;
|
|
872
|
+
signed_document_id?: string | null;
|
|
873
|
+
timestamp?: string;
|
|
874
|
+
};
|
|
875
|
+
Update: {
|
|
876
|
+
display_information?: import("./db.internship.types").Json | null;
|
|
877
|
+
form_label?: string | null;
|
|
878
|
+
form_name?: string;
|
|
879
|
+
id?: string;
|
|
880
|
+
initiator_id?: string | null;
|
|
881
|
+
pending_document_id?: string | null;
|
|
882
|
+
prefilled_document_id?: string | null;
|
|
883
|
+
signed_document_id?: string | null;
|
|
884
|
+
timestamp?: string;
|
|
885
|
+
};
|
|
886
|
+
Relationships: [];
|
|
887
|
+
};
|
|
909
888
|
gods: {
|
|
910
889
|
Row: {
|
|
911
890
|
id: string;
|
|
@@ -930,7 +909,7 @@ export declare const internshipDb: import("@supabase/supabase-js").SupabaseClien
|
|
|
930
909
|
signatory_accounts: {
|
|
931
910
|
Row: {
|
|
932
911
|
auto_form_permissions: import("./db.internship.types").Json | null;
|
|
933
|
-
autofill: import("./db.internship.types").Json;
|
|
912
|
+
autofill: import("./db.internship.types").Json | null;
|
|
934
913
|
created_at: string;
|
|
935
914
|
email: string;
|
|
936
915
|
honorific: string | null;
|
|
@@ -940,7 +919,7 @@ export declare const internshipDb: import("@supabase/supabase-js").SupabaseClien
|
|
|
940
919
|
};
|
|
941
920
|
Insert: {
|
|
942
921
|
auto_form_permissions?: import("./db.internship.types").Json | null;
|
|
943
|
-
autofill?: import("./db.internship.types").Json;
|
|
922
|
+
autofill?: import("./db.internship.types").Json | null;
|
|
944
923
|
created_at?: string;
|
|
945
924
|
email: string;
|
|
946
925
|
honorific?: string | null;
|
|
@@ -950,7 +929,7 @@ export declare const internshipDb: import("@supabase/supabase-js").SupabaseClien
|
|
|
950
929
|
};
|
|
951
930
|
Update: {
|
|
952
931
|
auto_form_permissions?: import("./db.internship.types").Json | null;
|
|
953
|
-
autofill?: import("./db.internship.types").Json;
|
|
932
|
+
autofill?: import("./db.internship.types").Json | null;
|
|
954
933
|
created_at?: string;
|
|
955
934
|
email?: string;
|
|
956
935
|
honorific?: string | null;
|
|
@@ -965,7 +944,7 @@ export declare const internshipDb: import("@supabase/supabase-js").SupabaseClien
|
|
|
965
944
|
form_label: string | null;
|
|
966
945
|
form_name: string;
|
|
967
946
|
id: string;
|
|
968
|
-
signatory_id: string;
|
|
947
|
+
signatory_id: string | null;
|
|
969
948
|
student_form_id: string;
|
|
970
949
|
timestamp: string;
|
|
971
950
|
};
|
|
@@ -973,7 +952,7 @@ export declare const internshipDb: import("@supabase/supabase-js").SupabaseClien
|
|
|
973
952
|
form_label?: string | null;
|
|
974
953
|
form_name: string;
|
|
975
954
|
id?: string;
|
|
976
|
-
signatory_id
|
|
955
|
+
signatory_id?: string | null;
|
|
977
956
|
student_form_id: string;
|
|
978
957
|
timestamp?: string;
|
|
979
958
|
};
|
|
@@ -981,54 +960,24 @@ export declare const internshipDb: import("@supabase/supabase-js").SupabaseClien
|
|
|
981
960
|
form_label?: string | null;
|
|
982
961
|
form_name?: string;
|
|
983
962
|
id?: string;
|
|
984
|
-
signatory_id?: string;
|
|
963
|
+
signatory_id?: string | null;
|
|
985
964
|
student_form_id?: string;
|
|
986
965
|
timestamp?: string;
|
|
987
966
|
};
|
|
988
967
|
Relationships: [{
|
|
968
|
+
foreignKeyName: "signatory_forms_signatory_id_fkey";
|
|
969
|
+
columns: ["signatory_id"];
|
|
970
|
+
isOneToOne: false;
|
|
971
|
+
referencedRelation: "signatory_accounts";
|
|
972
|
+
referencedColumns: ["id"];
|
|
973
|
+
}, {
|
|
989
974
|
foreignKeyName: "signatory_forms_student_form_id_fkey";
|
|
990
975
|
columns: ["student_form_id"];
|
|
991
976
|
isOneToOne: false;
|
|
992
|
-
referencedRelation: "
|
|
977
|
+
referencedRelation: "form_processes";
|
|
993
978
|
referencedColumns: ["id"];
|
|
994
979
|
}];
|
|
995
980
|
};
|
|
996
|
-
student_forms: {
|
|
997
|
-
Row: {
|
|
998
|
-
display_information: import("./db.internship.types").Json | null;
|
|
999
|
-
form_label: string | null;
|
|
1000
|
-
form_name: string;
|
|
1001
|
-
id: string;
|
|
1002
|
-
pending_document_id: string | null;
|
|
1003
|
-
prefilled_document_id: string | null;
|
|
1004
|
-
signed_document_id: string | null;
|
|
1005
|
-
timestamp: string;
|
|
1006
|
-
user_id: string | null;
|
|
1007
|
-
};
|
|
1008
|
-
Insert: {
|
|
1009
|
-
display_information?: import("./db.internship.types").Json | null;
|
|
1010
|
-
form_label?: string | null;
|
|
1011
|
-
form_name: string;
|
|
1012
|
-
id?: string;
|
|
1013
|
-
pending_document_id?: string | null;
|
|
1014
|
-
prefilled_document_id?: string | null;
|
|
1015
|
-
signed_document_id?: string | null;
|
|
1016
|
-
timestamp?: string;
|
|
1017
|
-
user_id?: string | null;
|
|
1018
|
-
};
|
|
1019
|
-
Update: {
|
|
1020
|
-
display_information?: import("./db.internship.types").Json | null;
|
|
1021
|
-
form_label?: string | null;
|
|
1022
|
-
form_name?: string;
|
|
1023
|
-
id?: string;
|
|
1024
|
-
pending_document_id?: string | null;
|
|
1025
|
-
prefilled_document_id?: string | null;
|
|
1026
|
-
signed_document_id?: string | null;
|
|
1027
|
-
timestamp?: string;
|
|
1028
|
-
user_id?: string | null;
|
|
1029
|
-
};
|
|
1030
|
-
Relationships: [];
|
|
1031
|
-
};
|
|
1032
981
|
};
|
|
1033
982
|
Views: { [_ in never]: never; };
|
|
1034
983
|
Functions: { [_ in never]: never; };
|
package/dist/db.doc.types.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export type Json = string | number | boolean | null | {
|
|
|
3
3
|
} | Json[];
|
|
4
4
|
export type Database = {
|
|
5
5
|
__InternalSupabase: {
|
|
6
|
-
PostgrestVersion: "13.0.
|
|
6
|
+
PostgrestVersion: "13.0.5";
|
|
7
7
|
};
|
|
8
8
|
public: {
|
|
9
9
|
Tables: {
|
|
@@ -118,38 +118,6 @@ export type Database = {
|
|
|
118
118
|
};
|
|
119
119
|
Relationships: [];
|
|
120
120
|
};
|
|
121
|
-
form_group_accounts: {
|
|
122
|
-
Row: {
|
|
123
|
-
created_at: string;
|
|
124
|
-
email: string;
|
|
125
|
-
form_group_id: string;
|
|
126
|
-
id: string;
|
|
127
|
-
name: string | null;
|
|
128
|
-
};
|
|
129
|
-
Insert: {
|
|
130
|
-
created_at?: string;
|
|
131
|
-
email: string;
|
|
132
|
-
form_group_id: string;
|
|
133
|
-
id?: string;
|
|
134
|
-
name?: string | null;
|
|
135
|
-
};
|
|
136
|
-
Update: {
|
|
137
|
-
created_at?: string;
|
|
138
|
-
email?: string;
|
|
139
|
-
form_group_id?: string;
|
|
140
|
-
id?: string;
|
|
141
|
-
name?: string | null;
|
|
142
|
-
};
|
|
143
|
-
Relationships: [
|
|
144
|
-
{
|
|
145
|
-
foreignKeyName: "form_group_accounts_form_group_id_fkey";
|
|
146
|
-
columns: ["form_group_id"];
|
|
147
|
-
isOneToOne: false;
|
|
148
|
-
referencedRelation: "form_groups";
|
|
149
|
-
referencedColumns: ["id"];
|
|
150
|
-
}
|
|
151
|
-
];
|
|
152
|
-
};
|
|
153
121
|
form_groups: {
|
|
154
122
|
Row: {
|
|
155
123
|
description: string;
|
|
@@ -168,7 +136,7 @@ export type Database = {
|
|
|
168
136
|
};
|
|
169
137
|
Relationships: [];
|
|
170
138
|
};
|
|
171
|
-
|
|
139
|
+
form_template_registry: {
|
|
172
140
|
Row: {
|
|
173
141
|
base_document_id: string | null;
|
|
174
142
|
form_metadata_id: string;
|
|
@@ -206,7 +174,7 @@ export type Database = {
|
|
|
206
174
|
}
|
|
207
175
|
];
|
|
208
176
|
};
|
|
209
|
-
|
|
177
|
+
pending_forms: {
|
|
210
178
|
Row: {
|
|
211
179
|
audit: Json | null;
|
|
212
180
|
base_document_id: string | null;
|
|
@@ -262,35 +230,6 @@ export type Database = {
|
|
|
262
230
|
}
|
|
263
231
|
];
|
|
264
232
|
};
|
|
265
|
-
prefilled_documents: {
|
|
266
|
-
Row: {
|
|
267
|
-
base_document_id: string;
|
|
268
|
-
descriptors: Json;
|
|
269
|
-
id: string;
|
|
270
|
-
url: string;
|
|
271
|
-
};
|
|
272
|
-
Insert: {
|
|
273
|
-
base_document_id: string;
|
|
274
|
-
descriptors?: Json;
|
|
275
|
-
id?: string;
|
|
276
|
-
url: string;
|
|
277
|
-
};
|
|
278
|
-
Update: {
|
|
279
|
-
base_document_id?: string;
|
|
280
|
-
descriptors?: Json;
|
|
281
|
-
id?: string;
|
|
282
|
-
url?: string;
|
|
283
|
-
};
|
|
284
|
-
Relationships: [
|
|
285
|
-
{
|
|
286
|
-
foreignKeyName: "prefilled_documents_base_document_id_fkey";
|
|
287
|
-
columns: ["base_document_id"];
|
|
288
|
-
isOneToOne: false;
|
|
289
|
-
referencedRelation: "base_documents";
|
|
290
|
-
referencedColumns: ["id"];
|
|
291
|
-
}
|
|
292
|
-
];
|
|
293
|
-
};
|
|
294
233
|
signed_documents: {
|
|
295
234
|
Row: {
|
|
296
235
|
base_document_id: string | null;
|
package/dist/db.doc.types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"db.doc.types.js","sourceRoot":"","sources":["../lib/db.doc.types.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"db.doc.types.js","sourceRoot":"","sources":["../lib/db.doc.types.ts"],"names":[],"mappings":";;;AAmca,QAAA,SAAS,GAAG;IACvB,MAAM,EAAE;QACN,KAAK,EAAE;YACL,UAAU,EAAE;gBACV,MAAM;gBACN,QAAQ;gBACR,MAAM;gBACN,QAAQ;gBACR,MAAM;gBACN,WAAW;gBACX,WAAW;gBACX,UAAU;aACX;YACD,OAAO,EAAE;gBACP,SAAS;gBACT,QAAQ;gBACR,YAAY;gBACZ,kBAAkB;gBAClB,YAAY;aACb;SACF;KACF;CACO,CAAA"}
|
|
@@ -42,6 +42,42 @@ export type Database = {
|
|
|
42
42
|
}
|
|
43
43
|
];
|
|
44
44
|
};
|
|
45
|
+
form_processes: {
|
|
46
|
+
Row: {
|
|
47
|
+
display_information: Json | null;
|
|
48
|
+
form_label: string | null;
|
|
49
|
+
form_name: string;
|
|
50
|
+
id: string;
|
|
51
|
+
initiator_id: string | null;
|
|
52
|
+
pending_document_id: string | null;
|
|
53
|
+
prefilled_document_id: string | null;
|
|
54
|
+
signed_document_id: string | null;
|
|
55
|
+
timestamp: string;
|
|
56
|
+
};
|
|
57
|
+
Insert: {
|
|
58
|
+
display_information?: Json | null;
|
|
59
|
+
form_label?: string | null;
|
|
60
|
+
form_name: string;
|
|
61
|
+
id?: string;
|
|
62
|
+
initiator_id?: string | null;
|
|
63
|
+
pending_document_id?: string | null;
|
|
64
|
+
prefilled_document_id?: string | null;
|
|
65
|
+
signed_document_id?: string | null;
|
|
66
|
+
timestamp?: string;
|
|
67
|
+
};
|
|
68
|
+
Update: {
|
|
69
|
+
display_information?: Json | null;
|
|
70
|
+
form_label?: string | null;
|
|
71
|
+
form_name?: string;
|
|
72
|
+
id?: string;
|
|
73
|
+
initiator_id?: string | null;
|
|
74
|
+
pending_document_id?: string | null;
|
|
75
|
+
prefilled_document_id?: string | null;
|
|
76
|
+
signed_document_id?: string | null;
|
|
77
|
+
timestamp?: string;
|
|
78
|
+
};
|
|
79
|
+
Relationships: [];
|
|
80
|
+
};
|
|
45
81
|
gods: {
|
|
46
82
|
Row: {
|
|
47
83
|
id: string;
|
|
@@ -68,7 +104,7 @@ export type Database = {
|
|
|
68
104
|
signatory_accounts: {
|
|
69
105
|
Row: {
|
|
70
106
|
auto_form_permissions: Json | null;
|
|
71
|
-
autofill: Json;
|
|
107
|
+
autofill: Json | null;
|
|
72
108
|
created_at: string;
|
|
73
109
|
email: string;
|
|
74
110
|
honorific: string | null;
|
|
@@ -78,7 +114,7 @@ export type Database = {
|
|
|
78
114
|
};
|
|
79
115
|
Insert: {
|
|
80
116
|
auto_form_permissions?: Json | null;
|
|
81
|
-
autofill?: Json;
|
|
117
|
+
autofill?: Json | null;
|
|
82
118
|
created_at?: string;
|
|
83
119
|
email: string;
|
|
84
120
|
honorific?: string | null;
|
|
@@ -88,7 +124,7 @@ export type Database = {
|
|
|
88
124
|
};
|
|
89
125
|
Update: {
|
|
90
126
|
auto_form_permissions?: Json | null;
|
|
91
|
-
autofill?: Json;
|
|
127
|
+
autofill?: Json | null;
|
|
92
128
|
created_at?: string;
|
|
93
129
|
email?: string;
|
|
94
130
|
honorific?: string | null;
|
|
@@ -103,7 +139,7 @@ export type Database = {
|
|
|
103
139
|
form_label: string | null;
|
|
104
140
|
form_name: string;
|
|
105
141
|
id: string;
|
|
106
|
-
signatory_id: string;
|
|
142
|
+
signatory_id: string | null;
|
|
107
143
|
student_form_id: string;
|
|
108
144
|
timestamp: string;
|
|
109
145
|
};
|
|
@@ -111,7 +147,7 @@ export type Database = {
|
|
|
111
147
|
form_label?: string | null;
|
|
112
148
|
form_name: string;
|
|
113
149
|
id?: string;
|
|
114
|
-
signatory_id
|
|
150
|
+
signatory_id?: string | null;
|
|
115
151
|
student_form_id: string;
|
|
116
152
|
timestamp?: string;
|
|
117
153
|
};
|
|
@@ -119,56 +155,27 @@ export type Database = {
|
|
|
119
155
|
form_label?: string | null;
|
|
120
156
|
form_name?: string;
|
|
121
157
|
id?: string;
|
|
122
|
-
signatory_id?: string;
|
|
158
|
+
signatory_id?: string | null;
|
|
123
159
|
student_form_id?: string;
|
|
124
160
|
timestamp?: string;
|
|
125
161
|
};
|
|
126
162
|
Relationships: [
|
|
163
|
+
{
|
|
164
|
+
foreignKeyName: "signatory_forms_signatory_id_fkey";
|
|
165
|
+
columns: ["signatory_id"];
|
|
166
|
+
isOneToOne: false;
|
|
167
|
+
referencedRelation: "signatory_accounts";
|
|
168
|
+
referencedColumns: ["id"];
|
|
169
|
+
},
|
|
127
170
|
{
|
|
128
171
|
foreignKeyName: "signatory_forms_student_form_id_fkey";
|
|
129
172
|
columns: ["student_form_id"];
|
|
130
173
|
isOneToOne: false;
|
|
131
|
-
referencedRelation: "
|
|
174
|
+
referencedRelation: "form_processes";
|
|
132
175
|
referencedColumns: ["id"];
|
|
133
176
|
}
|
|
134
177
|
];
|
|
135
178
|
};
|
|
136
|
-
student_forms: {
|
|
137
|
-
Row: {
|
|
138
|
-
display_information: Json | null;
|
|
139
|
-
form_label: string | null;
|
|
140
|
-
form_name: string;
|
|
141
|
-
id: string;
|
|
142
|
-
pending_document_id: string | null;
|
|
143
|
-
prefilled_document_id: string | null;
|
|
144
|
-
signed_document_id: string | null;
|
|
145
|
-
timestamp: string;
|
|
146
|
-
user_id: string | null;
|
|
147
|
-
};
|
|
148
|
-
Insert: {
|
|
149
|
-
display_information?: Json | null;
|
|
150
|
-
form_label?: string | null;
|
|
151
|
-
form_name: string;
|
|
152
|
-
id?: string;
|
|
153
|
-
pending_document_id?: string | null;
|
|
154
|
-
prefilled_document_id?: string | null;
|
|
155
|
-
signed_document_id?: string | null;
|
|
156
|
-
timestamp?: string;
|
|
157
|
-
user_id?: string | null;
|
|
158
|
-
};
|
|
159
|
-
Update: {
|
|
160
|
-
display_information?: Json | null;
|
|
161
|
-
form_label?: string | null;
|
|
162
|
-
form_name?: string;
|
|
163
|
-
id?: string;
|
|
164
|
-
pending_document_id?: string | null;
|
|
165
|
-
prefilled_document_id?: string | null;
|
|
166
|
-
signed_document_id?: string | null;
|
|
167
|
-
timestamp?: string;
|
|
168
|
-
user_id?: string | null;
|
|
169
|
-
};
|
|
170
|
-
Relationships: [];
|
|
171
|
-
};
|
|
172
179
|
};
|
|
173
180
|
Views: {
|
|
174
181
|
[_ in never]: never;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"db.internship.types.js","sourceRoot":"","sources":["../lib/db.internship.types.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"db.internship.types.js","sourceRoot":"","sources":["../lib/db.internship.types.ts"],"names":[],"mappings":";;;AA8Ta,QAAA,SAAS,GAAG;IACvB,MAAM,EAAE;QACN,KAAK,EAAE,EAAE;KACV;CACO,CAAA"}
|
package/dist/db.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"db.js","sourceRoot":"","sources":["../lib/db.ts"],"names":[],"mappings":";;;AASA,uDAAqE;AAiBrE,+BAA4B;AAE5B,MAAM,aAAa,GAAG,SAAG,CAAC,mBAAmB,CAAC;AAC9C,MAAM,aAAa,GAAG,SAAG,CAAC,mBAAmB,CAAC;AAC9C,MAAM,gBAAgB,GAAG,SAAG,CAAC,sBAAsB,CAAC;AACpD,MAAM,iBAAiB,GAAG,SAAG,CAAC,uBAAuB,CAAC;AAEtD,MAAM,qBAAqB,GAAG,SAAG,CAAC,gCAAgC,CAAC;AACnE,MAAM,qBAAqB,GAAG,SAAG,CAAC,gCAAgC,CAAC;AACnE,MAAM,wBAAwB,GAAG,SAAG,CAAC,mCAAmC,CAAC;AACzE,MAAM,yBAAyB,GAAG,SAAG,CAAC,oCAAoC,CAAC;AAE3E,IACE,CAAC,aAAa;IACd,CAAC,aAAa;IACd,CAAC,qBAAqB;IACtB,CAAC,qBAAqB;IACtB,CAAC,gBAAgB;IACjB,CAAC,wBAAwB;IACzB,CAAC,iBAAiB;IAClB,CAAC,yBAAyB;IAE1B,MAAM,IAAI,KAAK,CAAC,6CAA6C,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"db.js","sourceRoot":"","sources":["../lib/db.ts"],"names":[],"mappings":";;;AASA,uDAAqE;AAiBrE,+BAA4B;AAE5B,MAAM,aAAa,GAAG,SAAG,CAAC,mBAAmB,CAAC;AAC9C,MAAM,aAAa,GAAG,SAAG,CAAC,mBAAmB,CAAC;AAC9C,MAAM,gBAAgB,GAAG,SAAG,CAAC,sBAAsB,CAAC;AACpD,MAAM,iBAAiB,GAAG,SAAG,CAAC,uBAAuB,CAAC;AAEtD,MAAM,qBAAqB,GAAG,SAAG,CAAC,gCAAgC,CAAC;AACnE,MAAM,qBAAqB,GAAG,SAAG,CAAC,gCAAgC,CAAC;AACnE,MAAM,wBAAwB,GAAG,SAAG,CAAC,mCAAmC,CAAC;AACzE,MAAM,yBAAyB,GAAG,SAAG,CAAC,oCAAoC,CAAC;AAE3E,IACE,CAAC,aAAa;IACd,CAAC,aAAa;IACd,CAAC,qBAAqB;IACtB,CAAC,qBAAqB;IACtB,CAAC,gBAAgB;IACjB,CAAC,wBAAwB;IACzB,CAAC,iBAAiB;IAClB,CAAC,yBAAyB;IAE1B,MAAM,IAAI,KAAK,CAAC,6CAA6C,CAAC,CAAC;AAiDpD,QAAA,QAAQ,GAAG,IAAA,0BAAY,EAClC,aAAa,EACb,qBAAqB,CACtB,CAAC;AACW,QAAA,QAAQ,GAAG,IAAA,0BAAY,EAClC,aAAa,EACb,qBAAqB,CACtB,CAAC;AACW,QAAA,UAAU,GAAG,IAAA,0BAAY,EACpC,gBAAgB,EAChB,wBAAwB,CACzB,CAAC;AACW,QAAA,YAAY,GAAG,IAAA,0BAAY,EACtC,iBAAiB,EACjB,yBAAyB,CAC1B,CAAC;AASK,MAAM,aAAa,GAAG,CAC3B,KAAqB,EACrB,cAAsB,EAAE,EACxB,EAAE;IACF,QAAQ,KAAK,CAAC,IAAI,EAAE,CAAC;QACnB,KAAK,UAAU;YACb,MAAM,IAAI,KAAK,CAAC,WAAW,EAAE,EAAE,KAAK,EAAE,qBAAqB,EAAE,CAAC,CAAC;QACjE,KAAK,OAAO;YACV,MAAM,IAAI,KAAK,CAAC,WAAW,EAAE,EAAE,KAAK,EAAE,0BAA0B,EAAE,CAAC,CAAC;QACtE,KAAK,OAAO;YACV,MAAM,IAAI,KAAK,CAAC,WAAW,EAAE,EAAE,KAAK,EAAE,+BAA+B,EAAE,CAAC,CAAC;QAC3E;YACE,MAAM,IAAI,KAAK,CAAC,WAAW,EAAE,EAAE,KAAK,EAAE,qBAAqB,EAAE,CAAC,CAAC;IACnE,CAAC;AACH,CAAC,CAAC;AAdW,QAAA,aAAa,iBAcxB"}
|