Skip to content

Instantly share code, notes, and snippets.

@rctay
Created May 24, 2022 14:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rctay/1ace7969993abcf99301e7172cee30d0 to your computer and use it in GitHub Desktop.
Save rctay/1ace7969993abcf99301e7172cee30d0 to your computer and use it in GitHub Desktop.
sanity stretching
export default {
name: 'stretch',
title: 'Stretch',
type: 'document',
fields: [
{
name: 'name',
title: 'Name of stretching exercise',
type: 'string',
},
{
name: 'duration',
title: 'Duration stretching exercise',
type: 'string',
},
{
name: 'image',
title: 'Image of stretching exercise',
type: 'image',
},
{
name: 'instructions',
title: 'Steps for stretching exercise',
type: 'array',
of: [{type: 'string'}]
}
]
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment