MCPcopy
hub / github.com/vuejs/vuefire / OperationsType

Interface OperationsType

src/shared.ts:16–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14export const isClient = typeof window !== 'undefined'
15
16export interface OperationsType {
17 set<T extends object = Record<any, unknown>>(
18 target: T,
19 // accepts a dot delimited path
20 path: string | number,
21 value: T[any]
22 ): T[any] | T[any][]
23 add<T extends unknown = unknown>(array: T[], index: number, data: T): T[]
24 remove<T extends unknown = unknown>(array: T[], index: number): T[]
25}
26
27/**
28 * Allow resetting a subscription vue ref when the source changes or is removed. `false` keeps the value as is while

Callers 12

storage.plugin.tsFile · 0.80
auth.plugin.tsFile · 0.80
database.plugin.tsFile · 0.80
plugin.server.tsFile · 0.80
getGlobalScopeFunction · 0.80
databasePluginFunction · 0.80
bindCollectionFunction · 0.80
_collectionFunction · 0.80
_docFunction · 0.80
bindCollectionFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected