@fern-api/fern-api-dev 4.63.5-39-g4938db48399 → 4.63.5-50-g5cbad6140d5
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/cli.cjs +169 -173
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -323216,24 +323216,24 @@ var require_BackwardsCompatibleOutputMode = __commonJS({
|
|
|
323216
323216
|
};
|
|
323217
323217
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
323218
323218
|
exports2.BackwardsCompatibleOutputMode = void 0;
|
|
323219
|
-
var
|
|
323219
|
+
var FernGeneratorExec2 = __importStar2(require_api3());
|
|
323220
323220
|
exports2.BackwardsCompatibleOutputMode = {
|
|
323221
323221
|
publish: (value) => {
|
|
323222
323222
|
return Object.assign(Object.assign({}, value), { type: "publish", _visit: function(visitor) {
|
|
323223
|
-
return
|
|
323223
|
+
return FernGeneratorExec2.BackwardsCompatibleOutputMode._visit(this, visitor);
|
|
323224
323224
|
} });
|
|
323225
323225
|
},
|
|
323226
323226
|
downloadFiles: () => {
|
|
323227
323227
|
return {
|
|
323228
323228
|
type: "downloadFiles",
|
|
323229
323229
|
_visit: function(visitor) {
|
|
323230
|
-
return
|
|
323230
|
+
return FernGeneratorExec2.BackwardsCompatibleOutputMode._visit(this, visitor);
|
|
323231
323231
|
}
|
|
323232
323232
|
};
|
|
323233
323233
|
},
|
|
323234
323234
|
github: (value) => {
|
|
323235
323235
|
return Object.assign(Object.assign({}, value), { type: "github", _visit: function(visitor) {
|
|
323236
|
-
return
|
|
323236
|
+
return FernGeneratorExec2.BackwardsCompatibleOutputMode._visit(this, visitor);
|
|
323237
323237
|
} });
|
|
323238
323238
|
},
|
|
323239
323239
|
_visit: (value, visitor) => {
|
|
@@ -323301,11 +323301,11 @@ var require_BackwardsCompatiblePublishTarget = __commonJS({
|
|
|
323301
323301
|
};
|
|
323302
323302
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
323303
323303
|
exports2.BackwardsCompatiblePublishTarget = void 0;
|
|
323304
|
-
var
|
|
323304
|
+
var FernGeneratorExec2 = __importStar2(require_api3());
|
|
323305
323305
|
exports2.BackwardsCompatiblePublishTarget = {
|
|
323306
323306
|
npm: (value) => {
|
|
323307
323307
|
return Object.assign(Object.assign({}, value), { type: "npm", _visit: function(visitor) {
|
|
323308
|
-
return
|
|
323308
|
+
return FernGeneratorExec2.BackwardsCompatiblePublishTarget._visit(this, visitor);
|
|
323309
323309
|
} });
|
|
323310
323310
|
},
|
|
323311
323311
|
_visit: (value, visitor) => {
|
|
@@ -323416,16 +323416,16 @@ var require_LicenseConfig = __commonJS({
|
|
|
323416
323416
|
};
|
|
323417
323417
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
323418
323418
|
exports2.LicenseConfig = void 0;
|
|
323419
|
-
var
|
|
323419
|
+
var FernGeneratorExec2 = __importStar2(require_api3());
|
|
323420
323420
|
exports2.LicenseConfig = {
|
|
323421
323421
|
basic: (value) => {
|
|
323422
323422
|
return Object.assign(Object.assign({}, value), { type: "basic", _visit: function(visitor) {
|
|
323423
|
-
return
|
|
323423
|
+
return FernGeneratorExec2.LicenseConfig._visit(this, visitor);
|
|
323424
323424
|
} });
|
|
323425
323425
|
},
|
|
323426
323426
|
custom: (value) => {
|
|
323427
323427
|
return Object.assign(Object.assign({}, value), { type: "custom", _visit: function(visitor) {
|
|
323428
|
-
return
|
|
323428
|
+
return FernGeneratorExec2.LicenseConfig._visit(this, visitor);
|
|
323429
323429
|
} });
|
|
323430
323430
|
},
|
|
323431
323431
|
_visit: (value, visitor) => {
|
|
@@ -323522,24 +323522,24 @@ var require_OutputMode3 = __commonJS({
|
|
|
323522
323522
|
};
|
|
323523
323523
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
323524
323524
|
exports2.OutputMode = void 0;
|
|
323525
|
-
var
|
|
323525
|
+
var FernGeneratorExec2 = __importStar2(require_api3());
|
|
323526
323526
|
exports2.OutputMode = {
|
|
323527
323527
|
publish: (value) => {
|
|
323528
323528
|
return Object.assign(Object.assign({}, value), { type: "publish", _visit: function(visitor) {
|
|
323529
|
-
return
|
|
323529
|
+
return FernGeneratorExec2.OutputMode._visit(this, visitor);
|
|
323530
323530
|
} });
|
|
323531
323531
|
},
|
|
323532
323532
|
downloadFiles: () => {
|
|
323533
323533
|
return {
|
|
323534
323534
|
type: "downloadFiles",
|
|
323535
323535
|
_visit: function(visitor) {
|
|
323536
|
-
return
|
|
323536
|
+
return FernGeneratorExec2.OutputMode._visit(this, visitor);
|
|
323537
323537
|
}
|
|
323538
323538
|
};
|
|
323539
323539
|
},
|
|
323540
323540
|
github: (value) => {
|
|
323541
323541
|
return Object.assign(Object.assign({}, value), { type: "github", _visit: function(visitor) {
|
|
323542
|
-
return
|
|
323542
|
+
return FernGeneratorExec2.OutputMode._visit(this, visitor);
|
|
323543
323543
|
} });
|
|
323544
323544
|
},
|
|
323545
323545
|
_visit: (value, visitor) => {
|
|
@@ -323631,41 +323631,41 @@ var require_GithubPublishInfo3 = __commonJS({
|
|
|
323631
323631
|
};
|
|
323632
323632
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
323633
323633
|
exports2.GithubPublishInfo = void 0;
|
|
323634
|
-
var
|
|
323634
|
+
var FernGeneratorExec2 = __importStar2(require_api3());
|
|
323635
323635
|
exports2.GithubPublishInfo = {
|
|
323636
323636
|
npm: (value) => {
|
|
323637
323637
|
return Object.assign(Object.assign({}, value), { type: "npm", _visit: function(visitor) {
|
|
323638
|
-
return
|
|
323638
|
+
return FernGeneratorExec2.GithubPublishInfo._visit(this, visitor);
|
|
323639
323639
|
} });
|
|
323640
323640
|
},
|
|
323641
323641
|
maven: (value) => {
|
|
323642
323642
|
return Object.assign(Object.assign({}, value), { type: "maven", _visit: function(visitor) {
|
|
323643
|
-
return
|
|
323643
|
+
return FernGeneratorExec2.GithubPublishInfo._visit(this, visitor);
|
|
323644
323644
|
} });
|
|
323645
323645
|
},
|
|
323646
323646
|
postman: (value) => {
|
|
323647
323647
|
return Object.assign(Object.assign({}, value), { type: "postman", _visit: function(visitor) {
|
|
323648
|
-
return
|
|
323648
|
+
return FernGeneratorExec2.GithubPublishInfo._visit(this, visitor);
|
|
323649
323649
|
} });
|
|
323650
323650
|
},
|
|
323651
323651
|
pypi: (value) => {
|
|
323652
323652
|
return Object.assign(Object.assign({}, value), { type: "pypi", _visit: function(visitor) {
|
|
323653
|
-
return
|
|
323653
|
+
return FernGeneratorExec2.GithubPublishInfo._visit(this, visitor);
|
|
323654
323654
|
} });
|
|
323655
323655
|
},
|
|
323656
323656
|
rubygems: (value) => {
|
|
323657
323657
|
return Object.assign(Object.assign({}, value), { type: "rubygems", _visit: function(visitor) {
|
|
323658
|
-
return
|
|
323658
|
+
return FernGeneratorExec2.GithubPublishInfo._visit(this, visitor);
|
|
323659
323659
|
} });
|
|
323660
323660
|
},
|
|
323661
323661
|
nuget: (value) => {
|
|
323662
323662
|
return Object.assign(Object.assign({}, value), { type: "nuget", _visit: function(visitor) {
|
|
323663
|
-
return
|
|
323663
|
+
return FernGeneratorExec2.GithubPublishInfo._visit(this, visitor);
|
|
323664
323664
|
} });
|
|
323665
323665
|
},
|
|
323666
323666
|
crates: (value) => {
|
|
323667
323667
|
return Object.assign(Object.assign({}, value), { type: "crates", _visit: function(visitor) {
|
|
323668
|
-
return
|
|
323668
|
+
return FernGeneratorExec2.GithubPublishInfo._visit(this, visitor);
|
|
323669
323669
|
} });
|
|
323670
323670
|
},
|
|
323671
323671
|
_visit: (value, visitor) => {
|
|
@@ -323850,41 +323850,41 @@ var require_GeneratorPublishTarget = __commonJS({
|
|
|
323850
323850
|
};
|
|
323851
323851
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
323852
323852
|
exports2.GeneratorPublishTarget = void 0;
|
|
323853
|
-
var
|
|
323853
|
+
var FernGeneratorExec2 = __importStar2(require_api3());
|
|
323854
323854
|
exports2.GeneratorPublishTarget = {
|
|
323855
323855
|
maven: (value) => {
|
|
323856
323856
|
return Object.assign(Object.assign({}, value), { type: "maven", _visit: function(visitor) {
|
|
323857
|
-
return
|
|
323857
|
+
return FernGeneratorExec2.GeneratorPublishTarget._visit(this, visitor);
|
|
323858
323858
|
} });
|
|
323859
323859
|
},
|
|
323860
323860
|
npm: (value) => {
|
|
323861
323861
|
return Object.assign(Object.assign({}, value), { type: "npm", _visit: function(visitor) {
|
|
323862
|
-
return
|
|
323862
|
+
return FernGeneratorExec2.GeneratorPublishTarget._visit(this, visitor);
|
|
323863
323863
|
} });
|
|
323864
323864
|
},
|
|
323865
323865
|
pypi: (value) => {
|
|
323866
323866
|
return Object.assign(Object.assign({}, value), { type: "pypi", _visit: function(visitor) {
|
|
323867
|
-
return
|
|
323867
|
+
return FernGeneratorExec2.GeneratorPublishTarget._visit(this, visitor);
|
|
323868
323868
|
} });
|
|
323869
323869
|
},
|
|
323870
323870
|
postman: (value) => {
|
|
323871
323871
|
return Object.assign(Object.assign({}, value), { type: "postman", _visit: function(visitor) {
|
|
323872
|
-
return
|
|
323872
|
+
return FernGeneratorExec2.GeneratorPublishTarget._visit(this, visitor);
|
|
323873
323873
|
} });
|
|
323874
323874
|
},
|
|
323875
323875
|
rubygems: (value) => {
|
|
323876
323876
|
return Object.assign(Object.assign({}, value), { type: "rubygems", _visit: function(visitor) {
|
|
323877
|
-
return
|
|
323877
|
+
return FernGeneratorExec2.GeneratorPublishTarget._visit(this, visitor);
|
|
323878
323878
|
} });
|
|
323879
323879
|
},
|
|
323880
323880
|
nuget: (value) => {
|
|
323881
323881
|
return Object.assign(Object.assign({}, value), { type: "nuget", _visit: function(visitor) {
|
|
323882
|
-
return
|
|
323882
|
+
return FernGeneratorExec2.GeneratorPublishTarget._visit(this, visitor);
|
|
323883
323883
|
} });
|
|
323884
323884
|
},
|
|
323885
323885
|
crates: (value) => {
|
|
323886
323886
|
return Object.assign(Object.assign({}, value), { type: "crates", _visit: function(visitor) {
|
|
323887
|
-
return
|
|
323887
|
+
return FernGeneratorExec2.GeneratorPublishTarget._visit(this, visitor);
|
|
323888
323888
|
} });
|
|
323889
323889
|
},
|
|
323890
323890
|
_visit: (value, visitor) => {
|
|
@@ -324000,19 +324000,19 @@ var require_GeneratorEnvironment = __commonJS({
|
|
|
324000
324000
|
};
|
|
324001
324001
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
324002
324002
|
exports2.GeneratorEnvironment = void 0;
|
|
324003
|
-
var
|
|
324003
|
+
var FernGeneratorExec2 = __importStar2(require_api3());
|
|
324004
324004
|
exports2.GeneratorEnvironment = {
|
|
324005
324005
|
local: () => {
|
|
324006
324006
|
return {
|
|
324007
324007
|
type: "local",
|
|
324008
324008
|
_visit: function(visitor) {
|
|
324009
|
-
return
|
|
324009
|
+
return FernGeneratorExec2.GeneratorEnvironment._visit(this, visitor);
|
|
324010
324010
|
}
|
|
324011
324011
|
};
|
|
324012
324012
|
},
|
|
324013
324013
|
remote: (value) => {
|
|
324014
324014
|
return Object.assign(Object.assign({}, value), { type: "remote", _visit: function(visitor) {
|
|
324015
|
-
return
|
|
324015
|
+
return FernGeneratorExec2.GeneratorEnvironment._visit(this, visitor);
|
|
324016
324016
|
} });
|
|
324017
324017
|
},
|
|
324018
324018
|
_visit: (value, visitor) => {
|
|
@@ -324170,21 +324170,21 @@ var require_GeneratorUpdate = __commonJS({
|
|
|
324170
324170
|
};
|
|
324171
324171
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
324172
324172
|
exports2.GeneratorUpdate = void 0;
|
|
324173
|
-
var
|
|
324173
|
+
var FernGeneratorExec2 = __importStar2(require_api3());
|
|
324174
324174
|
exports2.GeneratorUpdate = {
|
|
324175
324175
|
init: (value) => {
|
|
324176
324176
|
return Object.assign(Object.assign({}, value), { type: "init", _visit: function(visitor) {
|
|
324177
|
-
return
|
|
324177
|
+
return FernGeneratorExec2.GeneratorUpdate._visit(this, visitor);
|
|
324178
324178
|
} });
|
|
324179
324179
|
},
|
|
324180
324180
|
initV2: (value) => {
|
|
324181
324181
|
return Object.assign(Object.assign({}, value), { type: "initV2", _visit: function(visitor) {
|
|
324182
|
-
return
|
|
324182
|
+
return FernGeneratorExec2.GeneratorUpdate._visit(this, visitor);
|
|
324183
324183
|
} });
|
|
324184
324184
|
},
|
|
324185
324185
|
log: (value) => {
|
|
324186
324186
|
return Object.assign(Object.assign({}, value), { type: "log", _visit: function(visitor) {
|
|
324187
|
-
return
|
|
324187
|
+
return FernGeneratorExec2.GeneratorUpdate._visit(this, visitor);
|
|
324188
324188
|
} });
|
|
324189
324189
|
},
|
|
324190
324190
|
publishing: (value) => {
|
|
@@ -324192,7 +324192,7 @@ var require_GeneratorUpdate = __commonJS({
|
|
|
324192
324192
|
publishing: value,
|
|
324193
324193
|
type: "publishing",
|
|
324194
324194
|
_visit: function(visitor) {
|
|
324195
|
-
return
|
|
324195
|
+
return FernGeneratorExec2.GeneratorUpdate._visit(this, visitor);
|
|
324196
324196
|
}
|
|
324197
324197
|
};
|
|
324198
324198
|
},
|
|
@@ -324201,7 +324201,7 @@ var require_GeneratorUpdate = __commonJS({
|
|
|
324201
324201
|
published: value,
|
|
324202
324202
|
type: "published",
|
|
324203
324203
|
_visit: function(visitor) {
|
|
324204
|
-
return
|
|
324204
|
+
return FernGeneratorExec2.GeneratorUpdate._visit(this, visitor);
|
|
324205
324205
|
}
|
|
324206
324206
|
};
|
|
324207
324207
|
},
|
|
@@ -324210,7 +324210,7 @@ var require_GeneratorUpdate = __commonJS({
|
|
|
324210
324210
|
exitStatusUpdate: value,
|
|
324211
324211
|
type: "exitStatusUpdate",
|
|
324212
324212
|
_visit: function(visitor) {
|
|
324213
|
-
return
|
|
324213
|
+
return FernGeneratorExec2.GeneratorUpdate._visit(this, visitor);
|
|
324214
324214
|
}
|
|
324215
324215
|
};
|
|
324216
324216
|
},
|
|
@@ -324357,21 +324357,21 @@ var require_PackageCoordinate3 = __commonJS({
|
|
|
324357
324357
|
};
|
|
324358
324358
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
324359
324359
|
exports2.PackageCoordinate = void 0;
|
|
324360
|
-
var
|
|
324360
|
+
var FernGeneratorExec2 = __importStar2(require_api3());
|
|
324361
324361
|
exports2.PackageCoordinate = {
|
|
324362
324362
|
npm: (value) => {
|
|
324363
324363
|
return Object.assign(Object.assign({}, value), { type: "npm", _visit: function(visitor) {
|
|
324364
|
-
return
|
|
324364
|
+
return FernGeneratorExec2.PackageCoordinate._visit(this, visitor);
|
|
324365
324365
|
} });
|
|
324366
324366
|
},
|
|
324367
324367
|
maven: (value) => {
|
|
324368
324368
|
return Object.assign(Object.assign({}, value), { type: "maven", _visit: function(visitor) {
|
|
324369
|
-
return
|
|
324369
|
+
return FernGeneratorExec2.PackageCoordinate._visit(this, visitor);
|
|
324370
324370
|
} });
|
|
324371
324371
|
},
|
|
324372
324372
|
crates: (value) => {
|
|
324373
324373
|
return Object.assign(Object.assign({}, value), { type: "crates", _visit: function(visitor) {
|
|
324374
|
-
return
|
|
324374
|
+
return FernGeneratorExec2.PackageCoordinate._visit(this, visitor);
|
|
324375
324375
|
} });
|
|
324376
324376
|
},
|
|
324377
324377
|
_visit: (value, visitor) => {
|
|
@@ -324447,16 +324447,16 @@ var require_ExitStatusUpdate = __commonJS({
|
|
|
324447
324447
|
};
|
|
324448
324448
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
324449
324449
|
exports2.ExitStatusUpdate = void 0;
|
|
324450
|
-
var
|
|
324450
|
+
var FernGeneratorExec2 = __importStar2(require_api3());
|
|
324451
324451
|
exports2.ExitStatusUpdate = {
|
|
324452
324452
|
successful: (value) => {
|
|
324453
324453
|
return Object.assign(Object.assign({}, value), { type: "successful", _visit: function(visitor) {
|
|
324454
|
-
return
|
|
324454
|
+
return FernGeneratorExec2.ExitStatusUpdate._visit(this, visitor);
|
|
324455
324455
|
} });
|
|
324456
324456
|
},
|
|
324457
324457
|
error: (value) => {
|
|
324458
324458
|
return Object.assign(Object.assign({}, value), { type: "error", _visit: function(visitor) {
|
|
324459
|
-
return
|
|
324459
|
+
return FernGeneratorExec2.ExitStatusUpdate._visit(this, visitor);
|
|
324460
324460
|
} });
|
|
324461
324461
|
},
|
|
324462
324462
|
_visit: (value, visitor) => {
|
|
@@ -324785,41 +324785,41 @@ var require_EndpointSnippet = __commonJS({
|
|
|
324785
324785
|
};
|
|
324786
324786
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
324787
324787
|
exports2.EndpointSnippet = void 0;
|
|
324788
|
-
var
|
|
324788
|
+
var FernGeneratorExec2 = __importStar2(require_api3());
|
|
324789
324789
|
exports2.EndpointSnippet = {
|
|
324790
324790
|
typescript: (value) => {
|
|
324791
324791
|
return Object.assign(Object.assign({}, value), { type: "typescript", _visit: function(visitor) {
|
|
324792
|
-
return
|
|
324792
|
+
return FernGeneratorExec2.EndpointSnippet._visit(this, visitor);
|
|
324793
324793
|
} });
|
|
324794
324794
|
},
|
|
324795
324795
|
python: (value) => {
|
|
324796
324796
|
return Object.assign(Object.assign({}, value), { type: "python", _visit: function(visitor) {
|
|
324797
|
-
return
|
|
324797
|
+
return FernGeneratorExec2.EndpointSnippet._visit(this, visitor);
|
|
324798
324798
|
} });
|
|
324799
324799
|
},
|
|
324800
324800
|
java: (value) => {
|
|
324801
324801
|
return Object.assign(Object.assign({}, value), { type: "java", _visit: function(visitor) {
|
|
324802
|
-
return
|
|
324802
|
+
return FernGeneratorExec2.EndpointSnippet._visit(this, visitor);
|
|
324803
324803
|
} });
|
|
324804
324804
|
},
|
|
324805
324805
|
go: (value) => {
|
|
324806
324806
|
return Object.assign(Object.assign({}, value), { type: "go", _visit: function(visitor) {
|
|
324807
|
-
return
|
|
324807
|
+
return FernGeneratorExec2.EndpointSnippet._visit(this, visitor);
|
|
324808
324808
|
} });
|
|
324809
324809
|
},
|
|
324810
324810
|
ruby: (value) => {
|
|
324811
324811
|
return Object.assign(Object.assign({}, value), { type: "ruby", _visit: function(visitor) {
|
|
324812
|
-
return
|
|
324812
|
+
return FernGeneratorExec2.EndpointSnippet._visit(this, visitor);
|
|
324813
324813
|
} });
|
|
324814
324814
|
},
|
|
324815
324815
|
csharp: (value) => {
|
|
324816
324816
|
return Object.assign(Object.assign({}, value), { type: "csharp", _visit: function(visitor) {
|
|
324817
|
-
return
|
|
324817
|
+
return FernGeneratorExec2.EndpointSnippet._visit(this, visitor);
|
|
324818
324818
|
} });
|
|
324819
324819
|
},
|
|
324820
324820
|
rust: (value) => {
|
|
324821
324821
|
return Object.assign(Object.assign({}, value), { type: "rust", _visit: function(visitor) {
|
|
324822
|
-
return
|
|
324822
|
+
return FernGeneratorExec2.EndpointSnippet._visit(this, visitor);
|
|
324823
324823
|
} });
|
|
324824
324824
|
},
|
|
324825
324825
|
_visit: (value, visitor) => {
|
|
@@ -327648,7 +327648,7 @@ var require_BackwardsCompatibleOutputMode2 = __commonJS({
|
|
|
327648
327648
|
};
|
|
327649
327649
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
327650
327650
|
exports2.BackwardsCompatibleOutputMode = void 0;
|
|
327651
|
-
var
|
|
327651
|
+
var FernGeneratorExec2 = __importStar2(require_api3());
|
|
327652
327652
|
var core3 = __importStar2(require_core12());
|
|
327653
327653
|
exports2.BackwardsCompatibleOutputMode = core3.serialization.union("type", {
|
|
327654
327654
|
publish: core3.serialization.lazyObject(() => __awaiter16(void 0, void 0, void 0, function* () {
|
|
@@ -327662,11 +327662,11 @@ var require_BackwardsCompatibleOutputMode2 = __commonJS({
|
|
|
327662
327662
|
transform: (value) => {
|
|
327663
327663
|
switch (value.type) {
|
|
327664
327664
|
case "publish":
|
|
327665
|
-
return
|
|
327665
|
+
return FernGeneratorExec2.BackwardsCompatibleOutputMode.publish(value);
|
|
327666
327666
|
case "downloadFiles":
|
|
327667
|
-
return
|
|
327667
|
+
return FernGeneratorExec2.BackwardsCompatibleOutputMode.downloadFiles();
|
|
327668
327668
|
case "github":
|
|
327669
|
-
return
|
|
327669
|
+
return FernGeneratorExec2.BackwardsCompatibleOutputMode.github(value);
|
|
327670
327670
|
default:
|
|
327671
327671
|
return value;
|
|
327672
327672
|
}
|
|
@@ -327901,7 +327901,7 @@ var require_BackwardsCompatiblePublishTarget2 = __commonJS({
|
|
|
327901
327901
|
};
|
|
327902
327902
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
327903
327903
|
exports2.BackwardsCompatiblePublishTarget = void 0;
|
|
327904
|
-
var
|
|
327904
|
+
var FernGeneratorExec2 = __importStar2(require_api3());
|
|
327905
327905
|
var core3 = __importStar2(require_core12());
|
|
327906
327906
|
exports2.BackwardsCompatiblePublishTarget = core3.serialization.union("type", {
|
|
327907
327907
|
npm: core3.serialization.lazyObject(() => __awaiter16(void 0, void 0, void 0, function* () {
|
|
@@ -327911,7 +327911,7 @@ var require_BackwardsCompatiblePublishTarget2 = __commonJS({
|
|
|
327911
327911
|
transform: (value) => {
|
|
327912
327912
|
switch (value.type) {
|
|
327913
327913
|
case "npm":
|
|
327914
|
-
return
|
|
327914
|
+
return FernGeneratorExec2.BackwardsCompatiblePublishTarget.npm(value);
|
|
327915
327915
|
default:
|
|
327916
327916
|
return value;
|
|
327917
327917
|
}
|
|
@@ -328138,7 +328138,7 @@ var require_LicenseConfig2 = __commonJS({
|
|
|
328138
328138
|
};
|
|
328139
328139
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
328140
328140
|
exports2.LicenseConfig = void 0;
|
|
328141
|
-
var
|
|
328141
|
+
var FernGeneratorExec2 = __importStar2(require_api3());
|
|
328142
328142
|
var core3 = __importStar2(require_core12());
|
|
328143
328143
|
exports2.LicenseConfig = core3.serialization.union("type", {
|
|
328144
328144
|
basic: core3.serialization.lazyObject(() => __awaiter16(void 0, void 0, void 0, function* () {
|
|
@@ -328151,9 +328151,9 @@ var require_LicenseConfig2 = __commonJS({
|
|
|
328151
328151
|
transform: (value) => {
|
|
328152
328152
|
switch (value.type) {
|
|
328153
328153
|
case "basic":
|
|
328154
|
-
return
|
|
328154
|
+
return FernGeneratorExec2.LicenseConfig.basic(value);
|
|
328155
328155
|
case "custom":
|
|
328156
|
-
return
|
|
328156
|
+
return FernGeneratorExec2.LicenseConfig.custom(value);
|
|
328157
328157
|
default:
|
|
328158
328158
|
return value;
|
|
328159
328159
|
}
|
|
@@ -328459,7 +328459,7 @@ var require_OutputMode4 = __commonJS({
|
|
|
328459
328459
|
};
|
|
328460
328460
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
328461
328461
|
exports2.OutputMode = void 0;
|
|
328462
|
-
var
|
|
328462
|
+
var FernGeneratorExec2 = __importStar2(require_api3());
|
|
328463
328463
|
var core3 = __importStar2(require_core12());
|
|
328464
328464
|
exports2.OutputMode = core3.serialization.union("type", {
|
|
328465
328465
|
publish: core3.serialization.lazyObject(() => __awaiter16(void 0, void 0, void 0, function* () {
|
|
@@ -328473,11 +328473,11 @@ var require_OutputMode4 = __commonJS({
|
|
|
328473
328473
|
transform: (value) => {
|
|
328474
328474
|
switch (value.type) {
|
|
328475
328475
|
case "publish":
|
|
328476
|
-
return
|
|
328476
|
+
return FernGeneratorExec2.OutputMode.publish(value);
|
|
328477
328477
|
case "downloadFiles":
|
|
328478
|
-
return
|
|
328478
|
+
return FernGeneratorExec2.OutputMode.downloadFiles();
|
|
328479
328479
|
case "github":
|
|
328480
|
-
return
|
|
328480
|
+
return FernGeneratorExec2.OutputMode.github(value);
|
|
328481
328481
|
default:
|
|
328482
328482
|
return value;
|
|
328483
328483
|
}
|
|
@@ -328863,7 +328863,7 @@ var require_GithubPublishInfo4 = __commonJS({
|
|
|
328863
328863
|
};
|
|
328864
328864
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
328865
328865
|
exports2.GithubPublishInfo = void 0;
|
|
328866
|
-
var
|
|
328866
|
+
var FernGeneratorExec2 = __importStar2(require_api3());
|
|
328867
328867
|
var core3 = __importStar2(require_core12());
|
|
328868
328868
|
exports2.GithubPublishInfo = core3.serialization.union("type", {
|
|
328869
328869
|
npm: core3.serialization.lazyObject(() => __awaiter16(void 0, void 0, void 0, function* () {
|
|
@@ -328891,19 +328891,19 @@ var require_GithubPublishInfo4 = __commonJS({
|
|
|
328891
328891
|
transform: (value) => {
|
|
328892
328892
|
switch (value.type) {
|
|
328893
328893
|
case "npm":
|
|
328894
|
-
return
|
|
328894
|
+
return FernGeneratorExec2.GithubPublishInfo.npm(value);
|
|
328895
328895
|
case "maven":
|
|
328896
|
-
return
|
|
328896
|
+
return FernGeneratorExec2.GithubPublishInfo.maven(value);
|
|
328897
328897
|
case "postman":
|
|
328898
|
-
return
|
|
328898
|
+
return FernGeneratorExec2.GithubPublishInfo.postman(value);
|
|
328899
328899
|
case "pypi":
|
|
328900
|
-
return
|
|
328900
|
+
return FernGeneratorExec2.GithubPublishInfo.pypi(value);
|
|
328901
328901
|
case "rubygems":
|
|
328902
|
-
return
|
|
328902
|
+
return FernGeneratorExec2.GithubPublishInfo.rubygems(value);
|
|
328903
328903
|
case "nuget":
|
|
328904
|
-
return
|
|
328904
|
+
return FernGeneratorExec2.GithubPublishInfo.nuget(value);
|
|
328905
328905
|
case "crates":
|
|
328906
|
-
return
|
|
328906
|
+
return FernGeneratorExec2.GithubPublishInfo.crates(value);
|
|
328907
328907
|
default:
|
|
328908
328908
|
return value;
|
|
328909
328909
|
}
|
|
@@ -328949,10 +328949,10 @@ var require_EnvironmentVariable2 = __commonJS({
|
|
|
328949
328949
|
};
|
|
328950
328950
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
328951
328951
|
exports2.EnvironmentVariable = void 0;
|
|
328952
|
-
var
|
|
328952
|
+
var FernGeneratorExec2 = __importStar2(require_api3());
|
|
328953
328953
|
var core3 = __importStar2(require_core12());
|
|
328954
328954
|
exports2.EnvironmentVariable = core3.serialization.string().transform({
|
|
328955
|
-
transform:
|
|
328955
|
+
transform: FernGeneratorExec2.EnvironmentVariable,
|
|
328956
328956
|
untransform: (value) => value
|
|
328957
328957
|
});
|
|
328958
328958
|
}
|
|
@@ -330004,7 +330004,7 @@ var require_GeneratorPublishTarget2 = __commonJS({
|
|
|
330004
330004
|
};
|
|
330005
330005
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
330006
330006
|
exports2.GeneratorPublishTarget = void 0;
|
|
330007
|
-
var
|
|
330007
|
+
var FernGeneratorExec2 = __importStar2(require_api3());
|
|
330008
330008
|
var core3 = __importStar2(require_core12());
|
|
330009
330009
|
exports2.GeneratorPublishTarget = core3.serialization.union("type", {
|
|
330010
330010
|
maven: core3.serialization.lazyObject(() => __awaiter16(void 0, void 0, void 0, function* () {
|
|
@@ -330032,19 +330032,19 @@ var require_GeneratorPublishTarget2 = __commonJS({
|
|
|
330032
330032
|
transform: (value) => {
|
|
330033
330033
|
switch (value.type) {
|
|
330034
330034
|
case "maven":
|
|
330035
|
-
return
|
|
330035
|
+
return FernGeneratorExec2.GeneratorPublishTarget.maven(value);
|
|
330036
330036
|
case "npm":
|
|
330037
|
-
return
|
|
330037
|
+
return FernGeneratorExec2.GeneratorPublishTarget.npm(value);
|
|
330038
330038
|
case "pypi":
|
|
330039
|
-
return
|
|
330039
|
+
return FernGeneratorExec2.GeneratorPublishTarget.pypi(value);
|
|
330040
330040
|
case "postman":
|
|
330041
|
-
return
|
|
330041
|
+
return FernGeneratorExec2.GeneratorPublishTarget.postman(value);
|
|
330042
330042
|
case "rubygems":
|
|
330043
|
-
return
|
|
330043
|
+
return FernGeneratorExec2.GeneratorPublishTarget.rubygems(value);
|
|
330044
330044
|
case "nuget":
|
|
330045
|
-
return
|
|
330045
|
+
return FernGeneratorExec2.GeneratorPublishTarget.nuget(value);
|
|
330046
330046
|
case "crates":
|
|
330047
|
-
return
|
|
330047
|
+
return FernGeneratorExec2.GeneratorPublishTarget.crates(value);
|
|
330048
330048
|
default:
|
|
330049
330049
|
return value;
|
|
330050
330050
|
}
|
|
@@ -330483,7 +330483,7 @@ var require_GeneratorEnvironment2 = __commonJS({
|
|
|
330483
330483
|
};
|
|
330484
330484
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
330485
330485
|
exports2.GeneratorEnvironment = void 0;
|
|
330486
|
-
var
|
|
330486
|
+
var FernGeneratorExec2 = __importStar2(require_api3());
|
|
330487
330487
|
var core3 = __importStar2(require_core12());
|
|
330488
330488
|
exports2.GeneratorEnvironment = core3.serialization.union(core3.serialization.discriminant("type", "_type"), {
|
|
330489
330489
|
local: core3.serialization.object({}),
|
|
@@ -330494,9 +330494,9 @@ var require_GeneratorEnvironment2 = __commonJS({
|
|
|
330494
330494
|
transform: (value) => {
|
|
330495
330495
|
switch (value.type) {
|
|
330496
330496
|
case "local":
|
|
330497
|
-
return
|
|
330497
|
+
return FernGeneratorExec2.GeneratorEnvironment.local();
|
|
330498
330498
|
case "remote":
|
|
330499
|
-
return
|
|
330499
|
+
return FernGeneratorExec2.GeneratorEnvironment.remote(value);
|
|
330500
330500
|
default:
|
|
330501
330501
|
return value;
|
|
330502
330502
|
}
|
|
@@ -330700,10 +330700,10 @@ var require_TaskId2 = __commonJS({
|
|
|
330700
330700
|
};
|
|
330701
330701
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
330702
330702
|
exports2.TaskId = void 0;
|
|
330703
|
-
var
|
|
330703
|
+
var FernGeneratorExec2 = __importStar2(require_api3());
|
|
330704
330704
|
var core3 = __importStar2(require_core12());
|
|
330705
330705
|
exports2.TaskId = core3.serialization.string().transform({
|
|
330706
|
-
transform:
|
|
330706
|
+
transform: FernGeneratorExec2.TaskId,
|
|
330707
330707
|
untransform: (value) => value
|
|
330708
330708
|
});
|
|
330709
330709
|
}
|
|
@@ -330780,7 +330780,7 @@ var require_GeneratorUpdate2 = __commonJS({
|
|
|
330780
330780
|
};
|
|
330781
330781
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
330782
330782
|
exports2.GeneratorUpdate = void 0;
|
|
330783
|
-
var
|
|
330783
|
+
var FernGeneratorExec2 = __importStar2(require_api3());
|
|
330784
330784
|
var core3 = __importStar2(require_core12());
|
|
330785
330785
|
exports2.GeneratorUpdate = core3.serialization.union(core3.serialization.discriminant("type", "_type"), {
|
|
330786
330786
|
init: core3.serialization.lazyObject(() => __awaiter16(void 0, void 0, void 0, function* () {
|
|
@@ -330811,17 +330811,17 @@ var require_GeneratorUpdate2 = __commonJS({
|
|
|
330811
330811
|
transform: (value) => {
|
|
330812
330812
|
switch (value.type) {
|
|
330813
330813
|
case "init":
|
|
330814
|
-
return
|
|
330814
|
+
return FernGeneratorExec2.GeneratorUpdate.init(value);
|
|
330815
330815
|
case "initV2":
|
|
330816
|
-
return
|
|
330816
|
+
return FernGeneratorExec2.GeneratorUpdate.initV2(value);
|
|
330817
330817
|
case "log":
|
|
330818
|
-
return
|
|
330818
|
+
return FernGeneratorExec2.GeneratorUpdate.log(value);
|
|
330819
330819
|
case "publishing":
|
|
330820
|
-
return
|
|
330820
|
+
return FernGeneratorExec2.GeneratorUpdate.publishing(value.publishing);
|
|
330821
330821
|
case "published":
|
|
330822
|
-
return
|
|
330822
|
+
return FernGeneratorExec2.GeneratorUpdate.published(value.published);
|
|
330823
330823
|
case "exitStatusUpdate":
|
|
330824
|
-
return
|
|
330824
|
+
return FernGeneratorExec2.GeneratorUpdate.exitStatusUpdate(value.exitStatusUpdate);
|
|
330825
330825
|
default:
|
|
330826
330826
|
return value;
|
|
330827
330827
|
}
|
|
@@ -331189,7 +331189,7 @@ var require_PackageCoordinate4 = __commonJS({
|
|
|
331189
331189
|
};
|
|
331190
331190
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
331191
331191
|
exports2.PackageCoordinate = void 0;
|
|
331192
|
-
var
|
|
331192
|
+
var FernGeneratorExec2 = __importStar2(require_api3());
|
|
331193
331193
|
var core3 = __importStar2(require_core12());
|
|
331194
331194
|
exports2.PackageCoordinate = core3.serialization.union(core3.serialization.discriminant("type", "_type"), {
|
|
331195
331195
|
npm: core3.serialization.lazyObject(() => __awaiter16(void 0, void 0, void 0, function* () {
|
|
@@ -331205,11 +331205,11 @@ var require_PackageCoordinate4 = __commonJS({
|
|
|
331205
331205
|
transform: (value) => {
|
|
331206
331206
|
switch (value.type) {
|
|
331207
331207
|
case "npm":
|
|
331208
|
-
return
|
|
331208
|
+
return FernGeneratorExec2.PackageCoordinate.npm(value);
|
|
331209
331209
|
case "maven":
|
|
331210
|
-
return
|
|
331210
|
+
return FernGeneratorExec2.PackageCoordinate.maven(value);
|
|
331211
331211
|
case "crates":
|
|
331212
|
-
return
|
|
331212
|
+
return FernGeneratorExec2.PackageCoordinate.crates(value);
|
|
331213
331213
|
default:
|
|
331214
331214
|
return value;
|
|
331215
331215
|
}
|
|
@@ -331417,7 +331417,7 @@ var require_ExitStatusUpdate2 = __commonJS({
|
|
|
331417
331417
|
};
|
|
331418
331418
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
331419
331419
|
exports2.ExitStatusUpdate = void 0;
|
|
331420
|
-
var
|
|
331420
|
+
var FernGeneratorExec2 = __importStar2(require_api3());
|
|
331421
331421
|
var core3 = __importStar2(require_core12());
|
|
331422
331422
|
exports2.ExitStatusUpdate = core3.serialization.union(core3.serialization.discriminant("type", "_type"), {
|
|
331423
331423
|
successful: core3.serialization.lazyObject(() => __awaiter16(void 0, void 0, void 0, function* () {
|
|
@@ -331430,9 +331430,9 @@ var require_ExitStatusUpdate2 = __commonJS({
|
|
|
331430
331430
|
transform: (value) => {
|
|
331431
331431
|
switch (value.type) {
|
|
331432
331432
|
case "successful":
|
|
331433
|
-
return
|
|
331433
|
+
return FernGeneratorExec2.ExitStatusUpdate.successful(value);
|
|
331434
331434
|
case "error":
|
|
331435
|
-
return
|
|
331435
|
+
return FernGeneratorExec2.ExitStatusUpdate.error(value);
|
|
331436
331436
|
default:
|
|
331437
331437
|
return value;
|
|
331438
331438
|
}
|
|
@@ -331894,10 +331894,10 @@ var require_TypeId2 = __commonJS({
|
|
|
331894
331894
|
};
|
|
331895
331895
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
331896
331896
|
exports2.TypeId = void 0;
|
|
331897
|
-
var
|
|
331897
|
+
var FernGeneratorExec2 = __importStar2(require_api3());
|
|
331898
331898
|
var core3 = __importStar2(require_core12());
|
|
331899
331899
|
exports2.TypeId = core3.serialization.string().transform({
|
|
331900
|
-
transform:
|
|
331900
|
+
transform: FernGeneratorExec2.TypeId,
|
|
331901
331901
|
untransform: (value) => value
|
|
331902
331902
|
});
|
|
331903
331903
|
}
|
|
@@ -332154,10 +332154,10 @@ var require_EndpointPath2 = __commonJS({
|
|
|
332154
332154
|
};
|
|
332155
332155
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
332156
332156
|
exports2.EndpointPath = void 0;
|
|
332157
|
-
var
|
|
332157
|
+
var FernGeneratorExec2 = __importStar2(require_api3());
|
|
332158
332158
|
var core3 = __importStar2(require_core12());
|
|
332159
332159
|
exports2.EndpointPath = core3.serialization.string().transform({
|
|
332160
|
-
transform:
|
|
332160
|
+
transform: FernGeneratorExec2.EndpointPath,
|
|
332161
332161
|
untransform: (value) => value
|
|
332162
332162
|
});
|
|
332163
332163
|
}
|
|
@@ -332272,7 +332272,7 @@ var require_EndpointSnippet2 = __commonJS({
|
|
|
332272
332272
|
};
|
|
332273
332273
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
332274
332274
|
exports2.EndpointSnippet = void 0;
|
|
332275
|
-
var
|
|
332275
|
+
var FernGeneratorExec2 = __importStar2(require_api3());
|
|
332276
332276
|
var core3 = __importStar2(require_core12());
|
|
332277
332277
|
exports2.EndpointSnippet = core3.serialization.union("type", {
|
|
332278
332278
|
typescript: core3.serialization.lazyObject(() => __awaiter16(void 0, void 0, void 0, function* () {
|
|
@@ -332300,19 +332300,19 @@ var require_EndpointSnippet2 = __commonJS({
|
|
|
332300
332300
|
transform: (value) => {
|
|
332301
332301
|
switch (value.type) {
|
|
332302
332302
|
case "typescript":
|
|
332303
|
-
return
|
|
332303
|
+
return FernGeneratorExec2.EndpointSnippet.typescript(value);
|
|
332304
332304
|
case "python":
|
|
332305
|
-
return
|
|
332305
|
+
return FernGeneratorExec2.EndpointSnippet.python(value);
|
|
332306
332306
|
case "java":
|
|
332307
|
-
return
|
|
332307
|
+
return FernGeneratorExec2.EndpointSnippet.java(value);
|
|
332308
332308
|
case "go":
|
|
332309
|
-
return
|
|
332309
|
+
return FernGeneratorExec2.EndpointSnippet.go(value);
|
|
332310
332310
|
case "ruby":
|
|
332311
|
-
return
|
|
332311
|
+
return FernGeneratorExec2.EndpointSnippet.ruby(value);
|
|
332312
332312
|
case "csharp":
|
|
332313
|
-
return
|
|
332313
|
+
return FernGeneratorExec2.EndpointSnippet.csharp(value);
|
|
332314
332314
|
case "rust":
|
|
332315
|
-
return
|
|
332315
|
+
return FernGeneratorExec2.EndpointSnippet.rust(value);
|
|
332316
332316
|
default:
|
|
332317
332317
|
return value;
|
|
332318
332318
|
}
|
|
@@ -333056,7 +333056,7 @@ var require_Client13 = __commonJS({
|
|
|
333056
333056
|
exports2.FernGeneratorExecClient = void 0;
|
|
333057
333057
|
var Client_1 = require_Client11();
|
|
333058
333058
|
var Client_2 = require_Client12();
|
|
333059
|
-
var
|
|
333059
|
+
var FernGeneratorExecClient = class {
|
|
333060
333060
|
constructor(_options) {
|
|
333061
333061
|
this._options = _options;
|
|
333062
333062
|
}
|
|
@@ -333069,7 +333069,7 @@ var require_Client13 = __commonJS({
|
|
|
333069
333069
|
return (_a11 = this._readme) !== null && _a11 !== void 0 ? _a11 : this._readme = new Client_2.Readme(this._options);
|
|
333070
333070
|
}
|
|
333071
333071
|
};
|
|
333072
|
-
exports2.FernGeneratorExecClient =
|
|
333072
|
+
exports2.FernGeneratorExecClient = FernGeneratorExecClient;
|
|
333073
333073
|
}
|
|
333074
333074
|
});
|
|
333075
333075
|
|
|
@@ -603739,7 +603739,7 @@ var AccessTokenPosthogManager = class {
|
|
|
603739
603739
|
properties: {
|
|
603740
603740
|
...event,
|
|
603741
603741
|
...event.properties,
|
|
603742
|
-
version: "4.63.5-
|
|
603742
|
+
version: "4.63.5-50-g5cbad6140d5",
|
|
603743
603743
|
usingAccessToken: true
|
|
603744
603744
|
}
|
|
603745
603745
|
});
|
|
@@ -603790,7 +603790,7 @@ var UserPosthogManager = class {
|
|
|
603790
603790
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
603791
603791
|
event: "CLI",
|
|
603792
603792
|
properties: {
|
|
603793
|
-
version: "4.63.5-
|
|
603793
|
+
version: "4.63.5-50-g5cbad6140d5",
|
|
603794
603794
|
...event,
|
|
603795
603795
|
...event.properties,
|
|
603796
603796
|
usingAccessToken: false,
|
|
@@ -840757,7 +840757,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
|
840757
840757
|
var LOGS_FOLDER_NAME = "logs";
|
|
840758
840758
|
var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
|
|
840759
840759
|
function getCliSource() {
|
|
840760
|
-
const version7 = "4.63.5-
|
|
840760
|
+
const version7 = "4.63.5-50-g5cbad6140d5";
|
|
840761
840761
|
return `cli@${version7}`;
|
|
840762
840762
|
}
|
|
840763
840763
|
var DebugLogger = class {
|
|
@@ -851955,7 +851955,7 @@ var LegacyDocsPublisher = class {
|
|
|
851955
851955
|
previewId,
|
|
851956
851956
|
disableTemplates: void 0,
|
|
851957
851957
|
skipUpload,
|
|
851958
|
-
cliVersion: "4.63.5-
|
|
851958
|
+
cliVersion: "4.63.5-50-g5cbad6140d5"
|
|
851959
851959
|
});
|
|
851960
851960
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
851961
851961
|
return { success: false };
|
|
@@ -855320,11 +855320,6 @@ var ContainerExecutionEnvironment = class {
|
|
|
855320
855320
|
// ../generation/local-generation/local-workspace-runner/lib/GenerationRunner.js
|
|
855321
855321
|
init_lib6();
|
|
855322
855322
|
|
|
855323
|
-
// ../../../generators/browser-compatible-base/lib/GeneratorNotificationService.js
|
|
855324
|
-
var import_generator_exec_sdk = __toESM(require_generator_exec_sdk(), 1);
|
|
855325
|
-
var import_api50 = __toESM(require_api3(), 1);
|
|
855326
|
-
var GeneratorExecParsing = __toESM(require_serialization3(), 1);
|
|
855327
|
-
|
|
855328
855323
|
// ../../../generators/browser-compatible-base/lib/utils/stacktrace.js
|
|
855329
855324
|
var key = process.env["FERN_STACK_TRACK"]?.toLowerCase() ?? "";
|
|
855330
855325
|
var enableStackTracking = key !== "" && key !== "0" && key !== "false";
|
|
@@ -876367,10 +876362,11 @@ var DynamicSnippetsGeneratorContext2 = class _DynamicSnippetsGeneratorContext ex
|
|
|
876367
876362
|
customConfig: generatorConfig.customConfig ?? config5.customConfig,
|
|
876368
876363
|
output: {
|
|
876369
876364
|
...config5.output,
|
|
876370
|
-
mode:
|
|
876365
|
+
mode: {
|
|
876366
|
+
type: "github",
|
|
876371
876367
|
version: publishInfo.version,
|
|
876372
876368
|
repoUrl: publishInfo.repoUrl
|
|
876373
|
-
}
|
|
876369
|
+
}
|
|
876374
876370
|
}
|
|
876375
876371
|
};
|
|
876376
876372
|
}
|
|
@@ -885980,7 +885976,7 @@ var DynamicTypeLiteralMapper3 = class {
|
|
|
885980
885976
|
});
|
|
885981
885977
|
}
|
|
885982
885978
|
}
|
|
885983
|
-
return result;
|
|
885979
|
+
return result.filter((entry) => !python_exports2.TypeInstantiation.isNop(entry.value));
|
|
885984
885980
|
}
|
|
885985
885981
|
convertObject({ object_, value }) {
|
|
885986
885982
|
const entries22 = this.convertObjectEntries({ object_, value });
|
|
@@ -902159,9 +902155,9 @@ var import_tmp_promise13 = __toESM(require_tmp_promise(), 1);
|
|
|
902159
902155
|
|
|
902160
902156
|
// ../generation/local-generation/local-workspace-runner/lib/getGeneratorConfig.js
|
|
902161
902157
|
init_lib7();
|
|
902162
|
-
var
|
|
902163
|
-
var
|
|
902164
|
-
var
|
|
902158
|
+
var import_api50 = __toESM(require_api2(), 1);
|
|
902159
|
+
var import_generator_exec_sdk = __toESM(require_generator_exec_sdk(), 1);
|
|
902160
|
+
var import_api51 = __toESM(require_api3(), 1);
|
|
902165
902161
|
var path69 = __toESM(require("path"), 1);
|
|
902166
902162
|
var DEFAULT_OUTPUT_VERSION = "0.0.1";
|
|
902167
902163
|
function getLicensePathFromConfig(generatorInvocation) {
|
|
@@ -902192,66 +902188,66 @@ function extractLicenseInfo(generatorInvocation, absolutePathToFernConfig) {
|
|
|
902192
902188
|
}
|
|
902193
902189
|
if (licenseConfig.type === "basic") {
|
|
902194
902190
|
if (licenseConfig.value === "MIT" || licenseConfig.value === "Apache-2.0") {
|
|
902195
|
-
return
|
|
902196
|
-
id: licenseConfig.value === "MIT" ?
|
|
902191
|
+
return import_generator_exec_sdk.FernGeneratorExec.LicenseConfig.basic({
|
|
902192
|
+
id: licenseConfig.value === "MIT" ? import_generator_exec_sdk.FernGeneratorExec.LicenseId.Mit : import_generator_exec_sdk.FernGeneratorExec.LicenseId.Apache2
|
|
902197
902193
|
});
|
|
902198
902194
|
}
|
|
902199
902195
|
} else if (licenseConfig.type === "custom") {
|
|
902200
|
-
return
|
|
902196
|
+
return import_generator_exec_sdk.FernGeneratorExec.LicenseConfig.custom({
|
|
902201
902197
|
filename: path69.basename(licenseConfig.value)
|
|
902202
902198
|
});
|
|
902203
902199
|
}
|
|
902204
902200
|
return void 0;
|
|
902205
902201
|
}
|
|
902206
902202
|
function getGithubPublishConfig(githubPublishInfo) {
|
|
902207
|
-
return githubPublishInfo != null ?
|
|
902203
|
+
return githubPublishInfo != null ? import_api50.GithubPublishInfo._visit(githubPublishInfo, {
|
|
902208
902204
|
npm: (value) => {
|
|
902209
902205
|
const token = (value.token ?? "").trim();
|
|
902210
902206
|
const useOidc = token === "<USE_OIDC>" || token === "OIDC";
|
|
902211
902207
|
const hasToken = token !== "";
|
|
902212
|
-
return
|
|
902208
|
+
return import_generator_exec_sdk.FernGeneratorExec.GithubPublishInfo.npm({
|
|
902213
902209
|
registryUrl: value.registryUrl,
|
|
902214
902210
|
packageName: value.packageName,
|
|
902215
|
-
tokenEnvironmentVariable: (0,
|
|
902211
|
+
tokenEnvironmentVariable: (0, import_api51.EnvironmentVariable)(useOidc ? "<USE_OIDC>" : token.startsWith("${") && token.endsWith("}") ? token.slice(2, -1).trim() : ""),
|
|
902216
902212
|
shouldGeneratePublishWorkflow: useOidc || hasToken
|
|
902217
902213
|
});
|
|
902218
902214
|
},
|
|
902219
|
-
maven: (value) =>
|
|
902215
|
+
maven: (value) => import_generator_exec_sdk.FernGeneratorExec.GithubPublishInfo.maven({
|
|
902220
902216
|
registryUrl: value.registryUrl,
|
|
902221
902217
|
coordinate: value.coordinate,
|
|
902222
|
-
usernameEnvironmentVariable: (0,
|
|
902223
|
-
passwordEnvironmentVariable: (0,
|
|
902218
|
+
usernameEnvironmentVariable: (0, import_api51.EnvironmentVariable)(value.credentials?.username ?? ""),
|
|
902219
|
+
passwordEnvironmentVariable: (0, import_api51.EnvironmentVariable)(value.credentials?.password ?? ""),
|
|
902224
902220
|
signature: value.signature != null ? {
|
|
902225
|
-
keyIdEnvironmentVariable: (0,
|
|
902226
|
-
passwordEnvironmentVariable: (0,
|
|
902227
|
-
secretKeyEnvironmentVariable: (0,
|
|
902221
|
+
keyIdEnvironmentVariable: (0, import_api51.EnvironmentVariable)(value.signature.keyId ?? ""),
|
|
902222
|
+
passwordEnvironmentVariable: (0, import_api51.EnvironmentVariable)(value.signature.password ?? ""),
|
|
902223
|
+
secretKeyEnvironmentVariable: (0, import_api51.EnvironmentVariable)(value.signature.secretKey ?? "")
|
|
902228
902224
|
} : void 0
|
|
902229
902225
|
}),
|
|
902230
|
-
pypi: (value) =>
|
|
902226
|
+
pypi: (value) => import_generator_exec_sdk.FernGeneratorExec.GithubPublishInfo.pypi({
|
|
902231
902227
|
registryUrl: value.registryUrl,
|
|
902232
902228
|
packageName: value.packageName,
|
|
902233
|
-
usernameEnvironmentVariable: (0,
|
|
902234
|
-
passwordEnvironmentVariable: (0,
|
|
902229
|
+
usernameEnvironmentVariable: (0, import_api51.EnvironmentVariable)("PYPI_USERNAME"),
|
|
902230
|
+
passwordEnvironmentVariable: (0, import_api51.EnvironmentVariable)("PYPI_PASSWORD"),
|
|
902235
902231
|
pypiMetadata: value.pypiMetadata
|
|
902236
902232
|
}),
|
|
902237
|
-
rubygems: (value) =>
|
|
902233
|
+
rubygems: (value) => import_generator_exec_sdk.FernGeneratorExec.GithubPublishInfo.rubygems({
|
|
902238
902234
|
registryUrl: value.registryUrl,
|
|
902239
902235
|
packageName: value.packageName,
|
|
902240
|
-
apiKeyEnvironmentVariable: (0,
|
|
902236
|
+
apiKeyEnvironmentVariable: (0, import_api51.EnvironmentVariable)(value.apiKey ?? "")
|
|
902241
902237
|
}),
|
|
902242
|
-
postman: (value) =>
|
|
902243
|
-
apiKeyEnvironmentVariable: (0,
|
|
902244
|
-
workspaceIdEnvironmentVariable: (0,
|
|
902238
|
+
postman: (value) => import_generator_exec_sdk.FernGeneratorExec.GithubPublishInfo.postman({
|
|
902239
|
+
apiKeyEnvironmentVariable: (0, import_api51.EnvironmentVariable)(value.apiKey ?? ""),
|
|
902240
|
+
workspaceIdEnvironmentVariable: (0, import_api51.EnvironmentVariable)(value.workspaceId ?? "")
|
|
902245
902241
|
}),
|
|
902246
|
-
nuget: (value) =>
|
|
902242
|
+
nuget: (value) => import_generator_exec_sdk.FernGeneratorExec.GithubPublishInfo.nuget({
|
|
902247
902243
|
registryUrl: value.registryUrl,
|
|
902248
902244
|
packageName: value.packageName,
|
|
902249
|
-
apiKeyEnvironmentVariable: (0,
|
|
902245
|
+
apiKeyEnvironmentVariable: (0, import_api51.EnvironmentVariable)(value.apiKey ?? "")
|
|
902250
902246
|
}),
|
|
902251
|
-
crates: (value) =>
|
|
902247
|
+
crates: (value) => import_generator_exec_sdk.FernGeneratorExec.GithubPublishInfo.crates({
|
|
902252
902248
|
registryUrl: value.registryUrl,
|
|
902253
902249
|
packageName: value.packageName,
|
|
902254
|
-
tokenEnvironmentVariable: (0,
|
|
902250
|
+
tokenEnvironmentVariable: (0, import_api51.EnvironmentVariable)(value.token ?? "")
|
|
902255
902251
|
}),
|
|
902256
902252
|
_other: () => void 0
|
|
902257
902253
|
}) : void 0;
|
|
@@ -902292,7 +902288,7 @@ function getGeneratorConfig({ generatorInvocation, customConfig, workspaceName,
|
|
|
902292
902288
|
},
|
|
902293
902289
|
downloadFiles: () => {
|
|
902294
902290
|
const outputConfig = {
|
|
902295
|
-
mode:
|
|
902291
|
+
mode: import_generator_exec_sdk.FernGeneratorExec.OutputMode.downloadFiles(),
|
|
902296
902292
|
path: outputDirectory,
|
|
902297
902293
|
snippetFilepath: snippetPath,
|
|
902298
902294
|
publishingMetadata: generatorInvocation.publishMetadata
|
|
@@ -902301,7 +902297,7 @@ function getGeneratorConfig({ generatorInvocation, customConfig, workspaceName,
|
|
|
902301
902297
|
},
|
|
902302
902298
|
github: (value) => {
|
|
902303
902299
|
const outputConfig = {
|
|
902304
|
-
mode:
|
|
902300
|
+
mode: import_generator_exec_sdk.FernGeneratorExec.OutputMode.github({
|
|
902305
902301
|
repoUrl: `https://github.com/${value.owner}/${value.repo}`,
|
|
902306
902302
|
version: outputVersion,
|
|
902307
902303
|
publishInfo: getGithubPublishConfig(value.publishInfo),
|
|
@@ -902329,7 +902325,7 @@ function getGeneratorConfig({ generatorInvocation, customConfig, workspaceName,
|
|
|
902329
902325
|
}
|
|
902330
902326
|
});
|
|
902331
902327
|
const outputConfig = {
|
|
902332
|
-
mode:
|
|
902328
|
+
mode: import_generator_exec_sdk.FernGeneratorExec.OutputMode.github({
|
|
902333
902329
|
repoUrl,
|
|
902334
902330
|
version: outputVersion,
|
|
902335
902331
|
publishInfo: getGithubPublishConfig(value.publishInfo)
|
|
@@ -902356,7 +902352,7 @@ function getGeneratorConfig({ generatorInvocation, customConfig, workspaceName,
|
|
|
902356
902352
|
customConfig,
|
|
902357
902353
|
workspaceName,
|
|
902358
902354
|
organization,
|
|
902359
|
-
environment:
|
|
902355
|
+
environment: import_generator_exec_sdk.FernGeneratorExec.GeneratorEnvironment.local(),
|
|
902360
902356
|
dryRun: false,
|
|
902361
902357
|
whitelabel: whiteLabel ?? false,
|
|
902362
902358
|
writeUnitTests,
|
|
@@ -902392,7 +902388,7 @@ function newDummyPublishOutputConfig(version7, multipleOutputMode, generatorInvo
|
|
|
902392
902388
|
}
|
|
902393
902389
|
}
|
|
902394
902390
|
return {
|
|
902395
|
-
mode:
|
|
902391
|
+
mode: import_generator_exec_sdk.FernGeneratorExec.OutputMode.github({
|
|
902396
902392
|
repoUrl,
|
|
902397
902393
|
version: version7
|
|
902398
902394
|
}),
|
|
@@ -902403,7 +902399,7 @@ function newRealPublishOutputConfig(version7, publishTarget, paths) {
|
|
|
902403
902399
|
const { outputDirectory } = paths;
|
|
902404
902400
|
const { registries, registriesV2 } = buildRegistriesFromPublishTarget(publishTarget);
|
|
902405
902401
|
return {
|
|
902406
|
-
mode:
|
|
902402
|
+
mode: import_generator_exec_sdk.FernGeneratorExec.OutputMode.publish({
|
|
902407
902403
|
registries,
|
|
902408
902404
|
registriesV2,
|
|
902409
902405
|
publishTarget,
|
|
@@ -902482,14 +902478,14 @@ function getPublishTargetFromPublishMode(mode) {
|
|
|
902482
902478
|
if ("registryOverrides" in mode) {
|
|
902483
902479
|
const overrides = mode.registryOverrides;
|
|
902484
902480
|
if (overrides.npm != null) {
|
|
902485
|
-
return
|
|
902481
|
+
return import_generator_exec_sdk.FernGeneratorExec.GeneratorPublishTarget.npm({
|
|
902486
902482
|
registryUrl: overrides.npm.registryUrl,
|
|
902487
902483
|
token: overrides.npm.token,
|
|
902488
902484
|
packageName: overrides.npm.packageName
|
|
902489
902485
|
});
|
|
902490
902486
|
}
|
|
902491
902487
|
if (overrides.maven != null) {
|
|
902492
|
-
return
|
|
902488
|
+
return import_generator_exec_sdk.FernGeneratorExec.GeneratorPublishTarget.maven({
|
|
902493
902489
|
registryUrl: overrides.maven.registryUrl,
|
|
902494
902490
|
username: overrides.maven.username ?? "",
|
|
902495
902491
|
password: overrides.maven.password ?? "",
|
|
@@ -902502,41 +902498,41 @@ function getPublishTargetFromPublishMode(mode) {
|
|
|
902502
902498
|
}
|
|
902503
902499
|
function getPublishTargetFromPublishModeV2(mode) {
|
|
902504
902500
|
return mode._visit({
|
|
902505
|
-
npmOverride: (value) => value != null ?
|
|
902501
|
+
npmOverride: (value) => value != null ? import_generator_exec_sdk.FernGeneratorExec.GeneratorPublishTarget.npm({
|
|
902506
902502
|
registryUrl: value.registryUrl,
|
|
902507
902503
|
token: value.token,
|
|
902508
902504
|
packageName: value.packageName
|
|
902509
902505
|
}) : void 0,
|
|
902510
|
-
mavenOverride: (value) => value != null ?
|
|
902506
|
+
mavenOverride: (value) => value != null ? import_generator_exec_sdk.FernGeneratorExec.GeneratorPublishTarget.maven({
|
|
902511
902507
|
registryUrl: value.registryUrl,
|
|
902512
902508
|
username: value.username,
|
|
902513
902509
|
password: value.password,
|
|
902514
902510
|
coordinate: value.coordinate,
|
|
902515
902511
|
signature: value.signature ?? void 0
|
|
902516
902512
|
}) : void 0,
|
|
902517
|
-
pypiOverride: (value) => value != null ?
|
|
902513
|
+
pypiOverride: (value) => value != null ? import_generator_exec_sdk.FernGeneratorExec.GeneratorPublishTarget.pypi({
|
|
902518
902514
|
registryUrl: value.registryUrl,
|
|
902519
902515
|
username: value.username,
|
|
902520
902516
|
password: value.password,
|
|
902521
902517
|
packageName: value.coordinate,
|
|
902522
902518
|
pypiMetadata: value.pypiMetadata ?? void 0
|
|
902523
902519
|
}) : void 0,
|
|
902524
|
-
rubyGemsOverride: (value) => value != null ?
|
|
902520
|
+
rubyGemsOverride: (value) => value != null ? import_generator_exec_sdk.FernGeneratorExec.GeneratorPublishTarget.rubygems({
|
|
902525
902521
|
registryUrl: value.registryUrl,
|
|
902526
902522
|
apiKey: value.apiKey,
|
|
902527
902523
|
packageName: value.packageName
|
|
902528
902524
|
}) : void 0,
|
|
902529
|
-
nugetOverride: (value) => value != null ?
|
|
902525
|
+
nugetOverride: (value) => value != null ? import_generator_exec_sdk.FernGeneratorExec.GeneratorPublishTarget.nuget({
|
|
902530
902526
|
registryUrl: value.registryUrl,
|
|
902531
902527
|
apiKey: value.apiKey,
|
|
902532
902528
|
packageName: value.packageName
|
|
902533
902529
|
}) : void 0,
|
|
902534
|
-
cratesOverride: (value) => value != null ?
|
|
902530
|
+
cratesOverride: (value) => value != null ? import_generator_exec_sdk.FernGeneratorExec.GeneratorPublishTarget.crates({
|
|
902535
902531
|
registryUrl: value.registryUrl,
|
|
902536
902532
|
token: value.token,
|
|
902537
902533
|
packageName: value.packageName
|
|
902538
902534
|
}) : void 0,
|
|
902539
|
-
postman: (value) =>
|
|
902535
|
+
postman: (value) => import_generator_exec_sdk.FernGeneratorExec.GeneratorPublishTarget.postman({
|
|
902540
902536
|
apiKey: value.apiKey,
|
|
902541
902537
|
workspaceId: value.workspaceId
|
|
902542
902538
|
}),
|
|
@@ -925372,7 +925368,7 @@ var CliContext = class {
|
|
|
925372
925368
|
if (false) {
|
|
925373
925369
|
this.logger.error("CLI_VERSION is not defined");
|
|
925374
925370
|
}
|
|
925375
|
-
return "4.63.5-
|
|
925371
|
+
return "4.63.5-50-g5cbad6140d5";
|
|
925376
925372
|
}
|
|
925377
925373
|
getCliName() {
|
|
925378
925374
|
if (false) {
|
package/package.json
CHANGED