@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/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
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@standardbeagle/edit-db",
3
3
  "private": false,
4
- "version": "0.4.428",
4
+ "version": "0.4.429",
5
5
  "type": "module",
6
6
  "dependencies": {
7
7
  "@radix-ui/react-slot": "^1.2.4",