mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 13:25:12 +00:00
fix(electron): release desktop app workflow (#4594)
This commit is contained in:
28
packages/storage/index.d.ts
vendored
28
packages/storage/index.d.ts
vendored
@@ -1,6 +1,19 @@
|
||||
/* auto-generated by NAPI-RS */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
/* auto-generated by NAPI-RS */
|
||||
|
||||
export interface Blob {
|
||||
contentType: string;
|
||||
lastModified: string;
|
||||
size: number;
|
||||
data: Buffer;
|
||||
}
|
||||
/**
|
||||
* Merge updates in form like `Y.applyUpdate(doc, update)` way and return the
|
||||
* result binary.
|
||||
*/
|
||||
export function mergeUpdatesInApplyWay(updates: Array<Buffer>): Buffer;
|
||||
export class Storage {
|
||||
/** Create a storage instance and establish connection to persist store. */
|
||||
static connect(
|
||||
@@ -18,16 +31,3 @@ export class Storage {
|
||||
/** Workspace size taken by blobs. */
|
||||
blobsSize(workspaces: Array<string>): Promise<number>;
|
||||
}
|
||||
|
||||
export interface Blob {
|
||||
contentType: string;
|
||||
lastModified: string;
|
||||
size: number;
|
||||
data: Buffer;
|
||||
}
|
||||
|
||||
/**
|
||||
* Merge updates in form like `Y.applyUpdate(doc, update)` way and return the
|
||||
* result binary.
|
||||
*/
|
||||
export function mergeUpdatesInApplyWay(updates: Array<Buffer>): Buffer;
|
||||
|
||||
Reference in New Issue
Block a user