Merge pull request #18 from siyuan-note/frostime-patch-3

Update index.d.ts, fix ial type
This commit is contained in:
Frostime 2023-07-08 15:47:17 +08:00 committed by GitHub
commit 77e337b9f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,7 +50,10 @@ type Block = {
length: number; length: number;
type: BlockType; type: BlockType;
subtype: BlockSubType; subtype: BlockSubType;
ial?: { [key: string]: string }; /** string of { [key: string]: string }
* For instance: "{: custom-type=\"query-code\" id=\"20230613234017-zkw3pr0\" updated=\"20230613234509\"}"
*/
ial?: string;
sort: number; sort: number;
created: string; created: string;
updated: string; updated: string;
@ -63,4 +66,4 @@ type doOperation = {
parentID: BlockId | DocumentId; parentID: BlockId | DocumentId;
previousID: BlockId; previousID: BlockId;
retData: null; retData: null;
} }