@univerjs-pro/collaboration-client v0.5.0-beta.1 • Docs
Class: SnapshotServerOverHTTPService
Implements
Constructors
new SnapshotServerOverHTTPService()
new SnapshotServerOverHTTPService(_configService, _httpService): SnapshotServerOverHTTPService
Parameters
Parameter | Type |
---|---|
_configService | IConfigService |
_httpService | HTTPService |
Returns
Defined in
packages/collaboration-client/src/services/snapshot-server/snapshot-server.service.ts:27
Methods
copyFileMeta()
copyFileMeta(): Promise<CopyFileMetaResponse>
Returns
Promise
<CopyFileMetaResponse
>
Implementation of
ISnapshotServerService
.copyFileMeta
Defined in
packages/collaboration-client/src/services/snapshot-server/snapshot-server.service.ts:121
fetchMissingChangesets()
fetchMissingChangesets(_context, params): Promise<FetchMissingChangesetsResponse>
Fetch missing changeset
Parameters
Parameter | Type |
---|---|
_context | ILogContext |
params | FetchMissingChangesetsRequest |
Returns
Promise
<FetchMissingChangesetsResponse
>
Implementation of
ISnapshotServerService
.fetchMissingChangesets
Defined in
packages/collaboration-client/src/services/snapshot-server/snapshot-server.service.ts:76
getDeserializedSheetBlock()
getDeserializedSheetBlock(_context, params): Promise<GetDeserializedSheetBlockResponse>
Parameters
Parameter | Type |
---|---|
_context | ILogContext |
params | GetSheetBlockRequest |
Returns
Promise
<GetDeserializedSheetBlockResponse
>
Implementation of
ISnapshotServerService
.getDeserializedSheetBlock
Defined in
packages/collaboration-client/src/services/snapshot-server/snapshot-server.service.ts:68
getLatestCsReqIdBySid()
getLatestCsReqIdBySid(): Promise<GetLatestCsReqIdBySidResponse>
Returns
Promise
<GetLatestCsReqIdBySidResponse
>
Implementation of
ISnapshotServerService
.getLatestCsReqIdBySid
Defined in
packages/collaboration-client/src/services/snapshot-server/snapshot-server.service.ts:125
getResourcesRequest()
getResourcesRequest(_context, params): Promise<GetResourcesResponse>
Parameters
Parameter | Type |
---|---|
_context | ILogContext |
params | GetResourcesRequest |
Returns
Promise
<GetResourcesResponse
>
Implementation of
ISnapshotServerService
.getResourcesRequest
Defined in
packages/collaboration-client/src/services/snapshot-server/snapshot-server.service.ts:100
getSheetBlock()
getSheetBlock(_context, params): Promise<GetSheetBlockResponse>
Load sheet block from a database.
Parameters
Parameter | Type |
---|---|
_context | ILogContext |
params | GetSheetBlockRequest |
Returns
Promise
<GetSheetBlockResponse
>
Implementation of
ISnapshotServerService
.getSheetBlock
Defined in
packages/collaboration-client/src/services/snapshot-server/snapshot-server.service.ts:60
getUnitOnRev()
getUnitOnRev(_context, params): Promise<GetUnitOnRevResponse>
Load snapshot from a database.
Parameters
Parameter | Type |
---|---|
_context | ILogContext |
params | GetUnitOnRevRequest |
Returns
Promise
<GetUnitOnRevResponse
>
Implementation of
ISnapshotServerService
.getUnitOnRev
Defined in
packages/collaboration-client/src/services/snapshot-server/snapshot-server.service.ts:32
saveChangeset()
saveChangeset(): Promise<SaveChangesetResponse>
Save changeset to a database.
Returns
Promise
<SaveChangesetResponse
>
Implementation of
ISnapshotServerService
.saveChangeset
Defined in
packages/collaboration-client/src/services/snapshot-server/snapshot-server.service.ts:117
saveSheetBlock()
saveSheetBlock(): Promise<SaveSheetBlockResponse>
Save sheet block to a database.
Returns
Promise
<SaveSheetBlockResponse
>
Implementation of
ISnapshotServerService
.saveSheetBlock
Defined in
packages/collaboration-client/src/services/snapshot-server/snapshot-server.service.ts:113
saveSnapshot()
saveSnapshot(): Promise<SaveSnapshotResponse>
Save snapshot to a database.
Returns
Promise
<SaveSnapshotResponse
>
Implementation of
ISnapshotServerService
.saveSnapshot
Defined in
packages/collaboration-client/src/services/snapshot-server/snapshot-server.service.ts:109