-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: adding suggest and approve endpoint for the map (#3937)
- Loading branch information
1 parent
f548dc8
commit d2f6f35
Showing
55 changed files
with
1,298 additions
and
629 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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import { Merchants } from "../../components/merchants/details" | ||
import { | ||
MerchantsPendingApprovalDocument, | ||
MerchantsPendingApprovalQuery, | ||
MerchantsPendingApprovalQueryVariables, | ||
} from "../../generated" | ||
import { getClient } from "../graphql-rsc" | ||
|
||
export default async function MerchantScreen() { | ||
const query = await getClient().query< | ||
MerchantsPendingApprovalQuery, | ||
MerchantsPendingApprovalQueryVariables | ||
>({ | ||
query: MerchantsPendingApprovalDocument, | ||
}) | ||
|
||
const merchants = query?.data.merchantsPendingApproval ?? [] | ||
|
||
return ( | ||
<> | ||
<h1 className="mx-6 mt-6 text-2xl font-semibold text-gray-700"> | ||
{"Merchants pending validation"} | ||
</h1> | ||
<Merchants merchants={merchants} /> | ||
</> | ||
) | ||
} |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import { AuditedAccount } from "../generated" | ||
|
||
export type AuditedAccountMainValues = Omit<AuditedAccount, "wallets"> |
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
153 changes: 0 additions & 153 deletions
153
apps/admin-panel/components/account/business-map-update.tsx
This file was deleted.
Oops, something went wrong.
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
File renamed without changes.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.