@studious-lms/server 1.1.16 → 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.map +1 -1
- package/dist/lib/jsonConversion.js +290 -124
- package/dist/routers/_app.d.ts +170 -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 +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 +346 -135
- package/src/routers/_app.ts +2 -0
- package/src/routers/labChat.ts +4 -1
- 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
|
@@ -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,74 @@ 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
|
+
}>>;
|
|
3914
3999
|
}>>;
|
|
3915
4000
|
export type AppRouter = typeof appRouter;
|
|
3916
4001
|
export type RouterInputs = inferRouterInputs<AppRouter>;
|
|
@@ -4983,6 +5068,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
4983
5068
|
folderId: string | null;
|
|
4984
5069
|
conversationId: string | null;
|
|
4985
5070
|
messageId: string | null;
|
|
5071
|
+
schoolDevelopementProgramId: string | null;
|
|
4986
5072
|
} | null;
|
|
4987
5073
|
thumbnailId: string | null;
|
|
4988
5074
|
}[];
|
|
@@ -5140,6 +5226,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5140
5226
|
folderId: string | null;
|
|
5141
5227
|
conversationId: string | null;
|
|
5142
5228
|
messageId: string | null;
|
|
5229
|
+
schoolDevelopementProgramId: string | null;
|
|
5143
5230
|
}[];
|
|
5144
5231
|
annotations: {
|
|
5145
5232
|
path: string;
|
|
@@ -5157,6 +5244,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5157
5244
|
folderId: string | null;
|
|
5158
5245
|
conversationId: string | null;
|
|
5159
5246
|
messageId: string | null;
|
|
5247
|
+
schoolDevelopementProgramId: string | null;
|
|
5160
5248
|
}[];
|
|
5161
5249
|
} & {
|
|
5162
5250
|
id: string;
|
|
@@ -5231,6 +5319,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5231
5319
|
folderId: string | null;
|
|
5232
5320
|
conversationId: string | null;
|
|
5233
5321
|
messageId: string | null;
|
|
5322
|
+
schoolDevelopementProgramId: string | null;
|
|
5234
5323
|
}[];
|
|
5235
5324
|
annotations: {
|
|
5236
5325
|
path: string;
|
|
@@ -5248,6 +5337,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5248
5337
|
folderId: string | null;
|
|
5249
5338
|
conversationId: string | null;
|
|
5250
5339
|
messageId: string | null;
|
|
5340
|
+
schoolDevelopementProgramId: string | null;
|
|
5251
5341
|
}[];
|
|
5252
5342
|
id: string;
|
|
5253
5343
|
assignmentId: string;
|
|
@@ -5330,6 +5420,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5330
5420
|
folderId: string | null;
|
|
5331
5421
|
conversationId: string | null;
|
|
5332
5422
|
messageId: string | null;
|
|
5423
|
+
schoolDevelopementProgramId: string | null;
|
|
5333
5424
|
}[];
|
|
5334
5425
|
annotations: {
|
|
5335
5426
|
path: string;
|
|
@@ -5347,6 +5438,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5347
5438
|
folderId: string | null;
|
|
5348
5439
|
conversationId: string | null;
|
|
5349
5440
|
messageId: string | null;
|
|
5441
|
+
schoolDevelopementProgramId: string | null;
|
|
5350
5442
|
}[];
|
|
5351
5443
|
id: string;
|
|
5352
5444
|
assignmentId: string;
|
|
@@ -5438,6 +5530,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5438
5530
|
folderId: string | null;
|
|
5439
5531
|
conversationId: string | null;
|
|
5440
5532
|
messageId: string | null;
|
|
5533
|
+
schoolDevelopementProgramId: string | null;
|
|
5441
5534
|
}[];
|
|
5442
5535
|
} & {
|
|
5443
5536
|
id: string;
|
|
@@ -5527,6 +5620,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5527
5620
|
folderId: string | null;
|
|
5528
5621
|
conversationId: string | null;
|
|
5529
5622
|
messageId: string | null;
|
|
5623
|
+
schoolDevelopementProgramId: string | null;
|
|
5530
5624
|
} | null;
|
|
5531
5625
|
} & {
|
|
5532
5626
|
path: string;
|
|
@@ -5544,6 +5638,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5544
5638
|
folderId: string | null;
|
|
5545
5639
|
conversationId: string | null;
|
|
5546
5640
|
messageId: string | null;
|
|
5641
|
+
schoolDevelopementProgramId: string | null;
|
|
5547
5642
|
})[];
|
|
5548
5643
|
id: string;
|
|
5549
5644
|
assignmentId: string;
|
|
@@ -5648,6 +5743,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5648
5743
|
folderId: string | null;
|
|
5649
5744
|
conversationId: string | null;
|
|
5650
5745
|
messageId: string | null;
|
|
5746
|
+
schoolDevelopementProgramId: string | null;
|
|
5651
5747
|
}[];
|
|
5652
5748
|
} & {
|
|
5653
5749
|
id: string;
|
|
@@ -5842,6 +5938,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5842
5938
|
folderId: string | null;
|
|
5843
5939
|
conversationId: string | null;
|
|
5844
5940
|
messageId: string | null;
|
|
5941
|
+
schoolDevelopementProgramId: string | null;
|
|
5845
5942
|
}[];
|
|
5846
5943
|
eventAttached: {
|
|
5847
5944
|
id: string;
|
|
@@ -5922,6 +6019,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5922
6019
|
folderId: string | null;
|
|
5923
6020
|
conversationId: string | null;
|
|
5924
6021
|
messageId: string | null;
|
|
6022
|
+
schoolDevelopementProgramId: string | null;
|
|
5925
6023
|
}[];
|
|
5926
6024
|
eventAttached: {
|
|
5927
6025
|
id: string;
|
|
@@ -6003,6 +6101,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
6003
6101
|
folderId: string | null;
|
|
6004
6102
|
conversationId: string | null;
|
|
6005
6103
|
messageId: string | null;
|
|
6104
|
+
schoolDevelopementProgramId: string | null;
|
|
6006
6105
|
}[];
|
|
6007
6106
|
eventAttached: {
|
|
6008
6107
|
id: string;
|
|
@@ -6083,6 +6182,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
6083
6182
|
folderId: string | null;
|
|
6084
6183
|
conversationId: string | null;
|
|
6085
6184
|
messageId: string | null;
|
|
6185
|
+
schoolDevelopementProgramId: string | null;
|
|
6086
6186
|
}[];
|
|
6087
6187
|
eventAttached: {
|
|
6088
6188
|
id: string;
|
|
@@ -6876,6 +6976,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
6876
6976
|
folderId: string | null;
|
|
6877
6977
|
conversationId: string | null;
|
|
6878
6978
|
messageId: string | null;
|
|
6979
|
+
schoolDevelopementProgramId: string | null;
|
|
6879
6980
|
};
|
|
6880
6981
|
meta: object;
|
|
6881
6982
|
}>;
|
|
@@ -6907,6 +7008,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
6907
7008
|
folderId: string | null;
|
|
6908
7009
|
conversationId: string | null;
|
|
6909
7010
|
messageId: string | null;
|
|
7011
|
+
schoolDevelopementProgramId: string | null;
|
|
6910
7012
|
};
|
|
6911
7013
|
meta: object;
|
|
6912
7014
|
}>;
|
|
@@ -7827,5 +7929,73 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
7827
7929
|
meta: object;
|
|
7828
7930
|
}>;
|
|
7829
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
|
+
}>>;
|
|
7830
8000
|
}>>;
|
|
7831
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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)) {
|