fern-api 0.19.0-rc0 → 0.19.0-rc1
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 +16 -9
- package/package.json +1 -1
package/bundle.cjs
CHANGED
|
@@ -799111,7 +799111,7 @@ var AccessTokenPosthogManager = class {
|
|
|
799111
799111
|
properties: {
|
|
799112
799112
|
...event,
|
|
799113
799113
|
...event.properties,
|
|
799114
|
-
version: "0.19.0-
|
|
799114
|
+
version: "0.19.0-rc1",
|
|
799115
799115
|
usingAccessToken: true
|
|
799116
799116
|
}
|
|
799117
799117
|
});
|
|
@@ -799173,7 +799173,7 @@ var UserPosthogManager = class {
|
|
|
799173
799173
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
799174
799174
|
event: "CLI",
|
|
799175
799175
|
properties: {
|
|
799176
|
-
version: "0.19.0-
|
|
799176
|
+
version: "0.19.0-rc1",
|
|
799177
799177
|
...event,
|
|
799178
799178
|
...event.properties
|
|
799179
799179
|
}
|
|
@@ -811983,7 +811983,8 @@ var OpenAPIExtension = {
|
|
|
811983
811983
|
BEARER_FORMAT: "x-bearer-format",
|
|
811984
811984
|
ENUM_VAR_NAMES: "x-enum-varnames",
|
|
811985
811985
|
INTERNAL: "x-internal",
|
|
811986
|
-
EXAMPLES: "x-examples"
|
|
811986
|
+
EXAMPLES: "x-examples",
|
|
811987
|
+
TAGS: "x-tags"
|
|
811987
811988
|
};
|
|
811988
811989
|
|
|
811989
811990
|
// pnp:/home/circleci/project/packages/cli/openapi-parser/lib/openapi/v3/extensions/fernExtensions.js
|
|
@@ -813299,8 +813300,9 @@ function getTitleAsName(title) {
|
|
|
813299
813300
|
return title;
|
|
813300
813301
|
}
|
|
813301
813302
|
function convertSchemaObject(schema2, wrapAsNullable, context, breadcrumbs, propertiesToExclude = /* @__PURE__ */ new Set(), referencedAsRequest = false) {
|
|
813303
|
+
var _a2;
|
|
813302
813304
|
const nameOverride = getExtension(schema2, FernOpenAPIExtension.TYPE_NAME) ?? getTitleAsName(schema2.title);
|
|
813303
|
-
const groupName = getExtension(schema2, FernOpenAPIExtension.SDK_GROUP_NAME);
|
|
813305
|
+
const groupName = getExtension(schema2, FernOpenAPIExtension.SDK_GROUP_NAME) ?? ((_a2 = getExtension(schema2, OpenAPIExtension.TAGS)) == null ? void 0 : _a2[0]);
|
|
813304
813306
|
const generatedName = getGeneratedTypeName(breadcrumbs);
|
|
813305
813307
|
const description = schema2.description;
|
|
813306
813308
|
const examples = getExtension(schema2, OpenAPIExtension.EXAMPLES);
|
|
@@ -825850,10 +825852,10 @@ var CliContext = class {
|
|
|
825850
825852
|
return "fern-api";
|
|
825851
825853
|
}
|
|
825852
825854
|
getPackageVersion() {
|
|
825853
|
-
if ("0.19.0-
|
|
825855
|
+
if ("0.19.0-rc1" == null) {
|
|
825854
825856
|
this.logger.error("CLI_VERSION is not defined");
|
|
825855
825857
|
}
|
|
825856
|
-
return "0.19.0-
|
|
825858
|
+
return "0.19.0-rc1";
|
|
825857
825859
|
}
|
|
825858
825860
|
getCliName() {
|
|
825859
825861
|
if ("fern" == null) {
|
|
@@ -843802,7 +843804,12 @@ async function convertNavigationConfig({ navigationConfig, tabs, parsedDocsConfi
|
|
|
843802
843804
|
token,
|
|
843803
843805
|
version: version3
|
|
843804
843806
|
})));
|
|
843805
|
-
|
|
843807
|
+
for (const untabbedItem of untabbedItems) {
|
|
843808
|
+
pages = {
|
|
843809
|
+
...pages,
|
|
843810
|
+
...untabbedItem.pages
|
|
843811
|
+
};
|
|
843812
|
+
}
|
|
843806
843813
|
config = {
|
|
843807
843814
|
items: untabbedItems.map((item) => item.item)
|
|
843808
843815
|
};
|
|
@@ -843862,7 +843869,7 @@ async function convertNavigationConfig({ navigationConfig, tabs, parsedDocsConfi
|
|
|
843862
843869
|
}
|
|
843863
843870
|
return {
|
|
843864
843871
|
config,
|
|
843865
|
-
pages
|
|
843872
|
+
pages
|
|
843866
843873
|
};
|
|
843867
843874
|
}
|
|
843868
843875
|
function convertAvailability2(availability) {
|
|
@@ -843941,7 +843948,7 @@ async function convertUnversionedNavigationConfig({ navigationConfig, tabs, pars
|
|
|
843941
843948
|
}
|
|
843942
843949
|
return {
|
|
843943
843950
|
config,
|
|
843944
|
-
pages
|
|
843951
|
+
pages
|
|
843945
843952
|
};
|
|
843946
843953
|
}
|
|
843947
843954
|
function convertDocsTypographyConfiguration({ typographyConfiguration, parsedDocsConfig, uploadUrls, context }) {
|