move consts.ts from @/types to @/script
This commit is contained in:
parent
6ee1049731
commit
75899aeb51
2 changed files with 3 additions and 3 deletions
|
@ -43,7 +43,7 @@ import { definePageMetadata } from "@/scripts/page-metadata";
|
|||
import { i18n } from "@/i18n";
|
||||
import icon from "@/scripts/icon";
|
||||
import type { NoteVisibility } from "@/types/client-types";
|
||||
import { noteVisibilitiesClient } from "@/types/consts";
|
||||
import { noteVisibilitiesClient } from "@/scripts/consts";
|
||||
|
||||
const urlParams = new URLSearchParams(window.location.search);
|
||||
const localOnlyQuery = urlParams.get("localOnly");
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { noteVisibilities } from "firefish-js";
|
||||
import type { NoteVisibility } from "./client-types";
|
||||
import type { NoteVisibility } from "../types/client-types";
|
||||
|
||||
export const noteVisibilitiesClient: NoteVisibility[] = (
|
||||
export const noteVisibilitiesClient = (
|
||||
noteVisibilities as readonly NoteVisibility[]
|
||||
).concat("private");
|
Loading…
Reference in a new issue