chore: format files using prettier (#7364)

* chore: format files using prettier

* chore: api server files formatted
This commit is contained in:
sriram veeraghanta 2025-07-08 20:41:11 +05:30 committed by GitHub
parent 0225d806cc
commit 6ce700fd5d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
149 changed files with 1518 additions and 919 deletions

View file

@ -1 +1 @@
export * from "./subscription-pill";
export * from "./subscription-pill";

View file

@ -14,7 +14,7 @@ export const ProductUpdatesHeader = observer(() => {
<div className="flex gap-2 mx-6 my-4 items-center justify-between flex-shrink-0">
<div className="flex w-full items-center">
<div className="flex gap-2 text-xl font-medium">{t("whats_new")}</div>
<div
<div
className={cn(
"px-2 mx-2 py-0.5 text-center text-xs font-medium rounded-full bg-custom-primary-100/20 text-custom-primary-100"
)}

View file

@ -4,5 +4,9 @@ import packageJson from "package.json";
export const PlaneVersionNumber: React.FC = () => {
const { t } = useTranslation();
return <span>{t("version")}: v{packageJson.version}</span>;
return (
<span>
{t("version")}: v{packageJson.version}
</span>
);
};

View file

@ -1 +1 @@
export * from "./root";
export * from "./root";

View file

@ -2,4 +2,3 @@ export * from "./provider";
export * from "./issue-type-select";
export * from "./additional-properties";
export * from "./template-select";

View file

@ -5,13 +5,17 @@ export const getRelationActivityContent = (activity: TIssueActivity | undefined)
switch (activity.field) {
case "blocking":
return activity.old_value === "" ? `marked this work item is blocking work item ` : `removed the blocking work item `;
return activity.old_value === ""
? `marked this work item is blocking work item `
: `removed the blocking work item `;
case "blocked_by":
return activity.old_value === ""
? `marked this work item is being blocked by `
: `removed this work item being blocked by work item `;
case "duplicate":
return activity.old_value === "" ? `marked this work item as duplicate of ` : `removed this work item as a duplicate of `;
return activity.old_value === ""
? `marked this work item as duplicate of `
: `removed this work item as a duplicate of `;
case "relates_to":
return activity.old_value === "" ? `marked that this work item relates to ` : `removed the relation from `;
}

View file

@ -1,2 +1,2 @@
export type TRenderSettingsLink = (workspaceSlug: string, settingKey: string) => boolean;
export const shouldRenderSettingLink: TRenderSettingsLink = (workspaceSlug, settingKey) => true;
export const shouldRenderSettingLink: TRenderSettingsLink = (workspaceSlug, settingKey) => true;

View file

@ -1,2 +1,2 @@
export * from "./estimate.service";
export * from "./view.service";
export * from "./view.service";

View file

@ -2,4 +2,4 @@ import { IPartialProject, IProject } from "@plane/types";
export type TPartialProject = IPartialProject;
export type TProject = TPartialProject & IProject;
export type TProject = TPartialProject & IProject;