roamjs-components 0.54.14 → 0.54.17

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "roamjs-components",
3
3
  "description": "Description for roamjs-components",
4
- "version": "0.54.14",
4
+ "version": "0.54.17",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
7
7
  "scripts": {
package/types/index.d.ts CHANGED
@@ -489,12 +489,7 @@ declare global {
489
489
  queryBuilder?: {
490
490
  QueryEditor: (props: {
491
491
  parentUid: string;
492
- defaultQuery: string[];
493
- onQuery: (query: {
494
- returnNode: string;
495
- conditions: QueryBuilderCondition[];
496
- selections: QueryBuilderSelection[];
497
- }) => Promise<void>;
492
+ onQuery?: () => void;
498
493
  defaultReturnNode?: string;
499
494
  }) => JSX.Element;
500
495
  QueryPage: (props: {
@@ -521,6 +516,7 @@ declare global {
521
516
  returnNode: string;
522
517
  conditions: QueryBuilderCondition[];
523
518
  selections: QueryBuilderSelection[];
519
+ returnNodeUid: string;
524
520
  conditionsNodesUid: string;
525
521
  selectionsNodesUid: string;
526
522
  };
@@ -8,7 +8,7 @@ export declare type QBClauseData = {
8
8
  not?: boolean;
9
9
  } & QBBase;
10
10
  export declare type QBNestedData = {
11
- conditions: Condition[];
11
+ conditions: Condition[][];
12
12
  } & QBBase;
13
13
  export declare type QBClause = QBClauseData & {
14
14
  type: "clause";