@serve.zone/interfaces 4.5.4 → 4.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4,8 +4,8 @@ import * as plugins from '../plugins.js';
|
|
|
4
4
|
/**
|
|
5
5
|
* get all clusters
|
|
6
6
|
*/
|
|
7
|
-
export interface
|
|
8
|
-
method: '
|
|
7
|
+
export interface IReq_Any_Cloudly_GetClusters extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_Any_Cloudly_GetClusters> {
|
|
8
|
+
method: 'getClusters';
|
|
9
9
|
request: {
|
|
10
10
|
identity: userInterfaces.IIdentity;
|
|
11
11
|
};
|
|
@@ -13,6 +13,16 @@ export interface IRequest_GetAllClusters extends plugins.typedrequestInterfaces.
|
|
|
13
13
|
clusters: clusterInterfaces.ICluster[];
|
|
14
14
|
};
|
|
15
15
|
}
|
|
16
|
+
export interface IReq_Any_Cloudly_GetClusterById extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_Any_Cloudly_GetClusterById> {
|
|
17
|
+
method: 'getClusterById';
|
|
18
|
+
request: {
|
|
19
|
+
identity: userInterfaces.IIdentity;
|
|
20
|
+
clusterId: string;
|
|
21
|
+
};
|
|
22
|
+
response: {
|
|
23
|
+
cluster: clusterInterfaces.ICluster;
|
|
24
|
+
};
|
|
25
|
+
}
|
|
16
26
|
export interface IRequest_CreateCluster extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IRequest_CreateCluster> {
|
|
17
27
|
method: 'createCluster';
|
|
18
28
|
request: {
|
|
@@ -20,32 +30,32 @@ export interface IRequest_CreateCluster extends plugins.typedrequestInterfaces.i
|
|
|
20
30
|
clusterName: string;
|
|
21
31
|
};
|
|
22
32
|
response: {
|
|
23
|
-
|
|
33
|
+
cluster: clusterInterfaces.ICluster;
|
|
24
34
|
};
|
|
25
35
|
}
|
|
26
36
|
/**
|
|
27
37
|
* updates a cluster
|
|
28
38
|
*/
|
|
29
|
-
export interface
|
|
39
|
+
export interface IReq_Any_Cloudly_UpdateCluster extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_Any_Cloudly_UpdateCluster> {
|
|
30
40
|
method: 'updateCluster';
|
|
31
41
|
request: {
|
|
32
42
|
identity: userInterfaces.IIdentity;
|
|
33
|
-
|
|
43
|
+
clusterData: clusterInterfaces.ICluster['data'];
|
|
34
44
|
};
|
|
35
45
|
response: {
|
|
36
|
-
|
|
46
|
+
resultCluster: clusterInterfaces.ICluster;
|
|
37
47
|
};
|
|
38
48
|
}
|
|
39
49
|
/**
|
|
40
50
|
* deletes a cluster
|
|
41
51
|
*/
|
|
42
|
-
export interface
|
|
43
|
-
method: '
|
|
52
|
+
export interface IReq_Any_Cloudly_DeleteClusterById extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_Any_Cloudly_DeleteClusterById> {
|
|
53
|
+
method: 'deleteClusterById';
|
|
44
54
|
request: {
|
|
45
55
|
identity: userInterfaces.IIdentity;
|
|
46
56
|
clusterId: string;
|
|
47
57
|
};
|
|
48
58
|
response: {
|
|
49
|
-
|
|
59
|
+
ok: boolean;
|
|
50
60
|
};
|
|
51
61
|
}
|
package/package.json
CHANGED
|
@@ -5,11 +5,11 @@ import * as plugins from '../plugins.js';
|
|
|
5
5
|
/**
|
|
6
6
|
* get all clusters
|
|
7
7
|
*/
|
|
8
|
-
export interface
|
|
8
|
+
export interface IReq_Any_Cloudly_GetClusters extends plugins.typedrequestInterfaces.implementsTR<
|
|
9
9
|
plugins.typedrequestInterfaces.ITypedRequest,
|
|
10
|
-
|
|
10
|
+
IReq_Any_Cloudly_GetClusters
|
|
11
11
|
> {
|
|
12
|
-
method: '
|
|
12
|
+
method: 'getClusters';
|
|
13
13
|
request: {
|
|
14
14
|
identity: userInterfaces.IIdentity;
|
|
15
15
|
};
|
|
@@ -18,6 +18,21 @@ export interface IRequest_GetAllClusters extends plugins.typedrequestInterfaces.
|
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
+
export interface IReq_Any_Cloudly_GetClusterById
|
|
22
|
+
extends plugins.typedrequestInterfaces.implementsTR<
|
|
23
|
+
plugins.typedrequestInterfaces.ITypedRequest,
|
|
24
|
+
IReq_Any_Cloudly_GetClusterById
|
|
25
|
+
> {
|
|
26
|
+
method: 'getClusterById';
|
|
27
|
+
request: {
|
|
28
|
+
identity: userInterfaces.IIdentity;
|
|
29
|
+
clusterId: string;
|
|
30
|
+
};
|
|
31
|
+
response: {
|
|
32
|
+
cluster: clusterInterfaces.ICluster;
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
21
36
|
export interface IRequest_CreateCluster extends plugins.typedrequestInterfaces.implementsTR<
|
|
22
37
|
plugins.typedrequestInterfaces.ITypedRequest,
|
|
23
38
|
IRequest_CreateCluster
|
|
@@ -28,40 +43,40 @@ export interface IRequest_CreateCluster extends plugins.typedrequestInterfaces.i
|
|
|
28
43
|
clusterName: string;
|
|
29
44
|
};
|
|
30
45
|
response: {
|
|
31
|
-
|
|
46
|
+
cluster: clusterInterfaces.ICluster;
|
|
32
47
|
};
|
|
33
48
|
}
|
|
34
49
|
|
|
35
50
|
/**
|
|
36
51
|
* updates a cluster
|
|
37
52
|
*/
|
|
38
|
-
export interface
|
|
53
|
+
export interface IReq_Any_Cloudly_UpdateCluster extends plugins.typedrequestInterfaces.implementsTR<
|
|
39
54
|
plugins.typedrequestInterfaces.ITypedRequest,
|
|
40
|
-
|
|
55
|
+
IReq_Any_Cloudly_UpdateCluster
|
|
41
56
|
> {
|
|
42
57
|
method: 'updateCluster';
|
|
43
58
|
request: {
|
|
44
59
|
identity: userInterfaces.IIdentity;
|
|
45
|
-
|
|
60
|
+
clusterData: clusterInterfaces.ICluster['data'];
|
|
46
61
|
};
|
|
47
62
|
response: {
|
|
48
|
-
|
|
63
|
+
resultCluster: clusterInterfaces.ICluster;
|
|
49
64
|
};
|
|
50
65
|
}
|
|
51
66
|
|
|
52
67
|
/**
|
|
53
68
|
* deletes a cluster
|
|
54
69
|
*/
|
|
55
|
-
export interface
|
|
70
|
+
export interface IReq_Any_Cloudly_DeleteClusterById extends plugins.typedrequestInterfaces.implementsTR<
|
|
56
71
|
plugins.typedrequestInterfaces.ITypedRequest,
|
|
57
|
-
|
|
72
|
+
IReq_Any_Cloudly_DeleteClusterById
|
|
58
73
|
> {
|
|
59
|
-
method: '
|
|
74
|
+
method: 'deleteClusterById';
|
|
60
75
|
request: {
|
|
61
76
|
identity: userInterfaces.IIdentity;
|
|
62
77
|
clusterId: string;
|
|
63
78
|
};
|
|
64
79
|
response: {
|
|
65
|
-
|
|
80
|
+
ok: boolean;
|
|
66
81
|
};
|
|
67
82
|
}
|