@sanity-codegen/cli
Version:
CLI for sanity-codegen
26 lines (23 loc) • 552 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _schemaCodegen = require("@sanity-codegen/schema-codegen");
// this is an example config used for testing
const config = {
normalizedSchema: (0, _schemaCodegen.schemaNormalizer)([{
name: 'book',
type: 'document',
fields: [{
name: 'title',
type: 'string'
}, {
name: 'author',
type: 'string'
}]
}]),
groqCodegenInclude: '**/*.{js,ts,tsx}'
};
var _default = config;
exports.default = _default;