refactor(ui): strong type pages ref
[e-mobility-charging-stations-simulator.git] / ui / web / src / components / actions / AddChargingStations.vue
index 9c7224fb02f3ffac512c41490d1f96a22f8703fc..f3450e1b0d307cfe1f6ad7c0d82e91644e32bace 100644 (file)
@@ -103,7 +103,15 @@ import { useToast } from 'vue-toast-notification'
 import Button from '@/components/buttons/Button.vue'
 import { convertToBoolean } from '@/composables'
 
-const state = ref({
+const state = ref<{
+  template: string
+  numberOfStations: number
+  supervisionUrl: string
+  autoStart: boolean
+  persistentConfiguration: boolean
+  ocppStrictCompliance: boolean
+  enableStatistics: boolean
+}>({
   template: '',
   numberOfStations: 1,
   supervisionUrl: '',