chore: lint
This commit is contained in:
@ -1,2 +1,5 @@
|
|||||||
dist
|
dist
|
||||||
node_modules
|
node_modules
|
||||||
|
docs
|
||||||
|
.github
|
||||||
|
.vscode
|
||||||
|
|||||||
@ -9,6 +9,7 @@ export const wsError = ref<any>()
|
|||||||
export const wsConnectingDebounced = useDebounce(wsConnecting, 2000)
|
export const wsConnectingDebounced = useDebounce(wsConnecting, 2000)
|
||||||
|
|
||||||
const connectPromise = connectVite()
|
const connectPromise = connectVite()
|
||||||
|
// eslint-disable-next-line @typescript-eslint/ban-types
|
||||||
let onMessage: Function = () => {}
|
let onMessage: Function = () => {}
|
||||||
|
|
||||||
export const clientFunctions = {
|
export const clientFunctions = {
|
||||||
|
|||||||
@ -25,7 +25,7 @@ export interface ClientFunctions {
|
|||||||
|
|
||||||
export interface Collection {
|
export interface Collection {
|
||||||
name: string
|
name: string
|
||||||
fields?: {}[]
|
fields?: object[]
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface Resource {
|
export interface Resource {
|
||||||
|
|||||||
@ -11,5 +11,5 @@ export interface NuxtDevtoolsServerContext {
|
|||||||
|
|
||||||
refresh: (event: keyof ServerFunctions) => void
|
refresh: (event: keyof ServerFunctions) => void
|
||||||
|
|
||||||
extendServerRpc: <ClientFunctions = {}, ServerFunctions = {}>(name: string, functions: ServerFunctions) => BirpcGroup<ClientFunctions, ServerFunctions>
|
extendServerRpc: <ClientFunctions = object, ServerFunctions = object>(name: string, functions: ServerFunctions) => BirpcGroup<ClientFunctions, ServerFunctions>
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user