📆 Don't miss our Sanity Showcase virtual meetup on March 20th!
@public
interface

Schema

Import

import {type Schema} from 'sanity'

Signature

interface Schema {
  get: (name: string) => SchemaType | undefined
  getTypeNames: () => string[]
  has: (name: string) => boolean
  name: string
}

Properties

get: (name: string) => SchemaType | undefined
get: (name: string) => SchemaType | undefined
getTypeNames: () => string[]
getTypeNames: () => string[]
has: (name: string) => boolean
has: (name: string) => boolean
name: string
name: string
sanity@3.79.0