mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-28 01:44:07 +01:00
This commit is contained in:
parent
f85b5d6740
commit
11adc35e10
13 changed files with 136 additions and 64 deletions
24
app/src/types/index.d.ts
vendored
24
app/src/types/index.d.ts
vendored
|
|
@ -50,6 +50,7 @@ interface Window {
|
|||
|
||||
newWindow: {
|
||||
positionPDF(pathStr: string, page: string | number): void
|
||||
switchTabById(id: string): void
|
||||
}
|
||||
|
||||
Protyle: import("../protyle/method").default
|
||||
|
|
@ -271,6 +272,29 @@ interface IObject {
|
|||
[key: string]: string;
|
||||
}
|
||||
|
||||
declare interface ILayoutJSON extends ILayoutOptions {
|
||||
instance?: string,
|
||||
width?: string,
|
||||
height?: string,
|
||||
title?: string,
|
||||
lang?: string
|
||||
docIcon?: string
|
||||
page?: string
|
||||
path?: string
|
||||
blockId?: string
|
||||
icon?: string
|
||||
rootId?: string
|
||||
active?: boolean
|
||||
pin?: boolean
|
||||
data?: {
|
||||
cardType: TCardType,
|
||||
id: string,
|
||||
title?: string
|
||||
}
|
||||
config?: ISearchOption
|
||||
children?: ILayoutJSON[] | ILayoutJSON
|
||||
}
|
||||
|
||||
declare interface IDockTab {
|
||||
type: TDockType;
|
||||
size: { width: number, height: number }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue