This commit is contained in:
jarek
2026-01-22 16:46:17 +01:00
parent 86a06d9de0
commit 1d1e85f1fa
10 changed files with 20 additions and 20 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "dockhand",
"private": true,
"version": "1.0.12",
"version": "1.0.3",
"type": "module",
"scripts": {
"dev": "bunx --bun vite dev",
+3 -3
View File
@@ -40,9 +40,9 @@ export const POST: RequestHandler = async ({ request, cookies }) => {
type: data.type as 'smtp' | 'apprise',
enabled: true,
config: data.config,
event_types: [],
created_at: new Date().toISOString(),
updated_at: new Date().toISOString()
eventTypes: [],
createdAt: new Date().toISOString(),
updatedAt: new Date().toISOString()
};
const success = await testNotification(setting);
@@ -32,9 +32,9 @@
id: number;
name: string;
description?: string;
is_system: boolean;
isSystem: boolean;
permissions: any;
created_at: string;
createdAt: string;
}
interface Props {
@@ -44,9 +44,9 @@
id: number;
name: string;
description?: string;
is_system: boolean;
isSystem: boolean;
permissions: any;
created_at: string;
createdAt: string;
}
interface Props {
@@ -14,10 +14,10 @@
id: number;
name: string;
description?: string;
is_system: boolean;
isSystem: boolean;
permissions: any;
environmentIds?: number[] | null;
created_at: string;
createdAt: string;
}
interface Environment {
@@ -84,9 +84,9 @@
name: string;
enabled: boolean;
config: any;
event_types: string[];
created_at: string;
updated_at: string;
eventTypes: string[];
createdAt: string;
updatedAt: string;
}
// Environment state
@@ -24,7 +24,7 @@
enabled: boolean;
config: Record<string, any>;
eventTypes: string[];
created_at: string;
createdAt: string;
}
interface Props {
@@ -19,9 +19,9 @@
name: string;
enabled: boolean;
config: any;
event_types: string[];
created_at: string;
updated_at: string;
eventTypes: string[];
createdAt: string;
updatedAt: string;
}
// Notification state
@@ -20,8 +20,8 @@
username?: string;
hasCredentials: boolean;
isDefault: boolean;
created_at: string;
updated_at: string;
createdAt: string;
updatedAt: string;
}
// Check if a registry is Docker Hub
@@ -11,7 +11,7 @@
name: string;
url: string;
username?: string;
created_at: string;
createdAt: string;
}
interface Props {