refactor(native): rename folder name

This commit is contained in:
LongYinan
2023-05-09 18:05:52 +08:00
parent 268636c440
commit ee1e50f391
13 changed files with 3 additions and 3 deletions

20
packages/native/index.d.ts vendored Normal file
View 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;
}