diff --git a/schemaTypes/index.ts b/schemaTypes/index.ts index f6c233f..b32f4c8 100644 --- a/schemaTypes/index.ts +++ b/schemaTypes/index.ts @@ -1,2 +1,2 @@ -import { releaseType } from ".releaseType" +import { releaseType } from "./releaseType" export const schemaTypes = [releaseType] diff --git a/schemaTypes/releaseType.ts b/schemaTypes/releaseType.ts index 3604b94..c4025d9 100644 --- a/schemaTypes/releaseType.ts +++ b/schemaTypes/releaseType.ts @@ -5,9 +5,21 @@ export const releaseType = defineType({ title: 'Release', type: 'document', fields: [ + defineField({ + name: 'catalogNo', + type: 'string', + }), defineField({ name: 'name', type: 'string', }), + defineField({ + name: 'albumArtist', + type: 'string', + }), + defineField({ + name: 'albumCover', + type: 'image', + }), ], }) \ No newline at end of file