@little-samo/samo-ai-sdk 0.7.8 → 0.7.10
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/dto/entities/agents/agent.requests.d.ts +12 -12
- package/dist/dto/entities/users/user.d.ts +12 -4
- package/dist/dto/entities/users/user.js +2 -0
- package/dist/dto/entities/users/user.js.map +1 -1
- package/dist/dto/entities/users/user.requests.d.ts +101 -29
- package/dist/dto/entities/users/user.requests.js +19 -2
- package/dist/dto/entities/users/user.requests.js.map +1 -1
- package/dist/dto/images/image.requests.d.ts +9 -3
- package/dist/dto/images/image.requests.js +3 -1
- package/dist/dto/images/image.requests.js.map +1 -1
- package/dist/dto/locations/location.preset.d.ts +2 -2
- package/dist/dto/locations/location.requests.d.ts +58 -48
- package/package.json +1 -1
|
@@ -7,11 +7,11 @@ export declare const AgentsPaginationQuerySchema: z.ZodObject<{
|
|
|
7
7
|
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
8
8
|
limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
|
10
|
-
page: number;
|
|
11
10
|
limit: number;
|
|
11
|
+
page: number;
|
|
12
12
|
}, {
|
|
13
|
-
page?: number | undefined;
|
|
14
13
|
limit?: number | undefined;
|
|
14
|
+
page?: number | undefined;
|
|
15
15
|
}>;
|
|
16
16
|
export type AgentsPaginationQueryDto = z.infer<typeof AgentsPaginationQuerySchema>;
|
|
17
17
|
export interface AgentsPaginatedResponseDto {
|
|
@@ -152,9 +152,9 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
|
|
|
152
152
|
}>>;
|
|
153
153
|
rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
154
154
|
}, "strict", z.ZodTypeAny, {
|
|
155
|
-
avatar?: string | undefined;
|
|
156
155
|
name?: string | undefined;
|
|
157
156
|
role?: string | undefined;
|
|
157
|
+
avatar?: string | undefined;
|
|
158
158
|
referenceAvatar?: string | undefined;
|
|
159
159
|
appearance?: string | undefined;
|
|
160
160
|
core?: {
|
|
@@ -188,9 +188,9 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
|
|
|
188
188
|
} | undefined;
|
|
189
189
|
} | undefined;
|
|
190
190
|
}, {
|
|
191
|
-
avatar?: string | undefined;
|
|
192
191
|
name?: string | undefined;
|
|
193
192
|
role?: string | undefined;
|
|
193
|
+
avatar?: string | undefined;
|
|
194
194
|
referenceAvatar?: string | undefined;
|
|
195
195
|
appearance?: string | undefined;
|
|
196
196
|
core?: {
|
|
@@ -226,9 +226,9 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
|
|
|
226
226
|
}>;
|
|
227
227
|
}, "strip", z.ZodTypeAny, {
|
|
228
228
|
config: {
|
|
229
|
-
avatar?: string | undefined;
|
|
230
229
|
name?: string | undefined;
|
|
231
230
|
role?: string | undefined;
|
|
231
|
+
avatar?: string | undefined;
|
|
232
232
|
referenceAvatar?: string | undefined;
|
|
233
233
|
appearance?: string | undefined;
|
|
234
234
|
core?: {
|
|
@@ -265,9 +265,9 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
|
|
|
265
265
|
agentId: bigint;
|
|
266
266
|
}, {
|
|
267
267
|
config: {
|
|
268
|
-
avatar?: string | undefined;
|
|
269
268
|
name?: string | undefined;
|
|
270
269
|
role?: string | undefined;
|
|
270
|
+
avatar?: string | undefined;
|
|
271
271
|
referenceAvatar?: string | undefined;
|
|
272
272
|
appearance?: string | undefined;
|
|
273
273
|
core?: {
|
|
@@ -369,11 +369,11 @@ export declare const AgentPresetsPaginationQuerySchema: z.ZodObject<{
|
|
|
369
369
|
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
370
370
|
limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
371
371
|
}, "strip", z.ZodTypeAny, {
|
|
372
|
-
page: number;
|
|
373
372
|
limit: number;
|
|
373
|
+
page: number;
|
|
374
374
|
}, {
|
|
375
|
-
page?: number | undefined;
|
|
376
375
|
limit?: number | undefined;
|
|
376
|
+
page?: number | undefined;
|
|
377
377
|
}>;
|
|
378
378
|
export type AgentPresetsPaginationQueryDto = z.infer<typeof AgentPresetsPaginationQuerySchema>;
|
|
379
379
|
export interface AgentPresetsPaginatedResponseDto {
|
|
@@ -499,9 +499,9 @@ export declare const CreateAgentSchema: z.ZodObject<{
|
|
|
499
499
|
}>>;
|
|
500
500
|
rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
501
501
|
}, "strict", z.ZodTypeAny, {
|
|
502
|
-
avatar?: string | undefined;
|
|
503
502
|
name?: string | undefined;
|
|
504
503
|
role?: string | undefined;
|
|
504
|
+
avatar?: string | undefined;
|
|
505
505
|
referenceAvatar?: string | undefined;
|
|
506
506
|
appearance?: string | undefined;
|
|
507
507
|
core?: {
|
|
@@ -535,9 +535,9 @@ export declare const CreateAgentSchema: z.ZodObject<{
|
|
|
535
535
|
} | undefined;
|
|
536
536
|
} | undefined;
|
|
537
537
|
}, {
|
|
538
|
-
avatar?: string | undefined;
|
|
539
538
|
name?: string | undefined;
|
|
540
539
|
role?: string | undefined;
|
|
540
|
+
avatar?: string | undefined;
|
|
541
541
|
referenceAvatar?: string | undefined;
|
|
542
542
|
appearance?: string | undefined;
|
|
543
543
|
core?: {
|
|
@@ -573,9 +573,9 @@ export declare const CreateAgentSchema: z.ZodObject<{
|
|
|
573
573
|
}>;
|
|
574
574
|
}, "strip", z.ZodTypeAny, {
|
|
575
575
|
config: {
|
|
576
|
-
avatar?: string | undefined;
|
|
577
576
|
name?: string | undefined;
|
|
578
577
|
role?: string | undefined;
|
|
578
|
+
avatar?: string | undefined;
|
|
579
579
|
referenceAvatar?: string | undefined;
|
|
580
580
|
appearance?: string | undefined;
|
|
581
581
|
core?: {
|
|
@@ -611,9 +611,9 @@ export declare const CreateAgentSchema: z.ZodObject<{
|
|
|
611
611
|
};
|
|
612
612
|
}, {
|
|
613
613
|
config: {
|
|
614
|
-
avatar?: string | undefined;
|
|
615
614
|
name?: string | undefined;
|
|
616
615
|
role?: string | undefined;
|
|
616
|
+
avatar?: string | undefined;
|
|
617
617
|
referenceAvatar?: string | undefined;
|
|
618
618
|
appearance?: string | undefined;
|
|
619
619
|
core?: {
|
|
@@ -14,6 +14,8 @@ export interface UserPublicDto {
|
|
|
14
14
|
bio: string | null;
|
|
15
15
|
appearance: string | null;
|
|
16
16
|
level: number;
|
|
17
|
+
ownedPublicAvatarCount: number | null;
|
|
18
|
+
ownedAvatarUsageCount: number | null;
|
|
17
19
|
ownedPresetLocationCount: number | null;
|
|
18
20
|
ownedPresetMessageCount: number | null;
|
|
19
21
|
followingCount: number | null;
|
|
@@ -49,28 +51,34 @@ export declare const UserAvatarSchema: z.ZodObject<{
|
|
|
49
51
|
examplePoses: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
50
52
|
appearance: z.ZodString;
|
|
51
53
|
style: z.ZodOptional<z.ZodEnum<["realistic", "webtoon", "webtoon2", "illustration", "anime", "korean"]>>;
|
|
54
|
+
likeCount: z.ZodOptional<z.ZodNumber>;
|
|
55
|
+
isLiked: z.ZodOptional<z.ZodBoolean>;
|
|
52
56
|
isPublic: z.ZodOptional<z.ZodBoolean>;
|
|
53
57
|
createdAt: z.ZodOptional<z.ZodDate>;
|
|
54
58
|
}, "strip", z.ZodTypeAny, {
|
|
55
|
-
avatar: string;
|
|
56
59
|
name: string;
|
|
60
|
+
avatar: string;
|
|
57
61
|
appearance: string;
|
|
58
|
-
style?: "realistic" | "webtoon" | "webtoon2" | "illustration" | "anime" | "korean" | undefined;
|
|
59
62
|
id?: bigint | undefined;
|
|
60
63
|
role?: string | undefined;
|
|
61
64
|
referenceAvatar?: string | undefined;
|
|
62
65
|
examplePoses?: string[] | undefined;
|
|
66
|
+
style?: "realistic" | "webtoon" | "webtoon2" | "illustration" | "anime" | "korean" | undefined;
|
|
67
|
+
likeCount?: number | undefined;
|
|
68
|
+
isLiked?: boolean | undefined;
|
|
63
69
|
isPublic?: boolean | undefined;
|
|
64
70
|
createdAt?: Date | undefined;
|
|
65
71
|
}, {
|
|
66
|
-
avatar: string;
|
|
67
72
|
name: string;
|
|
73
|
+
avatar: string;
|
|
68
74
|
appearance: string;
|
|
69
|
-
style?: "realistic" | "webtoon" | "webtoon2" | "illustration" | "anime" | "korean" | undefined;
|
|
70
75
|
id?: bigint | undefined;
|
|
71
76
|
role?: string | undefined;
|
|
72
77
|
referenceAvatar?: string | undefined;
|
|
73
78
|
examplePoses?: string[] | undefined;
|
|
79
|
+
style?: "realistic" | "webtoon" | "webtoon2" | "illustration" | "anime" | "korean" | undefined;
|
|
80
|
+
likeCount?: number | undefined;
|
|
81
|
+
isLiked?: boolean | undefined;
|
|
74
82
|
isPublic?: boolean | undefined;
|
|
75
83
|
createdAt?: Date | undefined;
|
|
76
84
|
}>;
|
|
@@ -15,6 +15,8 @@ exports.UserAvatarSchema = zod_1.default.object({
|
|
|
15
15
|
examplePoses: zod_1.default.array(zod_1.default.string().max(2048)).optional(),
|
|
16
16
|
appearance: zod_1.default.string().max(500),
|
|
17
17
|
style: images_1.ImageStyleSchema.optional(),
|
|
18
|
+
likeCount: zod_1.default.number().int().optional(),
|
|
19
|
+
isLiked: zod_1.default.boolean().optional(),
|
|
18
20
|
isPublic: zod_1.default.boolean().optional(),
|
|
19
21
|
createdAt: zod_1.default.coerce.date().optional(),
|
|
20
22
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.js","sourceRoot":"","sources":["../../../../src/dto/entities/users/user.ts"],"names":[],"mappings":";;;;;;AACA,8CAAoB;AAEpB,yCAAgD;
|
|
1
|
+
{"version":3,"file":"user.js","sourceRoot":"","sources":["../../../../src/dto/entities/users/user.ts"],"names":[],"mappings":";;;;;;AACA,8CAAoB;AAEpB,yCAAgD;AAqDnC,QAAA,gBAAgB,GAAG,aAAC,CAAC,MAAM,CAAC;IACvC,EAAE,EAAE,aAAC,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,IAAI,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC;IACxB,IAAI,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;IACpC,MAAM,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC;IAC5B,eAAe,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE;IAChD,YAAY,EAAE,aAAC,CAAC,KAAK,CAAC,aAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ,EAAE;IACtD,UAAU,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC;IAC/B,KAAK,EAAE,yBAAgB,CAAC,QAAQ,EAAE;IAClC,SAAS,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACtC,OAAO,EAAE,aAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC/B,QAAQ,EAAE,aAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAChC,SAAS,EAAE,aAAC,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;CACtC,CAAC,CAAC;AAKU,QAAA,oBAAoB,GAAG,aAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC"}
|
|
@@ -21,8 +21,8 @@ export declare const UpdateCurrentUserBodySchema: z.ZodObject<{
|
|
|
21
21
|
bio: z.ZodOptional<z.ZodString>;
|
|
22
22
|
isAllowSensitive: z.ZodOptional<z.ZodBoolean>;
|
|
23
23
|
}, "strip", z.ZodTypeAny, {
|
|
24
|
-
avatar?: string | undefined;
|
|
25
24
|
role?: string | undefined;
|
|
25
|
+
avatar?: string | undefined;
|
|
26
26
|
referenceAvatar?: string | undefined;
|
|
27
27
|
appearance?: string | undefined;
|
|
28
28
|
username?: string | undefined;
|
|
@@ -33,8 +33,8 @@ export declare const UpdateCurrentUserBodySchema: z.ZodObject<{
|
|
|
33
33
|
bio?: string | undefined;
|
|
34
34
|
isAllowSensitive?: boolean | undefined;
|
|
35
35
|
}, {
|
|
36
|
-
avatar?: string | undefined;
|
|
37
36
|
role?: string | undefined;
|
|
37
|
+
avatar?: string | undefined;
|
|
38
38
|
referenceAvatar?: string | undefined;
|
|
39
39
|
appearance?: string | undefined;
|
|
40
40
|
username?: string | undefined;
|
|
@@ -64,11 +64,11 @@ export declare const GetUserAvatarsQuerySchema: z.ZodObject<{
|
|
|
64
64
|
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
65
65
|
limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
66
66
|
}, "strip", z.ZodTypeAny, {
|
|
67
|
-
page: number;
|
|
68
67
|
limit: number;
|
|
68
|
+
page: number;
|
|
69
69
|
}, {
|
|
70
|
-
page?: number | undefined;
|
|
71
70
|
limit?: number | undefined;
|
|
71
|
+
page?: number | undefined;
|
|
72
72
|
}>;
|
|
73
73
|
export type GetUserAvatarsQueryDto = z.infer<typeof GetUserAvatarsQuerySchema>;
|
|
74
74
|
export interface GetUserAvatarsResponseDto {
|
|
@@ -84,28 +84,28 @@ export declare const CreateUserAvatarBodySchema: z.ZodObject<{
|
|
|
84
84
|
name: z.ZodString;
|
|
85
85
|
role: z.ZodOptional<z.ZodString>;
|
|
86
86
|
avatar: z.ZodString;
|
|
87
|
-
referenceAvatar: z.ZodString
|
|
87
|
+
referenceAvatar: z.ZodOptional<z.ZodString>;
|
|
88
88
|
examplePoses: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
89
89
|
appearance: z.ZodString;
|
|
90
90
|
style: z.ZodOptional<z.ZodEnum<["realistic", "webtoon", "webtoon2", "illustration", "anime", "korean"]>>;
|
|
91
91
|
isPublic: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
92
92
|
}, "strip", z.ZodTypeAny, {
|
|
93
|
-
avatar: string;
|
|
94
93
|
name: string;
|
|
95
|
-
|
|
94
|
+
avatar: string;
|
|
96
95
|
appearance: string;
|
|
97
96
|
isPublic: boolean;
|
|
98
|
-
style?: "realistic" | "webtoon" | "webtoon2" | "illustration" | "anime" | "korean" | undefined;
|
|
99
97
|
role?: string | undefined;
|
|
98
|
+
referenceAvatar?: string | undefined;
|
|
100
99
|
examplePoses?: string[] | undefined;
|
|
100
|
+
style?: "realistic" | "webtoon" | "webtoon2" | "illustration" | "anime" | "korean" | undefined;
|
|
101
101
|
}, {
|
|
102
|
-
avatar: string;
|
|
103
102
|
name: string;
|
|
104
|
-
|
|
103
|
+
avatar: string;
|
|
105
104
|
appearance: string;
|
|
106
|
-
style?: "realistic" | "webtoon" | "webtoon2" | "illustration" | "anime" | "korean" | undefined;
|
|
107
105
|
role?: string | undefined;
|
|
106
|
+
referenceAvatar?: string | undefined;
|
|
108
107
|
examplePoses?: string[] | undefined;
|
|
108
|
+
style?: "realistic" | "webtoon" | "webtoon2" | "illustration" | "anime" | "korean" | undefined;
|
|
109
109
|
isPublic?: boolean | undefined;
|
|
110
110
|
}>;
|
|
111
111
|
export type CreateUserAvatarBodyDto = z.infer<typeof CreateUserAvatarBodySchema>;
|
|
@@ -146,6 +146,26 @@ export declare const DeleteUserAvatarBodySchema: z.ZodObject<{}, "strip", z.ZodT
|
|
|
146
146
|
export type DeleteUserAvatarBodyDto = z.infer<typeof DeleteUserAvatarBodySchema>;
|
|
147
147
|
export interface DeleteUserAvatarResponseDto {
|
|
148
148
|
}
|
|
149
|
+
export declare const GetLikedUserAvatarsQuerySchema: z.ZodObject<{
|
|
150
|
+
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
151
|
+
limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
152
|
+
}, "strip", z.ZodTypeAny, {
|
|
153
|
+
limit: number;
|
|
154
|
+
page: number;
|
|
155
|
+
}, {
|
|
156
|
+
limit?: number | undefined;
|
|
157
|
+
page?: number | undefined;
|
|
158
|
+
}>;
|
|
159
|
+
export type GetLikedUserAvatarsQueryDto = z.infer<typeof GetLikedUserAvatarsQuerySchema>;
|
|
160
|
+
export interface GetLikedUserAvatarsResponseDto {
|
|
161
|
+
avatars: UserAvatarDto[];
|
|
162
|
+
meta: {
|
|
163
|
+
total: number;
|
|
164
|
+
page: number;
|
|
165
|
+
limit: number;
|
|
166
|
+
totalPages: number;
|
|
167
|
+
};
|
|
168
|
+
}
|
|
149
169
|
export declare const GetAttendanceQuerySchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
150
170
|
export type GetAttendanceQueryDto = z.infer<typeof GetAttendanceQuerySchema>;
|
|
151
171
|
export interface GetAttendanceResponseDto {
|
|
@@ -199,11 +219,11 @@ export declare const GetPublicAvatarsQuerySchema: z.ZodObject<{
|
|
|
199
219
|
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
200
220
|
limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
201
221
|
}, "strip", z.ZodTypeAny, {
|
|
202
|
-
page: number;
|
|
203
222
|
limit: number;
|
|
223
|
+
page: number;
|
|
204
224
|
}, {
|
|
205
|
-
page?: number | undefined;
|
|
206
225
|
limit?: number | undefined;
|
|
226
|
+
page?: number | undefined;
|
|
207
227
|
}>;
|
|
208
228
|
export type GetPublicAvatarsQueryDto = z.infer<typeof GetPublicAvatarsQuerySchema>;
|
|
209
229
|
export interface GetPublicAvatarsResponseDto {
|
|
@@ -226,6 +246,58 @@ export type GetUserAvatarParamsDto = z.infer<typeof GetUserAvatarParamsSchema>;
|
|
|
226
246
|
export interface GetUserAvatarResponseDto {
|
|
227
247
|
avatar: UserAvatarDto;
|
|
228
248
|
}
|
|
249
|
+
export declare const GetUserPublicAvatarsParamsSchema: z.ZodObject<{
|
|
250
|
+
userId: z.ZodBigInt;
|
|
251
|
+
}, "strip", z.ZodTypeAny, {
|
|
252
|
+
userId: bigint;
|
|
253
|
+
}, {
|
|
254
|
+
userId: bigint;
|
|
255
|
+
}>;
|
|
256
|
+
export type GetUserPublicAvatarsParamsDto = z.infer<typeof GetUserPublicAvatarsParamsSchema>;
|
|
257
|
+
export declare const GetUserPublicAvatarsQuerySchema: z.ZodObject<{
|
|
258
|
+
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
259
|
+
limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
260
|
+
}, "strip", z.ZodTypeAny, {
|
|
261
|
+
limit: number;
|
|
262
|
+
page: number;
|
|
263
|
+
}, {
|
|
264
|
+
limit?: number | undefined;
|
|
265
|
+
page?: number | undefined;
|
|
266
|
+
}>;
|
|
267
|
+
export type GetUserPublicAvatarsQueryDto = z.infer<typeof GetUserPublicAvatarsQuerySchema>;
|
|
268
|
+
export interface GetUserPublicAvatarsResponseDto {
|
|
269
|
+
avatars: UserAvatarDto[];
|
|
270
|
+
meta: {
|
|
271
|
+
total: number;
|
|
272
|
+
page: number;
|
|
273
|
+
limit: number;
|
|
274
|
+
totalPages: number;
|
|
275
|
+
};
|
|
276
|
+
}
|
|
277
|
+
export declare const LikeUserAvatarParamsSchema: z.ZodObject<{
|
|
278
|
+
avatarId: z.ZodBigInt;
|
|
279
|
+
}, "strip", z.ZodTypeAny, {
|
|
280
|
+
avatarId: bigint;
|
|
281
|
+
}, {
|
|
282
|
+
avatarId: bigint;
|
|
283
|
+
}>;
|
|
284
|
+
export type LikeUserAvatarParamsDto = z.infer<typeof LikeUserAvatarParamsSchema>;
|
|
285
|
+
export interface LikeUserAvatarResponseDto {
|
|
286
|
+
likeCount: number;
|
|
287
|
+
isLiked: boolean;
|
|
288
|
+
}
|
|
289
|
+
export declare const UnlikeUserAvatarParamsSchema: z.ZodObject<{
|
|
290
|
+
avatarId: z.ZodBigInt;
|
|
291
|
+
}, "strip", z.ZodTypeAny, {
|
|
292
|
+
avatarId: bigint;
|
|
293
|
+
}, {
|
|
294
|
+
avatarId: bigint;
|
|
295
|
+
}>;
|
|
296
|
+
export type UnlikeUserAvatarParamsDto = z.infer<typeof UnlikeUserAvatarParamsSchema>;
|
|
297
|
+
export interface UnlikeUserAvatarResponseDto {
|
|
298
|
+
likeCount: number;
|
|
299
|
+
isLiked: boolean;
|
|
300
|
+
}
|
|
229
301
|
export declare const FollowUserParamsSchema: z.ZodObject<{
|
|
230
302
|
userId: z.ZodBigInt;
|
|
231
303
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -258,11 +330,11 @@ export declare const GetUserFollowersQuerySchema: z.ZodObject<{
|
|
|
258
330
|
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
259
331
|
limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
260
332
|
}, "strip", z.ZodTypeAny, {
|
|
261
|
-
page: number;
|
|
262
333
|
limit: number;
|
|
334
|
+
page: number;
|
|
263
335
|
}, {
|
|
264
|
-
page?: number | undefined;
|
|
265
336
|
limit?: number | undefined;
|
|
337
|
+
page?: number | undefined;
|
|
266
338
|
}>;
|
|
267
339
|
export type GetUserFollowersQueryDto = z.infer<typeof GetUserFollowersQuerySchema>;
|
|
268
340
|
export interface GetUserFollowersResponseDto {
|
|
@@ -286,11 +358,11 @@ export declare const GetUserFollowingQuerySchema: z.ZodObject<{
|
|
|
286
358
|
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
287
359
|
limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
288
360
|
}, "strip", z.ZodTypeAny, {
|
|
289
|
-
page: number;
|
|
290
361
|
limit: number;
|
|
362
|
+
page: number;
|
|
291
363
|
}, {
|
|
292
|
-
page?: number | undefined;
|
|
293
364
|
limit?: number | undefined;
|
|
365
|
+
page?: number | undefined;
|
|
294
366
|
}>;
|
|
295
367
|
export type GetUserFollowingQueryDto = z.infer<typeof GetUserFollowingQuerySchema>;
|
|
296
368
|
export interface GetUserFollowingResponseDto {
|
|
@@ -315,12 +387,12 @@ export declare const GetUserCommentsQuerySchema: z.ZodObject<{
|
|
|
315
387
|
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
316
388
|
limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
317
389
|
}, "strip", z.ZodTypeAny, {
|
|
318
|
-
page: number;
|
|
319
390
|
limit: number;
|
|
391
|
+
page: number;
|
|
320
392
|
sortBy: "latest" | "recommended";
|
|
321
393
|
}, {
|
|
322
|
-
page?: number | undefined;
|
|
323
394
|
limit?: number | undefined;
|
|
395
|
+
page?: number | undefined;
|
|
324
396
|
sortBy?: "latest" | "recommended" | undefined;
|
|
325
397
|
}>;
|
|
326
398
|
export type GetUserCommentsQueryDto = z.infer<typeof GetUserCommentsQuerySchema>;
|
|
@@ -345,11 +417,11 @@ export declare const GetUserCommentRepliesQuerySchema: z.ZodObject<{
|
|
|
345
417
|
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
346
418
|
limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
347
419
|
}, "strip", z.ZodTypeAny, {
|
|
348
|
-
page: number;
|
|
349
420
|
limit: number;
|
|
421
|
+
page: number;
|
|
350
422
|
}, {
|
|
351
|
-
page?: number | undefined;
|
|
352
423
|
limit?: number | undefined;
|
|
424
|
+
page?: number | undefined;
|
|
353
425
|
}>;
|
|
354
426
|
export type GetUserCommentRepliesQueryDto = z.infer<typeof GetUserCommentRepliesQuerySchema>;
|
|
355
427
|
export interface GetUserCommentRepliesResponseDto {
|
|
@@ -413,11 +485,11 @@ export declare const ReportUserCommentParamsSchema: z.ZodObject<{
|
|
|
413
485
|
userId: z.ZodBigInt;
|
|
414
486
|
commentId: z.ZodBigInt;
|
|
415
487
|
}, "strip", z.ZodTypeAny, {
|
|
416
|
-
userId: bigint;
|
|
417
488
|
commentId: bigint;
|
|
418
|
-
}, {
|
|
419
489
|
userId: bigint;
|
|
490
|
+
}, {
|
|
420
491
|
commentId: bigint;
|
|
492
|
+
userId: bigint;
|
|
421
493
|
}>;
|
|
422
494
|
export type ReportUserCommentParamsDto = z.infer<typeof ReportUserCommentParamsSchema>;
|
|
423
495
|
export interface ReportUserCommentResponseDto {
|
|
@@ -428,11 +500,11 @@ export declare const DeleteUserCommentParamsSchema: z.ZodObject<{
|
|
|
428
500
|
userId: z.ZodBigInt;
|
|
429
501
|
commentId: z.ZodBigInt;
|
|
430
502
|
}, "strip", z.ZodTypeAny, {
|
|
431
|
-
userId: bigint;
|
|
432
503
|
commentId: bigint;
|
|
433
|
-
}, {
|
|
434
504
|
userId: bigint;
|
|
505
|
+
}, {
|
|
435
506
|
commentId: bigint;
|
|
507
|
+
userId: bigint;
|
|
436
508
|
}>;
|
|
437
509
|
export type DeleteUserCommentParamsDto = z.infer<typeof DeleteUserCommentParamsSchema>;
|
|
438
510
|
export interface DeleteUserCommentResponseDto {
|
|
@@ -464,11 +536,11 @@ export declare const GetNoticesQuerySchema: z.ZodObject<{
|
|
|
464
536
|
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
465
537
|
limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
466
538
|
}, "strip", z.ZodTypeAny, {
|
|
467
|
-
page: number;
|
|
468
539
|
limit: number;
|
|
540
|
+
page: number;
|
|
469
541
|
}, {
|
|
470
|
-
page?: number | undefined;
|
|
471
542
|
limit?: number | undefined;
|
|
543
|
+
page?: number | undefined;
|
|
472
544
|
}>;
|
|
473
545
|
export type GetNoticesQueryDto = z.infer<typeof GetNoticesQuerySchema>;
|
|
474
546
|
export interface GetNoticesResponseDto {
|
|
@@ -503,11 +575,11 @@ export declare const GetUserNotificationsQuerySchema: z.ZodObject<{
|
|
|
503
575
|
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
504
576
|
limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
505
577
|
}, "strip", z.ZodTypeAny, {
|
|
506
|
-
page: number;
|
|
507
578
|
limit: number;
|
|
579
|
+
page: number;
|
|
508
580
|
}, {
|
|
509
|
-
page?: number | undefined;
|
|
510
581
|
limit?: number | undefined;
|
|
582
|
+
page?: number | undefined;
|
|
511
583
|
}>;
|
|
512
584
|
export type GetUserNotificationsQueryDto = z.infer<typeof GetUserNotificationsQuerySchema>;
|
|
513
585
|
export interface GetUserNotificationsResponseDto {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetCurrentUserSchema = exports.RegenerateUserApiKeyBodySchema = exports.GetUserApiKeyQuerySchema = exports.GetUserSettingsQuerySchema = exports.ReadUserNotificationParamsSchema = exports.ReadAllUserNotificationsBodySchema = exports.AcknowledgeUserNotificationsBodySchema = exports.GetUserNotificationsQuerySchema = exports.ReadNoticeParamsSchema = exports.ReadAllNoticesBodySchema = exports.AcknowledgeNoticesBodySchema = exports.GetNoticesQuerySchema = exports.SetUserReferrerBodySchema = exports.GetUserReferralQuerySchema = exports.DeleteUserCommentParamsSchema = exports.ReportUserCommentParamsSchema = exports.UpdateUserCommentReactionBodySchema = exports.UpdateUserCommentReactionParamsSchema = exports.CreateUserCommentBodySchema = exports.CreateUserCommentParamsSchema = exports.GetUserCommentRepliesQuerySchema = exports.GetUserCommentRepliesParamsSchema = exports.GetUserCommentsQuerySchema = exports.GetUserCommentsParamsSchema = exports.GetUserFollowingQuerySchema = exports.GetUserFollowingParamsSchema = exports.GetUserFollowersQuerySchema = exports.GetUserFollowersParamsSchema = exports.UnfollowUserParamsSchema = exports.FollowUserParamsSchema = exports.GetUserAvatarParamsSchema = exports.GetPublicAvatarsQuerySchema = exports.GetUsersByIdsQuerySchema = exports.ValidateUserFieldBodySchema = exports.CheckAttendanceBodySchema = exports.GetAttendanceQuerySchema = exports.DeleteUserAvatarBodySchema = exports.DeleteUserAvatarParamsSchema = exports.UpdateUserAvatarBodySchema = exports.UpdateUserAvatarParamsSchema = exports.CreateUserAvatarBodySchema = exports.GetUserAvatarsQuerySchema = exports.DeleteCurrentUserBodySchema = exports.UpdateCurrentUserBodySchema = exports.GetCurrentUserQuerySchema = void 0;
|
|
3
|
+
exports.GetCurrentUserSchema = exports.RegenerateUserApiKeyBodySchema = exports.GetUserApiKeyQuerySchema = exports.GetUserSettingsQuerySchema = exports.ReadUserNotificationParamsSchema = exports.ReadAllUserNotificationsBodySchema = exports.AcknowledgeUserNotificationsBodySchema = exports.GetUserNotificationsQuerySchema = exports.ReadNoticeParamsSchema = exports.ReadAllNoticesBodySchema = exports.AcknowledgeNoticesBodySchema = exports.GetNoticesQuerySchema = exports.SetUserReferrerBodySchema = exports.GetUserReferralQuerySchema = exports.DeleteUserCommentParamsSchema = exports.ReportUserCommentParamsSchema = exports.UpdateUserCommentReactionBodySchema = exports.UpdateUserCommentReactionParamsSchema = exports.CreateUserCommentBodySchema = exports.CreateUserCommentParamsSchema = exports.GetUserCommentRepliesQuerySchema = exports.GetUserCommentRepliesParamsSchema = exports.GetUserCommentsQuerySchema = exports.GetUserCommentsParamsSchema = exports.GetUserFollowingQuerySchema = exports.GetUserFollowingParamsSchema = exports.GetUserFollowersQuerySchema = exports.GetUserFollowersParamsSchema = exports.UnfollowUserParamsSchema = exports.FollowUserParamsSchema = exports.UnlikeUserAvatarParamsSchema = exports.LikeUserAvatarParamsSchema = exports.GetUserPublicAvatarsQuerySchema = exports.GetUserPublicAvatarsParamsSchema = exports.GetUserAvatarParamsSchema = exports.GetPublicAvatarsQuerySchema = exports.GetUsersByIdsQuerySchema = exports.ValidateUserFieldBodySchema = exports.CheckAttendanceBodySchema = exports.GetAttendanceQuerySchema = exports.GetLikedUserAvatarsQuerySchema = exports.DeleteUserAvatarBodySchema = exports.DeleteUserAvatarParamsSchema = exports.UpdateUserAvatarBodySchema = exports.UpdateUserAvatarParamsSchema = exports.CreateUserAvatarBodySchema = exports.GetUserAvatarsQuerySchema = exports.DeleteCurrentUserBodySchema = exports.UpdateCurrentUserBodySchema = exports.GetCurrentUserQuerySchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const images_1 = require("../../images");
|
|
6
6
|
const user_1 = require("./user");
|
|
@@ -34,7 +34,7 @@ exports.CreateUserAvatarBodySchema = zod_1.z.object({
|
|
|
34
34
|
name: zod_1.z.string().max(64),
|
|
35
35
|
role: zod_1.z.string().max(200).optional(),
|
|
36
36
|
avatar: zod_1.z.string().max(2048),
|
|
37
|
-
referenceAvatar: zod_1.z.string().max(2048),
|
|
37
|
+
referenceAvatar: zod_1.z.string().max(2048).optional(),
|
|
38
38
|
examplePoses: zod_1.z.array(zod_1.z.string().max(2048)).optional(),
|
|
39
39
|
appearance: zod_1.z.string().max(500),
|
|
40
40
|
style: images_1.ImageStyleSchema.optional(),
|
|
@@ -51,6 +51,10 @@ exports.DeleteUserAvatarParamsSchema = zod_1.z.object({
|
|
|
51
51
|
id: zod_1.z.coerce.bigint(),
|
|
52
52
|
});
|
|
53
53
|
exports.DeleteUserAvatarBodySchema = zod_1.z.object({});
|
|
54
|
+
exports.GetLikedUserAvatarsQuerySchema = zod_1.z.object({
|
|
55
|
+
page: zod_1.z.coerce.number().int().min(1).optional().default(1),
|
|
56
|
+
limit: zod_1.z.coerce.number().int().min(1).max(20).optional().default(20),
|
|
57
|
+
});
|
|
54
58
|
exports.GetAttendanceQuerySchema = zod_1.z.object({});
|
|
55
59
|
exports.CheckAttendanceBodySchema = zod_1.z.object({});
|
|
56
60
|
exports.ValidateUserFieldBodySchema = zod_1.z.object({
|
|
@@ -78,6 +82,19 @@ exports.GetPublicAvatarsQuerySchema = zod_1.z.object({
|
|
|
78
82
|
exports.GetUserAvatarParamsSchema = zod_1.z.object({
|
|
79
83
|
id: zod_1.z.coerce.bigint(),
|
|
80
84
|
});
|
|
85
|
+
exports.GetUserPublicAvatarsParamsSchema = zod_1.z.object({
|
|
86
|
+
userId: zod_1.z.coerce.bigint(),
|
|
87
|
+
});
|
|
88
|
+
exports.GetUserPublicAvatarsQuerySchema = zod_1.z.object({
|
|
89
|
+
page: zod_1.z.coerce.number().int().min(1).optional().default(1),
|
|
90
|
+
limit: zod_1.z.coerce.number().int().min(1).max(20).optional().default(20),
|
|
91
|
+
});
|
|
92
|
+
exports.LikeUserAvatarParamsSchema = zod_1.z.object({
|
|
93
|
+
avatarId: zod_1.z.coerce.bigint(),
|
|
94
|
+
});
|
|
95
|
+
exports.UnlikeUserAvatarParamsSchema = zod_1.z.object({
|
|
96
|
+
avatarId: zod_1.z.coerce.bigint(),
|
|
97
|
+
});
|
|
81
98
|
exports.FollowUserParamsSchema = zod_1.z.object({
|
|
82
99
|
userId: zod_1.z.coerce.bigint(),
|
|
83
100
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.requests.js","sourceRoot":"","sources":["../../../../src/dto/entities/users/user.requests.ts"],"names":[],"mappings":";;;AACA,6BAAwB;AAExB,yCAAgD;AAEhD,iCAMgB;AASH,QAAA,yBAAyB,GAAG,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AASzC,QAAA,2BAA2B,GAAG,OAAC,CAAC,MAAM,CAAC;IAClD,QAAQ,EAAE,OAAC;SACR,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,CAAC;SACN,GAAG,CAAC,EAAE,CAAC;SACP,KAAK,CAAC,cAAc,CAAC;SACrB,QAAQ,EAAE;IACb,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC9C,SAAS,EAAE,OAAC,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IACrC,cAAc,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE;IAC/C,IAA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num<["avatar", "reference"]>>>;
|
|
3
|
+
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<["avatar", "reference", "pose"]>>>;
|
|
4
4
|
style: z.ZodDefault<z.ZodOptional<z.ZodEnum<["realistic", "webtoon", "webtoon2", "illustration", "anime", "korean"]>>>;
|
|
5
5
|
image: z.ZodOptional<z.ZodString>;
|
|
6
6
|
prompt: z.ZodOptional<z.ZodString>;
|
|
7
|
+
rawPrompt: z.ZodOptional<z.ZodString>;
|
|
8
|
+
pose: z.ZodOptional<z.ZodString>;
|
|
7
9
|
}, "strip", z.ZodTypeAny, {
|
|
8
|
-
type: "avatar" | "reference";
|
|
10
|
+
type: "avatar" | "reference" | "pose";
|
|
9
11
|
style: "realistic" | "webtoon" | "webtoon2" | "illustration" | "anime" | "korean";
|
|
12
|
+
pose?: string | undefined;
|
|
10
13
|
image?: string | undefined;
|
|
11
14
|
prompt?: string | undefined;
|
|
15
|
+
rawPrompt?: string | undefined;
|
|
12
16
|
}, {
|
|
13
|
-
|
|
17
|
+
pose?: string | undefined;
|
|
18
|
+
type?: "avatar" | "reference" | "pose" | undefined;
|
|
14
19
|
style?: "realistic" | "webtoon" | "webtoon2" | "illustration" | "anime" | "korean" | undefined;
|
|
15
20
|
image?: string | undefined;
|
|
16
21
|
prompt?: string | undefined;
|
|
22
|
+
rawPrompt?: string | undefined;
|
|
17
23
|
}>;
|
|
18
24
|
export type GenerateAvatarImageBodyDto = z.infer<typeof GenerateAvatarImageBodySchema>;
|
|
19
25
|
export interface GenerateAvatarImageResponseDto {
|
|
@@ -4,10 +4,12 @@ exports.GetSceneImageQuerySchema = exports.GenerateThumbnailImageBodySchema = ex
|
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const image_1 = require("./image");
|
|
6
6
|
exports.GenerateAvatarImageBodySchema = zod_1.z.object({
|
|
7
|
-
type: zod_1.z.enum(['avatar', 'reference']).optional().default('avatar'),
|
|
7
|
+
type: zod_1.z.enum(['avatar', 'reference', 'pose']).optional().default('avatar'),
|
|
8
8
|
style: image_1.ImageStyleSchema.optional().default('webtoon'),
|
|
9
9
|
image: zod_1.z.string().max(2048).optional(),
|
|
10
10
|
prompt: zod_1.z.string().max(500).optional(),
|
|
11
|
+
rawPrompt: zod_1.z.string().max(500).optional(),
|
|
12
|
+
pose: zod_1.z.string().max(1000).optional(),
|
|
11
13
|
});
|
|
12
14
|
exports.GenerateThumbnailImageBodySchema = zod_1.z.object({
|
|
13
15
|
style: image_1.ImageStyleSchema.optional().default('webtoon'),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image.requests.js","sourceRoot":"","sources":["../../../src/dto/images/image.requests.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,mCAA2C;AAO9B,QAAA,6BAA6B,GAAG,OAAC,CAAC,MAAM,CAAC;IACpD,IAAI,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,WAAW,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"image.requests.js","sourceRoot":"","sources":["../../../src/dto/images/image.requests.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,mCAA2C;AAO9B,QAAA,6BAA6B,GAAG,OAAC,CAAC,MAAM,CAAC;IACpD,IAAI,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,WAAW,EAAE,MAAM,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC;IAC1E,KAAK,EAAE,wBAAgB,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,SAAS,CAAC;IACrD,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE;IACtC,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;IACtC,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;IACzC,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE;CACtC,CAAC,CAAC;AAYU,QAAA,gCAAgC,GAAG,OAAC,CAAC,MAAM,CAAC;IACvD,KAAK,EAAE,wBAAgB,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,SAAS,CAAC;IACrD,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE;IACtC,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;CACvC,CAAC,CAAC;AAWU,QAAA,wBAAwB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/C,MAAM,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE;IACzB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC;IAC3B,KAAK,EAAE,wBAAgB,CAAC,QAAQ,EAAE;CACnC,CAAC,CAAC"}
|
|
@@ -15,13 +15,13 @@ export declare const LocationPresetMessageSchema: z.ZodObject<{
|
|
|
15
15
|
}, "strip", z.ZodTypeAny, {
|
|
16
16
|
entityType: "system" | "agent" | "user" | "gimmick";
|
|
17
17
|
entityId: bigint;
|
|
18
|
-
image?: string | undefined;
|
|
19
18
|
message?: string | undefined;
|
|
19
|
+
image?: string | undefined;
|
|
20
20
|
}, {
|
|
21
21
|
entityType: "system" | "agent" | "user" | "gimmick";
|
|
22
22
|
entityId: bigint;
|
|
23
|
-
image?: string | undefined;
|
|
24
23
|
message?: string | undefined;
|
|
24
|
+
image?: string | undefined;
|
|
25
25
|
}>;
|
|
26
26
|
export type LocationPresetMessageDto = z.infer<typeof LocationPresetMessageSchema>;
|
|
27
27
|
export declare const LocationPresetCanvasSchema: z.ZodObject<{
|
|
@@ -15,8 +15,8 @@ export declare const UserLocationsQuerySchema: z.ZodObject<{
|
|
|
15
15
|
limit: number;
|
|
16
16
|
cursor?: string | undefined;
|
|
17
17
|
}, {
|
|
18
|
-
limit?: number | undefined;
|
|
19
18
|
cursor?: string | undefined;
|
|
19
|
+
limit?: number | undefined;
|
|
20
20
|
}>;
|
|
21
21
|
export type UserLocationsQueryDto = z.infer<typeof UserLocationsQuerySchema>;
|
|
22
22
|
export interface UserLocationsResponseDto {
|
|
@@ -30,11 +30,11 @@ export declare const PublishedLocationsQuerySchema: z.ZodObject<{
|
|
|
30
30
|
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
31
31
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
32
32
|
}, "strip", z.ZodTypeAny, {
|
|
33
|
-
page: number;
|
|
34
33
|
limit: number;
|
|
34
|
+
page: number;
|
|
35
35
|
}, {
|
|
36
|
-
page?: number | undefined;
|
|
37
36
|
limit?: number | undefined;
|
|
37
|
+
page?: number | undefined;
|
|
38
38
|
}>;
|
|
39
39
|
export type PublishedLocationsQueryDto = z.infer<typeof PublishedLocationsQuerySchema>;
|
|
40
40
|
export interface PublishedLocationsResponseDto {
|
|
@@ -356,12 +356,12 @@ export declare const LocationPresetsPaginationQuerySchema: z.ZodObject<{
|
|
|
356
356
|
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
357
357
|
limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
358
358
|
}, "strip", z.ZodTypeAny, {
|
|
359
|
-
page: number;
|
|
360
359
|
limit: number;
|
|
360
|
+
page: number;
|
|
361
361
|
visibility: "edited" | "private" | "public" | "publish";
|
|
362
362
|
}, {
|
|
363
|
-
page?: number | undefined;
|
|
364
363
|
limit?: number | undefined;
|
|
364
|
+
page?: number | undefined;
|
|
365
365
|
visibility?: "edited" | "private" | "public" | "publish" | undefined;
|
|
366
366
|
}>;
|
|
367
367
|
export type LocationPresetsPaginationQueryDto = z.infer<typeof LocationPresetsPaginationQuerySchema>;
|
|
@@ -384,19 +384,19 @@ export declare const PublishedLocationPresetsQuerySchema: z.ZodObject<{
|
|
|
384
384
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
385
385
|
}, "strip", z.ZodTypeAny, {
|
|
386
386
|
type: "NOVEL";
|
|
387
|
-
page: number;
|
|
388
387
|
limit: number;
|
|
389
|
-
|
|
388
|
+
page: number;
|
|
390
389
|
gender: "all" | "male" | "female";
|
|
390
|
+
sortBy: "popular" | "latest";
|
|
391
391
|
tag?: string | undefined;
|
|
392
392
|
ownerUserId?: bigint | undefined;
|
|
393
393
|
}, {
|
|
394
394
|
type: "NOVEL";
|
|
395
|
-
page?: number | undefined;
|
|
396
395
|
limit?: number | undefined;
|
|
397
|
-
|
|
396
|
+
page?: number | undefined;
|
|
398
397
|
gender?: "all" | "male" | "female" | undefined;
|
|
399
398
|
tag?: string | undefined;
|
|
399
|
+
sortBy?: "popular" | "latest" | undefined;
|
|
400
400
|
ownerUserId?: bigint | undefined;
|
|
401
401
|
}>;
|
|
402
402
|
export type PublishedLocationPresetsQueryDto = z.infer<typeof PublishedLocationPresetsQuerySchema>;
|
|
@@ -413,11 +413,11 @@ export declare const FollowingLocationPresetsQuerySchema: z.ZodObject<{
|
|
|
413
413
|
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
414
414
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
415
415
|
}, "strip", z.ZodTypeAny, {
|
|
416
|
-
page: number;
|
|
417
416
|
limit: number;
|
|
417
|
+
page: number;
|
|
418
418
|
}, {
|
|
419
|
-
page?: number | undefined;
|
|
420
419
|
limit?: number | undefined;
|
|
420
|
+
page?: number | undefined;
|
|
421
421
|
}>;
|
|
422
422
|
export type FollowingLocationPresetsQueryDto = z.infer<typeof FollowingLocationPresetsQuerySchema>;
|
|
423
423
|
export interface FollowingLocationPresetsResponseDto {
|
|
@@ -436,18 +436,18 @@ export declare const SearchLocationPresetsQuerySchema: z.ZodObject<{
|
|
|
436
436
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
437
437
|
}, "strip", z.ZodTypeAny, {
|
|
438
438
|
type: "NOVEL";
|
|
439
|
-
page: number;
|
|
440
439
|
limit: number;
|
|
441
|
-
|
|
440
|
+
page: number;
|
|
442
441
|
gender: "all" | "male" | "female";
|
|
442
|
+
sortBy: "popular" | "latest";
|
|
443
443
|
query: string;
|
|
444
444
|
}, {
|
|
445
445
|
type: "NOVEL";
|
|
446
446
|
query: string;
|
|
447
|
-
page?: number | undefined;
|
|
448
447
|
limit?: number | undefined;
|
|
449
|
-
|
|
448
|
+
page?: number | undefined;
|
|
450
449
|
gender?: "all" | "male" | "female" | undefined;
|
|
450
|
+
sortBy?: "popular" | "latest" | undefined;
|
|
451
451
|
}>;
|
|
452
452
|
export type SearchLocationPresetsQueryDto = z.infer<typeof SearchLocationPresetsQuerySchema>;
|
|
453
453
|
export interface SearchLocationPresetsResponseDto {
|
|
@@ -749,9 +749,9 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
749
749
|
}>>;
|
|
750
750
|
rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
751
751
|
}, "strip", z.ZodTypeAny, {
|
|
752
|
-
avatar?: string | undefined;
|
|
753
752
|
name?: string | undefined;
|
|
754
753
|
role?: string | undefined;
|
|
754
|
+
avatar?: string | undefined;
|
|
755
755
|
referenceAvatar?: string | undefined;
|
|
756
756
|
appearance?: string | undefined;
|
|
757
757
|
core?: {
|
|
@@ -785,9 +785,9 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
785
785
|
} | undefined;
|
|
786
786
|
} | undefined;
|
|
787
787
|
}, {
|
|
788
|
-
avatar?: string | undefined;
|
|
789
788
|
name?: string | undefined;
|
|
790
789
|
role?: string | undefined;
|
|
790
|
+
avatar?: string | undefined;
|
|
791
791
|
referenceAvatar?: string | undefined;
|
|
792
792
|
appearance?: string | undefined;
|
|
793
793
|
core?: {
|
|
@@ -864,9 +864,9 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
864
864
|
}[] | undefined;
|
|
865
865
|
} | undefined;
|
|
866
866
|
agentConfigs?: {
|
|
867
|
-
avatar?: string | undefined;
|
|
868
867
|
name?: string | undefined;
|
|
869
868
|
role?: string | undefined;
|
|
869
|
+
avatar?: string | undefined;
|
|
870
870
|
referenceAvatar?: string | undefined;
|
|
871
871
|
appearance?: string | undefined;
|
|
872
872
|
core?: {
|
|
@@ -943,9 +943,9 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
943
943
|
}[] | undefined;
|
|
944
944
|
} | undefined;
|
|
945
945
|
agentConfigs?: {
|
|
946
|
-
avatar?: string | undefined;
|
|
947
946
|
name?: string | undefined;
|
|
948
947
|
role?: string | undefined;
|
|
948
|
+
avatar?: string | undefined;
|
|
949
949
|
referenceAvatar?: string | undefined;
|
|
950
950
|
appearance?: string | undefined;
|
|
951
951
|
core?: {
|
|
@@ -1066,13 +1066,13 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1066
1066
|
}, "strip", z.ZodTypeAny, {
|
|
1067
1067
|
entityType: "system" | "agent" | "user" | "gimmick";
|
|
1068
1068
|
entityId: bigint;
|
|
1069
|
-
image?: string | undefined;
|
|
1070
1069
|
message?: string | undefined;
|
|
1070
|
+
image?: string | undefined;
|
|
1071
1071
|
}, {
|
|
1072
1072
|
entityType: "system" | "agent" | "user" | "gimmick";
|
|
1073
1073
|
entityId: bigint;
|
|
1074
|
-
image?: string | undefined;
|
|
1075
1074
|
message?: string | undefined;
|
|
1075
|
+
image?: string | undefined;
|
|
1076
1076
|
}>, "many">>;
|
|
1077
1077
|
userAvatar: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1078
1078
|
id: z.ZodOptional<z.ZodBigInt>;
|
|
@@ -1083,28 +1083,34 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1083
1083
|
examplePoses: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1084
1084
|
appearance: z.ZodString;
|
|
1085
1085
|
style: z.ZodOptional<z.ZodEnum<["realistic", "webtoon", "webtoon2", "illustration", "anime", "korean"]>>;
|
|
1086
|
+
likeCount: z.ZodOptional<z.ZodNumber>;
|
|
1087
|
+
isLiked: z.ZodOptional<z.ZodBoolean>;
|
|
1086
1088
|
isPublic: z.ZodOptional<z.ZodBoolean>;
|
|
1087
1089
|
createdAt: z.ZodOptional<z.ZodDate>;
|
|
1088
1090
|
}, "strip", z.ZodTypeAny, {
|
|
1089
|
-
avatar: string;
|
|
1090
1091
|
name: string;
|
|
1092
|
+
avatar: string;
|
|
1091
1093
|
appearance: string;
|
|
1092
|
-
style?: "realistic" | "webtoon" | "webtoon2" | "illustration" | "anime" | "korean" | undefined;
|
|
1093
1094
|
id?: bigint | undefined;
|
|
1094
1095
|
role?: string | undefined;
|
|
1095
1096
|
referenceAvatar?: string | undefined;
|
|
1096
1097
|
examplePoses?: string[] | undefined;
|
|
1098
|
+
style?: "realistic" | "webtoon" | "webtoon2" | "illustration" | "anime" | "korean" | undefined;
|
|
1099
|
+
likeCount?: number | undefined;
|
|
1100
|
+
isLiked?: boolean | undefined;
|
|
1097
1101
|
isPublic?: boolean | undefined;
|
|
1098
1102
|
createdAt?: Date | undefined;
|
|
1099
1103
|
}, {
|
|
1100
|
-
avatar: string;
|
|
1101
1104
|
name: string;
|
|
1105
|
+
avatar: string;
|
|
1102
1106
|
appearance: string;
|
|
1103
|
-
style?: "realistic" | "webtoon" | "webtoon2" | "illustration" | "anime" | "korean" | undefined;
|
|
1104
1107
|
id?: bigint | undefined;
|
|
1105
1108
|
role?: string | undefined;
|
|
1106
1109
|
referenceAvatar?: string | undefined;
|
|
1107
1110
|
examplePoses?: string[] | undefined;
|
|
1111
|
+
style?: "realistic" | "webtoon" | "webtoon2" | "illustration" | "anime" | "korean" | undefined;
|
|
1112
|
+
likeCount?: number | undefined;
|
|
1113
|
+
isLiked?: boolean | undefined;
|
|
1108
1114
|
isPublic?: boolean | undefined;
|
|
1109
1115
|
createdAt?: Date | undefined;
|
|
1110
1116
|
}>>>;
|
|
@@ -1374,9 +1380,9 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1374
1380
|
}>>;
|
|
1375
1381
|
rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1376
1382
|
}, "strip", z.ZodTypeAny, {
|
|
1377
|
-
avatar?: string | undefined;
|
|
1378
1383
|
name?: string | undefined;
|
|
1379
1384
|
role?: string | undefined;
|
|
1385
|
+
avatar?: string | undefined;
|
|
1380
1386
|
referenceAvatar?: string | undefined;
|
|
1381
1387
|
appearance?: string | undefined;
|
|
1382
1388
|
core?: {
|
|
@@ -1410,9 +1416,9 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1410
1416
|
} | undefined;
|
|
1411
1417
|
} | undefined;
|
|
1412
1418
|
}, {
|
|
1413
|
-
avatar?: string | undefined;
|
|
1414
1419
|
name?: string | undefined;
|
|
1415
1420
|
role?: string | undefined;
|
|
1421
|
+
avatar?: string | undefined;
|
|
1416
1422
|
referenceAvatar?: string | undefined;
|
|
1417
1423
|
appearance?: string | undefined;
|
|
1418
1424
|
core?: {
|
|
@@ -1493,9 +1499,9 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1493
1499
|
}[] | undefined;
|
|
1494
1500
|
} | undefined;
|
|
1495
1501
|
agentConfigs?: ({
|
|
1496
|
-
avatar?: string | undefined;
|
|
1497
1502
|
name?: string | undefined;
|
|
1498
1503
|
role?: string | undefined;
|
|
1504
|
+
avatar?: string | undefined;
|
|
1499
1505
|
referenceAvatar?: string | undefined;
|
|
1500
1506
|
appearance?: string | undefined;
|
|
1501
1507
|
core?: {
|
|
@@ -1539,18 +1545,20 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1539
1545
|
messages?: {
|
|
1540
1546
|
entityType: "system" | "agent" | "user" | "gimmick";
|
|
1541
1547
|
entityId: bigint;
|
|
1542
|
-
image?: string | undefined;
|
|
1543
1548
|
message?: string | undefined;
|
|
1549
|
+
image?: string | undefined;
|
|
1544
1550
|
}[] | undefined;
|
|
1545
1551
|
userAvatar?: {
|
|
1546
|
-
avatar: string;
|
|
1547
1552
|
name: string;
|
|
1553
|
+
avatar: string;
|
|
1548
1554
|
appearance: string;
|
|
1549
|
-
style?: "realistic" | "webtoon" | "webtoon2" | "illustration" | "anime" | "korean" | undefined;
|
|
1550
1555
|
id?: bigint | undefined;
|
|
1551
1556
|
role?: string | undefined;
|
|
1552
1557
|
referenceAvatar?: string | undefined;
|
|
1553
1558
|
examplePoses?: string[] | undefined;
|
|
1559
|
+
style?: "realistic" | "webtoon" | "webtoon2" | "illustration" | "anime" | "korean" | undefined;
|
|
1560
|
+
likeCount?: number | undefined;
|
|
1561
|
+
isLiked?: boolean | undefined;
|
|
1554
1562
|
isPublic?: boolean | undefined;
|
|
1555
1563
|
createdAt?: Date | undefined;
|
|
1556
1564
|
} | null | undefined;
|
|
@@ -1602,9 +1610,9 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1602
1610
|
}[] | undefined;
|
|
1603
1611
|
} | undefined;
|
|
1604
1612
|
agentConfigs?: ({
|
|
1605
|
-
avatar?: string | undefined;
|
|
1606
1613
|
name?: string | undefined;
|
|
1607
1614
|
role?: string | undefined;
|
|
1615
|
+
avatar?: string | undefined;
|
|
1608
1616
|
referenceAvatar?: string | undefined;
|
|
1609
1617
|
appearance?: string | undefined;
|
|
1610
1618
|
core?: {
|
|
@@ -1648,18 +1656,20 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1648
1656
|
messages?: {
|
|
1649
1657
|
entityType: "system" | "agent" | "user" | "gimmick";
|
|
1650
1658
|
entityId: bigint;
|
|
1651
|
-
image?: string | undefined;
|
|
1652
1659
|
message?: string | undefined;
|
|
1660
|
+
image?: string | undefined;
|
|
1653
1661
|
}[] | undefined;
|
|
1654
1662
|
userAvatar?: {
|
|
1655
|
-
avatar: string;
|
|
1656
1663
|
name: string;
|
|
1664
|
+
avatar: string;
|
|
1657
1665
|
appearance: string;
|
|
1658
|
-
style?: "realistic" | "webtoon" | "webtoon2" | "illustration" | "anime" | "korean" | undefined;
|
|
1659
1666
|
id?: bigint | undefined;
|
|
1660
1667
|
role?: string | undefined;
|
|
1661
1668
|
referenceAvatar?: string | undefined;
|
|
1662
1669
|
examplePoses?: string[] | undefined;
|
|
1670
|
+
style?: "realistic" | "webtoon" | "webtoon2" | "illustration" | "anime" | "korean" | undefined;
|
|
1671
|
+
likeCount?: number | undefined;
|
|
1672
|
+
isLiked?: boolean | undefined;
|
|
1663
1673
|
isPublic?: boolean | undefined;
|
|
1664
1674
|
createdAt?: Date | undefined;
|
|
1665
1675
|
} | null | undefined;
|
|
@@ -1802,8 +1812,8 @@ export declare const GetLocationPresetLocationsParamsSchema: z.ZodObject<{
|
|
|
1802
1812
|
cursor?: string | undefined;
|
|
1803
1813
|
}, {
|
|
1804
1814
|
presetId: bigint;
|
|
1805
|
-
limit?: number | undefined;
|
|
1806
1815
|
cursor?: string | undefined;
|
|
1816
|
+
limit?: number | undefined;
|
|
1807
1817
|
}>;
|
|
1808
1818
|
export type GetLocationPresetLocationsParamsDto = z.infer<typeof GetLocationPresetLocationsParamsSchema>;
|
|
1809
1819
|
export interface GetLocationPresetLocationsResponseDto {
|
|
@@ -1826,12 +1836,12 @@ export declare const GetLocationPresetCommentsQuerySchema: z.ZodObject<{
|
|
|
1826
1836
|
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1827
1837
|
limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1828
1838
|
}, "strip", z.ZodTypeAny, {
|
|
1829
|
-
page: number;
|
|
1830
1839
|
limit: number;
|
|
1840
|
+
page: number;
|
|
1831
1841
|
sortBy: "latest" | "recommended";
|
|
1832
1842
|
}, {
|
|
1833
|
-
page?: number | undefined;
|
|
1834
1843
|
limit?: number | undefined;
|
|
1844
|
+
page?: number | undefined;
|
|
1835
1845
|
sortBy?: "latest" | "recommended" | undefined;
|
|
1836
1846
|
}>;
|
|
1837
1847
|
export type GetLocationPresetCommentsQueryDto = z.infer<typeof GetLocationPresetCommentsQuerySchema>;
|
|
@@ -1857,11 +1867,11 @@ export declare const GetLocationPresetCommentRepliesQuerySchema: z.ZodObject<{
|
|
|
1857
1867
|
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1858
1868
|
limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1859
1869
|
}, "strip", z.ZodTypeAny, {
|
|
1860
|
-
page: number;
|
|
1861
1870
|
limit: number;
|
|
1871
|
+
page: number;
|
|
1862
1872
|
}, {
|
|
1863
|
-
page?: number | undefined;
|
|
1864
1873
|
limit?: number | undefined;
|
|
1874
|
+
page?: number | undefined;
|
|
1865
1875
|
}>;
|
|
1866
1876
|
export type GetLocationPresetCommentRepliesQueryDto = z.infer<typeof GetLocationPresetCommentRepliesQuerySchema>;
|
|
1867
1877
|
export interface GetLocationPresetCommentRepliesResponseDto {
|
|
@@ -1925,11 +1935,11 @@ export declare const ReportLocationPresetCommentParamsSchema: z.ZodObject<{
|
|
|
1925
1935
|
presetId: z.ZodBigInt;
|
|
1926
1936
|
commentId: z.ZodBigInt;
|
|
1927
1937
|
}, "strip", z.ZodTypeAny, {
|
|
1928
|
-
commentId: bigint;
|
|
1929
1938
|
presetId: bigint;
|
|
1930
|
-
}, {
|
|
1931
1939
|
commentId: bigint;
|
|
1940
|
+
}, {
|
|
1932
1941
|
presetId: bigint;
|
|
1942
|
+
commentId: bigint;
|
|
1933
1943
|
}>;
|
|
1934
1944
|
export type ReportLocationPresetCommentParamsDto = z.infer<typeof ReportLocationPresetCommentParamsSchema>;
|
|
1935
1945
|
export interface ReportLocationPresetCommentResponseDto {
|
|
@@ -1940,11 +1950,11 @@ export declare const DeleteLocationPresetCommentParamsSchema: z.ZodObject<{
|
|
|
1940
1950
|
presetId: z.ZodBigInt;
|
|
1941
1951
|
commentId: z.ZodBigInt;
|
|
1942
1952
|
}, "strip", z.ZodTypeAny, {
|
|
1943
|
-
commentId: bigint;
|
|
1944
1953
|
presetId: bigint;
|
|
1945
|
-
}, {
|
|
1946
1954
|
commentId: bigint;
|
|
1955
|
+
}, {
|
|
1947
1956
|
presetId: bigint;
|
|
1957
|
+
commentId: bigint;
|
|
1948
1958
|
}>;
|
|
1949
1959
|
export type DeleteLocationPresetCommentParamsDto = z.infer<typeof DeleteLocationPresetCommentParamsSchema>;
|
|
1950
1960
|
export interface DeleteLocationPresetCommentResponseDto {
|
|
@@ -2798,15 +2808,15 @@ export declare const SendLocationMessageSchema: z.ZodObject<{
|
|
|
2798
2808
|
paidCreditOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2799
2809
|
}, "strip", z.ZodTypeAny, {
|
|
2800
2810
|
locationId: bigint;
|
|
2801
|
-
image?: string | undefined;
|
|
2802
2811
|
message?: string | undefined;
|
|
2812
|
+
image?: string | undefined;
|
|
2803
2813
|
action?: string | undefined;
|
|
2804
2814
|
creditAmount?: number | undefined;
|
|
2805
2815
|
paidCreditOnly?: boolean | undefined;
|
|
2806
2816
|
}, {
|
|
2807
2817
|
locationId: bigint;
|
|
2808
|
-
image?: string | undefined;
|
|
2809
2818
|
message?: string | undefined;
|
|
2819
|
+
image?: string | undefined;
|
|
2810
2820
|
action?: string | undefined;
|
|
2811
2821
|
creditAmount?: number | undefined;
|
|
2812
2822
|
paidCreditOnly?: boolean | undefined;
|
|
@@ -2835,12 +2845,12 @@ export declare const UpdateLocationImageSchema: z.ZodObject<{
|
|
|
2835
2845
|
image: z.ZodString;
|
|
2836
2846
|
index: z.ZodOptional<z.ZodNumber>;
|
|
2837
2847
|
}, "strip", z.ZodTypeAny, {
|
|
2838
|
-
image: string;
|
|
2839
2848
|
locationId: bigint;
|
|
2849
|
+
image: string;
|
|
2840
2850
|
index?: number | undefined;
|
|
2841
2851
|
}, {
|
|
2842
|
-
image: string;
|
|
2843
2852
|
locationId: bigint;
|
|
2853
|
+
image: string;
|
|
2844
2854
|
index?: number | undefined;
|
|
2845
2855
|
}>;
|
|
2846
2856
|
export type UpdateLocationImageDto = z.infer<typeof UpdateLocationImageSchema>;
|