@kk-garden/shared 1.3.4 → 1.3.6

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.
@@ -1,4 +1,4 @@
1
- export { GridDrawerElementIdSchema, SignatureIdSchema, VisualisationIdSchema, UserIdSchema, OwnershipIdSchema, } from './models/id.schemas.js';
1
+ export { GridDrawerElementIdSchema, SignatureIdSchema, VisualisationIdSchema, VisualisationPendingIdSchema, UserIdSchema, OwnershipIdSchema, } from './models/id.schemas.js';
2
2
  export { ErrorSchema } from './errors/error.schema.js';
3
3
  export { AnimatedSpriteDtoSchema } from './models/animated-sprite-dto.schema.js';
4
4
  export { CoordinatesSchema, SizeMeasuresSchema, CellSchema, addId, addMongoId, } from './models/common.schemas.js';
@@ -12,6 +12,7 @@ export { GridConstantsDtoSchema } from './models/grid-constants-dto.schema.js';
12
12
  export { GardenGridConstantsDtoSchema } from './models/garden-grid-constants-dto.schema.js';
13
13
  export { GardenDrawDataDtoSchema } from './models/garden-draw-data-dto.schema.js';
14
14
  export { VisualisationDtoSchema } from './models/visualisation-dto.schema.js';
15
+ export { VisualisationPendingDtoSchema } from './models/visualisation-pending-dto.schema.js';
15
16
  export { UserSchema } from './models/user.schema.js';
16
17
  export { UserRoleSchema } from './models/user-role.schema.js';
17
18
  export { UserStatusSchema } from './models/user-status.schema.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,yBAAyB,EACzB,iBAAiB,EACjB,qBAAqB,EACrB,YAAY,EACZ,iBAAiB,GAClB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AACjF,OAAO,EACL,iBAAiB,EACjB,kBAAkB,EAClB,UAAU,EACV,KAAK,EACL,UAAU,GACX,MAAM,4BAA4B,CA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CAAwC,CAAC;AACjF,OAAO,EACL,iBAAiB,EACjB,kBAAkB,EAClB,UAAU,EACV,KAAK,EACL,UAAU,GACX,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,6BAA6B,EAC7B,uBAAuB,GACxB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AACzE,OAAO,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAC5E,OAAO,EAAE,wBAAwB,EAAE,MAAM,wCAAwC,CAAC;AAClF,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AACjF,OAAO,EAAE,2BAA2B,EAAE,MAAM,4CAA4C,CAAC;AACzF,OAAO,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAC/E,OAAO,EAAE,4BAA4B,EAAE,MAAM,8CAA8C,CAAC;AAC5F,OAAO,EAAE,uBAAuB,EAAE,MAAM,yCAAyC,CAAC;AAClF,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAC9E,OAAO,EAAE,6BAA6B,EAAE,MAAM,8CAA8C,CAAC;AAC7F,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAG/D,OAAO,EACL,0BAA0B,EAC1B,6BAA6B,GAC9B,MAAM,kCAAkC,CAAC;AAC1C,YAAY,EACV,oBAAoB,EACpB,uBAAuB,GACxB,MAAM,kCAAkC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  // model exports
2
- export { GridDrawerElementIdSchema, SignatureIdSchema, VisualisationIdSchema, UserIdSchema, OwnershipIdSchema, } from './models/id.schemas.js';
2
+ export { GridDrawerElementIdSchema, SignatureIdSchema, VisualisationIdSchema, VisualisationPendingIdSchema, UserIdSchema, OwnershipIdSchema, } from './models/id.schemas.js';
3
3
  export { ErrorSchema } from './errors/error.schema.js';
4
4
  export { AnimatedSpriteDtoSchema } from './models/animated-sprite-dto.schema.js';
5
5
  export { CoordinatesSchema, SizeMeasuresSchema, CellSchema, addId, addMongoId, } from './models/common.schemas.js';
@@ -13,6 +13,7 @@ export { GridConstantsDtoSchema } from './models/grid-constants-dto.schema.js';
13
13
  export { GardenGridConstantsDtoSchema } from './models/garden-grid-constants-dto.schema.js';
14
14
  export { GardenDrawDataDtoSchema } from './models/garden-draw-data-dto.schema.js';
15
15
  export { VisualisationDtoSchema } from './models/visualisation-dto.schema.js';
16
+ export { VisualisationPendingDtoSchema } from './models/visualisation-pending-dto.schema.js';
16
17
  export { UserSchema } from './models/user.schema.js';
17
18
  export { UserRoleSchema } from './models/user-role.schema.js';
18
19
  export { UserStatusSchema } from './models/user-status.schema.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,gBAAgB;AAChB,OAAO,EACL,yBAAyB,EACzB,iBAAiB,EACjB,qBAAqB,EACrB,YAAY,EACZ,iBAAiB,GAClB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AACjF,OAAO,EACL,iBAAiB,EACjB,kBAAkB,EAClB,UAAU,EACV,KAAK,EACL,UAAU,GACX,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,6BAA6B,EAC7B,uBAAuB,GACxB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AACzE,OAAO,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAC5E,OAAO,EAAE,wBAAwB,EAA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,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAC5E,OAAO,EAAE,wBAAwB,EAAE,MAAM,wCAAwC,CAAC;AAClF,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AACjF,OAAO,EAAE,2BAA2B,EAAE,MAAM,4CAA4C,CAAC;AACzF,OAAO,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAC/E,OAAO,EAAE,4BAA4B,EAAE,MAAM,8CAA8C,CAAC;AAC5F,OAAO,EAAE,uBAAuB,EAAE,MAAM,yCAAyC,CAAC;AAClF,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAC9E,OAAO,EAAE,6BAA6B,EAAE,MAAM,8CAA8C,CAAC;AAC7F,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAE/D,gBAAgB;AAChB,OAAO,EACL,0BAA0B,EAC1B,6BAA6B,GAC9B,MAAM,kCAAkC,CAAC"}
@@ -2,6 +2,7 @@ import { z } from 'zod';
2
2
  export declare const GridDrawerElementIdSchema: z.ZodString;
3
3
  export declare const SignatureIdSchema: z.ZodString;
4
4
  export declare const VisualisationIdSchema: z.ZodString;
5
+ export declare const VisualisationPendingIdSchema: z.ZodString;
5
6
  export declare const UserIdSchema: z.ZodString;
6
7
  export declare const OwnershipIdSchema: z.ZodString;
7
8
  //# sourceMappingURL=id.schemas.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"id.schemas.d.ts","sourceRoot":"","sources":["../../../src/schemas/models/id.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,yBAAyB,aAAa,CAAC;AAEpD,eAAO,MAAM,iBAAiB,aAAa,CAAC;AAE5C,eAAO,MAAM,qBAAqB,aAAa,CAAC;AAEhD,eAAO,MAAM,YAAY,aAAa,CAAC;AAEvC,eAAO,MAAM,iBAAiB,aAAa,CAAC"}
1
+ {"version":3,"file":"id.schemas.d.ts","sourceRoot":"","sources":["../../../src/schemas/models/id.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,yBAAyB,aAAa,CAAC;AAEpD,eAAO,MAAM,iBAAiB,aAAa,CAAC;AAE5C,eAAO,MAAM,qBAAqB,aAAa,CAAC;AAEhD,eAAO,MAAM,4BAA4B,aAAa,CAAC;AAEvD,eAAO,MAAM,YAAY,aAAa,CAAC;AAEvC,eAAO,MAAM,iBAAiB,aAAa,CAAC"}
@@ -2,6 +2,7 @@ import { z } from 'zod';
2
2
  export const GridDrawerElementIdSchema = z.string();
3
3
  export const SignatureIdSchema = z.string();
4
4
  export const VisualisationIdSchema = z.string();
5
+ export const VisualisationPendingIdSchema = z.string();
5
6
  export const UserIdSchema = z.string();
6
7
  export const OwnershipIdSchema = z.string();
7
8
  //# sourceMappingURL=id.schemas.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"id.schemas.js","sourceRoot":"","sources":["../../../src/schemas/models/id.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC;AAEpD,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC;AAE5C,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC;AAEhD,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC;AAEvC,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC"}
1
+ {"version":3,"file":"id.schemas.js","sourceRoot":"","sources":["../../../src/schemas/models/id.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC;AAEpD,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC;AAE5C,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC;AAEhD,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC;AAEvD,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC;AAEvC,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC"}
@@ -0,0 +1,119 @@
1
+ import { z } from 'zod';
2
+ export declare const VisualisationPendingDtoSchema: z.ZodObject<{
3
+ pendingId: z.ZodString;
4
+ data: z.ZodObject<{
5
+ staticData: z.ZodObject<{
6
+ tiles: z.ZodArray<z.ZodObject<{
7
+ spritesheetPath: z.ZodEnum<{
8
+ "animation-spritesheet": "animation-spritesheet";
9
+ "decorations-spritesheet": "decorations-spritesheet";
10
+ "stones-spritesheet": "stones-spritesheet";
11
+ "tiles-spritesheet": "tiles-spritesheet";
12
+ }>;
13
+ element: z.ZodObject<{
14
+ density: z.ZodOptional<z.ZodNumber>;
15
+ x: z.ZodNumber;
16
+ y: z.ZodNumber;
17
+ width: z.ZodNumber;
18
+ height: z.ZodNumber;
19
+ }, z.core.$strip>;
20
+ cell: z.ZodObject<{
21
+ row: z.ZodNumber;
22
+ column: z.ZodNumber;
23
+ }, z.core.$strip>;
24
+ innerCoordinates: z.ZodOptional<z.ZodObject<{
25
+ x: z.ZodNumber;
26
+ y: z.ZodNumber;
27
+ }, z.core.$strip>>;
28
+ sizes: z.ZodOptional<z.ZodObject<{
29
+ width: z.ZodNumber;
30
+ height: z.ZodNumber;
31
+ }, z.core.$strip>>;
32
+ index: z.ZodNumber;
33
+ id: z.ZodString;
34
+ }, z.core.$strip>>;
35
+ stones: z.ZodArray<z.ZodObject<{
36
+ spritesheetPath: z.ZodEnum<{
37
+ "animation-spritesheet": "animation-spritesheet";
38
+ "decorations-spritesheet": "decorations-spritesheet";
39
+ "stones-spritesheet": "stones-spritesheet";
40
+ "tiles-spritesheet": "tiles-spritesheet";
41
+ }>;
42
+ element: z.ZodObject<{
43
+ density: z.ZodOptional<z.ZodNumber>;
44
+ x: z.ZodNumber;
45
+ y: z.ZodNumber;
46
+ width: z.ZodNumber;
47
+ height: z.ZodNumber;
48
+ }, z.core.$strip>;
49
+ cell: z.ZodObject<{
50
+ row: z.ZodNumber;
51
+ column: z.ZodNumber;
52
+ }, z.core.$strip>;
53
+ innerCoordinates: z.ZodOptional<z.ZodObject<{
54
+ x: z.ZodNumber;
55
+ y: z.ZodNumber;
56
+ }, z.core.$strip>>;
57
+ sizes: z.ZodOptional<z.ZodObject<{
58
+ width: z.ZodNumber;
59
+ height: z.ZodNumber;
60
+ }, z.core.$strip>>;
61
+ index: z.ZodNumber;
62
+ id: z.ZodString;
63
+ }, z.core.$strip>>;
64
+ }, z.core.$strip>;
65
+ animatedData: z.ZodObject<{
66
+ spritesheetSets: z.ZodRecord<z.ZodString, z.ZodObject<{
67
+ key: z.ZodString;
68
+ path: z.ZodEnum<{
69
+ "animation-spritesheet": "animation-spritesheet";
70
+ "decorations-spritesheet": "decorations-spritesheet";
71
+ "stones-spritesheet": "stones-spritesheet";
72
+ "tiles-spritesheet": "tiles-spritesheet";
73
+ }>;
74
+ map: z.ZodRecord<z.ZodString, z.ZodObject<{
75
+ density: z.ZodOptional<z.ZodNumber>;
76
+ x: z.ZodNumber;
77
+ y: z.ZodNumber;
78
+ width: z.ZodNumber;
79
+ height: z.ZodNumber;
80
+ }, z.core.$strip>>;
81
+ }, z.core.$strip>>;
82
+ trees: z.ZodArray<z.ZodObject<{
83
+ sprite: z.ZodObject<{
84
+ key: z.ZodString;
85
+ fps: z.ZodNumber;
86
+ animation: z.ZodArray<z.ZodString>;
87
+ framesReference: z.ZodString;
88
+ }, z.core.$strip>;
89
+ cell: z.ZodObject<{
90
+ row: z.ZodNumber;
91
+ column: z.ZodNumber;
92
+ }, z.core.$strip>;
93
+ coordinates: z.ZodOptional<z.ZodObject<{
94
+ x: z.ZodNumber;
95
+ y: z.ZodNumber;
96
+ }, z.core.$strip>>;
97
+ }, z.core.$strip>>;
98
+ bushes: z.ZodArray<z.ZodObject<{
99
+ sprite: z.ZodObject<{
100
+ key: z.ZodString;
101
+ fps: z.ZodNumber;
102
+ animation: z.ZodArray<z.ZodString>;
103
+ framesReference: z.ZodString;
104
+ }, z.core.$strip>;
105
+ cell: z.ZodObject<{
106
+ row: z.ZodNumber;
107
+ column: z.ZodNumber;
108
+ }, z.core.$strip>;
109
+ coordinates: z.ZodOptional<z.ZodObject<{
110
+ x: z.ZodNumber;
111
+ y: z.ZodNumber;
112
+ }, z.core.$strip>>;
113
+ }, z.core.$strip>>;
114
+ }, z.core.$strip>;
115
+ }, z.core.$strip>;
116
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
117
+ _id: z.ZodString;
118
+ }, z.core.$strip>;
119
+ //# sourceMappingURL=visualisation-pending-dto.schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"visualisation-pending-dto.schema.d.ts","sourceRoot":"","sources":["../../../src/schemas/models/visualisation-pending-dto.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAIH,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { z } from 'zod';
2
+ import { VisualisationDtoSchema } from './visualisation-dto.schema.js';
3
+ export const VisualisationPendingDtoSchema = z
4
+ .object({
5
+ pendingId: z.string(),
6
+ })
7
+ .extend(VisualisationDtoSchema.shape);
8
+ //# sourceMappingURL=visualisation-pending-dto.schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"visualisation-pending-dto.schema.js","sourceRoot":"","sources":["../../../src/schemas/models/visualisation-pending-dto.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAEvE,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC;KAC3C,MAAM,CAAC;IACN,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;CACtB,CAAC;KACD,MAAM,CAAC,sBAAsB,CAAC,KAAK,CAAC,CAAC"}
@@ -125,9 +125,11 @@ export declare const GenerateRootResponseSchema: z.ZodObject<{
125
125
  }, z.core.$strip>>;
126
126
  }, z.core.$strip>;
127
127
  }, z.core.$strip>>;
128
+ pendingId: z.ZodOptional<z.ZodString>;
128
129
  }, z.core.$strip>;
129
130
  export declare const GenerateRootQueryStringSchema: z.ZodObject<{
130
131
  count: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
132
+ pendingId: z.ZodOptional<z.ZodString>;
131
133
  }, z.core.$strip>;
132
134
  export type GenerateRootResponse = FromZod<typeof GenerateRootResponseSchema>;
133
135
  export type GenerateRootQueryString = FromZod<typeof GenerateRootQueryStringSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"generate-root.schema.d.ts","sourceRoot":"","sources":["../../../src/schemas/routes/generate-root.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAI3D,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAGrC,CAAC;AAEH,eAAO,MAAM,6BAA6B;;iBAExC,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAC9E,MAAM,MAAM,uBAAuB,GAAG,OAAO,CAC3C,OAAO,6BAA6B,CACrC,CAAC"}
1
+ {"version":3,"file":"generate-root.schema.d.ts","sourceRoot":"","sources":["../../../src/schemas/routes/generate-root.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAI3D,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAIrC,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;iBAGxC,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAC9E,MAAM,MAAM,uBAAuB,GAAG,OAAO,CAC3C,OAAO,6BAA6B,CACrC,CAAC"}
@@ -4,8 +4,10 @@ import { GardenDrawDataDtoSchema } from '../models/garden-draw-data-dto.schema.j
4
4
  export const GenerateRootResponseSchema = z.object({
5
5
  constants: GardenGridConstantsDtoSchema,
6
6
  generations: z.array(GardenDrawDataDtoSchema),
7
+ pendingId: z.string().optional(),
7
8
  });
8
9
  export const GenerateRootQueryStringSchema = z.object({
9
10
  count: z.coerce.number().optional().default(3),
11
+ pendingId: z.string().optional(),
10
12
  });
11
13
  //# sourceMappingURL=generate-root.schema.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"generate-root.schema.js","sourceRoot":"","sources":["../../../src/schemas/routes/generate-root.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,4BAA4B,EAAE,MAAM,+CAA+C,CAAC;AAC7F,OAAO,EAAE,uBAAuB,EAAE,MAAM,0CAA0C,CAAC;AAEnF,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC;IACjD,SAAS,EAAE,4BAA4B;IACvC,WAAW,EAAE,CAAC,CAAC,KAAK,CAAC,uBAAuB,CAAC;CAC9C,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,CAAC,MAAM,CAAC;IACpD,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;CAC/C,CAAC,CAAC"}
1
+ {"version":3,"file":"generate-root.schema.js","sourceRoot":"","sources":["../../../src/schemas/routes/generate-root.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,4BAA4B,EAAE,MAAM,+CAA+C,CAAC;AAC7F,OAAO,EAAE,uBAAuB,EAAE,MAAM,0CAA0C,CAAC;AAEnF,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC;IACjD,SAAS,EAAE,4BAA4B;IACvC,WAAW,EAAE,CAAC,CAAC,KAAK,CAAC,uBAAuB,CAAC;IAC7C,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACjC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,CAAC,MAAM,CAAC;IACpD,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IAC9C,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACjC,CAAC,CAAC"}
@@ -1,9 +1,9 @@
1
1
  import { z } from 'zod';
2
- import type { GridDrawerElementIdSchema, SignatureIdSchema, UserIdSchema, VisualisationIdSchema } from '../schemas/index.js';
3
- import type { OwnershipIdSchema } from '../schemas/models/id.schemas.js';
2
+ import type { GridDrawerElementIdSchema, SignatureIdSchema, UserIdSchema, VisualisationIdSchema, OwnershipIdSchema, VisualisationPendingIdSchema } from '../schemas/index.js';
4
3
  export type GridDrawerElementId = z.infer<typeof GridDrawerElementIdSchema>;
5
4
  export type SignatureId = z.infer<typeof SignatureIdSchema>;
6
5
  export type VisualisationId = z.infer<typeof VisualisationIdSchema>;
6
+ export type VisualisationPendingId = z.infer<typeof VisualisationPendingIdSchema>;
7
7
  export type UserId = z.infer<typeof UserIdSchema>;
8
8
  export type OwnershipId = z.infer<typeof OwnershipIdSchema>;
9
9
  //# sourceMappingURL=id.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"id.types.d.ts","sourceRoot":"","sources":["../../src/types/id.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EACV,yBAAyB,EACzB,iBAAiB,EACjB,YAAY,EACZ,qBAAqB,EACtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAEzE,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE5E,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpE,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAElD,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
1
+ {"version":3,"file":"id.types.d.ts","sourceRoot":"","sources":["../../src/types/id.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EACV,yBAAyB,EACzB,iBAAiB,EACjB,YAAY,EACZ,qBAAqB,EACrB,iBAAiB,EACjB,4BAA4B,EAC7B,MAAM,qBAAqB,CAAC;AAE7B,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE5E,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpE,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAC1C,OAAO,4BAA4B,CACpC,CAAC;AAEF,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAElD,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
@@ -12,6 +12,7 @@ export { userRoles, userStatuses } from './user.types.js';
12
12
  export type { User, UserRole, UserStatus } from './user.types.js';
13
13
  export type { TransformerType, TransformerAdditionalProps, } from './transformer.types.js';
14
14
  export type { VisualisationDto } from './visualisation.types.js';
15
+ export type { VisualisationPendingDto } from './visualisation-pending.types.js';
15
16
  export type { Signature } from './signature.types.js';
16
17
  export type { Ownership } from './ownership.types.js';
17
18
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.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AAsB,CAAC;AACtD,YAAY,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,mBAAmB,EACnB,WAAW,EACX,eAAe,EACf,MAAM,EACN,WAAW,GACZ,MAAM,eAAe,CAAC;AACvB,YAAY,EACV,kBAAkB,EAClB,UAAU,EACV,qBAAqB,EACrB,uBAAuB,EACvB,iBAAiB,EACjB,aAAa,GACd,MAAM,4BAA4B,CAAC;AACpC,YAAY,EACV,QAAQ,EACR,WAAW,EACX,MAAM,EACN,WAAW,EACX,IAAI,EACJ,IAAI,EACJ,YAAY,EACZ,SAAS,EACT,OAAO,GACR,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,YAAY,EACV,cAAc,EACd,mBAAmB,EACnB,gBAAgB,EAChB,iBAAiB,EACjB,iBAAiB,GAClB,MAAM,wBAAwB,CAAC;AAChC,YAAY,EAAE,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAChF,YAAY,EACV,kBAAkB,EAClB,iBAAiB,EACjB,eAAe,EACf,eAAe,EACf,iBAAiB,EACjB,iBAAiB,EACjB,qBAAqB,GACtB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AACrE,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAChE,YAAY,EACV,gBAAgB,EAChB,sBAAsB,GACvB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC1D,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAClE,YAAY,EACV,eAAe,EACf,0BAA0B,GAC3B,MAAM,wBAAwB,CAAC;AAChC,YAAY,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AACjE,YAAY,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAChF,YAAY,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACtD,YAAY,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { FromZod } from './common.types.js';
2
+ import { VisualisationPendingDtoSchema } from '../schemas/index.js';
3
+ export type VisualisationPendingDto = FromZod<typeof VisualisationPendingDtoSchema>;
4
+ //# sourceMappingURL=visualisation-pending.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"visualisation-pending.types.d.ts","sourceRoot":"","sources":["../../src/types/visualisation-pending.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,6BAA6B,EAAE,MAAM,qBAAqB,CAAC;AAEpE,MAAM,MAAM,uBAAuB,GAAG,OAAO,CAC3C,OAAO,6BAA6B,CACrC,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { VisualisationPendingDtoSchema } from '../schemas/index.js';
2
+ //# sourceMappingURL=visualisation-pending.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"visualisation-pending.types.js","sourceRoot":"","sources":["../../src/types/visualisation-pending.types.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,6BAA6B,EAAE,MAAM,qBAAqB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kk-garden/shared",
3
- "version": "1.3.4",
3
+ "version": "1.3.6",
4
4
  "description": "Kiryl Kartsialeu EN69783 diploma project shared package",
5
5
  "author": "Kiryl Kartsialeu",
6
6
  "type": "module",