Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3] Use Typescript in admin scripts #338

Merged
merged 17 commits into from
Nov 4, 2024
Merged

[3] Use Typescript in admin scripts #338

merged 17 commits into from
Nov 4, 2024

Conversation

MrOrz
Copy link
Member

@MrOrz MrOrz commented May 13, 2024

This PR tries to turn src/scripts/blockUser into Typescript.

Since it's the first script turned into Typescript, multiple common utilities are being rewritten to Typescript as well, which includes

  • The logic that generates GraphQL context (extracted from src/index to new filesrc/contextFactory)
  • dataloaders
  • user util (src/util/user)
  • client util (src/util/client)
  • CreateOrUpdateArticleReplyFeedback
  • Small JSDoc fix on UpdateArticleReplyStatus

@MrOrz MrOrz changed the base branch from master to update-prettier June 23, 2024 20:09
@MrOrz MrOrz changed the base branch from update-prettier to ts-schema June 23, 2024 20:12
@MrOrz MrOrz changed the title Use Typescript in admin scripts [3] Use Typescript in admin scripts Jun 23, 2024
Base automatically changed from ts-schema to master June 24, 2024 06:11
@MrOrz MrOrz self-assigned this Jul 14, 2024
@coveralls
Copy link

coveralls commented Jul 14, 2024

Coverage Status

coverage: 83.371% (+0.006%) from 83.365%
when pulling a656285 on ts-scripts
into 136c93e on master.

@MrOrz MrOrz marked this pull request as ready for review November 3, 2024 17:13
@MrOrz MrOrz merged commit 25f2df4 into master Nov 4, 2024
5 checks passed
@MrOrz MrOrz deleted the ts-scripts branch November 4, 2024 05:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants