@studious-lms/server 1.1.16 → 1.1.18
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.map +1 -1
- package/dist/lib/jsonConversion.js +290 -124
- package/dist/routers/_app.d.ts +190 -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/file.d.ts +2 -0
- package/dist/routers/file.d.ts.map +1 -1
- package/dist/routers/labChat.js +2 -1
- package/dist/routers/marketing.d.ts +80 -0
- package/dist/routers/marketing.d.ts.map +1 -0
- package/dist/routers/marketing.js +82 -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 +37 -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 +346 -135
- package/src/routers/_app.ts +2 -0
- package/src/routers/labChat.ts +4 -1
- package/src/routers/marketing.ts +86 -0
- package/src/seedDatabase.ts +1512 -21
- package/src/utils/inference.ts +2 -2
package/dist/routers/_app.d.ts
CHANGED
|
@@ -1067,6 +1067,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1067
1067
|
folderId: string | null;
|
|
1068
1068
|
conversationId: string | null;
|
|
1069
1069
|
messageId: string | null;
|
|
1070
|
+
schoolDevelopementProgramId: string | null;
|
|
1070
1071
|
} | null;
|
|
1071
1072
|
thumbnailId: string | null;
|
|
1072
1073
|
}[];
|
|
@@ -1224,6 +1225,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1224
1225
|
folderId: string | null;
|
|
1225
1226
|
conversationId: string | null;
|
|
1226
1227
|
messageId: string | null;
|
|
1228
|
+
schoolDevelopementProgramId: string | null;
|
|
1227
1229
|
}[];
|
|
1228
1230
|
annotations: {
|
|
1229
1231
|
path: string;
|
|
@@ -1241,6 +1243,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1241
1243
|
folderId: string | null;
|
|
1242
1244
|
conversationId: string | null;
|
|
1243
1245
|
messageId: string | null;
|
|
1246
|
+
schoolDevelopementProgramId: string | null;
|
|
1244
1247
|
}[];
|
|
1245
1248
|
} & {
|
|
1246
1249
|
id: string;
|
|
@@ -1315,6 +1318,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1315
1318
|
folderId: string | null;
|
|
1316
1319
|
conversationId: string | null;
|
|
1317
1320
|
messageId: string | null;
|
|
1321
|
+
schoolDevelopementProgramId: string | null;
|
|
1318
1322
|
}[];
|
|
1319
1323
|
annotations: {
|
|
1320
1324
|
path: string;
|
|
@@ -1332,6 +1336,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1332
1336
|
folderId: string | null;
|
|
1333
1337
|
conversationId: string | null;
|
|
1334
1338
|
messageId: string | null;
|
|
1339
|
+
schoolDevelopementProgramId: string | null;
|
|
1335
1340
|
}[];
|
|
1336
1341
|
id: string;
|
|
1337
1342
|
assignmentId: string;
|
|
@@ -1414,6 +1419,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1414
1419
|
folderId: string | null;
|
|
1415
1420
|
conversationId: string | null;
|
|
1416
1421
|
messageId: string | null;
|
|
1422
|
+
schoolDevelopementProgramId: string | null;
|
|
1417
1423
|
}[];
|
|
1418
1424
|
annotations: {
|
|
1419
1425
|
path: string;
|
|
@@ -1431,6 +1437,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1431
1437
|
folderId: string | null;
|
|
1432
1438
|
conversationId: string | null;
|
|
1433
1439
|
messageId: string | null;
|
|
1440
|
+
schoolDevelopementProgramId: string | null;
|
|
1434
1441
|
}[];
|
|
1435
1442
|
id: string;
|
|
1436
1443
|
assignmentId: string;
|
|
@@ -1522,6 +1529,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1522
1529
|
folderId: string | null;
|
|
1523
1530
|
conversationId: string | null;
|
|
1524
1531
|
messageId: string | null;
|
|
1532
|
+
schoolDevelopementProgramId: string | null;
|
|
1525
1533
|
}[];
|
|
1526
1534
|
} & {
|
|
1527
1535
|
id: string;
|
|
@@ -1611,6 +1619,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1611
1619
|
folderId: string | null;
|
|
1612
1620
|
conversationId: string | null;
|
|
1613
1621
|
messageId: string | null;
|
|
1622
|
+
schoolDevelopementProgramId: string | null;
|
|
1614
1623
|
} | null;
|
|
1615
1624
|
} & {
|
|
1616
1625
|
path: string;
|
|
@@ -1628,6 +1637,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1628
1637
|
folderId: string | null;
|
|
1629
1638
|
conversationId: string | null;
|
|
1630
1639
|
messageId: string | null;
|
|
1640
|
+
schoolDevelopementProgramId: string | null;
|
|
1631
1641
|
})[];
|
|
1632
1642
|
id: string;
|
|
1633
1643
|
assignmentId: string;
|
|
@@ -1732,6 +1742,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1732
1742
|
folderId: string | null;
|
|
1733
1743
|
conversationId: string | null;
|
|
1734
1744
|
messageId: string | null;
|
|
1745
|
+
schoolDevelopementProgramId: string | null;
|
|
1735
1746
|
}[];
|
|
1736
1747
|
} & {
|
|
1737
1748
|
id: string;
|
|
@@ -1926,6 +1937,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1926
1937
|
folderId: string | null;
|
|
1927
1938
|
conversationId: string | null;
|
|
1928
1939
|
messageId: string | null;
|
|
1940
|
+
schoolDevelopementProgramId: string | null;
|
|
1929
1941
|
}[];
|
|
1930
1942
|
eventAttached: {
|
|
1931
1943
|
id: string;
|
|
@@ -2006,6 +2018,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2006
2018
|
folderId: string | null;
|
|
2007
2019
|
conversationId: string | null;
|
|
2008
2020
|
messageId: string | null;
|
|
2021
|
+
schoolDevelopementProgramId: string | null;
|
|
2009
2022
|
}[];
|
|
2010
2023
|
eventAttached: {
|
|
2011
2024
|
id: string;
|
|
@@ -2087,6 +2100,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2087
2100
|
folderId: string | null;
|
|
2088
2101
|
conversationId: string | null;
|
|
2089
2102
|
messageId: string | null;
|
|
2103
|
+
schoolDevelopementProgramId: string | null;
|
|
2090
2104
|
}[];
|
|
2091
2105
|
eventAttached: {
|
|
2092
2106
|
id: string;
|
|
@@ -2167,6 +2181,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2167
2181
|
folderId: string | null;
|
|
2168
2182
|
conversationId: string | null;
|
|
2169
2183
|
messageId: string | null;
|
|
2184
|
+
schoolDevelopementProgramId: string | null;
|
|
2170
2185
|
}[];
|
|
2171
2186
|
eventAttached: {
|
|
2172
2187
|
id: string;
|
|
@@ -2960,6 +2975,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2960
2975
|
folderId: string | null;
|
|
2961
2976
|
conversationId: string | null;
|
|
2962
2977
|
messageId: string | null;
|
|
2978
|
+
schoolDevelopementProgramId: string | null;
|
|
2963
2979
|
};
|
|
2964
2980
|
meta: object;
|
|
2965
2981
|
}>;
|
|
@@ -2991,6 +3007,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2991
3007
|
folderId: string | null;
|
|
2992
3008
|
conversationId: string | null;
|
|
2993
3009
|
messageId: string | null;
|
|
3010
|
+
schoolDevelopementProgramId: string | null;
|
|
2994
3011
|
};
|
|
2995
3012
|
meta: object;
|
|
2996
3013
|
}>;
|
|
@@ -3911,6 +3928,84 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3911
3928
|
meta: object;
|
|
3912
3929
|
}>;
|
|
3913
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
|
+
earlyAccessRequest: import("@trpc/server").TRPCMutationProcedure<{
|
|
3999
|
+
input: {
|
|
4000
|
+
email: string;
|
|
4001
|
+
institutionSize: string;
|
|
4002
|
+
};
|
|
4003
|
+
output: {
|
|
4004
|
+
id: string;
|
|
4005
|
+
};
|
|
4006
|
+
meta: object;
|
|
4007
|
+
}>;
|
|
4008
|
+
}>>;
|
|
3914
4009
|
}>>;
|
|
3915
4010
|
export type AppRouter = typeof appRouter;
|
|
3916
4011
|
export type RouterInputs = inferRouterInputs<AppRouter>;
|
|
@@ -4983,6 +5078,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
4983
5078
|
folderId: string | null;
|
|
4984
5079
|
conversationId: string | null;
|
|
4985
5080
|
messageId: string | null;
|
|
5081
|
+
schoolDevelopementProgramId: string | null;
|
|
4986
5082
|
} | null;
|
|
4987
5083
|
thumbnailId: string | null;
|
|
4988
5084
|
}[];
|
|
@@ -5140,6 +5236,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5140
5236
|
folderId: string | null;
|
|
5141
5237
|
conversationId: string | null;
|
|
5142
5238
|
messageId: string | null;
|
|
5239
|
+
schoolDevelopementProgramId: string | null;
|
|
5143
5240
|
}[];
|
|
5144
5241
|
annotations: {
|
|
5145
5242
|
path: string;
|
|
@@ -5157,6 +5254,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5157
5254
|
folderId: string | null;
|
|
5158
5255
|
conversationId: string | null;
|
|
5159
5256
|
messageId: string | null;
|
|
5257
|
+
schoolDevelopementProgramId: string | null;
|
|
5160
5258
|
}[];
|
|
5161
5259
|
} & {
|
|
5162
5260
|
id: string;
|
|
@@ -5231,6 +5329,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5231
5329
|
folderId: string | null;
|
|
5232
5330
|
conversationId: string | null;
|
|
5233
5331
|
messageId: string | null;
|
|
5332
|
+
schoolDevelopementProgramId: string | null;
|
|
5234
5333
|
}[];
|
|
5235
5334
|
annotations: {
|
|
5236
5335
|
path: string;
|
|
@@ -5248,6 +5347,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5248
5347
|
folderId: string | null;
|
|
5249
5348
|
conversationId: string | null;
|
|
5250
5349
|
messageId: string | null;
|
|
5350
|
+
schoolDevelopementProgramId: string | null;
|
|
5251
5351
|
}[];
|
|
5252
5352
|
id: string;
|
|
5253
5353
|
assignmentId: string;
|
|
@@ -5330,6 +5430,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5330
5430
|
folderId: string | null;
|
|
5331
5431
|
conversationId: string | null;
|
|
5332
5432
|
messageId: string | null;
|
|
5433
|
+
schoolDevelopementProgramId: string | null;
|
|
5333
5434
|
}[];
|
|
5334
5435
|
annotations: {
|
|
5335
5436
|
path: string;
|
|
@@ -5347,6 +5448,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5347
5448
|
folderId: string | null;
|
|
5348
5449
|
conversationId: string | null;
|
|
5349
5450
|
messageId: string | null;
|
|
5451
|
+
schoolDevelopementProgramId: string | null;
|
|
5350
5452
|
}[];
|
|
5351
5453
|
id: string;
|
|
5352
5454
|
assignmentId: string;
|
|
@@ -5438,6 +5540,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5438
5540
|
folderId: string | null;
|
|
5439
5541
|
conversationId: string | null;
|
|
5440
5542
|
messageId: string | null;
|
|
5543
|
+
schoolDevelopementProgramId: string | null;
|
|
5441
5544
|
}[];
|
|
5442
5545
|
} & {
|
|
5443
5546
|
id: string;
|
|
@@ -5527,6 +5630,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5527
5630
|
folderId: string | null;
|
|
5528
5631
|
conversationId: string | null;
|
|
5529
5632
|
messageId: string | null;
|
|
5633
|
+
schoolDevelopementProgramId: string | null;
|
|
5530
5634
|
} | null;
|
|
5531
5635
|
} & {
|
|
5532
5636
|
path: string;
|
|
@@ -5544,6 +5648,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5544
5648
|
folderId: string | null;
|
|
5545
5649
|
conversationId: string | null;
|
|
5546
5650
|
messageId: string | null;
|
|
5651
|
+
schoolDevelopementProgramId: string | null;
|
|
5547
5652
|
})[];
|
|
5548
5653
|
id: string;
|
|
5549
5654
|
assignmentId: string;
|
|
@@ -5648,6 +5753,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5648
5753
|
folderId: string | null;
|
|
5649
5754
|
conversationId: string | null;
|
|
5650
5755
|
messageId: string | null;
|
|
5756
|
+
schoolDevelopementProgramId: string | null;
|
|
5651
5757
|
}[];
|
|
5652
5758
|
} & {
|
|
5653
5759
|
id: string;
|
|
@@ -5842,6 +5948,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5842
5948
|
folderId: string | null;
|
|
5843
5949
|
conversationId: string | null;
|
|
5844
5950
|
messageId: string | null;
|
|
5951
|
+
schoolDevelopementProgramId: string | null;
|
|
5845
5952
|
}[];
|
|
5846
5953
|
eventAttached: {
|
|
5847
5954
|
id: string;
|
|
@@ -5922,6 +6029,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5922
6029
|
folderId: string | null;
|
|
5923
6030
|
conversationId: string | null;
|
|
5924
6031
|
messageId: string | null;
|
|
6032
|
+
schoolDevelopementProgramId: string | null;
|
|
5925
6033
|
}[];
|
|
5926
6034
|
eventAttached: {
|
|
5927
6035
|
id: string;
|
|
@@ -6003,6 +6111,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
6003
6111
|
folderId: string | null;
|
|
6004
6112
|
conversationId: string | null;
|
|
6005
6113
|
messageId: string | null;
|
|
6114
|
+
schoolDevelopementProgramId: string | null;
|
|
6006
6115
|
}[];
|
|
6007
6116
|
eventAttached: {
|
|
6008
6117
|
id: string;
|
|
@@ -6083,6 +6192,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
6083
6192
|
folderId: string | null;
|
|
6084
6193
|
conversationId: string | null;
|
|
6085
6194
|
messageId: string | null;
|
|
6195
|
+
schoolDevelopementProgramId: string | null;
|
|
6086
6196
|
}[];
|
|
6087
6197
|
eventAttached: {
|
|
6088
6198
|
id: string;
|
|
@@ -6876,6 +6986,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
6876
6986
|
folderId: string | null;
|
|
6877
6987
|
conversationId: string | null;
|
|
6878
6988
|
messageId: string | null;
|
|
6989
|
+
schoolDevelopementProgramId: string | null;
|
|
6879
6990
|
};
|
|
6880
6991
|
meta: object;
|
|
6881
6992
|
}>;
|
|
@@ -6907,6 +7018,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
6907
7018
|
folderId: string | null;
|
|
6908
7019
|
conversationId: string | null;
|
|
6909
7020
|
messageId: string | null;
|
|
7021
|
+
schoolDevelopementProgramId: string | null;
|
|
6910
7022
|
};
|
|
6911
7023
|
meta: object;
|
|
6912
7024
|
}>;
|
|
@@ -7827,5 +7939,83 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
7827
7939
|
meta: object;
|
|
7828
7940
|
}>;
|
|
7829
7941
|
}>>;
|
|
7942
|
+
marketing: import("@trpc/server").TRPCBuiltRouter<{
|
|
7943
|
+
ctx: import("../trpc.js").Context;
|
|
7944
|
+
meta: object;
|
|
7945
|
+
errorShape: {
|
|
7946
|
+
data: {
|
|
7947
|
+
zodError: import("zod").typeToFlattenedError<any, string> | null;
|
|
7948
|
+
prismaError: import("../utils/prismaErrorHandler.js").PrismaErrorInfo | null;
|
|
7949
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
|
|
7950
|
+
httpStatus: number;
|
|
7951
|
+
path?: string;
|
|
7952
|
+
stack?: string;
|
|
7953
|
+
};
|
|
7954
|
+
message: string;
|
|
7955
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
7956
|
+
};
|
|
7957
|
+
transformer: false;
|
|
7958
|
+
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
7959
|
+
createSchoolDevelopementProgram: import("@trpc/server").TRPCMutationProcedure<{
|
|
7960
|
+
input: {
|
|
7961
|
+
type: string;
|
|
7962
|
+
name: string;
|
|
7963
|
+
address: string;
|
|
7964
|
+
city: string;
|
|
7965
|
+
country: string;
|
|
7966
|
+
numberOfStudents: number;
|
|
7967
|
+
numberOfTeachers: number;
|
|
7968
|
+
website?: string | undefined;
|
|
7969
|
+
contactName?: string | undefined;
|
|
7970
|
+
contactRole?: string | undefined;
|
|
7971
|
+
contactEmail?: string | undefined;
|
|
7972
|
+
contactPhone?: string | undefined;
|
|
7973
|
+
eligibilityInformation?: string | undefined;
|
|
7974
|
+
whyHelp?: string | undefined;
|
|
7975
|
+
additionalInformation?: string | undefined;
|
|
7976
|
+
};
|
|
7977
|
+
output: {
|
|
7978
|
+
id: string;
|
|
7979
|
+
};
|
|
7980
|
+
meta: object;
|
|
7981
|
+
}>;
|
|
7982
|
+
searchSchoolDevelopementPrograms: import("@trpc/server").TRPCQueryProcedure<{
|
|
7983
|
+
input: {
|
|
7984
|
+
id: string;
|
|
7985
|
+
};
|
|
7986
|
+
output: {
|
|
7987
|
+
type: string;
|
|
7988
|
+
id: string;
|
|
7989
|
+
name: string;
|
|
7990
|
+
status: string;
|
|
7991
|
+
website: string | null;
|
|
7992
|
+
submittedAt: Date | null;
|
|
7993
|
+
address: string;
|
|
7994
|
+
city: string;
|
|
7995
|
+
country: string;
|
|
7996
|
+
numberOfStudents: number;
|
|
7997
|
+
numberOfTeachers: number;
|
|
7998
|
+
contactName: string | null;
|
|
7999
|
+
contactRole: string | null;
|
|
8000
|
+
contactEmail: string | null;
|
|
8001
|
+
contactPhone: string | null;
|
|
8002
|
+
eligibilityInformation: string | null;
|
|
8003
|
+
whyHelp: string | null;
|
|
8004
|
+
additionalInformation: string | null;
|
|
8005
|
+
reviewedAt: Date | null;
|
|
8006
|
+
} | null;
|
|
8007
|
+
meta: object;
|
|
8008
|
+
}>;
|
|
8009
|
+
earlyAccessRequest: import("@trpc/server").TRPCMutationProcedure<{
|
|
8010
|
+
input: {
|
|
8011
|
+
email: string;
|
|
8012
|
+
institutionSize: string;
|
|
8013
|
+
};
|
|
8014
|
+
output: {
|
|
8015
|
+
id: string;
|
|
8016
|
+
};
|
|
8017
|
+
meta: object;
|
|
8018
|
+
}>;
|
|
8019
|
+
}>>;
|
|
7830
8020
|
}>>;
|
|
7831
8021
|
//# 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,i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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/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
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file.d.ts","sourceRoot":"","sources":["../../src/routers/file.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"file.d.ts","sourceRoot":"","sources":["../../src/routers/file.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsVrB,CAAC"}
|
package/dist/routers/labChat.js
CHANGED
|
@@ -720,7 +720,7 @@ WHEN CREATING COURSE MATERIALS (docs field):
|
|
|
720
720
|
- Colors must be hex strings: "#RGB" or "#RRGGBB".
|
|
721
721
|
- Headings (0-5): content is a single string; you may set metadata.align.
|
|
722
722
|
- Paragraphs (6) and Quotes (12): content is a single string.
|
|
723
|
-
- Bullets (7) and Numbered (8): content is an array of strings (one item per list entry).
|
|
723
|
+
- Bullets (7) and Numbered (8): content is an array of strings (one item per list entry). DO NOT include bullet symbols (*) or numbers (1. 2. 3.) in the content - the format will automatically add these.
|
|
724
724
|
- Code blocks (11): prefer content as an array of lines; preserve indentation via leading tabs/spaces. If using a single string, include \n between lines.
|
|
725
725
|
- Table (9) and Image (10) are not supported by the renderer now; do not emit them.
|
|
726
726
|
- Use metadata sparingly; omit fields you don't need. For code blocks you may set metadata.paddingX, paddingY, background, and font (1 for Courier).
|
|
@@ -816,6 +816,7 @@ WHEN CREATING COURSE MATERIALS (docs field):
|
|
|
816
816
|
const attachmentIds = [];
|
|
817
817
|
// Generate PDFs if docs are provided
|
|
818
818
|
if (jsonData.docs && Array.isArray(jsonData.docs)) {
|
|
819
|
+
console.log('Generating PDFs', { labChatId, docs: JSON.stringify(jsonData.docs, null, 2) });
|
|
819
820
|
for (let i = 0; i < jsonData.docs.length; i++) {
|
|
820
821
|
const doc = jsonData.docs[i];
|
|
821
822
|
if (!doc.title || !doc.blocks || !Array.isArray(doc.blocks)) {
|