UNPKG

@povio/openapi-codegen-cli

Version:

**NOTE:** This CLI tool is primarily designed for use within our organization. The generated code output aligns with our internal template. If you are using this tool without our internal template, make sure to use it in **standalone** mode.

12 lines (11 loc) 937 B
import { GenerateOptions } from "src/generators/types/options"; import { Endpoint } from "src/generators/types/endpoint"; export declare const getAbilityTypeName: (endpoint: Endpoint) => string; export declare const getAbilityFunctionName: (endpoint: Endpoint) => string; export declare const getImportedAbilityFunctionName: (endpoint: Endpoint, options: GenerateOptions) => string; export declare const getAbilityAction: (endpoint: Endpoint) => string | undefined; export declare const getAbilitySubject: (endpoint: Endpoint) => string | undefined; export declare const hasAbilityConditions: (endpoint: Endpoint) => boolean; export declare const getAbilityConditionsTypes: (endpoint: Endpoint) => import("src/generators/types/endpoint").AclConditionsPropertyType[] | undefined; export declare const getAbilityDescription: (endpoint: Endpoint) => string | undefined; export declare const getTagAllAbilitiesName: (tag: string) => string;