Skip to content

Commit f83ab29

Browse files
committed
stlye: format and lint
1 parent 9a1bee5 commit f83ab29

File tree

31 files changed

+48
-45
lines changed

31 files changed

+48
-45
lines changed

apps/dokploy/__test__/permissions/enterprise-only-resources.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import { describe, it, expect } from "vitest";
21
import {
32
enterpriseOnlyResources,
43
statements,
54
} from "@dokploy/server/lib/access-control";
5+
import { describe, expect, it } from "vitest";
66

77
const FREE_TIER_RESOURCES = [
88
"organization",

apps/dokploy/components/dashboard/application/deployments/show-deployments.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import copy from "copy-to-clipboard";
12
import {
23
ChevronDown,
34
ChevronUp,
@@ -11,7 +12,6 @@ import {
1112
} from "lucide-react";
1213
import React, { useEffect, useMemo, useState } from "react";
1314
import { toast } from "sonner";
14-
import copy from "copy-to-clipboard";
1515
import { AlertBlock } from "@/components/shared/alert-block";
1616
import { DateTooltip } from "@/components/shared/date-tooltip";
1717
import { DialogAction } from "@/components/shared/dialog-action";
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
export * from "./show-patches";
21
export * from "./patch-editor";
2+
export * from "./show-patches";

apps/dokploy/components/dashboard/deployments/show-queue-table.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
"use client";
22

33
import type { inferRouterOutputs } from "@trpc/server";
4-
import Link from "next/link";
54
import { ArrowRight, ListTodo, Loader2, XCircle } from "lucide-react";
5+
import Link from "next/link";
66
import { Badge } from "@/components/ui/badge";
77
import { Button } from "@/components/ui/button";
88
import {

apps/dokploy/components/dashboard/settings/destination/handle-destinations.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
import {
2+
ADDITIONAL_FLAG_ERROR,
3+
ADDITIONAL_FLAG_REGEX,
4+
} from "@dokploy/server/db/validations/destination";
15
import { standardSchemaResolver as zodResolver } from "@hookform/resolvers/standard-schema";
26
import { PenBoxIcon, PlusIcon, Trash2 } from "lucide-react";
37
import { useEffect, useState } from "react";
@@ -35,10 +39,6 @@ import {
3539
} from "@/components/ui/select";
3640
import { cn } from "@/lib/utils";
3741
import { api } from "@/utils/api";
38-
import {
39-
ADDITIONAL_FLAG_ERROR,
40-
ADDITIONAL_FLAG_REGEX,
41-
} from "@dokploy/server/db/validations/destination";
4242
import { S3_PROVIDERS } from "./constants";
4343

4444
const addDestination = z.object({

apps/dokploy/components/dashboard/settings/notifications/handle-notifications.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ import { toast } from "sonner";
1212
import { z } from "zod";
1313
import {
1414
DiscordIcon,
15-
MattermostIcon,
1615
GotifyIcon,
1716
LarkIcon,
17+
MattermostIcon,
1818
NtfyIcon,
1919
PushoverIcon,
2020
ResendIcon,

apps/dokploy/lib/auth-client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { ssoClient } from "@better-auth/sso/client";
21
import { apiKeyClient } from "@better-auth/api-key/client";
2+
import { ssoClient } from "@better-auth/sso/client";
33
import {
44
adminClient,
55
inferAdditionalFields,

apps/dokploy/pages/api/deploy/compose/[refreshToken].ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import { myQueue } from "@/server/queues/queueSetup";
88
import { deploy } from "@/server/utils/deploy";
99
import {
1010
extractBranchName,
11-
extractCommittedPaths,
1211
extractCommitMessage,
12+
extractCommittedPaths,
1313
extractHash,
1414
getProviderByHeader,
1515
} from "../[refreshToken]";

apps/dokploy/pages/dashboard/settings/users.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ import { createServerSideHelpers } from "@trpc/react-query/server";
33
import type { GetServerSidePropsContext } from "next";
44
import type { ReactElement } from "react";
55
import superjson from "superjson";
6-
import { DashboardLayout } from "@/components/layouts/dashboard-layout";
7-
import { ManageCustomRoles } from "@/components/proprietary/roles/manage-custom-roles";
86
import { ShowInvitations } from "@/components/dashboard/settings/users/show-invitations";
97
import { ShowUsers } from "@/components/dashboard/settings/users/show-users";
8+
import { DashboardLayout } from "@/components/layouts/dashboard-layout";
9+
import { ManageCustomRoles } from "@/components/proprietary/roles/manage-custom-roles";
1010
import { appRouter } from "@/server/api/root";
1111
import { api } from "@/utils/api";
1212

apps/dokploy/server/api/routers/ai.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ import {
1717
suggestVariants,
1818
} from "@dokploy/server/services/ai";
1919
import { createComposeByTemplate } from "@dokploy/server/services/compose";
20-
import { findProjectById } from "@dokploy/server/services/project";
2120
import {
2221
addNewService,
2322
checkServiceAccess,
2423
} from "@dokploy/server/services/permission";
24+
import { findProjectById } from "@dokploy/server/services/project";
2525
import {
2626
getProviderHeaders,
2727
getProviderName,

0 commit comments

Comments
 (0)