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 {
|
||||
exchangeBaseUrl: string;
|
||||
masterPub?: string;
|
||||
forceUpdate?: boolean;
|
||||
}
|
||||
|
||||
@ -1551,6 +1552,7 @@ export const codecForAddExchangeRequest = (): Codec<AddExchangeRequest> =>
|
||||
buildCodecForObject<AddExchangeRequest>()
|
||||
.property("exchangeBaseUrl", codecForString())
|
||||
.property("forceUpdate", codecOptional(codecForBoolean()))
|
||||
.property("masterPub", codecOptional(codecForString()))
|
||||
.build("AddExchangeRequest");
|
||||
|
||||
export interface ForceExchangeUpdateRequest {
|
||||
|
Loading…
Reference in New Issue
Block a user