@studious-lms/server 1.0.2 → 1.0.4
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/routers/_app.d.ts +216 -88
- package/dist/routers/_app.d.ts.map +1 -1
- package/dist/routers/agenda.d.ts +5 -4
- package/dist/routers/agenda.d.ts.map +1 -1
- package/dist/routers/announcement.d.ts +8 -4
- package/dist/routers/announcement.d.ts.map +1 -1
- package/dist/routers/assignment.d.ts +20 -4
- package/dist/routers/assignment.d.ts.map +1 -1
- package/dist/routers/attendance.d.ts +6 -4
- package/dist/routers/attendance.d.ts.map +1 -1
- package/dist/routers/auth.d.ts +10 -4
- package/dist/routers/auth.d.ts.map +1 -1
- package/dist/routers/class.d.ts +26 -4
- package/dist/routers/class.d.ts.map +1 -1
- package/dist/routers/event.d.ts +11 -4
- package/dist/routers/event.d.ts.map +1 -1
- package/dist/routers/file.d.ts +5 -4
- package/dist/routers/file.d.ts.map +1 -1
- package/dist/routers/section.d.ts +7 -4
- package/dist/routers/section.d.ts.map +1 -1
- package/dist/routers/user.d.ts +6 -4
- package/dist/routers/user.d.ts.map +1 -1
- package/dist/trpc.d.ts +43 -90
- package/dist/trpc.d.ts.map +1 -1
- package/package.json +2 -7
- package/prisma/schema.prisma +228 -0
- package/src/exportType.ts +9 -0
- package/src/index.ts +94 -0
- package/src/lib/fileUpload.ts +163 -0
- package/src/lib/googleCloudStorage.ts +94 -0
- package/src/lib/prisma.ts +16 -0
- package/src/lib/thumbnailGenerator.ts +185 -0
- package/src/logger.ts +163 -0
- package/src/middleware/auth.ts +191 -0
- package/src/middleware/logging.ts +54 -0
- package/src/routers/_app.ts +34 -0
- package/src/routers/agenda.ts +79 -0
- package/src/routers/announcement.ts +134 -0
- package/src/routers/assignment.ts +1614 -0
- package/src/routers/attendance.ts +284 -0
- package/src/routers/auth.ts +286 -0
- package/src/routers/class.ts +753 -0
- package/src/routers/event.ts +509 -0
- package/src/routers/file.ts +96 -0
- package/src/routers/section.ts +138 -0
- package/src/routers/user.ts +82 -0
- package/src/socket/handlers.ts +143 -0
- package/src/trpc.ts +90 -0
- package/src/types/trpc.ts +15 -0
- package/src/utils/email.ts +11 -0
- package/src/utils/generateInviteCode.ts +8 -0
- package/src/utils/logger.ts +156 -0
- package/tsconfig.json +17 -0
- package/generated/prisma/client.d.ts +0 -1
- package/generated/prisma/client.js +0 -4
- package/generated/prisma/default.d.ts +0 -1
- package/generated/prisma/default.js +0 -4
- package/generated/prisma/edge.d.ts +0 -1
- package/generated/prisma/edge.js +0 -389
- package/generated/prisma/index-browser.js +0 -375
- package/generated/prisma/index.d.ts +0 -34865
- package/generated/prisma/index.js +0 -410
- package/generated/prisma/libquery_engine-darwin-arm64.dylib.node +0 -0
- package/generated/prisma/package.json +0 -140
- package/generated/prisma/runtime/edge-esm.js +0 -34
- package/generated/prisma/runtime/edge.js +0 -34
- package/generated/prisma/runtime/index-browser.d.ts +0 -370
- package/generated/prisma/runtime/index-browser.js +0 -16
- package/generated/prisma/runtime/library.d.ts +0 -3647
- package/generated/prisma/runtime/library.js +0 -146
- package/generated/prisma/runtime/react-native.js +0 -83
- package/generated/prisma/runtime/wasm.js +0 -35
- package/generated/prisma/schema.prisma +0 -304
- package/generated/prisma/wasm.d.ts +0 -1
- package/generated/prisma/wasm.js +0 -375
|
@@ -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;AAQ1E,eAAO,MAAM,SAAS
|
|
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;AAQ1E,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAiC,CAAC"}
|
package/dist/routers/agenda.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const agendaRouter: import("@trpc/server
|
|
2
|
+
export declare const agendaRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
3
3
|
ctx: import("../trpc").Context;
|
|
4
4
|
meta: object;
|
|
5
5
|
errorShape: {
|
|
6
6
|
data: {
|
|
7
7
|
zodError: z.typeToFlattenedError<any, string> | null;
|
|
8
|
-
code: import("@trpc/server
|
|
8
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
|
|
9
9
|
httpStatus: number;
|
|
10
10
|
path?: string;
|
|
11
11
|
stack?: string;
|
|
12
12
|
};
|
|
13
13
|
message: string;
|
|
14
|
-
code: import("@trpc/server
|
|
14
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
15
15
|
};
|
|
16
16
|
transformer: false;
|
|
17
|
-
}, import("@trpc/server
|
|
17
|
+
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
18
18
|
get: import("@trpc/server").TRPCQueryProcedure<{
|
|
19
19
|
input: {
|
|
20
20
|
weekStart: string;
|
|
@@ -61,6 +61,7 @@ export declare const agendaRouter: import("@trpc/server/dist/unstable-core-do-no
|
|
|
61
61
|
})[];
|
|
62
62
|
};
|
|
63
63
|
};
|
|
64
|
+
meta: object;
|
|
64
65
|
}>;
|
|
65
66
|
}>>;
|
|
66
67
|
//# sourceMappingURL=agenda.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agenda.d.ts","sourceRoot":"","sources":["../../src/routers/agenda.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"agenda.d.ts","sourceRoot":"","sources":["../../src/routers/agenda.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwEvB,CAAC"}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const announcementRouter: import("@trpc/server
|
|
2
|
+
export declare const announcementRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
3
3
|
ctx: import("../trpc").Context;
|
|
4
4
|
meta: object;
|
|
5
5
|
errorShape: {
|
|
6
6
|
data: {
|
|
7
7
|
zodError: z.typeToFlattenedError<any, string> | null;
|
|
8
|
-
code: import("@trpc/server
|
|
8
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
|
|
9
9
|
httpStatus: number;
|
|
10
10
|
path?: string;
|
|
11
11
|
stack?: string;
|
|
12
12
|
};
|
|
13
13
|
message: string;
|
|
14
|
-
code: import("@trpc/server
|
|
14
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
15
15
|
};
|
|
16
16
|
transformer: false;
|
|
17
|
-
}, import("@trpc/server
|
|
17
|
+
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
18
18
|
getAll: import("@trpc/server").TRPCQueryProcedure<{
|
|
19
19
|
input: {
|
|
20
20
|
[x: string]: unknown;
|
|
@@ -31,6 +31,7 @@ export declare const announcementRouter: import("@trpc/server/dist/unstable-core
|
|
|
31
31
|
remarks: string;
|
|
32
32
|
}[];
|
|
33
33
|
};
|
|
34
|
+
meta: object;
|
|
34
35
|
}>;
|
|
35
36
|
create: import("@trpc/server").TRPCMutationProcedure<{
|
|
36
37
|
input: {
|
|
@@ -49,6 +50,7 @@ export declare const announcementRouter: import("@trpc/server/dist/unstable-core
|
|
|
49
50
|
remarks: string;
|
|
50
51
|
};
|
|
51
52
|
};
|
|
53
|
+
meta: object;
|
|
52
54
|
}>;
|
|
53
55
|
update: import("@trpc/server").TRPCMutationProcedure<{
|
|
54
56
|
input: {
|
|
@@ -66,6 +68,7 @@ export declare const announcementRouter: import("@trpc/server/dist/unstable-core
|
|
|
66
68
|
remarks: string;
|
|
67
69
|
};
|
|
68
70
|
};
|
|
71
|
+
meta: object;
|
|
69
72
|
}>;
|
|
70
73
|
delete: import("@trpc/server").TRPCMutationProcedure<{
|
|
71
74
|
input: {
|
|
@@ -74,6 +77,7 @@ export declare const announcementRouter: import("@trpc/server/dist/unstable-core
|
|
|
74
77
|
output: {
|
|
75
78
|
success: boolean;
|
|
76
79
|
};
|
|
80
|
+
meta: object;
|
|
77
81
|
}>;
|
|
78
82
|
}>>;
|
|
79
83
|
//# sourceMappingURL=announcement.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"announcement.d.ts","sourceRoot":"","sources":["../../src/routers/announcement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAiBxB,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"announcement.d.ts","sourceRoot":"","sources":["../../src/routers/announcement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAiBxB,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoH7B,CAAC"}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const assignmentRouter: import("@trpc/server
|
|
2
|
+
export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
3
3
|
ctx: import("../trpc").Context;
|
|
4
4
|
meta: object;
|
|
5
5
|
errorShape: {
|
|
6
6
|
data: {
|
|
7
7
|
zodError: z.typeToFlattenedError<any, string> | null;
|
|
8
|
-
code: import("@trpc/server
|
|
8
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
|
|
9
9
|
httpStatus: number;
|
|
10
10
|
path?: string;
|
|
11
11
|
stack?: string;
|
|
12
12
|
};
|
|
13
13
|
message: string;
|
|
14
|
-
code: import("@trpc/server
|
|
14
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
15
15
|
};
|
|
16
16
|
transformer: false;
|
|
17
|
-
}, import("@trpc/server
|
|
17
|
+
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
18
18
|
create: import("@trpc/server").TRPCMutationProcedure<{
|
|
19
19
|
input: {
|
|
20
20
|
classId: string;
|
|
@@ -62,6 +62,7 @@ export declare const assignmentRouter: import("@trpc/server/dist/unstable-core-d
|
|
|
62
62
|
name: string;
|
|
63
63
|
}[];
|
|
64
64
|
};
|
|
65
|
+
meta: object;
|
|
65
66
|
}>;
|
|
66
67
|
update: import("@trpc/server").TRPCMutationProcedure<{
|
|
67
68
|
input: {
|
|
@@ -138,6 +139,7 @@ export declare const assignmentRouter: import("@trpc/server/dist/unstable-core-d
|
|
|
138
139
|
} | null;
|
|
139
140
|
}[];
|
|
140
141
|
};
|
|
142
|
+
meta: object;
|
|
141
143
|
}>;
|
|
142
144
|
delete: import("@trpc/server").TRPCMutationProcedure<{
|
|
143
145
|
input: {
|
|
@@ -147,6 +149,7 @@ export declare const assignmentRouter: import("@trpc/server/dist/unstable-core-d
|
|
|
147
149
|
output: {
|
|
148
150
|
id: string;
|
|
149
151
|
};
|
|
152
|
+
meta: object;
|
|
150
153
|
}>;
|
|
151
154
|
get: import("@trpc/server").TRPCQueryProcedure<{
|
|
152
155
|
input: {
|
|
@@ -217,6 +220,7 @@ export declare const assignmentRouter: import("@trpc/server/dist/unstable-core-d
|
|
|
217
220
|
weight: number;
|
|
218
221
|
eventId: string | null;
|
|
219
222
|
};
|
|
223
|
+
meta: object;
|
|
220
224
|
}>;
|
|
221
225
|
getSubmission: import("@trpc/server").TRPCQueryProcedure<{
|
|
222
226
|
input: {
|
|
@@ -377,6 +381,7 @@ export declare const assignmentRouter: import("@trpc/server/dist/unstable-core-d
|
|
|
377
381
|
submitted: boolean | null;
|
|
378
382
|
returned: boolean | null;
|
|
379
383
|
};
|
|
384
|
+
meta: object;
|
|
380
385
|
}>;
|
|
381
386
|
getSubmissionById: import("@trpc/server").TRPCQueryProcedure<{
|
|
382
387
|
input: {
|
|
@@ -461,6 +466,7 @@ export declare const assignmentRouter: import("@trpc/server/dist/unstable-core-d
|
|
|
461
466
|
submitted: boolean | null;
|
|
462
467
|
returned: boolean | null;
|
|
463
468
|
};
|
|
469
|
+
meta: object;
|
|
464
470
|
}>;
|
|
465
471
|
updateSubmission: import("@trpc/server").TRPCMutationProcedure<{
|
|
466
472
|
input: {
|
|
@@ -541,6 +547,7 @@ export declare const assignmentRouter: import("@trpc/server/dist/unstable-core-d
|
|
|
541
547
|
submitted: boolean | null;
|
|
542
548
|
returned: boolean | null;
|
|
543
549
|
};
|
|
550
|
+
meta: object;
|
|
544
551
|
}>;
|
|
545
552
|
getSubmissions: import("@trpc/server").TRPCQueryProcedure<{
|
|
546
553
|
input: {
|
|
@@ -626,6 +633,7 @@ export declare const assignmentRouter: import("@trpc/server/dist/unstable-core-d
|
|
|
626
633
|
submitted: boolean | null;
|
|
627
634
|
returned: boolean | null;
|
|
628
635
|
}[];
|
|
636
|
+
meta: object;
|
|
629
637
|
}>;
|
|
630
638
|
updateSubmissionAsTeacher: import("@trpc/server").TRPCMutationProcedure<{
|
|
631
639
|
input: {
|
|
@@ -713,6 +721,7 @@ export declare const assignmentRouter: import("@trpc/server/dist/unstable-core-d
|
|
|
713
721
|
submitted: boolean | null;
|
|
714
722
|
returned: boolean | null;
|
|
715
723
|
};
|
|
724
|
+
meta: object;
|
|
716
725
|
}>;
|
|
717
726
|
attachToEvent: import("@trpc/server").TRPCMutationProcedure<{
|
|
718
727
|
input: {
|
|
@@ -761,6 +770,7 @@ export declare const assignmentRouter: import("@trpc/server/dist/unstable-core-d
|
|
|
761
770
|
eventId: string | null;
|
|
762
771
|
};
|
|
763
772
|
};
|
|
773
|
+
meta: object;
|
|
764
774
|
}>;
|
|
765
775
|
detachEvent: import("@trpc/server").TRPCMutationProcedure<{
|
|
766
776
|
input: {
|
|
@@ -808,6 +818,7 @@ export declare const assignmentRouter: import("@trpc/server/dist/unstable-core-d
|
|
|
808
818
|
eventId: string | null;
|
|
809
819
|
};
|
|
810
820
|
};
|
|
821
|
+
meta: object;
|
|
811
822
|
}>;
|
|
812
823
|
getAvailableEvents: import("@trpc/server").TRPCQueryProcedure<{
|
|
813
824
|
input: {
|
|
@@ -825,6 +836,7 @@ export declare const assignmentRouter: import("@trpc/server/dist/unstable-core-d
|
|
|
825
836
|
location: string | null;
|
|
826
837
|
}[];
|
|
827
838
|
};
|
|
839
|
+
meta: object;
|
|
828
840
|
}>;
|
|
829
841
|
dueToday: import("@trpc/server").TRPCQueryProcedure<{
|
|
830
842
|
input: void;
|
|
@@ -840,6 +852,7 @@ export declare const assignmentRouter: import("@trpc/server/dist/unstable-core-d
|
|
|
840
852
|
graded: boolean;
|
|
841
853
|
maxGrade: number | null;
|
|
842
854
|
}[];
|
|
855
|
+
meta: object;
|
|
843
856
|
}>;
|
|
844
857
|
attachMarkScheme: import("@trpc/server").TRPCMutationProcedure<{
|
|
845
858
|
input: {
|
|
@@ -909,6 +922,7 @@ export declare const assignmentRouter: import("@trpc/server/dist/unstable-core-d
|
|
|
909
922
|
weight: number;
|
|
910
923
|
eventId: string | null;
|
|
911
924
|
};
|
|
925
|
+
meta: object;
|
|
912
926
|
}>;
|
|
913
927
|
detachMarkScheme: import("@trpc/server").TRPCMutationProcedure<{
|
|
914
928
|
input: {
|
|
@@ -977,6 +991,7 @@ export declare const assignmentRouter: import("@trpc/server/dist/unstable-core-d
|
|
|
977
991
|
weight: number;
|
|
978
992
|
eventId: string | null;
|
|
979
993
|
};
|
|
994
|
+
meta: object;
|
|
980
995
|
}>;
|
|
981
996
|
attachGradingBoundary: import("@trpc/server").TRPCMutationProcedure<{
|
|
982
997
|
input: {
|
|
@@ -1046,6 +1061,7 @@ export declare const assignmentRouter: import("@trpc/server/dist/unstable-core-d
|
|
|
1046
1061
|
weight: number;
|
|
1047
1062
|
eventId: string | null;
|
|
1048
1063
|
};
|
|
1064
|
+
meta: object;
|
|
1049
1065
|
}>;
|
|
1050
1066
|
}>>;
|
|
1051
1067
|
//# sourceMappingURL=assignment.d.ts.map
|
|
@@ -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;AA+ExB,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;AA+ExB,eAAO,MAAM,gBA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6/C3B,CAAC"}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const attendanceRouter: import("@trpc/server
|
|
2
|
+
export declare const attendanceRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
3
3
|
ctx: import("../trpc").Context;
|
|
4
4
|
meta: object;
|
|
5
5
|
errorShape: {
|
|
6
6
|
data: {
|
|
7
7
|
zodError: z.typeToFlattenedError<any, string> | null;
|
|
8
|
-
code: import("@trpc/server
|
|
8
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
|
|
9
9
|
httpStatus: number;
|
|
10
10
|
path?: string;
|
|
11
11
|
stack?: string;
|
|
12
12
|
};
|
|
13
13
|
message: string;
|
|
14
|
-
code: import("@trpc/server
|
|
14
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
15
15
|
};
|
|
16
16
|
transformer: false;
|
|
17
|
-
}, import("@trpc/server
|
|
17
|
+
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
18
18
|
get: import("@trpc/server").TRPCQueryProcedure<{
|
|
19
19
|
input: {
|
|
20
20
|
classId: string;
|
|
@@ -47,6 +47,7 @@ export declare const attendanceRouter: import("@trpc/server/dist/unstable-core-d
|
|
|
47
47
|
date: Date;
|
|
48
48
|
eventId: string | null;
|
|
49
49
|
})[];
|
|
50
|
+
meta: object;
|
|
50
51
|
}>;
|
|
51
52
|
update: import("@trpc/server").TRPCMutationProcedure<{
|
|
52
53
|
input: {
|
|
@@ -94,6 +95,7 @@ export declare const attendanceRouter: import("@trpc/server/dist/unstable-core-d
|
|
|
94
95
|
date: Date;
|
|
95
96
|
eventId: string | null;
|
|
96
97
|
};
|
|
98
|
+
meta: object;
|
|
97
99
|
}>;
|
|
98
100
|
}>>;
|
|
99
101
|
//# sourceMappingURL=attendance.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"attendance.d.ts","sourceRoot":"","sources":["../../src/routers/attendance.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"attendance.d.ts","sourceRoot":"","sources":["../../src/routers/attendance.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+Q3B,CAAC"}
|
package/dist/routers/auth.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const authRouter: import("@trpc/server
|
|
2
|
+
export declare const authRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
3
3
|
ctx: import("../trpc").Context;
|
|
4
4
|
meta: object;
|
|
5
5
|
errorShape: {
|
|
6
6
|
data: {
|
|
7
7
|
zodError: z.typeToFlattenedError<any, string> | null;
|
|
8
|
-
code: import("@trpc/server
|
|
8
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
|
|
9
9
|
httpStatus: number;
|
|
10
10
|
path?: string;
|
|
11
11
|
stack?: string;
|
|
12
12
|
};
|
|
13
13
|
message: string;
|
|
14
|
-
code: import("@trpc/server
|
|
14
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
15
15
|
};
|
|
16
16
|
transformer: false;
|
|
17
|
-
}, import("@trpc/server
|
|
17
|
+
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
18
18
|
register: import("@trpc/server").TRPCMutationProcedure<{
|
|
19
19
|
input: {
|
|
20
20
|
username: string;
|
|
@@ -28,6 +28,7 @@ export declare const authRouter: import("@trpc/server/dist/unstable-core-do-not-
|
|
|
28
28
|
username: string;
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
|
+
meta: object;
|
|
31
32
|
}>;
|
|
32
33
|
login: import("@trpc/server").TRPCMutationProcedure<{
|
|
33
34
|
input: {
|
|
@@ -51,12 +52,14 @@ export declare const authRouter: import("@trpc/server/dist/unstable-core-do-not-
|
|
|
51
52
|
};
|
|
52
53
|
verified?: undefined;
|
|
53
54
|
};
|
|
55
|
+
meta: object;
|
|
54
56
|
}>;
|
|
55
57
|
logout: import("@trpc/server").TRPCMutationProcedure<{
|
|
56
58
|
input: void;
|
|
57
59
|
output: {
|
|
58
60
|
success: boolean;
|
|
59
61
|
};
|
|
62
|
+
meta: object;
|
|
60
63
|
}>;
|
|
61
64
|
check: import("@trpc/server").TRPCQueryProcedure<{
|
|
62
65
|
input: void;
|
|
@@ -66,6 +69,7 @@ export declare const authRouter: import("@trpc/server/dist/unstable-core-do-not-
|
|
|
66
69
|
username: string;
|
|
67
70
|
};
|
|
68
71
|
};
|
|
72
|
+
meta: object;
|
|
69
73
|
}>;
|
|
70
74
|
resendVerificationEmail: import("@trpc/server").TRPCMutationProcedure<{
|
|
71
75
|
input: {
|
|
@@ -74,6 +78,7 @@ export declare const authRouter: import("@trpc/server/dist/unstable-core-do-not-
|
|
|
74
78
|
output: {
|
|
75
79
|
success: boolean;
|
|
76
80
|
};
|
|
81
|
+
meta: object;
|
|
77
82
|
}>;
|
|
78
83
|
verify: import("@trpc/server").TRPCMutationProcedure<{
|
|
79
84
|
input: {
|
|
@@ -82,6 +87,7 @@ export declare const authRouter: import("@trpc/server/dist/unstable-core-do-not-
|
|
|
82
87
|
output: {
|
|
83
88
|
success: boolean;
|
|
84
89
|
};
|
|
90
|
+
meta: object;
|
|
85
91
|
}>;
|
|
86
92
|
}>>;
|
|
87
93
|
//# sourceMappingURL=auth.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../src/routers/auth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAuBxB,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../src/routers/auth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAuBxB,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsQrB,CAAC"}
|
package/dist/routers/class.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const classRouter: import("@trpc/server
|
|
2
|
+
export declare const classRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
3
3
|
ctx: import("../trpc").Context;
|
|
4
4
|
meta: object;
|
|
5
5
|
errorShape: {
|
|
6
6
|
data: {
|
|
7
7
|
zodError: z.typeToFlattenedError<any, string> | null;
|
|
8
|
-
code: import("@trpc/server
|
|
8
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
|
|
9
9
|
httpStatus: number;
|
|
10
10
|
path?: string;
|
|
11
11
|
stack?: string;
|
|
12
12
|
};
|
|
13
13
|
message: string;
|
|
14
|
-
code: import("@trpc/server
|
|
14
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
15
15
|
};
|
|
16
16
|
transformer: false;
|
|
17
|
-
}, import("@trpc/server
|
|
17
|
+
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
18
18
|
getAll: import("@trpc/server").TRPCQueryProcedure<{
|
|
19
19
|
input: void;
|
|
20
20
|
output: {
|
|
@@ -52,6 +52,7 @@ export declare const classRouter: import("@trpc/server/dist/unstable-core-do-not
|
|
|
52
52
|
color: string | null;
|
|
53
53
|
}[];
|
|
54
54
|
};
|
|
55
|
+
meta: object;
|
|
55
56
|
}>;
|
|
56
57
|
get: import("@trpc/server").TRPCQueryProcedure<{
|
|
57
58
|
input: {
|
|
@@ -121,6 +122,7 @@ export declare const classRouter: import("@trpc/server/dist/unstable-core-do-not
|
|
|
121
122
|
section: string;
|
|
122
123
|
};
|
|
123
124
|
};
|
|
125
|
+
meta: object;
|
|
124
126
|
}>;
|
|
125
127
|
update: import("@trpc/server").TRPCMutationProcedure<{
|
|
126
128
|
input: {
|
|
@@ -138,6 +140,7 @@ export declare const classRouter: import("@trpc/server/dist/unstable-core-do-not
|
|
|
138
140
|
section: string;
|
|
139
141
|
};
|
|
140
142
|
};
|
|
143
|
+
meta: object;
|
|
141
144
|
}>;
|
|
142
145
|
create: import("@trpc/server").TRPCMutationProcedure<{
|
|
143
146
|
input: {
|
|
@@ -154,6 +157,7 @@ export declare const classRouter: import("@trpc/server/dist/unstable-core-do-not
|
|
|
154
157
|
color: string | null;
|
|
155
158
|
section: string;
|
|
156
159
|
};
|
|
160
|
+
meta: object;
|
|
157
161
|
}>;
|
|
158
162
|
delete: import("@trpc/server").TRPCMutationProcedure<{
|
|
159
163
|
input: {
|
|
@@ -166,6 +170,7 @@ export declare const classRouter: import("@trpc/server/dist/unstable-core-do-not
|
|
|
166
170
|
id: string;
|
|
167
171
|
};
|
|
168
172
|
};
|
|
173
|
+
meta: object;
|
|
169
174
|
}>;
|
|
170
175
|
addStudent: import("@trpc/server").TRPCMutationProcedure<{
|
|
171
176
|
input: {
|
|
@@ -189,6 +194,7 @@ export declare const classRouter: import("@trpc/server/dist/unstable-core-do-not
|
|
|
189
194
|
profileId: string | null;
|
|
190
195
|
};
|
|
191
196
|
};
|
|
197
|
+
meta: object;
|
|
192
198
|
}>;
|
|
193
199
|
changeRole: import("@trpc/server").TRPCMutationProcedure<{
|
|
194
200
|
input: {
|
|
@@ -211,6 +217,7 @@ export declare const classRouter: import("@trpc/server/dist/unstable-core-do-not
|
|
|
211
217
|
username: string;
|
|
212
218
|
};
|
|
213
219
|
};
|
|
220
|
+
meta: object;
|
|
214
221
|
}>;
|
|
215
222
|
removeMember: import("@trpc/server").TRPCMutationProcedure<{
|
|
216
223
|
input: {
|
|
@@ -228,6 +235,7 @@ export declare const classRouter: import("@trpc/server/dist/unstable-core-do-not
|
|
|
228
235
|
};
|
|
229
236
|
removedUserId: string;
|
|
230
237
|
};
|
|
238
|
+
meta: object;
|
|
231
239
|
}>;
|
|
232
240
|
join: import("@trpc/server").TRPCMutationProcedure<{
|
|
233
241
|
input: {
|
|
@@ -241,6 +249,7 @@ export declare const classRouter: import("@trpc/server/dist/unstable-core-do-not
|
|
|
241
249
|
section: string;
|
|
242
250
|
};
|
|
243
251
|
};
|
|
252
|
+
meta: object;
|
|
244
253
|
}>;
|
|
245
254
|
getInviteCode: import("@trpc/server").TRPCQueryProcedure<{
|
|
246
255
|
input: {
|
|
@@ -250,6 +259,7 @@ export declare const classRouter: import("@trpc/server/dist/unstable-core-do-not
|
|
|
250
259
|
output: {
|
|
251
260
|
code: string;
|
|
252
261
|
};
|
|
262
|
+
meta: object;
|
|
253
263
|
}>;
|
|
254
264
|
createInviteCode: import("@trpc/server").TRPCMutationProcedure<{
|
|
255
265
|
input: {
|
|
@@ -259,6 +269,7 @@ export declare const classRouter: import("@trpc/server/dist/unstable-core-do-not
|
|
|
259
269
|
output: {
|
|
260
270
|
code: string;
|
|
261
271
|
};
|
|
272
|
+
meta: object;
|
|
262
273
|
}>;
|
|
263
274
|
getGrades: import("@trpc/server").TRPCQueryProcedure<{
|
|
264
275
|
input: {
|
|
@@ -287,6 +298,7 @@ export declare const classRouter: import("@trpc/server/dist/unstable-core-do-not
|
|
|
287
298
|
returned: boolean | null;
|
|
288
299
|
})[];
|
|
289
300
|
};
|
|
301
|
+
meta: object;
|
|
290
302
|
}>;
|
|
291
303
|
updateGrade: import("@trpc/server").TRPCMutationProcedure<{
|
|
292
304
|
input: {
|
|
@@ -315,6 +327,7 @@ export declare const classRouter: import("@trpc/server/dist/unstable-core-do-not
|
|
|
315
327
|
submitted: boolean | null;
|
|
316
328
|
returned: boolean | null;
|
|
317
329
|
};
|
|
330
|
+
meta: object;
|
|
318
331
|
}>;
|
|
319
332
|
getEvents: import("@trpc/server").TRPCQueryProcedure<{
|
|
320
333
|
input: {
|
|
@@ -326,6 +339,7 @@ export declare const classRouter: import("@trpc/server/dist/unstable-core-do-not
|
|
|
326
339
|
startTime: Date;
|
|
327
340
|
endTime: Date;
|
|
328
341
|
}[];
|
|
342
|
+
meta: object;
|
|
329
343
|
}>;
|
|
330
344
|
listMarkSchemes: import("@trpc/server").TRPCQueryProcedure<{
|
|
331
345
|
input: {
|
|
@@ -337,6 +351,7 @@ export declare const classRouter: import("@trpc/server/dist/unstable-core-do-not
|
|
|
337
351
|
classId: string;
|
|
338
352
|
structured: string;
|
|
339
353
|
}[];
|
|
354
|
+
meta: object;
|
|
340
355
|
}>;
|
|
341
356
|
createMarkScheme: import("@trpc/server").TRPCMutationProcedure<{
|
|
342
357
|
input: {
|
|
@@ -349,6 +364,7 @@ export declare const classRouter: import("@trpc/server/dist/unstable-core-do-not
|
|
|
349
364
|
classId: string;
|
|
350
365
|
structured: string;
|
|
351
366
|
};
|
|
367
|
+
meta: object;
|
|
352
368
|
}>;
|
|
353
369
|
updateMarkScheme: import("@trpc/server").TRPCMutationProcedure<{
|
|
354
370
|
input: {
|
|
@@ -362,6 +378,7 @@ export declare const classRouter: import("@trpc/server/dist/unstable-core-do-not
|
|
|
362
378
|
classId: string;
|
|
363
379
|
structured: string;
|
|
364
380
|
};
|
|
381
|
+
meta: object;
|
|
365
382
|
}>;
|
|
366
383
|
deleteMarkScheme: import("@trpc/server").TRPCMutationProcedure<{
|
|
367
384
|
input: {
|
|
@@ -374,6 +391,7 @@ export declare const classRouter: import("@trpc/server/dist/unstable-core-do-not
|
|
|
374
391
|
classId: string;
|
|
375
392
|
structured: string;
|
|
376
393
|
};
|
|
394
|
+
meta: object;
|
|
377
395
|
}>;
|
|
378
396
|
listGradingBoundaries: import("@trpc/server").TRPCQueryProcedure<{
|
|
379
397
|
input: {
|
|
@@ -385,6 +403,7 @@ export declare const classRouter: import("@trpc/server/dist/unstable-core-do-not
|
|
|
385
403
|
classId: string;
|
|
386
404
|
structured: string;
|
|
387
405
|
}[];
|
|
406
|
+
meta: object;
|
|
388
407
|
}>;
|
|
389
408
|
createGradingBoundary: import("@trpc/server").TRPCMutationProcedure<{
|
|
390
409
|
input: {
|
|
@@ -397,6 +416,7 @@ export declare const classRouter: import("@trpc/server/dist/unstable-core-do-not
|
|
|
397
416
|
classId: string;
|
|
398
417
|
structured: string;
|
|
399
418
|
};
|
|
419
|
+
meta: object;
|
|
400
420
|
}>;
|
|
401
421
|
updateGradingBoundary: import("@trpc/server").TRPCMutationProcedure<{
|
|
402
422
|
input: {
|
|
@@ -410,6 +430,7 @@ export declare const classRouter: import("@trpc/server/dist/unstable-core-do-not
|
|
|
410
430
|
classId: string;
|
|
411
431
|
structured: string;
|
|
412
432
|
};
|
|
433
|
+
meta: object;
|
|
413
434
|
}>;
|
|
414
435
|
deleteGradingBoundary: import("@trpc/server").TRPCMutationProcedure<{
|
|
415
436
|
input: {
|
|
@@ -422,6 +443,7 @@ export declare const classRouter: import("@trpc/server/dist/unstable-core-do-not
|
|
|
422
443
|
classId: string;
|
|
423
444
|
structured: string;
|
|
424
445
|
};
|
|
446
|
+
meta: object;
|
|
425
447
|
}>;
|
|
426
448
|
}>>;
|
|
427
449
|
//# sourceMappingURL=class.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"class.d.ts","sourceRoot":"","sources":["../../src/routers/class.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"class.d.ts","sourceRoot":"","sources":["../../src/routers/class.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0uBtB,CAAC"}
|