@next-boilerplate/cli-helpers
Version:
CLI helper for Next Boilerplate
20 lines (16 loc) • 457 B
JavaScript
;
var zod = require('zod');
var index = require('../plugins/index.cjs');
var index$1 = require('../stores/index.cjs');
require('../utils/index.cjs');
require('path');
const templateSchema = zod.z.object({
name: zod.z.string().max(100),
description: zod.z.string().max(300),
plugins: zod.z.array(
index.pluginSchema.extend({
store: index$1.storeSchema
}).or(zod.z.string())
)
});
exports.templateSchema = templateSchema;