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

feat: add staff-picker worker #3852

Merged
merged 3 commits into from Oct 1, 2023
Merged

feat: add staff-picker worker #3852

merged 3 commits into from Oct 1, 2023

Conversation

bigint
Copy link
Member

@bigint bigint commented Oct 1, 2023

What does this PR do?

πŸ€– Generated by Copilot at 93df078

This pull request adds a new staff-picks worker package that allows staff members to select and rank lens profiles that they recommend to users. The worker exposes several routes to add, remove, and fetch staff-picks from the database. The pull request also updates the pnpm-lock.yaml file and the database.types.ts file to reflect the new dependencies and database table. Additionally, the pull request simplifies the response creation in the preferences worker handlers by using a helper function from the @hey/lib package.

Related issues

Fixes # (issue)

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Enhancement (non-breaking small changes to existing functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Explanation of the changes

πŸ€– Generated by Copilot at 93df078

  • Add a new worker package for the staff-picks feature (link-link)
  • Define the routes and handlers for adding, removing, and fetching staff-picks (link-link)
  • Create helper functions for building custom requests and checking staff status (link-link)
  • Add type definitions for the custom request and the environment variables (link)
  • Configure the worker deployment and runtime settings using wrangler (link)
  • Enable linting, typescript compilation, and type checking for the worker code (link, link)
  • Document the worker functionality and configuration in README and .dev.vars.example files (link, link)
  • Add a new interface for the staff-picks table in the database (link)
  • Update the preferences worker handlers to use the response helper function from the @hey/lib package (link-link)
  • Update the versions of the @ethersproject dependencies in the pnpm-lock.yaml file (link-link)
  • Add a new entry for the staff-picks worker package in the pnpm-lock.yaml file (link)

Emoji

πŸŒŸπŸ› οΈπŸ“

@vercel
Copy link

vercel bot commented Oct 1, 2023

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Updated (UTC)
prerender βœ… Ready (Inspect) Visit Preview Oct 1, 2023 6:13am
web βœ… Ready (Inspect) Visit Preview Oct 1, 2023 6:13am

@bigint bigint merged commit c2115ea into main Oct 1, 2023
4 of 8 checks passed
@bigint bigint deleted the staff-pick-backend branch October 1, 2023 06:09
@vercel vercel bot temporarily deployed to Preview – prerender October 1, 2023 06:13 Inactive
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.

None yet

1 participant