mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-05-11 00:10:40 +00:00
Careers --------- Co-authored-by: Glary-Bot <glary-bot@users.noreply.github.com> Co-authored-by: Alexander Brown <drjkl@comfy.org>
18 lines
455 B
TypeScript
18 lines
455 B
TypeScript
import { z } from 'zod'
|
|
|
|
export const AshbyJobPostingSchema = z.object({
|
|
title: z.string().min(1),
|
|
department: z.string().optional(),
|
|
location: z.string().optional(),
|
|
isListed: z.boolean(),
|
|
jobUrl: z.string().url(),
|
|
applyUrl: z.string().url().optional()
|
|
})
|
|
|
|
export const AshbyJobBoardResponseSchema = z.object({
|
|
apiVersion: z.literal('1'),
|
|
jobs: z.array(z.unknown())
|
|
})
|
|
|
|
export type AshbyJobPosting = z.infer<typeof AshbyJobPostingSchema>
|