mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
refactor: update migrations
This commit is contained in:
@@ -133,7 +133,9 @@ export const AddTemplate = ({ projectId }: Props) => {
|
||||
<PopoverTrigger asChild>
|
||||
<Button
|
||||
variant="outline"
|
||||
className={cn("w-full sm:w-[200px] justify-between !bg-input")}
|
||||
className={cn(
|
||||
"w-full sm:w-[200px] justify-between !bg-input",
|
||||
)}
|
||||
>
|
||||
{isLoadingTags
|
||||
? "Loading...."
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { CodeEditor } from "@/components/shared/code-editor";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { ScrollArea } from "@/components/ui/scroll-area";
|
||||
import ReactMarkdown from "react-markdown";
|
||||
import {CodeEditor} from "@/components/shared/code-editor";
|
||||
|
||||
export const StepFour = ({
|
||||
prevStep,
|
||||
@@ -76,4 +76,4 @@ export const StepFour = ({
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -66,4 +66,4 @@ export const StepOne = ({ nextStep, setTemplateInfo, templateInfo }: any) => {
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -81,4 +81,4 @@ export const StepThree = ({
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import { CodeEditor } from "@/components/shared/code-editor";
|
||||
import {
|
||||
Accordion,
|
||||
AccordionContent,
|
||||
@@ -14,7 +15,6 @@ import { Bot, Eye, EyeOff, PlusCircle, Trash2 } from "lucide-react";
|
||||
import { useEffect, useState } from "react";
|
||||
import ReactMarkdown from "react-markdown";
|
||||
import { toast } from "sonner";
|
||||
import {CodeEditor} from "@/components/shared/code-editor";
|
||||
|
||||
interface EnvVariable {
|
||||
name: string;
|
||||
@@ -304,4 +304,4 @@ export const StepTwo = ({
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -156,4 +156,4 @@ export const TemplateGenerator = ({ projectId }: Props) => {
|
||||
</DialogContent>
|
||||
</Dialog>
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -51,7 +51,7 @@ interface Model {
|
||||
owned_by: string;
|
||||
}
|
||||
|
||||
export const AiForm = ()=> {
|
||||
export const AiForm = () => {
|
||||
const [models, setModels] = useState<Model[]>([]);
|
||||
const [isLoadingModels, setIsLoadingModels] = useState(false);
|
||||
const [error, setError] = useState<string | null>(null);
|
||||
@@ -273,4 +273,4 @@ export const AiForm = ()=> {
|
||||
</CardContent>
|
||||
</Card>
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
4355
apps/dokploy/drizzle/meta/0057_snapshot.json
Normal file
4355
apps/dokploy/drizzle/meta/0057_snapshot.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -400,6 +400,13 @@
|
||||
"when": 1736789918294,
|
||||
"tag": "0056_majestic_skaar",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 57,
|
||||
"version": "6",
|
||||
"when": 1737246538368,
|
||||
"tag": "0057_mature_thaddeus_ross",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -168,8 +168,6 @@
|
||||
]
|
||||
},
|
||||
"commitlint": {
|
||||
"extends": [
|
||||
"@commitlint/config-conventional"
|
||||
]
|
||||
"extends": ["@commitlint/config-conventional"]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -239,7 +239,10 @@ export const projectRouter = createTRPCRouter({
|
||||
}
|
||||
}),
|
||||
});
|
||||
function buildServiceFilter(fieldName: AnyPgColumn, accessedServices: string[]) {
|
||||
function buildServiceFilter(
|
||||
fieldName: AnyPgColumn,
|
||||
accessedServices: string[],
|
||||
) {
|
||||
return accessedServices.length > 0
|
||||
? sql`${fieldName} IN (${sql.join(
|
||||
accessedServices.map((serviceId) => sql`${serviceId}`),
|
||||
|
||||
@@ -101,7 +101,7 @@
|
||||
* {
|
||||
@apply border-border;
|
||||
}
|
||||
|
||||
|
||||
body {
|
||||
@apply bg-background text-foreground;
|
||||
}
|
||||
@@ -110,16 +110,16 @@
|
||||
::-webkit-scrollbar {
|
||||
width: 0.3125rem;
|
||||
}
|
||||
|
||||
|
||||
::-webkit-scrollbar-track {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
background: hsl(var(--border));
|
||||
border-radius: 0.3125rem;
|
||||
}
|
||||
|
||||
|
||||
* {
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: hsl(var(--border)) transparent;
|
||||
|
||||
@@ -1269,7 +1269,8 @@ export const templates: TemplateData[] = [
|
||||
},
|
||||
tags: ["cloud", "networking", "security", "tunnel"],
|
||||
load: () => import("./cloudflared/index").then((m) => m.generate),
|
||||
},{
|
||||
},
|
||||
{
|
||||
id: "couchdb",
|
||||
name: "CouchDB",
|
||||
version: "latest",
|
||||
|
||||
Reference in New Issue
Block a user