roamjs-components 0.53.1 → 0.53.4

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/types/index.d.ts +4 -3
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.53.1",
4
+ "version": "0.53.4",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
7
7
  "scripts": {
package/types/index.d.ts CHANGED
@@ -412,6 +412,7 @@ declare global {
412
412
  resultContent?: React.ReactElement<any, string | React.JSXElementConstructor<any>>;
413
413
  hideResults?: boolean;
414
414
  resultFilter?: (r: QueryBuilderResult) => boolean;
415
+ ctrlClick?: (r: QueryBuilderResult) => void;
415
416
  }) => JSX.Element;
416
417
  fireQuery: (query: {
417
418
  returnNode: string;
@@ -424,7 +425,7 @@ declare global {
424
425
  selectionNodes: QueryBuilderSelection[];
425
426
  };
426
427
  conditionToDatalog: (condition: QueryBuilderCondition) => string;
427
- registerDatalogTransfer: (args: {
428
+ registerDatalogTranslator: (args: {
428
429
  key: string;
429
430
  callback: (args: {
430
431
  freeVar: (s: string) => string;
@@ -433,7 +434,7 @@ declare global {
433
434
  uid: string;
434
435
  }) => string;
435
436
  }) => void;
436
- unregisterDatalogTransfer: (args: {
437
+ unregisterDatalogTranslator: (args: {
437
438
  key: string;
438
439
  }) => void;
439
440
  registerSelection: (args: {
@@ -442,7 +443,7 @@ declare global {
442
443
  returnNode: string;
443
444
  match: RegExpExecArray;
444
445
  }) => string;
445
- mapper: (r: PullBlock, key: string) => QueryBuilderResult;
446
+ mapper: (r: PullBlock, key: string) => QueryBuilderResult[string];
446
447
  }) => void;
447
448
  };
448
449
  [id: string]: {