MCPcopy Index your code
hub / github.com/simstudioai/sim / adminListResponseSchema

Function adminListResponseSchema

apps/sim/lib/api/contracts/admin.ts:290–294  ·  view source on GitHub ↗
(schema: TSchema)

Source from the content-addressed store, hash-verified

288 z.object({ data: schema })
289
290const adminListResponseSchema = <TSchema extends z.ZodType>(schema: TSchema) =>
291 z.object({
292 data: z.array(schema),
293 pagination: adminPaginationMetaSchema,
294 })
295
296export const adminListWorkflowsContract = defineRouteContract({
297 method: 'GET',

Callers 1

admin.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected