lexica-dialog-repository
Version:
69 lines (68 loc) • 1.52 kB
TypeScript
declare const defaultUser = "SYSTEM";
declare enum SortDirection {
ASC = "asc",
DESC = "desc"
}
interface Sort {
name: string;
direction: SortDirection;
}
interface Pageable {
pageNumber: number;
pageSize: number;
sorts: Sort[];
getPreviousOrFirst: () => Pageable;
getNext: () => Pageable;
}
declare const uniSchema: {
uni: {
index: boolean;
required: boolean;
type: StringConstructor;
};
};
declare const userActionSchema: {
createdAt: {
default: () => number;
index: boolean;
required: boolean;
type: DateConstructor;
};
createdBy: {
default: string;
index: boolean;
required: boolean;
type: StringConstructor;
};
updatedAt: {
default: () => number;
index: boolean;
required: boolean;
type: DateConstructor;
};
updatedBy: {
default: string;
index: boolean;
required: boolean;
type: StringConstructor;
};
};
declare const softDeleteSchema: {
deleted: {
default: boolean;
index: boolean;
required: boolean;
type: BooleanConstructor;
};
deletedAt: {
index: boolean;
required: boolean;
type: DateConstructor;
};
deletedBy: {
index: boolean;
required: boolean;
type: StringConstructor;
};
};
export { defaultUser, Pageable, softDeleteSchema, SortDirection, Sort, userActionSchema, uniSchema, };