fix(electron): release desktop app workflow (#4594)

This commit is contained in:
LongYinan
2023-10-17 14:15:55 +08:00
committed by GitHub
parent 01987990ee
commit e831f612e8
14 changed files with 96 additions and 39 deletions

View File

@@ -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;