Skip to content

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

367 B
Raw Blame
import * as z from 'zod/mini'
import { BaseModelSchema, Nullable } from './base-model'

export const ProjectRole = z.object({
    ...BaseModelSchema,
    name: z.string(),
    permissions: z.array(z.string()),
    platformId: Nullable(z.string()),
    type: z.string(),
    userCount: z.optional(z.number()),
})

export type ProjectRole = z.infer<typeof ProjectRole>