Updates
This commit is contained in:
@@ -1012,9 +1012,24 @@ export type ServerQueryParam<
|
||||
};
|
||||
join?: ServerQueryParamsJoin<K>[];
|
||||
group?: (keyof T)[];
|
||||
countSubQueries?: ServerQueryParamsCount[];
|
||||
[key: string]: any;
|
||||
};
|
||||
|
||||
export type ServerQueryParamsCount = {
|
||||
table: string;
|
||||
srcTrgMap: {
|
||||
src: string;
|
||||
trg: string | ServerQueryParamsCountSrcTrgMap;
|
||||
}[];
|
||||
alias: string;
|
||||
};
|
||||
|
||||
export type ServerQueryParamsCountSrcTrgMap = {
|
||||
table: string;
|
||||
field: string;
|
||||
};
|
||||
|
||||
export type TableSelectFieldsObject<
|
||||
T extends { [k: string]: any } = { [k: string]: any }
|
||||
> = {
|
||||
@@ -1858,7 +1873,11 @@ export const ImageMimeTypes: (keyof sharp.FormatEnum)[] = [
|
||||
"jpg",
|
||||
] as const;
|
||||
|
||||
export const VideoMimeTypes = ["mp4", "wav"] as const;
|
||||
|
||||
export const FileMimeTypes = [
|
||||
...ImageMimeTypes,
|
||||
...VideoMimeTypes,
|
||||
"pdf",
|
||||
"csv",
|
||||
"json",
|
||||
@@ -1879,8 +1898,6 @@ export const FileMimeTypes = [
|
||||
"css",
|
||||
] as const;
|
||||
|
||||
export const VideoMimeTypes = ["mp4", "wav"] as const;
|
||||
|
||||
export const CurrentlyEditedFieldActions = [
|
||||
"edit-field",
|
||||
"edit-index",
|
||||
|
||||
Reference in New Issue
Block a user