Skip to content
This repository was archived by the owner on Jun 12, 2024. It is now read-only.

Commit b77c9be

Browse files
authored
chore: bump deps (#810)
* bump prettier/eslint-plugin * bump nuxt pwa * use typed imports * set vue version to fix layout errors * disable import
1 parent be2910e commit b77c9be

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+6563
-321
lines changed

frontend/.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ module.exports = {
2525
"vue/no-setup-props-destructure": 0,
2626
"vue/no-multiple-template-root": 0,
2727
"vue/no-v-model-argument": 0,
28+
"@typescript-eslint/consistent-type-imports": "error",
2829
"@typescript-eslint/ban-ts-comment": 0,
2930
"@typescript-eslint/no-unused-vars": [
3031
"error",

frontend/components/Item/AttachmentsList.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
</template>
2323

2424
<script setup lang="ts">
25-
import { ItemAttachment } from "~~/lib/api/types/data-contracts";
25+
import type { ItemAttachment } from "~~/lib/api/types/data-contracts";
2626
import MdiPaperclip from "~icons/mdi/paperclip";
2727
import MdiDownload from "~icons/mdi/download";
2828
import MdiOpenInNew from "~icons/mdi/open-in-new";

frontend/components/Item/Card.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
</template>
3535

3636
<script setup lang="ts">
37-
import { ItemOut, ItemSummary } from "~~/lib/api/types/data-contracts";
37+
import type { ItemOut, ItemSummary } from "~~/lib/api/types/data-contracts";
3838
import MdiShieldCheck from "~icons/mdi/shield-check";
3939
4040
const api = useUserApi();

frontend/components/Item/CreateModal.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
</template>
3636

3737
<script setup lang="ts">
38-
import { ItemCreate, LabelOut, LocationOut } from "~~/lib/api/types/data-contracts";
38+
import type { ItemCreate, LabelOut, LocationOut } from "~~/lib/api/types/data-contracts";
3939
import { useLabelStore } from "~~/stores/labels";
4040
import { useLocationStore } from "~~/stores/locations";
4141
import MdiPackageVariant from "~icons/mdi/package-variant";

frontend/components/Item/View/Selectable.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script setup lang="ts">
2-
import { ViewType } from "~~/composables/use-preferences";
3-
import { ItemSummary } from "~~/lib/api/types/data-contracts";
2+
import type { ViewType } from "~~/composables/use-preferences";
3+
import type { ItemSummary } from "~~/lib/api/types/data-contracts";
44
import MdiDotsVertical from "~icons/mdi/dots-vertical";
55
import MdiCardTextOutline from "~icons/mdi/card-text-outline";
66
import MdiTable from "~icons/mdi/table";

frontend/components/Item/View/Table.types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ItemSummary } from "~~/lib/api/types/data-contracts";
1+
import type { ItemSummary } from "~~/lib/api/types/data-contracts";
22

33
export type TableHeader = {
44
text: string;

frontend/components/Item/View/Table.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@
7474
</template>
7575

7676
<script setup lang="ts">
77-
import { TableData, TableHeader } from "./Table.types";
78-
import { ItemSummary } from "~~/lib/api/types/data-contracts";
77+
import type { TableData, TableHeader } from "./Table.types";
78+
import type { ItemSummary } from "~~/lib/api/types/data-contracts";
7979
import MdiArrowDown from "~icons/mdi/arrow-down";
8080
import MdiArrowUp from "~icons/mdi/arrow-up";
8181
import MdiCheck from "~icons/mdi/check";

frontend/components/Label/Chip.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup lang="ts">
2-
import { LabelOut, LabelSummary } from "~~/lib/api/types/data-contracts";
2+
import type { LabelOut, LabelSummary } from "~~/lib/api/types/data-contracts";
33
import MdiArrowRight from "~icons/mdi/arrow-right";
44
import MdiTagOutline from "~icons/mdi/tag-outline";
55

frontend/components/Location/Card.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
</template>
2929

3030
<script lang="ts" setup>
31-
import { LocationOut, LocationOutCount, LocationSummary } from "~~/lib/api/types/data-contracts";
31+
import type { LocationOut, LocationOutCount, LocationSummary } from "~~/lib/api/types/data-contracts";
3232
import MdiArrowRight from "~icons/mdi/arrow-right";
3333
import MdiMapMarkerOutline from "~icons/mdi/map-marker-outline";
3434

frontend/components/Location/CreateModal.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
</template>
3535

3636
<script setup lang="ts">
37-
import { LocationSummary } from "~~/lib/api/types/data-contracts";
37+
import type { LocationSummary } from "~~/lib/api/types/data-contracts";
3838
import MdiChevronDown from "~icons/mdi/chevron-down";
3939
const props = defineProps({
4040
modelValue: {

0 commit comments

Comments
 (0)