first commit
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
import { IPayload } from "./Payload.Model";
|
||||
|
||||
export type FindWapServerParams = {
|
||||
id?: string;
|
||||
name?: string;
|
||||
description?: string;
|
||||
countBots?: number;
|
||||
maxBots?: number;
|
||||
active?: boolean;
|
||||
countBotsFrom?: number;
|
||||
countBotsTo?: number;
|
||||
};
|
||||
|
||||
export interface IWapServer {
|
||||
id?: string;
|
||||
name?: string;
|
||||
description?: string;
|
||||
ipv4: string;
|
||||
ipv6: string;
|
||||
countBots: number;
|
||||
maxBots: number;
|
||||
active: boolean;
|
||||
}
|
||||
|
||||
export type PaginateWapServerParams = FindWapServerParams & {
|
||||
page: number;
|
||||
limit: number;
|
||||
};
|
||||
|
||||
export type PaginateWapServerResults = {
|
||||
data: IWapServer[];
|
||||
page: number;
|
||||
pages: number;
|
||||
};
|
||||
|
||||
export type SysAdminGetWapServerParams = PaginateWapServerParams & {
|
||||
payload: IPayload;
|
||||
};
|
||||
Reference in New Issue
Block a user