Skip to content

Commit

Permalink
nit re #10541, import types like modules
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtylerwalls committed Feb 20, 2024
1 parent c1eb5f5 commit 2ec0d27
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import type {
Label,
LanguageMap,
ValueType,
} from "@/types/ControlledListManager.d";
} from "@/types/ControlledListManager";
const props: {
item: ControlledListItem;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import type {
ControlledList,
ControlledListItem,
LanguageMap,
} from "@/types/ControlledListManager.d";
} from "@/types/ControlledListManager";
const ERROR = "error";
const lightGray = "#f4f4f4";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import type { Ref } from "vue";
import type {
ControlledList,
LanguageMap,
} from "@/types/ControlledListManager.d";
} from "@/types/ControlledListManager";
const props: {
displayedList: ControlledList | null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import type {
ControlledList,
ControlledListItem,
LanguageMap,
} from "@/types/ControlledListManager.d";
} from "@/types/ControlledListManager";
const buttonGreen = "#10b981";
const toast = useToast();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import type {
ControlledListItem,
Label,
LanguageMap,
} from "@/types/ControlledListManager.d";
} from "@/types/ControlledListManager";
const props: {
item: ControlledListItem;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
postItemToServer,
postListToServer,
} from "@/components/ControlledListManager/api.ts";
import type { Item } from "@/types/ControlledListManager.d";
import type { Item } from "@/types/ControlledListManager";
const props: {
item: Item;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import LabelEditor from "@/components/ControlledListManager/LabelEditor.vue";
import type {
ControlledListItem, LanguageMap,
} from "@/types/ControlledListManager.d";
} from "@/types/ControlledListManager";
const props: {
item: ControlledListItem;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import type {
Label,
LanguageMap,
ValueType,
} from "@/types/ControlledListManager.d";
} from "@/types/ControlledListManager";
const props: {
item: ControlledListItem;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { useGettext } from "vue3-gettext";
import EditLabel from "@/components/ControlledListManager/EditLabel.vue";
import type { ControlledListItem, Label, LanguageMap } from "@/types/ControlledListManager.d";
import type { ControlledListItem, Label, LanguageMap } from "@/types/ControlledListManager";
const props: {
item: ControlledListItem,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { useGettext } from "vue3-gettext";
import ItemCharacteristic from "@/components/ControlledListManager/ItemCharacteristic.vue";
import type { ControlledList } from "@/types/ControlledListManager.d";
import type { ControlledList } from "@/types/ControlledListManager";
const props: {
displayedList: ControlledList;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { computed } from "vue";
import { useGettext } from "vue3-gettext";
import type { ControlledList } from "@/types/ControlledListManager.d";
import type { ControlledList } from "@/types/ControlledListManager";
const { $gettext } = useGettext();
const slateBlue = "#2d3c4b"; // todo: import from theme somewhere
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import type { Ref } from "vue";
import type {
ControlledList,
ControlledListItem,
} from "@/types/ControlledListManager.d";
} from "@/types/ControlledListManager";
type Selectable = ControlledList | ControlledListItem;
type Selectables = ControlledList[] | ControlledListItem[];
Expand Down
2 changes: 1 addition & 1 deletion arches/app/src/components/ControlledListManager/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import type {
ControlledListItem,
Label,
NewLabel,
} from "@/types/controlledListManager.d";
} from "@/types/controlledListManager";

const DEFAULT_TOAST_LIFE = 5000;
const ERROR = "error";
Expand Down
2 changes: 1 addition & 1 deletion arches/app/src/plugins/ControlledListManager.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import ControlledListInventory from "@/components/ControlledListManager/Controll
import ControlledListEditor from "@/components/ControlledListManager/ControlledListEditor.vue";
import type { Ref } from "vue";
import type { ControlledList, LanguageMap } from "@/types/ControlledListManager.d";
import type { ControlledList, LanguageMap } from "@/types/ControlledListManager";
const displayedList: Ref<ControlledList | null> = ref(null);
const setDisplayedList = (list: ControlledList | null) => {
Expand Down

0 comments on commit 2ec0d27

Please sign in to comment.