@fern-api/fern-api-dev 5.23.3-658-g84e37438d48 → 5.23.3-661-g00511f12e23
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 +13 -7
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -669270,7 +669270,7 @@ var AccessTokenPosthogManager = class {
|
|
|
669270
669270
|
properties: {
|
|
669271
669271
|
...event,
|
|
669272
669272
|
...event.properties,
|
|
669273
|
-
version: "5.23.3-
|
|
669273
|
+
version: "5.23.3-661-g00511f12e23",
|
|
669274
669274
|
usingAccessToken: true,
|
|
669275
669275
|
...getRunIdProperties()
|
|
669276
669276
|
}
|
|
@@ -669334,7 +669334,7 @@ var UserPosthogManager = class {
|
|
|
669334
669334
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
669335
669335
|
event: "CLI",
|
|
669336
669336
|
properties: {
|
|
669337
|
-
version: "5.23.3-
|
|
669337
|
+
version: "5.23.3-661-g00511f12e23",
|
|
669338
669338
|
...event,
|
|
669339
669339
|
...event.properties,
|
|
669340
669340
|
usingAccessToken: false,
|
|
@@ -861072,7 +861072,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
|
861072
861072
|
var LOGS_FOLDER_NAME = "logs";
|
|
861073
861073
|
var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
|
|
861074
861074
|
function getCliSource() {
|
|
861075
|
-
const version7 = "5.23.3-
|
|
861075
|
+
const version7 = "5.23.3-661-g00511f12e23";
|
|
861076
861076
|
return `cli@${version7}`;
|
|
861077
861077
|
}
|
|
861078
861078
|
var DebugLogger = class {
|
|
@@ -892164,7 +892164,7 @@ var LegacyDocsPublisher = class {
|
|
|
892164
892164
|
previewId,
|
|
892165
892165
|
disableTemplates: void 0,
|
|
892166
892166
|
skipUpload,
|
|
892167
|
-
cliVersion: "5.23.3-
|
|
892167
|
+
cliVersion: "5.23.3-661-g00511f12e23",
|
|
892168
892168
|
loginCommand: "fern auth login"
|
|
892169
892169
|
});
|
|
892170
892170
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
@@ -916378,6 +916378,11 @@ var DynamicTypeInstantiationMapper = class {
|
|
|
916378
916378
|
writer2.writeNode(collectionLiteral);
|
|
916379
916379
|
}));
|
|
916380
916380
|
}
|
|
916381
|
+
// Materializes a literal value (e.g. a literal path parameter), as opposed to
|
|
916382
|
+
// convert(), which treats literals as a no-op since they are usually omitted.
|
|
916383
|
+
convertLiteral(literal3) {
|
|
916384
|
+
return this.convertLiteralValue(literal3);
|
|
916385
|
+
}
|
|
916381
916386
|
convertLiteralValue(literal3) {
|
|
916382
916387
|
switch (literal3.type) {
|
|
916383
916388
|
case "boolean":
|
|
@@ -917749,9 +917754,10 @@ var EndpointSnippetGenerator3 = class {
|
|
|
917749
917754
|
values: snippet2.pathParameters ?? {}
|
|
917750
917755
|
});
|
|
917751
917756
|
for (const parameter6 of pathParameters) {
|
|
917757
|
+
const value2 = parameter6.typeReference.type === "literal" ? this.context.dynamicTypeInstantiationMapper.convertLiteral(parameter6.typeReference.value) : asPointer ? this.context.dynamicTypeInstantiationMapper.convertToPointerIfPossible(parameter6) : this.context.dynamicTypeInstantiationMapper.convert(parameter6);
|
|
917752
917758
|
args.push({
|
|
917753
917759
|
name: this.context.getTypeName(parameter6.name.name),
|
|
917754
|
-
value:
|
|
917760
|
+
value: value2
|
|
917755
917761
|
});
|
|
917756
917762
|
}
|
|
917757
917763
|
return args;
|
|
@@ -957348,7 +957354,7 @@ function getAutomationContextFromEnv() {
|
|
|
957348
957354
|
config_branch: process.env.FERN_CONFIG_BRANCH,
|
|
957349
957355
|
config_pr_number: process.env.FERN_CONFIG_PR_NUMBER,
|
|
957350
957356
|
trigger: process.env.GITHUB_EVENT_NAME,
|
|
957351
|
-
cli_version: "5.23.3-
|
|
957357
|
+
cli_version: "5.23.3-661-g00511f12e23"
|
|
957352
957358
|
};
|
|
957353
957359
|
}
|
|
957354
957360
|
function isAutomationMode() {
|
|
@@ -958174,7 +958180,7 @@ var CliContext = class _CliContext {
|
|
|
958174
958180
|
if (false) {
|
|
958175
958181
|
this.logger.error("CLI_VERSION is not defined");
|
|
958176
958182
|
}
|
|
958177
|
-
return "5.23.3-
|
|
958183
|
+
return "5.23.3-661-g00511f12e23";
|
|
958178
958184
|
}
|
|
958179
958185
|
getCliName() {
|
|
958180
958186
|
if (false) {
|
package/package.json
CHANGED