Update index.d.ts, fix ial type

This commit is contained in:
Frostime 2023-07-08 15:45:26 +08:00 committed by GitHub
parent f0ef27efab
commit 519bece35b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,7 +50,10 @@ type Block = {
length: number;
type: BlockType;
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;
created: string;
updated: string;
@ -63,4 +66,4 @@ type doOperation = {
parentID: BlockId | DocumentId;
previousID: BlockId;
retData: null;
}
}