fix(QRCodeCreate.vue): update data initialization to use VITE_DEFAULT_DATA_TO_ENCODE value from environment variables if available, ensuring a default data value for encoding in the QR code creation component
17 lines
444 B
TypeScript
17 lines
444 B
TypeScript
/// <reference types="vite/client" />
|
|
|
|
interface ImportMetaEnv {
|
|
readonly BASE_PATH?: string
|
|
readonly VITE_HIDE_CREDITS?: string
|
|
readonly VITE_DEFAULT_PRESET?: string
|
|
readonly VITE_DEFAULT_DATA_TO_ENCODE?: string
|
|
readonly VITE_QR_CODE_PRESETS?: string
|
|
readonly VITE_FRAME_PRESET?: string
|
|
readonly VITE_FRAME_PRESETS?: string
|
|
readonly VITE_DISABLE_LOCAL_STORAGE?: string
|
|
}
|
|
|
|
interface ImportMeta {
|
|
readonly env: ImportMetaEnv
|
|
}
|