@shop-os/modelkit 0.2.22 → 0.2.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -0
- package/dist/catalog.cjs +12 -0
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +12 -1
- package/dist/catalog.d.ts +12 -1
- package/dist/catalog.js +12 -0
- package/dist/catalog.js.map +1 -1
- package/dist/index.cjs +3 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2018,6 +2018,9 @@ var ConstraintsReadView = z.looseObject({
|
|
|
2018
2018
|
}).optional().catch(void 0)
|
|
2019
2019
|
});
|
|
2020
2020
|
var DEFAULT_CONVENTIONS = { referenceSyntax: "numbered" };
|
|
2021
|
+
var DefaultsReadView = z.looseObject({
|
|
2022
|
+
generateAudio: z.boolean().optional().catch(void 0)
|
|
2023
|
+
});
|
|
2021
2024
|
function promptConventions(row) {
|
|
2022
2025
|
const view = ConstraintsReadView.safeParse(row.constraints);
|
|
2023
2026
|
const prompt = view.success ? view.data.prompt : void 0;
|