@pksep/zod-shared 0.0.524 → 0.0.526

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.
Files changed (56) hide show
  1. package/dist/assemble/dto/get-assemble-operation-count.dto.d.ts +9 -0
  2. package/dist/assemble/schemas/assemble-coming.schema.d.ts +7 -0
  3. package/dist/assemble/schemas/assemble.schema.d.ts +7 -0
  4. package/dist/equipment/schemas/equipment.schema.d.ts +5 -0
  5. package/dist/issue/dto/up-create-issue.dto.d.ts +49 -0
  6. package/dist/issue/dto/up-create-issue.dto.js +21 -0
  7. package/dist/issue/index.d.ts +5 -0
  8. package/dist/issue/index.js +21 -0
  9. package/dist/issue/interfaces/interface.d.ts +4 -0
  10. package/dist/issue/schemas/issue-user-controller.schema.d.ts +15 -0
  11. package/dist/issue/schemas/issue-user-controller.schema.js +9 -0
  12. package/dist/issue/schemas/issue-user.schema.d.ts +15 -0
  13. package/dist/issue/schemas/issue-user.schema.js +9 -0
  14. package/dist/issue/schemas/issue.schema.d.ts +51 -0
  15. package/dist/issue/schemas/issue.schema.js +21 -0
  16. package/dist/library/dto/create-chapter.dto.d.ts +12 -0
  17. package/dist/library/dto/create-chapter.dto.js +8 -0
  18. package/dist/library/dto/create-link.dto.d.ts +30 -0
  19. package/dist/library/dto/create-link.dto.js +14 -0
  20. package/dist/library/index.d.ts +5 -0
  21. package/dist/library/index.js +21 -0
  22. package/dist/library/interfaces/interface.d.ts +3 -0
  23. package/dist/library/interfaces/interface.js +2 -0
  24. package/dist/library/schemas/links-user.schema.d.ts +15 -0
  25. package/dist/library/schemas/links-user.schema.js +9 -0
  26. package/dist/library/schemas/links.schema.d.ts +30 -0
  27. package/dist/library/schemas/links.schema.js +14 -0
  28. package/dist/moving/schemas/moving.schema.d.ts +7 -0
  29. package/dist/operations/dto/create-type-operation.dto.d.ts +4 -0
  30. package/dist/operations/dto/create-type-operation.dto.js +5 -1
  31. package/dist/operations/dto/update-type-operation.dto.d.ts +4 -0
  32. package/dist/operations/dto/update-type-operation.dto.js +5 -1
  33. package/dist/operations/enums/enums.d.ts +7 -0
  34. package/dist/operations/enums/enums.js +11 -0
  35. package/dist/operations/index.d.ts +1 -0
  36. package/dist/operations/index.js +1 -0
  37. package/dist/operations/interfaces/interface.d.ts +5 -0
  38. package/dist/operations/schemas/operation.schema.d.ts +4 -0
  39. package/dist/operations/schemas/operation.schema.js +4 -0
  40. package/dist/operations/schemas/type-operation.schema.d.ts +4 -0
  41. package/dist/operations/schemas/type-operation.schema.js +2 -0
  42. package/dist/production-tasks/dto/update-marks.dto.d.ts +13 -0
  43. package/dist/production-tasks/dto/update-marks.dto.js +8 -0
  44. package/dist/production-tasks/dto/workload-by-entity.dto.d.ts +3 -0
  45. package/dist/production-tasks/dto/workload-by-entity.dto.js +3 -1
  46. package/dist/production-tasks/interfaces/production-tasks.d.ts +1 -0
  47. package/dist/role/schemas/role.schema.d.ts +7 -0
  48. package/dist/tech-process/schemas/tech-process-with-options.schema.d.ts +306 -0
  49. package/dist/tech-process/schemas/tech-process-with-options.schema.js +8 -0
  50. package/dist/tech-process/schemas/tech-process.schema.d.ts +5 -0
  51. package/dist/user/schemas/user.schema.d.ts +5 -0
  52. package/dist/utils/interface/mat.interface.d.ts +10 -0
  53. package/dist/utils/interface/mat.interface.js +2 -0
  54. package/package.json +1 -1
  55. package/dist/production-tasks/interfaces/workload-by-entity.d.ts +0 -19
  56. /package/dist/{production-tasks/interfaces/workload-by-entity.js → issue/interfaces/interface.js} +0 -0
@@ -155,6 +155,7 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
155
155
  instrumentOsnID: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
156
156
  eqList: z.ZodDefault<z.ZodString>;
157
157
  eqID: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
158
+ workStartCalcType: z.ZodDefault<z.ZodNativeEnum<typeof import("../..").WorkStartCalcType>>;
158
159
  tOperationId: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
159
160
  tech_process_id: z.ZodNumber;
160
161
  marks: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -237,6 +238,7 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
237
238
  preTime: number;
238
239
  helperTime: number;
239
240
  mainTime: number;
241
+ workStartCalcType: import("../..").WorkStartCalcType;
240
242
  generalCountTime: string;
241
243
  instrumentList: string;
242
244
  instrumentMerList: string;
@@ -304,6 +306,7 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
304
306
  preTime?: number | undefined;
305
307
  helperTime?: number | undefined;
306
308
  mainTime?: number | undefined;
309
+ workStartCalcType?: import("../..").WorkStartCalcType | undefined;
307
310
  generalCountTime?: string | undefined;
308
311
  instrumentList?: string | undefined;
309
312
  instrumentMerList?: string | undefined;
@@ -332,6 +335,7 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
332
335
  preTime: number;
333
336
  helperTime: number;
334
337
  mainTime: number;
338
+ workStartCalcType: import("../..").WorkStartCalcType;
335
339
  generalCountTime: string;
336
340
  instrumentList: string;
337
341
  instrumentMerList: string;
@@ -408,6 +412,7 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
408
412
  preTime?: number | undefined;
409
413
  helperTime?: number | undefined;
410
414
  mainTime?: number | undefined;
415
+ workStartCalcType?: import("../..").WorkStartCalcType | undefined;
411
416
  generalCountTime?: string | undefined;
412
417
  instrumentList?: string | undefined;
413
418
  instrumentMerList?: string | undefined;
@@ -811,6 +816,7 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
811
816
  preTime: number;
812
817
  helperTime: number;
813
818
  mainTime: number;
819
+ workStartCalcType: import("../..").WorkStartCalcType;
814
820
  generalCountTime: string;
815
821
  instrumentList: string;
816
822
  instrumentMerList: string;
@@ -1017,6 +1023,7 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
1017
1023
  preTime?: number | undefined;
1018
1024
  helperTime?: number | undefined;
1019
1025
  mainTime?: number | undefined;
1026
+ workStartCalcType?: import("../..").WorkStartCalcType | undefined;
1020
1027
  generalCountTime?: string | undefined;
1021
1028
  instrumentList?: string | undefined;
1022
1029
  instrumentMerList?: string | undefined;
@@ -1182,6 +1189,7 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
1182
1189
  preTime: number;
1183
1190
  helperTime: number;
1184
1191
  mainTime: number;
1192
+ workStartCalcType: import("../..").WorkStartCalcType;
1185
1193
  generalCountTime: string;
1186
1194
  instrumentList: string;
1187
1195
  instrumentMerList: string;
@@ -1390,6 +1398,7 @@ export declare const GetAssembleByOperationCountDtoZod: z.ZodObject<{
1390
1398
  preTime?: number | undefined;
1391
1399
  helperTime?: number | undefined;
1392
1400
  mainTime?: number | undefined;
1401
+ workStartCalcType?: import("../..").WorkStartCalcType | undefined;
1393
1402
  generalCountTime?: string | undefined;
1394
1403
  instrumentList?: string | undefined;
1395
1404
  instrumentMerList?: string | undefined;
@@ -156,6 +156,7 @@ export declare const AssembleComingSchema: z.ZodObject<{
156
156
  instrumentOsnID: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
157
157
  eqList: z.ZodDefault<z.ZodString>;
158
158
  eqID: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
159
+ workStartCalcType: z.ZodDefault<z.ZodNativeEnum<typeof import("../..").WorkStartCalcType>>;
159
160
  tOperationId: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
160
161
  tech_process_id: z.ZodNumber;
161
162
  marks: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -238,6 +239,7 @@ export declare const AssembleComingSchema: z.ZodObject<{
238
239
  preTime: number;
239
240
  helperTime: number;
240
241
  mainTime: number;
242
+ workStartCalcType: import("../..").WorkStartCalcType;
241
243
  generalCountTime: string;
242
244
  instrumentList: string;
243
245
  instrumentMerList: string;
@@ -305,6 +307,7 @@ export declare const AssembleComingSchema: z.ZodObject<{
305
307
  preTime?: number | undefined;
306
308
  helperTime?: number | undefined;
307
309
  mainTime?: number | undefined;
310
+ workStartCalcType?: import("../..").WorkStartCalcType | undefined;
308
311
  generalCountTime?: string | undefined;
309
312
  instrumentList?: string | undefined;
310
313
  instrumentMerList?: string | undefined;
@@ -333,6 +336,7 @@ export declare const AssembleComingSchema: z.ZodObject<{
333
336
  preTime: number;
334
337
  helperTime: number;
335
338
  mainTime: number;
339
+ workStartCalcType: import("../..").WorkStartCalcType;
336
340
  generalCountTime: string;
337
341
  instrumentList: string;
338
342
  instrumentMerList: string;
@@ -409,6 +413,7 @@ export declare const AssembleComingSchema: z.ZodObject<{
409
413
  preTime?: number | undefined;
410
414
  helperTime?: number | undefined;
411
415
  mainTime?: number | undefined;
416
+ workStartCalcType?: import("../..").WorkStartCalcType | undefined;
412
417
  generalCountTime?: string | undefined;
413
418
  instrumentList?: string | undefined;
414
419
  instrumentMerList?: string | undefined;
@@ -835,6 +840,7 @@ export declare const AssembleComingSchema: z.ZodObject<{
835
840
  preTime: number;
836
841
  helperTime: number;
837
842
  mainTime: number;
843
+ workStartCalcType: import("../..").WorkStartCalcType;
838
844
  generalCountTime: string;
839
845
  instrumentList: string;
840
846
  instrumentMerList: string;
@@ -1052,6 +1058,7 @@ export declare const AssembleComingSchema: z.ZodObject<{
1052
1058
  preTime?: number | undefined;
1053
1059
  helperTime?: number | undefined;
1054
1060
  mainTime?: number | undefined;
1061
+ workStartCalcType?: import("../..").WorkStartCalcType | undefined;
1055
1062
  generalCountTime?: string | undefined;
1056
1063
  instrumentList?: string | undefined;
1057
1064
  instrumentMerList?: string | undefined;
@@ -156,6 +156,7 @@ export declare const AssembleSchema: z.ZodObject<{
156
156
  instrumentOsnID: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
157
157
  eqList: z.ZodDefault<z.ZodString>;
158
158
  eqID: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
159
+ workStartCalcType: z.ZodDefault<z.ZodNativeEnum<typeof import("../..").WorkStartCalcType>>;
159
160
  tOperationId: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
160
161
  tech_process_id: z.ZodNumber;
161
162
  marks: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -238,6 +239,7 @@ export declare const AssembleSchema: z.ZodObject<{
238
239
  preTime: number;
239
240
  helperTime: number;
240
241
  mainTime: number;
242
+ workStartCalcType: import("../..").WorkStartCalcType;
241
243
  generalCountTime: string;
242
244
  instrumentList: string;
243
245
  instrumentMerList: string;
@@ -305,6 +307,7 @@ export declare const AssembleSchema: z.ZodObject<{
305
307
  preTime?: number | undefined;
306
308
  helperTime?: number | undefined;
307
309
  mainTime?: number | undefined;
310
+ workStartCalcType?: import("../..").WorkStartCalcType | undefined;
308
311
  generalCountTime?: string | undefined;
309
312
  instrumentList?: string | undefined;
310
313
  instrumentMerList?: string | undefined;
@@ -333,6 +336,7 @@ export declare const AssembleSchema: z.ZodObject<{
333
336
  preTime: number;
334
337
  helperTime: number;
335
338
  mainTime: number;
339
+ workStartCalcType: import("../..").WorkStartCalcType;
336
340
  generalCountTime: string;
337
341
  instrumentList: string;
338
342
  instrumentMerList: string;
@@ -409,6 +413,7 @@ export declare const AssembleSchema: z.ZodObject<{
409
413
  preTime?: number | undefined;
410
414
  helperTime?: number | undefined;
411
415
  mainTime?: number | undefined;
416
+ workStartCalcType?: import("../..").WorkStartCalcType | undefined;
412
417
  generalCountTime?: string | undefined;
413
418
  instrumentList?: string | undefined;
414
419
  instrumentMerList?: string | undefined;
@@ -812,6 +817,7 @@ export declare const AssembleSchema: z.ZodObject<{
812
817
  preTime: number;
813
818
  helperTime: number;
814
819
  mainTime: number;
820
+ workStartCalcType: import("../..").WorkStartCalcType;
815
821
  generalCountTime: string;
816
822
  instrumentList: string;
817
823
  instrumentMerList: string;
@@ -1018,6 +1024,7 @@ export declare const AssembleSchema: z.ZodObject<{
1018
1024
  preTime?: number | undefined;
1019
1025
  helperTime?: number | undefined;
1020
1026
  mainTime?: number | undefined;
1027
+ workStartCalcType?: import("../..").WorkStartCalcType | undefined;
1021
1028
  generalCountTime?: string | undefined;
1022
1029
  instrumentList?: string | undefined;
1023
1030
  instrumentMerList?: string | undefined;
@@ -129,6 +129,7 @@ export declare const EquipmentSchema: z.ZodObject<{
129
129
  instrumentOsnID: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
130
130
  eqList: z.ZodDefault<z.ZodString>;
131
131
  eqID: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
132
+ workStartCalcType: z.ZodDefault<z.ZodNativeEnum<typeof import("../../operations").WorkStartCalcType>>;
132
133
  tOperationId: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
133
134
  tech_process_id: z.ZodNumber;
134
135
  marks: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -211,6 +212,7 @@ export declare const EquipmentSchema: z.ZodObject<{
211
212
  preTime: number;
212
213
  helperTime: number;
213
214
  mainTime: number;
215
+ workStartCalcType: import("../../operations").WorkStartCalcType;
214
216
  generalCountTime: string;
215
217
  instrumentList: string;
216
218
  instrumentMerList: string;
@@ -278,6 +280,7 @@ export declare const EquipmentSchema: z.ZodObject<{
278
280
  preTime?: number | undefined;
279
281
  helperTime?: number | undefined;
280
282
  mainTime?: number | undefined;
283
+ workStartCalcType?: import("../../operations").WorkStartCalcType | undefined;
281
284
  generalCountTime?: string | undefined;
282
285
  instrumentList?: string | undefined;
283
286
  instrumentMerList?: string | undefined;
@@ -471,6 +474,7 @@ export declare const EquipmentSchema: z.ZodObject<{
471
474
  preTime: number;
472
475
  helperTime: number;
473
476
  mainTime: number;
477
+ workStartCalcType: import("../../operations").WorkStartCalcType;
474
478
  generalCountTime: string;
475
479
  instrumentList: string;
476
480
  instrumentMerList: string;
@@ -636,6 +640,7 @@ export declare const EquipmentSchema: z.ZodObject<{
636
640
  preTime?: number | undefined;
637
641
  helperTime?: number | undefined;
638
642
  mainTime?: number | undefined;
643
+ workStartCalcType?: import("../../operations").WorkStartCalcType | undefined;
639
644
  generalCountTime?: string | undefined;
640
645
  instrumentList?: string | undefined;
641
646
  instrumentMerList?: string | undefined;
@@ -0,0 +1,49 @@
1
+ import { z } from 'zod';
2
+ import { StatusIssue } from '../../utils';
3
+ export declare const UpCreateIssueDtoZod: z.ZodObject<{
4
+ description: z.ZodString;
5
+ dateUse: z.ZodString;
6
+ normTime: z.ZodString;
7
+ sourse: z.ZodString;
8
+ srok: z.ZodString;
9
+ status: z.ZodNativeEnum<typeof StatusIssue>;
10
+ controllerList: z.ZodString;
11
+ executorList: z.ZodString;
12
+ izdList: z.ZodString;
13
+ shopNeeds: z.ZodString;
14
+ fileArrModal: z.ZodString;
15
+ srok_control: z.ZodString;
16
+ id: z.ZodNumber;
17
+ name: z.ZodString;
18
+ }, "strip", z.ZodTypeAny, {
19
+ status: StatusIssue;
20
+ id: number;
21
+ name: string;
22
+ description: string;
23
+ dateUse: string;
24
+ normTime: string;
25
+ sourse: string;
26
+ srok: string;
27
+ controllerList: string;
28
+ executorList: string;
29
+ srok_control: string;
30
+ izdList: string;
31
+ shopNeeds: string;
32
+ fileArrModal: string;
33
+ }, {
34
+ status: StatusIssue;
35
+ id: number;
36
+ name: string;
37
+ description: string;
38
+ dateUse: string;
39
+ normTime: string;
40
+ sourse: string;
41
+ srok: string;
42
+ controllerList: string;
43
+ executorList: string;
44
+ srok_control: string;
45
+ izdList: string;
46
+ shopNeeds: string;
47
+ fileArrModal: string;
48
+ }>;
49
+ export type UpCreateIssueDtoType = z.infer<typeof UpCreateIssueDtoZod>;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpCreateIssueDtoZod = void 0;
4
+ const zod_1 = require("zod");
5
+ const utils_1 = require("../../utils");
6
+ exports.UpCreateIssueDtoZod = zod_1.z.object({
7
+ description: zod_1.z.string(),
8
+ dateUse: zod_1.z.string(),
9
+ normTime: zod_1.z.string(),
10
+ sourse: zod_1.z.string(),
11
+ srok: zod_1.z.string(),
12
+ status: zod_1.z.nativeEnum(utils_1.StatusIssue),
13
+ controllerList: zod_1.z.string(),
14
+ executorList: zod_1.z.string(),
15
+ izdList: zod_1.z.string(),
16
+ shopNeeds: zod_1.z.string(),
17
+ fileArrModal: zod_1.z.string(),
18
+ srok_control: zod_1.z.string(),
19
+ id: zod_1.z.number(),
20
+ name: zod_1.z.string()
21
+ });
@@ -0,0 +1,5 @@
1
+ export * from './schemas/issue.schema';
2
+ export * from './schemas/issue-user.schema';
3
+ export * from './schemas/issue-user-controller.schema';
4
+ export * from './interfaces/interface';
5
+ export * from './dto/up-create-issue.dto';
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./schemas/issue.schema"), exports);
18
+ __exportStar(require("./schemas/issue-user.schema"), exports);
19
+ __exportStar(require("./schemas/issue-user-controller.schema"), exports);
20
+ __exportStar(require("./interfaces/interface"), exports);
21
+ __exportStar(require("./dto/up-create-issue.dto"), exports);
@@ -0,0 +1,4 @@
1
+ export interface IIssueCreationAttrs {
2
+ name: string;
3
+ instans: number;
4
+ }
@@ -0,0 +1,15 @@
1
+ import { z } from 'zod';
2
+ export declare const issueUserControllerSchema: z.ZodObject<{
3
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4
+ issueId: z.ZodNumber;
5
+ userId: z.ZodNumber;
6
+ }, "strip", z.ZodTypeAny, {
7
+ userId: number;
8
+ issueId: number;
9
+ id?: number | null | undefined;
10
+ }, {
11
+ userId: number;
12
+ issueId: number;
13
+ id?: number | null | undefined;
14
+ }>;
15
+ export type ModelIssueUserController = z.infer<typeof issueUserControllerSchema>;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.issueUserControllerSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.issueUserControllerSchema = zod_1.z.object({
6
+ id: zod_1.z.number().nullish(),
7
+ issueId: zod_1.z.number().int().positive(),
8
+ userId: zod_1.z.number().int().positive()
9
+ });
@@ -0,0 +1,15 @@
1
+ import { z } from 'zod';
2
+ export declare const issueUserSchema: z.ZodObject<{
3
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4
+ issueId: z.ZodNumber;
5
+ userId: z.ZodNumber;
6
+ }, "strip", z.ZodTypeAny, {
7
+ userId: number;
8
+ issueId: number;
9
+ id?: number | null | undefined;
10
+ }, {
11
+ userId: number;
12
+ issueId: number;
13
+ id?: number | null | undefined;
14
+ }>;
15
+ export type ModelissueUser = z.infer<typeof issueUserSchema>;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.issueUserSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.issueUserSchema = zod_1.z.object({
6
+ id: zod_1.z.number().nullish(),
7
+ issueId: zod_1.z.number().int().positive(),
8
+ userId: zod_1.z.number().int().positive()
9
+ });
@@ -0,0 +1,51 @@
1
+ import { z } from 'zod';
2
+ export declare const IssueSchema: z.ZodObject<{
3
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4
+ name: z.ZodString;
5
+ description: z.ZodOptional<z.ZodString>;
6
+ dateUse: z.ZodOptional<z.ZodString>;
7
+ normTime: z.ZodOptional<z.ZodString>;
8
+ sourse: z.ZodOptional<z.ZodString>;
9
+ srok: z.ZodOptional<z.ZodString>;
10
+ status: z.ZodOptional<z.ZodString>;
11
+ controllerList: z.ZodOptional<z.ZodString>;
12
+ executorList: z.ZodOptional<z.ZodString>;
13
+ srok_control: z.ZodOptional<z.ZodString>;
14
+ izdList: z.ZodOptional<z.ZodString>;
15
+ shopNeeds: z.ZodOptional<z.ZodString>;
16
+ instans: z.ZodDefault<z.ZodNumber>;
17
+ responsibleUserId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
+ }, "strip", z.ZodTypeAny, {
19
+ name: string;
20
+ instans: number;
21
+ status?: string | undefined;
22
+ id?: number | null | undefined;
23
+ description?: string | undefined;
24
+ responsibleUserId?: number | null | undefined;
25
+ dateUse?: string | undefined;
26
+ normTime?: string | undefined;
27
+ sourse?: string | undefined;
28
+ srok?: string | undefined;
29
+ controllerList?: string | undefined;
30
+ executorList?: string | undefined;
31
+ srok_control?: string | undefined;
32
+ izdList?: string | undefined;
33
+ shopNeeds?: string | undefined;
34
+ }, {
35
+ name: string;
36
+ status?: string | undefined;
37
+ id?: number | null | undefined;
38
+ description?: string | undefined;
39
+ instans?: number | undefined;
40
+ responsibleUserId?: number | null | undefined;
41
+ dateUse?: string | undefined;
42
+ normTime?: string | undefined;
43
+ sourse?: string | undefined;
44
+ srok?: string | undefined;
45
+ controllerList?: string | undefined;
46
+ executorList?: string | undefined;
47
+ srok_control?: string | undefined;
48
+ izdList?: string | undefined;
49
+ shopNeeds?: string | undefined;
50
+ }>;
51
+ export type ModelIssue = z.infer<typeof IssueSchema>;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IssueSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.IssueSchema = zod_1.z.object({
6
+ id: zod_1.z.number().nullish(),
7
+ name: zod_1.z.string(),
8
+ description: zod_1.z.string().optional(),
9
+ dateUse: zod_1.z.string().optional(),
10
+ normTime: zod_1.z.string().optional(),
11
+ sourse: zod_1.z.string().optional(),
12
+ srok: zod_1.z.string().optional(),
13
+ status: zod_1.z.string().optional(),
14
+ controllerList: zod_1.z.string().optional(),
15
+ executorList: zod_1.z.string().optional(),
16
+ srok_control: zod_1.z.string().optional(),
17
+ izdList: zod_1.z.string().optional(),
18
+ shopNeeds: zod_1.z.string().optional(),
19
+ instans: zod_1.z.number().int().positive().default(1),
20
+ responsibleUserId: zod_1.z.number().nullish()
21
+ });
@@ -0,0 +1,12 @@
1
+ import { z } from 'zod';
2
+ export declare const CreateChapterDtoZod: z.ZodObject<{
3
+ name: z.ZodString;
4
+ id: z.ZodNumber;
5
+ }, "strip", z.ZodTypeAny, {
6
+ id: number;
7
+ name: string;
8
+ }, {
9
+ id: number;
10
+ name: string;
11
+ }>;
12
+ export type CreateChapterDtoType = z.infer<typeof CreateChapterDtoZod>;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateChapterDtoZod = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.CreateChapterDtoZod = zod_1.z.object({
6
+ name: zod_1.z.string(),
7
+ id: zod_1.z.number()
8
+ });
@@ -0,0 +1,30 @@
1
+ import { z } from 'zod';
2
+ export declare const CreateLinkDtoZod: z.ZodObject<{
3
+ name: z.ZodString;
4
+ is_link: z.ZodString;
5
+ link: z.ZodString;
6
+ description: z.ZodString;
7
+ docs: z.ZodAny;
8
+ user_id: z.ZodNumber;
9
+ chapter_id: z.ZodNumber;
10
+ id: z.ZodNumber;
11
+ }, "strip", z.ZodTypeAny, {
12
+ id: number;
13
+ name: string;
14
+ description: string;
15
+ user_id: number;
16
+ link: string;
17
+ is_link: string;
18
+ chapter_id: number;
19
+ docs?: any;
20
+ }, {
21
+ id: number;
22
+ name: string;
23
+ description: string;
24
+ user_id: number;
25
+ link: string;
26
+ is_link: string;
27
+ chapter_id: number;
28
+ docs?: any;
29
+ }>;
30
+ export type CreateLinkDtoType = z.infer<typeof CreateLinkDtoZod>;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateLinkDtoZod = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.CreateLinkDtoZod = zod_1.z.object({
6
+ name: zod_1.z.string(),
7
+ is_link: zod_1.z.string(),
8
+ link: zod_1.z.string(),
9
+ description: zod_1.z.string(),
10
+ docs: zod_1.z.any(),
11
+ user_id: zod_1.z.number(),
12
+ chapter_id: zod_1.z.number(),
13
+ id: zod_1.z.number()
14
+ });
@@ -0,0 +1,5 @@
1
+ export * from './schemas/links.schema';
2
+ export * from './schemas/links-user.schema';
3
+ export * from './interfaces/interface';
4
+ export * from './dto/create-chapter.dto';
5
+ export * from './dto/create-link.dto';
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./schemas/links.schema"), exports);
18
+ __exportStar(require("./schemas/links-user.schema"), exports);
19
+ __exportStar(require("./interfaces/interface"), exports);
20
+ __exportStar(require("./dto/create-chapter.dto"), exports);
21
+ __exportStar(require("./dto/create-link.dto"), exports);
@@ -0,0 +1,3 @@
1
+ export interface ILinksCreationAttrs {
2
+ name: string;
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,15 @@
1
+ import { z } from 'zod';
2
+ export declare const LinksUserSchema: z.ZodObject<{
3
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4
+ links_id: z.ZodNumber;
5
+ user_id: z.ZodNumber;
6
+ }, "strip", z.ZodTypeAny, {
7
+ user_id: number;
8
+ links_id: number;
9
+ id?: number | null | undefined;
10
+ }, {
11
+ user_id: number;
12
+ links_id: number;
13
+ id?: number | null | undefined;
14
+ }>;
15
+ export type ModelLinksUser = z.infer<typeof LinksUserSchema>;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LinksUserSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.LinksUserSchema = zod_1.z.object({
6
+ id: zod_1.z.number().nullish(),
7
+ links_id: zod_1.z.number().int().positive(),
8
+ user_id: zod_1.z.number().int().positive()
9
+ });
@@ -0,0 +1,30 @@
1
+ import { z } from 'zod';
2
+ export declare const LinksSchema: z.ZodObject<{
3
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4
+ name: z.ZodString;
5
+ link: z.ZodOptional<z.ZodString>;
6
+ is_link: z.ZodBoolean;
7
+ ban: z.ZodDefault<z.ZodBoolean>;
8
+ description: z.ZodOptional<z.ZodString>;
9
+ responsible_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10
+ chapter_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11
+ }, "strip", z.ZodTypeAny, {
12
+ ban: boolean;
13
+ name: string;
14
+ is_link: boolean;
15
+ id?: number | null | undefined;
16
+ description?: string | undefined;
17
+ responsible_id?: number | null | undefined;
18
+ link?: string | undefined;
19
+ chapter_id?: number | null | undefined;
20
+ }, {
21
+ name: string;
22
+ is_link: boolean;
23
+ ban?: boolean | undefined;
24
+ id?: number | null | undefined;
25
+ description?: string | undefined;
26
+ responsible_id?: number | null | undefined;
27
+ link?: string | undefined;
28
+ chapter_id?: number | null | undefined;
29
+ }>;
30
+ export type ModelLinks = z.infer<typeof LinksSchema>;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LinksSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.LinksSchema = zod_1.z.object({
6
+ id: zod_1.z.number().nullish(),
7
+ name: zod_1.z.string(),
8
+ link: zod_1.z.string().optional(),
9
+ is_link: zod_1.z.boolean(),
10
+ ban: zod_1.z.boolean().default(false),
11
+ description: zod_1.z.string().optional(),
12
+ responsible_id: zod_1.z.number().nullish(),
13
+ chapter_id: zod_1.z.number().nullish()
14
+ });