obsidian-typings 2.26.0 → 2.27.0
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/cjs/implementations.d.cts +30 -30
- package/dist/cjs/types.d.cts +41 -39
- package/dist/obsidian-typings.api.json +3 -3
- package/package.json +1 -1
|
@@ -1075,8 +1075,8 @@ export interface BookmarksViewConstructor extends TypedViewConstructor<Bookmarks
|
|
|
1075
1075
|
}
|
|
1076
1076
|
/** @public */
|
|
1077
1077
|
export interface Bracket {
|
|
1078
|
-
pos: EditorPosition;
|
|
1079
1078
|
ch: string;
|
|
1079
|
+
pos: EditorPosition;
|
|
1080
1080
|
}
|
|
1081
1081
|
/** @todo Documentation incomplete */
|
|
1082
1082
|
/** @public */
|
|
@@ -1295,8 +1295,8 @@ export interface CanvasPluginInstanceOptions {
|
|
|
1295
1295
|
cardLabelVisibility?: "always" | "hover" | "never";
|
|
1296
1296
|
defaultModDragBehavior?: "card" | "group" | "media" | "menu" | "note" | "webpage";
|
|
1297
1297
|
defaultWheelBehavior?: "pan" | "zoom";
|
|
1298
|
-
newFileLocation?: "root" | "current" | "folder";
|
|
1299
1298
|
newFileFolderPath?: string;
|
|
1299
|
+
newFileLocation?: "root" | "current" | "folder";
|
|
1300
1300
|
snapToGrid?: boolean;
|
|
1301
1301
|
snapToObjects?: boolean;
|
|
1302
1302
|
zoomBreakpoint?: number;
|
|
@@ -1773,8 +1773,8 @@ export interface CapacitorFileEntry extends Partial<FileStats> {
|
|
|
1773
1773
|
}
|
|
1774
1774
|
/** @public */
|
|
1775
1775
|
export interface ClickableToken {
|
|
1776
|
-
start: EditorPosition;
|
|
1777
1776
|
end: EditorPosition;
|
|
1777
|
+
start: EditorPosition;
|
|
1778
1778
|
text: string;
|
|
1779
1779
|
type: string;
|
|
1780
1780
|
}
|
|
@@ -1857,11 +1857,11 @@ export interface CodeMirrorAdapterEx {
|
|
|
1857
1857
|
/** @public */
|
|
1858
1858
|
export interface CodeMirrorAdapterExCommands {
|
|
1859
1859
|
cursorCharLeft(editor: CodeMirrorEditor): void;
|
|
1860
|
-
|
|
1861
|
-
undo(editor: CodeMirrorEditor): void;
|
|
1860
|
+
indentAuto(editor: CodeMirrorEditor): void;
|
|
1862
1861
|
newlineAndIndent(editor: CodeMirrorEditor): void;
|
|
1863
1862
|
newlineAndIndentBefore(editor: CodeMirrorEditor): void;
|
|
1864
|
-
|
|
1863
|
+
redo(editor: CodeMirrorEditor): void;
|
|
1864
|
+
undo(editor: CodeMirrorEditor): void;
|
|
1865
1865
|
}
|
|
1866
1866
|
/** @public */
|
|
1867
1867
|
export interface CodeMirrorEditor {
|
|
@@ -1949,12 +1949,12 @@ export interface CodeMirrorEditorMode {
|
|
|
1949
1949
|
}
|
|
1950
1950
|
/** @public */
|
|
1951
1951
|
export interface CodeMirrorEditorSearchCursor {
|
|
1952
|
+
find(reverse?: boolean): boolean;
|
|
1952
1953
|
findNext(): boolean;
|
|
1953
1954
|
findPrevious(): boolean;
|
|
1954
|
-
find(reverse?: boolean): boolean;
|
|
1955
1955
|
from(): EditorPosition | void;
|
|
1956
|
-
to(): EditorPosition | void;
|
|
1957
1956
|
replace(text: string): void;
|
|
1957
|
+
to(): EditorPosition | void;
|
|
1958
1958
|
}
|
|
1959
1959
|
/** @public */
|
|
1960
1960
|
export interface CommandPalettePlugin extends InternalPlugin<CommandPalettePluginInstance> {
|
|
@@ -2034,10 +2034,10 @@ export interface ConstructorBase<Args extends unknown[], Instance> {
|
|
|
2034
2034
|
}
|
|
2035
2035
|
/** @public */
|
|
2036
2036
|
export interface Coords {
|
|
2037
|
+
bottom: number;
|
|
2037
2038
|
left: number;
|
|
2038
2039
|
right: number;
|
|
2039
2040
|
top: number;
|
|
2040
|
-
bottom: number;
|
|
2041
2041
|
}
|
|
2042
2042
|
/** @public */
|
|
2043
2043
|
export interface CoordsLeftTop {
|
|
@@ -2732,8 +2732,8 @@ export interface EmptyViewConstructor extends TypedViewConstructor<EmptyView> {
|
|
|
2732
2732
|
}
|
|
2733
2733
|
/** @public */
|
|
2734
2734
|
export interface EnclosingTag {
|
|
2735
|
-
open: EditorRangeEx;
|
|
2736
2735
|
close: EditorRangeEx;
|
|
2736
|
+
open: EditorRangeEx;
|
|
2737
2737
|
}
|
|
2738
2738
|
/** @public */
|
|
2739
2739
|
export interface EventsEntry {
|
|
@@ -3156,11 +3156,11 @@ export interface FrameDom {
|
|
|
3156
3156
|
}
|
|
3157
3157
|
/** @public */
|
|
3158
3158
|
export interface GetRecentFilesOptions {
|
|
3159
|
-
|
|
3159
|
+
maxCount: number;
|
|
3160
3160
|
showCanvas: boolean;
|
|
3161
|
-
showNonImageAttachments: boolean;
|
|
3162
3161
|
showImages: boolean;
|
|
3163
|
-
|
|
3162
|
+
showMarkdown: boolean;
|
|
3163
|
+
showNonImageAttachments: boolean;
|
|
3164
3164
|
}
|
|
3165
3165
|
/** @public */
|
|
3166
3166
|
export interface GetTypeInfoOptions {
|
|
@@ -3489,10 +3489,10 @@ export interface GroupBookmarkItem extends BookmarkItem {
|
|
|
3489
3489
|
}
|
|
3490
3490
|
/** @public */
|
|
3491
3491
|
export interface HardWrapOptions {
|
|
3492
|
+
allowMerge?: boolean;
|
|
3492
3493
|
column?: number;
|
|
3493
3494
|
from?: number;
|
|
3494
3495
|
to?: number;
|
|
3495
|
-
allowMerge?: boolean;
|
|
3496
3496
|
}
|
|
3497
3497
|
/** @public */
|
|
3498
3498
|
export interface HotkeyManager {
|
|
@@ -3698,9 +3698,9 @@ export interface InfoFileView extends FileView {
|
|
|
3698
3698
|
}
|
|
3699
3699
|
/** @public */
|
|
3700
3700
|
export interface InstallThemeOptions {
|
|
3701
|
+
author: string;
|
|
3701
3702
|
name: string;
|
|
3702
3703
|
repo: string;
|
|
3703
|
-
author: string;
|
|
3704
3704
|
}
|
|
3705
3705
|
/** @todo Documentation incomplete */
|
|
3706
3706
|
/** @public */
|
|
@@ -4713,9 +4713,9 @@ export interface ObsidianTouchEvent {
|
|
|
4713
4713
|
}
|
|
4714
4714
|
/** @public */
|
|
4715
4715
|
export interface ObsidianTouchEventRegisterCallback {
|
|
4716
|
-
move(x: number): void;
|
|
4717
4716
|
cancel(): void;
|
|
4718
4717
|
finish(x: number, y: number, z: number): void;
|
|
4718
|
+
move(x: number): void;
|
|
4719
4719
|
}
|
|
4720
4720
|
/** @public */
|
|
4721
4721
|
export interface OpenDialogOptions {
|
|
@@ -4731,8 +4731,8 @@ export interface OpenDialogOptions {
|
|
|
4731
4731
|
}
|
|
4732
4732
|
/** @public */
|
|
4733
4733
|
export interface OpenNotificationOptions {
|
|
4734
|
-
duration?: number;
|
|
4735
4734
|
bottom?: boolean;
|
|
4735
|
+
duration?: number;
|
|
4736
4736
|
}
|
|
4737
4737
|
/** @public */
|
|
4738
4738
|
export interface OutgoingLinkPlugin extends InternalPlugin<OutgoingLinkPluginInstance> {
|
|
@@ -4833,9 +4833,9 @@ export interface PagePreviewPluginInstance extends InternalPluginInstance<PagePr
|
|
|
4833
4833
|
/** @public */
|
|
4834
4834
|
export interface PdfExportSettings {
|
|
4835
4835
|
/**
|
|
4836
|
-
* Default:
|
|
4836
|
+
* Default: 100
|
|
4837
4837
|
*/
|
|
4838
|
-
|
|
4838
|
+
downscalePercent: number;
|
|
4839
4839
|
/**
|
|
4840
4840
|
* Default: false
|
|
4841
4841
|
*/
|
|
@@ -4845,9 +4845,9 @@ export interface PdfExportSettings {
|
|
|
4845
4845
|
*/
|
|
4846
4846
|
margin: string;
|
|
4847
4847
|
/**
|
|
4848
|
-
* Default:
|
|
4848
|
+
* Default: 'letter'
|
|
4849
4849
|
*/
|
|
4850
|
-
|
|
4850
|
+
pageSize: string;
|
|
4851
4851
|
}
|
|
4852
4852
|
/** @todo Documentation incomplete */
|
|
4853
4853
|
/** @public */
|
|
@@ -5286,12 +5286,12 @@ export interface SQLTransaction {
|
|
|
5286
5286
|
}
|
|
5287
5287
|
/** @public */
|
|
5288
5288
|
export interface ScrollInfo {
|
|
5289
|
+
clientHeight: number;
|
|
5290
|
+
clientWidth: number;
|
|
5291
|
+
height: number;
|
|
5289
5292
|
left: number;
|
|
5290
5293
|
top: number;
|
|
5291
|
-
height: number;
|
|
5292
5294
|
width: number;
|
|
5293
|
-
clientHeight: number;
|
|
5294
|
-
clientWidth: number;
|
|
5295
5295
|
}
|
|
5296
5296
|
/** @public */
|
|
5297
5297
|
export interface SearchBookmarkItem extends BookmarkItem {
|
|
@@ -5446,11 +5446,11 @@ export interface SetBookmarkOptions {
|
|
|
5446
5446
|
}
|
|
5447
5447
|
/** @public */
|
|
5448
5448
|
export interface SetHighlightMatch {
|
|
5449
|
-
focus: boolean;
|
|
5450
|
-
startLoc?: number;
|
|
5451
5449
|
endLoc?: number;
|
|
5450
|
+
focus: boolean;
|
|
5452
5451
|
line?: number;
|
|
5453
5452
|
match?: unknown;
|
|
5453
|
+
startLoc?: number;
|
|
5454
5454
|
}
|
|
5455
5455
|
/** @public */
|
|
5456
5456
|
export interface SetSelectionOptions {
|
|
@@ -5553,8 +5553,8 @@ export interface StatusBar {
|
|
|
5553
5553
|
}
|
|
5554
5554
|
/** @public */
|
|
5555
5555
|
export interface Submenu {
|
|
5556
|
-
title: string;
|
|
5557
5556
|
icon: string;
|
|
5557
|
+
title: string;
|
|
5558
5558
|
}
|
|
5559
5559
|
/** @public */
|
|
5560
5560
|
export interface SuggestionContainer<T> {
|
|
@@ -5943,14 +5943,14 @@ export interface TreeNodeInfo {
|
|
|
5943
5943
|
}
|
|
5944
5944
|
/** @public */
|
|
5945
5945
|
export interface TreeNodeVChildren<T> {
|
|
5946
|
-
addChild: (item: TreeNode<T>) => void;
|
|
5947
5946
|
_children: TreeNode<T>[];
|
|
5947
|
+
addChild: (item: TreeNode<T>) => void;
|
|
5948
5948
|
owner: TreeNode<T>;
|
|
5949
5949
|
}
|
|
5950
5950
|
/** @public */
|
|
5951
5951
|
export interface TypeInfo {
|
|
5952
|
-
inferred: PropertyWidget<unknown>;
|
|
5953
5952
|
expected: PropertyWidget<unknown>;
|
|
5953
|
+
inferred: PropertyWidget<unknown>;
|
|
5954
5954
|
}
|
|
5955
5955
|
/**
|
|
5956
5956
|
* A constructor for a view that is typed to a specific view type.
|
|
@@ -5995,9 +5995,9 @@ export interface VideoViewConstructor extends TypedViewConstructor<VideoView> {
|
|
|
5995
5995
|
}
|
|
5996
5996
|
/** @public */
|
|
5997
5997
|
export interface ViewEphemeralState {
|
|
5998
|
+
cursor?: EditorRangeOrCaret;
|
|
5998
5999
|
focus: boolean;
|
|
5999
6000
|
focusOnMobile: boolean;
|
|
6000
|
-
cursor?: EditorRangeOrCaret;
|
|
6001
6001
|
}
|
|
6002
6002
|
/** @public */
|
|
6003
6003
|
export interface ViewRegistry extends Events {
|
package/dist/cjs/types.d.cts
CHANGED
|
@@ -1388,6 +1388,8 @@ declare module "obsidian" {
|
|
|
1388
1388
|
* Reference to electron ipcRenderer module
|
|
1389
1389
|
*/
|
|
1390
1390
|
ipcRenderer?: IpcRenderer;
|
|
1391
|
+
/** @internal */
|
|
1392
|
+
killLastAction: null | ((e: Error) => void);
|
|
1391
1393
|
/**
|
|
1392
1394
|
* Reference to node path module
|
|
1393
1395
|
*/
|
|
@@ -1419,8 +1421,6 @@ declare module "obsidian" {
|
|
|
1419
1421
|
getFilePath(normalizedPath: string): string;
|
|
1420
1422
|
/** @internal Kill file system action due to timeout */
|
|
1421
1423
|
kill(): void;
|
|
1422
|
-
/** @internal */
|
|
1423
|
-
killLastAction: null | ((e: Error) => void);
|
|
1424
1424
|
/** @internal Generates `this.files` from the file system */
|
|
1425
1425
|
listAll(): Promise<void>;
|
|
1426
1426
|
/**
|
|
@@ -1439,7 +1439,7 @@ declare module "obsidian" {
|
|
|
1439
1439
|
/** @internal */
|
|
1440
1440
|
reconcileFileInternal(normalizedPath: string, normalizedNewPath: string): Promise<void>;
|
|
1441
1441
|
/** @internal */
|
|
1442
|
-
|
|
1442
|
+
startWatchPath(normalizedPath: string): Promise<void>;
|
|
1443
1443
|
/** @internal Remove listener on specific path */
|
|
1444
1444
|
stopWatchPath(normalizedPath: string): void;
|
|
1445
1445
|
/** @internal */
|
|
@@ -2057,14 +2057,12 @@ declare module "obsidian" {
|
|
|
2057
2057
|
}
|
|
2058
2058
|
declare module "obsidian" {
|
|
2059
2059
|
interface MetadataCache extends Events {
|
|
2060
|
+
/** @internal Called by preload() which is in turn called by initialize() */
|
|
2061
|
+
_preload: () => Promise<void>;
|
|
2060
2062
|
/**
|
|
2061
2063
|
* Reference to App
|
|
2062
2064
|
*/
|
|
2063
2065
|
app: App;
|
|
2064
|
-
/** @internal Called by preload() which is in turn called by initialize() */
|
|
2065
|
-
_preload: () => Promise<void>;
|
|
2066
|
-
preloadPromise: Promise<void> | null;
|
|
2067
|
-
preload: () => Promise<void>;
|
|
2068
2066
|
/** @internal */
|
|
2069
2067
|
blockCache: BlockCache;
|
|
2070
2068
|
/** @internal IndexedDB database */
|
|
@@ -2083,6 +2081,8 @@ declare module "obsidian" {
|
|
|
2083
2081
|
metadataCache: MetadataCacheMetadataCacheRecord;
|
|
2084
2082
|
/** @internal Callbacks to execute on cache clean */
|
|
2085
2083
|
onCleanCacheCallbacks: (() => void)[];
|
|
2084
|
+
preload: () => Promise<void>;
|
|
2085
|
+
preloadPromise: Promise<void> | null;
|
|
2086
2086
|
/** @internal Mapping of filename to collection of files that share the same name */
|
|
2087
2087
|
uniqueFileLookup: CustomArrayDict<TFile>;
|
|
2088
2088
|
/** @internal */
|
|
@@ -2106,10 +2106,10 @@ declare module "obsidian" {
|
|
|
2106
2106
|
cleanupDeletedCache(): void;
|
|
2107
2107
|
/** @internal */
|
|
2108
2108
|
clear(): Promise<void>;
|
|
2109
|
-
/** @internal */
|
|
2110
|
-
computeMetadataAsync(arrayBuffer: ArrayBuffer): Promise<CachedMetadata | undefined>;
|
|
2111
2109
|
/** @internal Called by initialize() */
|
|
2112
2110
|
computeFileMetadataAsync(file: TFile): Promise<void>;
|
|
2111
|
+
/** @internal */
|
|
2112
|
+
computeMetadataAsync(arrayBuffer: ArrayBuffer): Promise<CachedMetadata | undefined>;
|
|
2113
2113
|
/** @internal Remove all entries that contain deleted path */
|
|
2114
2114
|
deletePath(path: string): void;
|
|
2115
2115
|
/**
|
|
@@ -2680,6 +2680,8 @@ declare module "obsidian" {
|
|
|
2680
2680
|
/** @internal Debounced function for saving config */
|
|
2681
2681
|
requestSaveConfig: Debouncer<[
|
|
2682
2682
|
], Promise<void>>;
|
|
2683
|
+
/** @internal The same TFolder object as `.fileMap["/"]` */
|
|
2684
|
+
root: TFolder;
|
|
2683
2685
|
/** @internal Add file as child/parent to respective folders */
|
|
2684
2686
|
addChild(file: TAbstractFile): void;
|
|
2685
2687
|
/** @internal Check whether new file path is available */
|
|
@@ -4299,8 +4301,8 @@ export interface BookmarksViewConstructor extends TypedViewConstructor<Bookmarks
|
|
|
4299
4301
|
}
|
|
4300
4302
|
/** @public */
|
|
4301
4303
|
export interface Bracket {
|
|
4302
|
-
pos: EditorPosition;
|
|
4303
4304
|
ch: string;
|
|
4305
|
+
pos: EditorPosition;
|
|
4304
4306
|
}
|
|
4305
4307
|
/** @todo Documentation incomplete */
|
|
4306
4308
|
/** @public */
|
|
@@ -4519,8 +4521,8 @@ export interface CanvasPluginInstanceOptions {
|
|
|
4519
4521
|
cardLabelVisibility?: "always" | "hover" | "never";
|
|
4520
4522
|
defaultModDragBehavior?: "card" | "group" | "media" | "menu" | "note" | "webpage";
|
|
4521
4523
|
defaultWheelBehavior?: "pan" | "zoom";
|
|
4522
|
-
newFileLocation?: "root" | "current" | "folder";
|
|
4523
4524
|
newFileFolderPath?: string;
|
|
4525
|
+
newFileLocation?: "root" | "current" | "folder";
|
|
4524
4526
|
snapToGrid?: boolean;
|
|
4525
4527
|
snapToObjects?: boolean;
|
|
4526
4528
|
zoomBreakpoint?: number;
|
|
@@ -4997,8 +4999,8 @@ export interface CapacitorFileEntry extends Partial<FileStats> {
|
|
|
4997
4999
|
}
|
|
4998
5000
|
/** @public */
|
|
4999
5001
|
export interface ClickableToken {
|
|
5000
|
-
start: EditorPosition;
|
|
5001
5002
|
end: EditorPosition;
|
|
5003
|
+
start: EditorPosition;
|
|
5002
5004
|
text: string;
|
|
5003
5005
|
type: string;
|
|
5004
5006
|
}
|
|
@@ -5081,11 +5083,11 @@ export interface CodeMirrorAdapterEx {
|
|
|
5081
5083
|
/** @public */
|
|
5082
5084
|
export interface CodeMirrorAdapterExCommands {
|
|
5083
5085
|
cursorCharLeft(editor: CodeMirrorEditor): void;
|
|
5084
|
-
|
|
5085
|
-
undo(editor: CodeMirrorEditor): void;
|
|
5086
|
+
indentAuto(editor: CodeMirrorEditor): void;
|
|
5086
5087
|
newlineAndIndent(editor: CodeMirrorEditor): void;
|
|
5087
5088
|
newlineAndIndentBefore(editor: CodeMirrorEditor): void;
|
|
5088
|
-
|
|
5089
|
+
redo(editor: CodeMirrorEditor): void;
|
|
5090
|
+
undo(editor: CodeMirrorEditor): void;
|
|
5089
5091
|
}
|
|
5090
5092
|
/** @public */
|
|
5091
5093
|
export interface CodeMirrorEditor {
|
|
@@ -5173,12 +5175,12 @@ export interface CodeMirrorEditorMode {
|
|
|
5173
5175
|
}
|
|
5174
5176
|
/** @public */
|
|
5175
5177
|
export interface CodeMirrorEditorSearchCursor {
|
|
5178
|
+
find(reverse?: boolean): boolean;
|
|
5176
5179
|
findNext(): boolean;
|
|
5177
5180
|
findPrevious(): boolean;
|
|
5178
|
-
find(reverse?: boolean): boolean;
|
|
5179
5181
|
from(): EditorPosition | void;
|
|
5180
|
-
to(): EditorPosition | void;
|
|
5181
5182
|
replace(text: string): void;
|
|
5183
|
+
to(): EditorPosition | void;
|
|
5182
5184
|
}
|
|
5183
5185
|
/** @public */
|
|
5184
5186
|
export interface CommandPalettePlugin extends InternalPlugin<CommandPalettePluginInstance> {
|
|
@@ -5258,10 +5260,10 @@ export interface ConstructorBase<Args extends unknown[], Instance> {
|
|
|
5258
5260
|
}
|
|
5259
5261
|
/** @public */
|
|
5260
5262
|
export interface Coords {
|
|
5263
|
+
bottom: number;
|
|
5261
5264
|
left: number;
|
|
5262
5265
|
right: number;
|
|
5263
5266
|
top: number;
|
|
5264
|
-
bottom: number;
|
|
5265
5267
|
}
|
|
5266
5268
|
/** @public */
|
|
5267
5269
|
export interface CoordsLeftTop {
|
|
@@ -5956,8 +5958,8 @@ export interface EmptyViewConstructor extends TypedViewConstructor<EmptyView> {
|
|
|
5956
5958
|
}
|
|
5957
5959
|
/** @public */
|
|
5958
5960
|
export interface EnclosingTag {
|
|
5959
|
-
open: EditorRangeEx;
|
|
5960
5961
|
close: EditorRangeEx;
|
|
5962
|
+
open: EditorRangeEx;
|
|
5961
5963
|
}
|
|
5962
5964
|
/** @public */
|
|
5963
5965
|
export interface EventsEntry {
|
|
@@ -6380,11 +6382,11 @@ export interface FrameDom {
|
|
|
6380
6382
|
}
|
|
6381
6383
|
/** @public */
|
|
6382
6384
|
export interface GetRecentFilesOptions {
|
|
6383
|
-
|
|
6385
|
+
maxCount: number;
|
|
6384
6386
|
showCanvas: boolean;
|
|
6385
|
-
showNonImageAttachments: boolean;
|
|
6386
6387
|
showImages: boolean;
|
|
6387
|
-
|
|
6388
|
+
showMarkdown: boolean;
|
|
6389
|
+
showNonImageAttachments: boolean;
|
|
6388
6390
|
}
|
|
6389
6391
|
/** @public */
|
|
6390
6392
|
export interface GetTypeInfoOptions {
|
|
@@ -6713,10 +6715,10 @@ export interface GroupBookmarkItem extends BookmarkItem {
|
|
|
6713
6715
|
}
|
|
6714
6716
|
/** @public */
|
|
6715
6717
|
export interface HardWrapOptions {
|
|
6718
|
+
allowMerge?: boolean;
|
|
6716
6719
|
column?: number;
|
|
6717
6720
|
from?: number;
|
|
6718
6721
|
to?: number;
|
|
6719
|
-
allowMerge?: boolean;
|
|
6720
6722
|
}
|
|
6721
6723
|
/** @public */
|
|
6722
6724
|
export interface HotkeyManager {
|
|
@@ -6922,9 +6924,9 @@ export interface InfoFileView extends FileView {
|
|
|
6922
6924
|
}
|
|
6923
6925
|
/** @public */
|
|
6924
6926
|
export interface InstallThemeOptions {
|
|
6927
|
+
author: string;
|
|
6925
6928
|
name: string;
|
|
6926
6929
|
repo: string;
|
|
6927
|
-
author: string;
|
|
6928
6930
|
}
|
|
6929
6931
|
/** @todo Documentation incomplete */
|
|
6930
6932
|
/** @public */
|
|
@@ -7937,9 +7939,9 @@ export interface ObsidianTouchEvent {
|
|
|
7937
7939
|
}
|
|
7938
7940
|
/** @public */
|
|
7939
7941
|
export interface ObsidianTouchEventRegisterCallback {
|
|
7940
|
-
move(x: number): void;
|
|
7941
7942
|
cancel(): void;
|
|
7942
7943
|
finish(x: number, y: number, z: number): void;
|
|
7944
|
+
move(x: number): void;
|
|
7943
7945
|
}
|
|
7944
7946
|
/** @public */
|
|
7945
7947
|
export interface OpenDialogOptions {
|
|
@@ -7955,8 +7957,8 @@ export interface OpenDialogOptions {
|
|
|
7955
7957
|
}
|
|
7956
7958
|
/** @public */
|
|
7957
7959
|
export interface OpenNotificationOptions {
|
|
7958
|
-
duration?: number;
|
|
7959
7960
|
bottom?: boolean;
|
|
7961
|
+
duration?: number;
|
|
7960
7962
|
}
|
|
7961
7963
|
/** @public */
|
|
7962
7964
|
export interface OutgoingLinkPlugin extends InternalPlugin<OutgoingLinkPluginInstance> {
|
|
@@ -8057,9 +8059,9 @@ export interface PagePreviewPluginInstance extends InternalPluginInstance<PagePr
|
|
|
8057
8059
|
/** @public */
|
|
8058
8060
|
export interface PdfExportSettings {
|
|
8059
8061
|
/**
|
|
8060
|
-
* Default:
|
|
8062
|
+
* Default: 100
|
|
8061
8063
|
*/
|
|
8062
|
-
|
|
8064
|
+
downscalePercent: number;
|
|
8063
8065
|
/**
|
|
8064
8066
|
* Default: false
|
|
8065
8067
|
*/
|
|
@@ -8069,9 +8071,9 @@ export interface PdfExportSettings {
|
|
|
8069
8071
|
*/
|
|
8070
8072
|
margin: string;
|
|
8071
8073
|
/**
|
|
8072
|
-
* Default:
|
|
8074
|
+
* Default: 'letter'
|
|
8073
8075
|
*/
|
|
8074
|
-
|
|
8076
|
+
pageSize: string;
|
|
8075
8077
|
}
|
|
8076
8078
|
/** @todo Documentation incomplete */
|
|
8077
8079
|
/** @public */
|
|
@@ -8510,12 +8512,12 @@ export interface SQLTransaction {
|
|
|
8510
8512
|
}
|
|
8511
8513
|
/** @public */
|
|
8512
8514
|
export interface ScrollInfo {
|
|
8515
|
+
clientHeight: number;
|
|
8516
|
+
clientWidth: number;
|
|
8517
|
+
height: number;
|
|
8513
8518
|
left: number;
|
|
8514
8519
|
top: number;
|
|
8515
|
-
height: number;
|
|
8516
8520
|
width: number;
|
|
8517
|
-
clientHeight: number;
|
|
8518
|
-
clientWidth: number;
|
|
8519
8521
|
}
|
|
8520
8522
|
/** @public */
|
|
8521
8523
|
export interface SearchBookmarkItem extends BookmarkItem {
|
|
@@ -8670,11 +8672,11 @@ export interface SetBookmarkOptions {
|
|
|
8670
8672
|
}
|
|
8671
8673
|
/** @public */
|
|
8672
8674
|
export interface SetHighlightMatch {
|
|
8673
|
-
focus: boolean;
|
|
8674
|
-
startLoc?: number;
|
|
8675
8675
|
endLoc?: number;
|
|
8676
|
+
focus: boolean;
|
|
8676
8677
|
line?: number;
|
|
8677
8678
|
match?: unknown;
|
|
8679
|
+
startLoc?: number;
|
|
8678
8680
|
}
|
|
8679
8681
|
/** @public */
|
|
8680
8682
|
export interface SetSelectionOptions {
|
|
@@ -8777,8 +8779,8 @@ export interface StatusBar {
|
|
|
8777
8779
|
}
|
|
8778
8780
|
/** @public */
|
|
8779
8781
|
export interface Submenu {
|
|
8780
|
-
title: string;
|
|
8781
8782
|
icon: string;
|
|
8783
|
+
title: string;
|
|
8782
8784
|
}
|
|
8783
8785
|
/** @public */
|
|
8784
8786
|
export interface SuggestionContainer<T> {
|
|
@@ -9167,14 +9169,14 @@ export interface TreeNodeInfo {
|
|
|
9167
9169
|
}
|
|
9168
9170
|
/** @public */
|
|
9169
9171
|
export interface TreeNodeVChildren<T> {
|
|
9170
|
-
addChild: (item: TreeNode<T>) => void;
|
|
9171
9172
|
_children: TreeNode<T>[];
|
|
9173
|
+
addChild: (item: TreeNode<T>) => void;
|
|
9172
9174
|
owner: TreeNode<T>;
|
|
9173
9175
|
}
|
|
9174
9176
|
/** @public */
|
|
9175
9177
|
export interface TypeInfo {
|
|
9176
|
-
inferred: PropertyWidget<unknown>;
|
|
9177
9178
|
expected: PropertyWidget<unknown>;
|
|
9179
|
+
inferred: PropertyWidget<unknown>;
|
|
9178
9180
|
}
|
|
9179
9181
|
/**
|
|
9180
9182
|
* A constructor for a view that is typed to a specific view type.
|
|
@@ -9219,9 +9221,9 @@ export interface VideoViewConstructor extends TypedViewConstructor<VideoView> {
|
|
|
9219
9221
|
}
|
|
9220
9222
|
/** @public */
|
|
9221
9223
|
export interface ViewEphemeralState {
|
|
9224
|
+
cursor?: EditorRangeOrCaret;
|
|
9222
9225
|
focus: boolean;
|
|
9223
9226
|
focusOnMobile: boolean;
|
|
9224
|
-
cursor?: EditorRangeOrCaret;
|
|
9225
9227
|
}
|
|
9226
9228
|
/** @public */
|
|
9227
9229
|
export interface ViewRegistry extends Events {
|
|
@@ -31418,7 +31418,7 @@
|
|
|
31418
31418
|
"excerptTokens": [
|
|
31419
31419
|
{
|
|
31420
31420
|
"kind": "Content",
|
|
31421
|
-
"text": "charCoords(
|
|
31421
|
+
"text": "charCoords(pos: "
|
|
31422
31422
|
},
|
|
31423
31423
|
{
|
|
31424
31424
|
"kind": "Reference",
|
|
@@ -31427,7 +31427,7 @@
|
|
|
31427
31427
|
},
|
|
31428
31428
|
{
|
|
31429
31429
|
"kind": "Content",
|
|
31430
|
-
"text": "
|
|
31430
|
+
"text": ", mode: "
|
|
31431
31431
|
},
|
|
31432
31432
|
{
|
|
31433
31433
|
"kind": "Content",
|
|
@@ -31435,7 +31435,7 @@
|
|
|
31435
31435
|
},
|
|
31436
31436
|
{
|
|
31437
31437
|
"kind": "Content",
|
|
31438
|
-
"text": "
|
|
31438
|
+
"text": "): "
|
|
31439
31439
|
},
|
|
31440
31440
|
{
|
|
31441
31441
|
"kind": "Reference",
|