mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-27 10:52:40 +08:00
refactor(native): rename folder name
This commit is contained in:
20
packages/native/index.d.ts
vendored
Normal file
20
packages/native/index.d.ts
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
/* auto-generated by NAPI-RS */
|
||||
|
||||
export class Storage {
|
||||
constructor(path: string);
|
||||
error(): string | null;
|
||||
getBlob(workspaceId: string | undefined | null, id: string): Promise<Buffer>;
|
||||
connect(workspaceId: string, remote: string): Workspace | null;
|
||||
sync(workspaceId: string, remote: string): Workspace;
|
||||
}
|
||||
export class Workspace {
|
||||
constructor(id: string);
|
||||
id(): string;
|
||||
clientId(): number;
|
||||
search(query: string): string;
|
||||
getSearchIndex(): Array<string>;
|
||||
setSearchIndex(fields: Array<string>): boolean;
|
||||
}
|
||||
Reference in New Issue
Block a user