Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/danielroe/roe.dev. This is the code and content for my personal website, built in Nuxt. roe.dev
Something went wrong. Try again.
438 B · 23 lines
TypeScript
123456789101112131415161718192021222324import { defineField, defineType } from 'sanity'
export default defineType({ name: 'invite', title: 'Invitation link', type: 'document', fields: [ defineField({ name: 'slug', title: 'Slug', type: 'slug', }), defineField({ name: 'repo', title: 'Repository to grant access to', type: 'string', }), defineField({ name: 'isActive', type: 'boolean', }), ],})