Skip to content

Commit 7e2826b

Browse files
committed
style: make vue-tsc happy
1 parent a715db6 commit 7e2826b

File tree

10 files changed

+11
-8
lines changed

10 files changed

+11
-8
lines changed

components/custom/CAS/Record/NewActivityRecord.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ const formSchema = toTypedSchema(z.object({
3434
}))
3535
3636
const { data } = await useAsyncData<AllClubs>('allClubs', () => {
37+
// @ts-expect-error TS2321
3738
return $fetch('/api/user/all_clubs?includeMemberships=true', {
3839
headers: useRequestHeaders(),
3940
method: 'GET',

components/ui/chart/ChartLegend.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ onMounted(() => {
2020
const selector = `.${BulletLegend.selectors.item}`
2121
nextTick(() => {
2222
const elements = elRef.value?.querySelectorAll(selector)
23-
const classes = buttonVariants({ variant: 'ghost', size: 'xs' }).split(' ')
23+
const classes = buttonVariants({ variant: 'ghost', size: 'sm' }).split(' ')
2424
2525
elements?.forEach(el => el.classList.add(...classes, '!inline-flex', '!mr-2'))
2626
})

components/ui/multiselect/Multiselect.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ interface MultiSelectProps {
7070
7171
const isPopoverOpen = ref(false)
7272
const isAnimating = ref(false)
73-
const buttonRef = ref(null)
73+
const buttonRef = ref(undefined)
7474
7575
const selectedValues = useVModel(props, 'modelValue', emits, {
7676
passive: false,

components/ui/tags-input/TagsInput.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script setup lang="ts">
22
import { type HTMLAttributes, computed } from 'vue'
33
import { TagsInputRoot, type TagsInputRootEmits, type TagsInputRootProps, useForwardPropsEmits } from 'radix-vue'
4-
import { cn } from '@/utils'
4+
import { cn } from '@/lib/utils'
55
66
const props = defineProps<TagsInputRootProps & { class?: HTMLAttributes['class'] }>()
77
const emits = defineEmits<TagsInputRootEmits>()

components/ui/tags-input/TagsInputInput.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script setup lang="ts">
22
import { type HTMLAttributes, computed } from 'vue'
33
import { TagsInputInput, type TagsInputInputProps, useForwardProps } from 'radix-vue'
4-
import { cn } from '@/utils'
4+
import { cn } from '@/lib/utils'
55
66
const props = defineProps<TagsInputInputProps & { class?: HTMLAttributes['class'] }>()
77

components/ui/tags-input/TagsInputItem.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import { type HTMLAttributes, computed } from 'vue'
33
import { TagsInputItem, type TagsInputItemProps, useForwardProps } from 'radix-vue'
44
5-
import { cn } from '@/utils'
5+
import { cn } from '@/lib/utils'
66
77
const props = defineProps<TagsInputItemProps & { class?: HTMLAttributes['class'] }>()
88

components/ui/tags-input/TagsInputItemDelete.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import { type HTMLAttributes, computed } from 'vue'
33
import { TagsInputItemDelete, type TagsInputItemDeleteProps, useForwardProps } from 'radix-vue'
44
import { X } from 'lucide-vue-next'
5-
import { cn } from '@/utils'
5+
import { cn } from '@/lib/utils'
66
77
const props = defineProps<TagsInputItemDeleteProps & { class?: HTMLAttributes['class'] }>()
88

components/ui/tags-input/TagsInputItemText.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script setup lang="ts">
22
import { type HTMLAttributes, computed } from 'vue'
33
import { TagsInputItemText, type TagsInputItemTextProps, useForwardProps } from 'radix-vue'
4-
import { cn } from '@/utils'
4+
import { cn } from '@/lib/utils'
55
66
const props = defineProps<TagsInputItemTextProps & { class?: HTMLAttributes['class'] }>()
77

db/migrations/migration_lock.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Please do not edit this file manually
22
# It should be added in your version-control system (i.e. Git)
3-
provider = "cockroachdb"
3+
provider = "cockroachdb"

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
"unstorage": "^1.10.2",
4040
"uuid": "^10.0.0",
4141
"v-calendar": "^3.1.2",
42+
"vaul-vue": "^0.2.0",
4243
"vee-validate": "^4.13.1",
4344
"vue-clerk": "^0.4.3",
4445
"zod": "^3.23.8"
@@ -54,6 +55,7 @@
5455
"@sentry/profiling-node": "^7.110.0",
5556
"@sentry/vue": "^8.9.2",
5657
"@tailwindcss/typography": "^0.5.13",
58+
"@types/node-fetch": "^2.6.11",
5759
"@types/uuid": "^9.0.8",
5860
"@types/ws": "^8.5.10",
5961
"dayjs-nuxt": "^2.1.9",

0 commit comments

Comments
 (0)