mirror of
https://github.com/PotentiaRobotics/website.git
synced 2025-04-09 23:10:19 -04:00
This commit fixes the style issues introduced in d40b9da
according to the output
from standardjs.
Details: https://deepsource.io/gh/PotentiaRobotics/website/transform/31ba1737-8822-450e-abdf-0dbb57b032d3/
17 lines
558 B
JavaScript
17 lines
558 B
JavaScript
// First, we must import the schema creator
|
|
import createSchema from 'part:@sanity/base/schema-creator'
|
|
|
|
// Then import schema types from any plugins that might expose them
|
|
import schemaTypes from 'all:part:@sanity/base/schema-type'
|
|
|
|
// Then we give our schema to the builder and provide the result to Sanity
|
|
export default createSchema({
|
|
// We name our schema
|
|
name: 'default',
|
|
// Then proceed to concatenate our document type
|
|
// to the ones provided by any plugins that are installed
|
|
types: schemaTypes.concat([
|
|
/* Your types here! */
|
|
])
|
|
})
|