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