mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-13 20:10:07 +02:00
Move server directory outside of frontend src
This commit is contained in:
+1
@@ -0,0 +1 @@
|
||||
declare module 'express-async-errors';
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
declare namespace Express {
|
||||
export interface Request {
|
||||
authUser: any;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
export enum SortOrder {
|
||||
ASC = 'asc',
|
||||
DESC = 'desc',
|
||||
}
|
||||
|
||||
export enum Item {
|
||||
ALBUM = 'album',
|
||||
ALBUM_ARTIST = 'albumArtist',
|
||||
ARTIST = 'artist',
|
||||
FOLDER = 'folder',
|
||||
GENRE = 'genre',
|
||||
PLAYLIST = 'playlist',
|
||||
SONG = 'song',
|
||||
}
|
||||
|
||||
export enum AlbumFilter {
|
||||
FAVORITED,
|
||||
NOT_FAVORITED,
|
||||
}
|
||||
|
||||
export type OffsetPagination = {
|
||||
skip: number;
|
||||
take: number;
|
||||
};
|
||||
|
||||
export type PaginationResponse = {
|
||||
currentPage: number;
|
||||
nextPage: string;
|
||||
prevPage: string;
|
||||
startIndex: number;
|
||||
totalEntries: number;
|
||||
};
|
||||
|
||||
export type SuccessResponse = {
|
||||
data: any;
|
||||
paginationItems?: PaginationItems;
|
||||
};
|
||||
|
||||
export type PaginationItems = {
|
||||
skip: number;
|
||||
take: number;
|
||||
totalEntries: number;
|
||||
url: string;
|
||||
};
|
||||
Reference in New Issue
Block a user