@kk-garden/shared 1.5.0 → 1.5.2
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/index.d.ts +5 -3
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +3 -2
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/models/profile.schema.d.ts +2 -0
- package/dist/schemas/models/profile.schema.d.ts.map +1 -1
- package/dist/schemas/models/profile.schema.js +6 -0
- package/dist/schemas/models/profile.schema.js.map +1 -1
- package/dist/schemas/routes/account/delete-account.schema.d.ts +11 -0
- package/dist/schemas/routes/account/delete-account.schema.d.ts.map +1 -0
- package/dist/schemas/routes/account/delete-account.schema.js +12 -0
- package/dist/schemas/routes/account/delete-account.schema.js.map +1 -0
- package/dist/schemas/routes/profile/profile-get.schema.d.ts +2 -0
- package/dist/schemas/routes/profile/profile-get.schema.d.ts.map +1 -1
- package/dist/schemas/routes/profile/profile-get.schema.js +3 -1
- package/dist/schemas/routes/profile/profile-get.schema.js.map +1 -1
- package/dist/schemas/routes/profile/profile-lookup-card.schema.d.ts +4 -0
- package/dist/schemas/routes/profile/profile-lookup-card.schema.d.ts.map +1 -1
- package/dist/schemas/routes/profile/profile-lookup-card.schema.js +6 -1
- package/dist/schemas/routes/profile/profile-lookup-card.schema.js.map +1 -1
- package/dist/schemas/routes/profile/profile-update.schema.d.ts +2 -0
- package/dist/schemas/routes/profile/profile-update.schema.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/schemas/index.d.ts
CHANGED
|
@@ -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';
|
|
@@ -28,8 +28,8 @@ export { ProfileOwnerResponseSchema } from './routes/profile/profile-get.schema.
|
|
|
28
28
|
export type { ProfileOwnerResponse } from './routes/profile/profile-get.schema.js';
|
|
29
29
|
export { ProfileUpdateRequestSchema, ProfileUpdateResponseSchema, } from './routes/profile/profile-update.schema.js';
|
|
30
30
|
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';
|
|
31
|
+
export { ProfileLookupCardRequestSchema, ProfileLookupCardResponseSchema, } from './routes/profile/profile-lookup-card.schema.js';
|
|
32
|
+
export type { ProfileLookupCardRequest, ProfileLookupCardResponse, } from './routes/profile/profile-lookup-card.schema.js';
|
|
33
33
|
export { GardenProfileResponseSchema } from './routes/profile/profile-garden-view.schema.js';
|
|
34
34
|
export type { GardenProfileResponse } from './routes/profile/profile-garden-view.schema.js';
|
|
35
35
|
export { ProfileAvatarUploadRequestSchema, ProfileAvatarUploadResponseSchema, } from './routes/profile/profile-avatar-upload.schema.js';
|
|
@@ -38,6 +38,8 @@ export { ProfileAvatarFinalizeRequestSchema, ProfileAvatarFinalizeResponseSchema
|
|
|
38
38
|
export type { ProfileAvatarFinalizeRequest, ProfileAvatarFinalizeResponse, } from './routes/profile/profile-avatar-finalize.schema.js';
|
|
39
39
|
export { ProfileAvatarDeleteResponseSchema } from './routes/profile/profile-avatar-delete.schema.js';
|
|
40
40
|
export type { ProfileAvatarDeleteResponse } from './routes/profile/profile-avatar-delete.schema.js';
|
|
41
|
+
export { DeleteAccountRequestSchema, DeleteAccountResponseSchema, } from './routes/account/delete-account.schema.js';
|
|
42
|
+
export type { DeleteAccountRequest, DeleteAccountResponse, } from './routes/account/delete-account.schema.js';
|
|
41
43
|
export { OwnershipVerificationPointSchema } from './models/ownership-verification-point.schema.js';
|
|
42
44
|
export type { OwnershipVerificationPoint } from './models/ownership-verification-point.schema.js';
|
|
43
45
|
export { OwnershipVerificationResultSchema } from './models/ownership-verification-result.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,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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,EACxB,uBAAuB,GACxB,MAAM,uCAAuC,CAAC;AAC/C,YAAY,EACV,kBAAkB,EAClB,iBAAiB,GAClB,MAAM,uCAAuC,CAAC;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"}
|
package/dist/schemas/index.js
CHANGED
|
@@ -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';
|
|
@@ -27,11 +27,12 @@ export { SignatureSchema } from './models/signature.schema.js';
|
|
|
27
27
|
export { OwnershipSchema } from './models/ownership.schema.js';
|
|
28
28
|
export { ProfileOwnerResponseSchema } from './routes/profile/profile-get.schema.js';
|
|
29
29
|
export { ProfileUpdateRequestSchema, ProfileUpdateResponseSchema, } from './routes/profile/profile-update.schema.js';
|
|
30
|
-
export { ProfileLookupCardResponseSchema } from './routes/profile/profile-lookup-card.schema.js';
|
|
30
|
+
export { ProfileLookupCardRequestSchema, ProfileLookupCardResponseSchema, } from './routes/profile/profile-lookup-card.schema.js';
|
|
31
31
|
export { GardenProfileResponseSchema } from './routes/profile/profile-garden-view.schema.js';
|
|
32
32
|
export { ProfileAvatarUploadRequestSchema, ProfileAvatarUploadResponseSchema, } from './routes/profile/profile-avatar-upload.schema.js';
|
|
33
33
|
export { ProfileAvatarFinalizeRequestSchema, ProfileAvatarFinalizeResponseSchema, } from './routes/profile/profile-avatar-finalize.schema.js';
|
|
34
34
|
export { ProfileAvatarDeleteResponseSchema } from './routes/profile/profile-avatar-delete.schema.js';
|
|
35
|
+
export { DeleteAccountRequestSchema, DeleteAccountResponseSchema, } from './routes/account/delete-account.schema.js';
|
|
35
36
|
// verification schemas
|
|
36
37
|
export { OwnershipVerificationPointSchema } from './models/ownership-verification-point.schema.js';
|
|
37
38
|
export { OwnershipVerificationResultSchema } from './models/ownership-verification-result.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,CA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,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAE/D,OAAO,EAAE,0BAA0B,EAAE,MAAM,wCAAwC,CAAC;AAEpF,OAAO,EACL,0BAA0B,EAC1B,2BAA2B,GAC5B,MAAM,2CAA2C,CAAC;AAKnD,OAAO,EACL,8BAA8B,EAC9B,+BAA+B,GAChC,MAAM,gDAAgD,CAAC;AAKxD,OAAO,EAAE,2BAA2B,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,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"}
|
|
@@ -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
|
|
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,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C,GAAG,CAAC,CAAC,CAAC,CAAC;AAE9D,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC;KACrC,MAAM,EAAE;KACR,IAAI,EAAE;KACN,WAAW,EAAE;KACb,KAAK,CAAC,uBAAuB,CAAC,CAAC;AAElC,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC;KAC3B,MAAM,CAAC;IACN,GAAG,EAAE,YAAY;IACjB,WAAW,EAAE,wBAAwB;IACrC,GAAG,EAAE,gBAAgB,CAAC,QAAQ,EAAE;IAChC,SAAS,EAAE,sBAAsB,CAAC,QAAQ,EAAE;IAC5C,eAAe,EAAE,4BAA4B,CAAC,QAAQ,EAAE;IACxD,UAAU,EAAE,uBAAuB,CAAC,QAAQ,EAAE;CAC/C,CAAC;KACD,MAAM,EAAE,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import type { FromZod } from '../../../types/common.types.js';
|
|
3
|
+
export declare const DeleteAccountRequestSchema: z.ZodObject<{
|
|
4
|
+
confirmation: z.ZodLiteral<"DELETE">;
|
|
5
|
+
}, z.core.$strict>;
|
|
6
|
+
export declare const DeleteAccountResponseSchema: z.ZodObject<{
|
|
7
|
+
success: z.ZodLiteral<true>;
|
|
8
|
+
}, z.core.$strict>;
|
|
9
|
+
export type DeleteAccountRequest = FromZod<typeof DeleteAccountRequestSchema>;
|
|
10
|
+
export type DeleteAccountResponse = FromZod<typeof DeleteAccountResponseSchema>;
|
|
11
|
+
//# sourceMappingURL=delete-account.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-account.schema.d.ts","sourceRoot":"","sources":["../../../../src/schemas/routes/account/delete-account.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AAE9D,eAAO,MAAM,0BAA0B;;kBAI5B,CAAC;AAEZ,eAAO,MAAM,2BAA2B;;kBAI7B,CAAC;AAEZ,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAC9E,MAAM,MAAM,qBAAqB,GAAG,OAAO,CAAC,OAAO,2BAA2B,CAAC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export const DeleteAccountRequestSchema = z
|
|
3
|
+
.object({
|
|
4
|
+
confirmation: z.literal('DELETE'),
|
|
5
|
+
})
|
|
6
|
+
.strict();
|
|
7
|
+
export const DeleteAccountResponseSchema = z
|
|
8
|
+
.object({
|
|
9
|
+
success: z.literal(true),
|
|
10
|
+
})
|
|
11
|
+
.strict();
|
|
12
|
+
//# sourceMappingURL=delete-account.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-account.schema.js","sourceRoot":"","sources":["../../../../src/schemas/routes/account/delete-account.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC;KACxC,MAAM,CAAC;IACN,YAAY,EAAE,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC;CAClC,CAAC;KACD,MAAM,EAAE,CAAC;AAEZ,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC;KACzC,MAAM,CAAC;IACN,OAAO,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;CACzB,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;
|
|
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,
|
|
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;
|
|
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,
|
|
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
|
|
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"}
|