@fi-ts/api 0.4.3 → 0.4.4

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.
@@ -29,11 +29,11 @@ export declare const HealthSchema: GenMessage<Health>;
29
29
  */
30
30
  export type HealthStatus = Message<"fits.api.v1.HealthStatus"> & {
31
31
  /**
32
- * Name is the name of the service
32
+ * Service is the service this health status is reported for
33
33
  *
34
- * @generated from field: fits.api.v1.Service name = 1;
34
+ * @generated from field: fits.api.v1.Service service = 1;
35
35
  */
36
- name: Service;
36
+ service: Service;
37
37
  /**
38
38
  * Status is the status of this service
39
39
  *
@@ -46,44 +46,12 @@ export type HealthStatus = Message<"fits.api.v1.HealthStatus"> & {
46
46
  * @generated from field: string message = 3;
47
47
  */
48
48
  message: string;
49
- /**
50
- * Partitions describes the health of the service by partition
51
- *
52
- * @generated from field: map<string, fits.api.v1.PartitionHealth> partitions = 4;
53
- */
54
- partitions: {
55
- [key: string]: PartitionHealth;
56
- };
57
49
  };
58
50
  /**
59
51
  * Describes the message fits.api.v1.HealthStatus.
60
52
  * Use `create(HealthStatusSchema)` to create a new message.
61
53
  */
62
54
  export declare const HealthStatusSchema: GenMessage<HealthStatus>;
63
- /**
64
- * PartitionHealth represents the status of a specific service in this partition.
65
- *
66
- * @generated from message fits.api.v1.PartitionHealth
67
- */
68
- export type PartitionHealth = Message<"fits.api.v1.PartitionHealth"> & {
69
- /**
70
- * Status is the health status of the service in this partition
71
- *
72
- * @generated from field: fits.api.v1.ServiceStatus status = 1;
73
- */
74
- status: ServiceStatus;
75
- /**
76
- * Message describes the reason for the unhealthy status if possible
77
- *
78
- * @generated from field: string message = 2;
79
- */
80
- message: string;
81
- };
82
- /**
83
- * Describes the message fits.api.v1.PartitionHealth.
84
- * Use `create(PartitionHealthSchema)` to create a new message.
85
- */
86
- export declare const PartitionHealthSchema: GenMessage<PartitionHealth>;
87
55
  /**
88
56
  * HealthServiceGetRequest is the request payload for getting the health of the system.
89
57
  *
@@ -161,11 +129,17 @@ export declare enum Service {
161
129
  */
162
130
  UNSPECIFIED = 0,
163
131
  /**
164
- * SERVICE_K8S the kubernetes service
132
+ * SERVICE_MVM the managed vm service
133
+ *
134
+ * @generated from enum value: SERVICE_MVM = 1;
135
+ */
136
+ MVM = 1,
137
+ /**
138
+ * SERVICE_PCVM the public cloud vm service
165
139
  *
166
- * @generated from enum value: SERVICE_K8S = 1;
140
+ * @generated from enum value: SERVICE_PCVM = 2;
167
141
  */
168
- K8S = 1
142
+ PCVM = 2
169
143
  }
170
144
  /**
171
145
  * Describes the enum fits.api.v1.Service.
@@ -6,7 +6,7 @@ import { file_fits_api_v1_common } from "./common_pb.js";
6
6
  /**
7
7
  * Describes the file fits/api/v1/health.proto.
8
8
  */
9
- export const file_fits_api_v1_health = /*@__PURE__*/ fileDesc("ChhmaXRzL2FwaS92MS9oZWFsdGgucHJvdG8SC2ZpdHMuYXBpLnYxIjUKBkhlYWx0aBIrCghzZXJ2aWNlcxgBIAMoCzIZLmZpdHMuYXBpLnYxLkhlYWx0aFN0YXR1cyL/AQoMSGVhbHRoU3RhdHVzEiIKBG5hbWUYASABKA4yFC5maXRzLmFwaS52MS5TZXJ2aWNlEioKBnN0YXR1cxgCIAEoDjIaLmZpdHMuYXBpLnYxLlNlcnZpY2VTdGF0dXMSDwoHbWVzc2FnZRgDIAEoCRI9CgpwYXJ0aXRpb25zGAQgAygLMikuZml0cy5hcGkudjEuSGVhbHRoU3RhdHVzLlBhcnRpdGlvbnNFbnRyeRpPCg9QYXJ0aXRpb25zRW50cnkSCwoDa2V5GAEgASgJEisKBXZhbHVlGAIgASgLMhwuZml0cy5hcGkudjEuUGFydGl0aW9uSGVhbHRoOgI4ASJOCg9QYXJ0aXRpb25IZWFsdGgSKgoGc3RhdHVzGAEgASgOMhouZml0cy5hcGkudjEuU2VydmljZVN0YXR1cxIPCgdtZXNzYWdlGAIgASgJIhkKF0hlYWx0aFNlcnZpY2VHZXRSZXF1ZXN0Ij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Y2VHZXRSZXF1ZXN0Ij8KGEhlYWx0aFNlcnZpY2VHZXRSZXNwb25zZRIjCgZoZWFsdGgYASABKAsyEy5maXRzLmFwaS52MS5IZWFsdGgqhgEKDVNlcnZpY2VTdGF0dXMSHgoaU0VSVklDRV9TVEFUVVNfVU5TUEVDSUZJRUQQABIbChdTRVJWSUNFX1NUQVRVU19ERUdSQURFRBABEhwKGFNFUlZJQ0VfU1RBVFVTX1VOSEVBTFRIWRACEhoKFlNFUlZJQ0VfU1RBVFVTX0hFQUxUSFkQAypYCgdTZXJ2aWNlEhcKE1NFUlZJQ0VfVU5TUEVDSUZJRUQQABIYCgtTRVJWSUNFX01WTRABGgeCshkDbXZtEhoKDFNFUlZJQ0VfUENWTRACGgiCshkEcGN2bTJtCg1IZWFsdGhTZXJ2aWNlElwKA0dldBIkLmZpdHMuYXBpLnYxLkhlYWx0aFNlcnZpY2VHZXRSZXF1ZXN0GiUuZml0cy5hcGkudjEuSGVhbHRoU2VydmljZUdldFJlc3BvbnNlIgjY8xgB4PMYAkKXAQoPY29tLmZpdHMuYXBpLnYxQgtIZWFsdGhQcm90b1ABWilnaXRodWIuY29tL2ZpLXRzL2FwaS9nby9maXRzL2FwaS92MTthcGl2MaICA0ZBWKoCC0ZpdHMuQXBpLlYxygILRml0c1xBcGlcVjHiAhdGaXRzXEFwaVxWMVxHUEJNZXRhZGF0YeoCDUZpdHM6OkFwaTo6VjFiBnByb3RvMw", [file_fits_api_v1_common]);
10
10
  /**
11
11
  * Describes the message fits.api.v1.Health.
12
12
  * Use `create(HealthSchema)` to create a new message.
@@ -17,21 +17,16 @@ export const HealthSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_health, 0
17
17
  * Use `create(HealthStatusSchema)` to create a new message.
18
18
  */
19
19
  export const HealthStatusSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_health, 1);
20
- /**
21
- * Describes the message fits.api.v1.PartitionHealth.
22
- * Use `create(PartitionHealthSchema)` to create a new message.
23
- */
24
- export const PartitionHealthSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_health, 2);
25
20
  /**
26
21
  * Describes the message fits.api.v1.HealthServiceGetRequest.
27
22
  * Use `create(HealthServiceGetRequestSchema)` to create a new message.
28
23
  */
29
- export const HealthServiceGetRequestSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_health, 3);
24
+ export const HealthServiceGetRequestSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_health, 2);
30
25
  /**
31
26
  * Describes the message fits.api.v1.HealthServiceGetResponse.
32
27
  * Use `create(HealthServiceGetResponseSchema)` to create a new message.
33
28
  */
34
- export const HealthServiceGetResponseSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_health, 4);
29
+ export const HealthServiceGetResponseSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_health, 3);
35
30
  /**
36
31
  * ServiceStatus defines the status of a service.
37
32
  *
@@ -82,11 +77,17 @@ export var Service;
82
77
  */
83
78
  Service[Service["UNSPECIFIED"] = 0] = "UNSPECIFIED";
84
79
  /**
85
- * SERVICE_K8S the kubernetes service
80
+ * SERVICE_MVM the managed vm service
81
+ *
82
+ * @generated from enum value: SERVICE_MVM = 1;
83
+ */
84
+ Service[Service["MVM"] = 1] = "MVM";
85
+ /**
86
+ * SERVICE_PCVM the public cloud vm service
86
87
  *
87
- * @generated from enum value: SERVICE_K8S = 1;
88
+ * @generated from enum value: SERVICE_PCVM = 2;
88
89
  */
89
- Service[Service["K8S"] = 1] = "K8S";
90
+ Service[Service["PCVM"] = 2] = "PCVM";
90
91
  })(Service || (Service = {}));
91
92
  /**
92
93
  * Describes the enum fits.api.v1.Service.
@@ -11,7 +11,7 @@ import type { Message } from "@bufbuild/protobuf";
11
11
  * Describes the file fits/api/v1/health.proto.
12
12
  */
13
13
  export const file_fits_api_v1_health: GenFile = /*@__PURE__*/
14
- fileDesc("ChhmaXRzL2FwaS92MS9oZWFsdGgucHJvdG8SC2ZpdHMuYXBpLnYxIjUKBkhlYWx0aBI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IgjY8xgB4PMYAkKXAQoPY29tLmZpdHMuYXBpLnYxQgtIZWFsdGhQcm90b1ABWilnaXRodWIuY29tL2ZpLXRzL2FwaS9nby9maXRzL2FwaS92MTthcGl2MaICA0ZBWKoCC0ZpdHMuQXBpLlYxygILRml0c1xBcGlcVjHiAhdGaXRzXEFwaVxWMVxHUEJNZXRhZGF0YeoCDUZpdHM6OkFwaTo6VjFiBnByb3RvMw", [file_fits_api_v1_common]);
15
15
 
16
16
  /**
17
17
  * Health reports the health status of all services.
@@ -41,11 +41,11 @@ export const HealthSchema: GenMessage<Health> = /*@__PURE__*/
41
41
  */
42
42
  export type HealthStatus = Message<"fits.api.v1.HealthStatus"> & {
43
43
  /**
44
- * Name is the name of the service
44
+ * Service is the service this health status is reported for
45
45
  *
46
- * @generated from field: fits.api.v1.Service name = 1;
46
+ * @generated from field: fits.api.v1.Service service = 1;
47
47
  */
48
- name: Service;
48
+ service: Service;
49
49
 
50
50
  /**
51
51
  * Status is the status of this service
@@ -60,13 +60,6 @@ export type HealthStatus = Message<"fits.api.v1.HealthStatus"> & {
60
60
  * @generated from field: string message = 3;
61
61
  */
62
62
  message: string;
63
-
64
- /**
65
- * Partitions describes the health of the service by partition
66
- *
67
- * @generated from field: map<string, fits.api.v1.PartitionHealth> partitions = 4;
68
- */
69
- partitions: { [key: string]: PartitionHealth };
70
63
  };
71
64
 
72
65
  /**
@@ -76,34 +69,6 @@ export type HealthStatus = Message<"fits.api.v1.HealthStatus"> & {
76
69
  export const HealthStatusSchema: GenMessage<HealthStatus> = /*@__PURE__*/
77
70
  messageDesc(file_fits_api_v1_health, 1);
78
71
 
79
- /**
80
- * PartitionHealth represents the status of a specific service in this partition.
81
- *
82
- * @generated from message fits.api.v1.PartitionHealth
83
- */
84
- export type PartitionHealth = Message<"fits.api.v1.PartitionHealth"> & {
85
- /**
86
- * Status is the health status of the service in this partition
87
- *
88
- * @generated from field: fits.api.v1.ServiceStatus status = 1;
89
- */
90
- status: ServiceStatus;
91
-
92
- /**
93
- * Message describes the reason for the unhealthy status if possible
94
- *
95
- * @generated from field: string message = 2;
96
- */
97
- message: string;
98
- };
99
-
100
- /**
101
- * Describes the message fits.api.v1.PartitionHealth.
102
- * Use `create(PartitionHealthSchema)` to create a new message.
103
- */
104
- export const PartitionHealthSchema: GenMessage<PartitionHealth> = /*@__PURE__*/
105
- messageDesc(file_fits_api_v1_health, 2);
106
-
107
72
  /**
108
73
  * HealthServiceGetRequest is the request payload for getting the health of the system.
109
74
  *
@@ -117,7 +82,7 @@ export type HealthServiceGetRequest = Message<"fits.api.v1.HealthServiceGetReque
117
82
  * Use `create(HealthServiceGetRequestSchema)` to create a new message.
118
83
  */
119
84
  export const HealthServiceGetRequestSchema: GenMessage<HealthServiceGetRequest> = /*@__PURE__*/
120
- messageDesc(file_fits_api_v1_health, 3);
85
+ messageDesc(file_fits_api_v1_health, 2);
121
86
 
122
87
  /**
123
88
  * HealthServiceGetResponse is the response payload for getting the health of the system.
@@ -138,7 +103,7 @@ export type HealthServiceGetResponse = Message<"fits.api.v1.HealthServiceGetResp
138
103
  * Use `create(HealthServiceGetResponseSchema)` to create a new message.
139
104
  */
140
105
  export const HealthServiceGetResponseSchema: GenMessage<HealthServiceGetResponse> = /*@__PURE__*/
141
- messageDesc(file_fits_api_v1_health, 4);
106
+ messageDesc(file_fits_api_v1_health, 3);
142
107
 
143
108
  /**
144
109
  * ServiceStatus defines the status of a service.
@@ -195,11 +160,18 @@ export enum Service {
195
160
  UNSPECIFIED = 0,
196
161
 
197
162
  /**
198
- * SERVICE_K8S the kubernetes service
163
+ * SERVICE_MVM the managed vm service
164
+ *
165
+ * @generated from enum value: SERVICE_MVM = 1;
166
+ */
167
+ MVM = 1,
168
+
169
+ /**
170
+ * SERVICE_PCVM the public cloud vm service
199
171
  *
200
- * @generated from enum value: SERVICE_K8S = 1;
172
+ * @generated from enum value: SERVICE_PCVM = 2;
201
173
  */
202
- K8S = 1,
174
+ PCVM = 2,
203
175
  }
204
176
 
205
177
  /**
package/package.json CHANGED
@@ -21,5 +21,5 @@
21
21
  "fits",
22
22
  "buf"
23
23
  ],
24
- "version": "0.4.3"
24
+ "version": "0.4.4"
25
25
  }