@studious-lms/server 1.2.28 → 1.2.29
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 +16 -0
- package/dist/routers/_app.d.ts.map +1 -1
- package/dist/routers/worksheet.d.ts +8 -0
- package/dist/routers/worksheet.d.ts.map +1 -1
- package/dist/routers/worksheet.js +5 -2
- package/package.json +1 -1
- package/prisma/schema.prisma +1 -0
- package/src/routers/worksheet.ts +5 -2
package/dist/routers/_app.d.ts
CHANGED
|
@@ -4719,6 +4719,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4719
4719
|
questions: {
|
|
4720
4720
|
type: import(".prisma/client").$Enums.WorksheetQuestionType;
|
|
4721
4721
|
id: string;
|
|
4722
|
+
options: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
4722
4723
|
createdAt: Date;
|
|
4723
4724
|
worksheetId: string;
|
|
4724
4725
|
markScheme: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
@@ -4799,11 +4800,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4799
4800
|
worksheetId: string;
|
|
4800
4801
|
question: string;
|
|
4801
4802
|
answer: string;
|
|
4803
|
+
options?: any;
|
|
4802
4804
|
markScheme?: any;
|
|
4803
4805
|
};
|
|
4804
4806
|
output: {
|
|
4805
4807
|
type: import(".prisma/client").$Enums.WorksheetQuestionType;
|
|
4806
4808
|
id: string;
|
|
4809
|
+
options: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
4807
4810
|
createdAt: Date;
|
|
4808
4811
|
worksheetId: string;
|
|
4809
4812
|
markScheme: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
@@ -4818,6 +4821,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4818
4821
|
worksheetId: string;
|
|
4819
4822
|
questionId: string;
|
|
4820
4823
|
type?: "ESSAY" | "MULTIPLE_CHOICE" | "TRUE_FALSE" | "SHORT_ANSWER" | "LONG_ANSWER" | "MATH_EXPRESSION" | undefined;
|
|
4824
|
+
options?: any;
|
|
4821
4825
|
markScheme?: any;
|
|
4822
4826
|
question?: string | undefined;
|
|
4823
4827
|
answer?: string | undefined;
|
|
@@ -4825,6 +4829,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4825
4829
|
output: {
|
|
4826
4830
|
type: import(".prisma/client").$Enums.WorksheetQuestionType;
|
|
4827
4831
|
id: string;
|
|
4832
|
+
options: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
4828
4833
|
createdAt: Date;
|
|
4829
4834
|
worksheetId: string;
|
|
4830
4835
|
markScheme: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
@@ -4842,6 +4847,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4842
4847
|
output: {
|
|
4843
4848
|
type: import(".prisma/client").$Enums.WorksheetQuestionType;
|
|
4844
4849
|
id: string;
|
|
4850
|
+
options: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
4845
4851
|
createdAt: Date;
|
|
4846
4852
|
worksheetId: string;
|
|
4847
4853
|
markScheme: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
@@ -4948,6 +4954,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4948
4954
|
question: {
|
|
4949
4955
|
type: import(".prisma/client").$Enums.WorksheetQuestionType;
|
|
4950
4956
|
id: string;
|
|
4957
|
+
options: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
4951
4958
|
createdAt: Date;
|
|
4952
4959
|
worksheetId: string;
|
|
4953
4960
|
markScheme: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
@@ -4995,6 +5002,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4995
5002
|
question: {
|
|
4996
5003
|
type: import(".prisma/client").$Enums.WorksheetQuestionType;
|
|
4997
5004
|
id: string;
|
|
5005
|
+
options: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
4998
5006
|
createdAt: Date;
|
|
4999
5007
|
worksheetId: string;
|
|
5000
5008
|
markScheme: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
@@ -9769,6 +9777,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
9769
9777
|
questions: {
|
|
9770
9778
|
type: import(".prisma/client").$Enums.WorksheetQuestionType;
|
|
9771
9779
|
id: string;
|
|
9780
|
+
options: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
9772
9781
|
createdAt: Date;
|
|
9773
9782
|
worksheetId: string;
|
|
9774
9783
|
markScheme: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
@@ -9849,11 +9858,13 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
9849
9858
|
worksheetId: string;
|
|
9850
9859
|
question: string;
|
|
9851
9860
|
answer: string;
|
|
9861
|
+
options?: any;
|
|
9852
9862
|
markScheme?: any;
|
|
9853
9863
|
};
|
|
9854
9864
|
output: {
|
|
9855
9865
|
type: import(".prisma/client").$Enums.WorksheetQuestionType;
|
|
9856
9866
|
id: string;
|
|
9867
|
+
options: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
9857
9868
|
createdAt: Date;
|
|
9858
9869
|
worksheetId: string;
|
|
9859
9870
|
markScheme: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
@@ -9868,6 +9879,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
9868
9879
|
worksheetId: string;
|
|
9869
9880
|
questionId: string;
|
|
9870
9881
|
type?: "ESSAY" | "MULTIPLE_CHOICE" | "TRUE_FALSE" | "SHORT_ANSWER" | "LONG_ANSWER" | "MATH_EXPRESSION" | undefined;
|
|
9882
|
+
options?: any;
|
|
9871
9883
|
markScheme?: any;
|
|
9872
9884
|
question?: string | undefined;
|
|
9873
9885
|
answer?: string | undefined;
|
|
@@ -9875,6 +9887,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
9875
9887
|
output: {
|
|
9876
9888
|
type: import(".prisma/client").$Enums.WorksheetQuestionType;
|
|
9877
9889
|
id: string;
|
|
9890
|
+
options: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
9878
9891
|
createdAt: Date;
|
|
9879
9892
|
worksheetId: string;
|
|
9880
9893
|
markScheme: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
@@ -9892,6 +9905,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
9892
9905
|
output: {
|
|
9893
9906
|
type: import(".prisma/client").$Enums.WorksheetQuestionType;
|
|
9894
9907
|
id: string;
|
|
9908
|
+
options: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
9895
9909
|
createdAt: Date;
|
|
9896
9910
|
worksheetId: string;
|
|
9897
9911
|
markScheme: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
@@ -9998,6 +10012,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
9998
10012
|
question: {
|
|
9999
10013
|
type: import(".prisma/client").$Enums.WorksheetQuestionType;
|
|
10000
10014
|
id: string;
|
|
10015
|
+
options: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
10001
10016
|
createdAt: Date;
|
|
10002
10017
|
worksheetId: string;
|
|
10003
10018
|
markScheme: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
@@ -10045,6 +10060,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
10045
10060
|
question: {
|
|
10046
10061
|
type: import(".prisma/client").$Enums.WorksheetQuestionType;
|
|
10047
10062
|
id: string;
|
|
10063
|
+
options: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
10048
10064
|
createdAt: Date;
|
|
10049
10065
|
worksheetId: string;
|
|
10050
10066
|
markScheme: import("@prisma/client/runtime/library.js").JsonValue | null;
|
|
@@ -1 +1 @@
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAiC,CAAC"}
|
|
@@ -33,6 +33,7 @@ export declare const worksheetRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
33
33
|
questions: {
|
|
34
34
|
type: import(".prisma/client").$Enums.WorksheetQuestionType;
|
|
35
35
|
id: string;
|
|
36
|
+
options: import("@prisma/client/runtime/library").JsonValue | null;
|
|
36
37
|
createdAt: Date;
|
|
37
38
|
worksheetId: string;
|
|
38
39
|
markScheme: import("@prisma/client/runtime/library").JsonValue | null;
|
|
@@ -113,11 +114,13 @@ export declare const worksheetRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
113
114
|
worksheetId: string;
|
|
114
115
|
question: string;
|
|
115
116
|
answer: string;
|
|
117
|
+
options?: any;
|
|
116
118
|
markScheme?: any;
|
|
117
119
|
};
|
|
118
120
|
output: {
|
|
119
121
|
type: import(".prisma/client").$Enums.WorksheetQuestionType;
|
|
120
122
|
id: string;
|
|
123
|
+
options: import("@prisma/client/runtime/library").JsonValue | null;
|
|
121
124
|
createdAt: Date;
|
|
122
125
|
worksheetId: string;
|
|
123
126
|
markScheme: import("@prisma/client/runtime/library").JsonValue | null;
|
|
@@ -132,6 +135,7 @@ export declare const worksheetRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
132
135
|
worksheetId: string;
|
|
133
136
|
questionId: string;
|
|
134
137
|
type?: "ESSAY" | "MULTIPLE_CHOICE" | "TRUE_FALSE" | "SHORT_ANSWER" | "LONG_ANSWER" | "MATH_EXPRESSION" | undefined;
|
|
138
|
+
options?: any;
|
|
135
139
|
markScheme?: any;
|
|
136
140
|
question?: string | undefined;
|
|
137
141
|
answer?: string | undefined;
|
|
@@ -139,6 +143,7 @@ export declare const worksheetRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
139
143
|
output: {
|
|
140
144
|
type: import(".prisma/client").$Enums.WorksheetQuestionType;
|
|
141
145
|
id: string;
|
|
146
|
+
options: import("@prisma/client/runtime/library").JsonValue | null;
|
|
142
147
|
createdAt: Date;
|
|
143
148
|
worksheetId: string;
|
|
144
149
|
markScheme: import("@prisma/client/runtime/library").JsonValue | null;
|
|
@@ -156,6 +161,7 @@ export declare const worksheetRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
156
161
|
output: {
|
|
157
162
|
type: import(".prisma/client").$Enums.WorksheetQuestionType;
|
|
158
163
|
id: string;
|
|
164
|
+
options: import("@prisma/client/runtime/library").JsonValue | null;
|
|
159
165
|
createdAt: Date;
|
|
160
166
|
worksheetId: string;
|
|
161
167
|
markScheme: import("@prisma/client/runtime/library").JsonValue | null;
|
|
@@ -262,6 +268,7 @@ export declare const worksheetRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
262
268
|
question: {
|
|
263
269
|
type: import(".prisma/client").$Enums.WorksheetQuestionType;
|
|
264
270
|
id: string;
|
|
271
|
+
options: import("@prisma/client/runtime/library").JsonValue | null;
|
|
265
272
|
createdAt: Date;
|
|
266
273
|
worksheetId: string;
|
|
267
274
|
markScheme: import("@prisma/client/runtime/library").JsonValue | null;
|
|
@@ -309,6 +316,7 @@ export declare const worksheetRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
309
316
|
question: {
|
|
310
317
|
type: import(".prisma/client").$Enums.WorksheetQuestionType;
|
|
311
318
|
id: string;
|
|
319
|
+
options: import("@prisma/client/runtime/library").JsonValue | null;
|
|
312
320
|
createdAt: Date;
|
|
313
321
|
worksheetId: string;
|
|
314
322
|
markScheme: import("@prisma/client/runtime/library").JsonValue | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"worksheet.d.ts","sourceRoot":"","sources":["../../src/routers/worksheet.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"worksheet.d.ts","sourceRoot":"","sources":["../../src/routers/worksheet.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAga1B,CAAC"}
|
|
@@ -95,11 +95,12 @@ export const worksheetRouter = createTRPCRouter({
|
|
|
95
95
|
worksheetId: z.string(),
|
|
96
96
|
question: z.string(),
|
|
97
97
|
answer: z.string(),
|
|
98
|
+
options: z.any().optional(), // JSON field
|
|
98
99
|
markScheme: z.any().optional(), // JSON field
|
|
99
100
|
type: z.enum(['MULTIPLE_CHOICE', 'TRUE_FALSE', 'SHORT_ANSWER', 'LONG_ANSWER', 'MATH_EXPRESSION', 'ESSAY']),
|
|
100
101
|
}))
|
|
101
102
|
.mutation(async ({ ctx, input }) => {
|
|
102
|
-
const { worksheetId, question, answer, markScheme, type } = input;
|
|
103
|
+
const { worksheetId, question, answer, options, markScheme, type } = input;
|
|
103
104
|
const worksheet = await prisma.worksheet.findUnique({
|
|
104
105
|
where: { id: worksheetId },
|
|
105
106
|
});
|
|
@@ -112,6 +113,7 @@ export const worksheetRouter = createTRPCRouter({
|
|
|
112
113
|
type,
|
|
113
114
|
question,
|
|
114
115
|
answer,
|
|
116
|
+
options,
|
|
115
117
|
markScheme,
|
|
116
118
|
},
|
|
117
119
|
});
|
|
@@ -123,11 +125,12 @@ export const worksheetRouter = createTRPCRouter({
|
|
|
123
125
|
questionId: z.string(),
|
|
124
126
|
question: z.string().optional(),
|
|
125
127
|
answer: z.string().optional(),
|
|
128
|
+
options: z.any().optional(), // JSON field
|
|
126
129
|
markScheme: z.any().optional(), // JSON field
|
|
127
130
|
type: z.enum(['MULTIPLE_CHOICE', 'TRUE_FALSE', 'SHORT_ANSWER', 'LONG_ANSWER', 'MATH_EXPRESSION', 'ESSAY']).optional(),
|
|
128
131
|
}))
|
|
129
132
|
.mutation(async ({ ctx, input }) => {
|
|
130
|
-
const { worksheetId, questionId, question, answer, markScheme, type } = input;
|
|
133
|
+
const { worksheetId, questionId, question, answer, options, markScheme, type } = input;
|
|
131
134
|
const worksheet = await prisma.worksheet.findUnique({
|
|
132
135
|
where: { id: worksheetId },
|
|
133
136
|
});
|
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
package/src/routers/worksheet.ts
CHANGED
|
@@ -111,11 +111,12 @@ export const worksheetRouter = createTRPCRouter({
|
|
|
111
111
|
worksheetId: z.string(),
|
|
112
112
|
question: z.string(),
|
|
113
113
|
answer: z.string(),
|
|
114
|
+
options: z.any().optional(), // JSON field
|
|
114
115
|
markScheme: z.any().optional(), // JSON field
|
|
115
116
|
type: z.enum(['MULTIPLE_CHOICE', 'TRUE_FALSE', 'SHORT_ANSWER', 'LONG_ANSWER', 'MATH_EXPRESSION', 'ESSAY']),
|
|
116
117
|
}))
|
|
117
118
|
.mutation(async ({ ctx, input }) => {
|
|
118
|
-
const { worksheetId, question, answer, markScheme, type } = input;
|
|
119
|
+
const { worksheetId, question, answer, options, markScheme, type } = input;
|
|
119
120
|
|
|
120
121
|
const worksheet = await prisma.worksheet.findUnique({
|
|
121
122
|
where: { id: worksheetId },
|
|
@@ -131,6 +132,7 @@ export const worksheetRouter = createTRPCRouter({
|
|
|
131
132
|
type,
|
|
132
133
|
question,
|
|
133
134
|
answer,
|
|
135
|
+
options,
|
|
134
136
|
markScheme,
|
|
135
137
|
},
|
|
136
138
|
});
|
|
@@ -143,11 +145,12 @@ export const worksheetRouter = createTRPCRouter({
|
|
|
143
145
|
questionId: z.string(),
|
|
144
146
|
question: z.string().optional(),
|
|
145
147
|
answer: z.string().optional(),
|
|
148
|
+
options: z.any().optional(), // JSON field
|
|
146
149
|
markScheme: z.any().optional(), // JSON field
|
|
147
150
|
type: z.enum(['MULTIPLE_CHOICE', 'TRUE_FALSE', 'SHORT_ANSWER', 'LONG_ANSWER', 'MATH_EXPRESSION', 'ESSAY']).optional(),
|
|
148
151
|
}))
|
|
149
152
|
.mutation(async ({ ctx, input }) => {
|
|
150
|
-
const { worksheetId, questionId, question, answer, markScheme, type } = input;
|
|
153
|
+
const { worksheetId, questionId, question, answer, options, markScheme, type } = input;
|
|
151
154
|
|
|
152
155
|
const worksheet = await prisma.worksheet.findUnique({
|
|
153
156
|
where: { id: worksheetId },
|