@betterinternship/schema.moa 2.0.0 → 2.0.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.
@@ -1,9 +1,9 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Constants = void 0;
4
- exports.Constants = {
5
- public: {
6
- Enums: {},
7
- },
8
- };
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Constants = void 0;
4
+ exports.Constants = {
5
+ public: {
6
+ Enums: {},
7
+ },
8
+ };
9
9
  //# sourceMappingURL=db.ent.types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"db.ent.types.js","sourceRoot":"","sources":["../lib/db.ent.types.ts"],"names":[],"mappings":";;;AAkda,QAAA,SAAS,GAAG;IACvB,MAAM,EAAE;QACN,KAAK,EAAE,EAAE;KACV;CACO,CAAA"}
1
+ {"version":3,"file":"db.ent.types.js","sourceRoot":"","sources":["../lib/db.ent.types.ts"],"names":[],"mappings":";;;AA6ba,QAAA,SAAS,GAAG;IACvB,MAAM,EAAE;QACN,KAAK,EAAE,EAAE;KACV;CACO,CAAA"}
@@ -0,0 +1,207 @@
1
+ export type Json = string | number | boolean | null | {
2
+ [key: string]: Json | undefined;
3
+ } | Json[];
4
+ export type Database = {
5
+ __InternalSupabase: {
6
+ PostgrestVersion: "13.0.5";
7
+ };
8
+ public: {
9
+ Tables: {
10
+ coordinator_accounts: {
11
+ Row: {
12
+ created_at: string;
13
+ email: string;
14
+ forms: string[];
15
+ id: string;
16
+ name: string | null;
17
+ };
18
+ Insert: {
19
+ created_at?: string;
20
+ email: string;
21
+ forms: string[];
22
+ id?: string;
23
+ name?: string | null;
24
+ };
25
+ Update: {
26
+ created_at?: string;
27
+ email?: string;
28
+ forms?: string[];
29
+ id?: string;
30
+ name?: string | null;
31
+ };
32
+ Relationships: [];
33
+ };
34
+ signatory_accounts: {
35
+ Row: {
36
+ allow_autofill: boolean;
37
+ allow_autosign: boolean | null;
38
+ autofill: Json;
39
+ created_at: string;
40
+ email: string;
41
+ honorific: string | null;
42
+ id: string;
43
+ name: string;
44
+ title: string | null;
45
+ };
46
+ Insert: {
47
+ allow_autofill?: boolean;
48
+ allow_autosign?: boolean | null;
49
+ autofill?: Json;
50
+ created_at?: string;
51
+ email: string;
52
+ honorific?: string | null;
53
+ id?: string;
54
+ name: string;
55
+ title?: string | null;
56
+ };
57
+ Update: {
58
+ allow_autofill?: boolean;
59
+ allow_autosign?: boolean | null;
60
+ autofill?: Json;
61
+ created_at?: string;
62
+ email?: string;
63
+ honorific?: string | null;
64
+ id?: string;
65
+ name?: string;
66
+ title?: string | null;
67
+ };
68
+ Relationships: [];
69
+ };
70
+ signatory_forms: {
71
+ Row: {
72
+ form_label: string | null;
73
+ form_name: string;
74
+ id: string;
75
+ signatory_id: string;
76
+ student_form_id: string;
77
+ timestamp: string;
78
+ };
79
+ Insert: {
80
+ form_label?: string | null;
81
+ form_name: string;
82
+ id?: string;
83
+ signatory_id: string;
84
+ student_form_id: string;
85
+ timestamp?: string;
86
+ };
87
+ Update: {
88
+ form_label?: string | null;
89
+ form_name?: string;
90
+ id?: string;
91
+ signatory_id?: string;
92
+ student_form_id?: string;
93
+ timestamp?: string;
94
+ };
95
+ Relationships: [
96
+ {
97
+ foreignKeyName: "signatory_forms_student_form_id_fkey";
98
+ columns: ["student_form_id"];
99
+ isOneToOne: false;
100
+ referencedRelation: "student_forms";
101
+ referencedColumns: ["id"];
102
+ }
103
+ ];
104
+ };
105
+ student_forms: {
106
+ Row: {
107
+ form_label: string | null;
108
+ form_name: string;
109
+ id: string;
110
+ pending_document_id: string | null;
111
+ prefilled_document_id: string | null;
112
+ signed_document_id: string | null;
113
+ timestamp: string;
114
+ user_id: string;
115
+ };
116
+ Insert: {
117
+ form_label?: string | null;
118
+ form_name: string;
119
+ id?: string;
120
+ pending_document_id?: string | null;
121
+ prefilled_document_id?: string | null;
122
+ signed_document_id?: string | null;
123
+ timestamp?: string;
124
+ user_id: string;
125
+ };
126
+ Update: {
127
+ form_label?: string | null;
128
+ form_name?: string;
129
+ id?: string;
130
+ pending_document_id?: string | null;
131
+ prefilled_document_id?: string | null;
132
+ signed_document_id?: string | null;
133
+ timestamp?: string;
134
+ user_id?: string;
135
+ };
136
+ Relationships: [];
137
+ };
138
+ };
139
+ Views: {
140
+ [_ in never]: never;
141
+ };
142
+ Functions: {
143
+ [_ in never]: never;
144
+ };
145
+ Enums: {
146
+ [_ in never]: never;
147
+ };
148
+ CompositeTypes: {
149
+ [_ in never]: never;
150
+ };
151
+ };
152
+ };
153
+ type DatabaseWithoutInternals = Omit<Database, "__InternalSupabase">;
154
+ type DefaultSchema = DatabaseWithoutInternals[Extract<keyof Database, "public">];
155
+ export type Tables<DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema["Tables"] & DefaultSchema["Views"]) | {
156
+ schema: keyof DatabaseWithoutInternals;
157
+ }, TableName extends DefaultSchemaTableNameOrOptions extends {
158
+ schema: keyof DatabaseWithoutInternals;
159
+ } ? keyof (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Views"]) : never = never> = DefaultSchemaTableNameOrOptions extends {
160
+ schema: keyof DatabaseWithoutInternals;
161
+ } ? (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Views"])[TableName] extends {
162
+ Row: infer R;
163
+ } ? R : never : DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema["Tables"] & DefaultSchema["Views"]) ? (DefaultSchema["Tables"] & DefaultSchema["Views"])[DefaultSchemaTableNameOrOptions] extends {
164
+ Row: infer R;
165
+ } ? R : never : never;
166
+ export type TablesInsert<DefaultSchemaTableNameOrOptions extends keyof DefaultSchema["Tables"] | {
167
+ schema: keyof DatabaseWithoutInternals;
168
+ }, TableName extends DefaultSchemaTableNameOrOptions extends {
169
+ schema: keyof DatabaseWithoutInternals;
170
+ } ? keyof DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] : never = never> = DefaultSchemaTableNameOrOptions extends {
171
+ schema: keyof DatabaseWithoutInternals;
172
+ } ? DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"][TableName] extends {
173
+ Insert: infer I;
174
+ } ? I : never : DefaultSchemaTableNameOrOptions extends keyof DefaultSchema["Tables"] ? DefaultSchema["Tables"][DefaultSchemaTableNameOrOptions] extends {
175
+ Insert: infer I;
176
+ } ? I : never : never;
177
+ export type TablesUpdate<DefaultSchemaTableNameOrOptions extends keyof DefaultSchema["Tables"] | {
178
+ schema: keyof DatabaseWithoutInternals;
179
+ }, TableName extends DefaultSchemaTableNameOrOptions extends {
180
+ schema: keyof DatabaseWithoutInternals;
181
+ } ? keyof DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] : never = never> = DefaultSchemaTableNameOrOptions extends {
182
+ schema: keyof DatabaseWithoutInternals;
183
+ } ? DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"][TableName] extends {
184
+ Update: infer U;
185
+ } ? U : never : DefaultSchemaTableNameOrOptions extends keyof DefaultSchema["Tables"] ? DefaultSchema["Tables"][DefaultSchemaTableNameOrOptions] extends {
186
+ Update: infer U;
187
+ } ? U : never : never;
188
+ export type Enums<DefaultSchemaEnumNameOrOptions extends keyof DefaultSchema["Enums"] | {
189
+ schema: keyof DatabaseWithoutInternals;
190
+ }, EnumName extends DefaultSchemaEnumNameOrOptions extends {
191
+ schema: keyof DatabaseWithoutInternals;
192
+ } ? keyof DatabaseWithoutInternals[DefaultSchemaEnumNameOrOptions["schema"]]["Enums"] : never = never> = DefaultSchemaEnumNameOrOptions extends {
193
+ schema: keyof DatabaseWithoutInternals;
194
+ } ? DatabaseWithoutInternals[DefaultSchemaEnumNameOrOptions["schema"]]["Enums"][EnumName] : DefaultSchemaEnumNameOrOptions extends keyof DefaultSchema["Enums"] ? DefaultSchema["Enums"][DefaultSchemaEnumNameOrOptions] : never;
195
+ export type CompositeTypes<PublicCompositeTypeNameOrOptions extends keyof DefaultSchema["CompositeTypes"] | {
196
+ schema: keyof DatabaseWithoutInternals;
197
+ }, CompositeTypeName extends PublicCompositeTypeNameOrOptions extends {
198
+ schema: keyof DatabaseWithoutInternals;
199
+ } ? keyof DatabaseWithoutInternals[PublicCompositeTypeNameOrOptions["schema"]]["CompositeTypes"] : never = never> = PublicCompositeTypeNameOrOptions extends {
200
+ schema: keyof DatabaseWithoutInternals;
201
+ } ? DatabaseWithoutInternals[PublicCompositeTypeNameOrOptions["schema"]]["CompositeTypes"][CompositeTypeName] : PublicCompositeTypeNameOrOptions extends keyof DefaultSchema["CompositeTypes"] ? DefaultSchema["CompositeTypes"][PublicCompositeTypeNameOrOptions] : never;
202
+ export declare const Constants: {
203
+ readonly public: {
204
+ readonly Enums: {};
205
+ };
206
+ };
207
+ export {};
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Constants = void 0;
4
+ exports.Constants = {
5
+ public: {
6
+ Enums: {},
7
+ },
8
+ };
9
+ //# sourceMappingURL=db.internship.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"db.internship.types.js","sourceRoot":"","sources":["../lib/db.internship.types.ts"],"names":[],"mappings":";;;AAqRa,QAAA,SAAS,GAAG;IACvB,MAAM,EAAE;QACN,KAAK,EAAE,EAAE;KACV;CACO,CAAA"}
package/dist/db.js CHANGED
@@ -1,30 +1,40 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.handleDBError = exports.documentDb = exports.schoolDb = exports.entityDb = void 0;
4
- const supabase_js_1 = require("@supabase/supabase-js");
5
- const env_1 = require("./env");
6
- const DB_SCHOOL_URL = env_1.ENV.SUPABASE_SCHOOL_URL;
7
- const DB_ENTITY_URL = env_1.ENV.SUPABASE_ENTITY_URL;
8
- const DB_DOCUMENTS_URL = env_1.ENV.SUPABASE_DOCUMENTS_URL;
9
- const DB_SCHOOL_SERVICE_KEY = env_1.ENV.SUPABASE_SCHOOL_SERVICE_ROLE_KEY;
10
- const DB_ENTITY_SERVICE_KEY = env_1.ENV.SUPABASE_ENTITY_SERVICE_ROLE_KEY;
11
- const DB_DOCUMENTS_SERVICE_KEY = env_1.ENV.SUPABASE_DOCUMENTS_SERVICE_ROLE_KEY;
12
- if (!DB_SCHOOL_URL || !DB_ENTITY_URL || !DB_SCHOOL_SERVICE_KEY || !DB_ENTITY_SERVICE_KEY || !DB_DOCUMENTS_URL || !DB_DOCUMENTS_SERVICE_KEY)
13
- throw new Error("[ERROR:ENV] Missing Supabase configuration.");
14
- exports.entityDb = (0, supabase_js_1.createClient)(DB_ENTITY_URL, DB_ENTITY_SERVICE_KEY);
15
- exports.schoolDb = (0, supabase_js_1.createClient)(DB_SCHOOL_URL, DB_SCHOOL_SERVICE_KEY);
16
- exports.documentDb = (0, supabase_js_1.createClient)(DB_DOCUMENTS_URL, DB_DOCUMENTS_SERVICE_KEY);
17
- const handleDBError = (error, description = "") => {
18
- switch (error.code) {
19
- case "PGRST116":
20
- throw new Error(description, { cause: "DB_RECORD_NOT_FOUND" });
21
- case "23505":
22
- throw new Error(description, { cause: "DB_RECORD_ALREADY_EXISTS" });
23
- case "23503":
24
- throw new Error(description, { cause: "DB_REFERENCED_ERROR_NOT_FOUND" });
25
- default:
26
- throw new Error(description, { cause: "DB_OPERATION_FAILED" });
27
- }
28
- };
29
- exports.handleDBError = handleDBError;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.handleDBError = exports.internshipDb = exports.documentDb = exports.schoolDb = exports.entityDb = void 0;
4
+ const supabase_js_1 = require("@supabase/supabase-js");
5
+ const env_1 = require("./env");
6
+ const DB_SCHOOL_URL = env_1.ENV.SUPABASE_SCHOOL_URL;
7
+ const DB_ENTITY_URL = env_1.ENV.SUPABASE_ENTITY_URL;
8
+ const DB_DOCUMENTS_URL = env_1.ENV.SUPABASE_DOCUMENTS_URL;
9
+ const DB_INTERNSHIP_URL = env_1.ENV.SUPABASE_INTERNSHIP_URL;
10
+ const DB_SCHOOL_SERVICE_KEY = env_1.ENV.SUPABASE_SCHOOL_SERVICE_ROLE_KEY;
11
+ const DB_ENTITY_SERVICE_KEY = env_1.ENV.SUPABASE_ENTITY_SERVICE_ROLE_KEY;
12
+ const DB_DOCUMENTS_SERVICE_KEY = env_1.ENV.SUPABASE_DOCUMENTS_SERVICE_ROLE_KEY;
13
+ const DB_INTERNSHIP_SERVICE_KEY = env_1.ENV.SUPABASE_INTERNSHIP_SERVICE_ROLE_KEY;
14
+ if (!DB_SCHOOL_URL ||
15
+ !DB_ENTITY_URL ||
16
+ !DB_SCHOOL_SERVICE_KEY ||
17
+ !DB_ENTITY_SERVICE_KEY ||
18
+ !DB_DOCUMENTS_URL ||
19
+ !DB_DOCUMENTS_SERVICE_KEY ||
20
+ !DB_INTERNSHIP_URL ||
21
+ !DB_INTERNSHIP_SERVICE_KEY)
22
+ throw new Error("[ERROR:ENV] Missing Supabase configuration.");
23
+ exports.entityDb = (0, supabase_js_1.createClient)(DB_ENTITY_URL, DB_ENTITY_SERVICE_KEY);
24
+ exports.schoolDb = (0, supabase_js_1.createClient)(DB_SCHOOL_URL, DB_SCHOOL_SERVICE_KEY);
25
+ exports.documentDb = (0, supabase_js_1.createClient)(DB_DOCUMENTS_URL, DB_DOCUMENTS_SERVICE_KEY);
26
+ exports.internshipDb = (0, supabase_js_1.createClient)(DB_INTERNSHIP_URL, DB_INTERNSHIP_SERVICE_KEY);
27
+ const handleDBError = (error, description = "") => {
28
+ switch (error.code) {
29
+ case "PGRST116":
30
+ throw new Error(description, { cause: "DB_RECORD_NOT_FOUND" });
31
+ case "23505":
32
+ throw new Error(description, { cause: "DB_RECORD_ALREADY_EXISTS" });
33
+ case "23503":
34
+ throw new Error(description, { cause: "DB_REFERENCED_ERROR_NOT_FOUND" });
35
+ default:
36
+ throw new Error(description, { cause: "DB_OPERATION_FAILED" });
37
+ }
38
+ };
39
+ exports.handleDBError = handleDBError;
30
40
  //# sourceMappingURL=db.js.map
package/dist/db.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"db.js","sourceRoot":"","sources":["../lib/db.ts"],"names":[],"mappings":";;;AASA,uDAAqE;AAIrE,+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,qBAAqB,GAAG,SAAG,CAAC,gCAAgC,CAAC;AACnE,MAAM,qBAAqB,GAAG,SAAG,CAAC,gCAAgC,CAAC;AACnE,MAAM,wBAAwB,GAAG,SAAG,CAAC,mCAAmC,CAAC;AAEzE,IAAI,CAAC,aAAa,IAAI,CAAC,aAAa,IAAI,CAAC,qBAAqB,IAAI,CAAC,qBAAqB,IAAI,CAAC,gBAAgB,IAAI,CAAC,wBAAwB;IACxI,MAAM,IAAI,KAAK,CAAC,6CAA6C,CAAC,CAAC;AAYpD,QAAA,QAAQ,GAAG,IAAA,0BAAY,EAAiB,aAAa,EAAE,qBAAqB,CAAC,CAAC;AAC9E,QAAA,QAAQ,GAAG,IAAA,0BAAY,EAAiB,aAAa,EAAE,qBAAqB,CAAC,CAAC;AAC9E,QAAA,UAAU,GAAG,IAAA,0BAAY,EAAmB,gBAAgB,EAAE,wBAAwB,CAAC,CAAC;AAS9F,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"}
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;AAmDpD,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"}
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
- export * from "./db";
2
- export * as Entity from "./db.ent.types";
3
- export * as School from "./db.uni.types";
4
- export * as Document from "./db.doc.types";
1
+ export * from "./db";
2
+ export * as Entity from "./db.ent.types";
3
+ export * as School from "./db.uni.types";
4
+ export * as Document from "./db.doc.types";
5
+ export * as Internship from "./db.internship.types";
package/dist/index.js CHANGED
@@ -1,22 +1,23 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.Document = exports.School = exports.Entity = void 0;
18
- __exportStar(require("./db"), exports);
19
- exports.Entity = require("./db.ent.types");
20
- exports.School = require("./db.uni.types");
21
- exports.Document = require("./db.doc.types");
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.Internship = exports.Document = exports.School = exports.Entity = void 0;
18
+ __exportStar(require("./db"), exports);
19
+ exports.Entity = require("./db.ent.types");
20
+ exports.School = require("./db.uni.types");
21
+ exports.Document = require("./db.doc.types");
22
+ exports.Internship = require("./db.internship.types");
22
23
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../lib/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,uCAAqB;AACrB,2CAAyC;AACzC,2CAAyC;AACzC,6CAA2C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../lib/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,uCAAqB;AACrB,2CAAyC;AACzC,2CAAyC;AACzC,6CAA2C;AAC3C,sDAAoD"}