UNPKG

sanity-plugin-wistia-input

Version:
22 lines (19 loc) 430 B
import {definePlugin} from 'sanity' import {Config} from './types' import {wistiaMedia} from './schema' import {wistiaMediaRender} from './plugin' /** * Wistia input plugin for Sanity Studio * @public */ export const wistiaInput = definePlugin<Config>((config) => ({ name: 'sanity-plugin-wistia-input', schema: { types: [ { ...wistiaMedia, ...wistiaMediaRender(config), }, ], }, }))