@betterinternship/schema.moa 1.5.0 → 1.5.2
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 +65 -50
- package/dist/db.doc.types.d.ts +437 -410
- package/dist/db.doc.types.js.map +1 -1
- package/dist/db.ent.types.d.ts +21 -33
- package/dist/db.ent.types.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/db.d.ts
CHANGED
|
@@ -5,10 +5,10 @@ import { Database as _DocumentDatabase, Tables as _DocumentTables } from "./db.d
|
|
|
5
5
|
export type DocumentDatabase = _DocumentDatabase;
|
|
6
6
|
export type EntityDatabase = _EntityDatabase;
|
|
7
7
|
export type SchoolDatabase = _SchoolDatabase;
|
|
8
|
-
export type DocumentTables<T extends "base_documents" | "base_images" | "signed_documents" | "
|
|
8
|
+
export type DocumentTables<T extends "base_documents" | "base_images" | "signed_documents" | "field_template_registry" | "form_schemas" | "pending_documents" | "form_groups" | "prefilled_documents" | {
|
|
9
9
|
schema: "public";
|
|
10
10
|
}> = _DocumentTables<T>;
|
|
11
|
-
export type EntityTables<T extends "entities" | "entity_logs" | "messages" | "threads" | "moa_requests" | "new_entity_requests" | "
|
|
11
|
+
export type EntityTables<T extends "entities" | "entity_logs" | "messages" | "threads" | "moa_requests" | "new_entity_requests" | "entity_autofill" | {
|
|
12
12
|
schema: "public";
|
|
13
13
|
}> = _EntityTables<T>;
|
|
14
14
|
export type SchoolTables<T extends "moa_histories" | "schools" | "private_entity_notes" | "school_accounts" | "school_entities" | "school_logs" | {
|
|
@@ -70,6 +70,27 @@ export declare const entityDb: import("@supabase/supabase-js").SupabaseClient<_E
|
|
|
70
70
|
referencedColumns: ["id"];
|
|
71
71
|
}];
|
|
72
72
|
};
|
|
73
|
+
entity_autofill: {
|
|
74
|
+
Row: {
|
|
75
|
+
autofill: import("./db.ent.types").Json;
|
|
76
|
+
email: string | null;
|
|
77
|
+
id: string;
|
|
78
|
+
name: string | null;
|
|
79
|
+
};
|
|
80
|
+
Insert: {
|
|
81
|
+
autofill: import("./db.ent.types").Json;
|
|
82
|
+
email?: string | null;
|
|
83
|
+
id?: string;
|
|
84
|
+
name?: string | null;
|
|
85
|
+
};
|
|
86
|
+
Update: {
|
|
87
|
+
autofill?: import("./db.ent.types").Json;
|
|
88
|
+
email?: string | null;
|
|
89
|
+
id?: string;
|
|
90
|
+
name?: string | null;
|
|
91
|
+
};
|
|
92
|
+
Relationships: [];
|
|
93
|
+
};
|
|
73
94
|
entity_logs: {
|
|
74
95
|
Row: {
|
|
75
96
|
entity_id: string;
|
|
@@ -286,39 +307,6 @@ export declare const entityDb: import("@supabase/supabase-js").SupabaseClient<_E
|
|
|
286
307
|
};
|
|
287
308
|
Relationships: [];
|
|
288
309
|
};
|
|
289
|
-
student_internship_forms: {
|
|
290
|
-
Row: {
|
|
291
|
-
entity_id: string | null;
|
|
292
|
-
form_name: string | null;
|
|
293
|
-
id: string;
|
|
294
|
-
pending_document_id: string | null;
|
|
295
|
-
signed_document_id: string | null;
|
|
296
|
-
timestamp: string;
|
|
297
|
-
university_id: string | null;
|
|
298
|
-
user_id: string | null;
|
|
299
|
-
};
|
|
300
|
-
Insert: {
|
|
301
|
-
entity_id?: string | null;
|
|
302
|
-
form_name?: string | null;
|
|
303
|
-
id?: string;
|
|
304
|
-
pending_document_id?: string | null;
|
|
305
|
-
signed_document_id?: string | null;
|
|
306
|
-
timestamp?: string;
|
|
307
|
-
university_id?: string | null;
|
|
308
|
-
user_id?: string | null;
|
|
309
|
-
};
|
|
310
|
-
Update: {
|
|
311
|
-
entity_id?: string | null;
|
|
312
|
-
form_name?: string | null;
|
|
313
|
-
id?: string;
|
|
314
|
-
pending_document_id?: string | null;
|
|
315
|
-
signed_document_id?: string | null;
|
|
316
|
-
timestamp?: string;
|
|
317
|
-
university_id?: string | null;
|
|
318
|
-
user_id?: string | null;
|
|
319
|
-
};
|
|
320
|
-
Relationships: [];
|
|
321
|
-
};
|
|
322
310
|
threads: {
|
|
323
311
|
Row: {
|
|
324
312
|
id: string;
|
|
@@ -653,6 +641,33 @@ export declare const documentDb: import("@supabase/supabase-js").SupabaseClient<
|
|
|
653
641
|
};
|
|
654
642
|
Relationships: [];
|
|
655
643
|
};
|
|
644
|
+
field_template_registry: {
|
|
645
|
+
Row: {
|
|
646
|
+
id: string;
|
|
647
|
+
name: string;
|
|
648
|
+
prefiller: string | null;
|
|
649
|
+
preset: string;
|
|
650
|
+
tooltip_label: string | null;
|
|
651
|
+
validator: string | null;
|
|
652
|
+
};
|
|
653
|
+
Insert: {
|
|
654
|
+
id?: string;
|
|
655
|
+
name: string;
|
|
656
|
+
prefiller?: string | null;
|
|
657
|
+
preset?: string;
|
|
658
|
+
tooltip_label?: string | null;
|
|
659
|
+
validator?: string | null;
|
|
660
|
+
};
|
|
661
|
+
Update: {
|
|
662
|
+
id?: string;
|
|
663
|
+
name?: string;
|
|
664
|
+
prefiller?: string | null;
|
|
665
|
+
preset?: string;
|
|
666
|
+
tooltip_label?: string | null;
|
|
667
|
+
validator?: string | null;
|
|
668
|
+
};
|
|
669
|
+
Relationships: [];
|
|
670
|
+
};
|
|
656
671
|
field_transformers: {
|
|
657
672
|
Row: {
|
|
658
673
|
id: string;
|
|
@@ -710,47 +725,47 @@ export declare const documentDb: import("@supabase/supabase-js").SupabaseClient<
|
|
|
710
725
|
form_schemas: {
|
|
711
726
|
Row: {
|
|
712
727
|
base_document_id: string | null;
|
|
713
|
-
fields: import("./db.doc.types").Json;
|
|
728
|
+
fields: import("./db.doc.types").Json | null;
|
|
714
729
|
fields_filled_by_user: string[] | null;
|
|
715
730
|
form_metadata_id: string;
|
|
716
731
|
id: string;
|
|
717
732
|
initiators: string[] | null;
|
|
718
733
|
label: string | null;
|
|
719
734
|
name: string;
|
|
720
|
-
params: import("./db.doc.types").Json;
|
|
721
|
-
required_parties: string[];
|
|
722
|
-
schema: import("./db.doc.types").Json;
|
|
723
|
-
subscribers: string[];
|
|
735
|
+
params: import("./db.doc.types").Json | null;
|
|
736
|
+
required_parties: string[] | null;
|
|
737
|
+
schema: import("./db.doc.types").Json | null;
|
|
738
|
+
subscribers: string[] | null;
|
|
724
739
|
version: number;
|
|
725
740
|
};
|
|
726
741
|
Insert: {
|
|
727
742
|
base_document_id?: string | null;
|
|
728
|
-
fields
|
|
743
|
+
fields?: import("./db.doc.types").Json | null;
|
|
729
744
|
fields_filled_by_user?: string[] | null;
|
|
730
745
|
form_metadata_id?: string;
|
|
731
746
|
id?: string;
|
|
732
747
|
initiators?: string[] | null;
|
|
733
748
|
label?: string | null;
|
|
734
749
|
name: string;
|
|
735
|
-
params?: import("./db.doc.types").Json;
|
|
736
|
-
required_parties?: string[];
|
|
737
|
-
schema?: import("./db.doc.types").Json;
|
|
738
|
-
subscribers?: string[];
|
|
750
|
+
params?: import("./db.doc.types").Json | null;
|
|
751
|
+
required_parties?: string[] | null;
|
|
752
|
+
schema?: import("./db.doc.types").Json | null;
|
|
753
|
+
subscribers?: string[] | null;
|
|
739
754
|
version?: number;
|
|
740
755
|
};
|
|
741
756
|
Update: {
|
|
742
757
|
base_document_id?: string | null;
|
|
743
|
-
fields?: import("./db.doc.types").Json;
|
|
758
|
+
fields?: import("./db.doc.types").Json | null;
|
|
744
759
|
fields_filled_by_user?: string[] | null;
|
|
745
760
|
form_metadata_id?: string;
|
|
746
761
|
id?: string;
|
|
747
762
|
initiators?: string[] | null;
|
|
748
763
|
label?: string | null;
|
|
749
764
|
name?: string;
|
|
750
|
-
params?: import("./db.doc.types").Json;
|
|
751
|
-
required_parties?: string[];
|
|
752
|
-
schema?: import("./db.doc.types").Json;
|
|
753
|
-
subscribers?: string[];
|
|
765
|
+
params?: import("./db.doc.types").Json | null;
|
|
766
|
+
required_parties?: string[] | null;
|
|
767
|
+
schema?: import("./db.doc.types").Json | null;
|
|
768
|
+
subscribers?: string[] | null;
|
|
754
769
|
version?: number;
|
|
755
770
|
};
|
|
756
771
|
Relationships: [{
|