UNPKG

type2docfx

Version:

A tool to convert json format output from TypeDoc to schema driven reference model for DocFx to consume.

48 lines 1.47 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Context = void 0; var Context = /** @class */ (function () { function Context(parentUid, parentKind, packageName, references) { this.packageName = packageName; this.parentUid = parentUid; this.parentKind = parentKind; this.references = references; } Object.defineProperty(Context.prototype, "PackageName", { get: function () { return this.packageName; }, enumerable: false, configurable: true }); Object.defineProperty(Context.prototype, "References", { get: function () { return this.references; }, enumerable: false, configurable: true }); Object.defineProperty(Context.prototype, "ParentUid", { get: function () { if (this.parentUid === '') { return this.PackageName; } return this.parentUid; }, set: function (uid) { this.parentUid = uid; }, enumerable: false, configurable: true }); Object.defineProperty(Context.prototype, "ParentKind", { get: function () { return this.parentKind; }, enumerable: false, configurable: true }); return Context; }()); exports.Context = Context; //# sourceMappingURL=context.js.map