"use strict";
/**
 * Project Caffeine
 * SPDX-License-Identifier: MIT
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.saveNoteSchema = exports.generateSearchQueriesSchema = void 0;
const zod_1 = require("zod");
exports.generateSearchQueriesSchema = zod_1.z.object({
    query: zod_1.z.string().min(1),
});
exports.saveNoteSchema = zod_1.z.object({
    filename: zod_1.z.string().min(1, '文件名不能为空').refine(name => name.endsWith('.md'), { message: '文件名必须以 .md 结尾' }),
    content: zod_1.z.string().min(1, '内容不能为空')
});
//# sourceMappingURL=schemas.js.map