@methodus/server
Version:
Server components for @methodus workflow
14 lines (13 loc) • 726 B
TypeScript
import { ScreenModel } from '../models/screen.model';
import { MethodResult } from '@methodus/framework-decorators/commons';
export declare class TestController {
constructor();
testTypes(date: Date, astring: string, bool: boolean): Promise<MethodResult>;
list(auth?: string, orderBy?: string): Promise<any>;
listdefaults(params: any, body: any, headers: any, files: any, cookies: any, query: any, res: any, req: any, securityContext: any): Promise<any>;
create(item: ScreenModel): Promise<MethodResult<ScreenModel>>;
read(playerId: number): Promise<void>;
getByField(field: any, value: number): Promise<MethodResult<{}>>;
update(): Promise<MethodResult<{}>>;
delete(): MethodResult<{}>;
}