feat(interfaces): add desired state, backup replication, and cluster update request fields
This commit is contained in:
@@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@serve.zone/interfaces',
|
||||
version: '5.4.3',
|
||||
version: '5.6.0',
|
||||
description: 'Shared TypeScript interfaces and TypedRequest contracts for the serve.zone ecosystem.'
|
||||
}
|
||||
|
||||
@@ -134,6 +134,7 @@ export interface IBaseOsRegisterResult {
|
||||
nodeToken?: string;
|
||||
accepted: boolean;
|
||||
message?: string;
|
||||
desiredState?: IBaseOsDesiredState;
|
||||
}
|
||||
|
||||
export interface IBaseOsHeartbeatResult {
|
||||
|
||||
@@ -20,6 +20,7 @@ extends plugins.typedrequestInterfaces.implementsTR<
|
||||
serviceId: string;
|
||||
clusterId?: string;
|
||||
tags?: Record<string, string>;
|
||||
replicate?: boolean;
|
||||
};
|
||||
response: {
|
||||
backup: IBackupRecord;
|
||||
|
||||
@@ -58,6 +58,7 @@ export interface IReq_Any_Cloudly_UpdateCluster extends plugins.typedrequestInte
|
||||
method: 'updateCluster';
|
||||
request: {
|
||||
identity: userInterfaces.IIdentity;
|
||||
clusterId: string;
|
||||
clusterData: clusterInterfaces.ICluster['data'];
|
||||
};
|
||||
response: {
|
||||
|
||||
Reference in New Issue
Block a user