import type validate from 'schema-utils'; type Schema = Parameters[0]; export const schema: Schema = { type: 'object', properties: { patterns: { anyOf: [ {type: 'string'}, { type: 'array', uniqueItems: true, items: { type: 'string', }, }, ], }, injector: { anyOf: [ { type: 'string', enum: ['prepend', 'append'], }, { instanceof: 'Function', }, ], }, globOptions: { type: 'object', }, resolveUrl: { type: 'boolean', }, }, required: ['patterns'], additionalProperties: false, };