@axiom-lattice/pg-stores 3.1.13 → 3.1.14
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/.turbo/turbo-build.log +8 -8
- package/CHANGELOG.md +10 -0
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/src/__tests__/PostgreSQLAgentWebAppStore.test.ts +18 -0
- package/src/stores/PostgreSQLAgentWebAppStore.ts +10 -1
package/dist/index.mjs
CHANGED
|
@@ -6605,8 +6605,11 @@ function isScope(value) {
|
|
|
6605
6605
|
function isFeatures(value) {
|
|
6606
6606
|
return isRecord(value) && typeof value.projectSelector === "boolean" && typeof value.modelSelector === "boolean" && typeof value.threadManagement === "boolean" && typeof value.attachments === "boolean" && typeof value.hitl === "boolean" && typeof value.genUI === "boolean" && (value.files === void 0 || typeof value.files === "boolean");
|
|
6607
6607
|
}
|
|
6608
|
+
function isQuickPrompt(value) {
|
|
6609
|
+
return isRecord(value) && typeof value.label === "string" && typeof value.text === "string";
|
|
6610
|
+
}
|
|
6608
6611
|
function isAppearance(value) {
|
|
6609
|
-
return isRecord(value) && (value.title === void 0 || typeof value.title === "string") && (value.welcomeMessage === void 0 || typeof value.welcomeMessage === "string") && (value.primaryColor === void 0 || typeof value.primaryColor === "string");
|
|
6612
|
+
return isRecord(value) && (value.title === void 0 || typeof value.title === "string") && (value.welcomeMessage === void 0 || typeof value.welcomeMessage === "string") && (value.primaryColor === void 0 || typeof value.primaryColor === "string") && (value.quickPrompts === void 0 || Array.isArray(value.quickPrompts) && value.quickPrompts.every(isQuickPrompt));
|
|
6610
6613
|
}
|
|
6611
6614
|
function isIdentity(value) {
|
|
6612
6615
|
if (value === null || value === void 0) return true;
|