Add releaseType
This commit is contained in:
parent
1b757fbeeb
commit
0f15a143a8
2 changed files with 14 additions and 0 deletions
|
|
@ -1 +1,2 @@
|
||||||
|
import {releaseType} from "./releaseType";
|
||||||
export const schemaTypes = []
|
export const schemaTypes = []
|
||||||
|
|
|
||||||
13
schemaTypes/releaseType.ts
Normal file
13
schemaTypes/releaseType.ts
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
import {defineField, defineType} from 'sanity'
|
||||||
|
|
||||||
|
export const releaseType = defineType({
|
||||||
|
name: 'release',
|
||||||
|
title: 'Release',
|
||||||
|
type: 'document',
|
||||||
|
fields: [
|
||||||
|
defineField({
|
||||||
|
name: 'name',
|
||||||
|
type: 'string',
|
||||||
|
}),
|
||||||
|
],
|
||||||
|
})
|
||||||
Loading…
Reference in a new issue