crossnote 0.9.25 → 0.9.27

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.
@@ -1,6 +1,6 @@
1
1
  import { CodeChunkData } from '../code-chunk/code-chunk-data';
2
2
  import { Notebook } from '../notebook';
3
- export declare function processGraphs(text: string, { fileDirectoryPath, projectDirectoryPath, imageDirectoryPath, imageFilePrefix, useRelativeFilePath, codeChunksData, graphsCache, addOptionsStr, notebook, }: {
3
+ export declare function processGraphs(text: string, { fileDirectoryPath, projectDirectoryPath, imageDirectoryPath, imageFilePrefix, useRelativeFilePath, codeChunksData, graphsCache, addOptionsStr, cacheBust, notebook, }: {
4
4
  fileDirectoryPath: string;
5
5
  projectDirectoryPath: string;
6
6
  imageDirectoryPath: string;
@@ -13,6 +13,7 @@ export declare function processGraphs(text: string, { fileDirectoryPath, project
13
13
  [key: string]: string;
14
14
  };
15
15
  addOptionsStr: boolean;
16
+ cacheBust?: boolean;
16
17
  notebook: Notebook;
17
18
  }): Promise<{
18
19
  outputString: string;
@@ -0,0 +1,12 @@
1
+ export interface AffixOptions {
2
+ prefix?: string;
3
+ suffix?: string;
4
+ dir?: string;
5
+ }
6
+ export interface OpenFile {
7
+ path: string;
8
+ fd: number;
9
+ }
10
+ export declare function track(value?: boolean): boolean;
11
+ export declare function open(affixes?: AffixOptions | string): Promise<OpenFile>;
12
+ export declare function mkdirSync(affixes?: AffixOptions | string): string;
@@ -32,6 +32,7 @@ export declare class Notebook {
32
32
  fs: FileSystemApi;
33
33
  notes: Notes;
34
34
  hasLoadedNotes: boolean;
35
+ currentRenderFilePath: string;
35
36
  referenceMap: ReferenceMap;
36
37
  tagReferenceMap: TagReferenceMap;
37
38
  private refreshNotesIfNotLoadedMutex;
@@ -1,5 +1,5 @@
1
1
  import * as child_process from 'child_process';
2
- import * as temp from 'temp';
2
+ import * as temp from './lib/temp';
3
3
  import { JsonObject } from 'type-fest';
4
4
  import * as vscode from 'vscode';
5
5
  import { BlockInfo } from './lib/block-info';
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};