@flantastic/study-time-types 1.0.18 → 1.0.20
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/index.d.ts +6 -0
- package/dist/index.js +6 -0
- package/dist/response/itemTemplatePut.response.d.ts +3 -0
- package/dist/response/itemTemplatePut.response.js +2 -0
- package/dist/response/questionTemplateAdd.response.d.ts +3 -0
- package/dist/response/questionTemplateAdd.response.js +2 -0
- package/dist/response/questionTemplateDelete.response.d.ts +3 -0
- package/dist/response/questionTemplateDelete.response.js +2 -0
- package/dist/response/questionTemplateGet.response.d.ts +6 -0
- package/dist/response/questionTemplateGet.response.js +2 -0
- package/dist/response/questionTemplatePut.response.d.ts +3 -0
- package/dist/response/questionTemplatePut.response.js +2 -0
- package/dist/schema/studyQuestionTemplateData.schema.d.ts +11 -0
- package/dist/schema/studyQuestionTemplateData.schema.js +12 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export * from "./schema/studyItemTemplateData.schema";
|
|
|
7
7
|
export * from "./schema/studyQuestionEntity.schema";
|
|
8
8
|
export * from "./schema/studyQuestionContent.schema";
|
|
9
9
|
export * from "./schema/studyQuestionTemplate.schema";
|
|
10
|
+
export * from "./schema/studyQuestionTemplateData.schema";
|
|
10
11
|
export * from "./schema/user.schema";
|
|
11
12
|
export * from "./enum/language.enum";
|
|
12
13
|
export * from "./enum/role.enum";
|
|
@@ -22,6 +23,11 @@ export * from "./response/studyItemUpdate.response";
|
|
|
22
23
|
export * from "./response/itemTemplateAdd.response";
|
|
23
24
|
export * from "./response/itemTemplateGet.response";
|
|
24
25
|
export * from "./response/itemTemplateDelete.response";
|
|
26
|
+
export * from "./response/itemTemplatePut.response";
|
|
27
|
+
export * from "./response/questionTemplateAdd.response";
|
|
28
|
+
export * from "./response/questionTemplateGet.response";
|
|
29
|
+
export * from "./response/questionTemplateDelete.response";
|
|
30
|
+
export * from "./response/questionTemplatePut.response";
|
|
25
31
|
export * from "./response/usersGet.response";
|
|
26
32
|
export * from "./response/userGet.response";
|
|
27
33
|
export * from "./response/error.response";
|
package/dist/index.js
CHANGED
|
@@ -23,6 +23,7 @@ __exportStar(require("./schema/studyItemTemplateData.schema"), exports);
|
|
|
23
23
|
__exportStar(require("./schema/studyQuestionEntity.schema"), exports);
|
|
24
24
|
__exportStar(require("./schema/studyQuestionContent.schema"), exports);
|
|
25
25
|
__exportStar(require("./schema/studyQuestionTemplate.schema"), exports);
|
|
26
|
+
__exportStar(require("./schema/studyQuestionTemplateData.schema"), exports);
|
|
26
27
|
__exportStar(require("./schema/user.schema"), exports);
|
|
27
28
|
__exportStar(require("./enum/language.enum"), exports);
|
|
28
29
|
__exportStar(require("./enum/role.enum"), exports);
|
|
@@ -38,6 +39,11 @@ __exportStar(require("./response/studyItemUpdate.response"), exports);
|
|
|
38
39
|
__exportStar(require("./response/itemTemplateAdd.response"), exports);
|
|
39
40
|
__exportStar(require("./response/itemTemplateGet.response"), exports);
|
|
40
41
|
__exportStar(require("./response/itemTemplateDelete.response"), exports);
|
|
42
|
+
__exportStar(require("./response/itemTemplatePut.response"), exports);
|
|
43
|
+
__exportStar(require("./response/questionTemplateAdd.response"), exports);
|
|
44
|
+
__exportStar(require("./response/questionTemplateGet.response"), exports);
|
|
45
|
+
__exportStar(require("./response/questionTemplateDelete.response"), exports);
|
|
46
|
+
__exportStar(require("./response/questionTemplatePut.response"), exports);
|
|
41
47
|
__exportStar(require("./response/usersGet.response"), exports);
|
|
42
48
|
__exportStar(require("./response/userGet.response"), exports);
|
|
43
49
|
__exportStar(require("./response/error.response"), exports);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import z from "zod";
|
|
2
|
+
export declare const StudyQuestionTemplateDataSchema: z.ZodObject<{
|
|
3
|
+
id: z.ZodString;
|
|
4
|
+
template: z.ZodObject<{
|
|
5
|
+
owner: z.ZodString;
|
|
6
|
+
studyQuestionContent: z.ZodObject<{
|
|
7
|
+
question: z.ZodString;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
export type StudyQuestionTemplateData = z.infer<typeof StudyQuestionTemplateDataSchema>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.StudyQuestionTemplateDataSchema = void 0;
|
|
7
|
+
const zod_1 = __importDefault(require("zod"));
|
|
8
|
+
const studyQuestionTemplate_schema_1 = require("./studyQuestionTemplate.schema");
|
|
9
|
+
exports.StudyQuestionTemplateDataSchema = zod_1.default.object({
|
|
10
|
+
id: zod_1.default.string().min(1),
|
|
11
|
+
template: studyQuestionTemplate_schema_1.StudyQuestionTemplateSchema
|
|
12
|
+
});
|