diff --git a/.gitignore b/.gitignore index 26728c7c..acda0895 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,11 @@ .cache dist +# Regenerated on every `nuxt prepare` by whichever app extends this layer +# (see nuxt.config.ts in Vease/Vease-Modeling for why it must be self-contained); +# its content depends on the consumer that generated it, so it can't be committed. +/tsconfig.json + # Node dependencies node_modules @@ -36,7 +41,6 @@ pnpm-lock.yaml VTK.txt *.nuxtrc -# Compiled Node-safe siblings of server/utils/ and shared/ (see scripts/build_node_utils.ts) -/server/**/*.js -/shared/**/*.js +# Compiled Node-safe build of server/utils/ and shared/ (see rolldown.config.ts) +/.build /opengeodeweb_front_schemas.js \ No newline at end of file diff --git a/app/components/ActionButton.vue b/app/components/ActionButton.vue index afba77a9..5ca60b5a 100644 --- a/app/components/ActionButton.vue +++ b/app/components/ActionButton.vue @@ -6,10 +6,8 @@ interface Props { tooltip: string; color?: string; size?: string | number; - // Vuetify's variant/density accept narrow literal unions; kept loose here since - // Callers pass plain strings and this is only a typing widening, not a behavior change. - variant?: any; - density?: any; + variant?: unknown; + density?: unknown; tooltipLocation?: string; iconSize?: string | number; } @@ -25,9 +23,11 @@ const { iconSize = DEFAULT_ICON_SIZE, } = defineProps(); -const emit = defineEmits<{ +interface Emits { click: [event: MouseEvent]; -}>(); +} + +const emit = defineEmits();