@upstart.gg/sdk
Version:
You can test the CLI without recompiling by running:
26 lines (24 loc) • 782 B
JavaScript
import { Type } from "@sinclair/typebox";
//#region src/shared/datasources/internal/recipes/schema.ts
const recipesSchema = Type.Array(Type.Object({
title: Type.String({ title: "Title" }),
description: Type.String({
title: "Description",
format: "markdown"
}),
time: Type.String({ title: "Time to prepare the recipe" }),
ingredients: Type.Array(Type.Object({
name: Type.String({ title: "Name of the ingredient" }),
quantity: Type.String({ title: "Quantity of the ingredient" })
})),
steps: Type.Array(Type.Object({
title: Type.String({ title: "Step title" }),
description: Type.String({ title: "Step description" })
}))
}), {
title: "Recipes",
description: "Collection of recipes"
});
//#endregion
export { recipesSchema };
//# sourceMappingURL=schema.js.map