@univerjs/protocol
Advanced tools
Comparing version 0.1.39-alpha.22 to 0.1.39-alpha.23
@@ -12,3 +12,3 @@ export type { Changeset as IChangeset, Command as ICommand, Mutation as IMutation } from './ts/univer/changeset'; | ||
export { type CellData as ICellData, type CellValue as ICellValue, CellValueType, type RowData as IRowData, type RowData_ItemsEntry as IRowDataItemsEntry, type SheetBlock as ISheetBlock, type SheetBlockMeta as ISheetBlockMeta, type WorkbookMeta as IWorkbookMeta, type WorkbookMeta_BlockMetaEntry as IWorkbookMeta_BlockMetaEntry, type WorkbookMeta_SheetsEntry as IWorkbookMeta_SheetsEntry, type WorksheetMeta as IWorksheetMeta, } from './ts/univer/workbook'; | ||
export { type ApplyRequest as IApplyRequest, type ApplyResponse as IApplyResponse, type CreateUnitRequest as ICreateUnitRequest, type CreateUnitResponse as ICreateUnitResponse, type DirectWriteBody as IDirectWriteBody, type DirectWriteRequest as IDirectWriteRequest, type DirectWriteResponse as IDirectWriteResponse, type DisposeRequest as IDisposeRequest, type DisposeResponse as IDisposeResponse, type EnsureSnapshotRequest as IEnsureSnapshotRequest, type EnsureSnapshotResponse as IEnsureSnapshotResponse, type GetUnitRawContentRequest as IGetUnitRawContentRequest, type GetUnitRawContentResponse as IGetUnitRawContentResponse, type WorkbookCreateMeta as IWorkbookCreateMeta, } from './ts/v1/apply'; | ||
export { type ApplyRequest as IApplyRequest, type ApplyResponse as IApplyResponse, type CreateUnitRequest as ICreateUnitRequest, type CreateUnitResponse as ICreateUnitResponse, type DirectWriteBody as IDirectWriteBody, type DirectWriteRequest as IDirectWriteRequest, type DirectWriteResponse as IDirectWriteResponse, type DisposeRequest as IDisposeRequest, type DisposeResponse as IDisposeResponse, type EnsureSnapshotRequest as IEnsureSnapshotRequest, type EnsureSnapshotResponse as IEnsureSnapshotResponse, type ForkUnitRequest as IForkUnitRequest, type ForkUnitResponse as IForkUnitResponse, type GetUnitRawContentRequest as IGetUnitRawContentRequest, type GetUnitRawContentResponse as IGetUnitRawContentResponse, type WorkbookCreateMeta as IWorkbookCreateMeta, } from './ts/v1/apply'; | ||
export type { ActionInfo as IActionInfo, AllowedRequest as IAllowedRequest, AllowedResponse as IAllowedResponse, AuthzService as IAuthzService, BatchAllowedResponse as IBatchAllowedResponse, Collaborator as ICollaborator, CreateCollaboratorRequest as ICreateCollaboratorRequest, CreateCollaboratorResponse as ICreateCollaboratorResponse, CreateRequest as ICreateRequest, CreateRequest_SelectRangeObject as ICreateRequest_SelectRangeObject, CreateRequest_WorksheetObject as ICreateRequest_WorksheetObject, CreateResponse as ICreateResponse, DeleteCollaboratorRequest as IDeleteCollaboratorRequest, DeleteCollaboratorResponse as IDeleteCollaboratorResponse, ListCollaboratorRequest as IListCollaboratorRequest, ListCollaboratorResponse as IListCollaboratorResponse, ListPermPointRequest as IListPermPointRequest, ListPermPointResponse as IListPermPointResponse, ListRolesRequest as IListRolesRequest, ListRolesResponse as IListRolesResponse, PermissionPoint as IPermissionPoint, PutCollaboratorsRequest as IPutCollaboratorsRequest, PutCollaboratorsResponse as IPutCollaboratorsResponse, UpdateCollaboratorRequest as IUpdateCollaboratorRequest, UpdateCollaboratorResponse as IUpdateCollaboratorResponse, UpdatePermPointRequest as IUpdatePermPointRequest, UpdatePermPointResponse as IUpdatePermPointResponse, } from './ts/v1/authz'; | ||
@@ -19,3 +19,3 @@ export { CmdRspCode, CombCmd, type CombInfoResponse as ICombInfoResponse, type CombJoinInfo as ICombJoinInfo, type CombJoinRequest as ICombJoinRequest, type CombJoinResponse as ICombJoinResponse, type CombJoinResponse_RoomInfo as ICombJoinResponseRoomInfo, type CombJoinResponse_RoomInfosEntry as ICombJoinResponseRoomInfosEntry, type CombLeaveRequest as ICombLeaveRequest, type CombService as ICombService, type ConnectResponse as IConnectResponse, type Member as IMember, type NewChangesRequest as INewChangesRequest, type NewChangesResponse as INewChangesResponse, } from './ts/v1/comb'; | ||
export type { CreateHistoryRequest as ICreateHistoryRequest, CreateHistoryResponse as ICreateHistoryResponse, History as IHistory, HistoryEntities as IHistoryEntities, HistoryListRequest as IHistoryListRequest, HistoryService as IHistoryService, } from './ts/v1/history'; | ||
export { type FetchMissingChangesetsRequest as IFetchMissingChangesetsRequest, type FetchMissingChangesetsResponse as IFetchMissingChangesetsResponse, type GetResourcesRequest as IGetResourcesRequest, type GetResourcesResponse as IGetResourcesResponse, type GetSheetBlockRequest as IGetSheetBlockRequest, type GetSheetBlockResponse as IGetSheetBlockResponse, type GetSnapshotRequest as IGetSnapshotRequest, type GetSnapshotResponse as IGetSnapshotResponse, type GetUnitOnRevRequest as IGetUnitOnRevRequest, type GetUnitOnRevResponse as IGetUnitOnRevResponse, type SaveChangesetRequest as ISaveChangesetRequest, type SaveChangesetResponse as ISaveChangesetResponse, type SaveSheetBlockRequest as ISaveSheetBlockRequest, type SaveSheetBlockResponse as ISaveSheetBlockResponse, type SaveSnapshotRequest as ISaveSnapshotRequest, type SaveSnapshotResponse as ISaveSnapshotResponse, type SnapshotService as ISnapshotService, type UpdateUnitRequest as IUpdateUnitRequest, type UpdateUnitResponse as IUpdateUnitResponse, } from './ts/v1/snapshot'; | ||
export { type CopyFileMetaRequest as ICopyFileMetaRequest, type CopyFileMetaResponse as ICopyFileMetaResponse, type FetchMissingChangesetsRequest as IFetchMissingChangesetsRequest, type FetchMissingChangesetsResponse as IFetchMissingChangesetsResponse, type GetResourcesRequest as IGetResourcesRequest, type GetResourcesResponse as IGetResourcesResponse, type GetSheetBlockRequest as IGetSheetBlockRequest, type GetSheetBlockResponse as IGetSheetBlockResponse, type GetSnapshotRequest as IGetSnapshotRequest, type GetSnapshotResponse as IGetSnapshotResponse, type GetUnitOnRevRequest as IGetUnitOnRevRequest, type GetUnitOnRevResponse as IGetUnitOnRevResponse, type SaveChangesetRequest as ISaveChangesetRequest, type SaveChangesetResponse as ISaveChangesetResponse, type SaveSheetBlockRequest as ISaveSheetBlockRequest, type SaveSheetBlockResponse as ISaveSheetBlockResponse, type SaveSnapshotRequest as ISaveSnapshotRequest, type SaveSnapshotResponse as ISaveSnapshotResponse, type SnapshotService as ISnapshotService, type UpdateUnitRequest as IUpdateUnitRequest, type UpdateUnitResponse as IUpdateUnitResponse, } from './ts/v1/snapshot'; | ||
export type { GetSSRRequest as IGetSSRRequest, GetSSRResponse as IGetSSRResponse, SSRService as ISSRService, } from './ts/v1/ssr'; | ||
@@ -25,2 +25,3 @@ export type { GetUserRequest as IGetUserRequest, GetUserResponse as IGetUserResponse, ListUsersResponse as IListUsersResponse, User as IUser } from './ts/v1/user'; | ||
export type { RangeCompletionRequest as IRangeCompletionRequest, RangeCompletionResponse as IRangeCompletionResponse, UrlContext as IUrlContext, UrlRowContext as IUrlRowContext, YuumiService as IYuumiService, } from './ts/yuumi/v1/yuumi'; | ||
export type { GetDeserializedSheetBlockResponse as IGetDeserializedSheetBlockResponse, DeserializedSheetBlock as IDeserializedSheetBlock } from './other/sheet_block'; | ||
export { isError } from './utils'; |
@@ -10,2 +10,11 @@ import { Metadata } from '@grpc/grpc-js'; | ||
export declare const protobufPackage = "univerpro.v1"; | ||
export interface ForkUnitRequest { | ||
sourceUnitId: string; | ||
targetUnitId: string; | ||
type: UniverType; | ||
} | ||
export interface ForkUnitResponse { | ||
error: Error | undefined; | ||
snapshot: Snapshot | undefined; | ||
} | ||
export interface GetUnitRawContentRequest { | ||
@@ -128,2 +137,3 @@ unitID: string; | ||
GetUnitRawContent(request: GetUnitRawContentRequest, metadata?: Metadata): Observable<GetUnitRawContentResponse>; | ||
ForkUnit(request: ForkUnitRequest, metadata?: Metadata): Observable<ForkUnitResponse>; | ||
} |
@@ -13,2 +13,17 @@ import { Metadata } from '@grpc/grpc-js'; | ||
export declare const protobufPackage = "universer.v1"; | ||
export interface ForkUnitRequest { | ||
unitId: string; | ||
type: UniverType; | ||
} | ||
export interface ForkUnitResponse { | ||
error: Error | undefined; | ||
unitId: string; | ||
} | ||
export interface CopyFileMetaRequest { | ||
fileMetaId: string; | ||
} | ||
export interface CopyFileMetaResponse { | ||
error: Error | undefined; | ||
fileMetaId: string; | ||
} | ||
export interface DirectWriteRequest { | ||
@@ -178,2 +193,4 @@ unitID: string; | ||
DirectWrite(request: DirectWriteRequest, metadata?: Metadata): Observable<DirectWriteResponse>; | ||
CopyFileMeta(request: CopyFileMetaRequest, metadata?: Metadata): Observable<CopyFileMetaResponse>; | ||
ForkUnit(request: ForkUnitRequest, metadata?: Metadata): Observable<ForkUnitResponse>; | ||
} |
{ | ||
"name": "@univerjs/protocol", | ||
"version": "0.1.39-alpha.22", | ||
"version": "0.1.39-alpha.23", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "description": "A protocol of Univer repos", |
68683
1516