@lotics/cli 0.218.0 → 0.219.0
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/src/cli.js +500 -111
- package/dist/src/client.d.ts +10 -0
- package/dist/src/client.js +9 -1
- package/package.json +1 -1
package/dist/src/client.d.ts
CHANGED
|
@@ -396,6 +396,15 @@ export interface ScaffoldWorkspaceResult {
|
|
|
396
396
|
record_ids: Record<string, string[]>;
|
|
397
397
|
/** Rows were sent and none were written, because the run adopted a table. */
|
|
398
398
|
rows_skipped: boolean;
|
|
399
|
+
/**
|
|
400
|
+
* Entity aliases whose ADOPTED table kept a row rule of its own — the model
|
|
401
|
+
* states a different one, and the table's is what every door enforces.
|
|
402
|
+
*
|
|
403
|
+
* Absent from an instance too old to state it, which is why the caller reads
|
|
404
|
+
* it as "not reported" rather than as "none": a run over an adopted table
|
|
405
|
+
* whose rule nobody named is the one a reader has to be told about.
|
|
406
|
+
*/
|
|
407
|
+
carried_rules?: string[];
|
|
399
408
|
}
|
|
400
409
|
/**
|
|
401
410
|
* A workspace read BACK as a model — the inverse of the scaffold above.
|
|
@@ -1146,6 +1155,7 @@ export declare class LoticsClient {
|
|
|
1146
1155
|
id: string;
|
|
1147
1156
|
name: string;
|
|
1148
1157
|
type: string;
|
|
1158
|
+
multi?: boolean;
|
|
1149
1159
|
options?: Array<{
|
|
1150
1160
|
id: string;
|
|
1151
1161
|
label: string;
|
package/dist/src/client.js
CHANGED
|
@@ -712,7 +712,15 @@ var LoticsClient = class {
|
|
|
712
712
|
const o = opt;
|
|
713
713
|
return typeof o.key === "string" && typeof o.name === "string" ? [{ id: o.key, label: o.name }] : [];
|
|
714
714
|
}) : void 0;
|
|
715
|
-
return [
|
|
715
|
+
return [
|
|
716
|
+
{
|
|
717
|
+
id: f.key,
|
|
718
|
+
name: f.name,
|
|
719
|
+
type: f.type,
|
|
720
|
+
...f.multi === true ? { multi: true } : {},
|
|
721
|
+
...options && options.length > 0 ? { options } : {}
|
|
722
|
+
}
|
|
723
|
+
];
|
|
716
724
|
});
|
|
717
725
|
return { id: table.id, name: table.name, fields };
|
|
718
726
|
})
|