siyuan 1.1.9 → 1.2.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/CHANGELOG.md +5 -1
- package/package.json +1 -1
- package/siyuan.d.ts +3 -1
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
package/siyuan.d.ts
CHANGED
|
@@ -36,6 +36,8 @@ declare global {
|
|
|
36
36
|
|
|
37
37
|
export type TDock = "file" | "outline" | "inbox" | "bookmark" | "tag" | "graph" | "globalGraph" | "backlink"
|
|
38
38
|
|
|
39
|
+
export type TTab = "Outline" | "Graph" | "Backlink" | "Asset" | "Editor" | "Search" | "siyuan-card"
|
|
40
|
+
|
|
39
41
|
export type TCardType = "doc" | "notebook" | "all"
|
|
40
42
|
|
|
41
43
|
export type TEventBus = keyof IEventBusMap
|
|
@@ -371,7 +373,7 @@ export function exitSiYuan(): void
|
|
|
371
373
|
|
|
372
374
|
export function getAllEditor(): Protyle[]
|
|
373
375
|
|
|
374
|
-
export function getAllTabs(): Tab[]
|
|
376
|
+
export function getAllTabs(type?: TTab | string): Tab[]
|
|
375
377
|
|
|
376
378
|
export function getAllModels(): {
|
|
377
379
|
editor: [],
|