Skip to content

Commit e548efe

Browse files
authored
fix: update links to docs MONGOSH-1153 MONGOSH-2223 (#2543)
1 parent e403868 commit e548efe

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

packages/i18n/src/locales/en_US.ts

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2446,7 +2446,7 @@ const translations: Catalog = {
24462446
DBRef: {
24472447
help: {
24482448
description: 'The DBRef BSON Class.',
2449-
link: 'https://mongodb.github.io/node-mongodb-native/3.6/api/DBRef.html',
2449+
link: 'https://mongodb.github.io/node-mongodb-native/Next/classes/BSON.DBRef.html',
24502450
example:
24512451
'new DBRef(namespace: string, oid: ObjectId, db: string [optional])',
24522452
},
@@ -2455,23 +2455,23 @@ const translations: Catalog = {
24552455
MaxKey: {
24562456
help: {
24572457
description: 'The MaxKey BSON Class.',
2458-
link: 'https://mongodb.github.io/node-mongodb-native/3.6/api/MaxKey.html',
2458+
link: 'https://mongodb.github.io/node-mongodb-native/Next/classes/BSON.MaxKey.html',
24592459
example: 'new MaxKey()',
24602460
},
24612461
attributes: {},
24622462
},
24632463
MinKey: {
24642464
help: {
24652465
description: 'The MinKey BSON Class',
2466-
link: 'https://mongodb.github.io/node-mongodb-native/3.6/api/MinKey.html',
2466+
link: 'https://mongodb.github.io/node-mongodb-native/Next/classes/BSON.MinKey.html',
24672467
example: 'new MinKey()',
24682468
},
24692469
attributes: {},
24702470
},
24712471
ObjectId: {
24722472
help: {
24732473
description: 'The ObjectId BSON Class',
2474-
link: 'https://mongodb.github.io/node-mongodb-native/3.6/api/ObjectID.html',
2474+
link: 'https://mongodb.github.io/node-mongodb-native/Next/classes/BSON.ObjectId.html',
24752475
example: 'new ObjectId(id: string|number [optional])',
24762476
},
24772477
attributes: {},
@@ -2480,15 +2480,15 @@ const translations: Catalog = {
24802480
help: {
24812481
description:
24822482
'The Symbol BSON Class. Deprecated since server version 1.6',
2483-
link: 'https://mongodb.github.io/node-mongodb-native/3.6/api/Symbol.html',
2483+
link: 'https://mongodb.github.io/node-mongodb-native/Next/classes/BSON.BSONSymbol.html',
24842484
example: 'new BSONSymbol("abc")',
24852485
},
24862486
attributes: {},
24872487
},
24882488
Timestamp: {
24892489
help: {
24902490
description: 'The Timestamp BSON Class',
2491-
link: 'https://mongodb.github.io/node-mongodb-native/3.6/api/Timestamp.html',
2491+
link: 'https://mongodb.github.io/node-mongodb-native/Next/classes/BSON.Timestamp.html',
24922492
example:
24932493
'new Timestamp(low: signed 32 bit number, high: signed 32 bit number)',
24942494
},
@@ -2497,7 +2497,7 @@ const translations: Catalog = {
24972497
Code: {
24982498
help: {
24992499
description: 'The Code BSON Class',
2500-
link: 'https://mongodb.github.io/node-mongodb-native/3.6/api/Code.html',
2500+
link: 'https://mongodb.github.io/node-mongodb-native/Next/classes/BSON.Code.html',
25012501
example: 'new Code("x", { x: 1 } [optional])',
25022502
},
25032503
attributes: {},
@@ -2506,38 +2506,38 @@ const translations: Catalog = {
25062506
help: {
25072507
description:
25082508
'A helper method that constructs a Decimal128 BSON Class from a string',
2509-
link: 'https://mongodb.github.io/node-mongodb-native/3.6/api/Decimal128.html',
2509+
link: 'https://mongodb.github.io/node-mongodb-native/Next/classes/BSON.Decimal128.html',
25102510
example: 'NumberDecimal("1.23423423")',
25112511
},
25122512
},
25132513
Decimal128: {
25142514
help: {
25152515
description:
25162516
'The Decimal128 BSON Class. Takes a Buffer as an argument.',
2517-
link: 'https://mongodb.github.io/node-mongodb-native/3.6/api/Decimal128.html',
2517+
link: 'https://mongodb.github.io/node-mongodb-native/Next/classes/BSON.Decimal128.html',
25182518
},
25192519
attributes: {},
25202520
},
25212521
NumberInt: {
25222522
help: {
25232523
description:
25242524
'A helper method that constructs an Int32 BSON Class from a string',
2525-
link: 'https://mongodb.github.io/node-mongodb-native/3.6/api/Int32.html',
2525+
link: 'https://mongodb.github.io/node-mongodb-native/Next/classes/BSON.Int32.html',
25262526
example: 'NumberInt("123")',
25272527
},
25282528
},
25292529
Int32: {
25302530
help: {
25312531
description: 'The 32-bit Integer BSON Class',
2532-
link: 'https://mongodb.github.io/node-mongodb-native/3.6/api/Int32.html',
2532+
link: 'https://mongodb.github.io/node-mongodb-native/Next/classes/BSON.Int32.html',
25332533
example: 'new Int32(123)',
25342534
},
25352535
attributes: {},
25362536
},
25372537
Long: {
25382538
help: {
25392539
description: 'The Long BSON Class',
2540-
link: 'https://mongodb.github.io/node-mongodb-native/3.6/api/Long.html',
2540+
link: 'https://mongodb.github.io/node-mongodb-native/Next/classes/BSON.Long.html',
25412541
example:
25422542
'new Long(low: signed 32 bit number, high: signed 32 bit number)',
25432543
},
@@ -2546,7 +2546,7 @@ const translations: Catalog = {
25462546
Double: {
25472547
help: {
25482548
description: 'The Double BSON Class.',
2549-
link: 'https://mongodb.github.io/node-mongodb-native/3.6/api/Long.html',
2549+
link: 'https://mongodb.github.io/node-mongodb-native/Next/classes/BSON.Double.html',
25502550
example: 'new Double(123)',
25512551
},
25522552
attributes: {},
@@ -2555,7 +2555,7 @@ const translations: Catalog = {
25552555
help: {
25562556
description:
25572557
'A helper method that constructs a Long BSON Class from a string',
2558-
link: 'https://mongodb.github.io/node-mongodb-native/3.6/api/Long.html',
2558+
link: 'https://mongodb.github.io/node-mongodb-native/Next/classes/BSON.Long.html',
25592559
example: 'NumberLong("123")',
25602560
},
25612561
},
@@ -2572,15 +2572,15 @@ const translations: Catalog = {
25722572
BinData: {
25732573
help: {
25742574
description: 'A helper method that constructs a Binary BSON Class.',
2575-
link: 'https://mongodb.github.io/node-mongodb-native/3.6/api/Binary.html',
2575+
link: 'https://mongodb.github.io/node-mongodb-native/Next/classes/BSON.Binary.html',
25762576
example: 'BinData(subtype: number, base64string)',
25772577
},
25782578
},
25792579
Binary: {
25802580
help: {
25812581
description:
25822582
'The Binary BSON Class that takes in (Buffer, subtype: number) as arguments.',
2583-
link: 'https://mongodb.github.io/node-mongodb-native/3.6/api/Binary.html',
2583+
link: 'https://mongodb.github.io/node-mongodb-native/Next/classes/BSON.Binary.html',
25842584
},
25852585
attributes: {
25862586
SUBTYPE_BYTE_ARRAY: {

0 commit comments

Comments
 (0)