rename rule to rule clause
This commit is contained in:
@@ -81,13 +81,13 @@ export interface RuleBookResponse {
|
||||
'characterId': number;
|
||||
'ruleSets': { [key: string]: RuleSetResponse; };
|
||||
}
|
||||
export interface RuleResponse {
|
||||
'rate': RuleResponseRateEnum;
|
||||
export interface RuleClauseResponse {
|
||||
'rate': RuleClauseResponseRateEnum;
|
||||
'fromLedgerId'?: string;
|
||||
'toLedgerId'?: string;
|
||||
}
|
||||
|
||||
export const RuleResponseRateEnum = {
|
||||
export const RuleClauseResponseRateEnum = {
|
||||
None: 'NONE',
|
||||
Value: 'VALUE',
|
||||
JitaBuy: 'JITA_BUY',
|
||||
@@ -95,10 +95,10 @@ export const RuleResponseRateEnum = {
|
||||
EveEstimate: 'EVE_ESTIMATE',
|
||||
} as const;
|
||||
|
||||
export type RuleResponseRateEnum = typeof RuleResponseRateEnum[keyof typeof RuleResponseRateEnum];
|
||||
export type RuleClauseResponseRateEnum = typeof RuleClauseResponseRateEnum[keyof typeof RuleClauseResponseRateEnum];
|
||||
|
||||
export interface RuleSetResponse {
|
||||
'rules': Array<RuleResponse>;
|
||||
'rules': Array<RuleClauseResponse>;
|
||||
}
|
||||
export interface SetCharacterRuleBookRequest {
|
||||
'ruleSets': { [key: string]: RuleSetResponse; };
|
||||
|
||||
Reference in New Issue
Block a user