Skip to content

ResourceRestOptions

@tsed/formio

Usage

typescript
import { ResourceRestOptions } from "@tsed/formio";

See /packages/third-parties/formio/src/types/domain/Resource.ts.

Overview

ts
interface ResourceRestOptions extends ResourceHttpMethodOptions {
    beforePut?: ResourceHttpHandler;
    beforePatch?: ResourceHttpHandler;
    beforePost?: ResourceHttpHandler;
    beforeIndex?: ResourceHttpHandler;
    beforeGet?: ResourceHttpHandler;
    afterPut?: ResourceHttpHandler;
    afterPatch?: ResourceHttpHandler;
    afterPost?: ResourceHttpHandler;
    afterIndex?: ResourceHttpHandler;
    afterGet?: ResourceHttpHandler;
}

beforePut

ts
beforePut?: ResourceHttpHandler;

beforePatch

ts
beforePatch?: ResourceHttpHandler;

beforePost

ts
beforePost?: ResourceHttpHandler;

beforeIndex

ts
beforeIndex?: ResourceHttpHandler;

beforeGet

ts
beforeGet?: ResourceHttpHandler;

afterPut

ts
afterPut?: ResourceHttpHandler;

afterPatch

ts
afterPatch?: ResourceHttpHandler;

afterPost

ts
afterPost?: ResourceHttpHandler;

afterIndex

ts
afterIndex?: ResourceHttpHandler;

afterGet

ts
afterGet?: ResourceHttpHandler;

Released under the MIT License.