yanki 2.0.9 → 2.0.11

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,5 @@
1
1
  import { YankiConnectOptions, YankiFetchAdapter, YankiParamsForAction } from "yanki-connect";
2
2
  import { PartialDeep, Simplify } from "type-fest";
3
-
4
3
  //#region src/lib/model/model.d.ts
5
4
  declare const yankiModels: [{
6
5
  readonly cardTemplates: [{
@@ -109,8 +108,10 @@ type GlobalOptions = {
109
108
  * user-specified file names in other cases.
110
109
  */
111
110
  maxFilenameLength: number;
112
- namespace: string; /** Ensures that wiki-style links work correctly */
113
- obsidianVault: string | undefined; /** Exposed for testing only */
111
+ namespace: string;
112
+ /** Ensures that wiki-style links work correctly */
113
+ obsidianVault: string | undefined;
114
+ /** Exposed for testing only */
114
115
  resolveUrls: boolean;
115
116
  /**
116
117
  * Whether to treat single newlines in Markdown as line breaks in the
@@ -122,7 +123,8 @@ type GlobalOptions = {
122
123
  * be equivalent, don't match local notes with "orphaned" remote notes based
123
124
  * on content
124
125
  */
125
- strictMatching: boolean; /** Sync image, video, and audio assets to Anki's media storage system */
126
+ strictMatching: boolean;
127
+ /** Sync image, video, and audio assets to Anki's media storage system */
126
128
  syncMediaAssets: SyncMediaAssets;
127
129
  };
128
130
  //#endregion
@@ -171,12 +173,12 @@ type LocalNote = {
171
173
  };
172
174
  //#endregion
173
175
  //#region src/lib/actions/rename.d.ts
174
- type RenameNotesOptions = Pick<GlobalOptions, 'dryRun' | 'fileAdapter' | 'manageFilenames' | 'maxFilenameLength'
176
+ type RenameNotesOptions = Pick<GlobalOptions, 'dryRun' | 'fileAdapter' | 'manageFilenames' | 'maxFilenameLength' |
175
177
  /**
176
178
  * Included because this can technically change the content of the "first
177
179
  * line" of a card
178
180
  */
179
- | 'strictLineBreaks'>;
181
+ 'strictLineBreaks'>;
180
182
  type RenameFilesResult = {
181
183
  dryRun: boolean;
182
184
  notes: LocalNote[];