@studious-lms/server 1.4.3 → 1.4.5
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/.vscode/settings.json +3 -0
- package/dist/index.js +4 -18
- package/dist/index.js.map +1 -1
- package/dist/models/conversation.d.ts +22 -0
- package/dist/models/conversation.d.ts.map +1 -1
- package/dist/models/conversation.js +13 -2
- package/dist/models/conversation.js.map +1 -1
- package/dist/models/labChat.d.ts +3 -0
- package/dist/models/labChat.d.ts.map +1 -1
- package/dist/models/message.d.ts +2 -0
- package/dist/models/message.d.ts.map +1 -1
- package/dist/models/newtonChat.d.ts +1 -0
- package/dist/models/newtonChat.d.ts.map +1 -1
- package/dist/models/worksheet.d.ts +1 -0
- package/dist/models/worksheet.d.ts.map +1 -1
- package/dist/models/worksheet.js +2 -2
- package/dist/models/worksheet.js.map +1 -1
- package/dist/pipelines/pdfToWorksheet.d.ts +12 -0
- package/dist/pipelines/pdfToWorksheet.d.ts.map +1 -0
- package/dist/pipelines/pdfToWorksheet.js +155 -0
- package/dist/pipelines/pdfToWorksheet.js.map +1 -0
- package/dist/routers/_app.d.ts +252 -0
- package/dist/routers/_app.d.ts.map +1 -1
- package/dist/routers/_app.js +4 -2
- package/dist/routers/_app.js.map +1 -1
- package/dist/routers/conversation.d.ts +14 -0
- package/dist/routers/conversation.d.ts.map +1 -1
- package/dist/routers/conversation.js +6 -3
- package/dist/routers/conversation.js.map +1 -1
- package/dist/routers/labChat.d.ts +2 -0
- package/dist/routers/labChat.d.ts.map +1 -1
- package/dist/routers/search.d.ts +41 -0
- package/dist/routers/search.d.ts.map +1 -0
- package/dist/routers/search.js +15 -0
- package/dist/routers/search.js.map +1 -0
- package/dist/routers/worksheet.d.ts +71 -0
- package/dist/routers/worksheet.d.ts.map +1 -1
- package/dist/routers/worksheet.js +110 -3
- package/dist/routers/worksheet.js.map +1 -1
- package/dist/services/conversation.d.ts +8 -0
- package/dist/services/conversation.d.ts.map +1 -1
- package/dist/services/conversation.js +24 -6
- package/dist/services/conversation.js.map +1 -1
- package/dist/services/labChat.d.ts +2 -0
- package/dist/services/labChat.d.ts.map +1 -1
- package/dist/services/message.d.ts.map +1 -1
- package/dist/services/message.js +9 -2
- package/dist/services/message.js.map +1 -1
- package/dist/services/search.d.ts +21 -0
- package/dist/services/search.d.ts.map +1 -0
- package/dist/services/search.js +352 -0
- package/dist/services/search.js.map +1 -0
- package/dist/services/worksheet.d.ts +21 -0
- package/dist/services/worksheet.d.ts.map +1 -1
- package/dist/services/worksheet.js +50 -2
- package/dist/services/worksheet.js.map +1 -1
- package/dist/utils/inference.d.ts +2 -1
- package/dist/utils/inference.d.ts.map +1 -1
- package/dist/utils/inference.js +53 -5
- package/dist/utils/inference.js.map +1 -1
- package/package.json +1 -1
- package/prisma/migrations/20260417083000_add_conversation_member_hidden_at/migration.sql +2 -0
- package/prisma/schema.prisma +1 -0
- package/src/index.ts +4 -19
- package/src/models/conversation.ts +12 -0
- package/src/models/worksheet.ts +1 -0
- package/src/pipelines/pdfToWorksheet.ts +177 -0
- package/src/routers/_app.ts +2 -0
- package/src/routers/conversation.ts +7 -0
- package/src/routers/search.ts +14 -0
- package/src/routers/worksheet.ts +143 -0
- package/src/services/conversation.ts +27 -3
- package/src/services/message.ts +8 -0
- package/src/services/search.ts +397 -0
- package/src/services/worksheet.ts +61 -0
- package/src/utils/inference.ts +77 -7
- package/tests/pipelines/pdfToWorksheet.test.ts +176 -0
- package/tests/routers/conversation.test.ts +114 -2
- package/tests/routers/search.test.ts +109 -0
- package/tests/utils/inference.test.ts +37 -0
package/dist/routers/_app.d.ts
CHANGED
|
@@ -4514,6 +4514,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4514
4514
|
conversationId: string;
|
|
4515
4515
|
role: import(".prisma/client").$Enums.ConversationRole;
|
|
4516
4516
|
joinedAt: Date;
|
|
4517
|
+
hiddenAt: Date | null;
|
|
4517
4518
|
lastViewedAt: Date | null;
|
|
4518
4519
|
lastViewedMentionAt: Date | null;
|
|
4519
4520
|
})[];
|
|
@@ -4561,6 +4562,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4561
4562
|
conversationId: string;
|
|
4562
4563
|
role: import(".prisma/client").$Enums.ConversationRole;
|
|
4563
4564
|
joinedAt: Date;
|
|
4565
|
+
hiddenAt: Date | null;
|
|
4564
4566
|
lastViewedAt: Date | null;
|
|
4565
4567
|
lastViewedMentionAt: Date | null;
|
|
4566
4568
|
})[];
|
|
@@ -4594,6 +4596,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4594
4596
|
conversationId: string;
|
|
4595
4597
|
role: import(".prisma/client").$Enums.ConversationRole;
|
|
4596
4598
|
joinedAt: Date;
|
|
4599
|
+
hiddenAt: Date | null;
|
|
4597
4600
|
lastViewedAt: Date | null;
|
|
4598
4601
|
lastViewedMentionAt: Date | null;
|
|
4599
4602
|
})[];
|
|
@@ -4607,6 +4610,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4607
4610
|
};
|
|
4608
4611
|
meta: object;
|
|
4609
4612
|
}>;
|
|
4613
|
+
hide: import("@trpc/server").TRPCMutationProcedure<{
|
|
4614
|
+
input: {
|
|
4615
|
+
conversationId: string;
|
|
4616
|
+
};
|
|
4617
|
+
output: {
|
|
4618
|
+
success: boolean;
|
|
4619
|
+
};
|
|
4620
|
+
meta: object;
|
|
4621
|
+
}>;
|
|
4610
4622
|
addMember: import("@trpc/server").TRPCMutationProcedure<{
|
|
4611
4623
|
input: {
|
|
4612
4624
|
conversationId: string;
|
|
@@ -4628,6 +4640,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4628
4640
|
conversationId: string;
|
|
4629
4641
|
role: import(".prisma/client").$Enums.ConversationRole;
|
|
4630
4642
|
joinedAt: Date;
|
|
4643
|
+
hiddenAt: Date | null;
|
|
4631
4644
|
lastViewedAt: Date | null;
|
|
4632
4645
|
lastViewedMentionAt: Date | null;
|
|
4633
4646
|
})[];
|
|
@@ -4662,6 +4675,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4662
4675
|
conversationId: string;
|
|
4663
4676
|
role: import(".prisma/client").$Enums.ConversationRole;
|
|
4664
4677
|
joinedAt: Date;
|
|
4678
|
+
hiddenAt: Date | null;
|
|
4665
4679
|
lastViewedAt: Date | null;
|
|
4666
4680
|
lastViewedMentionAt: Date | null;
|
|
4667
4681
|
})[];
|
|
@@ -4910,6 +4924,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4910
4924
|
conversationId: string;
|
|
4911
4925
|
role: import(".prisma/client").$Enums.ConversationRole;
|
|
4912
4926
|
joinedAt: Date;
|
|
4927
|
+
hiddenAt: Date | null;
|
|
4913
4928
|
lastViewedAt: Date | null;
|
|
4914
4929
|
lastViewedMentionAt: Date | null;
|
|
4915
4930
|
})[];
|
|
@@ -4968,6 +4983,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4968
4983
|
conversationId: string;
|
|
4969
4984
|
role: import(".prisma/client").$Enums.ConversationRole;
|
|
4970
4985
|
joinedAt: Date;
|
|
4986
|
+
hiddenAt: Date | null;
|
|
4971
4987
|
lastViewedAt: Date | null;
|
|
4972
4988
|
lastViewedMentionAt: Date | null;
|
|
4973
4989
|
})[];
|
|
@@ -5345,6 +5361,66 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5345
5361
|
};
|
|
5346
5362
|
meta: object;
|
|
5347
5363
|
}>;
|
|
5364
|
+
createFromPdf: import("@trpc/server").TRPCMutationProcedure<{
|
|
5365
|
+
input: {
|
|
5366
|
+
[x: string]: unknown;
|
|
5367
|
+
classId: string;
|
|
5368
|
+
url: string;
|
|
5369
|
+
};
|
|
5370
|
+
output: {
|
|
5371
|
+
name: string;
|
|
5372
|
+
id: string;
|
|
5373
|
+
createdAt: Date;
|
|
5374
|
+
classId: string;
|
|
5375
|
+
updatedAt: Date;
|
|
5376
|
+
};
|
|
5377
|
+
meta: object;
|
|
5378
|
+
}>;
|
|
5379
|
+
getWorksheetUploadUrls: import("@trpc/server").TRPCMutationProcedure<{
|
|
5380
|
+
input: {
|
|
5381
|
+
[x: string]: unknown;
|
|
5382
|
+
classId: string;
|
|
5383
|
+
files: {
|
|
5384
|
+
type: string;
|
|
5385
|
+
name: string;
|
|
5386
|
+
size: number;
|
|
5387
|
+
}[];
|
|
5388
|
+
};
|
|
5389
|
+
output: {
|
|
5390
|
+
success: boolean;
|
|
5391
|
+
uploadFiles: import("../lib/fileUpload.js").DirectUploadFile[];
|
|
5392
|
+
};
|
|
5393
|
+
meta: object;
|
|
5394
|
+
}>;
|
|
5395
|
+
confirmWorksheetUpload: import("@trpc/server").TRPCMutationProcedure<{
|
|
5396
|
+
input: {
|
|
5397
|
+
[x: string]: unknown;
|
|
5398
|
+
classId: string;
|
|
5399
|
+
fileId: string;
|
|
5400
|
+
uploadSuccess: boolean;
|
|
5401
|
+
errorMessage?: string | undefined;
|
|
5402
|
+
};
|
|
5403
|
+
output: {
|
|
5404
|
+
success: boolean;
|
|
5405
|
+
message: string;
|
|
5406
|
+
};
|
|
5407
|
+
meta: object;
|
|
5408
|
+
}>;
|
|
5409
|
+
createFromUploadedPdf: import("@trpc/server").TRPCMutationProcedure<{
|
|
5410
|
+
input: {
|
|
5411
|
+
[x: string]: unknown;
|
|
5412
|
+
classId: string;
|
|
5413
|
+
fileId: string;
|
|
5414
|
+
};
|
|
5415
|
+
output: {
|
|
5416
|
+
name: string;
|
|
5417
|
+
id: string;
|
|
5418
|
+
createdAt: Date;
|
|
5419
|
+
classId: string;
|
|
5420
|
+
updatedAt: Date;
|
|
5421
|
+
};
|
|
5422
|
+
meta: object;
|
|
5423
|
+
}>;
|
|
5348
5424
|
addQuestion: import("@trpc/server").TRPCMutationProcedure<{
|
|
5349
5425
|
input: {
|
|
5350
5426
|
type: "ESSAY" | "MULTIPLE_CHOICE" | "TRUE_FALSE" | "SHORT_ANSWER" | "LONG_ANSWER" | "MATH_EXPRESSION";
|
|
@@ -5584,6 +5660,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5584
5660
|
};
|
|
5585
5661
|
meta: object;
|
|
5586
5662
|
}>;
|
|
5663
|
+
updateUploadProgress: import("@trpc/server").TRPCMutationProcedure<{
|
|
5664
|
+
input: {
|
|
5665
|
+
fileId: string;
|
|
5666
|
+
progress: number;
|
|
5667
|
+
};
|
|
5668
|
+
output: {
|
|
5669
|
+
success: boolean;
|
|
5670
|
+
progress: number;
|
|
5671
|
+
};
|
|
5672
|
+
meta: object;
|
|
5673
|
+
}>;
|
|
5587
5674
|
}>>;
|
|
5588
5675
|
comment: import("@trpc/server").TRPCBuiltRouter<{
|
|
5589
5676
|
ctx: import("../trpc.js").Context;
|
|
@@ -5894,6 +5981,45 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5894
5981
|
meta: object;
|
|
5895
5982
|
}>;
|
|
5896
5983
|
}>>;
|
|
5984
|
+
search: import("@trpc/server").TRPCBuiltRouter<{
|
|
5985
|
+
ctx: import("../trpc.js").Context;
|
|
5986
|
+
meta: object;
|
|
5987
|
+
errorShape: {
|
|
5988
|
+
data: {
|
|
5989
|
+
zodError: import("zod").typeToFlattenedError<any, string> | null;
|
|
5990
|
+
prismaError: import("../utils/prismaErrorHandler.js").PrismaErrorInfo | null;
|
|
5991
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
|
|
5992
|
+
httpStatus: number;
|
|
5993
|
+
path?: string;
|
|
5994
|
+
stack?: string;
|
|
5995
|
+
};
|
|
5996
|
+
message: string;
|
|
5997
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
5998
|
+
};
|
|
5999
|
+
transformer: false;
|
|
6000
|
+
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
6001
|
+
global: import("@trpc/server").TRPCQueryProcedure<{
|
|
6002
|
+
input: {
|
|
6003
|
+
query?: string | undefined;
|
|
6004
|
+
limit?: number | undefined;
|
|
6005
|
+
};
|
|
6006
|
+
output: {
|
|
6007
|
+
query: string;
|
|
6008
|
+
results: {
|
|
6009
|
+
id: string;
|
|
6010
|
+
type: "file" | "class" | "section" | "syllabus" | "assignment" | "event" | "announcement" | "worksheet";
|
|
6011
|
+
title: string;
|
|
6012
|
+
subtitle: string;
|
|
6013
|
+
classId: string;
|
|
6014
|
+
className: string;
|
|
6015
|
+
href: string;
|
|
6016
|
+
matchedText?: string | null;
|
|
6017
|
+
date?: Date | null;
|
|
6018
|
+
}[];
|
|
6019
|
+
};
|
|
6020
|
+
meta: object;
|
|
6021
|
+
}>;
|
|
6022
|
+
}>>;
|
|
5897
6023
|
}>>;
|
|
5898
6024
|
export type AppRouter = typeof appRouter;
|
|
5899
6025
|
export type RouterInputs = inferRouterInputs<AppRouter>;
|
|
@@ -10413,6 +10539,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
10413
10539
|
conversationId: string;
|
|
10414
10540
|
role: import(".prisma/client").$Enums.ConversationRole;
|
|
10415
10541
|
joinedAt: Date;
|
|
10542
|
+
hiddenAt: Date | null;
|
|
10416
10543
|
lastViewedAt: Date | null;
|
|
10417
10544
|
lastViewedMentionAt: Date | null;
|
|
10418
10545
|
})[];
|
|
@@ -10460,6 +10587,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
10460
10587
|
conversationId: string;
|
|
10461
10588
|
role: import(".prisma/client").$Enums.ConversationRole;
|
|
10462
10589
|
joinedAt: Date;
|
|
10590
|
+
hiddenAt: Date | null;
|
|
10463
10591
|
lastViewedAt: Date | null;
|
|
10464
10592
|
lastViewedMentionAt: Date | null;
|
|
10465
10593
|
})[];
|
|
@@ -10493,6 +10621,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
10493
10621
|
conversationId: string;
|
|
10494
10622
|
role: import(".prisma/client").$Enums.ConversationRole;
|
|
10495
10623
|
joinedAt: Date;
|
|
10624
|
+
hiddenAt: Date | null;
|
|
10496
10625
|
lastViewedAt: Date | null;
|
|
10497
10626
|
lastViewedMentionAt: Date | null;
|
|
10498
10627
|
})[];
|
|
@@ -10506,6 +10635,15 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
10506
10635
|
};
|
|
10507
10636
|
meta: object;
|
|
10508
10637
|
}>;
|
|
10638
|
+
hide: import("@trpc/server").TRPCMutationProcedure<{
|
|
10639
|
+
input: {
|
|
10640
|
+
conversationId: string;
|
|
10641
|
+
};
|
|
10642
|
+
output: {
|
|
10643
|
+
success: boolean;
|
|
10644
|
+
};
|
|
10645
|
+
meta: object;
|
|
10646
|
+
}>;
|
|
10509
10647
|
addMember: import("@trpc/server").TRPCMutationProcedure<{
|
|
10510
10648
|
input: {
|
|
10511
10649
|
conversationId: string;
|
|
@@ -10527,6 +10665,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
10527
10665
|
conversationId: string;
|
|
10528
10666
|
role: import(".prisma/client").$Enums.ConversationRole;
|
|
10529
10667
|
joinedAt: Date;
|
|
10668
|
+
hiddenAt: Date | null;
|
|
10530
10669
|
lastViewedAt: Date | null;
|
|
10531
10670
|
lastViewedMentionAt: Date | null;
|
|
10532
10671
|
})[];
|
|
@@ -10561,6 +10700,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
10561
10700
|
conversationId: string;
|
|
10562
10701
|
role: import(".prisma/client").$Enums.ConversationRole;
|
|
10563
10702
|
joinedAt: Date;
|
|
10703
|
+
hiddenAt: Date | null;
|
|
10564
10704
|
lastViewedAt: Date | null;
|
|
10565
10705
|
lastViewedMentionAt: Date | null;
|
|
10566
10706
|
})[];
|
|
@@ -10809,6 +10949,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
10809
10949
|
conversationId: string;
|
|
10810
10950
|
role: import(".prisma/client").$Enums.ConversationRole;
|
|
10811
10951
|
joinedAt: Date;
|
|
10952
|
+
hiddenAt: Date | null;
|
|
10812
10953
|
lastViewedAt: Date | null;
|
|
10813
10954
|
lastViewedMentionAt: Date | null;
|
|
10814
10955
|
})[];
|
|
@@ -10867,6 +11008,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
10867
11008
|
conversationId: string;
|
|
10868
11009
|
role: import(".prisma/client").$Enums.ConversationRole;
|
|
10869
11010
|
joinedAt: Date;
|
|
11011
|
+
hiddenAt: Date | null;
|
|
10870
11012
|
lastViewedAt: Date | null;
|
|
10871
11013
|
lastViewedMentionAt: Date | null;
|
|
10872
11014
|
})[];
|
|
@@ -11244,6 +11386,66 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
11244
11386
|
};
|
|
11245
11387
|
meta: object;
|
|
11246
11388
|
}>;
|
|
11389
|
+
createFromPdf: import("@trpc/server").TRPCMutationProcedure<{
|
|
11390
|
+
input: {
|
|
11391
|
+
[x: string]: unknown;
|
|
11392
|
+
classId: string;
|
|
11393
|
+
url: string;
|
|
11394
|
+
};
|
|
11395
|
+
output: {
|
|
11396
|
+
name: string;
|
|
11397
|
+
id: string;
|
|
11398
|
+
createdAt: Date;
|
|
11399
|
+
classId: string;
|
|
11400
|
+
updatedAt: Date;
|
|
11401
|
+
};
|
|
11402
|
+
meta: object;
|
|
11403
|
+
}>;
|
|
11404
|
+
getWorksheetUploadUrls: import("@trpc/server").TRPCMutationProcedure<{
|
|
11405
|
+
input: {
|
|
11406
|
+
[x: string]: unknown;
|
|
11407
|
+
classId: string;
|
|
11408
|
+
files: {
|
|
11409
|
+
type: string;
|
|
11410
|
+
name: string;
|
|
11411
|
+
size: number;
|
|
11412
|
+
}[];
|
|
11413
|
+
};
|
|
11414
|
+
output: {
|
|
11415
|
+
success: boolean;
|
|
11416
|
+
uploadFiles: import("../lib/fileUpload.js").DirectUploadFile[];
|
|
11417
|
+
};
|
|
11418
|
+
meta: object;
|
|
11419
|
+
}>;
|
|
11420
|
+
confirmWorksheetUpload: import("@trpc/server").TRPCMutationProcedure<{
|
|
11421
|
+
input: {
|
|
11422
|
+
[x: string]: unknown;
|
|
11423
|
+
classId: string;
|
|
11424
|
+
fileId: string;
|
|
11425
|
+
uploadSuccess: boolean;
|
|
11426
|
+
errorMessage?: string | undefined;
|
|
11427
|
+
};
|
|
11428
|
+
output: {
|
|
11429
|
+
success: boolean;
|
|
11430
|
+
message: string;
|
|
11431
|
+
};
|
|
11432
|
+
meta: object;
|
|
11433
|
+
}>;
|
|
11434
|
+
createFromUploadedPdf: import("@trpc/server").TRPCMutationProcedure<{
|
|
11435
|
+
input: {
|
|
11436
|
+
[x: string]: unknown;
|
|
11437
|
+
classId: string;
|
|
11438
|
+
fileId: string;
|
|
11439
|
+
};
|
|
11440
|
+
output: {
|
|
11441
|
+
name: string;
|
|
11442
|
+
id: string;
|
|
11443
|
+
createdAt: Date;
|
|
11444
|
+
classId: string;
|
|
11445
|
+
updatedAt: Date;
|
|
11446
|
+
};
|
|
11447
|
+
meta: object;
|
|
11448
|
+
}>;
|
|
11247
11449
|
addQuestion: import("@trpc/server").TRPCMutationProcedure<{
|
|
11248
11450
|
input: {
|
|
11249
11451
|
type: "ESSAY" | "MULTIPLE_CHOICE" | "TRUE_FALSE" | "SHORT_ANSWER" | "LONG_ANSWER" | "MATH_EXPRESSION";
|
|
@@ -11483,6 +11685,17 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
11483
11685
|
};
|
|
11484
11686
|
meta: object;
|
|
11485
11687
|
}>;
|
|
11688
|
+
updateUploadProgress: import("@trpc/server").TRPCMutationProcedure<{
|
|
11689
|
+
input: {
|
|
11690
|
+
fileId: string;
|
|
11691
|
+
progress: number;
|
|
11692
|
+
};
|
|
11693
|
+
output: {
|
|
11694
|
+
success: boolean;
|
|
11695
|
+
progress: number;
|
|
11696
|
+
};
|
|
11697
|
+
meta: object;
|
|
11698
|
+
}>;
|
|
11486
11699
|
}>>;
|
|
11487
11700
|
comment: import("@trpc/server").TRPCBuiltRouter<{
|
|
11488
11701
|
ctx: import("../trpc.js").Context;
|
|
@@ -11793,5 +12006,44 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
11793
12006
|
meta: object;
|
|
11794
12007
|
}>;
|
|
11795
12008
|
}>>;
|
|
12009
|
+
search: import("@trpc/server").TRPCBuiltRouter<{
|
|
12010
|
+
ctx: import("../trpc.js").Context;
|
|
12011
|
+
meta: object;
|
|
12012
|
+
errorShape: {
|
|
12013
|
+
data: {
|
|
12014
|
+
zodError: import("zod").typeToFlattenedError<any, string> | null;
|
|
12015
|
+
prismaError: import("../utils/prismaErrorHandler.js").PrismaErrorInfo | null;
|
|
12016
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
|
|
12017
|
+
httpStatus: number;
|
|
12018
|
+
path?: string;
|
|
12019
|
+
stack?: string;
|
|
12020
|
+
};
|
|
12021
|
+
message: string;
|
|
12022
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
12023
|
+
};
|
|
12024
|
+
transformer: false;
|
|
12025
|
+
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
12026
|
+
global: import("@trpc/server").TRPCQueryProcedure<{
|
|
12027
|
+
input: {
|
|
12028
|
+
query?: string | undefined;
|
|
12029
|
+
limit?: number | undefined;
|
|
12030
|
+
};
|
|
12031
|
+
output: {
|
|
12032
|
+
query: string;
|
|
12033
|
+
results: {
|
|
12034
|
+
id: string;
|
|
12035
|
+
type: "file" | "class" | "section" | "syllabus" | "assignment" | "event" | "announcement" | "worksheet";
|
|
12036
|
+
title: string;
|
|
12037
|
+
subtitle: string;
|
|
12038
|
+
classId: string;
|
|
12039
|
+
className: string;
|
|
12040
|
+
href: string;
|
|
12041
|
+
matchedText?: string | null;
|
|
12042
|
+
date?: Date | null;
|
|
12043
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAiC,CAAC"}
|
package/dist/routers/_app.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="
|
|
2
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="b25bb46a-1bd7-5474-b89d-a96b7faa0f4b")}catch(e){}}();
|
|
3
3
|
import { createTRPCRouter } from "../trpc.js";
|
|
4
4
|
import { classRouter } from "./class.js";
|
|
5
5
|
import { announcementRouter } from "./announcement.js";
|
|
@@ -22,6 +22,7 @@ import { marketingRouter } from "./marketing.js";
|
|
|
22
22
|
import { worksheetRouter } from "./worksheet.js";
|
|
23
23
|
import { commentRouter } from "./comment.js";
|
|
24
24
|
import { studentProgressRouter } from "./studentProgress.js";
|
|
25
|
+
import { searchRouter } from "./search.js";
|
|
25
26
|
export const appRouter = createTRPCRouter({
|
|
26
27
|
class: classRouter,
|
|
27
28
|
announcement: announcementRouter,
|
|
@@ -43,8 +44,9 @@ export const appRouter = createTRPCRouter({
|
|
|
43
44
|
worksheet: worksheetRouter,
|
|
44
45
|
comment: commentRouter,
|
|
45
46
|
studentProgress: studentProgressRouter,
|
|
47
|
+
search: searchRouter,
|
|
46
48
|
});
|
|
47
49
|
// Export caller
|
|
48
50
|
export const createCaller = createCallerFactory(appRouter);
|
|
49
51
|
//# sourceMappingURL=_app.js.map
|
|
50
|
-
//# debugId=
|
|
52
|
+
//# debugId=b25bb46a-1bd7-5474-b89d-a96b7faa0f4b
|
package/dist/routers/_app.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_app.js","sources":["routers/_app.ts"],"sourceRoot":"/","sourcesContent":["import { createTRPCRouter } from \"../trpc.js\";\nimport { classRouter } from \"./class.js\";\nimport { announcementRouter } from \"./announcement.js\";\nimport { assignmentRouter } from \"./assignment.js\";\nimport { userRouter } from \"./user.js\";\nimport { createCallerFactory } from \"../trpc.js\";\nimport type { inferRouterInputs, inferRouterOutputs } from \"@trpc/server\";\nimport { sectionRouter } from \"./section.js\";\nimport { attendanceRouter } from \"./attendance.js\";\nimport { eventRouter } from \"./event.js\";\nimport { authRouter } from \"./auth.js\";\nimport { agendaRouter } from \"./agenda.js\";\nimport { fileRouter } from \"./file.js\";\nimport { folderRouter } from \"./folder.js\";\nimport { notificationRouter } from \"./notifications.js\";\nimport { conversationRouter } from \"./conversation.js\";\nimport { messageRouter } from \"./message.js\";\nimport { labChatRouter } from \"./labChat.js\";\nimport { newtonChatRouter } from \"./newtonChat.js\";\nimport { marketingRouter } from \"./marketing.js\";\nimport { worksheetRouter } from \"./worksheet.js\";\nimport { commentRouter } from \"./comment.js\";\nimport { studentProgressRouter } from \"./studentProgress.js\";\n\nexport const appRouter = createTRPCRouter({\n class: classRouter,\n announcement: announcementRouter,\n assignment: assignmentRouter,\n user: userRouter,\n section: sectionRouter,\n attendance: attendanceRouter,\n event: eventRouter,\n auth: authRouter,\n agenda: agendaRouter,\n file: fileRouter,\n folder: folderRouter,\n notification: notificationRouter,\n conversation: conversationRouter,\n message: messageRouter,\n labChat: labChatRouter,\n newtonChat: newtonChatRouter,\n marketing: marketingRouter,\n worksheet: worksheetRouter,\n comment: commentRouter,\n studentProgress: studentProgressRouter,\n});\n\n// Export type router type definition\nexport type AppRouter = typeof appRouter;\nexport type RouterInputs = inferRouterInputs<AppRouter>;\nexport type RouterOutputs = inferRouterOutputs<AppRouter>;\n\n// Export caller\nexport const createCaller = createCallerFactory(appRouter);\n"],"names":[],"mappings":";;AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AACzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AACvC,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEjD,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"_app.js","sources":["routers/_app.ts"],"sourceRoot":"/","sourcesContent":["import { createTRPCRouter } from \"../trpc.js\";\nimport { classRouter } from \"./class.js\";\nimport { announcementRouter } from \"./announcement.js\";\nimport { assignmentRouter } from \"./assignment.js\";\nimport { userRouter } from \"./user.js\";\nimport { createCallerFactory } from \"../trpc.js\";\nimport type { inferRouterInputs, inferRouterOutputs } from \"@trpc/server\";\nimport { sectionRouter } from \"./section.js\";\nimport { attendanceRouter } from \"./attendance.js\";\nimport { eventRouter } from \"./event.js\";\nimport { authRouter } from \"./auth.js\";\nimport { agendaRouter } from \"./agenda.js\";\nimport { fileRouter } from \"./file.js\";\nimport { folderRouter } from \"./folder.js\";\nimport { notificationRouter } from \"./notifications.js\";\nimport { conversationRouter } from \"./conversation.js\";\nimport { messageRouter } from \"./message.js\";\nimport { labChatRouter } from \"./labChat.js\";\nimport { newtonChatRouter } from \"./newtonChat.js\";\nimport { marketingRouter } from \"./marketing.js\";\nimport { worksheetRouter } from \"./worksheet.js\";\nimport { commentRouter } from \"./comment.js\";\nimport { studentProgressRouter } from \"./studentProgress.js\";\nimport { searchRouter } from \"./search.js\";\n\nexport const appRouter = createTRPCRouter({\n class: classRouter,\n announcement: announcementRouter,\n assignment: assignmentRouter,\n user: userRouter,\n section: sectionRouter,\n attendance: attendanceRouter,\n event: eventRouter,\n auth: authRouter,\n agenda: agendaRouter,\n file: fileRouter,\n folder: folderRouter,\n notification: notificationRouter,\n conversation: conversationRouter,\n message: messageRouter,\n labChat: labChatRouter,\n newtonChat: newtonChatRouter,\n marketing: marketingRouter,\n worksheet: worksheetRouter,\n comment: commentRouter,\n studentProgress: studentProgressRouter,\n search: searchRouter,\n});\n\n// Export type router type definition\nexport type AppRouter = typeof appRouter;\nexport type RouterInputs = inferRouterInputs<AppRouter>;\nexport type RouterOutputs = inferRouterOutputs<AppRouter>;\n\n// Export caller\nexport const createCaller = createCallerFactory(appRouter);\n"],"names":[],"mappings":";;AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AACzC,OAAO,EAAE,kBAAkB,EAAE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B;IAC5B,KAAK,EAAE,WAAW;IAClB,IAAI,EAAE,UAAU;IAChB,MAAM,EAAE,YAAY;IACpB,IAAI,EAAE,UAAU;IAChB,MAAM,EAAE,YAAY;IACpB,YAAY,EAAE,kBAAkB;IAChC,YAAY,EAAE,kBAAkB;IAChC,OAAO,EAAE,aAAa;IACtB,OAAO,EAAE,aAAa;IACtB,UAAU,EAAE,gBAAgB;IAC5B,SAAS,EAAE,eAAe;IAC1B,SAAS,EAAE,eAAe;IAC1B,OAAO,EAAE,aAAa;IACtB,eAAe,EAAE,qBAAqB;IACtC,MAAM,EAAE,YAAY;CACrB,CAAC,CAAC;AAOH,gBAAgB;AAChB,MAAM,CAAC,MAAM,YAAY,GAAG,mBAAmB,CAAC,SAAS,CAAC,CAAC","debug_id":"b25bb46a-1bd7-5474-b89d-a96b7faa0f4b"}
|
|
@@ -43,6 +43,7 @@ export declare const conversationRouter: import("@trpc/server").TRPCBuiltRouter<
|
|
|
43
43
|
conversationId: string;
|
|
44
44
|
role: import(".prisma/client").$Enums.ConversationRole;
|
|
45
45
|
joinedAt: Date;
|
|
46
|
+
hiddenAt: Date | null;
|
|
46
47
|
lastViewedAt: Date | null;
|
|
47
48
|
lastViewedMentionAt: Date | null;
|
|
48
49
|
})[];
|
|
@@ -90,6 +91,7 @@ export declare const conversationRouter: import("@trpc/server").TRPCBuiltRouter<
|
|
|
90
91
|
conversationId: string;
|
|
91
92
|
role: import(".prisma/client").$Enums.ConversationRole;
|
|
92
93
|
joinedAt: Date;
|
|
94
|
+
hiddenAt: Date | null;
|
|
93
95
|
lastViewedAt: Date | null;
|
|
94
96
|
lastViewedMentionAt: Date | null;
|
|
95
97
|
})[];
|
|
@@ -123,6 +125,7 @@ export declare const conversationRouter: import("@trpc/server").TRPCBuiltRouter<
|
|
|
123
125
|
conversationId: string;
|
|
124
126
|
role: import(".prisma/client").$Enums.ConversationRole;
|
|
125
127
|
joinedAt: Date;
|
|
128
|
+
hiddenAt: Date | null;
|
|
126
129
|
lastViewedAt: Date | null;
|
|
127
130
|
lastViewedMentionAt: Date | null;
|
|
128
131
|
})[];
|
|
@@ -136,6 +139,15 @@ export declare const conversationRouter: import("@trpc/server").TRPCBuiltRouter<
|
|
|
136
139
|
};
|
|
137
140
|
meta: object;
|
|
138
141
|
}>;
|
|
142
|
+
hide: import("@trpc/server").TRPCMutationProcedure<{
|
|
143
|
+
input: {
|
|
144
|
+
conversationId: string;
|
|
145
|
+
};
|
|
146
|
+
output: {
|
|
147
|
+
success: boolean;
|
|
148
|
+
};
|
|
149
|
+
meta: object;
|
|
150
|
+
}>;
|
|
139
151
|
addMember: import("@trpc/server").TRPCMutationProcedure<{
|
|
140
152
|
input: {
|
|
141
153
|
conversationId: string;
|
|
@@ -157,6 +169,7 @@ export declare const conversationRouter: import("@trpc/server").TRPCBuiltRouter<
|
|
|
157
169
|
conversationId: string;
|
|
158
170
|
role: import(".prisma/client").$Enums.ConversationRole;
|
|
159
171
|
joinedAt: Date;
|
|
172
|
+
hiddenAt: Date | null;
|
|
160
173
|
lastViewedAt: Date | null;
|
|
161
174
|
lastViewedMentionAt: Date | null;
|
|
162
175
|
})[];
|
|
@@ -191,6 +204,7 @@ export declare const conversationRouter: import("@trpc/server").TRPCBuiltRouter<
|
|
|
191
204
|
conversationId: string;
|
|
192
205
|
role: import(".prisma/client").$Enums.ConversationRole;
|
|
193
206
|
joinedAt: Date;
|
|
207
|
+
hiddenAt: Date | null;
|
|
194
208
|
lastViewedAt: Date | null;
|
|
195
209
|
lastViewedMentionAt: Date | null;
|
|
196
210
|
})[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conversation.d.ts","sourceRoot":"/","sources":["routers/conversation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"conversation.d.ts","sourceRoot":"/","sources":["routers/conversation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAWxB,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+D7B,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="
|
|
2
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="e1eb47f5-6d6c-50cc-b1ba-5b3a3d7d5413")}catch(e){}}();
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import { createTRPCRouter, protectedProcedure } from "../trpc.js";
|
|
5
|
-
import { listConversations, createConversationRecord, getConversation, addMemberToConversation, removeMemberFromConversation, } from "../services/conversation.js";
|
|
5
|
+
import { listConversations, createConversationRecord, getConversation, addMemberToConversation, hideConversation, removeMemberFromConversation, } from "../services/conversation.js";
|
|
6
6
|
export const conversationRouter = createTRPCRouter({
|
|
7
7
|
list: protectedProcedure.query(({ ctx }) => listConversations(ctx.user.id)),
|
|
8
8
|
create: protectedProcedure
|
|
@@ -15,6 +15,9 @@ export const conversationRouter = createTRPCRouter({
|
|
|
15
15
|
get: protectedProcedure
|
|
16
16
|
.input(z.object({ conversationId: z.string() }))
|
|
17
17
|
.query(({ ctx, input }) => getConversation(ctx.user.id, input.conversationId)),
|
|
18
|
+
hide: protectedProcedure
|
|
19
|
+
.input(z.object({ conversationId: z.string() }))
|
|
20
|
+
.mutation(({ ctx, input }) => hideConversation(ctx.user.id, input.conversationId)),
|
|
18
21
|
addMember: protectedProcedure
|
|
19
22
|
.input(z.object({
|
|
20
23
|
conversationId: z.string(),
|
|
@@ -29,4 +32,4 @@ export const conversationRouter = createTRPCRouter({
|
|
|
29
32
|
.mutation(({ ctx, input }) => removeMemberFromConversation(ctx.user.id, input.conversationId, input.memberId)),
|
|
30
33
|
});
|
|
31
34
|
//# sourceMappingURL=conversation.js.map
|
|
32
|
-
//# debugId=
|
|
35
|
+
//# debugId=e1eb47f5-6d6c-50cc-b1ba-5b3a3d7d5413
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conversation.js","sources":["routers/conversation.ts"],"sourceRoot":"/","sourcesContent":["import { z } from \"zod\";\nimport { createTRPCRouter, protectedProcedure } from \"../trpc.js\";\nimport {\n listConversations,\n createConversationRecord,\n getConversation,\n addMemberToConversation,\n removeMemberFromConversation,\n} from \"../services/conversation.js\";\n\nexport const conversationRouter = createTRPCRouter({\n list: protectedProcedure.query(({ ctx }) =>\n listConversations(ctx.user!.id)\n ),\n\n create: protectedProcedure\n .input(\n z.object({\n type: z.enum([\"DM\", \"GROUP\"]),\n name: z.string().optional(),\n memberIds: z.array(z.string()),\n })\n )\n .mutation(({ ctx, input }) =>\n createConversationRecord(\n ctx.user!.id,\n input.type,\n input.name,\n input.memberIds\n )\n ),\n\n get: protectedProcedure\n .input(z.object({ conversationId: z.string() }))\n .query(({ ctx, input }) =>\n getConversation(ctx.user!.id, input.conversationId)\n ),\n\n addMember: protectedProcedure\n .input(\n z.object({\n conversationId: z.string(),\n memberUsername: z.string(),\n })\n )\n .mutation(({ ctx, input }) =>\n addMemberToConversation(\n ctx.user!.id,\n input.conversationId,\n input.memberUsername\n )\n ),\n\n removeMember: protectedProcedure\n .input(\n z.object({\n conversationId: z.string(),\n memberId: z.string(),\n })\n )\n .mutation(({ ctx, input }) =>\n removeMemberFromConversation(\n ctx.user!.id,\n input.conversationId,\n input.memberId\n )\n ),\n});\n"],"names":[],"mappings":";;AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAClE,OAAO,EACL,iBAAiB,EACjB,wBAAwB,EACxB,eAAe,EACf,uBAAuB,EACvB,4BAA4B,GAC7B,MAAM,6BAA6B,CAAC;AAErC,MAAM,CAAC,MAAM,kBAAkB,GAAG,gBAAgB,CAAC;IACjD,IAAI,EAAE,kBAAkB,CAAC,KAAK,CAAC,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE,CACzC,iBAAiB,CAAC,GAAG,CAAC,IAAK,CAAC,EAAE,CAAC,CAChC;IAED,MAAM,EAAE,kBAAkB;SACvB,KAAK,CACJ,CAAC,CAAC,MAAM,CAAC;QACP,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;QAC7B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC3B,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;KAC/B,CAAC,CACH;SACA,QAAQ,CAAC,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,EAAE,EAAE,CAC3B,wBAAwB,CACtB,GAAG,CAAC,IAAK,CAAC,EAAE,EACZ,KAAK,CAAC,IAAI,EACV,KAAK,CAAC,IAAI,EACV,KAAK,CAAC,SAAS,CAChB,CACF;IAEH,GAAG,EAAE,kBAAkB;SACpB,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;SAC/C,KAAK,CAAC,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,EAAE,EAAE,CACxB,eAAe,CAAC,GAAG,CAAC,IAAK,CAAC,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,CACpD;IAEH,SAAS,EAAE,kBAAkB;SAC1B,KAAK,CACJ,CAAC,CAAC,MAAM,CAAC;QACP,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;QAC1B,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;KAC3B,CAAC,CACH;SACA,QAAQ,CAAC,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,EAAE,EAAE,CAC3B,uBAAuB,CACrB,GAAG,CAAC,IAAK,CAAC,EAAE,EACZ,KAAK,CAAC,cAAc,EACpB,KAAK,CAAC,cAAc,CACrB,CACF;IAEH,YAAY,EAAE,kBAAkB;SAC7B,KAAK,CACJ,CAAC,CAAC,MAAM,CAAC;QACP,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;QAC1B,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;KACrB,CAAC,CACH;SACA,QAAQ,CAAC,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,EAAE,EAAE,CAC3B,4BAA4B,CAC1B,GAAG,CAAC,IAAK,CAAC,EAAE,EACZ,KAAK,CAAC,cAAc,EACpB,KAAK,CAAC,QAAQ,CACf,CACF;CACJ,CAAC,CAAC","debug_id":"
|
|
1
|
+
{"version":3,"file":"conversation.js","sources":["routers/conversation.ts"],"sourceRoot":"/","sourcesContent":["import { z } from \"zod\";\nimport { createTRPCRouter, protectedProcedure } from \"../trpc.js\";\nimport {\n listConversations,\n createConversationRecord,\n getConversation,\n addMemberToConversation,\n hideConversation,\n removeMemberFromConversation,\n} from \"../services/conversation.js\";\n\nexport const conversationRouter = createTRPCRouter({\n list: protectedProcedure.query(({ ctx }) =>\n listConversations(ctx.user!.id)\n ),\n\n create: protectedProcedure\n .input(\n z.object({\n type: z.enum([\"DM\", \"GROUP\"]),\n name: z.string().optional(),\n memberIds: z.array(z.string()),\n })\n )\n .mutation(({ ctx, input }) =>\n createConversationRecord(\n ctx.user!.id,\n input.type,\n input.name,\n input.memberIds\n )\n ),\n\n get: protectedProcedure\n .input(z.object({ conversationId: z.string() }))\n .query(({ ctx, input }) =>\n getConversation(ctx.user!.id, input.conversationId)\n ),\n\n hide: protectedProcedure\n .input(z.object({ conversationId: z.string() }))\n .mutation(({ ctx, input }) =>\n hideConversation(ctx.user!.id, input.conversationId)\n ),\n\n addMember: protectedProcedure\n .input(\n z.object({\n conversationId: z.string(),\n memberUsername: z.string(),\n })\n )\n .mutation(({ ctx, input }) =>\n addMemberToConversation(\n ctx.user!.id,\n input.conversationId,\n input.memberUsername\n )\n ),\n\n removeMember: protectedProcedure\n .input(\n z.object({\n conversationId: z.string(),\n memberId: z.string(),\n })\n )\n .mutation(({ ctx, input }) =>\n removeMemberFromConversation(\n ctx.user!.id,\n input.conversationId,\n input.memberId\n )\n ),\n});\n"],"names":[],"mappings":";;AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAClE,OAAO,EACL,iBAAiB,EACjB,wBAAwB,EACxB,eAAe,EACf,uBAAuB,EACvB,gBAAgB,EAChB,4BAA4B,GAC7B,MAAM,6BAA6B,CAAC;AAErC,MAAM,CAAC,MAAM,kBAAkB,GAAG,gBAAgB,CAAC;IACjD,IAAI,EAAE,kBAAkB,CAAC,KAAK,CAAC,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE,CACzC,iBAAiB,CAAC,GAAG,CAAC,IAAK,CAAC,EAAE,CAAC,CAChC;IAED,MAAM,EAAE,kBAAkB;SACvB,KAAK,CACJ,CAAC,CAAC,MAAM,CAAC;QACP,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;QAC7B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC3B,SAAS,EAAE,CAAC,CAAC,KAAK,C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AC;QACP,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;QAC1B,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;KACrB,CAAC,CACH;SACA,QAAQ,CAAC,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,EAAE,EAAE,CAC3B,4BAA4B,CAC1B,GAAG,CAAC,IAAK,CAAC,EAAE,EACZ,KAAK,CAAC,cAAc,EACpB,KAAK,CAAC,QAAQ,CACf,CACF;CACJ,CAAC,CAAC","debug_id":"e1eb47f5-6d6c-50cc-b1ba-5b3a3d7d5413"}
|
|
@@ -45,6 +45,7 @@ export declare const labChatRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
45
45
|
conversationId: string;
|
|
46
46
|
role: import(".prisma/client").$Enums.ConversationRole;
|
|
47
47
|
joinedAt: Date;
|
|
48
|
+
hiddenAt: Date | null;
|
|
48
49
|
lastViewedAt: Date | null;
|
|
49
50
|
lastViewedMentionAt: Date | null;
|
|
50
51
|
})[];
|
|
@@ -103,6 +104,7 @@ export declare const labChatRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
103
104
|
conversationId: string;
|
|
104
105
|
role: import(".prisma/client").$Enums.ConversationRole;
|
|
105
106
|
joinedAt: Date;
|
|
107
|
+
hiddenAt: Date | null;
|
|
106
108
|
lastViewedAt: Date | null;
|
|
107
109
|
lastViewedMentionAt: Date | null;
|
|
108
110
|
})[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"labChat.d.ts","sourceRoot":"/","sources":["routers/labChat.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAWxB,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"labChat.d.ts","sourceRoot":"/","sources":["routers/labChat.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAWxB,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDxB,CAAC"}
|