@mistriwork/engine 1.0.0-rc.79 → 1.0.0-rc.80
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.
|
@@ -114,7 +114,9 @@ export function chosenOperand(ctx, word, quoted) {
|
|
|
114
114
|
? { error: `${word} is a choice of one request's person, and this query is read once for every request, so it cannot ask it.` }
|
|
115
115
|
: { value: word };
|
|
116
116
|
if (!me?.chosen)
|
|
117
|
-
return {
|
|
117
|
+
return {
|
|
118
|
+
error: `${word} is the person's App choice, and nothing here runs for a person at a desk (a job, a workflow step, an API call): take it as input, or quote it ("${word}") to mean the text.`,
|
|
119
|
+
};
|
|
118
120
|
if (!Object.hasOwn(me.chosen, match[1]))
|
|
119
121
|
return { error: `${word} names no choice: the App's choose declares ${Object.keys(me.chosen).join(', ') || 'none'}.` };
|
|
120
122
|
const value = me.chosen[match[1]];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mistriwork/engine",
|
|
3
|
-
"version": "1.0.0-rc.
|
|
3
|
+
"version": "1.0.0-rc.80",
|
|
4
4
|
"description": "The engine both products stand on: the adapters (SQLite, Postgres), the catalog, the query language, keyset pages, the HTTP kit and the shared rules. No React.",
|
|
5
5
|
"homepage": "https://mistriwork.dev",
|
|
6
6
|
"bugs": {
|