Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Rocket.Chat
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RocketChat
Rocket.Chat
Commits
98fad7df
Unverified
Commit
98fad7df
authored
1 year ago
by
Guilherme Gazzo
Committed by
GitHub
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
ci: patch mongo type definitions (#30449)
parent
068fe488
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.yarn/patches/mongodb-npm-4.17.1-a2fe811ff1.patch
+13
-0
13 additions, 0 deletions
.yarn/patches/mongodb-npm-4.17.1-a2fe811ff1.patch
apps/meteor/tsconfig.typecheck.json
+4
-1
4 additions, 1 deletion
apps/meteor/tsconfig.typecheck.json
package.json
+2
-1
2 additions, 1 deletion
package.json
with
19 additions
and
2 deletions
.yarn/patches/mongodb-npm-4.17.1-a2fe811ff1.patch
0 → 100644
+
13
−
0
View file @
98fad7df
diff --git a/mongodb.d.ts b/mongodb.d.ts
index dd080b553309594c28093365ea101adec5c0a20c..20a616de8c97ec68629c01a848ea8df4fe122bf2 100644
--- a/mongodb.d.ts
+++ b/mongodb.d.ts
@@ -5539,7 +5539,7 @@
export declare interface MonitorOptions extends Omit<ConnectionOptions, 'id' | '
* depth any helpers that make use of NestedPaths should devolve to not asserting any
* type safety on the input.
*/
-export declare type NestedPaths<Type, Depth extends number[]> = Depth['length'] extends 8 ? [] : Type extends string | number | boolean | Date | RegExp | Buffer | Uint8Array | ((...args: any[]) => any) | {
+export declare type NestedPaths<Type, Depth extends number[]> = Depth['length'] extends 1 ? [] : Type extends string | number | boolean | Date | RegExp | Buffer | Uint8Array | ((...args: any[]) => any) | {
_bsontype: string;
} ? [] : Type extends ReadonlyArray<infer ArrayType> ? [] | [number, ...NestedPaths<ArrayType, [...Depth, 1]>] : Type extends Map<string, any> ? [string] : Type extends object ? {
[Key in Extract<keyof Type, string>]: Type[Key] extends Type ? [Key] : Type extends Type[Key] ? [Key] : Type[Key] extends ReadonlyArray<infer ArrayType> ? Type extends ArrayType ? [Key] : ArrayType extends Type ? [Key] : [
This diff is collapsed.
Click to expand it.
apps/meteor/tsconfig.typecheck.json
+
4
−
1
View file @
98fad7df
...
...
@@ -4,7 +4,10 @@
"skipLibCheck"
:
true
,
"noEmit"
:
true
,
"incremental"
:
true
,
"allowImportingTsExtensions"
:
true
"allowImportingTsExtensions"
:
true
,
"paths"
:
{
"mongodb"
:
[
"node_modules/mongodb"
]
}
},
"exclude"
:
[
".meteor"
,
"./packages"
,
"./imports/client"
,
"./ee/server/services"
,
"public/"
,
"private"
]
}
This diff is collapsed.
Click to expand it.
package.json
+
2
−
1
View file @
98fad7df
...
...
@@ -63,6 +63,7 @@
"minimist"
:
"1.2.6"
,
"adm-zip"
:
"0.5.9"
,
"preact@10.15.1"
:
"patch:preact@npm:10.15.1#.yarn/patches/preact-npm-10.15.1-bd458de913.patch"
,
"@storybook/react-docgen-typescript-plugin@1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0"
:
"patch:@storybook/react-docgen-typescript-plugin@npm%3A1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0#./.yarn/patches/@storybook-react-docgen-typescript-plugin-npm-1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0-b31cc57c40.patch"
"@storybook/react-docgen-typescript-plugin@1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0"
:
"patch:@storybook/react-docgen-typescript-plugin@npm%3A1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0#./.yarn/patches/@storybook-react-docgen-typescript-plugin-npm-1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0-b31cc57c40.patch"
,
"mongodb@4.17.1"
:
"patch:mongodb@npm:4.17.1#.yarn/patches/mongodb-npm-4.17.1-a2fe811ff1.patch"
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment