@fern-api/fern-api-dev 3.52.1 → 3.53.1-1-g1d4ae6f857c
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 +226 -7
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -1419405,6 +1419405,8 @@ __export(serialization_exports2, {
|
|
|
1419405
1419405
|
InferredBearerAuthSchema: () => InferredBearerAuthSchema,
|
|
1419406
1419406
|
InferredGetTokenEndpointSchema: () => InferredGetTokenEndpointSchema,
|
|
1419407
1419407
|
InferredGetTokenEndpointSchemaObject: () => InferredGetTokenEndpointSchemaObject,
|
|
1419408
|
+
ListValidationSchema: () => ListValidationSchema,
|
|
1419409
|
+
MapValidationSchema: () => MapValidationSchema,
|
|
1419408
1419410
|
MultipleBaseUrlsEnvironmentSchema: () => MultipleBaseUrlsEnvironmentSchema,
|
|
1419409
1419411
|
Navigation: () => Navigation,
|
|
1419410
1419412
|
NumberValidationSchema: () => NumberValidationSchema,
|
|
@@ -1421014,8 +1421016,25 @@ var NumberValidationSchema = schemas_exports5.object({
|
|
|
1421014
1421016
|
multipleOf: schemas_exports5.number().optional()
|
|
1421015
1421017
|
});
|
|
1421016
1421018
|
|
|
1421019
|
+
// ../fern-definition/schema/lib/schemas/serialization/resources/validation/types/ListValidationSchema.js
|
|
1421020
|
+
var ListValidationSchema = schemas_exports5.object({
|
|
1421021
|
+
minItems: schemas_exports5.number().optional(),
|
|
1421022
|
+
maxItems: schemas_exports5.number().optional()
|
|
1421023
|
+
});
|
|
1421024
|
+
|
|
1421025
|
+
// ../fern-definition/schema/lib/schemas/serialization/resources/validation/types/MapValidationSchema.js
|
|
1421026
|
+
var MapValidationSchema = schemas_exports5.object({
|
|
1421027
|
+
minProperties: schemas_exports5.number().optional(),
|
|
1421028
|
+
maxProperties: schemas_exports5.number().optional()
|
|
1421029
|
+
});
|
|
1421030
|
+
|
|
1421017
1421031
|
// ../fern-definition/schema/lib/schemas/serialization/resources/validation/types/ValidationSchema.js
|
|
1421018
|
-
var ValidationSchema = schemas_exports5.undiscriminatedUnion([
|
|
1421032
|
+
var ValidationSchema = schemas_exports5.undiscriminatedUnion([
|
|
1421033
|
+
StringValidationSchema,
|
|
1421034
|
+
NumberValidationSchema,
|
|
1421035
|
+
ListValidationSchema,
|
|
1421036
|
+
MapValidationSchema
|
|
1421037
|
+
]);
|
|
1421019
1421038
|
|
|
1421020
1421039
|
// ../fern-definition/schema/lib/schemas/serialization/resources/commons/types/WithValidation.js
|
|
1421021
1421040
|
var WithValidation = schemas_exports5.object({
|
|
@@ -1421354,7 +1421373,7 @@ var SingleUnionTypeKey = schemas_exports5.undiscriminatedUnion([schemas_exports5
|
|
|
1421354
1421373
|
var SingleUnionTypeDetailedSchema = schemas_exports5.object({
|
|
1421355
1421374
|
type: schemas_exports5.string().optional(),
|
|
1421356
1421375
|
key: SingleUnionTypeKey.optional()
|
|
1421357
|
-
}).extend(WithDocsSchema).extend(WithName).extend(WithAvailability).extend(WithDisplayName);
|
|
1421376
|
+
}).extend(WithDocsSchema).extend(WithName).extend(WithAvailability).extend(WithDisplayName).extend(WithValidation);
|
|
1421358
1421377
|
|
|
1421359
1421378
|
// ../fern-definition/schema/lib/schemas/serialization/resources/types/types/SingleUnionTypeSchema.js
|
|
1421360
1421379
|
var SingleUnionTypeSchema = schemas_exports5.undiscriminatedUnion([schemas_exports5.string(), SingleUnionTypeDetailedSchema]);
|
|
@@ -1421898,6 +1421917,8 @@ var TypeReferenceDeclarationWithNameSchema = schemas_exports5.undiscriminatedUni
|
|
|
1421898
1421917
|
// ../fern-definition/schema/lib/schemas/serialization/resources/validation/index.js
|
|
1421899
1421918
|
var validation_exports2 = {};
|
|
1421900
1421919
|
__export(validation_exports2, {
|
|
1421920
|
+
ListValidationSchema: () => ListValidationSchema,
|
|
1421921
|
+
MapValidationSchema: () => MapValidationSchema,
|
|
1421901
1421922
|
NumberValidationSchema: () => NumberValidationSchema,
|
|
1421902
1421923
|
StringValidationSchema: () => StringValidationSchema,
|
|
1421903
1421924
|
ValidationSchema: () => ValidationSchema
|
|
@@ -1443562,6 +1443583,9 @@ function maybeIntegerValidation(v23) {
|
|
|
1443562
1443583
|
return void 0;
|
|
1443563
1443584
|
}
|
|
1443564
1443585
|
function getStringExampleOfLength(length) {
|
|
1443586
|
+
if (length <= 0) {
|
|
1443587
|
+
return "";
|
|
1443588
|
+
}
|
|
1443565
1443589
|
if (length <= examples_exports.SAMPLE_STRINGS.length) {
|
|
1443566
1443590
|
const sampleString = examples_exports.SAMPLE_STRINGS[length - 1];
|
|
1443567
1443591
|
if (sampleString) {
|
|
@@ -1560534,6 +1560558,58 @@ var definitions = {
|
|
|
1560534
1560558
|
},
|
|
1560535
1560559
|
additionalProperties: false
|
|
1560536
1560560
|
},
|
|
1560561
|
+
"validation.ListValidationSchema": {
|
|
1560562
|
+
type: "object",
|
|
1560563
|
+
properties: {
|
|
1560564
|
+
minItems: {
|
|
1560565
|
+
oneOf: [
|
|
1560566
|
+
{
|
|
1560567
|
+
type: "integer"
|
|
1560568
|
+
},
|
|
1560569
|
+
{
|
|
1560570
|
+
type: "null"
|
|
1560571
|
+
}
|
|
1560572
|
+
]
|
|
1560573
|
+
},
|
|
1560574
|
+
maxItems: {
|
|
1560575
|
+
oneOf: [
|
|
1560576
|
+
{
|
|
1560577
|
+
type: "integer"
|
|
1560578
|
+
},
|
|
1560579
|
+
{
|
|
1560580
|
+
type: "null"
|
|
1560581
|
+
}
|
|
1560582
|
+
]
|
|
1560583
|
+
}
|
|
1560584
|
+
},
|
|
1560585
|
+
additionalProperties: false
|
|
1560586
|
+
},
|
|
1560587
|
+
"validation.MapValidationSchema": {
|
|
1560588
|
+
type: "object",
|
|
1560589
|
+
properties: {
|
|
1560590
|
+
minProperties: {
|
|
1560591
|
+
oneOf: [
|
|
1560592
|
+
{
|
|
1560593
|
+
type: "integer"
|
|
1560594
|
+
},
|
|
1560595
|
+
{
|
|
1560596
|
+
type: "null"
|
|
1560597
|
+
}
|
|
1560598
|
+
]
|
|
1560599
|
+
},
|
|
1560600
|
+
maxProperties: {
|
|
1560601
|
+
oneOf: [
|
|
1560602
|
+
{
|
|
1560603
|
+
type: "integer"
|
|
1560604
|
+
},
|
|
1560605
|
+
{
|
|
1560606
|
+
type: "null"
|
|
1560607
|
+
}
|
|
1560608
|
+
]
|
|
1560609
|
+
}
|
|
1560610
|
+
},
|
|
1560611
|
+
additionalProperties: false
|
|
1560612
|
+
},
|
|
1560537
1560613
|
"validation.ValidationSchema": {
|
|
1560538
1560614
|
anyOf: [
|
|
1560539
1560615
|
{
|
|
@@ -1560541,6 +1560617,12 @@ var definitions = {
|
|
|
1560541
1560617
|
},
|
|
1560542
1560618
|
{
|
|
1560543
1560619
|
$ref: "#/definitions/validation.NumberValidationSchema"
|
|
1560620
|
+
},
|
|
1560621
|
+
{
|
|
1560622
|
+
$ref: "#/definitions/validation.ListValidationSchema"
|
|
1560623
|
+
},
|
|
1560624
|
+
{
|
|
1560625
|
+
$ref: "#/definitions/validation.MapValidationSchema"
|
|
1560544
1560626
|
}
|
|
1560545
1560627
|
]
|
|
1560546
1560628
|
},
|
|
@@ -1561600,6 +1561682,58 @@ var definitions2 = {
|
|
|
1561600
1561682
|
},
|
|
1561601
1561683
|
additionalProperties: false
|
|
1561602
1561684
|
},
|
|
1561685
|
+
"validation.ListValidationSchema": {
|
|
1561686
|
+
type: "object",
|
|
1561687
|
+
properties: {
|
|
1561688
|
+
minItems: {
|
|
1561689
|
+
oneOf: [
|
|
1561690
|
+
{
|
|
1561691
|
+
type: "integer"
|
|
1561692
|
+
},
|
|
1561693
|
+
{
|
|
1561694
|
+
type: "null"
|
|
1561695
|
+
}
|
|
1561696
|
+
]
|
|
1561697
|
+
},
|
|
1561698
|
+
maxItems: {
|
|
1561699
|
+
oneOf: [
|
|
1561700
|
+
{
|
|
1561701
|
+
type: "integer"
|
|
1561702
|
+
},
|
|
1561703
|
+
{
|
|
1561704
|
+
type: "null"
|
|
1561705
|
+
}
|
|
1561706
|
+
]
|
|
1561707
|
+
}
|
|
1561708
|
+
},
|
|
1561709
|
+
additionalProperties: false
|
|
1561710
|
+
},
|
|
1561711
|
+
"validation.MapValidationSchema": {
|
|
1561712
|
+
type: "object",
|
|
1561713
|
+
properties: {
|
|
1561714
|
+
minProperties: {
|
|
1561715
|
+
oneOf: [
|
|
1561716
|
+
{
|
|
1561717
|
+
type: "integer"
|
|
1561718
|
+
},
|
|
1561719
|
+
{
|
|
1561720
|
+
type: "null"
|
|
1561721
|
+
}
|
|
1561722
|
+
]
|
|
1561723
|
+
},
|
|
1561724
|
+
maxProperties: {
|
|
1561725
|
+
oneOf: [
|
|
1561726
|
+
{
|
|
1561727
|
+
type: "integer"
|
|
1561728
|
+
},
|
|
1561729
|
+
{
|
|
1561730
|
+
type: "null"
|
|
1561731
|
+
}
|
|
1561732
|
+
]
|
|
1561733
|
+
}
|
|
1561734
|
+
},
|
|
1561735
|
+
additionalProperties: false
|
|
1561736
|
+
},
|
|
1561603
1561737
|
"validation.ValidationSchema": {
|
|
1561604
1561738
|
anyOf: [
|
|
1561605
1561739
|
{
|
|
@@ -1561607,6 +1561741,12 @@ var definitions2 = {
|
|
|
1561607
1561741
|
},
|
|
1561608
1561742
|
{
|
|
1561609
1561743
|
$ref: "#/definitions/validation.NumberValidationSchema"
|
|
1561744
|
+
},
|
|
1561745
|
+
{
|
|
1561746
|
+
$ref: "#/definitions/validation.ListValidationSchema"
|
|
1561747
|
+
},
|
|
1561748
|
+
{
|
|
1561749
|
+
$ref: "#/definitions/validation.MapValidationSchema"
|
|
1561610
1561750
|
}
|
|
1561611
1561751
|
]
|
|
1561612
1561752
|
},
|
|
@@ -1562252,6 +1562392,16 @@ var definitions2 = {
|
|
|
1562252
1562392
|
}
|
|
1562253
1562393
|
]
|
|
1562254
1562394
|
},
|
|
1562395
|
+
validation: {
|
|
1562396
|
+
oneOf: [
|
|
1562397
|
+
{
|
|
1562398
|
+
$ref: "#/definitions/validation.ValidationSchema"
|
|
1562399
|
+
},
|
|
1562400
|
+
{
|
|
1562401
|
+
type: "null"
|
|
1562402
|
+
}
|
|
1562403
|
+
]
|
|
1562404
|
+
},
|
|
1562255
1562405
|
type: {
|
|
1562256
1562406
|
oneOf: [
|
|
1562257
1562407
|
{
|
|
@@ -1565279,6 +1565429,58 @@ var definitions3 = {
|
|
|
1565279
1565429
|
},
|
|
1565280
1565430
|
additionalProperties: false
|
|
1565281
1565431
|
},
|
|
1565432
|
+
"validation.ListValidationSchema": {
|
|
1565433
|
+
type: "object",
|
|
1565434
|
+
properties: {
|
|
1565435
|
+
minItems: {
|
|
1565436
|
+
oneOf: [
|
|
1565437
|
+
{
|
|
1565438
|
+
type: "integer"
|
|
1565439
|
+
},
|
|
1565440
|
+
{
|
|
1565441
|
+
type: "null"
|
|
1565442
|
+
}
|
|
1565443
|
+
]
|
|
1565444
|
+
},
|
|
1565445
|
+
maxItems: {
|
|
1565446
|
+
oneOf: [
|
|
1565447
|
+
{
|
|
1565448
|
+
type: "integer"
|
|
1565449
|
+
},
|
|
1565450
|
+
{
|
|
1565451
|
+
type: "null"
|
|
1565452
|
+
}
|
|
1565453
|
+
]
|
|
1565454
|
+
}
|
|
1565455
|
+
},
|
|
1565456
|
+
additionalProperties: false
|
|
1565457
|
+
},
|
|
1565458
|
+
"validation.MapValidationSchema": {
|
|
1565459
|
+
type: "object",
|
|
1565460
|
+
properties: {
|
|
1565461
|
+
minProperties: {
|
|
1565462
|
+
oneOf: [
|
|
1565463
|
+
{
|
|
1565464
|
+
type: "integer"
|
|
1565465
|
+
},
|
|
1565466
|
+
{
|
|
1565467
|
+
type: "null"
|
|
1565468
|
+
}
|
|
1565469
|
+
]
|
|
1565470
|
+
},
|
|
1565471
|
+
maxProperties: {
|
|
1565472
|
+
oneOf: [
|
|
1565473
|
+
{
|
|
1565474
|
+
type: "integer"
|
|
1565475
|
+
},
|
|
1565476
|
+
{
|
|
1565477
|
+
type: "null"
|
|
1565478
|
+
}
|
|
1565479
|
+
]
|
|
1565480
|
+
}
|
|
1565481
|
+
},
|
|
1565482
|
+
additionalProperties: false
|
|
1565483
|
+
},
|
|
1565282
1565484
|
"validation.ValidationSchema": {
|
|
1565283
1565485
|
anyOf: [
|
|
1565284
1565486
|
{
|
|
@@ -1565286,6 +1565488,12 @@ var definitions3 = {
|
|
|
1565286
1565488
|
},
|
|
1565287
1565489
|
{
|
|
1565288
1565490
|
$ref: "#/definitions/validation.NumberValidationSchema"
|
|
1565491
|
+
},
|
|
1565492
|
+
{
|
|
1565493
|
+
$ref: "#/definitions/validation.ListValidationSchema"
|
|
1565494
|
+
},
|
|
1565495
|
+
{
|
|
1565496
|
+
$ref: "#/definitions/validation.MapValidationSchema"
|
|
1565289
1565497
|
}
|
|
1565290
1565498
|
]
|
|
1565291
1565499
|
},
|
|
@@ -1565931,6 +1566139,16 @@ var definitions3 = {
|
|
|
1565931
1566139
|
}
|
|
1565932
1566140
|
]
|
|
1565933
1566141
|
},
|
|
1566142
|
+
validation: {
|
|
1566143
|
+
oneOf: [
|
|
1566144
|
+
{
|
|
1566145
|
+
$ref: "#/definitions/validation.ValidationSchema"
|
|
1566146
|
+
},
|
|
1566147
|
+
{
|
|
1566148
|
+
type: "null"
|
|
1566149
|
+
}
|
|
1566150
|
+
]
|
|
1566151
|
+
},
|
|
1565934
1566152
|
type: {
|
|
1565935
1566153
|
oneOf: [
|
|
1565936
1566154
|
{
|
|
@@ -1650983,7 +1651201,7 @@ var AccessTokenPosthogManager = class {
|
|
|
1650983
1651201
|
properties: {
|
|
1650984
1651202
|
...event,
|
|
1650985
1651203
|
...event.properties,
|
|
1650986
|
-
version: "3.
|
|
1651204
|
+
version: "3.53.1-1-g1d4ae6f857c",
|
|
1650987
1651205
|
usingAccessToken: true
|
|
1650988
1651206
|
}
|
|
1650989
1651207
|
});
|
|
@@ -1651033,7 +1651251,7 @@ var UserPosthogManager = class {
|
|
|
1651033
1651251
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
1651034
1651252
|
event: "CLI",
|
|
1651035
1651253
|
properties: {
|
|
1651036
|
-
version: "3.
|
|
1651254
|
+
version: "3.53.1-1-g1d4ae6f857c",
|
|
1651037
1651255
|
...event,
|
|
1651038
1651256
|
...event.properties,
|
|
1651039
1651257
|
usingAccessToken: false,
|
|
@@ -1684175,7 +1684393,7 @@ var CliContext = class {
|
|
|
1684175
1684393
|
if (false) {
|
|
1684176
1684394
|
this.logger.error("CLI_VERSION is not defined");
|
|
1684177
1684395
|
}
|
|
1684178
|
-
return "3.
|
|
1684396
|
+
return "3.53.1-1-g1d4ae6f857c";
|
|
1684179
1684397
|
}
|
|
1684180
1684398
|
getCliName() {
|
|
1684181
1684399
|
if (false) {
|
|
@@ -1687288,7 +1687506,7 @@ var import_path54 = __toESM(require("path"), 1);
|
|
|
1687288
1687506
|
var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
1687289
1687507
|
var LOGS_FOLDER_NAME = "logs";
|
|
1687290
1687508
|
function getCliSource() {
|
|
1687291
|
-
const version7 = "3.
|
|
1687509
|
+
const version7 = "3.53.1-1-g1d4ae6f857c";
|
|
1687292
1687510
|
return `cli@${version7}`;
|
|
1687293
1687511
|
}
|
|
1687294
1687512
|
var DebugLogger = class {
|
|
@@ -1707105,7 +1707323,8 @@ function visitTypeDeclaration({ typeName, declaration, visitor, nodePathForType
|
|
|
1707105
1707323
|
}
|
|
1707106
1707324
|
},
|
|
1707107
1707325
|
["display-name"]: noop2,
|
|
1707108
|
-
availability: noop2
|
|
1707326
|
+
availability: noop2,
|
|
1707327
|
+
validation: noop2
|
|
1707109
1707328
|
});
|
|
1707110
1707329
|
}
|
|
1707111
1707330
|
}
|
package/package.json
CHANGED