added master pub to add-exchange (for validation)
This commit is contained in:
parent
74579ac2f2
commit
1e173e279f
@ -1544,6 +1544,7 @@ export const codecForIntegrationTestV2Args = (): Codec<IntegrationTestV2Args> =>
|
|||||||
|
|
||||||
export interface AddExchangeRequest {
|
export interface AddExchangeRequest {
|
||||||
exchangeBaseUrl: string;
|
exchangeBaseUrl: string;
|
||||||
|
masterPub?: string;
|
||||||
forceUpdate?: boolean;
|
forceUpdate?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1551,6 +1552,7 @@ export const codecForAddExchangeRequest = (): Codec<AddExchangeRequest> =>
|
|||||||
buildCodecForObject<AddExchangeRequest>()
|
buildCodecForObject<AddExchangeRequest>()
|
||||||
.property("exchangeBaseUrl", codecForString())
|
.property("exchangeBaseUrl", codecForString())
|
||||||
.property("forceUpdate", codecOptional(codecForBoolean()))
|
.property("forceUpdate", codecOptional(codecForBoolean()))
|
||||||
|
.property("masterPub", codecOptional(codecForString()))
|
||||||
.build("AddExchangeRequest");
|
.build("AddExchangeRequest");
|
||||||
|
|
||||||
export interface ForceExchangeUpdateRequest {
|
export interface ForceExchangeUpdateRequest {
|
||||||
|
Loading…
Reference in New Issue
Block a user