Skip to content

Commit 7d65eb1

Browse files
committed
fix: remove unused args
1 parent 4bd3601 commit 7d65eb1

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

src/generated/schema.json

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -350,13 +350,8 @@
350350
"ACTIVITY_INVITE_USER": {
351351
"request": {
352352
"type": "object",
353-
"properties": {
354-
"user_id": {"type": "string"},
355-
"type": {"const": 1},
356-
"content": {"type": "string", "minLength": 0, "maxLength": 1024},
357-
"pid": {"type": "number", "minimum": 0}
358-
},
359-
"required": ["user_id", "type"],
353+
"properties": {"user_id": {"type": "string"}, "content": {"type": "string", "minLength": 0, "maxLength": 1024}},
354+
"required": ["user_id"],
360355
"additionalProperties": false
361356
},
362357
"response": null

src/generated/schemas.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,9 +249,7 @@ export type GetRelationshipsResponse = zInfer<typeof GetRelationshipsResponseSch
249249
// ACTIVITY_INVITE_USER
250250
export const ActivityInviteUserRequestSchema = z.object({
251251
user_id: z.string(),
252-
type: z.literal(1),
253252
content: z.string().min(0).max(1024).optional(),
254-
pid: z.number().gte(0).optional(),
255253
});
256254
export type ActivityInviteUserRequest = zInfer<typeof ActivityInviteUserRequestSchema>;
257255

0 commit comments

Comments
 (0)