UNPKG

@nestia/sdk

Version:

Nestia SDK and Swagger generator

15 lines 494 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SdkRouteDirectory = void 0; class SdkRouteDirectory { constructor(parent, name) { this.parent = parent; this.name = name; this.children = new Map(); this.routes = []; this.module = this.parent !== null ? `${this.parent.module}.${name}` : `api.${name}`; } } exports.SdkRouteDirectory = SdkRouteDirectory; //# sourceMappingURL=SdkRouteDirectory.js.map