UNPKG

@tsed/schema

Version:
26 lines (25 loc) 983 B
import { Type } from "@tsed/core"; import { JsonMethodStore } from "./JsonMethodStore.js"; import { JsonMethodPath, JsonOperation } from "./JsonOperation.js"; export declare class JsonOperationRoute<Entity extends JsonMethodStore = JsonMethodStore> { readonly token: Type<any>; readonly endpoint: Entity; readonly operationPath?: JsonMethodPath; readonly basePath?: string; readonly paramsTypes: Record<string, boolean>; constructor(options: Partial<JsonOperationRoute>); get url(): any; get path(): string | RegExp | undefined; get fullPath(): any; get method(): string; get name(): string; get className(): string; get methodClassName(): string; get parameters(): import("./JsonParameterStore.js").JsonParameterStore[]; get propertyKey(): string; get propertyName(): string; get store(): import("@tsed/core").Store; get operation(): JsonOperation; get operationId(): any; has(key: string): boolean; }