fern-api 0.40.0 → 0.40.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle.cjs +431 -268
- package/package.json +1 -1
package/bundle.cjs
CHANGED
|
@@ -23565,7 +23565,7 @@ var require_Client14 = __commonJS({
|
|
|
23565
23565
|
var core3 = __importStar(require_core());
|
|
23566
23566
|
var FernRegistry3 = __importStar(require_api2());
|
|
23567
23567
|
var url_join_1 = __importDefault(require_url_join());
|
|
23568
|
-
var
|
|
23568
|
+
var Versions3 = class {
|
|
23569
23569
|
constructor(_options2 = {}) {
|
|
23570
23570
|
this._options = _options2;
|
|
23571
23571
|
}
|
|
@@ -23622,7 +23622,7 @@ var require_Client14 = __commonJS({
|
|
|
23622
23622
|
});
|
|
23623
23623
|
}
|
|
23624
23624
|
};
|
|
23625
|
-
exports2.Versions =
|
|
23625
|
+
exports2.Versions = Versions3;
|
|
23626
23626
|
}
|
|
23627
23627
|
});
|
|
23628
23628
|
|
|
@@ -26830,7 +26830,8 @@ var init_RedirectConfig = __esm({
|
|
|
26830
26830
|
init_core();
|
|
26831
26831
|
RedirectConfig = schemas_exports.object({
|
|
26832
26832
|
source: schemas_exports.string(),
|
|
26833
|
-
destination: schemas_exports.string()
|
|
26833
|
+
destination: schemas_exports.string(),
|
|
26834
|
+
permanent: schemas_exports.boolean().optional()
|
|
26834
26835
|
});
|
|
26835
26836
|
}
|
|
26836
26837
|
});
|
|
@@ -34265,7 +34266,7 @@ var require_Client20 = __commonJS({
|
|
|
34265
34266
|
var FernRegistry3 = __importStar(require_api3());
|
|
34266
34267
|
var serializers = __importStar(require_serialization());
|
|
34267
34268
|
var url_join_1 = __importDefault(require_url_join());
|
|
34268
|
-
var
|
|
34269
|
+
var Cli2 = class {
|
|
34269
34270
|
constructor(_options2 = {}) {
|
|
34270
34271
|
this._options = _options2;
|
|
34271
34272
|
}
|
|
@@ -34559,7 +34560,7 @@ var require_Client20 = __commonJS({
|
|
|
34559
34560
|
});
|
|
34560
34561
|
}
|
|
34561
34562
|
};
|
|
34562
|
-
exports2.Cli =
|
|
34563
|
+
exports2.Cli = Cli2;
|
|
34563
34564
|
}
|
|
34564
34565
|
});
|
|
34565
34566
|
|
|
@@ -34636,7 +34637,7 @@ var require_Client21 = __commonJS({
|
|
|
34636
34637
|
var FernRegistry3 = __importStar(require_api3());
|
|
34637
34638
|
var serializers = __importStar(require_serialization());
|
|
34638
34639
|
var url_join_1 = __importDefault(require_url_join());
|
|
34639
|
-
var
|
|
34640
|
+
var Versions3 = class {
|
|
34640
34641
|
constructor(_options2 = {}) {
|
|
34641
34642
|
this._options = _options2;
|
|
34642
34643
|
}
|
|
@@ -34894,7 +34895,7 @@ var require_Client21 = __commonJS({
|
|
|
34894
34895
|
});
|
|
34895
34896
|
}
|
|
34896
34897
|
};
|
|
34897
|
-
exports2.Versions =
|
|
34898
|
+
exports2.Versions = Versions3;
|
|
34898
34899
|
}
|
|
34899
34900
|
});
|
|
34900
34901
|
|
|
@@ -34973,7 +34974,7 @@ var require_Client22 = __commonJS({
|
|
|
34973
34974
|
var url_join_1 = __importDefault(require_url_join());
|
|
34974
34975
|
var Client_1 = require_Client20();
|
|
34975
34976
|
var Client_2 = require_Client21();
|
|
34976
|
-
var
|
|
34977
|
+
var Generators2 = class {
|
|
34977
34978
|
constructor(_options2 = {}) {
|
|
34978
34979
|
this._options = _options2;
|
|
34979
34980
|
}
|
|
@@ -35104,7 +35105,7 @@ var require_Client22 = __commonJS({
|
|
|
35104
35105
|
});
|
|
35105
35106
|
}
|
|
35106
35107
|
};
|
|
35107
|
-
exports2.Generators =
|
|
35108
|
+
exports2.Generators = Generators2;
|
|
35108
35109
|
}
|
|
35109
35110
|
});
|
|
35110
35111
|
|
|
@@ -416780,7 +416781,7 @@ var require_Client33 = __commonJS({
|
|
|
416780
416781
|
var FernRegistry3 = __importStar(require_api6());
|
|
416781
416782
|
var serializers = __importStar(require_serialization4());
|
|
416782
416783
|
var url_join_1 = __importDefault(require_url_join());
|
|
416783
|
-
var
|
|
416784
|
+
var Cli2 = class {
|
|
416784
416785
|
constructor(_options2 = {}) {
|
|
416785
416786
|
this._options = _options2;
|
|
416786
416787
|
}
|
|
@@ -417074,7 +417075,7 @@ var require_Client33 = __commonJS({
|
|
|
417074
417075
|
});
|
|
417075
417076
|
}
|
|
417076
417077
|
};
|
|
417077
|
-
exports2.Cli =
|
|
417078
|
+
exports2.Cli = Cli2;
|
|
417078
417079
|
}
|
|
417079
417080
|
});
|
|
417080
417081
|
|
|
@@ -417151,7 +417152,7 @@ var require_Client34 = __commonJS({
|
|
|
417151
417152
|
var FernRegistry3 = __importStar(require_api6());
|
|
417152
417153
|
var serializers = __importStar(require_serialization4());
|
|
417153
417154
|
var url_join_1 = __importDefault(require_url_join());
|
|
417154
|
-
var
|
|
417155
|
+
var Versions3 = class {
|
|
417155
417156
|
constructor(_options2 = {}) {
|
|
417156
417157
|
this._options = _options2;
|
|
417157
417158
|
}
|
|
@@ -417409,7 +417410,7 @@ var require_Client34 = __commonJS({
|
|
|
417409
417410
|
});
|
|
417410
417411
|
}
|
|
417411
417412
|
};
|
|
417412
|
-
exports2.Versions =
|
|
417413
|
+
exports2.Versions = Versions3;
|
|
417413
417414
|
}
|
|
417414
417415
|
});
|
|
417415
417416
|
|
|
@@ -417488,7 +417489,7 @@ var require_Client35 = __commonJS({
|
|
|
417488
417489
|
var url_join_1 = __importDefault(require_url_join());
|
|
417489
417490
|
var Client_1 = require_Client33();
|
|
417490
417491
|
var Client_2 = require_Client34();
|
|
417491
|
-
var
|
|
417492
|
+
var Generators2 = class {
|
|
417492
417493
|
constructor(_options2 = {}) {
|
|
417493
417494
|
this._options = _options2;
|
|
417494
417495
|
}
|
|
@@ -417619,7 +417620,7 @@ var require_Client35 = __commonJS({
|
|
|
417619
417620
|
});
|
|
417620
417621
|
}
|
|
417621
417622
|
};
|
|
417622
|
-
exports2.Generators =
|
|
417623
|
+
exports2.Generators = Generators2;
|
|
417623
417624
|
}
|
|
417624
417625
|
});
|
|
417625
417626
|
|
|
@@ -460041,9 +460042,9 @@ var require_commons14 = __commonJS({
|
|
|
460041
460042
|
};
|
|
460042
460043
|
var __reExport = (target, mod, secondTarget) => (__copyProps2(target, mod, "default"), secondTarget && __copyProps2(secondTarget, mod, "default"));
|
|
460043
460044
|
var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
|
460044
|
-
var
|
|
460045
|
-
module2.exports = __toCommonJS(
|
|
460046
|
-
__reExport(
|
|
460045
|
+
var commons_exports15 = {};
|
|
460046
|
+
module2.exports = __toCommonJS(commons_exports15);
|
|
460047
|
+
__reExport(commons_exports15, require_types71(), module2.exports);
|
|
460047
460048
|
}
|
|
460048
460049
|
});
|
|
460049
460050
|
|
|
@@ -461007,9 +461008,9 @@ var require_commons15 = __commonJS({
|
|
|
461007
461008
|
};
|
|
461008
461009
|
var __reExport = (target, mod, secondTarget) => (__copyProps2(target, mod, "default"), secondTarget && __copyProps2(secondTarget, mod, "default"));
|
|
461009
461010
|
var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
|
461010
|
-
var
|
|
461011
|
-
module2.exports = __toCommonJS(
|
|
461012
|
-
__reExport(
|
|
461011
|
+
var commons_exports15 = {};
|
|
461012
|
+
module2.exports = __toCommonJS(commons_exports15);
|
|
461013
|
+
__reExport(commons_exports15, require_types77(), module2.exports);
|
|
461013
461014
|
}
|
|
461014
461015
|
});
|
|
461015
461016
|
|
|
@@ -463463,9 +463464,9 @@ var require_commons16 = __commonJS({
|
|
|
463463
463464
|
};
|
|
463464
463465
|
var __reExport = (target, mod, secondTarget) => (__copyProps2(target, mod, "default"), secondTarget && __copyProps2(secondTarget, mod, "default"));
|
|
463465
463466
|
var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
|
463466
|
-
var
|
|
463467
|
-
module2.exports = __toCommonJS(
|
|
463468
|
-
__reExport(
|
|
463467
|
+
var commons_exports15 = {};
|
|
463468
|
+
module2.exports = __toCommonJS(commons_exports15);
|
|
463469
|
+
__reExport(commons_exports15, require_types83(), module2.exports);
|
|
463469
463470
|
}
|
|
463470
463471
|
});
|
|
463471
463472
|
|
|
@@ -467010,9 +467011,9 @@ var require_commons17 = __commonJS({
|
|
|
467010
467011
|
};
|
|
467011
467012
|
var __reExport = (target, mod, secondTarget) => (__copyProps2(target, mod, "default"), secondTarget && __copyProps2(secondTarget, mod, "default"));
|
|
467012
467013
|
var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
|
467013
|
-
var
|
|
467014
|
-
module2.exports = __toCommonJS(
|
|
467015
|
-
__reExport(
|
|
467014
|
+
var commons_exports15 = {};
|
|
467015
|
+
module2.exports = __toCommonJS(commons_exports15);
|
|
467016
|
+
__reExport(commons_exports15, require_types92(), module2.exports);
|
|
467016
467017
|
}
|
|
467017
467018
|
});
|
|
467018
467019
|
|
|
@@ -470557,9 +470558,9 @@ var require_commons18 = __commonJS({
|
|
|
470557
470558
|
};
|
|
470558
470559
|
var __reExport = (target, mod, secondTarget) => (__copyProps2(target, mod, "default"), secondTarget && __copyProps2(secondTarget, mod, "default"));
|
|
470559
470560
|
var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
|
470560
|
-
var
|
|
470561
|
-
module2.exports = __toCommonJS(
|
|
470562
|
-
__reExport(
|
|
470561
|
+
var commons_exports15 = {};
|
|
470562
|
+
module2.exports = __toCommonJS(commons_exports15);
|
|
470563
|
+
__reExport(commons_exports15, require_types101(), module2.exports);
|
|
470563
470564
|
}
|
|
470564
470565
|
});
|
|
470565
470566
|
|
|
@@ -474416,9 +474417,9 @@ var require_commons19 = __commonJS({
|
|
|
474416
474417
|
};
|
|
474417
474418
|
var __reExport = (target, mod, secondTarget) => (__copyProps2(target, mod, "default"), secondTarget && __copyProps2(secondTarget, mod, "default"));
|
|
474418
474419
|
var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
|
474419
|
-
var
|
|
474420
|
-
module2.exports = __toCommonJS(
|
|
474421
|
-
__reExport(
|
|
474420
|
+
var commons_exports15 = {};
|
|
474421
|
+
module2.exports = __toCommonJS(commons_exports15);
|
|
474422
|
+
__reExport(commons_exports15, require_types110(), module2.exports);
|
|
474422
474423
|
}
|
|
474423
474424
|
});
|
|
474424
474425
|
|
|
@@ -478275,9 +478276,9 @@ var require_commons20 = __commonJS({
|
|
|
478275
478276
|
};
|
|
478276
478277
|
var __reExport = (target, mod, secondTarget) => (__copyProps2(target, mod, "default"), secondTarget && __copyProps2(secondTarget, mod, "default"));
|
|
478277
478278
|
var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
|
478278
|
-
var
|
|
478279
|
-
module2.exports = __toCommonJS(
|
|
478280
|
-
__reExport(
|
|
478279
|
+
var commons_exports15 = {};
|
|
478280
|
+
module2.exports = __toCommonJS(commons_exports15);
|
|
478281
|
+
__reExport(commons_exports15, require_types119(), module2.exports);
|
|
478281
478282
|
}
|
|
478282
478283
|
});
|
|
478283
478284
|
|
|
@@ -482137,9 +482138,9 @@ var require_commons21 = __commonJS({
|
|
|
482137
482138
|
};
|
|
482138
482139
|
var __reExport = (target, mod, secondTarget) => (__copyProps2(target, mod, "default"), secondTarget && __copyProps2(secondTarget, mod, "default"));
|
|
482139
482140
|
var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
|
482140
|
-
var
|
|
482141
|
-
module2.exports = __toCommonJS(
|
|
482142
|
-
__reExport(
|
|
482141
|
+
var commons_exports15 = {};
|
|
482142
|
+
module2.exports = __toCommonJS(commons_exports15);
|
|
482143
|
+
__reExport(commons_exports15, require_types128(), module2.exports);
|
|
482143
482144
|
}
|
|
482144
482145
|
});
|
|
482145
482146
|
|
|
@@ -486002,9 +486003,9 @@ var require_commons22 = __commonJS({
|
|
|
486002
486003
|
};
|
|
486003
486004
|
var __reExport = (target, mod, secondTarget) => (__copyProps2(target, mod, "default"), secondTarget && __copyProps2(secondTarget, mod, "default"));
|
|
486004
486005
|
var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
|
486005
|
-
var
|
|
486006
|
-
module2.exports = __toCommonJS(
|
|
486007
|
-
__reExport(
|
|
486006
|
+
var commons_exports15 = {};
|
|
486007
|
+
module2.exports = __toCommonJS(commons_exports15);
|
|
486008
|
+
__reExport(commons_exports15, require_types137(), module2.exports);
|
|
486008
486009
|
}
|
|
486009
486010
|
});
|
|
486010
486011
|
|
|
@@ -490010,9 +490011,9 @@ var require_commons23 = __commonJS({
|
|
|
490010
490011
|
};
|
|
490011
490012
|
var __reExport = (target, mod, secondTarget) => (__copyProps2(target, mod, "default"), secondTarget && __copyProps2(secondTarget, mod, "default"));
|
|
490012
490013
|
var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
|
490013
|
-
var
|
|
490014
|
-
module2.exports = __toCommonJS(
|
|
490015
|
-
__reExport(
|
|
490014
|
+
var commons_exports15 = {};
|
|
490015
|
+
module2.exports = __toCommonJS(commons_exports15);
|
|
490016
|
+
__reExport(commons_exports15, require_types147(), module2.exports);
|
|
490016
490017
|
}
|
|
490017
490018
|
});
|
|
490018
490019
|
|
|
@@ -494018,9 +494019,9 @@ var require_commons24 = __commonJS({
|
|
|
494018
494019
|
};
|
|
494019
494020
|
var __reExport = (target, mod, secondTarget) => (__copyProps2(target, mod, "default"), secondTarget && __copyProps2(secondTarget, mod, "default"));
|
|
494020
494021
|
var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
|
494021
|
-
var
|
|
494022
|
-
module2.exports = __toCommonJS(
|
|
494023
|
-
__reExport(
|
|
494022
|
+
var commons_exports15 = {};
|
|
494023
|
+
module2.exports = __toCommonJS(commons_exports15);
|
|
494024
|
+
__reExport(commons_exports15, require_types157(), module2.exports);
|
|
494024
494025
|
}
|
|
494025
494026
|
});
|
|
494026
494027
|
|
|
@@ -498026,9 +498027,9 @@ var require_commons25 = __commonJS({
|
|
|
498026
498027
|
};
|
|
498027
498028
|
var __reExport = (target, mod, secondTarget) => (__copyProps2(target, mod, "default"), secondTarget && __copyProps2(secondTarget, mod, "default"));
|
|
498028
498029
|
var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
|
498029
|
-
var
|
|
498030
|
-
module2.exports = __toCommonJS(
|
|
498031
|
-
__reExport(
|
|
498030
|
+
var commons_exports15 = {};
|
|
498031
|
+
module2.exports = __toCommonJS(commons_exports15);
|
|
498032
|
+
__reExport(commons_exports15, require_types167(), module2.exports);
|
|
498032
498033
|
}
|
|
498033
498034
|
});
|
|
498034
498035
|
|
|
@@ -501874,9 +501875,9 @@ var require_commons26 = __commonJS({
|
|
|
501874
501875
|
};
|
|
501875
501876
|
var __reExport = (target, mod, secondTarget) => (__copyProps2(target, mod, "default"), secondTarget && __copyProps2(secondTarget, mod, "default"));
|
|
501876
501877
|
var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
|
501877
|
-
var
|
|
501878
|
-
module2.exports = __toCommonJS(
|
|
501879
|
-
__reExport(
|
|
501878
|
+
var commons_exports15 = {};
|
|
501879
|
+
module2.exports = __toCommonJS(commons_exports15);
|
|
501880
|
+
__reExport(commons_exports15, require_types177(), module2.exports);
|
|
501880
501881
|
}
|
|
501881
501882
|
});
|
|
501882
501883
|
|
|
@@ -502840,9 +502841,9 @@ var require_commons27 = __commonJS({
|
|
|
502840
502841
|
};
|
|
502841
502842
|
var __reExport = (target, mod, secondTarget) => (__copyProps2(target, mod, "default"), secondTarget && __copyProps2(secondTarget, mod, "default"));
|
|
502842
502843
|
var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
|
502843
|
-
var
|
|
502844
|
-
module2.exports = __toCommonJS(
|
|
502845
|
-
__reExport(
|
|
502844
|
+
var commons_exports15 = {};
|
|
502845
|
+
module2.exports = __toCommonJS(commons_exports15);
|
|
502846
|
+
__reExport(commons_exports15, require_types183(), module2.exports);
|
|
502846
502847
|
}
|
|
502847
502848
|
});
|
|
502848
502849
|
|
|
@@ -505365,9 +505366,9 @@ var require_commons28 = __commonJS({
|
|
|
505365
505366
|
};
|
|
505366
505367
|
var __reExport = (target, mod, secondTarget) => (__copyProps2(target, mod, "default"), secondTarget && __copyProps2(secondTarget, mod, "default"));
|
|
505367
505368
|
var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
|
505368
|
-
var
|
|
505369
|
-
module2.exports = __toCommonJS(
|
|
505370
|
-
__reExport(
|
|
505369
|
+
var commons_exports15 = {};
|
|
505370
|
+
module2.exports = __toCommonJS(commons_exports15);
|
|
505371
|
+
__reExport(commons_exports15, require_types189(), module2.exports);
|
|
505371
505372
|
}
|
|
505372
505373
|
});
|
|
505373
505374
|
|
|
@@ -509551,9 +509552,9 @@ var require_commons29 = __commonJS({
|
|
|
509551
509552
|
};
|
|
509552
509553
|
var __reExport = (target, mod, secondTarget) => (__copyProps2(target, mod, "default"), secondTarget && __copyProps2(secondTarget, mod, "default"));
|
|
509553
509554
|
var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
|
509554
|
-
var
|
|
509555
|
-
module2.exports = __toCommonJS(
|
|
509556
|
-
__reExport(
|
|
509555
|
+
var commons_exports15 = {};
|
|
509556
|
+
module2.exports = __toCommonJS(commons_exports15);
|
|
509557
|
+
__reExport(commons_exports15, require_types199(), module2.exports);
|
|
509557
509558
|
}
|
|
509558
509559
|
});
|
|
509559
509560
|
|
|
@@ -513787,9 +513788,9 @@ var require_commons30 = __commonJS({
|
|
|
513787
513788
|
};
|
|
513788
513789
|
var __reExport = (target, mod, secondTarget) => (__copyProps2(target, mod, "default"), secondTarget && __copyProps2(secondTarget, mod, "default"));
|
|
513789
513790
|
var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
|
513790
|
-
var
|
|
513791
|
-
module2.exports = __toCommonJS(
|
|
513792
|
-
__reExport(
|
|
513791
|
+
var commons_exports15 = {};
|
|
513792
|
+
module2.exports = __toCommonJS(commons_exports15);
|
|
513793
|
+
__reExport(commons_exports15, require_types209(), module2.exports);
|
|
513793
513794
|
}
|
|
513794
513795
|
});
|
|
513795
513796
|
|
|
@@ -544070,9 +544071,9 @@ var require_commons38 = __commonJS({
|
|
|
544070
544071
|
};
|
|
544071
544072
|
var __reExport = (target, mod, secondTarget) => (__copyProps2(target, mod, "default"), secondTarget && __copyProps2(secondTarget, mod, "default"));
|
|
544072
544073
|
var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
|
544073
|
-
var
|
|
544074
|
-
module2.exports = __toCommonJS(
|
|
544075
|
-
__reExport(
|
|
544074
|
+
var commons_exports15 = {};
|
|
544075
|
+
module2.exports = __toCommonJS(commons_exports15);
|
|
544076
|
+
__reExport(commons_exports15, require_types295(), module2.exports);
|
|
544076
544077
|
}
|
|
544077
544078
|
});
|
|
544078
544079
|
|
|
@@ -545036,9 +545037,9 @@ var require_commons39 = __commonJS({
|
|
|
545036
545037
|
};
|
|
545037
545038
|
var __reExport = (target, mod, secondTarget) => (__copyProps2(target, mod, "default"), secondTarget && __copyProps2(secondTarget, mod, "default"));
|
|
545038
545039
|
var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
|
545039
|
-
var
|
|
545040
|
-
module2.exports = __toCommonJS(
|
|
545041
|
-
__reExport(
|
|
545040
|
+
var commons_exports15 = {};
|
|
545041
|
+
module2.exports = __toCommonJS(commons_exports15);
|
|
545042
|
+
__reExport(commons_exports15, require_types301(), module2.exports);
|
|
545042
545043
|
}
|
|
545043
545044
|
});
|
|
545044
545045
|
|
|
@@ -591448,9 +591449,9 @@ var require_commons50 = __commonJS({
|
|
|
591448
591449
|
};
|
|
591449
591450
|
var __reExport = (target, mod, secondTarget) => (__copyProps2(target, mod, "default"), secondTarget && __copyProps2(secondTarget, mod, "default"));
|
|
591450
591451
|
var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
|
591451
|
-
var
|
|
591452
|
-
module2.exports = __toCommonJS(
|
|
591453
|
-
__reExport(
|
|
591452
|
+
var commons_exports15 = {};
|
|
591453
|
+
module2.exports = __toCommonJS(commons_exports15);
|
|
591454
|
+
__reExport(commons_exports15, require_types424(), module2.exports);
|
|
591454
591455
|
}
|
|
591455
591456
|
});
|
|
591456
591457
|
|
|
@@ -592414,9 +592415,9 @@ var require_commons51 = __commonJS({
|
|
|
592414
592415
|
};
|
|
592415
592416
|
var __reExport = (target, mod, secondTarget) => (__copyProps2(target, mod, "default"), secondTarget && __copyProps2(secondTarget, mod, "default"));
|
|
592416
592417
|
var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
|
592417
|
-
var
|
|
592418
|
-
module2.exports = __toCommonJS(
|
|
592419
|
-
__reExport(
|
|
592418
|
+
var commons_exports15 = {};
|
|
592419
|
+
module2.exports = __toCommonJS(commons_exports15);
|
|
592420
|
+
__reExport(commons_exports15, require_types430(), module2.exports);
|
|
592420
592421
|
}
|
|
592421
592422
|
});
|
|
592422
592423
|
|
|
@@ -644793,9 +644794,9 @@ var require_commons62 = __commonJS({
|
|
|
644793
644794
|
};
|
|
644794
644795
|
var __reExport = (target, mod, secondTarget) => (__copyProps2(target, mod, "default"), secondTarget && __copyProps2(secondTarget, mod, "default"));
|
|
644795
644796
|
var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
|
644796
|
-
var
|
|
644797
|
-
module2.exports = __toCommonJS(
|
|
644798
|
-
__reExport(
|
|
644797
|
+
var commons_exports15 = {};
|
|
644798
|
+
module2.exports = __toCommonJS(commons_exports15);
|
|
644799
|
+
__reExport(commons_exports15, require_types556(), module2.exports);
|
|
644799
644800
|
}
|
|
644800
644801
|
});
|
|
644801
644802
|
|
|
@@ -663982,9 +663983,9 @@ var require_commons66 = __commonJS({
|
|
|
663982
663983
|
};
|
|
663983
663984
|
var __reExport = (target, mod, secondTarget) => (__copyProps2(target, mod, "default"), secondTarget && __copyProps2(secondTarget, mod, "default"));
|
|
663984
663985
|
var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
|
663985
|
-
var
|
|
663986
|
-
module2.exports = __toCommonJS(
|
|
663987
|
-
__reExport(
|
|
663986
|
+
var commons_exports15 = {};
|
|
663987
|
+
module2.exports = __toCommonJS(commons_exports15);
|
|
663988
|
+
__reExport(commons_exports15, require_types602(), module2.exports);
|
|
663988
663989
|
}
|
|
663989
663990
|
});
|
|
663990
663991
|
|
|
@@ -667417,9 +667418,9 @@ var require_commons67 = __commonJS({
|
|
|
667417
667418
|
};
|
|
667418
667419
|
var __reExport = (target, mod, secondTarget) => (__copyProps2(target, mod, "default"), secondTarget && __copyProps2(secondTarget, mod, "default"));
|
|
667419
667420
|
var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
|
667420
|
-
var
|
|
667421
|
-
module2.exports = __toCommonJS(
|
|
667422
|
-
__reExport(
|
|
667421
|
+
var commons_exports15 = {};
|
|
667422
|
+
module2.exports = __toCommonJS(commons_exports15);
|
|
667423
|
+
__reExport(commons_exports15, require_types612(), module2.exports);
|
|
667423
667424
|
}
|
|
667424
667425
|
});
|
|
667425
667426
|
|
|
@@ -670852,9 +670853,9 @@ var require_commons68 = __commonJS({
|
|
|
670852
670853
|
};
|
|
670853
670854
|
var __reExport = (target, mod, secondTarget) => (__copyProps2(target, mod, "default"), secondTarget && __copyProps2(secondTarget, mod, "default"));
|
|
670854
670855
|
var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
|
670855
|
-
var
|
|
670856
|
-
module2.exports = __toCommonJS(
|
|
670857
|
-
__reExport(
|
|
670856
|
+
var commons_exports15 = {};
|
|
670857
|
+
module2.exports = __toCommonJS(commons_exports15);
|
|
670858
|
+
__reExport(commons_exports15, require_types622(), module2.exports);
|
|
670858
670859
|
}
|
|
670859
670860
|
});
|
|
670860
670861
|
|
|
@@ -674379,9 +674380,9 @@ var require_commons69 = __commonJS({
|
|
|
674379
674380
|
};
|
|
674380
674381
|
var __reExport = (target, mod, secondTarget) => (__copyProps2(target, mod, "default"), secondTarget && __copyProps2(secondTarget, mod, "default"));
|
|
674381
674382
|
var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
|
674382
|
-
var
|
|
674383
|
-
module2.exports = __toCommonJS(
|
|
674384
|
-
__reExport(
|
|
674383
|
+
var commons_exports15 = {};
|
|
674384
|
+
module2.exports = __toCommonJS(commons_exports15);
|
|
674385
|
+
__reExport(commons_exports15, require_types632(), module2.exports);
|
|
674385
674386
|
}
|
|
674386
674387
|
});
|
|
674387
674388
|
|
|
@@ -1205536,7 +1205537,8 @@ var NugetOutputLocationSchema = z.strictObject({
|
|
|
1205536
1205537
|
var PostmanOutputLocationSchema = z.strictObject({
|
|
1205537
1205538
|
location: z.literal("postman"),
|
|
1205538
1205539
|
"api-key": z.string(),
|
|
1205539
|
-
"workspace-id": z.string()
|
|
1205540
|
+
"workspace-id": z.string(),
|
|
1205541
|
+
"collection-id": z.string().optional()
|
|
1205540
1205542
|
});
|
|
1205541
1205543
|
|
|
1205542
1205544
|
// ../configuration/lib/generators-yml/schemas/OutputMetadataSchema.js
|
|
@@ -1205963,6 +1205965,7 @@ async function convertGroup({ absolutePathToGeneratorsConfiguration, groupName,
|
|
|
1205963
1205965
|
async function convertGenerator({ absolutePathToGeneratorsConfiguration, generator, maybeGroupLevelMetadata, maybeTopLevelMetadata, maybeGroupLevelReviewers, maybeTopLevelReviewers, readme }) {
|
|
1205964
1205966
|
var _a6, _b4, _c4;
|
|
1205965
1205967
|
return {
|
|
1205968
|
+
raw: generator,
|
|
1205966
1205969
|
name: generator.name,
|
|
1205967
1205970
|
version: generator.version,
|
|
1205968
1205971
|
config: generator.config,
|
|
@@ -1208719,7 +1208722,7 @@ var AccessTokenPosthogManager = class {
|
|
|
1208719
1208722
|
properties: {
|
|
1208720
1208723
|
...event,
|
|
1208721
1208724
|
...event.properties,
|
|
1208722
|
-
version: "0.40.
|
|
1208725
|
+
version: "0.40.2",
|
|
1208723
1208726
|
usingAccessToken: true
|
|
1208724
1208727
|
}
|
|
1208725
1208728
|
});
|
|
@@ -1208781,7 +1208784,7 @@ var UserPosthogManager = class {
|
|
|
1208781
1208784
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
1208782
1208785
|
event: "CLI",
|
|
1208783
1208786
|
properties: {
|
|
1208784
|
-
version: "0.40.
|
|
1208787
|
+
version: "0.40.2",
|
|
1208785
1208788
|
...event,
|
|
1208786
1208789
|
...event.properties
|
|
1208787
1208790
|
}
|
|
@@ -1213864,10 +1213867,10 @@ var CliContext = class {
|
|
|
1213864
1213867
|
return "fern-api";
|
|
1213865
1213868
|
}
|
|
1213866
1213869
|
getPackageVersion() {
|
|
1213867
|
-
if ("0.40.
|
|
1213870
|
+
if ("0.40.2" == null) {
|
|
1213868
1213871
|
this.logger.error("CLI_VERSION is not defined");
|
|
1213869
1213872
|
}
|
|
1213870
|
-
return "0.40.
|
|
1213873
|
+
return "0.40.2";
|
|
1213871
1213874
|
}
|
|
1213872
1213875
|
getCliName() {
|
|
1213873
1213876
|
if ("fern" == null) {
|
|
@@ -1216210,6 +1216213,8 @@ __export(api_exports4, {
|
|
|
1216210
1216213
|
PrimitiveTypeV1: () => PrimitiveTypeV1,
|
|
1216211
1216214
|
PrimitiveTypeV2: () => PrimitiveTypeV2,
|
|
1216212
1216215
|
ProtobufType: () => ProtobufType,
|
|
1216216
|
+
PublishTarget: () => PublishTarget,
|
|
1216217
|
+
PublishingConfig: () => PublishingConfig,
|
|
1216213
1216218
|
RequestPropertyValue: () => RequestPropertyValue,
|
|
1216214
1216219
|
ResolvedTypeReference: () => ResolvedTypeReference,
|
|
1216215
1216220
|
SdkRequestBodyType: () => SdkRequestBodyType,
|
|
@@ -1216235,6 +1216240,7 @@ __export(api_exports4, {
|
|
|
1216235
1216240
|
http: () => http_exports,
|
|
1216236
1216241
|
ir: () => ir_exports,
|
|
1216237
1216242
|
proto: () => proto_exports,
|
|
1216243
|
+
publish: () => publish_exports,
|
|
1216238
1216244
|
types: () => types_exports,
|
|
1216239
1216245
|
variables: () => variables_exports,
|
|
1216240
1216246
|
webhooks: () => webhooks_exports,
|
|
@@ -1217628,6 +1217634,66 @@ var WellKnownProtobufType = {
|
|
|
1217628
1217634
|
}
|
|
1217629
1217635
|
};
|
|
1217630
1217636
|
|
|
1217637
|
+
// ../../ir-sdk/lib/sdk/api/resources/publish/index.js
|
|
1217638
|
+
var publish_exports = {};
|
|
1217639
|
+
__export(publish_exports, {
|
|
1217640
|
+
PublishTarget: () => PublishTarget,
|
|
1217641
|
+
PublishingConfig: () => PublishingConfig
|
|
1217642
|
+
});
|
|
1217643
|
+
|
|
1217644
|
+
// ../../ir-sdk/lib/sdk/api/resources/publish/types/PublishingConfig.js
|
|
1217645
|
+
var PublishingConfig = {
|
|
1217646
|
+
github: (value) => {
|
|
1217647
|
+
return {
|
|
1217648
|
+
...value,
|
|
1217649
|
+
type: "github",
|
|
1217650
|
+
_visit: function(visitor) {
|
|
1217651
|
+
return PublishingConfig._visit(this, visitor);
|
|
1217652
|
+
}
|
|
1217653
|
+
};
|
|
1217654
|
+
},
|
|
1217655
|
+
direct: (value) => {
|
|
1217656
|
+
return {
|
|
1217657
|
+
...value,
|
|
1217658
|
+
type: "direct",
|
|
1217659
|
+
_visit: function(visitor) {
|
|
1217660
|
+
return PublishingConfig._visit(this, visitor);
|
|
1217661
|
+
}
|
|
1217662
|
+
};
|
|
1217663
|
+
},
|
|
1217664
|
+
_visit: (value, visitor) => {
|
|
1217665
|
+
switch (value.type) {
|
|
1217666
|
+
case "github":
|
|
1217667
|
+
return visitor.github(value);
|
|
1217668
|
+
case "direct":
|
|
1217669
|
+
return visitor.direct(value);
|
|
1217670
|
+
default:
|
|
1217671
|
+
return visitor._other(value);
|
|
1217672
|
+
}
|
|
1217673
|
+
}
|
|
1217674
|
+
};
|
|
1217675
|
+
|
|
1217676
|
+
// ../../ir-sdk/lib/sdk/api/resources/publish/types/PublishTarget.js
|
|
1217677
|
+
var PublishTarget = {
|
|
1217678
|
+
postman: (value) => {
|
|
1217679
|
+
return {
|
|
1217680
|
+
...value,
|
|
1217681
|
+
type: "postman",
|
|
1217682
|
+
_visit: function(visitor) {
|
|
1217683
|
+
return PublishTarget._visit(this, visitor);
|
|
1217684
|
+
}
|
|
1217685
|
+
};
|
|
1217686
|
+
},
|
|
1217687
|
+
_visit: (value, visitor) => {
|
|
1217688
|
+
switch (value.type) {
|
|
1217689
|
+
case "postman":
|
|
1217690
|
+
return visitor.postman(value);
|
|
1217691
|
+
default:
|
|
1217692
|
+
return visitor._other(value);
|
|
1217693
|
+
}
|
|
1217694
|
+
}
|
|
1217695
|
+
};
|
|
1217696
|
+
|
|
1217631
1217697
|
// ../../ir-sdk/lib/sdk/api/resources/types/index.js
|
|
1217632
1217698
|
var types_exports = {};
|
|
1217633
1217699
|
__export(types_exports, {
|
|
@@ -1218779,6 +1218845,7 @@ __export(serialization_exports2, {
|
|
|
1218779
1218845
|
DeclaredErrorName: () => DeclaredErrorName,
|
|
1218780
1218846
|
DeclaredServiceName: () => DeclaredServiceName,
|
|
1218781
1218847
|
DeclaredTypeName: () => DeclaredTypeName,
|
|
1218848
|
+
DirectPublish: () => DirectPublish,
|
|
1218782
1218849
|
DoubleType: () => DoubleType,
|
|
1218783
1218850
|
DoubleValidationRules: () => DoubleValidationRules,
|
|
1218784
1218851
|
Encoding: () => Encoding,
|
|
@@ -1218853,6 +1218920,7 @@ __export(serialization_exports2, {
|
|
|
1218853
1218920
|
FileUploadRequest: () => FileUploadRequest,
|
|
1218854
1218921
|
FileUploadRequestProperty: () => FileUploadRequestProperty2,
|
|
1218855
1218922
|
FloatType: () => FloatType,
|
|
1218923
|
+
GithubPublish: () => GithubPublish,
|
|
1218856
1218924
|
GrpcTransport: () => GrpcTransport,
|
|
1218857
1218925
|
HeaderApiVersionScheme: () => HeaderApiVersionScheme,
|
|
1218858
1218926
|
HeaderAuthScheme: () => HeaderAuthScheme,
|
|
@@ -1218907,6 +1218975,7 @@ __export(serialization_exports2, {
|
|
|
1218907
1218975
|
PathParameter: () => PathParameter,
|
|
1218908
1218976
|
PathParameterLocation: () => PathParameterLocation2,
|
|
1218909
1218977
|
PlatformHeaders: () => PlatformHeaders,
|
|
1218978
|
+
PostmanPublishTarget: () => PostmanPublishTarget,
|
|
1218910
1218979
|
PrimitiveType: () => PrimitiveType,
|
|
1218911
1218980
|
PrimitiveTypeV1: () => PrimitiveTypeV12,
|
|
1218912
1218981
|
PrimitiveTypeV2: () => PrimitiveTypeV22,
|
|
@@ -1218916,6 +1218985,8 @@ __export(serialization_exports2, {
|
|
|
1218916
1218985
|
ProtobufFileOptions: () => ProtobufFileOptions,
|
|
1218917
1218986
|
ProtobufService: () => ProtobufService,
|
|
1218918
1218987
|
ProtobufType: () => ProtobufType2,
|
|
1218988
|
+
PublishTarget: () => PublishTarget2,
|
|
1218989
|
+
PublishingConfig: () => PublishingConfig2,
|
|
1218919
1218990
|
QueryParameter: () => QueryParameter,
|
|
1218920
1218991
|
ReadmeConfig: () => ReadmeConfig,
|
|
1218921
1218992
|
RequestProperty: () => RequestProperty,
|
|
@@ -1218994,6 +1219065,7 @@ __export(serialization_exports2, {
|
|
|
1218994
1219065
|
http: () => http_exports2,
|
|
1218995
1219066
|
ir: () => ir_exports2,
|
|
1218996
1219067
|
proto: () => proto_exports2,
|
|
1219068
|
+
publish: () => publish_exports2,
|
|
1218997
1219069
|
types: () => types_exports2,
|
|
1218998
1219070
|
variables: () => variables_exports2,
|
|
1218999
1219071
|
webhooks: () => webhooks_exports2,
|
|
@@ -1222110,6 +1222182,58 @@ var SourceConfig = schemas_exports4.objectWithoutOptionalProperties({
|
|
|
1222110
1222182
|
sources: schemas_exports4.list(ApiDefinitionSource2)
|
|
1222111
1222183
|
});
|
|
1222112
1222184
|
|
|
1222185
|
+
// ../../ir-sdk/lib/sdk/serialization/resources/publish/types/PostmanPublishTarget.js
|
|
1222186
|
+
var PostmanPublishTarget = schemas_exports4.objectWithoutOptionalProperties({
|
|
1222187
|
+
apiKey: schemas_exports4.string(),
|
|
1222188
|
+
workspaceId: schemas_exports4.string(),
|
|
1222189
|
+
collectionId: schemas_exports4.string().optional()
|
|
1222190
|
+
});
|
|
1222191
|
+
|
|
1222192
|
+
// ../../ir-sdk/lib/sdk/serialization/resources/publish/types/PublishTarget.js
|
|
1222193
|
+
var PublishTarget2 = schemas_exports4.union("type", {
|
|
1222194
|
+
postman: PostmanPublishTarget
|
|
1222195
|
+
}).transform({
|
|
1222196
|
+
transform: (value) => {
|
|
1222197
|
+
switch (value.type) {
|
|
1222198
|
+
case "postman":
|
|
1222199
|
+
return PublishTarget.postman(value);
|
|
1222200
|
+
default:
|
|
1222201
|
+
return value;
|
|
1222202
|
+
}
|
|
1222203
|
+
},
|
|
1222204
|
+
untransform: ({ _visit, ...value }) => value
|
|
1222205
|
+
});
|
|
1222206
|
+
|
|
1222207
|
+
// ../../ir-sdk/lib/sdk/serialization/resources/publish/types/GithubPublish.js
|
|
1222208
|
+
var GithubPublish = schemas_exports4.objectWithoutOptionalProperties({
|
|
1222209
|
+
owner: schemas_exports4.string(),
|
|
1222210
|
+
repo: schemas_exports4.string(),
|
|
1222211
|
+
target: PublishTarget2
|
|
1222212
|
+
});
|
|
1222213
|
+
|
|
1222214
|
+
// ../../ir-sdk/lib/sdk/serialization/resources/publish/types/DirectPublish.js
|
|
1222215
|
+
var DirectPublish = schemas_exports4.objectWithoutOptionalProperties({
|
|
1222216
|
+
target: PublishTarget2
|
|
1222217
|
+
});
|
|
1222218
|
+
|
|
1222219
|
+
// ../../ir-sdk/lib/sdk/serialization/resources/publish/types/PublishingConfig.js
|
|
1222220
|
+
var PublishingConfig2 = schemas_exports4.union("type", {
|
|
1222221
|
+
github: GithubPublish,
|
|
1222222
|
+
direct: DirectPublish
|
|
1222223
|
+
}).transform({
|
|
1222224
|
+
transform: (value) => {
|
|
1222225
|
+
switch (value.type) {
|
|
1222226
|
+
case "github":
|
|
1222227
|
+
return PublishingConfig.github(value);
|
|
1222228
|
+
case "direct":
|
|
1222229
|
+
return PublishingConfig.direct(value);
|
|
1222230
|
+
default:
|
|
1222231
|
+
return value;
|
|
1222232
|
+
}
|
|
1222233
|
+
},
|
|
1222234
|
+
untransform: ({ _visit, ...value }) => value
|
|
1222235
|
+
});
|
|
1222236
|
+
|
|
1222113
1222237
|
// ../../ir-sdk/lib/sdk/serialization/resources/ir/types/IntermediateRepresentation.js
|
|
1222114
1222238
|
var IntermediateRepresentation = schemas_exports4.objectWithoutOptionalProperties({
|
|
1222115
1222239
|
fdrApiDefinitionId: schemas_exports4.string().optional(),
|
|
@@ -1222136,7 +1222260,8 @@ var IntermediateRepresentation = schemas_exports4.objectWithoutOptionalPropertie
|
|
|
1222136
1222260
|
variables: schemas_exports4.list(VariableDeclaration),
|
|
1222137
1222261
|
serviceTypeReferenceInfo: ServiceTypeReferenceInfo,
|
|
1222138
1222262
|
readmeConfig: ReadmeConfig.optional(),
|
|
1222139
|
-
sourceConfig: SourceConfig.optional()
|
|
1222263
|
+
sourceConfig: SourceConfig.optional(),
|
|
1222264
|
+
publishConfig: PublishingConfig2.optional()
|
|
1222140
1222265
|
});
|
|
1222141
1222266
|
|
|
1222142
1222267
|
// ../../ir-sdk/lib/sdk/serialization/resources/proto/index.js
|
|
@@ -1222151,6 +1222276,16 @@ __export(proto_exports2, {
|
|
|
1222151
1222276
|
WellKnownProtobufType: () => WellKnownProtobufType2
|
|
1222152
1222277
|
});
|
|
1222153
1222278
|
|
|
1222279
|
+
// ../../ir-sdk/lib/sdk/serialization/resources/publish/index.js
|
|
1222280
|
+
var publish_exports2 = {};
|
|
1222281
|
+
__export(publish_exports2, {
|
|
1222282
|
+
DirectPublish: () => DirectPublish,
|
|
1222283
|
+
GithubPublish: () => GithubPublish,
|
|
1222284
|
+
PostmanPublishTarget: () => PostmanPublishTarget,
|
|
1222285
|
+
PublishTarget: () => PublishTarget2,
|
|
1222286
|
+
PublishingConfig: () => PublishingConfig2
|
|
1222287
|
+
});
|
|
1222288
|
+
|
|
1222154
1222289
|
// ../../ir-sdk/lib/sdk/serialization/resources/types/index.js
|
|
1222155
1222290
|
var types_exports2 = {};
|
|
1222156
1222291
|
__export(types_exports2, {
|
|
@@ -1249121,7 +1249256,7 @@ ${replacement}
|
|
|
1249121
1249256
|
return newMarkdown;
|
|
1249122
1249257
|
}
|
|
1249123
1249258
|
|
|
1249124
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249259
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/client/generated/api/resources/docs/resources/v1/resources/write/types/VersionAvailability.js
|
|
1249125
1249260
|
var VersionAvailability3 = {
|
|
1249126
1249261
|
Stable: "Stable",
|
|
1249127
1249262
|
GenerallyAvailable: "GenerallyAvailable",
|
|
@@ -1249129,7 +1249264,7 @@ var VersionAvailability3 = {
|
|
|
1249129
1249264
|
Beta: "Beta"
|
|
1249130
1249265
|
};
|
|
1249131
1249266
|
|
|
1249132
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249267
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/client/generated/api/resources/docs/resources/v1/resources/write/client/startDocsRegister.js
|
|
1249133
1249268
|
var startDocsRegister_exports3 = {};
|
|
1249134
1249269
|
__export(startDocsRegister_exports3, {
|
|
1249135
1249270
|
Error: () => Error2
|
|
@@ -1249149,7 +1249284,7 @@ var Error2 = {
|
|
|
1249149
1249284
|
}
|
|
1249150
1249285
|
};
|
|
1249151
1249286
|
|
|
1249152
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249287
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/client/generated/api/resources/docs/resources/v1/resources/write/client/finishDocsRegister.js
|
|
1249153
1249288
|
var finishDocsRegister_exports3 = {};
|
|
1249154
1249289
|
__export(finishDocsRegister_exports3, {
|
|
1249155
1249290
|
Error: () => Error3
|
|
@@ -1249192,7 +1249327,7 @@ var Error3 = {
|
|
|
1249192
1249327
|
}
|
|
1249193
1249328
|
};
|
|
1249194
1249329
|
|
|
1249195
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249330
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/client/generated/api/resources/docs/resources/v1/resources/commons/resources/commons/index.js
|
|
1249196
1249331
|
var commons_exports11 = {};
|
|
1249197
1249332
|
__export(commons_exports11, {
|
|
1249198
1249333
|
ContentAlignment: () => ContentAlignment3,
|
|
@@ -1249206,7 +1249341,7 @@ __export(commons_exports11, {
|
|
|
1249206
1249341
|
TwitterCardSetting: () => TwitterCardSetting3
|
|
1249207
1249342
|
});
|
|
1249208
1249343
|
|
|
1249209
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249344
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/client/generated/api/resources/docs/resources/v1/resources/commons/resources/commons/types/ProgrammingLanguage.js
|
|
1249210
1249345
|
var ProgrammingLanguage3 = {
|
|
1249211
1249346
|
Typescript: "typescript",
|
|
1249212
1249347
|
Javascript: "javascript",
|
|
@@ -1249224,32 +1249359,32 @@ var ProgrammingLanguage3 = {
|
|
|
1249224
1249359
|
Js: "js"
|
|
1249225
1249360
|
};
|
|
1249226
1249361
|
|
|
1249227
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249362
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/client/generated/api/resources/docs/resources/v1/resources/commons/resources/commons/types/SearchbarPlacement.js
|
|
1249228
1249363
|
var SearchbarPlacement3 = {
|
|
1249229
1249364
|
Header: "HEADER",
|
|
1249230
1249365
|
HeaderTabs: "HEADER_TABS",
|
|
1249231
1249366
|
Sidebar: "SIDEBAR"
|
|
1249232
1249367
|
};
|
|
1249233
1249368
|
|
|
1249234
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249369
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/client/generated/api/resources/docs/resources/v1/resources/commons/resources/commons/types/TabsPlacement.js
|
|
1249235
1249370
|
var TabsPlacement3 = {
|
|
1249236
1249371
|
Header: "HEADER",
|
|
1249237
1249372
|
Sidebar: "SIDEBAR"
|
|
1249238
1249373
|
};
|
|
1249239
1249374
|
|
|
1249240
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249375
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/client/generated/api/resources/docs/resources/v1/resources/commons/resources/commons/types/ContentAlignment.js
|
|
1249241
1249376
|
var ContentAlignment3 = {
|
|
1249242
1249377
|
Center: "CENTER",
|
|
1249243
1249378
|
Left: "LEFT"
|
|
1249244
1249379
|
};
|
|
1249245
1249380
|
|
|
1249246
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249381
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/client/generated/api/resources/docs/resources/v1/resources/commons/resources/commons/types/HeaderPosition.js
|
|
1249247
1249382
|
var HeaderPosition3 = {
|
|
1249248
1249383
|
Fixed: "FIXED",
|
|
1249249
1249384
|
Absolute: "ABSOLUTE"
|
|
1249250
1249385
|
};
|
|
1249251
1249386
|
|
|
1249252
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249387
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/client/generated/api/resources/docs/resources/v1/resources/commons/resources/commons/types/TwitterCardSetting.js
|
|
1249253
1249388
|
var TwitterCardSetting3 = {
|
|
1249254
1249389
|
Summary: "summary",
|
|
1249255
1249390
|
SummaryLargeImage: "summary_large_image",
|
|
@@ -1249257,20 +1249392,20 @@ var TwitterCardSetting3 = {
|
|
|
1249257
1249392
|
Player: "player"
|
|
1249258
1249393
|
};
|
|
1249259
1249394
|
|
|
1249260
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249395
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/client/generated/api/resources/docs/resources/v1/resources/commons/resources/commons/types/JsScriptStrategy.js
|
|
1249261
1249396
|
var JsScriptStrategy3 = {
|
|
1249262
1249397
|
BeforeInteractive: "beforeInteractive",
|
|
1249263
1249398
|
AfterInteractive: "afterInteractive",
|
|
1249264
1249399
|
LazyOnload: "lazyOnload"
|
|
1249265
1249400
|
};
|
|
1249266
1249401
|
|
|
1249267
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249402
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/client/generated/api/resources/docs/resources/v1/resources/commons/resources/commons/types/FontStyle.js
|
|
1249268
1249403
|
var FontStyle3 = {
|
|
1249269
1249404
|
Normal: "normal",
|
|
1249270
1249405
|
Italic: "italic"
|
|
1249271
1249406
|
};
|
|
1249272
1249407
|
|
|
1249273
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249408
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/client/generated/api/resources/docs/resources/v1/resources/commons/resources/commons/types/FontDisplay.js
|
|
1249274
1249409
|
var FontDisplay3 = {
|
|
1249275
1249410
|
Auto: "auto",
|
|
1249276
1249411
|
Block: "block",
|
|
@@ -1249279,7 +1249414,7 @@ var FontDisplay3 = {
|
|
|
1249279
1249414
|
Optional: "optional"
|
|
1249280
1249415
|
};
|
|
1249281
1249416
|
|
|
1249282
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249417
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/client/generated/core/runtime/runtime.js
|
|
1249283
1249418
|
var isBrowser2 = typeof window !== "undefined" && typeof window.document !== "undefined";
|
|
1249284
1249419
|
var _a3, _b3, _c3;
|
|
1249285
1249420
|
var isWebWorker2 = typeof self === "object" && typeof (self == null ? void 0 : self.importScripts) === "function" && (((_a3 = self.constructor) == null ? void 0 : _a3.name) === "DedicatedWorkerGlobalScope" || ((_b3 = self.constructor) == null ? void 0 : _b3.name) === "ServiceWorkerGlobalScope" || ((_c3 = self.constructor) == null ? void 0 : _c3.name) === "SharedWorkerGlobalScope");
|
|
@@ -1249381,7 +1249516,7 @@ function urlJoin10() {
|
|
|
1249381
1249516
|
return normalize2(input);
|
|
1249382
1249517
|
}
|
|
1249383
1249518
|
|
|
1249384
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249519
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/client/DocsV1Write.js
|
|
1249385
1249520
|
var DocsV1Write_exports = {};
|
|
1249386
1249521
|
__export(DocsV1Write_exports, {
|
|
1249387
1249522
|
ContentAlignment: () => ContentAlignment3,
|
|
@@ -1249399,7 +1249534,7 @@ __export(DocsV1Write_exports, {
|
|
|
1249399
1249534
|
startDocsRegister: () => startDocsRegister_exports3
|
|
1249400
1249535
|
});
|
|
1249401
1249536
|
|
|
1249402
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249537
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/client/visitDbNavigationConfig.js
|
|
1249403
1249538
|
function visitDbNavigationConfig(config, visitor) {
|
|
1249404
1249539
|
if (isVersionedNavigationConfig(config)) {
|
|
1249405
1249540
|
return visitor.versioned(config);
|
|
@@ -1249421,7 +1249556,7 @@ function isTabbedNavigationConfig2(config) {
|
|
|
1249421
1249556
|
return Array.isArray(config.tabs) || Array.isArray(config.tabsV2);
|
|
1249422
1249557
|
}
|
|
1249423
1249558
|
|
|
1249424
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249559
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/client/visitNavigationTab.js
|
|
1249425
1249560
|
function visitDbNavigationTab(config, visitor) {
|
|
1249426
1249561
|
if (isNavigationTabLink(config)) {
|
|
1249427
1249562
|
return visitor.link(config);
|
|
@@ -1249433,7 +1249568,7 @@ function isNavigationTabLink(config) {
|
|
|
1249433
1249568
|
return "url" in config && typeof config.url === "string";
|
|
1249434
1249569
|
}
|
|
1249435
1249570
|
|
|
1249436
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249571
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/client/visitReadNavigationConfig.js
|
|
1249437
1249572
|
function visitReadNavigationConfig(config, visitor) {
|
|
1249438
1249573
|
if (isVersionedNavigationConfig2(config)) {
|
|
1249439
1249574
|
return visitor.versioned(config);
|
|
@@ -1249455,7 +1249590,7 @@ function isTabbedNavigationConfig3(config) {
|
|
|
1249455
1249590
|
return Array.isArray(config.tabs);
|
|
1249456
1249591
|
}
|
|
1249457
1249592
|
|
|
1249458
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249593
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/client/visitWriteNavigationConfig.js
|
|
1249459
1249594
|
function visitWriteNavigationConfig(config, visitor) {
|
|
1249460
1249595
|
if (isVersionedNavigationConfig3(config)) {
|
|
1249461
1249596
|
return visitor.versioned(config);
|
|
@@ -1249477,15 +1249612,15 @@ function isTabbedNavigationConfig4(config) {
|
|
|
1249477
1249612
|
return Array.isArray(config.tabs) || Array.isArray(config.tabsV2);
|
|
1249478
1249613
|
}
|
|
1249479
1249614
|
|
|
1249480
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249615
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/converters/db/convertAPIDefinitionToDb.js
|
|
1249481
1249616
|
var import_fast_deep_equal = __toESM(require_fast_deep_equal(), 1);
|
|
1249482
1249617
|
|
|
1249483
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249618
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/utils/assertNever.js
|
|
1249484
1249619
|
function assertNever2(x2) {
|
|
1249485
1249620
|
throw new Error("Unexpected value: " + JSON.stringify(x2));
|
|
1249486
1249621
|
}
|
|
1249487
1249622
|
|
|
1249488
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249623
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/utils/lodash/internal/getTag.js
|
|
1249489
1249624
|
var toString6 = Object.prototype.toString;
|
|
1249490
1249625
|
function getTag2(value) {
|
|
1249491
1249626
|
if (value == null) {
|
|
@@ -1249495,14 +1249630,14 @@ function getTag2(value) {
|
|
|
1249495
1249630
|
}
|
|
1249496
1249631
|
var getTag_default2 = getTag2;
|
|
1249497
1249632
|
|
|
1249498
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249633
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/utils/lodash/isSymbol.js
|
|
1249499
1249634
|
function isSymbol2(value) {
|
|
1249500
1249635
|
const type2 = typeof value;
|
|
1249501
1249636
|
return type2 === "symbol" || type2 === "object" && value != null && getTag_default2(value) === "[object Symbol]";
|
|
1249502
1249637
|
}
|
|
1249503
1249638
|
var isSymbol_default2 = isSymbol2;
|
|
1249504
1249639
|
|
|
1249505
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249640
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/utils/lodash/toString.js
|
|
1249506
1249641
|
var INFINITY4 = 1 / 0;
|
|
1249507
1249642
|
function toString7(value) {
|
|
1249508
1249643
|
if (value == null) {
|
|
@@ -1249522,7 +1249657,7 @@ function toString7(value) {
|
|
|
1249522
1249657
|
}
|
|
1249523
1249658
|
var toString_default2 = toString7;
|
|
1249524
1249659
|
|
|
1249525
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249660
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/utils/lodash/internal/unicodeWords.js
|
|
1249526
1249661
|
var rsAstralRange5 = "\\ud800-\\udfff";
|
|
1249527
1249662
|
var rsComboMarksRange6 = "\\u0300-\\u036f";
|
|
1249528
1249663
|
var reComboHalfMarksRange6 = "\\ufe20-\\ufe2f";
|
|
@@ -1249579,7 +1249714,7 @@ function unicodeWords2(string6) {
|
|
|
1249579
1249714
|
}
|
|
1249580
1249715
|
var unicodeWords_default2 = unicodeWords2;
|
|
1249581
1249716
|
|
|
1249582
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249717
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/utils/lodash/words.js
|
|
1249583
1249718
|
var hasUnicodeWord2 = RegExp.prototype.test.bind(/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/);
|
|
1249584
1249719
|
var reAsciiWord2 = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
|
|
1249585
1249720
|
function asciiWords2(string6) {
|
|
@@ -1249594,11 +1249729,11 @@ function words2(string6, pattern) {
|
|
|
1249594
1249729
|
}
|
|
1249595
1249730
|
var words_default2 = words2;
|
|
1249596
1249731
|
|
|
1249597
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249732
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/utils/lodash/kebabCase.js
|
|
1249598
1249733
|
var kebabCase2 = (string6) => words_default2(toString_default2(string6).replace(/['\u2019]/g, "")).reduce((result, word, index2) => result + (index2 ? "-" : "") + word.toLowerCase(), "");
|
|
1249599
1249734
|
var kebabCase_default2 = kebabCase2;
|
|
1249600
1249735
|
|
|
1249601
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249736
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/utils/lodash/mapValues.js
|
|
1249602
1249737
|
function mapValue(object4, iteratee) {
|
|
1249603
1249738
|
object4 = Object(object4);
|
|
1249604
1249739
|
const result = {};
|
|
@@ -1249613,7 +1249748,7 @@ function mapValue(object4, iteratee) {
|
|
|
1249613
1249748
|
}
|
|
1249614
1249749
|
var mapValues_default2 = mapValue;
|
|
1249615
1249750
|
|
|
1249616
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249751
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/utils/lodash/before.js
|
|
1249617
1249752
|
function before(n2, func) {
|
|
1249618
1249753
|
let result;
|
|
1249619
1249754
|
if (typeof func !== "function") {
|
|
@@ -1249631,16 +1249766,16 @@ function before(n2, func) {
|
|
|
1249631
1249766
|
}
|
|
1249632
1249767
|
var before_default = before;
|
|
1249633
1249768
|
|
|
1249634
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249769
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/utils/lodash/once.js
|
|
1249635
1249770
|
function once(func) {
|
|
1249636
1249771
|
return before_default(2, func);
|
|
1249637
1249772
|
}
|
|
1249638
1249773
|
var once_default = once;
|
|
1249639
1249774
|
|
|
1249640
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249775
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/utils/titleCase.js
|
|
1249641
1249776
|
var import_title = __toESM(require_lib17(), 1);
|
|
1249642
1249777
|
|
|
1249643
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249778
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/utils/specialTokens.js
|
|
1249644
1249779
|
var SPECIAL_TOKENS = [
|
|
1249645
1249780
|
"PII",
|
|
1249646
1249781
|
"PHI",
|
|
@@ -1249970,7 +1250105,7 @@ var SPECIAL_TOKENS = [
|
|
|
1249970
1250105
|
".NET"
|
|
1249971
1250106
|
];
|
|
1249972
1250107
|
|
|
1249973
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1250108
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/utils/titleCase.js
|
|
1249974
1250109
|
function titleCase(name2) {
|
|
1249975
1250110
|
name2 = name2.replace(/([a-z])([A-Z])/g, "$1 $2");
|
|
1249976
1250111
|
name2 = name2.replace(/_/g, " ");
|
|
@@ -1249980,7 +1250115,7 @@ function titleCase(name2) {
|
|
|
1249980
1250115
|
return versionedTitle;
|
|
1249981
1250116
|
}
|
|
1249982
1250117
|
|
|
1249983
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1250118
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/utils/visitDiscriminatedUnion.js
|
|
1249984
1250119
|
function visitDiscriminatedUnion2(item, discriminant4 = "type") {
|
|
1249985
1250120
|
return {
|
|
1249986
1250121
|
_visit: (visitor) => {
|
|
@@ -1249997,12 +1250132,12 @@ function visitDiscriminatedUnion2(item, discriminant4 = "type") {
|
|
|
1249997
1250132
|
};
|
|
1249998
1250133
|
}
|
|
1249999
1250134
|
|
|
1250000
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1250135
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/converters/utils/assertNever.js
|
|
1250001
1250136
|
function assertNever3(x2) {
|
|
1250002
1250137
|
throw new Error("Unexpected value: " + JSON.stringify(x2));
|
|
1250003
1250138
|
}
|
|
1250004
1250139
|
|
|
1250005
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1250140
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/converters/db/examples/generateHttpBodyExample.js
|
|
1250006
1250141
|
function generateWebhookPayloadExample(shape, resolveTypeById) {
|
|
1250007
1250142
|
switch (shape.type) {
|
|
1250008
1250143
|
case "object":
|
|
@@ -1250279,7 +1250414,7 @@ function resolveAlias(typeId, resolveTypeById) {
|
|
|
1250279
1250414
|
return resolvedTypeDefinition;
|
|
1250280
1250415
|
}
|
|
1250281
1250416
|
|
|
1250282
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1250417
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/converters/db/examples/generateEndpointExampleCall.js
|
|
1250283
1250418
|
var MAX_OPTIONAL_EXAMPLES_FOR_QUERY_PARAMS = 2;
|
|
1250284
1250419
|
function generateEndpointErrorExample({ endpointDefinition, apiDefinition, errorDeclaration }) {
|
|
1250285
1250420
|
const resolveTypeById = getResolveByTypeId(apiDefinition);
|
|
@@ -1250424,7 +1250559,7 @@ function isTypeReferenceString({ typeReference, types: types3 }) {
|
|
|
1250424
1250559
|
return false;
|
|
1250425
1250560
|
}
|
|
1250426
1250561
|
|
|
1250427
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1250562
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/converters/db/examples/generateWebhookExample.js
|
|
1250428
1250563
|
function generateWebhookExample({ webhookDefinition, apiDefinition }) {
|
|
1250429
1250564
|
try {
|
|
1250430
1250565
|
const resolveTypeById = (typeId) => {
|
|
@@ -1250442,7 +1250577,7 @@ function generateWebhookExample({ webhookDefinition, apiDefinition }) {
|
|
|
1250442
1250577
|
}
|
|
1250443
1250578
|
}
|
|
1250444
1250579
|
|
|
1250445
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1250580
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/converters/db/convertAPIDefinitionToDb.js
|
|
1250446
1250581
|
function convertAPIDefinitionToDb(writeShape, id, snippets) {
|
|
1250447
1250582
|
var _a6, _b4;
|
|
1250448
1250583
|
const subpackageToParent = {};
|
|
@@ -1250918,7 +1251053,7 @@ var ApiDefinitionTransformationContext = class {
|
|
|
1250918
1251053
|
}
|
|
1250919
1251054
|
};
|
|
1250920
1251055
|
|
|
1250921
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1251056
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/converters/utils/colors.js
|
|
1250922
1251057
|
var DEFAULT_DARK_MODE_ACCENT_PRIMARY = {
|
|
1250923
1251058
|
r: 129,
|
|
1250924
1251059
|
g: 140,
|
|
@@ -1250932,7 +1251067,7 @@ var DEFAULT_LIGHT_MODE_ACCENT_PRIMARY = {
|
|
|
1250932
1251067
|
a: void 0
|
|
1250933
1251068
|
};
|
|
1250934
1251069
|
|
|
1250935
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1251070
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/converters/db/convertDocsDefinitionToDb.js
|
|
1250936
1251071
|
function convertDocsDefinitionToDb({ writeShape, files }) {
|
|
1250937
1251072
|
const navigationConfig = transformNavigationConfigForDb(writeShape.config.navigation);
|
|
1250938
1251073
|
const transformedFiles = {};
|
|
@@ -1251335,7 +1251470,7 @@ function transformItems(items) {
|
|
|
1251335
1251470
|
});
|
|
1251336
1251471
|
}
|
|
1251337
1251472
|
|
|
1251338
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1251473
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/converters/db/snippets/SDKSnippetHolder.js
|
|
1251339
1251474
|
var SDKSnippetHolder = class {
|
|
1251340
1251475
|
snippetsBySdkId;
|
|
1251341
1251476
|
snippetsBySdkIdAndEndpointId;
|
|
@@ -1251447,7 +1251582,7 @@ var SDKSnippetHolder = class {
|
|
|
1251447
1251582
|
}
|
|
1251448
1251583
|
};
|
|
1251449
1251584
|
|
|
1251450
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1251585
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/converters/read/convertDbAPIDefinitionToRead.js
|
|
1251451
1251586
|
function convertDbAPIDefinitionToRead(dbShape) {
|
|
1251452
1251587
|
return {
|
|
1251453
1251588
|
id: dbShape.id,
|
|
@@ -1251577,7 +1251712,7 @@ function convertExampleEndpointCall({ dbShape }) {
|
|
|
1251577
1251712
|
};
|
|
1251578
1251713
|
}
|
|
1251579
1251714
|
|
|
1251580
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1251715
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/converters/read/convertDbDocsConfigToRead.js
|
|
1251581
1251716
|
function convertDbDocsConfigToRead({ dbShape }) {
|
|
1251582
1251717
|
return {
|
|
1251583
1251718
|
navigation: transformNavigationConfigToRead(dbShape.navigation),
|
|
@@ -1251851,9 +1251986,9 @@ function getColorsV3(docsDbConfig) {
|
|
|
1251851
1251986
|
}
|
|
1251852
1251987
|
}
|
|
1251853
1251988
|
|
|
1251854
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1251855
|
-
var
|
|
1251856
|
-
__export(
|
|
1251989
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/navigation/index.js
|
|
1251990
|
+
var navigation_exports3 = {};
|
|
1251991
|
+
__export(navigation_exports3, {
|
|
1251857
1251992
|
ApiDefinitionHolder: () => ApiDefinitionHolder,
|
|
1251858
1251993
|
ApiDefinitionId: () => ApiDefinitionId,
|
|
1251859
1251994
|
ApiReferenceNavigationConverter: () => ApiReferenceNavigationConverter,
|
|
@@ -1251869,7 +1252004,6 @@ __export(navigation_exports2, {
|
|
|
1251869
1252004
|
PageId: () => PageId,
|
|
1251870
1252005
|
Slug: () => Slug,
|
|
1251871
1252006
|
SlugGenerator: () => SlugGenerator,
|
|
1251872
|
-
TabId: () => TabId2,
|
|
1251873
1252007
|
Url: () => Url,
|
|
1251874
1252008
|
VersionId: () => VersionId,
|
|
1251875
1252009
|
WebSocketId: () => WebSocketId,
|
|
@@ -1251886,12 +1252020,12 @@ __export(navigation_exports2, {
|
|
|
1251886
1252020
|
utils: () => utils_exports2
|
|
1251887
1252021
|
});
|
|
1251888
1252022
|
|
|
1251889
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252023
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/navigation/consts.js
|
|
1251890
1252024
|
var ROOT_PACKAGE_ID = "__package__";
|
|
1251891
1252025
|
|
|
1251892
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1251893
|
-
var
|
|
1251894
|
-
__export(
|
|
1252026
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/navigation/generated/api/resources/navigation/index.js
|
|
1252027
|
+
var navigation_exports2 = {};
|
|
1252028
|
+
__export(navigation_exports2, {
|
|
1251895
1252029
|
ApiDefinitionId: () => ApiDefinitionId,
|
|
1251896
1252030
|
Availability: () => Availability4,
|
|
1251897
1252031
|
EndpointId: () => EndpointId2,
|
|
@@ -1251900,69 +1252034,63 @@ __export(api_exports8, {
|
|
|
1251900
1252034
|
NodeId: () => NodeId,
|
|
1251901
1252035
|
PageId: () => PageId,
|
|
1251902
1252036
|
Slug: () => Slug,
|
|
1251903
|
-
TabId: () => TabId2,
|
|
1251904
1252037
|
Url: () => Url,
|
|
1251905
1252038
|
VersionId: () => VersionId,
|
|
1251906
1252039
|
WebSocketId: () => WebSocketId,
|
|
1251907
1252040
|
WebhookId: () => WebhookId2
|
|
1251908
1252041
|
});
|
|
1251909
1252042
|
|
|
1251910
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252043
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/navigation/generated/api/resources/navigation/types/Slug.js
|
|
1251911
1252044
|
function Slug(value) {
|
|
1251912
1252045
|
return value;
|
|
1251913
1252046
|
}
|
|
1251914
1252047
|
|
|
1251915
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252048
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/navigation/generated/api/resources/navigation/types/Url.js
|
|
1251916
1252049
|
function Url(value) {
|
|
1251917
1252050
|
return value;
|
|
1251918
1252051
|
}
|
|
1251919
1252052
|
|
|
1251920
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252053
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/navigation/generated/api/resources/navigation/types/VersionId.js
|
|
1251921
1252054
|
function VersionId(value) {
|
|
1251922
1252055
|
return value;
|
|
1251923
1252056
|
}
|
|
1251924
1252057
|
|
|
1251925
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1251926
|
-
function TabId2(value) {
|
|
1251927
|
-
return value;
|
|
1251928
|
-
}
|
|
1251929
|
-
|
|
1251930
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.98.20-86eba53a1_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/navigation/generated/api/types/PageId.js
|
|
1252058
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/navigation/generated/api/resources/navigation/types/PageId.js
|
|
1251931
1252059
|
function PageId(value) {
|
|
1251932
1252060
|
return value;
|
|
1251933
1252061
|
}
|
|
1251934
1252062
|
|
|
1251935
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252063
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/navigation/generated/api/resources/navigation/types/NodeId.js
|
|
1251936
1252064
|
function NodeId(value) {
|
|
1251937
1252065
|
return value;
|
|
1251938
1252066
|
}
|
|
1251939
1252067
|
|
|
1251940
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252068
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/navigation/generated/api/resources/navigation/types/EnvironmentId.js
|
|
1251941
1252069
|
function EnvironmentId2(value) {
|
|
1251942
1252070
|
return value;
|
|
1251943
1252071
|
}
|
|
1251944
1252072
|
|
|
1251945
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252073
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/navigation/generated/api/resources/navigation/types/ApiDefinitionId.js
|
|
1251946
1252074
|
function ApiDefinitionId(value) {
|
|
1251947
1252075
|
return value;
|
|
1251948
1252076
|
}
|
|
1251949
1252077
|
|
|
1251950
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252078
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/navigation/generated/api/resources/navigation/types/EndpointId.js
|
|
1251951
1252079
|
function EndpointId2(value) {
|
|
1251952
1252080
|
return value;
|
|
1251953
1252081
|
}
|
|
1251954
1252082
|
|
|
1251955
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252083
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/navigation/generated/api/resources/navigation/types/WebSocketId.js
|
|
1251956
1252084
|
function WebSocketId(value) {
|
|
1251957
1252085
|
return value;
|
|
1251958
1252086
|
}
|
|
1251959
1252087
|
|
|
1251960
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252088
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/navigation/generated/api/resources/navigation/types/WebhookId.js
|
|
1251961
1252089
|
function WebhookId2(value) {
|
|
1251962
1252090
|
return value;
|
|
1251963
1252091
|
}
|
|
1251964
1252092
|
|
|
1251965
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252093
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/navigation/generated/api/resources/navigation/types/HttpMethod.js
|
|
1251966
1252094
|
var HttpMethod5 = {
|
|
1251967
1252095
|
Get: "GET",
|
|
1251968
1252096
|
Post: "POST",
|
|
@@ -1251971,7 +1252099,7 @@ var HttpMethod5 = {
|
|
|
1251971
1252099
|
Delete: "DELETE"
|
|
1251972
1252100
|
};
|
|
1251973
1252101
|
|
|
1251974
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252102
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/navigation/generated/api/resources/navigation/types/Availability.js
|
|
1251975
1252103
|
var Availability4 = {
|
|
1251976
1252104
|
Stable: "stable",
|
|
1251977
1252105
|
GenerallyAvailable: "generally-available",
|
|
@@ -1251981,12 +1252109,12 @@ var Availability4 = {
|
|
|
1251981
1252109
|
Deprecated: "deprecated"
|
|
1251982
1252110
|
};
|
|
1251983
1252111
|
|
|
1251984
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252112
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/navigation/utils/isSubpackage.js
|
|
1251985
1252113
|
function isSubpackage(package_) {
|
|
1251986
1252114
|
return typeof package_.subpackageId === "string";
|
|
1251987
1252115
|
}
|
|
1251988
1252116
|
|
|
1251989
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252117
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/navigation/ApiDefinitionHolder.js
|
|
1251990
1252118
|
var _endpoints, _webSockets, _webhooks;
|
|
1251991
1252119
|
var _ApiDefinitionHolder = class {
|
|
1251992
1252120
|
constructor(api) {
|
|
@@ -1252021,13 +1252149,13 @@ var _ApiDefinitionHolder = class {
|
|
|
1252021
1252149
|
return __privateGet(this, _webhooks);
|
|
1252022
1252150
|
}
|
|
1252023
1252151
|
static createEndpointId(endpoint, subpackageId) {
|
|
1252024
|
-
return
|
|
1252152
|
+
return navigation_exports2.EndpointId(endpoint.originalEndpointId ?? `${subpackageId}.${endpoint.id}`);
|
|
1252025
1252153
|
}
|
|
1252026
1252154
|
static createWebSocketId(webSocket, subpackageId) {
|
|
1252027
|
-
return
|
|
1252155
|
+
return navigation_exports2.WebSocketId(`${subpackageId}.${webSocket.id}`);
|
|
1252028
1252156
|
}
|
|
1252029
1252157
|
static createWebhookId(webhook, subpackageId) {
|
|
1252030
|
-
return
|
|
1252158
|
+
return navigation_exports2.WebhookId(`${subpackageId}.${webhook.id}`);
|
|
1252031
1252159
|
}
|
|
1252032
1252160
|
};
|
|
1252033
1252161
|
var ApiDefinitionHolder = _ApiDefinitionHolder;
|
|
@@ -1252035,52 +1252163,52 @@ _endpoints = new WeakMap();
|
|
|
1252035
1252163
|
_webSockets = new WeakMap();
|
|
1252036
1252164
|
_webhooks = new WeakMap();
|
|
1252037
1252165
|
|
|
1252038
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252166
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/navigation/types/NavigationNodeApiLeaf.js
|
|
1252039
1252167
|
function isApiLeaf(node2) {
|
|
1252040
1252168
|
return node2.type === "endpoint" || node2.type === "webSocket" || node2.type === "webhook";
|
|
1252041
1252169
|
}
|
|
1252042
1252170
|
|
|
1252043
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252171
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/navigation/types/NavigationNodePageLeaf.js
|
|
1252044
1252172
|
function isMarkdownLeaf(node2) {
|
|
1252045
1252173
|
return node2.type === "page" || node2.type === "landingPage" || node2.type === "changelogEntry";
|
|
1252046
1252174
|
}
|
|
1252047
1252175
|
|
|
1252048
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252176
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/navigation/types/NavigationNodeSection.js
|
|
1252049
1252177
|
function isSection(node2) {
|
|
1252050
1252178
|
return node2.type === "section" || node2.type === "apiReference" || node2.type === "changelog" || node2.type === "apiPackage";
|
|
1252051
1252179
|
}
|
|
1252052
1252180
|
|
|
1252053
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252181
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/navigation/types/NavigationNodeSectionOverview.js
|
|
1252054
1252182
|
function isSectionOverview(node2) {
|
|
1252055
1252183
|
return isSection(node2) && node2.overviewPageId != null;
|
|
1252056
1252184
|
}
|
|
1252057
1252185
|
|
|
1252058
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252186
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/navigation/types/NavigationNodeMarkdown.js
|
|
1252059
1252187
|
function hasMarkdown(node2) {
|
|
1252060
1252188
|
return isMarkdownLeaf(node2) || isSectionOverview(node2);
|
|
1252061
1252189
|
}
|
|
1252062
1252190
|
|
|
1252063
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252191
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/navigation/types/NavigationNodeNeighbor.js
|
|
1252064
1252192
|
function isNeighbor(node2) {
|
|
1252065
1252193
|
return isApiLeaf(node2) || node2.type === "page" || node2.type === "changelog" || node2.type === "changelogEntry" || isSectionOverview(node2);
|
|
1252066
1252194
|
}
|
|
1252067
1252195
|
|
|
1252068
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252196
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/navigation/types/NavigationNodePage.js
|
|
1252069
1252197
|
function isPage(node2) {
|
|
1252070
1252198
|
return isApiLeaf(node2) || node2.type === "changelog" || node2.type === "changelogYear" || node2.type === "changelogMonth" || hasMarkdown(node2);
|
|
1252071
1252199
|
}
|
|
1252072
1252200
|
|
|
1252073
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252201
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/navigation/types/NavigationNodeWithMetadata.js
|
|
1252074
1252202
|
function hasMetadata(node2) {
|
|
1252075
1252203
|
return typeof node2.title === "string" && typeof node2.slug === "string";
|
|
1252076
1252204
|
}
|
|
1252077
1252205
|
|
|
1252078
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252206
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/navigation/types/NavigationNodeWithRedirect.js
|
|
1252079
1252207
|
function hasRedirect(node2) {
|
|
1252080
1252208
|
return typeof node2.pointsTo === "string";
|
|
1252081
1252209
|
}
|
|
1252082
1252210
|
|
|
1252083
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252211
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/navigation/utils/index.js
|
|
1252084
1252212
|
var utils_exports2 = {};
|
|
1252085
1252213
|
__export(utils_exports2, {
|
|
1252086
1252214
|
collectApiReferences: () => collectApiReferences,
|
|
@@ -1252099,7 +1252227,7 @@ __export(utils_exports2, {
|
|
|
1252099
1252227
|
traverseNavigation: () => traverseNavigation
|
|
1252100
1252228
|
});
|
|
1252101
1252229
|
|
|
1252102
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252230
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/navigation/utils/traverseNavigation.js
|
|
1252103
1252231
|
var import_ts_essentials = __toESM(require_dist6(), 1);
|
|
1252104
1252232
|
var SKIP3 = "skip";
|
|
1252105
1252233
|
var STOP = false;
|
|
@@ -1252182,7 +1252310,7 @@ function traverseNavigation(node2, visit3) {
|
|
|
1252182
1252310
|
internalTraverser(node2, void 0, []);
|
|
1252183
1252311
|
}
|
|
1252184
1252312
|
|
|
1252185
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252313
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/navigation/utils/collectApiReferences.js
|
|
1252186
1252314
|
function collectApiReferences(nav) {
|
|
1252187
1252315
|
const apiReferences = [];
|
|
1252188
1252316
|
traverseNavigation(nav, (node2) => {
|
|
@@ -1252195,7 +1252323,7 @@ function collectApiReferences(nav) {
|
|
|
1252195
1252323
|
return apiReferences;
|
|
1252196
1252324
|
}
|
|
1252197
1252325
|
|
|
1252198
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252326
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/navigation/utils/getPageId.js
|
|
1252199
1252327
|
var RETURN_PAGEID = (node2) => node2.pageId;
|
|
1252200
1252328
|
var RETURN_OVERVIEW_PAGEID = (node2) => node2.overviewPageId;
|
|
1252201
1252329
|
var RETURN_UNDEFINED = () => void 0;
|
|
@@ -1252216,7 +1252344,7 @@ function getPageId(node2) {
|
|
|
1252216
1252344
|
});
|
|
1252217
1252345
|
}
|
|
1252218
1252346
|
|
|
1252219
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252347
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/navigation/utils/collectPageIds.js
|
|
1252220
1252348
|
function collectPageIds(nav) {
|
|
1252221
1252349
|
const pageIds = /* @__PURE__ */ new Set();
|
|
1252222
1252350
|
traverseNavigation(nav, (node2) => {
|
|
@@ -1252230,26 +1252358,26 @@ function collectPageIds(nav) {
|
|
|
1252230
1252358
|
return pageIds;
|
|
1252231
1252359
|
}
|
|
1252232
1252360
|
|
|
1252233
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252361
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/navigation/utils/convertAvailability.js
|
|
1252234
1252362
|
function convertAvailability3(availability) {
|
|
1252235
1252363
|
if (availability == null) {
|
|
1252236
1252364
|
return void 0;
|
|
1252237
1252365
|
}
|
|
1252238
1252366
|
switch (availability) {
|
|
1252239
1252367
|
case "Beta":
|
|
1252240
|
-
return
|
|
1252368
|
+
return navigation_exports2.Availability.Beta;
|
|
1252241
1252369
|
case "Stable":
|
|
1252242
|
-
return
|
|
1252370
|
+
return navigation_exports2.Availability.Stable;
|
|
1252243
1252371
|
case "GenerallyAvailable":
|
|
1252244
|
-
return
|
|
1252372
|
+
return navigation_exports2.Availability.GenerallyAvailable;
|
|
1252245
1252373
|
case "Deprecated":
|
|
1252246
|
-
return
|
|
1252374
|
+
return navigation_exports2.Availability.Deprecated;
|
|
1252247
1252375
|
default:
|
|
1252248
1252376
|
return assertNever2(availability);
|
|
1252249
1252377
|
}
|
|
1252250
1252378
|
}
|
|
1252251
1252379
|
|
|
1252252
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252380
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/navigation/utils/pruneVersionNode.js
|
|
1252253
1252381
|
function pruneVersionNode(node2, rootSlug, versionSlug) {
|
|
1252254
1252382
|
if (node2 == null) {
|
|
1252255
1252383
|
return void 0;
|
|
@@ -1252274,20 +1252402,20 @@ function toDefaultSlug(slug, rootSlug, versionSlug) {
|
|
|
1252274
1252402
|
return void 0;
|
|
1252275
1252403
|
}
|
|
1252276
1252404
|
if (slug.startsWith(versionSlug)) {
|
|
1252277
|
-
return
|
|
1252405
|
+
return navigation_exports2.Slug(slug.replace(new RegExp(`^${versionSlug.replaceAll("/", "\\/")}`), rootSlug).replace(/^\//, ""));
|
|
1252278
1252406
|
}
|
|
1252279
1252407
|
return slug;
|
|
1252280
1252408
|
}
|
|
1252281
1252409
|
|
|
1252282
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252410
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/navigation/converters/ApiReferenceNavigationConverter.js
|
|
1252283
1252411
|
var import_ts_essentials2 = __toESM(require_dist6(), 1);
|
|
1252284
1252412
|
|
|
1252285
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252413
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/navigation/utils/stringifyEndpointPathParts.js
|
|
1252286
1252414
|
function stringifyEndpointPathParts(path45) {
|
|
1252287
1252415
|
return urlJoin10("/", ...path45.map((part) => part.type === "literal" ? part.value : `:${part.value}`));
|
|
1252288
1252416
|
}
|
|
1252289
1252417
|
|
|
1252290
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252418
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/navigation/converters/ChangelogConverter.js
|
|
1252291
1252419
|
var import_dayjs = __toESM(require_dayjs_min(), 1);
|
|
1252292
1252420
|
var import_utc = __toESM(require_utc(), 1);
|
|
1252293
1252421
|
import_dayjs.default.extend(import_utc.default);
|
|
@@ -1252307,7 +1252435,7 @@ var _ChangelogNavigationConverter = class {
|
|
|
1252307
1252435
|
convert(changelog, parentSlug) {
|
|
1252308
1252436
|
return __privateGet(this, _idgen).with("log", (id) => {
|
|
1252309
1252437
|
let slug = parentSlug.apply(changelog);
|
|
1252310
|
-
const overviewPageId = changelog.pageId != null ?
|
|
1252438
|
+
const overviewPageId = changelog.pageId != null ? navigation_exports2.PageId(changelog.pageId) : void 0;
|
|
1252311
1252439
|
const noindex = overviewPageId != null ? this.noindexMap[overviewPageId] : void 0;
|
|
1252312
1252440
|
const frontmatterSlug = overviewPageId != null ? this.fullSlugMap[overviewPageId] : void 0;
|
|
1252313
1252441
|
if (frontmatterSlug != null) {
|
|
@@ -1252374,7 +1252502,7 @@ var _ChangelogNavigationConverter = class {
|
|
|
1252374
1252502
|
convertChangelogEntry(item, parentSlug) {
|
|
1252375
1252503
|
const date4 = import_dayjs.default.utc(item.date);
|
|
1252376
1252504
|
return __privateGet(this, _idgen).with(date4.format("YYYY-M-D"), (id) => {
|
|
1252377
|
-
const pageId =
|
|
1252505
|
+
const pageId = navigation_exports2.PageId(item.pageId);
|
|
1252378
1252506
|
const noindex = this.noindexMap[pageId];
|
|
1252379
1252507
|
return {
|
|
1252380
1252508
|
id,
|
|
@@ -1252405,7 +1252533,7 @@ function orderBy(items, key, order2 = "asc") {
|
|
|
1252405
1252533
|
});
|
|
1252406
1252534
|
}
|
|
1252407
1252535
|
|
|
1252408
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252536
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/navigation/converters/NodeIdGenerator.js
|
|
1252409
1252537
|
var _ids, _generatedIds, _stableId, stableId_fn;
|
|
1252410
1252538
|
var NodeIdGenerator = class {
|
|
1252411
1252539
|
constructor() {
|
|
@@ -1252432,10 +1252560,10 @@ stableId_fn = function() {
|
|
|
1252432
1252560
|
i2++;
|
|
1252433
1252561
|
}
|
|
1252434
1252562
|
__privateGet(this, _generatedIds).add(uniqId);
|
|
1252435
|
-
return
|
|
1252563
|
+
return navigation_exports2.NodeId(uniqId);
|
|
1252436
1252564
|
};
|
|
1252437
1252565
|
|
|
1252438
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252566
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/navigation/converters/ApiReferenceNavigationConverter.js
|
|
1252439
1252567
|
var _holder, _visitedEndpoints, _visitedWebSockets, _visitedWebhooks, _visitedSubpackages, _idgen2;
|
|
1252440
1252568
|
var _ApiReferenceNavigationConverter = class {
|
|
1252441
1252569
|
constructor(apiSection, api, fullSlugMap, noindexMap, parentSlug, idgen, lexicographic = false, disableEndpointPairs = false, paginated) {
|
|
@@ -1252462,7 +1252590,7 @@ var _ApiReferenceNavigationConverter = class {
|
|
|
1252462
1252590
|
this.lexicographic = lexicographic;
|
|
1252463
1252591
|
this.disableEndpointPairs = disableEndpointPairs;
|
|
1252464
1252592
|
this.paginated = paginated;
|
|
1252465
|
-
this.apiDefinitionId =
|
|
1252593
|
+
this.apiDefinitionId = navigation_exports2.ApiDefinitionId(api.id);
|
|
1252466
1252594
|
__privateSet(this, _holder, ApiDefinitionHolder.create(api));
|
|
1252467
1252595
|
__privateSet(this, _idgen2, idgen);
|
|
1252468
1252596
|
}
|
|
@@ -1252472,7 +1252600,7 @@ var _ApiReferenceNavigationConverter = class {
|
|
|
1252472
1252600
|
convert() {
|
|
1252473
1252601
|
return __privateGet(this, _idgen2).with(this.apiSection.urlSlug, (id) => {
|
|
1252474
1252602
|
var _a6;
|
|
1252475
|
-
const overviewPageId = ((_a6 = this.apiSection.navigation) == null ? void 0 : _a6.summaryPageId) != null ?
|
|
1252603
|
+
const overviewPageId = ((_a6 = this.apiSection.navigation) == null ? void 0 : _a6.summaryPageId) != null ? navigation_exports2.PageId(this.apiSection.navigation.summaryPageId) : void 0;
|
|
1252476
1252604
|
const noindex = overviewPageId != null ? this.noindexMap[overviewPageId] : void 0;
|
|
1252477
1252605
|
let slug = this.parentSlug.apply(this.apiSection);
|
|
1252478
1252606
|
const frontmatterSlug = overviewPageId != null ? this.fullSlugMap[overviewPageId] : void 0;
|
|
@@ -1252486,7 +1252614,7 @@ var _ApiReferenceNavigationConverter = class {
|
|
|
1252486
1252614
|
id,
|
|
1252487
1252615
|
type: "apiReference",
|
|
1252488
1252616
|
title: this.apiSection.title,
|
|
1252489
|
-
apiDefinitionId:
|
|
1252617
|
+
apiDefinitionId: navigation_exports2.ApiDefinitionId(this.apiSection.api),
|
|
1252490
1252618
|
overviewPageId,
|
|
1252491
1252619
|
noindex,
|
|
1252492
1252620
|
paginated: this.paginated ?? (this.apiSection.longScrolling === false ? true : void 0),
|
|
@@ -1252667,7 +1252795,7 @@ var _ApiReferenceNavigationConverter = class {
|
|
|
1252667
1252795
|
visitDiscriminatedUnion2(item, "type")._visit({
|
|
1252668
1252796
|
page: (page) => {
|
|
1252669
1252797
|
children2.push(__privateGet(this, _idgen2).with(page.urlSlug, (id) => {
|
|
1252670
|
-
const pageId =
|
|
1252798
|
+
const pageId = navigation_exports2.PageId(page.id);
|
|
1252671
1252799
|
const noindex = this.noindexMap[pageId];
|
|
1252672
1252800
|
return {
|
|
1252673
1252801
|
id,
|
|
@@ -1252718,7 +1252846,7 @@ var _ApiReferenceNavigationConverter = class {
|
|
|
1252718
1252846
|
return;
|
|
1252719
1252847
|
}
|
|
1252720
1252848
|
let slug = parentSlug.apply(subpackage2);
|
|
1252721
|
-
const overviewPageId = summaryPageId != null ?
|
|
1252849
|
+
const overviewPageId = summaryPageId != null ? navigation_exports2.PageId(summaryPageId) : void 0;
|
|
1252722
1252850
|
const noindex = overviewPageId != null ? this.noindexMap[overviewPageId] : void 0;
|
|
1252723
1252851
|
const frontmatterSlug = overviewPageId != null ? this.fullSlugMap[overviewPageId] : void 0;
|
|
1252724
1252852
|
if (frontmatterSlug != null) {
|
|
@@ -1252791,12 +1252919,12 @@ _visitedWebhooks = new WeakMap();
|
|
|
1252791
1252919
|
_visitedSubpackages = new WeakMap();
|
|
1252792
1252920
|
_idgen2 = new WeakMap();
|
|
1252793
1252921
|
|
|
1252794
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252922
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/navigation/utils/slugjoin.js
|
|
1252795
1252923
|
function slugjoin(...parts) {
|
|
1252796
|
-
return
|
|
1252924
|
+
return navigation_exports2.Slug(urlJoin10(parts.map((part) => part.trim())).replaceAll("//*", "/").replace(/^\//, "").replace(/\/$/, ""));
|
|
1252797
1252925
|
}
|
|
1252798
1252926
|
|
|
1252799
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252927
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/navigation/converters/SlugGenerator.js
|
|
1252800
1252928
|
var SlugGenerator = class {
|
|
1252801
1252929
|
baseSlug;
|
|
1252802
1252930
|
versionSlug;
|
|
@@ -1252810,7 +1252938,7 @@ var SlugGenerator = class {
|
|
|
1252810
1252938
|
this.slug = slug;
|
|
1252811
1252939
|
}
|
|
1252812
1252940
|
get() {
|
|
1252813
|
-
return
|
|
1252941
|
+
return navigation_exports2.Slug(slugjoin(this.slug));
|
|
1252814
1252942
|
}
|
|
1252815
1252943
|
setVersionSlug(versionSlug) {
|
|
1252816
1252944
|
if (this.versionSlug != null) {
|
|
@@ -1252859,7 +1252987,7 @@ var SlugGenerator = class {
|
|
|
1252859
1252987
|
}
|
|
1252860
1252988
|
};
|
|
1252861
1252989
|
|
|
1252862
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252990
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/navigation/converters/NavigationConfigConverter.js
|
|
1252863
1252991
|
var _idgen3;
|
|
1252864
1252992
|
var _NavigationConfigConverter = class {
|
|
1252865
1252993
|
constructor(title2, config, fullSlugMap, noindexMap, apis, basePath, lexicographic, disableEndpointPairs, paginated) {
|
|
@@ -1252931,7 +1253059,7 @@ var _NavigationConfigConverter = class {
|
|
|
1252931
1253059
|
type: "version",
|
|
1252932
1253060
|
title: version3.version,
|
|
1252933
1253061
|
default: idx === 0,
|
|
1252934
|
-
versionId:
|
|
1253062
|
+
versionId: navigation_exports2.VersionId(version3.version),
|
|
1252935
1253063
|
slug: slug.get(),
|
|
1252936
1253064
|
icon: void 0,
|
|
1252937
1253065
|
hidden: false,
|
|
@@ -1252977,7 +1253105,7 @@ var _NavigationConfigConverter = class {
|
|
|
1252977
1253105
|
id: id2,
|
|
1252978
1253106
|
type: "link",
|
|
1252979
1253107
|
title: tab2.title,
|
|
1252980
|
-
url:
|
|
1253108
|
+
url: navigation_exports2.Url(tab2.url),
|
|
1252981
1253109
|
icon: tab2.icon
|
|
1252982
1253110
|
}));
|
|
1252983
1253111
|
} else if (tab2.type === "changelog") {
|
|
@@ -1253004,7 +1253132,7 @@ var _NavigationConfigConverter = class {
|
|
|
1253004
1253132
|
if (unversioned.landingPage == null) {
|
|
1253005
1253133
|
return void 0;
|
|
1253006
1253134
|
}
|
|
1253007
|
-
const pageId =
|
|
1253135
|
+
const pageId = navigation_exports2.PageId(unversioned.landingPage.id);
|
|
1253008
1253136
|
return {
|
|
1253009
1253137
|
id: id2,
|
|
1253010
1253138
|
type: "landingPage",
|
|
@@ -1253049,7 +1253177,7 @@ var _NavigationConfigConverter = class {
|
|
|
1253049
1253177
|
convertNavigationItem(item, parentSlug) {
|
|
1253050
1253178
|
return visitDiscriminatedUnion2(item, "type")._visit({
|
|
1253051
1253179
|
page: (page) => __privateGet(this, _idgen3).with(page.urlSlug, (id) => {
|
|
1253052
|
-
const pageId =
|
|
1253180
|
+
const pageId = navigation_exports2.PageId(page.id);
|
|
1253053
1253181
|
return {
|
|
1253054
1253182
|
id,
|
|
1253055
1253183
|
type: "page",
|
|
@@ -1253065,14 +1253193,14 @@ var _NavigationConfigConverter = class {
|
|
|
1253065
1253193
|
id,
|
|
1253066
1253194
|
type: "link",
|
|
1253067
1253195
|
title: link3.title,
|
|
1253068
|
-
url:
|
|
1253196
|
+
url: navigation_exports2.Url(link3.url),
|
|
1253069
1253197
|
icon: link3.icon
|
|
1253070
1253198
|
})),
|
|
1253071
1253199
|
section: (section) => __privateGet(this, _idgen3).with(section.urlSlug, (id) => {
|
|
1253072
1253200
|
let slug = parentSlug.apply(section);
|
|
1253073
1253201
|
const children2 = section.items.map((item2) => this.convertNavigationItem(item2, slug));
|
|
1253074
1253202
|
const pointsTo = followRedirects(children2);
|
|
1253075
|
-
const overviewPageId = section.overviewPageId != null ?
|
|
1253203
|
+
const overviewPageId = section.overviewPageId != null ? navigation_exports2.PageId(section.overviewPageId) : void 0;
|
|
1253076
1253204
|
const noindex = overviewPageId != null ? this.noindexMap[overviewPageId] : void 0;
|
|
1253077
1253205
|
const frontmatterSlug = overviewPageId != null ? this.fullSlugMap[overviewPageId] : void 0;
|
|
1253078
1253206
|
if (frontmatterSlug != null) {
|
|
@@ -1253115,7 +1253243,7 @@ var _NavigationConfigConverter = class {
|
|
|
1253115
1253243
|
var NavigationConfigConverter = _NavigationConfigConverter;
|
|
1253116
1253244
|
_idgen3 = new WeakMap();
|
|
1253117
1253245
|
|
|
1253118
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1253246
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/navigation/utils/getFrontmatter.js
|
|
1253119
1253247
|
function getFrontmatter(markdown) {
|
|
1253120
1253248
|
const frontmatterMatch = /^---\s*([\s\S]*?)\s*---/.exec(markdown.trimStart());
|
|
1253121
1253249
|
if (!frontmatterMatch || frontmatterMatch[1] == null) {
|
|
@@ -1253124,7 +1253252,7 @@ function getFrontmatter(markdown) {
|
|
|
1253124
1253252
|
return frontmatterMatch[1];
|
|
1253125
1253253
|
}
|
|
1253126
1253254
|
|
|
1253127
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1253255
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/navigation/utils/getFullSlugFromFrontmatter.js
|
|
1253128
1253256
|
function getFullSlugFromFrontmatter(frontmatter) {
|
|
1253129
1253257
|
const match = frontmatter.match(/slug:\s*"?([^"\n\s]+)"?/);
|
|
1253130
1253258
|
if (match != null && match[1] != null) {
|
|
@@ -1253133,7 +1253261,7 @@ function getFullSlugFromFrontmatter(frontmatter) {
|
|
|
1253133
1253261
|
return void 0;
|
|
1253134
1253262
|
}
|
|
1253135
1253263
|
|
|
1253136
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1253264
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/navigation/utils/getNoIndexFromFrontmatter.js
|
|
1253137
1253265
|
function getNoIndexFromFrontmatter(frontmatter) {
|
|
1253138
1253266
|
if (/noindex:\s*true/.test(frontmatter)) {
|
|
1253139
1253267
|
return true;
|
|
@@ -1253143,7 +1253271,7 @@ function getNoIndexFromFrontmatter(frontmatter) {
|
|
|
1253143
1253271
|
return void 0;
|
|
1253144
1253272
|
}
|
|
1253145
1253273
|
|
|
1253146
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1253274
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/navigation/utils/convertLoadDocsForUrlResponse.js
|
|
1253147
1253275
|
function convertLoadDocsForUrlResponse(response, disableEndpointPairs = false, paginated) {
|
|
1253148
1253276
|
const noindexMap = {};
|
|
1253149
1253277
|
const fullSlugMap = {};
|
|
@@ -1253154,11 +1253282,11 @@ function convertLoadDocsForUrlResponse(response, disableEndpointPairs = false, p
|
|
|
1253154
1253282
|
}
|
|
1253155
1253283
|
const noindex = getNoIndexFromFrontmatter(frontmatter);
|
|
1253156
1253284
|
if (noindex != null) {
|
|
1253157
|
-
noindexMap[
|
|
1253285
|
+
noindexMap[navigation_exports2.PageId(pageId)] = noindex;
|
|
1253158
1253286
|
}
|
|
1253159
1253287
|
const fullSlug = getFullSlugFromFrontmatter(frontmatter);
|
|
1253160
1253288
|
if (fullSlug != null) {
|
|
1253161
|
-
fullSlugMap[
|
|
1253289
|
+
fullSlugMap[navigation_exports2.PageId(pageId)] = fullSlug;
|
|
1253162
1253290
|
}
|
|
1253163
1253291
|
});
|
|
1253164
1253292
|
return NavigationConfigConverter.convert(response.definition.config.title, response.definition.config.navigation, fullSlugMap, noindexMap, hackReorderApis(response.definition.apis, response.baseUrl.domain), response.baseUrl.basePath, isLexicographicSortEnabled(response.baseUrl.domain), disableEndpointPairs, paginated);
|
|
@@ -1253188,35 +1253316,35 @@ function hackReorderAssemblyApi(api) {
|
|
|
1253188
1253316
|
return api;
|
|
1253189
1253317
|
}
|
|
1253190
1253318
|
|
|
1253191
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1253319
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/navigation/utils/findNode.js
|
|
1253192
1253320
|
var import_ts_essentials3 = __toESM(require_dist6(), 1);
|
|
1253193
1253321
|
|
|
1253194
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1253322
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/navigation/utils/isApiReferenceNode.js
|
|
1253195
1253323
|
function isApiReferenceNode(node2) {
|
|
1253196
1253324
|
return node2.type === "apiReference";
|
|
1253197
1253325
|
}
|
|
1253198
1253326
|
|
|
1253199
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1253327
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/navigation/utils/isSidebarRootNode.js
|
|
1253200
1253328
|
function isSidebarRootNode(node2) {
|
|
1253201
1253329
|
return node2.type === "sidebarRoot";
|
|
1253202
1253330
|
}
|
|
1253203
1253331
|
|
|
1253204
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1253332
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/navigation/utils/isTabbedNode.js
|
|
1253205
1253333
|
function isTabbedNode(node2) {
|
|
1253206
1253334
|
return node2.type === "tabbed";
|
|
1253207
1253335
|
}
|
|
1253208
1253336
|
|
|
1253209
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1253337
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/navigation/utils/isUnversionedNode.js
|
|
1253210
1253338
|
function isUnversionedNode(node2) {
|
|
1253211
1253339
|
return node2.type === "unversioned";
|
|
1253212
1253340
|
}
|
|
1253213
1253341
|
|
|
1253214
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1253342
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/navigation/utils/isVersionNode.js
|
|
1253215
1253343
|
function isVersionNode(node2) {
|
|
1253216
1253344
|
return node2.type === "version";
|
|
1253217
1253345
|
}
|
|
1253218
1253346
|
|
|
1253219
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1253347
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/navigation/utils/findNode.js
|
|
1253220
1253348
|
function findNode(root5, slug) {
|
|
1253221
1253349
|
var _a6, _b4;
|
|
1253222
1253350
|
const collector = NodeCollector.collect(root5);
|
|
@@ -1253229,7 +1253357,7 @@ function findNode(root5, slug) {
|
|
|
1253229
1253357
|
break;
|
|
1253230
1253358
|
}
|
|
1253231
1253359
|
}
|
|
1253232
|
-
return { type: "notFound", redirect: maybeVersionNode.pointsTo
|
|
1253360
|
+
return { type: "notFound", redirect: maybeVersionNode.pointsTo };
|
|
1253233
1253361
|
}
|
|
1253234
1253362
|
const sidebar = found.parents.find(isSidebarRootNode);
|
|
1253235
1253363
|
const currentVersion = found.parents.find(isVersionNode);
|
|
@@ -1253252,6 +1253380,8 @@ function findNode(root5, slug) {
|
|
|
1253252
1253380
|
return node2;
|
|
1253253
1253381
|
});
|
|
1253254
1253382
|
const currentTab = (currentTabNode == null ? void 0 : currentTabNode.type) === "tab" || (currentTabNode == null ? void 0 : currentTabNode.type) === "changelog" ? currentTabNode : void 0;
|
|
1253383
|
+
const slugPrefix = (currentVersion == null ? void 0 : currentVersion.slug) ?? root5.slug;
|
|
1253384
|
+
const unversionedSlug = navigation_exports2.Slug(found.node.slug.replace(new RegExp(`^${slugPrefix}/?`), ""));
|
|
1253255
1253385
|
return {
|
|
1253256
1253386
|
type: "found",
|
|
1253257
1253387
|
node: found.node,
|
|
@@ -1253267,7 +1253397,8 @@ function findNode(root5, slug) {
|
|
|
1253267
1253397
|
landingPage,
|
|
1253268
1253398
|
next: found.next,
|
|
1253269
1253399
|
prev: found.prev,
|
|
1253270
|
-
collector
|
|
1253400
|
+
collector,
|
|
1253401
|
+
unversionedSlug
|
|
1253271
1253402
|
};
|
|
1253272
1253403
|
}
|
|
1253273
1253404
|
if (root5.type === "root" && root5.slug === slug && root5.pointsTo != null) {
|
|
@@ -1253320,7 +1253451,7 @@ function createBreadcrumb(nodes) {
|
|
|
1253320
1253451
|
return breadcrumb;
|
|
1253321
1253452
|
}
|
|
1253322
1253453
|
|
|
1253323
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1253454
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/navigation/utils/followRedirect.js
|
|
1253324
1253455
|
function followRedirect(nodeToFollow) {
|
|
1253325
1253456
|
if (nodeToFollow == null) {
|
|
1253326
1253457
|
return void 0;
|
|
@@ -1253363,7 +1253494,7 @@ function followRedirects(nodes) {
|
|
|
1253363
1253494
|
return;
|
|
1253364
1253495
|
}
|
|
1253365
1253496
|
|
|
1253366
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1253497
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/navigation/utils/getApiReferenceId.js
|
|
1253367
1253498
|
var RETURN_UNDEFINED2 = () => void 0;
|
|
1253368
1253499
|
var RETURN_API_DEFINITION_ID = (node2) => node2.apiDefinitionId;
|
|
1253369
1253500
|
function getApiReferenceId(node2) {
|
|
@@ -1253396,7 +1253527,7 @@ function getApiReferenceId(node2) {
|
|
|
1253396
1253527
|
});
|
|
1253397
1253528
|
}
|
|
1253398
1253529
|
|
|
1253399
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1253530
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.107.0-09e88f5f9_typescript@4.6.4/node_modules/@fern-api/fdr-sdk/dist/navigation/NodeCollector.js
|
|
1253400
1253531
|
var NodeCollectorInstances = /* @__PURE__ */ new WeakMap();
|
|
1253401
1253532
|
var _last, _lastNeighboringNode, _setNode, setNode_fn;
|
|
1253402
1253533
|
var _NodeCollector = class {
|
|
@@ -1261127,7 +1261258,8 @@ async function generateIntermediateRepresentation({ fdrApiDefinitionId, workspac
|
|
|
1261127
1261258
|
webhookGroups: {},
|
|
1261128
1261259
|
websocketChannels: {},
|
|
1261129
1261260
|
readmeConfig: void 0,
|
|
1261130
|
-
sourceConfig: void 0
|
|
1261261
|
+
sourceConfig: void 0,
|
|
1261262
|
+
publishConfig: void 0
|
|
1261131
1261263
|
};
|
|
1261132
1261264
|
const packageTreeGenerator = new PackageTreeGenerator();
|
|
1261133
1261265
|
const visitDefinitionFile = async (file) => {
|
|
@@ -1261708,13 +1261840,13 @@ var _ApiDefinitionHolder2 = class {
|
|
|
1261708
1261840
|
return __privateGet(this, _webhooksInverted).get(webhook);
|
|
1261709
1261841
|
}
|
|
1261710
1261842
|
static createEndpointId(endpoint, subpackageId) {
|
|
1261711
|
-
return
|
|
1261843
|
+
return navigation_exports3.EndpointId(endpoint.originalEndpointId ?? `${subpackageId}.${endpoint.id}`);
|
|
1261712
1261844
|
}
|
|
1261713
1261845
|
static createWebSocketId(webSocket, subpackageId) {
|
|
1261714
|
-
return
|
|
1261846
|
+
return navigation_exports3.WebSocketId(`${subpackageId}.${webSocket.id}`);
|
|
1261715
1261847
|
}
|
|
1261716
1261848
|
static createWebhookId(webhook, subpackageId) {
|
|
1261717
|
-
return
|
|
1261849
|
+
return navigation_exports3.WebhookId(`${subpackageId}.${webhook.id}`);
|
|
1261718
1261850
|
}
|
|
1261719
1261851
|
};
|
|
1261720
1261852
|
var ApiDefinitionHolder2 = _ApiDefinitionHolder2;
|
|
@@ -1261855,7 +1261987,7 @@ var ChangelogNodeConverter = class {
|
|
|
1261855
1261987
|
const relativePath = this.toRelativeFilepath(absoluteFilepath);
|
|
1261856
1261988
|
unsortedChangelogItems.push({
|
|
1261857
1261989
|
date: changelogDate,
|
|
1261858
|
-
pageId:
|
|
1261990
|
+
pageId: navigation_exports3.PageId(relativePath),
|
|
1261859
1261991
|
absoluteFilepath
|
|
1261860
1261992
|
});
|
|
1261861
1261993
|
}
|
|
@@ -1261892,7 +1262024,7 @@ var ChangelogNodeConverter = class {
|
|
|
1261892
1262024
|
icon: opts.icon,
|
|
1261893
1262025
|
hidden: opts.hidden,
|
|
1261894
1262026
|
children: changelogYears,
|
|
1261895
|
-
overviewPageId: overviewPagePath != null ?
|
|
1262027
|
+
overviewPageId: overviewPagePath != null ? navigation_exports3.PageId(this.toRelativeFilepath(overviewPagePath)) : void 0,
|
|
1261896
1262028
|
noindex: void 0
|
|
1261897
1262029
|
};
|
|
1261898
1262030
|
}
|
|
@@ -1261972,7 +1262104,7 @@ var NodeIdGenerator2 = class {
|
|
|
1261972
1262104
|
this.ids = ids;
|
|
1261973
1262105
|
}
|
|
1261974
1262106
|
get() {
|
|
1261975
|
-
return
|
|
1262107
|
+
return navigation_exports3.NodeId(this.id);
|
|
1261976
1262108
|
}
|
|
1261977
1262109
|
append(part) {
|
|
1261978
1262110
|
let id = `${this.id}.${part}`;
|
|
@@ -1262025,10 +1262157,10 @@ var ApiReferenceNodeConverter = class {
|
|
|
1262025
1262157
|
this.taskContext = taskContext;
|
|
1262026
1262158
|
this.markdownFilesToFullSlugs = markdownFilesToFullSlugs;
|
|
1262027
1262159
|
this.disableEndpointPairs = ((_a6 = docsWorkspace.config.experimental) == null ? void 0 : _a6.disableStreamToggle) ?? false;
|
|
1262028
|
-
this.apiDefinitionId =
|
|
1262160
|
+
this.apiDefinitionId = navigation_exports3.ApiDefinitionId(api.id);
|
|
1262029
1262161
|
__privateSet(this, _holder2, ApiDefinitionHolder2.create(api, taskContext));
|
|
1262030
1262162
|
const idgen = NodeIdGenerator2.init(this.apiDefinitionId);
|
|
1262031
|
-
__privateSet(this, _overviewPageId, this.apiSection.overviewAbsolutePath != null ?
|
|
1262163
|
+
__privateSet(this, _overviewPageId, this.apiSection.overviewAbsolutePath != null ? navigation_exports3.PageId(this.toRelativeFilepath(this.apiSection.overviewAbsolutePath)) : void 0);
|
|
1262032
1262164
|
const maybeFullSlug = this.apiSection.overviewAbsolutePath != null ? this.markdownFilesToFullSlugs.get(this.apiSection.overviewAbsolutePath) : void 0;
|
|
1262033
1262165
|
__privateSet(this, _slug, parentSlug.apply({
|
|
1262034
1262166
|
fullSlug: maybeFullSlug == null ? void 0 : maybeFullSlug.split("/"),
|
|
@@ -1262042,7 +1262174,7 @@ var ApiReferenceNodeConverter = class {
|
|
|
1262042
1262174
|
}
|
|
1262043
1262175
|
get() {
|
|
1262044
1262176
|
var _a6;
|
|
1262045
|
-
const pointsTo =
|
|
1262177
|
+
const pointsTo = navigation_exports3.utils.followRedirects(__privateGet(this, _children));
|
|
1262046
1262178
|
const idgen = NodeIdGenerator2.init(this.apiDefinitionId);
|
|
1262047
1262179
|
return {
|
|
1262048
1262180
|
id: idgen.get(),
|
|
@@ -1262092,7 +1262224,7 @@ var ApiReferenceNodeConverter = class {
|
|
|
1262092
1262224
|
const stream = child.isResponseStream ? child : existing;
|
|
1262093
1262225
|
const nonStream = child.isResponseStream ? existing : child;
|
|
1262094
1262226
|
const pairNode = {
|
|
1262095
|
-
id:
|
|
1262227
|
+
id: navigation_exports3.NodeId(`${this.apiDefinitionId}:${nonStream.endpointId}+${stream.endpointId}`),
|
|
1262096
1262228
|
type: "endpointPair",
|
|
1262097
1262229
|
stream,
|
|
1262098
1262230
|
nonStream
|
|
@@ -1262127,11 +1262259,11 @@ convertApiReferenceLayoutItems_fn = function(navigation, apiDefinitionPackage, p
|
|
|
1262127
1262259
|
type: "link",
|
|
1262128
1262260
|
title: link3.text,
|
|
1262129
1262261
|
icon: link3.icon,
|
|
1262130
|
-
url:
|
|
1262262
|
+
url: navigation_exports3.Url(link3.url)
|
|
1262131
1262263
|
}),
|
|
1262132
1262264
|
page: (page) => {
|
|
1262133
1262265
|
var _a6;
|
|
1262134
|
-
const pageId =
|
|
1262266
|
+
const pageId = navigation_exports3.PageId(this.toRelativeFilepath(page.absolutePath));
|
|
1262135
1262267
|
const pageSlug = parentSlug.apply({
|
|
1262136
1262268
|
fullSlug: (_a6 = this.markdownFilesToFullSlugs.get(page.absolutePath)) == null ? void 0 : _a6.split("/"),
|
|
1262137
1262269
|
urlSlug: page.slug ?? kebabCase_default(page.title)
|
|
@@ -1262155,7 +1262287,7 @@ convertApiReferenceLayoutItems_fn = function(navigation, apiDefinitionPackage, p
|
|
|
1262155
1262287
|
};
|
|
1262156
1262288
|
_convertPackage = new WeakSet();
|
|
1262157
1262289
|
convertPackage_fn = function(pkg2, parentSlug, idgen) {
|
|
1262158
|
-
const overviewPageId = pkg2.overviewAbsolutePath != null ?
|
|
1262290
|
+
const overviewPageId = pkg2.overviewAbsolutePath != null ? navigation_exports3.PageId(this.toRelativeFilepath(pkg2.overviewAbsolutePath)) : void 0;
|
|
1262159
1262291
|
const maybeFullSlug = pkg2.overviewAbsolutePath != null ? this.markdownFilesToFullSlugs.get(pkg2.overviewAbsolutePath) : void 0;
|
|
1262160
1262292
|
const subpackage = __privateGet(this, _holder2).getSubpackageByIdOrLocator(pkg2.package);
|
|
1262161
1262293
|
if (subpackage != null) {
|
|
@@ -1262216,7 +1262348,7 @@ convertPackage_fn = function(pkg2, parentSlug, idgen) {
|
|
|
1262216
1262348
|
};
|
|
1262217
1262349
|
_convertSection = new WeakSet();
|
|
1262218
1262350
|
convertSection_fn = function(section, parentSlug, idgen) {
|
|
1262219
|
-
const overviewPageId = section.overviewAbsolutePath != null ?
|
|
1262351
|
+
const overviewPageId = section.overviewAbsolutePath != null ? navigation_exports3.PageId(this.toRelativeFilepath(section.overviewAbsolutePath)) : void 0;
|
|
1262220
1262352
|
const maybeFullSlug = section.overviewAbsolutePath != null ? this.markdownFilesToFullSlugs.get(section.overviewAbsolutePath) : void 0;
|
|
1262221
1262353
|
const nodeId = idgen.append(`section:${kebabCase_default(section.title)}`);
|
|
1262222
1262354
|
const subpackageIds = section.referencedSubpackages.map((locator) => {
|
|
@@ -1262318,7 +1262450,7 @@ convertEndpoint_fn = function(endpointItem, apiDefinitionPackageId, parentSlug,
|
|
|
1262318
1262450
|
method: endpoint.method,
|
|
1262319
1262451
|
endpointId,
|
|
1262320
1262452
|
apiDefinitionId: this.apiDefinitionId,
|
|
1262321
|
-
availability:
|
|
1262453
|
+
availability: navigation_exports3.utils.convertAvailability(endpoint.availability),
|
|
1262322
1262454
|
isResponseStream: ((_b4 = endpoint.response) == null ? void 0 : _b4.type.type) === "stream",
|
|
1262323
1262455
|
title: endpointItem.title ?? endpoint.name ?? stringifyEndpointPathParts2(endpoint.path.parts),
|
|
1262324
1262456
|
slug: endpointSlug.get(),
|
|
@@ -1262346,11 +1262478,11 @@ convertEndpoint_fn = function(endpointItem, apiDefinitionPackageId, parentSlug,
|
|
|
1262346
1262478
|
icon: endpointItem.icon,
|
|
1262347
1262479
|
hidden: endpointItem.hidden,
|
|
1262348
1262480
|
apiDefinitionId: this.apiDefinitionId,
|
|
1262349
|
-
availability:
|
|
1262481
|
+
availability: navigation_exports3.utils.convertAvailability(webSocket.availability),
|
|
1262350
1262482
|
playground: __privateMethod(this, _convertPlaygroundSettings, convertPlaygroundSettings_fn).call(this, endpointItem.playground)
|
|
1262351
1262483
|
};
|
|
1262352
1262484
|
}
|
|
1262353
|
-
const webhook = (apiDefinitionPackageId != null ? (_d2 = __privateGet(this, _holder2).subpackages.get(apiDefinitionPackageId)) == null ? void 0 : _d2.webhooks.get(endpointItem.endpoint) : void 0) ?? __privateGet(this, _holder2).webhooks.get(
|
|
1262485
|
+
const webhook = (apiDefinitionPackageId != null ? (_d2 = __privateGet(this, _holder2).subpackages.get(apiDefinitionPackageId)) == null ? void 0 : _d2.webhooks.get(endpointItem.endpoint) : void 0) ?? __privateGet(this, _holder2).webhooks.get(navigation_exports3.WebhookId(endpointItem.endpoint));
|
|
1262354
1262486
|
if (webhook != null) {
|
|
1262355
1262487
|
const webhookId = __privateGet(this, _holder2).getWebhookId(webhook);
|
|
1262356
1262488
|
if (webhookId == null) {
|
|
@@ -1262383,7 +1262515,7 @@ mergeAndFilterChildren_fn = function(left3, right3) {
|
|
|
1262383
1262515
|
_enrichApiPackageChild = new WeakSet();
|
|
1262384
1262516
|
enrichApiPackageChild_fn = function(child) {
|
|
1262385
1262517
|
if (child.type === "apiPackage") {
|
|
1262386
|
-
const slug =
|
|
1262518
|
+
const slug = navigation_exports3.SlugGenerator.init(child.slug);
|
|
1262387
1262519
|
const subpackageIds = __privateGet(this, _nodeIdToSubpackageId).get(child.id) ?? [];
|
|
1262388
1262520
|
const subpackageChildren = subpackageIds.flatMap((subpackageId) => __privateMethod(this, _convertApiDefinitionPackageId, convertApiDefinitionPackageId_fn).call(this, subpackageId, slug));
|
|
1262389
1262521
|
const enrichedChildren = child.children.map((innerChild) => __privateMethod(this, _enrichApiPackageChild, enrichApiPackageChild_fn).call(this, innerChild));
|
|
@@ -1262391,7 +1262523,7 @@ enrichApiPackageChild_fn = function(child) {
|
|
|
1262391
1262523
|
return {
|
|
1262392
1262524
|
...child,
|
|
1262393
1262525
|
children: children2,
|
|
1262394
|
-
pointsTo:
|
|
1262526
|
+
pointsTo: navigation_exports3.utils.followRedirects(children2)
|
|
1262395
1262527
|
};
|
|
1262396
1262528
|
}
|
|
1262397
1262529
|
return child;
|
|
@@ -1262410,12 +1262542,12 @@ convertApiDefinitionPackage_fn = function(pkg2, parentSlug) {
|
|
|
1262410
1262542
|
}
|
|
1262411
1262543
|
const endpointSlug = parentSlug.apply(endpoint);
|
|
1262412
1262544
|
additionalChildren.push({
|
|
1262413
|
-
id:
|
|
1262545
|
+
id: navigation_exports3.NodeId(`${this.apiDefinitionId}:${endpointId}`),
|
|
1262414
1262546
|
type: "endpoint",
|
|
1262415
1262547
|
method: endpoint.method,
|
|
1262416
1262548
|
endpointId,
|
|
1262417
1262549
|
apiDefinitionId: this.apiDefinitionId,
|
|
1262418
|
-
availability:
|
|
1262550
|
+
availability: navigation_exports3.utils.convertAvailability(endpoint.availability),
|
|
1262419
1262551
|
isResponseStream: ((_a6 = endpoint.response) == null ? void 0 : _a6.type.type) === "stream",
|
|
1262420
1262552
|
title: endpoint.name ?? stringifyEndpointPathParts2(endpoint.path.parts),
|
|
1262421
1262553
|
slug: endpointSlug.get(),
|
|
@@ -1262433,7 +1262565,7 @@ convertApiDefinitionPackage_fn = function(pkg2, parentSlug) {
|
|
|
1262433
1262565
|
return;
|
|
1262434
1262566
|
}
|
|
1262435
1262567
|
additionalChildren.push({
|
|
1262436
|
-
id:
|
|
1262568
|
+
id: navigation_exports3.NodeId(`${this.apiDefinitionId}:${webSocketId}`),
|
|
1262437
1262569
|
type: "webSocket",
|
|
1262438
1262570
|
webSocketId,
|
|
1262439
1262571
|
title: webSocket.name ?? stringifyEndpointPathParts2(webSocket.path.parts),
|
|
@@ -1262441,7 +1262573,7 @@ convertApiDefinitionPackage_fn = function(pkg2, parentSlug) {
|
|
|
1262441
1262573
|
icon: void 0,
|
|
1262442
1262574
|
hidden: void 0,
|
|
1262443
1262575
|
apiDefinitionId: this.apiDefinitionId,
|
|
1262444
|
-
availability:
|
|
1262576
|
+
availability: navigation_exports3.utils.convertAvailability(webSocket.availability),
|
|
1262445
1262577
|
playground: void 0
|
|
1262446
1262578
|
});
|
|
1262447
1262579
|
});
|
|
@@ -1262454,7 +1262586,7 @@ convertApiDefinitionPackage_fn = function(pkg2, parentSlug) {
|
|
|
1262454
1262586
|
return;
|
|
1262455
1262587
|
}
|
|
1262456
1262588
|
additionalChildren.push({
|
|
1262457
|
-
id:
|
|
1262589
|
+
id: navigation_exports3.NodeId(`${this.apiDefinitionId}:${webhookId}`),
|
|
1262458
1262590
|
type: "webhook",
|
|
1262459
1262591
|
webhookId,
|
|
1262460
1262592
|
method: webhook.method,
|
|
@@ -1262479,7 +1262611,7 @@ convertApiDefinitionPackage_fn = function(pkg2, parentSlug) {
|
|
|
1262479
1262611
|
const subpackageChildren = __privateMethod(this, _convertApiDefinitionPackageId, convertApiDefinitionPackageId_fn).call(this, subpackageId, slug);
|
|
1262480
1262612
|
if (subpackageChildren.length > 0) {
|
|
1262481
1262613
|
additionalChildren.push({
|
|
1262482
|
-
id:
|
|
1262614
|
+
id: navigation_exports3.NodeId(`${this.apiDefinitionId}:${subpackageId}`),
|
|
1262483
1262615
|
type: "apiPackage",
|
|
1262484
1262616
|
children: subpackageChildren,
|
|
1262485
1262617
|
title: isSubpackage2(subpackage) ? subpackage.displayName ?? titleCase(subpackage.name) : this.apiSection.title,
|
|
@@ -1262489,7 +1262621,7 @@ convertApiDefinitionPackage_fn = function(pkg2, parentSlug) {
|
|
|
1262489
1262621
|
overviewPageId: void 0,
|
|
1262490
1262622
|
availability: void 0,
|
|
1262491
1262623
|
apiDefinitionId: this.apiDefinitionId,
|
|
1262492
|
-
pointsTo:
|
|
1262624
|
+
pointsTo: navigation_exports3.utils.followRedirects(subpackageChildren),
|
|
1262493
1262625
|
noindex: void 0,
|
|
1262494
1262626
|
playground: void 0
|
|
1262495
1262627
|
});
|
|
@@ -1262518,8 +1262650,8 @@ _convertPlaygroundSettings = new WeakSet();
|
|
|
1262518
1262650
|
convertPlaygroundSettings_fn = function(playgroundSettings) {
|
|
1262519
1262651
|
if (playgroundSettings) {
|
|
1262520
1262652
|
return {
|
|
1262521
|
-
environments: playgroundSettings.environments != null && playgroundSettings.environments.length > 0 ? playgroundSettings.environments.map((environmentId) =>
|
|
1262522
|
-
button: playgroundSettings.button != null && playgroundSettings.button.href ? { href:
|
|
1262653
|
+
environments: playgroundSettings.environments != null && playgroundSettings.environments.length > 0 ? playgroundSettings.environments.map((environmentId) => navigation_exports3.EnvironmentId(environmentId)) : void 0,
|
|
1262654
|
+
button: playgroundSettings.button != null && playgroundSettings.button.href ? { href: navigation_exports3.Url(playgroundSettings.button.href) } : void 0
|
|
1262523
1262655
|
};
|
|
1262524
1262656
|
}
|
|
1262525
1262657
|
return;
|
|
@@ -1263831,7 +1263963,7 @@ var DocsDefinitionResolver = class {
|
|
|
1263831
1263963
|
throw new Error("Failed to load API Definition referenced in docs");
|
|
1263832
1263964
|
}
|
|
1263833
1263965
|
async convertNavigationConfig() {
|
|
1263834
|
-
const slug =
|
|
1263966
|
+
const slug = navigation_exports3.SlugGenerator.init(navigation_exports3.utils.slugjoin(this.getDocsBasePath()));
|
|
1263835
1263967
|
const landingPage = this.parsedDocsConfig.landingPage;
|
|
1263836
1263968
|
switch (this.parsedDocsConfig.navigation.type) {
|
|
1263837
1263969
|
case "versioned": {
|
|
@@ -1323460,7 +1323592,7 @@ async function runRemoteGenerationForGenerator({ projectConfig, organization, wo
|
|
|
1323460
1323592
|
version: version3,
|
|
1323461
1323593
|
intermediateRepresentation: {
|
|
1323462
1323594
|
...ir,
|
|
1323463
|
-
|
|
1323595
|
+
publishConfig: getPublishConfig({ generatorInvocation })
|
|
1323464
1323596
|
},
|
|
1323465
1323597
|
shouldLogS3Url,
|
|
1323466
1323598
|
token,
|
|
@@ -1323489,6 +1323621,37 @@ async function runRemoteGenerationForGenerator({ projectConfig, organization, wo
|
|
|
1323489
1323621
|
context: interactiveTaskContext
|
|
1323490
1323622
|
});
|
|
1323491
1323623
|
}
|
|
1323624
|
+
function getPublishConfig({ generatorInvocation }) {
|
|
1323625
|
+
return generatorInvocation.outputMode._visit({
|
|
1323626
|
+
downloadFiles: () => void 0,
|
|
1323627
|
+
github: () => void 0,
|
|
1323628
|
+
githubV2: () => void 0,
|
|
1323629
|
+
publish: () => void 0,
|
|
1323630
|
+
publishV2: (value) => value._visit({
|
|
1323631
|
+
mavenOverride: () => void 0,
|
|
1323632
|
+
pypiOverride: () => void 0,
|
|
1323633
|
+
nugetOverride: () => void 0,
|
|
1323634
|
+
npmOverride: () => void 0,
|
|
1323635
|
+
rubyGemsOverride: () => void 0,
|
|
1323636
|
+
postman: (value2) => {
|
|
1323637
|
+
var _a6, _b4, _c4;
|
|
1323638
|
+
let collectionId = void 0;
|
|
1323639
|
+
if (((_b4 = (_a6 = generatorInvocation.raw) == null ? void 0 : _a6.output) == null ? void 0 : _b4.location) === "postman") {
|
|
1323640
|
+
collectionId = (_c4 = generatorInvocation.raw.output) == null ? void 0 : _c4["collection-id"];
|
|
1323641
|
+
}
|
|
1323642
|
+
return api_exports4.PublishingConfig.direct({
|
|
1323643
|
+
target: api_exports4.PublishTarget.postman({
|
|
1323644
|
+
apiKey: value2.apiKey,
|
|
1323645
|
+
workspaceId: value2.workspaceId,
|
|
1323646
|
+
collectionId
|
|
1323647
|
+
})
|
|
1323648
|
+
});
|
|
1323649
|
+
},
|
|
1323650
|
+
_other: () => void 0
|
|
1323651
|
+
}),
|
|
1323652
|
+
_other: () => void 0
|
|
1323653
|
+
});
|
|
1323654
|
+
}
|
|
1323492
1323655
|
async function computeSemanticVersion({ fdr, packageName, generatorInvocation }) {
|
|
1323493
1323656
|
if (generatorInvocation.language == null) {
|
|
1323494
1323657
|
return void 0;
|