feat: port scenario 903 select-pool flow
This commit is contained in:
@@ -204,6 +204,22 @@ export type TurnDaemonCommand =
|
||||
specialWar?: string;
|
||||
};
|
||||
}
|
||||
| {
|
||||
type: 'selectPoolCreate';
|
||||
requestId?: string;
|
||||
userId: string;
|
||||
ownerDisplayName: string;
|
||||
uniqueName: string;
|
||||
personality: string;
|
||||
seedOwnerIdentity: string | number;
|
||||
}
|
||||
| {
|
||||
type: 'selectPoolReselect';
|
||||
requestId?: string;
|
||||
userId: string;
|
||||
ownerDisplayName: string;
|
||||
uniqueName: string;
|
||||
}
|
||||
| {
|
||||
type: 'auctionBid';
|
||||
requestId?: string;
|
||||
@@ -460,6 +476,28 @@ export type TurnDaemonCommandResult =
|
||||
generalId: number;
|
||||
reason: string;
|
||||
}
|
||||
| {
|
||||
type: 'selectPoolCreate';
|
||||
ok: true;
|
||||
generalId: number;
|
||||
}
|
||||
| {
|
||||
type: 'selectPoolCreate';
|
||||
ok: false;
|
||||
code: 'BAD_REQUEST' | 'PRECONDITION_FAILED' | 'CONFLICT' | 'INTERNAL_SERVER_ERROR';
|
||||
reason: string;
|
||||
}
|
||||
| {
|
||||
type: 'selectPoolReselect';
|
||||
ok: true;
|
||||
generalId: number;
|
||||
}
|
||||
| {
|
||||
type: 'selectPoolReselect';
|
||||
ok: false;
|
||||
code: 'BAD_REQUEST' | 'PRECONDITION_FAILED' | 'CONFLICT' | 'INTERNAL_SERVER_ERROR';
|
||||
reason: string;
|
||||
}
|
||||
| {
|
||||
type: 'auctionBid';
|
||||
ok: true;
|
||||
|
||||
Reference in New Issue
Block a user