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