@studious-lms/server 1.1.15 → 1.1.17
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/lib/jsonConversion.d.ts +1 -1
- package/dist/lib/jsonConversion.d.ts.map +1 -1
- package/dist/lib/jsonConversion.js +291 -125
- package/dist/routers/_app.d.ts +180 -0
- package/dist/routers/_app.d.ts.map +1 -1
- package/dist/routers/_app.js +2 -0
- package/dist/routers/assignment.d.ts +15 -0
- package/dist/routers/assignment.d.ts.map +1 -1
- package/dist/routers/class.d.ts +5 -0
- package/dist/routers/class.d.ts.map +1 -1
- package/dist/routers/class.js +7 -0
- package/dist/routers/file.d.ts +2 -0
- package/dist/routers/file.d.ts.map +1 -1
- package/dist/routers/labChat.js +4 -3
- package/dist/routers/marketing.d.ts +70 -0
- package/dist/routers/marketing.d.ts.map +1 -0
- package/dist/routers/marketing.js +65 -0
- package/dist/seedDatabase.d.ts.map +1 -1
- package/dist/seedDatabase.js +1459 -24
- package/dist/utils/inference.js +2 -2
- package/package.json +2 -1
- package/prisma/schema.prisma +30 -0
- package/src/lib/NotoSans-Bold.ttf +0 -0
- package/src/lib/NotoSans-Italic.ttf +0 -0
- package/src/lib/NotoSans-Regular.ttf +0 -0
- package/src/lib/jsonConversion.ts +347 -136
- package/src/routers/_app.ts +2 -0
- package/src/routers/class.ts +7 -0
- package/src/routers/labChat.ts +6 -3
- package/src/routers/marketing.ts +69 -0
- package/src/seedDatabase.ts +1512 -21
- package/src/utils/inference.ts +2 -2
package/dist/routers/_app.d.ts
CHANGED
|
@@ -151,6 +151,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
151
151
|
teachers: {
|
|
152
152
|
id: string;
|
|
153
153
|
username: string;
|
|
154
|
+
profile: {
|
|
155
|
+
displayName: string | null;
|
|
156
|
+
profilePicture: string | null;
|
|
157
|
+
profilePictureThumbnail: string | null;
|
|
158
|
+
} | null;
|
|
154
159
|
}[];
|
|
155
160
|
id: string;
|
|
156
161
|
schoolId: string | null;
|
|
@@ -1062,6 +1067,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1062
1067
|
folderId: string | null;
|
|
1063
1068
|
conversationId: string | null;
|
|
1064
1069
|
messageId: string | null;
|
|
1070
|
+
schoolDevelopementProgramId: string | null;
|
|
1065
1071
|
} | null;
|
|
1066
1072
|
thumbnailId: string | null;
|
|
1067
1073
|
}[];
|
|
@@ -1219,6 +1225,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1219
1225
|
folderId: string | null;
|
|
1220
1226
|
conversationId: string | null;
|
|
1221
1227
|
messageId: string | null;
|
|
1228
|
+
schoolDevelopementProgramId: string | null;
|
|
1222
1229
|
}[];
|
|
1223
1230
|
annotations: {
|
|
1224
1231
|
path: string;
|
|
@@ -1236,6 +1243,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1236
1243
|
folderId: string | null;
|
|
1237
1244
|
conversationId: string | null;
|
|
1238
1245
|
messageId: string | null;
|
|
1246
|
+
schoolDevelopementProgramId: string | null;
|
|
1239
1247
|
}[];
|
|
1240
1248
|
} & {
|
|
1241
1249
|
id: string;
|
|
@@ -1310,6 +1318,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1310
1318
|
folderId: string | null;
|
|
1311
1319
|
conversationId: string | null;
|
|
1312
1320
|
messageId: string | null;
|
|
1321
|
+
schoolDevelopementProgramId: string | null;
|
|
1313
1322
|
}[];
|
|
1314
1323
|
annotations: {
|
|
1315
1324
|
path: string;
|
|
@@ -1327,6 +1336,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1327
1336
|
folderId: string | null;
|
|
1328
1337
|
conversationId: string | null;
|
|
1329
1338
|
messageId: string | null;
|
|
1339
|
+
schoolDevelopementProgramId: string | null;
|
|
1330
1340
|
}[];
|
|
1331
1341
|
id: string;
|
|
1332
1342
|
assignmentId: string;
|
|
@@ -1409,6 +1419,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1409
1419
|
folderId: string | null;
|
|
1410
1420
|
conversationId: string | null;
|
|
1411
1421
|
messageId: string | null;
|
|
1422
|
+
schoolDevelopementProgramId: string | null;
|
|
1412
1423
|
}[];
|
|
1413
1424
|
annotations: {
|
|
1414
1425
|
path: string;
|
|
@@ -1426,6 +1437,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1426
1437
|
folderId: string | null;
|
|
1427
1438
|
conversationId: string | null;
|
|
1428
1439
|
messageId: string | null;
|
|
1440
|
+
schoolDevelopementProgramId: string | null;
|
|
1429
1441
|
}[];
|
|
1430
1442
|
id: string;
|
|
1431
1443
|
assignmentId: string;
|
|
@@ -1517,6 +1529,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1517
1529
|
folderId: string | null;
|
|
1518
1530
|
conversationId: string | null;
|
|
1519
1531
|
messageId: string | null;
|
|
1532
|
+
schoolDevelopementProgramId: string | null;
|
|
1520
1533
|
}[];
|
|
1521
1534
|
} & {
|
|
1522
1535
|
id: string;
|
|
@@ -1606,6 +1619,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1606
1619
|
folderId: string | null;
|
|
1607
1620
|
conversationId: string | null;
|
|
1608
1621
|
messageId: string | null;
|
|
1622
|
+
schoolDevelopementProgramId: string | null;
|
|
1609
1623
|
} | null;
|
|
1610
1624
|
} & {
|
|
1611
1625
|
path: string;
|
|
@@ -1623,6 +1637,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1623
1637
|
folderId: string | null;
|
|
1624
1638
|
conversationId: string | null;
|
|
1625
1639
|
messageId: string | null;
|
|
1640
|
+
schoolDevelopementProgramId: string | null;
|
|
1626
1641
|
})[];
|
|
1627
1642
|
id: string;
|
|
1628
1643
|
assignmentId: string;
|
|
@@ -1727,6 +1742,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1727
1742
|
folderId: string | null;
|
|
1728
1743
|
conversationId: string | null;
|
|
1729
1744
|
messageId: string | null;
|
|
1745
|
+
schoolDevelopementProgramId: string | null;
|
|
1730
1746
|
}[];
|
|
1731
1747
|
} & {
|
|
1732
1748
|
id: string;
|
|
@@ -1921,6 +1937,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1921
1937
|
folderId: string | null;
|
|
1922
1938
|
conversationId: string | null;
|
|
1923
1939
|
messageId: string | null;
|
|
1940
|
+
schoolDevelopementProgramId: string | null;
|
|
1924
1941
|
}[];
|
|
1925
1942
|
eventAttached: {
|
|
1926
1943
|
id: string;
|
|
@@ -2001,6 +2018,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2001
2018
|
folderId: string | null;
|
|
2002
2019
|
conversationId: string | null;
|
|
2003
2020
|
messageId: string | null;
|
|
2021
|
+
schoolDevelopementProgramId: string | null;
|
|
2004
2022
|
}[];
|
|
2005
2023
|
eventAttached: {
|
|
2006
2024
|
id: string;
|
|
@@ -2082,6 +2100,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2082
2100
|
folderId: string | null;
|
|
2083
2101
|
conversationId: string | null;
|
|
2084
2102
|
messageId: string | null;
|
|
2103
|
+
schoolDevelopementProgramId: string | null;
|
|
2085
2104
|
}[];
|
|
2086
2105
|
eventAttached: {
|
|
2087
2106
|
id: string;
|
|
@@ -2162,6 +2181,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2162
2181
|
folderId: string | null;
|
|
2163
2182
|
conversationId: string | null;
|
|
2164
2183
|
messageId: string | null;
|
|
2184
|
+
schoolDevelopementProgramId: string | null;
|
|
2165
2185
|
}[];
|
|
2166
2186
|
eventAttached: {
|
|
2167
2187
|
id: string;
|
|
@@ -2955,6 +2975,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2955
2975
|
folderId: string | null;
|
|
2956
2976
|
conversationId: string | null;
|
|
2957
2977
|
messageId: string | null;
|
|
2978
|
+
schoolDevelopementProgramId: string | null;
|
|
2958
2979
|
};
|
|
2959
2980
|
meta: object;
|
|
2960
2981
|
}>;
|
|
@@ -2986,6 +3007,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2986
3007
|
folderId: string | null;
|
|
2987
3008
|
conversationId: string | null;
|
|
2988
3009
|
messageId: string | null;
|
|
3010
|
+
schoolDevelopementProgramId: string | null;
|
|
2989
3011
|
};
|
|
2990
3012
|
meta: object;
|
|
2991
3013
|
}>;
|
|
@@ -3906,6 +3928,74 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3906
3928
|
meta: object;
|
|
3907
3929
|
}>;
|
|
3908
3930
|
}>>;
|
|
3931
|
+
marketing: import("@trpc/server").TRPCBuiltRouter<{
|
|
3932
|
+
ctx: import("../trpc.js").Context;
|
|
3933
|
+
meta: object;
|
|
3934
|
+
errorShape: {
|
|
3935
|
+
data: {
|
|
3936
|
+
zodError: import("zod").typeToFlattenedError<any, string> | null;
|
|
3937
|
+
prismaError: import("../utils/prismaErrorHandler.js").PrismaErrorInfo | null;
|
|
3938
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
|
|
3939
|
+
httpStatus: number;
|
|
3940
|
+
path?: string;
|
|
3941
|
+
stack?: string;
|
|
3942
|
+
};
|
|
3943
|
+
message: string;
|
|
3944
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
3945
|
+
};
|
|
3946
|
+
transformer: false;
|
|
3947
|
+
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
3948
|
+
createSchoolDevelopementProgram: import("@trpc/server").TRPCMutationProcedure<{
|
|
3949
|
+
input: {
|
|
3950
|
+
type: string;
|
|
3951
|
+
name: string;
|
|
3952
|
+
address: string;
|
|
3953
|
+
city: string;
|
|
3954
|
+
country: string;
|
|
3955
|
+
numberOfStudents: number;
|
|
3956
|
+
numberOfTeachers: number;
|
|
3957
|
+
website?: string | undefined;
|
|
3958
|
+
contactName?: string | undefined;
|
|
3959
|
+
contactRole?: string | undefined;
|
|
3960
|
+
contactEmail?: string | undefined;
|
|
3961
|
+
contactPhone?: string | undefined;
|
|
3962
|
+
eligibilityInformation?: string | undefined;
|
|
3963
|
+
whyHelp?: string | undefined;
|
|
3964
|
+
additionalInformation?: string | undefined;
|
|
3965
|
+
};
|
|
3966
|
+
output: {
|
|
3967
|
+
id: string;
|
|
3968
|
+
};
|
|
3969
|
+
meta: object;
|
|
3970
|
+
}>;
|
|
3971
|
+
searchSchoolDevelopementPrograms: import("@trpc/server").TRPCQueryProcedure<{
|
|
3972
|
+
input: {
|
|
3973
|
+
id: string;
|
|
3974
|
+
};
|
|
3975
|
+
output: {
|
|
3976
|
+
type: string;
|
|
3977
|
+
id: string;
|
|
3978
|
+
name: string;
|
|
3979
|
+
status: string;
|
|
3980
|
+
website: string | null;
|
|
3981
|
+
submittedAt: Date | null;
|
|
3982
|
+
address: string;
|
|
3983
|
+
city: string;
|
|
3984
|
+
country: string;
|
|
3985
|
+
numberOfStudents: number;
|
|
3986
|
+
numberOfTeachers: number;
|
|
3987
|
+
contactName: string | null;
|
|
3988
|
+
contactRole: string | null;
|
|
3989
|
+
contactEmail: string | null;
|
|
3990
|
+
contactPhone: string | null;
|
|
3991
|
+
eligibilityInformation: string | null;
|
|
3992
|
+
whyHelp: string | null;
|
|
3993
|
+
additionalInformation: string | null;
|
|
3994
|
+
reviewedAt: Date | null;
|
|
3995
|
+
} | null;
|
|
3996
|
+
meta: object;
|
|
3997
|
+
}>;
|
|
3998
|
+
}>>;
|
|
3909
3999
|
}>>;
|
|
3910
4000
|
export type AppRouter = typeof appRouter;
|
|
3911
4001
|
export type RouterInputs = inferRouterInputs<AppRouter>;
|
|
@@ -4062,6 +4152,11 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
4062
4152
|
teachers: {
|
|
4063
4153
|
id: string;
|
|
4064
4154
|
username: string;
|
|
4155
|
+
profile: {
|
|
4156
|
+
displayName: string | null;
|
|
4157
|
+
profilePicture: string | null;
|
|
4158
|
+
profilePictureThumbnail: string | null;
|
|
4159
|
+
} | null;
|
|
4065
4160
|
}[];
|
|
4066
4161
|
id: string;
|
|
4067
4162
|
schoolId: string | null;
|
|
@@ -4973,6 +5068,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
4973
5068
|
folderId: string | null;
|
|
4974
5069
|
conversationId: string | null;
|
|
4975
5070
|
messageId: string | null;
|
|
5071
|
+
schoolDevelopementProgramId: string | null;
|
|
4976
5072
|
} | null;
|
|
4977
5073
|
thumbnailId: string | null;
|
|
4978
5074
|
}[];
|
|
@@ -5130,6 +5226,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5130
5226
|
folderId: string | null;
|
|
5131
5227
|
conversationId: string | null;
|
|
5132
5228
|
messageId: string | null;
|
|
5229
|
+
schoolDevelopementProgramId: string | null;
|
|
5133
5230
|
}[];
|
|
5134
5231
|
annotations: {
|
|
5135
5232
|
path: string;
|
|
@@ -5147,6 +5244,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5147
5244
|
folderId: string | null;
|
|
5148
5245
|
conversationId: string | null;
|
|
5149
5246
|
messageId: string | null;
|
|
5247
|
+
schoolDevelopementProgramId: string | null;
|
|
5150
5248
|
}[];
|
|
5151
5249
|
} & {
|
|
5152
5250
|
id: string;
|
|
@@ -5221,6 +5319,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5221
5319
|
folderId: string | null;
|
|
5222
5320
|
conversationId: string | null;
|
|
5223
5321
|
messageId: string | null;
|
|
5322
|
+
schoolDevelopementProgramId: string | null;
|
|
5224
5323
|
}[];
|
|
5225
5324
|
annotations: {
|
|
5226
5325
|
path: string;
|
|
@@ -5238,6 +5337,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5238
5337
|
folderId: string | null;
|
|
5239
5338
|
conversationId: string | null;
|
|
5240
5339
|
messageId: string | null;
|
|
5340
|
+
schoolDevelopementProgramId: string | null;
|
|
5241
5341
|
}[];
|
|
5242
5342
|
id: string;
|
|
5243
5343
|
assignmentId: string;
|
|
@@ -5320,6 +5420,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5320
5420
|
folderId: string | null;
|
|
5321
5421
|
conversationId: string | null;
|
|
5322
5422
|
messageId: string | null;
|
|
5423
|
+
schoolDevelopementProgramId: string | null;
|
|
5323
5424
|
}[];
|
|
5324
5425
|
annotations: {
|
|
5325
5426
|
path: string;
|
|
@@ -5337,6 +5438,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5337
5438
|
folderId: string | null;
|
|
5338
5439
|
conversationId: string | null;
|
|
5339
5440
|
messageId: string | null;
|
|
5441
|
+
schoolDevelopementProgramId: string | null;
|
|
5340
5442
|
}[];
|
|
5341
5443
|
id: string;
|
|
5342
5444
|
assignmentId: string;
|
|
@@ -5428,6 +5530,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5428
5530
|
folderId: string | null;
|
|
5429
5531
|
conversationId: string | null;
|
|
5430
5532
|
messageId: string | null;
|
|
5533
|
+
schoolDevelopementProgramId: string | null;
|
|
5431
5534
|
}[];
|
|
5432
5535
|
} & {
|
|
5433
5536
|
id: string;
|
|
@@ -5517,6 +5620,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5517
5620
|
folderId: string | null;
|
|
5518
5621
|
conversationId: string | null;
|
|
5519
5622
|
messageId: string | null;
|
|
5623
|
+
schoolDevelopementProgramId: string | null;
|
|
5520
5624
|
} | null;
|
|
5521
5625
|
} & {
|
|
5522
5626
|
path: string;
|
|
@@ -5534,6 +5638,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5534
5638
|
folderId: string | null;
|
|
5535
5639
|
conversationId: string | null;
|
|
5536
5640
|
messageId: string | null;
|
|
5641
|
+
schoolDevelopementProgramId: string | null;
|
|
5537
5642
|
})[];
|
|
5538
5643
|
id: string;
|
|
5539
5644
|
assignmentId: string;
|
|
@@ -5638,6 +5743,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5638
5743
|
folderId: string | null;
|
|
5639
5744
|
conversationId: string | null;
|
|
5640
5745
|
messageId: string | null;
|
|
5746
|
+
schoolDevelopementProgramId: string | null;
|
|
5641
5747
|
}[];
|
|
5642
5748
|
} & {
|
|
5643
5749
|
id: string;
|
|
@@ -5832,6 +5938,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5832
5938
|
folderId: string | null;
|
|
5833
5939
|
conversationId: string | null;
|
|
5834
5940
|
messageId: string | null;
|
|
5941
|
+
schoolDevelopementProgramId: string | null;
|
|
5835
5942
|
}[];
|
|
5836
5943
|
eventAttached: {
|
|
5837
5944
|
id: string;
|
|
@@ -5912,6 +6019,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5912
6019
|
folderId: string | null;
|
|
5913
6020
|
conversationId: string | null;
|
|
5914
6021
|
messageId: string | null;
|
|
6022
|
+
schoolDevelopementProgramId: string | null;
|
|
5915
6023
|
}[];
|
|
5916
6024
|
eventAttached: {
|
|
5917
6025
|
id: string;
|
|
@@ -5993,6 +6101,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5993
6101
|
folderId: string | null;
|
|
5994
6102
|
conversationId: string | null;
|
|
5995
6103
|
messageId: string | null;
|
|
6104
|
+
schoolDevelopementProgramId: string | null;
|
|
5996
6105
|
}[];
|
|
5997
6106
|
eventAttached: {
|
|
5998
6107
|
id: string;
|
|
@@ -6073,6 +6182,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
6073
6182
|
folderId: string | null;
|
|
6074
6183
|
conversationId: string | null;
|
|
6075
6184
|
messageId: string | null;
|
|
6185
|
+
schoolDevelopementProgramId: string | null;
|
|
6076
6186
|
}[];
|
|
6077
6187
|
eventAttached: {
|
|
6078
6188
|
id: string;
|
|
@@ -6866,6 +6976,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
6866
6976
|
folderId: string | null;
|
|
6867
6977
|
conversationId: string | null;
|
|
6868
6978
|
messageId: string | null;
|
|
6979
|
+
schoolDevelopementProgramId: string | null;
|
|
6869
6980
|
};
|
|
6870
6981
|
meta: object;
|
|
6871
6982
|
}>;
|
|
@@ -6897,6 +7008,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
6897
7008
|
folderId: string | null;
|
|
6898
7009
|
conversationId: string | null;
|
|
6899
7010
|
messageId: string | null;
|
|
7011
|
+
schoolDevelopementProgramId: string | null;
|
|
6900
7012
|
};
|
|
6901
7013
|
meta: object;
|
|
6902
7014
|
}>;
|
|
@@ -7817,5 +7929,73 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
7817
7929
|
meta: object;
|
|
7818
7930
|
}>;
|
|
7819
7931
|
}>>;
|
|
7932
|
+
marketing: import("@trpc/server").TRPCBuiltRouter<{
|
|
7933
|
+
ctx: import("../trpc.js").Context;
|
|
7934
|
+
meta: object;
|
|
7935
|
+
errorShape: {
|
|
7936
|
+
data: {
|
|
7937
|
+
zodError: import("zod").typeToFlattenedError<any, string> | null;
|
|
7938
|
+
prismaError: import("../utils/prismaErrorHandler.js").PrismaErrorInfo | null;
|
|
7939
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
|
|
7940
|
+
httpStatus: number;
|
|
7941
|
+
path?: string;
|
|
7942
|
+
stack?: string;
|
|
7943
|
+
};
|
|
7944
|
+
message: string;
|
|
7945
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
7946
|
+
};
|
|
7947
|
+
transformer: false;
|
|
7948
|
+
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
7949
|
+
createSchoolDevelopementProgram: import("@trpc/server").TRPCMutationProcedure<{
|
|
7950
|
+
input: {
|
|
7951
|
+
type: string;
|
|
7952
|
+
name: string;
|
|
7953
|
+
address: string;
|
|
7954
|
+
city: string;
|
|
7955
|
+
country: string;
|
|
7956
|
+
numberOfStudents: number;
|
|
7957
|
+
numberOfTeachers: number;
|
|
7958
|
+
website?: string | undefined;
|
|
7959
|
+
contactName?: string | undefined;
|
|
7960
|
+
contactRole?: string | undefined;
|
|
7961
|
+
contactEmail?: string | undefined;
|
|
7962
|
+
contactPhone?: string | undefined;
|
|
7963
|
+
eligibilityInformation?: string | undefined;
|
|
7964
|
+
whyHelp?: string | undefined;
|
|
7965
|
+
additionalInformation?: string | undefined;
|
|
7966
|
+
};
|
|
7967
|
+
output: {
|
|
7968
|
+
id: string;
|
|
7969
|
+
};
|
|
7970
|
+
meta: object;
|
|
7971
|
+
}>;
|
|
7972
|
+
searchSchoolDevelopementPrograms: import("@trpc/server").TRPCQueryProcedure<{
|
|
7973
|
+
input: {
|
|
7974
|
+
id: string;
|
|
7975
|
+
};
|
|
7976
|
+
output: {
|
|
7977
|
+
type: string;
|
|
7978
|
+
id: string;
|
|
7979
|
+
name: string;
|
|
7980
|
+
status: string;
|
|
7981
|
+
website: string | null;
|
|
7982
|
+
submittedAt: Date | null;
|
|
7983
|
+
address: string;
|
|
7984
|
+
city: string;
|
|
7985
|
+
country: string;
|
|
7986
|
+
numberOfStudents: number;
|
|
7987
|
+
numberOfTeachers: number;
|
|
7988
|
+
contactName: string | null;
|
|
7989
|
+
contactRole: string | null;
|
|
7990
|
+
contactEmail: string | null;
|
|
7991
|
+
contactPhone: string | null;
|
|
7992
|
+
eligibilityInformation: string | null;
|
|
7993
|
+
whyHelp: string | null;
|
|
7994
|
+
additionalInformation: string | null;
|
|
7995
|
+
reviewedAt: Date | null;
|
|
7996
|
+
} | null;
|
|
7997
|
+
meta: object;
|
|
7998
|
+
}>;
|
|
7999
|
+
}>>;
|
|
7820
8000
|
}>>;
|
|
7821
8001
|
//# sourceMappingURL=_app.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_app.d.ts","sourceRoot":"","sources":["../../src/routers/_app.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"_app.d.ts","sourceRoot":"","sources":["../../src/routers/_app.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAc1E,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAiC,CAAC"}
|
package/dist/routers/_app.js
CHANGED
|
@@ -15,6 +15,7 @@ import { notificationRouter } from "./notifications.js";
|
|
|
15
15
|
import { conversationRouter } from "./conversation.js";
|
|
16
16
|
import { messageRouter } from "./message.js";
|
|
17
17
|
import { labChatRouter } from "./labChat.js";
|
|
18
|
+
import { marketingRouter } from "./marketing.js";
|
|
18
19
|
export const appRouter = createTRPCRouter({
|
|
19
20
|
class: classRouter,
|
|
20
21
|
announcement: announcementRouter,
|
|
@@ -31,6 +32,7 @@ export const appRouter = createTRPCRouter({
|
|
|
31
32
|
conversation: conversationRouter,
|
|
32
33
|
message: messageRouter,
|
|
33
34
|
labChat: labChatRouter,
|
|
35
|
+
marketing: marketingRouter,
|
|
34
36
|
});
|
|
35
37
|
// Export caller
|
|
36
38
|
export const createCaller = createCallerFactory(appRouter);
|
|
@@ -214,6 +214,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
214
214
|
folderId: string | null;
|
|
215
215
|
conversationId: string | null;
|
|
216
216
|
messageId: string | null;
|
|
217
|
+
schoolDevelopementProgramId: string | null;
|
|
217
218
|
} | null;
|
|
218
219
|
thumbnailId: string | null;
|
|
219
220
|
}[];
|
|
@@ -371,6 +372,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
371
372
|
folderId: string | null;
|
|
372
373
|
conversationId: string | null;
|
|
373
374
|
messageId: string | null;
|
|
375
|
+
schoolDevelopementProgramId: string | null;
|
|
374
376
|
}[];
|
|
375
377
|
annotations: {
|
|
376
378
|
path: string;
|
|
@@ -388,6 +390,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
388
390
|
folderId: string | null;
|
|
389
391
|
conversationId: string | null;
|
|
390
392
|
messageId: string | null;
|
|
393
|
+
schoolDevelopementProgramId: string | null;
|
|
391
394
|
}[];
|
|
392
395
|
} & {
|
|
393
396
|
id: string;
|
|
@@ -462,6 +465,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
462
465
|
folderId: string | null;
|
|
463
466
|
conversationId: string | null;
|
|
464
467
|
messageId: string | null;
|
|
468
|
+
schoolDevelopementProgramId: string | null;
|
|
465
469
|
}[];
|
|
466
470
|
annotations: {
|
|
467
471
|
path: string;
|
|
@@ -479,6 +483,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
479
483
|
folderId: string | null;
|
|
480
484
|
conversationId: string | null;
|
|
481
485
|
messageId: string | null;
|
|
486
|
+
schoolDevelopementProgramId: string | null;
|
|
482
487
|
}[];
|
|
483
488
|
id: string;
|
|
484
489
|
assignmentId: string;
|
|
@@ -561,6 +566,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
561
566
|
folderId: string | null;
|
|
562
567
|
conversationId: string | null;
|
|
563
568
|
messageId: string | null;
|
|
569
|
+
schoolDevelopementProgramId: string | null;
|
|
564
570
|
}[];
|
|
565
571
|
annotations: {
|
|
566
572
|
path: string;
|
|
@@ -578,6 +584,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
578
584
|
folderId: string | null;
|
|
579
585
|
conversationId: string | null;
|
|
580
586
|
messageId: string | null;
|
|
587
|
+
schoolDevelopementProgramId: string | null;
|
|
581
588
|
}[];
|
|
582
589
|
id: string;
|
|
583
590
|
assignmentId: string;
|
|
@@ -669,6 +676,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
669
676
|
folderId: string | null;
|
|
670
677
|
conversationId: string | null;
|
|
671
678
|
messageId: string | null;
|
|
679
|
+
schoolDevelopementProgramId: string | null;
|
|
672
680
|
}[];
|
|
673
681
|
} & {
|
|
674
682
|
id: string;
|
|
@@ -758,6 +766,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
758
766
|
folderId: string | null;
|
|
759
767
|
conversationId: string | null;
|
|
760
768
|
messageId: string | null;
|
|
769
|
+
schoolDevelopementProgramId: string | null;
|
|
761
770
|
} | null;
|
|
762
771
|
} & {
|
|
763
772
|
path: string;
|
|
@@ -775,6 +784,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
775
784
|
folderId: string | null;
|
|
776
785
|
conversationId: string | null;
|
|
777
786
|
messageId: string | null;
|
|
787
|
+
schoolDevelopementProgramId: string | null;
|
|
778
788
|
})[];
|
|
779
789
|
id: string;
|
|
780
790
|
assignmentId: string;
|
|
@@ -879,6 +889,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
879
889
|
folderId: string | null;
|
|
880
890
|
conversationId: string | null;
|
|
881
891
|
messageId: string | null;
|
|
892
|
+
schoolDevelopementProgramId: string | null;
|
|
882
893
|
}[];
|
|
883
894
|
} & {
|
|
884
895
|
id: string;
|
|
@@ -1073,6 +1084,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1073
1084
|
folderId: string | null;
|
|
1074
1085
|
conversationId: string | null;
|
|
1075
1086
|
messageId: string | null;
|
|
1087
|
+
schoolDevelopementProgramId: string | null;
|
|
1076
1088
|
}[];
|
|
1077
1089
|
eventAttached: {
|
|
1078
1090
|
id: string;
|
|
@@ -1153,6 +1165,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1153
1165
|
folderId: string | null;
|
|
1154
1166
|
conversationId: string | null;
|
|
1155
1167
|
messageId: string | null;
|
|
1168
|
+
schoolDevelopementProgramId: string | null;
|
|
1156
1169
|
}[];
|
|
1157
1170
|
eventAttached: {
|
|
1158
1171
|
id: string;
|
|
@@ -1234,6 +1247,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1234
1247
|
folderId: string | null;
|
|
1235
1248
|
conversationId: string | null;
|
|
1236
1249
|
messageId: string | null;
|
|
1250
|
+
schoolDevelopementProgramId: string | null;
|
|
1237
1251
|
}[];
|
|
1238
1252
|
eventAttached: {
|
|
1239
1253
|
id: string;
|
|
@@ -1314,6 +1328,7 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1314
1328
|
folderId: string | null;
|
|
1315
1329
|
conversationId: string | null;
|
|
1316
1330
|
messageId: string | null;
|
|
1331
|
+
schoolDevelopementProgramId: string | null;
|
|
1317
1332
|
}[];
|
|
1318
1333
|
eventAttached: {
|
|
1319
1334
|
id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assignment.d.ts","sourceRoot":"","sources":["../../src/routers/assignment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAsFxB,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"assignment.d.ts","sourceRoot":"","sources":["../../src/routers/assignment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAsFxB,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+rD3B,CAAC"}
|
package/dist/routers/class.d.ts
CHANGED
|
@@ -134,6 +134,11 @@ export declare const classRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
134
134
|
teachers: {
|
|
135
135
|
id: string;
|
|
136
136
|
username: string;
|
|
137
|
+
profile: {
|
|
138
|
+
displayName: string | null;
|
|
139
|
+
profilePicture: string | null;
|
|
140
|
+
profilePictureThumbnail: string | null;
|
|
141
|
+
} | null;
|
|
137
142
|
}[];
|
|
138
143
|
id: string;
|
|
139
144
|
schoolId: string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"class.d.ts","sourceRoot":"","sources":["../../src/routers/class.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"class.d.ts","sourceRoot":"","sources":["../../src/routers/class.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0kCtB,CAAC"}
|
package/dist/routers/class.js
CHANGED
|
@@ -102,6 +102,13 @@ export const classRouter = createTRPCRouter({
|
|
|
102
102
|
select: {
|
|
103
103
|
id: true,
|
|
104
104
|
username: true,
|
|
105
|
+
profile: {
|
|
106
|
+
select: {
|
|
107
|
+
displayName: true,
|
|
108
|
+
profilePicture: true,
|
|
109
|
+
profilePictureThumbnail: true,
|
|
110
|
+
}
|
|
111
|
+
}
|
|
105
112
|
},
|
|
106
113
|
},
|
|
107
114
|
students: {
|
package/dist/routers/file.d.ts
CHANGED
|
@@ -53,6 +53,7 @@ export declare const fileRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
53
53
|
folderId: string | null;
|
|
54
54
|
conversationId: string | null;
|
|
55
55
|
messageId: string | null;
|
|
56
|
+
schoolDevelopementProgramId: string | null;
|
|
56
57
|
};
|
|
57
58
|
meta: object;
|
|
58
59
|
}>;
|
|
@@ -84,6 +85,7 @@ export declare const fileRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
84
85
|
folderId: string | null;
|
|
85
86
|
conversationId: string | null;
|
|
86
87
|
messageId: string | null;
|
|
88
|
+
schoolDevelopementProgramId: string | null;
|
|
87
89
|
};
|
|
88
90
|
meta: object;
|
|
89
91
|
}>;
|