1 | import { ServiceOptions } from './declarations';
|
2 | export declare const SERVICE: string | symbol;
|
3 | export declare const defaultServiceArguments: {
|
4 | find: string[];
|
5 | get: string[];
|
6 | create: string[];
|
7 | update: string[];
|
8 | patch: string[];
|
9 | remove: string[];
|
10 | };
|
11 | export declare const defaultServiceMethods: string[];
|
12 | export declare const defaultEventMap: {
|
13 | create: string;
|
14 | update: string;
|
15 | patch: string;
|
16 | remove: string;
|
17 | };
|
18 | export declare const defaultServiceEvents: string[];
|
19 | export declare const protectedMethods: string[];
|
20 | export declare function getHookMethods(service: any, options: ServiceOptions): string[];
|
21 | export declare function getServiceOptions(service: any): ServiceOptions;
|
22 | export declare const normalizeServiceOptions: (service: any, options?: ServiceOptions) => ServiceOptions;
|
23 | export declare function wrapService(location: string, service: any, options: ServiceOptions): any;
|