Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
Sentio Bot committed Oct 31, 2024
1 parent 790ce34 commit c73e49f
Show file tree
Hide file tree
Showing 4 changed files with 174 additions and 0 deletions.
30 changes: 30 additions & 0 deletions doc/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3289,6 +3289,36 @@
}
}
}
};
defs["solidity_service.BaseChainConfig"] = {
"type" : "object",
"properties" : {
"endpoint" : {
"type" : "string"
},
"debugEndpoint" : {
"type" : "string"
},
"sourceFetcherType" : {
"type" : "string"
},
"sourceFetcherEndpoint" : {
"type" : "string"
},
"sourceFetcherTimeout" : {
"type" : "string",
"format" : "int64"
},
"sourceFetcherApiKeys" : {
"type" : "array",
"items" : {
"type" : "string"
}
},
"oklinkChainShortName" : {
"type" : "string"
}
}
};
defs["solidity_service.BlockOverrides"] = {
"type" : "object",
Expand Down
30 changes: 30 additions & 0 deletions openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -4131,6 +4131,36 @@
}
}
},
"solidity_service.BaseChainConfig": {
"type": "object",
"properties": {
"endpoint": {
"type": "string"
},
"debugEndpoint": {
"type": "string"
},
"sourceFetcherType": {
"type": "string"
},
"sourceFetcherEndpoint": {
"type": "string"
},
"sourceFetcherTimeout": {
"type": "string",
"format": "int64"
},
"sourceFetcherApiKeys": {
"type": "array",
"items": {
"type": "string"
}
},
"oklinkChainShortName": {
"type": "string"
}
}
},
"solidity_service.BlockOverrides": {
"type": "object",
"properties": {
Expand Down
113 changes: 113 additions & 0 deletions src/models/SolidityServiceBaseChainConfig.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
/* tslint:disable */
/* eslint-disable */
/**
* Sentio API
* Sentio Open API for query data
*
* The version of the OpenAPI document: version not set
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/

import { mapValues } from '../runtime.js';
/**
*
* @export
* @interface SolidityServiceBaseChainConfig
*/
export interface SolidityServiceBaseChainConfig {
/**
*
* @type {string}
* @memberof SolidityServiceBaseChainConfig
*/
endpoint?: string;
/**
*
* @type {string}
* @memberof SolidityServiceBaseChainConfig
*/
debugEndpoint?: string;
/**
*
* @type {string}
* @memberof SolidityServiceBaseChainConfig
*/
sourceFetcherType?: string;
/**
*
* @type {string}
* @memberof SolidityServiceBaseChainConfig
*/
sourceFetcherEndpoint?: string;
/**
*
* @type {string}
* @memberof SolidityServiceBaseChainConfig
*/
sourceFetcherTimeout?: string;
/**
*
* @type {Array<string>}
* @memberof SolidityServiceBaseChainConfig
*/
sourceFetcherApiKeys?: Array<string>;
/**
*
* @type {string}
* @memberof SolidityServiceBaseChainConfig
*/
oklinkChainShortName?: string;
}

/**
* Check if a given object implements the SolidityServiceBaseChainConfig interface.
*/
export function instanceOfSolidityServiceBaseChainConfig(value: object): value is SolidityServiceBaseChainConfig {
return true;
}

export function SolidityServiceBaseChainConfigFromJSON(json: any): SolidityServiceBaseChainConfig {
return SolidityServiceBaseChainConfigFromJSONTyped(json, false);
}

export function SolidityServiceBaseChainConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): SolidityServiceBaseChainConfig {
if (json == null) {
return json;
}
return {

'endpoint': json['endpoint'] == null ? undefined : json['endpoint'],
'debugEndpoint': json['debugEndpoint'] == null ? undefined : json['debugEndpoint'],
'sourceFetcherType': json['sourceFetcherType'] == null ? undefined : json['sourceFetcherType'],
'sourceFetcherEndpoint': json['sourceFetcherEndpoint'] == null ? undefined : json['sourceFetcherEndpoint'],
'sourceFetcherTimeout': json['sourceFetcherTimeout'] == null ? undefined : json['sourceFetcherTimeout'],
'sourceFetcherApiKeys': json['sourceFetcherApiKeys'] == null ? undefined : json['sourceFetcherApiKeys'],
'oklinkChainShortName': json['oklinkChainShortName'] == null ? undefined : json['oklinkChainShortName'],
};
}

export function SolidityServiceBaseChainConfigToJSON(json: any): SolidityServiceBaseChainConfig {
return SolidityServiceBaseChainConfigToJSONTyped(json, false);
}

export function SolidityServiceBaseChainConfigToJSONTyped(value?: SolidityServiceBaseChainConfig | null, ignoreDiscriminator: boolean = false): any {
if (value == null) {
return value;
}

return {

'endpoint': value['endpoint'],
'debugEndpoint': value['debugEndpoint'],
'sourceFetcherType': value['sourceFetcherType'],
'sourceFetcherEndpoint': value['sourceFetcherEndpoint'],
'sourceFetcherTimeout': value['sourceFetcherTimeout'],
'sourceFetcherApiKeys': value['sourceFetcherApiKeys'],
'oklinkChainShortName': value['oklinkChainShortName'],
};
}

1 change: 1 addition & 0 deletions src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ export * from './PriceServiceCoinID.js';
export * from './PriceServiceCoinIDAddressIdentifier.js';
export * from './PriceServiceGetPriceResponse.js';
export * from './PriceServiceListCoinsResponse.js';
export * from './SolidityServiceBaseChainConfig.js';
export * from './SolidityServiceBlockOverrides.js';
export * from './SolidityServiceCompileSourceInternalResponse.js';
export * from './SolidityServiceCompilerOptions.js';
Expand Down

0 comments on commit c73e49f

Please sign in to comment.