-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ref(ts): Marginally improve types in sourceNodes apis (#7328)
- Loading branch information
1 parent
bca3249
commit 29cb5cd
Showing
7 changed files
with
47 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,19 @@ | ||
import {GatsbyNode} from 'gatsby'; | ||
|
||
import {sourceAppRegistryNodes} from './appRegistryNodes'; | ||
import {sourceAwsLambdaLayerRegistryNodes} from './awsLambdLayerRegistryNodes'; | ||
import {sourcePackageRegistryNodes} from './packageRegistryNodes'; | ||
import {sourcePlatformNodes} from './platformNodes'; | ||
import {relayMetricsNodes} from './relayMetricsNodes'; | ||
import {piiFieldsNodes} from './relayPiiNodes'; | ||
|
||
async function main(params) { | ||
const sourceNodes: GatsbyNode['sourceNodes'] = async params => { | ||
relayMetricsNodes(params); | ||
piiFieldsNodes(params); | ||
await sourcePlatformNodes(params); | ||
await sourcePackageRegistryNodes(params); | ||
await sourceAppRegistryNodes(params); | ||
await sourceAwsLambdaLayerRegistryNodes(params); | ||
} | ||
}; | ||
|
||
export default main; | ||
export default sourceNodes; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29cb5cd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
sentry-docs – ./
sentry-docs-git-master.sentry.dev
sentry-docs.sentry.dev
docs.sentry.io