import { Service } from '@feathersjs/feathers'; export interface FeathersVuexOptions { serverAlias: string; addOnUpsert?: boolean; autoRemove?: boolean; debug?: boolean; enableEvents?: boolean; handleEvents?: HandleEvents; idField?: string; tempIdField?: string; keepCopiesInStore?: boolean; nameStyle?: string; paramsForServer?: string[]; preferUpdate?: boolean; replaceItems?: boolean; skipRequestIfExists?: boolean; whitelist?: string[]; } export interface HandleEvents { created?: Function; patched?: Function; updated?: Function; removed?: Function; } export interface MakeServicePluginOptions { Model: any; service: Service; idField?: string; tempIdField?: string; addOnUpsert?: boolean; autoRemove?: boolean; debug?: boolean; enableEvents?: boolean; preferUpdate?: boolean; replaceItems?: boolean; skipRequestIfExists?: boolean; nameStyle?: string; servicePath?: string; namespace?: string; whitelist?: string[]; paramsForServer?: string[]; instanceDefaults?: () => {}; setupInstance?: (data: any, { models, store }: { models: any; store: any; }) => {}; handleEvents?: HandleEvents; state?: {}; getters?: {}; mutations?: {}; actions?: {}; }