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 -4
View File
@@ -850,7 +850,7 @@ export interface ImageObjectType {
export interface FileObjectType {
fileName?: string;
private?: boolean;
fileType?: string;
fileType?: (typeof FileMimeTypes)[number];
fileSize?: number;
fileBase64?: string;
fileBase64Full?: string;
@@ -1677,7 +1677,7 @@ export type DatasquirelWindowEventPayloadType = {
* # Docker Compose Types
*/
export type DockerCompose = {
services: DockerComposeServices;
services: DockerComposeServicesType;
networks: DockerComposeNetworks;
name: string;
};
@@ -1700,7 +1700,7 @@ export const DockerComposeServices = [
"web-app-post-db-setup",
] as const;
export type DockerComposeServices = {
export type DockerComposeServicesType = {
[key in (typeof DockerComposeServices)[number]]: DockerComposeServiceWithBuildObject;
};
@@ -1726,6 +1726,7 @@ export type DockerComposeServiceWithBuildObject = {
hostname: string;
volumes: string[];
environment: string[];
ports?: string[];
networks?: DockerComposeServiceNetworkObject;
restart?: string;
depends_on?: {
@@ -1809,6 +1810,7 @@ export const FileMimeTypes = [
"txt",
"zip",
"xz",
"tar.xz",
"yaml",
"yml",
] as const;
@@ -1915,6 +1917,7 @@ export type LoginUserParam = {
dbUserId?: string | number;
cleanupTokens?: boolean;
secureCookie?: boolean;
useLocal?: boolean;
};
export const UserSelectFields = [
@@ -1966,7 +1969,7 @@ export const InvitedUserSelectFields = [
},
{
field: "email",
alias: "invited_user_email",
alias: "invited_user_email_addr",
},
{
field: "image_thumbnail",