mirror of https://github.com/nocodb/nocodb
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
853 B
36 lines
853 B
2 years ago
|
import type { Api as BaseAPI } from 'nocodb-sdk'
|
||
2 years ago
|
import type { I18n } from 'vue-i18n'
|
||
2 years ago
|
import type { UseGlobalReturn } from './composables/useGlobal/types'
|
||
2 years ago
|
|
||
2 years ago
|
import type en from './lang/en.json'
|
||
|
|
||
|
type MessageSchema = typeof en
|
||
|
|
||
3 years ago
|
declare module '#app/nuxt' {
|
||
2 years ago
|
interface NuxtApp {
|
||
2 years ago
|
$api: BaseAPI<any>
|
||
|
/** {@link import('./plugins/tele') Telemetry} */
|
||
2 years ago
|
$tele: {
|
||
|
emit: (event: string, data: any) => void
|
||
|
}
|
||
2 years ago
|
/** {@link import('./plugins/tele') Telemetry} Emit telemetry event */
|
||
2 years ago
|
$e: (event: string, data?: any) => void
|
||
2 years ago
|
$state: UseGlobalReturn
|
||
3 years ago
|
}
|
||
|
}
|
||
2 years ago
|
|
||
2 years ago
|
declare module '@vue/runtime-core' {
|
||
2 years ago
|
interface App {
|
||
2 years ago
|
i18n: I18n<MessageSchema, unknown, unknown, false>['global']
|
||
2 years ago
|
}
|
||
|
}
|
||
2 years ago
|
|
||
|
declare module 'vue-router' {
|
||
|
interface RouteMeta {
|
||
|
requiresAuth?: boolean
|
||
|
public?: boolean
|
||
2 years ago
|
hideHeader?: boolean
|
||
2 years ago
|
title?: string
|
||
2 years ago
|
}
|
||
|
}
|