sim 2.1.0-preview.29.1 → 2.1.0-preview.30.1
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/dist/index.js +5 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9044,7 +9044,7 @@ var V2_OPERATIONS = {
|
|
|
9044
9044
|
workspaceId: { kind: "string", required: true, describe: "Unique workspace identifier." },
|
|
9045
9045
|
predicate: {
|
|
9046
9046
|
kind: "unknown",
|
|
9047
|
-
describe: '
|
|
9047
|
+
describe: 'A single `{ field, op, value }` condition or a recursive `all`/`any` group; either form is normalized to a grouped predicate after validation. At most 100 members per group, 10 levels of nesting, and 500 nodes in total. The negating operators include nulls: `ne`, `nin`, `ncontains`, `nlike`, and `nilike` match rows whose column is null or absent, so "not X" is not the complement of "X" over a nullable column. That holds for every column type, multi-select included. To exclude nulls, `all`-combine the negation with `isNotEmpty` (multi-select) or `isNotNull`. Comparison: `eq`, `ne`, `gt`, `gte`, `lt`, `lte`. Membership: `in`, `nin` (array operand). Emptiness: `isEmpty`, `isNotEmpty`, `isNull`, `isNotNull` (no operand). Substring, always case-insensitive, operand matched literally: `contains`, `ncontains`, `startsWith`, `endsWith`. Pattern: `like`/`nlike` (case-sensitive), `ilike`/`nilike` (case-insensitive). **`*` is the only wildcard** and stands for any run of characters; `%`, `_`, and backslash match themselves. Use `like: "Hi*"`, not `like: "Hi%"`. A `select` column compares by option id and restricts its operators: single-select accepts `eq`, `ne`, `in`, `nin`; multi-select accepts `contains`, `ncontains`. Option names are accepted as operands and resolved to ids.'
|
|
9048
9048
|
},
|
|
9049
9049
|
sort: { kind: "array", describe: "Ordered table-row sort specification." },
|
|
9050
9050
|
limit: {
|
|
@@ -9065,7 +9065,7 @@ var V2_OPERATIONS = {
|
|
|
9065
9065
|
workspaceId: { kind: "string", required: true, describe: "Unique workspace identifier." },
|
|
9066
9066
|
predicate: {
|
|
9067
9067
|
kind: "unknown",
|
|
9068
|
-
describe: '
|
|
9068
|
+
describe: 'A single `{ field, op, value }` condition or a recursive `all`/`any` group; either form is normalized to a grouped predicate after validation. At most 100 members per group, 10 levels of nesting, and 500 nodes in total. The negating operators include nulls: `ne`, `nin`, `ncontains`, `nlike`, and `nilike` match rows whose column is null or absent, so "not X" is not the complement of "X" over a nullable column. That holds for every column type, multi-select included. To exclude nulls, `all`-combine the negation with `isNotEmpty` (multi-select) or `isNotNull`. Comparison: `eq`, `ne`, `gt`, `gte`, `lt`, `lte`. Membership: `in`, `nin` (array operand). Emptiness: `isEmpty`, `isNotEmpty`, `isNull`, `isNotNull` (no operand). Substring, always case-insensitive, operand matched literally: `contains`, `ncontains`, `startsWith`, `endsWith`. Pattern: `like`/`nlike` (case-sensitive), `ilike`/`nilike` (case-insensitive). **`*` is the only wildcard** and stands for any run of characters; `%`, `_`, and backslash match themselves. Use `like: "Hi*"`, not `like: "Hi%"`. A `select` column compares by option id and restricts its operators: single-select accepts `eq`, `ne`, `in`, `nin`; multi-select accepts `contains`, `ncontains`. Option names are accepted as operands and resolved to ids.'
|
|
9069
9069
|
}
|
|
9070
9070
|
}
|
|
9071
9071
|
},
|
|
@@ -10193,6 +10193,7 @@ import { existsSync as existsSync2, readFileSync as readFileSync3, readSync } fr
|
|
|
10193
10193
|
// src/contract/commands.ts
|
|
10194
10194
|
var TABLE_NAME_HELP = "Identifier: letters, numbers, and underscores; cannot start with a number";
|
|
10195
10195
|
var TABLE_FILTER_HELP = 'Predicate: {"all":[{"field":"status","op":"eq","value":"active"}]}; groups use all/any. Operators: eq, ne, gt, gte, lt, lte, in, nin, contains, ncontains, startsWith, endsWith, like, ilike, nlike, nilike, isEmpty, isNotEmpty, isNull, isNotNull';
|
|
10196
|
+
var TABLE_READ_FILTER_HELP = 'Condition: {"field":"status","op":"eq","value":"active"}. Groups: {"all":[{"field":"status","op":"eq","value":"active"}]} or {"any":[{"field":"status","op":"eq","value":"active"}]}; group entries may also be nested groups. Operators: eq, ne, gt, gte, lt, lte, in, nin, contains, ncontains, startsWith, endsWith, like, ilike, nlike, nilike, isEmpty, isNotEmpty, isNull, isNotNull';
|
|
10196
10197
|
var TABLE_SORT_HELP = 'Ordered sort keys: [{"field":"createdAt","direction":"desc"}] (direction: asc or desc)';
|
|
10197
10198
|
var CUSTOM_TOOL_SCHEMA_HELP = 'OpenAI function schema: {"type":"function","function":{"name":"...","parameters":{"type":"object","properties":{}}}}';
|
|
10198
10199
|
var FOLDER_PATH_INPUT = {
|
|
@@ -10431,7 +10432,7 @@ var CLI_CONTRACT = {
|
|
|
10431
10432
|
queryRows: {
|
|
10432
10433
|
command: "tables rows query",
|
|
10433
10434
|
flags: {
|
|
10434
|
-
predicate: { name: "filter", json: true, describe:
|
|
10435
|
+
predicate: { name: "filter", json: true, describe: TABLE_READ_FILTER_HELP },
|
|
10435
10436
|
sort: { json: true, describe: TABLE_SORT_HELP }
|
|
10436
10437
|
},
|
|
10437
10438
|
expand: "data"
|
|
@@ -10859,7 +10860,7 @@ var CLI_CONTRACT = {
|
|
|
10859
10860
|
name: "filter",
|
|
10860
10861
|
renamedFrom: ["predicate"],
|
|
10861
10862
|
json: true,
|
|
10862
|
-
describe:
|
|
10863
|
+
describe: TABLE_READ_FILTER_HELP
|
|
10863
10864
|
}
|
|
10864
10865
|
}
|
|
10865
10866
|
},
|