tuition-schema 0.1.0
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/enquiry.schema.d.ts +451 -0
- package/dist/enquiry.schema.d.ts.map +1 -0
- package/dist/enquiry.schema.js +18 -0
- package/dist/enquiry.schema.js.map +1 -0
- package/dist/enrollment.schema.d.ts +470 -0
- package/dist/enrollment.schema.d.ts.map +1 -0
- package/dist/enrollment.schema.js +24 -0
- package/dist/enrollment.schema.js.map +1 -0
- package/dist/enums.d.ts +37 -0
- package/dist/enums.d.ts.map +1 -0
- package/dist/enums.js +99 -0
- package/dist/enums.js.map +1 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +17 -0
- package/dist/index.js.map +1 -0
- package/dist/institute-profile.schema.d.ts +1020 -0
- package/dist/institute-profile.schema.d.ts.map +1 -0
- package/dist/institute-profile.schema.js +58 -0
- package/dist/institute-profile.schema.js.map +1 -0
- package/dist/review.schema.d.ts +34 -0
- package/dist/review.schema.d.ts.map +1 -0
- package/dist/review.schema.js +18 -0
- package/dist/review.schema.js.map +1 -0
- package/dist/search.schema.d.ts +480 -0
- package/dist/search.schema.d.ts.map +1 -0
- package/dist/search.schema.js +31 -0
- package/dist/search.schema.js.map +1 -0
- package/dist/subjects.d.ts +24 -0
- package/dist/subjects.d.ts.map +1 -0
- package/dist/subjects.js +510 -0
- package/dist/subjects.js.map +1 -0
- package/dist/tutor-profile.schema.d.ts +1030 -0
- package/dist/tutor-profile.schema.d.ts.map +1 -0
- package/dist/tutor-profile.schema.js +51 -0
- package/dist/tutor-profile.schema.js.map +1 -0
- package/package.json +43 -0
|
@@ -0,0 +1,470 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const createEnrollmentSchema: z.ZodObject<{
|
|
3
|
+
providerId: z.ZodString;
|
|
4
|
+
providerType: z.ZodEnum<{
|
|
5
|
+
tutor: "tutor";
|
|
6
|
+
institute: "institute";
|
|
7
|
+
}>;
|
|
8
|
+
subject: z.ZodEnum<{
|
|
9
|
+
mathematics: "mathematics";
|
|
10
|
+
english: "english";
|
|
11
|
+
hindi: "hindi";
|
|
12
|
+
science: "science";
|
|
13
|
+
social_studies: "social_studies";
|
|
14
|
+
environmental_studies: "environmental_studies";
|
|
15
|
+
physics: "physics";
|
|
16
|
+
chemistry: "chemistry";
|
|
17
|
+
biology: "biology";
|
|
18
|
+
computer_science: "computer_science";
|
|
19
|
+
information_practices: "information_practices";
|
|
20
|
+
biotechnology: "biotechnology";
|
|
21
|
+
accountancy: "accountancy";
|
|
22
|
+
business_studies: "business_studies";
|
|
23
|
+
economics: "economics";
|
|
24
|
+
entrepreneurship: "entrepreneurship";
|
|
25
|
+
statistics_commerce: "statistics_commerce";
|
|
26
|
+
history: "history";
|
|
27
|
+
geography: "geography";
|
|
28
|
+
political_science: "political_science";
|
|
29
|
+
sociology: "sociology";
|
|
30
|
+
psychology: "psychology";
|
|
31
|
+
philosophy: "philosophy";
|
|
32
|
+
home_science: "home_science";
|
|
33
|
+
legal_studies: "legal_studies";
|
|
34
|
+
media_studies: "media_studies";
|
|
35
|
+
sanskrit: "sanskrit";
|
|
36
|
+
urdu: "urdu";
|
|
37
|
+
tamil: "tamil";
|
|
38
|
+
telugu: "telugu";
|
|
39
|
+
kannada: "kannada";
|
|
40
|
+
malayalam: "malayalam";
|
|
41
|
+
bengali: "bengali";
|
|
42
|
+
marathi: "marathi";
|
|
43
|
+
gujarati: "gujarati";
|
|
44
|
+
punjabi: "punjabi";
|
|
45
|
+
odia: "odia";
|
|
46
|
+
assamese: "assamese";
|
|
47
|
+
manipuri: "manipuri";
|
|
48
|
+
bodo: "bodo";
|
|
49
|
+
dogri: "dogri";
|
|
50
|
+
kashmiri: "kashmiri";
|
|
51
|
+
konkani: "konkani";
|
|
52
|
+
maithili: "maithili";
|
|
53
|
+
nepali: "nepali";
|
|
54
|
+
santali: "santali";
|
|
55
|
+
sindhi: "sindhi";
|
|
56
|
+
french: "french";
|
|
57
|
+
german: "german";
|
|
58
|
+
japanese: "japanese";
|
|
59
|
+
spanish: "spanish";
|
|
60
|
+
chinese: "chinese";
|
|
61
|
+
arabic: "arabic";
|
|
62
|
+
fine_art: "fine_art";
|
|
63
|
+
music_vocal: "music_vocal";
|
|
64
|
+
music_instrumental: "music_instrumental";
|
|
65
|
+
dance: "dance";
|
|
66
|
+
physical_education: "physical_education";
|
|
67
|
+
yoga: "yoga";
|
|
68
|
+
general_knowledge: "general_knowledge";
|
|
69
|
+
moral_science: "moral_science";
|
|
70
|
+
eng_mechanical: "eng_mechanical";
|
|
71
|
+
eng_civil: "eng_civil";
|
|
72
|
+
eng_electrical: "eng_electrical";
|
|
73
|
+
eng_electronics: "eng_electronics";
|
|
74
|
+
eng_computer_science: "eng_computer_science";
|
|
75
|
+
eng_information_technology: "eng_information_technology";
|
|
76
|
+
eng_chemical: "eng_chemical";
|
|
77
|
+
eng_aerospace: "eng_aerospace";
|
|
78
|
+
eng_biotechnology: "eng_biotechnology";
|
|
79
|
+
eng_automobile: "eng_automobile";
|
|
80
|
+
eng_mining: "eng_mining";
|
|
81
|
+
eng_textile: "eng_textile";
|
|
82
|
+
eng_environmental: "eng_environmental";
|
|
83
|
+
eng_instrumentation: "eng_instrumentation";
|
|
84
|
+
eng_production: "eng_production";
|
|
85
|
+
eng_metallurgy: "eng_metallurgy";
|
|
86
|
+
eng_marine: "eng_marine";
|
|
87
|
+
eng_agricultural: "eng_agricultural";
|
|
88
|
+
med_anatomy: "med_anatomy";
|
|
89
|
+
med_physiology: "med_physiology";
|
|
90
|
+
med_biochemistry: "med_biochemistry";
|
|
91
|
+
med_pharmacology: "med_pharmacology";
|
|
92
|
+
med_pathology: "med_pathology";
|
|
93
|
+
med_microbiology: "med_microbiology";
|
|
94
|
+
med_forensic_medicine: "med_forensic_medicine";
|
|
95
|
+
med_community_medicine: "med_community_medicine";
|
|
96
|
+
med_medicine: "med_medicine";
|
|
97
|
+
med_surgery: "med_surgery";
|
|
98
|
+
med_obstetrics_gynecology: "med_obstetrics_gynecology";
|
|
99
|
+
med_pediatrics: "med_pediatrics";
|
|
100
|
+
med_orthopedics: "med_orthopedics";
|
|
101
|
+
med_ophthalmology: "med_ophthalmology";
|
|
102
|
+
med_ent: "med_ent";
|
|
103
|
+
med_dermatology: "med_dermatology";
|
|
104
|
+
med_psychiatry: "med_psychiatry";
|
|
105
|
+
med_radiology: "med_radiology";
|
|
106
|
+
med_anesthesiology: "med_anesthesiology";
|
|
107
|
+
dental_general: "dental_general";
|
|
108
|
+
dental_orthodontics: "dental_orthodontics";
|
|
109
|
+
dental_prosthodontics: "dental_prosthodontics";
|
|
110
|
+
dental_periodontics: "dental_periodontics";
|
|
111
|
+
dental_oral_surgery: "dental_oral_surgery";
|
|
112
|
+
bcom_accounting: "bcom_accounting";
|
|
113
|
+
bcom_taxation: "bcom_taxation";
|
|
114
|
+
bcom_auditing: "bcom_auditing";
|
|
115
|
+
bcom_corporate_law: "bcom_corporate_law";
|
|
116
|
+
bcom_banking: "bcom_banking";
|
|
117
|
+
bcom_finance: "bcom_finance";
|
|
118
|
+
bcom_business_economics: "bcom_business_economics";
|
|
119
|
+
bcom_cost_accounting: "bcom_cost_accounting";
|
|
120
|
+
bsc_mathematics: "bsc_mathematics";
|
|
121
|
+
bsc_physics: "bsc_physics";
|
|
122
|
+
bsc_chemistry: "bsc_chemistry";
|
|
123
|
+
bsc_biology: "bsc_biology";
|
|
124
|
+
bsc_zoology: "bsc_zoology";
|
|
125
|
+
bsc_botany: "bsc_botany";
|
|
126
|
+
bsc_statistics: "bsc_statistics";
|
|
127
|
+
bsc_geology: "bsc_geology";
|
|
128
|
+
bsc_environmental_science: "bsc_environmental_science";
|
|
129
|
+
bsc_microbiology: "bsc_microbiology";
|
|
130
|
+
bsc_genetics: "bsc_genetics";
|
|
131
|
+
bsc_computer_science: "bsc_computer_science";
|
|
132
|
+
bsc_electronics: "bsc_electronics";
|
|
133
|
+
bsc_food_science: "bsc_food_science";
|
|
134
|
+
bsc_forensic_science: "bsc_forensic_science";
|
|
135
|
+
bsc_data_science: "bsc_data_science";
|
|
136
|
+
ba_english_literature: "ba_english_literature";
|
|
137
|
+
ba_hindi_literature: "ba_hindi_literature";
|
|
138
|
+
ba_history: "ba_history";
|
|
139
|
+
ba_political_science: "ba_political_science";
|
|
140
|
+
ba_economics: "ba_economics";
|
|
141
|
+
ba_sociology: "ba_sociology";
|
|
142
|
+
ba_psychology: "ba_psychology";
|
|
143
|
+
ba_philosophy: "ba_philosophy";
|
|
144
|
+
ba_journalism: "ba_journalism";
|
|
145
|
+
ba_mass_communication: "ba_mass_communication";
|
|
146
|
+
ba_public_administration: "ba_public_administration";
|
|
147
|
+
ba_social_work: "ba_social_work";
|
|
148
|
+
ba_geography: "ba_geography";
|
|
149
|
+
ba_anthropology: "ba_anthropology";
|
|
150
|
+
ba_fine_arts: "ba_fine_arts";
|
|
151
|
+
ba_music: "ba_music";
|
|
152
|
+
ba_theatre: "ba_theatre";
|
|
153
|
+
ba_linguistics: "ba_linguistics";
|
|
154
|
+
law_constitutional: "law_constitutional";
|
|
155
|
+
law_criminal: "law_criminal";
|
|
156
|
+
law_civil: "law_civil";
|
|
157
|
+
law_corporate: "law_corporate";
|
|
158
|
+
law_international: "law_international";
|
|
159
|
+
law_labour: "law_labour";
|
|
160
|
+
law_ipr: "law_ipr";
|
|
161
|
+
law_environmental: "law_environmental";
|
|
162
|
+
law_family: "law_family";
|
|
163
|
+
law_tax: "law_tax";
|
|
164
|
+
bba_marketing: "bba_marketing";
|
|
165
|
+
bba_finance: "bba_finance";
|
|
166
|
+
bba_hr: "bba_hr";
|
|
167
|
+
bba_operations: "bba_operations";
|
|
168
|
+
bba_business_analytics: "bba_business_analytics";
|
|
169
|
+
bba_international_business: "bba_international_business";
|
|
170
|
+
design_fashion: "design_fashion";
|
|
171
|
+
design_interior: "design_interior";
|
|
172
|
+
design_graphic: "design_graphic";
|
|
173
|
+
design_product: "design_product";
|
|
174
|
+
design_ux_ui: "design_ux_ui";
|
|
175
|
+
design_animation: "design_animation";
|
|
176
|
+
design_textile: "design_textile";
|
|
177
|
+
nursing: "nursing";
|
|
178
|
+
pharmacy: "pharmacy";
|
|
179
|
+
physiotherapy: "physiotherapy";
|
|
180
|
+
occupational_therapy: "occupational_therapy";
|
|
181
|
+
agriculture: "agriculture";
|
|
182
|
+
veterinary_science: "veterinary_science";
|
|
183
|
+
library_science: "library_science";
|
|
184
|
+
education_bed: "education_bed";
|
|
185
|
+
hotel_management: "hotel_management";
|
|
186
|
+
event_management: "event_management";
|
|
187
|
+
film_studies: "film_studies";
|
|
188
|
+
architecture: "architecture";
|
|
189
|
+
planning: "planning";
|
|
190
|
+
mba_finance: "mba_finance";
|
|
191
|
+
mba_marketing: "mba_marketing";
|
|
192
|
+
mba_hr: "mba_hr";
|
|
193
|
+
mba_operations: "mba_operations";
|
|
194
|
+
mba_it: "mba_it";
|
|
195
|
+
mba_business_analytics: "mba_business_analytics";
|
|
196
|
+
mba_international_business: "mba_international_business";
|
|
197
|
+
mba_healthcare: "mba_healthcare";
|
|
198
|
+
mba_rural_management: "mba_rural_management";
|
|
199
|
+
mba_entrepreneurship: "mba_entrepreneurship";
|
|
200
|
+
mtech_cs: "mtech_cs";
|
|
201
|
+
mtech_electronics: "mtech_electronics";
|
|
202
|
+
mtech_mechanical: "mtech_mechanical";
|
|
203
|
+
mtech_civil: "mtech_civil";
|
|
204
|
+
mtech_ai_ml: "mtech_ai_ml";
|
|
205
|
+
mtech_data_science: "mtech_data_science";
|
|
206
|
+
mtech_robotics: "mtech_robotics";
|
|
207
|
+
mtech_vlsi: "mtech_vlsi";
|
|
208
|
+
mtech_power_systems: "mtech_power_systems";
|
|
209
|
+
mtech_structural: "mtech_structural";
|
|
210
|
+
mtech_environmental: "mtech_environmental";
|
|
211
|
+
mca_software_engineering: "mca_software_engineering";
|
|
212
|
+
mca_dbms: "mca_dbms";
|
|
213
|
+
mca_networking: "mca_networking";
|
|
214
|
+
mca_cloud_computing: "mca_cloud_computing";
|
|
215
|
+
mca_cyber_security: "mca_cyber_security";
|
|
216
|
+
mca_ai: "mca_ai";
|
|
217
|
+
msc_mathematics: "msc_mathematics";
|
|
218
|
+
msc_physics: "msc_physics";
|
|
219
|
+
msc_chemistry: "msc_chemistry";
|
|
220
|
+
msc_biology: "msc_biology";
|
|
221
|
+
msc_statistics: "msc_statistics";
|
|
222
|
+
msc_data_science: "msc_data_science";
|
|
223
|
+
msc_environmental_science: "msc_environmental_science";
|
|
224
|
+
msc_computer_science: "msc_computer_science";
|
|
225
|
+
msc_biotechnology: "msc_biotechnology";
|
|
226
|
+
msc_microbiology: "msc_microbiology";
|
|
227
|
+
msc_forensic_science: "msc_forensic_science";
|
|
228
|
+
ma_english: "ma_english";
|
|
229
|
+
ma_hindi: "ma_hindi";
|
|
230
|
+
ma_history: "ma_history";
|
|
231
|
+
ma_political_science: "ma_political_science";
|
|
232
|
+
ma_economics: "ma_economics";
|
|
233
|
+
ma_sociology: "ma_sociology";
|
|
234
|
+
ma_psychology: "ma_psychology";
|
|
235
|
+
ma_public_administration: "ma_public_administration";
|
|
236
|
+
ma_philosophy: "ma_philosophy";
|
|
237
|
+
ma_social_work: "ma_social_work";
|
|
238
|
+
ma_journalism: "ma_journalism";
|
|
239
|
+
ma_education: "ma_education";
|
|
240
|
+
mcom_accounting: "mcom_accounting";
|
|
241
|
+
mcom_finance: "mcom_finance";
|
|
242
|
+
mcom_taxation: "mcom_taxation";
|
|
243
|
+
mcom_banking: "mcom_banking";
|
|
244
|
+
mcom_business_economics: "mcom_business_economics";
|
|
245
|
+
llm_constitutional: "llm_constitutional";
|
|
246
|
+
llm_criminal: "llm_criminal";
|
|
247
|
+
llm_corporate: "llm_corporate";
|
|
248
|
+
llm_international: "llm_international";
|
|
249
|
+
llm_ipr: "llm_ipr";
|
|
250
|
+
llm_human_rights: "llm_human_rights";
|
|
251
|
+
llm_cyber_law: "llm_cyber_law";
|
|
252
|
+
md_medicine: "md_medicine";
|
|
253
|
+
md_pediatrics: "md_pediatrics";
|
|
254
|
+
md_dermatology: "md_dermatology";
|
|
255
|
+
md_psychiatry: "md_psychiatry";
|
|
256
|
+
md_radiology: "md_radiology";
|
|
257
|
+
md_anesthesiology: "md_anesthesiology";
|
|
258
|
+
md_pathology: "md_pathology";
|
|
259
|
+
md_pharmacology: "md_pharmacology";
|
|
260
|
+
md_community_medicine: "md_community_medicine";
|
|
261
|
+
ms_surgery: "ms_surgery";
|
|
262
|
+
ms_orthopedics: "ms_orthopedics";
|
|
263
|
+
ms_ophthalmology: "ms_ophthalmology";
|
|
264
|
+
ms_ent: "ms_ent";
|
|
265
|
+
ms_obstetrics_gynecology: "ms_obstetrics_gynecology";
|
|
266
|
+
pg_diploma_management: "pg_diploma_management";
|
|
267
|
+
pg_diploma_journalism: "pg_diploma_journalism";
|
|
268
|
+
pg_diploma_clinical_research: "pg_diploma_clinical_research";
|
|
269
|
+
mpharma: "mpharma";
|
|
270
|
+
mphil: "mphil";
|
|
271
|
+
phd_research: "phd_research";
|
|
272
|
+
jee_main: "jee_main";
|
|
273
|
+
jee_advanced: "jee_advanced";
|
|
274
|
+
bitsat: "bitsat";
|
|
275
|
+
viteee: "viteee";
|
|
276
|
+
srmjee: "srmjee";
|
|
277
|
+
mht_cet: "mht_cet";
|
|
278
|
+
wbjee: "wbjee";
|
|
279
|
+
kcet: "kcet";
|
|
280
|
+
ap_eamcet: "ap_eamcet";
|
|
281
|
+
ts_eamcet: "ts_eamcet";
|
|
282
|
+
comedk: "comedk";
|
|
283
|
+
kiitee: "kiitee";
|
|
284
|
+
manipal_met: "manipal_met";
|
|
285
|
+
neet_ug: "neet_ug";
|
|
286
|
+
neet_pg: "neet_pg";
|
|
287
|
+
neet_ss: "neet_ss";
|
|
288
|
+
aiims_pg: "aiims_pg";
|
|
289
|
+
jipmer_pg: "jipmer_pg";
|
|
290
|
+
fmge: "fmge";
|
|
291
|
+
neet_mds: "neet_mds";
|
|
292
|
+
ini_cet: "ini_cet";
|
|
293
|
+
upsc_cse: "upsc_cse";
|
|
294
|
+
upsc_ifs: "upsc_ifs";
|
|
295
|
+
upsc_cds: "upsc_cds";
|
|
296
|
+
upsc_nda: "upsc_nda";
|
|
297
|
+
upsc_capf: "upsc_capf";
|
|
298
|
+
upsc_ese: "upsc_ese";
|
|
299
|
+
upsc_cms: "upsc_cms";
|
|
300
|
+
state_psc: "state_psc";
|
|
301
|
+
uppsc: "uppsc";
|
|
302
|
+
bpsc: "bpsc";
|
|
303
|
+
mppsc: "mppsc";
|
|
304
|
+
rpsc: "rpsc";
|
|
305
|
+
gpsc: "gpsc";
|
|
306
|
+
tspsc: "tspsc";
|
|
307
|
+
appsc: "appsc";
|
|
308
|
+
kpsc: "kpsc";
|
|
309
|
+
wbpsc: "wbpsc";
|
|
310
|
+
mpsc_maharashtra: "mpsc_maharashtra";
|
|
311
|
+
tnpsc: "tnpsc";
|
|
312
|
+
kppsc: "kppsc";
|
|
313
|
+
nda: "nda";
|
|
314
|
+
cds: "cds";
|
|
315
|
+
afcat: "afcat";
|
|
316
|
+
indian_navy: "indian_navy";
|
|
317
|
+
indian_coast_guard: "indian_coast_guard";
|
|
318
|
+
territorial_army: "territorial_army";
|
|
319
|
+
ibps_po: "ibps_po";
|
|
320
|
+
ibps_clerk: "ibps_clerk";
|
|
321
|
+
ibps_so: "ibps_so";
|
|
322
|
+
ibps_rrb: "ibps_rrb";
|
|
323
|
+
sbi_po: "sbi_po";
|
|
324
|
+
sbi_clerk: "sbi_clerk";
|
|
325
|
+
sbi_so: "sbi_so";
|
|
326
|
+
rbi_grade_b: "rbi_grade_b";
|
|
327
|
+
rbi_assistant: "rbi_assistant";
|
|
328
|
+
sebi_grade_a: "sebi_grade_a";
|
|
329
|
+
nabard_grade_a: "nabard_grade_a";
|
|
330
|
+
nabard_grade_b: "nabard_grade_b";
|
|
331
|
+
lic_aao: "lic_aao";
|
|
332
|
+
lic_ado: "lic_ado";
|
|
333
|
+
niacl_ao: "niacl_ao";
|
|
334
|
+
uiic_ao: "uiic_ao";
|
|
335
|
+
ssc_cgl: "ssc_cgl";
|
|
336
|
+
ssc_chsl: "ssc_chsl";
|
|
337
|
+
ssc_mts: "ssc_mts";
|
|
338
|
+
ssc_gd: "ssc_gd";
|
|
339
|
+
ssc_je: "ssc_je";
|
|
340
|
+
ssc_stenographer: "ssc_stenographer";
|
|
341
|
+
ssc_cpo: "ssc_cpo";
|
|
342
|
+
ssc_selection_post: "ssc_selection_post";
|
|
343
|
+
cat: "cat";
|
|
344
|
+
xat: "xat";
|
|
345
|
+
mat: "mat";
|
|
346
|
+
snap: "snap";
|
|
347
|
+
cmat: "cmat";
|
|
348
|
+
nmat: "nmat";
|
|
349
|
+
iift: "iift";
|
|
350
|
+
atma: "atma";
|
|
351
|
+
tissnet: "tissnet";
|
|
352
|
+
micat: "micat";
|
|
353
|
+
clat: "clat";
|
|
354
|
+
ailet: "ailet";
|
|
355
|
+
lsat_india: "lsat_india";
|
|
356
|
+
mh_cet_law: "mh_cet_law";
|
|
357
|
+
du_llb: "du_llb";
|
|
358
|
+
bhu_llb: "bhu_llb";
|
|
359
|
+
symbiosis_set: "symbiosis_set";
|
|
360
|
+
nid: "nid";
|
|
361
|
+
nift: "nift";
|
|
362
|
+
uceed: "uceed";
|
|
363
|
+
ceed: "ceed";
|
|
364
|
+
ctet: "ctet";
|
|
365
|
+
tet_state: "tet_state";
|
|
366
|
+
ugc_net: "ugc_net";
|
|
367
|
+
csir_net: "csir_net";
|
|
368
|
+
set_state: "set_state";
|
|
369
|
+
kvs_pgt_tgt: "kvs_pgt_tgt";
|
|
370
|
+
navodaya_nv: "navodaya_nv";
|
|
371
|
+
dsssb: "dsssb";
|
|
372
|
+
rrb_ntpc: "rrb_ntpc";
|
|
373
|
+
rrb_group_d: "rrb_group_d";
|
|
374
|
+
rrb_je: "rrb_je";
|
|
375
|
+
rrb_alp: "rrb_alp";
|
|
376
|
+
rrb_paramedical: "rrb_paramedical";
|
|
377
|
+
gate: "gate";
|
|
378
|
+
ese: "ese";
|
|
379
|
+
gre: "gre";
|
|
380
|
+
gmat: "gmat";
|
|
381
|
+
toefl: "toefl";
|
|
382
|
+
ielts: "ielts";
|
|
383
|
+
sat: "sat";
|
|
384
|
+
act: "act";
|
|
385
|
+
pte: "pte";
|
|
386
|
+
ca_foundation: "ca_foundation";
|
|
387
|
+
ca_intermediate: "ca_intermediate";
|
|
388
|
+
ca_final: "ca_final";
|
|
389
|
+
cs_foundation: "cs_foundation";
|
|
390
|
+
cs_executive: "cs_executive";
|
|
391
|
+
cs_professional: "cs_professional";
|
|
392
|
+
cma_foundation: "cma_foundation";
|
|
393
|
+
cma_intermediate: "cma_intermediate";
|
|
394
|
+
cma_final: "cma_final";
|
|
395
|
+
cfa: "cfa";
|
|
396
|
+
frm: "frm";
|
|
397
|
+
acca: "acca";
|
|
398
|
+
cuet_ug: "cuet_ug";
|
|
399
|
+
cuet_pg: "cuet_pg";
|
|
400
|
+
jnu_entrance: "jnu_entrance";
|
|
401
|
+
du_entrance: "du_entrance";
|
|
402
|
+
bhu_entrance: "bhu_entrance";
|
|
403
|
+
amu_entrance: "amu_entrance";
|
|
404
|
+
ipu_cet: "ipu_cet";
|
|
405
|
+
jmi_entrance: "jmi_entrance";
|
|
406
|
+
olympiad_math: "olympiad_math";
|
|
407
|
+
olympiad_science: "olympiad_science";
|
|
408
|
+
olympiad_physics: "olympiad_physics";
|
|
409
|
+
olympiad_chemistry: "olympiad_chemistry";
|
|
410
|
+
olympiad_biology: "olympiad_biology";
|
|
411
|
+
olympiad_astronomy: "olympiad_astronomy";
|
|
412
|
+
olympiad_informatics: "olympiad_informatics";
|
|
413
|
+
ntse: "ntse";
|
|
414
|
+
kvpy: "kvpy";
|
|
415
|
+
inspire: "inspire";
|
|
416
|
+
}>;
|
|
417
|
+
classLevel: z.ZodEnum<{
|
|
418
|
+
graduation: "graduation";
|
|
419
|
+
post_graduation: "post_graduation";
|
|
420
|
+
nursery: "nursery";
|
|
421
|
+
lkg: "lkg";
|
|
422
|
+
ukg: "ukg";
|
|
423
|
+
1: "1";
|
|
424
|
+
2: "2";
|
|
425
|
+
3: "3";
|
|
426
|
+
4: "4";
|
|
427
|
+
5: "5";
|
|
428
|
+
6: "6";
|
|
429
|
+
7: "7";
|
|
430
|
+
8: "8";
|
|
431
|
+
9: "9";
|
|
432
|
+
10: "10";
|
|
433
|
+
11: "11";
|
|
434
|
+
12: "12";
|
|
435
|
+
competitive: "competitive";
|
|
436
|
+
}>;
|
|
437
|
+
board: z.ZodOptional<z.ZodEnum<{
|
|
438
|
+
cbse: "cbse";
|
|
439
|
+
icse: "icse";
|
|
440
|
+
isc: "isc";
|
|
441
|
+
state_board: "state_board";
|
|
442
|
+
ib: "ib";
|
|
443
|
+
igcse: "igcse";
|
|
444
|
+
cambridge: "cambridge";
|
|
445
|
+
nios: "nios";
|
|
446
|
+
open_board: "open_board";
|
|
447
|
+
any: "any";
|
|
448
|
+
}>>;
|
|
449
|
+
startDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
450
|
+
}, z.core.$strip>;
|
|
451
|
+
export type CreateEnrollmentInput = z.infer<typeof createEnrollmentSchema>;
|
|
452
|
+
export declare const updateEnrollmentSchema: z.ZodObject<{
|
|
453
|
+
status: z.ZodEnum<{
|
|
454
|
+
paused: "paused";
|
|
455
|
+
cancelled: "cancelled";
|
|
456
|
+
}>;
|
|
457
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
458
|
+
}, z.core.$strip>;
|
|
459
|
+
export type UpdateEnrollmentInput = z.infer<typeof updateEnrollmentSchema>;
|
|
460
|
+
export declare const enrollmentListQuerySchema: z.ZodObject<{
|
|
461
|
+
page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
462
|
+
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
463
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
464
|
+
active: "active";
|
|
465
|
+
paused: "paused";
|
|
466
|
+
cancelled: "cancelled";
|
|
467
|
+
}>>;
|
|
468
|
+
}, z.core.$strip>;
|
|
469
|
+
export type EnrollmentListQuery = z.infer<typeof enrollmentListQuerySchema>;
|
|
470
|
+
//# sourceMappingURL=enrollment.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enrollment.schema.d.ts","sourceRoot":"","sources":["../src/enrollment.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAOjC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAI3E,eAAO,MAAM,sBAAsB;;;;;;iBAGjC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAI3E,eAAO,MAAM,yBAAyB;;;;;;;;iBAIpC,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { PROVIDER_TYPE, ENROLLMENT_STATUS, BOARD } from "./enums.js";
|
|
3
|
+
import { ALL_SUBJECTS, CLASS_LEVEL } from "./subjects.js";
|
|
4
|
+
// ─── Create ──────────────────────────────────────────────────────────
|
|
5
|
+
export const createEnrollmentSchema = z.object({
|
|
6
|
+
providerId: z.string().min(1),
|
|
7
|
+
providerType: z.enum(PROVIDER_TYPE),
|
|
8
|
+
subject: z.enum(ALL_SUBJECTS),
|
|
9
|
+
classLevel: z.enum(CLASS_LEVEL),
|
|
10
|
+
board: z.enum(BOARD).optional(),
|
|
11
|
+
startDate: z.coerce.date().optional(), // defaults to now on server
|
|
12
|
+
});
|
|
13
|
+
// ─── Update (pause / cancel) ─────────────────────────────────────────
|
|
14
|
+
export const updateEnrollmentSchema = z.object({
|
|
15
|
+
status: z.enum(["paused", "cancelled"]),
|
|
16
|
+
reason: z.string().trim().max(500).optional(),
|
|
17
|
+
});
|
|
18
|
+
// ─── Query ───────────────────────────────────────────────────────────
|
|
19
|
+
export const enrollmentListQuerySchema = z.object({
|
|
20
|
+
page: z.coerce.number().int().min(1).default(1),
|
|
21
|
+
limit: z.coerce.number().int().min(1).max(50).default(20),
|
|
22
|
+
status: z.enum(ENROLLMENT_STATUS).optional(),
|
|
23
|
+
});
|
|
24
|
+
//# sourceMappingURL=enrollment.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enrollment.schema.js","sourceRoot":"","sources":["../src/enrollment.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACrE,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE1D,wEAAwE;AAExE,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7C,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC7B,YAAY,EAAE,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC;IACnC,OAAO,EAAE,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC;IAC7B,UAAU,EAAE,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC;IAC/B,KAAK,EAAE,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,QAAQ,EAAE;IAC/B,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE,EAAE,4BAA4B;CACpE,CAAC,CAAC;AAIH,wEAAwE;AAExE,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7C,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,WAAW,CAAU,CAAC;IAChD,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;CAC9C,CAAC,CAAC;AAIH,wEAAwE;AAExE,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,MAAM,CAAC;IAChD,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;IAC/C,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;IACzD,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,QAAQ,EAAE;CAC7C,CAAC,CAAC","sourcesContent":["import { z } from \"zod\";\nimport { PROVIDER_TYPE, ENROLLMENT_STATUS, BOARD } from \"./enums.js\";\nimport { ALL_SUBJECTS, CLASS_LEVEL } from \"./subjects.js\";\n\n// ─── Create ──────────────────────────────────────────────────────────\n\nexport const createEnrollmentSchema = z.object({\n providerId: z.string().min(1),\n providerType: z.enum(PROVIDER_TYPE),\n subject: z.enum(ALL_SUBJECTS),\n classLevel: z.enum(CLASS_LEVEL),\n board: z.enum(BOARD).optional(),\n startDate: z.coerce.date().optional(), // defaults to now on server\n});\n\nexport type CreateEnrollmentInput = z.infer<typeof createEnrollmentSchema>;\n\n// ─── Update (pause / cancel) ─────────────────────────────────────────\n\nexport const updateEnrollmentSchema = z.object({\n status: z.enum([\"paused\", \"cancelled\"] as const),\n reason: z.string().trim().max(500).optional(),\n});\n\nexport type UpdateEnrollmentInput = z.infer<typeof updateEnrollmentSchema>;\n\n// ─── Query ───────────────────────────────────────────────────────────\n\nexport const enrollmentListQuerySchema = z.object({\n page: z.coerce.number().int().min(1).default(1),\n limit: z.coerce.number().int().min(1).max(50).default(20),\n status: z.enum(ENROLLMENT_STATUS).optional(),\n});\n\nexport type EnrollmentListQuery = z.infer<typeof enrollmentListQuerySchema>;\n"]}
|
package/dist/enums.d.ts
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/** Provider type — individual tutor or coaching institute. */
|
|
2
|
+
export declare const PROVIDER_TYPE: readonly ["tutor", "institute"];
|
|
3
|
+
export type ProviderType = (typeof PROVIDER_TYPE)[number];
|
|
4
|
+
/** How classes are conducted. */
|
|
5
|
+
export declare const TEACHING_MODE: readonly ["home_visit", "at_tutor", "at_institute", "online", "hybrid"];
|
|
6
|
+
export type TeachingMode = (typeof TEACHING_MODE)[number];
|
|
7
|
+
/** Enrollment lifecycle. */
|
|
8
|
+
export declare const ENROLLMENT_STATUS: readonly ["active", "paused", "cancelled"];
|
|
9
|
+
export type EnrollmentStatus = (typeof ENROLLMENT_STATUS)[number];
|
|
10
|
+
/** Fee billing cycle. */
|
|
11
|
+
export declare const FEE_CYCLE: readonly ["monthly", "quarterly", "per_session"];
|
|
12
|
+
export type FeeCycle = (typeof FEE_CYCLE)[number];
|
|
13
|
+
/** Pre-enrollment enquiry status. */
|
|
14
|
+
export declare const ENQUIRY_STATUS: readonly ["pending", "responded", "converted", "expired"];
|
|
15
|
+
export type EnquiryStatus = (typeof ENQUIRY_STATUS)[number];
|
|
16
|
+
/** Educator profile status. */
|
|
17
|
+
export declare const EDUCATOR_STATUS: readonly ["active", "inactive", "suspended", "banned"];
|
|
18
|
+
export type EducatorStatus = (typeof EDUCATOR_STATUS)[number];
|
|
19
|
+
/** School boards. */
|
|
20
|
+
export declare const BOARD: readonly ["cbse", "icse", "isc", "state_board", "ib", "igcse", "cambridge", "nios", "open_board", "any"];
|
|
21
|
+
export type Board = (typeof BOARD)[number];
|
|
22
|
+
/** Coaching institute facilities. */
|
|
23
|
+
export declare const FACILITY: readonly ["ac_classrooms", "library", "computer_lab", "science_lab", "study_room", "parking", "cctv", "wifi", "canteen", "sports", "auditorium", "transport", "projector", "smart_board", "playground"];
|
|
24
|
+
export type Facility = (typeof FACILITY)[number];
|
|
25
|
+
/** Review tags — quick sentiment labels from students. */
|
|
26
|
+
export declare const REVIEW_TAG: readonly ["good_teaching", "patient", "punctual", "knowledgeable", "good_results", "affordable", "good_facilities", "strict", "supportive", "interactive", "poor_communication", "irregular"];
|
|
27
|
+
export type ReviewTag = (typeof REVIEW_TAG)[number];
|
|
28
|
+
/** Reasons to report a provider. */
|
|
29
|
+
export declare const REPORT_REASON: readonly ["off_platform_dealing", "fake_profile", "poor_teaching", "harassment", "spam", "other"];
|
|
30
|
+
export type ReportReason = (typeof REPORT_REASON)[number];
|
|
31
|
+
/** Gender preference for tutor. */
|
|
32
|
+
export declare const GENDER_PREFERENCE: readonly ["male", "female", "any"];
|
|
33
|
+
export type GenderPreference = (typeof GENDER_PREFERENCE)[number];
|
|
34
|
+
/** Sort options for search. */
|
|
35
|
+
export declare const SEARCH_SORT_BY: readonly ["distance", "rating", "fee_low", "fee_high", "student_count", "newest"];
|
|
36
|
+
export type SearchSortBy = (typeof SEARCH_SORT_BY)[number];
|
|
37
|
+
//# sourceMappingURL=enums.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../src/enums.ts"],"names":[],"mappings":"AAAA,8DAA8D;AAC9D,eAAO,MAAM,aAAa,iCAAkC,CAAC;AAC7D,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,CAAC,CAAC;AAE1D,iCAAiC;AACjC,eAAO,MAAM,aAAa,yEAMhB,CAAC;AACX,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,CAAC,CAAC;AAE1D,4BAA4B;AAC5B,eAAO,MAAM,iBAAiB,4CAIpB,CAAC;AACX,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC;AAElE,yBAAyB;AACzB,eAAO,MAAM,SAAS,kDAAmD,CAAC;AAC1E,MAAM,MAAM,QAAQ,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC;AAElD,qCAAqC;AACrC,eAAO,MAAM,cAAc,2DAKjB,CAAC;AACX,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,CAAC,CAAC;AAE5D,+BAA+B;AAC/B,eAAO,MAAM,eAAe,wDAKlB,CAAC;AACX,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC;AAE9D,qBAAqB;AACrB,eAAO,MAAM,KAAK,0GAWR,CAAC;AACX,MAAM,MAAM,KAAK,GAAG,CAAC,OAAO,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC;AAE3C,qCAAqC;AACrC,eAAO,MAAM,QAAQ,yMAgBX,CAAC;AACX,MAAM,MAAM,QAAQ,GAAG,CAAC,OAAO,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC;AAEjD,0DAA0D;AAC1D,eAAO,MAAM,UAAU,+LAab,CAAC;AACX,MAAM,MAAM,SAAS,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC;AAEpD,oCAAoC;AACpC,eAAO,MAAM,aAAa,mGAOhB,CAAC;AACX,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,CAAC,CAAC;AAE1D,mCAAmC;AACnC,eAAO,MAAM,iBAAiB,oCAAqC,CAAC;AACpE,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC;AAElE,+BAA+B;AAC/B,eAAO,MAAM,cAAc,mFAOjB,CAAC;AACX,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
package/dist/enums.js
ADDED
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
/** Provider type — individual tutor or coaching institute. */
|
|
2
|
+
export const PROVIDER_TYPE = ["tutor", "institute"];
|
|
3
|
+
/** How classes are conducted. */
|
|
4
|
+
export const TEACHING_MODE = [
|
|
5
|
+
"home_visit",
|
|
6
|
+
"at_tutor",
|
|
7
|
+
"at_institute",
|
|
8
|
+
"online",
|
|
9
|
+
"hybrid",
|
|
10
|
+
];
|
|
11
|
+
/** Enrollment lifecycle. */
|
|
12
|
+
export const ENROLLMENT_STATUS = [
|
|
13
|
+
"active",
|
|
14
|
+
"paused",
|
|
15
|
+
"cancelled",
|
|
16
|
+
];
|
|
17
|
+
/** Fee billing cycle. */
|
|
18
|
+
export const FEE_CYCLE = ["monthly", "quarterly", "per_session"];
|
|
19
|
+
/** Pre-enrollment enquiry status. */
|
|
20
|
+
export const ENQUIRY_STATUS = [
|
|
21
|
+
"pending",
|
|
22
|
+
"responded",
|
|
23
|
+
"converted",
|
|
24
|
+
"expired",
|
|
25
|
+
];
|
|
26
|
+
/** Educator profile status. */
|
|
27
|
+
export const EDUCATOR_STATUS = [
|
|
28
|
+
"active",
|
|
29
|
+
"inactive",
|
|
30
|
+
"suspended",
|
|
31
|
+
"banned",
|
|
32
|
+
];
|
|
33
|
+
/** School boards. */
|
|
34
|
+
export const BOARD = [
|
|
35
|
+
"cbse",
|
|
36
|
+
"icse",
|
|
37
|
+
"isc",
|
|
38
|
+
"state_board",
|
|
39
|
+
"ib",
|
|
40
|
+
"igcse",
|
|
41
|
+
"cambridge",
|
|
42
|
+
"nios",
|
|
43
|
+
"open_board",
|
|
44
|
+
"any",
|
|
45
|
+
];
|
|
46
|
+
/** Coaching institute facilities. */
|
|
47
|
+
export const FACILITY = [
|
|
48
|
+
"ac_classrooms",
|
|
49
|
+
"library",
|
|
50
|
+
"computer_lab",
|
|
51
|
+
"science_lab",
|
|
52
|
+
"study_room",
|
|
53
|
+
"parking",
|
|
54
|
+
"cctv",
|
|
55
|
+
"wifi",
|
|
56
|
+
"canteen",
|
|
57
|
+
"sports",
|
|
58
|
+
"auditorium",
|
|
59
|
+
"transport",
|
|
60
|
+
"projector",
|
|
61
|
+
"smart_board",
|
|
62
|
+
"playground",
|
|
63
|
+
];
|
|
64
|
+
/** Review tags — quick sentiment labels from students. */
|
|
65
|
+
export const REVIEW_TAG = [
|
|
66
|
+
"good_teaching",
|
|
67
|
+
"patient",
|
|
68
|
+
"punctual",
|
|
69
|
+
"knowledgeable",
|
|
70
|
+
"good_results",
|
|
71
|
+
"affordable",
|
|
72
|
+
"good_facilities",
|
|
73
|
+
"strict",
|
|
74
|
+
"supportive",
|
|
75
|
+
"interactive",
|
|
76
|
+
"poor_communication",
|
|
77
|
+
"irregular",
|
|
78
|
+
];
|
|
79
|
+
/** Reasons to report a provider. */
|
|
80
|
+
export const REPORT_REASON = [
|
|
81
|
+
"off_platform_dealing",
|
|
82
|
+
"fake_profile",
|
|
83
|
+
"poor_teaching",
|
|
84
|
+
"harassment",
|
|
85
|
+
"spam",
|
|
86
|
+
"other",
|
|
87
|
+
];
|
|
88
|
+
/** Gender preference for tutor. */
|
|
89
|
+
export const GENDER_PREFERENCE = ["male", "female", "any"];
|
|
90
|
+
/** Sort options for search. */
|
|
91
|
+
export const SEARCH_SORT_BY = [
|
|
92
|
+
"distance",
|
|
93
|
+
"rating",
|
|
94
|
+
"fee_low",
|
|
95
|
+
"fee_high",
|
|
96
|
+
"student_count",
|
|
97
|
+
"newest",
|
|
98
|
+
];
|
|
99
|
+
//# sourceMappingURL=enums.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enums.js","sourceRoot":"","sources":["../src/enums.ts"],"names":[],"mappings":"AAAA,8DAA8D;AAC9D,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,OAAO,EAAE,WAAW,CAAU,CAAC;AAG7D,iCAAiC;AACjC,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,YAAY;IACZ,UAAU;IACV,cAAc;IACd,QAAQ;IACR,QAAQ;CACA,CAAC;AAGX,4BAA4B;AAC5B,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,QAAQ;IACR,QAAQ;IACR,WAAW;CACH,CAAC;AAGX,yBAAyB;AACzB,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,SAAS,EAAE,WAAW,EAAE,aAAa,CAAU,CAAC;AAG1E,qCAAqC;AACrC,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS;IACT,WAAW;IACX,WAAW;IACX,SAAS;CACD,CAAC;AAGX,+BAA+B;AAC/B,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,QAAQ;IACR,UAAU;IACV,WAAW;IACX,QAAQ;CACA,CAAC;AAGX,qBAAqB;AACrB,MAAM,CAAC,MAAM,KAAK,GAAG;IACnB,MAAM;IACN,MAAM;IACN,KAAK;IACL,aAAa;IACb,IAAI;IACJ,OAAO;IACP,WAAW;IACX,MAAM;IACN,YAAY;IACZ,KAAK;CACG,CAAC;AAGX,qCAAqC;AACrC,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,eAAe;IACf,SAAS;IACT,cAAc;IACd,aAAa;IACb,YAAY;IACZ,SAAS;IACT,MAAM;IACN,MAAM;IACN,SAAS;IACT,QAAQ;IACR,YAAY;IACZ,WAAW;IACX,WAAW;IACX,aAAa;IACb,YAAY;CACJ,CAAC;AAGX,0DAA0D;AAC1D,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,eAAe;IACf,SAAS;IACT,UAAU;IACV,eAAe;IACf,cAAc;IACd,YAAY;IACZ,iBAAiB;IACjB,QAAQ;IACR,YAAY;IACZ,aAAa;IACb,oBAAoB;IACpB,WAAW;CACH,CAAC;AAGX,oCAAoC;AACpC,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,sBAAsB;IACtB,cAAc;IACd,eAAe;IACf,YAAY;IACZ,MAAM;IACN,OAAO;CACC,CAAC;AAGX,mCAAmC;AACnC,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,MAAM,EAAE,QAAQ,EAAE,KAAK,CAAU,CAAC;AAGpE,+BAA+B;AAC/B,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,UAAU;IACV,QAAQ;IACR,SAAS;IACT,UAAU;IACV,eAAe;IACf,QAAQ;CACA,CAAC","sourcesContent":["/** Provider type — individual tutor or coaching institute. */\nexport const PROVIDER_TYPE = [\"tutor\", \"institute\"] as const;\nexport type ProviderType = (typeof PROVIDER_TYPE)[number];\n\n/** How classes are conducted. */\nexport const TEACHING_MODE = [\n \"home_visit\",\n \"at_tutor\",\n \"at_institute\",\n \"online\",\n \"hybrid\",\n] as const;\nexport type TeachingMode = (typeof TEACHING_MODE)[number];\n\n/** Enrollment lifecycle. */\nexport const ENROLLMENT_STATUS = [\n \"active\",\n \"paused\",\n \"cancelled\",\n] as const;\nexport type EnrollmentStatus = (typeof ENROLLMENT_STATUS)[number];\n\n/** Fee billing cycle. */\nexport const FEE_CYCLE = [\"monthly\", \"quarterly\", \"per_session\"] as const;\nexport type FeeCycle = (typeof FEE_CYCLE)[number];\n\n/** Pre-enrollment enquiry status. */\nexport const ENQUIRY_STATUS = [\n \"pending\",\n \"responded\",\n \"converted\",\n \"expired\",\n] as const;\nexport type EnquiryStatus = (typeof ENQUIRY_STATUS)[number];\n\n/** Educator profile status. */\nexport const EDUCATOR_STATUS = [\n \"active\",\n \"inactive\",\n \"suspended\",\n \"banned\",\n] as const;\nexport type EducatorStatus = (typeof EDUCATOR_STATUS)[number];\n\n/** School boards. */\nexport const BOARD = [\n \"cbse\",\n \"icse\",\n \"isc\",\n \"state_board\",\n \"ib\",\n \"igcse\",\n \"cambridge\",\n \"nios\",\n \"open_board\",\n \"any\",\n] as const;\nexport type Board = (typeof BOARD)[number];\n\n/** Coaching institute facilities. */\nexport const FACILITY = [\n \"ac_classrooms\",\n \"library\",\n \"computer_lab\",\n \"science_lab\",\n \"study_room\",\n \"parking\",\n \"cctv\",\n \"wifi\",\n \"canteen\",\n \"sports\",\n \"auditorium\",\n \"transport\",\n \"projector\",\n \"smart_board\",\n \"playground\",\n] as const;\nexport type Facility = (typeof FACILITY)[number];\n\n/** Review tags — quick sentiment labels from students. */\nexport const REVIEW_TAG = [\n \"good_teaching\",\n \"patient\",\n \"punctual\",\n \"knowledgeable\",\n \"good_results\",\n \"affordable\",\n \"good_facilities\",\n \"strict\",\n \"supportive\",\n \"interactive\",\n \"poor_communication\",\n \"irregular\",\n] as const;\nexport type ReviewTag = (typeof REVIEW_TAG)[number];\n\n/** Reasons to report a provider. */\nexport const REPORT_REASON = [\n \"off_platform_dealing\",\n \"fake_profile\",\n \"poor_teaching\",\n \"harassment\",\n \"spam\",\n \"other\",\n] as const;\nexport type ReportReason = (typeof REPORT_REASON)[number];\n\n/** Gender preference for tutor. */\nexport const GENDER_PREFERENCE = [\"male\", \"female\", \"any\"] as const;\nexport type GenderPreference = (typeof GENDER_PREFERENCE)[number];\n\n/** Sort options for search. */\nexport const SEARCH_SORT_BY = [\n \"distance\",\n \"rating\",\n \"fee_low\",\n \"fee_high\",\n \"student_count\",\n \"newest\",\n] as const;\nexport type SearchSortBy = (typeof SEARCH_SORT_BY)[number];\n"]}
|