@kk-garden/shared 1.4.9 → 1.5.0
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/schemas/models/visualisation-pending-dto.schema.d.ts +1 -0
- package/dist/schemas/models/visualisation-pending-dto.schema.d.ts.map +1 -1
- package/dist/schemas/models/visualisation-pending-dto.schema.js +2 -0
- package/dist/schemas/models/visualisation-pending-dto.schema.js.map +1 -1
- package/dist/schemas/routes/assign/assign-root.schema.d.ts +1 -2
- package/dist/schemas/routes/assign/assign-root.schema.d.ts.map +1 -1
- package/dist/schemas/routes/assign/assign-root.schema.js +5 -4
- package/dist/schemas/routes/assign/assign-root.schema.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +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;
|
|
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;AAIxB,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAKH,CAAC"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { UserIdSchema } from './id.schemas.js';
|
|
2
3
|
import { VisualisationDtoSchema } from './visualisation-dto.schema.js';
|
|
3
4
|
export const VisualisationPendingDtoSchema = z
|
|
4
5
|
.object({
|
|
5
6
|
pendingId: z.string(),
|
|
7
|
+
ownerId: UserIdSchema.min(1),
|
|
6
8
|
})
|
|
7
9
|
.extend(VisualisationDtoSchema.shape);
|
|
8
10
|
//# sourceMappingURL=visualisation-pending-dto.schema.js.map
|
|
@@ -1 +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;
|
|
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,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,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;IACrB,OAAO,EAAE,YAAY,CAAC,GAAG,CAAC,CAAC,CAAC;CAC7B,CAAC;KACD,MAAM,CAAC,sBAAsB,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -5,9 +5,8 @@ export declare const AssignRootResponseSchema: z.ZodObject<{
|
|
|
5
5
|
}, z.core.$strip>;
|
|
6
6
|
export declare const AssignRootRequestSchema: z.ZodObject<{
|
|
7
7
|
visualisationId: z.ZodString;
|
|
8
|
-
userId: z.ZodString;
|
|
9
8
|
pendingId: z.ZodOptional<z.ZodString>;
|
|
10
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$strict>;
|
|
11
10
|
export type AssignRootResponse = FromZod<typeof AssignRootResponseSchema>;
|
|
12
11
|
export type AssignRootRequest = FromZod<typeof AssignRootRequestSchema>;
|
|
13
12
|
//# sourceMappingURL=assign-root.schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assign-root.schema.d.ts","sourceRoot":"","sources":["../../../../src/schemas/routes/assign/assign-root.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;
|
|
1
|
+
{"version":3,"file":"assign-root.schema.d.ts","sourceRoot":"","sources":["../../../../src/schemas/routes/assign/assign-root.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AAM9D,eAAO,MAAM,wBAAwB;;iBAEnC,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;kBAKzB,CAAC;AAEZ,MAAM,MAAM,kBAAkB,GAAG,OAAO,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import {
|
|
2
|
+
import { VisualisationIdSchema, VisualisationPendingIdSchema, } from '../../models/id.schemas.js';
|
|
3
3
|
export const AssignRootResponseSchema = z.object({
|
|
4
4
|
success: z.boolean(),
|
|
5
5
|
});
|
|
6
|
-
export const AssignRootRequestSchema = z
|
|
6
|
+
export const AssignRootRequestSchema = z
|
|
7
|
+
.object({
|
|
7
8
|
visualisationId: VisualisationIdSchema,
|
|
8
|
-
userId: UserIdSchema,
|
|
9
9
|
pendingId: VisualisationPendingIdSchema.optional(),
|
|
10
|
-
})
|
|
10
|
+
})
|
|
11
|
+
.strict();
|
|
11
12
|
//# sourceMappingURL=assign-root.schema.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assign-root.schema.js","sourceRoot":"","sources":["../../../../src/schemas/routes/assign/assign-root.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"assign-root.schema.js","sourceRoot":"","sources":["../../../../src/schemas/routes/assign/assign-root.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,qBAAqB,EACrB,4BAA4B,GAC7B,MAAM,4BAA4B,CAAC;AAEpC,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/C,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE;CACrB,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC;KACrC,MAAM,CAAC;IACN,eAAe,EAAE,qBAAqB;IACtC,SAAS,EAAE,4BAA4B,CAAC,QAAQ,EAAE;CACnD,CAAC;KACD,MAAM,EAAE,CAAC"}
|