@kk-garden/shared 1.4.7 → 1.4.9
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/constants/index.d.ts +1 -0
- package/dist/constants/index.d.ts.map +1 -1
- package/dist/constants/index.js +1 -0
- package/dist/constants/index.js.map +1 -1
- package/dist/constants/profile-palette.d.ts +11 -0
- package/dist/constants/profile-palette.d.ts.map +1 -0
- package/dist/constants/profile-palette.js +67 -0
- package/dist/constants/profile-palette.js.map +1 -0
- package/dist/schemas/index.d.ts +29 -9
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +18 -5
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/models/avatar-cleanup-job.schema.d.ts +121 -0
- package/dist/schemas/models/avatar-cleanup-job.schema.d.ts.map +1 -0
- package/dist/schemas/models/avatar-cleanup-job.schema.js +94 -0
- package/dist/schemas/models/avatar-cleanup-job.schema.js.map +1 -0
- package/dist/schemas/models/avatar-work.schema.d.ts +21 -0
- package/dist/schemas/models/avatar-work.schema.d.ts.map +1 -0
- package/dist/schemas/models/avatar-work.schema.js +34 -0
- package/dist/schemas/models/avatar-work.schema.js.map +1 -0
- package/dist/schemas/models/id.schemas.d.ts +2 -0
- package/dist/schemas/models/id.schemas.d.ts.map +1 -1
- package/dist/schemas/models/id.schemas.js +2 -0
- package/dist/schemas/models/id.schemas.js.map +1 -1
- package/dist/schemas/models/profile-accent-projection.schema.d.ts +6 -0
- package/dist/schemas/models/profile-accent-projection.schema.d.ts.map +1 -0
- package/dist/schemas/models/profile-accent-projection.schema.js +9 -0
- package/dist/schemas/models/profile-accent-projection.schema.js.map +1 -0
- package/dist/schemas/models/profile-avatar-delivery.schema.d.ts +6 -0
- package/dist/schemas/models/profile-avatar-delivery.schema.d.ts.map +1 -0
- package/dist/schemas/models/profile-avatar-delivery.schema.js +8 -0
- package/dist/schemas/models/profile-avatar-delivery.schema.js.map +1 -0
- package/dist/schemas/models/profile-avatar-upload-session.schema.d.ts +116 -0
- package/dist/schemas/models/profile-avatar-upload-session.schema.d.ts.map +1 -0
- package/dist/schemas/models/profile-avatar-upload-session.schema.js +116 -0
- package/dist/schemas/models/profile-avatar-upload-session.schema.js.map +1 -0
- package/dist/schemas/models/profile.schema.d.ts +13 -0
- package/dist/schemas/models/profile.schema.d.ts.map +1 -0
- package/dist/schemas/models/profile.schema.js +47 -0
- package/dist/schemas/models/profile.schema.js.map +1 -0
- package/dist/schemas/routes/assign/assign-cancel.schema.d.ts +11 -0
- package/dist/schemas/routes/assign/assign-cancel.schema.d.ts.map +1 -0
- package/dist/schemas/routes/assign/assign-cancel.schema.js +9 -0
- package/dist/schemas/routes/assign/assign-cancel.schema.js.map +1 -0
- package/dist/schemas/routes/assign/assign-root.schema.d.ts +13 -0
- package/dist/schemas/routes/assign/assign-root.schema.d.ts.map +1 -0
- package/dist/schemas/routes/assign/assign-root.schema.js +11 -0
- package/dist/schemas/routes/assign/assign-root.schema.js.map +1 -0
- package/dist/schemas/routes/generate/generate-root.schema.d.ts +137 -0
- package/dist/schemas/routes/generate/generate-root.schema.d.ts.map +1 -0
- package/dist/schemas/routes/generate/generate-root.schema.js +16 -0
- package/dist/schemas/routes/generate/generate-root.schema.js.map +1 -0
- package/dist/schemas/routes/profile/profile-avatar-delete.schema.d.ts +7 -0
- package/dist/schemas/routes/profile/profile-avatar-delete.schema.d.ts.map +1 -0
- package/dist/schemas/routes/profile/profile-avatar-delete.schema.js +7 -0
- package/dist/schemas/routes/profile/profile-avatar-delete.schema.js.map +1 -0
- package/dist/schemas/routes/profile/profile-avatar-finalize.schema.d.ts +14 -0
- package/dist/schemas/routes/profile/profile-avatar-finalize.schema.d.ts.map +1 -0
- package/dist/schemas/routes/profile/profile-avatar-finalize.schema.js +14 -0
- package/dist/schemas/routes/profile/profile-avatar-finalize.schema.js.map +1 -0
- package/dist/schemas/routes/profile/profile-avatar-upload.schema.d.ts +18 -0
- package/dist/schemas/routes/profile/profile-avatar-upload.schema.d.ts.map +1 -0
- package/dist/schemas/routes/profile/profile-avatar-upload.schema.js +16 -0
- package/dist/schemas/routes/profile/profile-avatar-upload.schema.js.map +1 -0
- package/dist/schemas/routes/profile/profile-garden-view.schema.d.ts +16 -0
- package/dist/schemas/routes/profile/profile-garden-view.schema.d.ts.map +1 -0
- package/dist/schemas/routes/profile/profile-garden-view.schema.js +13 -0
- package/dist/schemas/routes/profile/profile-garden-view.schema.js.map +1 -0
- package/dist/schemas/routes/profile/profile-get.schema.d.ts +24 -0
- package/dist/schemas/routes/profile/profile-get.schema.d.ts.map +1 -0
- package/dist/schemas/routes/profile/profile-get.schema.js +23 -0
- package/dist/schemas/routes/profile/profile-get.schema.js.map +1 -0
- package/dist/schemas/routes/profile/profile-lookup-card.schema.d.ts +11 -0
- package/dist/schemas/routes/profile/profile-lookup-card.schema.d.ts.map +1 -0
- package/dist/schemas/routes/profile/profile-lookup-card.schema.js +10 -0
- package/dist/schemas/routes/profile/profile-lookup-card.schema.js.map +1 -0
- package/dist/schemas/routes/profile/profile-update.schema.d.ts +30 -0
- package/dist/schemas/routes/profile/profile-update.schema.d.ts.map +1 -0
- package/dist/schemas/routes/profile/profile-update.schema.js +15 -0
- package/dist/schemas/routes/profile/profile-update.schema.js.map +1 -0
- package/dist/schemas/routes/verify/verify-root.schema.d.ts +69 -0
- package/dist/schemas/routes/verify/verify-root.schema.d.ts.map +1 -0
- package/dist/schemas/routes/verify/verify-root.schema.js +11 -0
- package/dist/schemas/routes/verify/verify-root.schema.js.map +1 -0
- package/dist/types/avatar-work.types.d.ts +11 -0
- package/dist/types/avatar-work.types.d.ts.map +1 -0
- package/dist/types/avatar-work.types.js +2 -0
- package/dist/types/avatar-work.types.js.map +1 -0
- package/dist/types/common.types.d.ts +1 -1
- package/dist/types/common.types.d.ts.map +1 -1
- package/dist/types/common.types.js.map +1 -1
- package/dist/types/id.types.d.ts +10 -8
- package/dist/types/id.types.d.ts.map +1 -1
- package/dist/types/id.types.js +1 -1
- package/dist/types/id.types.js.map +1 -1
- package/dist/types/index.d.ts +3 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js.map +1 -1
- package/dist/types/profile.types.d.ts +4 -0
- package/dist/types/profile.types.d.ts.map +1 -0
- package/dist/types/profile.types.js +2 -0
- package/dist/types/profile.types.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { ProfileAvatarUploadIdSchema } from '../../models/id.schemas.js';
|
|
3
|
+
export const ProfileAvatarUploadRequestSchema = z
|
|
4
|
+
.object({
|
|
5
|
+
contentType: z.enum(['image/jpeg', 'image/png', 'image/webp']),
|
|
6
|
+
byteSize: z.number().int().positive().max(5_000_000),
|
|
7
|
+
})
|
|
8
|
+
.strict();
|
|
9
|
+
export const ProfileAvatarUploadResponseSchema = z
|
|
10
|
+
.object({
|
|
11
|
+
uploadId: ProfileAvatarUploadIdSchema,
|
|
12
|
+
uploadUrl: z.url(),
|
|
13
|
+
expiresAt: z.iso.datetime(),
|
|
14
|
+
})
|
|
15
|
+
.strict();
|
|
16
|
+
//# sourceMappingURL=profile-avatar-upload.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profile-avatar-upload.schema.js","sourceRoot":"","sources":["../../../../src/schemas/routes/profile/profile-avatar-upload.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,2BAA2B,EAAE,MAAM,4BAA4B,CAAC;AAEzE,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC;KAC9C,MAAM,CAAC;IACN,WAAW,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,YAAY,EAAE,WAAW,EAAE,YAAY,CAAC,CAAC;IAC9D,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,GAAG,CAAC,SAAS,CAAC;CACrD,CAAC;KACD,MAAM,EAAE,CAAC;AAEZ,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC;KAC/C,MAAM,CAAC;IACN,QAAQ,EAAE,2BAA2B;IACrC,SAAS,EAAE,CAAC,CAAC,GAAG,EAAE;IAClB,SAAS,EAAE,CAAC,CAAC,GAAG,CAAC,QAAQ,EAAE;CAC5B,CAAC;KACD,MAAM,EAAE,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import type { FromZod } from '../../../types/common.types.js';
|
|
3
|
+
export declare const GardenProfileResponseSchema: z.ZodObject<{
|
|
4
|
+
displayName: z.ZodString;
|
|
5
|
+
bio: z.ZodOptional<z.ZodString>;
|
|
6
|
+
accent: z.ZodObject<{
|
|
7
|
+
customHex: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
8
|
+
effectiveHex: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
9
|
+
}, z.core.$strict>;
|
|
10
|
+
avatar: z.ZodNullable<z.ZodObject<{
|
|
11
|
+
url: z.ZodURL;
|
|
12
|
+
expiresAt: z.ZodISODateTime;
|
|
13
|
+
}, z.core.$strict>>;
|
|
14
|
+
}, z.core.$strict>;
|
|
15
|
+
export type GardenProfileResponse = FromZod<typeof GardenProfileResponseSchema>;
|
|
16
|
+
//# sourceMappingURL=profile-garden-view.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profile-garden-view.schema.d.ts","sourceRoot":"","sources":["../../../../src/schemas/routes/profile/profile-garden-view.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AAQ9D,eAAO,MAAM,2BAA2B;;;;;;;;;;;kBAO7B,CAAC;AAEZ,MAAM,MAAM,qBAAqB,GAAG,OAAO,CAAC,OAAO,2BAA2B,CAAC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { ProfileAccentProjectionSchema } from '../../models/profile-accent-projection.schema.js';
|
|
3
|
+
import { ProfileAvatarDeliverySchema } from '../../models/profile-avatar-delivery.schema.js';
|
|
4
|
+
import { ProfileBioSchema, ProfileDisplayNameSchema, } from '../../models/profile.schema.js';
|
|
5
|
+
export const GardenProfileResponseSchema = z
|
|
6
|
+
.object({
|
|
7
|
+
displayName: ProfileDisplayNameSchema,
|
|
8
|
+
bio: ProfileBioSchema.optional(),
|
|
9
|
+
accent: ProfileAccentProjectionSchema,
|
|
10
|
+
avatar: ProfileAvatarDeliverySchema.nullable(),
|
|
11
|
+
})
|
|
12
|
+
.strict();
|
|
13
|
+
//# sourceMappingURL=profile-garden-view.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profile-garden-view.schema.js","sourceRoot":"","sources":["../../../../src/schemas/routes/profile/profile-garden-view.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,2BAA2B,GAAG,CAAC;KACzC,MAAM,CAAC;IACN,WAAW,EAAE,wBAAwB;IACrC,GAAG,EAAE,gBAAgB,CAAC,QAAQ,EAAE;IAChC,MAAM,EAAE,6BAA6B;IACrC,MAAM,EAAE,2BAA2B,CAAC,QAAQ,EAAE;CAC/C,CAAC;KACD,MAAM,EAAE,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import type { FromZod } from '../../../types/common.types.js';
|
|
3
|
+
export declare const ProfileOwnerResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4
|
+
configured: z.ZodLiteral<false>;
|
|
5
|
+
accent: z.ZodObject<{
|
|
6
|
+
customHex: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
7
|
+
effectiveHex: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
8
|
+
}, z.core.$strict>;
|
|
9
|
+
avatar: z.ZodNull;
|
|
10
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
11
|
+
configured: z.ZodLiteral<true>;
|
|
12
|
+
displayName: z.ZodString;
|
|
13
|
+
bio: z.ZodOptional<z.ZodString>;
|
|
14
|
+
accent: z.ZodObject<{
|
|
15
|
+
customHex: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
16
|
+
effectiveHex: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
17
|
+
}, z.core.$strict>;
|
|
18
|
+
avatar: z.ZodNullable<z.ZodObject<{
|
|
19
|
+
url: z.ZodURL;
|
|
20
|
+
expiresAt: z.ZodISODateTime;
|
|
21
|
+
}, z.core.$strict>>;
|
|
22
|
+
}, z.core.$strict>], "configured">;
|
|
23
|
+
export type ProfileOwnerResponse = FromZod<typeof ProfileOwnerResponseSchema>;
|
|
24
|
+
//# sourceMappingURL=profile-get.schema.d.ts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { ProfileAccentProjectionSchema } from '../../models/profile-accent-projection.schema.js';
|
|
3
|
+
import { ProfileAvatarDeliverySchema } from '../../models/profile-avatar-delivery.schema.js';
|
|
4
|
+
import { ProfileBioSchema, ProfileDisplayNameSchema, } from '../../models/profile.schema.js';
|
|
5
|
+
export const ProfileOwnerResponseSchema = z.discriminatedUnion('configured', [
|
|
6
|
+
z
|
|
7
|
+
.object({
|
|
8
|
+
configured: z.literal(false),
|
|
9
|
+
accent: ProfileAccentProjectionSchema,
|
|
10
|
+
avatar: z.null(),
|
|
11
|
+
})
|
|
12
|
+
.strict(),
|
|
13
|
+
z
|
|
14
|
+
.object({
|
|
15
|
+
configured: z.literal(true),
|
|
16
|
+
displayName: ProfileDisplayNameSchema,
|
|
17
|
+
bio: ProfileBioSchema.optional(),
|
|
18
|
+
accent: ProfileAccentProjectionSchema,
|
|
19
|
+
avatar: ProfileAvatarDeliverySchema.nullable(),
|
|
20
|
+
})
|
|
21
|
+
.strict(),
|
|
22
|
+
]);
|
|
23
|
+
//# sourceMappingURL=profile-get.schema.js.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import type { FromZod } from '../../../types/common.types.js';
|
|
3
|
+
export declare const ProfileLookupCardResponseSchema: z.ZodObject<{
|
|
4
|
+
displayName: z.ZodString;
|
|
5
|
+
avatar: z.ZodNullable<z.ZodObject<{
|
|
6
|
+
url: z.ZodURL;
|
|
7
|
+
expiresAt: z.ZodISODateTime;
|
|
8
|
+
}, z.core.$strict>>;
|
|
9
|
+
}, z.core.$strict>;
|
|
10
|
+
export type ProfileLookupCardResponse = FromZod<typeof ProfileLookupCardResponseSchema>;
|
|
11
|
+
//# sourceMappingURL=profile-lookup-card.schema.d.ts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { ProfileAvatarDeliverySchema } from '../../models/profile-avatar-delivery.schema.js';
|
|
3
|
+
import { ProfileDisplayNameSchema } from '../../models/profile.schema.js';
|
|
4
|
+
export const ProfileLookupCardResponseSchema = z
|
|
5
|
+
.object({
|
|
6
|
+
displayName: ProfileDisplayNameSchema,
|
|
7
|
+
avatar: ProfileAvatarDeliverySchema.nullable(),
|
|
8
|
+
})
|
|
9
|
+
.strict();
|
|
10
|
+
//# sourceMappingURL=profile-lookup-card.schema.js.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import type { FromZod } from '../../../types/common.types.js';
|
|
3
|
+
export declare const ProfileUpdateRequestSchema: z.ZodObject<{
|
|
4
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
5
|
+
bio: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6
|
+
accentHex: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
7
|
+
}, z.core.$strict>;
|
|
8
|
+
export declare const ProfileUpdateResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9
|
+
configured: z.ZodLiteral<false>;
|
|
10
|
+
accent: z.ZodObject<{
|
|
11
|
+
customHex: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
12
|
+
effectiveHex: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
13
|
+
}, z.core.$strict>;
|
|
14
|
+
avatar: z.ZodNull;
|
|
15
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
16
|
+
configured: z.ZodLiteral<true>;
|
|
17
|
+
displayName: z.ZodString;
|
|
18
|
+
bio: z.ZodOptional<z.ZodString>;
|
|
19
|
+
accent: z.ZodObject<{
|
|
20
|
+
customHex: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
21
|
+
effectiveHex: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
22
|
+
}, z.core.$strict>;
|
|
23
|
+
avatar: z.ZodNullable<z.ZodObject<{
|
|
24
|
+
url: z.ZodURL;
|
|
25
|
+
expiresAt: z.ZodISODateTime;
|
|
26
|
+
}, z.core.$strict>>;
|
|
27
|
+
}, z.core.$strict>], "configured">;
|
|
28
|
+
export type ProfileUpdateRequest = FromZod<typeof ProfileUpdateRequestSchema>;
|
|
29
|
+
export type ProfileUpdateResponse = FromZod<typeof ProfileUpdateResponseSchema>;
|
|
30
|
+
//# sourceMappingURL=profile-update.schema.d.ts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { ProfileOwnerResponseSchema } from './profile-get.schema.js';
|
|
3
|
+
import { ProfileAccentHexSchema, ProfileBioSchema, ProfileDisplayNameSchema, } from '../../models/profile.schema.js';
|
|
4
|
+
export const ProfileUpdateRequestSchema = z
|
|
5
|
+
.object({
|
|
6
|
+
displayName: ProfileDisplayNameSchema.optional(),
|
|
7
|
+
bio: ProfileBioSchema.nullable().optional(),
|
|
8
|
+
accentHex: ProfileAccentHexSchema.nullable().optional(),
|
|
9
|
+
})
|
|
10
|
+
.strict()
|
|
11
|
+
.refine((value) => Object.keys(value).length > 0, {
|
|
12
|
+
message: 'At least one profile field must be provided',
|
|
13
|
+
});
|
|
14
|
+
export const ProfileUpdateResponseSchema = ProfileOwnerResponseSchema;
|
|
15
|
+
//# sourceMappingURL=profile-update.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profile-update.schema.js","sourceRoot":"","sources":["../../../../src/schemas/routes/profile/profile-update.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,EACL,sBAAsB,EACtB,gBAAgB,EAChB,wBAAwB,GACzB,MAAM,gCAAgC,CAAC;AAExC,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC;KACxC,MAAM,CAAC;IACN,WAAW,EAAE,wBAAwB,CAAC,QAAQ,EAAE;IAChD,GAAG,EAAE,gBAAgB,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC3C,SAAS,EAAE,sBAAsB,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;CACxD,CAAC;KACD,MAAM,EAAE;KACR,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,GAAG,CAAC,EAAE;IAChD,OAAO,EAAE,6CAA6C;CACvD,CAAC,CAAC;AAEL,MAAM,CAAC,MAAM,2BAA2B,GAAG,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import type { FromZod } from '../../../types/common.types.js';
|
|
3
|
+
export declare const VerifyRootRequestSchema: z.ZodObject<{
|
|
4
|
+
userId: z.ZodString;
|
|
5
|
+
}, z.core.$strip>;
|
|
6
|
+
export declare const VerifyRootResponseSchema: z.ZodObject<{
|
|
7
|
+
success: z.ZodBoolean;
|
|
8
|
+
data: z.ZodObject<{
|
|
9
|
+
ownershipExists: z.ZodObject<{
|
|
10
|
+
status: z.ZodEnum<{
|
|
11
|
+
success: "success";
|
|
12
|
+
failed: "failed";
|
|
13
|
+
blocked: "blocked";
|
|
14
|
+
}>;
|
|
15
|
+
error: z.ZodOptional<z.ZodString>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
signatureExists: z.ZodObject<{
|
|
18
|
+
status: z.ZodEnum<{
|
|
19
|
+
success: "success";
|
|
20
|
+
failed: "failed";
|
|
21
|
+
blocked: "blocked";
|
|
22
|
+
}>;
|
|
23
|
+
error: z.ZodOptional<z.ZodString>;
|
|
24
|
+
}, z.core.$strip>;
|
|
25
|
+
visualisationExists: z.ZodObject<{
|
|
26
|
+
status: z.ZodEnum<{
|
|
27
|
+
success: "success";
|
|
28
|
+
failed: "failed";
|
|
29
|
+
blocked: "blocked";
|
|
30
|
+
}>;
|
|
31
|
+
error: z.ZodOptional<z.ZodString>;
|
|
32
|
+
}, z.core.$strip>;
|
|
33
|
+
userExists: z.ZodObject<{
|
|
34
|
+
status: z.ZodEnum<{
|
|
35
|
+
success: "success";
|
|
36
|
+
failed: "failed";
|
|
37
|
+
blocked: "blocked";
|
|
38
|
+
}>;
|
|
39
|
+
error: z.ZodOptional<z.ZodString>;
|
|
40
|
+
}, z.core.$strip>;
|
|
41
|
+
ownershipProofVerified: z.ZodObject<{
|
|
42
|
+
status: z.ZodEnum<{
|
|
43
|
+
success: "success";
|
|
44
|
+
failed: "failed";
|
|
45
|
+
blocked: "blocked";
|
|
46
|
+
}>;
|
|
47
|
+
error: z.ZodOptional<z.ZodString>;
|
|
48
|
+
}, z.core.$strip>;
|
|
49
|
+
signatureProofVerified: z.ZodObject<{
|
|
50
|
+
status: z.ZodEnum<{
|
|
51
|
+
success: "success";
|
|
52
|
+
failed: "failed";
|
|
53
|
+
blocked: "blocked";
|
|
54
|
+
}>;
|
|
55
|
+
error: z.ZodOptional<z.ZodString>;
|
|
56
|
+
}, z.core.$strip>;
|
|
57
|
+
visualisationVerified: z.ZodObject<{
|
|
58
|
+
status: z.ZodEnum<{
|
|
59
|
+
success: "success";
|
|
60
|
+
failed: "failed";
|
|
61
|
+
blocked: "blocked";
|
|
62
|
+
}>;
|
|
63
|
+
error: z.ZodOptional<z.ZodString>;
|
|
64
|
+
}, z.core.$strip>;
|
|
65
|
+
}, z.core.$strip>;
|
|
66
|
+
}, z.core.$strip>;
|
|
67
|
+
export type VerifyRootRequest = FromZod<typeof VerifyRootRequestSchema>;
|
|
68
|
+
export type VerifyRootResponse = FromZod<typeof VerifyRootResponseSchema>;
|
|
69
|
+
//# sourceMappingURL=verify-root.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"verify-root.schema.d.ts","sourceRoot":"","sources":["../../../../src/schemas/routes/verify/verify-root.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AAI9D,eAAO,MAAM,uBAAuB;;iBAElC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAGnC,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACxE,MAAM,MAAM,kBAAkB,GAAG,OAAO,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { UserIdSchema } from '../../models/id.schemas.js';
|
|
3
|
+
import { OwnershipVerificationResultSchema } from '../../models/ownership-verification-result.schema.js';
|
|
4
|
+
export const VerifyRootRequestSchema = z.object({
|
|
5
|
+
userId: UserIdSchema,
|
|
6
|
+
});
|
|
7
|
+
export const VerifyRootResponseSchema = z.object({
|
|
8
|
+
success: z.boolean(),
|
|
9
|
+
data: OwnershipVerificationResultSchema,
|
|
10
|
+
});
|
|
11
|
+
//# sourceMappingURL=verify-root.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"verify-root.schema.js","sourceRoot":"","sources":["../../../../src/schemas/routes/verify/verify-root.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,iCAAiC,EAAE,MAAM,sDAAsD,CAAC;AAEzG,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,MAAM,EAAE,YAAY;CACrB,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/C,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE;IACpB,IAAI,EAAE,iCAAiC;CACxC,CAAC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { FromZod } from './common.types.js';
|
|
2
|
+
import type { AvatarWorkClaimSchema, AvatarWorkFailureSchema } from '../schemas/models/avatar-work.schema.js';
|
|
3
|
+
import type { ProfileAvatarUploadResultSchema, ProfileAvatarUploadSessionSchema } from '../schemas/models/profile-avatar-upload-session.schema.js';
|
|
4
|
+
import type { AvatarCleanupJobSchema, AvatarCleanupTargetSchema } from '../schemas/models/avatar-cleanup-job.schema.js';
|
|
5
|
+
export type AvatarWorkClaim = FromZod<typeof AvatarWorkClaimSchema>;
|
|
6
|
+
export type AvatarWorkFailure = FromZod<typeof AvatarWorkFailureSchema>;
|
|
7
|
+
export type ProfileAvatarUploadResult = FromZod<typeof ProfileAvatarUploadResultSchema>;
|
|
8
|
+
export type ProfileAvatarUploadSession = FromZod<typeof ProfileAvatarUploadSessionSchema>;
|
|
9
|
+
export type AvatarCleanupTarget = FromZod<typeof AvatarCleanupTargetSchema>;
|
|
10
|
+
export type AvatarCleanupJob = FromZod<typeof AvatarCleanupJobSchema>;
|
|
11
|
+
//# sourceMappingURL=avatar-work.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"avatar-work.types.d.ts","sourceRoot":"","sources":["../../src/types/avatar-work.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,KAAK,EACV,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,yCAAyC,CAAC;AACjD,OAAO,KAAK,EACV,+BAA+B,EAC/B,gCAAgC,EACjC,MAAM,2DAA2D,CAAC;AACnE,OAAO,KAAK,EACV,sBAAsB,EACtB,yBAAyB,EAC1B,MAAM,gDAAgD,CAAC;AAExD,MAAM,MAAM,eAAe,GAAG,OAAO,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACpE,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACxE,MAAM,MAAM,yBAAyB,GAAG,OAAO,CAC7C,OAAO,+BAA+B,CACvC,CAAC;AACF,MAAM,MAAM,0BAA0B,GAAG,OAAO,CAC9C,OAAO,gCAAgC,CACxC,CAAC;AACF,MAAM,MAAM,mBAAmB,GAAG,OAAO,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC5E,MAAM,MAAM,gBAAgB,GAAG,OAAO,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"avatar-work.types.js","sourceRoot":"","sources":["../../src/types/avatar-work.types.ts"],"names":[],"mappings":""}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type CellSchema, type CoordinatesSchema, SizeMeasuresSchema } from '../schemas/index.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
export type Nullable<T> = T | null | undefined;
|
|
4
|
-
export type FromZod<
|
|
4
|
+
export type FromZod<ZodSchema extends z.ZodType> = z.infer<ZodSchema>;
|
|
5
5
|
export type Coordinates = FromZod<typeof CoordinatesSchema>;
|
|
6
6
|
export type SizeMeasures = FromZod<typeof SizeMeasuresSchema>;
|
|
7
7
|
export type Cell = FromZod<typeof CellSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.types.d.ts","sourceRoot":"","sources":["../../src/types/common.types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,UAAU,EACf,KAAK,iBAAiB,EACtB,kBAAkB,EACnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,MAAM,QAAQ,CAAC,CAAC,IAAI,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;AAE/C,MAAM,MAAM,OAAO,CAAC,SAAS,SAAS,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"common.types.d.ts","sourceRoot":"","sources":["../../src/types/common.types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,UAAU,EACf,KAAK,iBAAiB,EACtB,kBAAkB,EACnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,MAAM,QAAQ,CAAC,CAAC,IAAI,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;AAE/C,MAAM,MAAM,OAAO,CAAC,SAAS,SAAS,CAAC,CAAC,OAAO,IAAI,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;AAEtE,MAAM,MAAM,WAAW,GAAG,OAAO,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D,MAAM,MAAM,YAAY,GAAG,OAAO,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE9D,MAAM,MAAM,IAAI,GAAG,OAAO,CAAC,OAAO,UAAU,CAAC,CAAC;AAE9C,eAAO,MAAM,UAAU,6CAA8C,CAAC;AAEtE,MAAM,MAAM,SAAS,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC;AAEpD,MAAM,MAAM,IAAI,GAAG,SAAS,GAAG,UAAU,GAAG,MAAM,CAAC;AAEnD,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI,CAAC,GAAG;IAAE,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAEtD,MAAM,MAAM,MAAM,CAAC,CAAC,IAAI,CAAC,GAAG;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.types.js","sourceRoot":"","sources":["../../src/types/common.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,kBAAkB,GACnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"common.types.js","sourceRoot":"","sources":["../../src/types/common.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,kBAAkB,GACnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,CAAU,CAAC"}
|
package/dist/types/id.types.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import type { GridDrawerElementIdSchema, SignatureIdSchema, UserIdSchema, VisualisationIdSchema, OwnershipIdSchema, VisualisationPendingIdSchema } from '../schemas/index.js';
|
|
3
|
-
export type GridDrawerElementId =
|
|
4
|
-
export type SignatureId =
|
|
5
|
-
export type VisualisationId =
|
|
6
|
-
export type VisualisationPendingId =
|
|
7
|
-
export type
|
|
8
|
-
export type
|
|
1
|
+
import type { FromZod } from './common.types.js';
|
|
2
|
+
import type { GridDrawerElementIdSchema, ProfileAvatarUploadIdSchema, AvatarCleanupJobIdSchema, SignatureIdSchema, UserIdSchema, VisualisationIdSchema, OwnershipIdSchema, VisualisationPendingIdSchema } from '../schemas/index.js';
|
|
3
|
+
export type GridDrawerElementId = FromZod<typeof GridDrawerElementIdSchema>;
|
|
4
|
+
export type SignatureId = FromZod<typeof SignatureIdSchema>;
|
|
5
|
+
export type VisualisationId = FromZod<typeof VisualisationIdSchema>;
|
|
6
|
+
export type VisualisationPendingId = FromZod<typeof VisualisationPendingIdSchema>;
|
|
7
|
+
export type ProfileAvatarUploadId = FromZod<typeof ProfileAvatarUploadIdSchema>;
|
|
8
|
+
export type AvatarCleanupJobId = FromZod<typeof AvatarCleanupJobIdSchema>;
|
|
9
|
+
export type UserId = FromZod<typeof UserIdSchema>;
|
|
10
|
+
export type OwnershipId = FromZod<typeof OwnershipIdSchema>;
|
|
9
11
|
//# 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,
|
|
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,eAAe,GAAG,OAAO,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpE,MAAM,MAAM,sBAAsB,GAAG,OAAO,CAC1C,OAAO,4BAA4B,CACpC,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,OAAO,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEhF,MAAM,MAAM,kBAAkB,GAAG,OAAO,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E,MAAM,MAAM,MAAM,GAAG,OAAO,CAAC,OAAO,YAAY,CAAC,CAAC;AAElD,MAAM,MAAM,WAAW,GAAG,OAAO,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
|
package/dist/types/id.types.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=id.types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"id.types.js","sourceRoot":"","sources":["../../src/types/id.types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"id.types.js","sourceRoot":"","sources":["../../src/types/id.types.ts"],"names":[],"mappings":""}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { GridDrawerElementId, SignatureId, VisualisationId, UserId, OwnershipId, } from './id.types.js';
|
|
1
|
+
export type { GridDrawerElementId, SignatureId, VisualisationId, VisualisationPendingId, ProfileAvatarUploadId, AvatarCleanupJobId, UserId, OwnershipId, } 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';
|
|
@@ -10,6 +10,8 @@ export { type ErrorResponse } from './route-responses.types.js';
|
|
|
10
10
|
export type { GridConstantsDto, GardenGridConstantsDto, } from './constants.types.js';
|
|
11
11
|
export { userRoles, userStatuses } from './user.types.js';
|
|
12
12
|
export type { User, UserRole, UserStatus } from './user.types.js';
|
|
13
|
+
export type { Profile } from './profile.types.js';
|
|
14
|
+
export type { AvatarWorkClaim, AvatarWorkFailure, ProfileAvatarUploadResult, ProfileAvatarUploadSession, AvatarCleanupTarget, AvatarCleanupJob, } from './avatar-work.types.js';
|
|
13
15
|
export { ownershipVerificationStatuses } from './ownership-verification.types.js';
|
|
14
16
|
export type { OwnershipVerificationStatus } from './ownership-verification.types.js';
|
|
15
17
|
export type { TransformerType, TransformerAdditionalProps, } from './transformer.types.js';
|
|
@@ -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,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,OAAO,EAAE,6BAA6B,EAAE,MAAM,mCAAmC,CAAC;AAClF,YAAY,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;AACrF,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;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,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,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAClD,YAAY,EACV,eAAe,EACf,iBAAiB,EACjB,yBAAyB,EACzB,0BAA0B,EAC1B,mBAAmB,EACnB,gBAAgB,GACjB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,6BAA6B,EAAE,MAAM,mCAAmC,CAAC;AAClF,YAAY,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;AACrF,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;AACtD,YAAY,EAAE,0BAA0B,EAAE,MAAM,0DAA0D,CAAC;AAC3G,YAAY,EAAE,2BAA2B,EAAE,MAAM,2DAA2D,CAAC"}
|
package/dist/types/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AA6BA,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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profile.types.d.ts","sourceRoot":"","sources":["../../src/types/profile.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEpD,MAAM,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,aAAa,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profile.types.js","sourceRoot":"","sources":["../../src/types/profile.types.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC"}
|