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

Draft
wants to merge 22 commits into
base: master
Choose a base branch
from
Draft

[3] Use Typescript in admin scripts #338

wants to merge 22 commits into from

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

Coverage Status

coverage: 83.132% (-5.2%) from 88.316%
when pulling 9a2da2f on ts-scripts
into 8a1bffb on master.

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.

2 participants