obsidian-typings 2.26.0 → 2.26.1
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 +38 -38
- 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
|
/**
|
|
@@ -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
|
/**
|
|
@@ -4299,8 +4299,8 @@ export interface BookmarksViewConstructor extends TypedViewConstructor<Bookmarks
|
|
|
4299
4299
|
}
|
|
4300
4300
|
/** @public */
|
|
4301
4301
|
export interface Bracket {
|
|
4302
|
-
pos: EditorPosition;
|
|
4303
4302
|
ch: string;
|
|
4303
|
+
pos: EditorPosition;
|
|
4304
4304
|
}
|
|
4305
4305
|
/** @todo Documentation incomplete */
|
|
4306
4306
|
/** @public */
|
|
@@ -4519,8 +4519,8 @@ export interface CanvasPluginInstanceOptions {
|
|
|
4519
4519
|
cardLabelVisibility?: "always" | "hover" | "never";
|
|
4520
4520
|
defaultModDragBehavior?: "card" | "group" | "media" | "menu" | "note" | "webpage";
|
|
4521
4521
|
defaultWheelBehavior?: "pan" | "zoom";
|
|
4522
|
-
newFileLocation?: "root" | "current" | "folder";
|
|
4523
4522
|
newFileFolderPath?: string;
|
|
4523
|
+
newFileLocation?: "root" | "current" | "folder";
|
|
4524
4524
|
snapToGrid?: boolean;
|
|
4525
4525
|
snapToObjects?: boolean;
|
|
4526
4526
|
zoomBreakpoint?: number;
|
|
@@ -4997,8 +4997,8 @@ export interface CapacitorFileEntry extends Partial<FileStats> {
|
|
|
4997
4997
|
}
|
|
4998
4998
|
/** @public */
|
|
4999
4999
|
export interface ClickableToken {
|
|
5000
|
-
start: EditorPosition;
|
|
5001
5000
|
end: EditorPosition;
|
|
5001
|
+
start: EditorPosition;
|
|
5002
5002
|
text: string;
|
|
5003
5003
|
type: string;
|
|
5004
5004
|
}
|
|
@@ -5081,11 +5081,11 @@ export interface CodeMirrorAdapterEx {
|
|
|
5081
5081
|
/** @public */
|
|
5082
5082
|
export interface CodeMirrorAdapterExCommands {
|
|
5083
5083
|
cursorCharLeft(editor: CodeMirrorEditor): void;
|
|
5084
|
-
|
|
5085
|
-
undo(editor: CodeMirrorEditor): void;
|
|
5084
|
+
indentAuto(editor: CodeMirrorEditor): void;
|
|
5086
5085
|
newlineAndIndent(editor: CodeMirrorEditor): void;
|
|
5087
5086
|
newlineAndIndentBefore(editor: CodeMirrorEditor): void;
|
|
5088
|
-
|
|
5087
|
+
redo(editor: CodeMirrorEditor): void;
|
|
5088
|
+
undo(editor: CodeMirrorEditor): void;
|
|
5089
5089
|
}
|
|
5090
5090
|
/** @public */
|
|
5091
5091
|
export interface CodeMirrorEditor {
|
|
@@ -5173,12 +5173,12 @@ export interface CodeMirrorEditorMode {
|
|
|
5173
5173
|
}
|
|
5174
5174
|
/** @public */
|
|
5175
5175
|
export interface CodeMirrorEditorSearchCursor {
|
|
5176
|
+
find(reverse?: boolean): boolean;
|
|
5176
5177
|
findNext(): boolean;
|
|
5177
5178
|
findPrevious(): boolean;
|
|
5178
|
-
find(reverse?: boolean): boolean;
|
|
5179
5179
|
from(): EditorPosition | void;
|
|
5180
|
-
to(): EditorPosition | void;
|
|
5181
5180
|
replace(text: string): void;
|
|
5181
|
+
to(): EditorPosition | void;
|
|
5182
5182
|
}
|
|
5183
5183
|
/** @public */
|
|
5184
5184
|
export interface CommandPalettePlugin extends InternalPlugin<CommandPalettePluginInstance> {
|
|
@@ -5258,10 +5258,10 @@ export interface ConstructorBase<Args extends unknown[], Instance> {
|
|
|
5258
5258
|
}
|
|
5259
5259
|
/** @public */
|
|
5260
5260
|
export interface Coords {
|
|
5261
|
+
bottom: number;
|
|
5261
5262
|
left: number;
|
|
5262
5263
|
right: number;
|
|
5263
5264
|
top: number;
|
|
5264
|
-
bottom: number;
|
|
5265
5265
|
}
|
|
5266
5266
|
/** @public */
|
|
5267
5267
|
export interface CoordsLeftTop {
|
|
@@ -5956,8 +5956,8 @@ export interface EmptyViewConstructor extends TypedViewConstructor<EmptyView> {
|
|
|
5956
5956
|
}
|
|
5957
5957
|
/** @public */
|
|
5958
5958
|
export interface EnclosingTag {
|
|
5959
|
-
open: EditorRangeEx;
|
|
5960
5959
|
close: EditorRangeEx;
|
|
5960
|
+
open: EditorRangeEx;
|
|
5961
5961
|
}
|
|
5962
5962
|
/** @public */
|
|
5963
5963
|
export interface EventsEntry {
|
|
@@ -6380,11 +6380,11 @@ export interface FrameDom {
|
|
|
6380
6380
|
}
|
|
6381
6381
|
/** @public */
|
|
6382
6382
|
export interface GetRecentFilesOptions {
|
|
6383
|
-
|
|
6383
|
+
maxCount: number;
|
|
6384
6384
|
showCanvas: boolean;
|
|
6385
|
-
showNonImageAttachments: boolean;
|
|
6386
6385
|
showImages: boolean;
|
|
6387
|
-
|
|
6386
|
+
showMarkdown: boolean;
|
|
6387
|
+
showNonImageAttachments: boolean;
|
|
6388
6388
|
}
|
|
6389
6389
|
/** @public */
|
|
6390
6390
|
export interface GetTypeInfoOptions {
|
|
@@ -6713,10 +6713,10 @@ export interface GroupBookmarkItem extends BookmarkItem {
|
|
|
6713
6713
|
}
|
|
6714
6714
|
/** @public */
|
|
6715
6715
|
export interface HardWrapOptions {
|
|
6716
|
+
allowMerge?: boolean;
|
|
6716
6717
|
column?: number;
|
|
6717
6718
|
from?: number;
|
|
6718
6719
|
to?: number;
|
|
6719
|
-
allowMerge?: boolean;
|
|
6720
6720
|
}
|
|
6721
6721
|
/** @public */
|
|
6722
6722
|
export interface HotkeyManager {
|
|
@@ -6922,9 +6922,9 @@ export interface InfoFileView extends FileView {
|
|
|
6922
6922
|
}
|
|
6923
6923
|
/** @public */
|
|
6924
6924
|
export interface InstallThemeOptions {
|
|
6925
|
+
author: string;
|
|
6925
6926
|
name: string;
|
|
6926
6927
|
repo: string;
|
|
6927
|
-
author: string;
|
|
6928
6928
|
}
|
|
6929
6929
|
/** @todo Documentation incomplete */
|
|
6930
6930
|
/** @public */
|
|
@@ -7937,9 +7937,9 @@ export interface ObsidianTouchEvent {
|
|
|
7937
7937
|
}
|
|
7938
7938
|
/** @public */
|
|
7939
7939
|
export interface ObsidianTouchEventRegisterCallback {
|
|
7940
|
-
move(x: number): void;
|
|
7941
7940
|
cancel(): void;
|
|
7942
7941
|
finish(x: number, y: number, z: number): void;
|
|
7942
|
+
move(x: number): void;
|
|
7943
7943
|
}
|
|
7944
7944
|
/** @public */
|
|
7945
7945
|
export interface OpenDialogOptions {
|
|
@@ -7955,8 +7955,8 @@ export interface OpenDialogOptions {
|
|
|
7955
7955
|
}
|
|
7956
7956
|
/** @public */
|
|
7957
7957
|
export interface OpenNotificationOptions {
|
|
7958
|
-
duration?: number;
|
|
7959
7958
|
bottom?: boolean;
|
|
7959
|
+
duration?: number;
|
|
7960
7960
|
}
|
|
7961
7961
|
/** @public */
|
|
7962
7962
|
export interface OutgoingLinkPlugin extends InternalPlugin<OutgoingLinkPluginInstance> {
|
|
@@ -8057,9 +8057,9 @@ export interface PagePreviewPluginInstance extends InternalPluginInstance<PagePr
|
|
|
8057
8057
|
/** @public */
|
|
8058
8058
|
export interface PdfExportSettings {
|
|
8059
8059
|
/**
|
|
8060
|
-
* Default:
|
|
8060
|
+
* Default: 100
|
|
8061
8061
|
*/
|
|
8062
|
-
|
|
8062
|
+
downscalePercent: number;
|
|
8063
8063
|
/**
|
|
8064
8064
|
* Default: false
|
|
8065
8065
|
*/
|
|
@@ -8069,9 +8069,9 @@ export interface PdfExportSettings {
|
|
|
8069
8069
|
*/
|
|
8070
8070
|
margin: string;
|
|
8071
8071
|
/**
|
|
8072
|
-
* Default:
|
|
8072
|
+
* Default: 'letter'
|
|
8073
8073
|
*/
|
|
8074
|
-
|
|
8074
|
+
pageSize: string;
|
|
8075
8075
|
}
|
|
8076
8076
|
/** @todo Documentation incomplete */
|
|
8077
8077
|
/** @public */
|
|
@@ -8510,12 +8510,12 @@ export interface SQLTransaction {
|
|
|
8510
8510
|
}
|
|
8511
8511
|
/** @public */
|
|
8512
8512
|
export interface ScrollInfo {
|
|
8513
|
+
clientHeight: number;
|
|
8514
|
+
clientWidth: number;
|
|
8515
|
+
height: number;
|
|
8513
8516
|
left: number;
|
|
8514
8517
|
top: number;
|
|
8515
|
-
height: number;
|
|
8516
8518
|
width: number;
|
|
8517
|
-
clientHeight: number;
|
|
8518
|
-
clientWidth: number;
|
|
8519
8519
|
}
|
|
8520
8520
|
/** @public */
|
|
8521
8521
|
export interface SearchBookmarkItem extends BookmarkItem {
|
|
@@ -8670,11 +8670,11 @@ export interface SetBookmarkOptions {
|
|
|
8670
8670
|
}
|
|
8671
8671
|
/** @public */
|
|
8672
8672
|
export interface SetHighlightMatch {
|
|
8673
|
-
focus: boolean;
|
|
8674
|
-
startLoc?: number;
|
|
8675
8673
|
endLoc?: number;
|
|
8674
|
+
focus: boolean;
|
|
8676
8675
|
line?: number;
|
|
8677
8676
|
match?: unknown;
|
|
8677
|
+
startLoc?: number;
|
|
8678
8678
|
}
|
|
8679
8679
|
/** @public */
|
|
8680
8680
|
export interface SetSelectionOptions {
|
|
@@ -8777,8 +8777,8 @@ export interface StatusBar {
|
|
|
8777
8777
|
}
|
|
8778
8778
|
/** @public */
|
|
8779
8779
|
export interface Submenu {
|
|
8780
|
-
title: string;
|
|
8781
8780
|
icon: string;
|
|
8781
|
+
title: string;
|
|
8782
8782
|
}
|
|
8783
8783
|
/** @public */
|
|
8784
8784
|
export interface SuggestionContainer<T> {
|
|
@@ -9167,14 +9167,14 @@ export interface TreeNodeInfo {
|
|
|
9167
9167
|
}
|
|
9168
9168
|
/** @public */
|
|
9169
9169
|
export interface TreeNodeVChildren<T> {
|
|
9170
|
-
addChild: (item: TreeNode<T>) => void;
|
|
9171
9170
|
_children: TreeNode<T>[];
|
|
9171
|
+
addChild: (item: TreeNode<T>) => void;
|
|
9172
9172
|
owner: TreeNode<T>;
|
|
9173
9173
|
}
|
|
9174
9174
|
/** @public */
|
|
9175
9175
|
export interface TypeInfo {
|
|
9176
|
-
inferred: PropertyWidget<unknown>;
|
|
9177
9176
|
expected: PropertyWidget<unknown>;
|
|
9177
|
+
inferred: PropertyWidget<unknown>;
|
|
9178
9178
|
}
|
|
9179
9179
|
/**
|
|
9180
9180
|
* A constructor for a view that is typed to a specific view type.
|
|
@@ -9219,9 +9219,9 @@ export interface VideoViewConstructor extends TypedViewConstructor<VideoView> {
|
|
|
9219
9219
|
}
|
|
9220
9220
|
/** @public */
|
|
9221
9221
|
export interface ViewEphemeralState {
|
|
9222
|
+
cursor?: EditorRangeOrCaret;
|
|
9222
9223
|
focus: boolean;
|
|
9223
9224
|
focusOnMobile: boolean;
|
|
9224
|
-
cursor?: EditorRangeOrCaret;
|
|
9225
9225
|
}
|
|
9226
9226
|
/** @public */
|
|
9227
9227
|
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",
|