@fern-api/fern-api-dev 3.52.1 → 3.53.0

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.
Files changed (2) hide show
  1. package/cli.cjs +223 -7
  2. 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([StringValidationSchema, NumberValidationSchema]);
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
@@ -1560534,6 +1560555,58 @@ var definitions = {
1560534
1560555
  },
1560535
1560556
  additionalProperties: false
1560536
1560557
  },
1560558
+ "validation.ListValidationSchema": {
1560559
+ type: "object",
1560560
+ properties: {
1560561
+ minItems: {
1560562
+ oneOf: [
1560563
+ {
1560564
+ type: "integer"
1560565
+ },
1560566
+ {
1560567
+ type: "null"
1560568
+ }
1560569
+ ]
1560570
+ },
1560571
+ maxItems: {
1560572
+ oneOf: [
1560573
+ {
1560574
+ type: "integer"
1560575
+ },
1560576
+ {
1560577
+ type: "null"
1560578
+ }
1560579
+ ]
1560580
+ }
1560581
+ },
1560582
+ additionalProperties: false
1560583
+ },
1560584
+ "validation.MapValidationSchema": {
1560585
+ type: "object",
1560586
+ properties: {
1560587
+ minProperties: {
1560588
+ oneOf: [
1560589
+ {
1560590
+ type: "integer"
1560591
+ },
1560592
+ {
1560593
+ type: "null"
1560594
+ }
1560595
+ ]
1560596
+ },
1560597
+ maxProperties: {
1560598
+ oneOf: [
1560599
+ {
1560600
+ type: "integer"
1560601
+ },
1560602
+ {
1560603
+ type: "null"
1560604
+ }
1560605
+ ]
1560606
+ }
1560607
+ },
1560608
+ additionalProperties: false
1560609
+ },
1560537
1560610
  "validation.ValidationSchema": {
1560538
1560611
  anyOf: [
1560539
1560612
  {
@@ -1560541,6 +1560614,12 @@ var definitions = {
1560541
1560614
  },
1560542
1560615
  {
1560543
1560616
  $ref: "#/definitions/validation.NumberValidationSchema"
1560617
+ },
1560618
+ {
1560619
+ $ref: "#/definitions/validation.ListValidationSchema"
1560620
+ },
1560621
+ {
1560622
+ $ref: "#/definitions/validation.MapValidationSchema"
1560544
1560623
  }
1560545
1560624
  ]
1560546
1560625
  },
@@ -1561600,6 +1561679,58 @@ var definitions2 = {
1561600
1561679
  },
1561601
1561680
  additionalProperties: false
1561602
1561681
  },
1561682
+ "validation.ListValidationSchema": {
1561683
+ type: "object",
1561684
+ properties: {
1561685
+ minItems: {
1561686
+ oneOf: [
1561687
+ {
1561688
+ type: "integer"
1561689
+ },
1561690
+ {
1561691
+ type: "null"
1561692
+ }
1561693
+ ]
1561694
+ },
1561695
+ maxItems: {
1561696
+ oneOf: [
1561697
+ {
1561698
+ type: "integer"
1561699
+ },
1561700
+ {
1561701
+ type: "null"
1561702
+ }
1561703
+ ]
1561704
+ }
1561705
+ },
1561706
+ additionalProperties: false
1561707
+ },
1561708
+ "validation.MapValidationSchema": {
1561709
+ type: "object",
1561710
+ properties: {
1561711
+ minProperties: {
1561712
+ oneOf: [
1561713
+ {
1561714
+ type: "integer"
1561715
+ },
1561716
+ {
1561717
+ type: "null"
1561718
+ }
1561719
+ ]
1561720
+ },
1561721
+ maxProperties: {
1561722
+ oneOf: [
1561723
+ {
1561724
+ type: "integer"
1561725
+ },
1561726
+ {
1561727
+ type: "null"
1561728
+ }
1561729
+ ]
1561730
+ }
1561731
+ },
1561732
+ additionalProperties: false
1561733
+ },
1561603
1561734
  "validation.ValidationSchema": {
1561604
1561735
  anyOf: [
1561605
1561736
  {
@@ -1561607,6 +1561738,12 @@ var definitions2 = {
1561607
1561738
  },
1561608
1561739
  {
1561609
1561740
  $ref: "#/definitions/validation.NumberValidationSchema"
1561741
+ },
1561742
+ {
1561743
+ $ref: "#/definitions/validation.ListValidationSchema"
1561744
+ },
1561745
+ {
1561746
+ $ref: "#/definitions/validation.MapValidationSchema"
1561610
1561747
  }
1561611
1561748
  ]
1561612
1561749
  },
@@ -1562252,6 +1562389,16 @@ var definitions2 = {
1562252
1562389
  }
1562253
1562390
  ]
1562254
1562391
  },
1562392
+ validation: {
1562393
+ oneOf: [
1562394
+ {
1562395
+ $ref: "#/definitions/validation.ValidationSchema"
1562396
+ },
1562397
+ {
1562398
+ type: "null"
1562399
+ }
1562400
+ ]
1562401
+ },
1562255
1562402
  type: {
1562256
1562403
  oneOf: [
1562257
1562404
  {
@@ -1565279,6 +1565426,58 @@ var definitions3 = {
1565279
1565426
  },
1565280
1565427
  additionalProperties: false
1565281
1565428
  },
1565429
+ "validation.ListValidationSchema": {
1565430
+ type: "object",
1565431
+ properties: {
1565432
+ minItems: {
1565433
+ oneOf: [
1565434
+ {
1565435
+ type: "integer"
1565436
+ },
1565437
+ {
1565438
+ type: "null"
1565439
+ }
1565440
+ ]
1565441
+ },
1565442
+ maxItems: {
1565443
+ oneOf: [
1565444
+ {
1565445
+ type: "integer"
1565446
+ },
1565447
+ {
1565448
+ type: "null"
1565449
+ }
1565450
+ ]
1565451
+ }
1565452
+ },
1565453
+ additionalProperties: false
1565454
+ },
1565455
+ "validation.MapValidationSchema": {
1565456
+ type: "object",
1565457
+ properties: {
1565458
+ minProperties: {
1565459
+ oneOf: [
1565460
+ {
1565461
+ type: "integer"
1565462
+ },
1565463
+ {
1565464
+ type: "null"
1565465
+ }
1565466
+ ]
1565467
+ },
1565468
+ maxProperties: {
1565469
+ oneOf: [
1565470
+ {
1565471
+ type: "integer"
1565472
+ },
1565473
+ {
1565474
+ type: "null"
1565475
+ }
1565476
+ ]
1565477
+ }
1565478
+ },
1565479
+ additionalProperties: false
1565480
+ },
1565282
1565481
  "validation.ValidationSchema": {
1565283
1565482
  anyOf: [
1565284
1565483
  {
@@ -1565286,6 +1565485,12 @@ var definitions3 = {
1565286
1565485
  },
1565287
1565486
  {
1565288
1565487
  $ref: "#/definitions/validation.NumberValidationSchema"
1565488
+ },
1565489
+ {
1565490
+ $ref: "#/definitions/validation.ListValidationSchema"
1565491
+ },
1565492
+ {
1565493
+ $ref: "#/definitions/validation.MapValidationSchema"
1565289
1565494
  }
1565290
1565495
  ]
1565291
1565496
  },
@@ -1565931,6 +1566136,16 @@ var definitions3 = {
1565931
1566136
  }
1565932
1566137
  ]
1565933
1566138
  },
1566139
+ validation: {
1566140
+ oneOf: [
1566141
+ {
1566142
+ $ref: "#/definitions/validation.ValidationSchema"
1566143
+ },
1566144
+ {
1566145
+ type: "null"
1566146
+ }
1566147
+ ]
1566148
+ },
1565934
1566149
  type: {
1565935
1566150
  oneOf: [
1565936
1566151
  {
@@ -1650983,7 +1651198,7 @@ var AccessTokenPosthogManager = class {
1650983
1651198
  properties: {
1650984
1651199
  ...event,
1650985
1651200
  ...event.properties,
1650986
- version: "3.52.1",
1651201
+ version: "3.53.0",
1650987
1651202
  usingAccessToken: true
1650988
1651203
  }
1650989
1651204
  });
@@ -1651033,7 +1651248,7 @@ var UserPosthogManager = class {
1651033
1651248
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
1651034
1651249
  event: "CLI",
1651035
1651250
  properties: {
1651036
- version: "3.52.1",
1651251
+ version: "3.53.0",
1651037
1651252
  ...event,
1651038
1651253
  ...event.properties,
1651039
1651254
  usingAccessToken: false,
@@ -1684175,7 +1684390,7 @@ var CliContext = class {
1684175
1684390
  if (false) {
1684176
1684391
  this.logger.error("CLI_VERSION is not defined");
1684177
1684392
  }
1684178
- return "3.52.1";
1684393
+ return "3.53.0";
1684179
1684394
  }
1684180
1684395
  getCliName() {
1684181
1684396
  if (false) {
@@ -1687288,7 +1687503,7 @@ var import_path54 = __toESM(require("path"), 1);
1687288
1687503
  var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
1687289
1687504
  var LOGS_FOLDER_NAME = "logs";
1687290
1687505
  function getCliSource() {
1687291
- const version7 = "3.52.1";
1687506
+ const version7 = "3.53.0";
1687292
1687507
  return `cli@${version7}`;
1687293
1687508
  }
1687294
1687509
  var DebugLogger = class {
@@ -1707105,7 +1707320,8 @@ function visitTypeDeclaration({ typeName, declaration, visitor, nodePathForType
1707105
1707320
  }
1707106
1707321
  },
1707107
1707322
  ["display-name"]: noop2,
1707108
- availability: noop2
1707323
+ availability: noop2,
1707324
+ validation: noop2
1707109
1707325
  });
1707110
1707326
  }
1707111
1707327
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "3.52.1",
2
+ "version": "3.53.0",
3
3
  "repository": {
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/fern-api/fern.git",