@fern-api/fern-api-dev 4.62.0 → 4.62.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/cli.cjs +9 -22
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -495944,7 +495944,6 @@ var EditThisPageConfig = external_exports.object({
|
|
|
495944
495944
|
var DocsInstance = external_exports.object({
|
|
495945
495945
|
url: external_exports.string(),
|
|
495946
495946
|
"custom-domain": CustomDomain.optional(),
|
|
495947
|
-
private: external_exports.boolean().optional(),
|
|
495948
495947
|
"edit-this-page": EditThisPageConfig.optional(),
|
|
495949
495948
|
audiences: Audience.optional()
|
|
495950
495949
|
});
|
|
@@ -499021,7 +499020,6 @@ var EditThisPageConfig2 = schemas_exports6.object({
|
|
|
499021
499020
|
var DocsInstance2 = schemas_exports6.object({
|
|
499022
499021
|
url: schemas_exports6.string(),
|
|
499023
499022
|
customDomain: schemas_exports6.property("custom-domain", CustomDomain2.optional()),
|
|
499024
|
-
private: schemas_exports6.boolean().optional(),
|
|
499025
499023
|
editThisPage: schemas_exports6.property("edit-this-page", EditThisPageConfig2.optional()),
|
|
499026
499024
|
audiences: Audience2.optional()
|
|
499027
499025
|
});
|
|
@@ -602750,7 +602748,7 @@ var AccessTokenPosthogManager = class {
|
|
|
602750
602748
|
properties: {
|
|
602751
602749
|
...event,
|
|
602752
602750
|
...event.properties,
|
|
602753
|
-
version: "4.62.
|
|
602751
|
+
version: "4.62.1",
|
|
602754
602752
|
usingAccessToken: true
|
|
602755
602753
|
}
|
|
602756
602754
|
});
|
|
@@ -602801,7 +602799,7 @@ var UserPosthogManager = class {
|
|
|
602801
602799
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
602802
602800
|
event: "CLI",
|
|
602803
602801
|
properties: {
|
|
602804
|
-
version: "4.62.
|
|
602802
|
+
version: "4.62.1",
|
|
602805
602803
|
...event,
|
|
602806
602804
|
...event.properties,
|
|
602807
602805
|
usingAccessToken: false,
|
|
@@ -752789,7 +752787,7 @@ var V66_TO_V65_MIGRATION = {
|
|
|
752789
752787
|
[GeneratorName.POSTMAN]: GeneratorWasNeverUpdatedToConsumeNewIR,
|
|
752790
752788
|
[GeneratorName.GO_MODEL]: GeneratorWasNeverUpdatedToConsumeNewIR,
|
|
752791
752789
|
[GeneratorName.GO_SDK]: GeneratorWasNeverUpdatedToConsumeNewIR,
|
|
752792
|
-
[GeneratorName.RUBY_SDK]:
|
|
752790
|
+
[GeneratorName.RUBY_SDK]: "1.3.0-rc.0",
|
|
752793
752791
|
[GeneratorName.CSHARP_MODEL]: "0.9.0-rc.0",
|
|
752794
752792
|
[GeneratorName.CSHARP_SDK]: "2.57.0-rc.0",
|
|
752795
752793
|
[GeneratorName.SWIFT_MODEL]: GeneratorWasNeverUpdatedToConsumeNewIR,
|
|
@@ -840089,7 +840087,7 @@ var import_path54 = __toESM(require("path"), 1);
|
|
|
840089
840087
|
var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
840090
840088
|
var LOGS_FOLDER_NAME = "logs";
|
|
840091
840089
|
function getCliSource() {
|
|
840092
|
-
const version7 = "4.62.
|
|
840090
|
+
const version7 = "4.62.1";
|
|
840093
840091
|
return `cli@${version7}`;
|
|
840094
840092
|
}
|
|
840095
840093
|
var DebugLogger = class {
|
|
@@ -843592,16 +843590,6 @@ var definitions6 = {
|
|
|
843592
843590
|
}
|
|
843593
843591
|
]
|
|
843594
843592
|
},
|
|
843595
|
-
private: {
|
|
843596
|
-
oneOf: [
|
|
843597
|
-
{
|
|
843598
|
-
type: "boolean"
|
|
843599
|
-
},
|
|
843600
|
-
{
|
|
843601
|
-
type: "null"
|
|
843602
|
-
}
|
|
843603
|
-
]
|
|
843604
|
-
},
|
|
843605
843593
|
"edit-this-page": {
|
|
843606
843594
|
oneOf: [
|
|
843607
843595
|
{
|
|
@@ -850236,7 +850224,7 @@ async function calculateFileHash(absoluteFilePath) {
|
|
|
850236
850224
|
function sanitizeRelativePathForS3(relativeFilePath) {
|
|
850237
850225
|
return relativeFilePath.replace(/\.\.\//g, "_dot_dot_/");
|
|
850238
850226
|
}
|
|
850239
|
-
async function publishDocs({ token, organization, docsWorkspace, domain: domain3, customDomains, apiWorkspaces, ossWorkspaces, context: context3, preview, previewId, editThisPage,
|
|
850227
|
+
async function publishDocs({ token, organization, docsWorkspace, domain: domain3, customDomains, apiWorkspaces, ossWorkspaces, context: context3, preview, previewId, editThisPage, disableTemplates = false, skipUpload = false, withAiExamples = true, excludeApis = false, targetAudiences, docsUrl, cliVersion, ciSource, deployerAuthor }) {
|
|
850240
850228
|
const fdrOrigin = "https://registry-dev2.buildwithfern.com";
|
|
850241
850229
|
const isAirGapped = await detectAirGappedMode(`${fdrOrigin}/health`, context3.logger);
|
|
850242
850230
|
if (isAirGapped) {
|
|
@@ -850260,7 +850248,7 @@ async function publishDocs({ token, organization, docsWorkspace, domain: domain3
|
|
|
850260
850248
|
token: token.value,
|
|
850261
850249
|
...Object.keys(headers2).length > 0 && { headers: headers2 }
|
|
850262
850250
|
});
|
|
850263
|
-
const authConfig =
|
|
850251
|
+
const authConfig = { type: "public" };
|
|
850264
850252
|
if (excludeApis) {
|
|
850265
850253
|
context3.logger.debug("Experimental flag 'exclude-apis' is enabled - API references will be excluded from S3 upload");
|
|
850266
850254
|
}
|
|
@@ -850347,7 +850335,7 @@ async function publishDocs({ token, organization, docsWorkspace, domain: domain3
|
|
|
850347
850335
|
if (preview) {
|
|
850348
850336
|
const startDocsRegisterResponse = await fdr.docs.v2.write.startDocsPreviewRegister({
|
|
850349
850337
|
orgId: FdrAPI_exports.OrgId(organization),
|
|
850350
|
-
authConfig:
|
|
850338
|
+
authConfig: { type: "public" },
|
|
850351
850339
|
filepaths,
|
|
850352
850340
|
images,
|
|
850353
850341
|
basePath,
|
|
@@ -851140,7 +851128,6 @@ async function runRemoteGenerationForDocsWorkspace({ organization, apiWorkspaces
|
|
|
851140
851128
|
preview,
|
|
851141
851129
|
previewId,
|
|
851142
851130
|
editThisPage: maybeInstance.editThisPage,
|
|
851143
|
-
isPrivate: maybeInstance.private,
|
|
851144
851131
|
disableTemplates,
|
|
851145
851132
|
skipUpload,
|
|
851146
851133
|
withAiExamples: docsWorkspace.config.aiExamples?.enabled ?? docsWorkspace.config.experimental?.aiExamples ?? true,
|
|
@@ -851208,7 +851195,7 @@ var LegacyDocsPublisher = class {
|
|
|
851208
851195
|
previewId: void 0,
|
|
851209
851196
|
disableTemplates: void 0,
|
|
851210
851197
|
skipUpload,
|
|
851211
|
-
cliVersion: "4.62.
|
|
851198
|
+
cliVersion: "4.62.1"
|
|
851212
851199
|
});
|
|
851213
851200
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
851214
851201
|
return { success: false };
|
|
@@ -924491,7 +924478,7 @@ var CliContext = class {
|
|
|
924491
924478
|
if (false) {
|
|
924492
924479
|
this.logger.error("CLI_VERSION is not defined");
|
|
924493
924480
|
}
|
|
924494
|
-
return "4.62.
|
|
924481
|
+
return "4.62.1";
|
|
924495
924482
|
}
|
|
924496
924483
|
getCliName() {
|
|
924497
924484
|
if (false) {
|
package/package.json
CHANGED