@upstart.gg/sdk
Version:
You can test the CLI without recompiling by running:
23 lines (21 loc) • 659 B
JavaScript
import { Type } from "@sinclair/typebox";
//#region src/shared/datasources/internal/faq/schema.ts
const faqSchema = Type.Array(Type.Object({
question: Type.String({
title: "Question",
format: "markdown"
}),
answer: Type.String({
title: "Answer",
format: "markdown"
}),
category: Type.Optional(Type.String({ title: "Category" })),
tags: Type.Optional(Type.Array(Type.String(), { title: "Tags" })),
order: Type.Optional(Type.Number({ title: "Order in the list" }))
}), {
title: "FAQ",
description: "Schema representing a collection of frequently asked questions (FAQ)"
});
//#endregion
export { faqSchema };
//# sourceMappingURL=schema.js.map