@daocloud-proto/skoala 0.3.3 → 0.4.1-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.
Files changed (44) hide show
  1. package/api/general/v1alpha1/skoala.pb.ts +34 -7
  2. package/api/hosted/v1alpha1/api.pb.ts +260 -0
  3. package/api/hosted/v1alpha1/gateway.pb.ts +112 -66
  4. package/api/hosted/v1alpha1/nacos.pb.ts +104 -2
  5. package/api/hosted/v1alpha1/sentinel.pb.ts +52 -10
  6. package/api/integrated/v1alpha1/insight.pb.ts +39 -4
  7. package/api/integrated/v1alpha1/instance.pb.ts +31 -19
  8. package/api/integrated/v1alpha1/registry.pb.ts +8 -5
  9. package/api/integrated/v1alpha1/service.pb.ts +8 -11
  10. package/api/skoala/v1alpha1/book.pb.ts +2 -2
  11. package/api/skoala/v1alpha1/skoala.pb.ts +45 -20
  12. package/feature_gate/v1alpha1/feature_gate.pb.ts +27 -0
  13. package/fetch.pb.ts +109 -0
  14. package/github.com/mwitkow/go-proto-validators/validator.pb.ts +29 -0
  15. package/google/api/annotations.pb.ts +1 -0
  16. package/google/api/http.pb.ts +34 -0
  17. package/google/protobuf/any.pb.ts +9 -0
  18. package/google/protobuf/api.pb.ts +32 -0
  19. package/google/protobuf/descriptor.pb.ts +262 -0
  20. package/google/protobuf/duration.pb.ts +9 -0
  21. package/google/protobuf/empty.pb.ts +7 -0
  22. package/google/protobuf/field_mask.pb.ts +8 -0
  23. package/google/protobuf/struct.pb.ts +33 -0
  24. package/google/protobuf/timestamp.pb.ts +9 -0
  25. package/google/protobuf/type.pb.ts +83 -0
  26. package/google/protobuf/wrappers.pb.ts +40 -0
  27. package/google/rpc/status.pb.ts +12 -0
  28. package/insight/v1alpha1/alert.pb.ts +291 -0
  29. package/insight/v1alpha1/notify.pb.ts +84 -0
  30. package/log/v1alpha1/log.pb.ts +113 -0
  31. package/metric/v1alpha1/metric.pb.ts +98 -0
  32. package/package.json +1 -1
  33. package/resource/v1alpha1/cluster.pb.ts +101 -0
  34. package/resource/v1alpha1/job.pb.ts +93 -0
  35. package/resource/v1alpha1/node.pb.ts +62 -0
  36. package/resource/v1alpha1/pod.pb.ts +82 -0
  37. package/resource/v1alpha1/service.pb.ts +61 -0
  38. package/resource/v1alpha1/type.pb.ts +9 -0
  39. package/resource/v1alpha1/workload.pb.ts +69 -0
  40. package/span_metric/v1alpha1/openmetrics.pb.ts +130 -0
  41. package/span_metric/v1alpha1/otelspankind.pb.ts +14 -0
  42. package/span_metric/v1alpha1/span_metric.pb.ts +100 -0
  43. package/type/v1alpha1/page.pb.ts +11 -0
  44. package/validate/validate.pb.ts +266 -0
@@ -0,0 +1,29 @@
1
+ /* eslint-disable */
2
+ // @ts-nocheck
3
+ /*
4
+ * This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
5
+ */
6
+ export type FieldValidator = {
7
+ regex?: string
8
+ intGt?: string
9
+ intLt?: string
10
+ msgExists?: boolean
11
+ humanError?: string
12
+ floatGt?: number
13
+ floatLt?: number
14
+ floatEpsilon?: number
15
+ floatGte?: number
16
+ floatLte?: number
17
+ stringNotEmpty?: boolean
18
+ repeatedCountMin?: string
19
+ repeatedCountMax?: string
20
+ lengthGt?: string
21
+ lengthLt?: string
22
+ lengthEq?: string
23
+ isInEnum?: boolean
24
+ uuidVer?: number
25
+ }
26
+
27
+ export type OneofValidator = {
28
+ required?: boolean
29
+ }
@@ -0,0 +1 @@
1
+ export default {}
@@ -0,0 +1,34 @@
1
+ /* eslint-disable */
2
+ // @ts-nocheck
3
+ /*
4
+ * This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
5
+ */
6
+
7
+ type Absent<T, K extends keyof T> = { [k in Exclude<keyof T, K>]?: undefined };
8
+ type OneOf<T> =
9
+ | { [k in keyof T]?: undefined }
10
+ | (
11
+ keyof T extends infer K ?
12
+ (K extends string & keyof T ? { [k in K]: T[K] } & Absent<T, K>
13
+ : never)
14
+ : never);
15
+ export type Http = {
16
+ rules?: HttpRule[]
17
+ fullyDecodeReservedExpansion?: boolean
18
+ }
19
+
20
+
21
+ type BaseHttpRule = {
22
+ selector?: string
23
+ body?: string
24
+ responseBody?: string
25
+ additionalBindings?: HttpRule[]
26
+ }
27
+
28
+ export type HttpRule = BaseHttpRule
29
+ & OneOf<{ get: string; put: string; post: string; delete: string; patch: string; custom: CustomHttpPattern }>
30
+
31
+ export type CustomHttpPattern = {
32
+ kind?: string
33
+ path?: string
34
+ }
@@ -0,0 +1,9 @@
1
+ /* eslint-disable */
2
+ // @ts-nocheck
3
+ /*
4
+ * This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
5
+ */
6
+ export type Any = {
7
+ typeUrl?: string
8
+ value?: Uint8Array
9
+ }
@@ -0,0 +1,32 @@
1
+ /* eslint-disable */
2
+ // @ts-nocheck
3
+ /*
4
+ * This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
5
+ */
6
+
7
+ import * as GoogleProtobufSource_context from "./source_context.pb"
8
+ import * as GoogleProtobufType from "./type.pb"
9
+ export type Api = {
10
+ name?: string
11
+ methods?: Method[]
12
+ options?: GoogleProtobufType.Option[]
13
+ version?: string
14
+ sourceContext?: GoogleProtobufSource_context.SourceContext
15
+ mixins?: Mixin[]
16
+ syntax?: GoogleProtobufType.Syntax
17
+ }
18
+
19
+ export type Method = {
20
+ name?: string
21
+ requestTypeUrl?: string
22
+ requestStreaming?: boolean
23
+ responseTypeUrl?: string
24
+ responseStreaming?: boolean
25
+ options?: GoogleProtobufType.Option[]
26
+ syntax?: GoogleProtobufType.Syntax
27
+ }
28
+
29
+ export type Mixin = {
30
+ name?: string
31
+ root?: string
32
+ }
@@ -0,0 +1,262 @@
1
+ /* eslint-disable */
2
+ // @ts-nocheck
3
+ /*
4
+ * This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
5
+ */
6
+
7
+ export enum FieldDescriptorProtoType {
8
+ TYPE_DOUBLE = "TYPE_DOUBLE",
9
+ TYPE_FLOAT = "TYPE_FLOAT",
10
+ TYPE_INT64 = "TYPE_INT64",
11
+ TYPE_UINT64 = "TYPE_UINT64",
12
+ TYPE_INT32 = "TYPE_INT32",
13
+ TYPE_FIXED64 = "TYPE_FIXED64",
14
+ TYPE_FIXED32 = "TYPE_FIXED32",
15
+ TYPE_BOOL = "TYPE_BOOL",
16
+ TYPE_STRING = "TYPE_STRING",
17
+ TYPE_GROUP = "TYPE_GROUP",
18
+ TYPE_MESSAGE = "TYPE_MESSAGE",
19
+ TYPE_BYTES = "TYPE_BYTES",
20
+ TYPE_UINT32 = "TYPE_UINT32",
21
+ TYPE_ENUM = "TYPE_ENUM",
22
+ TYPE_SFIXED32 = "TYPE_SFIXED32",
23
+ TYPE_SFIXED64 = "TYPE_SFIXED64",
24
+ TYPE_SINT32 = "TYPE_SINT32",
25
+ TYPE_SINT64 = "TYPE_SINT64",
26
+ }
27
+
28
+ export enum FieldDescriptorProtoLabel {
29
+ LABEL_OPTIONAL = "LABEL_OPTIONAL",
30
+ LABEL_REQUIRED = "LABEL_REQUIRED",
31
+ LABEL_REPEATED = "LABEL_REPEATED",
32
+ }
33
+
34
+ export enum FileOptionsOptimizeMode {
35
+ SPEED = "SPEED",
36
+ CODE_SIZE = "CODE_SIZE",
37
+ LITE_RUNTIME = "LITE_RUNTIME",
38
+ }
39
+
40
+ export enum FieldOptionsCType {
41
+ STRING = "STRING",
42
+ CORD = "CORD",
43
+ STRING_PIECE = "STRING_PIECE",
44
+ }
45
+
46
+ export enum FieldOptionsJSType {
47
+ JS_NORMAL = "JS_NORMAL",
48
+ JS_STRING = "JS_STRING",
49
+ JS_NUMBER = "JS_NUMBER",
50
+ }
51
+
52
+ export enum MethodOptionsIdempotencyLevel {
53
+ IDEMPOTENCY_UNKNOWN = "IDEMPOTENCY_UNKNOWN",
54
+ NO_SIDE_EFFECTS = "NO_SIDE_EFFECTS",
55
+ IDEMPOTENT = "IDEMPOTENT",
56
+ }
57
+
58
+ export type FileDescriptorSet = {
59
+ file?: FileDescriptorProto[]
60
+ }
61
+
62
+ export type FileDescriptorProto = {
63
+ name?: string
64
+ package?: string
65
+ dependency?: string[]
66
+ publicDependency?: number[]
67
+ weakDependency?: number[]
68
+ messageType?: DescriptorProto[]
69
+ enumType?: EnumDescriptorProto[]
70
+ service?: ServiceDescriptorProto[]
71
+ extension?: FieldDescriptorProto[]
72
+ options?: FileOptions
73
+ sourceCodeInfo?: SourceCodeInfo
74
+ syntax?: string
75
+ }
76
+
77
+ export type DescriptorProtoExtensionRange = {
78
+ start?: number
79
+ end?: number
80
+ options?: ExtensionRangeOptions
81
+ }
82
+
83
+ export type DescriptorProtoReservedRange = {
84
+ start?: number
85
+ end?: number
86
+ }
87
+
88
+ export type DescriptorProto = {
89
+ name?: string
90
+ field?: FieldDescriptorProto[]
91
+ extension?: FieldDescriptorProto[]
92
+ nestedType?: DescriptorProto[]
93
+ enumType?: EnumDescriptorProto[]
94
+ extensionRange?: DescriptorProtoExtensionRange[]
95
+ oneofDecl?: OneofDescriptorProto[]
96
+ options?: MessageOptions
97
+ reservedRange?: DescriptorProtoReservedRange[]
98
+ reservedName?: string[]
99
+ }
100
+
101
+ export type ExtensionRangeOptions = {
102
+ uninterpretedOption?: UninterpretedOption[]
103
+ }
104
+
105
+ export type FieldDescriptorProto = {
106
+ name?: string
107
+ number?: number
108
+ label?: FieldDescriptorProtoLabel
109
+ type?: FieldDescriptorProtoType
110
+ typeName?: string
111
+ extendee?: string
112
+ defaultValue?: string
113
+ oneofIndex?: number
114
+ jsonName?: string
115
+ options?: FieldOptions
116
+ proto3Optional?: boolean
117
+ }
118
+
119
+ export type OneofDescriptorProto = {
120
+ name?: string
121
+ options?: OneofOptions
122
+ }
123
+
124
+ export type EnumDescriptorProtoEnumReservedRange = {
125
+ start?: number
126
+ end?: number
127
+ }
128
+
129
+ export type EnumDescriptorProto = {
130
+ name?: string
131
+ value?: EnumValueDescriptorProto[]
132
+ options?: EnumOptions
133
+ reservedRange?: EnumDescriptorProtoEnumReservedRange[]
134
+ reservedName?: string[]
135
+ }
136
+
137
+ export type EnumValueDescriptorProto = {
138
+ name?: string
139
+ number?: number
140
+ options?: EnumValueOptions
141
+ }
142
+
143
+ export type ServiceDescriptorProto = {
144
+ name?: string
145
+ method?: MethodDescriptorProto[]
146
+ options?: ServiceOptions
147
+ }
148
+
149
+ export type MethodDescriptorProto = {
150
+ name?: string
151
+ inputType?: string
152
+ outputType?: string
153
+ options?: MethodOptions
154
+ clientStreaming?: boolean
155
+ serverStreaming?: boolean
156
+ }
157
+
158
+ export type FileOptions = {
159
+ javaPackage?: string
160
+ javaOuterClassname?: string
161
+ javaMultipleFiles?: boolean
162
+ javaGenerateEqualsAndHash?: boolean
163
+ javaStringCheckUtf8?: boolean
164
+ optimizeFor?: FileOptionsOptimizeMode
165
+ goPackage?: string
166
+ ccGenericServices?: boolean
167
+ javaGenericServices?: boolean
168
+ pyGenericServices?: boolean
169
+ phpGenericServices?: boolean
170
+ deprecated?: boolean
171
+ ccEnableArenas?: boolean
172
+ objcClassPrefix?: string
173
+ csharpNamespace?: string
174
+ swiftPrefix?: string
175
+ phpClassPrefix?: string
176
+ phpNamespace?: string
177
+ phpMetadataNamespace?: string
178
+ rubyPackage?: string
179
+ uninterpretedOption?: UninterpretedOption[]
180
+ }
181
+
182
+ export type MessageOptions = {
183
+ messageSetWireFormat?: boolean
184
+ noStandardDescriptorAccessor?: boolean
185
+ deprecated?: boolean
186
+ mapEntry?: boolean
187
+ uninterpretedOption?: UninterpretedOption[]
188
+ }
189
+
190
+ export type FieldOptions = {
191
+ ctype?: FieldOptionsCType
192
+ packed?: boolean
193
+ jstype?: FieldOptionsJSType
194
+ lazy?: boolean
195
+ deprecated?: boolean
196
+ weak?: boolean
197
+ uninterpretedOption?: UninterpretedOption[]
198
+ }
199
+
200
+ export type OneofOptions = {
201
+ uninterpretedOption?: UninterpretedOption[]
202
+ }
203
+
204
+ export type EnumOptions = {
205
+ allowAlias?: boolean
206
+ deprecated?: boolean
207
+ uninterpretedOption?: UninterpretedOption[]
208
+ }
209
+
210
+ export type EnumValueOptions = {
211
+ deprecated?: boolean
212
+ uninterpretedOption?: UninterpretedOption[]
213
+ }
214
+
215
+ export type ServiceOptions = {
216
+ deprecated?: boolean
217
+ uninterpretedOption?: UninterpretedOption[]
218
+ }
219
+
220
+ export type MethodOptions = {
221
+ deprecated?: boolean
222
+ idempotencyLevel?: MethodOptionsIdempotencyLevel
223
+ uninterpretedOption?: UninterpretedOption[]
224
+ }
225
+
226
+ export type UninterpretedOptionNamePart = {
227
+ namePart?: string
228
+ isExtension?: boolean
229
+ }
230
+
231
+ export type UninterpretedOption = {
232
+ name?: UninterpretedOptionNamePart[]
233
+ identifierValue?: string
234
+ positiveIntValue?: string
235
+ negativeIntValue?: string
236
+ doubleValue?: number
237
+ stringValue?: Uint8Array
238
+ aggregateValue?: string
239
+ }
240
+
241
+ export type SourceCodeInfoLocation = {
242
+ path?: number[]
243
+ span?: number[]
244
+ leadingComments?: string
245
+ trailingComments?: string
246
+ leadingDetachedComments?: string[]
247
+ }
248
+
249
+ export type SourceCodeInfo = {
250
+ location?: SourceCodeInfoLocation[]
251
+ }
252
+
253
+ export type GeneratedCodeInfoAnnotation = {
254
+ path?: number[]
255
+ sourceFile?: string
256
+ begin?: number
257
+ end?: number
258
+ }
259
+
260
+ export type GeneratedCodeInfo = {
261
+ annotation?: GeneratedCodeInfoAnnotation[]
262
+ }
@@ -0,0 +1,9 @@
1
+ /* eslint-disable */
2
+ // @ts-nocheck
3
+ /*
4
+ * This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
5
+ */
6
+ export type Duration = {
7
+ seconds?: string
8
+ nanos?: number
9
+ }
@@ -0,0 +1,7 @@
1
+ /* eslint-disable */
2
+ // @ts-nocheck
3
+ /*
4
+ * This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
5
+ */
6
+ export type Empty = {
7
+ }
@@ -0,0 +1,8 @@
1
+ /* eslint-disable */
2
+ // @ts-nocheck
3
+ /*
4
+ * This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
5
+ */
6
+ export type FieldMask = {
7
+ paths?: string[]
8
+ }
@@ -0,0 +1,33 @@
1
+ /* eslint-disable */
2
+ // @ts-nocheck
3
+ /*
4
+ * This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
5
+ */
6
+
7
+ type Absent<T, K extends keyof T> = { [k in Exclude<keyof T, K>]?: undefined };
8
+ type OneOf<T> =
9
+ | { [k in keyof T]?: undefined }
10
+ | (
11
+ keyof T extends infer K ?
12
+ (K extends string & keyof T ? { [k in K]: T[K] } & Absent<T, K>
13
+ : never)
14
+ : never);
15
+
16
+ export enum NullValue {
17
+ NULL_VALUE = "NULL_VALUE",
18
+ }
19
+
20
+ export type Struct = {
21
+ fields?: {[key: string]: Value}
22
+ }
23
+
24
+
25
+ type BaseValue = {
26
+ }
27
+
28
+ export type Value = BaseValue
29
+ & OneOf<{ nullValue: NullValue; numberValue: number; stringValue: string; boolValue: boolean; structValue: Struct; listValue: ListValue }>
30
+
31
+ export type ListValue = {
32
+ values?: Value[]
33
+ }
@@ -0,0 +1,9 @@
1
+ /* eslint-disable */
2
+ // @ts-nocheck
3
+ /*
4
+ * This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
5
+ */
6
+ export type Timestamp = {
7
+ seconds?: string
8
+ nanos?: number
9
+ }
@@ -0,0 +1,83 @@
1
+ /* eslint-disable */
2
+ // @ts-nocheck
3
+ /*
4
+ * This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
5
+ */
6
+
7
+ import * as GoogleProtobufAny from "./any.pb"
8
+ import * as GoogleProtobufSource_context from "./source_context.pb"
9
+
10
+ export enum Syntax {
11
+ SYNTAX_PROTO2 = "SYNTAX_PROTO2",
12
+ SYNTAX_PROTO3 = "SYNTAX_PROTO3",
13
+ }
14
+
15
+ export enum FieldKind {
16
+ TYPE_UNKNOWN = "TYPE_UNKNOWN",
17
+ TYPE_DOUBLE = "TYPE_DOUBLE",
18
+ TYPE_FLOAT = "TYPE_FLOAT",
19
+ TYPE_INT64 = "TYPE_INT64",
20
+ TYPE_UINT64 = "TYPE_UINT64",
21
+ TYPE_INT32 = "TYPE_INT32",
22
+ TYPE_FIXED64 = "TYPE_FIXED64",
23
+ TYPE_FIXED32 = "TYPE_FIXED32",
24
+ TYPE_BOOL = "TYPE_BOOL",
25
+ TYPE_STRING = "TYPE_STRING",
26
+ TYPE_GROUP = "TYPE_GROUP",
27
+ TYPE_MESSAGE = "TYPE_MESSAGE",
28
+ TYPE_BYTES = "TYPE_BYTES",
29
+ TYPE_UINT32 = "TYPE_UINT32",
30
+ TYPE_ENUM = "TYPE_ENUM",
31
+ TYPE_SFIXED32 = "TYPE_SFIXED32",
32
+ TYPE_SFIXED64 = "TYPE_SFIXED64",
33
+ TYPE_SINT32 = "TYPE_SINT32",
34
+ TYPE_SINT64 = "TYPE_SINT64",
35
+ }
36
+
37
+ export enum FieldCardinality {
38
+ CARDINALITY_UNKNOWN = "CARDINALITY_UNKNOWN",
39
+ CARDINALITY_OPTIONAL = "CARDINALITY_OPTIONAL",
40
+ CARDINALITY_REQUIRED = "CARDINALITY_REQUIRED",
41
+ CARDINALITY_REPEATED = "CARDINALITY_REPEATED",
42
+ }
43
+
44
+ export type Type = {
45
+ name?: string
46
+ fields?: Field[]
47
+ oneofs?: string[]
48
+ options?: Option[]
49
+ sourceContext?: GoogleProtobufSource_context.SourceContext
50
+ syntax?: Syntax
51
+ }
52
+
53
+ export type Field = {
54
+ kind?: FieldKind
55
+ cardinality?: FieldCardinality
56
+ number?: number
57
+ name?: string
58
+ typeUrl?: string
59
+ oneofIndex?: number
60
+ packed?: boolean
61
+ options?: Option[]
62
+ jsonName?: string
63
+ defaultValue?: string
64
+ }
65
+
66
+ export type Enum = {
67
+ name?: string
68
+ enumvalue?: EnumValue[]
69
+ options?: Option[]
70
+ sourceContext?: GoogleProtobufSource_context.SourceContext
71
+ syntax?: Syntax
72
+ }
73
+
74
+ export type EnumValue = {
75
+ name?: string
76
+ number?: number
77
+ options?: Option[]
78
+ }
79
+
80
+ export type Option = {
81
+ name?: string
82
+ value?: GoogleProtobufAny.Any
83
+ }
@@ -0,0 +1,40 @@
1
+ /* eslint-disable */
2
+ // @ts-nocheck
3
+ /*
4
+ * This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
5
+ */
6
+ export type DoubleValue = {
7
+ value?: number
8
+ }
9
+
10
+ export type FloatValue = {
11
+ value?: number
12
+ }
13
+
14
+ export type Int64Value = {
15
+ value?: string
16
+ }
17
+
18
+ export type UInt64Value = {
19
+ value?: string
20
+ }
21
+
22
+ export type Int32Value = {
23
+ value?: number
24
+ }
25
+
26
+ export type UInt32Value = {
27
+ value?: number
28
+ }
29
+
30
+ export type BoolValue = {
31
+ value?: boolean
32
+ }
33
+
34
+ export type StringValue = {
35
+ value?: string
36
+ }
37
+
38
+ export type BytesValue = {
39
+ value?: Uint8Array
40
+ }
@@ -0,0 +1,12 @@
1
+ /* eslint-disable */
2
+ // @ts-nocheck
3
+ /*
4
+ * This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
5
+ */
6
+
7
+ import * as GoogleProtobufAny from "../protobuf/any.pb"
8
+ export type Status = {
9
+ code?: number
10
+ message?: string
11
+ details?: GoogleProtobufAny.Any[]
12
+ }