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.

8 lines (7 loc) 457 B
import { ObjectLiteral } from "src/generators/types/common"; /** @see https://gist.github.com/RubyTuesdayDONO/5006455 */ export declare function topologicalSort(graph: Record<string, Set<string>>): string[]; /** Sort object keys using a reference order array, sort keys not in reference order in lasts positions */ export declare function sortObjKeysFromArray<T extends ObjectLiteral>(obj: T, orderedKeys: Array<keyof T>): { [k: string]: T[keyof T]; };