update Page obj
This commit is contained in:
11
miniprogram/types/Journal.ts
Normal file
11
miniprogram/types/Journal.ts
Normal file
@ -0,0 +1,11 @@
|
||||
import { QueryPage } from "./Model";
|
||||
|
||||
export type JournalPage = {
|
||||
type: JournalPageType;
|
||||
} & QueryPage;
|
||||
|
||||
export enum JournalPageType {
|
||||
|
||||
NORMAL = "NORMAL",
|
||||
PREVIEW = "PREVIEW"
|
||||
}
|
||||
@ -17,7 +17,8 @@ export type QueryPage = {
|
||||
index: number;
|
||||
size: number;
|
||||
orderMap?: { [key: string]: OrderType };
|
||||
likeMap?: { [key: string]: string | undefined | null };
|
||||
equealsExample?: { [key: string]: string | undefined | null };
|
||||
likeExample?: { [key: string]: string | undefined | null };
|
||||
}
|
||||
|
||||
export enum OrderType {
|
||||
|
||||
Reference in New Issue
Block a user