-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1796 from spacemeshos/fix-nodeevent-err
Do not throw error if NodeEvent does not have type or details
- Loading branch information
Showing
67 changed files
with
2,326 additions
and
244 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// Original file: vendor/proto/google/api/visibility.proto | ||
|
||
import type { VisibilityRule as _google_api_VisibilityRule, VisibilityRule__Output as _google_api_VisibilityRule__Output } from '../../google/api/VisibilityRule'; | ||
|
||
export interface Visibility { | ||
'rules'?: (_google_api_VisibilityRule)[]; | ||
} | ||
|
||
export interface Visibility__Output { | ||
'rules': (_google_api_VisibilityRule__Output)[]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// Original file: vendor/proto/google/api/visibility.proto | ||
|
||
|
||
export interface VisibilityRule { | ||
'selector'?: (string); | ||
'restriction'?: (string); | ||
} | ||
|
||
export interface VisibilityRule__Output { | ||
'selector': (string); | ||
'restriction': (string); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,18 @@ | ||
// Original file: null | ||
|
||
import type { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from '../../google/protobuf/UninterpretedOption'; | ||
import type { VisibilityRule as _google_api_VisibilityRule, VisibilityRule__Output as _google_api_VisibilityRule__Output } from '../../google/api/VisibilityRule'; | ||
|
||
export interface EnumOptions { | ||
'allowAlias'?: (boolean); | ||
'deprecated'?: (boolean); | ||
'uninterpretedOption'?: (_google_protobuf_UninterpretedOption)[]; | ||
'.google.api.enumVisibility'?: (_google_api_VisibilityRule | null); | ||
} | ||
|
||
export interface EnumOptions__Output { | ||
'allowAlias': (boolean); | ||
'deprecated': (boolean); | ||
'uninterpretedOption': (_google_protobuf_UninterpretedOption__Output)[]; | ||
'.google.api.enumVisibility': (_google_api_VisibilityRule__Output | null); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,16 @@ | ||
// Original file: null | ||
|
||
import type { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from '../../google/protobuf/UninterpretedOption'; | ||
import type { VisibilityRule as _google_api_VisibilityRule, VisibilityRule__Output as _google_api_VisibilityRule__Output } from '../../google/api/VisibilityRule'; | ||
|
||
export interface EnumValueOptions { | ||
'deprecated'?: (boolean); | ||
'uninterpretedOption'?: (_google_protobuf_UninterpretedOption)[]; | ||
'.google.api.valueVisibility'?: (_google_api_VisibilityRule | null); | ||
} | ||
|
||
export interface EnumValueOptions__Output { | ||
'deprecated': (boolean); | ||
'uninterpretedOption': (_google_protobuf_UninterpretedOption__Output)[]; | ||
'.google.api.valueVisibility': (_google_api_VisibilityRule__Output | null); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// Original file: null | ||
|
||
import type { Value as _google_protobuf_Value, Value__Output as _google_protobuf_Value__Output } from '../../google/protobuf/Value'; | ||
|
||
export interface ListValue { | ||
'values'?: (_google_protobuf_Value)[]; | ||
} | ||
|
||
export interface ListValue__Output { | ||
'values': (_google_protobuf_Value__Output)[]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,22 @@ | ||
// Original file: null | ||
|
||
import type { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from '../../google/protobuf/UninterpretedOption'; | ||
import type { Operation as _grpc_gateway_protoc_gen_openapiv2_options_Operation, Operation__Output as _grpc_gateway_protoc_gen_openapiv2_options_Operation__Output } from '../../grpc/gateway/protoc_gen_openapiv2/options/Operation'; | ||
import type { VisibilityRule as _google_api_VisibilityRule, VisibilityRule__Output as _google_api_VisibilityRule__Output } from '../../google/api/VisibilityRule'; | ||
import type { HttpRule as _google_api_HttpRule, HttpRule__Output as _google_api_HttpRule__Output } from '../../google/api/HttpRule'; | ||
|
||
export interface MethodOptions { | ||
'deprecated'?: (boolean); | ||
'uninterpretedOption'?: (_google_protobuf_UninterpretedOption)[]; | ||
'.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Operation'?: (_grpc_gateway_protoc_gen_openapiv2_options_Operation | null); | ||
'.google.api.methodVisibility'?: (_google_api_VisibilityRule | null); | ||
'.google.api.http'?: (_google_api_HttpRule | null); | ||
} | ||
|
||
export interface MethodOptions__Output { | ||
'deprecated': (boolean); | ||
'uninterpretedOption': (_google_protobuf_UninterpretedOption__Output)[]; | ||
'.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Operation': (_grpc_gateway_protoc_gen_openapiv2_options_Operation__Output | null); | ||
'.google.api.methodVisibility': (_google_api_VisibilityRule__Output | null); | ||
'.google.api.http': (_google_api_HttpRule__Output | null); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
// Original file: null | ||
|
||
export enum NullValue { | ||
NULL_VALUE = 0, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,19 @@ | ||
// Original file: null | ||
|
||
import type { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from '../../google/protobuf/UninterpretedOption'; | ||
import type { Tag as _grpc_gateway_protoc_gen_openapiv2_options_Tag, Tag__Output as _grpc_gateway_protoc_gen_openapiv2_options_Tag__Output } from '../../grpc/gateway/protoc_gen_openapiv2/options/Tag'; | ||
import type { VisibilityRule as _google_api_VisibilityRule, VisibilityRule__Output as _google_api_VisibilityRule__Output } from '../../google/api/VisibilityRule'; | ||
|
||
export interface ServiceOptions { | ||
'deprecated'?: (boolean); | ||
'uninterpretedOption'?: (_google_protobuf_UninterpretedOption)[]; | ||
'.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Tag'?: (_grpc_gateway_protoc_gen_openapiv2_options_Tag | null); | ||
'.google.api.apiVisibility'?: (_google_api_VisibilityRule | null); | ||
} | ||
|
||
export interface ServiceOptions__Output { | ||
'deprecated': (boolean); | ||
'uninterpretedOption': (_google_protobuf_UninterpretedOption__Output)[]; | ||
'.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Tag': (_grpc_gateway_protoc_gen_openapiv2_options_Tag__Output | null); | ||
'.google.api.apiVisibility': (_google_api_VisibilityRule__Output | null); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// Original file: null | ||
|
||
import type { Value as _google_protobuf_Value, Value__Output as _google_protobuf_Value__Output } from '../../google/protobuf/Value'; | ||
|
||
export interface Struct { | ||
'fields'?: ({[key: string]: _google_protobuf_Value}); | ||
} | ||
|
||
export interface Struct__Output { | ||
'fields': ({[key: string]: _google_protobuf_Value__Output}); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// Original file: null | ||
|
||
import type { NullValue as _google_protobuf_NullValue } from '../../google/protobuf/NullValue'; | ||
import type { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_Struct__Output } from '../../google/protobuf/Struct'; | ||
import type { ListValue as _google_protobuf_ListValue, ListValue__Output as _google_protobuf_ListValue__Output } from '../../google/protobuf/ListValue'; | ||
|
||
export interface Value { | ||
'nullValue'?: (_google_protobuf_NullValue | keyof typeof _google_protobuf_NullValue); | ||
'numberValue'?: (number | string); | ||
'stringValue'?: (string); | ||
'boolValue'?: (boolean); | ||
'structValue'?: (_google_protobuf_Struct | null); | ||
'listValue'?: (_google_protobuf_ListValue | null); | ||
'kind'?: "nullValue"|"numberValue"|"stringValue"|"boolValue"|"structValue"|"listValue"; | ||
} | ||
|
||
export interface Value__Output { | ||
'nullValue'?: (_google_protobuf_NullValue); | ||
'numberValue'?: (number); | ||
'stringValue'?: (string); | ||
'boolValue'?: (boolean); | ||
'structValue'?: (_google_protobuf_Struct__Output | null); | ||
'listValue'?: (_google_protobuf_ListValue__Output | null); | ||
'kind': "nullValue"|"numberValue"|"stringValue"|"boolValue"|"structValue"|"listValue"; | ||
} |
14 changes: 14 additions & 0 deletions
14
api/generated/grpc/gateway/protoc_gen_openapiv2/options/Contact.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// Original file: vendor/proto/protoc-gen-openapiv2/options/openapiv2.proto | ||
|
||
|
||
export interface Contact { | ||
'name'?: (string); | ||
'url'?: (string); | ||
'email'?: (string); | ||
} | ||
|
||
export interface Contact__Output { | ||
'name': (string); | ||
'url': (string); | ||
'email': (string); | ||
} |
12 changes: 12 additions & 0 deletions
12
api/generated/grpc/gateway/protoc_gen_openapiv2/options/ExternalDocumentation.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// Original file: vendor/proto/protoc-gen-openapiv2/options/openapiv2.proto | ||
|
||
|
||
export interface ExternalDocumentation { | ||
'description'?: (string); | ||
'url'?: (string); | ||
} | ||
|
||
export interface ExternalDocumentation__Output { | ||
'description': (string); | ||
'url': (string); | ||
} |
18 changes: 18 additions & 0 deletions
18
api/generated/grpc/gateway/protoc_gen_openapiv2/options/Header.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// Original file: vendor/proto/protoc-gen-openapiv2/options/openapiv2.proto | ||
|
||
|
||
export interface Header { | ||
'description'?: (string); | ||
'type'?: (string); | ||
'format'?: (string); | ||
'default'?: (string); | ||
'pattern'?: (string); | ||
} | ||
|
||
export interface Header__Output { | ||
'description': (string); | ||
'type': (string); | ||
'format': (string); | ||
'default': (string); | ||
'pattern': (string); | ||
} |
28 changes: 28 additions & 0 deletions
28
api/generated/grpc/gateway/protoc_gen_openapiv2/options/HeaderParameter.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
// Original file: vendor/proto/protoc-gen-openapiv2/options/openapiv2.proto | ||
|
||
|
||
// Original file: vendor/proto/protoc-gen-openapiv2/options/openapiv2.proto | ||
|
||
export enum _grpc_gateway_protoc_gen_openapiv2_options_HeaderParameter_Type { | ||
UNKNOWN = 0, | ||
STRING = 1, | ||
NUMBER = 2, | ||
INTEGER = 3, | ||
BOOLEAN = 4, | ||
} | ||
|
||
export interface HeaderParameter { | ||
'name'?: (string); | ||
'description'?: (string); | ||
'type'?: (_grpc_gateway_protoc_gen_openapiv2_options_HeaderParameter_Type | keyof typeof _grpc_gateway_protoc_gen_openapiv2_options_HeaderParameter_Type); | ||
'format'?: (string); | ||
'required'?: (boolean); | ||
} | ||
|
||
export interface HeaderParameter__Output { | ||
'name': (string); | ||
'description': (string); | ||
'type': (_grpc_gateway_protoc_gen_openapiv2_options_HeaderParameter_Type); | ||
'format': (string); | ||
'required': (boolean); | ||
} |
25 changes: 25 additions & 0 deletions
25
api/generated/grpc/gateway/protoc_gen_openapiv2/options/Info.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// Original file: vendor/proto/protoc-gen-openapiv2/options/openapiv2.proto | ||
|
||
import type { Contact as _grpc_gateway_protoc_gen_openapiv2_options_Contact, Contact__Output as _grpc_gateway_protoc_gen_openapiv2_options_Contact__Output } from '../../../../grpc/gateway/protoc_gen_openapiv2/options/Contact'; | ||
import type { License as _grpc_gateway_protoc_gen_openapiv2_options_License, License__Output as _grpc_gateway_protoc_gen_openapiv2_options_License__Output } from '../../../../grpc/gateway/protoc_gen_openapiv2/options/License'; | ||
import type { Value as _google_protobuf_Value, Value__Output as _google_protobuf_Value__Output } from '../../../../google/protobuf/Value'; | ||
|
||
export interface Info { | ||
'title'?: (string); | ||
'description'?: (string); | ||
'termsOfService'?: (string); | ||
'contact'?: (_grpc_gateway_protoc_gen_openapiv2_options_Contact | null); | ||
'license'?: (_grpc_gateway_protoc_gen_openapiv2_options_License | null); | ||
'version'?: (string); | ||
'extensions'?: ({[key: string]: _google_protobuf_Value}); | ||
} | ||
|
||
export interface Info__Output { | ||
'title': (string); | ||
'description': (string); | ||
'termsOfService': (string); | ||
'contact': (_grpc_gateway_protoc_gen_openapiv2_options_Contact__Output | null); | ||
'license': (_grpc_gateway_protoc_gen_openapiv2_options_License__Output | null); | ||
'version': (string); | ||
'extensions': ({[key: string]: _google_protobuf_Value__Output}); | ||
} |
Oops, something went wrong.