@kk-garden/shared 1.5.3 → 1.5.4

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.
@@ -120,6 +120,18 @@ export declare const GardenViewResponseSchema: z.ZodObject<{
120
120
  createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
121
121
  _id: z.ZodString;
122
122
  }, z.core.$strip>;
123
+ profile: z.ZodObject<{
124
+ displayName: z.ZodString;
125
+ bio: z.ZodOptional<z.ZodString>;
126
+ accent: z.ZodObject<{
127
+ customHex: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
128
+ effectiveHex: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
129
+ }, z.core.$strict>;
130
+ avatar: z.ZodNullable<z.ZodObject<{
131
+ url: z.ZodURL;
132
+ expiresAt: z.ZodISODateTime;
133
+ }, z.core.$strict>>;
134
+ }, z.core.$strict>;
123
135
  }, z.core.$strict>;
124
136
  export type GardenViewResponse = FromZod<typeof GardenViewResponseSchema>;
125
137
  //# sourceMappingURL=garden-view.schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"garden-view.schema.d.ts","sourceRoot":"","sources":["../../../../src/schemas/routes/garden/garden-view.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AAI9D,eAAO,MAAM,sBAAsB;;kBAIxB,CAAC;AAEZ,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAI1B,CAAC;AAEZ,MAAM,MAAM,kBAAkB,GAAG,OAAO,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
1
+ {"version":3,"file":"garden-view.schema.d.ts","sourceRoot":"","sources":["../../../../src/schemas/routes/garden/garden-view.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AAK9D,eAAO,MAAM,sBAAsB;;kBAIxB,CAAC;AAEZ,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAK1B,CAAC;AAEZ,MAAM,MAAM,kBAAkB,GAAG,OAAO,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  import { GardenShareGrantIdSchema } from '../../models/id.schemas.js';
3
3
  import { VisualisationDtoSchema } from '../../models/visualisation-dto.schema.js';
4
+ import { GardenProfileResponseSchema } from '../profile/profile-garden-view.schema.js';
4
5
  export const GardenViewParamsSchema = z
5
6
  .object({
6
7
  grantId: GardenShareGrantIdSchema,
@@ -9,6 +10,7 @@ export const GardenViewParamsSchema = z
9
10
  export const GardenViewResponseSchema = z
10
11
  .object({
11
12
  garden: VisualisationDtoSchema,
13
+ profile: GardenProfileResponseSchema,
12
14
  })
13
15
  .strict();
14
16
  //# sourceMappingURL=garden-view.schema.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"garden-view.schema.js","sourceRoot":"","sources":["../../../../src/schemas/routes/garden/garden-view.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EAAE,sBAAsB,EAAE,MAAM,0CAA0C,CAAC;AAElF,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC;KACpC,MAAM,CAAC;IACN,OAAO,EAAE,wBAAwB;CAClC,CAAC;KACD,MAAM,EAAE,CAAC;AAEZ,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC;KACtC,MAAM,CAAC;IACN,MAAM,EAAE,sBAAsB;CAC/B,CAAC;KACD,MAAM,EAAE,CAAC"}
1
+ {"version":3,"file":"garden-view.schema.js","sourceRoot":"","sources":["../../../../src/schemas/routes/garden/garden-view.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EAAE,sBAAsB,EAAE,MAAM,0CAA0C,CAAC;AAClF,OAAO,EAAE,2BAA2B,EAAE,MAAM,0CAA0C,CAAC;AAEvF,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC;KACpC,MAAM,CAAC;IACN,OAAO,EAAE,wBAAwB;CAClC,CAAC;KACD,MAAM,EAAE,CAAC;AAEZ,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC;KACtC,MAAM,CAAC;IACN,MAAM,EAAE,sBAAsB;IAC9B,OAAO,EAAE,2BAA2B;CACrC,CAAC;KACD,MAAM,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kk-garden/shared",
3
- "version": "1.5.3",
3
+ "version": "1.5.4",
4
4
  "description": "Kiryl Kartsialeu EN69783 diploma project shared package",
5
5
  "author": "Kiryl Kartsialeu",
6
6
  "type": "module",