@standardbeagle/edit-db 0.4.428 → 0.4.429
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/editor.es.js +131 -127
- package/dist/editor.umd.cjs +9 -9
- package/dist/lib/m2m.d.ts +9 -0
- package/package.json +1 -1
package/dist/lib/m2m.d.ts
CHANGED
|
@@ -29,6 +29,15 @@ export declare function m2mRowsQuery(junction: Table, target: Table, m2m: ManyTo
|
|
|
29
29
|
query: string;
|
|
30
30
|
variables: Record<string, unknown>;
|
|
31
31
|
};
|
|
32
|
+
export interface M2mTargetPickerPlan {
|
|
33
|
+
query: string;
|
|
34
|
+
idColumn: string;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Build the target-list query used when adding a many-to-many link.
|
|
38
|
+
* Sort values are BifrostQL enum literals, so they must not be quoted.
|
|
39
|
+
*/
|
|
40
|
+
export declare function m2mTargetPickerPlan(target: Table, m2m: ManyToManyJoin): M2mTargetPickerPlan;
|
|
32
41
|
/**
|
|
33
42
|
* Read the target row's id and display label from a junction row's nested target
|
|
34
43
|
* selection (emitted by {@link m2mRowsQuery}). Returns null when the link has no
|