obsidian-typings 3.0.0 → 3.1.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/types.d.cts +11 -11
- package/package.json +1 -1
package/dist/cjs/types.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Generated by dts-bundle-generator v9.5.1
|
|
2
2
|
|
|
3
|
-
import type { Capacitor
|
|
3
|
+
import type { Capacitor, CapacitorPlatforms } from '@capacitor/core';
|
|
4
4
|
import type { SearchQuery } from '@codemirror/search';
|
|
5
5
|
import type { ChangeDesc, Extension, StateField } from '@codemirror/state';
|
|
6
6
|
import type { EditorView, ViewPlugin, ViewUpdate } from '@codemirror/view';
|
|
@@ -15,7 +15,7 @@ import * as fs from 'node:fs';
|
|
|
15
15
|
import type { FSWatcher, Stats } from 'node:fs';
|
|
16
16
|
import * as fsPromises from 'node:fs/promises';
|
|
17
17
|
import * as path from 'node:path';
|
|
18
|
-
import type { App, BlockCache, CacheItem, CachedMetadata, CloseableComponent, ColorComponent, Command, Component, Constructor, DataAdapter, Debouncer, EditableFileView, Editor, EditorPosition, EditorRange, EditorRangeOrCaret, EditorSuggest, EmbedCache, EventRef, Events, FileManager, FileStats, FileView, FrontmatterLinkCache, FuzzySuggestModal, HoverLinkSource, HoverPopover, IconName, ItemView, Keymap, KeymapInfo, LinkCache, MarkdownEditView, MarkdownFileInfo, MarkdownPostProcessorContext, MarkdownPreviewView, MarkdownView, Menu, Modal, Notice
|
|
18
|
+
import type { App, BlockCache, CacheItem, CachedMetadata, CloseableComponent, ColorComponent, Command, Component, Constructor, DataAdapter, Debouncer, EditableFileView, Editor, EditorPosition, EditorRange, EditorRangeOrCaret, EditorSuggest, EmbedCache, EventRef, Events, FileManager, FileStats, FileView, FrontmatterLinkCache, FuzzySuggestModal, HoverLinkSource, HoverPopover, IconName, ItemView, Keymap, KeymapInfo, LinkCache, MarkdownEditView, MarkdownFileInfo, MarkdownPostProcessorContext, MarkdownPreviewView, MarkdownView, Menu, Modal, Notice, ObsidianProtocolHandler, PaneType, Platform, Plugin as Plugin, PluginManifest, PluginSettingTab, Reference, ReferenceCache, Scope, SearchComponent, SearchResult, Setting, SettingTab, SplitDirection, TAbstractFile, TFile, TFolder, TextComponent, TextFileView, Vault, View, ViewCreator, ViewState, Workspace, WorkspaceLeaf, WorkspaceTabs, request, requestUrl } from 'obsidian';
|
|
19
19
|
import type { default as pdfjsLib } from 'pdfjs-dist';
|
|
20
20
|
import type { Application, Container, Graphics, ICanvas, Text as Text$1, TextStyle, default as PIXI } from 'pixi.js';
|
|
21
21
|
import type { default as Prism$1 } from 'prismjs';
|
|
@@ -1214,12 +1214,12 @@ declare global {
|
|
|
1214
1214
|
* @todo Documentation incomplete.
|
|
1215
1215
|
* @unofficial
|
|
1216
1216
|
*/
|
|
1217
|
-
Capacitor: typeof
|
|
1217
|
+
Capacitor: typeof Capacitor;
|
|
1218
1218
|
/**
|
|
1219
1219
|
* @todo Documentation incomplete.
|
|
1220
1220
|
* @unofficial
|
|
1221
1221
|
*/
|
|
1222
|
-
CapacitorPlatforms: typeof
|
|
1222
|
+
CapacitorPlatforms: typeof CapacitorPlatforms;
|
|
1223
1223
|
/**
|
|
1224
1224
|
* @todo Documentation incomplete.
|
|
1225
1225
|
* @unofficial
|
|
@@ -1300,7 +1300,7 @@ declare global {
|
|
|
1300
1300
|
*
|
|
1301
1301
|
* @unofficial
|
|
1302
1302
|
*/
|
|
1303
|
-
Notice: typeof
|
|
1303
|
+
Notice: typeof Notice;
|
|
1304
1304
|
/**
|
|
1305
1305
|
* Invoke obsidian protocol action.
|
|
1306
1306
|
*
|
|
@@ -1338,13 +1338,13 @@ declare global {
|
|
|
1338
1338
|
* Returns the text value of the response.
|
|
1339
1339
|
* @unofficial
|
|
1340
1340
|
*/
|
|
1341
|
-
request: typeof
|
|
1341
|
+
request: typeof request;
|
|
1342
1342
|
/**
|
|
1343
1343
|
* Similar to `fetch()`, request a URL using HTTP/HTTPS, without any CORS restrictions.
|
|
1344
1344
|
*
|
|
1345
1345
|
* @unofficial
|
|
1346
1346
|
*/
|
|
1347
|
-
requestUrl: typeof
|
|
1347
|
+
requestUrl: typeof requestUrl;
|
|
1348
1348
|
/**
|
|
1349
1349
|
* @todo Documentation incomplete.
|
|
1350
1350
|
* @unofficial
|
|
@@ -7919,7 +7919,7 @@ declare module "obsidian" {
|
|
|
7919
7919
|
*
|
|
7920
7920
|
* @official
|
|
7921
7921
|
*/
|
|
7922
|
-
function
|
|
7922
|
+
function request(request: RequestUrlParam | string): Promise<string>;
|
|
7923
7923
|
/**
|
|
7924
7924
|
* Similar to {@link fetch}, request a URL using HTTP/HTTPS, without any CORS restrictions.
|
|
7925
7925
|
*
|
|
@@ -7938,7 +7938,7 @@ declare module "obsidian" {
|
|
|
7938
7938
|
*
|
|
7939
7939
|
* @official
|
|
7940
7940
|
*/
|
|
7941
|
-
function
|
|
7941
|
+
function requestUrl(request: RequestUrlParam | string): RequestUrlResponsePromise;
|
|
7942
7942
|
/**
|
|
7943
7943
|
* Returns `true` if the API version is equal or higher than the requested version.
|
|
7944
7944
|
* Use this to limit functionality that require specific API versions to avoid
|
|
@@ -11372,7 +11372,7 @@ declare module "obsidian" {
|
|
|
11372
11372
|
/**
|
|
11373
11373
|
* Notification component. Use to present timely, high-value information.
|
|
11374
11374
|
*/
|
|
11375
|
-
interface
|
|
11375
|
+
interface Notice {
|
|
11376
11376
|
/**
|
|
11377
11377
|
* The container HTML element for the notice.
|
|
11378
11378
|
*
|
|
@@ -13816,7 +13816,7 @@ declare module "obsidian" {
|
|
|
13816
13816
|
* @official
|
|
13817
13817
|
* @deprecated - Added only for typing purposes. Use {@link moment} instead.
|
|
13818
13818
|
*/
|
|
13819
|
-
const moment__: typeof
|
|
13819
|
+
const moment__: typeof moment;
|
|
13820
13820
|
/**
|
|
13821
13821
|
* Information about the current platform.
|
|
13822
13822
|
*
|