@kk-garden/shared 1.5.1 → 1.5.3

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 (48) hide show
  1. package/dist/schemas/index.d.ts +12 -4
  2. package/dist/schemas/index.d.ts.map +1 -1
  3. package/dist/schemas/index.js +7 -3
  4. package/dist/schemas/index.js.map +1 -1
  5. package/dist/schemas/models/garden-share-grant.schema.d.ts +10 -0
  6. package/dist/schemas/models/garden-share-grant.schema.d.ts.map +1 -0
  7. package/dist/schemas/models/garden-share-grant.schema.js +11 -0
  8. package/dist/schemas/models/garden-share-grant.schema.js.map +1 -0
  9. package/dist/schemas/models/garden-share-request.schema.d.ts +10 -0
  10. package/dist/schemas/models/garden-share-request.schema.d.ts.map +1 -0
  11. package/dist/schemas/models/garden-share-request.schema.js +11 -0
  12. package/dist/schemas/models/garden-share-request.schema.js.map +1 -0
  13. package/dist/schemas/models/id.schemas.d.ts +2 -0
  14. package/dist/schemas/models/id.schemas.d.ts.map +1 -1
  15. package/dist/schemas/models/id.schemas.js +2 -0
  16. package/dist/schemas/models/id.schemas.js.map +1 -1
  17. package/dist/schemas/models/profile.schema.d.ts +2 -0
  18. package/dist/schemas/models/profile.schema.d.ts.map +1 -1
  19. package/dist/schemas/models/profile.schema.js +6 -0
  20. package/dist/schemas/models/profile.schema.js.map +1 -1
  21. package/dist/schemas/routes/garden/garden-view.schema.d.ts +125 -0
  22. package/dist/schemas/routes/garden/garden-view.schema.d.ts.map +1 -0
  23. package/dist/schemas/routes/garden/garden-view.schema.js +14 -0
  24. package/dist/schemas/routes/garden/garden-view.schema.js.map +1 -0
  25. package/dist/schemas/routes/profile/profile-get.schema.d.ts +2 -0
  26. package/dist/schemas/routes/profile/profile-get.schema.d.ts.map +1 -1
  27. package/dist/schemas/routes/profile/profile-get.schema.js +3 -1
  28. package/dist/schemas/routes/profile/profile-get.schema.js.map +1 -1
  29. package/dist/schemas/routes/profile/profile-lookup-card.schema.d.ts +4 -0
  30. package/dist/schemas/routes/profile/profile-lookup-card.schema.d.ts.map +1 -1
  31. package/dist/schemas/routes/profile/profile-lookup-card.schema.js +6 -1
  32. package/dist/schemas/routes/profile/profile-lookup-card.schema.js.map +1 -1
  33. package/dist/schemas/routes/profile/profile-update.schema.d.ts +2 -0
  34. package/dist/schemas/routes/profile/profile-update.schema.d.ts.map +1 -1
  35. package/dist/schemas/routes/sharing/garden-sharing.schema.d.ts +54 -0
  36. package/dist/schemas/routes/sharing/garden-sharing.schema.d.ts.map +1 -0
  37. package/dist/schemas/routes/sharing/garden-sharing.schema.js +49 -0
  38. package/dist/schemas/routes/sharing/garden-sharing.schema.js.map +1 -0
  39. package/dist/types/garden-sharing.types.d.ts +5 -0
  40. package/dist/types/garden-sharing.types.d.ts.map +1 -0
  41. package/dist/types/garden-sharing.types.js +2 -0
  42. package/dist/types/garden-sharing.types.js.map +1 -0
  43. package/dist/types/id.types.d.ts +3 -1
  44. package/dist/types/id.types.d.ts.map +1 -1
  45. package/dist/types/index.d.ts +2 -1
  46. package/dist/types/index.d.ts.map +1 -1
  47. package/dist/types/index.js.map +1 -1
  48. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- export { GridDrawerElementIdSchema, SignatureIdSchema, VisualisationIdSchema, VisualisationPendingIdSchema, UserIdSchema, OwnershipIdSchema, ProfileAvatarUploadIdSchema, AvatarCleanupJobIdSchema, } from './models/id.schemas.js';
1
+ export { GridDrawerElementIdSchema, SignatureIdSchema, VisualisationIdSchema, VisualisationPendingIdSchema, UserIdSchema, OwnershipIdSchema, ProfileAvatarUploadIdSchema, AvatarCleanupJobIdSchema, GardenShareRequestIdSchema, GardenShareGrantIdSchema, } 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';
@@ -16,7 +16,7 @@ export { VisualisationPendingDtoSchema } from './models/visualisation-pending-dt
16
16
  export { UserSchema } from './models/user.schema.js';
17
17
  export { UserRoleSchema } from './models/user-role.schema.js';
18
18
  export { UserStatusSchema } from './models/user-status.schema.js';
19
- export { ProfileSchema, ProfileDisplayNameSchema, ProfileBioSchema, ProfileAccentHexSchema, ProfileAvatarObjectKeySchema, } from './models/profile.schema.js';
19
+ export { ProfileSchema, ProfileDisplayNameSchema, ProfileBioSchema, ProfileAccentHexSchema, ProfileAvatarObjectKeySchema, ProfileLookupCodeSchema, } from './models/profile.schema.js';
20
20
  export { ProfileAccentProjectionSchema } from './models/profile-accent-projection.schema.js';
21
21
  export { ProfileAvatarDeliverySchema } from './models/profile-avatar-delivery.schema.js';
22
22
  export { AvatarWorkTimestampSchema, AvatarStagingObjectKeySchema, AvatarFinalObjectKeySchema, AvatarWorkClaimSchema, AvatarWorkFailureSchema, } from './models/avatar-work.schema.js';
@@ -24,12 +24,16 @@ export { ProfileAvatarUploadResultSchema, ProfileAvatarUploadSessionSchema, } fr
24
24
  export { AvatarCleanupTargetSchema, AvatarCleanupJobSchema, } from './models/avatar-cleanup-job.schema.js';
25
25
  export { SignatureSchema } from './models/signature.schema.js';
26
26
  export { OwnershipSchema } from './models/ownership.schema.js';
27
+ export { GardenShareRequestSchema } from './models/garden-share-request.schema.js';
28
+ export { GardenShareGrantSchema } from './models/garden-share-grant.schema.js';
29
+ export type { GardenShareRequest } from './models/garden-share-request.schema.js';
30
+ export type { GardenShareGrant } from './models/garden-share-grant.schema.js';
27
31
  export { ProfileOwnerResponseSchema } from './routes/profile/profile-get.schema.js';
28
32
  export type { ProfileOwnerResponse } from './routes/profile/profile-get.schema.js';
29
33
  export { ProfileUpdateRequestSchema, ProfileUpdateResponseSchema, } from './routes/profile/profile-update.schema.js';
30
34
  export type { ProfileUpdateRequest, ProfileUpdateResponse, } from './routes/profile/profile-update.schema.js';
31
- export { ProfileLookupCardResponseSchema } from './routes/profile/profile-lookup-card.schema.js';
32
- export type { ProfileLookupCardResponse } from './routes/profile/profile-lookup-card.schema.js';
35
+ export { ProfileLookupCardRequestSchema, ProfileLookupCardResponseSchema, } from './routes/profile/profile-lookup-card.schema.js';
36
+ export type { ProfileLookupCardRequest, ProfileLookupCardResponse, } from './routes/profile/profile-lookup-card.schema.js';
33
37
  export { GardenProfileResponseSchema } from './routes/profile/profile-garden-view.schema.js';
34
38
  export type { GardenProfileResponse } from './routes/profile/profile-garden-view.schema.js';
35
39
  export { ProfileAvatarUploadRequestSchema, ProfileAvatarUploadResponseSchema, } from './routes/profile/profile-avatar-upload.schema.js';
@@ -38,6 +42,10 @@ export { ProfileAvatarFinalizeRequestSchema, ProfileAvatarFinalizeResponseSchema
38
42
  export type { ProfileAvatarFinalizeRequest, ProfileAvatarFinalizeResponse, } from './routes/profile/profile-avatar-finalize.schema.js';
39
43
  export { ProfileAvatarDeleteResponseSchema } from './routes/profile/profile-avatar-delete.schema.js';
40
44
  export type { ProfileAvatarDeleteResponse } from './routes/profile/profile-avatar-delete.schema.js';
45
+ export { GardenShareDirectionSchema, CreateGardenShareRequestSchema, GardenShareRequestIdParamsSchema, GardenShareGrantIdParamsSchema, GardenShareListQuerySchema, GardenShareListEntrySchema, GardenShareListResponseSchema, CreateGardenShareRequestResponseSchema, GardenShareActionResponseSchema, } from './routes/sharing/garden-sharing.schema.js';
46
+ export type { CreateGardenShareRequest, GardenShareDirection, GardenShareListEntry, GardenShareListResponse, CreateGardenShareRequestResponse, GardenShareActionResponse, } from './routes/sharing/garden-sharing.schema.js';
47
+ export { GardenViewParamsSchema, GardenViewResponseSchema, } from './routes/garden/garden-view.schema.js';
48
+ export type { GardenViewResponse } from './routes/garden/garden-view.schema.js';
41
49
  export { DeleteAccountRequestSchema, DeleteAccountResponseSchema, } from './routes/account/delete-account.schema.js';
42
50
  export type { DeleteAccountRequest, DeleteAccountResponse, } from './routes/account/delete-account.schema.js';
43
51
  export { OwnershipVerificationPointSchema } from './models/ownership-verification-point.schema.js';
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AAC;AAE/C,OAAO,EACL,0BAA0B,EAC1B,yBAAyB,GAC1B,MAAM,yCAAyC,CAAC;AACjD,YAAY,EACV,oBAAoB,EACpB,mBAAmB,GACpB,MAAM,yCAAyC,CAAC;AAEjD,OAAO,EACL,wBAAwB,EACxB,uBAAuB,GACxB,MAAM,uCAAuC,CAAC;AAC/C,YAAY,EACV,kBAAkB,EAClB,iBAAiB,GAClB,MAAM,uCAAuC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  // model exports
2
- export { GridDrawerElementIdSchema, SignatureIdSchema, VisualisationIdSchema, VisualisationPendingIdSchema, UserIdSchema, OwnershipIdSchema, ProfileAvatarUploadIdSchema, AvatarCleanupJobIdSchema, } from './models/id.schemas.js';
2
+ export { GridDrawerElementIdSchema, SignatureIdSchema, VisualisationIdSchema, VisualisationPendingIdSchema, UserIdSchema, OwnershipIdSchema, ProfileAvatarUploadIdSchema, AvatarCleanupJobIdSchema, GardenShareRequestIdSchema, GardenShareGrantIdSchema, } 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';
@@ -17,7 +17,7 @@ export { VisualisationPendingDtoSchema } from './models/visualisation-pending-dt
17
17
  export { UserSchema } from './models/user.schema.js';
18
18
  export { UserRoleSchema } from './models/user-role.schema.js';
19
19
  export { UserStatusSchema } from './models/user-status.schema.js';
20
- export { ProfileSchema, ProfileDisplayNameSchema, ProfileBioSchema, ProfileAccentHexSchema, ProfileAvatarObjectKeySchema, } from './models/profile.schema.js';
20
+ export { ProfileSchema, ProfileDisplayNameSchema, ProfileBioSchema, ProfileAccentHexSchema, ProfileAvatarObjectKeySchema, ProfileLookupCodeSchema, } from './models/profile.schema.js';
21
21
  export { ProfileAccentProjectionSchema } from './models/profile-accent-projection.schema.js';
22
22
  export { ProfileAvatarDeliverySchema } from './models/profile-avatar-delivery.schema.js';
23
23
  export { AvatarWorkTimestampSchema, AvatarStagingObjectKeySchema, AvatarFinalObjectKeySchema, AvatarWorkClaimSchema, AvatarWorkFailureSchema, } from './models/avatar-work.schema.js';
@@ -25,13 +25,17 @@ export { ProfileAvatarUploadResultSchema, ProfileAvatarUploadSessionSchema, } fr
25
25
  export { AvatarCleanupTargetSchema, AvatarCleanupJobSchema, } from './models/avatar-cleanup-job.schema.js';
26
26
  export { SignatureSchema } from './models/signature.schema.js';
27
27
  export { OwnershipSchema } from './models/ownership.schema.js';
28
+ export { GardenShareRequestSchema } from './models/garden-share-request.schema.js';
29
+ export { GardenShareGrantSchema } from './models/garden-share-grant.schema.js';
28
30
  export { ProfileOwnerResponseSchema } from './routes/profile/profile-get.schema.js';
29
31
  export { ProfileUpdateRequestSchema, ProfileUpdateResponseSchema, } from './routes/profile/profile-update.schema.js';
30
- export { ProfileLookupCardResponseSchema } from './routes/profile/profile-lookup-card.schema.js';
32
+ export { ProfileLookupCardRequestSchema, ProfileLookupCardResponseSchema, } from './routes/profile/profile-lookup-card.schema.js';
31
33
  export { GardenProfileResponseSchema } from './routes/profile/profile-garden-view.schema.js';
32
34
  export { ProfileAvatarUploadRequestSchema, ProfileAvatarUploadResponseSchema, } from './routes/profile/profile-avatar-upload.schema.js';
33
35
  export { ProfileAvatarFinalizeRequestSchema, ProfileAvatarFinalizeResponseSchema, } from './routes/profile/profile-avatar-finalize.schema.js';
34
36
  export { ProfileAvatarDeleteResponseSchema } from './routes/profile/profile-avatar-delete.schema.js';
37
+ export { GardenShareDirectionSchema, CreateGardenShareRequestSchema, GardenShareRequestIdParamsSchema, GardenShareGrantIdParamsSchema, GardenShareListQuerySchema, GardenShareListEntrySchema, GardenShareListResponseSchema, CreateGardenShareRequestResponseSchema, GardenShareActionResponseSchema, } from './routes/sharing/garden-sharing.schema.js';
38
+ export { GardenViewParamsSchema, GardenViewResponseSchema, } from './routes/garden/garden-view.schema.js';
35
39
  export { DeleteAccountRequestSchema, DeleteAccountResponseSchema, } from './routes/account/delete-account.schema.js';
36
40
  // verification schemas
37
41
  export { OwnershipVerificationPointSchema } from './models/ownership-verification-point.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,4BAA4B,EAC5B,YAAY,EACZ,iBAAiB,EACjB,2BAA2B,EAC3B,wBAAwB,GACzB,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,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,O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EAAE,MAAM,gDAAgD,CAAC;AAE7F,OAAO,EACL,gCAAgC,EAChC,iCAAiC,GAClC,MAAM,kDAAkD,CAAC;AAK1D,OAAO,EACL,kCAAkC,EAClC,mCAAmC,GACpC,MAAM,oDAAoD,CAAC;AAK5D,OAAO,EAAE,iCAAiC,EAAE,MAAM,kDAAkD,CAAC;AAErG,OAAO,EACL,0BAA0B,EAC1B,8BAA8B,EAC9B,gCAAgC,EAChC,8BAA8B,EAC9B,0BAA0B,EAC1B,0BAA0B,EAC1B,6BAA6B,EAC7B,sCAAsC,EACtC,+BAA+B,GAChC,MAAM,2CAA2C,CAAC;AASnD,OAAO,EACL,sBAAsB,EACtB,wBAAwB,GACzB,MAAM,uCAAuC,CAAC;AAE/C,OAAO,EACL,0BAA0B,EAC1B,2BAA2B,GAC5B,MAAM,2CAA2C,CAAC;AAMnD,uBAAuB;AACvB,OAAO,EAAE,gCAAgC,EAAE,MAAM,iDAAiD,CAAC;AAEnG,OAAO,EAAE,iCAAiC,EAAE,MAAM,kDAAkD,CAAC;AAGrG,gBAAgB;AAChB,OAAO,EACL,0BAA0B,EAC1B,6BAA6B,GAC9B,MAAM,2CAA2C,CAAC;AAMnD,OAAO,EACL,wBAAwB,EACxB,uBAAuB,GACxB,MAAM,uCAAuC,CAAC;AAM/C,OAAO,EACL,0BAA0B,EAC1B,yBAAyB,GAC1B,MAAM,yCAAyC,CAAC;AAMjD,OAAO,EACL,wBAAwB,EACxB,uBAAuB,GACxB,MAAM,uCAAuC,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { z } from 'zod';
2
+ import type { FromZod } from '../../types/common.types.js';
3
+ export declare const GardenShareGrantSchema: z.ZodObject<{
4
+ viewerId: z.ZodString;
5
+ ownerId: z.ZodString;
6
+ grantedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
7
+ _id: z.ZodString;
8
+ }, z.core.$strip>;
9
+ export type GardenShareGrant = FromZod<typeof GardenShareGrantSchema>;
10
+ //# sourceMappingURL=garden-share-grant.schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"garden-share-grant.schema.d.ts","sourceRoot":"","sources":["../../../src/schemas/models/garden-share-grant.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAI3D,eAAO,MAAM,sBAAsB;;;;;iBAMJ,CAAC;AAEhC,MAAM,MAAM,gBAAgB,GAAG,OAAO,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { z } from 'zod';
2
+ import { addMongoId } from './common.schemas.js';
3
+ import { UserIdSchema } from './id.schemas.js';
4
+ export const GardenShareGrantSchema = z
5
+ .object({
6
+ viewerId: UserIdSchema,
7
+ ownerId: UserIdSchema,
8
+ grantedAt: z.string().or(z.date()),
9
+ })
10
+ .extend(addMongoId('string'));
11
+ //# sourceMappingURL=garden-share-grant.schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"garden-share-grant.schema.js","sourceRoot":"","sources":["../../../src/schemas/models/garden-share-grant.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC;KACpC,MAAM,CAAC;IACN,QAAQ,EAAE,YAAY;IACtB,OAAO,EAAE,YAAY;IACrB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;CACnC,CAAC;KACD,MAAM,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { z } from 'zod';
2
+ import type { FromZod } from '../../types/common.types.js';
3
+ export declare const GardenShareRequestSchema: z.ZodObject<{
4
+ requesterId: z.ZodString;
5
+ ownerId: z.ZodString;
6
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
7
+ _id: z.ZodString;
8
+ }, z.core.$strip>;
9
+ export type GardenShareRequest = FromZod<typeof GardenShareRequestSchema>;
10
+ //# sourceMappingURL=garden-share-request.schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"garden-share-request.schema.d.ts","sourceRoot":"","sources":["../../../src/schemas/models/garden-share-request.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAI3D,eAAO,MAAM,wBAAwB;;;;;iBAMN,CAAC;AAEhC,MAAM,MAAM,kBAAkB,GAAG,OAAO,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { z } from 'zod';
2
+ import { addMongoId } from './common.schemas.js';
3
+ import { UserIdSchema } from './id.schemas.js';
4
+ export const GardenShareRequestSchema = z
5
+ .object({
6
+ requesterId: UserIdSchema,
7
+ ownerId: UserIdSchema,
8
+ createdAt: z.string().or(z.date()),
9
+ })
10
+ .extend(addMongoId('string'));
11
+ //# sourceMappingURL=garden-share-request.schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"garden-share-request.schema.js","sourceRoot":"","sources":["../../../src/schemas/models/garden-share-request.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC;KACtC,MAAM,CAAC;IACN,WAAW,EAAE,YAAY;IACzB,OAAO,EAAE,YAAY;IACrB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;CACnC,CAAC;KACD,MAAM,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC,CAAC"}
@@ -7,4 +7,6 @@ export declare const ProfileAvatarUploadIdSchema: z.ZodString;
7
7
  export declare const AvatarCleanupJobIdSchema: z.ZodString;
8
8
  export declare const UserIdSchema: z.ZodString;
9
9
  export declare const OwnershipIdSchema: z.ZodString;
10
+ export declare const GardenShareRequestIdSchema: z.ZodString;
11
+ export declare const GardenShareGrantIdSchema: z.ZodString;
10
12
  //# 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,4BAA4B,aAAa,CAAC;AAEvD,eAAO,MAAM,2BAA2B,aAAa,CAAC;AAEtD,eAAO,MAAM,wBAAwB,aAAoB,CAAC;AAE1D,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,2BAA2B,aAAa,CAAC;AAEtD,eAAO,MAAM,wBAAwB,aAAoB,CAAC;AAE1D,eAAO,MAAM,YAAY,aAAa,CAAC;AAEvC,eAAO,MAAM,iBAAiB,aAAa,CAAC;AAE5C,eAAO,MAAM,0BAA0B,aAAoB,CAAC;AAE5D,eAAO,MAAM,wBAAwB,aAAoB,CAAC"}
@@ -7,4 +7,6 @@ export const ProfileAvatarUploadIdSchema = z.string();
7
7
  export const AvatarCleanupJobIdSchema = z.string().min(1);
8
8
  export const UserIdSchema = z.string();
9
9
  export const OwnershipIdSchema = z.string();
10
+ export const GardenShareRequestIdSchema = z.string().min(1);
11
+ export const GardenShareGrantIdSchema = z.string().min(1);
10
12
  //# 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,4BAA4B,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC;AAEvD,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC;AAEtD,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAE1D,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,2BAA2B,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC;AAEtD,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAE1D,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC;AAEvC,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC;AAE5C,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAE5D,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC"}
@@ -3,11 +3,13 @@ export declare const ProfileDisplayNameSchema: z.ZodString;
3
3
  export declare const ProfileBioSchema: z.ZodString;
4
4
  export declare const ProfileAccentHexSchema: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
5
5
  export declare const ProfileAvatarObjectKeySchema: z.ZodString;
6
+ export declare const ProfileLookupCodeSchema: z.ZodString;
6
7
  export declare const ProfileSchema: z.ZodObject<{
7
8
  _id: z.ZodString;
8
9
  displayName: z.ZodString;
9
10
  bio: z.ZodOptional<z.ZodString>;
10
11
  accentHex: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
11
12
  avatarObjectKey: z.ZodOptional<z.ZodString>;
13
+ lookupCode: z.ZodOptional<z.ZodString>;
12
14
  }, z.core.$strict>;
13
15
  //# sourceMappingURL=profile.schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"profile.schema.d.ts","sourceRoot":"","sources":["../../../src/schemas/models/profile.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,wBAAwB,aAoBjC,CAAC;AAEL,eAAO,MAAM,gBAAgB,aAYzB,CAAC;AAEL,eAAO,MAAM,sBAAsB,wDAGS,CAAC;AAE7C,eAAO,MAAM,4BAA4B,aAAoB,CAAC;AAE9D,eAAO,MAAM,aAAa;;;;;;kBAQf,CAAC"}
1
+ {"version":3,"file":"profile.schema.d.ts","sourceRoot":"","sources":["../../../src/schemas/models/profile.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,wBAAwB,aAoBjC,CAAC;AAEL,eAAO,MAAM,gBAAgB,aAYzB,CAAC;AAEL,eAAO,MAAM,sBAAsB,wDAGS,CAAC;AAE7C,eAAO,MAAM,4BAA4B,aAAoB,CAAC;AAE9D,eAAO,MAAM,uBAAuB,aAIH,CAAC;AAElC,eAAO,MAAM,aAAa;;;;;;;kBASf,CAAC"}
@@ -35,6 +35,11 @@ export const ProfileAccentHexSchema = z
35
35
  .regex(/^#[\da-fA-F]{6}$/)
36
36
  .transform((value) => value.toLowerCase());
37
37
  export const ProfileAvatarObjectKeySchema = z.string().min(1);
38
+ export const ProfileLookupCodeSchema = z
39
+ .string()
40
+ .trim()
41
+ .toUpperCase()
42
+ .regex(/^[A-HJKMNP-Z2-9]{16}$/);
38
43
  export const ProfileSchema = z
39
44
  .object({
40
45
  _id: UserIdSchema,
@@ -42,6 +47,7 @@ export const ProfileSchema = z
42
47
  bio: ProfileBioSchema.optional(),
43
48
  accentHex: ProfileAccentHexSchema.optional(),
44
49
  avatarObjectKey: ProfileAvatarObjectKeySchema.optional(),
50
+ lookupCode: ProfileLookupCodeSchema.optional(),
45
51
  })
46
52
  .strict();
47
53
  //# sourceMappingURL=profile.schema.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"profile.schema.js","sourceRoot":"","sources":["../../../src/schemas/models/profile.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC;KACtC,MAAM,EAAE;KACR,IAAI,EAAE;KACN,WAAW,CAAC,CAAC,KAAK,EAAE,OAAO,EAAE,EAAE;IAC9B,MAAM,eAAe,GAAG,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC;IAEjD,IAAI,eAAe,GAAG,CAAC,IAAI,eAAe,GAAG,EAAE,EAAE,CAAC;QAChD,OAAO,CAAC,QAAQ,CAAC;YACf,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,uDAAuD;SACjE,CAAC,CAAC;IACL,CAAC;IAED,IAAI,uBAAuB,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;QACxC,OAAO,CAAC,QAAQ,CAAC;YACf,IAAI,EAAE,QAAQ;YACd,OAAO,EACL,+DAA+D;SAClE,CAAC,CAAC;IACL,CAAC;AACH,CAAC,CAAC,CAAC;AAEL,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC;KAC9B,MAAM,EAAE;KACR,IAAI,EAAE;KACN,WAAW,CAAC,CAAC,KAAK,EAAE,OAAO,EAAE,EAAE;IAC9B,MAAM,eAAe,GAAG,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC;IAEjD,IAAI,eAAe,GAAG,CAAC,IAAI,eAAe,GAAG,GAAG,EAAE,CAAC;QACjD,OAAO,CAAC,QAAQ,CAAC;YACf,IAAI,EAAE,QAAQ;YACd,OAAO,EAA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IACxD,UAAU,EAAE,uBAAuB,CAAC,QAAQ,EAAE;CAC/C,CAAC;KACD,MAAM,EAAE,CAAC"}
@@ -0,0 +1,125 @@
1
+ import { z } from 'zod';
2
+ import type { FromZod } from '../../../types/common.types.js';
3
+ export declare const GardenViewParamsSchema: z.ZodObject<{
4
+ grantId: z.ZodString;
5
+ }, z.core.$strict>;
6
+ export declare const GardenViewResponseSchema: z.ZodObject<{
7
+ garden: z.ZodObject<{
8
+ data: z.ZodObject<{
9
+ staticData: z.ZodObject<{
10
+ tiles: z.ZodArray<z.ZodObject<{
11
+ spritesheetPath: z.ZodEnum<{
12
+ "animation-spritesheet": "animation-spritesheet";
13
+ "decorations-spritesheet": "decorations-spritesheet";
14
+ "stones-spritesheet": "stones-spritesheet";
15
+ "tiles-spritesheet": "tiles-spritesheet";
16
+ }>;
17
+ element: z.ZodObject<{
18
+ density: z.ZodOptional<z.ZodNumber>;
19
+ x: z.ZodNumber;
20
+ y: z.ZodNumber;
21
+ width: z.ZodNumber;
22
+ height: z.ZodNumber;
23
+ }, z.core.$strip>;
24
+ cell: z.ZodObject<{
25
+ row: z.ZodNumber;
26
+ column: z.ZodNumber;
27
+ }, z.core.$strip>;
28
+ innerCoordinates: z.ZodOptional<z.ZodObject<{
29
+ x: z.ZodNumber;
30
+ y: z.ZodNumber;
31
+ }, z.core.$strip>>;
32
+ sizes: z.ZodOptional<z.ZodObject<{
33
+ width: z.ZodNumber;
34
+ height: z.ZodNumber;
35
+ }, z.core.$strip>>;
36
+ index: z.ZodNumber;
37
+ id: z.ZodString;
38
+ }, z.core.$strip>>;
39
+ stones: z.ZodArray<z.ZodObject<{
40
+ spritesheetPath: z.ZodEnum<{
41
+ "animation-spritesheet": "animation-spritesheet";
42
+ "decorations-spritesheet": "decorations-spritesheet";
43
+ "stones-spritesheet": "stones-spritesheet";
44
+ "tiles-spritesheet": "tiles-spritesheet";
45
+ }>;
46
+ element: z.ZodObject<{
47
+ density: z.ZodOptional<z.ZodNumber>;
48
+ x: z.ZodNumber;
49
+ y: z.ZodNumber;
50
+ width: z.ZodNumber;
51
+ height: z.ZodNumber;
52
+ }, z.core.$strip>;
53
+ cell: z.ZodObject<{
54
+ row: z.ZodNumber;
55
+ column: z.ZodNumber;
56
+ }, z.core.$strip>;
57
+ innerCoordinates: z.ZodOptional<z.ZodObject<{
58
+ x: z.ZodNumber;
59
+ y: z.ZodNumber;
60
+ }, z.core.$strip>>;
61
+ sizes: z.ZodOptional<z.ZodObject<{
62
+ width: z.ZodNumber;
63
+ height: z.ZodNumber;
64
+ }, z.core.$strip>>;
65
+ index: z.ZodNumber;
66
+ id: z.ZodString;
67
+ }, z.core.$strip>>;
68
+ }, z.core.$strip>;
69
+ animatedData: z.ZodObject<{
70
+ spritesheetSets: z.ZodRecord<z.ZodString, z.ZodObject<{
71
+ key: z.ZodString;
72
+ path: z.ZodEnum<{
73
+ "animation-spritesheet": "animation-spritesheet";
74
+ "decorations-spritesheet": "decorations-spritesheet";
75
+ "stones-spritesheet": "stones-spritesheet";
76
+ "tiles-spritesheet": "tiles-spritesheet";
77
+ }>;
78
+ map: z.ZodRecord<z.ZodString, z.ZodObject<{
79
+ density: z.ZodOptional<z.ZodNumber>;
80
+ x: z.ZodNumber;
81
+ y: z.ZodNumber;
82
+ width: z.ZodNumber;
83
+ height: z.ZodNumber;
84
+ }, z.core.$strip>>;
85
+ }, z.core.$strip>>;
86
+ trees: z.ZodArray<z.ZodObject<{
87
+ sprite: z.ZodObject<{
88
+ key: z.ZodString;
89
+ fps: z.ZodNumber;
90
+ animation: z.ZodArray<z.ZodString>;
91
+ framesReference: z.ZodString;
92
+ }, z.core.$strip>;
93
+ cell: z.ZodObject<{
94
+ row: z.ZodNumber;
95
+ column: z.ZodNumber;
96
+ }, z.core.$strip>;
97
+ coordinates: z.ZodOptional<z.ZodObject<{
98
+ x: z.ZodNumber;
99
+ y: z.ZodNumber;
100
+ }, z.core.$strip>>;
101
+ }, z.core.$strip>>;
102
+ bushes: z.ZodArray<z.ZodObject<{
103
+ sprite: z.ZodObject<{
104
+ key: z.ZodString;
105
+ fps: z.ZodNumber;
106
+ animation: z.ZodArray<z.ZodString>;
107
+ framesReference: z.ZodString;
108
+ }, z.core.$strip>;
109
+ cell: z.ZodObject<{
110
+ row: z.ZodNumber;
111
+ column: z.ZodNumber;
112
+ }, z.core.$strip>;
113
+ coordinates: z.ZodOptional<z.ZodObject<{
114
+ x: z.ZodNumber;
115
+ y: z.ZodNumber;
116
+ }, z.core.$strip>>;
117
+ }, z.core.$strip>>;
118
+ }, z.core.$strip>;
119
+ }, z.core.$strip>;
120
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
121
+ _id: z.ZodString;
122
+ }, z.core.$strip>;
123
+ }, z.core.$strict>;
124
+ export type GardenViewResponse = FromZod<typeof GardenViewResponseSchema>;
125
+ //# sourceMappingURL=garden-view.schema.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,14 @@
1
+ import { z } from 'zod';
2
+ import { GardenShareGrantIdSchema } from '../../models/id.schemas.js';
3
+ import { VisualisationDtoSchema } from '../../models/visualisation-dto.schema.js';
4
+ export const GardenViewParamsSchema = z
5
+ .object({
6
+ grantId: GardenShareGrantIdSchema,
7
+ })
8
+ .strict();
9
+ export const GardenViewResponseSchema = z
10
+ .object({
11
+ garden: VisualisationDtoSchema,
12
+ })
13
+ .strict();
14
+ //# sourceMappingURL=garden-view.schema.js.map
@@ -0,0 +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"}
@@ -7,6 +7,7 @@ export declare const ProfileOwnerResponseSchema: z.ZodDiscriminatedUnion<[z.ZodO
7
7
  effectiveHex: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
8
8
  }, z.core.$strict>;
9
9
  avatar: z.ZodNull;
10
+ lookupCode: z.ZodNullable<z.ZodString>;
10
11
  }, z.core.$strict>, z.ZodObject<{
11
12
  configured: z.ZodLiteral<true>;
12
13
  displayName: z.ZodString;
@@ -19,6 +20,7 @@ export declare const ProfileOwnerResponseSchema: z.ZodDiscriminatedUnion<[z.ZodO
19
20
  url: z.ZodURL;
20
21
  expiresAt: z.ZodISODateTime;
21
22
  }, z.core.$strict>>;
23
+ lookupCode: z.ZodNullable<z.ZodString>;
22
24
  }, z.core.$strict>], "configured">;
23
25
  export type ProfileOwnerResponse = FromZod<typeof ProfileOwnerResponseSchema>;
24
26
  //# sourceMappingURL=profile-get.schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"profile-get.schema.d.ts","sourceRoot":"","sources":["../../../../src/schemas/routes/profile/profile-get.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AAQ9D,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;kCAiBrC,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,OAAO,0BAA0B,CAAC,CAAC"}
1
+ {"version":3,"file":"profile-get.schema.d.ts","sourceRoot":"","sources":["../../../../src/schemas/routes/profile/profile-get.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AAS9D,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;kCAmBrC,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,OAAO,0BAA0B,CAAC,CAAC"}
@@ -1,13 +1,14 @@
1
1
  import { z } from 'zod';
2
2
  import { ProfileAccentProjectionSchema } from '../../models/profile-accent-projection.schema.js';
3
3
  import { ProfileAvatarDeliverySchema } from '../../models/profile-avatar-delivery.schema.js';
4
- import { ProfileBioSchema, ProfileDisplayNameSchema, } from '../../models/profile.schema.js';
4
+ import { ProfileBioSchema, ProfileDisplayNameSchema, ProfileLookupCodeSchema, } from '../../models/profile.schema.js';
5
5
  export const ProfileOwnerResponseSchema = z.discriminatedUnion('configured', [
6
6
  z
7
7
  .object({
8
8
  configured: z.literal(false),
9
9
  accent: ProfileAccentProjectionSchema,
10
10
  avatar: z.null(),
11
+ lookupCode: ProfileLookupCodeSchema.nullable(),
11
12
  })
12
13
  .strict(),
13
14
  z
@@ -17,6 +18,7 @@ export const ProfileOwnerResponseSchema = z.discriminatedUnion('configured', [
17
18
  bio: ProfileBioSchema.optional(),
18
19
  accent: ProfileAccentProjectionSchema,
19
20
  avatar: ProfileAvatarDeliverySchema.nullable(),
21
+ lookupCode: ProfileLookupCodeSchema.nullable(),
20
22
  })
21
23
  .strict(),
22
24
  ]);
@@ -1 +1 @@
1
- {"version":3,"file":"profile-get.schema.js","sourceRoot":"","sources":["../../../../src/schemas/routes/profile/profile-get.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,6BAA6B,EAAE,MAAM,kDAAkD,CAAC;AACjG,OAAO,EAAE,2BAA2B,EAAE,MAAM,gDAAgD,CAAC;AAC7F,OAAO,EACL,gBAAgB,EAChB,wBAAwB,GACzB,MAAM,gCAAgC,CAAC;AAExC,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,kBAAkB,CAAC,YAAY,EAAE;IAC3E,CAAC;SACE,MAAM,CAAC;QACN,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC;QAC5B,MAAM,EAAE,6BAA6B;QACrC,MAAM,EAAE,CAAC,CAAC,IAAI,EAAE;KACjB,CAAC;SACD,MAAM,EAAE;IACX,CAAC;SACE,MAAM,CAAC;QACN,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;QAC3B,WAAW,EAAE,wBAAwB;QACrC,GAAG,EAAE,gBAAgB,CAAC,QAAQ,EAAE;QAChC,MAAM,EAAE,6BAA6B;QACrC,MAAM,EAAE,2BAA2B,CAAC,QAAQ,EAAE;KAC/C,CAAC;SACD,MAAM,EAAE;CACZ,CAAC,CAAC"}
1
+ {"version":3,"file":"profile-get.schema.js","sourceRoot":"","sources":["../../../../src/schemas/routes/profile/profile-get.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,6BAA6B,EAAE,MAAM,kDAAkD,CAAC;AACjG,OAAO,EAAE,2BAA2B,EAAE,MAAM,gDAAgD,CAAC;AAC7F,OAAO,EACL,gBAAgB,EAChB,wBAAwB,EACxB,uBAAuB,GACxB,MAAM,gCAAgC,CAAC;AAExC,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,kBAAkB,CAAC,YAAY,EAAE;IAC3E,CAAC;SACE,MAAM,CAAC;QACN,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC;QAC5B,MAAM,EAAE,6BAA6B;QACrC,MAAM,EAAE,CAAC,CAAC,IAAI,EAAE;QAChB,UAAU,EAAE,uBAAuB,CAAC,QAAQ,EAAE;KAC/C,CAAC;SACD,MAAM,EAAE;IACX,CAAC;SACE,MAAM,CAAC;QACN,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;QAC3B,WAAW,EAAE,wBAAwB;QACrC,GAAG,EAAE,gBAAgB,CAAC,QAAQ,EAAE;QAChC,MAAM,EAAE,6BAA6B;QACrC,MAAM,EAAE,2BAA2B,CAAC,QAAQ,EAAE;QAC9C,UAAU,EAAE,uBAAuB,CAAC,QAAQ,EAAE;KAC/C,CAAC;SACD,MAAM,EAAE;CACZ,CAAC,CAAC"}
@@ -1,5 +1,8 @@
1
1
  import { z } from 'zod';
2
2
  import type { FromZod } from '../../../types/common.types.js';
3
+ export declare const ProfileLookupCardRequestSchema: z.ZodObject<{
4
+ lookupCode: z.ZodString;
5
+ }, z.core.$strict>;
3
6
  export declare const ProfileLookupCardResponseSchema: z.ZodObject<{
4
7
  displayName: z.ZodString;
5
8
  avatar: z.ZodNullable<z.ZodObject<{
@@ -7,5 +10,6 @@ export declare const ProfileLookupCardResponseSchema: z.ZodObject<{
7
10
  expiresAt: z.ZodISODateTime;
8
11
  }, z.core.$strict>>;
9
12
  }, z.core.$strict>;
13
+ export type ProfileLookupCardRequest = FromZod<typeof ProfileLookupCardRequestSchema>;
10
14
  export type ProfileLookupCardResponse = FromZod<typeof ProfileLookupCardResponseSchema>;
11
15
  //# sourceMappingURL=profile-lookup-card.schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"profile-lookup-card.schema.d.ts","sourceRoot":"","sources":["../../../../src/schemas/routes/profile/profile-lookup-card.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AAI9D,eAAO,MAAM,+BAA+B;;;;;;kBAKjC,CAAC;AAEZ,MAAM,MAAM,yBAAyB,GAAG,OAAO,CAC7C,OAAO,+BAA+B,CACvC,CAAC"}
1
+ {"version":3,"file":"profile-lookup-card.schema.d.ts","sourceRoot":"","sources":["../../../../src/schemas/routes/profile/profile-lookup-card.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AAO9D,eAAO,MAAM,8BAA8B;;kBAIhC,CAAC;AAEZ,eAAO,MAAM,+BAA+B;;;;;;kBAKjC,CAAC;AAEZ,MAAM,MAAM,wBAAwB,GAAG,OAAO,CAC5C,OAAO,8BAA8B,CACtC,CAAC;AACF,MAAM,MAAM,yBAAyB,GAAG,OAAO,CAC7C,OAAO,+BAA+B,CACvC,CAAC"}
@@ -1,6 +1,11 @@
1
1
  import { z } from 'zod';
2
2
  import { ProfileAvatarDeliverySchema } from '../../models/profile-avatar-delivery.schema.js';
3
- import { ProfileDisplayNameSchema } from '../../models/profile.schema.js';
3
+ import { ProfileDisplayNameSchema, ProfileLookupCodeSchema, } from '../../models/profile.schema.js';
4
+ export const ProfileLookupCardRequestSchema = z
5
+ .object({
6
+ lookupCode: ProfileLookupCodeSchema,
7
+ })
8
+ .strict();
4
9
  export const ProfileLookupCardResponseSchema = z
5
10
  .object({
6
11
  displayName: ProfileDisplayNameSchema,
@@ -1 +1 @@
1
- {"version":3,"file":"profile-lookup-card.schema.js","sourceRoot":"","sources":["../../../../src/schemas/routes/profile/profile-lookup-card.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,2BAA2B,EAAE,MAAM,gDAAgD,CAAC;AAC7F,OAAO,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAE1E,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC;KAC7C,MAAM,CAAC;IACN,WAAW,EAAE,wBAAwB;IACrC,MAAM,EAAE,2BAA2B,CAAC,QAAQ,EAAE;CAC/C,CAAC;KACD,MAAM,EAAE,CAAC"}
1
+ {"version":3,"file":"profile-lookup-card.schema.js","sourceRoot":"","sources":["../../../../src/schemas/routes/profile/profile-lookup-card.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,2BAA2B,EAAE,MAAM,gDAAgD,CAAC;AAC7F,OAAO,EACL,wBAAwB,EACxB,uBAAuB,GACxB,MAAM,gCAAgC,CAAC;AAExC,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC;KAC5C,MAAM,CAAC;IACN,UAAU,EAAE,uBAAuB;CACpC,CAAC;KACD,MAAM,EAAE,CAAC;AAEZ,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC;KAC7C,MAAM,CAAC;IACN,WAAW,EAAE,wBAAwB;IACrC,MAAM,EAAE,2BAA2B,CAAC,QAAQ,EAAE;CAC/C,CAAC;KACD,MAAM,EAAE,CAAC"}
@@ -12,6 +12,7 @@ export declare const ProfileUpdateResponseSchema: z.ZodDiscriminatedUnion<[z.Zod
12
12
  effectiveHex: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
13
13
  }, z.core.$strict>;
14
14
  avatar: z.ZodNull;
15
+ lookupCode: z.ZodNullable<z.ZodString>;
15
16
  }, z.core.$strict>, z.ZodObject<{
16
17
  configured: z.ZodLiteral<true>;
17
18
  displayName: z.ZodString;
@@ -24,6 +25,7 @@ export declare const ProfileUpdateResponseSchema: z.ZodDiscriminatedUnion<[z.Zod
24
25
  url: z.ZodURL;
25
26
  expiresAt: z.ZodISODateTime;
26
27
  }, z.core.$strict>>;
28
+ lookupCode: z.ZodNullable<z.ZodString>;
27
29
  }, z.core.$strict>], "configured">;
28
30
  export type ProfileUpdateRequest = FromZod<typeof ProfileUpdateRequestSchema>;
29
31
  export type ProfileUpdateResponse = FromZod<typeof ProfileUpdateResponseSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"profile-update.schema.d.ts","sourceRoot":"","sources":["../../../../src/schemas/routes/profile/profile-update.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AAQ9D,eAAO,MAAM,0BAA0B;;;;kBASnC,CAAC;AAEL,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;kCAA6B,CAAC;AAEtE,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAC9E,MAAM,MAAM,qBAAqB,GAAG,OAAO,CAAC,OAAO,2BAA2B,CAAC,CAAC"}
1
+ {"version":3,"file":"profile-update.schema.d.ts","sourceRoot":"","sources":["../../../../src/schemas/routes/profile/profile-update.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AAQ9D,eAAO,MAAM,0BAA0B;;;;kBASnC,CAAC;AAEL,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;kCAA6B,CAAC;AAEtE,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAC9E,MAAM,MAAM,qBAAqB,GAAG,OAAO,CAAC,OAAO,2BAA2B,CAAC,CAAC"}
@@ -0,0 +1,54 @@
1
+ import { z } from 'zod';
2
+ import type { FromZod } from '../../../types/common.types.js';
3
+ export declare const GardenShareDirectionSchema: z.ZodEnum<{
4
+ incoming: "incoming";
5
+ outgoing: "outgoing";
6
+ }>;
7
+ export declare const CreateGardenShareRequestSchema: z.ZodObject<{
8
+ lookupCode: z.ZodString;
9
+ }, z.core.$strict>;
10
+ export declare const GardenShareRequestIdParamsSchema: z.ZodObject<{
11
+ requestId: z.ZodString;
12
+ }, z.core.$strict>;
13
+ export declare const GardenShareGrantIdParamsSchema: z.ZodObject<{
14
+ grantId: z.ZodString;
15
+ }, z.core.$strict>;
16
+ export declare const GardenShareListQuerySchema: z.ZodObject<{
17
+ direction: z.ZodEnum<{
18
+ incoming: "incoming";
19
+ outgoing: "outgoing";
20
+ }>;
21
+ }, z.core.$strict>;
22
+ export declare const GardenShareListEntrySchema: z.ZodObject<{
23
+ id: z.ZodString;
24
+ displayName: z.ZodString;
25
+ avatar: z.ZodNullable<z.ZodObject<{
26
+ url: z.ZodURL;
27
+ expiresAt: z.ZodISODateTime;
28
+ }, z.core.$strict>>;
29
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
30
+ }, z.core.$strict>;
31
+ export declare const GardenShareListResponseSchema: z.ZodObject<{
32
+ items: z.ZodArray<z.ZodObject<{
33
+ id: z.ZodString;
34
+ displayName: z.ZodString;
35
+ avatar: z.ZodNullable<z.ZodObject<{
36
+ url: z.ZodURL;
37
+ expiresAt: z.ZodISODateTime;
38
+ }, z.core.$strict>>;
39
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
40
+ }, z.core.$strict>>;
41
+ }, z.core.$strict>;
42
+ export declare const CreateGardenShareRequestResponseSchema: z.ZodObject<{
43
+ requestId: z.ZodString;
44
+ }, z.core.$strict>;
45
+ export declare const GardenShareActionResponseSchema: z.ZodObject<{
46
+ success: z.ZodBoolean;
47
+ }, z.core.$strict>;
48
+ export type CreateGardenShareRequest = FromZod<typeof CreateGardenShareRequestSchema>;
49
+ export type GardenShareDirection = FromZod<typeof GardenShareDirectionSchema>;
50
+ export type GardenShareListEntry = FromZod<typeof GardenShareListEntrySchema>;
51
+ export type GardenShareListResponse = FromZod<typeof GardenShareListResponseSchema>;
52
+ export type CreateGardenShareRequestResponse = FromZod<typeof CreateGardenShareRequestResponseSchema>;
53
+ export type GardenShareActionResponse = FromZod<typeof GardenShareActionResponseSchema>;
54
+ //# sourceMappingURL=garden-sharing.schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"garden-sharing.schema.d.ts","sourceRoot":"","sources":["../../../../src/schemas/routes/sharing/garden-sharing.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AAW9D,eAAO,MAAM,0BAA0B;;;EAAmC,CAAC;AAE3E,eAAO,MAAM,8BAA8B;;kBAIhC,CAAC;AAEZ,eAAO,MAAM,gCAAgC;;kBAIlC,CAAC;AAEZ,eAAO,MAAM,8BAA8B;;kBAIhC,CAAC;AAEZ,eAAO,MAAM,0BAA0B;;;;;kBAI5B,CAAC;AAEZ,eAAO,MAAM,0BAA0B;;;;;;;;kBAO5B,CAAC;AAEZ,eAAO,MAAM,6BAA6B;;;;;;;;;;kBAI/B,CAAC;AAEZ,eAAO,MAAM,sCAAsC;;kBAIxC,CAAC;AAEZ,eAAO,MAAM,+BAA+B;;kBAIjC,CAAC;AAEZ,MAAM,MAAM,wBAAwB,GAAG,OAAO,CAC5C,OAAO,8BAA8B,CACtC,CAAC;AACF,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAC9E,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAC9E,MAAM,MAAM,uBAAuB,GAAG,OAAO,CAC3C,OAAO,6BAA6B,CACrC,CAAC;AACF,MAAM,MAAM,gCAAgC,GAAG,OAAO,CACpD,OAAO,sCAAsC,CAC9C,CAAC;AACF,MAAM,MAAM,yBAAyB,GAAG,OAAO,CAC7C,OAAO,+BAA+B,CACvC,CAAC"}
@@ -0,0 +1,49 @@
1
+ import { z } from 'zod';
2
+ import { ProfileAvatarDeliverySchema } from '../../models/profile-avatar-delivery.schema.js';
3
+ import { GardenShareGrantIdSchema, GardenShareRequestIdSchema, } from '../../models/id.schemas.js';
4
+ import { ProfileDisplayNameSchema, ProfileLookupCodeSchema, } from '../../models/profile.schema.js';
5
+ export const GardenShareDirectionSchema = z.enum(['incoming', 'outgoing']);
6
+ export const CreateGardenShareRequestSchema = z
7
+ .object({
8
+ lookupCode: ProfileLookupCodeSchema,
9
+ })
10
+ .strict();
11
+ export const GardenShareRequestIdParamsSchema = z
12
+ .object({
13
+ requestId: GardenShareRequestIdSchema,
14
+ })
15
+ .strict();
16
+ export const GardenShareGrantIdParamsSchema = z
17
+ .object({
18
+ grantId: GardenShareGrantIdSchema,
19
+ })
20
+ .strict();
21
+ export const GardenShareListQuerySchema = z
22
+ .object({
23
+ direction: GardenShareDirectionSchema,
24
+ })
25
+ .strict();
26
+ export const GardenShareListEntrySchema = z
27
+ .object({
28
+ id: z.string().min(1),
29
+ displayName: ProfileDisplayNameSchema,
30
+ avatar: ProfileAvatarDeliverySchema.nullable(),
31
+ createdAt: z.string().or(z.date()),
32
+ })
33
+ .strict();
34
+ export const GardenShareListResponseSchema = z
35
+ .object({
36
+ items: z.array(GardenShareListEntrySchema),
37
+ })
38
+ .strict();
39
+ export const CreateGardenShareRequestResponseSchema = z
40
+ .object({
41
+ requestId: GardenShareRequestIdSchema,
42
+ })
43
+ .strict();
44
+ export const GardenShareActionResponseSchema = z
45
+ .object({
46
+ success: z.boolean(),
47
+ })
48
+ .strict();
49
+ //# sourceMappingURL=garden-sharing.schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"garden-sharing.schema.js","sourceRoot":"","sources":["../../../../src/sch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C,MAAM,6BAA6B,GAAG,CAAC;KAC3C,MAAM,CAAC;IACN,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,0BAA0B,CAAC;CAC3C,CAAC;KACD,MAAM,EAAE,CAAC;AAEZ,MAAM,CAAC,MAAM,sCAAsC,GAAG,CAAC;KACpD,MAAM,CAAC;IACN,SAAS,EAAE,0BAA0B;CACtC,CAAC;KACD,MAAM,EAAE,CAAC;AAEZ,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC;KAC7C,MAAM,CAAC;IACN,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE;CACrB,CAAC;KACD,MAAM,EAAE,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { FromZod } from './common.types.js';
2
+ import type { GardenShareGrantSchema, GardenShareRequestSchema } from '../schemas/index.js';
3
+ export type GardenShareGrant = FromZod<typeof GardenShareGrantSchema>;
4
+ export type GardenShareRequest = FromZod<typeof GardenShareRequestSchema>;
5
+ //# sourceMappingURL=garden-sharing.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"garden-sharing.types.d.ts","sourceRoot":"","sources":["../../src/types/garden-sharing.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,KAAK,EACV,sBAAsB,EACtB,wBAAwB,EACzB,MAAM,qBAAqB,CAAC;AAE7B,MAAM,MAAM,gBAAgB,GAAG,OAAO,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEtE,MAAM,MAAM,kBAAkB,GAAG,OAAO,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=garden-sharing.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"garden-sharing.types.js","sourceRoot":"","sources":["../../src/types/garden-sharing.types.ts"],"names":[],"mappings":""}
@@ -1,5 +1,5 @@
1
1
  import type { FromZod } from './common.types.js';
2
- import type { GridDrawerElementIdSchema, ProfileAvatarUploadIdSchema, AvatarCleanupJobIdSchema, SignatureIdSchema, UserIdSchema, VisualisationIdSchema, OwnershipIdSchema, VisualisationPendingIdSchema } from '../schemas/index.js';
2
+ import type { GridDrawerElementIdSchema, ProfileAvatarUploadIdSchema, AvatarCleanupJobIdSchema, SignatureIdSchema, UserIdSchema, VisualisationIdSchema, OwnershipIdSchema, VisualisationPendingIdSchema, GardenShareRequestIdSchema, GardenShareGrantIdSchema } from '../schemas/index.js';
3
3
  export type GridDrawerElementId = FromZod<typeof GridDrawerElementIdSchema>;
4
4
  export type SignatureId = FromZod<typeof SignatureIdSchema>;
5
5
  export type VisualisationId = FromZod<typeof VisualisationIdSchema>;
@@ -8,4 +8,6 @@ export type ProfileAvatarUploadId = FromZod<typeof ProfileAvatarUploadIdSchema>;
8
8
  export type AvatarCleanupJobId = FromZod<typeof AvatarCleanupJobIdSchema>;
9
9
  export type UserId = FromZod<typeof UserIdSchema>;
10
10
  export type OwnershipId = FromZod<typeof OwnershipIdSchema>;
11
+ export type GardenShareRequestId = FromZod<typeof GardenShareRequestIdSchema>;
12
+ export type GardenShareGrantId = FromZod<typeof GardenShareGrantIdSchema>;
11
13
  //# 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,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,KAAK,EACV,yBAAyB,EACzB,2BAA2B,EAC3B,wBAAwB,EACxB,iBAAiB,EACjB,YAAY,EACZ,qBAAqB,EACrB,iBAAiB,EACjB,4BAA4B,EAC7B,MAAM,qBAAqB,CAAC;AAE7B,MAAM,MAAM,mBAAmB,GAAG,OAAO,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE5E,MAAM,MAAM,WAAW,GAAG,OAAO,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D,MAAM,MAAM,eA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AM,WAAW,GAAG,OAAO,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAE9E,MAAM,MAAM,kBAAkB,GAAG,OAAO,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
@@ -1,4 +1,4 @@
1
- export type { GridDrawerElementId, SignatureId, VisualisationId, VisualisationPendingId, ProfileAvatarUploadId, AvatarCleanupJobId, UserId, OwnershipId, } from './id.types.js';
1
+ export type { GridDrawerElementId, SignatureId, VisualisationId, VisualisationPendingId, ProfileAvatarUploadId, AvatarCleanupJobId, UserId, OwnershipId, GardenShareRequestId, GardenShareGrantId, } from './id.types.js';
2
2
  export type { AnimatedSpriteData, SpriteData, AnimatedSpriteSetInit, AnimatedSpriteSetObject, AnimatedSpriteDto, SpriteDataDto, } from './animated-sprite.types.js';
3
3
  export type { Nullable, WithDensity, WithId, Coordinates, Move, Cell, SizeMeasures, Direction, FromZod, } from './common.types.js';
4
4
  export { directions } from './common.types.js';
@@ -19,6 +19,7 @@ export type { VisualisationDto } from './visualisation.types.js';
19
19
  export type { VisualisationPendingDto } from './visualisation-pending.types.js';
20
20
  export type { Signature } from './signature.types.js';
21
21
  export type { Ownership } from './ownership.types.js';
22
+ export type { GardenShareRequest, GardenShareGrant, } from './garden-sharing.types.js';
22
23
  export type { OwnershipVerificationPoint } from '../schemas/models/ownership-verification-point.schema.js';
23
24
  export type { OwnershipVerificationResult } from '../schemas/models/ownership-verification-result.schema.js';
24
25
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,mBAAmB,EACnB,WAAW,EACX,eAAe,EACf,sBAAsB,EACtB,qBAAqB,EACrB,kBAAkB,EAClB,MAAM,EACN,WAAW,GACZ,MAAM,eAAe,CAAC;AACvB,YAAY,EACV,kBAAkB,EACl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AM,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;AACtD,YAAY,EAAE,0BAA0B,EAAE,MAAM,0DAA0D,CAAC;AAC3G,YAAY,EAAE,2BAA2B,EAAE,MAAM,2DAA2D,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,sBAAsB,EACtB,qBAAqB,EACrB,kBAAkB,EAClB,MAAM,EACN,WAAW,EACX,oBAAoB,EACpB,kBAAkB,GACnB,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,gCAA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AO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAW1D,OAAO,EAAE,6BAA6B,EAAE,MAAM,mCAAmC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AA+BA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAkB/C,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AACrE,OAAO,EAAsB,MAAM,4BAA4B,CAAC;AAKhE,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAW1D,OAAO,EAAE,6BAA6B,EAAE,MAAM,mCAAmC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kk-garden/shared",
3
- "version": "1.5.1",
3
+ "version": "1.5.3",
4
4
  "description": "Kiryl Kartsialeu EN69783 diploma project shared package",
5
5
  "author": "Kiryl Kartsialeu",
6
6
  "type": "module",