Skip to content

Commit

Permalink
Merge branch 'main' into issue-165-Refactor_users_page
Browse files Browse the repository at this point in the history
  • Loading branch information
tommyjqliu committed Mar 4, 2024
1 parent 8f9ec3f commit d45ca11
Show file tree
Hide file tree
Showing 60 changed files with 2,411 additions and 450 deletions.
5 changes: 4 additions & 1 deletion .env.local.example
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,7 @@ DATABASE_URL_DIRECT="postgres://postgres:password@localhost:5432/db"
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_BUCKET_NAME=repair-lab-images
AWS_REGION=ap-southeast-2
AWS_REGION=ap-southeast-2
AWS_SES_SOURCE_EMAIL="[email protected]"
AWS_SES_SWITCH=ON
AWS_SES_MOCK_ENDPOINT="http://localhost:8005"
1 change: 1 addition & 0 deletions __mocks__/@clerk/nextjs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ export const mockClerkUsers = [
];

// query partially matches userId, emailAddress, phoneNumber, username, web3Wallet, firstName, lastName
// TODO: support pagination
type BasicSearchParams = { query?: string };
const queryUsers = ({ query }: BasicSearchParams) => {
if (!query) return mockClerkUsers;
Expand Down
4 changes: 4 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
const nextConfig = {
reactStrictMode: true,
images: {
domains: [
"repair-lab-images.s3.ap-southeast-2.amazonaws.com",
"via.placeholder.com"
],
remotePatterns: [
{
protocol: "https",
Expand Down
Loading

0 comments on commit d45ca11

Please sign in to comment.