fern-api 0.40.0 → 0.40.1
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 +261 -264
- 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
|
|
|
@@ -1208719,7 +1208720,7 @@ var AccessTokenPosthogManager = class {
|
|
|
1208719
1208720
|
properties: {
|
|
1208720
1208721
|
...event,
|
|
1208721
1208722
|
...event.properties,
|
|
1208722
|
-
version: "0.40.
|
|
1208723
|
+
version: "0.40.1",
|
|
1208723
1208724
|
usingAccessToken: true
|
|
1208724
1208725
|
}
|
|
1208725
1208726
|
});
|
|
@@ -1208781,7 +1208782,7 @@ var UserPosthogManager = class {
|
|
|
1208781
1208782
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
1208782
1208783
|
event: "CLI",
|
|
1208783
1208784
|
properties: {
|
|
1208784
|
-
version: "0.40.
|
|
1208785
|
+
version: "0.40.1",
|
|
1208785
1208786
|
...event,
|
|
1208786
1208787
|
...event.properties
|
|
1208787
1208788
|
}
|
|
@@ -1213864,10 +1213865,10 @@ var CliContext = class {
|
|
|
1213864
1213865
|
return "fern-api";
|
|
1213865
1213866
|
}
|
|
1213866
1213867
|
getPackageVersion() {
|
|
1213867
|
-
if ("0.40.
|
|
1213868
|
+
if ("0.40.1" == null) {
|
|
1213868
1213869
|
this.logger.error("CLI_VERSION is not defined");
|
|
1213869
1213870
|
}
|
|
1213870
|
-
return "0.40.
|
|
1213871
|
+
return "0.40.1";
|
|
1213871
1213872
|
}
|
|
1213872
1213873
|
getCliName() {
|
|
1213873
1213874
|
if ("fern" == null) {
|
|
@@ -1249121,7 +1249122,7 @@ ${replacement}
|
|
|
1249121
1249122
|
return newMarkdown;
|
|
1249122
1249123
|
}
|
|
1249123
1249124
|
|
|
1249124
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249125
|
+
// ../../../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
1249126
|
var VersionAvailability3 = {
|
|
1249126
1249127
|
Stable: "Stable",
|
|
1249127
1249128
|
GenerallyAvailable: "GenerallyAvailable",
|
|
@@ -1249129,7 +1249130,7 @@ var VersionAvailability3 = {
|
|
|
1249129
1249130
|
Beta: "Beta"
|
|
1249130
1249131
|
};
|
|
1249131
1249132
|
|
|
1249132
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249133
|
+
// ../../../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
1249134
|
var startDocsRegister_exports3 = {};
|
|
1249134
1249135
|
__export(startDocsRegister_exports3, {
|
|
1249135
1249136
|
Error: () => Error2
|
|
@@ -1249149,7 +1249150,7 @@ var Error2 = {
|
|
|
1249149
1249150
|
}
|
|
1249150
1249151
|
};
|
|
1249151
1249152
|
|
|
1249152
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249153
|
+
// ../../../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
1249154
|
var finishDocsRegister_exports3 = {};
|
|
1249154
1249155
|
__export(finishDocsRegister_exports3, {
|
|
1249155
1249156
|
Error: () => Error3
|
|
@@ -1249192,7 +1249193,7 @@ var Error3 = {
|
|
|
1249192
1249193
|
}
|
|
1249193
1249194
|
};
|
|
1249194
1249195
|
|
|
1249195
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249196
|
+
// ../../../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
1249197
|
var commons_exports11 = {};
|
|
1249197
1249198
|
__export(commons_exports11, {
|
|
1249198
1249199
|
ContentAlignment: () => ContentAlignment3,
|
|
@@ -1249206,7 +1249207,7 @@ __export(commons_exports11, {
|
|
|
1249206
1249207
|
TwitterCardSetting: () => TwitterCardSetting3
|
|
1249207
1249208
|
});
|
|
1249208
1249209
|
|
|
1249209
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249210
|
+
// ../../../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
1249211
|
var ProgrammingLanguage3 = {
|
|
1249211
1249212
|
Typescript: "typescript",
|
|
1249212
1249213
|
Javascript: "javascript",
|
|
@@ -1249224,32 +1249225,32 @@ var ProgrammingLanguage3 = {
|
|
|
1249224
1249225
|
Js: "js"
|
|
1249225
1249226
|
};
|
|
1249226
1249227
|
|
|
1249227
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249228
|
+
// ../../../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
1249229
|
var SearchbarPlacement3 = {
|
|
1249229
1249230
|
Header: "HEADER",
|
|
1249230
1249231
|
HeaderTabs: "HEADER_TABS",
|
|
1249231
1249232
|
Sidebar: "SIDEBAR"
|
|
1249232
1249233
|
};
|
|
1249233
1249234
|
|
|
1249234
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249235
|
+
// ../../../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
1249236
|
var TabsPlacement3 = {
|
|
1249236
1249237
|
Header: "HEADER",
|
|
1249237
1249238
|
Sidebar: "SIDEBAR"
|
|
1249238
1249239
|
};
|
|
1249239
1249240
|
|
|
1249240
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249241
|
+
// ../../../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
1249242
|
var ContentAlignment3 = {
|
|
1249242
1249243
|
Center: "CENTER",
|
|
1249243
1249244
|
Left: "LEFT"
|
|
1249244
1249245
|
};
|
|
1249245
1249246
|
|
|
1249246
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249247
|
+
// ../../../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
1249248
|
var HeaderPosition3 = {
|
|
1249248
1249249
|
Fixed: "FIXED",
|
|
1249249
1249250
|
Absolute: "ABSOLUTE"
|
|
1249250
1249251
|
};
|
|
1249251
1249252
|
|
|
1249252
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249253
|
+
// ../../../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
1249254
|
var TwitterCardSetting3 = {
|
|
1249254
1249255
|
Summary: "summary",
|
|
1249255
1249256
|
SummaryLargeImage: "summary_large_image",
|
|
@@ -1249257,20 +1249258,20 @@ var TwitterCardSetting3 = {
|
|
|
1249257
1249258
|
Player: "player"
|
|
1249258
1249259
|
};
|
|
1249259
1249260
|
|
|
1249260
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249261
|
+
// ../../../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
1249262
|
var JsScriptStrategy3 = {
|
|
1249262
1249263
|
BeforeInteractive: "beforeInteractive",
|
|
1249263
1249264
|
AfterInteractive: "afterInteractive",
|
|
1249264
1249265
|
LazyOnload: "lazyOnload"
|
|
1249265
1249266
|
};
|
|
1249266
1249267
|
|
|
1249267
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249268
|
+
// ../../../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
1249269
|
var FontStyle3 = {
|
|
1249269
1249270
|
Normal: "normal",
|
|
1249270
1249271
|
Italic: "italic"
|
|
1249271
1249272
|
};
|
|
1249272
1249273
|
|
|
1249273
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249274
|
+
// ../../../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
1249275
|
var FontDisplay3 = {
|
|
1249275
1249276
|
Auto: "auto",
|
|
1249276
1249277
|
Block: "block",
|
|
@@ -1249279,7 +1249280,7 @@ var FontDisplay3 = {
|
|
|
1249279
1249280
|
Optional: "optional"
|
|
1249280
1249281
|
};
|
|
1249281
1249282
|
|
|
1249282
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249283
|
+
// ../../../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
1249284
|
var isBrowser2 = typeof window !== "undefined" && typeof window.document !== "undefined";
|
|
1249284
1249285
|
var _a3, _b3, _c3;
|
|
1249285
1249286
|
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 +1249382,7 @@ function urlJoin10() {
|
|
|
1249381
1249382
|
return normalize2(input);
|
|
1249382
1249383
|
}
|
|
1249383
1249384
|
|
|
1249384
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249385
|
+
// ../../../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
1249386
|
var DocsV1Write_exports = {};
|
|
1249386
1249387
|
__export(DocsV1Write_exports, {
|
|
1249387
1249388
|
ContentAlignment: () => ContentAlignment3,
|
|
@@ -1249399,7 +1249400,7 @@ __export(DocsV1Write_exports, {
|
|
|
1249399
1249400
|
startDocsRegister: () => startDocsRegister_exports3
|
|
1249400
1249401
|
});
|
|
1249401
1249402
|
|
|
1249402
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249403
|
+
// ../../../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
1249404
|
function visitDbNavigationConfig(config, visitor) {
|
|
1249404
1249405
|
if (isVersionedNavigationConfig(config)) {
|
|
1249405
1249406
|
return visitor.versioned(config);
|
|
@@ -1249421,7 +1249422,7 @@ function isTabbedNavigationConfig2(config) {
|
|
|
1249421
1249422
|
return Array.isArray(config.tabs) || Array.isArray(config.tabsV2);
|
|
1249422
1249423
|
}
|
|
1249423
1249424
|
|
|
1249424
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249425
|
+
// ../../../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
1249426
|
function visitDbNavigationTab(config, visitor) {
|
|
1249426
1249427
|
if (isNavigationTabLink(config)) {
|
|
1249427
1249428
|
return visitor.link(config);
|
|
@@ -1249433,7 +1249434,7 @@ function isNavigationTabLink(config) {
|
|
|
1249433
1249434
|
return "url" in config && typeof config.url === "string";
|
|
1249434
1249435
|
}
|
|
1249435
1249436
|
|
|
1249436
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249437
|
+
// ../../../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
1249438
|
function visitReadNavigationConfig(config, visitor) {
|
|
1249438
1249439
|
if (isVersionedNavigationConfig2(config)) {
|
|
1249439
1249440
|
return visitor.versioned(config);
|
|
@@ -1249455,7 +1249456,7 @@ function isTabbedNavigationConfig3(config) {
|
|
|
1249455
1249456
|
return Array.isArray(config.tabs);
|
|
1249456
1249457
|
}
|
|
1249457
1249458
|
|
|
1249458
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249459
|
+
// ../../../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
1249460
|
function visitWriteNavigationConfig(config, visitor) {
|
|
1249460
1249461
|
if (isVersionedNavigationConfig3(config)) {
|
|
1249461
1249462
|
return visitor.versioned(config);
|
|
@@ -1249477,15 +1249478,15 @@ function isTabbedNavigationConfig4(config) {
|
|
|
1249477
1249478
|
return Array.isArray(config.tabs) || Array.isArray(config.tabsV2);
|
|
1249478
1249479
|
}
|
|
1249479
1249480
|
|
|
1249480
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249481
|
+
// ../../../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
1249482
|
var import_fast_deep_equal = __toESM(require_fast_deep_equal(), 1);
|
|
1249482
1249483
|
|
|
1249483
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249484
|
+
// ../../../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
1249485
|
function assertNever2(x2) {
|
|
1249485
1249486
|
throw new Error("Unexpected value: " + JSON.stringify(x2));
|
|
1249486
1249487
|
}
|
|
1249487
1249488
|
|
|
1249488
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249489
|
+
// ../../../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
1249490
|
var toString6 = Object.prototype.toString;
|
|
1249490
1249491
|
function getTag2(value) {
|
|
1249491
1249492
|
if (value == null) {
|
|
@@ -1249495,14 +1249496,14 @@ function getTag2(value) {
|
|
|
1249495
1249496
|
}
|
|
1249496
1249497
|
var getTag_default2 = getTag2;
|
|
1249497
1249498
|
|
|
1249498
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249499
|
+
// ../../../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
1249500
|
function isSymbol2(value) {
|
|
1249500
1249501
|
const type2 = typeof value;
|
|
1249501
1249502
|
return type2 === "symbol" || type2 === "object" && value != null && getTag_default2(value) === "[object Symbol]";
|
|
1249502
1249503
|
}
|
|
1249503
1249504
|
var isSymbol_default2 = isSymbol2;
|
|
1249504
1249505
|
|
|
1249505
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249506
|
+
// ../../../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
1249507
|
var INFINITY4 = 1 / 0;
|
|
1249507
1249508
|
function toString7(value) {
|
|
1249508
1249509
|
if (value == null) {
|
|
@@ -1249522,7 +1249523,7 @@ function toString7(value) {
|
|
|
1249522
1249523
|
}
|
|
1249523
1249524
|
var toString_default2 = toString7;
|
|
1249524
1249525
|
|
|
1249525
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249526
|
+
// ../../../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
1249527
|
var rsAstralRange5 = "\\ud800-\\udfff";
|
|
1249527
1249528
|
var rsComboMarksRange6 = "\\u0300-\\u036f";
|
|
1249528
1249529
|
var reComboHalfMarksRange6 = "\\ufe20-\\ufe2f";
|
|
@@ -1249579,7 +1249580,7 @@ function unicodeWords2(string6) {
|
|
|
1249579
1249580
|
}
|
|
1249580
1249581
|
var unicodeWords_default2 = unicodeWords2;
|
|
1249581
1249582
|
|
|
1249582
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249583
|
+
// ../../../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
1249584
|
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
1249585
|
var reAsciiWord2 = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
|
|
1249585
1249586
|
function asciiWords2(string6) {
|
|
@@ -1249594,11 +1249595,11 @@ function words2(string6, pattern) {
|
|
|
1249594
1249595
|
}
|
|
1249595
1249596
|
var words_default2 = words2;
|
|
1249596
1249597
|
|
|
1249597
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249598
|
+
// ../../../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
1249599
|
var kebabCase2 = (string6) => words_default2(toString_default2(string6).replace(/['\u2019]/g, "")).reduce((result, word, index2) => result + (index2 ? "-" : "") + word.toLowerCase(), "");
|
|
1249599
1249600
|
var kebabCase_default2 = kebabCase2;
|
|
1249600
1249601
|
|
|
1249601
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249602
|
+
// ../../../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
1249603
|
function mapValue(object4, iteratee) {
|
|
1249603
1249604
|
object4 = Object(object4);
|
|
1249604
1249605
|
const result = {};
|
|
@@ -1249613,7 +1249614,7 @@ function mapValue(object4, iteratee) {
|
|
|
1249613
1249614
|
}
|
|
1249614
1249615
|
var mapValues_default2 = mapValue;
|
|
1249615
1249616
|
|
|
1249616
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249617
|
+
// ../../../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
1249618
|
function before(n2, func) {
|
|
1249618
1249619
|
let result;
|
|
1249619
1249620
|
if (typeof func !== "function") {
|
|
@@ -1249631,16 +1249632,16 @@ function before(n2, func) {
|
|
|
1249631
1249632
|
}
|
|
1249632
1249633
|
var before_default = before;
|
|
1249633
1249634
|
|
|
1249634
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249635
|
+
// ../../../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
1249636
|
function once(func) {
|
|
1249636
1249637
|
return before_default(2, func);
|
|
1249637
1249638
|
}
|
|
1249638
1249639
|
var once_default = once;
|
|
1249639
1249640
|
|
|
1249640
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249641
|
+
// ../../../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
1249642
|
var import_title = __toESM(require_lib17(), 1);
|
|
1249642
1249643
|
|
|
1249643
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249644
|
+
// ../../../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
1249645
|
var SPECIAL_TOKENS = [
|
|
1249645
1249646
|
"PII",
|
|
1249646
1249647
|
"PHI",
|
|
@@ -1249970,7 +1249971,7 @@ var SPECIAL_TOKENS = [
|
|
|
1249970
1249971
|
".NET"
|
|
1249971
1249972
|
];
|
|
1249972
1249973
|
|
|
1249973
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249974
|
+
// ../../../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
1249975
|
function titleCase(name2) {
|
|
1249975
1249976
|
name2 = name2.replace(/([a-z])([A-Z])/g, "$1 $2");
|
|
1249976
1249977
|
name2 = name2.replace(/_/g, " ");
|
|
@@ -1249980,7 +1249981,7 @@ function titleCase(name2) {
|
|
|
1249980
1249981
|
return versionedTitle;
|
|
1249981
1249982
|
}
|
|
1249982
1249983
|
|
|
1249983
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1249984
|
+
// ../../../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
1249985
|
function visitDiscriminatedUnion2(item, discriminant4 = "type") {
|
|
1249985
1249986
|
return {
|
|
1249986
1249987
|
_visit: (visitor) => {
|
|
@@ -1249997,12 +1249998,12 @@ function visitDiscriminatedUnion2(item, discriminant4 = "type") {
|
|
|
1249997
1249998
|
};
|
|
1249998
1249999
|
}
|
|
1249999
1250000
|
|
|
1250000
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1250001
|
+
// ../../../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
1250002
|
function assertNever3(x2) {
|
|
1250002
1250003
|
throw new Error("Unexpected value: " + JSON.stringify(x2));
|
|
1250003
1250004
|
}
|
|
1250004
1250005
|
|
|
1250005
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1250006
|
+
// ../../../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
1250007
|
function generateWebhookPayloadExample(shape, resolveTypeById) {
|
|
1250007
1250008
|
switch (shape.type) {
|
|
1250008
1250009
|
case "object":
|
|
@@ -1250279,7 +1250280,7 @@ function resolveAlias(typeId, resolveTypeById) {
|
|
|
1250279
1250280
|
return resolvedTypeDefinition;
|
|
1250280
1250281
|
}
|
|
1250281
1250282
|
|
|
1250282
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1250283
|
+
// ../../../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
1250284
|
var MAX_OPTIONAL_EXAMPLES_FOR_QUERY_PARAMS = 2;
|
|
1250284
1250285
|
function generateEndpointErrorExample({ endpointDefinition, apiDefinition, errorDeclaration }) {
|
|
1250285
1250286
|
const resolveTypeById = getResolveByTypeId(apiDefinition);
|
|
@@ -1250424,7 +1250425,7 @@ function isTypeReferenceString({ typeReference, types: types3 }) {
|
|
|
1250424
1250425
|
return false;
|
|
1250425
1250426
|
}
|
|
1250426
1250427
|
|
|
1250427
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1250428
|
+
// ../../../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
1250429
|
function generateWebhookExample({ webhookDefinition, apiDefinition }) {
|
|
1250429
1250430
|
try {
|
|
1250430
1250431
|
const resolveTypeById = (typeId) => {
|
|
@@ -1250442,7 +1250443,7 @@ function generateWebhookExample({ webhookDefinition, apiDefinition }) {
|
|
|
1250442
1250443
|
}
|
|
1250443
1250444
|
}
|
|
1250444
1250445
|
|
|
1250445
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1250446
|
+
// ../../../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
1250447
|
function convertAPIDefinitionToDb(writeShape, id, snippets) {
|
|
1250447
1250448
|
var _a6, _b4;
|
|
1250448
1250449
|
const subpackageToParent = {};
|
|
@@ -1250918,7 +1250919,7 @@ var ApiDefinitionTransformationContext = class {
|
|
|
1250918
1250919
|
}
|
|
1250919
1250920
|
};
|
|
1250920
1250921
|
|
|
1250921
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1250922
|
+
// ../../../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
1250923
|
var DEFAULT_DARK_MODE_ACCENT_PRIMARY = {
|
|
1250923
1250924
|
r: 129,
|
|
1250924
1250925
|
g: 140,
|
|
@@ -1250932,7 +1250933,7 @@ var DEFAULT_LIGHT_MODE_ACCENT_PRIMARY = {
|
|
|
1250932
1250933
|
a: void 0
|
|
1250933
1250934
|
};
|
|
1250934
1250935
|
|
|
1250935
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1250936
|
+
// ../../../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
1250937
|
function convertDocsDefinitionToDb({ writeShape, files }) {
|
|
1250937
1250938
|
const navigationConfig = transformNavigationConfigForDb(writeShape.config.navigation);
|
|
1250938
1250939
|
const transformedFiles = {};
|
|
@@ -1251335,7 +1251336,7 @@ function transformItems(items) {
|
|
|
1251335
1251336
|
});
|
|
1251336
1251337
|
}
|
|
1251337
1251338
|
|
|
1251338
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1251339
|
+
// ../../../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
1251340
|
var SDKSnippetHolder = class {
|
|
1251340
1251341
|
snippetsBySdkId;
|
|
1251341
1251342
|
snippetsBySdkIdAndEndpointId;
|
|
@@ -1251447,7 +1251448,7 @@ var SDKSnippetHolder = class {
|
|
|
1251447
1251448
|
}
|
|
1251448
1251449
|
};
|
|
1251449
1251450
|
|
|
1251450
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1251451
|
+
// ../../../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
1251452
|
function convertDbAPIDefinitionToRead(dbShape) {
|
|
1251452
1251453
|
return {
|
|
1251453
1251454
|
id: dbShape.id,
|
|
@@ -1251577,7 +1251578,7 @@ function convertExampleEndpointCall({ dbShape }) {
|
|
|
1251577
1251578
|
};
|
|
1251578
1251579
|
}
|
|
1251579
1251580
|
|
|
1251580
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1251581
|
+
// ../../../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
1251582
|
function convertDbDocsConfigToRead({ dbShape }) {
|
|
1251582
1251583
|
return {
|
|
1251583
1251584
|
navigation: transformNavigationConfigToRead(dbShape.navigation),
|
|
@@ -1251851,9 +1251852,9 @@ function getColorsV3(docsDbConfig) {
|
|
|
1251851
1251852
|
}
|
|
1251852
1251853
|
}
|
|
1251853
1251854
|
|
|
1251854
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1251855
|
-
var
|
|
1251856
|
-
__export(
|
|
1251855
|
+
// ../../../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
|
|
1251856
|
+
var navigation_exports3 = {};
|
|
1251857
|
+
__export(navigation_exports3, {
|
|
1251857
1251858
|
ApiDefinitionHolder: () => ApiDefinitionHolder,
|
|
1251858
1251859
|
ApiDefinitionId: () => ApiDefinitionId,
|
|
1251859
1251860
|
ApiReferenceNavigationConverter: () => ApiReferenceNavigationConverter,
|
|
@@ -1251869,7 +1251870,6 @@ __export(navigation_exports2, {
|
|
|
1251869
1251870
|
PageId: () => PageId,
|
|
1251870
1251871
|
Slug: () => Slug,
|
|
1251871
1251872
|
SlugGenerator: () => SlugGenerator,
|
|
1251872
|
-
TabId: () => TabId2,
|
|
1251873
1251873
|
Url: () => Url,
|
|
1251874
1251874
|
VersionId: () => VersionId,
|
|
1251875
1251875
|
WebSocketId: () => WebSocketId,
|
|
@@ -1251886,12 +1251886,12 @@ __export(navigation_exports2, {
|
|
|
1251886
1251886
|
utils: () => utils_exports2
|
|
1251887
1251887
|
});
|
|
1251888
1251888
|
|
|
1251889
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1251889
|
+
// ../../../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
1251890
|
var ROOT_PACKAGE_ID = "__package__";
|
|
1251891
1251891
|
|
|
1251892
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1251893
|
-
var
|
|
1251894
|
-
__export(
|
|
1251892
|
+
// ../../../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
|
|
1251893
|
+
var navigation_exports2 = {};
|
|
1251894
|
+
__export(navigation_exports2, {
|
|
1251895
1251895
|
ApiDefinitionId: () => ApiDefinitionId,
|
|
1251896
1251896
|
Availability: () => Availability4,
|
|
1251897
1251897
|
EndpointId: () => EndpointId2,
|
|
@@ -1251900,69 +1251900,63 @@ __export(api_exports8, {
|
|
|
1251900
1251900
|
NodeId: () => NodeId,
|
|
1251901
1251901
|
PageId: () => PageId,
|
|
1251902
1251902
|
Slug: () => Slug,
|
|
1251903
|
-
TabId: () => TabId2,
|
|
1251904
1251903
|
Url: () => Url,
|
|
1251905
1251904
|
VersionId: () => VersionId,
|
|
1251906
1251905
|
WebSocketId: () => WebSocketId,
|
|
1251907
1251906
|
WebhookId: () => WebhookId2
|
|
1251908
1251907
|
});
|
|
1251909
1251908
|
|
|
1251910
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1251909
|
+
// ../../../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
1251910
|
function Slug(value) {
|
|
1251912
1251911
|
return value;
|
|
1251913
1251912
|
}
|
|
1251914
1251913
|
|
|
1251915
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1251914
|
+
// ../../../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
1251915
|
function Url(value) {
|
|
1251917
1251916
|
return value;
|
|
1251918
1251917
|
}
|
|
1251919
1251918
|
|
|
1251920
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1251919
|
+
// ../../../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
1251920
|
function VersionId(value) {
|
|
1251922
1251921
|
return value;
|
|
1251923
1251922
|
}
|
|
1251924
1251923
|
|
|
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
|
|
1251924
|
+
// ../../../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
1251925
|
function PageId(value) {
|
|
1251932
1251926
|
return value;
|
|
1251933
1251927
|
}
|
|
1251934
1251928
|
|
|
1251935
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1251929
|
+
// ../../../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
1251930
|
function NodeId(value) {
|
|
1251937
1251931
|
return value;
|
|
1251938
1251932
|
}
|
|
1251939
1251933
|
|
|
1251940
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1251934
|
+
// ../../../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
1251935
|
function EnvironmentId2(value) {
|
|
1251942
1251936
|
return value;
|
|
1251943
1251937
|
}
|
|
1251944
1251938
|
|
|
1251945
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1251939
|
+
// ../../../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
1251940
|
function ApiDefinitionId(value) {
|
|
1251947
1251941
|
return value;
|
|
1251948
1251942
|
}
|
|
1251949
1251943
|
|
|
1251950
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1251944
|
+
// ../../../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
1251945
|
function EndpointId2(value) {
|
|
1251952
1251946
|
return value;
|
|
1251953
1251947
|
}
|
|
1251954
1251948
|
|
|
1251955
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1251949
|
+
// ../../../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
1251950
|
function WebSocketId(value) {
|
|
1251957
1251951
|
return value;
|
|
1251958
1251952
|
}
|
|
1251959
1251953
|
|
|
1251960
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1251954
|
+
// ../../../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
1251955
|
function WebhookId2(value) {
|
|
1251962
1251956
|
return value;
|
|
1251963
1251957
|
}
|
|
1251964
1251958
|
|
|
1251965
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1251959
|
+
// ../../../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
1251960
|
var HttpMethod5 = {
|
|
1251967
1251961
|
Get: "GET",
|
|
1251968
1251962
|
Post: "POST",
|
|
@@ -1251971,7 +1251965,7 @@ var HttpMethod5 = {
|
|
|
1251971
1251965
|
Delete: "DELETE"
|
|
1251972
1251966
|
};
|
|
1251973
1251967
|
|
|
1251974
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1251968
|
+
// ../../../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
1251969
|
var Availability4 = {
|
|
1251976
1251970
|
Stable: "stable",
|
|
1251977
1251971
|
GenerallyAvailable: "generally-available",
|
|
@@ -1251981,12 +1251975,12 @@ var Availability4 = {
|
|
|
1251981
1251975
|
Deprecated: "deprecated"
|
|
1251982
1251976
|
};
|
|
1251983
1251977
|
|
|
1251984
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1251978
|
+
// ../../../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
1251979
|
function isSubpackage(package_) {
|
|
1251986
1251980
|
return typeof package_.subpackageId === "string";
|
|
1251987
1251981
|
}
|
|
1251988
1251982
|
|
|
1251989
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1251983
|
+
// ../../../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
1251984
|
var _endpoints, _webSockets, _webhooks;
|
|
1251991
1251985
|
var _ApiDefinitionHolder = class {
|
|
1251992
1251986
|
constructor(api) {
|
|
@@ -1252021,13 +1252015,13 @@ var _ApiDefinitionHolder = class {
|
|
|
1252021
1252015
|
return __privateGet(this, _webhooks);
|
|
1252022
1252016
|
}
|
|
1252023
1252017
|
static createEndpointId(endpoint, subpackageId) {
|
|
1252024
|
-
return
|
|
1252018
|
+
return navigation_exports2.EndpointId(endpoint.originalEndpointId ?? `${subpackageId}.${endpoint.id}`);
|
|
1252025
1252019
|
}
|
|
1252026
1252020
|
static createWebSocketId(webSocket, subpackageId) {
|
|
1252027
|
-
return
|
|
1252021
|
+
return navigation_exports2.WebSocketId(`${subpackageId}.${webSocket.id}`);
|
|
1252028
1252022
|
}
|
|
1252029
1252023
|
static createWebhookId(webhook, subpackageId) {
|
|
1252030
|
-
return
|
|
1252024
|
+
return navigation_exports2.WebhookId(`${subpackageId}.${webhook.id}`);
|
|
1252031
1252025
|
}
|
|
1252032
1252026
|
};
|
|
1252033
1252027
|
var ApiDefinitionHolder = _ApiDefinitionHolder;
|
|
@@ -1252035,52 +1252029,52 @@ _endpoints = new WeakMap();
|
|
|
1252035
1252029
|
_webSockets = new WeakMap();
|
|
1252036
1252030
|
_webhooks = new WeakMap();
|
|
1252037
1252031
|
|
|
1252038
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252032
|
+
// ../../../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
1252033
|
function isApiLeaf(node2) {
|
|
1252040
1252034
|
return node2.type === "endpoint" || node2.type === "webSocket" || node2.type === "webhook";
|
|
1252041
1252035
|
}
|
|
1252042
1252036
|
|
|
1252043
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252037
|
+
// ../../../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
1252038
|
function isMarkdownLeaf(node2) {
|
|
1252045
1252039
|
return node2.type === "page" || node2.type === "landingPage" || node2.type === "changelogEntry";
|
|
1252046
1252040
|
}
|
|
1252047
1252041
|
|
|
1252048
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252042
|
+
// ../../../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
1252043
|
function isSection(node2) {
|
|
1252050
1252044
|
return node2.type === "section" || node2.type === "apiReference" || node2.type === "changelog" || node2.type === "apiPackage";
|
|
1252051
1252045
|
}
|
|
1252052
1252046
|
|
|
1252053
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252047
|
+
// ../../../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
1252048
|
function isSectionOverview(node2) {
|
|
1252055
1252049
|
return isSection(node2) && node2.overviewPageId != null;
|
|
1252056
1252050
|
}
|
|
1252057
1252051
|
|
|
1252058
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252052
|
+
// ../../../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
1252053
|
function hasMarkdown(node2) {
|
|
1252060
1252054
|
return isMarkdownLeaf(node2) || isSectionOverview(node2);
|
|
1252061
1252055
|
}
|
|
1252062
1252056
|
|
|
1252063
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252057
|
+
// ../../../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
1252058
|
function isNeighbor(node2) {
|
|
1252065
1252059
|
return isApiLeaf(node2) || node2.type === "page" || node2.type === "changelog" || node2.type === "changelogEntry" || isSectionOverview(node2);
|
|
1252066
1252060
|
}
|
|
1252067
1252061
|
|
|
1252068
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252062
|
+
// ../../../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
1252063
|
function isPage(node2) {
|
|
1252070
1252064
|
return isApiLeaf(node2) || node2.type === "changelog" || node2.type === "changelogYear" || node2.type === "changelogMonth" || hasMarkdown(node2);
|
|
1252071
1252065
|
}
|
|
1252072
1252066
|
|
|
1252073
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252067
|
+
// ../../../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
1252068
|
function hasMetadata(node2) {
|
|
1252075
1252069
|
return typeof node2.title === "string" && typeof node2.slug === "string";
|
|
1252076
1252070
|
}
|
|
1252077
1252071
|
|
|
1252078
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252072
|
+
// ../../../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
1252073
|
function hasRedirect(node2) {
|
|
1252080
1252074
|
return typeof node2.pointsTo === "string";
|
|
1252081
1252075
|
}
|
|
1252082
1252076
|
|
|
1252083
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252077
|
+
// ../../../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
1252078
|
var utils_exports2 = {};
|
|
1252085
1252079
|
__export(utils_exports2, {
|
|
1252086
1252080
|
collectApiReferences: () => collectApiReferences,
|
|
@@ -1252099,7 +1252093,7 @@ __export(utils_exports2, {
|
|
|
1252099
1252093
|
traverseNavigation: () => traverseNavigation
|
|
1252100
1252094
|
});
|
|
1252101
1252095
|
|
|
1252102
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252096
|
+
// ../../../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
1252097
|
var import_ts_essentials = __toESM(require_dist6(), 1);
|
|
1252104
1252098
|
var SKIP3 = "skip";
|
|
1252105
1252099
|
var STOP = false;
|
|
@@ -1252182,7 +1252176,7 @@ function traverseNavigation(node2, visit3) {
|
|
|
1252182
1252176
|
internalTraverser(node2, void 0, []);
|
|
1252183
1252177
|
}
|
|
1252184
1252178
|
|
|
1252185
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252179
|
+
// ../../../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
1252180
|
function collectApiReferences(nav) {
|
|
1252187
1252181
|
const apiReferences = [];
|
|
1252188
1252182
|
traverseNavigation(nav, (node2) => {
|
|
@@ -1252195,7 +1252189,7 @@ function collectApiReferences(nav) {
|
|
|
1252195
1252189
|
return apiReferences;
|
|
1252196
1252190
|
}
|
|
1252197
1252191
|
|
|
1252198
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252192
|
+
// ../../../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
1252193
|
var RETURN_PAGEID = (node2) => node2.pageId;
|
|
1252200
1252194
|
var RETURN_OVERVIEW_PAGEID = (node2) => node2.overviewPageId;
|
|
1252201
1252195
|
var RETURN_UNDEFINED = () => void 0;
|
|
@@ -1252216,7 +1252210,7 @@ function getPageId(node2) {
|
|
|
1252216
1252210
|
});
|
|
1252217
1252211
|
}
|
|
1252218
1252212
|
|
|
1252219
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252213
|
+
// ../../../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
1252214
|
function collectPageIds(nav) {
|
|
1252221
1252215
|
const pageIds = /* @__PURE__ */ new Set();
|
|
1252222
1252216
|
traverseNavigation(nav, (node2) => {
|
|
@@ -1252230,26 +1252224,26 @@ function collectPageIds(nav) {
|
|
|
1252230
1252224
|
return pageIds;
|
|
1252231
1252225
|
}
|
|
1252232
1252226
|
|
|
1252233
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252227
|
+
// ../../../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
1252228
|
function convertAvailability3(availability) {
|
|
1252235
1252229
|
if (availability == null) {
|
|
1252236
1252230
|
return void 0;
|
|
1252237
1252231
|
}
|
|
1252238
1252232
|
switch (availability) {
|
|
1252239
1252233
|
case "Beta":
|
|
1252240
|
-
return
|
|
1252234
|
+
return navigation_exports2.Availability.Beta;
|
|
1252241
1252235
|
case "Stable":
|
|
1252242
|
-
return
|
|
1252236
|
+
return navigation_exports2.Availability.Stable;
|
|
1252243
1252237
|
case "GenerallyAvailable":
|
|
1252244
|
-
return
|
|
1252238
|
+
return navigation_exports2.Availability.GenerallyAvailable;
|
|
1252245
1252239
|
case "Deprecated":
|
|
1252246
|
-
return
|
|
1252240
|
+
return navigation_exports2.Availability.Deprecated;
|
|
1252247
1252241
|
default:
|
|
1252248
1252242
|
return assertNever2(availability);
|
|
1252249
1252243
|
}
|
|
1252250
1252244
|
}
|
|
1252251
1252245
|
|
|
1252252
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252246
|
+
// ../../../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
1252247
|
function pruneVersionNode(node2, rootSlug, versionSlug) {
|
|
1252254
1252248
|
if (node2 == null) {
|
|
1252255
1252249
|
return void 0;
|
|
@@ -1252274,20 +1252268,20 @@ function toDefaultSlug(slug, rootSlug, versionSlug) {
|
|
|
1252274
1252268
|
return void 0;
|
|
1252275
1252269
|
}
|
|
1252276
1252270
|
if (slug.startsWith(versionSlug)) {
|
|
1252277
|
-
return
|
|
1252271
|
+
return navigation_exports2.Slug(slug.replace(new RegExp(`^${versionSlug.replaceAll("/", "\\/")}`), rootSlug).replace(/^\//, ""));
|
|
1252278
1252272
|
}
|
|
1252279
1252273
|
return slug;
|
|
1252280
1252274
|
}
|
|
1252281
1252275
|
|
|
1252282
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252276
|
+
// ../../../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
1252277
|
var import_ts_essentials2 = __toESM(require_dist6(), 1);
|
|
1252284
1252278
|
|
|
1252285
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252279
|
+
// ../../../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
1252280
|
function stringifyEndpointPathParts(path45) {
|
|
1252287
1252281
|
return urlJoin10("/", ...path45.map((part) => part.type === "literal" ? part.value : `:${part.value}`));
|
|
1252288
1252282
|
}
|
|
1252289
1252283
|
|
|
1252290
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252284
|
+
// ../../../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
1252285
|
var import_dayjs = __toESM(require_dayjs_min(), 1);
|
|
1252292
1252286
|
var import_utc = __toESM(require_utc(), 1);
|
|
1252293
1252287
|
import_dayjs.default.extend(import_utc.default);
|
|
@@ -1252307,7 +1252301,7 @@ var _ChangelogNavigationConverter = class {
|
|
|
1252307
1252301
|
convert(changelog, parentSlug) {
|
|
1252308
1252302
|
return __privateGet(this, _idgen).with("log", (id) => {
|
|
1252309
1252303
|
let slug = parentSlug.apply(changelog);
|
|
1252310
|
-
const overviewPageId = changelog.pageId != null ?
|
|
1252304
|
+
const overviewPageId = changelog.pageId != null ? navigation_exports2.PageId(changelog.pageId) : void 0;
|
|
1252311
1252305
|
const noindex = overviewPageId != null ? this.noindexMap[overviewPageId] : void 0;
|
|
1252312
1252306
|
const frontmatterSlug = overviewPageId != null ? this.fullSlugMap[overviewPageId] : void 0;
|
|
1252313
1252307
|
if (frontmatterSlug != null) {
|
|
@@ -1252374,7 +1252368,7 @@ var _ChangelogNavigationConverter = class {
|
|
|
1252374
1252368
|
convertChangelogEntry(item, parentSlug) {
|
|
1252375
1252369
|
const date4 = import_dayjs.default.utc(item.date);
|
|
1252376
1252370
|
return __privateGet(this, _idgen).with(date4.format("YYYY-M-D"), (id) => {
|
|
1252377
|
-
const pageId =
|
|
1252371
|
+
const pageId = navigation_exports2.PageId(item.pageId);
|
|
1252378
1252372
|
const noindex = this.noindexMap[pageId];
|
|
1252379
1252373
|
return {
|
|
1252380
1252374
|
id,
|
|
@@ -1252405,7 +1252399,7 @@ function orderBy(items, key, order2 = "asc") {
|
|
|
1252405
1252399
|
});
|
|
1252406
1252400
|
}
|
|
1252407
1252401
|
|
|
1252408
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252402
|
+
// ../../../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
1252403
|
var _ids, _generatedIds, _stableId, stableId_fn;
|
|
1252410
1252404
|
var NodeIdGenerator = class {
|
|
1252411
1252405
|
constructor() {
|
|
@@ -1252432,10 +1252426,10 @@ stableId_fn = function() {
|
|
|
1252432
1252426
|
i2++;
|
|
1252433
1252427
|
}
|
|
1252434
1252428
|
__privateGet(this, _generatedIds).add(uniqId);
|
|
1252435
|
-
return
|
|
1252429
|
+
return navigation_exports2.NodeId(uniqId);
|
|
1252436
1252430
|
};
|
|
1252437
1252431
|
|
|
1252438
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252432
|
+
// ../../../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
1252433
|
var _holder, _visitedEndpoints, _visitedWebSockets, _visitedWebhooks, _visitedSubpackages, _idgen2;
|
|
1252440
1252434
|
var _ApiReferenceNavigationConverter = class {
|
|
1252441
1252435
|
constructor(apiSection, api, fullSlugMap, noindexMap, parentSlug, idgen, lexicographic = false, disableEndpointPairs = false, paginated) {
|
|
@@ -1252462,7 +1252456,7 @@ var _ApiReferenceNavigationConverter = class {
|
|
|
1252462
1252456
|
this.lexicographic = lexicographic;
|
|
1252463
1252457
|
this.disableEndpointPairs = disableEndpointPairs;
|
|
1252464
1252458
|
this.paginated = paginated;
|
|
1252465
|
-
this.apiDefinitionId =
|
|
1252459
|
+
this.apiDefinitionId = navigation_exports2.ApiDefinitionId(api.id);
|
|
1252466
1252460
|
__privateSet(this, _holder, ApiDefinitionHolder.create(api));
|
|
1252467
1252461
|
__privateSet(this, _idgen2, idgen);
|
|
1252468
1252462
|
}
|
|
@@ -1252472,7 +1252466,7 @@ var _ApiReferenceNavigationConverter = class {
|
|
|
1252472
1252466
|
convert() {
|
|
1252473
1252467
|
return __privateGet(this, _idgen2).with(this.apiSection.urlSlug, (id) => {
|
|
1252474
1252468
|
var _a6;
|
|
1252475
|
-
const overviewPageId = ((_a6 = this.apiSection.navigation) == null ? void 0 : _a6.summaryPageId) != null ?
|
|
1252469
|
+
const overviewPageId = ((_a6 = this.apiSection.navigation) == null ? void 0 : _a6.summaryPageId) != null ? navigation_exports2.PageId(this.apiSection.navigation.summaryPageId) : void 0;
|
|
1252476
1252470
|
const noindex = overviewPageId != null ? this.noindexMap[overviewPageId] : void 0;
|
|
1252477
1252471
|
let slug = this.parentSlug.apply(this.apiSection);
|
|
1252478
1252472
|
const frontmatterSlug = overviewPageId != null ? this.fullSlugMap[overviewPageId] : void 0;
|
|
@@ -1252486,7 +1252480,7 @@ var _ApiReferenceNavigationConverter = class {
|
|
|
1252486
1252480
|
id,
|
|
1252487
1252481
|
type: "apiReference",
|
|
1252488
1252482
|
title: this.apiSection.title,
|
|
1252489
|
-
apiDefinitionId:
|
|
1252483
|
+
apiDefinitionId: navigation_exports2.ApiDefinitionId(this.apiSection.api),
|
|
1252490
1252484
|
overviewPageId,
|
|
1252491
1252485
|
noindex,
|
|
1252492
1252486
|
paginated: this.paginated ?? (this.apiSection.longScrolling === false ? true : void 0),
|
|
@@ -1252667,7 +1252661,7 @@ var _ApiReferenceNavigationConverter = class {
|
|
|
1252667
1252661
|
visitDiscriminatedUnion2(item, "type")._visit({
|
|
1252668
1252662
|
page: (page) => {
|
|
1252669
1252663
|
children2.push(__privateGet(this, _idgen2).with(page.urlSlug, (id) => {
|
|
1252670
|
-
const pageId =
|
|
1252664
|
+
const pageId = navigation_exports2.PageId(page.id);
|
|
1252671
1252665
|
const noindex = this.noindexMap[pageId];
|
|
1252672
1252666
|
return {
|
|
1252673
1252667
|
id,
|
|
@@ -1252718,7 +1252712,7 @@ var _ApiReferenceNavigationConverter = class {
|
|
|
1252718
1252712
|
return;
|
|
1252719
1252713
|
}
|
|
1252720
1252714
|
let slug = parentSlug.apply(subpackage2);
|
|
1252721
|
-
const overviewPageId = summaryPageId != null ?
|
|
1252715
|
+
const overviewPageId = summaryPageId != null ? navigation_exports2.PageId(summaryPageId) : void 0;
|
|
1252722
1252716
|
const noindex = overviewPageId != null ? this.noindexMap[overviewPageId] : void 0;
|
|
1252723
1252717
|
const frontmatterSlug = overviewPageId != null ? this.fullSlugMap[overviewPageId] : void 0;
|
|
1252724
1252718
|
if (frontmatterSlug != null) {
|
|
@@ -1252791,12 +1252785,12 @@ _visitedWebhooks = new WeakMap();
|
|
|
1252791
1252785
|
_visitedSubpackages = new WeakMap();
|
|
1252792
1252786
|
_idgen2 = new WeakMap();
|
|
1252793
1252787
|
|
|
1252794
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252788
|
+
// ../../../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
1252789
|
function slugjoin(...parts) {
|
|
1252796
|
-
return
|
|
1252790
|
+
return navigation_exports2.Slug(urlJoin10(parts.map((part) => part.trim())).replaceAll("//*", "/").replace(/^\//, "").replace(/\/$/, ""));
|
|
1252797
1252791
|
}
|
|
1252798
1252792
|
|
|
1252799
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252793
|
+
// ../../../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
1252794
|
var SlugGenerator = class {
|
|
1252801
1252795
|
baseSlug;
|
|
1252802
1252796
|
versionSlug;
|
|
@@ -1252810,7 +1252804,7 @@ var SlugGenerator = class {
|
|
|
1252810
1252804
|
this.slug = slug;
|
|
1252811
1252805
|
}
|
|
1252812
1252806
|
get() {
|
|
1252813
|
-
return
|
|
1252807
|
+
return navigation_exports2.Slug(slugjoin(this.slug));
|
|
1252814
1252808
|
}
|
|
1252815
1252809
|
setVersionSlug(versionSlug) {
|
|
1252816
1252810
|
if (this.versionSlug != null) {
|
|
@@ -1252859,7 +1252853,7 @@ var SlugGenerator = class {
|
|
|
1252859
1252853
|
}
|
|
1252860
1252854
|
};
|
|
1252861
1252855
|
|
|
1252862
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1252856
|
+
// ../../../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
1252857
|
var _idgen3;
|
|
1252864
1252858
|
var _NavigationConfigConverter = class {
|
|
1252865
1252859
|
constructor(title2, config, fullSlugMap, noindexMap, apis, basePath, lexicographic, disableEndpointPairs, paginated) {
|
|
@@ -1252931,7 +1252925,7 @@ var _NavigationConfigConverter = class {
|
|
|
1252931
1252925
|
type: "version",
|
|
1252932
1252926
|
title: version3.version,
|
|
1252933
1252927
|
default: idx === 0,
|
|
1252934
|
-
versionId:
|
|
1252928
|
+
versionId: navigation_exports2.VersionId(version3.version),
|
|
1252935
1252929
|
slug: slug.get(),
|
|
1252936
1252930
|
icon: void 0,
|
|
1252937
1252931
|
hidden: false,
|
|
@@ -1252977,7 +1252971,7 @@ var _NavigationConfigConverter = class {
|
|
|
1252977
1252971
|
id: id2,
|
|
1252978
1252972
|
type: "link",
|
|
1252979
1252973
|
title: tab2.title,
|
|
1252980
|
-
url:
|
|
1252974
|
+
url: navigation_exports2.Url(tab2.url),
|
|
1252981
1252975
|
icon: tab2.icon
|
|
1252982
1252976
|
}));
|
|
1252983
1252977
|
} else if (tab2.type === "changelog") {
|
|
@@ -1253004,7 +1252998,7 @@ var _NavigationConfigConverter = class {
|
|
|
1253004
1252998
|
if (unversioned.landingPage == null) {
|
|
1253005
1252999
|
return void 0;
|
|
1253006
1253000
|
}
|
|
1253007
|
-
const pageId =
|
|
1253001
|
+
const pageId = navigation_exports2.PageId(unversioned.landingPage.id);
|
|
1253008
1253002
|
return {
|
|
1253009
1253003
|
id: id2,
|
|
1253010
1253004
|
type: "landingPage",
|
|
@@ -1253049,7 +1253043,7 @@ var _NavigationConfigConverter = class {
|
|
|
1253049
1253043
|
convertNavigationItem(item, parentSlug) {
|
|
1253050
1253044
|
return visitDiscriminatedUnion2(item, "type")._visit({
|
|
1253051
1253045
|
page: (page) => __privateGet(this, _idgen3).with(page.urlSlug, (id) => {
|
|
1253052
|
-
const pageId =
|
|
1253046
|
+
const pageId = navigation_exports2.PageId(page.id);
|
|
1253053
1253047
|
return {
|
|
1253054
1253048
|
id,
|
|
1253055
1253049
|
type: "page",
|
|
@@ -1253065,14 +1253059,14 @@ var _NavigationConfigConverter = class {
|
|
|
1253065
1253059
|
id,
|
|
1253066
1253060
|
type: "link",
|
|
1253067
1253061
|
title: link3.title,
|
|
1253068
|
-
url:
|
|
1253062
|
+
url: navigation_exports2.Url(link3.url),
|
|
1253069
1253063
|
icon: link3.icon
|
|
1253070
1253064
|
})),
|
|
1253071
1253065
|
section: (section) => __privateGet(this, _idgen3).with(section.urlSlug, (id) => {
|
|
1253072
1253066
|
let slug = parentSlug.apply(section);
|
|
1253073
1253067
|
const children2 = section.items.map((item2) => this.convertNavigationItem(item2, slug));
|
|
1253074
1253068
|
const pointsTo = followRedirects(children2);
|
|
1253075
|
-
const overviewPageId = section.overviewPageId != null ?
|
|
1253069
|
+
const overviewPageId = section.overviewPageId != null ? navigation_exports2.PageId(section.overviewPageId) : void 0;
|
|
1253076
1253070
|
const noindex = overviewPageId != null ? this.noindexMap[overviewPageId] : void 0;
|
|
1253077
1253071
|
const frontmatterSlug = overviewPageId != null ? this.fullSlugMap[overviewPageId] : void 0;
|
|
1253078
1253072
|
if (frontmatterSlug != null) {
|
|
@@ -1253115,7 +1253109,7 @@ var _NavigationConfigConverter = class {
|
|
|
1253115
1253109
|
var NavigationConfigConverter = _NavigationConfigConverter;
|
|
1253116
1253110
|
_idgen3 = new WeakMap();
|
|
1253117
1253111
|
|
|
1253118
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1253112
|
+
// ../../../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
1253113
|
function getFrontmatter(markdown) {
|
|
1253120
1253114
|
const frontmatterMatch = /^---\s*([\s\S]*?)\s*---/.exec(markdown.trimStart());
|
|
1253121
1253115
|
if (!frontmatterMatch || frontmatterMatch[1] == null) {
|
|
@@ -1253124,7 +1253118,7 @@ function getFrontmatter(markdown) {
|
|
|
1253124
1253118
|
return frontmatterMatch[1];
|
|
1253125
1253119
|
}
|
|
1253126
1253120
|
|
|
1253127
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1253121
|
+
// ../../../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
1253122
|
function getFullSlugFromFrontmatter(frontmatter) {
|
|
1253129
1253123
|
const match = frontmatter.match(/slug:\s*"?([^"\n\s]+)"?/);
|
|
1253130
1253124
|
if (match != null && match[1] != null) {
|
|
@@ -1253133,7 +1253127,7 @@ function getFullSlugFromFrontmatter(frontmatter) {
|
|
|
1253133
1253127
|
return void 0;
|
|
1253134
1253128
|
}
|
|
1253135
1253129
|
|
|
1253136
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1253130
|
+
// ../../../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
1253131
|
function getNoIndexFromFrontmatter(frontmatter) {
|
|
1253138
1253132
|
if (/noindex:\s*true/.test(frontmatter)) {
|
|
1253139
1253133
|
return true;
|
|
@@ -1253143,7 +1253137,7 @@ function getNoIndexFromFrontmatter(frontmatter) {
|
|
|
1253143
1253137
|
return void 0;
|
|
1253144
1253138
|
}
|
|
1253145
1253139
|
|
|
1253146
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1253140
|
+
// ../../../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
1253141
|
function convertLoadDocsForUrlResponse(response, disableEndpointPairs = false, paginated) {
|
|
1253148
1253142
|
const noindexMap = {};
|
|
1253149
1253143
|
const fullSlugMap = {};
|
|
@@ -1253154,11 +1253148,11 @@ function convertLoadDocsForUrlResponse(response, disableEndpointPairs = false, p
|
|
|
1253154
1253148
|
}
|
|
1253155
1253149
|
const noindex = getNoIndexFromFrontmatter(frontmatter);
|
|
1253156
1253150
|
if (noindex != null) {
|
|
1253157
|
-
noindexMap[
|
|
1253151
|
+
noindexMap[navigation_exports2.PageId(pageId)] = noindex;
|
|
1253158
1253152
|
}
|
|
1253159
1253153
|
const fullSlug = getFullSlugFromFrontmatter(frontmatter);
|
|
1253160
1253154
|
if (fullSlug != null) {
|
|
1253161
|
-
fullSlugMap[
|
|
1253155
|
+
fullSlugMap[navigation_exports2.PageId(pageId)] = fullSlug;
|
|
1253162
1253156
|
}
|
|
1253163
1253157
|
});
|
|
1253164
1253158
|
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 +1253182,35 @@ function hackReorderAssemblyApi(api) {
|
|
|
1253188
1253182
|
return api;
|
|
1253189
1253183
|
}
|
|
1253190
1253184
|
|
|
1253191
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1253185
|
+
// ../../../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
1253186
|
var import_ts_essentials3 = __toESM(require_dist6(), 1);
|
|
1253193
1253187
|
|
|
1253194
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1253188
|
+
// ../../../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
1253189
|
function isApiReferenceNode(node2) {
|
|
1253196
1253190
|
return node2.type === "apiReference";
|
|
1253197
1253191
|
}
|
|
1253198
1253192
|
|
|
1253199
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1253193
|
+
// ../../../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
1253194
|
function isSidebarRootNode(node2) {
|
|
1253201
1253195
|
return node2.type === "sidebarRoot";
|
|
1253202
1253196
|
}
|
|
1253203
1253197
|
|
|
1253204
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1253198
|
+
// ../../../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
1253199
|
function isTabbedNode(node2) {
|
|
1253206
1253200
|
return node2.type === "tabbed";
|
|
1253207
1253201
|
}
|
|
1253208
1253202
|
|
|
1253209
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1253203
|
+
// ../../../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
1253204
|
function isUnversionedNode(node2) {
|
|
1253211
1253205
|
return node2.type === "unversioned";
|
|
1253212
1253206
|
}
|
|
1253213
1253207
|
|
|
1253214
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1253208
|
+
// ../../../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
1253209
|
function isVersionNode(node2) {
|
|
1253216
1253210
|
return node2.type === "version";
|
|
1253217
1253211
|
}
|
|
1253218
1253212
|
|
|
1253219
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1253213
|
+
// ../../../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
1253214
|
function findNode(root5, slug) {
|
|
1253221
1253215
|
var _a6, _b4;
|
|
1253222
1253216
|
const collector = NodeCollector.collect(root5);
|
|
@@ -1253229,7 +1253223,7 @@ function findNode(root5, slug) {
|
|
|
1253229
1253223
|
break;
|
|
1253230
1253224
|
}
|
|
1253231
1253225
|
}
|
|
1253232
|
-
return { type: "notFound", redirect: maybeVersionNode.pointsTo
|
|
1253226
|
+
return { type: "notFound", redirect: maybeVersionNode.pointsTo };
|
|
1253233
1253227
|
}
|
|
1253234
1253228
|
const sidebar = found.parents.find(isSidebarRootNode);
|
|
1253235
1253229
|
const currentVersion = found.parents.find(isVersionNode);
|
|
@@ -1253252,6 +1253246,8 @@ function findNode(root5, slug) {
|
|
|
1253252
1253246
|
return node2;
|
|
1253253
1253247
|
});
|
|
1253254
1253248
|
const currentTab = (currentTabNode == null ? void 0 : currentTabNode.type) === "tab" || (currentTabNode == null ? void 0 : currentTabNode.type) === "changelog" ? currentTabNode : void 0;
|
|
1253249
|
+
const slugPrefix = (currentVersion == null ? void 0 : currentVersion.slug) ?? root5.slug;
|
|
1253250
|
+
const unversionedSlug = navigation_exports2.Slug(found.node.slug.replace(new RegExp(`^${slugPrefix}/?`), ""));
|
|
1253255
1253251
|
return {
|
|
1253256
1253252
|
type: "found",
|
|
1253257
1253253
|
node: found.node,
|
|
@@ -1253267,7 +1253263,8 @@ function findNode(root5, slug) {
|
|
|
1253267
1253263
|
landingPage,
|
|
1253268
1253264
|
next: found.next,
|
|
1253269
1253265
|
prev: found.prev,
|
|
1253270
|
-
collector
|
|
1253266
|
+
collector,
|
|
1253267
|
+
unversionedSlug
|
|
1253271
1253268
|
};
|
|
1253272
1253269
|
}
|
|
1253273
1253270
|
if (root5.type === "root" && root5.slug === slug && root5.pointsTo != null) {
|
|
@@ -1253320,7 +1253317,7 @@ function createBreadcrumb(nodes) {
|
|
|
1253320
1253317
|
return breadcrumb;
|
|
1253321
1253318
|
}
|
|
1253322
1253319
|
|
|
1253323
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1253320
|
+
// ../../../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
1253321
|
function followRedirect(nodeToFollow) {
|
|
1253325
1253322
|
if (nodeToFollow == null) {
|
|
1253326
1253323
|
return void 0;
|
|
@@ -1253363,7 +1253360,7 @@ function followRedirects(nodes) {
|
|
|
1253363
1253360
|
return;
|
|
1253364
1253361
|
}
|
|
1253365
1253362
|
|
|
1253366
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1253363
|
+
// ../../../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
1253364
|
var RETURN_UNDEFINED2 = () => void 0;
|
|
1253368
1253365
|
var RETURN_API_DEFINITION_ID = (node2) => node2.apiDefinitionId;
|
|
1253369
1253366
|
function getApiReferenceId(node2) {
|
|
@@ -1253396,7 +1253393,7 @@ function getApiReferenceId(node2) {
|
|
|
1253396
1253393
|
});
|
|
1253397
1253394
|
}
|
|
1253398
1253395
|
|
|
1253399
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1253396
|
+
// ../../../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
1253397
|
var NodeCollectorInstances = /* @__PURE__ */ new WeakMap();
|
|
1253401
1253398
|
var _last, _lastNeighboringNode, _setNode, setNode_fn;
|
|
1253402
1253399
|
var _NodeCollector = class {
|
|
@@ -1261708,13 +1261705,13 @@ var _ApiDefinitionHolder2 = class {
|
|
|
1261708
1261705
|
return __privateGet(this, _webhooksInverted).get(webhook);
|
|
1261709
1261706
|
}
|
|
1261710
1261707
|
static createEndpointId(endpoint, subpackageId) {
|
|
1261711
|
-
return
|
|
1261708
|
+
return navigation_exports3.EndpointId(endpoint.originalEndpointId ?? `${subpackageId}.${endpoint.id}`);
|
|
1261712
1261709
|
}
|
|
1261713
1261710
|
static createWebSocketId(webSocket, subpackageId) {
|
|
1261714
|
-
return
|
|
1261711
|
+
return navigation_exports3.WebSocketId(`${subpackageId}.${webSocket.id}`);
|
|
1261715
1261712
|
}
|
|
1261716
1261713
|
static createWebhookId(webhook, subpackageId) {
|
|
1261717
|
-
return
|
|
1261714
|
+
return navigation_exports3.WebhookId(`${subpackageId}.${webhook.id}`);
|
|
1261718
1261715
|
}
|
|
1261719
1261716
|
};
|
|
1261720
1261717
|
var ApiDefinitionHolder2 = _ApiDefinitionHolder2;
|
|
@@ -1261855,7 +1261852,7 @@ var ChangelogNodeConverter = class {
|
|
|
1261855
1261852
|
const relativePath = this.toRelativeFilepath(absoluteFilepath);
|
|
1261856
1261853
|
unsortedChangelogItems.push({
|
|
1261857
1261854
|
date: changelogDate,
|
|
1261858
|
-
pageId:
|
|
1261855
|
+
pageId: navigation_exports3.PageId(relativePath),
|
|
1261859
1261856
|
absoluteFilepath
|
|
1261860
1261857
|
});
|
|
1261861
1261858
|
}
|
|
@@ -1261892,7 +1261889,7 @@ var ChangelogNodeConverter = class {
|
|
|
1261892
1261889
|
icon: opts.icon,
|
|
1261893
1261890
|
hidden: opts.hidden,
|
|
1261894
1261891
|
children: changelogYears,
|
|
1261895
|
-
overviewPageId: overviewPagePath != null ?
|
|
1261892
|
+
overviewPageId: overviewPagePath != null ? navigation_exports3.PageId(this.toRelativeFilepath(overviewPagePath)) : void 0,
|
|
1261896
1261893
|
noindex: void 0
|
|
1261897
1261894
|
};
|
|
1261898
1261895
|
}
|
|
@@ -1261972,7 +1261969,7 @@ var NodeIdGenerator2 = class {
|
|
|
1261972
1261969
|
this.ids = ids;
|
|
1261973
1261970
|
}
|
|
1261974
1261971
|
get() {
|
|
1261975
|
-
return
|
|
1261972
|
+
return navigation_exports3.NodeId(this.id);
|
|
1261976
1261973
|
}
|
|
1261977
1261974
|
append(part) {
|
|
1261978
1261975
|
let id = `${this.id}.${part}`;
|
|
@@ -1262025,10 +1262022,10 @@ var ApiReferenceNodeConverter = class {
|
|
|
1262025
1262022
|
this.taskContext = taskContext;
|
|
1262026
1262023
|
this.markdownFilesToFullSlugs = markdownFilesToFullSlugs;
|
|
1262027
1262024
|
this.disableEndpointPairs = ((_a6 = docsWorkspace.config.experimental) == null ? void 0 : _a6.disableStreamToggle) ?? false;
|
|
1262028
|
-
this.apiDefinitionId =
|
|
1262025
|
+
this.apiDefinitionId = navigation_exports3.ApiDefinitionId(api.id);
|
|
1262029
1262026
|
__privateSet(this, _holder2, ApiDefinitionHolder2.create(api, taskContext));
|
|
1262030
1262027
|
const idgen = NodeIdGenerator2.init(this.apiDefinitionId);
|
|
1262031
|
-
__privateSet(this, _overviewPageId, this.apiSection.overviewAbsolutePath != null ?
|
|
1262028
|
+
__privateSet(this, _overviewPageId, this.apiSection.overviewAbsolutePath != null ? navigation_exports3.PageId(this.toRelativeFilepath(this.apiSection.overviewAbsolutePath)) : void 0);
|
|
1262032
1262029
|
const maybeFullSlug = this.apiSection.overviewAbsolutePath != null ? this.markdownFilesToFullSlugs.get(this.apiSection.overviewAbsolutePath) : void 0;
|
|
1262033
1262030
|
__privateSet(this, _slug, parentSlug.apply({
|
|
1262034
1262031
|
fullSlug: maybeFullSlug == null ? void 0 : maybeFullSlug.split("/"),
|
|
@@ -1262042,7 +1262039,7 @@ var ApiReferenceNodeConverter = class {
|
|
|
1262042
1262039
|
}
|
|
1262043
1262040
|
get() {
|
|
1262044
1262041
|
var _a6;
|
|
1262045
|
-
const pointsTo =
|
|
1262042
|
+
const pointsTo = navigation_exports3.utils.followRedirects(__privateGet(this, _children));
|
|
1262046
1262043
|
const idgen = NodeIdGenerator2.init(this.apiDefinitionId);
|
|
1262047
1262044
|
return {
|
|
1262048
1262045
|
id: idgen.get(),
|
|
@@ -1262092,7 +1262089,7 @@ var ApiReferenceNodeConverter = class {
|
|
|
1262092
1262089
|
const stream = child.isResponseStream ? child : existing;
|
|
1262093
1262090
|
const nonStream = child.isResponseStream ? existing : child;
|
|
1262094
1262091
|
const pairNode = {
|
|
1262095
|
-
id:
|
|
1262092
|
+
id: navigation_exports3.NodeId(`${this.apiDefinitionId}:${nonStream.endpointId}+${stream.endpointId}`),
|
|
1262096
1262093
|
type: "endpointPair",
|
|
1262097
1262094
|
stream,
|
|
1262098
1262095
|
nonStream
|
|
@@ -1262127,11 +1262124,11 @@ convertApiReferenceLayoutItems_fn = function(navigation, apiDefinitionPackage, p
|
|
|
1262127
1262124
|
type: "link",
|
|
1262128
1262125
|
title: link3.text,
|
|
1262129
1262126
|
icon: link3.icon,
|
|
1262130
|
-
url:
|
|
1262127
|
+
url: navigation_exports3.Url(link3.url)
|
|
1262131
1262128
|
}),
|
|
1262132
1262129
|
page: (page) => {
|
|
1262133
1262130
|
var _a6;
|
|
1262134
|
-
const pageId =
|
|
1262131
|
+
const pageId = navigation_exports3.PageId(this.toRelativeFilepath(page.absolutePath));
|
|
1262135
1262132
|
const pageSlug = parentSlug.apply({
|
|
1262136
1262133
|
fullSlug: (_a6 = this.markdownFilesToFullSlugs.get(page.absolutePath)) == null ? void 0 : _a6.split("/"),
|
|
1262137
1262134
|
urlSlug: page.slug ?? kebabCase_default(page.title)
|
|
@@ -1262155,7 +1262152,7 @@ convertApiReferenceLayoutItems_fn = function(navigation, apiDefinitionPackage, p
|
|
|
1262155
1262152
|
};
|
|
1262156
1262153
|
_convertPackage = new WeakSet();
|
|
1262157
1262154
|
convertPackage_fn = function(pkg2, parentSlug, idgen) {
|
|
1262158
|
-
const overviewPageId = pkg2.overviewAbsolutePath != null ?
|
|
1262155
|
+
const overviewPageId = pkg2.overviewAbsolutePath != null ? navigation_exports3.PageId(this.toRelativeFilepath(pkg2.overviewAbsolutePath)) : void 0;
|
|
1262159
1262156
|
const maybeFullSlug = pkg2.overviewAbsolutePath != null ? this.markdownFilesToFullSlugs.get(pkg2.overviewAbsolutePath) : void 0;
|
|
1262160
1262157
|
const subpackage = __privateGet(this, _holder2).getSubpackageByIdOrLocator(pkg2.package);
|
|
1262161
1262158
|
if (subpackage != null) {
|
|
@@ -1262216,7 +1262213,7 @@ convertPackage_fn = function(pkg2, parentSlug, idgen) {
|
|
|
1262216
1262213
|
};
|
|
1262217
1262214
|
_convertSection = new WeakSet();
|
|
1262218
1262215
|
convertSection_fn = function(section, parentSlug, idgen) {
|
|
1262219
|
-
const overviewPageId = section.overviewAbsolutePath != null ?
|
|
1262216
|
+
const overviewPageId = section.overviewAbsolutePath != null ? navigation_exports3.PageId(this.toRelativeFilepath(section.overviewAbsolutePath)) : void 0;
|
|
1262220
1262217
|
const maybeFullSlug = section.overviewAbsolutePath != null ? this.markdownFilesToFullSlugs.get(section.overviewAbsolutePath) : void 0;
|
|
1262221
1262218
|
const nodeId = idgen.append(`section:${kebabCase_default(section.title)}`);
|
|
1262222
1262219
|
const subpackageIds = section.referencedSubpackages.map((locator) => {
|
|
@@ -1262318,7 +1262315,7 @@ convertEndpoint_fn = function(endpointItem, apiDefinitionPackageId, parentSlug,
|
|
|
1262318
1262315
|
method: endpoint.method,
|
|
1262319
1262316
|
endpointId,
|
|
1262320
1262317
|
apiDefinitionId: this.apiDefinitionId,
|
|
1262321
|
-
availability:
|
|
1262318
|
+
availability: navigation_exports3.utils.convertAvailability(endpoint.availability),
|
|
1262322
1262319
|
isResponseStream: ((_b4 = endpoint.response) == null ? void 0 : _b4.type.type) === "stream",
|
|
1262323
1262320
|
title: endpointItem.title ?? endpoint.name ?? stringifyEndpointPathParts2(endpoint.path.parts),
|
|
1262324
1262321
|
slug: endpointSlug.get(),
|
|
@@ -1262346,11 +1262343,11 @@ convertEndpoint_fn = function(endpointItem, apiDefinitionPackageId, parentSlug,
|
|
|
1262346
1262343
|
icon: endpointItem.icon,
|
|
1262347
1262344
|
hidden: endpointItem.hidden,
|
|
1262348
1262345
|
apiDefinitionId: this.apiDefinitionId,
|
|
1262349
|
-
availability:
|
|
1262346
|
+
availability: navigation_exports3.utils.convertAvailability(webSocket.availability),
|
|
1262350
1262347
|
playground: __privateMethod(this, _convertPlaygroundSettings, convertPlaygroundSettings_fn).call(this, endpointItem.playground)
|
|
1262351
1262348
|
};
|
|
1262352
1262349
|
}
|
|
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(
|
|
1262350
|
+
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
1262351
|
if (webhook != null) {
|
|
1262355
1262352
|
const webhookId = __privateGet(this, _holder2).getWebhookId(webhook);
|
|
1262356
1262353
|
if (webhookId == null) {
|
|
@@ -1262383,7 +1262380,7 @@ mergeAndFilterChildren_fn = function(left3, right3) {
|
|
|
1262383
1262380
|
_enrichApiPackageChild = new WeakSet();
|
|
1262384
1262381
|
enrichApiPackageChild_fn = function(child) {
|
|
1262385
1262382
|
if (child.type === "apiPackage") {
|
|
1262386
|
-
const slug =
|
|
1262383
|
+
const slug = navigation_exports3.SlugGenerator.init(child.slug);
|
|
1262387
1262384
|
const subpackageIds = __privateGet(this, _nodeIdToSubpackageId).get(child.id) ?? [];
|
|
1262388
1262385
|
const subpackageChildren = subpackageIds.flatMap((subpackageId) => __privateMethod(this, _convertApiDefinitionPackageId, convertApiDefinitionPackageId_fn).call(this, subpackageId, slug));
|
|
1262389
1262386
|
const enrichedChildren = child.children.map((innerChild) => __privateMethod(this, _enrichApiPackageChild, enrichApiPackageChild_fn).call(this, innerChild));
|
|
@@ -1262391,7 +1262388,7 @@ enrichApiPackageChild_fn = function(child) {
|
|
|
1262391
1262388
|
return {
|
|
1262392
1262389
|
...child,
|
|
1262393
1262390
|
children: children2,
|
|
1262394
|
-
pointsTo:
|
|
1262391
|
+
pointsTo: navigation_exports3.utils.followRedirects(children2)
|
|
1262395
1262392
|
};
|
|
1262396
1262393
|
}
|
|
1262397
1262394
|
return child;
|
|
@@ -1262410,12 +1262407,12 @@ convertApiDefinitionPackage_fn = function(pkg2, parentSlug) {
|
|
|
1262410
1262407
|
}
|
|
1262411
1262408
|
const endpointSlug = parentSlug.apply(endpoint);
|
|
1262412
1262409
|
additionalChildren.push({
|
|
1262413
|
-
id:
|
|
1262410
|
+
id: navigation_exports3.NodeId(`${this.apiDefinitionId}:${endpointId}`),
|
|
1262414
1262411
|
type: "endpoint",
|
|
1262415
1262412
|
method: endpoint.method,
|
|
1262416
1262413
|
endpointId,
|
|
1262417
1262414
|
apiDefinitionId: this.apiDefinitionId,
|
|
1262418
|
-
availability:
|
|
1262415
|
+
availability: navigation_exports3.utils.convertAvailability(endpoint.availability),
|
|
1262419
1262416
|
isResponseStream: ((_a6 = endpoint.response) == null ? void 0 : _a6.type.type) === "stream",
|
|
1262420
1262417
|
title: endpoint.name ?? stringifyEndpointPathParts2(endpoint.path.parts),
|
|
1262421
1262418
|
slug: endpointSlug.get(),
|
|
@@ -1262433,7 +1262430,7 @@ convertApiDefinitionPackage_fn = function(pkg2, parentSlug) {
|
|
|
1262433
1262430
|
return;
|
|
1262434
1262431
|
}
|
|
1262435
1262432
|
additionalChildren.push({
|
|
1262436
|
-
id:
|
|
1262433
|
+
id: navigation_exports3.NodeId(`${this.apiDefinitionId}:${webSocketId}`),
|
|
1262437
1262434
|
type: "webSocket",
|
|
1262438
1262435
|
webSocketId,
|
|
1262439
1262436
|
title: webSocket.name ?? stringifyEndpointPathParts2(webSocket.path.parts),
|
|
@@ -1262441,7 +1262438,7 @@ convertApiDefinitionPackage_fn = function(pkg2, parentSlug) {
|
|
|
1262441
1262438
|
icon: void 0,
|
|
1262442
1262439
|
hidden: void 0,
|
|
1262443
1262440
|
apiDefinitionId: this.apiDefinitionId,
|
|
1262444
|
-
availability:
|
|
1262441
|
+
availability: navigation_exports3.utils.convertAvailability(webSocket.availability),
|
|
1262445
1262442
|
playground: void 0
|
|
1262446
1262443
|
});
|
|
1262447
1262444
|
});
|
|
@@ -1262454,7 +1262451,7 @@ convertApiDefinitionPackage_fn = function(pkg2, parentSlug) {
|
|
|
1262454
1262451
|
return;
|
|
1262455
1262452
|
}
|
|
1262456
1262453
|
additionalChildren.push({
|
|
1262457
|
-
id:
|
|
1262454
|
+
id: navigation_exports3.NodeId(`${this.apiDefinitionId}:${webhookId}`),
|
|
1262458
1262455
|
type: "webhook",
|
|
1262459
1262456
|
webhookId,
|
|
1262460
1262457
|
method: webhook.method,
|
|
@@ -1262479,7 +1262476,7 @@ convertApiDefinitionPackage_fn = function(pkg2, parentSlug) {
|
|
|
1262479
1262476
|
const subpackageChildren = __privateMethod(this, _convertApiDefinitionPackageId, convertApiDefinitionPackageId_fn).call(this, subpackageId, slug);
|
|
1262480
1262477
|
if (subpackageChildren.length > 0) {
|
|
1262481
1262478
|
additionalChildren.push({
|
|
1262482
|
-
id:
|
|
1262479
|
+
id: navigation_exports3.NodeId(`${this.apiDefinitionId}:${subpackageId}`),
|
|
1262483
1262480
|
type: "apiPackage",
|
|
1262484
1262481
|
children: subpackageChildren,
|
|
1262485
1262482
|
title: isSubpackage2(subpackage) ? subpackage.displayName ?? titleCase(subpackage.name) : this.apiSection.title,
|
|
@@ -1262489,7 +1262486,7 @@ convertApiDefinitionPackage_fn = function(pkg2, parentSlug) {
|
|
|
1262489
1262486
|
overviewPageId: void 0,
|
|
1262490
1262487
|
availability: void 0,
|
|
1262491
1262488
|
apiDefinitionId: this.apiDefinitionId,
|
|
1262492
|
-
pointsTo:
|
|
1262489
|
+
pointsTo: navigation_exports3.utils.followRedirects(subpackageChildren),
|
|
1262493
1262490
|
noindex: void 0,
|
|
1262494
1262491
|
playground: void 0
|
|
1262495
1262492
|
});
|
|
@@ -1262518,8 +1262515,8 @@ _convertPlaygroundSettings = new WeakSet();
|
|
|
1262518
1262515
|
convertPlaygroundSettings_fn = function(playgroundSettings) {
|
|
1262519
1262516
|
if (playgroundSettings) {
|
|
1262520
1262517
|
return {
|
|
1262521
|
-
environments: playgroundSettings.environments != null && playgroundSettings.environments.length > 0 ? playgroundSettings.environments.map((environmentId) =>
|
|
1262522
|
-
button: playgroundSettings.button != null && playgroundSettings.button.href ? { href:
|
|
1262518
|
+
environments: playgroundSettings.environments != null && playgroundSettings.environments.length > 0 ? playgroundSettings.environments.map((environmentId) => navigation_exports3.EnvironmentId(environmentId)) : void 0,
|
|
1262519
|
+
button: playgroundSettings.button != null && playgroundSettings.button.href ? { href: navigation_exports3.Url(playgroundSettings.button.href) } : void 0
|
|
1262523
1262520
|
};
|
|
1262524
1262521
|
}
|
|
1262525
1262522
|
return;
|
|
@@ -1263831,7 +1263828,7 @@ var DocsDefinitionResolver = class {
|
|
|
1263831
1263828
|
throw new Error("Failed to load API Definition referenced in docs");
|
|
1263832
1263829
|
}
|
|
1263833
1263830
|
async convertNavigationConfig() {
|
|
1263834
|
-
const slug =
|
|
1263831
|
+
const slug = navigation_exports3.SlugGenerator.init(navigation_exports3.utils.slugjoin(this.getDocsBasePath()));
|
|
1263835
1263832
|
const landingPage = this.parsedDocsConfig.landingPage;
|
|
1263836
1263833
|
switch (this.parsedDocsConfig.navigation.type) {
|
|
1263837
1263834
|
case "versioned": {
|