Skip to content

Commit

Permalink
Fix schema
Browse files Browse the repository at this point in the history
  • Loading branch information
IanPhilips committed Dec 12, 2024
1 parent 61c3d21 commit 754eded
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions common/src/api/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1914,7 +1914,6 @@ export const API = (_apiTypeCheck = {
userId: z.string(),
}),
},

'create-task': {
method: 'POST',
visibility: 'public',
Expand Down Expand Up @@ -1987,7 +1986,7 @@ export const API = (_apiTypeCheck = {
authed: true,
returns: {} as { tasks: Task[] },
props: z.object({}).strict(),

},
'get-site-activity': {
method: 'GET',
visibility: 'public',
Expand All @@ -1998,13 +1997,14 @@ export const API = (_apiTypeCheck = {
newContracts: Contract[]
relatedContracts: Contract[]
},
props: z.object({
limit: z.coerce.number().default(10),
blockedUserIds: z.array(z.string()).optional(),
blockedGroupSlugs: z.array(z.string()).optional(),
blockedContractIds: z.array(z.string()).optional(),
}).strict(),

props: z
.object({
limit: z.coerce.number().default(10),
blockedUserIds: z.array(z.string()).optional(),
blockedGroupSlugs: z.array(z.string()).optional(),
blockedContractIds: z.array(z.string()).optional(),
})
.strict(),
},
} as const)

Expand Down

0 comments on commit 754eded

Please sign in to comment.