This commit is contained in:
Benjamin Toby
2025-07-07 09:14:37 +01:00
parent 6acf0f2cd6
commit ccb5605b58
30 changed files with 292 additions and 166 deletions
+7 -5
View File
@@ -710,7 +710,7 @@ export interface ImageObjectType {
export interface FileObjectType {
fileName?: string;
private?: boolean;
fileType?: string;
fileType?: (typeof FileMimeTypes)[number];
fileSize?: number;
fileBase64?: string;
fileBase64Full?: string;
@@ -1420,12 +1420,12 @@ export type DatasquirelWindowEventPayloadType = {
* # Docker Compose Types
*/
export type DockerCompose = {
services: DockerComposeServices;
services: DockerComposeServicesType;
networks: DockerComposeNetworks;
name: string;
};
export declare const DockerComposeServices: readonly ["setup", "cron", "reverse-proxy", "webapp", "websocket", "static", "db", "maxscale", "post-db-setup", "web-app-post-db-setup", "post-replica-db-setup", "db-replica-1", "db-replica-2", "db-cron", "web-app-post-db-setup"];
export type DockerComposeServices = {
export type DockerComposeServicesType = {
[key in (typeof DockerComposeServices)[number]]: DockerComposeServiceWithBuildObject;
};
export type DockerComposeNetworks = {
@@ -1448,6 +1448,7 @@ export type DockerComposeServiceWithBuildObject = {
hostname: string;
volumes: string[];
environment: string[];
ports?: string[];
networks?: DockerComposeServiceNetworkObject;
restart?: string;
depends_on?: {
@@ -1501,7 +1502,7 @@ export type MediaUploadDataType = ImageObjectType & FileObjectType & {
overwrite?: boolean;
};
export declare const ImageMimeTypes: (keyof sharp.FormatEnum)[];
export declare const FileMimeTypes: readonly ["pdf", "csv", "json", "sql", "xlsx", "txt", "zip", "xz", "yaml", "yml"];
export declare const FileMimeTypes: readonly ["pdf", "csv", "json", "sql", "xlsx", "txt", "zip", "xz", "tar.xz", "yaml", "yml"];
export declare const VideoMimeTypes: readonly ["mp4", "wav"];
export declare const CurrentlyEditedFieldActions: readonly ["edit-field", "edit-index", "delete-field", "delete-index", "new-field", "new-index", "move-up", "move-down", "complete"];
export type CurrentlyEditedTableSchemaType = {
@@ -1576,6 +1577,7 @@ export type LoginUserParam = {
dbUserId?: string | number;
cleanupTokens?: boolean;
secureCookie?: boolean;
useLocal?: boolean;
};
export declare const UserSelectFields: readonly [{
readonly field: "first_name";
@@ -1611,7 +1613,7 @@ export declare const InvitedUserSelectFields: readonly [{
readonly alias: "invited_user_last_name";
}, {
readonly field: "email";
readonly alias: "invited_user_email";
readonly alias: "invited_user_email_addr";
}, {
readonly field: "image_thumbnail";
readonly alias: "invited_user_image_thumbnail";
+2 -1
View File
@@ -144,6 +144,7 @@ exports.FileMimeTypes = [
"txt",
"zip",
"xz",
"tar.xz",
"yaml",
"yml",
];
@@ -221,7 +222,7 @@ exports.InvitedUserSelectFields = [
},
{
field: "email",
alias: "invited_user_email",
alias: "invited_user_email_addr",
},
{
field: "image_thumbnail",