mirror of
https://github.com/hex248/sprint.git
synced 2026-02-07 18:23:03 +00:00
use import alias
This commit is contained in:
@@ -8,6 +8,7 @@ import { IssuesTable } from "@/components/issues-table";
|
||||
import LogOutButton from "@/components/log-out-button";
|
||||
import { OrganisationSelect } from "@/components/organisation-select";
|
||||
import { ProjectSelect } from "@/components/project-select";
|
||||
import { ServerConfigurationDialog } from "@/components/server-configuration-dialog";
|
||||
import SmallUserDisplay from "@/components/small-user-display";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import {
|
||||
@@ -20,7 +21,6 @@ import {
|
||||
} from "@/components/ui/dropdown-menu";
|
||||
import { ResizablePanel, ResizablePanelGroup, ResizableSeparator } from "@/components/ui/resizable";
|
||||
import { issue, organisation, project } from "@/lib/server";
|
||||
import { ServerConfigurationDialog } from "./components/server-configuration-dialog";
|
||||
|
||||
function Index() {
|
||||
const user = JSON.parse(localStorage.getItem("user") || "{}") as UserRecord;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { type ChangeEvent, useMemo, useState } from "react";
|
||||
import { Input } from "./input";
|
||||
import { Label } from "./label";
|
||||
import { Input } from "@/components/ui/input";
|
||||
import { Label } from "@/components/ui/label";
|
||||
|
||||
export function Field({
|
||||
label,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
export * as issue from "./issue";
|
||||
export * as organisation from "./organisation";
|
||||
export * as project from "./project";
|
||||
export * as user from "./user";
|
||||
export * as issue from "@/lib/server/issue";
|
||||
export * as organisation from "@/lib/server/organisation";
|
||||
export * as project from "@/lib/server/project";
|
||||
export * as user from "@/lib/server/user";
|
||||
|
||||
export type ServerQueryInput = {
|
||||
onSuccess?: (data: any, res: Response) => void;
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
export { byProject } from "./byProject";
|
||||
export { create } from "./create";
|
||||
export { byProject } from "@/lib/server/issue/byProject";
|
||||
export { create } from "@/lib/server/issue/create";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
export { addMember } from "./addMember";
|
||||
export { byUser } from "./byUser";
|
||||
export { create } from "./create";
|
||||
export { members } from "./members";
|
||||
export { removeMember } from "./removeMember";
|
||||
export { addMember } from "@/lib/server/organisation/addMember";
|
||||
export { byUser } from "@/lib/server/organisation/byUser";
|
||||
export { create } from "@/lib/server/organisation/create";
|
||||
export { members } from "@/lib/server/organisation/members";
|
||||
export { removeMember } from "@/lib/server/organisation/removeMember";
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
export { byOrganisation } from "./byOrganisation";
|
||||
export { create } from "./create";
|
||||
export { byOrganisation } from "@/lib/server/project/byOrganisation";
|
||||
export { create } from "@/lib/server/project/create";
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
export { byUsername } from "./byUsername";
|
||||
export { update } from "./update";
|
||||
export { uploadAvatar } from "./uploadAvatar";
|
||||
export { byUsername } from "@/lib/server/user/byUsername";
|
||||
export { update } from "@/lib/server/user/update";
|
||||
export { uploadAvatar } from "@/lib/server/user/uploadAvatar";
|
||||
|
||||
Reference in New Issue
Block a user