{
  "version": "1.0.0",
  "project": {
    "name": "treetracker-wallet-app",
    "languages": [
      "css",
      "dockerfile",
      "html",
      "javascript",
      "json",
      "markdown",
      "typescript",
      "yaml"
    ],
    "frameworks": [
      "Next.js",
      "React",
      "React Native",
      "Expo",
      "NestJS",
      "Material UI",
      "Jotai",
      "Jest",
      "Cypress",
      "WebdriverIO",
      "Docker",
      "GitHub Actions"
    ],
    "description": "Greenstand's secure, user-friendly digital wallet for managing and transferring tokens, built as a Yarn workspaces monorepo with a Next.js web app, an Expo React Native mobile app, a NestJS user API, and shared TypeScript packages. It is part of the Greenstand ecosystem for transparent and verifiable tree planting.",
    "analyzedAt": "2026-10-17T05:16:57Z",
    "gitCommitHash": "3c1411357ce9dd6efb3b33e1ed95a23d51d16f16"
  },
  "nodes": [
    {
      "id": "file:apps/bdd/features/step-definitions/steps.ts",
      "type": "file",
      "name": "steps.ts",
      "filePath": "apps/bdd/features/step-definitions/steps.ts",
      "summary": "WebdriverIO Cucumber step definitions for the BDD E2E suite: Keycloak login and registration, wallet create and details, token details and map tab, send/accept/decline/cancel transfers, settings, and wallet customization with image uploads. Seeds accounts through utils/seed.ts and finds pending transfers with the wallet getTransfers and getTransferTokens API clients.",
      "tags": [
        "test",
        "bdd",
        "e2e",
        "step-definitions",
        "webdriverio"
      ],
      "complexity": "complex",
      "languageNotes": "Step callbacks use browser.execute to run DOM code in the page context, for example to set Keycloak inputs, inject PNG File blobs into file inputs, and click elements that overlays intercept."
    },
    {
      "id": "file:packages/wallet/src/api/acceptTransfer.ts",
      "type": "file",
      "name": "acceptTransfer.ts",
      "filePath": "packages/wallet/src/api/acceptTransfer.ts",
      "summary": "Wallet package API client that lets a receiver accept a pending transfer via POST /transfers/:id/accept on the wallet API. Consumed by usePendingTransfers and re-exported from the package index.",
      "tags": [
        "api-client",
        "transfer",
        "http",
        "axios"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/wallet/src/api/cancelActionToken.ts",
      "type": "file",
      "name": "cancelActionToken.ts",
      "filePath": "packages/wallet/src/api/cancelActionToken.ts",
      "summary": "API client that revokes an outstanding share link (action token) through DELETE /action-tokens/:id so it can no longer be redeemed. Used by the useActionTokens hook.",
      "tags": [
        "api-client",
        "action-token",
        "share-link",
        "http"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/wallet/src/api/cancelTransfer.ts",
      "type": "file",
      "name": "cancelTransfer.ts",
      "filePath": "packages/wallet/src/api/cancelTransfer.ts",
      "summary": "API client that lets a sender cancel a transfer they initiated, before the receiver accepts it, via DELETE /transfers/:id. Consumed by usePendingTransfers.",
      "tags": [
        "api-client",
        "transfer",
        "http",
        "axios"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/wallet/src/api/createWallet.ts",
      "type": "file",
      "name": "createWallet.ts",
      "filePath": "packages/wallet/src/api/createWallet.ts",
      "summary": "API client that creates a new managed wallet with POST /wallets, mapping the shared Wallet type's name and about fields into the request body. Used by useCreateWallet and by the createWallet e2e test.",
      "tags": [
        "api-client",
        "wallet",
        "http",
        "axios",
        "tested"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/wallet/src/api/declineTransfer.ts",
      "type": "file",
      "name": "declineTransfer.ts",
      "filePath": "packages/wallet/src/api/declineTransfer.ts",
      "summary": "API client that lets a receiver decline a pending transfer via POST /transfers/:id/decline. Consumed by the usePendingTransfers hook.",
      "tags": [
        "api-client",
        "transfer",
        "http",
        "axios"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/wallet/src/api/errors.ts",
      "type": "file",
      "name": "errors.ts",
      "filePath": "packages/wallet/src/api/errors.ts",
      "summary": "Defines the typed wallet API error that carries the server reason slug, plus a predicate for the no_wallet case, so clients can branch without parsing message text. Imported by redeemActionToken.",
      "tags": [
        "error-handling",
        "type-definition",
        "api-client",
        "utility"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/wallet/src/api/generateActionToken.ts",
      "type": "file",
      "name": "generateActionToken.ts",
      "filePath": "packages/wallet/src/api/generateActionToken.ts",
      "summary": "API client with input and result types for issuing a signed, expiring action token (share link) via POST /action-tokens, which authorizes a later transfer of specific tokens or an N-token bundle out of the caller's wallet.",
      "tags": [
        "api-client",
        "action-token",
        "share-link",
        "http"
      ],
      "complexity": "moderate"
    },
    {
      "id": "file:packages/wallet/src/api/getActionTokens.ts",
      "type": "file",
      "name": "getActionTokens.ts",
      "filePath": "packages/wallet/src/api/getActionTokens.ts",
      "summary": "API client for listing the caller's issued share links via GET /action-tokens with optional state, limit and offset filters, returning ActionTokenSummary records. Used by the useActionTokens hook.",
      "tags": [
        "api-client",
        "action-token",
        "share-link",
        "pagination"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/wallet/src/api/getToken.ts",
      "type": "file",
      "name": "getToken.ts",
      "filePath": "packages/wallet/src/api/getToken.ts",
      "summary": "API client that fetches one token record from the wallet API via GET /tokens/:id. Consumed by the useGetToken hook.",
      "tags": [
        "api-client",
        "token",
        "http",
        "axios"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/wallet/src/api/getTokenTransactions.ts",
      "type": "file",
      "name": "getTokenTransactions.ts",
      "filePath": "packages/wallet/src/api/getTokenTransactions.ts",
      "summary": "API client that retrieves the transaction (lineage) history of a token via GET /tokens/:id/transactions. Consumed by the useGetTokenTransactions hook.",
      "tags": [
        "api-client",
        "token",
        "transaction-history",
        "http"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/wallet/src/api/getTokenTree.ts",
      "type": "file",
      "name": "getTokenTree.ts",
      "filePath": "packages/wallet/src/api/getTokenTree.ts",
      "summary": "API client and TokenTree type for fetching the tree linked to a token (tree id, image URL, species name) from the public Treetracker query API instead of the wallet API. Used by useGetTokenTree.",
      "tags": [
        "api-client",
        "token",
        "tree",
        "query-api"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/wallet/src/api/getTransfer.ts",
      "type": "file",
      "name": "getTransfer.ts",
      "filePath": "packages/wallet/src/api/getTransfer.ts",
      "summary": "API client that fetches the details of one transfer via GET /transfers/:id. Used by the useGetTransfer hook.",
      "tags": [
        "api-client",
        "transfer",
        "http",
        "axios"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/wallet/src/api/getTransferTokens.ts",
      "type": "file",
      "name": "getTransferTokens.ts",
      "filePath": "packages/wallet/src/api/getTransferTokens.ts",
      "summary": "API client that lists the tokens included in a transfer via GET /transfers/:id/tokens. Used by useGetTransfer and by the BDD send-token steps to find the received token id.",
      "tags": [
        "api-client",
        "transfer",
        "token",
        "http"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/wallet/src/api/getTransfers.ts",
      "type": "file",
      "name": "getTransfers.ts",
      "filePath": "packages/wallet/src/api/getTransfers.ts",
      "summary": "API client and GetTransfersParams type for listing transfers via GET /transfers with pagination, state, wallet, date-range and sort filters. Used by useGetTransfers, usePendingTransfers and the BDD steps.",
      "tags": [
        "api-client",
        "transfer",
        "pagination",
        "filtering"
      ],
      "complexity": "moderate",
      "languageNotes": "The second parameter is a union (number | GetTransfersParams) so legacy getTransfers(token, 5) calls keep working next to the filter-object form."
    },
    {
      "id": "file:packages/wallet/src/api/getWallets.ts",
      "type": "file",
      "name": "getWallets.ts",
      "filePath": "packages/wallet/src/api/getWallets.ts",
      "summary": "API client that lists the caller's wallets via GET /wallets with a limit parameter. Consumed by the useGetWallets hook.",
      "tags": [
        "api-client",
        "wallet",
        "http",
        "axios"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/wallet/src/api/redeemActionToken.ts",
      "type": "file",
      "name": "redeemActionToken.ts",
      "filePath": "packages/wallet/src/api/redeemActionToken.ts",
      "summary": "API client and result type for redeeming a share link via POST /action-tokens/redeem, which moves the named tokens from the sender wallet into the caller's wallet as one completed transfer. Throws the typed WalletApiError so callers can detect reasons such as no_wallet.",
      "tags": [
        "api-client",
        "action-token",
        "share-link",
        "error-handling"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/wallet/src/api/sendTransfer.ts",
      "type": "file",
      "name": "sendTransfer.ts",
      "filePath": "packages/wallet/src/api/sendTransfer.ts",
      "summary": "API client and SendTransferInput type for starting a transfer of specific token ids or of an N-token bundle from a sender wallet to a receiver wallet via POST /transfers. Used by the useSendTransfer hook.",
      "tags": [
        "api-client",
        "transfer",
        "http",
        "axios"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/bdd/features/step-definitions/steps.ts:keycloakLogin",
      "type": "function",
      "name": "keycloakLogin",
      "filePath": "apps/bdd/features/step-definitions/steps.ts",
      "lineRange": [
        43,
        68
      ],
      "summary": "Fills the Keycloak hosted login form by setting #username and #password through browser.execute (to avoid WebDriver special-character handling), clicks #kc-login, and waits for the app navigation-home element. Used by the login, registered-account, settings and switchUser steps.",
      "tags": [
        "authentication",
        "keycloak",
        "e2e",
        "helper"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/bdd/features/step-definitions/steps.ts:switchUser",
      "type": "function",
      "name": "switchUser",
      "filePath": "apps/bdd/features/step-definitions/steps.ts",
      "lineRange": [
        395,
        422
      ],
      "summary": "Switches the browser to another user: it visits the Keycloak realm origin to delete its SSO cookies, clears app storage and cookies on /login, then calls keycloakLogin. Used by the two-user send-token, transfers and customize-wallet scenarios.",
      "tags": [
        "authentication",
        "keycloak",
        "session",
        "e2e"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:packages/wallet/src/api/acceptTransfer.ts:acceptTransfer",
      "type": "function",
      "name": "acceptTransfer",
      "filePath": "packages/wallet/src/api/acceptTransfer.ts",
      "lineRange": [
        5,
        26
      ],
      "summary": "Sends an authenticated POST to TREETRACKER_WALLET_API/transfers/{id}/accept and returns the completed transfer; maps Axios response errors to Error with the API message or 'Failed to accept transfer'. Wrapped by usePendingTransfers as its accept action.",
      "tags": [
        "api-client",
        "transfer",
        "http"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:packages/wallet/src/api/cancelActionToken.ts:cancelActionToken",
      "type": "function",
      "name": "cancelActionToken",
      "filePath": "packages/wallet/src/api/cancelActionToken.ts",
      "lineRange": [
        6,
        26
      ],
      "summary": "Issues an authenticated DELETE to /action-tokens/{id} and returns the cancelled link summary, converting Axios errors to Error('Failed to cancel share link') or the server message. Called by useActionTokens.cancel before the list reloads.",
      "tags": [
        "api-client",
        "action-token",
        "http"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:packages/wallet/src/api/cancelTransfer.ts:cancelTransfer",
      "type": "function",
      "name": "cancelTransfer",
      "filePath": "packages/wallet/src/api/cancelTransfer.ts",
      "lineRange": [
        6,
        26
      ],
      "summary": "Sends an authenticated DELETE to /transfers/{id} and returns the cancelled transfer, surfacing the API error message or 'Failed to cancel transfer'. Wrapped by usePendingTransfers as its cancel action.",
      "tags": [
        "api-client",
        "transfer",
        "http"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:packages/wallet/src/api/createWallet.ts:createWallet",
      "type": "function",
      "name": "createWallet",
      "filePath": "packages/wallet/src/api/createWallet.ts",
      "lineRange": [
        5,
        31
      ],
      "summary": "Posts { wallet: walletData.name, about: walletData.about } to /wallets with a Bearer token and returns the created wallet; logs and rethrows Axios errors as Error with the server message or 'Failed to create wallet'. Takes (walletData, token), unlike the other clients.",
      "tags": [
        "api-client",
        "wallet",
        "http"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:packages/wallet/src/api/declineTransfer.ts:declineTransfer",
      "type": "function",
      "name": "declineTransfer",
      "filePath": "packages/wallet/src/api/declineTransfer.ts",
      "lineRange": [
        5,
        26
      ],
      "summary": "Posts an empty body to /transfers/{id}/decline with a Bearer token and returns the resulting transfer, rethrowing the server message or 'Failed to decline transfer'. Wrapped by usePendingTransfers as its decline action.",
      "tags": [
        "api-client",
        "transfer",
        "http"
      ],
      "complexity": "simple"
    },
    {
      "id": "class:packages/wallet/src/api/errors.ts:WalletApiError",
      "type": "class",
      "name": "WalletApiError",
      "filePath": "packages/wallet/src/api/errors.ts",
      "lineRange": [
        3,
        11
      ],
      "summary": "Error subclass named WalletApiError that stores an optional readonly reason slug from the wallet API response next to the message. Thrown by redeemActionToken on HTTP error responses.",
      "tags": [
        "error-handling",
        "custom-error",
        "api-client"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:packages/wallet/src/api/errors.ts:isNoWalletError",
      "type": "function",
      "name": "isNoWalletError",
      "filePath": "packages/wallet/src/api/errors.ts",
      "lineRange": [
        14,
        16
      ],
      "summary": "Predicate that returns true when an unknown error is a WalletApiError whose reason equals 'no_wallet', which means the signed-in account has no wallet yet.",
      "tags": [
        "error-handling",
        "predicate",
        "utility"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:packages/wallet/src/api/generateActionToken.ts:generateActionToken",
      "type": "function",
      "name": "generateActionToken",
      "filePath": "packages/wallet/src/api/generateActionToken.ts",
      "lineRange": [
        19,
        56
      ],
      "summary": "Builds a body with the explicit token id list or a bundle { bundle_size }, plus recipient_email and sender_wallet, posts it to /action-tokens, and returns { action_token, expires_at, token_count }; errors become 'Failed to generate action token' or the API message.",
      "tags": [
        "api-client",
        "action-token",
        "share-link"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:packages/wallet/src/api/getActionTokens.ts:getActionTokens",
      "type": "function",
      "name": "getActionTokens",
      "filePath": "packages/wallet/src/api/getActionTokens.ts",
      "lineRange": [
        18,
        47
      ],
      "summary": "Serializes optional state, limit and offset params into a URLSearchParams query, performs an authenticated GET on /action-tokens, and returns { action_tokens, query, total }; failures raise 'Failed to get share links' or the server message.",
      "tags": [
        "api-client",
        "action-token",
        "pagination"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:packages/wallet/src/api/getToken.ts:getToken",
      "type": "function",
      "name": "getToken",
      "filePath": "packages/wallet/src/api/getToken.ts",
      "lineRange": [
        4,
        22
      ],
      "summary": "Performs an authenticated GET on TREETRACKER_WALLET_API/tokens/{id} and returns the token object, translating Axios errors to Error('Failed to get token') or the API message. Called by useGetToken.",
      "tags": [
        "api-client",
        "token",
        "http"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:packages/wallet/src/api/getTokenTransactions.ts:getTokenTransactions",
      "type": "function",
      "name": "getTokenTransactions",
      "filePath": "packages/wallet/src/api/getTokenTransactions.ts",
      "lineRange": [
        5,
        29
      ],
      "summary": "Calls GET /tokens/{id}/transactions?limit={limit} (default 100) with a Bearer token and returns the { history } payload; errors map to 'Failed to get token transactions' or the server message.",
      "tags": [
        "api-client",
        "token",
        "transaction-history"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:packages/wallet/src/api/getTokenTree.ts:getTokenTree",
      "type": "function",
      "name": "getTokenTree",
      "filePath": "packages/wallet/src/api/getTokenTree.ts",
      "lineRange": [
        10,
        22
      ],
      "summary": "Sends an unauthenticated GET to TREETRACKER_QUERY_API/tokens/{id} and returns the TokenTree data; Axios errors become 'Failed to get the tree for this token' or the server message.",
      "tags": [
        "api-client",
        "tree",
        "query-api"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:packages/wallet/src/api/getTransfer.ts:getTransfer",
      "type": "function",
      "name": "getTransfer",
      "filePath": "packages/wallet/src/api/getTransfer.ts",
      "lineRange": [
        5,
        25
      ],
      "summary": "Performs an authenticated GET on /transfers/{id} and returns the transfer object, rethrowing the API message or 'Failed to get transfer'. Called in parallel with getTransferTokens by useGetTransfer.",
      "tags": [
        "api-client",
        "transfer",
        "http"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:packages/wallet/src/api/getTransferTokens.ts:getTransferTokens",
      "type": "function",
      "name": "getTransferTokens",
      "filePath": "packages/wallet/src/api/getTransferTokens.ts",
      "lineRange": [
        5,
        29
      ],
      "summary": "Calls GET /transfers/{id}/tokens?limit={limit} (default 100) with a Bearer token and returns { tokens }; errors become 'Failed to get transfer tokens' or the server message.",
      "tags": [
        "api-client",
        "transfer",
        "token"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:packages/wallet/src/api/getTransfers.ts:getTransfers",
      "type": "function",
      "name": "getTransfers",
      "filePath": "packages/wallet/src/api/getTransfers.ts",
      "lineRange": [
        15,
        55
      ],
      "summary": "Accepts a numeric limit (back-compat) or a params object, builds the query with limit default 5, optional offset/state/wallet/before/after, and sort_by created_at, order desc defaults, then returns { transfers, query, total } from the authenticated GET.",
      "tags": [
        "api-client",
        "transfer",
        "filtering",
        "pagination"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:packages/wallet/src/api/getWallets.ts:getWallets",
      "type": "function",
      "name": "getWallets",
      "filePath": "packages/wallet/src/api/getWallets.ts",
      "lineRange": [
        4,
        25
      ],
      "summary": "Performs an authenticated GET on /wallets?limit={numberOfWallets} (default 10) and returns the raw response with the wallets array; failures raise 'Failed to get wallets' or the server message.",
      "tags": [
        "api-client",
        "wallet",
        "http"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:packages/wallet/src/api/redeemActionToken.ts:redeemActionToken",
      "type": "function",
      "name": "redeemActionToken",
      "filePath": "packages/wallet/src/api/redeemActionToken.ts",
      "lineRange": [
        14,
        41
      ],
      "summary": "Posts { action_token, wallet? } to /action-tokens/redeem with a Bearer token and returns the transfer result; on HTTP errors it throws WalletApiError with the server message and the reason slug.",
      "tags": [
        "api-client",
        "action-token",
        "error-handling"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:packages/wallet/src/api/sendTransfer.ts:sendTransfer",
      "type": "function",
      "name": "sendTransfer",
      "filePath": "packages/wallet/src/api/sendTransfer.ts",
      "lineRange": [
        14,
        50
      ],
      "summary": "Builds a tokens-list or bundle body with sender_wallet, receiver_wallet and claim (default false), posts it to /transfers, and returns the created transfer; errors become 'Failed to send transfer' or the API message.",
      "tags": [
        "api-client",
        "transfer",
        "http"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/wallet/src/api/updateWallet.ts",
      "type": "file",
      "name": "updateWallet.ts",
      "filePath": "packages/wallet/src/api/updateWallet.ts",
      "summary": "API client that updates a wallet profile through PATCH /wallets/:id with multipart FormData, because the API rejects JSON, including optional cover and logo image blobs. Used by the useUpdateWallet hook.",
      "tags": [
        "api-client",
        "wallet",
        "file-upload",
        "multipart"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/wallet/src/hooks/useActionTokens.ts",
      "type": "file",
      "name": "useActionTokens.ts",
      "filePath": "packages/wallet/src/hooks/useActionTokens.ts",
      "summary": "React hook that loads the share links (action tokens) of the signed-in user and exposes a cancel action that revokes a link and refreshes the list.",
      "tags": [
        "hook",
        "react",
        "action-token",
        "share-link"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/wallet/src/hooks/useCreateWallet.ts",
      "type": "file",
      "name": "useCreateWallet.ts",
      "filePath": "packages/wallet/src/hooks/useCreateWallet.ts",
      "summary": "Thin React hook that binds the createWallet API call to the current auth token from the core tokenAtom.",
      "tags": [
        "hook",
        "react",
        "wallet",
        "jotai"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/wallet/src/hooks/useGetToken.ts",
      "type": "file",
      "name": "useGetToken.ts",
      "filePath": "packages/wallet/src/hooks/useGetToken.ts",
      "summary": "React hook and TokenDetails type for loading a single token record by id from the wallet API.",
      "tags": [
        "hook",
        "react",
        "token",
        "data-fetching"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/wallet/src/hooks/useGetTokenTransactions.ts",
      "type": "file",
      "name": "useGetTokenTransactions.ts",
      "filePath": "packages/wallet/src/hooks/useGetTokenTransactions.ts",
      "summary": "React hook that loads the transaction (lineage) history of one token for display on the token details page.",
      "tags": [
        "hook",
        "react",
        "token",
        "transaction-history"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/wallet/src/hooks/useGetTokenTree.ts",
      "type": "file",
      "name": "useGetTokenTree.ts",
      "filePath": "packages/wallet/src/hooks/useGetTokenTree.ts",
      "summary": "React hook that loads the tree data linked to a token from the public query API, without authentication.",
      "tags": [
        "hook",
        "react",
        "token",
        "tree"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/wallet/src/hooks/useGetTransfer.ts",
      "type": "file",
      "name": "useGetTransfer.ts",
      "filePath": "packages/wallet/src/hooks/useGetTransfer.ts",
      "summary": "React hook that loads the details of one transfer together with the list of tokens it carries.",
      "tags": [
        "hook",
        "react",
        "transfer",
        "data-fetching"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/wallet/src/hooks/useGetTransfers.ts",
      "type": "file",
      "name": "useGetTransfers.ts",
      "filePath": "packages/wallet/src/hooks/useGetTransfers.ts",
      "summary": "React hook that loads the newest transfers of the signed-in user and re-exports the Transfer type for consumers.",
      "tags": [
        "hook",
        "react",
        "transfer",
        "data-fetching"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/wallet/src/hooks/useGetWallets.ts",
      "type": "file",
      "name": "useGetWallets.ts",
      "filePath": "packages/wallet/src/hooks/useGetWallets.ts",
      "summary": "React hook that loads the wallets of the signed-in user and normalizes each one for display, including a formatted creation date.",
      "tags": [
        "hook",
        "react",
        "wallet",
        "data-fetching"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/wallet/src/hooks/useIncomingTransfers.ts",
      "type": "file",
      "name": "useIncomingTransfers.ts",
      "filePath": "packages/wallet/src/hooks/useIncomingTransfers.ts",
      "summary": "React hook that narrows pending transfers to the ones addressed to the user's own wallets, which are the only transfers the user can accept.",
      "tags": [
        "hook",
        "react",
        "transfer",
        "composition"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/wallet/src/hooks/usePendingTransfers.ts",
      "type": "file",
      "name": "usePendingTransfers.ts",
      "filePath": "packages/wallet/src/hooks/usePendingTransfers.ts",
      "summary": "React hook that lists requested and pending transfers, optionally scoped to one wallet, and exposes accept, decline and cancel actions that reload the list.",
      "tags": [
        "hook",
        "react",
        "transfer",
        "state-management"
      ],
      "complexity": "moderate",
      "languageNotes": "withReload is a higher-order function that turns each (token, id) API call into an (id) action which checks auth and reloads the list after the call."
    },
    {
      "id": "file:packages/wallet/src/hooks/useSendTransfer.ts",
      "type": "file",
      "name": "useSendTransfer.ts",
      "filePath": "packages/wallet/src/hooks/useSendTransfer.ts",
      "summary": "Thin React hook that binds the sendTransfer API call to the current auth token from the core tokenAtom.",
      "tags": [
        "hook",
        "react",
        "transfer",
        "jotai"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/wallet/src/hooks/useUpdateWallet.ts",
      "type": "file",
      "name": "useUpdateWallet.ts",
      "filePath": "packages/wallet/src/hooks/useUpdateWallet.ts",
      "summary": "Thin React hook that binds the multipart updateWallet API call to the current auth token from the core tokenAtom.",
      "tags": [
        "hook",
        "react",
        "wallet",
        "jotai"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/wallet/src/index.ts",
      "type": "file",
      "name": "index.ts",
      "filePath": "packages/wallet/src/index.ts",
      "summary": "Barrel entry point of the @treetracker/wallet package that re-exports every API client, React hook and shared type, including getTokens and useGetTokens. The createWallet e2e test imports it, while the BDD steps bypass it to avoid pulling in React hooks.",
      "tags": [
        "entry-point",
        "barrel",
        "exports",
        "public-api",
        "tested"
      ],
      "complexity": "simple",
      "languageNotes": "Uses only `export *` re-exports, so the import scanner records no resolved imports for this file."
    },
    {
      "id": "file:packages/wallet/src/types/wallet.ts",
      "type": "file",
      "name": "wallet.ts",
      "filePath": "packages/wallet/src/types/wallet.ts",
      "summary": "Shared TypeScript types for the wallet package: Wallet, Transfer (with both list and detail field names), ActionTokenSummary, Transaction and WalletProfileUpdate, mirroring wallet API responses. Imported by the API clients, hooks and the e2e test.",
      "tags": [
        "type-definition",
        "data-model",
        "wallet",
        "transfer"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/wallet/src/utils/config.ts",
      "type": "file",
      "name": "config.ts",
      "filePath": "packages/wallet/src/utils/config.ts",
      "summary": "Resolves the wallet API and query API base URLs at load time: from NEXT_PUBLIC_* env variables (loaded via dotenv) on web, or from Expo Constants extra config on React Native. Imported by every wallet API client.",
      "tags": [
        "config",
        "environment",
        "cross-platform",
        "utility"
      ],
      "complexity": "simple",
      "languageNotes": "expo-constants is loaded with a runtime require inside the native branch, so web bundles never import it."
    },
    {
      "id": "file:packages/wallet/tests/createWallet.spec.e2e.ts",
      "type": "file",
      "name": "createWallet.spec.e2e.ts",
      "filePath": "packages/wallet/tests/createWallet.spec.e2e.ts",
      "summary": "Jest end-to-end test that gets a real Keycloak access token and calls createWallet through the package index against the live wallet API, checking a successful create and a rejected empty-name request.",
      "tags": [
        "test",
        "e2e",
        "jest",
        "wallet"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:packages/wallet/src/api/updateWallet.ts:updateWallet",
      "type": "function",
      "name": "updateWallet",
      "filePath": "packages/wallet/src/api/updateWallet.ts",
      "lineRange": [
        8,
        46
      ],
      "summary": "Appends display_name, about, add_to_web_map and optional cover_image/logo_image blobs to a FormData, sends an authenticated PATCH to /wallets/{walletId} with a 30s timeout so the save spinner cannot hang, and returns the updated wallet.",
      "tags": [
        "api-client",
        "wallet",
        "multipart",
        "file-upload"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:packages/wallet/src/hooks/useActionTokens.ts:useActionTokens",
      "type": "function",
      "name": "useActionTokens",
      "filePath": "packages/wallet/src/hooks/useActionTokens.ts",
      "lineRange": [
        9,
        43
      ],
      "summary": "Reads the auth token from the core tokenAtom via jotai, loads links with getActionTokens on mount, and returns { links, isLoading, error, reload, cancel } where cancel calls cancelActionToken and then reloads.",
      "tags": [
        "hook",
        "react",
        "action-token"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:packages/wallet/src/hooks/useCreateWallet.ts:useCreateWallet",
      "type": "function",
      "name": "useCreateWallet",
      "filePath": "packages/wallet/src/hooks/useCreateWallet.ts",
      "lineRange": [
        6,
        17
      ],
      "summary": "Returns { createWallet } whose function throws 'User not authenticated' when no token exists, otherwise forwards the Wallet data and the token to the createWallet API client.",
      "tags": [
        "hook",
        "react",
        "wallet"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:packages/wallet/src/hooks/useGetToken.ts:useGetToken",
      "type": "function",
      "name": "useGetToken",
      "filePath": "packages/wallet/src/hooks/useGetToken.ts",
      "lineRange": [
        16,
        43
      ],
      "summary": "Fetches the token with getToken whenever the auth token or the id changes, skips the call when either is missing, and returns { token, isTokenLoading, error }.",
      "tags": [
        "hook",
        "react",
        "token"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:packages/wallet/src/hooks/useGetTokenTransactions.ts:useGetTokenTransactions",
      "type": "function",
      "name": "useGetTokenTransactions",
      "filePath": "packages/wallet/src/hooks/useGetTokenTransactions.ts",
      "lineRange": [
        8,
        35
      ],
      "summary": "Calls getTokenTransactions with the auth token and token id on change, stores result.history as Transaction[] with an empty fallback, and returns { transactions, isLoading, error }.",
      "tags": [
        "hook",
        "react",
        "transaction-history"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:packages/wallet/src/hooks/useGetTokenTree.ts:useGetTokenTree",
      "type": "function",
      "name": "useGetTokenTree",
      "filePath": "packages/wallet/src/hooks/useGetTokenTree.ts",
      "lineRange": [
        4,
        29
      ],
      "summary": "Fetches TokenTree data via getTokenTree whenever the id changes, skips the call for an empty id, and returns { tree, isTreeLoading, treeError }.",
      "tags": [
        "hook",
        "react",
        "tree"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:packages/wallet/src/hooks/useGetTransfer.ts:useGetTransfer",
      "type": "function",
      "name": "useGetTransfer",
      "filePath": "packages/wallet/src/hooks/useGetTransfer.ts",
      "lineRange": [
        9,
        41
      ],
      "summary": "Runs getTransfer and getTransferTokens in parallel with Promise.all, treats a token-list failure as an empty list, and returns { transfer, tokens, isLoading, error }.",
      "tags": [
        "hook",
        "react",
        "transfer"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:packages/wallet/src/hooks/useGetTransfers.ts:useGetTransfers",
      "type": "function",
      "name": "useGetTransfers",
      "filePath": "packages/wallet/src/hooks/useGetTransfers.ts",
      "lineRange": [
        9,
        37
      ],
      "summary": "Loads up to limit (default 5) transfers with getTransfers through a memoized load callback and returns { transfers, isTransfersLoading, error, reload }.",
      "tags": [
        "hook",
        "react",
        "transfer"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:packages/wallet/src/hooks/useGetWallets.ts:useGetWallets",
      "type": "function",
      "name": "useGetWallets",
      "filePath": "packages/wallet/src/hooks/useGetWallets.ts",
      "lineRange": [
        6,
        56
      ],
      "summary": "Calls getWallets(token, 10), maps each wallet to id, name, about, display_name, logo/cover URLs, token counts and an en-US long-form created_at date, and returns { wallets, isWalletLoading, error, reload } where reload resolves true on success.",
      "tags": [
        "hook",
        "react",
        "wallet",
        "normalization"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:packages/wallet/src/hooks/useIncomingTransfers.ts:useIncomingTransfers",
      "type": "function",
      "name": "useIncomingTransfers",
      "filePath": "packages/wallet/src/hooks/useIncomingTransfers.ts",
      "lineRange": [
        7,
        25
      ],
      "summary": "Combines useGetWallets and usePendingTransfers, builds a memoized set of the user's wallet names, filters transfers by destination_wallet, and returns { incoming, isLoading } with a merged loading flag.",
      "tags": [
        "hook",
        "react",
        "transfer",
        "filtering"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:packages/wallet/src/hooks/usePendingTransfers.ts:usePendingTransfers",
      "type": "function",
      "name": "usePendingTransfers",
      "filePath": "packages/wallet/src/hooks/usePendingTransfers.ts",
      "lineRange": [
        12,
        62
      ],
      "summary": "Fetches requested and pending transfers in parallel via getTransfers (limit 100 each), merges them, and returns accept, decline and cancel actions that a withReload wrapper builds around acceptTransfer, declineTransfer and cancelTransfer.",
      "tags": [
        "hook",
        "react",
        "transfer",
        "state-management"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:packages/wallet/src/hooks/useSendTransfer.ts:useSendTransfer",
      "type": "function",
      "name": "useSendTransfer",
      "filePath": "packages/wallet/src/hooks/useSendTransfer.ts",
      "lineRange": [
        5,
        16
      ],
      "summary": "Returns { sendTransfer } whose function throws 'User not authenticated' without a token, otherwise forwards the SendTransferInput to the sendTransfer API client.",
      "tags": [
        "hook",
        "react",
        "transfer"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:packages/wallet/src/hooks/useUpdateWallet.ts:useUpdateWallet",
      "type": "function",
      "name": "useUpdateWallet",
      "filePath": "packages/wallet/src/hooks/useUpdateWallet.ts",
      "lineRange": [
        6,
        21
      ],
      "summary": "Returns { updateWallet } whose function checks for an auth token and forwards walletId, WalletProfileUpdate fields and optional cover/logo blobs to the updateWallet API client.",
      "tags": [
        "hook",
        "react",
        "wallet"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/cypress/component/ActivityItem.cy.tsx",
      "type": "file",
      "name": "ActivityItem.cy.tsx",
      "filePath": "apps/web/cypress/component/ActivityItem.cy.tsx",
      "summary": "Cypress component test that mounts ActivityItem with sample transfers and asserts that the title, the signed amount (+100, -200) and the status render, and that showAmount={false} hides the amount of a cancelled transfer.",
      "tags": [
        "test",
        "cypress",
        "component-test",
        "ui"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/app/(protected)/layout.tsx",
      "type": "file",
      "name": "layout.tsx",
      "filePath": "apps/web/src/app/(protected)/layout.tsx",
      "summary": "Client-side auth gate for every route in the (protected) group: it shows LoadingSpinner until mount, redirects to /login when tokenAtom is empty or another tab broadcasts logout, and wraps pages in SnackbarProvider, HeaderProvider, Header and BottomNavigationBar. It mounts PendingClaimHandler only when localStorage holds a pending claim link.",
      "tags": [
        "layout",
        "auth-guard",
        "routing",
        "component",
        "nextjs-app-router"
      ],
      "complexity": "moderate",
      "languageNotes": "The \"(protected)\" folder is a Next.js App Router route group: the name does not appear in URLs, but this layout wraps every nested page."
    },
    {
      "id": "file:apps/web/src/app/(protected)/notifications/page.tsx",
      "type": "file",
      "name": "page.tsx",
      "filePath": "apps/web/src/app/(protected)/notifications/page.tsx",
      "summary": "Notifications screen that lists pending incoming transfers from the useIncomingTransfers hook of @treetracker/wallet, shows an empty state when there are none, and navigates to /notifications/details?id=<id> when the user taps an item.",
      "tags": [
        "page",
        "notifications",
        "component",
        "transfers"
      ],
      "complexity": "moderate"
    },
    {
      "id": "file:apps/web/src/app/(protected)/search/page.tsx",
      "type": "file",
      "name": "page.tsx",
      "filePath": "apps/web/src/app/(protected)/search/page.tsx",
      "summary": "Wallet search screen that filters a hard-coded WALLETS_DATA mock list by the header search query (name, company or address), picks send or request copy from the ?action= param, and opens WalletDetailModal for the chosen wallet. It also exports the Wallet interface for the mock records.",
      "tags": [
        "page",
        "search",
        "component",
        "mock-data"
      ],
      "complexity": "moderate"
    },
    {
      "id": "file:apps/web/src/app/(protected)/settings/account/page.tsx",
      "type": "file",
      "name": "page.tsx",
      "filePath": "apps/web/src/app/(protected)/settings/account/page.tsx",
      "summary": "Account settings screen that loads the signed-in user's email and member-since date through loadUserProfile, shows partial data or an error alert, opens the Keycloak account console via accountUrl for password management, and routes to /logout.",
      "tags": [
        "page",
        "settings",
        "user-profile",
        "auth",
        "component"
      ],
      "complexity": "moderate"
    },
    {
      "id": "file:apps/web/src/app/(public)/login/page.tsx",
      "type": "file",
      "name": "page.tsx",
      "filePath": "apps/web/src/app/(public)/login/page.tsx",
      "summary": "Public /login route that triggers the Keycloak hosted login redirect once on mount, with a ref guard against React strict-mode double effects, and shows a spinner meanwhile.",
      "tags": [
        "page",
        "auth",
        "keycloak",
        "redirect"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/app/(public)/signup/page.tsx",
      "type": "file",
      "name": "page.tsx",
      "filePath": "apps/web/src/app/(public)/signup/page.tsx",
      "summary": "Public /signup route that sends the visitor to the Keycloak hosted registration page once on mount (ref-guarded for strict mode) and renders a spinner inside a signup-redirect test box.",
      "tags": [
        "page",
        "auth",
        "registration",
        "keycloak"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/app/auth/callback/page.tsx",
      "type": "file",
      "name": "page.tsx",
      "filePath": "apps/web/src/app/auth/callback/page.tsx",
      "summary": "OIDC redirect target /auth/callback that waits for KeycloakProvider to finish processing the authorization code, then replaces the route with /home when authenticated or /login otherwise.",
      "tags": [
        "page",
        "auth",
        "oidc-callback",
        "routing"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/app/claim/page.tsx",
      "type": "file",
      "name": "page.tsx",
      "filePath": "apps/web/src/app/claim/page.tsx",
      "summary": "Public /claim landing page for shared token links: it reads ?action_token=, saves the token for signed-out visitors and offers sign in or register, redeems it at once for signed-in users via redeemActionToken, and sends users with no wallet to /wallet with the token kept pending. It renders separate working, claimed, failed, needsAuth and needsWallet screens.",
      "tags": [
        "page",
        "token-claim",
        "state-machine",
        "component",
        "auth-flow"
      ],
      "complexity": "moderate"
    },
    {
      "id": "file:apps/web/src/app/logout/page.tsx",
      "type": "file",
      "name": "page.tsx",
      "filePath": "apps/web/src/app/logout/page.tsx",
      "summary": "The /logout route clears the mirrored session token and the stored Keycloak tokens, broadcasts logout to other tabs, awaits Keycloak init so the end-session redirect works on a fresh load, then calls Keycloak logout back to /login.",
      "tags": [
        "page",
        "auth",
        "logout",
        "keycloak"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/app/page.tsx",
      "type": "file",
      "name": "page.tsx",
      "filePath": "apps/web/src/app/page.tsx",
      "summary": "Root / route that reads the authoritative authenticated flag from the useAuth hook of KeycloakProvider and redirects to /home or /login, which avoids an earlier sessionStorage race that caused a login loop.",
      "tags": [
        "page",
        "entry-point",
        "routing",
        "auth"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/auth/keycloak.ts",
      "type": "file",
      "name": "keycloak.ts",
      "filePath": "apps/web/src/auth/keycloak.ts",
      "summary": "Browser-only singleton wrapper around keycloak-js, configured from NEXT_PUBLIC_KEYCLOAK_* env vars, that provides an idempotent PKCE init which resumes sessions from tokens kept in sessionStorage (kc_tokens), plus login, register, logout and account-console URL helpers for the auth pages and KeycloakProvider.",
      "tags": [
        "auth",
        "keycloak",
        "singleton",
        "service",
        "session-storage"
      ],
      "complexity": "moderate",
      "languageNotes": "Module-level let variables hold a lazily created instance and a memoized init promise, which makes init safe under React strict-mode double invocation."
    },
    {
      "id": "file:apps/web/src/auth/sessionChannel.ts",
      "type": "file",
      "name": "sessionChannel.ts",
      "filePath": "apps/web/src/auth/sessionChannel.ts",
      "summary": "Cross-tab logout signalling over a BroadcastChannel named wallet-auth, needed because the session token lives in per-tab sessionStorage; the logout page broadcasts and the protected layout listens.",
      "tags": [
        "auth",
        "cross-tab",
        "broadcast-channel",
        "utility",
        "event-handler"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/components/ActivityItem.tsx",
      "type": "file",
      "name": "ActivityItem.tsx",
      "filePath": "apps/web/src/components/ActivityItem.tsx",
      "summary": "Reusable MUI card row that shows an initials avatar, a title, an optional status line and a signed amount (green when positive), with optional click handling; the search page and ActivityList render it, and a Cypress component test covers it.",
      "tags": [
        "component",
        "ui",
        "list-item",
        "mui",
        "tested"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:apps/web/src/app/(protected)/layout.tsx:ProtectedLayout",
      "type": "function",
      "name": "ProtectedLayout",
      "filePath": "apps/web/src/app/(protected)/layout.tsx",
      "lineRange": [
        17,
        70
      ],
      "summary": "Default layout component that tracks mount and token-check state, redirects to /login when no token is present, subscribes to cross-tab logout via onLogout to clear tokenAtom, and renders children inside the snackbar and header providers with the header and bottom bar.",
      "tags": [
        "layout",
        "auth-guard",
        "component"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:apps/web/src/app/(protected)/notifications/page.tsx:Notifications",
      "type": "function",
      "name": "Notifications",
      "filePath": "apps/web/src/app/(protected)/notifications/page.tsx",
      "lineRange": [
        16,
        67
      ],
      "summary": "Page component that renders a spinner while incoming transfers load, then one clickable Paper per pending transfer with source wallet, token count and destination, or an empty-state icon and message.",
      "tags": [
        "page",
        "component",
        "list-rendering"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/app/(protected)/search/page.tsx:SearchContent",
      "type": "function",
      "name": "SearchContent",
      "filePath": "apps/web/src/app/(protected)/search/page.tsx",
      "lineRange": [
        62,
        212
      ],
      "summary": "Inner search component that reads the action query param, forces the header search open, filters and caps the mock wallet list (6 rows without a query, 10 with one), renders matches as ActivityItem rows and opens WalletDetailModal on selection.",
      "tags": [
        "component",
        "search",
        "filtering"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:apps/web/src/app/(protected)/search/page.tsx:Search",
      "type": "function",
      "name": "Search",
      "filePath": "apps/web/src/app/(protected)/search/page.tsx",
      "lineRange": [
        214,
        220
      ],
      "summary": "Default export of the search route that wraps SearchContent in a Suspense boundary with LoadingSpinner as fallback, which the App Router requires for useSearchParams.",
      "tags": [
        "page",
        "suspense",
        "wrapper"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/app/(protected)/settings/account/page.tsx:Account",
      "type": "function",
      "name": "Account",
      "filePath": "apps/web/src/app/(protected)/settings/account/page.tsx",
      "lineRange": [
        21,
        234
      ],
      "summary": "Account page component that fetches the profile for the current tokenAtom value with cancellation on unmount, formats the creation date, sets session-expired or load-failure errors, and renders email, member-since, a security link and a logout button.",
      "tags": [
        "page",
        "component",
        "user-profile"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:apps/web/src/app/(public)/login/page.tsx:LoginPage",
      "type": "function",
      "name": "LoginPage",
      "filePath": "apps/web/src/app/(public)/login/page.tsx",
      "lineRange": [
        10,
        23
      ],
      "summary": "Component that calls the keycloak login() redirect inside a one-shot effect and renders LoadingSpinner in a login-redirect box.",
      "tags": [
        "page",
        "auth",
        "redirect"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/app/(public)/signup/page.tsx:SignUpPage",
      "type": "function",
      "name": "SignUpPage",
      "filePath": "apps/web/src/app/(public)/signup/page.tsx",
      "lineRange": [
        10,
        23
      ],
      "summary": "Component whose one-shot effect calls keycloak register() to open the hosted registration form, rendering a spinner until the browser leaves.",
      "tags": [
        "page",
        "auth",
        "registration"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/app/auth/callback/page.tsx:AuthCallbackPage",
      "type": "function",
      "name": "AuthCallbackPage",
      "filePath": "apps/web/src/app/auth/callback/page.tsx",
      "lineRange": [
        10,
        20
      ],
      "summary": "Component that reads ready and authenticated from useAuth and, once ready, calls router.replace with /home or /login while it shows a spinner.",
      "tags": [
        "page",
        "auth",
        "redirect"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/app/claim/page.tsx:Claim",
      "type": "function",
      "name": "Claim",
      "filePath": "apps/web/src/app/claim/page.tsx",
      "lineRange": [
        28,
        192
      ],
      "summary": "Stateful claim component whose effect picks the flow from the action_token param and tokenAtom: save and ask for auth, redeem now and clear the pending token, or save and ask for a wallet on a no-wallet error, ignoring results after unmount. It renders one screen per status with navigation buttons.",
      "tags": [
        "component",
        "token-claim",
        "async-effect"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:apps/web/src/app/claim/page.tsx:ClaimPage",
      "type": "function",
      "name": "ClaimPage",
      "filePath": "apps/web/src/app/claim/page.tsx",
      "lineRange": [
        194,
        200
      ],
      "summary": "Default export of /claim that renders Claim inside Suspense with a plain Loading fallback box, because Claim reads useSearchParams.",
      "tags": [
        "page",
        "suspense",
        "wrapper"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/app/logout/page.tsx:LogoutPage",
      "type": "function",
      "name": "LogoutPage",
      "filePath": "apps/web/src/app/logout/page.tsx",
      "lineRange": [
        9,
        35
      ],
      "summary": "Component whose mount effect runs the logout sequence (remove the token key, clearStoredTokens, broadcastLogout, await initKeycloak ignoring errors, logout) and shows a spinner.",
      "tags": [
        "page",
        "auth",
        "logout"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/app/page.tsx:Page",
      "type": "function",
      "name": "Page",
      "filePath": "apps/web/src/app/page.tsx",
      "lineRange": [
        12,
        21
      ],
      "summary": "Root page component that replaces the route with /home or /login according to useAuth().authenticated and renders LoadingSpinner during the redirect.",
      "tags": [
        "page",
        "routing",
        "redirect"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/auth/keycloak.ts:getKeycloak",
      "type": "function",
      "name": "getKeycloak",
      "filePath": "apps/web/src/auth/keycloak.ts",
      "lineRange": [
        8,
        18
      ],
      "summary": "Lazily creates and returns the single keycloak-js instance from the NEXT_PUBLIC_KEYCLOAK_URL, REALM and CLIENT_ID env vars, and returns null during server rendering.",
      "tags": [
        "singleton",
        "factory",
        "keycloak"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/auth/keycloak.ts:saveStoredTokens",
      "type": "function",
      "name": "saveStoredTokens",
      "filePath": "apps/web/src/auth/keycloak.ts",
      "lineRange": [
        38,
        49
      ],
      "summary": "Writes the current Keycloak access and refresh token pair to sessionStorage under kc_tokens after each init or refresh, because Keycloak may rotate the refresh token; does nothing when either token is missing.",
      "tags": [
        "session-storage",
        "token-persistence",
        "auth"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/auth/keycloak.ts:clearStoredTokens",
      "type": "function",
      "name": "clearStoredTokens",
      "filePath": "apps/web/src/auth/keycloak.ts",
      "lineRange": [
        51,
        57
      ],
      "summary": "Removes the kc_tokens entry from sessionStorage and ignores storage errors; the logout page and KeycloakProvider call it when a session ends.",
      "tags": [
        "session-storage",
        "logout",
        "auth"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/auth/keycloak.ts:initKeycloak",
      "type": "function",
      "name": "initKeycloak",
      "filePath": "apps/web/src/auth/keycloak.ts",
      "lineRange": [
        61,
        84
      ],
      "summary": "Memoized keycloak-js init with PKCE S256, no login iframe and no onLoad redirect, seeded with tokens from readStoredTokens so a page reload resumes the session; returns false on the server and the same promise on repeated calls.",
      "tags": [
        "auth",
        "initialization",
        "pkce",
        "idempotent"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:apps/web/src/auth/keycloak.ts:login",
      "type": "function",
      "name": "login",
      "filePath": "apps/web/src/auth/keycloak.ts",
      "lineRange": [
        91,
        93
      ],
      "summary": "Starts the Keycloak hosted login redirect with /auth/callback on the current origin as the redirect URI; the /login page calls it.",
      "tags": [
        "auth",
        "redirect",
        "keycloak"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/auth/keycloak.ts:register",
      "type": "function",
      "name": "register",
      "filePath": "apps/web/src/auth/keycloak.ts",
      "lineRange": [
        95,
        97
      ],
      "summary": "Starts the Keycloak hosted registration redirect back to /auth/callback; the /signup page calls it.",
      "tags": [
        "auth",
        "registration",
        "keycloak"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/auth/keycloak.ts:logout",
      "type": "function",
      "name": "logout",
      "filePath": "apps/web/src/auth/keycloak.ts",
      "lineRange": [
        99,
        105
      ],
      "summary": "Ends the Keycloak SSO session and redirects the browser to /login on the current origin; the /logout page calls it after init.",
      "tags": [
        "auth",
        "logout",
        "keycloak"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/auth/keycloak.ts:accountUrl",
      "type": "function",
      "name": "accountUrl",
      "filePath": "apps/web/src/auth/keycloak.ts",
      "lineRange": [
        107,
        112
      ],
      "summary": "Builds the Keycloak account-console URL that returns to the current page, for the Security button on the Account settings page; gives undefined when no instance exists.",
      "tags": [
        "auth",
        "account-console",
        "keycloak"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/auth/sessionChannel.ts:broadcastLogout",
      "type": "function",
      "name": "broadcastLogout",
      "filePath": "apps/web/src/auth/sessionChannel.ts",
      "lineRange": [
        11,
        16
      ],
      "summary": "Opens the wallet-auth BroadcastChannel, posts a logout message to the other tabs and closes the channel; skips silently when BroadcastChannel is unsupported.",
      "tags": [
        "cross-tab",
        "broadcast-channel",
        "logout"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/auth/sessionChannel.ts:onLogout",
      "type": "function",
      "name": "onLogout",
      "filePath": "apps/web/src/auth/sessionChannel.ts",
      "lineRange": [
        19,
        30
      ],
      "summary": "Subscribes a handler to logout messages on the wallet-auth BroadcastChannel and returns an unsubscribe function that removes the listener and closes the channel; the protected layout effect uses it.",
      "tags": [
        "cross-tab",
        "event-handler",
        "subscription"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/components/ActivityItem.tsx:ActivityItem",
      "type": "function",
      "name": "ActivityItem",
      "filePath": "apps/web/src/components/ActivityItem.tsx",
      "lineRange": [
        18,
        75
      ],
      "summary": "Exported card component with title, amount, status, showAmount and onClick props; it renders initials from the title, a status caption, and a +/- amount only when amount is defined and showAmount is true, with pointer styling when clickable.",
      "tags": [
        "component",
        "ui",
        "list-item"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/components/KeycloakProvider.tsx",
      "type": "file",
      "name": "KeycloakProvider.tsx",
      "filePath": "apps/web/src/components/KeycloakProvider.tsx",
      "summary": "React context provider that blocks rendering behind a Keycloak init capped at 8 seconds, mirrors the access token into the shared tokenAtom and sessionStorage, refreshes the token on expiry and when the tab becomes visible, and ends the session only when Keycloak refuses a refresh. It exposes ready and authenticated through the useAuth hook.",
      "tags": [
        "auth",
        "context-provider",
        "keycloak",
        "token-refresh",
        "hook"
      ],
      "complexity": "moderate"
    },
    {
      "id": "file:apps/web/src/components/LoadingSpinner.tsx",
      "type": "file",
      "name": "LoadingSpinner.tsx",
      "filePath": "apps/web/src/components/LoadingSpinner.tsx",
      "summary": "Shared full-height loading indicator that centers an MUI CircularProgress in an 80vh flex box; auth pages, layouts and Suspense boundaries use it as their fallback.",
      "tags": [
        "component",
        "ui",
        "loading-state",
        "mui"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/components/PendingClaimHandler.tsx",
      "type": "file",
      "name": "PendingClaimHandler.tsx",
      "filePath": "apps/web/src/components/PendingClaimHandler.tsx",
      "summary": "Background component, mounted by the protected layout only when a pending claim link exists, that redeems the saved action token into the user's first wallet via claimPendingToken once authenticated and shows the outcome in a Snackbar alert.",
      "tags": [
        "component",
        "token-claim",
        "side-effect",
        "notification"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/components/WalletDetailModal.tsx",
      "type": "file",
      "name": "WalletDetailModal.tsx",
      "filePath": "apps/web/src/components/WalletDetailModal.tsx",
      "summary": "Full-screen send/request overlay for a selected wallet with an on-screen numeric keypad, a note field, Send and Request buttons and a mock destination wallet list; on submit it stores the transaction as pendingTransaction in sessionStorage, calls onTransactionComplete and hard-navigates to /home. The search page opens it.",
      "tags": [
        "component",
        "modal",
        "transaction",
        "form",
        "mock-data"
      ],
      "complexity": "complex"
    },
    {
      "id": "file:apps/web/src/components/header/Header.tsx",
      "type": "file",
      "name": "Header.tsx",
      "filePath": "apps/web/src/components/header/Header.tsx",
      "summary": "Sticky top app bar for protected pages that switches between the Treetrader logo view, an expanded search view and the notifications header based on HeaderContext state and the current pathname, with theme-driven background colors.",
      "tags": [
        "component",
        "header",
        "navigation",
        "layout"
      ],
      "complexity": "moderate"
    },
    {
      "id": "file:apps/web/src/components/header/HeaderLogo.tsx",
      "type": "file",
      "name": "HeaderLogo.tsx",
      "filePath": "apps/web/src/components/header/HeaderLogo.tsx",
      "summary": "Small component that renders the Greenstand SVG logo at 50x50 with next/image for the default header view.",
      "tags": [
        "component",
        "ui",
        "branding",
        "next-image"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/components/header/HeaderSearch.tsx",
      "type": "file",
      "name": "HeaderSearch.tsx",
      "filePath": "apps/web/src/components/header/HeaderSearch.tsx",
      "summary": "Header search control that shows either a collapsed search icon button (with a 'Coming soon' tooltip when disabled) or an expanded text field bound to the HeaderContext searchQuery, with a back button to collapse.",
      "tags": [
        "component",
        "search",
        "header",
        "controlled-input"
      ],
      "complexity": "moderate"
    },
    {
      "id": "file:apps/web/src/components/header/NotificationHeader.tsx",
      "type": "file",
      "name": "NotificationHeader.tsx",
      "filePath": "apps/web/src/components/header/NotificationHeader.tsx",
      "summary": "Header variant for /notifications with a back arrow that collapses search state and navigates to /home, a Notifications title, and a settings icon button that has no handler yet.",
      "tags": [
        "component",
        "header",
        "notifications",
        "navigation"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/components/navigation/BottomNavigatorBar.tsx",
      "type": "file",
      "name": "BottomNavigatorBar.tsx",
      "filePath": "apps/web/src/components/navigation/BottomNavigatorBar.tsx",
      "summary": "Fixed bottom navigation bar for protected pages with Home, Wallet, a raised Send image button, Notifications (badged with the incoming transfer count from useIncomingTransfers) and Settings tabs, each routed with next/navigation.",
      "tags": [
        "component",
        "navigation",
        "mui",
        "routing"
      ],
      "complexity": "moderate"
    },
    {
      "id": "file:apps/web/src/context/HeaderContext.tsx",
      "type": "file",
      "name": "HeaderContext.tsx",
      "filePath": "apps/web/src/context/HeaderContext.tsx",
      "summary": "React context that holds the header search UI state (isSearchExpanded, searchQuery, their setters and a toggle); Header, HeaderSearch and the search page read it through the useHeader hook.",
      "tags": [
        "context-provider",
        "state-management",
        "hook",
        "header"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/utils/actionToken.ts",
      "type": "file",
      "name": "actionToken.ts",
      "filePath": "apps/web/src/utils/actionToken.ts",
      "summary": "localStorage helpers for the pending_action_token key, which keeps an action token captured from a /claim link until PendingClaimHandler or wallet creation can redeem it; every access swallows storage errors.",
      "tags": [
        "utility",
        "local-storage",
        "token-claim",
        "persistence"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/utils/claimPendingToken.ts",
      "type": "file",
      "name": "claimPendingToken.ts",
      "filePath": "apps/web/src/utils/claimPendingToken.ts",
      "summary": "Redeems a previously saved claim link into a named wallet through redeemActionToken, removing it from storage first so it is never retried, and maps backend errors (expired, not verified, no longer owned) to friendly messages returned as a ClaimOutcome.",
      "tags": [
        "utility",
        "token-claim",
        "service",
        "error-handling"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/utils/userProfile.ts",
      "type": "file",
      "name": "userProfile.ts",
      "filePath": "apps/web/src/utils/userProfile.ts",
      "summary": "Loads the Account screen profile from two sources in order: the user service /me endpoint (email and createdAt) and, when no email comes back, the Keycloak OIDC userinfo endpoint (email only), with sessionExpired decided by Keycloak's 401 first. It also formats the member-since date for display.",
      "tags": [
        "service",
        "api-client",
        "user-profile",
        "fetch",
        "fallback"
      ],
      "complexity": "moderate",
      "languageNotes": "An unset NEXT_PUBLIC_* variable is inlined by next build as the string \"undefined\", so baseUrl treats that literal as unset to avoid requests to \"undefined/me\"."
    },
    {
      "id": "function:apps/web/src/components/KeycloakProvider.tsx:useAuth",
      "type": "function",
      "name": "useAuth",
      "filePath": "apps/web/src/components/KeycloakProvider.tsx",
      "lineRange": [
        26,
        26
      ],
      "summary": "Hook that returns the { ready, authenticated } auth state from KeycloakContext; the root page and the auth callback page consume it.",
      "tags": [
        "hook",
        "auth",
        "context"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/components/KeycloakProvider.tsx:KeycloakProvider",
      "type": "function",
      "name": "KeycloakProvider",
      "filePath": "apps/web/src/components/KeycloakProvider.tsx",
      "lineRange": [
        44,
        126
      ],
      "summary": "Provider component whose effect installs onTokenExpired and visibilitychange refresh handlers, runs initKeycloak with an 8000 ms timeout, mirrors or clears tokenAtom and the stored tokens by the result, and renders LoadingSpinner until ready.",
      "tags": [
        "context-provider",
        "auth",
        "token-refresh"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:apps/web/src/components/LoadingSpinner.tsx:LoadingSpinner",
      "type": "function",
      "name": "LoadingSpinner",
      "filePath": "apps/web/src/components/LoadingSpinner.tsx",
      "lineRange": [
        4,
        14
      ],
      "summary": "Default-export component that returns a flex Box with minHeight 80vh centering a single CircularProgress.",
      "tags": [
        "component",
        "ui",
        "loading-state"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/components/PendingClaimHandler.tsx:PendingClaimHandler",
      "type": "function",
      "name": "PendingClaimHandler",
      "filePath": "apps/web/src/components/PendingClaimHandler.tsx",
      "lineRange": [
        19,
        51
      ],
      "summary": "Component that, once tokenAtom and useGetWallets give a token and at least one wallet, calls claimPendingToken with the first wallet's name exactly once (ref guard) and shows the returned severity and message in an auto-hiding Snackbar.",
      "tags": [
        "component",
        "token-claim",
        "side-effect"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/components/WalletDetailModal.tsx:WalletList",
      "type": "function",
      "name": "WalletList",
      "filePath": "apps/web/src/components/WalletDetailModal.tsx",
      "lineRange": [
        33,
        65
      ],
      "summary": "Internal list of mock destination wallets that highlights the clicked row through a local selectedWalletId state; WalletDetailModal shows it after a send action is chosen.",
      "tags": [
        "component",
        "list",
        "mock-data"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/components/WalletDetailModal.tsx:ActionButton",
      "type": "function",
      "name": "ActionButton",
      "filePath": "apps/web/src/components/WalletDetailModal.tsx",
      "lineRange": [
        74,
        102
      ],
      "summary": "Internal styled MUI contained Button that merges custom sx and forwards extra props such as data-test; the send, request and submit buttons build on it.",
      "tags": [
        "component",
        "button",
        "ui"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/components/WalletDetailModal.tsx:TransactionActionButton",
      "type": "function",
      "name": "TransactionActionButton",
      "filePath": "apps/web/src/components/WalletDetailModal.tsx",
      "lineRange": [
        104,
        140
      ],
      "summary": "Internal Send or Request button that is enabled only when its action is selected or default and the amount is non-zero; a click selects the action and moves the modal to the submit step.",
      "tags": [
        "component",
        "button",
        "transaction"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/components/WalletDetailModal.tsx:Keypad",
      "type": "function",
      "name": "Keypad",
      "filePath": "apps/web/src/components/WalletDetailModal.tsx",
      "lineRange": [
        142,
        178
      ],
      "summary": "Internal 3-column numeric keypad with digits, a decimal point and a clear key (backspace icon) that reports each pressed key to onButtonClick.",
      "tags": [
        "component",
        "keypad",
        "input"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/components/WalletDetailModal.tsx:WalletDetailModal",
      "type": "function",
      "name": "WalletDetailModal",
      "filePath": "apps/web/src/components/WalletDetailModal.tsx",
      "lineRange": [
        180,
        373
      ],
      "summary": "Default-export modal component that keeps amount, selected action, submit step and note in state, builds the amount from keypad input, validates and saves the transaction to sessionStorage on submit, then closes and redirects to /home; returns null when closed.",
      "tags": [
        "component",
        "modal",
        "transaction"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:apps/web/src/components/header/Header.tsx:DefaultHeaderView",
      "type": "function",
      "name": "DefaultHeaderView",
      "filePath": "apps/web/src/components/header/Header.tsx",
      "lineRange": [
        26,
        37
      ],
      "summary": "Internal header view that renders HeaderLogo next to the Treetrader title when search is collapsed and the route is not /notifications.",
      "tags": [
        "component",
        "header",
        "branding"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/components/header/Header.tsx:ExpandedSearchView",
      "type": "function",
      "name": "ExpandedSearchView",
      "filePath": "apps/web/src/components/header/Header.tsx",
      "lineRange": [
        39,
        53
      ],
      "summary": "Internal header view that renders HeaderSearch in expanded mode and forwards the collapse callback to it.",
      "tags": [
        "component",
        "header",
        "search"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/components/header/Header.tsx:Header",
      "type": "function",
      "name": "Header",
      "filePath": "apps/web/src/components/header/Header.tsx",
      "lineRange": [
        55,
        89
      ],
      "summary": "Default-export header component that reads isSearchExpanded and its setters from useHeader plus the pathname, picks background and padding from the theme, and renders NotificationHeader, ExpandedSearchView or DefaultHeaderView.",
      "tags": [
        "component",
        "header",
        "conditional-rendering"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/components/header/HeaderLogo.tsx:HeaderLogo",
      "type": "function",
      "name": "HeaderLogo",
      "filePath": "apps/web/src/components/header/HeaderLogo.tsx",
      "lineRange": [
        5,
        15
      ],
      "summary": "Default-export component that returns a next/image of /assets/images/greenstand-logo.svg with the alt text Tree Trader Logo and object-fit contain.",
      "tags": [
        "component",
        "branding",
        "image"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/components/header/HeaderSearch.tsx:HeaderSearch",
      "type": "function",
      "name": "HeaderSearch",
      "filePath": "apps/web/src/components/header/HeaderSearch.tsx",
      "lineRange": [
        21,
        99
      ],
      "summary": "Default-export component with isExpanded, onExpand, onCollapse and disabled props; when expanded it renders a back button plus a search TextField that writes to setSearchQuery, else a themed search icon button.",
      "tags": [
        "component",
        "search",
        "controlled-input"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/components/header/NotificationHeader.tsx:NotificationHeader",
      "type": "function",
      "name": "NotificationHeader",
      "filePath": "apps/web/src/components/header/NotificationHeader.tsx",
      "lineRange": [
        12,
        52
      ],
      "summary": "Default-export component that takes an onCollapse callback, calls it and pushes /home when the back arrow is clicked, and renders a Notifications title with a settings icon.",
      "tags": [
        "component",
        "header",
        "navigation"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/components/navigation/BottomNavigatorBar.tsx:BottomNavigationBar",
      "type": "function",
      "name": "BottomNavigationBar",
      "filePath": "apps/web/src/components/navigation/BottomNavigatorBar.tsx",
      "lineRange": [
        17,
        117
      ],
      "summary": "Default-export component that holds the selected tab index, maps indexes 0-4 to /home, /wallet, /send, /notifications and /settings via router.push, and badges the notifications tab with incoming.length.",
      "tags": [
        "component",
        "navigation",
        "routing"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/context/HeaderContext.tsx:HeaderProvider",
      "type": "function",
      "name": "HeaderProvider",
      "filePath": "apps/web/src/context/HeaderContext.tsx",
      "lineRange": [
        15,
        35
      ],
      "summary": "Provider component that owns isSearchExpanded and searchQuery state, adds a toggleSearchExpanded helper, and supplies them through HeaderContext; the protected layout mounts it.",
      "tags": [
        "context-provider",
        "state-management",
        "component"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/context/HeaderContext.tsx:useHeader",
      "type": "function",
      "name": "useHeader",
      "filePath": "apps/web/src/context/HeaderContext.tsx",
      "lineRange": [
        37,
        43
      ],
      "summary": "Hook that returns the HeaderContext value and throws an error when a component calls it outside a HeaderProvider.",
      "tags": [
        "hook",
        "context",
        "validation"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/utils/actionToken.ts:savePendingActionToken",
      "type": "function",
      "name": "savePendingActionToken",
      "filePath": "apps/web/src/utils/actionToken.ts",
      "lineRange": [
        6,
        12
      ],
      "summary": "Stores an action token from a /claim link in localStorage under pending_action_token and ignores unavailable storage; the claim page calls it.",
      "tags": [
        "local-storage",
        "token-claim",
        "persistence"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/utils/actionToken.ts:readPendingActionToken",
      "type": "function",
      "name": "readPendingActionToken",
      "filePath": "apps/web/src/utils/actionToken.ts",
      "lineRange": [
        14,
        20
      ],
      "summary": "Returns the saved pending action token from localStorage, or null when the value is missing or storage fails; the protected layout and claimPendingToken read it.",
      "tags": [
        "local-storage",
        "token-claim",
        "accessor"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/utils/actionToken.ts:clearPendingActionToken",
      "type": "function",
      "name": "clearPendingActionToken",
      "filePath": "apps/web/src/utils/actionToken.ts",
      "lineRange": [
        22,
        28
      ],
      "summary": "Deletes the pending_action_token entry from localStorage and ignores errors; the claim page calls it after a redeem and claimPendingToken calls it before a redeem.",
      "tags": [
        "local-storage",
        "token-claim",
        "cleanup"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/utils/claimPendingToken.ts:claimPendingToken",
      "type": "function",
      "name": "claimPendingToken",
      "filePath": "apps/web/src/utils/claimPendingToken.ts",
      "lineRange": [
        24,
        44
      ],
      "summary": "Async function that reads and immediately clears the pending token, redeems it into walletName with the auth token, and returns a success outcome, a mapped error outcome, or null when nothing was pending.",
      "tags": [
        "token-claim",
        "async",
        "error-handling"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/utils/userProfile.ts:fromUserApi",
      "type": "function",
      "name": "fromUserApi",
      "filePath": "apps/web/src/utils/userProfile.ts",
      "lineRange": [
        57,
        86
      ],
      "summary": "Private source that GETs NEXT_PUBLIC_TREETRACKER_USER_API/me with a bearer token and returns email and createdAt, flags a 401 as unauthorized and network or CORS failures as not answered, and is skipped when the URL is unset.",
      "tags": [
        "api-client",
        "fetch",
        "user-profile"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/utils/userProfile.ts:fromKeycloak",
      "type": "function",
      "name": "fromKeycloak",
      "filePath": "apps/web/src/utils/userProfile.ts",
      "lineRange": [
        88,
        119
      ],
      "summary": "Private source that GETs the Keycloak realm userinfo endpoint and returns the email, falling back to preferred_username when it contains @, with no createdAt; it is skipped when the Keycloak URL or realm is unset.",
      "tags": [
        "api-client",
        "oidc",
        "user-profile"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/utils/userProfile.ts:loadUserProfile",
      "type": "function",
      "name": "loadUserProfile",
      "filePath": "apps/web/src/utils/userProfile.ts",
      "lineRange": [
        121,
        141
      ],
      "summary": "Exported loader that returns the user service result when it has an email; otherwise it asks Keycloak for the email, keeps the service createdAt, and sets sessionExpired from Keycloak's 401 when Keycloak answered, else from the service's 401.",
      "tags": [
        "service",
        "fallback",
        "user-profile"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:apps/web/src/utils/userProfile.ts:formatMemberSince",
      "type": "function",
      "name": "formatMemberSince",
      "filePath": "apps/web/src/utils/userProfile.ts",
      "lineRange": [
        144,
        153
      ],
      "summary": "Formats an ISO date as a US long date such as September 22, 2026, and returns null for missing or unparsable input; the Account page uses it.",
      "tags": [
        "formatting",
        "date",
        "utility"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/native/app/(tabs)/home/_layout.tsx",
      "type": "file",
      "name": "_layout.tsx",
      "filePath": "apps/native/app/(tabs)/home/_layout.tsx",
      "summary": "Expo Router stack layout for the home tab that shows only the `index` screen and replaces the default header with the shared HeaderSearch bar.",
      "tags": [
        "layout",
        "routing",
        "expo-router",
        "navigation"
      ],
      "complexity": "simple",
      "languageNotes": "Expo Router file-based routing: a `_layout.tsx` inside the `(tabs)` route group defines the navigator for its sibling screens, and the group folder name does not appear in the URL."
    },
    {
      "id": "file:apps/native/app/(tabs)/home/index.tsx",
      "type": "file",
      "name": "index.tsx",
      "filePath": "apps/native/app/(tabs)/home/index.tsx",
      "summary": "Home tab screen of the native wallet app. It shows Tokens and Wallets balance cards and a recent-activity FlashList built from mockWalletActivity, swaps to the QR card and SearchResults while the core isSearchingAtom is true, runs a one-time react-native-copilot tour persisted in AsyncStorage, and shows a 6-second snackbar from route params that the transfer entry screen sets.",
      "tags": [
        "screen",
        "component",
        "wallet-dashboard",
        "onboarding-tour",
        "state-management"
      ],
      "complexity": "complex",
      "languageNotes": "react-native-copilot `walkthroughable(View)` plus `CopilotStep` attaches tour steps to existing components. Expo Router search params can be `string | string[]`, so each snackbar param is normalized with `Array.isArray` inside `useMemo`."
    },
    {
      "id": "file:apps/native/app/(tabs)/search/_layout.tsx",
      "type": "file",
      "name": "_layout.tsx",
      "filePath": "apps/native/app/(tabs)/search/_layout.tsx",
      "summary": "Expo Router stack layout for the search tab that renders its index screen with HeaderSearch as the custom header and disables the screen transition animation.",
      "tags": [
        "layout",
        "routing",
        "expo-router",
        "search"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/native/app/(tabs)/search/index.tsx",
      "type": "file",
      "name": "index.tsx",
      "filePath": "apps/native/app/(tabs)/search/index.tsx",
      "summary": "Search tab screen that shows the QR scan card (it routes to /scancode), a 'Top wallets' heading, and the shared SearchResults list that the core search hooks feed.",
      "tags": [
        "screen",
        "component",
        "search",
        "navigation"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/native/app/onboarding/index.tsx",
      "type": "file",
      "name": "index.tsx",
      "filePath": "apps/native/app/onboarding/index.tsx",
      "summary": "First-launch onboarding screen with a horizontal paged FlashList of three illustrated slides (Leaf, Wallet, Cloud SVGs), tappable pagination dots, and SIGN UP / LOG IN buttons that set the AsyncStorage `hasLaunched` flag before they route to the auth register or login screens.",
      "tags": [
        "screen",
        "onboarding",
        "component",
        "navigation"
      ],
      "complexity": "complex"
    },
    {
      "id": "file:apps/native/app/scancode.tsx",
      "type": "file",
      "name": "scancode.tsx",
      "filePath": "apps/native/app/scancode.tsx",
      "summary": "QR scanning screen that requests camera and media-library permissions, reads QR codes live through expo-camera CameraView or from a gallery image through scanFromURLAsync, parses the payload (JSON, URL query, or plain text) into recipient data, and replaces the route with /transfer/entry in SEND mode. A REQ TOKENS button opens /transfer in REQUEST mode.",
      "tags": [
        "screen",
        "qr-code",
        "camera",
        "parsing",
        "navigation"
      ],
      "complexity": "complex",
      "languageNotes": "Every handler is wrapped in `useCallback` with explicit dependencies, and an `isScanLocked` state flag unsets `onBarcodeScanned` so CameraView does not fire twice for one code."
    },
    {
      "id": "file:apps/native/app/transfer/entry.tsx",
      "type": "file",
      "name": "entry.tsx",
      "filePath": "apps/native/app/transfer/entry.tsx",
      "summary": "Transfer amount entry screen that reads recipient id, name, avatar, and mode from route params, shows the recipient Avatar with an amount input and a note field, and on SEND or REQUEST replaces the route with /home plus snackbar params. It does not call any transfer API yet.",
      "tags": [
        "screen",
        "transfer",
        "form",
        "navigation"
      ],
      "complexity": "moderate"
    },
    {
      "id": "file:apps/native/app/transfer/index.tsx",
      "type": "file",
      "name": "index.tsx",
      "filePath": "apps/native/app/transfer/index.tsx",
      "summary": "Transfer recipient picker screen that sets the core search category atom to SEND or REQUEST from the `mode` param, shows HeaderSearch with a back arrow to /home, the QR scan card, and SearchResults whose item press pushes /transfer/entry with the chosen recipient.",
      "tags": [
        "screen",
        "transfer",
        "search",
        "navigation"
      ],
      "complexity": "moderate"
    },
    {
      "id": "file:apps/native/app/transfer/notification.tsx",
      "type": "file",
      "name": "notification.tsx",
      "filePath": "apps/native/app/transfer/notification.tsx",
      "summary": "Pending-transfer confirmation screen that builds a 'Pending request/tokens to <name>' notice from the recipientName, amount, and mode route params, shows it in a cream notification card with initials, and offers a 'Go to home' button.",
      "tags": [
        "screen",
        "transfer",
        "notification",
        "navigation"
      ],
      "complexity": "moderate"
    },
    {
      "id": "file:apps/native/components/HeaderSearch.tsx",
      "type": "file",
      "name": "HeaderSearch.tsx",
      "filePath": "apps/native/components/HeaderSearch.tsx",
      "summary": "Shared app header that the home, search, wallet, and transfer screens use. It toggles between a green logo bar (search icon, placeholder filter icon, or an optional back arrow) and a white search box that writes to the core Jotai search atoms and shows a spinner while searchLoadingAtom is true.",
      "tags": [
        "component",
        "search",
        "header",
        "state-management"
      ],
      "complexity": "moderate",
      "languageNotes": "Value atoms are read with `useAtom` and action atoms are taken with `useSetAtom`, which does not subscribe to value changes. A second `<StatusBar hidden />` at the end of the tree hides the status bar and overrides the styled StatusBar above it."
    },
    {
      "id": "file:apps/native/components/svg/Cloud.tsx",
      "type": "file",
      "name": "Cloud.tsx",
      "filePath": "apps/native/components/svg/Cloud.tsx",
      "summary": "react-native-svg illustration of a green cloud with 101x101 defaults, shown as the third onboarding slide icon; it spreads SvgProps so callers can resize it.",
      "tags": [
        "component",
        "svg",
        "illustration",
        "onboarding"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/native/components/svg/Leaf.tsx",
      "type": "file",
      "name": "Leaf.tsx",
      "filePath": "apps/native/components/svg/Leaf.tsx",
      "summary": "react-native-svg illustration of two green leaves that grow from a ground ellipse, default-exported as the `Leaft` component and shown on the first onboarding slide.",
      "tags": [
        "component",
        "svg",
        "illustration",
        "onboarding"
      ],
      "complexity": "simple",
      "languageNotes": "The component identifier is misspelled `Leaft`. The onboarding screen imports the default export under the name `Leafs`, so the typo does not leak to callers."
    },
    {
      "id": "file:apps/native/components/svg/wallet.tsx",
      "type": "file",
      "name": "wallet.tsx",
      "filePath": "apps/native/components/svg/wallet.tsx",
      "summary": "react-native-svg illustration of an open green wallet with card flaps, shown as the second onboarding slide icon; it forwards SvgProps for sizing.",
      "tags": [
        "component",
        "svg",
        "illustration",
        "onboarding"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/native/app/(tabs)/home/_layout.tsx:HomeLayout",
      "type": "function",
      "name": "HomeLayout",
      "filePath": "apps/native/app/(tabs)/home/_layout.tsx",
      "lineRange": [
        4,
        16
      ],
      "summary": "Returns an expo-router Stack whose only screen, `index`, shows HeaderSearch as its header while the stack default hides headers.",
      "tags": [
        "layout",
        "routing",
        "component"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/native/app/(tabs)/home/index.tsx:Home",
      "type": "function",
      "name": "Home",
      "filePath": "apps/native/app/(tabs)/home/index.tsx",
      "lineRange": [
        41,
        247
      ],
      "summary": "Default-exported home screen component. It reads the search atoms, resets the category to 'all' when search closes, starts the copilot tour after 300 ms when AsyncStorage has no hasSeenHomeTour flag, and builds the snackbar text ('N Tokens sent!' or 'requested!') from route params.",
      "tags": [
        "screen",
        "component",
        "hook",
        "state-management"
      ],
      "complexity": "complex"
    },
    {
      "id": "function:apps/native/app/(tabs)/home/index.tsx:BalanceCard",
      "type": "function",
      "name": "BalanceCard",
      "filePath": "apps/native/app/(tabs)/home/index.tsx",
      "lineRange": [
        249,
        306
      ],
      "summary": "Wraps a WalletSummary tile for one balanceData entry with a toll or wallet icon and, for the Tokens and Wallets labels, places it inside a numbered CopilotStep so the home tour can highlight it.",
      "tags": [
        "component",
        "onboarding-tour",
        "balance"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/native/app/(tabs)/search/_layout.tsx:SearchLayout",
      "type": "function",
      "name": "SearchLayout",
      "filePath": "apps/native/app/(tabs)/search/_layout.tsx",
      "lineRange": [
        4,
        17
      ],
      "summary": "Returns an expo-router Stack for the search tab whose index screen uses HeaderSearch as its header with `animation: \"none\"`.",
      "tags": [
        "layout",
        "routing",
        "component"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/native/app/(tabs)/search/index.tsx:Search",
      "type": "function",
      "name": "Search",
      "filePath": "apps/native/app/(tabs)/search/index.tsx",
      "lineRange": [
        10,
        38
      ],
      "summary": "Renders the search tab body: QRCodeDisplay with a handler that pushes /scancode, a medium-weight 'Top wallets' Heading, and SearchResults without an item press handler.",
      "tags": [
        "screen",
        "component",
        "search"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/native/app/onboarding/index.tsx:OnboardingScreen",
      "type": "function",
      "name": "OnboardingScreen",
      "filePath": "apps/native/app/onboarding/index.tsx",
      "lineRange": [
        53,
        149
      ],
      "summary": "Tracks the current slide from the FlashList momentum scroll offset, scrolls to a slide when a dot is pressed, and stores `hasLaunched=true` in AsyncStorage before it pushes /(auth)/register or /(auth)/login.",
      "tags": [
        "screen",
        "component",
        "onboarding",
        "navigation"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:apps/native/app/scancode.tsx:getStringValue",
      "type": "function",
      "name": "getStringValue",
      "filePath": "apps/native/app/scancode.tsx",
      "lineRange": [
        29,
        41
      ],
      "summary": "Returns the first trimmed, non-empty string value that a record holds under any of the given candidate keys, or undefined; parseQrPayload uses it to read alias keys.",
      "tags": [
        "utility",
        "parsing",
        "validation"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/native/app/scancode.tsx:parseQrPayload",
      "type": "function",
      "name": "parseQrPayload",
      "filePath": "apps/native/app/scancode.tsx",
      "lineRange": [
        43,
        95
      ],
      "summary": "Converts a raw QR string into recipientId, recipientName, and recipientAvatar. It tries a JSON object with alias keys, then URL query parameters, then falls back to the raw text cut to 80 characters, and returns null for empty input.",
      "tags": [
        "parsing",
        "qr-code",
        "serialization",
        "utility"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:apps/native/app/scancode.tsx:ScanCodeScreen",
      "type": "function",
      "name": "ScanCodeScreen",
      "filePath": "apps/native/app/scancode.tsx",
      "lineRange": [
        97,
        415
      ],
      "summary": "Default-exported scanner component that wires camera permission checks, a scan lock against duplicate reads, gallery image decoding with error alerts, and navigation to /transfer/entry for a decoded payload or back to /transfer.",
      "tags": [
        "screen",
        "component",
        "camera",
        "qr-code"
      ],
      "complexity": "complex"
    },
    {
      "id": "function:apps/native/app/transfer/entry.tsx:TransferEntryScreen",
      "type": "function",
      "name": "TransferEntryScreen",
      "filePath": "apps/native/app/transfer/entry.tsx",
      "lineRange": [
        22,
        155
      ],
      "summary": "Normalizes the recipient and mode route params, keeps amount and note state, disables the action unless the amount parses to a positive number, and on press replaces the route with /home plus snackbarAction, snackbarAmount, and a timestamp snackbarKey.",
      "tags": [
        "screen",
        "component",
        "transfer",
        "form"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:apps/native/app/transfer/index.tsx:TransferRecipientScreen",
      "type": "function",
      "name": "TransferRecipientScreen",
      "filePath": "apps/native/app/transfer/index.tsx",
      "lineRange": [
        16,
        75
      ],
      "summary": "Derives SEND or REQUEST mode from the route param, syncs it to selectCategoryAtom in an effect, and pushes /transfer/entry with the pressed search item's id, name, and string avatar.",
      "tags": [
        "screen",
        "component",
        "transfer",
        "search"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:apps/native/app/transfer/notification.tsx:TransferNotificationScreen",
      "type": "function",
      "name": "TransferNotificationScreen",
      "filePath": "apps/native/app/transfer/notification.tsx",
      "lineRange": [
        13,
        118
      ],
      "summary": "Builds mode-specific pending title and description strings from route params and renders them beside a two-letter initials badge, with back, close, and 'Go to home' controls that replace the route with /home.",
      "tags": [
        "screen",
        "component",
        "transfer",
        "notification"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:apps/native/components/HeaderSearch.tsx:HeaderSearch",
      "type": "function",
      "name": "HeaderSearch",
      "filePath": "apps/native/components/HeaderSearch.tsx",
      "lineRange": [
        30,
        170
      ],
      "summary": "Header component with optional showBackOnLeft and onLeftBackPress props. It sets the header height to 25% of the window width, runs performSearch on every text change, and starts or cancels search mode through Jotai action atoms.",
      "tags": [
        "component",
        "search",
        "header",
        "hook"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:apps/native/components/svg/Cloud.tsx:Cloud",
      "type": "function",
      "name": "Cloud",
      "filePath": "apps/native/components/svg/Cloud.tsx",
      "lineRange": [
        4,
        37
      ],
      "summary": "Arrow-function SVG component that draws the cloud illustration from filled and stroked Path elements and spreads incoming SvgProps over the 101x101 defaults.",
      "tags": [
        "component",
        "svg",
        "illustration"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/native/components/svg/Leaf.tsx:Leaft",
      "type": "function",
      "name": "Leaft",
      "filePath": "apps/native/components/svg/Leaf.tsx",
      "lineRange": [
        4,
        34
      ],
      "summary": "Arrow-function SVG component that draws two leaves, a stem, and a ground shadow, with incoming SvgProps overriding the 101x101 size.",
      "tags": [
        "component",
        "svg",
        "illustration"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/native/components/svg/wallet.tsx:Wallet",
      "type": "function",
      "name": "Wallet",
      "filePath": "apps/native/components/svg/wallet.tsx",
      "lineRange": [
        4,
        62
      ],
      "summary": "Arrow-function SVG component that draws the wallet body, card flaps, and clasp from ten Path elements and accepts SvgProps overrides.",
      "tags": [
        "component",
        "svg",
        "illustration"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/native/components/ui/QRCodeDisplay.tsx",
      "type": "file",
      "name": "QRCodeDisplay.tsx",
      "filePath": "apps/native/components/ui/QRCodeDisplay.tsx",
      "summary": "Pressable 'Scan or show QR code' card with a QR icon Avatar and a 'Quickly send or request tokens' subtitle. The home, search, and transfer recipient screens render it and pass an onPress that routes to /scancode.",
      "tags": [
        "component",
        "qr-code",
        "ui-card",
        "accessibility"
      ],
      "complexity": "moderate"
    },
    {
      "id": "file:apps/native/components/ui/SearchResultItem.tsx",
      "type": "file",
      "name": "SearchResultItem.tsx",
      "filePath": "apps/native/components/ui/SearchResultItem.tsx",
      "summary": "Single pressable row in the search results list that shows a wallet Avatar and name and passes the whole item to the optional onPress callback.",
      "tags": [
        "component",
        "search",
        "list-item"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/native/components/ui/SearchResults.tsx",
      "type": "file",
      "name": "SearchResults.tsx",
      "filePath": "apps/native/components/ui/SearchResults.tsx",
      "summary": "Search results list that reads `sections` and `hasNoResults` from the core useSearchResults hook and renders a tuned SectionList of SearchResultItem rows, or EmptyState when nothing matches; it forwards onItemPress to each row.",
      "tags": [
        "component",
        "search",
        "list",
        "hook-consumer"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/native/components/ui/WalletItem.tsx",
      "type": "file",
      "name": "WalletItem.tsx",
      "filePath": "apps/native/components/ui/WalletItem.tsx",
      "summary": "Recent-activity row for the home screen FlashList that shows the Greenstand logo, a wallet name, its Sent/Received status, and a balance, styled from module-level THEME values.",
      "tags": [
        "component",
        "wallet",
        "list-item"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/native/components/ui/WalletSummary.tsx",
      "type": "file",
      "name": "WalletSummary.tsx",
      "filePath": "apps/native/components/ui/WalletSummary.tsx",
      "summary": "Balance summary card that shows an icon, a label, and a large right-aligned value, sized from the screen WIDTH; the home BalanceCard uses it for the Tokens and Wallets tiles. It declares a `style` prop but does not apply it, so the width that BalanceCard passes has no effect.",
      "tags": [
        "component",
        "wallet",
        "ui-card",
        "balance"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/native/components/ui/common/Avatar.tsx",
      "type": "file",
      "name": "Avatar.tsx",
      "filePath": "apps/native/components/ui/common/Avatar.tsx",
      "summary": "Circular avatar component that shows uppercase initials from getInitials on a gray background when no avatarUrl is given. Otherwise it loads the URL with expo-image and switches to a fallback image (by default the Greenstand logo) on a load error.",
      "tags": [
        "component",
        "avatar",
        "image",
        "fallback"
      ],
      "complexity": "moderate"
    },
    {
      "id": "file:apps/native/components/ui/common/CustomButton.tsx",
      "type": "file",
      "name": "CustomButton.tsx",
      "filePath": "apps/native/components/ui/common/CustomButton.tsx",
      "summary": "Full-width TouchableOpacity button with a green primary variant and a transparent, gray-text secondary variant that merges caller style and textStyle overrides; the onboarding and transfer screens use it.",
      "tags": [
        "component",
        "button",
        "ui-primitive"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/native/components/ui/common/EmptyState.tsx",
      "type": "file",
      "name": "EmptyState.tsx",
      "filePath": "apps/native/components/ui/common/EmptyState.tsx",
      "summary": "Centered empty-results placeholder with an emoji icon, a message, and an optional sub-message, defaulting to 'No results found'; SearchResults renders it when the search returns nothing.",
      "tags": [
        "component",
        "empty-state",
        "search",
        "ui-primitive"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/native/components/ui/common/Heading.tsx",
      "type": "file",
      "name": "Heading.tsx",
      "filePath": "apps/native/components/ui/common/Heading.tsx",
      "summary": "Bold 20px Text heading that takes a title and merges any TextProps style; the home, search, transfer, and login screens use it for section titles.",
      "tags": [
        "component",
        "typography",
        "ui-primitive"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/native/data/data.ts",
      "type": "file",
      "name": "data.ts",
      "filePath": "apps/native/data/data.ts",
      "summary": "Hard-coded mock list of eight wallet activity records (id, name, Sent/Received status, balance) that the home screen renders as its recent-activity list.",
      "tags": [
        "mock-data",
        "fixture",
        "wallet"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/native/theme/index.ts",
      "type": "file",
      "name": "index.ts",
      "filePath": "apps/native/theme/index.ts",
      "summary": "Design-token module for the native app. It exports LAYOUT (screen-relative paddings and spacing), COLORS (Greenstand greens and a gray scale), TYPOGRAPHY (Roboto sizes and font names), SPACING, a width-based scaleSize helper, the combined THEME object, and keyof-derived types such as TypographyWeight.",
      "tags": [
        "theme",
        "design-tokens",
        "configuration",
        "type-definition"
      ],
      "complexity": "moderate",
      "languageNotes": "Each token object uses `as const`, and the exported types (`ColorPalette`, `TypographyWeight`, ...) derive from them with `keyof typeof`. TYPOGRAPHY.weight holds font-family names such as `Roboto_500Medium`, yet many screens cast them to TypographyWeight and pass them as `fontWeight`."
    },
    {
      "id": "file:apps/native/utils/dimensions.ts",
      "type": "file",
      "name": "dimensions.ts",
      "filePath": "apps/native/utils/dimensions.ts",
      "summary": "Exports the device screen size (WIDTH, HEIGHT) and window size (WINDOW_WIDTH, WINDOW_HEIGHT), read once at module load from React Native Dimensions; the theme, HeaderSearch, and WalletSummary use them.",
      "tags": [
        "utility",
        "layout",
        "dimensions"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/native/utils/getInitials.ts",
      "type": "file",
      "name": "getInitials.ts",
      "filePath": "apps/native/utils/getInitials.ts",
      "summary": "Default-exported helper module that turns a name into up to two uppercase initials; Avatar uses it for its no-image fallback.",
      "tags": [
        "utility",
        "string",
        "formatting"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/native/components/ui/QRCodeDisplay.tsx:QRCodeDisplay",
      "type": "function",
      "name": "QRCodeDisplay",
      "filePath": "apps/native/components/ui/QRCodeDisplay.tsx",
      "lineRange": [
        12,
        71
      ],
      "summary": "Resolves the bundled QRIcon.png asset URI, renders it through Avatar inside an accessible Pressable card that dims to 0.85 opacity while pressed, and calls the optional onPress prop.",
      "tags": [
        "component",
        "qr-code",
        "accessibility"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/native/components/ui/SearchResultItem.tsx:SearchResultItem",
      "type": "function",
      "name": "SearchResultItem",
      "filePath": "apps/native/components/ui/SearchResultItem.tsx",
      "lineRange": [
        11,
        49
      ],
      "summary": "Renders one search hit as a white Pressable row with a 40px Avatar and the item name, and invokes onPress(item) when the prop is provided.",
      "tags": [
        "component",
        "search",
        "list-item"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/native/components/ui/SearchResults.tsx:SearchResults",
      "type": "function",
      "name": "SearchResults",
      "filePath": "apps/native/components/ui/SearchResults.tsx",
      "lineRange": [
        11,
        34
      ],
      "summary": "Calls useSearchResults, returns EmptyState when hasNoResults is true, and otherwise renders a SectionList with batching and clipped-subview settings for scroll performance.",
      "tags": [
        "component",
        "search",
        "list"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/native/components/ui/WalletItem.tsx:WalletItem",
      "type": "function",
      "name": "WalletItem",
      "filePath": "apps/native/components/ui/WalletItem.tsx",
      "lineRange": [
        16,
        36
      ],
      "summary": "Renders one activity row with the static Greenstand logo image, the item name, muted status text, and the balance number on the right.",
      "tags": [
        "component",
        "wallet",
        "list-item"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/native/components/ui/WalletSummary.tsx:WalletSummary",
      "type": "function",
      "name": "WalletSummary",
      "filePath": "apps/native/components/ui/WalletSummary.tsx",
      "lineRange": [
        14,
        30
      ],
      "summary": "Renders the card layout from the icon, label, and value props and drops the declared style prop without using it.",
      "tags": [
        "component",
        "wallet",
        "balance"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/native/components/ui/common/Avatar.tsx:Avatar",
      "type": "function",
      "name": "Avatar",
      "filePath": "apps/native/components/ui/common/Avatar.tsx",
      "lineRange": [
        19,
        93
      ],
      "summary": "Shows initials when avatarUrl is null and no fallback is active; otherwise renders an expo-image Image keyed by id whose onError handler logs a warning and switches to fallbackImage.",
      "tags": [
        "component",
        "avatar",
        "image",
        "fallback"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:apps/native/components/ui/common/CustomButton.tsx:CustomButton",
      "type": "function",
      "name": "CustomButton",
      "filePath": "apps/native/components/ui/common/CustomButton.tsx",
      "lineRange": [
        18,
        45
      ],
      "summary": "React.FC that flattens the base, secondary-variant, and caller styles for a TouchableOpacity and its Text label, then calls onPress on tap.",
      "tags": [
        "component",
        "button",
        "ui-primitive"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/native/components/ui/common/EmptyState.tsx:EmptyState",
      "type": "function",
      "name": "EmptyState",
      "filePath": "apps/native/components/ui/common/EmptyState.tsx",
      "lineRange": [
        11,
        30
      ],
      "summary": "Function component that renders the icon, the message at typography lg size, and the sub-message at sm size only when the sub-message is non-empty.",
      "tags": [
        "component",
        "empty-state",
        "ui-primitive"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/native/components/ui/common/Heading.tsx:Heading",
      "type": "function",
      "name": "Heading",
      "filePath": "apps/native/components/ui/common/Heading.tsx",
      "lineRange": [
        8,
        14
      ],
      "summary": "Spreads the remaining TextProps onto a Text element and combines the default bold title style with the caller style prop.",
      "tags": [
        "component",
        "typography",
        "ui-primitive"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/native/theme/index.ts:scaleSize",
      "type": "function",
      "name": "scaleSize",
      "filePath": "apps/native/theme/index.ts",
      "lineRange": [
        3,
        6
      ],
      "summary": "Scales a pixel size by the window width relative to a 375 px base, caps the scale factor at 1.5, and rounds the result; THEME exposes it as theme.scaleSize.",
      "tags": [
        "utility",
        "responsive",
        "theme"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/native/utils/getInitials.ts:getInitials",
      "type": "function",
      "name": "getInitials",
      "filePath": "apps/native/utils/getInitials.ts",
      "lineRange": [
        1,
        8
      ],
      "summary": "Splits the value on spaces, drops empty parts, uppercases the first letter of each word, and joins at most the first two letters.",
      "tags": [
        "utility",
        "string",
        "formatting"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/user/libs/utils/swagger.ts",
      "type": "file",
      "name": "swagger.ts",
      "filePath": "apps/user/libs/utils/swagger.ts",
      "summary": "Exports setupSwagger, which builds an OpenAPI document titled \"API\" (version 2.0.0, bearer auth) and mounts Swagger UI at /swagger on the NestJS app; main.ts calls it only outside production.",
      "tags": [
        "utility",
        "api-docs",
        "swagger",
        "nestjs"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/user/libs/validation/dtos/login-user.dto.ts",
      "type": "file",
      "name": "login-user.dto.ts",
      "filePath": "apps/user/libs/validation/dtos/login-user.dto.ts",
      "summary": "Defines LoginUserDto, the POST /login request body with required non-empty string username and password, validated by class-validator and documented with @ApiProperty; UserController and UserService consume it.",
      "tags": [
        "data-model",
        "validation",
        "dto",
        "authentication",
        "tested"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/user/libs/validation/dtos/register-user.dto.ts",
      "type": "file",
      "name": "register-user.dto.ts",
      "filePath": "apps/user/libs/validation/dtos/register-user.dto.ts",
      "summary": "Defines RegisterUserDto, the POST /register request body with optional firstName and lastName, a required username, a valid email, and a password of at least 8 characters; UserController.registerUser and UserService.createUser consume it.",
      "tags": [
        "data-model",
        "validation",
        "dto",
        "registration",
        "tested"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/user/src/app.module.ts",
      "type": "file",
      "name": "app.module.ts",
      "filePath": "apps/user/src/app.module.ts",
      "summary": "Root NestJS module of the user API: it runs dotenv, selects .dev.env or .env for ConfigModule from NODE_ENV, and wires UserModule, HttpModule, QueueModule, and AuthModule with UserController, UserService, and AuthService. main.ts bootstraps it and the e2e suite compiles it.",
      "tags": [
        "composition-root",
        "nestjs-module",
        "dependency-injection",
        "config",
        "tested"
      ],
      "complexity": "simple",
      "languageNotes": "UserController and UserService are registered both here and inside UserModule, so AppModule creates a second set of these providers."
    },
    {
      "id": "file:apps/user/src/auth/auth.module.ts",
      "type": "file",
      "name": "auth.module.ts",
      "filePath": "apps/user/src/auth/auth.module.ts",
      "summary": "NestJS module that imports HttpModule and provides and exports AuthService, so AppModule, UserModule, and QueueModule can inject the Keycloak service-account token client.",
      "tags": [
        "nestjs-module",
        "dependency-injection",
        "authentication"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/user/src/auth/auth.service.ts",
      "type": "file",
      "name": "auth.service.ts",
      "filePath": "apps/user/src/auth/auth.service.ts",
      "summary": "Injectable AuthService that gets a Keycloak service-account access token with the client_credentials grant and caches it in memory until expires_in elapses. UserService and QueueListenerService call getToken() to authorize Keycloak admin and Wallet API requests.",
      "tags": [
        "service",
        "authentication",
        "keycloak",
        "token-cache",
        "tested"
      ],
      "complexity": "moderate",
      "languageNotes": "Uses rxjs firstValueFrom to turn the Observable from @nestjs/axios HttpService into a Promise."
    },
    {
      "id": "file:apps/user/src/auth/auth.spec.int.ts",
      "type": "file",
      "name": "auth.spec.int.ts",
      "filePath": "apps/user/src/auth/auth.spec.int.ts",
      "summary": "Jest integration tests for AuthService with a mocked HttpService.post that cover the first token fetch, cache reuse, refresh after expiry, the expiresAt arithmetic, and HttpException on network errors and Keycloak 401 responses.",
      "tags": [
        "test",
        "integration-test",
        "authentication",
        "jest"
      ],
      "complexity": "moderate"
    },
    {
      "id": "file:apps/user/src/main.ts",
      "type": "file",
      "name": "main.ts",
      "filePath": "apps/user/src/main.ts",
      "summary": "Entry point of the NestJS user API: bootstrap creates the app from AppModule, enables Swagger outside production, applies a whitelisting ValidationPipe and environment-driven CORS, and listens on PORT (default 8080) on 0.0.0.0, exiting with code 1 when startup fails.",
      "tags": [
        "entry-point",
        "bootstrap",
        "nestjs",
        "cors"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/user/src/queue-listener/helpers/onQueueNotification.ts",
      "type": "file",
      "name": "onQueueNotification.ts",
      "filePath": "apps/user/src/queue-listener/helpers/onQueueNotification.ts",
      "summary": "Helper that subscribes the user API client to the PostgreSQL \"wallets/creation\" channel through the shared queue package and passes the account_id from each message to a callback; QueueListenerService uses it to react to new wallets.",
      "tags": [
        "event-handler",
        "queue",
        "postgres",
        "pub-sub"
      ],
      "complexity": "simple",
      "languageNotes": "Most of the file is a commented-out earlier LISTEN implementation; the module-level messageObj with a random capture_id is only used for its channel name."
    },
    {
      "id": "file:apps/user/src/queue-listener/queue-listener.module.ts",
      "type": "file",
      "name": "queue-listener.module.ts",
      "filePath": "apps/user/src/queue-listener/queue-listener.module.ts",
      "summary": "NestJS module named QueueModule that imports HttpModule and AuthModule and provides and exports QueueListenerService, so the wallet-creation listener starts when AppModule loads.",
      "tags": [
        "nestjs-module",
        "dependency-injection",
        "queue"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/user/src/queue-listener/queue-listener.service.ts",
      "type": "file",
      "name": "queue-listener.service.ts",
      "filePath": "apps/user/src/queue-listener/queue-listener.service.ts",
      "summary": "Injectable QueueListenerService that registers a wallet-creation queue callback at module init; for each account_id it lists the account's managed wallets from the Wallet API (/wallet/v2/wallets) and transfers a reward token bundle from SENDER_WALLET_ID to the first wallet.",
      "tags": [
        "service",
        "event-handler",
        "wallet-api",
        "token-transfer",
        "queue",
        "tested"
      ],
      "complexity": "moderate",
      "languageNotes": "transferToken interpolates this.authService.getToken() without await, so the Authorization header holds a stringified Promise; the integration test mocks getToken synchronously and does not catch this."
    },
    {
      "id": "file:apps/user/src/queue-listener/queue-listener.spec.int.ts",
      "type": "file",
      "name": "queue-listener.spec.int.ts",
      "filePath": "apps/user/src/queue-listener/queue-listener.spec.int.ts",
      "summary": "Jest integration test for QueueListenerService that mocks onQueueNotification to capture the callback, then checks that one queued account_id causes a GET to /wallet/v2/wallets and a POST to /wallet/v2/transfers with the reward bundle and bearer headers.",
      "tags": [
        "test",
        "integration-test",
        "queue",
        "jest"
      ],
      "complexity": "moderate"
    },
    {
      "id": "file:apps/user/src/user/user.controller.spec.int.ts",
      "type": "file",
      "name": "user.controller.spec.int.ts",
      "filePath": "apps/user/src/user/user.controller.spec.int.ts",
      "summary": "Supertest integration suite that boots UserModule with a mocked UserService and a real ValidationPipe, and checks the HTTP status mapping of POST /register (201, 409, 403, optional names) and POST /login (200, 400 on empty or missing body, 401, 500).",
      "tags": [
        "test",
        "integration-test",
        "api-handler",
        "supertest"
      ],
      "complexity": "complex"
    },
    {
      "id": "file:apps/user/src/user/user.controller.spec.ts",
      "type": "file",
      "name": "user.controller.spec.ts",
      "filePath": "apps/user/src/user/user.controller.spec.ts",
      "summary": "Jest unit tests for UserController with a stubbed UserService that assert registerUser forwards the RegisterUserDto to createUser and loginUser forwards the credentials to UserService.loginUser and returns its access_token.",
      "tags": [
        "test",
        "unit-test",
        "controller",
        "jest"
      ],
      "complexity": "moderate"
    },
    {
      "id": "file:apps/user/src/user/user.controller.ts",
      "type": "file",
      "name": "user.controller.ts",
      "filePath": "apps/user/src/user/user.controller.ts",
      "summary": "NestJS UserController that exposes POST /login (HTTP 200), POST /register, GET /healthz (returns \"tree growing!!\"), and GET /me, which strips the Bearer prefix and rejects a missing token with 401; all business work goes to UserService.",
      "tags": [
        "api-handler",
        "controller",
        "rest",
        "authentication",
        "tested"
      ],
      "complexity": "simple",
      "languageNotes": "The healthz handler declares an unused @Body() RegisterUserDto parameter."
    },
    {
      "id": "file:apps/user/src/user/user.module.ts",
      "type": "file",
      "name": "user.module.ts",
      "filePath": "apps/user/src/user/user.module.ts",
      "summary": "Feature module that imports HttpModule and AuthModule and registers UserController and UserService, so the user endpoints get the Keycloak HTTP client and the service-account token provider.",
      "tags": [
        "nestjs-module",
        "dependency-injection",
        "user",
        "tested"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/user/src/user/user.service.ts",
      "type": "file",
      "name": "user.service.ts",
      "filePath": "apps/user/src/user/user.service.ts",
      "summary": "Injectable UserService that proxies user operations to Keycloak: password-grant login, admin-API user creation with the service-account token, and a profile lookup that combines userinfo with the admin user record. It maps Keycloak errors to NestJS HttpExceptions for UserController.",
      "tags": [
        "service",
        "keycloak",
        "authentication",
        "user-management",
        "tested"
      ],
      "complexity": "moderate"
    },
    {
      "id": "file:apps/user/tests/api.spec.e2e.ts",
      "type": "file",
      "name": "api.spec.e2e.ts",
      "filePath": "apps/user/tests/api.spec.e2e.ts",
      "summary": "End-to-end Jest suite that boots the full AppModule against a live Keycloak and calls POST /register and POST /login with timestamped users, expecting 201 with a success message and a login access_token longer than 100 characters.",
      "tags": [
        "test",
        "e2e",
        "api",
        "supertest"
      ],
      "complexity": "moderate",
      "languageNotes": "The case named \"should return 409 when a user exists with same username\" registers a new unique user and expects 201, so the conflict path is not tested here."
    },
    {
      "id": "file:packages/queue/__tests__/index.spec.js",
      "type": "file",
      "name": "index.spec.js",
      "filePath": "packages/queue/__tests__/index.spec.js",
      "summary": "Jest test for the queue package that subscribes two pg clients to a \"tree\" channel, publishes one message, and asserts that each emitter receives the matching row with an ack timestamp for its client ID; it needs a live DATABASE_URL.",
      "tags": [
        "test",
        "queue",
        "postgres",
        "pub-sub"
      ],
      "complexity": "moderate"
    },
    {
      "id": "file:packages/queue/ack.js",
      "type": "file",
      "name": "ack.js",
      "filePath": "packages/queue/ack.js",
      "summary": "Exports ack, which records a client's receipt of a queue.message row by writing a timestamp into ack[clientID] with jsonb_set, then re-reads and verifies the row; subscribe.js calls it for each notification.",
      "tags": [
        "utility",
        "queue",
        "postgres",
        "acknowledgement",
        "tested"
      ],
      "complexity": "simple",
      "languageNotes": "The SQL is built by string interpolation of clientID, dateStr, and id (an injection risk), and errors thrown inside the pg callbacks do not reject the returned Promise."
    },
    {
      "id": "file:packages/queue/index.js",
      "type": "file",
      "name": "index.js",
      "filePath": "packages/queue/index.js",
      "summary": "Barrel entry of the queue package that re-exports subscribe and publish as a CommonJS object for consumers of the PostgreSQL LISTEN/NOTIFY message queue.",
      "tags": [
        "barrel",
        "entry-point",
        "queue"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/queue/pgClient.js",
      "type": "file",
      "name": "pgClient.js",
      "filePath": "packages/queue/pgClient.js",
      "summary": "Creates and connects two pg Client instances (pgClient and pgClient2) from DATABASE_URL loaded by dotenv and logs the connection status with loglevel; the user API notification helper and the queue tests import them.",
      "tags": [
        "database",
        "postgres",
        "connection",
        "singleton",
        "tested"
      ],
      "complexity": "simple",
      "languageNotes": "The module connects at import time and prints the full DATABASE_URL to the console, which can expose credentials in logs."
    },
    {
      "id": "file:packages/queue/publish.js",
      "type": "file",
      "name": "publish.js",
      "filePath": "packages/queue/publish.js",
      "summary": "Exports publish, which inserts a channel and data payload into the queue.message table with a parameterized INSERT ... RETURNING query; subscribe.js listeners then expect a notification that carries the new row id.",
      "tags": [
        "queue",
        "postgres",
        "pub-sub",
        "producer",
        "tested"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/queue/subscribe.js",
      "type": "file",
      "name": "subscribe.js",
      "filePath": "packages/queue/subscribe.js",
      "summary": "Exports async subscribe, which issues LISTEN on a channel for a pg client, acknowledges each notified row through ack, and returns an EventEmitter that emits \"message\" with the acknowledged queue.message row.",
      "tags": [
        "event-handler",
        "queue",
        "pub-sub",
        "postgres",
        "tested"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/user/libs/utils/swagger.ts:setupSwagger",
      "type": "function",
      "name": "setupSwagger",
      "filePath": "apps/user/libs/utils/swagger.ts",
      "lineRange": [
        4,
        13
      ],
      "summary": "Builds a DocumentBuilder config (title API, version 2.0.0, bearer auth), generates the OpenAPI document with SwaggerModule.createDocument, and serves it at the /swagger path.",
      "tags": [
        "swagger",
        "api-docs",
        "setup"
      ],
      "complexity": "simple"
    },
    {
      "id": "class:apps/user/libs/validation/dtos/login-user.dto.ts:LoginUserDto",
      "type": "class",
      "name": "LoginUserDto",
      "filePath": "apps/user/libs/validation/dtos/login-user.dto.ts",
      "lineRange": [
        4,
        19
      ],
      "summary": "Class-validator DTO that holds username and password, both marked @IsString and @IsNotEmpty with @ApiProperty, so the global ValidationPipe returns 400 for empty login bodies.",
      "tags": [
        "dto",
        "validation",
        "authentication"
      ],
      "complexity": "simple"
    },
    {
      "id": "class:apps/user/libs/validation/dtos/register-user.dto.ts:RegisterUserDto",
      "type": "class",
      "name": "RegisterUserDto",
      "filePath": "apps/user/libs/validation/dtos/register-user.dto.ts",
      "lineRange": [
        10,
        50
      ],
      "summary": "Registration DTO whose decorators make firstName and lastName optional strings, require username, enforce @IsEmail on email, and require @MinLength(8) on password.",
      "tags": [
        "dto",
        "validation",
        "registration"
      ],
      "complexity": "simple"
    },
    {
      "id": "class:apps/user/src/app.module.ts:AppModule",
      "type": "class",
      "name": "AppModule",
      "filePath": "apps/user/src/app.module.ts",
      "lineRange": [
        16,
        27
      ],
      "summary": "Decorated root module class that composes the user, queue, auth, HTTP, and environment-config modules and registers UserController with UserService and AuthService providers.",
      "tags": [
        "nestjs-module",
        "composition-root",
        "dependency-injection"
      ],
      "complexity": "simple"
    },
    {
      "id": "class:apps/user/src/auth/auth.module.ts:AuthModule",
      "type": "class",
      "name": "AuthModule",
      "filePath": "apps/user/src/auth/auth.module.ts",
      "lineRange": [
        5,
        10
      ],
      "summary": "Empty module class whose @Module metadata provides and exports AuthService together with HttpModule, which makes the service-account token client injectable in other modules.",
      "tags": [
        "nestjs-module",
        "authentication",
        "dependency-injection"
      ],
      "complexity": "simple"
    },
    {
      "id": "class:apps/user/src/auth/auth.service.ts:AuthService",
      "type": "class",
      "name": "AuthService",
      "filePath": "apps/user/src/auth/auth.service.ts",
      "lineRange": [
        10,
        66
      ],
      "summary": "Keeps a Keycloak client_credentials bearer token and its expiry timestamp in private fields; getToken returns the cached token, or refreshes it when the token is missing or expired.",
      "tags": [
        "service",
        "token-cache",
        "keycloak"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:apps/user/src/auth/auth.service.ts:fetchTokenFromKeycloak",
      "type": "function",
      "name": "fetchTokenFromKeycloak",
      "filePath": "apps/user/src/auth/auth.service.ts",
      "lineRange": [
        23,
        58
      ],
      "summary": "Posts client_id, client_secret, and grant_type=client_credentials to the realm openid-connect token endpoint, stores access_token and the expiry (now + expires_in seconds), and on failure logs and throws an HttpException with the upstream status or 503.",
      "tags": [
        "http-client",
        "keycloak",
        "error-handling"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:apps/user/src/main.ts:bootstrap",
      "type": "function",
      "name": "bootstrap",
      "filePath": "apps/user/src/main.ts",
      "lineRange": [
        6,
        43
      ],
      "summary": "Async startup routine that creates the Nest app with error/warn/log logging, mounts Swagger in non-production, builds CORS origins from CORS_ORIGINS or CORS_ORIGINS_DEV (localhost defaults), sets a global ValidationPipe, and starts listening.",
      "tags": [
        "bootstrap",
        "server-startup",
        "cors"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:apps/user/src/queue-listener/helpers/onQueueNotification.ts:onQueueNotification",
      "type": "function",
      "name": "onQueueNotification",
      "filePath": "apps/user/src/queue-listener/helpers/onQueueNotification.ts",
      "lineRange": [
        22,
        33
      ],
      "summary": "Calls the shared subscribe with pgClient, the \"wallets/creation\" channel, and client ID \"user-api-client\", then attaches a \"message\" listener that JSON-parses msg.payload and passes account_id to the callback.",
      "tags": [
        "event-handler",
        "subscription",
        "queue"
      ],
      "complexity": "simple",
      "languageNotes": "subscribe.js emits the acknowledged queue.message row (channel, data, ack), not a raw pg notification, so reading msg.payload here appears inconsistent with the emitted shape."
    },
    {
      "id": "class:apps/user/src/queue-listener/queue-listener.module.ts:QueueModule",
      "type": "class",
      "name": "QueueModule",
      "filePath": "apps/user/src/queue-listener/queue-listener.module.ts",
      "lineRange": [
        6,
        11
      ],
      "summary": "Module class whose metadata imports HttpModule and AuthModule and provides and exports QueueListenerService for the root AppModule.",
      "tags": [
        "nestjs-module",
        "queue",
        "dependency-injection"
      ],
      "complexity": "simple"
    },
    {
      "id": "class:apps/user/src/queue-listener/queue-listener.service.ts:QueueListenerService",
      "type": "class",
      "name": "QueueListenerService",
      "filePath": "apps/user/src/queue-listener/queue-listener.service.ts",
      "lineRange": [
        16,
        83
      ],
      "summary": "Implements OnModuleInit to hook onQueueNotification at startup, and uses injected HttpService and AuthService to call the Wallet API wallets and transfers endpoints for newly created accounts.",
      "tags": [
        "service",
        "lifecycle-hook",
        "wallet-api"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:apps/user/src/queue-listener/queue-listener.service.ts:transferToken",
      "type": "function",
      "name": "transferToken",
      "filePath": "apps/user/src/queue-listener/queue-listener.service.ts",
      "lineRange": [
        32,
        58
      ],
      "summary": "POSTs to /wallet/v2/transfers a bundle of REGISTER_REWARD_TOKEN_COUNT tokens from SENDER_WALLET_ID to the given wallet, logs the outcome, and returns { transferStatus: true } on both success and failure.",
      "tags": [
        "token-transfer",
        "wallet-api",
        "http-client"
      ],
      "complexity": "simple",
      "languageNotes": "The Authorization header interpolates an un-awaited getToken() Promise, and the catch branch also reports transferStatus true."
    },
    {
      "id": "function:apps/user/src/queue-listener/queue-listener.service.ts:sendToWalletApi",
      "type": "function",
      "name": "sendToWalletApi",
      "filePath": "apps/user/src/queue-listener/queue-listener.service.ts",
      "lineRange": [
        60,
        82
      ],
      "summary": "Gets a service-account token, GETs /wallet/v2/wallets?account_id=<id> to list the account's managed wallets, and calls transferToken for the first wallet or logs an error when the account has none.",
      "tags": [
        "wallet-api",
        "http-client",
        "event-handler"
      ],
      "complexity": "simple"
    },
    {
      "id": "class:apps/user/src/user/user.controller.ts:UserController",
      "type": "class",
      "name": "UserController",
      "filePath": "apps/user/src/user/user.controller.ts",
      "lineRange": [
        16,
        43
      ],
      "summary": "Controller class with a constructor-injected UserService whose handlers map the /login, /register, /healthz, and /me routes; getMe extracts the token from the Authorization header before it delegates.",
      "tags": [
        "controller",
        "api-handler",
        "rest"
      ],
      "complexity": "simple"
    },
    {
      "id": "class:apps/user/src/user/user.module.ts:UserModule",
      "type": "class",
      "name": "UserModule",
      "filePath": "apps/user/src/user/user.module.ts",
      "lineRange": [
        7,
        12
      ],
      "summary": "Module class that registers UserController and UserService with HttpModule and AuthModule imports; the controller integration spec compiles it with an overridden UserService.",
      "tags": [
        "nestjs-module",
        "user",
        "dependency-injection"
      ],
      "complexity": "simple"
    },
    {
      "id": "class:apps/user/src/user/user.service.ts:UserService",
      "type": "class",
      "name": "UserService",
      "filePath": "apps/user/src/user/user.service.ts",
      "lineRange": [
        10,
        195
      ],
      "summary": "Holds HttpService and AuthService and implements loginUser, createUser, and getMe against Keycloak realm endpoints that the PRIVATE_KEYCLOAK_* environment variables configure.",
      "tags": [
        "service",
        "keycloak",
        "user-management"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:apps/user/src/user/user.service.ts:loginUser",
      "type": "function",
      "name": "loginUser",
      "filePath": "apps/user/src/user/user.service.ts",
      "lineRange": [
        18,
        75
      ],
      "summary": "Checks that username and password exist, posts a password-grant form (with an optional client secret) to the Keycloak token endpoint, and returns { access_token }; it rethrows HttpExceptions and maps other errors to the upstream status and message.",
      "tags": [
        "authentication",
        "keycloak",
        "error-handling"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:apps/user/src/user/user.service.ts:createUser",
      "type": "function",
      "name": "createUser",
      "filePath": "apps/user/src/user/user.service.ts",
      "lineRange": [
        77,
        147
      ],
      "summary": "Gets the service-account token, posts a new enabled user with a non-temporary password credential to the Keycloak admin users API, returns a success message on HTTP 201, and maps 409 to CONFLICT and other failures to 403.",
      "tags": [
        "registration",
        "keycloak",
        "error-handling"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:apps/user/src/user/user.service.ts:getMe",
      "type": "function",
      "name": "getMe",
      "filePath": "apps/user/src/user/user.service.ts",
      "lineRange": [
        149,
        194
      ],
      "summary": "Validates the caller's token through Keycloak userinfo, reads the user's admin record with the service-account token, and returns the email and createdAt as an ISO string; an upstream 401 becomes \"Invalid or expired token\".",
      "tags": [
        "profile",
        "keycloak",
        "error-handling"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:packages/queue/ack.js:ack",
      "type": "function",
      "name": "ack",
      "filePath": "packages/queue/ack.js",
      "lineRange": [
        2,
        24
      ],
      "summary": "Runs a jsonb_set UPDATE that stamps ack[clientID] with dateStr on the queue.message row, then SELECTs the row, throws when the stored timestamp differs, and resolves with res.rows.",
      "tags": [
        "acknowledgement",
        "postgres",
        "sql"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:packages/queue/publish.js:publish",
      "type": "function",
      "name": "publish",
      "filePath": "packages/queue/publish.js",
      "lineRange": [
        2,
        10
      ],
      "summary": "Runs a parameterized INSERT of channel and data into queue.message RETURNING *, logs a dispatch message on success, and throws an insertion error from the callback on failure.",
      "tags": [
        "producer",
        "postgres",
        "sql"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:packages/queue/subscribe.js:subscribe",
      "type": "function",
      "name": "subscribe",
      "filePath": "packages/queue/subscribe.js",
      "lineRange": [
        5,
        27
      ],
      "summary": "Creates an EventEmitter, issues LISTEN \"<channel>\" on the pg client, and on every notification parses the row id, calls ack with an ISO timestamp, and emits \"message\" with the first returned row.",
      "tags": [
        "subscription",
        "postgres",
        "event-emitter"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/native/app/(auth)/checkEmail.tsx",
      "type": "file",
      "name": "checkEmail.tsx",
      "filePath": "apps/native/app/(auth)/checkEmail.tsx",
      "summary": "Expo Router screen at /(auth)/checkEmail shown after a password-reset request; it offers a back-arrow Link to /login, a BACK TO LOGIN CustomSubmitButton that pushes /(auth)/login, and an empty /forgotPassword resend Link whose ThemedText copy is commented out.",
      "tags": [
        "screen",
        "authentication",
        "navigation",
        "expo-router",
        "component"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/native/app/(auth)/forgotPassword.tsx",
      "type": "file",
      "name": "forgotPassword.tsx",
      "filePath": "apps/native/app/(auth)/forgotPassword.tsx",
      "summary": "Expo Router auth screen where the user types an email into a CustomTextInput that is regex-validated on every keystroke, then taps SEND THE LINK to navigate to /(auth)/checkEmail; no password-reset API call exists yet.",
      "tags": [
        "screen",
        "authentication",
        "validation",
        "form",
        "expo-router"
      ],
      "complexity": "moderate",
      "languageNotes": "The CustomSubmitButton style prop wraps a ternary and an array in parentheses joined by a comma operator, so the ternary result is discarded and only the uppercase style array reaches the button."
    },
    {
      "id": "file:apps/native/app/(auth)/login.tsx",
      "type": "file",
      "name": "login.tsx",
      "filePath": "apps/native/app/(auth)/login.tsx",
      "summary": "Expo Router login screen with email and password CustomTextInput fields, a Heading title, a LOG IN CustomSubmitButton, Gmail/Facebook/GitHub SocialLoginButton stubs, and a Sign up link to /register; a successful press routes to /(tabs)/home and writes isAuth to AsyncStorage.",
      "tags": [
        "screen",
        "authentication",
        "login",
        "async-storage",
        "expo-router"
      ],
      "complexity": "moderate",
      "languageNotes": "handleLogIn reads isAuth immediately after setAuth(true); React state updates are asynchronous, so the first press only flips the flag and a second press is needed to navigate."
    },
    {
      "id": "file:apps/native/app/(tabs)/settings/index.tsx",
      "type": "file",
      "name": "index.tsx",
      "filePath": "apps/native/app/(tabs)/settings/index.tsx",
      "summary": "Settings tab screen that renders a static list of seven entries (Account, Notifications, Data & Privacy, Legal, Support, About, Send feedback with an app version subtitle) and a LOG OUT button; item and logout handlers only log to the console for now.",
      "tags": [
        "screen",
        "settings",
        "navigation",
        "component",
        "placeholder"
      ],
      "complexity": "moderate"
    },
    {
      "id": "file:apps/native/app/(tabs)/wallet/[walletId].tsx",
      "type": "file",
      "name": "[walletId].tsx",
      "filePath": "apps/native/app/(tabs)/wallet/[walletId].tsx",
      "summary": "Dynamic Expo Router wallet detail screen that reads walletId, name, and balance search params, sets the native header title and a filter button, and switches between an Activity tab (WalletActivity fed by placeholder data) and a Details tab (WalletDetails), with a WalletFilterModal overlay.",
      "tags": [
        "screen",
        "wallet",
        "dynamic-route",
        "tabs",
        "expo-router"
      ],
      "complexity": "moderate",
      "languageNotes": "WALLET_TABS is declared 'as const' so the WalletTab union type is derived from the array values with an indexed access type."
    },
    {
      "id": "file:apps/native/app/(tabs)/wallet/_layout.tsx",
      "type": "file",
      "name": "_layout.tsx",
      "filePath": "apps/native/app/(tabs)/wallet/_layout.tsx",
      "summary": "Expo Router Stack layout for the wallet tab: the index route uses the custom HeaderSearch component as its header, and the [walletId] route gets a minimal-back-button native header with Colors.darkGray text on a white background.",
      "tags": [
        "layout",
        "navigation",
        "expo-router",
        "wallet"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/native/app/(tabs)/wallet/index.tsx",
      "type": "file",
      "name": "index.tsx",
      "filePath": "apps/native/app/(tabs)/wallet/index.tsx",
      "summary": "Wallets tab home screen that lists two hard-coded mock wallets with WalletList, opens WalletCreateDrawer from the CreateWallet row, coordinates the discard-changes prompt, and pushes /(tabs)/wallet/[walletId] with name, balance, and date params when a wallet is tapped.",
      "tags": [
        "screen",
        "wallet",
        "state-management",
        "mock-data",
        "expo-router"
      ],
      "complexity": "moderate"
    },
    {
      "id": "file:apps/native/components/ui/common/CustomModal.tsx",
      "type": "file",
      "name": "CustomModal.tsx",
      "filePath": "apps/native/components/ui/common/CustomModal.tsx",
      "summary": "Reusable bottom-sheet modal built on the React Native Modal with a slide animation, a tap-to-dismiss translucent overlay, and a white rounded sheet sized to half the window height; WalletCreateDrawer, WalletFilterModal, and ActionSelectionModal render their content inside it.",
      "tags": [
        "component",
        "modal",
        "bottom-sheet",
        "ui-primitive"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/native/components/ui/common/CustomSubmitButton.tsx",
      "type": "file",
      "name": "CustomSubmitButton.tsx",
      "filePath": "apps/native/components/ui/common/CustomSubmitButton.tsx",
      "summary": "Shared full-width Pressable submit button with a green background and uppercase white label, used by the login, forgot-password, and check-email screens and by WalletCreateDrawer; its disabled prop is inverted, so true makes the button active.",
      "tags": [
        "component",
        "button",
        "ui-primitive",
        "form"
      ],
      "complexity": "simple",
      "languageNotes": "The disabled prop has inverted semantics: onPress is attached only when disabled is true and Pressable receives disabled={!disabled}, so callers pass their 'is enabled' flag as disabled."
    },
    {
      "id": "file:apps/native/components/ui/common/CustomTextInput.tsx",
      "type": "file",
      "name": "CustomTextInput.tsx",
      "filePath": "apps/native/components/ui/common/CustomTextInput.tsx",
      "summary": "Shared Material-style text field with an animated floating label, green focus and red error underlines, an error icon with helper text, a password visibility toggle, a clear-text button, and multiline support; the login, forgot-password, and WalletCreateDrawer forms use it.",
      "tags": [
        "component",
        "form",
        "input",
        "animation",
        "ui-primitive"
      ],
      "complexity": "moderate",
      "languageNotes": "The floating label uses an Animated.Value interpolated into both top offset and fontSize with useNativeDriver: false, because layout properties cannot run on the native driver."
    },
    {
      "id": "file:apps/native/components/ui/common/SocialLoginButton.tsx",
      "type": "file",
      "name": "SocialLoginButton.tsx",
      "filePath": "apps/native/components/ui/common/SocialLoginButton.tsx",
      "summary": "Outlined social sign-in button that maps a provider prop (Gmail, Facebook, or GitHub) to a green MaterialCommunityIcons or FontAwesome icon and shows a 'Log in with <provider>' label; the login screen renders three of them.",
      "tags": [
        "component",
        "button",
        "authentication",
        "social-login"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/native/components/wallet/CreateWalletButton.tsx",
      "type": "file",
      "name": "CreateWalletButton.tsx",
      "filePath": "apps/native/components/wallet/CreateWalletButton.tsx",
      "summary": "Bordered row on the Wallets screen with a CREATE WALLET touch target and add icon that turns green while the create drawer is open, plus an info circle whose press handler only logs a placeholder message.",
      "tags": [
        "component",
        "wallet",
        "button",
        "placeholder"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/native/components/wallet/DiscardChangesModal.tsx",
      "type": "file",
      "name": "DiscardChangesModal.tsx",
      "filePath": "apps/native/components/wallet/DiscardChangesModal.tsx",
      "summary": "Centered fade-in confirmation dialog that asks 'Discard changes?' about an unsaved new wallet, with KEEP CHANGES and a red-outlined DISCARD action; WalletCreateDrawer shows it when the user closes a form that has input.",
      "tags": [
        "component",
        "modal",
        "confirmation",
        "wallet"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/native/components/wallet/WalletActivity.tsx",
      "type": "file",
      "name": "WalletActivity.tsx",
      "filePath": "apps/native/components/wallet/WalletActivity.tsx",
      "summary": "Exports the WalletTransaction type and the wallet Activity tab view, which renders Pending and Completed sections of transaction rows with initials avatars, dates, and signed amounts, or an empty-state card when a list has no items.",
      "tags": [
        "component",
        "wallet",
        "transactions",
        "type-definition",
        "list"
      ],
      "complexity": "moderate"
    },
    {
      "id": "file:apps/native/components/wallet/WalletCreateDrawer.tsx",
      "type": "file",
      "name": "WalletCreateDrawer.tsx",
      "filePath": "apps/native/components/wallet/WalletCreateDrawer.tsx",
      "summary": "Bottom-sheet wallet creation form inside CustomModal that collects a name and multiline description, rejects empty or case-insensitive duplicate names, lifts itself above the keyboard with LayoutAnimation, reports dirty state on close, and can overlay DiscardChangesModal.",
      "tags": [
        "component",
        "form",
        "wallet",
        "validation",
        "modal"
      ],
      "complexity": "moderate",
      "languageNotes": "Keyboard listeners use keyboardWillShow/Hide on iOS and keyboardDidShow/Hide on Android, and the effect cleanup removes both subscriptions."
    },
    {
      "id": "file:apps/native/components/wallet/WalletDetails.tsx",
      "type": "file",
      "name": "WalletDetails.tsx",
      "filePath": "apps/native/components/wallet/WalletDetails.tsx",
      "summary": "Details tab content for a wallet that shows the balance with en-US digit grouping beside a toll icon and unit label, plus a card with Edit wallet and Delete wallet action rows; it mixes the Colors constants with the COLORS token from the theme module.",
      "tags": [
        "component",
        "wallet",
        "balance",
        "ui"
      ],
      "complexity": "moderate"
    },
    {
      "id": "file:apps/native/components/wallet/WalletFilterModal.tsx",
      "type": "file",
      "name": "WalletFilterModal.tsx",
      "filePath": "apps/native/components/wallet/WalletFilterModal.tsx",
      "summary": "Bottom-sheet filter panel for wallet activity with radio options (All, Past 90 days, May, 2024), From/To date-range fields backed by @react-native-community/datetimepicker, and an APPLY button that passes the choice and ISO date strings to onApply.",
      "tags": [
        "component",
        "filter",
        "date-picker",
        "modal",
        "platform-specific"
      ],
      "complexity": "complex",
      "languageNotes": "Date picking branches on Platform.OS: Android renders the default picker dialog and commits on change, while iOS shows a spinner in a nested Modal and holds the value in tempDate until Done."
    },
    {
      "id": "file:apps/native/components/wallet/WalletList.tsx",
      "type": "file",
      "name": "WalletList.tsx",
      "filePath": "apps/native/components/wallet/WalletList.tsx",
      "summary": "Presentational 'Your wallets' card that renders each wallet's name, date, and green balance with a chevron as a touchable row between dividers, reports the tapped wallet id through onWalletPress, and shows 'No wallets found' for an empty array.",
      "tags": [
        "component",
        "wallet",
        "list",
        "presentational"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/native/constants/Colors.ts",
      "type": "file",
      "name": "Colors.ts",
      "filePath": "apps/native/constants/Colors.ts",
      "summary": "Central color palette for the native app with light and dark theme sets (text, background, tint, icon, tab icon colors) and flat brand values such as green #61892F, red, charcoal, grays, and overlay and shadow rgba strings; most screens and components import it, as do useThemeColor and Collapsible.",
      "tags": [
        "constants",
        "theme",
        "colors",
        "design-tokens"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/native/data/walletActivityPlaceholder.ts",
      "type": "file",
      "name": "walletActivityPlaceholder.ts",
      "filePath": "apps/native/data/walletActivityPlaceholder.ts",
      "summary": "Temporary mock wallet activity keyed by wallet id ('default', '1', '2'), each with pending and completed WalletTransaction lists and a 'May 2024' label, plus a lookup getter; its doc comment says to delete the file once the real API is wired up.",
      "tags": [
        "mock-data",
        "placeholder",
        "wallet",
        "data-fixture"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/native/app/(auth)/checkEmail.tsx:CheckEmailScreen",
      "type": "function",
      "name": "CheckEmailScreen",
      "filePath": "apps/native/app/(auth)/checkEmail.tsx",
      "lineRange": [
        14,
        72
      ],
      "summary": "Renders the check-email view in a KeyboardAvoidingView with a Feather back-arrow Link to /login and a BACK TO LOGIN button whose handler calls router.push('/(auth)/login'); it passes disabled={true}, which keeps the button active.",
      "tags": [
        "screen",
        "component",
        "navigation"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/native/app/(auth)/forgotPassword.tsx:ForgotPasswordScreen",
      "type": "function",
      "name": "ForgotPasswordScreen",
      "filePath": "apps/native/app/(auth)/forgotPassword.tsx",
      "lineRange": [
        15,
        90
      ],
      "summary": "Holds email and validity state, re-checks the address against an email regex on each keystroke to toggle the CustomTextInput error and helper text, and on SEND THE LINK pushes /(auth)/checkEmail.",
      "tags": [
        "screen",
        "validation",
        "form"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/native/app/(auth)/login.tsx:LoginScreen",
      "type": "function",
      "name": "LoginScreen",
      "filePath": "apps/native/app/(auth)/login.tsx",
      "lineRange": [
        18,
        120
      ],
      "summary": "Manages email, password, and isAuth state, enables LOG IN only when both fields have text, and on press sets isAuth and, once it is already true, navigates to /(tabs)/home and saves isAuth in AsyncStorage; social buttons only log the provider.",
      "tags": [
        "screen",
        "authentication",
        "state",
        "form"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:apps/native/app/(tabs)/settings/index.tsx:SettingsItem",
      "type": "function",
      "name": "SettingsItem",
      "filePath": "apps/native/app/(tabs)/settings/index.tsx",
      "lineRange": [
        68,
        99
      ],
      "summary": "Pressable settings row that shows a MaterialIcons glyph in a round container, the title with an optional subtitle, and a chevron, with a pressed background, Android ripple, and an accessibility label that joins title and subtitle.",
      "tags": [
        "component",
        "list-item",
        "accessibility"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/native/app/(tabs)/settings/index.tsx:Settings",
      "type": "function",
      "name": "Settings",
      "filePath": "apps/native/app/(tabs)/settings/index.tsx",
      "lineRange": [
        101,
        153
      ],
      "summary": "Default-exported settings screen that maps settingsItems to SettingsItem rows with separators under a 'Settings' heading and adds a LOG OUT pressable; handleItemPress and handleLogout are console.log placeholders.",
      "tags": [
        "screen",
        "settings",
        "placeholder"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/native/app/(tabs)/wallet/[walletId].tsx:WalletDetail",
      "type": "function",
      "name": "WalletDetail",
      "filePath": "apps/native/app/(tabs)/wallet/[walletId].tsx",
      "lineRange": [
        38,
        94
      ],
      "summary": "Parses route params with mapParamsToString, derives the header title and a finite balance, loads activity via getPlaceholderWalletActivity, sets header options in useLayoutEffect with a filter button only on the Activity tab, and renders the TabButton bar, the active tab, and WalletFilterModal.",
      "tags": [
        "screen",
        "wallet",
        "navigation",
        "tabs"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:apps/native/app/(tabs)/wallet/[walletId].tsx:HeaderFilterButton",
      "type": "function",
      "name": "HeaderFilterButton",
      "filePath": "apps/native/app/(tabs)/wallet/[walletId].tsx",
      "lineRange": [
        100,
        119
      ],
      "summary": "Header-right Pressable with an 'Open filters' accessibility label that draws a filter glyph from three gray bars of decreasing width; WalletDetail mounts it to open the filter modal.",
      "tags": [
        "component",
        "header",
        "button"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/native/app/(tabs)/wallet/[walletId].tsx:TabButton",
      "type": "function",
      "name": "TabButton",
      "filePath": "apps/native/app/(tabs)/wallet/[walletId].tsx",
      "lineRange": [
        128,
        146
      ],
      "summary": "Tab-role Pressable for the Activity/Details bar that exposes its selected state to accessibility, colors its uppercase label green when active, and draws a green underline indicator.",
      "tags": [
        "component",
        "tabs",
        "accessibility"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/native/app/(tabs)/wallet/_layout.tsx:WalletLayout",
      "type": "function",
      "name": "WalletLayout",
      "filePath": "apps/native/app/(tabs)/wallet/_layout.tsx",
      "lineRange": [
        5,
        36
      ],
      "summary": "Returns an expo-router Stack that hides headers by default, uses HeaderSearch as the header of the index screen, and gives the [walletId] screen a white header with darkGray tint and a bold 18pt title.",
      "tags": [
        "layout",
        "navigation",
        "expo-router"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/native/app/(tabs)/wallet/index.tsx:Wallet",
      "type": "function",
      "name": "Wallet",
      "filePath": "apps/native/app/(tabs)/wallet/index.tsx",
      "lineRange": [
        14,
        77
      ],
      "summary": "Wallets screen component that tracks drawer and discard-prompt visibility, closes the drawer directly or through the discard prompt depending on isDirty, logs submitted wallet data, and routes to the detail page with the selected mock wallet's params.",
      "tags": [
        "screen",
        "wallet",
        "state-management"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:apps/native/components/ui/common/CustomModal.tsx:CustomModal",
      "type": "function",
      "name": "CustomModal",
      "filePath": "apps/native/components/ui/common/CustomModal.tsx",
      "lineRange": [
        21,
        37
      ],
      "summary": "Wraps children in a transparent slide-up Modal where a Pressable overlay calls onClose and the content sits in an absolutely positioned bottom sheet that callers can restyle through containerStyle.",
      "tags": [
        "component",
        "modal",
        "bottom-sheet"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/native/components/ui/common/CustomSubmitButton.tsx:CustomSubmitButton",
      "type": "function",
      "name": "CustomSubmitButton",
      "filePath": "apps/native/components/ui/common/CustomSubmitButton.tsx",
      "lineRange": [
        13,
        31
      ],
      "summary": "Renders a Pressable with an uppercase title that wires onPress and the green style only when the disabled prop is true, and otherwise shows a grey inactive look; the caller-supplied style is appended last.",
      "tags": [
        "component",
        "button",
        "form"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/native/components/ui/common/CustomTextInput.tsx:CustomTextInput",
      "type": "function",
      "name": "CustomTextInput",
      "filePath": "apps/native/components/ui/common/CustomTextInput.tsx",
      "lineRange": [
        25,
        154
      ],
      "summary": "Controlled TextInput component that animates its label between resting and floating positions on focus and blur, shows the placeholder only when focused or multiline, and swaps the trailing icon among an error alert, an eye toggle for secure entry, and a clear button.",
      "tags": [
        "component",
        "input",
        "animation"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:apps/native/components/ui/common/SocialLoginButton.tsx:SocialLoginButton",
      "type": "function",
      "name": "SocialLoginButton",
      "filePath": "apps/native/components/ui/common/SocialLoginButton.tsx",
      "lineRange": [
        11,
        30
      ],
      "summary": "Looks up the provider icon in an inline iconMap (Gmail envelope, Facebook logo in a green circle, GitHub mark) and renders it with the 'Log in with' label inside a TouchableOpacity that calls onPress.",
      "tags": [
        "component",
        "button",
        "social-login"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/native/components/wallet/CreateWalletButton.tsx:CreateWallet",
      "type": "function",
      "name": "CreateWallet",
      "filePath": "apps/native/components/wallet/CreateWalletButton.tsx",
      "lineRange": [
        12,
        42
      ],
      "summary": "Renders the create-wallet row: an add icon and CREATE WALLET text that call onPress and turn green when isActive, and a grey 'i' circle whose handleInfoPress only writes to the console.",
      "tags": [
        "component",
        "button",
        "wallet"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/native/components/wallet/DiscardChangesModal.tsx:DiscardChangesModal",
      "type": "function",
      "name": "DiscardChangesModal",
      "filePath": "apps/native/components/wallet/DiscardChangesModal.tsx",
      "lineRange": [
        19,
        52
      ],
      "summary": "Shows a transparent fade Modal with a card titled 'Discard changes?'; the overlay, the close icon, and KEEP CHANGES call onKeep, while the DISCARD button calls onDiscard.",
      "tags": [
        "component",
        "modal",
        "confirmation"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/native/components/wallet/WalletActivity.tsx:WalletActivity",
      "type": "function",
      "name": "WalletActivity",
      "filePath": "apps/native/components/wallet/WalletActivity.tsx",
      "lineRange": [
        19,
        41
      ],
      "summary": "Exported activity view that stacks a Pending and a Completed ActivitySection and passes each its transaction array, optional subtitle, and empty-state message; the wallet detail screen feeds it placeholder data.",
      "tags": [
        "component",
        "wallet",
        "transactions"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/native/components/wallet/WalletActivity.tsx:ActivitySection",
      "type": "function",
      "name": "ActivitySection",
      "filePath": "apps/native/components/wallet/WalletActivity.tsx",
      "lineRange": [
        50,
        80
      ],
      "summary": "Renders a titled section with an optional uppercase subtitle and either an empty-state card or a bordered card of TransactionItem rows separated by hairline dividers.",
      "tags": [
        "component",
        "list",
        "transactions"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/native/components/wallet/WalletActivity.tsx:TransactionItem",
      "type": "function",
      "name": "TransactionItem",
      "filePath": "apps/native/components/wallet/WalletActivity.tsx",
      "lineRange": [
        86,
        112
      ],
      "summary": "Displays one transaction row with an initials avatar from getInitials, the title and date, and an amount prefixed with + or - and grouped with en-US separators, colored green when non-negative.",
      "tags": [
        "component",
        "formatting",
        "transactions"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/native/components/wallet/WalletCreateDrawer.tsx:WalletCreateDrawer",
      "type": "function",
      "name": "WalletCreateDrawer",
      "filePath": "apps/native/components/wallet/WalletCreateDrawer.tsx",
      "lineRange": [
        29,
        153
      ],
      "summary": "Keeps name and description state, computes duplicate-name and dirty flags with useMemo, clears fields when hidden, moves the sheet up on keyboard show and hide events, submits trimmed values only for a valid name, and mounts DiscardChangesModal when showDiscardPrompt is set.",
      "tags": [
        "component",
        "form",
        "validation",
        "keyboard"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:apps/native/components/wallet/WalletDetails.tsx:WalletDetails",
      "type": "function",
      "name": "WalletDetails",
      "filePath": "apps/native/components/wallet/WalletDetails.tsx",
      "lineRange": [
        14,
        50
      ],
      "summary": "Exported details view that renders the balance card (en-US formatted number, toll icon in COLORS.gray400, unit label defaulting to Tokens) and two ActionButton rows wired to the optional onEdit and onDelete callbacks.",
      "tags": [
        "component",
        "wallet",
        "balance"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/native/components/wallet/WalletDetails.tsx:ActionButton",
      "type": "function",
      "name": "ActionButton",
      "filePath": "apps/native/components/wallet/WalletDetails.tsx",
      "lineRange": [
        59,
        81
      ],
      "summary": "Accessible Pressable row for wallet actions that lays out a supplied icon, a label, and a chevron-forward icon, dims to 0.6 opacity while pressed, and widens the touch area with hitSlop.",
      "tags": [
        "component",
        "button",
        "accessibility"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/native/components/wallet/WalletFilterModal.tsx:WalletFilterModal",
      "type": "function",
      "name": "WalletFilterModal",
      "filePath": "apps/native/components/wallet/WalletFilterModal.tsx",
      "lineRange": [
        36,
        233
      ],
      "summary": "Holds the selected filter (default 'may'), from/to dates, and picker state; openPicker seeds the picker from existing dates, handleDateChange commits at once on Android or stashes tempDate on iOS until handleConfirm, and handleApply sends the filter and ISO dates to onApply before closing.",
      "tags": [
        "component",
        "filter",
        "date-picker",
        "state-management"
      ],
      "complexity": "complex"
    },
    {
      "id": "function:apps/native/components/wallet/WalletFilterModal.tsx:RadioButton",
      "type": "function",
      "name": "RadioButton",
      "filePath": "apps/native/components/wallet/WalletFilterModal.tsx",
      "lineRange": [
        241,
        256
      ],
      "summary": "Radio-role Pressable that draws an outer ring that turns green when checked, with a green inner dot, beside its label; WalletFilterModal renders one per FILTER_OPTIONS entry.",
      "tags": [
        "component",
        "radio",
        "accessibility"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/native/components/wallet/WalletFilterModal.tsx:DateRangeInput",
      "type": "function",
      "name": "DateRangeInput",
      "filePath": "apps/native/components/wallet/WalletFilterModal.tsx",
      "lineRange": [
        265,
        294
      ],
      "summary": "Labeled pseudo-input for the From and To fields that shows the formatted date or a placeholder next to a calendar icon and calls onPress to open the date picker.",
      "tags": [
        "component",
        "date-picker",
        "input"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/native/components/wallet/WalletList.tsx:WalletList",
      "type": "function",
      "name": "WalletList",
      "filePath": "apps/native/components/wallet/WalletList.tsx",
      "lineRange": [
        17,
        50
      ],
      "summary": "Maps the wallets array to touchable rows keyed by React.Fragment, calls the optional onWalletPress with the wallet id, and renders the 'Your wallets' title or an empty-state card when there are no wallets.",
      "tags": [
        "component",
        "list",
        "wallet"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/native/data/walletActivityPlaceholder.ts:getPlaceholderWalletActivity",
      "type": "function",
      "name": "getPlaceholderWalletActivity",
      "filePath": "apps/native/data/walletActivityPlaceholder.ts",
      "lineRange": [
        92,
        96
      ],
      "summary": "Returns the PLACEHOLDER_WALLET_ACTIVITY entry for a wallet id, or the default entry when the id is unknown; WalletDetail calls it to fill the Activity tab.",
      "tags": [
        "utility",
        "mock-data",
        "lookup"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/cypress/component/RecentActivity.cy.tsx",
      "type": "file",
      "name": "RecentActivity.cy.tsx",
      "filePath": "apps/web/cypress/component/RecentActivity.cy.tsx",
      "summary": "Cypress component test that mounts RecentActivity with one 'Restaurant XY' entry and checks that the 'Recent Activity' heading and the entry title render, and that the 'View all' link has href /transfers.",
      "tags": [
        "test",
        "cypress",
        "component-test",
        "recent-activity"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/cypress/component/TokenBalance.cy.tsx",
      "type": "file",
      "name": "TokenBalance.cy.tsx",
      "filePath": "apps/web/cypress/component/TokenBalance.cy.tsx",
      "summary": "Cypress component test that mounts TokenBalance with tokenCount 1000 and asserts that the 'Tokens' label and the value 1000 appear on the rendered card.",
      "tags": [
        "test",
        "cypress",
        "component-test",
        "token-balance"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/cypress/component/WalletBalance.cy.tsx",
      "type": "file",
      "name": "WalletBalance.cy.tsx",
      "filePath": "apps/web/cypress/component/WalletBalance.cy.tsx",
      "summary": "Cypress component test that mounts WalletBalance with walletAmount 500 and asserts that the 'Wallet' label and the value 500 appear on the rendered card.",
      "tags": [
        "test",
        "cypress",
        "component-test",
        "wallet-balance"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/app/(protected)/home/page.tsx",
      "type": "file",
      "name": "page.tsx",
      "filePath": "apps/web/src/app/(protected)/home/page.tsx",
      "summary": "Next.js client page for the protected /home route: it loads the user's wallets and the 5 latest transfers through @treetracker/wallet hooks, shows token-total and wallet-count balance cards plus a recent-activity list, and opens a success snackbar for a transaction that a send or request flow stored in sessionStorage under 'pendingTransaction'.",
      "tags": [
        "page",
        "component",
        "nextjs-app-router",
        "wallet-dashboard",
        "hook-consumer"
      ],
      "complexity": "moderate",
      "languageNotes": "The '(protected)' folder is a Next.js App Router route group: the parentheses keep it out of the URL, so this file serves /home. The 'use client' directive is necessary because the page uses hooks and sessionStorage."
    },
    {
      "id": "file:apps/web/src/components/ActivityList.tsx",
      "type": "file",
      "name": "ActivityList.tsx",
      "filePath": "apps/web/src/components/ActivityList.tsx",
      "summary": "Client component that maps an ActivityEntry[] array to a vertical stack of ActivityItem rows inside an MUI Box; RecentActivity renders it when activity data is present.",
      "tags": [
        "component",
        "ui",
        "list-rendering",
        "activity"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/components/RecentActivity.tsx",
      "type": "file",
      "name": "RecentActivity.tsx",
      "filePath": "apps/web/src/components/RecentActivity.tsx",
      "summary": "Client component for the home page 'Recent Activity' section: it shows a heading with a green 'View all' NextLink to /transfers, then three skeleton rows while loading, an empty-state message when there are no entries, or an ActivityList otherwise.",
      "tags": [
        "component",
        "ui",
        "activity-feed",
        "loading-state",
        "navigation",
        "tested"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/components/TokenBalance.tsx",
      "type": "file",
      "name": "TokenBalance.tsx",
      "filePath": "apps/web/src/components/TokenBalance.tsx",
      "summary": "Thin client component that renders a CustomBalanceCard with a green TollOutlined icon for the user's total token count, and appends '(N pending)' to the 'Tokens' label when pendingCount is positive.",
      "tags": [
        "component",
        "ui",
        "balance",
        "tokens",
        "tested"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/components/TransactionSnackbar.tsx",
      "type": "file",
      "name": "TransactionSnackbar.tsx",
      "filePath": "apps/web/src/components/TransactionSnackbar.tsx",
      "summary": "Client component that wraps an MUI Snackbar and a dark success Alert which auto-hides after 6 seconds, shows '<amount> Tokens sent!' or '<amount> Tokens requested!', and offers an UNDO button; the home page drives it from SnackbarContext state.",
      "tags": [
        "component",
        "ui",
        "notification",
        "feedback",
        "transactions"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/components/WalletBalance.tsx",
      "type": "file",
      "name": "WalletBalance.tsx",
      "filePath": "apps/web/src/components/WalletBalance.tsx",
      "summary": "Thin client component that renders a CustomBalanceCard labeled 'Wallet' with an outlined wallet icon, so the home page can show how many wallets the user owns and a spinner while the wallets load.",
      "tags": [
        "component",
        "ui",
        "balance",
        "wallets",
        "tested"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/components/activity.types.ts",
      "type": "file",
      "name": "activity.types.ts",
      "filePath": "apps/web/src/components/activity.types.ts",
      "summary": "Declares the ActivityEntry type (title, optional amount and status, and a showAmount flag) that the home page builds from transfers and that RecentActivity and ActivityList pass down to render activity rows.",
      "tags": [
        "type-definition",
        "data-model",
        "activity"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/components/common/CustomBalanceCard.tsx",
      "type": "file",
      "name": "CustomBalanceCard.tsx",
      "filePath": "apps/web/src/components/common/CustomBalanceCard.tsx",
      "summary": "Shared MUI Card component that shows an icon and label row above a right-aligned large numeric value, and swaps the value for a CircularProgress spinner while isLoading is true; TokenBalance and WalletBalance build on it.",
      "tags": [
        "component",
        "ui",
        "reusable",
        "card",
        "loading-state"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/context/SnackbarContext.tsx",
      "type": "file",
      "name": "SnackbarContext.tsx",
      "filePath": "apps/web/src/context/SnackbarContext.tsx",
      "summary": "React context module that holds the transaction-snackbar state (an open flag and the last send or request transaction) and exposes show, hide, and undo actions through SnackbarProvider and the useSnackbar hook; undo only logs and clears the state, with no API call yet.",
      "tags": [
        "context",
        "state-management",
        "hook",
        "provider",
        "notification"
      ],
      "complexity": "moderate",
      "languageNotes": "The context is created with an undefined default, so useSnackbar can detect a missing SnackbarProvider and throw a clear error instead of returning silent no-op values."
    },
    {
      "id": "function:apps/web/src/app/(protected)/home/page.tsx:toActivityEntry",
      "type": "function",
      "name": "toActivityEntry",
      "filePath": "apps/web/src/app/(protected)/home/page.tsx",
      "lineRange": [
        20,
        53
      ],
      "summary": "Converts a wallet-api Transfer into an ActivityEntry: it treats the transfer as sent when the source wallet is in the user's wallet-name set, builds a 'Sent to X' or 'Received from X' title, negates the amount for sent transfers, maps the state to Pending, Sent, Received, Cancelled, Failed, or Unknown, and shows the amount only for completed transfers.",
      "tags": [
        "data-mapping",
        "transformer",
        "utility",
        "transfers"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/app/(protected)/home/page.tsx:Page",
      "type": "function",
      "name": "Page",
      "filePath": "apps/web/src/app/(protected)/home/page.tsx",
      "lineRange": [
        55,
        139
      ],
      "summary": "Default-exported home page component that sums tokens_in_wallet and tokens_pending across wallets, memoizes the wallet-name set and the mapped activity list, reads and clears sessionStorage 'pendingTransaction' on mount to open the snackbar, and renders TokenBalance, WalletBalance, RecentActivity, and TransactionSnackbar.",
      "tags": [
        "component",
        "page",
        "hook-consumer",
        "data-aggregation"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:apps/web/src/components/ActivityList.tsx:ActivityList",
      "type": "function",
      "name": "ActivityList",
      "filePath": "apps/web/src/components/ActivityList.tsx",
      "lineRange": [
        8,
        26
      ],
      "summary": "Renders each ActivityEntry as an ActivityItem inside an MUI Box, keyed by array index, and forwards the title, amount, status, and showAmount props of each entry.",
      "tags": [
        "component",
        "list-rendering",
        "ui"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/components/RecentActivity.tsx:RecentActivity",
      "type": "function",
      "name": "RecentActivity",
      "filePath": "apps/web/src/components/RecentActivity.tsx",
      "lineRange": [
        9,
        50
      ],
      "summary": "Function component that takes activityData and an optional isLoading flag (default false) and shows one of three states under the section header: three 64px rounded skeletons, a 'No recent activity yet' message, or the ActivityList.",
      "tags": [
        "component",
        "conditional-rendering",
        "loading-state"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/components/TokenBalance.tsx:TokenBalance",
      "type": "function",
      "name": "TokenBalance",
      "filePath": "apps/web/src/components/TokenBalance.tsx",
      "lineRange": [
        7,
        24
      ],
      "summary": "Function component that accepts tokenCount, an optional pendingCount (default 0), and isLoading, and passes a TollOutlined icon and a pending-aware 'Tokens' label to CustomBalanceCard.",
      "tags": [
        "component",
        "balance",
        "ui"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/components/TransactionSnackbar.tsx:TransactionSnackbar",
      "type": "function",
      "name": "TransactionSnackbar",
      "filePath": "apps/web/src/components/TransactionSnackbar.tsx",
      "lineRange": [
        17,
        66
      ],
      "summary": "Function component that takes open, transaction, onClose, and onUndo props and renders a bottom-centered Snackbar whose Alert reports the token amount and whether it was sent or requested, with a green UNDO action button wired to onUndo.",
      "tags": [
        "component",
        "notification",
        "ui",
        "feedback"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/components/WalletBalance.tsx:WalletBalance",
      "type": "function",
      "name": "WalletBalance",
      "filePath": "apps/web/src/components/WalletBalance.tsx",
      "lineRange": [
        7,
        22
      ],
      "summary": "Function component that accepts walletAmount and isLoading and forwards them to CustomBalanceCard with the fixed 'Wallet' label and an AccountBalanceWalletOutlined icon.",
      "tags": [
        "component",
        "balance",
        "ui"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/components/common/CustomBalanceCard.tsx:CustomBalanceCard",
      "type": "function",
      "name": "CustomBalanceCard",
      "filePath": "apps/web/src/components/common/CustomBalanceCard.tsx",
      "lineRange": [
        20,
        52
      ],
      "summary": "Function component that takes icon, label, value, and isLoading (default false) props and lays them out in a flex Card with a 45 percent minimum width, showing a 28px spinner in place of the h4 value while loading.",
      "tags": [
        "component",
        "card",
        "reusable",
        "ui"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/context/SnackbarContext.tsx:SnackbarProvider",
      "type": "function",
      "name": "SnackbarProvider",
      "filePath": "apps/web/src/context/SnackbarContext.tsx",
      "lineRange": [
        24,
        60
      ],
      "summary": "Context provider component that keeps snackbarOpen and lastTransaction in useState and gives its children showTransactionSnackbar (store and open), hideSnackbar (close), and undoTransaction (log, close, and clear); the (protected) layout imports this module.",
      "tags": [
        "provider",
        "context",
        "state-management",
        "component"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/context/SnackbarContext.tsx:useSnackbar",
      "type": "function",
      "name": "useSnackbar",
      "filePath": "apps/web/src/context/SnackbarContext.tsx",
      "lineRange": [
        62,
        68
      ],
      "summary": "Custom hook that reads SnackbarContext with useContext and throws 'useSnackbar must be used within a SnackbarProvider' when no provider is present; the home Page uses it to drive TransactionSnackbar.",
      "tags": [
        "hook",
        "context",
        "state-access"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/cypress/component/WalletCreateDrawer.cy.tsx",
      "type": "file",
      "name": "WalletCreateDrawer.cy.tsx",
      "filePath": "apps/web/cypress/component/WalletCreateDrawer.cy.tsx",
      "summary": "Cypress component test suite for WalletCreateDrawer that mounts it with spied onClose and onCreate props and checks open/closed rendering, the Create Wallet enable rule, trimmed payloads, case-insensitive duplicate-name errors, API rejection messages, stale errors after close, and the discard-changes dialog.",
      "tags": [
        "test",
        "cypress",
        "component-test",
        "wallet-creation",
        "form-validation"
      ],
      "complexity": "moderate",
      "languageNotes": "Uses a local Harness component with React.useState and a captured Promise reject callback to simulate a create request that fails after the drawer closes."
    },
    {
      "id": "file:apps/web/cypress/component/WalletItem.cy.tsx",
      "type": "file",
      "name": "WalletItem.cy.tsx",
      "filePath": "apps/web/cypress/component/WalletItem.cy.tsx",
      "summary": "Cypress component test suite for WalletItem that mounts it with sample names, created_at dates, and token counts, and asserts that the name, balance, date, and zero balance render and that the 'N pending' caption appears only when tokens_pending is non-zero.",
      "tags": [
        "test",
        "cypress",
        "component-test",
        "wallet"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/app/(protected)/wallet/customize/page.tsx",
      "type": "file",
      "name": "page.tsx",
      "filePath": "apps/web/src/app/(protected)/wallet/customize/page.tsx",
      "summary": "Next.js client page at /wallet/customize that loads the wallet named in the ?name query, lets the user edit display name and about text and upload logo and hero images (1MB max, image/* only), then saves through useUpdateWallet and hard-reloads /wallet/details after 2 seconds.",
      "tags": [
        "page",
        "nextjs-route",
        "wallet-profile",
        "file-upload",
        "form-validation"
      ],
      "complexity": "complex",
      "languageNotes": "Uses window.location.assign instead of router.push after a save so that useGetWallets refetches fresh data; image previews come from FileReader.readAsDataURL."
    },
    {
      "id": "file:apps/web/src/app/(protected)/wallet/details/page.tsx",
      "type": "file",
      "name": "page.tsx",
      "filePath": "apps/web/src/app/(protected)/wallet/details/page.tsx",
      "summary": "Next.js client page at /wallet/details that shows one wallet's cover, logo, display name, about text, balance with pending count, a web-map link built from NEXT_PUBLIC_MAP_URL, and its token list from useGetTokens, and opens WalletProfileDrawer to PATCH the profile and reload the wallets.",
      "tags": [
        "page",
        "nextjs-route",
        "wallet",
        "tokens",
        "data-fetching"
      ],
      "complexity": "complex",
      "languageNotes": "Wraps the useSearchParams consumer in a Suspense boundary, as the Next.js App Router expects for client search-param reads, and memoizes initialProfile so loading-state changes do not reset an open drawer."
    },
    {
      "id": "file:apps/web/src/app/(protected)/wallet/page.tsx",
      "type": "file",
      "name": "page.tsx",
      "filePath": "apps/web/src/app/(protected)/wallet/page.tsx",
      "summary": "Next.js client page at /wallet that lists the user's wallets as WalletItem rows linking to /wallet/details, enforces a client-side limit of 2 wallets, creates wallets through WalletCreateDrawer, and then redeems any pending claim link into the new wallet via claimPendingToken.",
      "tags": [
        "page",
        "nextjs-route",
        "wallet",
        "wallet-creation",
        "state-management",
        "tested"
      ],
      "complexity": "moderate"
    },
    {
      "id": "file:apps/web/src/components/GenericDrawer.tsx",
      "type": "file",
      "name": "GenericDrawer.tsx",
      "filePath": "apps/web/src/components/GenericDrawer.tsx",
      "summary": "Reusable MUI bottom Drawer with rounded top corners, a title row, and a close icon button that renders arbitrary children; the /wallet page uses it for the Good-to-know info panel.",
      "tags": [
        "component",
        "ui",
        "drawer",
        "reusable"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/components/WalletCreateDrawer.tsx",
      "type": "file",
      "name": "WalletCreateDrawer.tsx",
      "filePath": "apps/web/src/components/WalletCreateDrawer.tsx",
      "summary": "Bottom-drawer form for creating a wallet with required name and description fields, case-insensitive duplicate-name detection against existingNames, async onCreate submission that maps API error messages to the field they concern, and a discard-changes confirmation dialog for dirty closes.",
      "tags": [
        "component",
        "form",
        "wallet-creation",
        "validation",
        "drawer",
        "tested"
      ],
      "complexity": "complex",
      "languageNotes": "Resets all local state in a useEffect keyed on the open prop, so an error from a request that settles after the drawer closes is cleared on the next open."
    },
    {
      "id": "file:apps/web/src/components/WalletItem.tsx",
      "type": "file",
      "name": "WalletItem.tsx",
      "filePath": "apps/web/src/components/WalletItem.tsx",
      "summary": "Presentational wallet row card that shows a logo Avatar with an initial-letter fallback, the wallet name and created_at date, the token balance, and an 'N pending' caption when tokens_pending is non-zero; the /wallet page renders one per wallet.",
      "tags": [
        "component",
        "ui",
        "wallet",
        "presentational",
        "tested"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/components/WalletProfileDrawer.tsx",
      "type": "file",
      "name": "WalletProfileDrawer.tsx",
      "filePath": "apps/web/src/components/WalletProfileDrawer.tsx",
      "summary": "Bottom-drawer form for editing a wallet profile's display name (2-30 chars), about text (5-250 chars), and public web-map visibility; it seeds the fields from the initial prop on open, validates with walletFieldError, and passes a WalletProfileUpdate to the async onSave prop.",
      "tags": [
        "component",
        "form",
        "wallet-profile",
        "validation",
        "drawer"
      ],
      "complexity": "moderate"
    },
    {
      "id": "file:apps/web/src/components/common/CustomTextField.tsx",
      "type": "file",
      "name": "CustomTextField.tsx",
      "filePath": "apps/web/src/components/common/CustomTextField.tsx",
      "summary": "Memoized MUI filled text input wrapper that exposes label, type, helper text, error, ref, and data-test id props, adds a show/hide password toggle, and sets autoComplete from the type; the wallet create and profile drawers use it for their fields.",
      "tags": [
        "component",
        "form-input",
        "reusable",
        "ui",
        "accessibility"
      ],
      "complexity": "moderate",
      "languageNotes": "Wrapped in React.memo with an explicit displayName so that the memoized component keeps a readable name in React DevTools."
    },
    {
      "id": "file:apps/web/src/utils/plainText.ts",
      "type": "file",
      "name": "plainText.ts",
      "filePath": "apps/web/src/utils/plainText.ts",
      "summary": "Utility module that converts legacy HTML wallet about text to plain text by stripping tags, decoding six common HTML entities, and trimming; the customize page, the details page, and WalletProfileDrawer use it.",
      "tags": [
        "utility",
        "string-processing",
        "sanitization",
        "wallet-profile"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/utils/walletFields.ts",
      "type": "file",
      "name": "walletFields.ts",
      "filePath": "apps/web/src/utils/walletFields.ts",
      "summary": "Utility module that validates an editable wallet profile field against the API patch rules: it forbids emptying a field that loaded with a value and enforces a min-max character length; the customize page and WalletProfileDrawer use it.",
      "tags": [
        "utility",
        "validation",
        "wallet-profile",
        "form-validation"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/app/(protected)/wallet/customize/page.tsx:CustomizeWallet",
      "type": "function",
      "name": "CustomizeWallet",
      "filePath": "apps/web/src/app/(protected)/wallet/customize/page.tsx",
      "lineRange": [
        34,
        407
      ],
      "summary": "Client component that resolves the wallet by the name query param, seeds display name, about, and image previews from it, checks file size and MIME type for logo and hero uploads, and calls updateWallet with fields plus logo_image and cover_image before it redirects to the details page.",
      "tags": [
        "component",
        "form",
        "file-upload",
        "wallet-profile"
      ],
      "complexity": "complex"
    },
    {
      "id": "function:apps/web/src/app/(protected)/wallet/customize/page.tsx:CustomizeWalletPage",
      "type": "function",
      "name": "CustomizeWalletPage",
      "filePath": "apps/web/src/app/(protected)/wallet/customize/page.tsx",
      "lineRange": [
        409,
        411
      ],
      "summary": "Default-exported Next.js page component for the /wallet/customize route that only renders CustomizeWallet, with no Suspense boundary around its useSearchParams call.",
      "tags": [
        "page",
        "nextjs-route",
        "wrapper"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/app/(protected)/wallet/details/page.tsx:WalletDetails",
      "type": "function",
      "name": "WalletDetails",
      "filePath": "apps/web/src/app/(protected)/wallet/details/page.tsx",
      "lineRange": [
        35,
        242
      ],
      "summary": "Client component that reads the wallet name from the URL, loads tokens and wallets, renders the wallet header, about text, balance and pending-transfer note, and clickable token rows to /token/details, and saves profile edits through updateWallet followed by reload.",
      "tags": [
        "component",
        "wallet",
        "tokens",
        "data-fetching"
      ],
      "complexity": "complex"
    },
    {
      "id": "function:apps/web/src/app/(protected)/wallet/details/page.tsx:WalletDetailsPage",
      "type": "function",
      "name": "WalletDetailsPage",
      "filePath": "apps/web/src/app/(protected)/wallet/details/page.tsx",
      "lineRange": [
        244,
        250
      ],
      "summary": "Default-exported Next.js page component for /wallet/details that wraps WalletDetails in a Suspense boundary with a 'Loading\u2026' fallback box.",
      "tags": [
        "page",
        "nextjs-route",
        "suspense"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/app/(protected)/wallet/page.tsx:WalletPage",
      "type": "function",
      "name": "WalletPage",
      "filePath": "apps/web/src/app/(protected)/wallet/page.tsx",
      "lineRange": [
        30,
        188
      ],
      "summary": "Default-exported page component that mirrors server wallets into local state, handles wallet creation with an optimistic list prepend and a first-wallet gift notification, calls claimPendingToken with the auth token from tokenAtom, and renders the list, limit notice, info drawer, create drawer, and Snackbar.",
      "tags": [
        "page",
        "component",
        "wallet-creation",
        "state-management"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:apps/web/src/components/GenericDrawer.tsx:GenericDrawer",
      "type": "function",
      "name": "GenericDrawer",
      "filePath": "apps/web/src/components/GenericDrawer.tsx",
      "lineRange": [
        12,
        47
      ],
      "summary": "Component that renders an MUI Drawer anchored to the bottom with the given title, a close button bound to onClose, and its children inside padded content with a 164px minimum height.",
      "tags": [
        "component",
        "drawer",
        "ui"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/components/WalletCreateDrawer.tsx:WalletCreateDrawer",
      "type": "function",
      "name": "WalletCreateDrawer",
      "filePath": "apps/web/src/components/WalletCreateDrawer.tsx",
      "lineRange": [
        43,
        244
      ],
      "summary": "React.FC that holds name, description, submitting, confirm, and submit-error state, enables Create Wallet only for a non-blank unique name with a description, awaits onCreate with trimmed values and then closes, and routes rejection messages to the name, description, or form error slot.",
      "tags": [
        "component",
        "form",
        "validation",
        "wallet-creation"
      ],
      "complexity": "complex"
    },
    {
      "id": "function:apps/web/src/components/WalletItem.tsx:WalletItem",
      "type": "function",
      "name": "WalletItem",
      "filePath": "apps/web/src/components/WalletItem.tsx",
      "lineRange": [
        7,
        68
      ],
      "summary": "Function component that takes name, created_at, tokens_in_wallet, tokens_pending, and logo_url props and renders them in an MUI Paper with data-test ids keyed by wallet name and a chevron button.",
      "tags": [
        "component",
        "presentational",
        "wallet"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/components/WalletProfileDrawer.tsx:WalletProfileDrawer",
      "type": "function",
      "name": "WalletProfileDrawer",
      "filePath": "apps/web/src/components/WalletProfileDrawer.tsx",
      "lineRange": [
        29,
        167
      ],
      "summary": "React.FC that resets its form from initial each time open becomes true, computes display name and about errors, builds a WalletProfileUpdate with add_to_web_map and the trimmed non-empty fields, awaits onSave, and shows the error message if the save rejects.",
      "tags": [
        "component",
        "form",
        "wallet-profile",
        "validation"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:apps/web/src/components/common/CustomTextField.tsx:CustomTextField",
      "type": "function",
      "name": "CustomTextField",
      "filePath": "apps/web/src/components/common/CustomTextField.tsx",
      "lineRange": [
        32,
        115
      ],
      "summary": "Memoized function component that renders FormControl, InputLabel, and FilledInput with an id derived from name, toggles password visibility through an end adornment, and shows non-blank helperText as a red FormHelperText tagged error-helper-text.",
      "tags": [
        "component",
        "form-input",
        "memo"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:apps/web/src/utils/plainText.ts:toPlainText",
      "type": "function",
      "name": "toPlainText",
      "filePath": "apps/web/src/utils/plainText.ts",
      "lineRange": [
        12,
        16
      ],
      "summary": "Arrow function that removes all <...> tags from a string with a regex, replaces &nbsp;, &amp;, &lt;, &gt;, &quot;, and &#39; with their characters from the ENTITIES map, and returns the trimmed result.",
      "tags": [
        "utility",
        "string-processing",
        "sanitization"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/utils/walletFields.ts:walletFieldError",
      "type": "function",
      "name": "walletFieldError",
      "filePath": "apps/web/src/utils/walletFields.ts",
      "lineRange": [
        4,
        17
      ],
      "summary": "Returns '<label> cannot be emptied.' when the loaded value was non-blank and the trimmed current value is blank, 'Must be min-max characters.' when the length is out of range, and undefined otherwise.",
      "tags": [
        "utility",
        "validation",
        "form-validation"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/native/app/accountConfirmation.tsx",
      "type": "file",
      "name": "accountConfirmation.tsx",
      "filePath": "apps/native/app/accountConfirmation.tsx",
      "summary": "Expo Router screen at the /accountConfirmation route that tells a new user the account is created, shows a green check icon from Colors.green, and explains that a wallet is issued automatically. It composes ThemedSafeAreaView, ThemedStatusBar, ThemedView, ThemedText and Button with a local StyleSheet.",
      "tags": [
        "screen",
        "component",
        "onboarding",
        "react-native",
        "expo-router"
      ],
      "complexity": "moderate",
      "languageNotes": "Expo Router maps the file name to the route, so the default export name Index does not affect the URL."
    },
    {
      "id": "function:apps/native/app/accountConfirmation.tsx:Index",
      "type": "function",
      "name": "Index",
      "filePath": "apps/native/app/accountConfirmation.tsx",
      "lineRange": [
        13,
        49
      ],
      "summary": "Default-export screen component that renders the 'Account created!' title, a check-mark circle, welcome and wallet text, and a CONTINUE Button. The Button onPress calls handleGoTo, which is still an empty stub, so the button does not navigate yet.",
      "tags": [
        "component",
        "screen",
        "onboarding",
        "stub"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/native/components/Button.tsx",
      "type": "file",
      "name": "Button.tsx",
      "filePath": "apps/native/components/Button.tsx",
      "summary": "Shared primary action button for the native app: a full-width green (#61892F) TouchableOpacity with a white bold ThemedText label. It exports the Button component and its ButtonProps type (onPress, title), and the account confirmation screen uses it.",
      "tags": [
        "component",
        "ui-primitive",
        "button",
        "react-native"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/native/components/Button.tsx:Button",
      "type": "function",
      "name": "Button",
      "filePath": "apps/native/components/Button.tsx",
      "lineRange": [
        12,
        23
      ],
      "summary": "Renders a TouchableOpacity with activeOpacity 0.87 that calls the onPress prop and shows the title prop as a 'title' type ThemedText overridden to 20px bold white text.",
      "tags": [
        "component",
        "button",
        "ui-primitive"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/native/components/Collapsible.tsx",
      "type": "file",
      "name": "Collapsible.tsx",
      "filePath": "apps/native/components/Collapsible.tsx",
      "summary": "Expandable section component from the Expo starter template that toggles its children under a chevron heading, with the icon color taken from Colors.light.icon or Colors.dark.icon. No screen in the native app imports it at present.",
      "tags": [
        "component",
        "ui-primitive",
        "expo-template",
        "theming"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/native/components/Collapsible.tsx:Collapsible",
      "type": "function",
      "name": "Collapsible",
      "filePath": "apps/native/components/Collapsible.tsx",
      "lineRange": [
        9,
        32
      ],
      "summary": "Keeps an isOpen state, renders a TouchableOpacity heading with an Ionicons chevron and a defaultSemiBold ThemedText title, and shows the children in an indented ThemedView only when isOpen is true.",
      "tags": [
        "component",
        "state",
        "toggle",
        "accordion"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/native/components/ParallaxScrollView.tsx",
      "type": "file",
      "name": "ParallaxScrollView.tsx",
      "filePath": "apps/native/components/ParallaxScrollView.tsx",
      "summary": "Expo starter template scroll container that puts a 250px header image above themed content and animates the header with react-native-reanimated as the user scrolls. No screen in the native app imports it at present.",
      "tags": [
        "component",
        "animation",
        "expo-template",
        "scroll-view"
      ],
      "complexity": "moderate",
      "languageNotes": "useAnimatedStyle and interpolate run on the UI thread as Reanimated worklets, so the parallax effect does not block the JS thread."
    },
    {
      "id": "function:apps/native/components/ParallaxScrollView.tsx:ParallaxScrollView",
      "type": "function",
      "name": "ParallaxScrollView",
      "filePath": "apps/native/components/ParallaxScrollView.tsx",
      "lineRange": [
        19,
        65
      ],
      "summary": "Takes headerImage, headerBackgroundColor (dark and light values) and children, tracks the scroll offset with useScrollViewOffset, and interpolates the header translateY and scale (zoom to 2x on overscroll) inside an Animated.ScrollView wrapped in ThemedView.",
      "tags": [
        "component",
        "animation",
        "parallax",
        "reanimated"
      ],
      "complexity": "moderate"
    },
    {
      "id": "file:apps/native/components/ThemeSafeArea.tsx",
      "type": "file",
      "name": "ThemeSafeArea.tsx",
      "filePath": "apps/native/components/ThemeSafeArea.tsx",
      "summary": "Theme-aware SafeAreaView wrapper that the account confirmation screen imports to get the theme 'background' color plus safe-area insets. Its content is identical to ThemedSafeArea.tsx, so the two files are duplicates.",
      "tags": [
        "component",
        "theming",
        "safe-area",
        "duplicate"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/native/components/ThemeSafeArea.tsx:ThemedSafeAreaView",
      "type": "function",
      "name": "ThemedSafeAreaView",
      "filePath": "apps/native/components/ThemeSafeArea.tsx",
      "lineRange": [
        16,
        28
      ],
      "summary": "Resolves the background color through useThemeColor with the optional lightColor and darkColor overrides and renders a react-native SafeAreaView with that background merged before the required style prop. accountConfirmation.tsx uses this copy.",
      "tags": [
        "component",
        "theming",
        "safe-area"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/native/components/ThemedSafeArea.tsx",
      "type": "file",
      "name": "ThemedSafeArea.tsx",
      "filePath": "apps/native/components/ThemedSafeArea.tsx",
      "summary": "Duplicate copy of ThemeSafeArea.tsx that exports the same ThemedSafeAreaView component and ThemedSafeAreaViewProps type. No file in the native app imports this copy, so it is a candidate for removal.",
      "tags": [
        "component",
        "theming",
        "safe-area",
        "duplicate",
        "unused"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/native/components/ThemedSafeArea.tsx:ThemedSafeAreaView",
      "type": "function",
      "name": "ThemedSafeAreaView",
      "filePath": "apps/native/components/ThemedSafeArea.tsx",
      "lineRange": [
        16,
        28
      ],
      "summary": "Unused duplicate of the ThemeSafeArea.tsx component: it calls useThemeColor for the 'background' color and renders a SafeAreaView with that color and the caller style, forwarding the other ViewProps.",
      "tags": [
        "component",
        "theming",
        "safe-area",
        "duplicate"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/native/components/ThemedStatusBar.tsx",
      "type": "file",
      "name": "ThemedStatusBar.tsx",
      "filePath": "apps/native/components/ThemedStatusBar.tsx",
      "summary": "Status bar wrapper that picks the status bar text style from the props instead of from the active color scheme. The account confirmation screen renders it without props, so that screen gets dark-content.",
      "tags": [
        "component",
        "theming",
        "status-bar",
        "react-native"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/native/components/ThemedStatusBar.tsx:ThemedStatusBar",
      "type": "function",
      "name": "ThemedStatusBar",
      "filePath": "apps/native/components/ThemedStatusBar.tsx",
      "lineRange": [
        9,
        20
      ],
      "summary": "Renders a react-native StatusBar with barStyle 'light-content' when a darkColor prop is present and 'dark-content' otherwise, and forwards the other StatusBarProps. The lightColor prop is accepted but not used.",
      "tags": [
        "component",
        "status-bar",
        "theming"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/native/components/ThemedText.tsx",
      "type": "file",
      "name": "ThemedText.tsx",
      "filePath": "apps/native/components/ThemedText.tsx",
      "summary": "Theme-aware Text primitive for the native app that maps a type variant (default, title, defaultSemiBold, subtitle, link) to a Roboto StyleSheet entry. Button, Collapsible, the account confirmation screen and the auth screens (login, forgotPassword, checkEmail) use it, and ThemedText-test.tsx snapshots it.",
      "tags": [
        "component",
        "ui-primitive",
        "typography",
        "theming",
        "tested"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:apps/native/components/ThemedText.tsx:ThemedText",
      "type": "function",
      "name": "ThemedText",
      "filePath": "apps/native/components/ThemedText.tsx",
      "lineRange": [
        11,
        34
      ],
      "summary": "Gets the 'text' color from useThemeColor (with the lightColor and darkColor overrides), then renders a react-native Text whose style array is the color, the style for the chosen type (default 'default'), and the caller style last.",
      "tags": [
        "component",
        "typography",
        "theming"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/native/components/ThemedView.tsx",
      "type": "file",
      "name": "ThemedView.tsx",
      "filePath": "apps/native/components/ThemedView.tsx",
      "summary": "Theme-aware View primitive that paints the theme 'background' color behind its children. Collapsible, ParallaxScrollView and the account confirmation screen use it as their themed container.",
      "tags": [
        "component",
        "ui-primitive",
        "theming",
        "layout"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/native/components/ThemedView.tsx:ThemedView",
      "type": "function",
      "name": "ThemedView",
      "filePath": "apps/native/components/ThemedView.tsx",
      "lineRange": [
        10,
        22
      ],
      "summary": "Calls useThemeColor for the 'background' key with the optional lightColor and darkColor overrides and renders a react-native View with that background color before the caller style, forwarding the other ViewProps.",
      "tags": [
        "component",
        "theming",
        "layout"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/native/components/__tests__/ThemedText-test.tsx",
      "type": "file",
      "name": "ThemedText-test.tsx",
      "filePath": "apps/native/components/__tests__/ThemedText-test.tsx",
      "summary": "Jest snapshot test that renders <ThemedText>Snapshot test!</ThemedText> with react-test-renderer and compares the JSON tree to the stored snapshot. It is the only test in this batch and covers the ThemedText default style path.",
      "tags": [
        "test",
        "snapshot",
        "jest",
        "react-test-renderer"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/native/hooks/useThemeColor.ts",
      "type": "file",
      "name": "useThemeColor.ts",
      "filePath": "apps/native/hooks/useThemeColor.ts",
      "summary": "Theme color hook from the Expo starter pattern that reads the device color scheme and returns either a caller override or the matching entry of the Colors palette in constants/Colors.ts. ThemedText, ThemedView and both ThemedSafeAreaView copies call it.",
      "tags": [
        "hook",
        "theming",
        "utility",
        "dark-mode"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/native/hooks/useThemeColor.ts:useThemeColor",
      "type": "function",
      "name": "useThemeColor",
      "filePath": "apps/native/hooks/useThemeColor.ts",
      "lineRange": [
        10,
        22
      ],
      "summary": "Takes a { light?, dark? } override object and a colorName key that exists in both Colors.light and Colors.dark, uses useColorScheme (default 'light'), and returns the override for the active theme or else Colors[theme][colorName].",
      "tags": [
        "hook",
        "theming",
        "color-resolution"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/core/src/atoms/auth/loadingAtom.ts",
      "type": "file",
      "name": "loadingAtom.ts",
      "filePath": "packages/core/src/atoms/auth/loadingAtom.ts",
      "summary": "Declares loadingAtom, a Jotai primitive boolean atom that starts as true and tracks whether an auth request is in flight; loginAtom and registerAtom set it true before their fetch and false in their finally block.",
      "tags": [
        "state-management",
        "jotai-atom",
        "auth",
        "loading-state"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/core/src/atoms/auth/loginAtom.ts",
      "type": "file",
      "name": "loginAtom.ts",
      "filePath": "packages/core/src/atoms/auth/loginAtom.ts",
      "summary": "Defines the write-only Jotai loginAtom that trims and Joi-validates login form values, then POSTs them to the treetracker user API /login endpoint with cookie credentials and returns the response data or an error object.",
      "tags": [
        "state-management",
        "auth",
        "api-client",
        "validation",
        "jotai-atom"
      ],
      "complexity": "simple",
      "languageNotes": "Uses the Jotai write-only atom pattern atom(null, async (get, set, args) => ...), so components trigger the action with useSetAtom and await its returned result."
    },
    {
      "id": "function:packages/core/src/atoms/auth/loginAtom.ts:loginAtom",
      "type": "function",
      "name": "loginAtom",
      "filePath": "packages/core/src/atoms/auth/loginAtom.ts",
      "lineRange": [
        8,
        41
      ],
      "summary": "Async write handler that runs trimInputs and loginSchema.validate with abortEarly false, returns fieldErrors from handleValidationError on failure, otherwise fetches POST /login, returns the JSON body on success or the server message, and resets loadingAtom in finally.",
      "tags": [
        "auth",
        "login",
        "api-client",
        "validation",
        "async"
      ],
      "complexity": "moderate"
    },
    {
      "id": "file:packages/core/src/atoms/auth/logoutAtom.ts",
      "type": "file",
      "name": "logoutAtom.ts",
      "filePath": "packages/core/src/atoms/auth/logoutAtom.ts",
      "summary": "Defines the write-only Jotai logoutAtom that clears the session by setting tokenAtom to null; it imports loadingAtom but never uses it and makes no server call.",
      "tags": [
        "state-management",
        "auth",
        "logout",
        "jotai-atom"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/core/src/atoms/auth/registerAtom.ts",
      "type": "file",
      "name": "registerAtom.ts",
      "filePath": "packages/core/src/atoms/auth/registerAtom.ts",
      "summary": "Defines the write-only Jotai registerAtom that trims and Joi-validates sign-up form values, then POSTs them to the treetracker user API /register endpoint and returns a success payload or an error object.",
      "tags": [
        "state-management",
        "auth",
        "registration",
        "api-client",
        "jotai-atom"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:packages/core/src/atoms/auth/registerAtom.ts:registerAtom",
      "type": "function",
      "name": "registerAtom",
      "filePath": "packages/core/src/atoms/auth/registerAtom.ts",
      "lineRange": [
        8,
        48
      ],
      "summary": "Async write handler that validates trimmed form values against registerSchema, returns per-field errors on failure, otherwise fetches POST /register with credentials and returns success true plus the server message and data, toggling loadingAtom around the request.",
      "tags": [
        "auth",
        "registration",
        "api-client",
        "validation",
        "async"
      ],
      "complexity": "moderate"
    },
    {
      "id": "file:packages/core/src/atoms/auth/tokenAtom.ts",
      "type": "file",
      "name": "tokenAtom.ts",
      "filePath": "packages/core/src/atoms/auth/tokenAtom.ts",
      "summary": "Declares tokenAtom, a persisted Jotai atomWithStorage under the key \"token\" that holds the auth token string or null, backed by a JSON storage built from getAsyncStorage so it uses sessionStorage on web and AsyncStorage on native.",
      "tags": [
        "state-management",
        "auth",
        "persistence",
        "jotai-atom",
        "cross-platform"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/core/src/schemas/index.ts",
      "type": "file",
      "name": "index.ts",
      "filePath": "packages/core/src/schemas/index.ts",
      "summary": "One-line barrel that re-exports everything from ./authSchemas, giving loginAtom and registerAtom a single import path for loginSchema and registerSchema.",
      "tags": [
        "barrel",
        "validation",
        "schema",
        "auth"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/core/src/types/auth.ts",
      "type": "file",
      "name": "auth.ts",
      "filePath": "packages/core/src/types/auth.ts",
      "summary": "Exports the User interface that types auth form state: a required password, optional username, name and email fields, and UI flags for submission status, a general error, and a fieldErrors map.",
      "tags": [
        "type-definition",
        "auth",
        "data-model",
        "form-state"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/core/src/utils/config.ts",
      "type": "file",
      "name": "config.ts",
      "filePath": "packages/core/src/utils/config.ts",
      "summary": "Resolves and exports TREETRACKER_USER_API, the user API base URL, from NEXT_PUBLIC_TREETRACKER_USER_API on web or from expo-constants extra.apiBaseUrl on React Native, defaulting to an empty string.",
      "tags": [
        "config",
        "environment",
        "cross-platform",
        "api-client"
      ],
      "complexity": "simple",
      "languageNotes": "Uses a runtime require of expo-constants inside the native branch so the web bundle does not need the Expo package; it repeats the isNative check from platform.ts instead of importing it."
    },
    {
      "id": "file:packages/core/src/utils/platform.ts",
      "type": "file",
      "name": "platform.ts",
      "filePath": "packages/core/src/utils/platform.ts",
      "summary": "Exports the isNative flag, which is true when navigator.product equals ReactNative; storage.ts uses it to pick the web or native storage backend.",
      "tags": [
        "utility",
        "platform-detection",
        "cross-platform",
        "react-native"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/core/src/utils/storage.ts",
      "type": "file",
      "name": "storage.ts",
      "filePath": "packages/core/src/utils/storage.ts",
      "summary": "Provides getAsyncStorage, a platform-aware factory for the Jotai AsyncStringStorage contract that tokenAtom uses to persist the auth token across web and mobile.",
      "tags": [
        "utility",
        "storage",
        "cross-platform",
        "factory",
        "persistence"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:packages/core/src/utils/storage.ts:getAsyncStorage",
      "type": "function",
      "name": "getAsyncStorage",
      "filePath": "packages/core/src/utils/storage.ts",
      "lineRange": [
        5,
        28
      ],
      "summary": "Returns an AsyncStringStorage that wraps window.sessionStorage in Promise-returning getItem, setItem and removeItem on web, or lazily requires @react-native-async-storage and delegates to it when isNative is true.",
      "tags": [
        "factory",
        "storage",
        "adapter",
        "cross-platform"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/core/src/utils/validation.ts",
      "type": "file",
      "name": "validation.ts",
      "filePath": "packages/core/src/utils/validation.ts",
      "summary": "Holds form helpers shared by loginAtom and registerAtom: trimInputs to clean User field strings before Joi validation and handleValidationError to turn Joi error details into a field-to-message map.",
      "tags": [
        "utility",
        "validation",
        "auth",
        "form-handling"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:packages/core/src/utils/validation.ts:trimInputs",
      "type": "function",
      "name": "trimInputs",
      "filePath": "packages/core/src/utils/validation.ts",
      "lineRange": [
        4,
        13
      ],
      "summary": "Copies each key of a Partial<User> into a new object, calling trim() on string values and passing other values unchanged, and returns the result cast to User.",
      "tags": [
        "utility",
        "sanitization",
        "form-handling"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:packages/core/src/utils/validation.ts:handleValidationError",
      "type": "function",
      "name": "handleValidationError",
      "filePath": "packages/core/src/utils/validation.ts",
      "lineRange": [
        16,
        25
      ],
      "summary": "Reduces a Joi ValidationError details array into an object keyed by context.key with each detail message, skipping entries without a key, so the UI can show per-field errors.",
      "tags": [
        "validation",
        "error-handling",
        "utility"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/bdd/features/step-definitions/share-token.steps.ts",
      "type": "file",
      "name": "share-token.steps.ts",
      "filePath": "apps/bdd/features/step-definitions/share-token.steps.ts",
      "summary": "WebdriverIO Cucumber step definitions for the share-token.feature BDD: a seeded sender logs in through Keycloak, sends a token with 'share by QR code' enabled, and a fresh visitor opens the claim link, registers, creates a wallet, and sees the shared token redeemed into it. Uses seed.ts helpers to create and reset the Keycloak accounts, wallets, and token rows.",
      "tags": [
        "test",
        "bdd",
        "e2e",
        "step-definitions",
        "token-sharing"
      ],
      "complexity": "complex",
      "languageNotes": "Scenario state (sharedTokenId, sharedLink, receiverWallet) lives in module-level variables shared across Given/When/Then callbacks."
    },
    {
      "id": "function:apps/bdd/features/step-definitions/share-token.steps.ts:clearSession",
      "type": "function",
      "name": "clearSession",
      "filePath": "apps/bdd/features/step-definitions/share-token.steps.ts",
      "lineRange": [
        34,
        47
      ],
      "summary": "Simulates a brand-new browser by visiting the Keycloak well-known URL to drop its SSO cookie, then loading the app /login page and clearing sessionStorage, localStorage, and all cookies. Used by loginAs and by the step where user A opens the share link.",
      "tags": [
        "test",
        "session-isolation",
        "browser-automation"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/bdd/features/step-definitions/share-token.steps.ts:keycloakLogin",
      "type": "function",
      "name": "keycloakLogin",
      "filePath": "apps/bdd/features/step-definitions/share-token.steps.ts",
      "lineRange": [
        50,
        59
      ],
      "summary": "Fills the Keycloak hosted login form (#username, #password), clicks #kc-login, and waits up to 30 s for the app's navigation-home element to confirm a logged-in state.",
      "tags": [
        "test",
        "authentication",
        "browser-automation"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/bdd/features/step-definitions/share-token.steps.ts:registerAs",
      "type": "function",
      "name": "registerAs",
      "filePath": "apps/bdd/features/step-definitions/share-token.steps.ts",
      "lineRange": [
        69,
        98
      ],
      "summary": "Completes the Keycloak hosted registration form for a given email (username is the email local-part, fixed Share/Receiver names), tries several submit-button selectors with a JS click fallback, and waits for the app home navigation to appear.",
      "tags": [
        "test",
        "registration",
        "browser-automation",
        "keycloak"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:apps/bdd/features/step-definitions/share-token.steps.ts:createWalletUI",
      "type": "function",
      "name": "createWalletUI",
      "filePath": "apps/bdd/features/step-definitions/share-token.steps.ts",
      "lineRange": [
        100,
        112
      ],
      "summary": "Opens the /wallet page, clicks the wallet-create-open button, types the wallet name and a 'desc' description into the create form, and submits it, driving wallet creation through the web UI.",
      "tags": [
        "test",
        "wallet",
        "browser-automation"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/bdd/utils/seed.ts",
      "type": "file",
      "name": "seed.ts",
      "filePath": "apps/bdd/utils/seed.ts",
      "summary": "Test-data seeding helpers for the BDD suite that delete and recreate fixed Keycloak users, wallets, and tokens so each run starts deterministic. Combines the @treetracker/keycloak admin API functions with direct Postgres (pg) writes to the wallet schema, because wallet-api has no delete endpoint; consumed by share-token.steps.ts.",
      "tags": [
        "test",
        "fixtures",
        "database",
        "keycloak",
        "utility"
      ],
      "complexity": "complex",
      "languageNotes": "Imports package api files by subpath (not the package index) to avoid pulling React hooks and jotai into a plain Node tsx context. createWallet and getTokens are imported but not used in the current code."
    },
    {
      "id": "function:apps/bdd/utils/seed.ts:userToken",
      "type": "function",
      "name": "userToken",
      "filePath": "apps/bdd/utils/seed.ts",
      "lineRange": [
        42,
        62
      ],
      "summary": "Mints an end-user access token through the Keycloak direct password grant against the realm token endpoint with the public client id, and throws when the response has no access_token. Called by tokenFor.",
      "tags": [
        "authentication",
        "keycloak",
        "test-helper"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/bdd/utils/seed.ts:createWalletInDB",
      "type": "function",
      "name": "createWalletInDB",
      "filePath": "apps/bdd/utils/seed.ts",
      "lineRange": [
        66,
        87
      ],
      "summary": "Opens a pg client, sets the wallet schema search_path, and inserts a wallet row for a Keycloak account id and name, returning the new wallet id. Called by seedAccount to bypass wallet-api and the gift poll.",
      "tags": [
        "database",
        "wallet",
        "test-helper"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/bdd/utils/seed.ts:createTokenInDB",
      "type": "function",
      "name": "createTokenInDB",
      "filePath": "apps/bdd/utils/seed.ts",
      "lineRange": [
        91,
        124
      ],
      "summary": "Picks one public.trees row with a uuid and no token_id, then inserts a token row with a random UUID linked to that capture and to the given wallet, returning the token id. Called by seedAccount when requireToken is true.",
      "tags": [
        "database",
        "token",
        "test-helper"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/bdd/utils/seed.ts:findUserId",
      "type": "function",
      "name": "findUserId",
      "filePath": "apps/bdd/utils/seed.ts",
      "lineRange": [
        127,
        139
      ],
      "summary": "Queries the Keycloak admin users endpoint with an exact username match using an admin bearer token and returns the first user id, or null when no user exists. Used by seedAccount and resetAccount.",
      "tags": [
        "keycloak",
        "admin-api",
        "lookup"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/bdd/utils/seed.ts:deleteWalletByName",
      "type": "function",
      "name": "deleteWalletByName",
      "filePath": "apps/bdd/utils/seed.ts",
      "lineRange": [
        144,
        203
      ],
      "summary": "Wipes a wallet by its globally unique name in FK-safe order: deletes wallet_trust_log, wallet_trust, transaction, transfer, and wallet_event rows, re-homes its tokens to SENDER_WALLET_ID (or deletes them when unset), then deletes the wallet row.",
      "tags": [
        "database",
        "cleanup",
        "wallet",
        "test-helper"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:apps/bdd/utils/seed.ts:seedAccount",
      "type": "function",
      "name": "seedAccount",
      "filePath": "apps/bdd/utils/seed.ts",
      "lineRange": [
        207,
        247
      ],
      "summary": "Resets and recreates a SeededAccount: gets an admin token, deletes any existing Keycloak user and same-named wallet, creates the Keycloak user via createUser, looks up its id, inserts the wallet in the DB, and optionally inserts a token. Called by the share-token Given step.",
      "tags": [
        "test-setup",
        "fixtures",
        "keycloak",
        "database"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:apps/bdd/utils/seed.ts:tokenFor",
      "type": "function",
      "name": "tokenFor",
      "filePath": "apps/bdd/utils/seed.ts",
      "lineRange": [
        250,
        252
      ],
      "summary": "Returns a fresh end-user access token for an already-seeded account by delegating to userToken with the account email and password.",
      "tags": [
        "authentication",
        "test-helper",
        "wrapper"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/bdd/utils/seed.ts:seedTokenIntoWalletByName",
      "type": "function",
      "name": "seedTokenIntoWalletByName",
      "filePath": "apps/bdd/utils/seed.ts",
      "lineRange": [
        258,
        304
      ],
      "summary": "Polls up to 15 s for a wallet row by name, frees a fixed token id (deleting old token and transaction rows) when one is given, then inserts a non-pending token with a random capture_id into that wallet and returns its id.",
      "tags": [
        "database",
        "token",
        "fixtures",
        "polling"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:apps/bdd/utils/seed.ts:resetAccount",
      "type": "function",
      "name": "resetAccount",
      "filePath": "apps/bdd/utils/seed.ts",
      "lineRange": [
        309,
        332
      ],
      "summary": "Deletes every Keycloak user that matches an email (by email query and by username) using an admin token, and optionally wipes the named wallet, so a UI-registered recipient can register again on re-runs. Called by the share-token registration step.",
      "tags": [
        "cleanup",
        "keycloak",
        "test-helper"
      ],
      "complexity": "moderate"
    },
    {
      "id": "file:packages/keycloak/src/api/createAccountFromKeycloak.ts",
      "type": "file",
      "name": "createAccountFromKeycloak.ts",
      "filePath": "packages/keycloak/src/api/createAccountFromKeycloak.ts",
      "summary": "Keycloak admin API helper that creates a realm user with a non-temporary password credential, falling back to an exact-username lookup when Keycloak returns 409 Conflict. Used by the BDD seed utility and the keycloak e2e test.",
      "tags": [
        "service",
        "keycloak",
        "api-client",
        "user-management",
        "tested"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:packages/keycloak/src/api/createAccountFromKeycloak.ts:createUser",
      "type": "function",
      "name": "createUser",
      "filePath": "packages/keycloak/src/api/createAccountFromKeycloak.ts",
      "lineRange": [
        12,
        59
      ],
      "summary": "POSTs a user (username, email, names, enabled, password credential) to the Keycloak admin users endpoint with a bearer token and returns the new id parsed from the Location header; on 409 it searches by username and returns the existing id, otherwise throws.",
      "tags": [
        "keycloak",
        "api-client",
        "user-management",
        "error-handling"
      ],
      "complexity": "moderate"
    },
    {
      "id": "file:packages/keycloak/src/api/deleteAccountFromKeycloak.ts",
      "type": "file",
      "name": "deleteAccountFromKeycloak.ts",
      "filePath": "packages/keycloak/src/api/deleteAccountFromKeycloak.ts",
      "summary": "Keycloak admin API helper module that deletes a realm user by id, built on axios and the shared Keycloak config values.",
      "tags": [
        "service",
        "keycloak",
        "api-client",
        "user-management",
        "tested"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:packages/keycloak/src/api/deleteAccountFromKeycloak.ts:deleteAccountFromKeycloak",
      "type": "function",
      "name": "deleteAccountFromKeycloak",
      "filePath": "packages/keycloak/src/api/deleteAccountFromKeycloak.ts",
      "lineRange": [
        4,
        27
      ],
      "summary": "Sends an axios DELETE to the Keycloak admin users/{userId} endpoint with a bearer token and returns the AxiosResponse; it rethrows axios errors with the server message or a default text. Called by seed.ts and the keycloak e2e test.",
      "tags": [
        "keycloak",
        "api-client",
        "delete",
        "error-handling"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/keycloak/src/api/fetchTokenFromKeycloak.ts",
      "type": "file",
      "name": "fetchTokenFromKeycloak.ts",
      "filePath": "packages/keycloak/src/api/fetchTokenFromKeycloak.ts",
      "summary": "Keycloak service-account token fetcher that performs a client_credentials grant against the configured token URL. Supplies the admin token for the user create and delete helpers in seed.ts and in the keycloak e2e test.",
      "tags": [
        "service",
        "keycloak",
        "authentication",
        "api-client",
        "tested"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:packages/keycloak/src/api/fetchTokenFromKeycloak.ts:fetchTokenFromKeycloak",
      "type": "function",
      "name": "fetchTokenFromKeycloak",
      "filePath": "packages/keycloak/src/api/fetchTokenFromKeycloak.ts",
      "lineRange": [
        16,
        36
      ],
      "summary": "POSTs a client_credentials grant with the configured client id and secret to KEYCLOAK_TOKEN_URL and returns the access_token plus a tokenExpiresAt timestamp that is 10 s earlier than the reported expiry.",
      "tags": [
        "keycloak",
        "authentication",
        "token",
        "api-client"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/keycloak/src/utils/config.ts",
      "type": "file",
      "name": "config.ts",
      "filePath": "packages/keycloak/src/utils/config.ts",
      "summary": "Resolves the Keycloak base URL, realm, client id, client secret, and token URL for the keycloak package: it reads PRIVATE_KEYCLOAK_* env vars (via dotenv) on web and Node, and Expo Constants extra fields on React Native. Imported by all three Keycloak api helpers.",
      "tags": [
        "config",
        "keycloak",
        "environment",
        "cross-platform"
      ],
      "complexity": "simple",
      "languageNotes": "Detects React Native with navigator.product and loads expo-constants through a runtime require so the web and Node bundles do not need it."
    },
    {
      "id": "file:packages/keycloak/tests/deleteAccount.spec.e2e.ts",
      "type": "file",
      "name": "deleteAccount.spec.e2e.ts",
      "filePath": "packages/keycloak/tests/deleteAccount.spec.e2e.ts",
      "summary": "Jest end-to-end test for deleteAccountFromKeycloak against a live Keycloak: beforeAll fetches a client-credentials token and creates a testuser with a random password, and the test expects the delete call to return HTTP 204.",
      "tags": [
        "test",
        "e2e",
        "keycloak",
        "integration"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/wallet/src/api/getTokens.ts",
      "type": "file",
      "name": "getTokens.ts",
      "filePath": "packages/wallet/src/api/getTokens.ts",
      "summary": "Wallet package API module that lists the tokens in a named wallet through treetracker-wallet-api. Consumed by the useGetTokens hook and imported by the BDD seed utility.",
      "tags": [
        "service",
        "api-client",
        "wallet",
        "token"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:packages/wallet/src/api/getTokens.ts:getTokens",
      "type": "function",
      "name": "getTokens",
      "filePath": "packages/wallet/src/api/getTokens.ts",
      "lineRange": [
        4,
        31
      ],
      "summary": "Sends an axios GET to TREETRACKER_WALLET_API/tokens with the URL-encoded wallet name and a limit (default 100) and a bearer token, returns response.data ({ tokens }), and rethrows API errors with the server message.",
      "tags": [
        "api-client",
        "token",
        "wallet",
        "error-handling"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/wallet/src/hooks/useGetTokens.ts",
      "type": "file",
      "name": "useGetTokens.ts",
      "filePath": "packages/wallet/src/hooks/useGetTokens.ts",
      "summary": "React hook module that loads the tokens of one wallet for the signed-in user, reading the auth token from the core tokenAtom (jotai) and calling getTokens.",
      "tags": [
        "hook",
        "react",
        "wallet",
        "token",
        "data-fetching"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:packages/wallet/src/hooks/useGetTokens.ts:useGetTokens",
      "type": "function",
      "name": "useGetTokens",
      "filePath": "packages/wallet/src/hooks/useGetTokens.ts",
      "lineRange": [
        6,
        33
      ],
      "summary": "React hook that reads the auth token from jotai tokenAtom and, when the token and wallet name are both set, calls getTokens in a useEffect; it returns { tokens, isTokensLoading, error } and re-runs when either input changes.",
      "tags": [
        "hook",
        "react",
        "data-fetching",
        "state-management"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/bdd/utils/artifacts.ts",
      "type": "file",
      "name": "artifacts.ts",
      "filePath": "apps/bdd/utils/artifacts.ts",
      "summary": "Defines the BDD test-artifact directory layout under test-artifacts/ (per-PLATFORM reports, Cucumber JSON/HTML, videos, temp video area) plus helpers that slugify names, create screenshot folders, and embed recorded scenario MP4s into Cucumber JSON. Consumed by wdio.base.conf.ts and wdio.debug.conf.ts.",
      "tags": [
        "utility",
        "test",
        "reporting",
        "video-artifacts",
        "filesystem"
      ],
      "complexity": "moderate"
    },
    {
      "id": "file:apps/bdd/utils/capabilities.ts",
      "type": "file",
      "name": "capabilities.ts",
      "filePath": "apps/bdd/utils/capabilities.ts",
      "summary": "Exports WebdriverIO capability arrays for four BDD targets: headless mobile-emulated Chrome (iPhone 390x844, classic WebDriver), a DevTools-enabled debug Chrome variant, an Appium UiAutomator2 Android emulator running the debug APK, and an Appium XCUITest iOS simulator.",
      "tags": [
        "config",
        "test",
        "webdriverio",
        "appium",
        "capabilities"
      ],
      "complexity": "moderate",
      "languageNotes": "Spreads a conditional array into Chrome args so HEADED=1 drops the --headless=new flag."
    },
    {
      "id": "file:apps/bdd/wdio.base.conf.ts",
      "type": "file",
      "name": "wdio.base.conf.ts",
      "filePath": "apps/bdd/wdio.base.conf.ts",
      "summary": "Shared WebdriverIO Cucumber test-runner config (baseConfig) for the BDD suite: specs, timeouts, spec/video/cucumberjs-json reporters, and lifecycle hooks that reset artifact folders, add environment metadata, overlay step text on the page, save failure screenshots, and embed videos into the report on completion. Spread into the web, mobile, and debug configs.",
      "tags": [
        "config",
        "test",
        "webdriverio",
        "cucumber",
        "bdd"
      ],
      "complexity": "complex",
      "languageNotes": "Hook functions pass a closure to browser.execute, so that code runs inside the browser page, not in Node."
    },
    {
      "id": "file:apps/bdd/wdio.debug.conf.ts",
      "type": "file",
      "name": "wdio.debug.conf.ts",
      "filePath": "apps/bdd/wdio.debug.conf.ts",
      "summary": "Debug WebdriverIO config that extends baseConfig with verbose logging, longer timeouts, the DevTools Chrome capability, and a chromedriver service that prefers the snap binary over the npm one. It replaces base artifact hooks with no-ops and adds afterSession cleanup that archives VideoReporter JSON and deletes per-worker frame caches.",
      "tags": [
        "config",
        "test",
        "debugging",
        "webdriverio",
        "entry-point"
      ],
      "complexity": "moderate"
    },
    {
      "id": "file:apps/bdd/wdio.mobile.conf.ts",
      "type": "file",
      "name": "wdio.mobile.conf.ts",
      "filePath": "apps/bdd/wdio.mobile.conf.ts",
      "summary": "Mobile WebdriverIO config that extends baseConfig with one instance, longer timeouts, an Appium service on 127.0.0.1:4723, Android or iOS capabilities picked by the PLATFORM env var, and Cucumber filtering to @native scenarios.",
      "tags": [
        "config",
        "test",
        "appium",
        "mobile",
        "entry-point"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/bdd/wdio.web.conf.ts",
      "type": "file",
      "name": "wdio.web.conf.ts",
      "filePath": "apps/bdd/wdio.web.conf.ts",
      "summary": "Web WebdriverIO config that extends baseConfig with the mobile-emulated Chrome capability, a Yarn-cache webdriver cacheDir, and Cucumber tag filter '@web and not @skip'; it relies on WebdriverIO v9 built-in driver management instead of a chromedriver service.",
      "tags": [
        "config",
        "test",
        "webdriverio",
        "web",
        "entry-point"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/bdd/utils/artifacts.ts:ensureDir",
      "type": "function",
      "name": "ensureDir",
      "filePath": "apps/bdd/utils/artifacts.ts",
      "lineRange": [
        38,
        40
      ],
      "summary": "Creates a directory and all missing parent directories with fs.mkdirSync recursive; used by scenarioDirs and associateVideos before writing artifacts.",
      "tags": [
        "utility",
        "filesystem",
        "helper"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/bdd/utils/artifacts.ts:slugify",
      "type": "function",
      "name": "slugify",
      "filePath": "apps/bdd/utils/artifacts.ts",
      "lineRange": [
        43,
        50
      ],
      "summary": "Turns a feature or scenario title into a lowercase hyphenated filesystem-safe slug by removing non-word characters and collapsing whitespace and repeated hyphens.",
      "tags": [
        "utility",
        "string",
        "formatting"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/bdd/utils/artifacts.ts:scenarioDirs",
      "type": "function",
      "name": "scenarioDirs",
      "filePath": "apps/bdd/utils/artifacts.ts",
      "lineRange": [
        56,
        72
      ],
      "summary": "Builds the per-scenario folder PLATFORM_VIDEOS_ROOT/<feature-slug>/<scenario-slug>, creates its screenshots subfolder, and returns both paths; the base config afterStep hook uses it to save failed-step PNGs.",
      "tags": [
        "utility",
        "filesystem",
        "screenshots"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/bdd/utils/artifacts.ts:canonical",
      "type": "function",
      "name": "canonical",
      "filePath": "apps/bdd/utils/artifacts.ts",
      "lineRange": [
        79,
        84
      ],
      "summary": "Normalizes a name to lowercase with runs of non-alphanumerics replaced by single hyphens and edge hyphens trimmed, so scenario titles compare equal to wdio-video-reporter file names.",
      "tags": [
        "utility",
        "string",
        "normalization"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/bdd/utils/artifacts.ts:matchVideoFile",
      "type": "function",
      "name": "matchVideoFile",
      "filePath": "apps/bdd/utils/artifacts.ts",
      "lineRange": [
        93,
        115
      ],
      "summary": "Finds an unused MP4 in VIDEOS_TMP whose canonical name equals or starts with the canonical scenario name, and returns the most recently modified candidate or null.",
      "tags": [
        "utility",
        "video-artifacts",
        "matching"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/bdd/utils/artifacts.ts:associateVideos",
      "type": "function",
      "name": "associateVideos",
      "filePath": "apps/bdd/utils/artifacts.ts",
      "lineRange": [
        129,
        226
      ],
      "summary": "Reads each Cucumber JSON report, matches every non-background scenario (longest name first) to its recorded MP4, copies the video to cucumber-html/videos/<feature>/<scenario>/run.mp4, and appends a base64 HTML <video> embedding to the last step. Writes the JSON back and returns the number of videos linked; called from the base config onComplete hook.",
      "tags": [
        "reporting",
        "video-artifacts",
        "cucumber",
        "post-processing"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:apps/bdd/wdio.base.conf.ts:getEnvMetadata",
      "type": "function",
      "name": "getEnvMetadata",
      "filePath": "apps/bdd/wdio.base.conf.ts",
      "lineRange": [
        19,
        36
      ],
      "summary": "Maps a WebdriverIO capabilities object to report metadata: platform, browser, and browser version for browser sessions, or platform, device, OS version, and automation name for Appium sessions. The beforeSession hook adds the result to the cucumberjs-json report.",
      "tags": [
        "utility",
        "reporting",
        "metadata",
        "capabilities"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/cypress/component/Welcome.cy.tsx",
      "type": "file",
      "name": "Welcome.cy.tsx",
      "filePath": "apps/web/cypress/component/Welcome.cy.tsx",
      "summary": "Cypress component test that mounts the Welcome screen inside the MUI ThemeProvider with the app theme and checks the 'Account created!' heading, the welcome copy, the Continue button, the check-circle icon, and that clicking Continue calls a stubbed onContinue handler.",
      "tags": [
        "test",
        "cypress",
        "component-test",
        "onboarding"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/app/(protected)/welcome/page.tsx",
      "type": "file",
      "name": "page.tsx",
      "filePath": "apps/web/src/app/(protected)/welcome/page.tsx",
      "summary": "Next.js App Router client page for the protected /welcome route; it renders the Welcome component and sends the user to /home with the router when the user presses Continue.",
      "tags": [
        "entry-point",
        "nextjs-page",
        "routing",
        "onboarding",
        "protected-route"
      ],
      "complexity": "simple",
      "languageNotes": "The (protected) folder is a Next.js route group: it groups routes without adding a URL segment, so the page serves /welcome."
    },
    {
      "id": "function:apps/web/src/app/(protected)/welcome/page.tsx:Page",
      "type": "function",
      "name": "Page",
      "filePath": "apps/web/src/app/(protected)/welcome/page.tsx",
      "lineRange": [
        7,
        15
      ],
      "summary": "Default-exported page component that gets the Next.js router with useRouter and passes a handleContinue callback that pushes '/home' to the Welcome component as onContinue.",
      "tags": [
        "component",
        "nextjs-page",
        "navigation"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/app/layout.tsx",
      "type": "file",
      "name": "layout.tsx",
      "filePath": "apps/web/src/app/layout.tsx",
      "summary": "Root App Router layout for the web app; it wraps every page in the MUI AppRouterCacheProvider, the MUI ThemeProvider with the shared theme, CssBaseline, and the KeycloakProvider auth context, and paints the body with the theme background color.",
      "tags": [
        "entry-point",
        "layout",
        "nextjs",
        "theming",
        "authentication"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/app/layout.tsx:RootLayout",
      "type": "function",
      "name": "RootLayout",
      "filePath": "apps/web/src/app/layout.tsx",
      "lineRange": [
        10,
        23
      ],
      "summary": "Default-exported root layout that renders the <html lang=\"en\"> and <body> shell and nests props.children inside AppRouterCacheProvider (CSS layer enabled), ThemeProvider, CssBaseline, and KeycloakProvider.",
      "tags": [
        "component",
        "layout",
        "provider-composition"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/components/ThemeProvider.tsx",
      "type": "file",
      "name": "ThemeProvider.tsx",
      "filePath": "apps/web/src/components/ThemeProvider.tsx",
      "summary": "Client component module that offers a reusable MUI theme wrapper applying the shared app theme and CssBaseline; no file in the import data uses it, because layout.tsx sets up the MUI ThemeProvider directly.",
      "tags": [
        "component",
        "provider",
        "theming",
        "mui"
      ],
      "complexity": "simple",
      "languageNotes": "The Container import is unused, and the file uses the global React namespace for types without importing React."
    },
    {
      "id": "function:apps/web/src/components/ThemeProvider.tsx:MUIThemeProvider",
      "type": "function",
      "name": "MUIThemeProvider",
      "filePath": "apps/web/src/components/ThemeProvider.tsx",
      "lineRange": [
        9,
        18
      ],
      "summary": "Default-exported React.FC that renders its children inside the MUI ThemeProvider configured with the theme from theme.ts, together with a CssBaseline style reset.",
      "tags": [
        "component",
        "provider",
        "theming"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/components/Welcome.tsx",
      "type": "file",
      "name": "Welcome.tsx",
      "filePath": "apps/web/src/components/Welcome.tsx",
      "summary": "Client component for the post-signup welcome screen: it shows an 'Account created!' heading, a check-circle icon in the custom header palette color, text about the reforestation mission and the automatic wallet, and a Continue button. The /welcome page uses it, and the Cypress component test covers it.",
      "tags": [
        "component",
        "ui",
        "onboarding",
        "mui",
        "tested"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:apps/web/src/components/Welcome.tsx:Welcome",
      "type": "function",
      "name": "Welcome",
      "filePath": "apps/web/src/components/Welcome.tsx",
      "lineRange": [
        10,
        72
      ],
      "summary": "Default-exported component that takes an optional onContinue prop, reads the MUI theme with useTheme for the icon color, and lays out a centered full-height card whose Continue button calls onContinue only when the prop is set.",
      "tags": [
        "component",
        "ui",
        "event-handler"
      ],
      "complexity": "moderate"
    },
    {
      "id": "file:apps/web/src/theme.ts",
      "type": "file",
      "name": "theme.ts",
      "filePath": "apps/web/src/theme.ts",
      "summary": "Defines and default-exports the MUI theme for the web app: Greenstand green primary (#61892F), a custom 'header' palette color, a #f5f5f5 background, Roboto from next/font, a custom 'sub' typography variant, and style overrides for Alert, FilledInput, Button, and Link. layout.tsx, ThemeProvider.tsx, and the Welcome component test import it.",
      "tags": [
        "config",
        "theming",
        "design-tokens",
        "mui",
        "type-definition"
      ],
      "complexity": "moderate",
      "languageNotes": "Uses TypeScript module augmentation (declare module) to add the custom 'header' palette color and the 'sub' typography variant to the MUI types, so Typography and Link accept variant=\"sub\" with type checking."
    },
    {
      "id": "file:apps/native/app/(tabs)/_layout.tsx",
      "type": "file",
      "name": "_layout.tsx",
      "filePath": "apps/native/app/(tabs)/_layout.tsx",
      "complexity": "simple",
      "tags": [
        "entry-point",
        "navigation",
        "layout",
        "expo-router",
        "component"
      ],
      "summary": "Expo Router layout for the (tabs) group that declares the home, wallet, notifications, settings, and hidden search tab screens, renders them with CustomTabBar, and wraps them in a react-native-copilot CopilotProvider for the onboarding walkthrough.",
      "languageNotes": "File-based routing: Expo Router treats _layout.tsx as the navigator for its directory, and the parentheses in (tabs) make a route group that does not add a URL segment."
    },
    {
      "id": "function:apps/native/app/(tabs)/_layout.tsx:TabLayout",
      "type": "function",
      "name": "TabLayout",
      "filePath": "apps/native/app/(tabs)/_layout.tsx",
      "lineRange": [
        5,
        28
      ],
      "complexity": "simple",
      "tags": [
        "component",
        "navigation",
        "layout",
        "tabs"
      ],
      "summary": "Default-exported tab navigator component that hides headers, injects CustomTabBar through the tabBar prop, and sets href null on the search screen so that it is routable but not shown as a tab."
    },
    {
      "id": "file:apps/native/app/_layout.tsx",
      "type": "file",
      "name": "_layout.tsx",
      "filePath": "apps/native/app/_layout.tsx",
      "complexity": "simple",
      "tags": [
        "entry-point",
        "layout",
        "provider",
        "expo-router",
        "splash-screen"
      ],
      "summary": "Root Expo Router layout of the native app that keeps the splash screen visible until the Roboto fonts load, then renders the active route through Slot inside ModalProvider together with the global ActionSelectionModal."
    },
    {
      "id": "function:apps/native/app/_layout.tsx:AppLayout",
      "type": "function",
      "name": "AppLayout",
      "filePath": "apps/native/app/_layout.tsx",
      "lineRange": [
        15,
        33
      ],
      "complexity": "simple",
      "tags": [
        "component",
        "entry-point",
        "layout",
        "font-loading"
      ],
      "summary": "Root layout component that loads Roboto_400Regular and Roboto_500Medium with useFonts, hides the splash screen on load success or error, and mounts ModalProvider around the routed Slot and ActionSelectionModal."
    },
    {
      "id": "file:apps/native/components/ActionSelectionModal.tsx",
      "type": "file",
      "name": "ActionSelectionModal.tsx",
      "filePath": "apps/native/components/ActionSelectionModal.tsx",
      "complexity": "moderate",
      "tags": [
        "component",
        "modal",
        "navigation",
        "state-management",
        "transfer"
      ],
      "summary": "Global 'Choose Action' modal for the native app that reads its visibility from ModalContext and offers Send and Request buttons, which set the jotai search category and push the /transfer route with the matching mode."
    },
    {
      "id": "function:apps/native/components/ActionSelectionModal.tsx:ActionSelectionModal",
      "type": "function",
      "name": "ActionSelectionModal",
      "filePath": "apps/native/components/ActionSelectionModal.tsx",
      "lineRange": [
        13,
        91
      ],
      "complexity": "moderate",
      "tags": [
        "component",
        "modal",
        "event-handler",
        "navigation"
      ],
      "summary": "Default-exported component that renders CustomModal styled from THEME; on Send or Request it calls selectCategoryAtom with SEARCH_CATEGORIES.SEND or REQUEST, closes the modal, and navigates to /transfer with a mode param."
    },
    {
      "id": "file:apps/native/components/CustomTabBar.tsx",
      "type": "file",
      "name": "CustomTabBar.tsx",
      "filePath": "apps/native/components/CustomTabBar.tsx",
      "complexity": "moderate",
      "tags": [
        "component",
        "navigation",
        "tab-bar",
        "onboarding",
        "ui"
      ],
      "summary": "Custom bottom tab bar for the Expo Router tabs layout that renders Material icon tabs, filters out the search route, and inserts a raised green swap button at the midpoint that opens the action selection modal through ModalContext.",
      "languageNotes": "Uses react-native-copilot walkthroughable() and CopilotStep to make the center button a step in the guided app tour."
    },
    {
      "id": "function:apps/native/components/CustomTabBar.tsx:CustomTabBar",
      "type": "function",
      "name": "CustomTabBar",
      "filePath": "apps/native/components/CustomTabBar.tsx",
      "lineRange": [
        10,
        114
      ],
      "complexity": "moderate",
      "tags": [
        "component",
        "navigation",
        "event-handler",
        "tab-bar"
      ],
      "summary": "Default-exported BottomTabBarProps component that maps visible routes to tabs via a nested renderTab helper (emits tabPress, navigates when not focused, picks icon and capitalized label) and calls setModalVisible(true) from the center button."
    },
    {
      "id": "file:apps/native/context/ModalContext.tsx",
      "type": "file",
      "name": "ModalContext.tsx",
      "filePath": "apps/native/context/ModalContext.tsx",
      "complexity": "simple",
      "tags": [
        "context",
        "state-management",
        "hook",
        "provider",
        "modal"
      ],
      "summary": "React context module that holds a single boolean modalVisible flag and its setter, shared by the tab bar center button and the ActionSelectionModal so that one component can open the modal that the other renders."
    },
    {
      "id": "function:apps/native/context/ModalContext.tsx:ModalProvider",
      "type": "function",
      "name": "ModalProvider",
      "filePath": "apps/native/context/ModalContext.tsx",
      "lineRange": [
        13,
        21
      ],
      "complexity": "simple",
      "tags": [
        "provider",
        "context",
        "state-management",
        "component"
      ],
      "summary": "Context provider component that stores modalVisible in useState (default false) and exposes the value and setModalVisible to its children; the root AppLayout mounts it around the whole app."
    },
    {
      "id": "function:apps/native/context/ModalContext.tsx:useModal",
      "type": "function",
      "name": "useModal",
      "filePath": "apps/native/context/ModalContext.tsx",
      "lineRange": [
        24,
        24
      ],
      "complexity": "simple",
      "tags": [
        "hook",
        "context",
        "utility"
      ],
      "summary": "Exported convenience hook that returns useContext(ModalContext), used by ActionSelectionModal to read modalVisible and call setModalVisible."
    },
    {
      "id": "file:apps/native/eslint.config.mjs",
      "type": "file",
      "name": "eslint.config.mjs",
      "filePath": "apps/native/eslint.config.mjs",
      "summary": "ESLint flat config for the Expo React Native app that imports the shared array from packages/config/index.js and re-exports it unchanged via a spread.",
      "tags": [
        "config",
        "linting",
        "eslint",
        "react-native"
      ],
      "complexity": "simple",
      "languageNotes": "ES module (.mjs) flat config; spreading the shared array leaves room to append app-specific config objects later."
    },
    {
      "id": "file:apps/user/eslint.config.mjs",
      "type": "file",
      "name": "eslint.config.mjs",
      "filePath": "apps/user/eslint.config.mjs",
      "summary": "ESLint flat config for the NestJS user API workspace; it pulls in the monorepo's shared lint rules from packages/config/index.js and exports them as-is with no local overrides.",
      "tags": [
        "config",
        "linting",
        "eslint",
        "nestjs"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:eslint.config.js",
      "type": "file",
      "name": "eslint.config.js",
      "filePath": "eslint.config.js",
      "summary": "Root-level ESLint flat config for the Yarn workspaces monorepo that loads the shared config array from ./packages/config/index.js and exports a spread copy for lint runs from the repo root.",
      "tags": [
        "config",
        "linting",
        "eslint",
        "entry-point"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/config/index.js",
      "type": "file",
      "name": "index.js",
      "filePath": "packages/config/index.js",
      "summary": "Shared ESLint flat config array consumed by the root, apps/native, and apps/user eslint configs. It defines global ignores, a TypeScript/TSX block (typescript-eslint parser with existing tsconfig projects, react, react-hooks, import, prettier plugins), and a JS/JSX block parsed with espree, mostly at warn level.",
      "tags": [
        "config",
        "linting",
        "eslint",
        "shared-config",
        "typescript"
      ],
      "complexity": "moderate",
      "languageNotes": "Uses top-level await (`await import(\"espree\")`) inside the exported array and filters tsconfig paths with fs.existsSync so missing workspaces do not break typed linting."
    },
    {
      "id": "file:apps/user/e2e-tests.config.ts",
      "type": "file",
      "name": "e2e-tests.config.ts",
      "filePath": "apps/user/e2e-tests.config.ts",
      "summary": "Jest config for the NestJS user API end-to-end suite: it spreads the shared base config from jest.config.ts and sets testRegex to match only files ending in spec.e2e.ts.",
      "tags": [
        "test",
        "config",
        "jest",
        "e2e-testing"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/user/int-tests.config.ts",
      "type": "file",
      "name": "int-tests.config.ts",
      "filePath": "apps/user/int-tests.config.ts",
      "summary": "Jest config for the user API integration suite that reuses the base jest.config.ts settings and overrides testRegex so that only spec.int.ts files run.",
      "tags": [
        "test",
        "config",
        "jest",
        "integration-testing"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/user/jest.config.ts",
      "type": "file",
      "name": "jest.config.ts",
      "filePath": "apps/user/jest.config.ts",
      "summary": "Base Jest config for the user API: it compiles .ts and .js files with ts-jest (using tsconfig.spec.json), runs tests in a node environment, and maps tsconfig.json path aliases to modules via pathsToModuleNameMapper. The unit, integration, and e2e configs spread this object and add their own testRegex.",
      "tags": [
        "config",
        "test",
        "jest",
        "ts-jest",
        "build-system"
      ],
      "complexity": "simple",
      "languageNotes": "It mixes an ES module default export with a CommonJS require() to load tsconfig.json as JSON. The displayName 'api' and the coverageDirectory '../../coverage/apps/api' look like they were left over from an earlier app name."
    },
    {
      "id": "file:apps/user/unit-tests.config.ts",
      "type": "file",
      "name": "unit-tests.config.ts",
      "filePath": "apps/user/unit-tests.config.ts",
      "summary": "Jest config for the user API unit suite that extends the shared jest.config.ts and sets testRegex to 'spec.ts$'. That regex selects plain *.spec.ts unit test files.",
      "tags": [
        "test",
        "config",
        "jest",
        "unit-testing"
      ],
      "complexity": "simple",
      "languageNotes": "The regex 'spec.ts$' has an unescaped dot and no anchor at the start, but it still excludes *.spec.e2e.ts and *.spec.int.ts files because those names end in 'e2e.ts' or 'int.ts'."
    },
    {
      "id": "file:apps/web/cypress/component/NotificationItem.cy.tsx",
      "type": "file",
      "name": "NotificationItem.cy.tsx",
      "filePath": "apps/web/cypress/component/NotificationItem.cy.tsx",
      "summary": "Cypress component test that mounts NotificationItem with a mock notification (title, description, time \"2h\", thirdParty source) and asserts that the title, description, and time text render.",
      "tags": [
        "test",
        "cypress",
        "component-test",
        "notifications"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/cypress/component/NotificationsList.cy.tsx",
      "type": "file",
      "name": "NotificationsList.cy.tsx",
      "filePath": "apps/web/cypress/component/NotificationsList.cy.tsx",
      "summary": "Cypress component test that mounts NotificationsList with two mock notifications and checks that each title, description, and relative timestamp (\"1h\", \"5h\") appears in the rendered list.",
      "tags": [
        "test",
        "cypress",
        "component-test",
        "notifications"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/components/NotificationItem.tsx",
      "type": "file",
      "name": "NotificationItem.tsx",
      "filePath": "apps/web/src/components/NotificationItem.tsx",
      "summary": "Client-side MUI component file for the web wallet that renders one selectable notification row with an initials avatar for the third-party source, plus a local getInitials helper that falls back to \"?\".",
      "tags": [
        "component",
        "ui",
        "notifications",
        "mui",
        "tested"
      ],
      "complexity": "moderate",
      "languageNotes": "Uses the Next.js \"use client\" directive and inline MUI sx props for selection highlight and transition styling."
    },
    {
      "id": "file:apps/web/src/components/NotificationsList.tsx",
      "type": "file",
      "name": "NotificationsList.tsx",
      "filePath": "apps/web/src/components/NotificationsList.tsx",
      "summary": "Client-side MUI component file that renders the web wallet notifications feed as a list of NotificationItem rows, or a wallet-icon empty state with a hint about recent transactions when the list is empty.",
      "tags": [
        "component",
        "ui",
        "notifications",
        "state-management",
        "tested"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/components/NotificationItem.tsx:NotificationItem",
      "type": "function",
      "name": "NotificationItem",
      "filePath": "apps/web/src/components/NotificationItem.tsx",
      "lineRange": [
        12,
        73
      ],
      "summary": "Exported React component that takes title, description, time, optional thirdParty, isSelected, and onSelect props, and renders a clickable row whose background turns #f8e4c4 when selected; NotificationsList renders one per notification.",
      "tags": [
        "component",
        "react",
        "event-handler",
        "notifications"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/components/NotificationsList.tsx:NotificationsList",
      "type": "function",
      "name": "NotificationsList",
      "filePath": "apps/web/src/components/NotificationsList.tsx",
      "lineRange": [
        8,
        52
      ],
      "summary": "Exported React component that takes a notifications array, keeps the selected index in useState, toggles selection on click via handleSelect, and maps each item to a NotificationItem or shows an empty-state message.",
      "tags": [
        "component",
        "react",
        "hook",
        "notifications"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/core/src/atoms/search/index.ts",
      "type": "file",
      "name": "index.ts",
      "filePath": "packages/core/src/atoms/search/index.ts",
      "summary": "Defines the Jotai search state for the wallet: primitive atoms for query, loading, recent searches and selected category, derived atoms that filter and rank the mockData items into matching and non-matching sets, and write atoms (performSearchAtom, selectCategoryAtom, clearSearchAtom, startSearchAtom, cancelSearchAtom) that mutate that state. The useSearchResults hook consumes its derived atoms.",
      "tags": [
        "state-management",
        "jotai",
        "search",
        "atoms",
        "derived-state"
      ],
      "complexity": "moderate",
      "languageNotes": "Uses Jotai read-only derived atoms (atom(get => ...)) and write-only action atoms (atom(null, (get, set, arg) => ...)), with an explicit atom<null, [string], void> generic signature for typed write arguments."
    },
    {
      "id": "function:packages/core/src/atoms/search/index.ts:sortSearchResults",
      "type": "function",
      "name": "sortSearchResults",
      "filePath": "packages/core/src/atoms/search/index.ts",
      "lineRange": [
        27,
        50
      ],
      "summary": "Returns a sorted copy of search items for a non-blank query: names that start with the query rank first, exact case-insensitive name matches rank next, and remaining ties sort alphabetically with localeCompare. matchingResultsAtom calls it after filterByQuery.",
      "tags": [
        "search",
        "sorting",
        "ranking",
        "utility"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/core/src/data/mockData.ts",
      "type": "file",
      "name": "mockData.ts",
      "filePath": "packages/core/src/data/mockData.ts",
      "summary": "Exports a hard-coded mockData array of ten SearchItem records: five users in the send category and five businesses (including GreenStand) in the request category, some with a placeholder React Native logo avatar. The search atoms use it as the only data source for category filtering and query matching.",
      "tags": [
        "mock-data",
        "fixture",
        "search",
        "data-model"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/core/src/hooks/useSearchResults.ts",
      "type": "file",
      "name": "useSearchResults.ts",
      "filePath": "packages/core/src/hooks/useSearchResults.ts",
      "summary": "React hook module that reads the search display, stats, selected-category and category-label atoms and turns them into SectionList-style sections for a search results screen.",
      "tags": [
        "hook",
        "react",
        "search",
        "jotai",
        "view-model"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:packages/core/src/hooks/useSearchResults.ts:useSearchResults",
      "type": "function",
      "name": "useSearchResults",
      "filePath": "packages/core/src/hooks/useSearchResults.ts",
      "lineRange": [
        11,
        56
      ],
      "summary": "Memoizes a SectionData array: an empty list when the query has no results, separate \"Matching Results (n)\" and \"Other Results (n)\" sections when a query is active, or one section titled with the category label and count otherwise. Returns sections, hasNoResults, selectedCategory and currentCategoryLabel.",
      "tags": [
        "hook",
        "search",
        "memoization",
        "sections",
        "state-management"
      ],
      "complexity": "moderate"
    },
    {
      "id": "file:packages/core/src/types/search.ts",
      "type": "file",
      "name": "search.ts",
      "filePath": "packages/core/src/types/search.ts",
      "summary": "Declares the search domain types SearchItem, SectionData, SearchItemType (user or business) and SearchCategory (send, request or all), plus the SEARCH_CATEGORIES and SEARCH_TYPES constant maps. The search atoms, mockData and useSearchResults import these definitions.",
      "tags": [
        "type-definition",
        "search",
        "constants",
        "data-model"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/cypress/component/TokenTree.cy.tsx",
      "type": "file",
      "name": "TokenTree.cy.tsx",
      "filePath": "apps/web/cypress/component/TokenTree.cy.tsx",
      "summary": "Cypress component test that mounts TokenTree three ways and checks the data-test hooks: the photo src and species text with an image, the 'No photo' placeholder without one, and the 'Could not load' placeholder when hasError is set.",
      "tags": [
        "test",
        "cypress",
        "component-test",
        "react"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/app/(protected)/token/details/page.tsx",
      "type": "file",
      "name": "page.tsx",
      "filePath": "apps/web/src/app/(protected)/token/details/page.tsx",
      "summary": "Client-side Next.js App Router page at /token/details inside the protected route group that shows one token: its ID, wallet and creation date, its tree photo via TokenTree, an external map link, and its transaction history, all loaded through @treetracker/wallet hooks.",
      "tags": [
        "component",
        "page",
        "nextjs",
        "token",
        "entry-point"
      ],
      "complexity": "moderate",
      "languageNotes": "The default export wraps the inner component in React Suspense because useSearchParams requires a Suspense boundary in the Next.js App Router."
    },
    {
      "id": "function:apps/web/src/app/(protected)/token/details/page.tsx:TokenDetails",
      "type": "function",
      "name": "TokenDetails",
      "filePath": "apps/web/src/app/(protected)/token/details/page.tsx",
      "lineRange": [
        28,
        140
      ],
      "summary": "Reads the id and wallet query parameters, calls useGetToken, useGetTokenTransactions and useGetTokenTree, and renders MUI sections for token info, the TokenTree photo, a NEXT_PUBLIC_MAP_URL map anchor, a back button to the wallet page, and a list of source-to-destination transactions.",
      "tags": [
        "component",
        "react",
        "token",
        "data-fetching"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:apps/web/src/app/(protected)/token/details/page.tsx:TokenDetailsPage",
      "type": "function",
      "name": "TokenDetailsPage",
      "filePath": "apps/web/src/app/(protected)/token/details/page.tsx",
      "lineRange": [
        142,
        148
      ],
      "summary": "Default-exported Next.js page component that renders TokenDetails inside a Suspense boundary with a 'Loading\u2026' Box fallback.",
      "tags": [
        "component",
        "page",
        "nextjs",
        "suspense"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/components/TokenTree.tsx",
      "type": "file",
      "name": "TokenTree.tsx",
      "filePath": "apps/web/src/components/TokenTree.tsx",
      "summary": "Presentational MUI component module for the tree linked to a token, used by the token details page and covered by a Cypress component test; it exports only TokenTree and its optional Props type.",
      "tags": [
        "component",
        "react",
        "ui",
        "presentational",
        "tested"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:apps/web/src/components/TokenTree.tsx:TokenTree",
      "type": "function",
      "name": "TokenTree",
      "filePath": "apps/web/src/components/TokenTree.tsx",
      "lineRange": [
        10,
        64
      ],
      "summary": "Takes optional imageUrl, speciesName, isLoading and hasError props and renders a 160px box with the tree photo, or a placeholder text ('Loading\u2026', 'Could not load the tree', or 'No photo for this tree'), plus the species name below when present.",
      "tags": [
        "component",
        "react",
        "ui",
        "conditional-rendering"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/cypress/e2e/login.cy.ts",
      "type": "file",
      "name": "login.cy.ts",
      "filePath": "apps/web/cypress/e2e/login.cy.ts",
      "summary": "Cypress E2E spec for the web Login page: it loads the auth-data fixture, then checks successful login with sessionStorage token and redirect to home, rejection of invalid or short-username credentials, empty and short field validation, password visibility toggle, and the signup link.",
      "tags": [
        "test",
        "e2e",
        "cypress",
        "authentication",
        "login"
      ],
      "complexity": "moderate",
      "languageNotes": "Tests use function() callbacks instead of arrow functions so that this.authData (the cy.fixture alias) is reachable from the Mocha context."
    },
    {
      "id": "file:apps/web/cypress/e2e/signup.cy.ts",
      "type": "file",
      "name": "signup.cy.ts",
      "filePath": "apps/web/cypress/e2e/signup.cy.ts",
      "summary": "Cypress E2E spec for the web Register page: it checks the form fields render, stubs POST **/register with cy.intercept to test a 200 success redirect to login and a 409 duplicate-user error, validates empty-field helper text, and checks the login link.",
      "tags": [
        "test",
        "e2e",
        "cypress",
        "registration",
        "network-stub"
      ],
      "complexity": "moderate"
    },
    {
      "id": "file:apps/web/cypress/support/auth-constants.ts",
      "type": "file",
      "name": "auth-constants.ts",
      "filePath": "apps/web/cypress/support/auth-constants.ts",
      "summary": "Shared Cypress support module for the login.cy.ts and signup.cy.ts specs: it exports the SELECTORS map of data-test ids for the auth forms and helper commands that fill the login and signup forms, assert errors and success, clear storage, and load the auth-data fixture.",
      "tags": [
        "test",
        "test-helper",
        "cypress",
        "authentication",
        "constants"
      ],
      "complexity": "moderate",
      "languageNotes": "SELECTORS uses 'as const' so every selector key keeps its literal string type; all helpers wrap the custom cy.getByData command."
    },
    {
      "id": "function:apps/web/cypress/support/auth-constants.ts:loginWith",
      "type": "function",
      "name": "loginWith",
      "filePath": "apps/web/cypress/support/auth-constants.ts",
      "lineRange": [
        32,
        39
      ],
      "summary": "Types the given username and password into the login-username and login-password fields and clicks the login submit button; login.cy.ts calls it for valid, invalid, and short-credential cases.",
      "tags": [
        "test-helper",
        "cypress",
        "login",
        "form-input"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/cypress/support/auth-constants.ts:expectLoginError",
      "type": "function",
      "name": "expectLoginError",
      "filePath": "apps/web/cypress/support/auth-constants.ts",
      "lineRange": [
        41,
        45
      ],
      "summary": "Asserts that the login-error element is visible and contains the given message; login.cy.ts uses it after failed credential attempts.",
      "tags": [
        "test-helper",
        "assertion",
        "login",
        "error-handling"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/cypress/support/auth-constants.ts:expectSuccessfulLogin",
      "type": "function",
      "name": "expectSuccessfulLogin",
      "filePath": "apps/web/cypress/support/auth-constants.ts",
      "lineRange": [
        47,
        54
      ],
      "summary": "Asserts that window.sessionStorage.token is a non-empty string, that the pathname equals the home route (default /home, 20 s timeout), and that the home-page element is visible.",
      "tags": [
        "test-helper",
        "assertion",
        "login",
        "session"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/cypress/support/auth-constants.ts:registerWith",
      "type": "function",
      "name": "registerWith",
      "filePath": "apps/web/cypress/support/auth-constants.ts",
      "lineRange": [
        57,
        74
      ],
      "summary": "Fills the signup form with the optional email, username, and confirmPassword values only when they are strings, always types the password, then clicks the signup submit button; signup.cy.ts calls it.",
      "tags": [
        "test-helper",
        "cypress",
        "registration",
        "form-input"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/cypress/support/auth-constants.ts:expectRegistrationSuccess",
      "type": "function",
      "name": "expectRegistrationSuccess",
      "filePath": "apps/web/cypress/support/auth-constants.ts",
      "lineRange": [
        76,
        82
      ],
      "summary": "Asserts that the signup-success element is visible and contains a message, by default 'User created successfully!'; no spec in this batch calls it.",
      "tags": [
        "test-helper",
        "assertion",
        "registration"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/cypress/support/auth-constants.ts:expectValidationError",
      "type": "function",
      "name": "expectValidationError",
      "filePath": "apps/web/cypress/support/auth-constants.ts",
      "lineRange": [
        85,
        87
      ],
      "summary": "Asserts that the element for an arbitrary data-test selector is visible and contains the given message; signup.cy.ts uses it for the 409 error and empty-field checks.",
      "tags": [
        "test-helper",
        "assertion",
        "validation"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/cypress/support/auth-constants.ts:expectFormFieldError",
      "type": "function",
      "name": "expectFormFieldError",
      "filePath": "apps/web/cypress/support/auth-constants.ts",
      "lineRange": [
        89,
        93
      ],
      "summary": "Asserts that the shared error-helper-text element is visible and contains the given field validation message; login.cy.ts uses it for empty and short field checks.",
      "tags": [
        "test-helper",
        "assertion",
        "validation",
        "form"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/cypress/support/auth-constants.ts:generateUniqueEmail",
      "type": "function",
      "name": "generateUniqueEmail",
      "filePath": "apps/web/cypress/support/auth-constants.ts",
      "lineRange": [
        96,
        96
      ],
      "summary": "Returns a unique test email address of the form testuser<Date.now()>@example.com so that signup.cy.ts can register a new user without collisions.",
      "tags": [
        "test-helper",
        "utility",
        "test-data"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/cypress/support/auth-constants.ts:clearAuthSession",
      "type": "function",
      "name": "clearAuthSession",
      "filePath": "apps/web/cypress/support/auth-constants.ts",
      "lineRange": [
        98,
        103
      ],
      "summary": "Clears both sessionStorage and localStorage of the application window to reset any stored auth state between tests.",
      "tags": [
        "test-helper",
        "session",
        "cleanup"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/cypress/support/auth-constants.ts:loadAuthFixture",
      "type": "function",
      "name": "loadAuthFixture",
      "filePath": "apps/web/cypress/support/auth-constants.ts",
      "lineRange": [
        106,
        108
      ],
      "summary": "Loads the auth-data fixture with cy.fixture and aliases it as authData, which both specs read as this.authData for routes, users, and error messages.",
      "tags": [
        "test-helper",
        "fixture",
        "test-data"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/cypress/support/auth-constants.ts:getFixtureData",
      "type": "function",
      "name": "getFixtureData",
      "filePath": "apps/web/cypress/support/auth-constants.ts",
      "lineRange": [
        110,
        114
      ],
      "summary": "Reads the authData alias and resolves a dot-separated path (for example 'users.validUser') against it with split and reduce, yielding the nested fixture value.",
      "tags": [
        "test-helper",
        "fixture",
        "utility"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/cypress/support/commands.ts",
      "type": "file",
      "name": "commands.ts",
      "filePath": "apps/web/cypress/support/commands.ts",
      "summary": "Registers the custom Cypress commands login and logout for the web app tests: login POSTs TEST_USER credentials (default demo/demodemon) to the api_server /login endpoint, asserts HTTP 200, and stores access_token in sessionStorage under \"token\"; logout removes that key. Also augments the global Cypress.Chainable type with both commands.",
      "tags": [
        "test",
        "cypress",
        "authentication",
        "test-helper",
        "type-definition"
      ],
      "complexity": "simple",
      "languageNotes": "Uses TypeScript declaration merging (declare global + namespace Cypress) so custom commands are type-checked on cy, and export {} to make the file a module."
    },
    {
      "id": "file:apps/web/cypress/support/component.tsx",
      "type": "file",
      "name": "component.tsx",
      "filePath": "apps/web/cypress/support/component.tsx",
      "summary": "Cypress component-testing support file loaded before each component spec; it side-effect imports ./commands and registers cy.mount from cypress/react so specs can render React components, with a matching Chainable type augmentation.",
      "tags": [
        "test",
        "cypress",
        "component-testing",
        "react",
        "test-setup"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/cypress/support/e2e.ts",
      "type": "file",
      "name": "e2e.ts",
      "filePath": "apps/web/cypress/support/e2e.ts",
      "summary": "Cypress end-to-end support file loaded before each E2E spec; it side-effect imports ./commands and adds the getByData command, which selects elements by their data-test attribute, plus its Chainable type declaration.",
      "tags": [
        "test",
        "cypress",
        "e2e",
        "test-setup",
        "selector-helper"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/app/api/auth/signup/route.ts",
      "type": "file",
      "name": "route.ts",
      "filePath": "apps/web/src/app/api/auth/signup/route.ts",
      "summary": "Next.js App Router handler for POST /api/auth/signup that reads username, email, and password from the JSON body and calls createUser from userService to register the user in Keycloak.",
      "tags": [
        "api-handler",
        "authentication",
        "signup",
        "nextjs-route"
      ],
      "complexity": "simple",
      "languageNotes": "Next.js App Router convention: a route.ts file exports functions named after HTTP methods (here POST) to define API endpoints."
    },
    {
      "id": "function:apps/web/src/app/api/auth/signup/route.ts:POST",
      "type": "function",
      "name": "POST",
      "filePath": "apps/web/src/app/api/auth/signup/route.ts",
      "lineRange": [
        4,
        26
      ],
      "summary": "Parses the signup request body, delegates to createUser, and maps the result to a NextResponse with status 201 on success, 409 when the user exists, or 500 with the error message on an exception.",
      "tags": [
        "api-handler",
        "signup",
        "http-status-mapping",
        "error-handling"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/app/api/services/tokenService.ts",
      "type": "file",
      "name": "tokenService.ts",
      "filePath": "apps/web/src/app/api/services/tokenService.ts",
      "summary": "Server-side helper that obtains a Keycloak admin access token from the master realm with the OAuth2 password grant, using admin credentials from NEXT_PUBLIC_KEYCLOAK_* environment variables; userService uses it before admin API calls.",
      "tags": [
        "service",
        "authentication",
        "keycloak",
        "oauth2"
      ],
      "complexity": "simple",
      "languageNotes": "The admin credentials are read from NEXT_PUBLIC_-prefixed env vars, which Next.js inlines into client bundles if this module is ever imported from client code."
    },
    {
      "id": "function:apps/web/src/app/api/services/tokenService.ts:getToken",
      "type": "function",
      "name": "getToken",
      "filePath": "apps/web/src/app/api/services/tokenService.ts",
      "lineRange": [
        4,
        29
      ],
      "summary": "POSTs a form-encoded password-grant request to the Keycloak master realm openid-connect token endpoint and returns the access_token string, or throws an Error with the response text when the request fails.",
      "tags": [
        "keycloak",
        "access-token",
        "http-client",
        "oauth2"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/app/api/services/userService.ts",
      "type": "file",
      "name": "userService.ts",
      "filePath": "apps/web/src/app/api/services/userService.ts",
      "summary": "Server-side service that creates wallet users in Keycloak through the admin REST API, authenticating with a token from tokenService; the signup API route calls its createUser export.",
      "tags": [
        "service",
        "user-management",
        "keycloak",
        "signup"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/app/api/services/userService.ts:createUser",
      "type": "function",
      "name": "createUser",
      "filePath": "apps/web/src/app/api/services/userService.ts",
      "lineRange": [
        5,
        50
      ],
      "summary": "Gets an admin token via getToken, POSTs an enabled user with a non-temporary password credential to the Keycloak admin users endpoint for the configured realm, and returns success on 201, a user-exists failure on 409, or throws on other statuses.",
      "tags": [
        "user-creation",
        "keycloak-admin-api",
        "http-client",
        "error-handling"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/components/DateRangeInput.tsx",
      "type": "file",
      "name": "DateRangeInput.tsx",
      "filePath": "apps/web/src/components/DateRangeInput.tsx",
      "summary": "Client-side React component file for the web wallet that exports DateRangeInput, a pair of MUI date fields used by WalletFiltersModal to pick a custom start and end date.",
      "tags": [
        "component",
        "form-input",
        "date-range",
        "mui"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/components/DateRangeInput.tsx:DateRangeInput",
      "type": "function",
      "name": "DateRangeInput",
      "filePath": "apps/web/src/components/DateRangeInput.tsx",
      "lineRange": [
        13,
        41
      ],
      "summary": "Renders side-by-side 'From' and 'To' MUI TextFields of type date with shrunk labels and aria labels, reporting each new string value through the onChangeStart and onChangeEnd callbacks.",
      "tags": [
        "component",
        "controlled-input",
        "date-picker",
        "accessibility"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/components/RadioButton.tsx",
      "type": "file",
      "name": "RadioButton.tsx",
      "filePath": "apps/web/src/components/RadioButton.tsx",
      "summary": "Client-side React component file that exports RadioButton, a labeled MUI radio wrapper that WalletFiltersModal uses for each preset date filter option.",
      "tags": [
        "component",
        "form-input",
        "radio",
        "mui"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/components/RadioButton.tsx:RadioButton",
      "type": "function",
      "name": "RadioButton",
      "filePath": "apps/web/src/components/RadioButton.tsx",
      "lineRange": [
        13,
        34
      ],
      "summary": "Renders a single MUI FormControlLabel with a controlled Radio inside a padded Box, taking label, value, checked and an argument-less onChange handler, and reusing the label as the aria label.",
      "tags": [
        "component",
        "controlled-input",
        "radio-button",
        "accessibility"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/components/WalletFiltersModal.tsx",
      "type": "file",
      "name": "WalletFiltersModal.tsx",
      "filePath": "apps/web/src/components/WalletFiltersModal.tsx",
      "summary": "Defines the web wallet's bottom-sheet filters dialog and its WalletFilterOption and WalletFiltersValue types, composing RadioButton presets and a DateRangeInput to build a date filter value.",
      "tags": [
        "component",
        "modal",
        "filter",
        "type-definition",
        "mui"
      ],
      "complexity": "moderate",
      "languageNotes": "The component is fully controlled: it holds no state and emits a new immutable WalletFiltersValue object via spread on every change."
    },
    {
      "id": "function:apps/web/src/components/WalletFiltersModal.tsx:WalletFiltersModal",
      "type": "function",
      "name": "WalletFiltersModal",
      "filePath": "apps/web/src/components/WalletFiltersModal.tsx",
      "lineRange": [
        33,
        135
      ],
      "summary": "Renders an MUI Dialog styled as a rounded bottom sheet with a close button, four date-preset radios (all, past 90 days, May, 2024), a custom date range, and an Apply button; it emits changes via onChange and the final value via onApply.",
      "tags": [
        "component",
        "modal",
        "controlled-component",
        "filter-ui"
      ],
      "complexity": "moderate"
    },
    {
      "id": "file:packages/core/src/api/wallet.ts",
      "type": "file",
      "name": "wallet.ts",
      "filePath": "packages/core/src/api/wallet.ts",
      "summary": "Mock wallet API for the shared core package that uses @faker-js/faker to generate fake Wallet records with random Received/Pending/Sent status and signed balances, after a simulated 100 ms network delay. It exports getWalletsRecentActivity and getWalletByKeyword, and the useWalletList hook consumes it.",
      "tags": [
        "api-client",
        "mock-data",
        "service",
        "wallet",
        "async"
      ],
      "complexity": "simple",
      "languageNotes": "Async functions await a setTimeout-based Promise to imitate network latency; status values use a string literal union type."
    },
    {
      "id": "function:packages/core/src/api/wallet.ts:getWalletsRecentActivity",
      "type": "function",
      "name": "getWalletsRecentActivity",
      "filePath": "packages/core/src/api/wallet.ts",
      "lineRange": [
        4,
        18
      ],
      "summary": "Waits 100 ms, then returns four freshly generated fake Wallet objects (uuid id, faker username, logo URL, past createdAt, random status, and a balance that is negative when the status is Sent). It accepts a userId argument but ignores it, and useWalletList calls it to load the recent-activity list.",
      "tags": [
        "mock-data",
        "async",
        "wallet",
        "api-client"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:packages/core/src/api/wallet.ts:getWalletByKeyword",
      "type": "function",
      "name": "getWalletByKeyword",
      "filePath": "packages/core/src/api/wallet.ts",
      "lineRange": [
        46,
        52
      ],
      "summary": "Waits 100 ms, then filters a module-level list of ten pre-generated fake wallets and returns those whose name contains the keyword, compared case-insensitively. It acts as a mock wallet search endpoint.",
      "tags": [
        "search",
        "mock-data",
        "async",
        "filtering"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/core/src/hooks/wallet.ts",
      "type": "file",
      "name": "wallet.ts",
      "filePath": "packages/core/src/hooks/wallet.ts",
      "summary": "React hook module in the shared core package that default-exports useWalletList, which loads wallet recent activity from the core mock wallet API and exposes the list with a loading flag.",
      "tags": [
        "hook",
        "react",
        "wallet",
        "data-fetching"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:packages/core/src/hooks/wallet.ts:useWalletList",
      "type": "function",
      "name": "useWalletList",
      "filePath": "packages/core/src/hooks/wallet.ts",
      "lineRange": [
        5,
        20
      ],
      "summary": "Holds a Wallet[] list and an isWalletLoading flag in useState, and on mount runs a useEffect that calls getWalletsRecentActivity with the userId (or an empty string) and stores the result. It returns { list, isWalletLoading }; the effect has an empty dependency array, so a userId change does not trigger a reload.",
      "tags": [
        "hook",
        "react",
        "state-management",
        "data-fetching"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/core/src/types/wallet.ts",
      "type": "file",
      "name": "wallet.ts",
      "filePath": "packages/core/src/types/wallet.ts",
      "summary": "Declares the shared Wallet type (id, name, logo, numeric balance, createdAt Date, and status string) that the core wallet API and the useWalletList hook use as their data shape.",
      "tags": [
        "type-definition",
        "data-model",
        "wallet"
      ],
      "complexity": "simple"
    },
    {
      "id": "service:apps/user/.dockerignore",
      "type": "service",
      "name": ".dockerignore",
      "filePath": "apps/user/.dockerignore",
      "summary": "Docker build-context exclusion list for the NestJS user API image, keeping node_modules, dist, deployment, .git, .cache, .env, .github and .husky out of the context sent to apps/user/Dockerfile.",
      "tags": [
        "containerization",
        "infrastructure",
        "build-system",
        "security"
      ],
      "complexity": "simple",
      "languageNotes": "Excluding .env keeps local secrets out of the image layers, and excluding node_modules and dist forces the builder stage to install and compile from a clean state."
    },
    {
      "id": "service:apps/user/Dockerfile",
      "type": "service",
      "name": "Dockerfile",
      "filePath": "apps/user/Dockerfile",
      "summary": "Two-stage node:18-alpine build for the NestJS user API: the builder stage runs yarn install and yarn build and then prunes to production dependencies, and the prod stage copies dist and node_modules, exposes port 8080 and starts node dist/src/main.js.",
      "tags": [
        "containerization",
        "infrastructure",
        "deployment",
        "nestjs",
        "multi-stage-build"
      ],
      "complexity": "simple",
      "languageNotes": "Multi-stage build: only the compiled dist folder and the pruned production node_modules reach the final image. The builder copies only package.json before yarn install (no yarn.lock), so dependency versions are not pinned by a lockfile inside this build context."
    },
    {
      "id": "service:apps/user/Dockerfile:builder",
      "type": "service",
      "name": "builder",
      "filePath": "apps/user/Dockerfile",
      "lineRange": [
        1,
        8
      ],
      "summary": "Builder stage on node:18-alpine that installs all dependencies from package.json, compiles the user API with yarn build, and reinstalls with --production --ignore-scripts to leave only runtime packages in /app/node_modules.",
      "tags": [
        "containerization",
        "build-system",
        "build-stage"
      ],
      "complexity": "simple"
    },
    {
      "id": "service:apps/user/Dockerfile:prod",
      "type": "service",
      "name": "prod",
      "filePath": "apps/user/Dockerfile",
      "lineRange": [
        9,
        14
      ],
      "summary": "Runtime stage on node:18-alpine that takes app/dist and app/node_modules from the builder stage, exposes port 8080, and runs the compiled NestJS bootstrap file dist/src/main.js.",
      "tags": [
        "containerization",
        "deployment",
        "runtime-stage"
      ],
      "complexity": "simple"
    },
    {
      "id": "pipeline:.github/workflows/build-dev-docker-img-and-relase.yml",
      "type": "pipeline",
      "name": "build-dev-docker-img-and-relase.yml",
      "filePath": ".github/workflows/build-dev-docker-img-and-relase.yml",
      "summary": "Release workflow that runs on every push to main in the Greenstand repo (unless the commit says skip ci), installs Yarn dependencies on Node 24.10.0, and runs semantic-release with the commit-analyzer, changelog, npm, git and GitHub plugins to tag versions and publish release notes. Despite the file name, it builds no Docker image.",
      "tags": [
        "ci-cd",
        "release",
        "semantic-release",
        "versioning"
      ],
      "complexity": "moderate",
      "languageNotes": "fetch-depth: 0 gives semantic-release the full git history and tags it needs to compute the next version."
    },
    {
      "id": "pipeline:.github/workflows/ci-cd-deploy-web-prod.yml",
      "type": "pipeline",
      "name": "ci-cd-deploy-web-prod.yml",
      "filePath": ".github/workflows/ci-cd-deploy-web-prod.yml",
      "summary": "Manually dispatched workflow that writes production NEXT_PUBLIC_* values (Keycloak, wallet API, user API, map and query URLs) into apps/web/.env.production, builds the Next.js static export, then syncs apps/web/out to the production S3 bucket and invalidates the CloudFront distribution for wallet.treetracker.org.",
      "tags": [
        "ci-cd",
        "deployment",
        "nextjs",
        "aws-s3",
        "cloudfront"
      ],
      "complexity": "moderate",
      "languageNotes": "Two jobs pass the static build through upload-artifact and download-artifact; the deploy job runs only in the Greenstand/treetracker-wallet-app repository."
    },
    {
      "id": "pipeline:.github/workflows/ci-cd-deploy-web-test.yml",
      "type": "pipeline",
      "name": "ci-cd-deploy-web-test.yml",
      "filePath": ".github/workflows/ci-cd-deploy-web-test.yml",
      "summary": "Manually dispatched workflow that builds the apps/web Next.js static export with only DEPLOYMENT_HOSTNAME set in .env.production, then syncs the out directory to the test S3 bucket and invalidates CloudFront for wallet-test.treetracker.org.",
      "tags": [
        "ci-cd",
        "deployment",
        "nextjs",
        "aws-s3",
        "test-environment"
      ],
      "complexity": "moderate"
    },
    {
      "id": "pipeline:.github/workflows/ci-cd-pr-bdd-android.yml",
      "type": "pipeline",
      "name": "ci-cd-pr-bdd-android.yml",
      "filePath": ".github/workflows/ci-cd-pr-bdd-android.yml",
      "summary": "Android end-to-end workflow for PRs that touch apps/bdd, apps/native, packages/core or packages/wallet (and for pushes to main). It caches Gradle, the AVD, the Expo prebuild and the debug APK, embeds the JS bundle, starts the user service on port 8080, installs Appium 3 with UiAutomator2, and runs yarn bdd:test:android:report (wdio.mobile.conf.ts) on an API 34 emulator. A second job publishes the Cucumber HTML report to gh-pages under webdriver/android and upserts a PR comment with the report links.",
      "tags": [
        "ci-cd",
        "e2e-test",
        "android",
        "appium",
        "bdd"
      ],
      "complexity": "complex",
      "languageNotes": "Uses actions/cache cache-hit outputs to skip the prebuild and the APK build, and an HTML-comment marker so that github-script updates one PR comment instead of adding new ones."
    },
    {
      "id": "pipeline:.github/workflows/ci-cd-pr-bdd-wallet.yml",
      "type": "pipeline",
      "name": "ci-cd-pr-bdd-wallet.yml",
      "filePath": ".github/workflows/ci-cd-pr-bdd-wallet.yml",
      "summary": "Web BDD end-to-end workflow that runs on pull_request_target for changes in apps/bdd, apps/web, apps/user, packages/core or packages/wallet (and on pushes to main). It builds the web static export, serves apps/web/out on port 3000, starts the user service on port 8080, runs yarn bdd:test:web:report (WebdriverIO with wdio.web.conf.ts), publishes the Cucumber report to gh-pages under webdriver/web, and pins one de-duplicated report-link comment on the PR.",
      "tags": [
        "ci-cd",
        "e2e-test",
        "bdd",
        "webdriverio",
        "github-pages"
      ],
      "complexity": "complex",
      "languageNotes": "pull_request_target with an explicit PR-head checkout gives secrets to same-repo PRs; the job-level if guard skips fork PRs."
    },
    {
      "id": "pipeline:.github/workflows/ci-cd-pr-package-queue.yml",
      "type": "pipeline",
      "name": "ci-cd-pr-package-queue.yml",
      "filePath": ".github/workflows/ci-cd-pr-package-queue.yml",
      "summary": "PR workflow for changes under packages/queue (excluding Markdown) that checks out the PR head for same-repo PRs, installs the monorepo with Yarn on Node 20, and runs yarn workspace queue test (Jest on __tests__/index.spec.js) against the DATABASE_URL secret.",
      "tags": [
        "ci-cd",
        "e2e-test",
        "queue",
        "jest"
      ],
      "complexity": "simple"
    },
    {
      "id": "pipeline:.github/workflows/ci-cd-pr-queue-package-wallet.yml",
      "type": "pipeline",
      "name": "ci-cd-pr-queue-package-wallet.yml",
      "filePath": ".github/workflows/ci-cd-pr-queue-package-wallet.yml",
      "summary": "Older, near-duplicate queue package workflow (its header comment wrongly says wallet package) that installs packages/queue in isolation with npm install --no-workspaces --legacy-peer-deps and runs npm run test with DATABASE_URL. Unlike ci-cd-pr-package-queue.yml, it has no fork guard.",
      "tags": [
        "ci-cd",
        "e2e-test",
        "queue",
        "npm"
      ],
      "complexity": "simple"
    },
    {
      "id": "pipeline:.github/workflows/ci-cd-pr-user-wallet.yml",
      "type": "pipeline",
      "name": "ci-cd-pr-user-wallet.yml",
      "filePath": ".github/workflows/ci-cd-pr-user-wallet.yml",
      "summary": "PR workflow for non-Markdown changes in apps/user that installs dependencies with Yarn on Node 20 and runs the NestJS user service unit tests, integration tests, and e2e tests (yarn user:test:unit, user:test:int, user:test:e2e --forceExit) with Keycloak, database and wallet API secrets.",
      "tags": [
        "ci-cd",
        "unit-test",
        "integration-test",
        "nestjs",
        "user-service"
      ],
      "complexity": "simple"
    },
    {
      "id": "pipeline:.github/workflows/ci-cd-pr-wallet-package-wallet.yml",
      "type": "pipeline",
      "name": "ci-cd-pr-wallet-package-wallet.yml",
      "filePath": ".github/workflows/ci-cd-pr-wallet-package-wallet.yml",
      "summary": "PR workflow for changes in packages/wallet and its dependencies packages/keycloak and packages/core that runs yarn workspace @treetracker/wallet test (Jest) with Keycloak secrets and the NEXT_PUBLIC_TREETRACKER_WALLET_API variable.",
      "tags": [
        "ci-cd",
        "e2e-test",
        "wallet-package",
        "jest"
      ],
      "complexity": "simple"
    },
    {
      "id": "pipeline:.github/workflows/ci-cd-pr-web-wallet.yml",
      "type": "pipeline",
      "name": "ci-cd-pr-web-wallet.yml",
      "filePath": ".github/workflows/ci-cd-pr-web-wallet.yml",
      "summary": "PR workflow for non-Markdown changes in apps/web that starts the user service on port 8080 in the background and then runs the Cypress component tests and headless Cypress e2e tests through cypress-io/github-action.",
      "tags": [
        "ci-cd",
        "component-test",
        "cypress",
        "web-app"
      ],
      "complexity": "moderate"
    },
    {
      "id": "pipeline:.github/workflows/pr-ci-cd-all.yml",
      "type": "pipeline",
      "name": "pr-ci-cd-all.yml",
      "filePath": ".github/workflows/pr-ci-cd-all.yml",
      "summary": "Repository-wide quality gate for every pull request and every push to main: it runs the Prettier check (yarn format --check), lint-staged with Prettier and ESLint, and commitlint on the subject of the last commit.",
      "tags": [
        "ci-cd",
        "lint",
        "formatting",
        "commitlint"
      ],
      "complexity": "simple"
    },
    {
      "id": "pipeline:.github/workflows/static-website-deploy-dev.yml",
      "type": "pipeline",
      "name": "static-website-deploy-dev.yml",
      "filePath": ".github/workflows/static-website-deploy-dev.yml",
      "summary": "Dev deployment workflow that runs on pushes to main that touch apps/web (or on manual dispatch, unless the commit says skip-ci). It writes dev NEXT_PUBLIC_* endpoints into apps/web/.env.local, builds the Next.js static export, syncs it to the dev S3 bucket, and invalidates CloudFront for wallet-dev.treetracker.org.",
      "tags": [
        "ci-cd",
        "deployment",
        "nextjs",
        "aws-s3",
        "dev-environment"
      ],
      "complexity": "moderate"
    },
    {
      "id": "config:.yarnrc.yml",
      "type": "config",
      "name": ".yarnrc.yml",
      "filePath": ".yarnrc.yml",
      "summary": "Yarn Berry settings file with one key, nodeLinker: node-modules, so Yarn 4 installs workspace dependencies into classic node_modules folders instead of Plug'n'Play.",
      "tags": [
        "configuration",
        "yarn",
        "package-manager",
        "build-system"
      ],
      "complexity": "simple",
      "languageNotes": "Yarn 4 defaults to Plug'n'Play; the node-modules linker keeps compatibility with tools such as Expo, Metro and Next.js that expect a node_modules tree."
    },
    {
      "id": "document:CHANGELOG.md",
      "type": "document",
      "name": "CHANGELOG.md",
      "filePath": "CHANGELOG.md",
      "summary": "Generated conventional-commits release notes for version 1.0.0 (2025-12-13), with Bug Fixes, Features and Reverts lists that link commits for the web, native, user API, BDD, queue and shared config work.",
      "tags": [
        "documentation",
        "changelog",
        "release-notes",
        "conventional-commits"
      ],
      "complexity": "moderate"
    },
    {
      "id": "document:CONTRIBUTING.md",
      "type": "document",
      "name": "CONTRIBUTING.md",
      "filePath": "CONTRIBUTING.md",
      "summary": "Contributor guide that covers fork and branch setup, the monorepo layout, per-app tech stacks and commands, a tip to disable QueueModule in apps/user app.module.ts, coding and naming standards, test types, Conventional Commits scopes, the PR template and issue guidelines.",
      "tags": [
        "documentation",
        "development",
        "contributing",
        "workflow",
        "coding-standards"
      ],
      "complexity": "complex"
    },
    {
      "id": "document:README.md",
      "type": "document",
      "name": "README.md",
      "filePath": "README.md",
      "summary": "Project overview for the Greenstand Treetracker Wallet App: prerequisites, env file setup, root yarn scripts for web, native and user API development, the WebdriverIO BDD test commands and debug workflow, the monorepo structure, Corepack Yarn 4 notes and links to the contributing guide.",
      "tags": [
        "documentation",
        "entry-point",
        "overview",
        "quick-start",
        "testing"
      ],
      "complexity": "complex"
    },
    {
      "id": "config:package.json",
      "type": "config",
      "name": "package.json",
      "filePath": "package.json",
      "summary": "Root Yarn 4.9.4 workspaces manifest (apps/*, packages/*) that defines the delegating scripts for web, native, user, Cypress and @treetracker/bdd workspaces, plus lint, Prettier format, type-check and husky hooks, and the shared ESLint, TypeScript and commitlint devDependencies.",
      "tags": [
        "configuration",
        "monorepo",
        "build-system",
        "workspaces",
        "scripts"
      ],
      "complexity": "moderate",
      "languageNotes": "Scripts use `yarn workspace <name> run <script>` so all app commands run from the repository root."
    },
    {
      "id": "config:tsconfig.json",
      "type": "config",
      "name": "tsconfig.json",
      "filePath": "tsconfig.json",
      "summary": "Root TypeScript solution file with no own files and project references to apps/web, apps/native, apps/user and packages/core; the root type-check script runs `tsc --build` on it.",
      "tags": [
        "configuration",
        "typescript",
        "build-system",
        "project-references"
      ],
      "complexity": "simple",
      "languageNotes": "Uses TypeScript project references (composite build); apps/wallets and packages/keycloak references are commented out."
    },
    {
      "id": "config:apps/bdd/.env.example",
      "type": "config",
      "name": ".env.example",
      "filePath": "apps/bdd/.env.example",
      "summary": "Template env file for the BDD package that declares empty PROJECT_ROOT_ANDROID and PROJECT_ROOT_IOS variables, which utils/capabilities.ts reads to locate the native app builds for Appium mobile runs.",
      "tags": [
        "configuration",
        "environment",
        "mobile-testing",
        "appium"
      ],
      "complexity": "simple"
    },
    {
      "id": "document:apps/bdd/README.md",
      "type": "document",
      "name": "README.md",
      "filePath": "apps/bdd/README.md",
      "summary": "Main guide for the WebdriverIO + Cucumber BDD package: quick start, the scripts/watch.ts test watcher (keyboard commands, CLI flags, smart spec detection), the yarn test and report scripts, the folder layout, the four wdio.*.conf.ts configs, step-definition examples, and troubleshooting.",
      "tags": [
        "documentation",
        "entry-point",
        "bdd",
        "test-watcher",
        "webdriverio"
      ],
      "complexity": "moderate"
    },
    {
      "id": "document:apps/bdd/bdd-testing.md",
      "type": "document",
      "name": "bdd-testing.md",
      "filePath": "apps/bdd/bdd-testing.md",
      "summary": "How-to for running the BDD suite on Web and Android and producing Cucumber HTML reports: prerequisites (web:dev, user:dev, emulator, Appium), the bdd:test:web:report and bdd:test:android:report commands, and the report paths under test-artifacts/reports.",
      "tags": [
        "documentation",
        "bdd",
        "test-reports",
        "android",
        "e2e-testing"
      ],
      "complexity": "simple"
    },
    {
      "id": "config:apps/bdd/package.json",
      "type": "config",
      "name": "package.json",
      "filePath": "apps/bdd/package.json",
      "summary": "Manifest of the private ESM @treetracker/bdd workspace: defines wdio scripts for web, debug, Android and iOS runs, per-feature runs, report generation and the tsx watcher, with WebdriverIO, Cucumber, Appium, msw and pg dev dependencies plus workspace links to keycloak, wallet and core.",
      "tags": [
        "configuration",
        "build-system",
        "webdriverio",
        "cucumber",
        "workspace-package"
      ],
      "complexity": "moderate"
    },
    {
      "id": "config:apps/bdd/tsconfig.json",
      "type": "config",
      "name": "tsconfig.json",
      "filePath": "apps/bdd/tsconfig.json",
      "summary": "TypeScript settings for the BDD package: strict NodeNext ES2022 type-check only (noEmit, noImplicitAny off), @wdio/globals types, ts-node transpileOnly, and path aliases to the keycloak and wallet packages for all features, mocks and support .ts files.",
      "tags": [
        "configuration",
        "typescript",
        "build-system",
        "path-aliases"
      ],
      "complexity": "simple"
    },
    {
      "id": "config:apps/native/.env.example",
      "type": "config",
      "name": ".env.example",
      "filePath": "apps/native/.env.example",
      "summary": "Environment template for the native app that is not empty: it holds a single PROJECT_ROOT= key with no value and no trailing newline, which is why the scanner reports 0 lines.",
      "tags": [
        "configuration",
        "environment",
        "template",
        "native-app"
      ],
      "complexity": "simple",
      "languageNotes": "The file has 13 bytes and no newline, so line counters such as wc -l report 0 lines although one variable is defined."
    },
    {
      "id": "document:apps/native/README.md",
      "type": "document",
      "name": "README.md",
      "filePath": "apps/native/README.md",
      "summary": "Step-by-step guide for running Appium-based BDD tests of the Expo native app on an Android emulator and an iOS simulator, covering Appium 3 drivers, prebuild, native builds, PROJECT_ROOT_ANDROID and PROJECT_ROOT_IOS in bdd/.env, Metro startup and the bdd:test commands.",
      "tags": [
        "documentation",
        "bdd",
        "e2e-testing",
        "appium",
        "mobile"
      ],
      "complexity": "moderate",
      "languageNotes": "Several commands in the guide (yarn build-apk-android, yarn build-app-ios) do not match the script names in apps/native/package.json (build-android, build-ios)."
    },
    {
      "id": "config:apps/native/app.json",
      "type": "config",
      "name": "app.json",
      "filePath": "apps/native/app.json",
      "summary": "Expo app manifest for the wallet mobile app: it sets the com.gtw.app bundle ID and package, the myapp URL scheme, icons and the green splash screen, enables the New Architecture and the React Compiler, and registers expo-router, expo-font, expo-camera, expo-image-picker and expo-dev-client plugins with QR-scanning permission texts.",
      "tags": [
        "configuration",
        "expo",
        "mobile",
        "app-manifest",
        "permissions"
      ],
      "complexity": "moderate",
      "languageNotes": "app.config.js receives this manifest as config and replaces its plugins array with only expo-web-browser and expo-router, so the camera, image-picker and dev-client plugin settings here can be overridden at build time."
    },
    {
      "id": "config:apps/native/eas.json",
      "type": "config",
      "name": "eas.json",
      "filePath": "apps/native/eas.json",
      "summary": "EAS Build profiles for the native app: a development profile that builds an internal APK with expo-dev-client, a preview profile that builds a clean internal APK for QA and CI, and a production profile that builds an Android app bundle for Google Play.",
      "tags": [
        "configuration",
        "build-system",
        "eas",
        "android",
        "deployment"
      ],
      "complexity": "simple",
      "languageNotes": "The file uses JSONC comments, which EAS accepts but strict JSON parsers reject."
    },
    {
      "id": "config:apps/native/package.json",
      "type": "config",
      "name": "package.json",
      "filePath": "apps/native/package.json",
      "summary": "Workspace manifest of the Expo React Native app: it sets expo-router/entry as the main entry, defines scripts for Expo start and prebuild, native Gradle and xcodebuild builds, WebdriverIO and Appium E2E runs, Maestro tests, Jest, ESLint and Prettier, and declares Expo 54, React Native 0.81, jotai, react-native-paper and the shared core workspace package.",
      "tags": [
        "configuration",
        "build-system",
        "dependencies",
        "expo",
        "scripts"
      ],
      "complexity": "moderate"
    },
    {
      "id": "config:apps/native/tsconfig.json",
      "type": "config",
      "name": "tsconfig.json",
      "filePath": "apps/native/tsconfig.json",
      "summary": "TypeScript configuration for the native app that extends expo/tsconfig.base, uses react-native JSX, turns on strict mode but turns off strictNullChecks, and maps path aliases such as @app, @components, @common, @hooks, @utils and @/ to local folders.",
      "tags": [
        "configuration",
        "typescript",
        "path-aliases",
        "build-system"
      ],
      "complexity": "simple",
      "languageNotes": "The strict flag is on, but strictNullChecks is explicitly off, so null and undefined checks are not enforced."
    },
    {
      "id": "config:apps/user/.env.example",
      "type": "config",
      "name": ".env.example",
      "filePath": "apps/user/.env.example",
      "summary": "Template of environment variables for the NestJS user API: Keycloak realm, base URL, client ID and secret, DATABASE_URL, the wallet API key, and production and dev CORS origin lists (dev defaults to localhost:3000/3001). Developers copy it to .env before they run the server or the tests.",
      "tags": [
        "configuration",
        "environment",
        "keycloak",
        "security",
        "cors"
      ],
      "complexity": "simple"
    },
    {
      "id": "document:apps/user/README.md",
      "type": "document",
      "name": "README.md",
      "filePath": "apps/user/README.md",
      "summary": "Developer guide for the user API: it documents the POST /register endpoint with a curl example, the Swagger UI at localhost:8080/swagger, and the e2e, integration and unit test commands. It also explains how to set up a Keycloak realm role (wallet-operator-microservice) so that a client-credentials token from this service can call the wallet API, and how to create .env from .env.example.",
      "tags": [
        "documentation",
        "entry-point",
        "keycloak",
        "testing",
        "api-reference"
      ],
      "complexity": "moderate"
    },
    {
      "id": "config:apps/user/nest-cli.json",
      "type": "config",
      "name": "nest-cli.json",
      "filePath": "apps/user/nest-cli.json",
      "summary": "Nest CLI configuration that uses the @nestjs/schematics collection, sets src as the source root, and points the build entry file at apps/user/src/main. The nest build and nest start scripts read it.",
      "tags": [
        "configuration",
        "nestjs",
        "build-system",
        "cli"
      ],
      "complexity": "simple"
    },
    {
      "id": "config:apps/user/package.json",
      "type": "config",
      "name": "package.json",
      "filePath": "apps/user/package.json",
      "summary": "Workspace manifest for the private \"user\" NestJS 9 API package. It defines build, start (dev, debug, prod via node dist/src/main), lint, and Jest test scripts (unit, e2e and integration configs), and declares NestJS, Swagger, axios and class-validator runtime dependencies plus the @treetracker/config shared dev package.",
      "tags": [
        "configuration",
        "build-system",
        "dependencies",
        "nestjs",
        "scripts"
      ],
      "complexity": "moderate"
    },
    {
      "id": "config:apps/user/tsconfig.build.json",
      "type": "config",
      "name": "tsconfig.build.json",
      "filePath": "apps/user/tsconfig.build.json",
      "summary": "Production build TypeScript config that extends the base user API tsconfig and excludes node_modules, dist, test folders, and all *.spec.ts, *.test.ts and __tests__ files, so nest build compiles only application sources.",
      "tags": [
        "configuration",
        "typescript",
        "build-system"
      ],
      "complexity": "simple"
    },
    {
      "id": "config:apps/user/tsconfig.json",
      "type": "config",
      "name": "tsconfig.json",
      "filePath": "apps/user/tsconfig.json",
      "summary": "Base TypeScript compiler config for the user API: CommonJS output to ./dist targeting ES2017, decorator metadata enabled for NestJS dependency injection, loose strictness (no strictNullChecks or noImplicitAny), and path aliases @utils/*, @dtos/* and @packages/* that the source files use for shared libs.",
      "tags": [
        "configuration",
        "typescript",
        "build-system",
        "path-aliases"
      ],
      "complexity": "simple",
      "languageNotes": "emitDecoratorMetadata and experimentalDecorators are required for NestJS, because its injector reads constructor parameter types from reflect-metadata at runtime."
    },
    {
      "id": "config:apps/user/tsconfig.spec.json",
      "type": "config",
      "name": "tsconfig.spec.json",
      "filePath": "apps/user/tsconfig.spec.json",
      "summary": "Test-only TypeScript config that extends the base tsconfig, emits to ../../dist/out-tsc with jest types, and includes jest.config.ts together with all *.test.ts, *.spec.ts and *.d.ts files for the Jest suites.",
      "tags": [
        "configuration",
        "typescript",
        "test",
        "jest"
      ],
      "complexity": "simple"
    },
    {
      "id": "config:apps/user/deployment/base/cluster-role-binding.yaml",
      "type": "config",
      "name": "cluster-role-binding.yaml",
      "filePath": "apps/user/deployment/base/cluster-role-binding.yaml",
      "summary": "Kubernetes ClusterRoleBinding that grants the k8s-wait-for ClusterRole to the default ServiceAccount in the treetracker-wallet-monorepo-user-api namespace, so user API pods can read services, pods and jobs.",
      "tags": [
        "kubernetes",
        "rbac",
        "security",
        "deployment",
        "infrastructure"
      ],
      "complexity": "simple"
    },
    {
      "id": "config:apps/user/deployment/base/cluster-role.yaml",
      "type": "config",
      "name": "cluster-role.yaml",
      "filePath": "apps/user/deployment/base/cluster-role.yaml",
      "summary": "Kubernetes ClusterRole named k8s-wait-for that allows get, watch and list on services, pods and jobs in the core and batch API groups, which is the permission set the k8s-wait-for init pattern needs.",
      "tags": [
        "kubernetes",
        "rbac",
        "security",
        "infrastructure",
        "configuration"
      ],
      "complexity": "simple"
    },
    {
      "id": "config:apps/user/deployment/base/deployment.yaml",
      "type": "config",
      "name": "deployment.yaml",
      "filePath": "apps/user/deployment/base/deployment.yaml",
      "summary": "Kubernetes Deployment that runs 2 replicas of the greenstand/treetracker-wallet-monorepo-user-api image on container port 8080, pinned by node affinity to the DigitalOcean microservices-node-pool; the TAG placeholder in the image name is replaced per environment.",
      "tags": [
        "kubernetes",
        "deployment",
        "containerization",
        "orchestration",
        "infrastructure"
      ],
      "complexity": "simple",
      "languageNotes": "The image tag is the literal placeholder TAG, so a Kustomize overlay or the release pipeline must set the real tag."
    },
    {
      "id": "config:apps/user/deployment/base/kustomization.yaml",
      "type": "config",
      "name": "kustomization.yaml",
      "filePath": "apps/user/deployment/base/kustomization.yaml",
      "summary": "Kustomize base for the NestJS user API that lists the six manifests of this directory (Deployment, Ambassador Mapping, Service, Namespace, ClusterRole, ClusterRoleBinding) so environment overlays can build on them.",
      "tags": [
        "kustomize",
        "kubernetes",
        "deployment",
        "build-system",
        "configuration"
      ],
      "complexity": "simple"
    },
    {
      "id": "config:apps/user/deployment/base/mapping.yaml",
      "type": "config",
      "name": "mapping.yaml",
      "filePath": "apps/user/deployment/base/mapping.yaml",
      "summary": "Ambassador getambassador.io/v2 Mapping that routes requests with the /user-api/ path prefix to the treetracker-wallet-monorepo-user-api-service Kubernetes Service.",
      "tags": [
        "kubernetes",
        "api-gateway",
        "routing",
        "ambassador",
        "infrastructure"
      ],
      "complexity": "simple"
    },
    {
      "id": "config:apps/user/deployment/base/namespace.yaml",
      "type": "config",
      "name": "namespace.yaml",
      "filePath": "apps/user/deployment/base/namespace.yaml",
      "summary": "Kubernetes Namespace manifest that creates the treetracker-wallet-monorepo-user-api namespace, which holds the user API Deployment and Service.",
      "tags": [
        "kubernetes",
        "namespace",
        "infrastructure",
        "deployment"
      ],
      "complexity": "simple"
    },
    {
      "id": "config:apps/user/deployment/base/service.yaml",
      "type": "config",
      "name": "service.yaml",
      "filePath": "apps/user/deployment/base/service.yaml",
      "summary": "Kubernetes ClusterIP Service named treetracker-wallet-monorepo-user-api-service that selects the user API pods by label and maps TCP port 80 to container port 8080.",
      "tags": [
        "kubernetes",
        "networking",
        "service-discovery",
        "infrastructure",
        "deployment"
      ],
      "complexity": "simple"
    },
    {
      "id": "config:apps/web/.env.example",
      "type": "config",
      "name": ".env.example",
      "filePath": "apps/web/.env.example",
      "summary": "Template of environment variables for the Next.js web app: user and wallet API base URLs, API timeout and retry counts, the app base URL, Keycloak URL, realm and client ID, the map and query API URLs, and NODE_TLS_REJECT_UNAUTHORIZED=0 for dev TLS. The Keycloak values feed the client setup in src/auth/keycloak.ts.",
      "tags": [
        "configuration",
        "environment",
        "keycloak",
        "authentication",
        "api-endpoints"
      ],
      "complexity": "simple",
      "languageNotes": "All browser-visible variables use the NEXT_PUBLIC_ prefix so that Next.js inlines them into the client bundle. The last three lines put spaces around '=', which many dotenv parsers handle differently from the other lines."
    },
    {
      "id": "document:apps/web/README.md",
      "type": "document",
      "name": "README.md",
      "filePath": "apps/web/README.md",
      "summary": "Short guide for the Treetracker Wallet Next.js web app: an overview, a feature list for token send and receive, steps to clone, run `yarn` at the root and `yarn dev` in apps/web on localhost:3000, and the Cypress scripts for component and integration tests. It notes that E2E testing moved to the BDD package in apps/bdd.",
      "tags": [
        "documentation",
        "getting-started",
        "nextjs",
        "cypress",
        "testing"
      ],
      "complexity": "simple"
    },
    {
      "id": "config:apps/web/package.json",
      "type": "config",
      "name": "package.json",
      "filePath": "apps/web/package.json",
      "summary": "Workspace manifest for the private 'web' package (version 5.0.0): it defines Next.js dev, build and start scripts (dev and start also run the wallet_state loadEnv script), ESLint and Prettier scripts, and Cypress component and E2E scripts through start-server-and-test. Dependencies include Next 15, React 19, MUI 6 with Emotion, Jotai, keycloak-js 18, qrcode.react, and the internal @treetracker/wallet and core packages.",
      "tags": [
        "configuration",
        "build-system",
        "dependencies",
        "nextjs",
        "workspace"
      ],
      "complexity": "moderate",
      "languageNotes": "The 'dev' and 'start' scripts chain 'next dev && yarn workspace wallet_state loadEnv', so the loadEnv step runs only after the long-running Next.js server exits."
    },
    {
      "id": "config:apps/web/tsconfig.json",
      "type": "config",
      "name": "tsconfig.json",
      "filePath": "apps/web/tsconfig.json",
      "summary": "TypeScript configuration for the web app that extends the shared @treetracker/config base and sets strict, noEmit, ES2017 target, bundler module resolution, preserved JSX, and the Next.js language-service plugin. It maps the '@/*' alias to './src/*' and includes all .ts and .tsx files plus the generated .next/types.",
      "tags": [
        "configuration",
        "typescript",
        "build-system",
        "path-alias",
        "nextjs"
      ],
      "complexity": "simple"
    },
    {
      "id": "config:apps/web/cypress/fixtures/auth-data.json",
      "type": "config",
      "name": "auth-data.json",
      "filePath": "apps/web/cypress/fixtures/auth-data.json",
      "summary": "Cypress fixture holding login users (valid, invalid, short password, short username), signup payloads, expected login and registration error messages, and the /login, /signup, /home routes. The loadAuthFixture helper in support/auth-constants.ts aliases it as authData for the login.cy.ts and signup.cy.ts E2E specs.",
      "tags": [
        "test-fixture",
        "cypress",
        "authentication",
        "e2e-testing",
        "test-data"
      ],
      "complexity": "simple"
    },
    {
      "id": "config:apps/web/cypress/fixtures/example.json",
      "type": "config",
      "name": "example.json",
      "filePath": "apps/web/cypress/fixtures/example.json",
      "summary": "Default Cypress scaffold fixture with placeholder name, email, and body strings. No spec or support file under apps/web/cypress loads it, so it is unused sample data.",
      "tags": [
        "test-fixture",
        "cypress",
        "boilerplate",
        "unused"
      ],
      "complexity": "simple"
    },
    {
      "id": "config:apps/web/cypress/fixtures/wallet.json",
      "type": "config",
      "name": "wallet.json",
      "filePath": "apps/web/cypress/fixtures/wallet.json",
      "summary": "Cypress fixture for the wallet creation flow: the /wallet route, an empty initial wallet list mock, a created wallet mock (wallet_123, My Test Wallet), and the duplicate-name error text. The create-wallet.cy.ts E2E spec loads it directly, and loadWalletFixture in support/wallet-constants.ts also aliases it as walletData.",
      "tags": [
        "test-fixture",
        "cypress",
        "wallet",
        "e2e-testing",
        "api-mock"
      ],
      "complexity": "simple"
    },
    {
      "id": "config:packages/config/package.json",
      "type": "config",
      "name": "package.json",
      "filePath": "packages/config/package.json",
      "summary": "Manifest for the private @treetracker/config ESM workspace package. It exposes the shared ESLint flat config (index.js) as './eslint', the base './tsconfig.json', and the Prettier rules as './prettier', and declares the typescript-eslint, import, react, react-hooks and eslint-config-prettier plugins as peer dependencies.",
      "tags": [
        "configuration",
        "shared-config",
        "workspace-package",
        "linting",
        "monorepo"
      ],
      "complexity": "simple",
      "languageNotes": "The 'exports' map is a Node.js package subpath export, so consumers import '@treetracker/config/eslint' instead of a file path; peerDependencies make each consuming workspace install the ESLint plugins itself."
    },
    {
      "id": "config:packages/config/prettier.config.json",
      "type": "config",
      "name": "prettier.config.json",
      "filePath": "packages/config/prettier.config.json",
      "summary": "Repo-wide Prettier formatting rules: 80-column print width, 2-space indentation without tabs, double quotes, trailing commas everywhere, arrows without parentheses for single params, and JSX closing brackets on the same line. The root 'format' and 'format:check' scripts and lint-staged pass it to Prettier via --config.",
      "tags": [
        "configuration",
        "formatting",
        "prettier",
        "code-style"
      ],
      "complexity": "simple"
    },
    {
      "id": "config:packages/config/tsconfig.json",
      "type": "config",
      "name": "tsconfig.json",
      "filePath": "packages/config/tsconfig.json",
      "summary": "Shared base TypeScript compiler settings (ES2020 target, CommonJS modules, strict mode, esModuleInterop, skipLibCheck, consistent file-name casing) that include src and types folders and exclude node_modules and dist. The web app tsconfig extends it through the '@treetracker/config/tsconfig.json' package export.",
      "tags": [
        "configuration",
        "typescript",
        "build-system",
        "shared-config"
      ],
      "complexity": "simple"
    },
    {
      "id": "config:packages/keycloak/.env.example",
      "type": "config",
      "name": ".env.example",
      "filePath": "packages/keycloak/.env.example",
      "summary": "Template listing the four empty PRIVATE_KEYCLOAK_* variables (realm, base URL, client ID, client secret) that the keycloak package's Node.js config reads via dotenv when running its tests.",
      "tags": [
        "configuration",
        "environment-variables",
        "keycloak",
        "secrets",
        "test-setup"
      ],
      "complexity": "simple"
    },
    {
      "id": "document:packages/keycloak/README.md",
      "type": "document",
      "name": "README.md",
      "filePath": "packages/keycloak/README.md",
      "summary": "Usage guide for @treetracker/keycloak covering Node.js .env and Expo extra-field configuration, examples for fetchTokenFromKeycloak and deleteAccountFromKeycloak, an API reference with return types, and how to run the e2e tests.",
      "tags": [
        "documentation",
        "keycloak",
        "api-reference",
        "authentication",
        "entry-point"
      ],
      "complexity": "moderate"
    },
    {
      "id": "config:packages/keycloak/package.json",
      "type": "config",
      "name": "package.json",
      "filePath": "packages/keycloak/package.json",
      "summary": "Workspace manifest that names the @treetracker/keycloak package, points its main entry at ./src/index.ts so consumers load TypeScript source directly, and wires the test script to Jest 28 with ts-jest and ts-node dev dependencies.",
      "tags": [
        "configuration",
        "package-manifest",
        "build-system",
        "jest",
        "monorepo"
      ],
      "complexity": "simple"
    },
    {
      "id": "config:packages/keycloak/tsconfig.json",
      "type": "config",
      "name": "tsconfig.json",
      "filePath": "packages/keycloak/tsconfig.json",
      "summary": "TypeScript compiler settings for the keycloak package: CommonJS output to ./dist targeting ES2017 with declarations and source maps, relaxed strictness, node and jest types, and path aliases mapping @treetracker/keycloak and @packages/keycloak to ./src.",
      "tags": [
        "configuration",
        "typescript",
        "build-system",
        "path-aliases",
        "compiler-options"
      ],
      "complexity": "simple"
    },
    {
      "id": "config:packages/keycloak/tsconfig.spec.json",
      "type": "config",
      "name": "tsconfig.spec.json",
      "filePath": "packages/keycloak/tsconfig.spec.json",
      "summary": "Test-only TypeScript config that extends the package tsconfig.json, emits to ./dist/out-tsc, and includes jest.config.ts plus *.test.ts, *.spec.ts and *.d.ts files.",
      "tags": [
        "configuration",
        "typescript",
        "test",
        "jest",
        "build-system"
      ],
      "complexity": "simple"
    },
    {
      "id": "config:packages/wallet/.env.example",
      "type": "config",
      "name": ".env.example",
      "filePath": "packages/wallet/.env.example",
      "summary": "Template listing four empty Keycloak variables (PRIVATE_KEYCLOAK_REALM, BASE_URL, CLIENT_SECRET, CLIENT_ID) that the wallet e2e test needs so fetchTokenFromKeycloak can get an auth token.",
      "tags": [
        "configuration",
        "environment-variables",
        "keycloak",
        "authentication",
        "testing"
      ],
      "complexity": "simple"
    },
    {
      "id": "document:packages/wallet/README.md",
      "type": "document",
      "name": "README.md",
      "filePath": "packages/wallet/README.md",
      "summary": "Package guide for @treetracker/wallet covering structure, the createWallet/getWallets API functions, the useCreateWallet/useGetWallets hooks, the Wallet type, e2e testing, env variables and jotai tokenAtom authentication. It lists only the wallet-creation and listing parts and names NEXT_PUBLIC_TREETRACKER_API, while config.ts reads NEXT_PUBLIC_TREETRACKER_WALLET_API.",
      "tags": [
        "documentation",
        "entry-point",
        "api-reference",
        "hooks",
        "wallet"
      ],
      "complexity": "moderate"
    },
    {
      "id": "config:packages/wallet/package.json",
      "type": "config",
      "name": "package.json",
      "filePath": "packages/wallet/package.json",
      "summary": "Workspace manifest for the private @treetracker/wallet package: it points main and types at the uncompiled src/index.ts, runs jest as its only script, and depends on @treetracker/keycloak, core, axios, jotai, joi and dotenv.",
      "tags": [
        "configuration",
        "build-system",
        "dependencies",
        "monorepo",
        "package-manifest"
      ],
      "complexity": "simple",
      "languageNotes": "Main and types point at TypeScript source, so consumers compile the package themselves; the \"type\": \"module.cjs\" value is not a valid Node module type."
    },
    {
      "id": "config:packages/wallet/tsconfig.json",
      "type": "config",
      "name": "tsconfig.json",
      "filePath": "packages/wallet/tsconfig.json",
      "summary": "Strict no-emit TypeScript config for the wallet package with ESNext target and module, Node module resolution, jest and node types, isolatedModules and preserved JSX, covering every .ts and .tsx file.",
      "tags": [
        "configuration",
        "typescript",
        "build-system",
        "compiler-options"
      ],
      "complexity": "simple"
    },
    {
      "id": "document:.github/ISSUE_TEMPLATE/bug_report.md",
      "type": "document",
      "name": "bug_report.md",
      "filePath": ".github/ISSUE_TEMPLATE/bug_report.md",
      "summary": "GitHub issue template with front matter that auto-labels new issues as 'bug'; it asks for a description, reproduction steps (a Loom recording is suggested), expected behavior, screenshots, the Node.js version, and desktop and smartphone environment details.",
      "tags": [
        "documentation",
        "github-template",
        "issue-tracking",
        "bug-report"
      ],
      "complexity": "simple"
    },
    {
      "id": "document:.github/pull_request_template.md",
      "type": "document",
      "name": "pull_request_template.md",
      "filePath": ".github/pull_request_template.md",
      "summary": "Monorepo pull request template with sections for the description and linked issue, checkboxes for changed areas (apps Web/Native, packages Core), the change type, a before/after screenshot table, test method (Cypress integration, Cypress component, Jest), a reviewer checklist, and extra comments.",
      "tags": [
        "documentation",
        "github-template",
        "pull-request",
        "development"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:.husky/commit-msg",
      "type": "file",
      "name": "commit-msg",
      "filePath": ".husky/commit-msg",
      "summary": "Husky commit-msg Git hook that runs 'npx --no -- commitlint --edit $1' to validate each commit message against the repo's commitlint (conventional commits) rules before the commit is accepted.",
      "tags": [
        "git-hook",
        "husky",
        "commitlint",
        "validation"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:.husky/pre-commit",
      "type": "file",
      "name": "pre-commit",
      "filePath": ".husky/pre-commit",
      "summary": "Husky pre-commit Git hook that runs 'yarn lint-staged' on the staged files, aborts the commit with exit code 1 when lint-staged fails, and prints a pass message otherwise.",
      "tags": [
        "git-hook",
        "husky",
        "lint-staged",
        "code-quality"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:.prettierignore",
      "type": "file",
      "name": ".prettierignore",
      "filePath": ".prettierignore",
      "summary": "Prettier ignore list for the monorepo root that excludes dependencies, build outputs (dist, build, .next, coverage, .expo), generated .d.ts files, IDE and log files, Cypress media, lock files, native android/ios folders, all Markdown files, and apps/bdd/test-artifacts from formatting.",
      "tags": [
        "configuration",
        "formatting",
        "prettier",
        "ignore-rules"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:.releaserc.js",
      "type": "file",
      "name": ".releaserc.js",
      "filePath": ".releaserc.js",
      "summary": "semantic-release configuration for a unified monorepo release from the main branch: conventional-commit analysis (feat gives minor, all other types give patch), release notes, CHANGELOG.md, version bumps in the root and apps/user package.json without npm publish, a '[skip ci]' release commit, a GitHub release, and 'v${version}' tags.",
      "tags": [
        "configuration",
        "release",
        "semantic-release",
        "versioning",
        "ci-cd"
      ],
      "complexity": "simple",
      "languageNotes": "ES module default export; the '${nextRelease.version}' strings are plain (not template) literals that semantic-release interpolates itself."
    },
    {
      "id": "file:CODEOWNERS",
      "type": "file",
      "name": "CODEOWNERS",
      "filePath": "CODEOWNERS",
      "summary": "GitHub CODEOWNERS file that assigns the @Greenstand/wallet-mobile-code-reviewers team as required reviewer for the whole repo and, explicitly, for apps/native/, apps/web/, and packages/core/.",
      "tags": [
        "configuration",
        "code-review",
        "ownership",
        "github"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/bdd/features/create-wallet.feature",
      "type": "file",
      "name": "create-wallet.feature",
      "filePath": "apps/bdd/features/create-wallet.feature",
      "summary": "Gherkin feature for wallet creation: two @skip scenarios (form-based creation awarding N tokens, and duplicate wallet name rejection) and one active @web scenario that registers a random user, creates a wallet, checks the 1-token first-wallet gift notification, opens token details and the tree section, and checks the map link opens in a new tab.",
      "tags": [
        "test",
        "bdd",
        "gherkin",
        "wallet-creation",
        "e2e"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/bdd/features/customize-wallet.feature",
      "type": "file",
      "name": "customize-wallet.feature",
      "filePath": "apps/bdd/features/customize-wallet.feature",
      "summary": "Gherkin feature with @web scenarios for wallet customization: update the display name and about text, upload a valid logo (100KB) and hero image (200KB) with previews, and reject a 6MB logo with the 'less than 1MB' error; a rich text formatting scenario is tagged @skip since issue #858 because About is plain text.",
      "tags": [
        "test",
        "bdd",
        "gherkin",
        "wallet-customization",
        "file-upload"
      ],
      "complexity": "moderate"
    },
    {
      "id": "document:apps/bdd/features/iteration2/README.md",
      "type": "document",
      "name": "README.md",
      "filePath": "apps/bdd/features/iteration2/README.md",
      "summary": "Notes for BDD iteration 2 (first mobile native version): it states that login, register, and create-wallet features from iteration 1 are reused and tagged @mobile_native and/or @web, with an example tagged scenario.",
      "tags": [
        "documentation",
        "bdd",
        "mobile-native",
        "iteration-plan"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/bdd/features/iteration2/landing.feature",
      "type": "file",
      "name": "landing.feature",
      "filePath": "apps/bdd/features/iteration2/landing.feature",
      "summary": "Gherkin @native feature 'App Launch' with one scenario: the app is installed, the user launches it, and the first screen appears; it is the smoke test that the Appium mobile run executes through mobile.steps.ts.",
      "tags": [
        "test",
        "bdd",
        "gherkin",
        "mobile-native",
        "smoke-test"
      ],
      "complexity": "simple"
    },
    {
      "id": "document:apps/bdd/features/iteration3/README.md",
      "type": "document",
      "name": "README.md",
      "filePath": "apps/bdd/features/iteration3/README.md",
      "summary": "Notes for BDD iteration 3 (send a token by email): a user picks a token and enters an email address, and the receiver follows the emailed link to register, log in, create a first wallet, and receive the token; it embeds a flow diagram image.",
      "tags": [
        "documentation",
        "bdd",
        "token-transfer",
        "email",
        "iteration-plan"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/bdd/features/iteration3/email-link-to-receive-token.feature",
      "type": "file",
      "name": "email-link-to-receive-token.feature",
      "filePath": "apps/bdd/features/iteration3/email-link-to-receive-token.feature",
      "summary": "Gherkin feature (tagged @web @skip, so not run) in which an unregistered user follows a token link from an email, registers, logs in, creates a wallet, and gets the token added to the new wallet; it has no step implementations yet.",
      "tags": [
        "test",
        "bdd",
        "gherkin",
        "token-claim",
        "skipped"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/bdd/features/iteration3/send-token-by-email.feature",
      "type": "file",
      "name": "send-token-by-email.feature",
      "filePath": "apps/bdd/features/iteration3/send-token-by-email.feature",
      "summary": "Gherkin feature (tagged @web @skip, so not run) in which a token owner opens token-1 in wallet-1, sends it to a friend's email address, sees a confirmation, and an email with a set subject and claim-link body is expected.",
      "tags": [
        "test",
        "bdd",
        "gherkin",
        "token-transfer",
        "skipped"
      ],
      "complexity": "simple"
    },
    {
      "id": "document:apps/bdd/features/iteration4/README.md",
      "type": "document",
      "name": "README.md",
      "filePath": "apps/bdd/features/iteration4/README.md",
      "summary": "One-line note that states BDD iteration 4 covers a token owner sending a token to another wallet.",
      "tags": [
        "documentation",
        "bdd",
        "token-transfer",
        "iteration-plan"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/bdd/features/iteration4/send_token_to_another_wallet.feature",
      "type": "file",
      "name": "send_token_to_another_wallet.feature",
      "filePath": "apps/bdd/features/iteration4/send_token_to_another_wallet.feature",
      "summary": "Gherkin feature (tagged @skip @web @mobile_native, so not run) in which a token owner selects token-1 on the home page, enters a friend's wallet address, sends it, and the token moves from the owner's wallet to the friend's wallet.",
      "tags": [
        "test",
        "bdd",
        "gherkin",
        "token-transfer",
        "skipped"
      ],
      "complexity": "simple"
    },
    {
      "id": "document:apps/bdd/features/iteration5/README.md",
      "type": "document",
      "name": "README.md",
      "filePath": "apps/bdd/features/iteration5/README.md",
      "summary": "One-line note that states BDD iteration 5 covers buying a token from Greenstand.",
      "tags": [
        "documentation",
        "bdd",
        "token-purchase",
        "iteration-plan"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/bdd/features/iteration5/buy_a_token_from_greenstand.feature",
      "type": "file",
      "name": "buy_a_token_from_greenstand.feature",
      "filePath": "apps/bdd/features/iteration5/buy_a_token_from_greenstand.feature",
      "summary": "Gherkin feature (tagged @skip @web @native, so not run) in which a user with wallet-1 clicks 'Buy Token', picks an amount, enters payment details, and the purchased token appears in wallet-1.",
      "tags": [
        "test",
        "bdd",
        "gherkin",
        "token-purchase",
        "skipped"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/bdd/features/login.feature",
      "type": "file",
      "name": "login.feature",
      "filePath": "apps/bdd/features/login.feature",
      "summary": "Gherkin login feature: the active @web scenario logs in with foobar/barfoo and expects 'Invalid username or password'; the correct-login and social-account login scenarios are tagged @skip.",
      "tags": [
        "test",
        "bdd",
        "gherkin",
        "authentication",
        "login"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/bdd/features/register.feature",
      "type": "file",
      "name": "register.feature",
      "filePath": "apps/bdd/features/register.feature",
      "summary": "Gherkin registration feature: email and Google social registration scenarios are tagged @skip; the active @web scenario registers a random user, opens Settings and Account to check the email and 'Member since' date, opens the Keycloak console from the security link, and logs out to the login page.",
      "tags": [
        "test",
        "bdd",
        "gherkin",
        "registration",
        "account-settings"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/bdd/features/send-token.feature",
      "type": "file",
      "name": "send-token.feature",
      "filePath": "apps/bdd/features/send-token.feature",
      "summary": "Gherkin @web feature for token transfers between two seeded accounts: accept a pending transfer from the notification message and see the token in the receiver wallet, decline an incoming transfer, and cancel an outgoing transfer so the token stays with the sender.",
      "tags": [
        "test",
        "bdd",
        "gherkin",
        "token-transfer",
        "e2e"
      ],
      "complexity": "moderate"
    },
    {
      "id": "file:apps/bdd/features/share-token.feature",
      "type": "file",
      "name": "share-token.feature",
      "filePath": "apps/bdd/features/share-token.feature",
      "summary": "Gherkin @web feature for sharing a seeded token with a person without an account: by link (the receiver opens it in an isolated browser, registers, creates a wallet, and gets the token) and by QR code (the QR picture appears); a third scenario for existing users is commented out.",
      "tags": [
        "test",
        "bdd",
        "gherkin",
        "token-sharing",
        "qr-code"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/bdd/features/step-definitions/mobile.steps.ts",
      "type": "file",
      "name": "mobile.steps.ts",
      "filePath": "apps/bdd/features/step-definitions/mobile.steps.ts",
      "summary": "WebdriverIO Cucumber step definitions for the native app smoke test: 'the app is installed' and 'I launch the app' are no-ops because Appium installs and launches the APK, and 'I should see the first screen' waits up to 20s for the '~onboardingScreen' accessibility element to be displayed.",
      "tags": [
        "test",
        "bdd",
        "step-definitions",
        "appium",
        "mobile-native"
      ],
      "complexity": "simple",
      "languageNotes": "The '~' selector prefix in WebdriverIO targets an accessibility id, which maps to a React Native testID/accessibilityLabel."
    },
    {
      "id": "file:apps/bdd/features/step-sandbox.feature",
      "type": "file",
      "name": "step-sandbox.feature",
      "filePath": "apps/bdd/features/step-sandbox.feature",
      "summary": "Non-production Gherkin sandbox feature (tagged @skip) for checking that the 'test@greenstand.org is a registered user' Given step creates the user; its When/Then steps are 'nothing to do' placeholders with no matching step definitions.",
      "tags": [
        "test",
        "bdd",
        "gherkin",
        "sandbox",
        "skipped"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/bdd/scripts/bdd-test-report.js",
      "type": "file",
      "name": "bdd-test-report.js",
      "filePath": "apps/bdd/scripts/bdd-test-report.js",
      "summary": "Node ESM wrapper that runs one allow-listed yarn BDD script (test:web, test:web:local, test:native:android, test:native:ios; default test:web), then always runs 'yarn report:cucumber' to build the HTML report, and exits with the test run's exit code; the bdd test:report, test:web:report, and test:android:report scripts call it from CI.",
      "tags": [
        "script",
        "bdd",
        "test-reporting",
        "ci-cd",
        "utility"
      ],
      "complexity": "simple",
      "languageNotes": "Uses child_process.spawn with shell:false and an allow-list Set so a CLI argument cannot inject arbitrary commands."
    },
    {
      "id": "file:apps/bdd/scripts/generate-cucumber-report.js",
      "type": "file",
      "name": "generate-cucumber-report.js",
      "filePath": "apps/bdd/scripts/generate-cucumber-report.js",
      "summary": "ESM Node script (run by `yarn report:cucumber`) that reads Cucumber JSON results from test-artifacts/reports/<PLATFORM>/cucumber and writes a multiple-cucumber-html-reporter dashboard to <PLATFORM>/cucumber-html, titled by the PLATFORM env var (default web). Its closing console hints still print the old cucumber-html path without the platform folder.",
      "tags": [
        "script",
        "test-reporting",
        "cucumber",
        "bdd"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/bdd/scripts/watch.ts",
      "type": "file",
      "name": "watch.ts",
      "filePath": "apps/bdd/scripts/watch.ts",
      "summary": "Interactive tsx CLI (`yarn bdd:watch`) that watches BDD feature, step, util and wdio config files with chokidar and reruns WebdriverIO tests, narrowing the run to a changed .feature file. It adds key commands for rerun-last, rerun-failed, pause, statistics, feature listing and report opening, and keeps pass/fail history in memory.",
      "tags": [
        "cli",
        "file-watcher",
        "bdd",
        "test-runner",
        "developer-tooling"
      ],
      "complexity": "complex",
      "languageNotes": "Uses module-level mutable state (isRunning, pendingRun, lastFailedSpec, testHistory) instead of a class. The generic debounce<T> keeps the parameter types of the wrapped function through Parameters<T>."
    },
    {
      "id": "file:apps/bdd/test-artifacts/reports/android/cucumber-html/assets/fonts/FontAwesome.otf",
      "type": "file",
      "name": "FontAwesome.otf",
      "filePath": "apps/bdd/test-artifacts/reports/android/cucumber-html/assets/fonts/FontAwesome.otf",
      "summary": "Binary OpenType (CFF outlines) FontAwesome 4.7.0 icon font copied into the Android Cucumber HTML report assets. It renders the fa-* glyphs (check-circle, android, tag, chevrons) that the report pages use.",
      "tags": [
        "font",
        "vendored-asset",
        "generated-artifact",
        "test-report"
      ],
      "complexity": "simple",
      "languageNotes": "Binary file (OTTO magic, 10 sfnt tables including CFF, cmap and name); it holds no source code."
    },
    {
      "id": "file:apps/bdd/test-artifacts/reports/android/cucumber-html/assets/js/darkmode.js",
      "type": "file",
      "name": "darkmode.js",
      "filePath": "apps/bdd/test-artifacts/reports/android/cucumber-html/assets/js/darkmode.js",
      "summary": "Report-page script shipped by multiple-cucumber-html-reporter that toggles a dark theme: it flips the body darkmode class and the Bootstrap data-bs-theme attribute from the #darkCheck checkbox, stores the choice in localStorage, and restores it in window.onload.",
      "tags": [
        "dark-mode",
        "browser-script",
        "generated-artifact",
        "test-report"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/bdd/test-artifacts/reports/android/cucumber-html/assets/js/responsive.bootstrap5.js",
      "type": "file",
      "name": "responsive.bootstrap5.js",
      "filePath": "apps/bdd/test-artifacts/reports/android/cucumber-html/assets/js/responsive.bootstrap5.js",
      "summary": "Vendored DataTables Responsive integration for Bootstrap 5 (SpryMedia) that the Android Cucumber report pages load. A UMD wrapper replaces Responsive.display.modal so that the collapsed table columns of a row open in a Bootstrap modal.",
      "tags": [
        "vendored-library",
        "datatables",
        "bootstrap",
        "umd",
        "test-report"
      ],
      "complexity": "moderate",
      "languageNotes": "UMD factory pattern: the same factory registers through AMD define, CommonJS require, or the browser jQuery global."
    },
    {
      "id": "file:apps/bdd/test-artifacts/reports/android/cucumber-html/features/814c70c6-3e87-48fa-be95-a3d06b2154c4-app-launch.html",
      "type": "file",
      "name": "814c70c6-3e87-48fa-be95-a3d06b2154c4-app-launch.html",
      "filePath": "apps/bdd/test-artifacts/reports/android/cucumber-html/features/814c70c6-3e87-48fa-be95-a3d06b2154c4-app-launch.html",
      "summary": "Generated Cucumber report page for the Android 'App Launch' feature (@native, iteration2/landing.feature). It shows one passed scenario 'User opens the app for the first time' (Before, Given, When, Then, After in 1.314 s), a Chart.js doughnut, app-debug.apk metadata, and a status filter dropdown.",
      "tags": [
        "generated-artifact",
        "test-report",
        "cucumber",
        "android",
        "html"
      ],
      "complexity": "moderate",
      "languageNotes": "About 800 of the lines are inline theme CSS from the reporter template; the page logic is a short jQuery block for the chart, panel collapse and status filter."
    },
    {
      "id": "file:apps/bdd/test-artifacts/reports/android/cucumber-html/index.html",
      "type": "file",
      "name": "index.html",
      "filePath": "apps/bdd/test-artifacts/reports/android/cucumber-html/index.html",
      "summary": "Generated dashboard of the Android Cucumber run (generated 2026-04-13T20:48Z, environment development). It has Features and Scenarios doughnut charts at 100% passed, a Run Info panel, and a searchable DataTables features table that links to the App Launch feature page.",
      "tags": [
        "generated-artifact",
        "test-report",
        "dashboard",
        "cucumber",
        "android"
      ],
      "complexity": "moderate",
      "languageNotes": "The table search box syncs with a ?search= query parameter, and DataTables stateSave keeps the table state across reloads."
    },
    {
      "id": "config:apps/bdd/test-artifacts/reports/android/cucumber/app-launch_17761132703221946.json",
      "type": "config",
      "name": "app-launch_17761132703221946.json",
      "filePath": "apps/bdd/test-artifacts/reports/android/cucumber/app-launch_17761132703221946.json",
      "summary": "WebdriverIO Cucumber JSON result for the Android 'App Launch' feature (@native, landing.feature): one scenario with five passed steps (Before, 'the app is installed', 'I launch the app', 'I should see the first screen', After) against app-debug.apk. It is the input of the Android HTML report.",
      "tags": [
        "test-results",
        "cucumber-json",
        "android",
        "generated-artifact"
      ],
      "complexity": "simple"
    },
    {
      "id": "config:apps/bdd/test-artifacts/reports/web/cucumber/customize-wallet_17835030345201877.json",
      "type": "config",
      "name": "customize-wallet_17835030345201877.json",
      "filePath": "apps/bdd/test-artifacts/reports/web/cucumber/customize-wallet_17835030345201877.json",
      "summary": "WebdriverIO Cucumber JSON result for the web 'Customize Wallet' feature on Chrome 150 (osx) with five @web scenarios: display name and about text, logo upload, hero image upload, the 5MB upload limit, and rich text formatting. The first scenario failed because the display name stayed 'customize-test-1-wallet', and that step embeds a 1920x829 PNG screenshot.",
      "tags": [
        "test-results",
        "cucumber-json",
        "web",
        "generated-artifact",
        "wallet-customization"
      ],
      "complexity": "moderate",
      "languageNotes": "Single-line JSON of about 69 KB; most of the size is the base64 PNG screenshot that the failed step embeds."
    },
    {
      "id": "file:apps/native/app.config.js",
      "type": "file",
      "name": "app.config.js",
      "filePath": "apps/native/app.config.js",
      "summary": "Expo dynamic config of the native app that extends the static config with the expo-web-browser and expo-router plugins, turns off the router origin, sets the EAS projectId, and passes EXPO_PUBLIC_WALLET_APP_API into extra.",
      "tags": [
        "configuration",
        "expo",
        "build-system",
        "environment"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/native/app/(tabs)/notifications/_layout.tsx",
      "type": "file",
      "name": "_layout.tsx",
      "filePath": "apps/native/app/(tabs)/notifications/_layout.tsx",
      "summary": "Expo Router layout file for the notifications tab that wraps the notifications routes in a header-less Stack navigator.",
      "tags": [
        "layout",
        "expo-router",
        "navigation",
        "react-native"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/native/app/(tabs)/notifications/index.tsx",
      "type": "file",
      "name": "index.tsx",
      "filePath": "apps/native/app/(tabs)/notifications/index.tsx",
      "summary": "Notifications tab screen of the native app that renders four hard-coded mock token notifications (pending, received, sent) in a ScrollView and highlights the newest pending item. When the list is empty, it shows a wallet SVG empty state.",
      "tags": [
        "screen",
        "component",
        "react-native",
        "notifications",
        "mock-data"
      ],
      "complexity": "moderate",
      "languageNotes": "The default export is named NotificationsLayout although the file is a screen, so the name collides with the sibling _layout.tsx component."
    },
    {
      "id": "file:apps/native/app/(tabs)/settings/_layout.tsx",
      "type": "file",
      "name": "_layout.tsx",
      "filePath": "apps/native/app/(tabs)/settings/_layout.tsx",
      "summary": "Expo Router layout file for the settings tab group: a Stack navigator with headerShown false, so the settings screens draw their own headers.",
      "tags": [
        "layout",
        "expo-router",
        "navigation",
        "settings"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/native/app/index.tsx",
      "type": "file",
      "name": "index.tsx",
      "filePath": "apps/native/app/index.tsx",
      "summary": "Root route of the Expo Router app that picks the launch destination from AsyncStorage: /onboarding when hasLaunched is unset, /(tabs)/home when the user is authenticated after onboarding, and /(auth)/login in all other cases.",
      "tags": [
        "entry-point",
        "routing",
        "onboarding",
        "authentication",
        "expo-router",
        "tested"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/native/app/transfer/_layout.tsx",
      "type": "file",
      "name": "_layout.tsx",
      "filePath": "apps/native/app/transfer/_layout.tsx",
      "summary": "Expo Router layout file for the transfer flow routes, which hosts them in a Stack navigator with the native header hidden.",
      "tags": [
        "layout",
        "expo-router",
        "navigation",
        "transfer"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/native/babel.config.js",
      "type": "file",
      "name": "babel.config.js",
      "filePath": "apps/native/babel.config.js",
      "summary": "Babel configuration of the native app: babel-preset-expo with the import.meta transform, module-resolver aliases (@app, @components, @common, @utils, @hooks and more) with platform-specific extensions, the Reanimated plugin last, and react-native-paper/babel in production.",
      "tags": [
        "configuration",
        "build-system",
        "babel",
        "module-aliases"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/native/components/ExternalLink.tsx",
      "type": "file",
      "name": "ExternalLink.tsx",
      "filePath": "apps/native/components/ExternalLink.tsx",
      "summary": "Shared native component file that wraps the expo-router Link for external URLs. On iOS and Android, it cancels the default navigation and opens the URL in an in-app browser through expo-web-browser.",
      "tags": [
        "component",
        "navigation",
        "react-native",
        "utility"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/native/components/__tests__/__snapshots__/ThemedText-test.tsx.snap",
      "type": "file",
      "name": "ThemedText-test.tsx.snap",
      "filePath": "apps/native/components/__tests__/__snapshots__/ThemedText-test.tsx.snap",
      "summary": "Jest snapshot of the ThemedText-test.tsx 'renders correctly' case. It records a Text element with color #11181C, fontSize 16 and lineHeight 24 around the text 'Snapshot test!'.",
      "tags": [
        "test",
        "snapshot",
        "jest",
        "generated-artifact"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/native/components/navigation/TabBarIcon.tsx",
      "type": "file",
      "name": "TabBarIcon.tsx",
      "filePath": "apps/native/components/navigation/TabBarIcon.tsx",
      "summary": "Shared navigation component file that renders an Ionicons glyph for tab bar buttons at size 28 with a -3 bottom margin, merging any caller style and icon props.",
      "tags": [
        "component",
        "navigation",
        "icon",
        "react-native"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/native/components/wallet/YourWallets.tsx",
      "type": "file",
      "name": "YourWallets.tsx",
      "filePath": "apps/native/components/wallet/YourWallets.tsx",
      "summary": "Wallet list card of the native app that shows a 'Your wallets' title and one touchable row per wallet with name, date and a green balance. A press calls onWalletPress with the wallet id, and an empty list shows 'No wallets found'.",
      "tags": [
        "component",
        "wallet",
        "react-native",
        "list"
      ],
      "complexity": "moderate"
    },
    {
      "id": "file:apps/native/declarations.d.ts",
      "type": "file",
      "name": "declarations.d.ts",
      "filePath": "apps/native/declarations.d.ts",
      "summary": "Ambient TypeScript module declaration that types every *.svg import of the native app as a React.FC<SvgProps> from react-native-svg. It lets screens such as the notifications tab import SVG files as components.",
      "tags": [
        "type-definition",
        "typescript",
        "svg",
        "declarations"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/native/e2e/features/iterations1/app.feature",
      "type": "file",
      "name": "app.feature",
      "filePath": "apps/native/e2e/features/iterations1/app.feature",
      "summary": "Gherkin feature 'App Launch' of the native Appium E2E suite with one scenario: the app is installed, the user launches it, and the first screen shows.",
      "tags": [
        "test",
        "bdd",
        "gherkin",
        "e2e"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/native/e2e/features/step-definitions/app.steps.ts",
      "type": "file",
      "name": "app.steps.ts",
      "filePath": "apps/native/e2e/features/step-definitions/app.steps.ts",
      "summary": "WebdriverIO Cucumber step definitions for the native App Launch scenario. The install and launch steps are no-ops because Appium installs and starts the APK, and the Then step waits up to 20 s for the ~onboardingScreen accessibility id.",
      "tags": [
        "test",
        "step-definitions",
        "e2e",
        "appium",
        "bdd"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/native/e2e/mocks/handlers.ts",
      "type": "file",
      "name": "handlers.ts",
      "filePath": "apps/native/e2e/mocks/handlers.ts",
      "summary": "MSW request handler list for native E2E API mocking. It exports an empty handlers array; sample login and dashboard handlers stay commented out next to the unused LoginRequest and LoginResponse types.",
      "tags": [
        "test",
        "mock",
        "msw",
        "e2e"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/native/e2e/mocks/server.ts",
      "type": "file",
      "name": "server.ts",
      "filePath": "apps/native/e2e/mocks/server.ts",
      "summary": "Creates and exports the MSW Node mock server for native E2E tests by spreading the handlers array from handlers.ts into setupServer.",
      "tags": [
        "test",
        "mock",
        "msw",
        "server"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/bdd/scripts/watch.ts:parseArgs",
      "type": "function",
      "name": "parseArgs",
      "filePath": "apps/bdd/scripts/watch.ts",
      "lineRange": [
        89,
        124
      ],
      "summary": "Parses the process.argv flags (--spec, --config, --debounce, --tags, --debug, --web, --no-clear, --no-sound, --open-report, --instances, --no-initial, --help) into a partial WatcherConfig that main merges over defaultConfig.",
      "tags": [
        "cli",
        "argument-parsing",
        "configuration"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/bdd/scripts/watch.ts:showHelp",
      "type": "function",
      "name": "showHelp",
      "filePath": "apps/bdd/scripts/watch.ts",
      "lineRange": [
        126,
        174
      ],
      "summary": "Prints the colored usage screen of the watcher with options, examples, interactive key commands and watched file globs; --help and the h or ? keys call it.",
      "tags": [
        "cli",
        "help-text",
        "console-output"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/bdd/scripts/watch.ts:playSound",
      "type": "function",
      "name": "playSound",
      "filePath": "apps/bdd/scripts/watch.ts",
      "lineRange": [
        201,
        213
      ],
      "summary": "Plays a completion cue when sound is on: the afplay Glass or Basso system sound on macOS, a terminal bell on other platforms. runTests calls it after each wdio run.",
      "tags": [
        "notification",
        "audio",
        "terminal"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/bdd/scripts/watch.ts:printStatus",
      "type": "function",
      "name": "printStatus",
      "filePath": "apps/bdd/scripts/watch.ts",
      "lineRange": [
        231,
        248
      ],
      "summary": "Prints the watched globs, the active wdio config, the optional spec filter and tags, and the WATCHING or PAUSED state below the banner.",
      "tags": [
        "console-output",
        "status",
        "cli"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/bdd/scripts/watch.ts:printTestStats",
      "type": "function",
      "name": "printTestStats",
      "filePath": "apps/bdd/scripts/watch.ts",
      "lineRange": [
        250,
        281
      ],
      "summary": "Prints a statistics box from testHistory with total runs, pass and fail counts, pass rate, average duration and the last five runs; the s key and cleanup call it.",
      "tags": [
        "statistics",
        "console-output",
        "test-history"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/bdd/scripts/watch.ts:listFeatureFiles",
      "type": "function",
      "name": "listFeatureFiles",
      "filePath": "apps/bdd/scripts/watch.ts",
      "lineRange": [
        283,
        308
      ],
      "summary": "Recursively lists the .feature files under the BDD features directory, skips step-definitions folders, and marks the last changed file; the l key calls it.",
      "tags": [
        "file-system",
        "console-output",
        "bdd"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/bdd/scripts/watch.ts:openReport",
      "type": "function",
      "name": "openReport",
      "filePath": "apps/bdd/scripts/watch.ts",
      "lineRange": [
        310,
        326
      ],
      "summary": "Opens test-artifacts/reports/cucumber-html/index.html with open, start or xdg-open by platform, or warns when the file is missing. This path has no platform folder, but generate-cucumber-report.js now writes reports/<platform>/cucumber-html.",
      "tags": [
        "report",
        "process-spawn",
        "cross-platform"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/bdd/scripts/watch.ts:killPreviousProcess",
      "type": "function",
      "name": "killPreviousProcess",
      "filePath": "apps/bdd/scripts/watch.ts",
      "lineRange": [
        332,
        357
      ],
      "summary": "Stops the running wdio child process tree with tree-kill (SIGTERM, then SIGKILL on error), clears the running state, and resolves after 5 s at the latest.",
      "tags": [
        "process-management",
        "async",
        "cleanup"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/bdd/scripts/watch.ts:runTests",
      "type": "function",
      "name": "runTests",
      "filePath": "apps/bdd/scripts/watch.ts",
      "lineRange": [
        359,
        490
      ],
      "summary": "Core run loop: it queues a rerun when tests are active, else kills the previous process and spawns `npx wdio run <config>` with spec, Cucumber tag and maxInstances arguments. On close it records history, tracks the failed spec, prints a PASSED or FAILED banner, plays a sound, can open the report, and starts a queued run.",
      "tags": [
        "test-runner",
        "process-spawn",
        "orchestration",
        "webdriverio"
      ],
      "complexity": "complex"
    },
    {
      "id": "function:apps/bdd/scripts/watch.ts:debounce",
      "type": "function",
      "name": "debounce",
      "filePath": "apps/bdd/scripts/watch.ts",
      "lineRange": [
        496,
        506
      ],
      "summary": "Generic debounce helper that returns a wrapper which restarts a timer on each call and runs the wrapped function after the wait; startWatcher uses it to batch file events.",
      "tags": [
        "utility",
        "debounce",
        "generic"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/bdd/scripts/watch.ts:startWatcher",
      "type": "function",
      "name": "startWatcher",
      "filePath": "apps/bdd/scripts/watch.ts",
      "lineRange": [
        508,
        580
      ],
      "summary": "Starts the chokidar watcher on the configured globs with write-finish stabilization and runs the initial test pass unless skipped. On change and add events it schedules a debounced runTests, and it passes the path when a .feature file changed.",
      "tags": [
        "file-watcher",
        "chokidar",
        "event-handler"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:apps/bdd/scripts/watch.ts:setupKeyboardHandler",
      "type": "function",
      "name": "setupKeyboardHandler",
      "filePath": "apps/bdd/scripts/watch.ts",
      "lineRange": [
        586,
        669
      ],
      "summary": "Puts stdin in raw mode on a TTY and maps keys to watcher commands: q or Ctrl+C quit, Enter reruns all, r reruns the last changed file, f reruns the failed spec, and o, c, p, s, l and h open the report, clear, pause, show stats, list features and show help.",
      "tags": [
        "keyboard-input",
        "interactive",
        "event-handler",
        "cli"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:apps/bdd/scripts/watch.ts:cleanup",
      "type": "function",
      "name": "cleanup",
      "filePath": "apps/bdd/scripts/watch.ts",
      "lineRange": [
        675,
        691
      ],
      "summary": "Shutdown routine for the q key, SIGINT, SIGTERM, SIGHUP and uncaught exceptions: it kills the wdio process, closes the watcher, prints final stats when runs exist, and exits with code 0.",
      "tags": [
        "shutdown",
        "signal-handling",
        "cleanup"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/bdd/scripts/watch.ts:main",
      "type": "function",
      "name": "main",
      "filePath": "apps/bdd/scripts/watch.ts",
      "lineRange": [
        705,
        722
      ],
      "summary": "Watcher entry point that parses the CLI arguments, shows help and exits on --help, merges the arguments into currentConfig, changes to the BDD root, and starts the file watcher and keyboard handler.",
      "tags": [
        "entry-point",
        "bootstrap",
        "cli"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/bdd/test-artifacts/reports/android/cucumber-html/assets/js/darkmode.js:applyDarkMode",
      "type": "function",
      "name": "applyDarkMode",
      "filePath": "apps/bdd/test-artifacts/reports/android/cucumber-html/assets/js/darkmode.js",
      "lineRange": [
        3,
        9
      ],
      "summary": "Change handler of the #darkCheck checkbox on the report dashboard that toggles the body darkmode class, sets the html data-bs-theme to dark or light, and toggles striping on #features-table.",
      "tags": [
        "dark-mode",
        "dom-manipulation",
        "event-handler"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/bdd/test-artifacts/reports/android/cucumber-html/assets/js/darkmode.js:saveState",
      "type": "function",
      "name": "saveState",
      "filePath": "apps/bdd/test-artifacts/reports/android/cucumber-html/assets/js/darkmode.js",
      "lineRange": [
        11,
        17
      ],
      "summary": "Stores the dark mode choice as 'on' or 'off' in localStorage.darkmode from the #darkCheck state; the dashboard checkbox calls it after applyDarkMode.",
      "tags": [
        "persistence",
        "local-storage",
        "dark-mode"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/native/app/(tabs)/notifications/index.tsx:NotificationItem",
      "type": "function",
      "name": "NotificationItem",
      "filePath": "apps/native/app/(tabs)/notifications/index.tsx",
      "lineRange": [
        56,
        90
      ],
      "summary": "Row component for one notification with a circular icon badge, title, description and relative time; the row gets a yellow #FFF3CD background when it is the latest item and pending.",
      "tags": [
        "component",
        "list-item",
        "react-native"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/native/app/(tabs)/notifications/index.tsx:EmptyState",
      "type": "function",
      "name": "EmptyState",
      "filePath": "apps/native/app/(tabs)/notifications/index.tsx",
      "lineRange": [
        93,
        103
      ],
      "summary": "Empty placeholder of the notifications screen that centers a 60x60 wallet SVG above a message that invites the user to come back for transaction updates.",
      "tags": [
        "component",
        "empty-state",
        "react-native"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/native/app/(tabs)/notifications/index.tsx:NotificationsLayout",
      "type": "function",
      "name": "NotificationsLayout",
      "filePath": "apps/native/app/(tabs)/notifications/index.tsx",
      "lineRange": [
        106,
        135
      ],
      "summary": "Default-exported notifications screen that renders the mock notifications through NotificationItem in a ScrollView inside a SafeAreaView and marks index 0 as latest, or renders EmptyState when no notifications exist.",
      "tags": [
        "screen",
        "component",
        "react-native",
        "notifications"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/native/app/(tabs)/notifications/_layout.tsx:NotificationsLayout",
      "type": "function",
      "name": "NotificationsLayout",
      "filePath": "apps/native/app/(tabs)/notifications/_layout.tsx",
      "lineRange": [
        3,
        5
      ],
      "summary": "Default-exported layout component that returns a Stack with screenOptions headerShown false for the notifications tab routes.",
      "tags": [
        "layout",
        "expo-router",
        "navigation"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/native/app/(tabs)/settings/_layout.tsx:SettingsLayout",
      "type": "function",
      "name": "SettingsLayout",
      "filePath": "apps/native/app/(tabs)/settings/_layout.tsx",
      "lineRange": [
        3,
        5
      ],
      "summary": "Default-exported settings tab layout that mounts an expo-router Stack and turns the stack header off for every settings screen.",
      "tags": [
        "layout",
        "expo-router",
        "settings"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/native/app/transfer/_layout.tsx:TransferLayout",
      "type": "function",
      "name": "TransferLayout",
      "filePath": "apps/native/app/transfer/_layout.tsx",
      "lineRange": [
        3,
        5
      ],
      "summary": "Default-exported layout of the transfer route group that returns a header-less expo-router Stack for the transfer screens.",
      "tags": [
        "layout",
        "expo-router",
        "transfer"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/native/app/index.tsx:InitialRoute",
      "type": "function",
      "name": "InitialRoute",
      "filePath": "apps/native/app/index.tsx",
      "lineRange": [
        5,
        27
      ],
      "summary": "Default-exported root route component whose effect reads hasLaunched and isAuth from AsyncStorage and sends first launches to /onboarding, authenticated users to /(tabs)/home, and others to /(auth)/login; it renders a Redirect or null.",
      "tags": [
        "routing",
        "onboarding",
        "async-storage",
        "component"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/native/components/ExternalLink.tsx:ExternalLink",
      "type": "function",
      "name": "ExternalLink",
      "filePath": "apps/native/components/ExternalLink.tsx",
      "lineRange": [
        8,
        24
      ],
      "summary": "Exported Link wrapper with target _blank whose onPress handler, on non-web platforms, prevents the default navigation and awaits openBrowserAsync(href) to open an in-app browser.",
      "tags": [
        "component",
        "navigation",
        "in-app-browser"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/native/components/navigation/TabBarIcon.tsx:TabBarIcon",
      "type": "function",
      "name": "TabBarIcon",
      "filePath": "apps/native/components/navigation/TabBarIcon.tsx",
      "lineRange": [
        5,
        10
      ],
      "summary": "Exported icon component that forwards the Ionicons props at size 28 and puts a marginBottom -3 style before the caller style in the style array.",
      "tags": [
        "component",
        "icon",
        "navigation"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/native/components/wallet/YourWallets.tsx:YourWallets",
      "type": "function",
      "name": "YourWallets",
      "filePath": "apps/native/components/wallet/YourWallets.tsx",
      "lineRange": [
        17,
        50
      ],
      "summary": "Exported component that maps the wallets prop to touchable rows separated by dividers, calls onWalletPress(wallet.id) on press, and shows an Ionicons chevron next to each balance, or an empty state card.",
      "tags": [
        "component",
        "wallet",
        "list"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/native/hooks/useColorScheme.ts",
      "type": "file",
      "name": "useColorScheme.ts",
      "filePath": "apps/native/hooks/useColorScheme.ts",
      "summary": "One-line hook module that re-exports React Native's built-in useColorScheme so the Expo app imports the color scheme hook from its own hooks folder, the Expo template convention that leaves room for a web-specific override.",
      "tags": [
        "hook",
        "barrel",
        "react-native",
        "theming"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/native/lint-staged.config.js",
      "type": "file",
      "name": "lint-staged.config.js",
      "filePath": "apps/native/lint-staged.config.js",
      "summary": "lint-staged rules for the Expo native app (CommonJS): staged JS/TS files get `eslint --fix --no-warn-ignored` then `prettier --write`, and staged JSON, Markdown and YAML files get Prettier only.",
      "tags": [
        "configuration",
        "linting",
        "pre-commit",
        "formatting"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/native/prettier.js",
      "type": "file",
      "name": "prettier.js",
      "filePath": "apps/native/prettier.js",
      "summary": "Prettier config for the native app that re-exports the shared `@treetracker/config/prettier` preset with require, so the mobile app formats code the same way as the other workspaces.",
      "tags": [
        "configuration",
        "formatting",
        "shared-config"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/native/scripts/reset-project.js",
      "type": "file",
      "name": "reset-project.js",
      "filePath": "apps/native/scripts/reset-project.js",
      "summary": "Expo starter Node script that renames the native app's `app/` folder to `app-example/`, then recreates `app/` with a minimal `index.tsx` screen and an expo-router `_layout.tsx` Stack, logging each step and stopping on the first fs error.",
      "tags": [
        "script",
        "scaffolding",
        "expo",
        "cli",
        "filesystem"
      ],
      "complexity": "moderate",
      "languageNotes": "Uses nested Node fs callbacks (rename, mkdir, writeFile) instead of promises, so each step runs only after the previous one succeeds."
    },
    {
      "id": "file:apps/user/babel.config.js",
      "type": "file",
      "name": "babel.config.js",
      "filePath": "apps/user/babel.config.js",
      "summary": "Babel config for the NestJS user API (ES module default export) that applies preset-env targeting the current Node version plus preset-typescript, which lets the test tooling transpile TypeScript sources.",
      "tags": [
        "configuration",
        "build-system",
        "babel",
        "typescript"
      ],
      "complexity": "simple"
    },
    {
      "id": "config:apps/user/deployment/overlays/development/kustomization.yaml",
      "type": "config",
      "name": "kustomization.yaml",
      "filePath": "apps/user/deployment/overlays/development/kustomization.yaml",
      "summary": "Kustomize overlay for the development environment of the user API: it pulls in the `../../base` manifests and applies `mapping.yaml` as a strategic-merge patch.",
      "tags": [
        "configuration",
        "kubernetes",
        "kustomize",
        "deployment",
        "infrastructure"
      ],
      "complexity": "simple"
    },
    {
      "id": "config:apps/user/deployment/overlays/development/mapping.yaml",
      "type": "config",
      "name": "mapping.yaml",
      "filePath": "apps/user/deployment/overlays/development/mapping.yaml",
      "summary": "Development patch for the Ambassador `treetracker-wallet-monorepo-user-api` Mapping that adds CORS for any origin, the GET/POST/PATCH/OPTIONS methods, and the Content-Type and Authorization headers.",
      "tags": [
        "configuration",
        "kubernetes",
        "ambassador",
        "cors",
        "api-gateway"
      ],
      "complexity": "simple",
      "languageNotes": "Strategic-merge patch: it repeats only apiVersion, kind and metadata.name of the base Mapping, so Kustomize merges the cors block into the base prefix and service routing."
    },
    {
      "id": "config:apps/user/docs/api/spec/user-api.yaml",
      "type": "config",
      "name": "user-api.yaml",
      "filePath": "apps/user/docs/api/spec/user-api.yaml",
      "summary": "OpenAPI 3.0 spec for the Greenstand user API that documents POST /register (operationId registerUser), POST /gift-token to send a token by email, and GET /gift-token to list sent gift tokens, with a shared `user` schema of username, email, password and phone.",
      "tags": [
        "api-schema",
        "openapi",
        "documentation",
        "user-api"
      ],
      "complexity": "moderate",
      "languageNotes": "Uses Swagger 2 style `in: body` parameters inside an `openapi: 3.0.0` document; OpenAPI 3 expects `requestBody` instead, so strict validators reject these parameters."
    },
    {
      "id": "file:apps/user/libs/validation/dtos/user.dto.ts",
      "type": "file",
      "name": "user.dto.ts",
      "filePath": "apps/user/libs/validation/dtos/user.dto.ts",
      "summary": "Validation DTO module for the user API that exports UserDto, a class-validator model of a full user record with name, username, email, password, phone and id.",
      "tags": [
        "data-model",
        "validation",
        "dto",
        "nestjs"
      ],
      "complexity": "simple"
    },
    {
      "id": "class:apps/user/libs/validation/dtos/user.dto.ts:UserDto",
      "type": "class",
      "name": "UserDto",
      "filePath": "apps/user/libs/validation/dtos/user.dto.ts",
      "lineRange": [
        3,
        43
      ],
      "summary": "Class that marks each of its six string fields with @IsString and @IsNotEmpty and sets all six through a positional constructor; the user controller and service use RegisterUserDto and LoginUserDto, not this class.",
      "tags": [
        "data-model",
        "validation",
        "class-validator",
        "dto"
      ],
      "complexity": "simple",
      "languageNotes": "TypeScript decorators from class-validator attach validation metadata to class properties, which NestJS ValidationPipe reads at runtime."
    },
    {
      "id": "file:apps/user/lint-staged.config.js",
      "type": "file",
      "name": "lint-staged.config.js",
      "filePath": "apps/user/lint-staged.config.js",
      "summary": "lint-staged rules for the user API workspace, written as an ES module default export: ESLint autofix plus Prettier on staged JS/TS files, and Prettier alone on JSON, Markdown and YAML.",
      "tags": [
        "configuration",
        "linting",
        "pre-commit",
        "esm"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/.prettierignore",
      "type": "file",
      "name": ".prettierignore",
      "filePath": "apps/web/.prettierignore",
      "summary": "Prettier ignore list for the Next.js web app that skips build output (.next, dist), lockfiles, coverage, node_modules, all Markdown and YAML files, deployment folders and the doc folder.",
      "tags": [
        "configuration",
        "formatting",
        "ignore-rules"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/cypress.config.ts",
      "type": "file",
      "name": "cypress.config.ts",
      "filePath": "apps/web/cypress.config.ts",
      "summary": "Cypress config for the web app: component tests use the Next.js webpack dev server with react and react-dom aliased to the app's own node_modules, and e2e tests use NEXT_PUBLIC_BASE_URL (default localhost:3000) with an `api_server` env from NEXT_PUBLIC_TREETRACKER_USER_API (default localhost:8080), no video and one retry.",
      "tags": [
        "configuration",
        "test",
        "cypress",
        "e2e"
      ],
      "complexity": "simple",
      "languageNotes": "The react and react-dom webpack aliases force one React copy in the component bundle, which prevents invalid hook call errors in a Yarn workspaces monorepo."
    },
    {
      "id": "file:apps/web/cypress/component/HomeContent.cy.tsx",
      "type": "file",
      "name": "HomeContent.cy.tsx",
      "filePath": "apps/web/cypress/component/HomeContent.cy.tsx",
      "summary": "Fully commented-out Cypress component test that would mount the home page from the old `src/app/home/page` path and check for the Tokens, Wallet and Recent Activity text; it mounts nothing and runs no assertions now.",
      "tags": [
        "test",
        "cypress",
        "component-test",
        "disabled"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/cypress/component/ProfileAvatar.cy.tsx",
      "type": "file",
      "name": "ProfileAvatar.cy.tsx",
      "filePath": "apps/web/cypress/component/ProfileAvatar.cy.tsx",
      "summary": "Cypress component test for ProfileAvatar: it checks that the avatar shows initials (\"John Doe\" gives JD, \"Jane\" gives J, \"John Middle Doe\" gives JD) when no image URL is given, and renders an img with the given src when one is given.",
      "tags": [
        "test",
        "cypress",
        "component-test",
        "avatar"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/cypress/component/ProfileDetails.cy.tsx",
      "type": "file",
      "name": "ProfileDetails.cy.tsx",
      "filePath": "apps/web/cypress/component/ProfileDetails.cy.tsx",
      "summary": "Cypress component test that mounts ProfileDetails with a name and email, checks that both strings render, and clicks the Edit Profile button to check that it exists.",
      "tags": [
        "test",
        "cypress",
        "component-test",
        "profile"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/cypress/component/WalletPage.cy.tsx",
      "type": "file",
      "name": "WalletPage.cy.tsx",
      "filePath": "apps/web/cypress/component/WalletPage.cy.tsx",
      "summary": "Fully commented-out Cypress component test for the wallet page; it imports from the stale `src/app/wallet/page` path (the page now lives under `(protected)/wallet`) and would check the Your Wallets heading, the CREATE WALLET button and two wallet rows.",
      "tags": [
        "test",
        "cypress",
        "component-test",
        "disabled",
        "wallet"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/cypress/e2e/create-wallet.cy.ts",
      "type": "file",
      "name": "create-wallet.cy.ts",
      "filePath": "apps/web/cypress/e2e/create-wallet.cy.ts",
      "summary": "Cypress e2e suite for wallet creation that loads `wallet.json`, stubs GET and POST `**/wallets`, seeds a fake session token and visits `/wallet`; it covers the happy path, the required description, a 409 name conflict that keeps the drawer open, and the client-side unique-name check.",
      "tags": [
        "test",
        "e2e",
        "cypress",
        "wallet",
        "api-mocking"
      ],
      "complexity": "moderate",
      "languageNotes": "Uses cy.intercept with route handlers to assert the request body (`wallet` property) and reply with fixture data, so the flow runs without a live backend."
    },
    {
      "id": "file:apps/web/cypress/e2e/search-action.cy.ts",
      "type": "file",
      "name": "search-action.cy.ts",
      "filePath": "apps/web/cypress/e2e/search-action.cy.ts",
      "summary": "Cypress e2e suite that logs in with the custom cy.login command, opens /home, and walks the bottom-nav Send and Request flows: pick a wallet, enter the amount 22, submit, and for Request check that the transaction snackbar appears.",
      "tags": [
        "test",
        "e2e",
        "cypress",
        "transfers",
        "navigation"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/cypress/e2e/spec.cy.ts",
      "type": "file",
      "name": "spec.cy.ts",
      "filePath": "apps/web/cypress/e2e/spec.cy.ts",
      "summary": "Leftover Cypress template smoke test that only visits http://localhost:3000/ and passes when the page loads, with no assertions on content.",
      "tags": [
        "test",
        "e2e",
        "cypress",
        "smoke-test"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/cypress/support/component-index.html",
      "type": "file",
      "name": "component-index.html",
      "filePath": "apps/web/cypress/support/component-index.html",
      "summary": "HTML shell that Cypress component testing loads for each mounted component; it holds the `__next_css__DO_NOT_USE__` placeholder where Next.js injects CSS and the `data-cy-root` div that cy.mount renders into.",
      "tags": [
        "test",
        "cypress",
        "html",
        "component-test"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/cypress/support/wallet-constants.ts",
      "type": "file",
      "name": "wallet-constants.ts",
      "filePath": "apps/web/cypress/support/wallet-constants.ts",
      "summary": "Shared Cypress helpers for the wallet tests: a SELECTORS map of data-test ids for the create-wallet drawer, wallet list and error helper text, plus a fixture loader; create-wallet.cy.ts imports SELECTORS.",
      "tags": [
        "test",
        "cypress",
        "constants",
        "utility"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/cypress/support/wallet-constants.ts:loadWalletFixture",
      "type": "function",
      "name": "loadWalletFixture",
      "filePath": "apps/web/cypress/support/wallet-constants.ts",
      "lineRange": [
        10,
        12
      ],
      "summary": "Loads the `wallet.json` Cypress fixture and aliases it as `@walletData`; it is exported, but create-wallet.cy.ts loads the fixture with its own cy.fixture call instead.",
      "tags": [
        "test",
        "cypress",
        "fixture",
        "utility"
      ],
      "complexity": "simple"
    },
    {
      "id": "config:apps/web/cypress/tsconfig.json",
      "type": "config",
      "name": "tsconfig.json",
      "filePath": "apps/web/cypress/tsconfig.json",
      "summary": "TypeScript config for the web app's Cypress folder: strict ES2017 settings with no emit, bundler module resolution, preserved JSX, the Next.js plugin, and cypress plus node types for all .ts and .tsx files.",
      "tags": [
        "configuration",
        "typescript",
        "cypress",
        "test"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/eslint.config.cjs",
      "type": "file",
      "name": "eslint.config.cjs",
      "filePath": "apps/web/eslint.config.cjs",
      "summary": "Legacy-format ESLint config for the web app that extends `@treetracker/config/eslint`, turns off no-require-imports, warns on import/no-require, and tries to set a TypeScript import resolver.",
      "tags": [
        "configuration",
        "linting",
        "eslint",
        "legacy"
      ],
      "complexity": "simple",
      "languageNotes": "The `settings` object sits inside `rules`, so ESLint reads it as a rule name and never applies the import resolver; the sibling flat config eslint.config.mjs puts `settings` at the top level."
    },
    {
      "id": "file:apps/web/eslint.config.mjs",
      "type": "file",
      "name": "eslint.config.mjs",
      "filePath": "apps/web/eslint.config.mjs",
      "summary": "Flat ESLint config for the web app that spreads the shared `@treetracker/config/eslint` array, turns off no-require-imports, pins the React version to 19.0, and points the TypeScript import resolver at ./tsconfig.json.",
      "tags": [
        "configuration",
        "linting",
        "eslint",
        "flat-config"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/lint-staged.config.js",
      "type": "file",
      "name": "lint-staged.config.js",
      "filePath": "apps/web/lint-staged.config.js",
      "summary": "lint-staged rules for the Next.js web app (CommonJS): staged JS/TS files get ESLint autofix and Prettier, and staged JSON, Markdown and YAML files get Prettier formatting only.",
      "tags": [
        "configuration",
        "linting",
        "pre-commit",
        "web"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/next.config.js",
      "type": "file",
      "name": "next.config.js",
      "filePath": "apps/web/next.config.js",
      "summary": "Next.js config for the web app: it sets static export output (`output: \"export\"`), strict mode, an empty Turbopack block, and a webpack hook that externalizes expo-constants and expo-modules-core. The webpack hook also aliases jotai to one copy in apps/web/node_modules so the login token atom and the @treetracker/wallet hooks share one store; `transpilePackages` still names `wallet_state`, which is not a current workspace package name.",
      "tags": [
        "config",
        "build-system",
        "nextjs",
        "webpack"
      ],
      "complexity": "simple",
      "languageNotes": "CommonJS module.exports config; the webpack resolve.alias forces a singleton dependency across Yarn workspaces."
    },
    {
      "id": "file:apps/web/public/.gitkeep",
      "type": "file",
      "name": ".gitkeep",
      "filePath": "apps/web/public/.gitkeep",
      "summary": "Empty placeholder file (0 bytes) that keeps the apps/web/public static-asset directory in git so Next.js has a public folder to serve.",
      "tags": [
        "placeholder",
        "static-assets",
        "git"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/app/(protected)/notifications/details/page.tsx",
      "type": "file",
      "name": "page.tsx",
      "filePath": "apps/web/src/app/(protected)/notifications/details/page.tsx",
      "summary": "Client page at /notifications/details?id=... that shows one pending incoming transfer and lets the recipient accept or decline it. It uses the useGetTransfer hook plus the acceptTransfer, declineTransfer and getTransferTokens API calls from @treetracker/wallet, and reads the auth token from the core tokenAtom through jotai.",
      "tags": [
        "page",
        "component",
        "transfers",
        "notifications",
        "nextjs-app-router"
      ],
      "complexity": "complex"
    },
    {
      "id": "function:apps/web/src/app/(protected)/notifications/details/page.tsx:MessageDetail",
      "type": "function",
      "name": "MessageDetail",
      "filePath": "apps/web/src/app/(protected)/notifications/details/page.tsx",
      "lineRange": [
        28,
        240
      ],
      "summary": "Reads the transfer id from the query string, loads the transfer with useGetTransfer, and renders sender, receiver, token count and state. On accept it calls acceptTransfer, then re-fetches getTransferTokens to show the wallet-resident token id; on decline it opens a confirm dialog and calls declineTransfer, then offers links back to /notifications or to /wallet/details.",
      "tags": [
        "component",
        "transfers",
        "accept-decline",
        "state-management"
      ],
      "complexity": "complex"
    },
    {
      "id": "function:apps/web/src/app/(protected)/notifications/details/page.tsx:MessageDetailPage",
      "type": "function",
      "name": "MessageDetailPage",
      "filePath": "apps/web/src/app/(protected)/notifications/details/page.tsx",
      "lineRange": [
        242,
        248
      ],
      "summary": "Default export for the notification detail route that wraps MessageDetail in a React Suspense boundary with a Loading fallback, as Next.js requires for useSearchParams in a static export.",
      "tags": [
        "page",
        "suspense",
        "entry-point"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/app/(protected)/send/page.tsx",
      "type": "file",
      "name": "page.tsx",
      "filePath": "apps/web/src/app/(protected)/send/page.tsx",
      "summary": "Client page at /send with a form to send tokens from one of the user's wallets, either to a named recipient wallet or as a claim link with a QR code. It uses the useGetWallets and useSendTransfer hooks and the generateActionToken API from @treetracker/wallet, plus tokenAtom from core and QRCodeSVG from qrcode.react.",
      "tags": [
        "page",
        "component",
        "transfers",
        "form",
        "qr-code"
      ],
      "complexity": "complex",
      "languageNotes": "The share-by-link path sends a hard-coded placeholder recipient_email (link-recipient@greenstand.org) to generateActionToken."
    },
    {
      "id": "function:apps/web/src/app/(protected)/send/page.tsx:SendPage",
      "type": "function",
      "name": "SendPage",
      "filePath": "apps/web/src/app/(protected)/send/page.tsx",
      "lineRange": [
        30,
        274
      ],
      "summary": "Defaults the source wallet to the first loaded wallet, validates the amount against tokens_available and tokens_pending, and on submit either calls sendTransfer and redirects to /transfers after 1.2 s, or calls generateActionToken and shows a `/claim?action_token=` link with a QR code. The share button uses navigator.share and falls back to the clipboard with a 'Link copied' snackbar.",
      "tags": [
        "component",
        "form",
        "validation",
        "transfers",
        "share-link"
      ],
      "complexity": "complex"
    },
    {
      "id": "file:apps/web/src/app/(protected)/settings/page.tsx",
      "type": "file",
      "name": "page.tsx",
      "filePath": "apps/web/src/app/(protected)/settings/page.tsx",
      "summary": "Client page at /settings that lists a hard-coded menu with one 'Account' item (route /settings/account) and a 'log out' button that pushes /logout. It uses only MUI list components and the Next.js router, with no wallet hooks or API calls.",
      "tags": [
        "page",
        "component",
        "settings",
        "navigation"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:apps/web/src/app/(protected)/settings/page.tsx:Settings",
      "type": "function",
      "name": "Settings",
      "filePath": "apps/web/src/app/(protected)/settings/page.tsx",
      "lineRange": [
        18,
        85
      ],
      "summary": "Renders the settings menu from a static settingsItems array (icon, text, route, test id) and routes to the chosen item or to /logout when the user clicks a row.",
      "tags": [
        "component",
        "navigation",
        "settings"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/app/(protected)/transfers/details/page.tsx",
      "type": "file",
      "name": "page.tsx",
      "filePath": "apps/web/src/app/(protected)/transfers/details/page.tsx",
      "summary": "Client page at /transfers/details?id=... that shows one transfer's id, state chip, source and destination wallets, token count, created and closed times, and its token list. It uses only the useGetTransfer hook from @treetracker/wallet; each token row links to /token/details.",
      "tags": [
        "page",
        "component",
        "transfers",
        "read-only",
        "nextjs-app-router"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:apps/web/src/app/(protected)/transfers/details/page.tsx:TransferDetails",
      "type": "function",
      "name": "TransferDetails",
      "filePath": "apps/web/src/app/(protected)/transfers/details/page.tsx",
      "lineRange": [
        17,
        101
      ],
      "summary": "Loads the transfer named by the `id` query param with useGetTransfer and renders loading, error, the transfer info panel, and a clickable list of its tokens that navigates to /token/details?id=<tokenId>.",
      "tags": [
        "component",
        "transfers",
        "data-display"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:apps/web/src/app/(protected)/transfers/details/page.tsx:TransferDetailsPage",
      "type": "function",
      "name": "TransferDetailsPage",
      "filePath": "apps/web/src/app/(protected)/transfers/details/page.tsx",
      "lineRange": [
        103,
        109
      ],
      "summary": "Default export for the transfer detail route that renders TransferDetails inside a Suspense boundary so useSearchParams works in the static export build.",
      "tags": [
        "page",
        "suspense",
        "entry-point"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/app/(protected)/transfers/page.tsx",
      "type": "file",
      "name": "page.tsx",
      "filePath": "apps/web/src/app/(protected)/transfers/page.tsx",
      "summary": "Client page at /transfers with four sections: incoming pending transfers (accept or decline), outgoing pending transfers (cancel), share links (cancel active links), and the 20 most recent transfers. It uses the useGetWallets, usePendingTransfers, useGetTransfers and useActionTokens hooks from @treetracker/wallet and splits pending transfers into incoming and outgoing by matching wallet names.",
      "tags": [
        "page",
        "component",
        "transfers",
        "list-view",
        "action-tokens"
      ],
      "complexity": "complex"
    },
    {
      "id": "function:apps/web/src/app/(protected)/transfers/page.tsx:TransferRow",
      "type": "function",
      "name": "TransferRow",
      "filePath": "apps/web/src/app/(protected)/transfers/page.tsx",
      "lineRange": [
        24,
        116
      ],
      "summary": "Renders one transfer card with 'source -> destination', token count, created time and a state chip, plus optional Accept, Decline and Cancel buttons that stop click propagation. Its optional `direction` label is never passed by TransfersPage.",
      "tags": [
        "component",
        "list-item",
        "transfers"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:apps/web/src/app/(protected)/transfers/page.tsx:ListStatus",
      "type": "function",
      "name": "ListStatus",
      "filePath": "apps/web/src/app/(protected)/transfers/page.tsx",
      "lineRange": [
        118,
        150
      ],
      "summary": "Shared status line for each transfers list: it shows Loading, an error message with a Retry button that calls onRetry, or an empty-state text, and renders nothing when the list has data.",
      "tags": [
        "component",
        "loading-state",
        "error-handling"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/app/(protected)/transfers/page.tsx:ShareLinkRow",
      "type": "function",
      "name": "ShareLinkRow",
      "filePath": "apps/web/src/app/(protected)/transfers/page.tsx",
      "lineRange": [
        152,
        199
      ],
      "summary": "Renders one action-token share link with its token count, a state chip, and an expiry, redeemed or created timestamp; it shows a Cancel button only when the link state is 'active'.",
      "tags": [
        "component",
        "list-item",
        "action-tokens"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/app/(protected)/transfers/page.tsx:TransfersPage",
      "type": "function",
      "name": "TransfersPage",
      "filePath": "apps/web/src/app/(protected)/transfers/page.tsx",
      "lineRange": [
        201,
        368
      ],
      "summary": "Calls the four wallet hooks, builds a set of the user's wallet names, filters pending transfers into incoming and outgoing, and wraps accept, decline, cancel and cancelLink in a `run` helper that blocks concurrent actions, reloads history afterwards, and shows any error. History rows navigate to /transfers/details.",
      "tags": [
        "component",
        "transfers",
        "state-management",
        "page"
      ],
      "complexity": "complex"
    },
    {
      "id": "file:apps/web/src/app/(public)/account-created/page.tsx",
      "type": "file",
      "name": "page.tsx",
      "filePath": "apps/web/src/app/(public)/account-created/page.tsx",
      "summary": "Static client page at /account-created that shows an 'Account created!' title, the /assets/images/account-created.png illustration through next/image, a welcome text, and a green Continue button. It uses no hooks other than the Next.js router and makes no API call.",
      "tags": [
        "page",
        "component",
        "onboarding",
        "static-content"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:apps/web/src/app/(public)/account-created/page.tsx:AccountCreatedConfirmation",
      "type": "function",
      "name": "AccountCreatedConfirmation",
      "filePath": "apps/web/src/app/(public)/account-created/page.tsx",
      "lineRange": [
        7,
        97
      ],
      "summary": "Renders the post-signup confirmation screen with inline MUI styles and sends the user to /home when they press Continue (the handler carries an 'Update as needed' comment).",
      "tags": [
        "component",
        "onboarding",
        "navigation"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/app/(public)/forgotPassword/verify/VerifyEmail.tsx",
      "type": "file",
      "name": "VerifyEmail.tsx",
      "filePath": "apps/web/src/app/(public)/forgotPassword/verify/VerifyEmail.tsx",
      "summary": "Client component for the forgot-password 'Check your email' screen that reads the `email` query param and offers back-to-login actions. The 'RESEND LINK' button is a stub: it only logs to the console and calls no API.",
      "tags": [
        "component",
        "auth",
        "password-reset",
        "stub"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:apps/web/src/app/(public)/forgotPassword/verify/VerifyEmail.tsx:VerifyEmail",
      "type": "function",
      "name": "VerifyEmail",
      "filePath": "apps/web/src/app/(public)/forgotPassword/verify/VerifyEmail.tsx",
      "lineRange": [
        7,
        66
      ],
      "summary": "Shows the address from the `email` search param (default 'your email'), a back arrow and a 'BACK TO LOGIN' button that push /login, and a 'RESEND LINK' button whose handler only does console.log with the email.",
      "tags": [
        "component",
        "auth",
        "password-reset"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/app/(public)/forgotPassword/verify/page.tsx",
      "type": "file",
      "name": "page.tsx",
      "filePath": "apps/web/src/app/(public)/forgotPassword/verify/page.tsx",
      "summary": "Server route file for /forgotPassword/verify that renders the sibling VerifyEmail client component inside a Suspense boundary.",
      "tags": [
        "page",
        "entry-point",
        "suspense",
        "password-reset"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/app/(public)/forgotPassword/verify/page.tsx:VerifyPage",
      "type": "function",
      "name": "VerifyPage",
      "filePath": "apps/web/src/app/(public)/forgotPassword/verify/page.tsx",
      "lineRange": [
        4,
        10
      ],
      "summary": "Default page export that wraps VerifyEmail in Suspense with a 'Loading...' div fallback, since VerifyEmail calls useSearchParams.",
      "tags": [
        "page",
        "suspense",
        "wrapper"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/app/(public)/layout.tsx",
      "type": "file",
      "name": "layout.tsx",
      "filePath": "apps/web/src/app/(public)/layout.tsx",
      "summary": "Client layout for the (public) route group that wraps pages in a small MUI Container and redirects by auth state from the core tokenAtom: a logged-in user goes to /home, and a logged-out user outside /login and /signup goes to /login.",
      "tags": [
        "layout",
        "auth-guard",
        "routing",
        "component"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/app/(public)/layout.tsx:PublicLayout",
      "type": "function",
      "name": "PublicLayout",
      "filePath": "apps/web/src/app/(public)/layout.tsx",
      "lineRange": [
        9,
        25
      ],
      "summary": "Reads tokenAtom through jotai useAtomValue and the current pathname, and in an effect calls router.replace('/home') or router.replace('/login') before rendering children in a maxWidth='sm' Container.",
      "tags": [
        "layout",
        "auth-guard",
        "redirect"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/app/api/auth/login/route.ts",
      "type": "file",
      "name": "route.ts",
      "filePath": "apps/web/src/app/api/auth/login/route.ts",
      "summary": "Next.js route handler for POST /api/auth/login that exchanges a username and password for Keycloak tokens with the OAuth password grant, configured by KEYCLOAK_BASE_URL, KEYCLOAK_REALM, KEYCLOAK_CLIENT_ID and optional KEYCLOAK_CLIENT_SECRET. No file in apps/web/src calls this endpoint, and next.config.js uses `output: \"export\"`, which does not run POST route handlers.",
      "tags": [
        "api-handler",
        "auth",
        "keycloak",
        "route-handler"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/app/api/auth/login/route.ts:POST",
      "type": "function",
      "name": "POST",
      "filePath": "apps/web/src/app/api/auth/login/route.ts",
      "lineRange": [
        3,
        46
      ],
      "summary": "Parses JSON credentials, returns 400 when one is missing, posts a form-encoded password grant to the Keycloak realm token endpoint, and returns the token JSON, the Keycloak error with its status, or a generic 500 on an exception.",
      "tags": [
        "api-handler",
        "auth",
        "keycloak",
        "proxy"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/app/globals.css",
      "type": "file",
      "name": "globals.css",
      "filePath": "apps/web/src/app/globals.css",
      "summary": "Global stylesheet from the create-next-app template that defines CSS variables for max width, mono fonts, glow gradients and tile and card colors with a prefers-color-scheme dark override. It also resets margin and padding, sets a gradient body background, and removes link underlines; no file in apps/web/src imports it at analysis time, so the styles do not reach the app.",
      "tags": [
        "styles",
        "css-variables",
        "dark-mode",
        "boilerplate"
      ],
      "complexity": "moderate"
    },
    {
      "id": "file:apps/web/src/app/page.module.css",
      "type": "file",
      "name": "page.module.css",
      "filePath": "apps/web/src/app/page.module.css",
      "summary": "CSS module left from the create-next-app starter page with .main, .description, .grid, .card, .center glow and .logo classes, plus mobile, tablet, hover, reduced-motion and dark-mode media queries. No file in apps/web/src imports it, and its classes match the default Next.js landing page, not the wallet UI.",
      "tags": [
        "styles",
        "css-module",
        "boilerplate",
        "responsive"
      ],
      "complexity": "moderate"
    },
    {
      "id": "file:apps/web/src/components/Copyright.tsx",
      "type": "file",
      "name": "Copyright.tsx",
      "filePath": "apps/web/src/components/Copyright.tsx",
      "summary": "Template Copyright footer from the MUI Next.js starter that prints 'Copyright \u00a9', a placeholder 'Your Website' link to mui.com, and the current year inside an h1. Only its Cypress test copyright.cy.tsx imports it.",
      "tags": [
        "component",
        "footer",
        "boilerplate",
        "presentational",
        "tested"
      ],
      "complexity": "simple",
      "languageNotes": "The h1 is nested inside a Typography body2 (a <p>), which is invalid HTML nesting."
    },
    {
      "id": "function:apps/web/src/components/Copyright.tsx:Copyright",
      "type": "function",
      "name": "Copyright",
      "filePath": "apps/web/src/components/Copyright.tsx",
      "lineRange": [
        9,
        19
      ],
      "summary": "Function component that returns a centered secondary-color Typography with the copyright text, the placeholder MuiLink, and new Date().getFullYear().",
      "tags": [
        "component",
        "footer",
        "presentational"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/components/GenericModal.tsx",
      "type": "file",
      "name": "GenericModal.tsx",
      "filePath": "apps/web/src/components/GenericModal.tsx",
      "summary": "Reusable full-screen overlay panel below a 64 px top bar, with an optional sticky header that has back and close buttons and a custom header slot. No file in apps/web/src imports it at analysis time.",
      "tags": [
        "component",
        "modal",
        "layout",
        "reusable"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:apps/web/src/components/GenericModal.tsx:GenericModal",
      "type": "function",
      "name": "GenericModal",
      "filePath": "apps/web/src/components/GenericModal.tsx",
      "lineRange": [
        16,
        74
      ],
      "summary": "Returns null when `open` is false; otherwise renders a fixed grey Box at zIndex 1300 with an optional AppBar whose arrow and close icons both call onClose, and a scrollable body whose max height depends on showHeader.",
      "tags": [
        "component",
        "modal",
        "overlay"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/components/ProfileAvatar.tsx",
      "type": "file",
      "name": "ProfileAvatar.tsx",
      "filePath": "apps/web/src/components/ProfileAvatar.tsx",
      "summary": "Profile avatar component that shows a 100 px MUI Avatar with the user's image or initials and a small green QR-code icon at the bottom-right corner. The Cypress component test ProfileAvatar.cy.tsx exercises it.",
      "tags": [
        "component",
        "avatar",
        "profile",
        "presentational",
        "tested"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/components/ProfileAvatar.tsx:ProfileAvatar",
      "type": "function",
      "name": "ProfileAvatar",
      "filePath": "apps/web/src/components/ProfileAvatar.tsx",
      "lineRange": [
        18,
        49
      ],
      "summary": "Renders the Avatar with `profileImageUrl` as src, or with initials from the module-local getInitials helper (first letter, or first and last name letters) when no image is given, and overlays a QrCodeIcon.",
      "tags": [
        "component",
        "avatar",
        "profile"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/components/ProfileDetails.tsx",
      "type": "file",
      "name": "ProfileDetails.tsx",
      "filePath": "apps/web/src/components/ProfileDetails.tsx",
      "summary": "Small profile block that shows a name heading, an email line and an outlined 'Edit Profile' button; the Cypress test ProfileDetails.cy.tsx covers it.",
      "tags": [
        "component",
        "profile",
        "presentational",
        "tested"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/components/ProfileDetails.tsx:ProfileDetails",
      "type": "function",
      "name": "ProfileDetails",
      "filePath": "apps/web/src/components/ProfileDetails.tsx",
      "lineRange": [
        11,
        32
      ],
      "summary": "Renders the `name` and `email` props with MUI Typography and an 'Edit Profile' button that has no onClick handler, so the button does nothing yet.",
      "tags": [
        "component",
        "profile",
        "stub"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/components/PropTip.tsx",
      "type": "file",
      "name": "PropTip.tsx",
      "filePath": "apps/web/src/components/PropTip.tsx",
      "summary": "Leftover MUI starter 'Pro tip' component (file name PropTip, export ProTip) that links to the Material UI templates page. Its LightBulbIcon is commented out, and no file in apps/web/src imports it.",
      "tags": [
        "component",
        "boilerplate",
        "presentational"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/components/PropTip.tsx:ProTip",
      "type": "function",
      "name": "ProTip",
      "filePath": "apps/web/src/components/PropTip.tsx",
      "lineRange": [
        14,
        25
      ],
      "summary": "Returns a secondary-color Typography with 'Pro tip: See more templates in the Material UI documentation.' and a link to mui.com templates; the light-bulb icon render is commented out.",
      "tags": [
        "component",
        "boilerplate"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/components/QRCodeDisplay.tsx",
      "type": "file",
      "name": "QRCodeDisplay.tsx",
      "filePath": "apps/web/src/components/QRCodeDisplay.tsx",
      "summary": "Mock QR-code screen for sending to or requesting from a wallet that shows a static QrCodeIcon placeholder instead of a real QR code, plus the wallet address. Its 'Share QR Code' and 'Copy Address' buttons have no handlers, and no file in apps/web/src imports it.",
      "tags": [
        "component",
        "qr-code",
        "placeholder",
        "wallet"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:apps/web/src/components/QRCodeDisplay.tsx:QRCodeDisplay",
      "type": "function",
      "name": "QRCodeDisplay",
      "filePath": "apps/web/src/components/QRCodeDisplay.tsx",
      "lineRange": [
        12,
        84
      ],
      "summary": "Renders a 'Send to' or 'Request from' heading by the `action` prop, a 200 px box with a grey QrCodeIcon, the `walletAddress` in monospace, a hint text, and two buttons without onClick handlers.",
      "tags": [
        "component",
        "qr-code",
        "stub"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/components/RichTextEditor.tsx",
      "type": "file",
      "name": "RichTextEditor.tsx",
      "filePath": "apps/web/src/components/RichTextEditor.tsx",
      "summary": "Controlled contentEditable rich-text editor with a toolbar for bold, italic, underline, bullet list, numbered list and link, built on document.execCommand. It reports HTML through onChange and is meant for a wallet's `about` text, but no file in apps/web/src imports it at analysis time.",
      "tags": [
        "component",
        "editor",
        "rich-text",
        "form-input"
      ],
      "complexity": "complex",
      "languageNotes": "Uses the deprecated document.execCommand and queryCommandState browser APIs; onMouseDown with preventDefault keeps the editor selection when a toolbar button is pressed."
    },
    {
      "id": "function:apps/web/src/components/RichTextEditor.tsx:RichTextEditor",
      "type": "function",
      "name": "RichTextEditor",
      "filePath": "apps/web/src/components/RichTextEditor.tsx",
      "lineRange": [
        26,
        222
      ],
      "summary": "Syncs the `value` prop into the editor innerHTML only when the editor is not focused, runs execCommand for each toolbar button (link URL from window.prompt), tracks active bold, italic and underline states for button highlight, and calls onChange with innerHTML on each input.",
      "tags": [
        "component",
        "editor",
        "rich-text",
        "controlled-input"
      ],
      "complexity": "complex"
    },
    {
      "id": "file:apps/web/src/components/common/CenteredColumnBox.tsx",
      "type": "file",
      "name": "CenteredColumnBox.tsx",
      "filePath": "apps/web/src/components/common/CenteredColumnBox.tsx",
      "summary": "Layout helper that renders children in a flex column Box, centered vertically with items aligned to the start; no file in apps/web/src imports it at analysis time.",
      "tags": [
        "component",
        "layout",
        "utility"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/components/common/CenteredColumnBox.tsx:CenteredColumnBox",
      "type": "function",
      "name": "CenteredColumnBox",
      "filePath": "apps/web/src/components/common/CenteredColumnBox.tsx",
      "lineRange": [
        5,
        15
      ],
      "summary": "Takes untyped `props: any` and returns an MUI Box with display flex, flexDirection column, alignItems start and justifyContent center around props.children.",
      "tags": [
        "component",
        "layout"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/components/common/CustomHeadingTitle.tsx",
      "type": "file",
      "name": "CustomHeadingTitle.tsx",
      "filePath": "apps/web/src/components/common/CustomHeadingTitle.tsx",
      "summary": "Tiny shared heading component that renders a page title as an h1 with MUI h4 styling; no file in apps/web/src imports it at analysis time.",
      "tags": [
        "component",
        "typography",
        "utility"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/components/common/CustomHeadingTitle.tsx:CustomHeadingTitle",
      "type": "function",
      "name": "CustomHeadingTitle",
      "filePath": "apps/web/src/components/common/CustomHeadingTitle.tsx",
      "lineRange": [
        5,
        11
      ],
      "summary": "Returns a Typography with variant h4, component h1 and gutterBottom that prints the `title` prop.",
      "tags": [
        "component",
        "typography"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/components/common/CustomSubmitButton.tsx",
      "type": "file",
      "name": "CustomSubmitButton.tsx",
      "filePath": "apps/web/src/components/common/CustomSubmitButton.tsx",
      "summary": "Shared full-width MUI submit button with text, disabled state, variant (default contained) and a data-test id; no file in apps/web/src imports it at analysis time.",
      "tags": [
        "component",
        "form",
        "button",
        "utility"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/components/common/CustomSubmitButton.tsx:CustomSubmitButton",
      "type": "function",
      "name": "CustomSubmitButton",
      "filePath": "apps/web/src/components/common/CustomSubmitButton.tsx",
      "lineRange": [
        14,
        34
      ],
      "summary": "Renders a type='submit' Button with a 1rem top margin and the given text, variant, disabled flag and testId. It destructures the `onClick` prop but never passes it to the Button, so only the form submit fires.",
      "tags": [
        "component",
        "button",
        "form"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/components/common/Logo.tsx",
      "type": "file",
      "name": "Logo.tsx",
      "filePath": "apps/web/src/components/common/Logo.tsx",
      "summary": "Shared brand logo component that shows /assets/images/TreeTraderLogo.svg centered at up to 250 px wide; no file in apps/web/src imports it at analysis time.",
      "tags": [
        "component",
        "branding",
        "presentational"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/components/common/Logo.tsx:Logo",
      "type": "function",
      "name": "Logo",
      "filePath": "apps/web/src/components/common/Logo.tsx",
      "lineRange": [
        5,
        21
      ],
      "summary": "Returns a Box with auto horizontal margin, 50dvw width and top and bottom padding around a plain <img> of the TreeTraderLogo SVG; it ignores its `props: any` argument and sets no alt text.",
      "tags": [
        "component",
        "branding",
        "image"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/components/common/SocialButtons.tsx",
      "type": "file",
      "name": "SocialButtons.tsx",
      "filePath": "apps/web/src/components/common/SocialButtons.tsx",
      "summary": "Client component file that default-exports SocialButtons, a full-width outlined MUI Button for social sign-in actions in the Next.js web app. It defines a ButtonProps interface with text, optional icon, optional onClick and a submit or button type.",
      "tags": [
        "component",
        "ui",
        "authentication",
        "mui",
        "nextjs"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/components/common/SocialButtons.tsx:SocialButtons",
      "type": "function",
      "name": "SocialButtons",
      "filePath": "apps/web/src/components/common/SocialButtons.tsx",
      "lineRange": [
        13,
        31
      ],
      "summary": "React.FC that renders an outlined, full-width primary MUI Button with the given text, an optional startIcon and click handler, and a type that defaults to \"button\".",
      "tags": [
        "component",
        "button",
        "social-login",
        "mui"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/components/common/TermsSection.tsx",
      "type": "file",
      "name": "TermsSection.tsx",
      "filePath": "apps/web/src/components/common/TermsSection.tsx",
      "summary": "Client component file that default-exports TermsSection, the consent line shown on the web auth screens that states the user agrees to Greenstand's Privacy Policy and Terms of Use. Both links are NextLink-backed MUI Links that still point to \"#\" placeholders.",
      "tags": [
        "component",
        "ui",
        "legal",
        "authentication",
        "mui"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/components/common/TermsSection.tsx:TermsSection",
      "type": "function",
      "name": "TermsSection",
      "filePath": "apps/web/src/components/common/TermsSection.tsx",
      "lineRange": [
        7,
        28
      ],
      "summary": "Renders a wrapping flex Box with \"sub\" variant Typography text and two MUI Link elements (Privacy Policy, Terms of Use) routed through next/link, both with placeholder href \"#\".",
      "tags": [
        "component",
        "legal-notice",
        "mui",
        "next-link"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/components/common/Wrapper.tsx",
      "type": "file",
      "name": "Wrapper.tsx",
      "filePath": "apps/web/src/components/common/Wrapper.tsx",
      "summary": "Client layout component file that default-exports Wrapper, an MUI Container that stacks its children in a centered column for web pages. It imports Box and Typography but does not use them.",
      "tags": [
        "component",
        "layout",
        "ui",
        "mui"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/components/common/Wrapper.tsx:Wrapper",
      "type": "function",
      "name": "Wrapper",
      "filePath": "apps/web/src/components/common/Wrapper.tsx",
      "lineRange": [
        7,
        19
      ],
      "summary": "Layout function component that takes untyped props and renders props.children inside an MUI Container styled as a flex column, aligned to the top and centered horizontally.",
      "tags": [
        "component",
        "layout",
        "container",
        "mui"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/components/copyright.cy.tsx",
      "type": "file",
      "name": "copyright.cy.tsx",
      "filePath": "apps/web/src/components/copyright.cy.tsx",
      "summary": "Cypress component test suite for the Copyright component. It mounts Copyright and asserts the \"Copyright \u00a9\" text, the \"Your Website\" text, the current year, the https://mui.com/ link, and the MuiTypography-body2 and MuiLink-root classes.",
      "tags": [
        "test",
        "cypress",
        "component-test",
        "ui"
      ],
      "complexity": "simple",
      "languageNotes": "Cypress component testing uses cy.mount to render a React component in isolation, then queries the DOM with cy.get and cy.contains."
    },
    {
      "id": "file:apps/web/src/components/loading/CircularProgressWithLabel.tsx",
      "type": "file",
      "name": "CircularProgressWithLabel.tsx",
      "filePath": "apps/web/src/components/loading/CircularProgressWithLabel.tsx",
      "summary": "Client component file that default-exports CircularProgressWithLabel, a small green determinate MUI spinner with a centered percentage label. LoadingScreen.tsx imports and renders it.",
      "tags": [
        "component",
        "loading",
        "progress-indicator",
        "mui",
        "hook"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/components/loading/CircularProgressWithLabel.tsx:CircularProgressWithLabel",
      "type": "function",
      "name": "CircularProgressWithLabel",
      "filePath": "apps/web/src/components/loading/CircularProgressWithLabel.tsx",
      "lineRange": [
        6,
        47
      ],
      "summary": "Keeps a progress value in useState and uses a useEffect setInterval to add 10 every 300 ms up to a cap of 100, clearing the timer on unmount. It renders a 32 px determinate CircularProgress (#61892F) with the rounded percentage overlaid in caption text.",
      "tags": [
        "component",
        "loading",
        "timer",
        "use-effect",
        "mui"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/components/loading/LoadingScreen.tsx",
      "type": "file",
      "name": "LoadingScreen.tsx",
      "filePath": "apps/web/src/components/loading/LoadingScreen.tsx",
      "summary": "Client component file that default-exports LoadingScreen, a full-viewport centered loading view for the web app built from CircularProgressWithLabel plus a message line.",
      "tags": [
        "component",
        "loading",
        "ui",
        "mui"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:apps/web/src/components/loading/LoadingScreen.tsx:LoadingScreen",
      "type": "function",
      "name": "LoadingScreen",
      "filePath": "apps/web/src/components/loading/LoadingScreen.tsx",
      "lineRange": [
        10,
        28
      ],
      "summary": "Renders a 100vh flex column that centers CircularProgressWithLabel above a subtitle1 Typography message. The optional message prop defaults to \"Processing, please wait...\".",
      "tags": [
        "component",
        "loading-screen",
        "full-page",
        "mui"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/components/navigation/ChooseAction.tsx",
      "type": "file",
      "name": "ChooseAction.tsx",
      "filePath": "apps/web/src/components/navigation/ChooseAction.tsx",
      "summary": "Navigation component file that default-exports ChooseAction, a bottom-sheet MUI Drawer where the wallet user picks Send or Request. Each choice links to the search page with an action query parameter.",
      "tags": [
        "component",
        "navigation",
        "drawer",
        "wallet",
        "mui"
      ],
      "complexity": "moderate"
    },
    {
      "id": "function:apps/web/src/components/navigation/ChooseAction.tsx:ChooseAction",
      "type": "function",
      "name": "ChooseAction",
      "filePath": "apps/web/src/components/navigation/ChooseAction.tsx",
      "lineRange": [
        22,
        72
      ],
      "summary": "React.FC with open and onClose props that renders a bottom Drawer with rounded top corners, a \"Choose action\" toolbar with a close IconButton, and list items linking to /search?action=send and /search?action=request with data-test hooks for E2E tests.",
      "tags": [
        "component",
        "bottom-sheet",
        "navigation",
        "token-transfer",
        "mui"
      ],
      "complexity": "moderate"
    },
    {
      "id": "document:apps/web/src/pages/README.md",
      "type": "document",
      "name": "README.md",
      "filePath": "apps/web/src/pages/README.md",
      "summary": "One-line marker file that says \"DO NOT DELETE THIS FOLDER\". It keeps the apps/web/src/pages directory in place, likely because Next.js checks for a pages directory next to the app router.",
      "tags": [
        "documentation",
        "placeholder",
        "nextjs",
        "project-structure"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:apps/web/src/utils/.gitkeep",
      "type": "file",
      "name": ".gitkeep",
      "filePath": "apps/web/src/utils/.gitkeep",
      "summary": "Empty (0 byte) placeholder that keeps the apps/web/src/utils directory in git. The directory now also holds real helpers such as actionToken.ts and userProfile.ts, so this placeholder is no longer needed.",
      "tags": [
        "placeholder",
        "git",
        "project-structure",
        "empty-file"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:commitlint.config.js",
      "type": "file",
      "name": "commitlint.config.js",
      "filePath": "commitlint.config.js",
      "summary": "Root commitlint configuration as an ES module that extends @commitlint/config-conventional. It makes commit messages in the monorepo follow the Conventional Commits format.",
      "tags": [
        "config",
        "commitlint",
        "git-hooks",
        "conventional-commits",
        "build-system"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:eslint.config.cjs",
      "type": "file",
      "name": "eslint.config.cjs",
      "filePath": "eslint.config.cjs",
      "summary": "Root ESLint flat config for the monorepo. It ignores build output, .d.ts files and packages/queue, spreads eslint-config-expo/flat, sets the @typescript-eslint parser with only the existing workspace tsconfig files (core, web, native, bdd, user), adds custom rule levels and enables eslint-plugin-prettier.",
      "tags": [
        "config",
        "linting",
        "eslint",
        "typescript",
        "monorepo"
      ],
      "complexity": "moderate",
      "languageNotes": "CommonJS flat config: it filters the tsconfig list with fs.existsSync so the TypeScript parser and import resolver do not fail on missing projects."
    },
    {
      "id": "file:lint-staged.config.js",
      "type": "file",
      "name": "lint-staged.config.js",
      "filePath": "lint-staged.config.js",
      "summary": "Root lint-staged configuration run on pre-commit. It runs eslint --fix and Prettier (packages/config/prettier.config.json) on staged JS/TS files, Prettier on staged JSON, Markdown and YAML files, and yarn type-check when any TS or TSX file is staged.",
      "tags": [
        "config",
        "lint-staged",
        "git-hooks",
        "formatting",
        "build-system"
      ],
      "complexity": "simple",
      "languageNotes": "The \"**/*.{ts,tsx}\" entry is a function that returns one command, so lint-staged runs type-check once for the whole project and does not append file names."
    },
    {
      "id": "file:packages/common/sendEmail.ts",
      "type": "file",
      "name": "sendEmail.ts",
      "filePath": "packages/common/sendEmail.ts",
      "summary": "Stub module in the shared common package that declares the planned sendEmail(to, subject, body, options) API. The function body is empty, so the file sets the intended contract only.",
      "tags": [
        "utility",
        "email",
        "stub",
        "shared-package"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:packages/common/sendEmail.ts:sendEmail",
      "type": "function",
      "name": "sendEmail",
      "filePath": "packages/common/sendEmail.ts",
      "lineRange": [
        1,
        9
      ],
      "summary": "Planned email sender that takes a recipient, subject, body and an options object with smtpHost and declares a Promise<void> return. The body is empty, so it does not send anything and does not return a Promise.",
      "tags": [
        "email",
        "stub",
        "notification",
        "async"
      ],
      "complexity": "simple"
    },
    {
      "id": "config:packages/core/package.json",
      "type": "config",
      "name": "package.json",
      "filePath": "packages/core/package.json",
      "summary": "Workspace manifest for the shared \"core\" package. It sets main to ./src/index.ts, depends on jotai, joi, @faker-js/faker and path, lists expo-constants as a peer dependency, and defines pre-commit (lint-staged) and Prettier format scripts.",
      "tags": [
        "configuration",
        "package-manifest",
        "dependencies",
        "monorepo"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/core/src/atoms/auth/index.ts",
      "type": "file",
      "name": "index.ts",
      "filePath": "packages/core/src/atoms/auth/index.ts",
      "summary": "Barrel for the core auth Jotai atoms. It re-exports everything from tokenAtom, loginAtom, registerAtom, logoutAtom and loadingAtom, and packages/core/src/index.ts re-exports this barrel.",
      "tags": [
        "barrel",
        "entry-point",
        "state-management",
        "authentication",
        "jotai"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/core/src/hooks/index.ts",
      "type": "file",
      "name": "index.ts",
      "filePath": "packages/core/src/hooks/index.ts",
      "summary": "Barrel for the core hooks that re-exports only useSearchResults. The wallet hook export is commented out, so wallet.ts is not part of the public core API.",
      "tags": [
        "barrel",
        "hook",
        "entry-point",
        "search"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/core/src/index.ts",
      "type": "file",
      "name": "index.ts",
      "filePath": "packages/core/src/index.ts",
      "summary": "Entry point of the shared core package (package.json main). It re-exports the auth atoms, the hooks barrel and the schemas barrel for use by the web and native apps.",
      "tags": [
        "entry-point",
        "barrel",
        "shared-package",
        "public-api"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/core/src/schemas/authSchemas.ts",
      "type": "file",
      "name": "authSchemas.ts",
      "filePath": "packages/core/src/schemas/authSchemas.ts",
      "summary": "Joi validation schemas for the auth forms, re-exported by packages/core/src/schemas/index.ts. registerSchema checks an alphanumeric 3-30 character username, an email without TLD checks and an 8-32 character password with upper, lower and digit; loginSchema checks a 3-30 character username and a password of 6 or more characters, each rule with a custom error message.",
      "tags": [
        "validation",
        "schema-definition",
        "authentication",
        "joi",
        "forms"
      ],
      "complexity": "simple",
      "languageNotes": "Joi .messages() maps each rule key (for example string.min or string.pattern.base) to a user-facing error text. The login password rule (min 6) is less strict than the register rule (min 8 with pattern)."
    },
    {
      "id": "file:packages/core/src/services/.gitkeep",
      "type": "file",
      "name": ".gitkeep",
      "filePath": "packages/core/src/services/.gitkeep",
      "summary": "Empty (0 byte) placeholder that keeps the otherwise empty packages/core/src/services directory in git, which is reserved for future core service modules.",
      "tags": [
        "placeholder",
        "git",
        "project-structure",
        "empty-file"
      ],
      "complexity": "simple"
    },
    {
      "id": "config:packages/core/tsconfig.json",
      "type": "config",
      "name": "tsconfig.json",
      "filePath": "packages/core/tsconfig.json",
      "summary": "TypeScript configuration for the core package: ESNext target and module, Node module resolution, cypress and node types, DOM libs, non-strict mode, noEmit with isolatedModules, and preserved JSX for all .ts and .tsx files. The root eslint.config.cjs uses it as one of its parser projects.",
      "tags": [
        "configuration",
        "typescript",
        "build-system",
        "compiler-options"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/core/types.d.ts",
      "type": "file",
      "name": "types.d.ts",
      "filePath": "packages/core/types.d.ts",
      "summary": "Global ambient type declaration for the core package that extends NodeJS.ProcessEnv with the string NEXT_PUBLIC_TREETRACKER_USER_API, the user API base URL variable.",
      "tags": [
        "type-definition",
        "environment",
        "global-declaration",
        "typescript"
      ],
      "complexity": "simple",
      "languageNotes": "The trailing \"export {}\" turns the file into a module, which TypeScript requires before it accepts \"declare global\"."
    },
    {
      "id": "file:packages/keycloak/generateGiftToken.ts",
      "type": "file",
      "name": "generateGiftToken.ts",
      "filePath": "packages/keycloak/generateGiftToken.ts",
      "summary": "Stub module in the keycloak package that declares the planned generateGiftToken(expiresAt, payload) API for gift token links. The function body is empty, so the file defines only the intended signature.",
      "tags": [
        "stub",
        "token",
        "gift",
        "authentication"
      ],
      "complexity": "simple"
    },
    {
      "id": "function:packages/keycloak/generateGiftToken.ts:generateGiftToken",
      "type": "function",
      "name": "generateGiftToken",
      "filePath": "packages/keycloak/generateGiftToken.ts",
      "lineRange": [
        1,
        8
      ],
      "summary": "Planned generator of a gift token string from an expiry Date and a payload with tokenId, senderWalletId and recipientEmailAddress. The body is empty, so it returns nothing even though the declared return type is string.",
      "tags": [
        "stub",
        "token-generation",
        "gift-token",
        "wallet"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/keycloak/jest.config.js",
      "type": "file",
      "name": "jest.config.js",
      "filePath": "packages/keycloak/jest.config.js",
      "summary": "Jest configuration for the keycloak package. It uses the ts-jest preset in a node environment and runs only the end-to-end specs that match **/tests/**/*.spec.e2e.ts.",
      "tags": [
        "config",
        "test",
        "jest",
        "e2e"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/keycloak/src/index.ts",
      "type": "file",
      "name": "index.ts",
      "filePath": "packages/keycloak/src/index.ts",
      "summary": "Barrel entry point of the keycloak package that re-exports the Keycloak API helpers fetchTokenFromKeycloak, deleteAccountFromKeycloak and createAccountFromKeycloak.",
      "tags": [
        "barrel",
        "entry-point",
        "keycloak",
        "authentication"
      ],
      "complexity": "simple"
    },
    {
      "id": "document:packages/queue/README.md",
      "type": "document",
      "name": "README.md",
      "filePath": "packages/queue/README.md",
      "summary": "README for the queue package, a Postgres-based pub/sub message queue. It shows the publish({pgClient, channel, data}) and subscribe({pgClient, clientID, channel}) call shapes and the command for the e2e test, which needs DATABASE_URL and NODE_TLS_REJECT_UNAUTHORIZED=0.",
      "tags": [
        "documentation",
        "message-queue",
        "postgres",
        "pub-sub"
      ],
      "complexity": "simple"
    },
    {
      "id": "config:packages/queue/package.json",
      "type": "config",
      "name": "package.json",
      "filePath": "packages/queue/package.json",
      "summary": "npm manifest for the queue workspace, a Postgres-based message queue (treetracker-pg-sub-noti) whose entry is index.js; it depends on pg, dotenv and loglevel and runs Jest on __tests__/index.spec.js.",
      "tags": [
        "configuration",
        "package-manifest",
        "message-queue",
        "postgres",
        "build-system"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/wallet/jest.config.js",
      "type": "file",
      "name": "jest.config.js",
      "filePath": "packages/wallet/jest.config.js",
      "summary": "Jest config for the wallet package that uses the ts-jest preset in a node environment and only matches end-to-end specs named tests/**/*.spec.e2e.ts, such as createWallet.spec.e2e.ts.",
      "tags": [
        "config",
        "test",
        "jest",
        "ts-jest",
        "e2e"
      ],
      "complexity": "simple"
    },
    {
      "id": "file:packages/wallet/tsconfig.tsbuildinfo",
      "type": "file",
      "name": "tsconfig.tsbuildinfo",
      "filePath": "packages/wallet/tsconfig.tsbuildinfo",
      "summary": "Committed, generated TypeScript 5.9.3 incremental-build cache for the wallet package; it records the root files (src/types/wallet.ts, src/utils/config.ts, the 13 src/api calls, the 10 src/hooks, src/index.ts and tests/createWallet.spec.e2e.ts), file hashes, a dependency map into packages/core and packages/keycloak, and the compiler options (strict, allowJs, esModuleInterop, skipLibCheck, ESNext target and module, jsx preserve).",
      "tags": [
        "generated",
        "build-artifact",
        "typescript",
        "incremental-build",
        "type-checking"
      ],
      "complexity": "simple",
      "languageNotes": "A .tsbuildinfo file is written by tsc when incremental or composite is on. File ids in root, referencedMap and affectedFilesPendingEmit are 1-based indexes into fileNames. All 27 root files are still listed in affectedFilesPendingEmit, so the cache shows that no JS output was emitted for them. The file is machine-written and should normally be git-ignored."
    }
  ],
  "edges": [
    {
      "source": "file:apps/bdd/features/step-definitions/steps.ts",
      "target": "function:apps/bdd/features/step-definitions/steps.ts:keycloakLogin",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/bdd/features/step-definitions/steps.ts",
      "target": "function:apps/bdd/features/step-definitions/steps.ts:switchUser",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:packages/wallet/src/api/acceptTransfer.ts",
      "target": "function:packages/wallet/src/api/acceptTransfer.ts:acceptTransfer",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:packages/wallet/src/api/cancelActionToken.ts",
      "target": "function:packages/wallet/src/api/cancelActionToken.ts:cancelActionToken",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:packages/wallet/src/api/cancelTransfer.ts",
      "target": "function:packages/wallet/src/api/cancelTransfer.ts:cancelTransfer",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:packages/wallet/src/api/createWallet.ts",
      "target": "function:packages/wallet/src/api/createWallet.ts:createWallet",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:packages/wallet/src/api/declineTransfer.ts",
      "target": "function:packages/wallet/src/api/declineTransfer.ts:declineTransfer",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:packages/wallet/src/api/errors.ts",
      "target": "class:packages/wallet/src/api/errors.ts:WalletApiError",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:packages/wallet/src/api/errors.ts",
      "target": "function:packages/wallet/src/api/errors.ts:isNoWalletError",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:packages/wallet/src/api/generateActionToken.ts",
      "target": "function:packages/wallet/src/api/generateActionToken.ts:generateActionToken",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:packages/wallet/src/api/getActionTokens.ts",
      "target": "function:packages/wallet/src/api/getActionTokens.ts:getActionTokens",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:packages/wallet/src/api/getToken.ts",
      "target": "function:packages/wallet/src/api/getToken.ts:getToken",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:packages/wallet/src/api/getTokenTransactions.ts",
      "target": "function:packages/wallet/src/api/getTokenTransactions.ts:getTokenTransactions",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:packages/wallet/src/api/getTokenTree.ts",
      "target": "function:packages/wallet/src/api/getTokenTree.ts:getTokenTree",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:packages/wallet/src/api/getTransfer.ts",
      "target": "function:packages/wallet/src/api/getTransfer.ts:getTransfer",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:packages/wallet/src/api/getTransferTokens.ts",
      "target": "function:packages/wallet/src/api/getTransferTokens.ts:getTransferTokens",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:packages/wallet/src/api/getTransfers.ts",
      "target": "function:packages/wallet/src/api/getTransfers.ts:getTransfers",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:packages/wallet/src/api/getWallets.ts",
      "target": "function:packages/wallet/src/api/getWallets.ts:getWallets",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:packages/wallet/src/api/redeemActionToken.ts",
      "target": "function:packages/wallet/src/api/redeemActionToken.ts:redeemActionToken",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:packages/wallet/src/api/sendTransfer.ts",
      "target": "function:packages/wallet/src/api/sendTransfer.ts:sendTransfer",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:packages/wallet/src/api/acceptTransfer.ts",
      "target": "function:packages/wallet/src/api/acceptTransfer.ts:acceptTransfer",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:packages/wallet/src/api/cancelActionToken.ts",
      "target": "function:packages/wallet/src/api/cancelActionToken.ts:cancelActionToken",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:packages/wallet/src/api/cancelTransfer.ts",
      "target": "function:packages/wallet/src/api/cancelTransfer.ts:cancelTransfer",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:packages/wallet/src/api/createWallet.ts",
      "target": "function:packages/wallet/src/api/createWallet.ts:createWallet",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:packages/wallet/src/api/declineTransfer.ts",
      "target": "function:packages/wallet/src/api/declineTransfer.ts:declineTransfer",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:packages/wallet/src/api/errors.ts",
      "target": "class:packages/wallet/src/api/errors.ts:WalletApiError",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:packages/wallet/src/api/errors.ts",
      "target": "function:packages/wallet/src/api/errors.ts:isNoWalletError",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:packages/wallet/src/api/generateActionToken.ts",
      "target": "function:packages/wallet/src/api/generateActionToken.ts:generateActionToken",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:packages/wallet/src/api/getActionTokens.ts",
      "target": "function:packages/wallet/src/api/getActionTokens.ts:getActionTokens",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:packages/wallet/src/api/getToken.ts",
      "target": "function:packages/wallet/src/api/getToken.ts:getToken",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:packages/wallet/src/api/getTokenTransactions.ts",
      "target": "function:packages/wallet/src/api/getTokenTransactions.ts:getTokenTransactions",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:packages/wallet/src/api/getTokenTree.ts",
      "target": "function:packages/wallet/src/api/getTokenTree.ts:getTokenTree",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:packages/wallet/src/api/getTransfer.ts",
      "target": "function:packages/wallet/src/api/getTransfer.ts:getTransfer",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:packages/wallet/src/api/getTransferTokens.ts",
      "target": "function:packages/wallet/src/api/getTransferTokens.ts:getTransferTokens",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:packages/wallet/src/api/getTransfers.ts",
      "target": "function:packages/wallet/src/api/getTransfers.ts:getTransfers",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:packages/wallet/src/api/getWallets.ts",
      "target": "function:packages/wallet/src/api/getWallets.ts:getWallets",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:packages/wallet/src/api/redeemActionToken.ts",
      "target": "function:packages/wallet/src/api/redeemActionToken.ts:redeemActionToken",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:packages/wallet/src/api/sendTransfer.ts",
      "target": "function:packages/wallet/src/api/sendTransfer.ts:sendTransfer",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/bdd/features/step-definitions/steps.ts",
      "target": "file:apps/bdd/utils/seed.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/bdd/features/step-definitions/steps.ts",
      "target": "file:packages/wallet/src/api/getTransferTokens.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/bdd/features/step-definitions/steps.ts",
      "target": "file:packages/wallet/src/api/getTransfers.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/wallet/src/api/acceptTransfer.ts",
      "target": "file:packages/wallet/src/utils/config.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/wallet/src/api/cancelActionToken.ts",
      "target": "file:packages/wallet/src/utils/config.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/wallet/src/api/cancelTransfer.ts",
      "target": "file:packages/wallet/src/utils/config.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/wallet/src/api/createWallet.ts",
      "target": "file:packages/wallet/src/types/wallet.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/wallet/src/api/createWallet.ts",
      "target": "file:packages/wallet/src/utils/config.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/wallet/src/api/declineTransfer.ts",
      "target": "file:packages/wallet/src/utils/config.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/wallet/src/api/generateActionToken.ts",
      "target": "file:packages/wallet/src/utils/config.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/wallet/src/api/getActionTokens.ts",
      "target": "file:packages/wallet/src/types/wallet.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/wallet/src/api/getActionTokens.ts",
      "target": "file:packages/wallet/src/utils/config.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/wallet/src/api/getToken.ts",
      "target": "file:packages/wallet/src/utils/config.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/wallet/src/api/getTokenTransactions.ts",
      "target": "file:packages/wallet/src/utils/config.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/wallet/src/api/getTokenTree.ts",
      "target": "file:packages/wallet/src/utils/config.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/wallet/src/api/getTransfer.ts",
      "target": "file:packages/wallet/src/utils/config.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/wallet/src/api/getTransferTokens.ts",
      "target": "file:packages/wallet/src/utils/config.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/wallet/src/api/getTransfers.ts",
      "target": "file:packages/wallet/src/utils/config.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/wallet/src/api/getWallets.ts",
      "target": "file:packages/wallet/src/utils/config.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/wallet/src/api/redeemActionToken.ts",
      "target": "file:packages/wallet/src/api/errors.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/wallet/src/api/redeemActionToken.ts",
      "target": "file:packages/wallet/src/utils/config.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/wallet/src/api/sendTransfer.ts",
      "target": "file:packages/wallet/src/utils/config.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "function:packages/wallet/src/api/redeemActionToken.ts:redeemActionToken",
      "target": "class:packages/wallet/src/api/errors.ts:WalletApiError",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/bdd/features/step-definitions/steps.ts",
      "target": "function:packages/wallet/src/api/getTransfers.ts:getTransfers",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/bdd/features/step-definitions/steps.ts",
      "target": "function:packages/wallet/src/api/getTransferTokens.ts:getTransferTokens",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/bdd/features/step-definitions/steps.ts",
      "target": "function:apps/bdd/utils/seed.ts:seedAccount",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/bdd/features/step-definitions/steps.ts",
      "target": "function:apps/bdd/utils/seed.ts:tokenFor",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:packages/wallet/src/api/updateWallet.ts",
      "target": "function:packages/wallet/src/api/updateWallet.ts:updateWallet",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:packages/wallet/src/hooks/useActionTokens.ts",
      "target": "function:packages/wallet/src/hooks/useActionTokens.ts:useActionTokens",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:packages/wallet/src/hooks/useCreateWallet.ts",
      "target": "function:packages/wallet/src/hooks/useCreateWallet.ts:useCreateWallet",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:packages/wallet/src/hooks/useGetToken.ts",
      "target": "function:packages/wallet/src/hooks/useGetToken.ts:useGetToken",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:packages/wallet/src/hooks/useGetTokenTransactions.ts",
      "target": "function:packages/wallet/src/hooks/useGetTokenTransactions.ts:useGetTokenTransactions",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:packages/wallet/src/hooks/useGetTokenTree.ts",
      "target": "function:packages/wallet/src/hooks/useGetTokenTree.ts:useGetTokenTree",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:packages/wallet/src/hooks/useGetTransfer.ts",
      "target": "function:packages/wallet/src/hooks/useGetTransfer.ts:useGetTransfer",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:packages/wallet/src/hooks/useGetTransfers.ts",
      "target": "function:packages/wallet/src/hooks/useGetTransfers.ts:useGetTransfers",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:packages/wallet/src/hooks/useGetWallets.ts",
      "target": "function:packages/wallet/src/hooks/useGetWallets.ts:useGetWallets",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:packages/wallet/src/hooks/useIncomingTransfers.ts",
      "target": "function:packages/wallet/src/hooks/useIncomingTransfers.ts:useIncomingTransfers",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:packages/wallet/src/hooks/usePendingTransfers.ts",
      "target": "function:packages/wallet/src/hooks/usePendingTransfers.ts:usePendingTransfers",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:packages/wallet/src/hooks/useSendTransfer.ts",
      "target": "function:packages/wallet/src/hooks/useSendTransfer.ts:useSendTransfer",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:packages/wallet/src/hooks/useUpdateWallet.ts",
      "target": "function:packages/wallet/src/hooks/useUpdateWallet.ts:useUpdateWallet",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:packages/wallet/src/api/updateWallet.ts",
      "target": "function:packages/wallet/src/api/updateWallet.ts:updateWallet",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:packages/wallet/src/hooks/useActionTokens.ts",
      "target": "function:packages/wallet/src/hooks/useActionTokens.ts:useActionTokens",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:packages/wallet/src/hooks/useCreateWallet.ts",
      "target": "function:packages/wallet/src/hooks/useCreateWallet.ts:useCreateWallet",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:packages/wallet/src/hooks/useGetToken.ts",
      "target": "function:packages/wallet/src/hooks/useGetToken.ts:useGetToken",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:packages/wallet/src/hooks/useGetTokenTransactions.ts",
      "target": "function:packages/wallet/src/hooks/useGetTokenTransactions.ts:useGetTokenTransactions",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:packages/wallet/src/hooks/useGetTokenTree.ts",
      "target": "function:packages/wallet/src/hooks/useGetTokenTree.ts:useGetTokenTree",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:packages/wallet/src/hooks/useGetTransfer.ts",
      "target": "function:packages/wallet/src/hooks/useGetTransfer.ts:useGetTransfer",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:packages/wallet/src/hooks/useGetTransfers.ts",
      "target": "function:packages/wallet/src/hooks/useGetTransfers.ts:useGetTransfers",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:packages/wallet/src/hooks/useGetWallets.ts",
      "target": "function:packages/wallet/src/hooks/useGetWallets.ts:useGetWallets",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:packages/wallet/src/hooks/useIncomingTransfers.ts",
      "target": "function:packages/wallet/src/hooks/useIncomingTransfers.ts:useIncomingTransfers",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:packages/wallet/src/hooks/usePendingTransfers.ts",
      "target": "function:packages/wallet/src/hooks/usePendingTransfers.ts:usePendingTransfers",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:packages/wallet/src/hooks/useSendTransfer.ts",
      "target": "function:packages/wallet/src/hooks/useSendTransfer.ts:useSendTransfer",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:packages/wallet/src/hooks/useUpdateWallet.ts",
      "target": "function:packages/wallet/src/hooks/useUpdateWallet.ts:useUpdateWallet",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:packages/wallet/src/api/updateWallet.ts",
      "target": "file:packages/wallet/src/types/wallet.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/wallet/src/api/updateWallet.ts",
      "target": "file:packages/wallet/src/utils/config.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/wallet/src/hooks/useActionTokens.ts",
      "target": "file:packages/wallet/src/api/cancelActionToken.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/wallet/src/hooks/useActionTokens.ts",
      "target": "file:packages/wallet/src/api/getActionTokens.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/wallet/src/hooks/useActionTokens.ts",
      "target": "file:packages/wallet/src/types/wallet.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/wallet/src/hooks/useCreateWallet.ts",
      "target": "file:packages/wallet/src/api/createWallet.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/wallet/src/hooks/useCreateWallet.ts",
      "target": "file:packages/wallet/src/types/wallet.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/wallet/src/hooks/useGetToken.ts",
      "target": "file:packages/wallet/src/api/getToken.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/wallet/src/hooks/useGetTokenTransactions.ts",
      "target": "file:packages/wallet/src/api/getTokenTransactions.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/wallet/src/hooks/useGetTokenTransactions.ts",
      "target": "file:packages/wallet/src/types/wallet.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/wallet/src/hooks/useGetTokenTree.ts",
      "target": "file:packages/wallet/src/api/getTokenTree.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/wallet/src/hooks/useGetTransfer.ts",
      "target": "file:packages/wallet/src/api/getTransfer.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/wallet/src/hooks/useGetTransfer.ts",
      "target": "file:packages/wallet/src/api/getTransferTokens.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/wallet/src/hooks/useGetTransfer.ts",
      "target": "file:packages/wallet/src/types/wallet.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/wallet/src/hooks/useGetTransfers.ts",
      "target": "file:packages/wallet/src/api/getTransfers.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/wallet/src/hooks/useGetTransfers.ts",
      "target": "file:packages/wallet/src/types/wallet.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/wallet/src/hooks/useGetWallets.ts",
      "target": "file:packages/wallet/src/api/getWallets.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/wallet/src/hooks/useIncomingTransfers.ts",
      "target": "file:packages/wallet/src/hooks/useGetWallets.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/wallet/src/hooks/useIncomingTransfers.ts",
      "target": "file:packages/wallet/src/hooks/usePendingTransfers.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/wallet/src/hooks/useIncomingTransfers.ts",
      "target": "file:packages/wallet/src/types/wallet.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/wallet/src/hooks/usePendingTransfers.ts",
      "target": "file:packages/wallet/src/api/acceptTransfer.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/wallet/src/hooks/usePendingTransfers.ts",
      "target": "file:packages/wallet/src/api/cancelTransfer.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/wallet/src/hooks/usePendingTransfers.ts",
      "target": "file:packages/wallet/src/api/declineTransfer.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/wallet/src/hooks/usePendingTransfers.ts",
      "target": "file:packages/wallet/src/api/getTransfers.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/wallet/src/hooks/usePendingTransfers.ts",
      "target": "file:packages/wallet/src/types/wallet.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/wallet/src/hooks/useSendTransfer.ts",
      "target": "file:packages/wallet/src/api/sendTransfer.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/wallet/src/hooks/useUpdateWallet.ts",
      "target": "file:packages/wallet/src/api/updateWallet.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/wallet/src/hooks/useUpdateWallet.ts",
      "target": "file:packages/wallet/src/types/wallet.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/wallet/tests/createWallet.spec.e2e.ts",
      "target": "file:packages/wallet/src/index.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/wallet/tests/createWallet.spec.e2e.ts",
      "target": "file:packages/wallet/src/types/wallet.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/wallet/src/index.ts",
      "target": "file:packages/wallet/src/api/createWallet.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:packages/wallet/src/index.ts",
      "target": "file:packages/wallet/src/api/getWallets.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:packages/wallet/src/index.ts",
      "target": "file:packages/wallet/src/api/getTokens.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:packages/wallet/src/index.ts",
      "target": "file:packages/wallet/src/api/getToken.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:packages/wallet/src/index.ts",
      "target": "file:packages/wallet/src/api/getTransfers.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:packages/wallet/src/index.ts",
      "target": "file:packages/wallet/src/api/sendTransfer.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:packages/wallet/src/index.ts",
      "target": "file:packages/wallet/src/api/getTransfer.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:packages/wallet/src/index.ts",
      "target": "file:packages/wallet/src/api/getTransferTokens.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:packages/wallet/src/index.ts",
      "target": "file:packages/wallet/src/api/acceptTransfer.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:packages/wallet/src/index.ts",
      "target": "file:packages/wallet/src/api/declineTransfer.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:packages/wallet/src/index.ts",
      "target": "file:packages/wallet/src/api/cancelTransfer.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:packages/wallet/src/index.ts",
      "target": "file:packages/wallet/src/api/generateActionToken.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:packages/wallet/src/index.ts",
      "target": "file:packages/wallet/src/api/errors.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:packages/wallet/src/index.ts",
      "target": "file:packages/wallet/src/api/redeemActionToken.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:packages/wallet/src/index.ts",
      "target": "file:packages/wallet/src/api/getActionTokens.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:packages/wallet/src/index.ts",
      "target": "file:packages/wallet/src/api/cancelActionToken.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:packages/wallet/src/index.ts",
      "target": "file:packages/wallet/src/api/getTokenTransactions.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:packages/wallet/src/index.ts",
      "target": "file:packages/wallet/src/api/getTokenTree.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:packages/wallet/src/index.ts",
      "target": "file:packages/wallet/src/api/updateWallet.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:packages/wallet/src/index.ts",
      "target": "file:packages/wallet/src/hooks/useCreateWallet.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:packages/wallet/src/index.ts",
      "target": "file:packages/wallet/src/hooks/useGetWallets.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:packages/wallet/src/index.ts",
      "target": "file:packages/wallet/src/hooks/useGetToken.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:packages/wallet/src/index.ts",
      "target": "file:packages/wallet/src/hooks/useGetTransfers.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:packages/wallet/src/index.ts",
      "target": "file:packages/wallet/src/hooks/useSendTransfer.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:packages/wallet/src/index.ts",
      "target": "file:packages/wallet/src/hooks/useGetTransfer.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:packages/wallet/src/index.ts",
      "target": "file:packages/wallet/src/hooks/usePendingTransfers.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:packages/wallet/src/index.ts",
      "target": "file:packages/wallet/src/hooks/useIncomingTransfers.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:packages/wallet/src/index.ts",
      "target": "file:packages/wallet/src/hooks/useGetTokenTransactions.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:packages/wallet/src/index.ts",
      "target": "file:packages/wallet/src/hooks/useGetTokenTree.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:packages/wallet/src/index.ts",
      "target": "file:packages/wallet/src/hooks/useUpdateWallet.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:packages/wallet/src/index.ts",
      "target": "file:packages/wallet/src/hooks/useActionTokens.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:packages/wallet/src/index.ts",
      "target": "file:packages/wallet/src/types/wallet.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "function:packages/wallet/src/hooks/useActionTokens.ts:useActionTokens",
      "target": "function:packages/wallet/src/api/getActionTokens.ts:getActionTokens",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:packages/wallet/src/hooks/useActionTokens.ts:useActionTokens",
      "target": "function:packages/wallet/src/api/cancelActionToken.ts:cancelActionToken",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:packages/wallet/src/hooks/useCreateWallet.ts:useCreateWallet",
      "target": "function:packages/wallet/src/api/createWallet.ts:createWallet",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:packages/wallet/src/hooks/useGetToken.ts:useGetToken",
      "target": "function:packages/wallet/src/api/getToken.ts:getToken",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:packages/wallet/src/hooks/useGetTokenTransactions.ts:useGetTokenTransactions",
      "target": "function:packages/wallet/src/api/getTokenTransactions.ts:getTokenTransactions",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:packages/wallet/src/hooks/useGetTokenTree.ts:useGetTokenTree",
      "target": "function:packages/wallet/src/api/getTokenTree.ts:getTokenTree",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:packages/wallet/src/hooks/useGetTransfer.ts:useGetTransfer",
      "target": "function:packages/wallet/src/api/getTransfer.ts:getTransfer",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:packages/wallet/src/hooks/useGetTransfer.ts:useGetTransfer",
      "target": "function:packages/wallet/src/api/getTransferTokens.ts:getTransferTokens",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:packages/wallet/src/hooks/useGetTransfers.ts:useGetTransfers",
      "target": "function:packages/wallet/src/api/getTransfers.ts:getTransfers",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:packages/wallet/src/hooks/useGetWallets.ts:useGetWallets",
      "target": "function:packages/wallet/src/api/getWallets.ts:getWallets",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:packages/wallet/src/hooks/useIncomingTransfers.ts:useIncomingTransfers",
      "target": "function:packages/wallet/src/hooks/useGetWallets.ts:useGetWallets",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:packages/wallet/src/hooks/useIncomingTransfers.ts:useIncomingTransfers",
      "target": "function:packages/wallet/src/hooks/usePendingTransfers.ts:usePendingTransfers",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:packages/wallet/src/hooks/usePendingTransfers.ts:usePendingTransfers",
      "target": "function:packages/wallet/src/api/getTransfers.ts:getTransfers",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:packages/wallet/src/hooks/usePendingTransfers.ts:usePendingTransfers",
      "target": "function:packages/wallet/src/api/acceptTransfer.ts:acceptTransfer",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:packages/wallet/src/hooks/usePendingTransfers.ts:usePendingTransfers",
      "target": "function:packages/wallet/src/api/declineTransfer.ts:declineTransfer",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:packages/wallet/src/hooks/usePendingTransfers.ts:usePendingTransfers",
      "target": "function:packages/wallet/src/api/cancelTransfer.ts:cancelTransfer",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:packages/wallet/src/hooks/useSendTransfer.ts:useSendTransfer",
      "target": "function:packages/wallet/src/api/sendTransfer.ts:sendTransfer",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:packages/wallet/src/hooks/useUpdateWallet.ts:useUpdateWallet",
      "target": "function:packages/wallet/src/api/updateWallet.ts:updateWallet",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:packages/wallet/tests/createWallet.spec.e2e.ts",
      "target": "function:packages/wallet/src/api/createWallet.ts:createWallet",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/app/(protected)/layout.tsx",
      "target": "function:apps/web/src/app/(protected)/layout.tsx:ProtectedLayout",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/app/(protected)/layout.tsx",
      "target": "function:apps/web/src/app/(protected)/layout.tsx:ProtectedLayout",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/app/(protected)/notifications/page.tsx",
      "target": "function:apps/web/src/app/(protected)/notifications/page.tsx:Notifications",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/app/(protected)/notifications/page.tsx",
      "target": "function:apps/web/src/app/(protected)/notifications/page.tsx:Notifications",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/app/(protected)/search/page.tsx",
      "target": "function:apps/web/src/app/(protected)/search/page.tsx:SearchContent",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/app/(protected)/search/page.tsx",
      "target": "function:apps/web/src/app/(protected)/search/page.tsx:Search",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/app/(protected)/search/page.tsx",
      "target": "function:apps/web/src/app/(protected)/search/page.tsx:Search",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/app/(protected)/settings/account/page.tsx",
      "target": "function:apps/web/src/app/(protected)/settings/account/page.tsx:Account",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/app/(protected)/settings/account/page.tsx",
      "target": "function:apps/web/src/app/(protected)/settings/account/page.tsx:Account",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/app/(public)/login/page.tsx",
      "target": "function:apps/web/src/app/(public)/login/page.tsx:LoginPage",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/app/(public)/login/page.tsx",
      "target": "function:apps/web/src/app/(public)/login/page.tsx:LoginPage",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/app/(public)/signup/page.tsx",
      "target": "function:apps/web/src/app/(public)/signup/page.tsx:SignUpPage",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/app/(public)/signup/page.tsx",
      "target": "function:apps/web/src/app/(public)/signup/page.tsx:SignUpPage",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/app/auth/callback/page.tsx",
      "target": "function:apps/web/src/app/auth/callback/page.tsx:AuthCallbackPage",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/app/auth/callback/page.tsx",
      "target": "function:apps/web/src/app/auth/callback/page.tsx:AuthCallbackPage",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/app/claim/page.tsx",
      "target": "function:apps/web/src/app/claim/page.tsx:Claim",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/app/claim/page.tsx",
      "target": "function:apps/web/src/app/claim/page.tsx:ClaimPage",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/app/claim/page.tsx",
      "target": "function:apps/web/src/app/claim/page.tsx:ClaimPage",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/app/logout/page.tsx",
      "target": "function:apps/web/src/app/logout/page.tsx:LogoutPage",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/app/logout/page.tsx",
      "target": "function:apps/web/src/app/logout/page.tsx:LogoutPage",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/app/page.tsx",
      "target": "function:apps/web/src/app/page.tsx:Page",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/app/page.tsx",
      "target": "function:apps/web/src/app/page.tsx:Page",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/auth/keycloak.ts",
      "target": "function:apps/web/src/auth/keycloak.ts:getKeycloak",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/auth/keycloak.ts",
      "target": "function:apps/web/src/auth/keycloak.ts:getKeycloak",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/auth/keycloak.ts",
      "target": "function:apps/web/src/auth/keycloak.ts:saveStoredTokens",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/auth/keycloak.ts",
      "target": "function:apps/web/src/auth/keycloak.ts:saveStoredTokens",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/auth/keycloak.ts",
      "target": "function:apps/web/src/auth/keycloak.ts:clearStoredTokens",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/auth/keycloak.ts",
      "target": "function:apps/web/src/auth/keycloak.ts:clearStoredTokens",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/auth/keycloak.ts",
      "target": "function:apps/web/src/auth/keycloak.ts:initKeycloak",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/auth/keycloak.ts",
      "target": "function:apps/web/src/auth/keycloak.ts:initKeycloak",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/auth/keycloak.ts",
      "target": "function:apps/web/src/auth/keycloak.ts:login",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/auth/keycloak.ts",
      "target": "function:apps/web/src/auth/keycloak.ts:login",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/auth/keycloak.ts",
      "target": "function:apps/web/src/auth/keycloak.ts:register",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/auth/keycloak.ts",
      "target": "function:apps/web/src/auth/keycloak.ts:register",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/auth/keycloak.ts",
      "target": "function:apps/web/src/auth/keycloak.ts:logout",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/auth/keycloak.ts",
      "target": "function:apps/web/src/auth/keycloak.ts:logout",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/auth/keycloak.ts",
      "target": "function:apps/web/src/auth/keycloak.ts:accountUrl",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/auth/keycloak.ts",
      "target": "function:apps/web/src/auth/keycloak.ts:accountUrl",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/auth/sessionChannel.ts",
      "target": "function:apps/web/src/auth/sessionChannel.ts:broadcastLogout",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/auth/sessionChannel.ts",
      "target": "function:apps/web/src/auth/sessionChannel.ts:broadcastLogout",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/auth/sessionChannel.ts",
      "target": "function:apps/web/src/auth/sessionChannel.ts:onLogout",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/auth/sessionChannel.ts",
      "target": "function:apps/web/src/auth/sessionChannel.ts:onLogout",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/components/ActivityItem.tsx",
      "target": "function:apps/web/src/components/ActivityItem.tsx:ActivityItem",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/components/ActivityItem.tsx",
      "target": "function:apps/web/src/components/ActivityItem.tsx:ActivityItem",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/cypress/component/ActivityItem.cy.tsx",
      "target": "file:apps/web/src/components/ActivityItem.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/app/(protected)/layout.tsx",
      "target": "file:apps/web/src/auth/sessionChannel.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/app/(protected)/layout.tsx",
      "target": "file:apps/web/src/components/LoadingSpinner.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/app/(protected)/layout.tsx",
      "target": "file:apps/web/src/components/PendingClaimHandler.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/app/(protected)/layout.tsx",
      "target": "file:apps/web/src/components/header/Header.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/app/(protected)/layout.tsx",
      "target": "file:apps/web/src/components/navigation/BottomNavigatorBar.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/app/(protected)/layout.tsx",
      "target": "file:apps/web/src/context/HeaderContext.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/app/(protected)/layout.tsx",
      "target": "file:apps/web/src/context/SnackbarContext.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/app/(protected)/layout.tsx",
      "target": "file:apps/web/src/utils/actionToken.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/app/(protected)/notifications/page.tsx",
      "target": "file:apps/web/src/components/LoadingSpinner.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/app/(protected)/search/page.tsx",
      "target": "file:apps/web/src/components/ActivityItem.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/app/(protected)/search/page.tsx",
      "target": "file:apps/web/src/components/LoadingSpinner.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/app/(protected)/search/page.tsx",
      "target": "file:apps/web/src/components/WalletDetailModal.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/app/(protected)/search/page.tsx",
      "target": "file:apps/web/src/context/HeaderContext.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/app/(protected)/settings/account/page.tsx",
      "target": "file:apps/web/src/auth/keycloak.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/app/(protected)/settings/account/page.tsx",
      "target": "file:apps/web/src/utils/userProfile.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/app/(public)/login/page.tsx",
      "target": "file:apps/web/src/auth/keycloak.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/app/(public)/login/page.tsx",
      "target": "file:apps/web/src/components/LoadingSpinner.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/app/(public)/signup/page.tsx",
      "target": "file:apps/web/src/auth/keycloak.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/app/(public)/signup/page.tsx",
      "target": "file:apps/web/src/components/LoadingSpinner.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/app/auth/callback/page.tsx",
      "target": "file:apps/web/src/components/KeycloakProvider.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/app/auth/callback/page.tsx",
      "target": "file:apps/web/src/components/LoadingSpinner.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/app/claim/page.tsx",
      "target": "file:apps/web/src/utils/actionToken.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/app/logout/page.tsx",
      "target": "file:apps/web/src/auth/keycloak.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/app/logout/page.tsx",
      "target": "file:apps/web/src/auth/sessionChannel.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/app/logout/page.tsx",
      "target": "file:apps/web/src/components/LoadingSpinner.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/app/page.tsx",
      "target": "file:apps/web/src/components/KeycloakProvider.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/app/page.tsx",
      "target": "file:apps/web/src/components/LoadingSpinner.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "function:apps/web/src/app/(protected)/layout.tsx:ProtectedLayout",
      "target": "function:apps/web/src/auth/sessionChannel.ts:onLogout",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/app/(protected)/layout.tsx:ProtectedLayout",
      "target": "function:apps/web/src/utils/actionToken.ts:readPendingActionToken",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/app/(protected)/layout.tsx:ProtectedLayout",
      "target": "function:apps/web/src/components/LoadingSpinner.tsx:LoadingSpinner",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/app/(protected)/layout.tsx:ProtectedLayout",
      "target": "function:apps/web/src/components/header/Header.tsx:Header",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/app/(protected)/layout.tsx:ProtectedLayout",
      "target": "function:apps/web/src/components/navigation/BottomNavigatorBar.tsx:BottomNavigationBar",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/app/(protected)/layout.tsx:ProtectedLayout",
      "target": "function:apps/web/src/context/HeaderContext.tsx:HeaderProvider",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/app/(protected)/layout.tsx:ProtectedLayout",
      "target": "function:apps/web/src/context/SnackbarContext.tsx:SnackbarProvider",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/app/(protected)/layout.tsx:ProtectedLayout",
      "target": "function:apps/web/src/components/PendingClaimHandler.tsx:PendingClaimHandler",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/app/(protected)/notifications/page.tsx:Notifications",
      "target": "function:apps/web/src/components/LoadingSpinner.tsx:LoadingSpinner",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/app/(protected)/search/page.tsx:SearchContent",
      "target": "function:apps/web/src/context/HeaderContext.tsx:useHeader",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/app/(protected)/search/page.tsx:SearchContent",
      "target": "function:apps/web/src/components/ActivityItem.tsx:ActivityItem",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/app/(protected)/search/page.tsx:SearchContent",
      "target": "function:apps/web/src/components/WalletDetailModal.tsx:WalletDetailModal",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/app/(protected)/search/page.tsx:Search",
      "target": "function:apps/web/src/app/(protected)/search/page.tsx:SearchContent",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/app/(protected)/search/page.tsx:Search",
      "target": "function:apps/web/src/components/LoadingSpinner.tsx:LoadingSpinner",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/app/(protected)/settings/account/page.tsx:Account",
      "target": "function:apps/web/src/auth/keycloak.ts:accountUrl",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/app/(protected)/settings/account/page.tsx:Account",
      "target": "function:apps/web/src/utils/userProfile.ts:loadUserProfile",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/app/(protected)/settings/account/page.tsx:Account",
      "target": "function:apps/web/src/utils/userProfile.ts:formatMemberSince",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/app/(public)/login/page.tsx:LoginPage",
      "target": "function:apps/web/src/auth/keycloak.ts:login",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/app/(public)/login/page.tsx:LoginPage",
      "target": "function:apps/web/src/components/LoadingSpinner.tsx:LoadingSpinner",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/app/(public)/signup/page.tsx:SignUpPage",
      "target": "function:apps/web/src/auth/keycloak.ts:register",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/app/(public)/signup/page.tsx:SignUpPage",
      "target": "function:apps/web/src/components/LoadingSpinner.tsx:LoadingSpinner",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/app/auth/callback/page.tsx:AuthCallbackPage",
      "target": "function:apps/web/src/components/KeycloakProvider.tsx:useAuth",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/app/auth/callback/page.tsx:AuthCallbackPage",
      "target": "function:apps/web/src/components/LoadingSpinner.tsx:LoadingSpinner",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/app/claim/page.tsx:Claim",
      "target": "function:apps/web/src/utils/actionToken.ts:savePendingActionToken",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/app/claim/page.tsx:Claim",
      "target": "function:apps/web/src/utils/actionToken.ts:clearPendingActionToken",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/app/claim/page.tsx:ClaimPage",
      "target": "function:apps/web/src/app/claim/page.tsx:Claim",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/app/logout/page.tsx:LogoutPage",
      "target": "function:apps/web/src/auth/keycloak.ts:clearStoredTokens",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/app/logout/page.tsx:LogoutPage",
      "target": "function:apps/web/src/auth/sessionChannel.ts:broadcastLogout",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/app/logout/page.tsx:LogoutPage",
      "target": "function:apps/web/src/auth/keycloak.ts:initKeycloak",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/app/logout/page.tsx:LogoutPage",
      "target": "function:apps/web/src/auth/keycloak.ts:logout",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/app/logout/page.tsx:LogoutPage",
      "target": "function:apps/web/src/components/LoadingSpinner.tsx:LoadingSpinner",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/app/page.tsx:Page",
      "target": "function:apps/web/src/components/KeycloakProvider.tsx:useAuth",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/app/page.tsx:Page",
      "target": "function:apps/web/src/components/LoadingSpinner.tsx:LoadingSpinner",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/auth/keycloak.ts:saveStoredTokens",
      "target": "function:apps/web/src/auth/keycloak.ts:getKeycloak",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/auth/keycloak.ts:initKeycloak",
      "target": "function:apps/web/src/auth/keycloak.ts:getKeycloak",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/auth/keycloak.ts:login",
      "target": "function:apps/web/src/auth/keycloak.ts:getKeycloak",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/auth/keycloak.ts:register",
      "target": "function:apps/web/src/auth/keycloak.ts:getKeycloak",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/auth/keycloak.ts:logout",
      "target": "function:apps/web/src/auth/keycloak.ts:getKeycloak",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/auth/keycloak.ts:accountUrl",
      "target": "function:apps/web/src/auth/keycloak.ts:getKeycloak",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/app/(protected)/search/page.tsx",
      "target": "file:apps/web/src/context/HeaderContext.tsx",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:apps/web/src/app/auth/callback/page.tsx",
      "target": "file:apps/web/src/components/KeycloakProvider.tsx",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:apps/web/src/app/page.tsx",
      "target": "file:apps/web/src/components/KeycloakProvider.tsx",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:apps/web/src/components/KeycloakProvider.tsx",
      "target": "function:apps/web/src/components/KeycloakProvider.tsx:useAuth",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/components/KeycloakProvider.tsx",
      "target": "function:apps/web/src/components/KeycloakProvider.tsx:useAuth",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/components/KeycloakProvider.tsx",
      "target": "function:apps/web/src/components/KeycloakProvider.tsx:KeycloakProvider",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/components/KeycloakProvider.tsx",
      "target": "function:apps/web/src/components/KeycloakProvider.tsx:KeycloakProvider",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/components/LoadingSpinner.tsx",
      "target": "function:apps/web/src/components/LoadingSpinner.tsx:LoadingSpinner",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/components/LoadingSpinner.tsx",
      "target": "function:apps/web/src/components/LoadingSpinner.tsx:LoadingSpinner",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/components/PendingClaimHandler.tsx",
      "target": "function:apps/web/src/components/PendingClaimHandler.tsx:PendingClaimHandler",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/components/PendingClaimHandler.tsx",
      "target": "function:apps/web/src/components/PendingClaimHandler.tsx:PendingClaimHandler",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/components/WalletDetailModal.tsx",
      "target": "function:apps/web/src/components/WalletDetailModal.tsx:WalletList",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/components/WalletDetailModal.tsx",
      "target": "function:apps/web/src/components/WalletDetailModal.tsx:ActionButton",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/components/WalletDetailModal.tsx",
      "target": "function:apps/web/src/components/WalletDetailModal.tsx:TransactionActionButton",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/components/WalletDetailModal.tsx",
      "target": "function:apps/web/src/components/WalletDetailModal.tsx:Keypad",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/components/WalletDetailModal.tsx",
      "target": "function:apps/web/src/components/WalletDetailModal.tsx:WalletDetailModal",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/components/WalletDetailModal.tsx",
      "target": "function:apps/web/src/components/WalletDetailModal.tsx:WalletDetailModal",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/components/header/Header.tsx",
      "target": "function:apps/web/src/components/header/Header.tsx:DefaultHeaderView",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/components/header/Header.tsx",
      "target": "function:apps/web/src/components/header/Header.tsx:ExpandedSearchView",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/components/header/Header.tsx",
      "target": "function:apps/web/src/components/header/Header.tsx:Header",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/components/header/Header.tsx",
      "target": "function:apps/web/src/components/header/Header.tsx:Header",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/components/header/HeaderLogo.tsx",
      "target": "function:apps/web/src/components/header/HeaderLogo.tsx:HeaderLogo",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/components/header/HeaderLogo.tsx",
      "target": "function:apps/web/src/components/header/HeaderLogo.tsx:HeaderLogo",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/components/header/HeaderSearch.tsx",
      "target": "function:apps/web/src/components/header/HeaderSearch.tsx:HeaderSearch",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/components/header/HeaderSearch.tsx",
      "target": "function:apps/web/src/components/header/HeaderSearch.tsx:HeaderSearch",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/components/header/NotificationHeader.tsx",
      "target": "function:apps/web/src/components/header/NotificationHeader.tsx:NotificationHeader",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/components/header/NotificationHeader.tsx",
      "target": "function:apps/web/src/components/header/NotificationHeader.tsx:NotificationHeader",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/components/navigation/BottomNavigatorBar.tsx",
      "target": "function:apps/web/src/components/navigation/BottomNavigatorBar.tsx:BottomNavigationBar",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/components/navigation/BottomNavigatorBar.tsx",
      "target": "function:apps/web/src/components/navigation/BottomNavigatorBar.tsx:BottomNavigationBar",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/context/HeaderContext.tsx",
      "target": "function:apps/web/src/context/HeaderContext.tsx:HeaderProvider",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/context/HeaderContext.tsx",
      "target": "function:apps/web/src/context/HeaderContext.tsx:HeaderProvider",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/context/HeaderContext.tsx",
      "target": "function:apps/web/src/context/HeaderContext.tsx:useHeader",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/context/HeaderContext.tsx",
      "target": "function:apps/web/src/context/HeaderContext.tsx:useHeader",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/utils/actionToken.ts",
      "target": "function:apps/web/src/utils/actionToken.ts:savePendingActionToken",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/utils/actionToken.ts",
      "target": "function:apps/web/src/utils/actionToken.ts:savePendingActionToken",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/utils/actionToken.ts",
      "target": "function:apps/web/src/utils/actionToken.ts:readPendingActionToken",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/utils/actionToken.ts",
      "target": "function:apps/web/src/utils/actionToken.ts:readPendingActionToken",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/utils/actionToken.ts",
      "target": "function:apps/web/src/utils/actionToken.ts:clearPendingActionToken",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/utils/actionToken.ts",
      "target": "function:apps/web/src/utils/actionToken.ts:clearPendingActionToken",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/utils/claimPendingToken.ts",
      "target": "function:apps/web/src/utils/claimPendingToken.ts:claimPendingToken",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/utils/claimPendingToken.ts",
      "target": "function:apps/web/src/utils/claimPendingToken.ts:claimPendingToken",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/utils/userProfile.ts",
      "target": "function:apps/web/src/utils/userProfile.ts:fromUserApi",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/utils/userProfile.ts",
      "target": "function:apps/web/src/utils/userProfile.ts:fromKeycloak",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/utils/userProfile.ts",
      "target": "function:apps/web/src/utils/userProfile.ts:loadUserProfile",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/utils/userProfile.ts",
      "target": "function:apps/web/src/utils/userProfile.ts:loadUserProfile",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/utils/userProfile.ts",
      "target": "function:apps/web/src/utils/userProfile.ts:formatMemberSince",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/utils/userProfile.ts",
      "target": "function:apps/web/src/utils/userProfile.ts:formatMemberSince",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/components/KeycloakProvider.tsx",
      "target": "file:apps/web/src/auth/keycloak.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/components/KeycloakProvider.tsx",
      "target": "file:apps/web/src/components/LoadingSpinner.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/components/PendingClaimHandler.tsx",
      "target": "file:apps/web/src/utils/claimPendingToken.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/components/header/Header.tsx",
      "target": "file:apps/web/src/components/header/HeaderLogo.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/components/header/Header.tsx",
      "target": "file:apps/web/src/components/header/HeaderSearch.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/components/header/Header.tsx",
      "target": "file:apps/web/src/components/header/NotificationHeader.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/components/header/Header.tsx",
      "target": "file:apps/web/src/context/HeaderContext.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/components/header/HeaderSearch.tsx",
      "target": "file:apps/web/src/context/HeaderContext.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/utils/claimPendingToken.ts",
      "target": "file:apps/web/src/utils/actionToken.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "function:apps/web/src/components/KeycloakProvider.tsx:KeycloakProvider",
      "target": "function:apps/web/src/auth/keycloak.ts:getKeycloak",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/components/KeycloakProvider.tsx:KeycloakProvider",
      "target": "function:apps/web/src/auth/keycloak.ts:initKeycloak",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/components/KeycloakProvider.tsx:KeycloakProvider",
      "target": "function:apps/web/src/auth/keycloak.ts:saveStoredTokens",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/components/KeycloakProvider.tsx:KeycloakProvider",
      "target": "function:apps/web/src/auth/keycloak.ts:clearStoredTokens",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/components/KeycloakProvider.tsx:KeycloakProvider",
      "target": "function:apps/web/src/components/LoadingSpinner.tsx:LoadingSpinner",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/components/PendingClaimHandler.tsx:PendingClaimHandler",
      "target": "function:apps/web/src/utils/claimPendingToken.ts:claimPendingToken",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/components/WalletDetailModal.tsx:WalletDetailModal",
      "target": "function:apps/web/src/components/WalletDetailModal.tsx:WalletList",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/components/WalletDetailModal.tsx:WalletDetailModal",
      "target": "function:apps/web/src/components/WalletDetailModal.tsx:TransactionActionButton",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/components/WalletDetailModal.tsx:WalletDetailModal",
      "target": "function:apps/web/src/components/WalletDetailModal.tsx:ActionButton",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/components/WalletDetailModal.tsx:WalletDetailModal",
      "target": "function:apps/web/src/components/WalletDetailModal.tsx:Keypad",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/components/WalletDetailModal.tsx:TransactionActionButton",
      "target": "function:apps/web/src/components/WalletDetailModal.tsx:ActionButton",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/components/header/Header.tsx:Header",
      "target": "function:apps/web/src/context/HeaderContext.tsx:useHeader",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/components/header/Header.tsx:Header",
      "target": "function:apps/web/src/components/header/NotificationHeader.tsx:NotificationHeader",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/components/header/Header.tsx:Header",
      "target": "function:apps/web/src/components/header/Header.tsx:ExpandedSearchView",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/components/header/Header.tsx:Header",
      "target": "function:apps/web/src/components/header/Header.tsx:DefaultHeaderView",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/components/header/Header.tsx:DefaultHeaderView",
      "target": "function:apps/web/src/components/header/HeaderLogo.tsx:HeaderLogo",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/components/header/Header.tsx:ExpandedSearchView",
      "target": "function:apps/web/src/components/header/HeaderSearch.tsx:HeaderSearch",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/components/header/HeaderSearch.tsx:HeaderSearch",
      "target": "function:apps/web/src/context/HeaderContext.tsx:useHeader",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/utils/claimPendingToken.ts:claimPendingToken",
      "target": "function:apps/web/src/utils/actionToken.ts:readPendingActionToken",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/utils/claimPendingToken.ts:claimPendingToken",
      "target": "function:apps/web/src/utils/actionToken.ts:clearPendingActionToken",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/utils/userProfile.ts:loadUserProfile",
      "target": "function:apps/web/src/utils/userProfile.ts:fromUserApi",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/utils/userProfile.ts:loadUserProfile",
      "target": "function:apps/web/src/utils/userProfile.ts:fromKeycloak",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/components/header/Header.tsx",
      "target": "file:apps/web/src/context/HeaderContext.tsx",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:apps/web/src/components/header/HeaderSearch.tsx",
      "target": "file:apps/web/src/context/HeaderContext.tsx",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:apps/native/app/(tabs)/home/_layout.tsx",
      "target": "function:apps/native/app/(tabs)/home/_layout.tsx:HomeLayout",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/app/(tabs)/home/_layout.tsx",
      "target": "function:apps/native/app/(tabs)/home/_layout.tsx:HomeLayout",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/app/(tabs)/home/index.tsx",
      "target": "function:apps/native/app/(tabs)/home/index.tsx:Home",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/app/(tabs)/home/index.tsx",
      "target": "function:apps/native/app/(tabs)/home/index.tsx:Home",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/app/(tabs)/home/index.tsx",
      "target": "function:apps/native/app/(tabs)/home/index.tsx:BalanceCard",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/app/(tabs)/search/_layout.tsx",
      "target": "function:apps/native/app/(tabs)/search/_layout.tsx:SearchLayout",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/app/(tabs)/search/_layout.tsx",
      "target": "function:apps/native/app/(tabs)/search/_layout.tsx:SearchLayout",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/app/(tabs)/search/index.tsx",
      "target": "function:apps/native/app/(tabs)/search/index.tsx:Search",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/app/(tabs)/search/index.tsx",
      "target": "function:apps/native/app/(tabs)/search/index.tsx:Search",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/app/onboarding/index.tsx",
      "target": "function:apps/native/app/onboarding/index.tsx:OnboardingScreen",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/app/onboarding/index.tsx",
      "target": "function:apps/native/app/onboarding/index.tsx:OnboardingScreen",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/app/scancode.tsx",
      "target": "function:apps/native/app/scancode.tsx:getStringValue",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/app/scancode.tsx",
      "target": "function:apps/native/app/scancode.tsx:parseQrPayload",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/app/scancode.tsx",
      "target": "function:apps/native/app/scancode.tsx:ScanCodeScreen",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/app/scancode.tsx",
      "target": "function:apps/native/app/scancode.tsx:ScanCodeScreen",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/app/transfer/entry.tsx",
      "target": "function:apps/native/app/transfer/entry.tsx:TransferEntryScreen",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/app/transfer/entry.tsx",
      "target": "function:apps/native/app/transfer/entry.tsx:TransferEntryScreen",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/app/transfer/index.tsx",
      "target": "function:apps/native/app/transfer/index.tsx:TransferRecipientScreen",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/app/transfer/index.tsx",
      "target": "function:apps/native/app/transfer/index.tsx:TransferRecipientScreen",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/app/transfer/notification.tsx",
      "target": "function:apps/native/app/transfer/notification.tsx:TransferNotificationScreen",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/app/transfer/notification.tsx",
      "target": "function:apps/native/app/transfer/notification.tsx:TransferNotificationScreen",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/components/HeaderSearch.tsx",
      "target": "function:apps/native/components/HeaderSearch.tsx:HeaderSearch",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/components/HeaderSearch.tsx",
      "target": "function:apps/native/components/HeaderSearch.tsx:HeaderSearch",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/components/svg/Cloud.tsx",
      "target": "function:apps/native/components/svg/Cloud.tsx:Cloud",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/components/svg/Cloud.tsx",
      "target": "function:apps/native/components/svg/Cloud.tsx:Cloud",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/components/svg/Leaf.tsx",
      "target": "function:apps/native/components/svg/Leaf.tsx:Leaft",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/components/svg/Leaf.tsx",
      "target": "function:apps/native/components/svg/Leaf.tsx:Leaft",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/components/svg/wallet.tsx",
      "target": "function:apps/native/components/svg/wallet.tsx:Wallet",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/components/svg/wallet.tsx",
      "target": "function:apps/native/components/svg/wallet.tsx:Wallet",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/app/(tabs)/home/_layout.tsx",
      "target": "file:apps/native/components/HeaderSearch.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/app/(tabs)/home/index.tsx",
      "target": "file:apps/native/components/ui/QRCodeDisplay.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/app/(tabs)/home/index.tsx",
      "target": "file:apps/native/components/ui/SearchResults.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/app/(tabs)/home/index.tsx",
      "target": "file:apps/native/components/ui/WalletItem.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/app/(tabs)/home/index.tsx",
      "target": "file:apps/native/components/ui/WalletSummary.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/app/(tabs)/home/index.tsx",
      "target": "file:apps/native/components/ui/common/Heading.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/app/(tabs)/home/index.tsx",
      "target": "file:apps/native/data/data.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/app/(tabs)/home/index.tsx",
      "target": "file:apps/native/theme/index.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/app/(tabs)/search/_layout.tsx",
      "target": "file:apps/native/components/HeaderSearch.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/app/(tabs)/search/index.tsx",
      "target": "file:apps/native/components/ui/QRCodeDisplay.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/app/(tabs)/search/index.tsx",
      "target": "file:apps/native/components/ui/SearchResults.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/app/(tabs)/search/index.tsx",
      "target": "file:apps/native/components/ui/common/Heading.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/app/(tabs)/search/index.tsx",
      "target": "file:apps/native/theme/index.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/app/onboarding/index.tsx",
      "target": "file:apps/native/components/svg/Cloud.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/app/onboarding/index.tsx",
      "target": "file:apps/native/components/svg/Leaf.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/app/onboarding/index.tsx",
      "target": "file:apps/native/components/svg/wallet.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/app/onboarding/index.tsx",
      "target": "file:apps/native/components/ui/common/CustomButton.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/app/scancode.tsx",
      "target": "file:apps/native/theme/index.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/app/transfer/entry.tsx",
      "target": "file:apps/native/components/HeaderSearch.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/app/transfer/entry.tsx",
      "target": "file:apps/native/components/ui/common/Avatar.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/app/transfer/entry.tsx",
      "target": "file:apps/native/components/ui/common/CustomButton.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/app/transfer/entry.tsx",
      "target": "file:apps/native/theme/index.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/app/transfer/index.tsx",
      "target": "file:apps/native/components/HeaderSearch.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/app/transfer/index.tsx",
      "target": "file:apps/native/components/ui/QRCodeDisplay.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/app/transfer/index.tsx",
      "target": "file:apps/native/components/ui/SearchResults.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/app/transfer/index.tsx",
      "target": "file:apps/native/components/ui/common/Heading.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/app/transfer/index.tsx",
      "target": "file:apps/native/theme/index.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/app/transfer/notification.tsx",
      "target": "file:apps/native/components/HeaderSearch.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/app/transfer/notification.tsx",
      "target": "file:apps/native/components/ui/common/CustomButton.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/app/transfer/notification.tsx",
      "target": "file:apps/native/theme/index.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/components/HeaderSearch.tsx",
      "target": "file:apps/native/theme/index.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/components/HeaderSearch.tsx",
      "target": "file:apps/native/utils/dimensions.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "function:apps/native/app/(tabs)/home/_layout.tsx:HomeLayout",
      "target": "function:apps/native/components/HeaderSearch.tsx:HeaderSearch",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/app/(tabs)/search/_layout.tsx:SearchLayout",
      "target": "function:apps/native/components/HeaderSearch.tsx:HeaderSearch",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/app/(tabs)/home/index.tsx:Home",
      "target": "function:apps/native/app/(tabs)/home/index.tsx:BalanceCard",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/app/(tabs)/home/index.tsx:Home",
      "target": "function:apps/native/components/ui/QRCodeDisplay.tsx:QRCodeDisplay",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/app/(tabs)/home/index.tsx:Home",
      "target": "function:apps/native/components/ui/common/Heading.tsx:Heading",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/app/(tabs)/home/index.tsx:Home",
      "target": "function:apps/native/components/ui/SearchResults.tsx:SearchResults",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/app/(tabs)/home/index.tsx:Home",
      "target": "function:apps/native/components/ui/WalletItem.tsx:WalletItem",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/app/(tabs)/home/index.tsx:BalanceCard",
      "target": "function:apps/native/components/ui/WalletSummary.tsx:WalletSummary",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/app/(tabs)/search/index.tsx:Search",
      "target": "function:apps/native/components/ui/QRCodeDisplay.tsx:QRCodeDisplay",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/app/(tabs)/search/index.tsx:Search",
      "target": "function:apps/native/components/ui/common/Heading.tsx:Heading",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/app/(tabs)/search/index.tsx:Search",
      "target": "function:apps/native/components/ui/SearchResults.tsx:SearchResults",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/app/onboarding/index.tsx:OnboardingScreen",
      "target": "function:apps/native/components/ui/common/CustomButton.tsx:CustomButton",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/app/onboarding/index.tsx:OnboardingScreen",
      "target": "function:apps/native/components/svg/Leaf.tsx:Leaft",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/app/onboarding/index.tsx:OnboardingScreen",
      "target": "function:apps/native/components/svg/wallet.tsx:Wallet",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/app/onboarding/index.tsx:OnboardingScreen",
      "target": "function:apps/native/components/svg/Cloud.tsx:Cloud",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/app/scancode.tsx:parseQrPayload",
      "target": "function:apps/native/app/scancode.tsx:getStringValue",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/app/scancode.tsx:ScanCodeScreen",
      "target": "function:apps/native/app/scancode.tsx:parseQrPayload",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/app/transfer/entry.tsx:TransferEntryScreen",
      "target": "function:apps/native/components/HeaderSearch.tsx:HeaderSearch",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/app/transfer/entry.tsx:TransferEntryScreen",
      "target": "function:apps/native/components/ui/common/Avatar.tsx:Avatar",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/app/transfer/entry.tsx:TransferEntryScreen",
      "target": "function:apps/native/components/ui/common/CustomButton.tsx:CustomButton",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/app/transfer/index.tsx:TransferRecipientScreen",
      "target": "function:apps/native/components/HeaderSearch.tsx:HeaderSearch",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/app/transfer/index.tsx:TransferRecipientScreen",
      "target": "function:apps/native/components/ui/QRCodeDisplay.tsx:QRCodeDisplay",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/app/transfer/index.tsx:TransferRecipientScreen",
      "target": "function:apps/native/components/ui/common/Heading.tsx:Heading",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/app/transfer/index.tsx:TransferRecipientScreen",
      "target": "function:apps/native/components/ui/SearchResults.tsx:SearchResults",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/app/transfer/notification.tsx:TransferNotificationScreen",
      "target": "function:apps/native/components/HeaderSearch.tsx:HeaderSearch",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/app/transfer/notification.tsx:TransferNotificationScreen",
      "target": "function:apps/native/components/ui/common/CustomButton.tsx:CustomButton",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/components/ui/QRCodeDisplay.tsx",
      "target": "function:apps/native/components/ui/QRCodeDisplay.tsx:QRCodeDisplay",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/components/ui/QRCodeDisplay.tsx",
      "target": "function:apps/native/components/ui/QRCodeDisplay.tsx:QRCodeDisplay",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/components/ui/SearchResultItem.tsx",
      "target": "function:apps/native/components/ui/SearchResultItem.tsx:SearchResultItem",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/components/ui/SearchResultItem.tsx",
      "target": "function:apps/native/components/ui/SearchResultItem.tsx:SearchResultItem",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/components/ui/SearchResults.tsx",
      "target": "function:apps/native/components/ui/SearchResults.tsx:SearchResults",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/components/ui/SearchResults.tsx",
      "target": "function:apps/native/components/ui/SearchResults.tsx:SearchResults",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/components/ui/WalletItem.tsx",
      "target": "function:apps/native/components/ui/WalletItem.tsx:WalletItem",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/components/ui/WalletItem.tsx",
      "target": "function:apps/native/components/ui/WalletItem.tsx:WalletItem",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/components/ui/WalletSummary.tsx",
      "target": "function:apps/native/components/ui/WalletSummary.tsx:WalletSummary",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/components/ui/WalletSummary.tsx",
      "target": "function:apps/native/components/ui/WalletSummary.tsx:WalletSummary",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/components/ui/common/Avatar.tsx",
      "target": "function:apps/native/components/ui/common/Avatar.tsx:Avatar",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/components/ui/common/Avatar.tsx",
      "target": "function:apps/native/components/ui/common/Avatar.tsx:Avatar",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/components/ui/common/CustomButton.tsx",
      "target": "function:apps/native/components/ui/common/CustomButton.tsx:CustomButton",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/components/ui/common/CustomButton.tsx",
      "target": "function:apps/native/components/ui/common/CustomButton.tsx:CustomButton",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/components/ui/common/EmptyState.tsx",
      "target": "function:apps/native/components/ui/common/EmptyState.tsx:EmptyState",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/components/ui/common/EmptyState.tsx",
      "target": "function:apps/native/components/ui/common/EmptyState.tsx:EmptyState",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/components/ui/common/Heading.tsx",
      "target": "function:apps/native/components/ui/common/Heading.tsx:Heading",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/components/ui/common/Heading.tsx",
      "target": "function:apps/native/components/ui/common/Heading.tsx:Heading",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/theme/index.ts",
      "target": "function:apps/native/theme/index.ts:scaleSize",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/theme/index.ts",
      "target": "function:apps/native/theme/index.ts:scaleSize",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/utils/getInitials.ts",
      "target": "function:apps/native/utils/getInitials.ts:getInitials",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/utils/getInitials.ts",
      "target": "function:apps/native/utils/getInitials.ts:getInitials",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/components/ui/QRCodeDisplay.tsx",
      "target": "file:apps/native/components/ui/common/Avatar.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/components/ui/QRCodeDisplay.tsx",
      "target": "file:apps/native/theme/index.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/components/ui/SearchResultItem.tsx",
      "target": "file:apps/native/components/ui/common/Avatar.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/components/ui/SearchResultItem.tsx",
      "target": "file:apps/native/theme/index.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/components/ui/SearchResults.tsx",
      "target": "file:apps/native/components/ui/SearchResultItem.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/components/ui/SearchResults.tsx",
      "target": "file:apps/native/components/ui/common/EmptyState.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/components/ui/WalletItem.tsx",
      "target": "file:apps/native/theme/index.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/components/ui/WalletSummary.tsx",
      "target": "file:apps/native/theme/index.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/components/ui/WalletSummary.tsx",
      "target": "file:apps/native/utils/dimensions.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/components/ui/common/Avatar.tsx",
      "target": "file:apps/native/theme/index.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/components/ui/common/Avatar.tsx",
      "target": "file:apps/native/utils/getInitials.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/components/ui/common/EmptyState.tsx",
      "target": "file:apps/native/theme/index.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/theme/index.ts",
      "target": "file:apps/native/utils/dimensions.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "function:apps/native/components/ui/QRCodeDisplay.tsx:QRCodeDisplay",
      "target": "function:apps/native/components/ui/common/Avatar.tsx:Avatar",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/components/ui/SearchResultItem.tsx:SearchResultItem",
      "target": "function:apps/native/components/ui/common/Avatar.tsx:Avatar",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/components/ui/SearchResults.tsx:SearchResults",
      "target": "function:apps/native/components/ui/SearchResultItem.tsx:SearchResultItem",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/components/ui/SearchResults.tsx:SearchResults",
      "target": "function:apps/native/components/ui/common/EmptyState.tsx:EmptyState",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/components/ui/common/Avatar.tsx:Avatar",
      "target": "function:apps/native/utils/getInitials.ts:getInitials",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/user/libs/utils/swagger.ts",
      "target": "function:apps/user/libs/utils/swagger.ts:setupSwagger",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/user/libs/utils/swagger.ts",
      "target": "function:apps/user/libs/utils/swagger.ts:setupSwagger",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/user/libs/validation/dtos/login-user.dto.ts",
      "target": "class:apps/user/libs/validation/dtos/login-user.dto.ts:LoginUserDto",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/user/libs/validation/dtos/login-user.dto.ts",
      "target": "class:apps/user/libs/validation/dtos/login-user.dto.ts:LoginUserDto",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/user/libs/validation/dtos/register-user.dto.ts",
      "target": "class:apps/user/libs/validation/dtos/register-user.dto.ts:RegisterUserDto",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/user/libs/validation/dtos/register-user.dto.ts",
      "target": "class:apps/user/libs/validation/dtos/register-user.dto.ts:RegisterUserDto",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/user/src/app.module.ts",
      "target": "class:apps/user/src/app.module.ts:AppModule",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/user/src/app.module.ts",
      "target": "class:apps/user/src/app.module.ts:AppModule",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/user/src/auth/auth.module.ts",
      "target": "class:apps/user/src/auth/auth.module.ts:AuthModule",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/user/src/auth/auth.module.ts",
      "target": "class:apps/user/src/auth/auth.module.ts:AuthModule",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/user/src/auth/auth.service.ts",
      "target": "class:apps/user/src/auth/auth.service.ts:AuthService",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/user/src/auth/auth.service.ts",
      "target": "class:apps/user/src/auth/auth.service.ts:AuthService",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/user/src/auth/auth.service.ts",
      "target": "function:apps/user/src/auth/auth.service.ts:fetchTokenFromKeycloak",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/user/src/main.ts",
      "target": "function:apps/user/src/main.ts:bootstrap",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/user/src/queue-listener/helpers/onQueueNotification.ts",
      "target": "function:apps/user/src/queue-listener/helpers/onQueueNotification.ts:onQueueNotification",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/user/src/queue-listener/helpers/onQueueNotification.ts",
      "target": "function:apps/user/src/queue-listener/helpers/onQueueNotification.ts:onQueueNotification",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/user/src/queue-listener/queue-listener.module.ts",
      "target": "class:apps/user/src/queue-listener/queue-listener.module.ts:QueueModule",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/user/src/queue-listener/queue-listener.module.ts",
      "target": "class:apps/user/src/queue-listener/queue-listener.module.ts:QueueModule",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/user/src/queue-listener/queue-listener.service.ts",
      "target": "class:apps/user/src/queue-listener/queue-listener.service.ts:QueueListenerService",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/user/src/queue-listener/queue-listener.service.ts",
      "target": "class:apps/user/src/queue-listener/queue-listener.service.ts:QueueListenerService",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/user/src/queue-listener/queue-listener.service.ts",
      "target": "function:apps/user/src/queue-listener/queue-listener.service.ts:transferToken",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/user/src/queue-listener/queue-listener.service.ts",
      "target": "function:apps/user/src/queue-listener/queue-listener.service.ts:sendToWalletApi",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/user/src/user/user.controller.ts",
      "target": "class:apps/user/src/user/user.controller.ts:UserController",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/user/src/user/user.controller.ts",
      "target": "class:apps/user/src/user/user.controller.ts:UserController",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/user/src/user/user.module.ts",
      "target": "class:apps/user/src/user/user.module.ts:UserModule",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/user/src/user/user.module.ts",
      "target": "class:apps/user/src/user/user.module.ts:UserModule",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/user/src/user/user.service.ts",
      "target": "class:apps/user/src/user/user.service.ts:UserService",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/user/src/user/user.service.ts",
      "target": "class:apps/user/src/user/user.service.ts:UserService",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/user/src/user/user.service.ts",
      "target": "function:apps/user/src/user/user.service.ts:loginUser",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/user/src/user/user.service.ts",
      "target": "function:apps/user/src/user/user.service.ts:createUser",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/user/src/user/user.service.ts",
      "target": "function:apps/user/src/user/user.service.ts:getMe",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:packages/queue/ack.js",
      "target": "function:packages/queue/ack.js:ack",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:packages/queue/ack.js",
      "target": "function:packages/queue/ack.js:ack",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:packages/queue/publish.js",
      "target": "function:packages/queue/publish.js:publish",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:packages/queue/publish.js",
      "target": "function:packages/queue/publish.js:publish",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:packages/queue/subscribe.js",
      "target": "function:packages/queue/subscribe.js:subscribe",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:packages/queue/subscribe.js",
      "target": "function:packages/queue/subscribe.js:subscribe",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:packages/queue/index.js",
      "target": "function:packages/queue/subscribe.js:subscribe",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:packages/queue/index.js",
      "target": "function:packages/queue/publish.js:publish",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/user/src/app.module.ts",
      "target": "file:apps/user/src/auth/auth.module.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/user/src/app.module.ts",
      "target": "file:apps/user/src/auth/auth.service.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/user/src/app.module.ts",
      "target": "file:apps/user/src/queue-listener/queue-listener.module.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/user/src/app.module.ts",
      "target": "file:apps/user/src/queue-listener/queue-listener.service.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/user/src/app.module.ts",
      "target": "file:apps/user/src/user/user.controller.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/user/src/app.module.ts",
      "target": "file:apps/user/src/user/user.module.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/user/src/app.module.ts",
      "target": "file:apps/user/src/user/user.service.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/user/src/auth/auth.module.ts",
      "target": "file:apps/user/src/auth/auth.service.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/user/src/auth/auth.spec.int.ts",
      "target": "file:apps/user/src/auth/auth.service.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/user/src/main.ts",
      "target": "file:apps/user/libs/utils/swagger.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/user/src/main.ts",
      "target": "file:apps/user/src/app.module.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/user/src/queue-listener/helpers/onQueueNotification.ts",
      "target": "file:packages/queue/pgClient.js",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/user/src/queue-listener/helpers/onQueueNotification.ts",
      "target": "file:packages/queue/subscribe.js",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/user/src/queue-listener/queue-listener.module.ts",
      "target": "file:apps/user/src/auth/auth.module.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/user/src/queue-listener/queue-listener.module.ts",
      "target": "file:apps/user/src/queue-listener/queue-listener.service.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/user/src/queue-listener/queue-listener.service.ts",
      "target": "file:apps/user/src/auth/auth.service.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/user/src/queue-listener/queue-listener.service.ts",
      "target": "file:apps/user/src/queue-listener/helpers/onQueueNotification.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/user/src/queue-listener/queue-listener.spec.int.ts",
      "target": "file:apps/user/src/auth/auth.service.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/user/src/queue-listener/queue-listener.spec.int.ts",
      "target": "file:apps/user/src/queue-listener/helpers/onQueueNotification.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/user/src/queue-listener/queue-listener.spec.int.ts",
      "target": "file:apps/user/src/queue-listener/queue-listener.service.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/user/src/user/user.controller.spec.int.ts",
      "target": "file:apps/user/src/auth/auth.service.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/user/src/user/user.controller.spec.int.ts",
      "target": "file:apps/user/src/user/user.module.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/user/src/user/user.controller.spec.int.ts",
      "target": "file:apps/user/src/user/user.service.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/user/src/user/user.controller.spec.ts",
      "target": "file:apps/user/libs/validation/dtos/register-user.dto.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/user/src/user/user.controller.spec.ts",
      "target": "file:apps/user/src/user/user.controller.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/user/src/user/user.controller.spec.ts",
      "target": "file:apps/user/src/user/user.service.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/user/src/user/user.controller.ts",
      "target": "file:apps/user/libs/validation/dtos/login-user.dto.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/user/src/user/user.controller.ts",
      "target": "file:apps/user/libs/validation/dtos/register-user.dto.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/user/src/user/user.controller.ts",
      "target": "file:apps/user/src/user/user.service.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/user/src/user/user.module.ts",
      "target": "file:apps/user/src/auth/auth.module.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/user/src/user/user.module.ts",
      "target": "file:apps/user/src/user/user.controller.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/user/src/user/user.module.ts",
      "target": "file:apps/user/src/user/user.service.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/user/src/user/user.service.ts",
      "target": "file:apps/user/libs/validation/dtos/login-user.dto.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/user/src/user/user.service.ts",
      "target": "file:apps/user/libs/validation/dtos/register-user.dto.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/user/src/user/user.service.ts",
      "target": "file:apps/user/src/auth/auth.service.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/user/tests/api.spec.e2e.ts",
      "target": "file:apps/user/src/app.module.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/queue/__tests__/index.spec.js",
      "target": "file:packages/queue/pgClient.js",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/queue/__tests__/index.spec.js",
      "target": "file:packages/queue/publish.js",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/queue/__tests__/index.spec.js",
      "target": "file:packages/queue/subscribe.js",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/queue/index.js",
      "target": "file:packages/queue/publish.js",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/queue/index.js",
      "target": "file:packages/queue/subscribe.js",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/queue/subscribe.js",
      "target": "file:packages/queue/ack.js",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "function:apps/user/src/main.ts:bootstrap",
      "target": "function:apps/user/libs/utils/swagger.ts:setupSwagger",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/user/src/queue-listener/helpers/onQueueNotification.ts:onQueueNotification",
      "target": "function:packages/queue/subscribe.js:subscribe",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:packages/queue/subscribe.js:subscribe",
      "target": "function:packages/queue/ack.js:ack",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "class:apps/user/src/queue-listener/queue-listener.service.ts:QueueListenerService",
      "target": "function:apps/user/src/queue-listener/helpers/onQueueNotification.ts:onQueueNotification",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/user/src/queue-listener/queue-listener.service.ts:sendToWalletApi",
      "target": "function:apps/user/src/queue-listener/queue-listener.service.ts:transferToken",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "class:apps/user/src/user/user.controller.ts:UserController",
      "target": "function:apps/user/src/user/user.service.ts:loginUser",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "class:apps/user/src/user/user.controller.ts:UserController",
      "target": "function:apps/user/src/user/user.service.ts:createUser",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "class:apps/user/src/user/user.controller.ts:UserController",
      "target": "function:apps/user/src/user/user.service.ts:getMe",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/user/src/user/user.controller.ts",
      "target": "file:apps/user/src/user/user.controller.spec.ts",
      "type": "tested_by",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "file:apps/user/libs/validation/dtos/register-user.dto.ts",
      "target": "file:apps/user/src/user/user.controller.spec.ts",
      "type": "tested_by",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "file:packages/queue/subscribe.js",
      "target": "file:packages/queue/__tests__/index.spec.js",
      "type": "tested_by",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "file:packages/queue/publish.js",
      "target": "file:packages/queue/__tests__/index.spec.js",
      "type": "tested_by",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "file:packages/queue/pgClient.js",
      "target": "file:packages/queue/__tests__/index.spec.js",
      "type": "tested_by",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "file:packages/queue/ack.js",
      "target": "file:packages/queue/__tests__/index.spec.js",
      "type": "tested_by",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "file:apps/native/app/(auth)/checkEmail.tsx",
      "target": "function:apps/native/app/(auth)/checkEmail.tsx:CheckEmailScreen",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/app/(auth)/checkEmail.tsx",
      "target": "function:apps/native/app/(auth)/checkEmail.tsx:CheckEmailScreen",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/app/(auth)/forgotPassword.tsx",
      "target": "function:apps/native/app/(auth)/forgotPassword.tsx:ForgotPasswordScreen",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/app/(auth)/forgotPassword.tsx",
      "target": "function:apps/native/app/(auth)/forgotPassword.tsx:ForgotPasswordScreen",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/app/(auth)/login.tsx",
      "target": "function:apps/native/app/(auth)/login.tsx:LoginScreen",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/app/(auth)/login.tsx",
      "target": "function:apps/native/app/(auth)/login.tsx:LoginScreen",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/app/(tabs)/settings/index.tsx",
      "target": "function:apps/native/app/(tabs)/settings/index.tsx:SettingsItem",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/app/(tabs)/settings/index.tsx",
      "target": "function:apps/native/app/(tabs)/settings/index.tsx:Settings",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/app/(tabs)/settings/index.tsx",
      "target": "function:apps/native/app/(tabs)/settings/index.tsx:Settings",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/app/(tabs)/wallet/[walletId].tsx",
      "target": "function:apps/native/app/(tabs)/wallet/[walletId].tsx:WalletDetail",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/app/(tabs)/wallet/[walletId].tsx",
      "target": "function:apps/native/app/(tabs)/wallet/[walletId].tsx:WalletDetail",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/app/(tabs)/wallet/[walletId].tsx",
      "target": "function:apps/native/app/(tabs)/wallet/[walletId].tsx:HeaderFilterButton",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/app/(tabs)/wallet/[walletId].tsx",
      "target": "function:apps/native/app/(tabs)/wallet/[walletId].tsx:TabButton",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/app/(tabs)/wallet/_layout.tsx",
      "target": "function:apps/native/app/(tabs)/wallet/_layout.tsx:WalletLayout",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/app/(tabs)/wallet/_layout.tsx",
      "target": "function:apps/native/app/(tabs)/wallet/_layout.tsx:WalletLayout",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/app/(tabs)/wallet/index.tsx",
      "target": "function:apps/native/app/(tabs)/wallet/index.tsx:Wallet",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/app/(tabs)/wallet/index.tsx",
      "target": "function:apps/native/app/(tabs)/wallet/index.tsx:Wallet",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/components/ui/common/CustomModal.tsx",
      "target": "function:apps/native/components/ui/common/CustomModal.tsx:CustomModal",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/components/ui/common/CustomModal.tsx",
      "target": "function:apps/native/components/ui/common/CustomModal.tsx:CustomModal",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/components/ui/common/CustomSubmitButton.tsx",
      "target": "function:apps/native/components/ui/common/CustomSubmitButton.tsx:CustomSubmitButton",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/components/ui/common/CustomSubmitButton.tsx",
      "target": "function:apps/native/components/ui/common/CustomSubmitButton.tsx:CustomSubmitButton",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/components/ui/common/CustomTextInput.tsx",
      "target": "function:apps/native/components/ui/common/CustomTextInput.tsx:CustomTextInput",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/components/ui/common/CustomTextInput.tsx",
      "target": "function:apps/native/components/ui/common/CustomTextInput.tsx:CustomTextInput",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/components/ui/common/SocialLoginButton.tsx",
      "target": "function:apps/native/components/ui/common/SocialLoginButton.tsx:SocialLoginButton",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/components/ui/common/SocialLoginButton.tsx",
      "target": "function:apps/native/components/ui/common/SocialLoginButton.tsx:SocialLoginButton",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/components/wallet/CreateWalletButton.tsx",
      "target": "function:apps/native/components/wallet/CreateWalletButton.tsx:CreateWallet",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/components/wallet/CreateWalletButton.tsx",
      "target": "function:apps/native/components/wallet/CreateWalletButton.tsx:CreateWallet",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/components/wallet/DiscardChangesModal.tsx",
      "target": "function:apps/native/components/wallet/DiscardChangesModal.tsx:DiscardChangesModal",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/components/wallet/DiscardChangesModal.tsx",
      "target": "function:apps/native/components/wallet/DiscardChangesModal.tsx:DiscardChangesModal",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/components/wallet/WalletActivity.tsx",
      "target": "function:apps/native/components/wallet/WalletActivity.tsx:WalletActivity",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/components/wallet/WalletActivity.tsx",
      "target": "function:apps/native/components/wallet/WalletActivity.tsx:WalletActivity",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/components/wallet/WalletActivity.tsx",
      "target": "function:apps/native/components/wallet/WalletActivity.tsx:ActivitySection",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/components/wallet/WalletActivity.tsx",
      "target": "function:apps/native/components/wallet/WalletActivity.tsx:TransactionItem",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/components/wallet/WalletCreateDrawer.tsx",
      "target": "function:apps/native/components/wallet/WalletCreateDrawer.tsx:WalletCreateDrawer",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/components/wallet/WalletCreateDrawer.tsx",
      "target": "function:apps/native/components/wallet/WalletCreateDrawer.tsx:WalletCreateDrawer",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/components/wallet/WalletDetails.tsx",
      "target": "function:apps/native/components/wallet/WalletDetails.tsx:WalletDetails",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/components/wallet/WalletDetails.tsx",
      "target": "function:apps/native/components/wallet/WalletDetails.tsx:WalletDetails",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/components/wallet/WalletDetails.tsx",
      "target": "function:apps/native/components/wallet/WalletDetails.tsx:ActionButton",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/components/wallet/WalletFilterModal.tsx",
      "target": "function:apps/native/components/wallet/WalletFilterModal.tsx:WalletFilterModal",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/components/wallet/WalletFilterModal.tsx",
      "target": "function:apps/native/components/wallet/WalletFilterModal.tsx:WalletFilterModal",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/components/wallet/WalletFilterModal.tsx",
      "target": "function:apps/native/components/wallet/WalletFilterModal.tsx:RadioButton",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/components/wallet/WalletFilterModal.tsx",
      "target": "function:apps/native/components/wallet/WalletFilterModal.tsx:DateRangeInput",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/components/wallet/WalletList.tsx",
      "target": "function:apps/native/components/wallet/WalletList.tsx:WalletList",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/components/wallet/WalletList.tsx",
      "target": "function:apps/native/components/wallet/WalletList.tsx:WalletList",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/data/walletActivityPlaceholder.ts",
      "target": "function:apps/native/data/walletActivityPlaceholder.ts:getPlaceholderWalletActivity",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/data/walletActivityPlaceholder.ts",
      "target": "function:apps/native/data/walletActivityPlaceholder.ts:getPlaceholderWalletActivity",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/app/(auth)/checkEmail.tsx",
      "target": "file:apps/native/components/ui/common/CustomSubmitButton.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/app/(auth)/forgotPassword.tsx",
      "target": "file:apps/native/components/ui/common/CustomSubmitButton.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/app/(auth)/forgotPassword.tsx",
      "target": "file:apps/native/components/ui/common/CustomTextInput.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/app/(auth)/login.tsx",
      "target": "file:apps/native/components/ui/common/CustomSubmitButton.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/app/(auth)/login.tsx",
      "target": "file:apps/native/components/ui/common/CustomTextInput.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/app/(auth)/login.tsx",
      "target": "file:apps/native/components/ui/common/Heading.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/app/(auth)/login.tsx",
      "target": "file:apps/native/components/ui/common/SocialLoginButton.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/app/(auth)/login.tsx",
      "target": "file:apps/native/constants/Colors.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/app/(tabs)/settings/index.tsx",
      "target": "file:apps/native/constants/Colors.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/app/(tabs)/wallet/[walletId].tsx",
      "target": "file:apps/native/components/wallet/WalletActivity.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/app/(tabs)/wallet/[walletId].tsx",
      "target": "file:apps/native/components/wallet/WalletDetails.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/app/(tabs)/wallet/[walletId].tsx",
      "target": "file:apps/native/components/wallet/WalletFilterModal.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/app/(tabs)/wallet/[walletId].tsx",
      "target": "file:apps/native/constants/Colors.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/app/(tabs)/wallet/[walletId].tsx",
      "target": "file:apps/native/data/walletActivityPlaceholder.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/app/(tabs)/wallet/_layout.tsx",
      "target": "file:apps/native/components/HeaderSearch.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/app/(tabs)/wallet/_layout.tsx",
      "target": "file:apps/native/constants/Colors.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/app/(tabs)/wallet/index.tsx",
      "target": "file:apps/native/components/wallet/CreateWalletButton.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/app/(tabs)/wallet/index.tsx",
      "target": "file:apps/native/components/wallet/WalletCreateDrawer.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/app/(tabs)/wallet/index.tsx",
      "target": "file:apps/native/components/wallet/WalletList.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/app/(tabs)/wallet/index.tsx",
      "target": "file:apps/native/constants/Colors.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/components/ui/common/CustomSubmitButton.tsx",
      "target": "file:apps/native/constants/Colors.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/components/ui/common/CustomTextInput.tsx",
      "target": "file:apps/native/constants/Colors.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/components/ui/common/SocialLoginButton.tsx",
      "target": "file:apps/native/constants/Colors.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/components/wallet/CreateWalletButton.tsx",
      "target": "file:apps/native/constants/Colors.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/components/wallet/DiscardChangesModal.tsx",
      "target": "file:apps/native/constants/Colors.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/components/wallet/WalletActivity.tsx",
      "target": "file:apps/native/constants/Colors.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/components/wallet/WalletCreateDrawer.tsx",
      "target": "file:apps/native/components/ui/common/CustomModal.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/components/wallet/WalletCreateDrawer.tsx",
      "target": "file:apps/native/components/ui/common/CustomSubmitButton.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/components/wallet/WalletCreateDrawer.tsx",
      "target": "file:apps/native/components/ui/common/CustomTextInput.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/components/wallet/WalletCreateDrawer.tsx",
      "target": "file:apps/native/components/wallet/DiscardChangesModal.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/components/wallet/WalletCreateDrawer.tsx",
      "target": "file:apps/native/constants/Colors.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/components/wallet/WalletDetails.tsx",
      "target": "file:apps/native/constants/Colors.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/components/wallet/WalletDetails.tsx",
      "target": "file:apps/native/theme/index.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/components/wallet/WalletFilterModal.tsx",
      "target": "file:apps/native/components/ui/common/CustomModal.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/components/wallet/WalletFilterModal.tsx",
      "target": "file:apps/native/constants/Colors.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/data/walletActivityPlaceholder.ts",
      "target": "file:apps/native/components/wallet/WalletActivity.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "function:apps/native/app/(auth)/checkEmail.tsx:CheckEmailScreen",
      "target": "function:apps/native/components/ui/common/CustomSubmitButton.tsx:CustomSubmitButton",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/app/(auth)/forgotPassword.tsx:ForgotPasswordScreen",
      "target": "function:apps/native/components/ui/common/CustomTextInput.tsx:CustomTextInput",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/app/(auth)/forgotPassword.tsx:ForgotPasswordScreen",
      "target": "function:apps/native/components/ui/common/CustomSubmitButton.tsx:CustomSubmitButton",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/app/(auth)/login.tsx:LoginScreen",
      "target": "function:apps/native/components/ui/common/CustomTextInput.tsx:CustomTextInput",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/app/(auth)/login.tsx:LoginScreen",
      "target": "function:apps/native/components/ui/common/CustomSubmitButton.tsx:CustomSubmitButton",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/app/(auth)/login.tsx:LoginScreen",
      "target": "function:apps/native/components/ui/common/SocialLoginButton.tsx:SocialLoginButton",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/app/(auth)/login.tsx:LoginScreen",
      "target": "function:apps/native/components/ui/common/Heading.tsx:Heading",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/app/(tabs)/settings/index.tsx:Settings",
      "target": "function:apps/native/app/(tabs)/settings/index.tsx:SettingsItem",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/app/(tabs)/wallet/[walletId].tsx:WalletDetail",
      "target": "function:apps/native/app/(tabs)/wallet/[walletId].tsx:HeaderFilterButton",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/app/(tabs)/wallet/[walletId].tsx:WalletDetail",
      "target": "function:apps/native/app/(tabs)/wallet/[walletId].tsx:TabButton",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/app/(tabs)/wallet/[walletId].tsx:WalletDetail",
      "target": "function:apps/native/components/wallet/WalletActivity.tsx:WalletActivity",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/app/(tabs)/wallet/[walletId].tsx:WalletDetail",
      "target": "function:apps/native/components/wallet/WalletDetails.tsx:WalletDetails",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/app/(tabs)/wallet/[walletId].tsx:WalletDetail",
      "target": "function:apps/native/components/wallet/WalletFilterModal.tsx:WalletFilterModal",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/app/(tabs)/wallet/[walletId].tsx:WalletDetail",
      "target": "function:apps/native/data/walletActivityPlaceholder.ts:getPlaceholderWalletActivity",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/app/(tabs)/wallet/_layout.tsx:WalletLayout",
      "target": "function:apps/native/components/HeaderSearch.tsx:HeaderSearch",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/app/(tabs)/wallet/index.tsx:Wallet",
      "target": "function:apps/native/components/wallet/CreateWalletButton.tsx:CreateWallet",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/app/(tabs)/wallet/index.tsx:Wallet",
      "target": "function:apps/native/components/wallet/WalletCreateDrawer.tsx:WalletCreateDrawer",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/app/(tabs)/wallet/index.tsx:Wallet",
      "target": "function:apps/native/components/wallet/WalletList.tsx:WalletList",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/components/wallet/WalletActivity.tsx:WalletActivity",
      "target": "function:apps/native/components/wallet/WalletActivity.tsx:ActivitySection",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/components/wallet/WalletActivity.tsx:ActivitySection",
      "target": "function:apps/native/components/wallet/WalletActivity.tsx:TransactionItem",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/components/wallet/WalletCreateDrawer.tsx:WalletCreateDrawer",
      "target": "function:apps/native/components/ui/common/CustomModal.tsx:CustomModal",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/components/wallet/WalletCreateDrawer.tsx:WalletCreateDrawer",
      "target": "function:apps/native/components/ui/common/CustomTextInput.tsx:CustomTextInput",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/components/wallet/WalletCreateDrawer.tsx:WalletCreateDrawer",
      "target": "function:apps/native/components/ui/common/CustomSubmitButton.tsx:CustomSubmitButton",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/components/wallet/WalletCreateDrawer.tsx:WalletCreateDrawer",
      "target": "function:apps/native/components/wallet/DiscardChangesModal.tsx:DiscardChangesModal",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/components/wallet/WalletDetails.tsx:WalletDetails",
      "target": "function:apps/native/components/wallet/WalletDetails.tsx:ActionButton",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/components/wallet/WalletFilterModal.tsx:WalletFilterModal",
      "target": "function:apps/native/components/ui/common/CustomModal.tsx:CustomModal",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/components/wallet/WalletFilterModal.tsx:WalletFilterModal",
      "target": "function:apps/native/components/wallet/WalletFilterModal.tsx:RadioButton",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/components/wallet/WalletFilterModal.tsx:WalletFilterModal",
      "target": "function:apps/native/components/wallet/WalletFilterModal.tsx:DateRangeInput",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/cypress/component/RecentActivity.cy.tsx",
      "target": "file:apps/web/src/components/RecentActivity.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/cypress/component/TokenBalance.cy.tsx",
      "target": "file:apps/web/src/components/TokenBalance.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/cypress/component/WalletBalance.cy.tsx",
      "target": "file:apps/web/src/components/WalletBalance.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/app/(protected)/home/page.tsx",
      "target": "file:apps/web/src/components/RecentActivity.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/app/(protected)/home/page.tsx",
      "target": "file:apps/web/src/components/TokenBalance.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/app/(protected)/home/page.tsx",
      "target": "file:apps/web/src/components/TransactionSnackbar.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/app/(protected)/home/page.tsx",
      "target": "file:apps/web/src/components/WalletBalance.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/app/(protected)/home/page.tsx",
      "target": "file:apps/web/src/components/activity.types.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/app/(protected)/home/page.tsx",
      "target": "file:apps/web/src/context/SnackbarContext.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/components/ActivityList.tsx",
      "target": "file:apps/web/src/components/ActivityItem.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/components/ActivityList.tsx",
      "target": "file:apps/web/src/components/activity.types.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/components/RecentActivity.tsx",
      "target": "file:apps/web/src/components/ActivityList.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/components/RecentActivity.tsx",
      "target": "file:apps/web/src/components/activity.types.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/components/TokenBalance.tsx",
      "target": "file:apps/web/src/components/common/CustomBalanceCard.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/components/WalletBalance.tsx",
      "target": "file:apps/web/src/components/common/CustomBalanceCard.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/app/(protected)/home/page.tsx",
      "target": "function:apps/web/src/app/(protected)/home/page.tsx:toActivityEntry",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/app/(protected)/home/page.tsx",
      "target": "function:apps/web/src/app/(protected)/home/page.tsx:Page",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/app/(protected)/home/page.tsx",
      "target": "function:apps/web/src/app/(protected)/home/page.tsx:Page",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/components/ActivityList.tsx",
      "target": "function:apps/web/src/components/ActivityList.tsx:ActivityList",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/components/ActivityList.tsx",
      "target": "function:apps/web/src/components/ActivityList.tsx:ActivityList",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/components/RecentActivity.tsx",
      "target": "function:apps/web/src/components/RecentActivity.tsx:RecentActivity",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/components/RecentActivity.tsx",
      "target": "function:apps/web/src/components/RecentActivity.tsx:RecentActivity",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/components/TokenBalance.tsx",
      "target": "function:apps/web/src/components/TokenBalance.tsx:TokenBalance",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/components/TokenBalance.tsx",
      "target": "function:apps/web/src/components/TokenBalance.tsx:TokenBalance",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/components/TransactionSnackbar.tsx",
      "target": "function:apps/web/src/components/TransactionSnackbar.tsx:TransactionSnackbar",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/components/TransactionSnackbar.tsx",
      "target": "function:apps/web/src/components/TransactionSnackbar.tsx:TransactionSnackbar",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/components/WalletBalance.tsx",
      "target": "function:apps/web/src/components/WalletBalance.tsx:WalletBalance",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/components/WalletBalance.tsx",
      "target": "function:apps/web/src/components/WalletBalance.tsx:WalletBalance",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/components/common/CustomBalanceCard.tsx",
      "target": "function:apps/web/src/components/common/CustomBalanceCard.tsx:CustomBalanceCard",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/components/common/CustomBalanceCard.tsx",
      "target": "function:apps/web/src/components/common/CustomBalanceCard.tsx:CustomBalanceCard",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/context/SnackbarContext.tsx",
      "target": "function:apps/web/src/context/SnackbarContext.tsx:SnackbarProvider",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/context/SnackbarContext.tsx",
      "target": "function:apps/web/src/context/SnackbarContext.tsx:SnackbarProvider",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/context/SnackbarContext.tsx",
      "target": "function:apps/web/src/context/SnackbarContext.tsx:useSnackbar",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/context/SnackbarContext.tsx",
      "target": "function:apps/web/src/context/SnackbarContext.tsx:useSnackbar",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/app/(protected)/home/page.tsx:Page",
      "target": "function:apps/web/src/components/TokenBalance.tsx:TokenBalance",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "function:apps/web/src/app/(protected)/home/page.tsx:Page",
      "target": "function:apps/web/src/components/WalletBalance.tsx:WalletBalance",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "function:apps/web/src/app/(protected)/home/page.tsx:Page",
      "target": "function:apps/web/src/components/RecentActivity.tsx:RecentActivity",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "function:apps/web/src/app/(protected)/home/page.tsx:Page",
      "target": "function:apps/web/src/components/TransactionSnackbar.tsx:TransactionSnackbar",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "function:apps/web/src/components/RecentActivity.tsx:RecentActivity",
      "target": "function:apps/web/src/components/ActivityList.tsx:ActivityList",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "function:apps/web/src/components/ActivityList.tsx:ActivityList",
      "target": "function:apps/web/src/components/ActivityItem.tsx:ActivityItem",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "function:apps/web/src/components/TokenBalance.tsx:TokenBalance",
      "target": "function:apps/web/src/components/common/CustomBalanceCard.tsx:CustomBalanceCard",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "function:apps/web/src/components/WalletBalance.tsx:WalletBalance",
      "target": "function:apps/web/src/components/common/CustomBalanceCard.tsx:CustomBalanceCard",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "function:apps/web/src/app/(protected)/home/page.tsx:Page",
      "target": "function:apps/web/src/context/SnackbarContext.tsx:useSnackbar",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/app/(protected)/home/page.tsx",
      "target": "file:apps/web/src/context/SnackbarContext.tsx",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:apps/web/cypress/component/WalletCreateDrawer.cy.tsx",
      "target": "file:apps/web/src/components/WalletCreateDrawer.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/cypress/component/WalletItem.cy.tsx",
      "target": "file:apps/web/src/components/WalletItem.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/app/(protected)/wallet/customize/page.tsx",
      "target": "file:apps/web/src/utils/plainText.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/app/(protected)/wallet/customize/page.tsx",
      "target": "file:apps/web/src/utils/walletFields.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/app/(protected)/wallet/details/page.tsx",
      "target": "file:apps/web/src/components/WalletProfileDrawer.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/app/(protected)/wallet/details/page.tsx",
      "target": "file:apps/web/src/utils/plainText.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/app/(protected)/wallet/page.tsx",
      "target": "file:apps/web/src/components/GenericDrawer.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/app/(protected)/wallet/page.tsx",
      "target": "file:apps/web/src/components/WalletCreateDrawer.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/app/(protected)/wallet/page.tsx",
      "target": "file:apps/web/src/components/WalletItem.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/app/(protected)/wallet/page.tsx",
      "target": "file:apps/web/src/utils/claimPendingToken.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/components/WalletCreateDrawer.tsx",
      "target": "file:apps/web/src/components/common/CustomTextField.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/components/WalletProfileDrawer.tsx",
      "target": "file:apps/web/src/components/common/CustomTextField.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/components/WalletProfileDrawer.tsx",
      "target": "file:apps/web/src/utils/plainText.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/components/WalletProfileDrawer.tsx",
      "target": "file:apps/web/src/utils/walletFields.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/app/(protected)/wallet/customize/page.tsx",
      "target": "function:apps/web/src/app/(protected)/wallet/customize/page.tsx:CustomizeWallet",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/app/(protected)/wallet/customize/page.tsx",
      "target": "function:apps/web/src/app/(protected)/wallet/customize/page.tsx:CustomizeWalletPage",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/app/(protected)/wallet/details/page.tsx",
      "target": "function:apps/web/src/app/(protected)/wallet/details/page.tsx:WalletDetails",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/app/(protected)/wallet/details/page.tsx",
      "target": "function:apps/web/src/app/(protected)/wallet/details/page.tsx:WalletDetailsPage",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/app/(protected)/wallet/page.tsx",
      "target": "function:apps/web/src/app/(protected)/wallet/page.tsx:WalletPage",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/components/GenericDrawer.tsx",
      "target": "function:apps/web/src/components/GenericDrawer.tsx:GenericDrawer",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/components/WalletCreateDrawer.tsx",
      "target": "function:apps/web/src/components/WalletCreateDrawer.tsx:WalletCreateDrawer",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/components/WalletItem.tsx",
      "target": "function:apps/web/src/components/WalletItem.tsx:WalletItem",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/components/WalletProfileDrawer.tsx",
      "target": "function:apps/web/src/components/WalletProfileDrawer.tsx:WalletProfileDrawer",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/components/common/CustomTextField.tsx",
      "target": "function:apps/web/src/components/common/CustomTextField.tsx:CustomTextField",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/utils/plainText.ts",
      "target": "function:apps/web/src/utils/plainText.ts:toPlainText",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/utils/walletFields.ts",
      "target": "function:apps/web/src/utils/walletFields.ts:walletFieldError",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/app/(protected)/wallet/customize/page.tsx",
      "target": "function:apps/web/src/app/(protected)/wallet/customize/page.tsx:CustomizeWalletPage",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/app/(protected)/wallet/details/page.tsx",
      "target": "function:apps/web/src/app/(protected)/wallet/details/page.tsx:WalletDetailsPage",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/app/(protected)/wallet/page.tsx",
      "target": "function:apps/web/src/app/(protected)/wallet/page.tsx:WalletPage",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/components/GenericDrawer.tsx",
      "target": "function:apps/web/src/components/GenericDrawer.tsx:GenericDrawer",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/components/WalletCreateDrawer.tsx",
      "target": "function:apps/web/src/components/WalletCreateDrawer.tsx:WalletCreateDrawer",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/components/WalletItem.tsx",
      "target": "function:apps/web/src/components/WalletItem.tsx:WalletItem",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/components/WalletProfileDrawer.tsx",
      "target": "function:apps/web/src/components/WalletProfileDrawer.tsx:WalletProfileDrawer",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/components/common/CustomTextField.tsx",
      "target": "function:apps/web/src/components/common/CustomTextField.tsx:CustomTextField",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/utils/plainText.ts",
      "target": "function:apps/web/src/utils/plainText.ts:toPlainText",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/utils/walletFields.ts",
      "target": "function:apps/web/src/utils/walletFields.ts:walletFieldError",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/app/(protected)/wallet/customize/page.tsx:CustomizeWallet",
      "target": "function:apps/web/src/utils/plainText.ts:toPlainText",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/app/(protected)/wallet/customize/page.tsx:CustomizeWallet",
      "target": "function:apps/web/src/utils/walletFields.ts:walletFieldError",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/app/(protected)/wallet/details/page.tsx:WalletDetails",
      "target": "function:apps/web/src/utils/plainText.ts:toPlainText",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/components/WalletProfileDrawer.tsx:WalletProfileDrawer",
      "target": "function:apps/web/src/utils/plainText.ts:toPlainText",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/components/WalletProfileDrawer.tsx:WalletProfileDrawer",
      "target": "function:apps/web/src/utils/walletFields.ts:walletFieldError",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/app/(protected)/wallet/page.tsx:WalletPage",
      "target": "function:apps/web/src/utils/claimPendingToken.ts:claimPendingToken",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/app/(protected)/wallet/customize/page.tsx:CustomizeWalletPage",
      "target": "function:apps/web/src/app/(protected)/wallet/customize/page.tsx:CustomizeWallet",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "function:apps/web/src/app/(protected)/wallet/details/page.tsx:WalletDetailsPage",
      "target": "function:apps/web/src/app/(protected)/wallet/details/page.tsx:WalletDetails",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "function:apps/web/src/app/(protected)/wallet/details/page.tsx:WalletDetails",
      "target": "function:apps/web/src/components/WalletProfileDrawer.tsx:WalletProfileDrawer",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "function:apps/web/src/app/(protected)/wallet/page.tsx:WalletPage",
      "target": "function:apps/web/src/components/WalletItem.tsx:WalletItem",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "function:apps/web/src/app/(protected)/wallet/page.tsx:WalletPage",
      "target": "function:apps/web/src/components/GenericDrawer.tsx:GenericDrawer",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "function:apps/web/src/app/(protected)/wallet/page.tsx:WalletPage",
      "target": "function:apps/web/src/components/WalletCreateDrawer.tsx:WalletCreateDrawer",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "function:apps/web/src/components/WalletCreateDrawer.tsx:WalletCreateDrawer",
      "target": "function:apps/web/src/components/common/CustomTextField.tsx:CustomTextField",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "function:apps/web/src/components/WalletProfileDrawer.tsx:WalletProfileDrawer",
      "target": "function:apps/web/src/components/common/CustomTextField.tsx:CustomTextField",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/app/accountConfirmation.tsx",
      "target": "file:apps/native/components/Button.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/app/accountConfirmation.tsx",
      "target": "file:apps/native/components/ThemeSafeArea.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/app/accountConfirmation.tsx",
      "target": "file:apps/native/components/ThemedStatusBar.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/app/accountConfirmation.tsx",
      "target": "file:apps/native/components/ThemedText.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/app/accountConfirmation.tsx",
      "target": "file:apps/native/components/ThemedView.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/app/accountConfirmation.tsx",
      "target": "file:apps/native/constants/Colors.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/components/Button.tsx",
      "target": "file:apps/native/components/ThemedText.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/components/Collapsible.tsx",
      "target": "file:apps/native/components/ThemedText.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/components/Collapsible.tsx",
      "target": "file:apps/native/components/ThemedView.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/components/Collapsible.tsx",
      "target": "file:apps/native/constants/Colors.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/components/ParallaxScrollView.tsx",
      "target": "file:apps/native/components/ThemedView.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/components/ThemeSafeArea.tsx",
      "target": "file:apps/native/hooks/useThemeColor.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/components/ThemedSafeArea.tsx",
      "target": "file:apps/native/hooks/useThemeColor.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/components/ThemedText.tsx",
      "target": "file:apps/native/hooks/useThemeColor.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/components/ThemedView.tsx",
      "target": "file:apps/native/hooks/useThemeColor.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/components/__tests__/ThemedText-test.tsx",
      "target": "file:apps/native/components/ThemedText.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/hooks/useThemeColor.ts",
      "target": "file:apps/native/constants/Colors.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/app/accountConfirmation.tsx",
      "target": "function:apps/native/app/accountConfirmation.tsx:Index",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/app/accountConfirmation.tsx",
      "target": "function:apps/native/app/accountConfirmation.tsx:Index",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/components/Button.tsx",
      "target": "function:apps/native/components/Button.tsx:Button",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/components/Button.tsx",
      "target": "function:apps/native/components/Button.tsx:Button",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/components/Collapsible.tsx",
      "target": "function:apps/native/components/Collapsible.tsx:Collapsible",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/components/Collapsible.tsx",
      "target": "function:apps/native/components/Collapsible.tsx:Collapsible",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/components/ParallaxScrollView.tsx",
      "target": "function:apps/native/components/ParallaxScrollView.tsx:ParallaxScrollView",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/components/ParallaxScrollView.tsx",
      "target": "function:apps/native/components/ParallaxScrollView.tsx:ParallaxScrollView",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/components/ThemeSafeArea.tsx",
      "target": "function:apps/native/components/ThemeSafeArea.tsx:ThemedSafeAreaView",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/components/ThemeSafeArea.tsx",
      "target": "function:apps/native/components/ThemeSafeArea.tsx:ThemedSafeAreaView",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/components/ThemedSafeArea.tsx",
      "target": "function:apps/native/components/ThemedSafeArea.tsx:ThemedSafeAreaView",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/components/ThemedSafeArea.tsx",
      "target": "function:apps/native/components/ThemedSafeArea.tsx:ThemedSafeAreaView",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/components/ThemedStatusBar.tsx",
      "target": "function:apps/native/components/ThemedStatusBar.tsx:ThemedStatusBar",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/components/ThemedStatusBar.tsx",
      "target": "function:apps/native/components/ThemedStatusBar.tsx:ThemedStatusBar",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/components/ThemedText.tsx",
      "target": "function:apps/native/components/ThemedText.tsx:ThemedText",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/components/ThemedText.tsx",
      "target": "function:apps/native/components/ThemedText.tsx:ThemedText",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/components/ThemedView.tsx",
      "target": "function:apps/native/components/ThemedView.tsx:ThemedView",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/components/ThemedView.tsx",
      "target": "function:apps/native/components/ThemedView.tsx:ThemedView",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/hooks/useThemeColor.ts",
      "target": "function:apps/native/hooks/useThemeColor.ts:useThemeColor",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/hooks/useThemeColor.ts",
      "target": "function:apps/native/hooks/useThemeColor.ts:useThemeColor",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/app/accountConfirmation.tsx:Index",
      "target": "function:apps/native/components/Button.tsx:Button",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/app/accountConfirmation.tsx:Index",
      "target": "function:apps/native/components/ThemeSafeArea.tsx:ThemedSafeAreaView",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/app/accountConfirmation.tsx:Index",
      "target": "function:apps/native/components/ThemedStatusBar.tsx:ThemedStatusBar",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/app/accountConfirmation.tsx:Index",
      "target": "function:apps/native/components/ThemedView.tsx:ThemedView",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/app/accountConfirmation.tsx:Index",
      "target": "function:apps/native/components/ThemedText.tsx:ThemedText",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/components/Button.tsx:Button",
      "target": "function:apps/native/components/ThemedText.tsx:ThemedText",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/components/Collapsible.tsx:Collapsible",
      "target": "function:apps/native/components/ThemedText.tsx:ThemedText",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/components/Collapsible.tsx:Collapsible",
      "target": "function:apps/native/components/ThemedView.tsx:ThemedView",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/components/ParallaxScrollView.tsx:ParallaxScrollView",
      "target": "function:apps/native/components/ThemedView.tsx:ThemedView",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/components/ThemeSafeArea.tsx:ThemedSafeAreaView",
      "target": "function:apps/native/hooks/useThemeColor.ts:useThemeColor",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/components/ThemeSafeArea.tsx",
      "target": "file:apps/native/hooks/useThemeColor.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "function:apps/native/components/ThemedSafeArea.tsx:ThemedSafeAreaView",
      "target": "function:apps/native/hooks/useThemeColor.ts:useThemeColor",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/components/ThemedSafeArea.tsx",
      "target": "file:apps/native/hooks/useThemeColor.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "function:apps/native/components/ThemedText.tsx:ThemedText",
      "target": "function:apps/native/hooks/useThemeColor.ts:useThemeColor",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/components/ThemedText.tsx",
      "target": "file:apps/native/hooks/useThemeColor.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "function:apps/native/components/ThemedView.tsx:ThemedView",
      "target": "function:apps/native/hooks/useThemeColor.ts:useThemeColor",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/components/ThemedView.tsx",
      "target": "file:apps/native/hooks/useThemeColor.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:packages/core/src/atoms/auth/loginAtom.ts",
      "target": "file:packages/core/src/atoms/auth/loadingAtom.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/core/src/atoms/auth/loginAtom.ts",
      "target": "file:packages/core/src/schemas/index.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/core/src/atoms/auth/loginAtom.ts",
      "target": "file:packages/core/src/types/auth.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/core/src/atoms/auth/loginAtom.ts",
      "target": "file:packages/core/src/utils/config.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/core/src/atoms/auth/loginAtom.ts",
      "target": "file:packages/core/src/utils/validation.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/core/src/atoms/auth/logoutAtom.ts",
      "target": "file:packages/core/src/atoms/auth/loadingAtom.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/core/src/atoms/auth/logoutAtom.ts",
      "target": "file:packages/core/src/atoms/auth/tokenAtom.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/core/src/atoms/auth/registerAtom.ts",
      "target": "file:packages/core/src/atoms/auth/loadingAtom.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/core/src/atoms/auth/registerAtom.ts",
      "target": "file:packages/core/src/schemas/index.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/core/src/atoms/auth/registerAtom.ts",
      "target": "file:packages/core/src/types/auth.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/core/src/atoms/auth/registerAtom.ts",
      "target": "file:packages/core/src/utils/config.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/core/src/atoms/auth/registerAtom.ts",
      "target": "file:packages/core/src/utils/validation.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/core/src/atoms/auth/tokenAtom.ts",
      "target": "file:packages/core/src/utils/storage.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/core/src/utils/storage.ts",
      "target": "file:packages/core/src/utils/platform.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/core/src/utils/validation.ts",
      "target": "file:packages/core/src/types/auth.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/core/src/atoms/auth/loginAtom.ts",
      "target": "function:packages/core/src/atoms/auth/loginAtom.ts:loginAtom",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:packages/core/src/atoms/auth/loginAtom.ts",
      "target": "function:packages/core/src/atoms/auth/loginAtom.ts:loginAtom",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:packages/core/src/atoms/auth/registerAtom.ts",
      "target": "function:packages/core/src/atoms/auth/registerAtom.ts:registerAtom",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:packages/core/src/atoms/auth/registerAtom.ts",
      "target": "function:packages/core/src/atoms/auth/registerAtom.ts:registerAtom",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:packages/core/src/utils/storage.ts",
      "target": "function:packages/core/src/utils/storage.ts:getAsyncStorage",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:packages/core/src/utils/storage.ts",
      "target": "function:packages/core/src/utils/storage.ts:getAsyncStorage",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:packages/core/src/utils/validation.ts",
      "target": "function:packages/core/src/utils/validation.ts:trimInputs",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:packages/core/src/utils/validation.ts",
      "target": "function:packages/core/src/utils/validation.ts:trimInputs",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:packages/core/src/utils/validation.ts",
      "target": "function:packages/core/src/utils/validation.ts:handleValidationError",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:packages/core/src/utils/validation.ts",
      "target": "function:packages/core/src/utils/validation.ts:handleValidationError",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:packages/core/src/atoms/auth/loginAtom.ts:loginAtom",
      "target": "function:packages/core/src/utils/validation.ts:trimInputs",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:packages/core/src/atoms/auth/loginAtom.ts:loginAtom",
      "target": "function:packages/core/src/utils/validation.ts:handleValidationError",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:packages/core/src/atoms/auth/registerAtom.ts:registerAtom",
      "target": "function:packages/core/src/utils/validation.ts:trimInputs",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:packages/core/src/atoms/auth/registerAtom.ts:registerAtom",
      "target": "function:packages/core/src/utils/validation.ts:handleValidationError",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:packages/core/src/atoms/auth/tokenAtom.ts",
      "target": "function:packages/core/src/utils/storage.ts:getAsyncStorage",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/bdd/features/step-definitions/share-token.steps.ts",
      "target": "function:apps/bdd/features/step-definitions/share-token.steps.ts:clearSession",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/bdd/features/step-definitions/share-token.steps.ts",
      "target": "function:apps/bdd/features/step-definitions/share-token.steps.ts:keycloakLogin",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/bdd/features/step-definitions/share-token.steps.ts",
      "target": "function:apps/bdd/features/step-definitions/share-token.steps.ts:registerAs",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/bdd/features/step-definitions/share-token.steps.ts",
      "target": "function:apps/bdd/features/step-definitions/share-token.steps.ts:createWalletUI",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/bdd/utils/seed.ts",
      "target": "function:apps/bdd/utils/seed.ts:userToken",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/bdd/utils/seed.ts",
      "target": "function:apps/bdd/utils/seed.ts:userToken",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/bdd/utils/seed.ts",
      "target": "function:apps/bdd/utils/seed.ts:createWalletInDB",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/bdd/utils/seed.ts",
      "target": "function:apps/bdd/utils/seed.ts:createTokenInDB",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/bdd/utils/seed.ts",
      "target": "function:apps/bdd/utils/seed.ts:findUserId",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/bdd/utils/seed.ts",
      "target": "function:apps/bdd/utils/seed.ts:deleteWalletByName",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/bdd/utils/seed.ts",
      "target": "function:apps/bdd/utils/seed.ts:deleteWalletByName",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/bdd/utils/seed.ts",
      "target": "function:apps/bdd/utils/seed.ts:seedAccount",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/bdd/utils/seed.ts",
      "target": "function:apps/bdd/utils/seed.ts:seedAccount",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/bdd/utils/seed.ts",
      "target": "function:apps/bdd/utils/seed.ts:tokenFor",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/bdd/utils/seed.ts",
      "target": "function:apps/bdd/utils/seed.ts:tokenFor",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/bdd/utils/seed.ts",
      "target": "function:apps/bdd/utils/seed.ts:seedTokenIntoWalletByName",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/bdd/utils/seed.ts",
      "target": "function:apps/bdd/utils/seed.ts:seedTokenIntoWalletByName",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/bdd/utils/seed.ts",
      "target": "function:apps/bdd/utils/seed.ts:resetAccount",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/bdd/utils/seed.ts",
      "target": "function:apps/bdd/utils/seed.ts:resetAccount",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:packages/keycloak/src/api/createAccountFromKeycloak.ts",
      "target": "function:packages/keycloak/src/api/createAccountFromKeycloak.ts:createUser",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:packages/keycloak/src/api/createAccountFromKeycloak.ts",
      "target": "function:packages/keycloak/src/api/createAccountFromKeycloak.ts:createUser",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:packages/keycloak/src/api/deleteAccountFromKeycloak.ts",
      "target": "function:packages/keycloak/src/api/deleteAccountFromKeycloak.ts:deleteAccountFromKeycloak",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:packages/keycloak/src/api/deleteAccountFromKeycloak.ts",
      "target": "function:packages/keycloak/src/api/deleteAccountFromKeycloak.ts:deleteAccountFromKeycloak",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:packages/keycloak/src/api/fetchTokenFromKeycloak.ts",
      "target": "function:packages/keycloak/src/api/fetchTokenFromKeycloak.ts:fetchTokenFromKeycloak",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:packages/keycloak/src/api/fetchTokenFromKeycloak.ts",
      "target": "function:packages/keycloak/src/api/fetchTokenFromKeycloak.ts:fetchTokenFromKeycloak",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:packages/wallet/src/api/getTokens.ts",
      "target": "function:packages/wallet/src/api/getTokens.ts:getTokens",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:packages/wallet/src/api/getTokens.ts",
      "target": "function:packages/wallet/src/api/getTokens.ts:getTokens",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:packages/wallet/src/hooks/useGetTokens.ts",
      "target": "function:packages/wallet/src/hooks/useGetTokens.ts:useGetTokens",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:packages/wallet/src/hooks/useGetTokens.ts",
      "target": "function:packages/wallet/src/hooks/useGetTokens.ts:useGetTokens",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/bdd/features/step-definitions/share-token.steps.ts",
      "target": "file:apps/bdd/utils/seed.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/bdd/utils/seed.ts",
      "target": "file:packages/keycloak/src/api/createAccountFromKeycloak.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/bdd/utils/seed.ts",
      "target": "file:packages/keycloak/src/api/deleteAccountFromKeycloak.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/bdd/utils/seed.ts",
      "target": "file:packages/keycloak/src/api/fetchTokenFromKeycloak.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/bdd/utils/seed.ts",
      "target": "file:packages/wallet/src/api/createWallet.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/bdd/utils/seed.ts",
      "target": "file:packages/wallet/src/api/getTokens.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/keycloak/src/api/createAccountFromKeycloak.ts",
      "target": "file:packages/keycloak/src/utils/config.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/keycloak/src/api/deleteAccountFromKeycloak.ts",
      "target": "file:packages/keycloak/src/utils/config.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/keycloak/src/api/fetchTokenFromKeycloak.ts",
      "target": "file:packages/keycloak/src/utils/config.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/keycloak/tests/deleteAccount.spec.e2e.ts",
      "target": "file:packages/keycloak/src/api/createAccountFromKeycloak.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/keycloak/tests/deleteAccount.spec.e2e.ts",
      "target": "file:packages/keycloak/src/api/deleteAccountFromKeycloak.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/keycloak/tests/deleteAccount.spec.e2e.ts",
      "target": "file:packages/keycloak/src/api/fetchTokenFromKeycloak.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/wallet/src/api/getTokens.ts",
      "target": "file:packages/wallet/src/utils/config.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/wallet/src/hooks/useGetTokens.ts",
      "target": "file:packages/wallet/src/api/getTokens.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/bdd/features/step-definitions/share-token.steps.ts",
      "target": "function:apps/bdd/utils/seed.ts:seedAccount",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/bdd/features/step-definitions/share-token.steps.ts",
      "target": "function:apps/bdd/utils/seed.ts:seedTokenIntoWalletByName",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/bdd/features/step-definitions/share-token.steps.ts",
      "target": "function:apps/bdd/utils/seed.ts:resetAccount",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/bdd/features/step-definitions/share-token.steps.ts",
      "target": "function:apps/bdd/utils/seed.ts:deleteWalletByName",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/bdd/utils/seed.ts:seedAccount",
      "target": "function:apps/bdd/utils/seed.ts:findUserId",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/bdd/utils/seed.ts:seedAccount",
      "target": "function:apps/bdd/utils/seed.ts:deleteWalletByName",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/bdd/utils/seed.ts:seedAccount",
      "target": "function:apps/bdd/utils/seed.ts:createWalletInDB",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/bdd/utils/seed.ts:seedAccount",
      "target": "function:apps/bdd/utils/seed.ts:createTokenInDB",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/bdd/utils/seed.ts:seedAccount",
      "target": "function:packages/keycloak/src/api/fetchTokenFromKeycloak.ts:fetchTokenFromKeycloak",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/bdd/utils/seed.ts:seedAccount",
      "target": "function:packages/keycloak/src/api/deleteAccountFromKeycloak.ts:deleteAccountFromKeycloak",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/bdd/utils/seed.ts:seedAccount",
      "target": "function:packages/keycloak/src/api/createAccountFromKeycloak.ts:createUser",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/bdd/utils/seed.ts:resetAccount",
      "target": "function:packages/keycloak/src/api/fetchTokenFromKeycloak.ts:fetchTokenFromKeycloak",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/bdd/utils/seed.ts:resetAccount",
      "target": "function:apps/bdd/utils/seed.ts:findUserId",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/bdd/utils/seed.ts:resetAccount",
      "target": "function:packages/keycloak/src/api/deleteAccountFromKeycloak.ts:deleteAccountFromKeycloak",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/bdd/utils/seed.ts:resetAccount",
      "target": "function:apps/bdd/utils/seed.ts:deleteWalletByName",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/bdd/utils/seed.ts:tokenFor",
      "target": "function:apps/bdd/utils/seed.ts:userToken",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:packages/wallet/src/hooks/useGetTokens.ts:useGetTokens",
      "target": "function:packages/wallet/src/api/getTokens.ts:getTokens",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:packages/keycloak/tests/deleteAccount.spec.e2e.ts",
      "target": "function:packages/keycloak/src/api/createAccountFromKeycloak.ts:createUser",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:packages/keycloak/tests/deleteAccount.spec.e2e.ts",
      "target": "function:packages/keycloak/src/api/deleteAccountFromKeycloak.ts:deleteAccountFromKeycloak",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:packages/keycloak/tests/deleteAccount.spec.e2e.ts",
      "target": "function:packages/keycloak/src/api/fetchTokenFromKeycloak.ts:fetchTokenFromKeycloak",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/bdd/wdio.base.conf.ts",
      "target": "file:apps/bdd/utils/artifacts.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/bdd/wdio.debug.conf.ts",
      "target": "file:apps/bdd/utils/artifacts.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/bdd/wdio.debug.conf.ts",
      "target": "file:apps/bdd/utils/capabilities.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/bdd/wdio.debug.conf.ts",
      "target": "file:apps/bdd/wdio.base.conf.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/bdd/wdio.mobile.conf.ts",
      "target": "file:apps/bdd/utils/capabilities.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/bdd/wdio.mobile.conf.ts",
      "target": "file:apps/bdd/wdio.base.conf.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/bdd/wdio.web.conf.ts",
      "target": "file:apps/bdd/utils/capabilities.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/bdd/wdio.web.conf.ts",
      "target": "file:apps/bdd/wdio.base.conf.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/bdd/utils/artifacts.ts",
      "target": "function:apps/bdd/utils/artifacts.ts:ensureDir",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/bdd/utils/artifacts.ts",
      "target": "function:apps/bdd/utils/artifacts.ts:ensureDir",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/bdd/utils/artifacts.ts",
      "target": "function:apps/bdd/utils/artifacts.ts:slugify",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/bdd/utils/artifacts.ts",
      "target": "function:apps/bdd/utils/artifacts.ts:slugify",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/bdd/utils/artifacts.ts",
      "target": "function:apps/bdd/utils/artifacts.ts:scenarioDirs",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/bdd/utils/artifacts.ts",
      "target": "function:apps/bdd/utils/artifacts.ts:scenarioDirs",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/bdd/utils/artifacts.ts",
      "target": "function:apps/bdd/utils/artifacts.ts:canonical",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/bdd/utils/artifacts.ts",
      "target": "function:apps/bdd/utils/artifacts.ts:canonical",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/bdd/utils/artifacts.ts",
      "target": "function:apps/bdd/utils/artifacts.ts:matchVideoFile",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/bdd/utils/artifacts.ts",
      "target": "function:apps/bdd/utils/artifacts.ts:matchVideoFile",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/bdd/utils/artifacts.ts",
      "target": "function:apps/bdd/utils/artifacts.ts:associateVideos",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/bdd/utils/artifacts.ts",
      "target": "function:apps/bdd/utils/artifacts.ts:associateVideos",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/bdd/wdio.base.conf.ts",
      "target": "function:apps/bdd/wdio.base.conf.ts:getEnvMetadata",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "function:apps/bdd/utils/artifacts.ts:scenarioDirs",
      "target": "function:apps/bdd/utils/artifacts.ts:slugify",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/bdd/utils/artifacts.ts:scenarioDirs",
      "target": "function:apps/bdd/utils/artifacts.ts:ensureDir",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/bdd/utils/artifacts.ts:matchVideoFile",
      "target": "function:apps/bdd/utils/artifacts.ts:canonical",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/bdd/utils/artifacts.ts:associateVideos",
      "target": "function:apps/bdd/utils/artifacts.ts:matchVideoFile",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/bdd/utils/artifacts.ts:associateVideos",
      "target": "function:apps/bdd/utils/artifacts.ts:slugify",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/bdd/utils/artifacts.ts:associateVideos",
      "target": "function:apps/bdd/utils/artifacts.ts:ensureDir",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/bdd/wdio.base.conf.ts",
      "target": "function:apps/bdd/utils/artifacts.ts:scenarioDirs",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/bdd/wdio.base.conf.ts",
      "target": "function:apps/bdd/utils/artifacts.ts:associateVideos",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/bdd/wdio.debug.conf.ts",
      "target": "file:apps/bdd/wdio.base.conf.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:apps/bdd/wdio.mobile.conf.ts",
      "target": "file:apps/bdd/wdio.base.conf.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:apps/bdd/wdio.web.conf.ts",
      "target": "file:apps/bdd/wdio.base.conf.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:apps/web/cypress/component/Welcome.cy.tsx",
      "target": "file:apps/web/src/components/Welcome.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/cypress/component/Welcome.cy.tsx",
      "target": "file:apps/web/src/theme.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/app/(protected)/welcome/page.tsx",
      "target": "file:apps/web/src/components/Welcome.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/app/layout.tsx",
      "target": "file:apps/web/src/components/KeycloakProvider.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/app/layout.tsx",
      "target": "file:apps/web/src/theme.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/components/ThemeProvider.tsx",
      "target": "file:apps/web/src/theme.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/app/(protected)/welcome/page.tsx",
      "target": "function:apps/web/src/app/(protected)/welcome/page.tsx:Page",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/app/(protected)/welcome/page.tsx",
      "target": "function:apps/web/src/app/(protected)/welcome/page.tsx:Page",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/app/layout.tsx",
      "target": "function:apps/web/src/app/layout.tsx:RootLayout",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/app/layout.tsx",
      "target": "function:apps/web/src/app/layout.tsx:RootLayout",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/components/ThemeProvider.tsx",
      "target": "function:apps/web/src/components/ThemeProvider.tsx:MUIThemeProvider",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/components/ThemeProvider.tsx",
      "target": "function:apps/web/src/components/ThemeProvider.tsx:MUIThemeProvider",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/components/Welcome.tsx",
      "target": "function:apps/web/src/components/Welcome.tsx:Welcome",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/components/Welcome.tsx",
      "target": "function:apps/web/src/components/Welcome.tsx:Welcome",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/app/(protected)/welcome/page.tsx:Page",
      "target": "function:apps/web/src/components/Welcome.tsx:Welcome",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/app/layout.tsx:RootLayout",
      "target": "function:apps/web/src/components/KeycloakProvider.tsx:KeycloakProvider",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/app/layout.tsx",
      "target": "file:apps/web/src/theme.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:apps/web/src/components/ThemeProvider.tsx",
      "target": "file:apps/web/src/theme.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:apps/native/app/(tabs)/_layout.tsx",
      "target": "function:apps/native/app/(tabs)/_layout.tsx:TabLayout",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/app/(tabs)/_layout.tsx",
      "target": "function:apps/native/app/(tabs)/_layout.tsx:TabLayout",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/app/_layout.tsx",
      "target": "function:apps/native/app/_layout.tsx:AppLayout",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/app/_layout.tsx",
      "target": "function:apps/native/app/_layout.tsx:AppLayout",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/components/ActionSelectionModal.tsx",
      "target": "function:apps/native/components/ActionSelectionModal.tsx:ActionSelectionModal",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/components/ActionSelectionModal.tsx",
      "target": "function:apps/native/components/ActionSelectionModal.tsx:ActionSelectionModal",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/components/CustomTabBar.tsx",
      "target": "function:apps/native/components/CustomTabBar.tsx:CustomTabBar",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/components/CustomTabBar.tsx",
      "target": "function:apps/native/components/CustomTabBar.tsx:CustomTabBar",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/context/ModalContext.tsx",
      "target": "function:apps/native/context/ModalContext.tsx:ModalProvider",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/context/ModalContext.tsx",
      "target": "function:apps/native/context/ModalContext.tsx:ModalProvider",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/context/ModalContext.tsx",
      "target": "function:apps/native/context/ModalContext.tsx:useModal",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/context/ModalContext.tsx",
      "target": "function:apps/native/context/ModalContext.tsx:useModal",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/app/(tabs)/_layout.tsx",
      "target": "file:apps/native/components/CustomTabBar.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/app/_layout.tsx",
      "target": "file:apps/native/components/ActionSelectionModal.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/app/_layout.tsx",
      "target": "file:apps/native/context/ModalContext.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/components/ActionSelectionModal.tsx",
      "target": "file:apps/native/components/ui/common/CustomModal.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/components/ActionSelectionModal.tsx",
      "target": "file:apps/native/context/ModalContext.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/components/ActionSelectionModal.tsx",
      "target": "file:apps/native/theme/index.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/native/components/CustomTabBar.tsx",
      "target": "file:apps/native/context/ModalContext.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "function:apps/native/app/(tabs)/_layout.tsx:TabLayout",
      "target": "function:apps/native/components/CustomTabBar.tsx:CustomTabBar",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/app/_layout.tsx:AppLayout",
      "target": "function:apps/native/context/ModalContext.tsx:ModalProvider",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/app/_layout.tsx:AppLayout",
      "target": "function:apps/native/components/ActionSelectionModal.tsx:ActionSelectionModal",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/components/ActionSelectionModal.tsx:ActionSelectionModal",
      "target": "function:apps/native/context/ModalContext.tsx:useModal",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/components/ActionSelectionModal.tsx:ActionSelectionModal",
      "target": "function:apps/native/components/ui/common/CustomModal.tsx:CustomModal",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/components/ActionSelectionModal.tsx",
      "target": "file:apps/native/context/ModalContext.tsx",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:apps/native/components/CustomTabBar.tsx",
      "target": "file:apps/native/context/ModalContext.tsx",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:apps/native/eslint.config.mjs",
      "target": "file:packages/config/index.js",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/user/eslint.config.mjs",
      "target": "file:packages/config/index.js",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:eslint.config.js",
      "target": "file:packages/config/index.js",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/user/e2e-tests.config.ts",
      "target": "file:apps/user/jest.config.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/user/int-tests.config.ts",
      "target": "file:apps/user/jest.config.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/user/unit-tests.config.ts",
      "target": "file:apps/user/jest.config.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/cypress/component/NotificationItem.cy.tsx",
      "target": "file:apps/web/src/components/NotificationItem.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/cypress/component/NotificationsList.cy.tsx",
      "target": "file:apps/web/src/components/NotificationsList.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/components/NotificationsList.tsx",
      "target": "file:apps/web/src/components/NotificationItem.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/components/NotificationItem.tsx",
      "target": "function:apps/web/src/components/NotificationItem.tsx:NotificationItem",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/components/NotificationsList.tsx",
      "target": "function:apps/web/src/components/NotificationsList.tsx:NotificationsList",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/components/NotificationItem.tsx",
      "target": "function:apps/web/src/components/NotificationItem.tsx:NotificationItem",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/components/NotificationsList.tsx",
      "target": "function:apps/web/src/components/NotificationsList.tsx:NotificationsList",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/components/NotificationsList.tsx:NotificationsList",
      "target": "function:apps/web/src/components/NotificationItem.tsx:NotificationItem",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:packages/core/src/atoms/search/index.ts",
      "target": "file:packages/core/src/data/mockData.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/core/src/atoms/search/index.ts",
      "target": "file:packages/core/src/types/search.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/core/src/data/mockData.ts",
      "target": "file:packages/core/src/types/search.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/core/src/hooks/useSearchResults.ts",
      "target": "file:packages/core/src/atoms/search/index.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/core/src/hooks/useSearchResults.ts",
      "target": "file:packages/core/src/types/search.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/core/src/atoms/search/index.ts",
      "target": "function:packages/core/src/atoms/search/index.ts:sortSearchResults",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:packages/core/src/hooks/useSearchResults.ts",
      "target": "function:packages/core/src/hooks/useSearchResults.ts:useSearchResults",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:packages/core/src/hooks/useSearchResults.ts",
      "target": "function:packages/core/src/hooks/useSearchResults.ts:useSearchResults",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:packages/core/src/hooks/useSearchResults.ts:useSearchResults",
      "target": "file:packages/core/src/atoms/search/index.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:apps/web/cypress/component/TokenTree.cy.tsx",
      "target": "file:apps/web/src/components/TokenTree.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/app/(protected)/token/details/page.tsx",
      "target": "file:apps/web/src/components/TokenTree.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/app/(protected)/token/details/page.tsx",
      "target": "function:apps/web/src/app/(protected)/token/details/page.tsx:TokenDetails",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/app/(protected)/token/details/page.tsx",
      "target": "function:apps/web/src/app/(protected)/token/details/page.tsx:TokenDetailsPage",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/app/(protected)/token/details/page.tsx",
      "target": "function:apps/web/src/app/(protected)/token/details/page.tsx:TokenDetailsPage",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/components/TokenTree.tsx",
      "target": "function:apps/web/src/components/TokenTree.tsx:TokenTree",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/components/TokenTree.tsx",
      "target": "function:apps/web/src/components/TokenTree.tsx:TokenTree",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/app/(protected)/token/details/page.tsx:TokenDetailsPage",
      "target": "function:apps/web/src/app/(protected)/token/details/page.tsx:TokenDetails",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "function:apps/web/src/app/(protected)/token/details/page.tsx:TokenDetails",
      "target": "function:apps/web/src/components/TokenTree.tsx:TokenTree",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/cypress/support/auth-constants.ts",
      "target": "function:apps/web/cypress/support/auth-constants.ts:loginWith",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/cypress/support/auth-constants.ts",
      "target": "function:apps/web/cypress/support/auth-constants.ts:loginWith",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/cypress/support/auth-constants.ts",
      "target": "function:apps/web/cypress/support/auth-constants.ts:expectLoginError",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/cypress/support/auth-constants.ts",
      "target": "function:apps/web/cypress/support/auth-constants.ts:expectLoginError",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/cypress/support/auth-constants.ts",
      "target": "function:apps/web/cypress/support/auth-constants.ts:expectSuccessfulLogin",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/cypress/support/auth-constants.ts",
      "target": "function:apps/web/cypress/support/auth-constants.ts:expectSuccessfulLogin",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/cypress/support/auth-constants.ts",
      "target": "function:apps/web/cypress/support/auth-constants.ts:registerWith",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/cypress/support/auth-constants.ts",
      "target": "function:apps/web/cypress/support/auth-constants.ts:registerWith",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/cypress/support/auth-constants.ts",
      "target": "function:apps/web/cypress/support/auth-constants.ts:expectRegistrationSuccess",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/cypress/support/auth-constants.ts",
      "target": "function:apps/web/cypress/support/auth-constants.ts:expectRegistrationSuccess",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/cypress/support/auth-constants.ts",
      "target": "function:apps/web/cypress/support/auth-constants.ts:expectValidationError",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/cypress/support/auth-constants.ts",
      "target": "function:apps/web/cypress/support/auth-constants.ts:expectValidationError",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/cypress/support/auth-constants.ts",
      "target": "function:apps/web/cypress/support/auth-constants.ts:expectFormFieldError",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/cypress/support/auth-constants.ts",
      "target": "function:apps/web/cypress/support/auth-constants.ts:expectFormFieldError",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/cypress/support/auth-constants.ts",
      "target": "function:apps/web/cypress/support/auth-constants.ts:generateUniqueEmail",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/cypress/support/auth-constants.ts",
      "target": "function:apps/web/cypress/support/auth-constants.ts:generateUniqueEmail",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/cypress/support/auth-constants.ts",
      "target": "function:apps/web/cypress/support/auth-constants.ts:clearAuthSession",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/cypress/support/auth-constants.ts",
      "target": "function:apps/web/cypress/support/auth-constants.ts:clearAuthSession",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/cypress/support/auth-constants.ts",
      "target": "function:apps/web/cypress/support/auth-constants.ts:loadAuthFixture",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/cypress/support/auth-constants.ts",
      "target": "function:apps/web/cypress/support/auth-constants.ts:loadAuthFixture",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/cypress/support/auth-constants.ts",
      "target": "function:apps/web/cypress/support/auth-constants.ts:getFixtureData",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/cypress/support/auth-constants.ts",
      "target": "function:apps/web/cypress/support/auth-constants.ts:getFixtureData",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/cypress/e2e/login.cy.ts",
      "target": "file:apps/web/cypress/support/auth-constants.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/cypress/e2e/signup.cy.ts",
      "target": "file:apps/web/cypress/support/auth-constants.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/cypress/e2e/login.cy.ts",
      "target": "function:apps/web/cypress/support/auth-constants.ts:loginWith",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/cypress/e2e/login.cy.ts",
      "target": "function:apps/web/cypress/support/auth-constants.ts:expectLoginError",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/cypress/e2e/login.cy.ts",
      "target": "function:apps/web/cypress/support/auth-constants.ts:expectSuccessfulLogin",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/cypress/e2e/login.cy.ts",
      "target": "function:apps/web/cypress/support/auth-constants.ts:expectFormFieldError",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/cypress/e2e/login.cy.ts",
      "target": "function:apps/web/cypress/support/auth-constants.ts:loadAuthFixture",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/cypress/e2e/signup.cy.ts",
      "target": "function:apps/web/cypress/support/auth-constants.ts:registerWith",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/cypress/e2e/signup.cy.ts",
      "target": "function:apps/web/cypress/support/auth-constants.ts:expectValidationError",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/cypress/e2e/signup.cy.ts",
      "target": "function:apps/web/cypress/support/auth-constants.ts:generateUniqueEmail",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/cypress/e2e/signup.cy.ts",
      "target": "function:apps/web/cypress/support/auth-constants.ts:loadAuthFixture",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/cypress/support/component.tsx",
      "target": "file:apps/web/cypress/support/commands.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/cypress/support/e2e.ts",
      "target": "file:apps/web/cypress/support/commands.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/app/api/auth/signup/route.ts",
      "target": "function:apps/web/src/app/api/auth/signup/route.ts:POST",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/app/api/auth/signup/route.ts",
      "target": "function:apps/web/src/app/api/auth/signup/route.ts:POST",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/app/api/services/tokenService.ts",
      "target": "function:apps/web/src/app/api/services/tokenService.ts:getToken",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/app/api/services/tokenService.ts",
      "target": "function:apps/web/src/app/api/services/tokenService.ts:getToken",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/app/api/services/userService.ts",
      "target": "function:apps/web/src/app/api/services/userService.ts:createUser",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/app/api/services/userService.ts",
      "target": "function:apps/web/src/app/api/services/userService.ts:createUser",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/app/api/auth/signup/route.ts",
      "target": "file:apps/web/src/app/api/services/userService.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/app/api/services/userService.ts",
      "target": "file:apps/web/src/app/api/services/tokenService.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "function:apps/web/src/app/api/auth/signup/route.ts:POST",
      "target": "function:apps/web/src/app/api/services/userService.ts:createUser",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/app/api/services/userService.ts:createUser",
      "target": "function:apps/web/src/app/api/services/tokenService.ts:getToken",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/components/DateRangeInput.tsx",
      "target": "function:apps/web/src/components/DateRangeInput.tsx:DateRangeInput",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/components/DateRangeInput.tsx",
      "target": "function:apps/web/src/components/DateRangeInput.tsx:DateRangeInput",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/components/RadioButton.tsx",
      "target": "function:apps/web/src/components/RadioButton.tsx:RadioButton",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/components/RadioButton.tsx",
      "target": "function:apps/web/src/components/RadioButton.tsx:RadioButton",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/components/WalletFiltersModal.tsx",
      "target": "function:apps/web/src/components/WalletFiltersModal.tsx:WalletFiltersModal",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/components/WalletFiltersModal.tsx",
      "target": "function:apps/web/src/components/WalletFiltersModal.tsx:WalletFiltersModal",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/components/WalletFiltersModal.tsx",
      "target": "file:apps/web/src/components/DateRangeInput.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/components/WalletFiltersModal.tsx",
      "target": "file:apps/web/src/components/RadioButton.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "function:apps/web/src/components/WalletFiltersModal.tsx:WalletFiltersModal",
      "target": "function:apps/web/src/components/DateRangeInput.tsx:DateRangeInput",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/components/WalletFiltersModal.tsx:WalletFiltersModal",
      "target": "function:apps/web/src/components/RadioButton.tsx:RadioButton",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:packages/core/src/api/wallet.ts",
      "target": "file:packages/core/src/types/wallet.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/core/src/hooks/wallet.ts",
      "target": "file:packages/core/src/api/wallet.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/core/src/hooks/wallet.ts",
      "target": "file:packages/core/src/types/wallet.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/core/src/api/wallet.ts",
      "target": "function:packages/core/src/api/wallet.ts:getWalletsRecentActivity",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:packages/core/src/api/wallet.ts",
      "target": "function:packages/core/src/api/wallet.ts:getWalletByKeyword",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:packages/core/src/hooks/wallet.ts",
      "target": "function:packages/core/src/hooks/wallet.ts:useWalletList",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:packages/core/src/api/wallet.ts",
      "target": "function:packages/core/src/api/wallet.ts:getWalletsRecentActivity",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:packages/core/src/api/wallet.ts",
      "target": "function:packages/core/src/api/wallet.ts:getWalletByKeyword",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:packages/core/src/hooks/wallet.ts",
      "target": "function:packages/core/src/hooks/wallet.ts:useWalletList",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:packages/core/src/hooks/wallet.ts:useWalletList",
      "target": "function:packages/core/src/api/wallet.ts:getWalletsRecentActivity",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "service:apps/user/Dockerfile",
      "target": "service:apps/user/Dockerfile:builder",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "service:apps/user/Dockerfile",
      "target": "service:apps/user/Dockerfile:prod",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "service:apps/user/Dockerfile:prod",
      "target": "service:apps/user/Dockerfile:builder",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "service:apps/user/Dockerfile",
      "target": "file:apps/user/src/main.ts",
      "type": "deploys",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "service:apps/user/Dockerfile",
      "target": "config:apps/user/package.json",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "service:apps/user/Dockerfile",
      "target": "service:apps/user/.dockerignore",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "pipeline:.github/workflows/ci-cd-deploy-web-prod.yml",
      "target": "file:apps/web/next.config.js",
      "type": "deploys",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "pipeline:.github/workflows/ci-cd-deploy-web-test.yml",
      "target": "file:apps/web/next.config.js",
      "type": "deploys",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "pipeline:.github/workflows/static-website-deploy-dev.yml",
      "target": "file:apps/web/next.config.js",
      "type": "deploys",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "pipeline:.github/workflows/ci-cd-pr-bdd-android.yml",
      "target": "file:apps/bdd/wdio.mobile.conf.ts",
      "type": "triggers",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "pipeline:.github/workflows/ci-cd-pr-bdd-android.yml",
      "target": "file:apps/user/src/main.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "pipeline:.github/workflows/ci-cd-pr-bdd-wallet.yml",
      "target": "file:apps/bdd/wdio.web.conf.ts",
      "type": "triggers",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "pipeline:.github/workflows/ci-cd-pr-bdd-wallet.yml",
      "target": "file:apps/user/src/main.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "pipeline:.github/workflows/ci-cd-pr-bdd-wallet.yml",
      "target": "file:apps/web/next.config.js",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "pipeline:.github/workflows/ci-cd-pr-package-queue.yml",
      "target": "file:packages/queue/index.js",
      "type": "triggers",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "pipeline:.github/workflows/ci-cd-pr-queue-package-wallet.yml",
      "target": "file:packages/queue/index.js",
      "type": "triggers",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "pipeline:.github/workflows/ci-cd-pr-user-wallet.yml",
      "target": "file:apps/user/src/main.ts",
      "type": "triggers",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "pipeline:.github/workflows/ci-cd-pr-wallet-package-wallet.yml",
      "target": "file:packages/wallet/src/index.ts",
      "type": "triggers",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "pipeline:.github/workflows/ci-cd-pr-web-wallet.yml",
      "target": "file:apps/user/src/main.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "pipeline:.github/workflows/ci-cd-pr-web-wallet.yml",
      "target": "file:apps/web/next.config.js",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "pipeline:.github/workflows/ci-cd-pr-queue-package-wallet.yml",
      "target": "pipeline:.github/workflows/ci-cd-pr-package-queue.yml",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "config:.yarnrc.yml",
      "target": "config:package.json",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "config:package.json",
      "target": "config:apps/web/package.json",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "config:package.json",
      "target": "config:apps/native/package.json",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "config:package.json",
      "target": "config:apps/user/package.json",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "config:package.json",
      "target": "config:apps/bdd/package.json",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "config:package.json",
      "target": "file:eslint.config.js",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "config:package.json",
      "target": "config:tsconfig.json",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "config:tsconfig.json",
      "target": "file:apps/web/src/app/layout.tsx",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:tsconfig.json",
      "target": "file:apps/native/app/_layout.tsx",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:tsconfig.json",
      "target": "file:apps/user/src/main.ts",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "document:README.md",
      "target": "file:apps/web/src/app/layout.tsx",
      "type": "documents",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "document:README.md",
      "target": "file:apps/native/app/_layout.tsx",
      "type": "documents",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "document:README.md",
      "target": "file:apps/user/src/main.ts",
      "type": "documents",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "document:README.md",
      "target": "file:packages/queue/index.js",
      "type": "documents",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "document:README.md",
      "target": "document:CONTRIBUTING.md",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "document:README.md",
      "target": "document:apps/bdd/README.md",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "document:README.md",
      "target": "config:package.json",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "document:CONTRIBUTING.md",
      "target": "file:apps/web/src/app/layout.tsx",
      "type": "documents",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "document:CONTRIBUTING.md",
      "target": "file:apps/native/app/_layout.tsx",
      "type": "documents",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "document:CONTRIBUTING.md",
      "target": "file:apps/user/src/main.ts",
      "type": "documents",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "document:CONTRIBUTING.md",
      "target": "file:packages/queue/index.js",
      "type": "documents",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "document:CONTRIBUTING.md",
      "target": "config:package.json",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "document:CHANGELOG.md",
      "target": "config:package.json",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "document:CHANGELOG.md",
      "target": "file:packages/queue/index.js",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "document:CHANGELOG.md",
      "target": "file:packages/config/index.js",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "config:apps/bdd/.env.example",
      "target": "file:apps/bdd/utils/capabilities.ts",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "document:apps/bdd/README.md",
      "target": "file:apps/bdd/scripts/watch.ts",
      "type": "documents",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "document:apps/bdd/README.md",
      "target": "file:apps/bdd/scripts/generate-cucumber-report.js",
      "type": "documents",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "document:apps/bdd/README.md",
      "target": "file:apps/bdd/wdio.base.conf.ts",
      "type": "documents",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "document:apps/bdd/README.md",
      "target": "file:apps/bdd/wdio.web.conf.ts",
      "type": "documents",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "document:apps/bdd/README.md",
      "target": "file:apps/bdd/wdio.debug.conf.ts",
      "type": "documents",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "document:apps/bdd/README.md",
      "target": "file:apps/bdd/wdio.mobile.conf.ts",
      "type": "documents",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "document:apps/bdd/README.md",
      "target": "file:apps/bdd/utils/artifacts.ts",
      "type": "documents",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "document:apps/bdd/README.md",
      "target": "file:apps/bdd/utils/capabilities.ts",
      "type": "documents",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "document:apps/bdd/README.md",
      "target": "file:apps/bdd/features/step-definitions/steps.ts",
      "type": "documents",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "document:apps/bdd/bdd-testing.md",
      "target": "document:apps/bdd/README.md",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "config:apps/bdd/package.json",
      "target": "file:apps/bdd/wdio.web.conf.ts",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:apps/bdd/package.json",
      "target": "file:apps/bdd/wdio.debug.conf.ts",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:apps/bdd/package.json",
      "target": "file:apps/bdd/wdio.mobile.conf.ts",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:apps/bdd/package.json",
      "target": "file:apps/bdd/scripts/watch.ts",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:apps/bdd/package.json",
      "target": "file:apps/bdd/scripts/generate-cucumber-report.js",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:apps/bdd/tsconfig.json",
      "target": "file:apps/bdd/wdio.base.conf.ts",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:apps/bdd/tsconfig.json",
      "target": "file:apps/bdd/features/step-definitions/steps.ts",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:apps/bdd/tsconfig.json",
      "target": "file:apps/bdd/utils/seed.ts",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:apps/native/package.json",
      "target": "file:apps/native/app/_layout.tsx",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:apps/native/package.json",
      "target": "file:apps/native/eslint.config.mjs",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "config:apps/native/app.json",
      "target": "file:apps/native/app/_layout.tsx",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:apps/native/app.json",
      "target": "file:apps/native/app.config.js",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "config:apps/native/tsconfig.json",
      "target": "file:apps/native/app/index.tsx",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:apps/native/tsconfig.json",
      "target": "file:apps/native/app/_layout.tsx",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:apps/native/eas.json",
      "target": "config:apps/native/app.json",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "document:apps/native/README.md",
      "target": "config:apps/native/package.json",
      "type": "documents",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "config:apps/user/.env.example",
      "target": "file:apps/user/src/main.ts",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:apps/user/.env.example",
      "target": "file:apps/user/src/user/user.service.ts",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:apps/user/.env.example",
      "target": "file:apps/user/src/auth/auth.service.ts",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "document:apps/user/README.md",
      "target": "file:apps/user/src/user/user.controller.ts",
      "type": "documents",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "document:apps/user/README.md",
      "target": "file:apps/user/src/main.ts",
      "type": "documents",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "document:apps/user/README.md",
      "target": "config:apps/user/.env.example",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "document:apps/user/README.md",
      "target": "config:apps/user/package.json",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "config:apps/user/nest-cli.json",
      "target": "file:apps/user/src/main.ts",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:apps/user/package.json",
      "target": "file:apps/user/src/main.ts",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:apps/user/package.json",
      "target": "config:apps/user/nest-cli.json",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:apps/user/tsconfig.build.json",
      "target": "config:apps/user/tsconfig.json",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:apps/user/tsconfig.build.json",
      "target": "file:apps/user/src/main.ts",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:apps/user/tsconfig.json",
      "target": "file:apps/user/src/main.ts",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:apps/user/tsconfig.json",
      "target": "file:apps/user/src/app.module.ts",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:apps/user/tsconfig.spec.json",
      "target": "config:apps/user/tsconfig.json",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:apps/user/tsconfig.spec.json",
      "target": "file:apps/user/jest.config.ts",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:apps/user/deployment/base/kustomization.yaml",
      "target": "config:apps/user/deployment/base/deployment.yaml",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:apps/user/deployment/base/kustomization.yaml",
      "target": "config:apps/user/deployment/base/mapping.yaml",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:apps/user/deployment/base/kustomization.yaml",
      "target": "config:apps/user/deployment/base/service.yaml",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:apps/user/deployment/base/kustomization.yaml",
      "target": "config:apps/user/deployment/base/namespace.yaml",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:apps/user/deployment/base/kustomization.yaml",
      "target": "config:apps/user/deployment/base/cluster-role.yaml",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:apps/user/deployment/base/kustomization.yaml",
      "target": "config:apps/user/deployment/base/cluster-role-binding.yaml",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:apps/user/deployment/base/cluster-role-binding.yaml",
      "target": "config:apps/user/deployment/base/cluster-role.yaml",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:apps/user/deployment/base/cluster-role-binding.yaml",
      "target": "config:apps/user/deployment/base/namespace.yaml",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:apps/user/deployment/base/deployment.yaml",
      "target": "config:apps/user/deployment/base/namespace.yaml",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:apps/user/deployment/base/service.yaml",
      "target": "config:apps/user/deployment/base/namespace.yaml",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:apps/user/deployment/base/deployment.yaml",
      "target": "service:apps/user/Dockerfile",
      "type": "deploys",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "config:apps/user/deployment/base/deployment.yaml",
      "target": "file:apps/user/src/main.ts",
      "type": "deploys",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "config:apps/user/deployment/base/service.yaml",
      "target": "config:apps/user/deployment/base/deployment.yaml",
      "type": "serves",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "config:apps/user/deployment/base/mapping.yaml",
      "target": "config:apps/user/deployment/base/service.yaml",
      "type": "routes",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:apps/web/.env.example",
      "target": "file:apps/web/src/auth/keycloak.ts",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "document:apps/web/README.md",
      "target": "config:apps/web/package.json",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "document:apps/web/README.md",
      "target": "file:apps/web/src/app/page.tsx",
      "type": "documents",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "config:apps/web/package.json",
      "target": "file:apps/web/next.config.js",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:apps/web/package.json",
      "target": "file:apps/web/src/app/layout.tsx",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:apps/web/tsconfig.json",
      "target": "file:apps/web/src/app/layout.tsx",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:apps/web/tsconfig.json",
      "target": "file:apps/web/src/app/page.tsx",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:apps/web/cypress/fixtures/auth-data.json",
      "target": "file:apps/web/cypress/support/auth-constants.ts",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "config:apps/web/cypress/fixtures/auth-data.json",
      "target": "file:apps/web/cypress/e2e/login.cy.ts",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "config:apps/web/cypress/fixtures/auth-data.json",
      "target": "file:apps/web/cypress/e2e/signup.cy.ts",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "config:apps/web/cypress/fixtures/wallet.json",
      "target": "file:apps/web/cypress/e2e/create-wallet.cy.ts",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "config:apps/web/cypress/fixtures/wallet.json",
      "target": "file:apps/web/cypress/support/wallet-constants.ts",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "config:packages/config/package.json",
      "target": "file:packages/config/index.js",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:packages/config/package.json",
      "target": "config:packages/config/tsconfig.json",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "config:packages/config/package.json",
      "target": "config:packages/config/prettier.config.json",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "config:packages/config/prettier.config.json",
      "target": "config:package.json",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "config:packages/config/tsconfig.json",
      "target": "config:apps/web/tsconfig.json",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:packages/keycloak/.env.example",
      "target": "file:packages/keycloak/src/utils/config.ts",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:packages/keycloak/.env.example",
      "target": "file:packages/keycloak/tests/deleteAccount.spec.e2e.ts",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "document:packages/keycloak/README.md",
      "target": "file:packages/keycloak/src/api/fetchTokenFromKeycloak.ts",
      "type": "documents",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "document:packages/keycloak/README.md",
      "target": "file:packages/keycloak/src/api/deleteAccountFromKeycloak.ts",
      "type": "documents",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "document:packages/keycloak/README.md",
      "target": "file:packages/keycloak/src/utils/config.ts",
      "type": "documents",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "document:packages/keycloak/README.md",
      "target": "file:packages/keycloak/tests/deleteAccount.spec.e2e.ts",
      "type": "documents",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "document:packages/keycloak/README.md",
      "target": "config:packages/keycloak/.env.example",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "config:packages/keycloak/package.json",
      "target": "file:packages/keycloak/tests/deleteAccount.spec.e2e.ts",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:packages/keycloak/tsconfig.json",
      "target": "file:packages/keycloak/src/api/fetchTokenFromKeycloak.ts",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:packages/keycloak/tsconfig.json",
      "target": "file:packages/keycloak/src/api/deleteAccountFromKeycloak.ts",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:packages/keycloak/tsconfig.json",
      "target": "file:packages/keycloak/src/api/createAccountFromKeycloak.ts",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:packages/keycloak/tsconfig.json",
      "target": "file:packages/keycloak/src/utils/config.ts",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:packages/keycloak/tsconfig.spec.json",
      "target": "config:packages/keycloak/tsconfig.json",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "document:packages/wallet/README.md",
      "target": "file:packages/wallet/src/index.ts",
      "type": "documents",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "document:packages/wallet/README.md",
      "target": "file:packages/wallet/src/api/createWallet.ts",
      "type": "documents",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "document:packages/wallet/README.md",
      "target": "file:packages/wallet/src/api/getWallets.ts",
      "type": "documents",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "document:packages/wallet/README.md",
      "target": "file:packages/wallet/src/hooks/useCreateWallet.ts",
      "type": "documents",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "document:packages/wallet/README.md",
      "target": "file:packages/wallet/src/hooks/useGetWallets.ts",
      "type": "documents",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "document:packages/wallet/README.md",
      "target": "file:packages/wallet/src/types/wallet.ts",
      "type": "documents",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "document:packages/wallet/README.md",
      "target": "file:packages/wallet/src/utils/config.ts",
      "type": "documents",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "document:packages/wallet/README.md",
      "target": "file:packages/wallet/tests/createWallet.spec.e2e.ts",
      "type": "documents",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "document:packages/wallet/README.md",
      "target": "config:packages/wallet/.env.example",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "config:packages/wallet/package.json",
      "target": "file:packages/wallet/src/index.ts",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:packages/wallet/package.json",
      "target": "file:packages/wallet/tests/createWallet.spec.e2e.ts",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:packages/wallet/tsconfig.json",
      "target": "file:packages/wallet/src/index.ts",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:packages/wallet/tsconfig.json",
      "target": "file:packages/wallet/tests/createWallet.spec.e2e.ts",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:packages/wallet/.env.example",
      "target": "file:packages/wallet/tests/createWallet.spec.e2e.ts",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:apps/bdd/features/create-wallet.feature",
      "target": "file:apps/bdd/features/step-definitions/steps.ts",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "file:apps/bdd/features/customize-wallet.feature",
      "target": "file:apps/bdd/features/step-definitions/steps.ts",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "file:apps/bdd/features/login.feature",
      "target": "file:apps/bdd/features/step-definitions/steps.ts",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "file:apps/bdd/features/register.feature",
      "target": "file:apps/bdd/features/step-definitions/steps.ts",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "file:apps/bdd/features/send-token.feature",
      "target": "file:apps/bdd/features/step-definitions/steps.ts",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "file:apps/bdd/features/share-token.feature",
      "target": "file:apps/bdd/features/step-definitions/share-token.steps.ts",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "file:apps/bdd/features/iteration2/landing.feature",
      "target": "file:apps/bdd/features/step-definitions/mobile.steps.ts",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "document:apps/bdd/features/iteration2/README.md",
      "target": "file:apps/bdd/features/login.feature",
      "type": "documents",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "document:apps/bdd/features/iteration2/README.md",
      "target": "file:apps/bdd/features/register.feature",
      "type": "documents",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "document:apps/bdd/features/iteration2/README.md",
      "target": "file:apps/bdd/features/create-wallet.feature",
      "type": "documents",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "document:apps/bdd/features/iteration2/README.md",
      "target": "file:apps/bdd/features/iteration2/landing.feature",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "document:apps/bdd/features/iteration3/README.md",
      "target": "file:apps/bdd/features/iteration3/send-token-by-email.feature",
      "type": "documents",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "document:apps/bdd/features/iteration3/README.md",
      "target": "file:apps/bdd/features/iteration3/email-link-to-receive-token.feature",
      "type": "documents",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "document:apps/bdd/features/iteration4/README.md",
      "target": "file:apps/bdd/features/iteration4/send_token_to_another_wallet.feature",
      "type": "documents",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "document:apps/bdd/features/iteration5/README.md",
      "target": "file:apps/bdd/features/iteration5/buy_a_token_from_greenstand.feature",
      "type": "documents",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "file:.husky/commit-msg",
      "target": "file:commitlint.config.js",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:.husky/pre-commit",
      "target": "file:lint-staged.config.js",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:.prettierignore",
      "target": "config:packages/config/prettier.config.json",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "file:.releaserc.js",
      "target": "config:package.json",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "file:.releaserc.js",
      "target": "pipeline:.github/workflows/build-dev-docker-img-and-relase.yml",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "file:apps/bdd/scripts/bdd-test-report.js",
      "target": "file:apps/bdd/scripts/generate-cucumber-report.js",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:apps/bdd/scripts/bdd-test-report.js",
      "target": "file:apps/bdd/wdio.base.conf.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:apps/bdd/scripts/watch.ts",
      "target": "function:apps/bdd/scripts/watch.ts:parseArgs",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/bdd/scripts/watch.ts",
      "target": "function:apps/bdd/scripts/watch.ts:showHelp",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/bdd/scripts/watch.ts",
      "target": "function:apps/bdd/scripts/watch.ts:playSound",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/bdd/scripts/watch.ts",
      "target": "function:apps/bdd/scripts/watch.ts:printStatus",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/bdd/scripts/watch.ts",
      "target": "function:apps/bdd/scripts/watch.ts:printTestStats",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/bdd/scripts/watch.ts",
      "target": "function:apps/bdd/scripts/watch.ts:listFeatureFiles",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/bdd/scripts/watch.ts",
      "target": "function:apps/bdd/scripts/watch.ts:openReport",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/bdd/scripts/watch.ts",
      "target": "function:apps/bdd/scripts/watch.ts:killPreviousProcess",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/bdd/scripts/watch.ts",
      "target": "function:apps/bdd/scripts/watch.ts:runTests",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/bdd/scripts/watch.ts",
      "target": "function:apps/bdd/scripts/watch.ts:debounce",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/bdd/scripts/watch.ts",
      "target": "function:apps/bdd/scripts/watch.ts:startWatcher",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/bdd/scripts/watch.ts",
      "target": "function:apps/bdd/scripts/watch.ts:setupKeyboardHandler",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/bdd/scripts/watch.ts",
      "target": "function:apps/bdd/scripts/watch.ts:cleanup",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/bdd/scripts/watch.ts",
      "target": "function:apps/bdd/scripts/watch.ts:main",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/bdd/test-artifacts/reports/android/cucumber-html/assets/js/darkmode.js",
      "target": "function:apps/bdd/test-artifacts/reports/android/cucumber-html/assets/js/darkmode.js:applyDarkMode",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/bdd/test-artifacts/reports/android/cucumber-html/assets/js/darkmode.js",
      "target": "function:apps/bdd/test-artifacts/reports/android/cucumber-html/assets/js/darkmode.js:saveState",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/app/(tabs)/notifications/index.tsx",
      "target": "function:apps/native/app/(tabs)/notifications/index.tsx:NotificationItem",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/app/(tabs)/notifications/index.tsx",
      "target": "function:apps/native/app/(tabs)/notifications/index.tsx:EmptyState",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/app/(tabs)/notifications/index.tsx",
      "target": "function:apps/native/app/(tabs)/notifications/index.tsx:NotificationsLayout",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/app/(tabs)/notifications/index.tsx",
      "target": "function:apps/native/app/(tabs)/notifications/index.tsx:NotificationsLayout",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/native/app/(tabs)/notifications/index.tsx:NotificationsLayout",
      "target": "function:apps/native/app/(tabs)/notifications/index.tsx:NotificationItem",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "function:apps/native/app/(tabs)/notifications/index.tsx:NotificationsLayout",
      "target": "function:apps/native/app/(tabs)/notifications/index.tsx:EmptyState",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/app/(tabs)/notifications/_layout.tsx",
      "target": "function:apps/native/app/(tabs)/notifications/_layout.tsx:NotificationsLayout",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/app/(tabs)/notifications/_layout.tsx",
      "target": "function:apps/native/app/(tabs)/notifications/_layout.tsx:NotificationsLayout",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/app/(tabs)/settings/_layout.tsx",
      "target": "function:apps/native/app/(tabs)/settings/_layout.tsx:SettingsLayout",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/app/(tabs)/settings/_layout.tsx",
      "target": "function:apps/native/app/(tabs)/settings/_layout.tsx:SettingsLayout",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/app/transfer/_layout.tsx",
      "target": "function:apps/native/app/transfer/_layout.tsx:TransferLayout",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/app/transfer/_layout.tsx",
      "target": "function:apps/native/app/transfer/_layout.tsx:TransferLayout",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/app/index.tsx",
      "target": "function:apps/native/app/index.tsx:InitialRoute",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/app/index.tsx",
      "target": "function:apps/native/app/index.tsx:InitialRoute",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/components/ExternalLink.tsx",
      "target": "function:apps/native/components/ExternalLink.tsx:ExternalLink",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/components/ExternalLink.tsx",
      "target": "function:apps/native/components/ExternalLink.tsx:ExternalLink",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/components/navigation/TabBarIcon.tsx",
      "target": "function:apps/native/components/navigation/TabBarIcon.tsx:TabBarIcon",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/components/navigation/TabBarIcon.tsx",
      "target": "function:apps/native/components/navigation/TabBarIcon.tsx:TabBarIcon",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/components/wallet/YourWallets.tsx",
      "target": "function:apps/native/components/wallet/YourWallets.tsx:YourWallets",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/native/components/wallet/YourWallets.tsx",
      "target": "function:apps/native/components/wallet/YourWallets.tsx:YourWallets",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/native/e2e/mocks/server.ts",
      "target": "file:apps/native/e2e/mocks/handlers.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/bdd/scripts/generate-cucumber-report.js",
      "target": "config:apps/bdd/test-artifacts/reports/android/cucumber/app-launch_17761132703221946.json",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:apps/bdd/scripts/generate-cucumber-report.js",
      "target": "config:apps/bdd/test-artifacts/reports/web/cucumber/customize-wallet_17835030345201877.json",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:apps/bdd/test-artifacts/reports/android/cucumber-html/index.html",
      "target": "file:apps/bdd/test-artifacts/reports/android/cucumber-html/assets/js/darkmode.js",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:apps/bdd/test-artifacts/reports/android/cucumber-html/index.html",
      "target": "file:apps/bdd/test-artifacts/reports/android/cucumber-html/assets/js/responsive.bootstrap5.js",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:apps/bdd/test-artifacts/reports/android/cucumber-html/features/814c70c6-3e87-48fa-be95-a3d06b2154c4-app-launch.html",
      "target": "file:apps/bdd/test-artifacts/reports/android/cucumber-html/assets/js/darkmode.js",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:apps/bdd/test-artifacts/reports/android/cucumber-html/features/814c70c6-3e87-48fa-be95-a3d06b2154c4-app-launch.html",
      "target": "file:apps/bdd/test-artifacts/reports/android/cucumber-html/assets/js/responsive.bootstrap5.js",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:apps/bdd/test-artifacts/reports/android/cucumber-html/index.html",
      "target": "function:apps/bdd/test-artifacts/reports/android/cucumber-html/assets/js/darkmode.js:applyDarkMode",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/bdd/test-artifacts/reports/android/cucumber-html/index.html",
      "target": "function:apps/bdd/test-artifacts/reports/android/cucumber-html/assets/js/darkmode.js:saveState",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/bdd/test-artifacts/reports/android/cucumber-html/index.html",
      "target": "file:apps/bdd/scripts/generate-cucumber-report.js",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "file:apps/bdd/test-artifacts/reports/android/cucumber-html/index.html",
      "target": "file:apps/bdd/test-artifacts/reports/android/cucumber-html/features/814c70c6-3e87-48fa-be95-a3d06b2154c4-app-launch.html",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "file:apps/bdd/test-artifacts/reports/android/cucumber-html/features/814c70c6-3e87-48fa-be95-a3d06b2154c4-app-launch.html",
      "target": "config:apps/bdd/test-artifacts/reports/android/cucumber/app-launch_17761132703221946.json",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "file:apps/bdd/test-artifacts/reports/android/cucumber-html/assets/fonts/FontAwesome.otf",
      "target": "file:apps/bdd/test-artifacts/reports/android/cucumber-html/index.html",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "config:apps/bdd/test-artifacts/reports/android/cucumber/app-launch_17761132703221946.json",
      "target": "file:apps/native/e2e/features/iterations1/app.feature",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "file:apps/native/e2e/features/iterations1/app.feature",
      "target": "file:apps/native/e2e/features/step-definitions/app.steps.ts",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "config:apps/user/deployment/overlays/development/kustomization.yaml",
      "target": "config:apps/user/deployment/base/kustomization.yaml",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:apps/user/deployment/overlays/development/kustomization.yaml",
      "target": "config:apps/user/deployment/overlays/development/mapping.yaml",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:apps/user/deployment/overlays/development/mapping.yaml",
      "target": "config:apps/user/deployment/base/mapping.yaml",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "config:apps/user/docs/api/spec/user-api.yaml",
      "target": "file:apps/user/src/user/user.controller.ts",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "config:apps/user/docs/api/spec/user-api.yaml",
      "target": "file:apps/user/libs/validation/dtos/register-user.dto.ts",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "config:apps/user/docs/api/spec/user-api.yaml",
      "target": "file:apps/user/libs/validation/dtos/user.dto.ts",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "file:apps/user/libs/validation/dtos/user.dto.ts",
      "target": "class:apps/user/libs/validation/dtos/user.dto.ts:UserDto",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/user/libs/validation/dtos/user.dto.ts",
      "target": "class:apps/user/libs/validation/dtos/user.dto.ts:UserDto",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/cypress.config.ts",
      "target": "file:apps/web/cypress/component/ProfileAvatar.cy.tsx",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:apps/web/cypress.config.ts",
      "target": "file:apps/web/cypress/component/ProfileDetails.cy.tsx",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:apps/web/cypress.config.ts",
      "target": "file:apps/web/cypress/e2e/create-wallet.cy.ts",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:apps/web/cypress.config.ts",
      "target": "file:apps/web/cypress/e2e/search-action.cy.ts",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:apps/web/cypress.config.ts",
      "target": "file:apps/web/cypress/e2e/spec.cy.ts",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:apps/web/cypress.config.ts",
      "target": "file:apps/web/cypress/support/commands.ts",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:apps/web/cypress/component/ProfileAvatar.cy.tsx",
      "target": "file:apps/web/src/components/ProfileAvatar.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/cypress/component/ProfileDetails.cy.tsx",
      "target": "file:apps/web/src/components/ProfileDetails.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/cypress/e2e/create-wallet.cy.ts",
      "target": "file:apps/web/cypress/support/wallet-constants.ts",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/cypress/e2e/create-wallet.cy.ts",
      "target": "config:apps/web/cypress/fixtures/wallet.json",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:apps/web/cypress/e2e/search-action.cy.ts",
      "target": "file:apps/web/cypress/support/commands.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:apps/web/cypress/support/wallet-constants.ts",
      "target": "function:apps/web/cypress/support/wallet-constants.ts:loadWalletFixture",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/cypress/support/wallet-constants.ts",
      "target": "function:apps/web/cypress/support/wallet-constants.ts:loadWalletFixture",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/cypress/support/wallet-constants.ts",
      "target": "config:apps/web/cypress/fixtures/wallet.json",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:apps/web/cypress/tsconfig.json",
      "target": "file:apps/web/cypress/e2e/create-wallet.cy.ts",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:apps/web/cypress/tsconfig.json",
      "target": "file:apps/web/cypress/e2e/search-action.cy.ts",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:apps/web/cypress/tsconfig.json",
      "target": "file:apps/web/cypress/e2e/spec.cy.ts",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:apps/web/cypress/tsconfig.json",
      "target": "file:apps/web/cypress/support/wallet-constants.ts",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:apps/web/cypress/tsconfig.json",
      "target": "file:apps/web/cypress/component/ProfileAvatar.cy.tsx",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:apps/web/cypress/tsconfig.json",
      "target": "file:apps/web/cypress/component/ProfileDetails.cy.tsx",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:apps/web/cypress/tsconfig.json",
      "target": "file:apps/web/cypress/support/commands.ts",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:apps/web/eslint.config.cjs",
      "target": "file:apps/web/eslint.config.mjs",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "file:apps/web/src/app/(protected)/notifications/details/page.tsx",
      "target": "function:apps/web/src/app/(protected)/notifications/details/page.tsx:MessageDetail",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/app/(protected)/notifications/details/page.tsx",
      "target": "function:apps/web/src/app/(protected)/notifications/details/page.tsx:MessageDetailPage",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/app/(protected)/notifications/details/page.tsx",
      "target": "function:apps/web/src/app/(protected)/notifications/details/page.tsx:MessageDetailPage",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/app/(protected)/notifications/details/page.tsx:MessageDetailPage",
      "target": "function:apps/web/src/app/(protected)/notifications/details/page.tsx:MessageDetail",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/app/(protected)/notifications/details/page.tsx:MessageDetail",
      "target": "function:packages/wallet/src/hooks/useGetTransfer.ts:useGetTransfer",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/app/(protected)/notifications/details/page.tsx",
      "target": "file:packages/wallet/src/api/acceptTransfer.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:apps/web/src/app/(protected)/notifications/details/page.tsx",
      "target": "file:packages/wallet/src/api/declineTransfer.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:apps/web/src/app/(protected)/notifications/details/page.tsx",
      "target": "file:packages/wallet/src/api/getTransferTokens.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:apps/web/src/app/(protected)/send/page.tsx",
      "target": "function:apps/web/src/app/(protected)/send/page.tsx:SendPage",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/app/(protected)/send/page.tsx",
      "target": "function:apps/web/src/app/(protected)/send/page.tsx:SendPage",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/app/(protected)/send/page.tsx:SendPage",
      "target": "function:packages/wallet/src/hooks/useGetWallets.ts:useGetWallets",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/app/(protected)/send/page.tsx:SendPage",
      "target": "function:packages/wallet/src/hooks/useSendTransfer.ts:useSendTransfer",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/app/(protected)/send/page.tsx",
      "target": "file:packages/wallet/src/api/generateActionToken.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:apps/web/src/app/(protected)/settings/page.tsx",
      "target": "function:apps/web/src/app/(protected)/settings/page.tsx:Settings",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/app/(protected)/settings/page.tsx",
      "target": "function:apps/web/src/app/(protected)/settings/page.tsx:Settings",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/app/(protected)/transfers/details/page.tsx",
      "target": "function:apps/web/src/app/(protected)/transfers/details/page.tsx:TransferDetails",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/app/(protected)/transfers/details/page.tsx",
      "target": "function:apps/web/src/app/(protected)/transfers/details/page.tsx:TransferDetailsPage",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/app/(protected)/transfers/details/page.tsx",
      "target": "function:apps/web/src/app/(protected)/transfers/details/page.tsx:TransferDetailsPage",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/app/(protected)/transfers/details/page.tsx:TransferDetailsPage",
      "target": "function:apps/web/src/app/(protected)/transfers/details/page.tsx:TransferDetails",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/app/(protected)/transfers/details/page.tsx:TransferDetails",
      "target": "function:packages/wallet/src/hooks/useGetTransfer.ts:useGetTransfer",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/app/(protected)/transfers/page.tsx",
      "target": "function:apps/web/src/app/(protected)/transfers/page.tsx:TransferRow",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/app/(protected)/transfers/page.tsx",
      "target": "function:apps/web/src/app/(protected)/transfers/page.tsx:ListStatus",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/app/(protected)/transfers/page.tsx",
      "target": "function:apps/web/src/app/(protected)/transfers/page.tsx:ShareLinkRow",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/app/(protected)/transfers/page.tsx",
      "target": "function:apps/web/src/app/(protected)/transfers/page.tsx:TransfersPage",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/app/(protected)/transfers/page.tsx",
      "target": "function:apps/web/src/app/(protected)/transfers/page.tsx:TransfersPage",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/app/(protected)/transfers/page.tsx:TransfersPage",
      "target": "function:apps/web/src/app/(protected)/transfers/page.tsx:TransferRow",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/app/(protected)/transfers/page.tsx:TransfersPage",
      "target": "function:apps/web/src/app/(protected)/transfers/page.tsx:ListStatus",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/app/(protected)/transfers/page.tsx:TransfersPage",
      "target": "function:apps/web/src/app/(protected)/transfers/page.tsx:ShareLinkRow",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/app/(protected)/transfers/page.tsx:TransfersPage",
      "target": "function:packages/wallet/src/hooks/useGetWallets.ts:useGetWallets",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/app/(protected)/transfers/page.tsx:TransfersPage",
      "target": "function:packages/wallet/src/hooks/usePendingTransfers.ts:usePendingTransfers",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/app/(protected)/transfers/page.tsx:TransfersPage",
      "target": "function:packages/wallet/src/hooks/useGetTransfers.ts:useGetTransfers",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "function:apps/web/src/app/(protected)/transfers/page.tsx:TransfersPage",
      "target": "function:packages/wallet/src/hooks/useActionTokens.ts:useActionTokens",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/app/(public)/account-created/page.tsx",
      "target": "function:apps/web/src/app/(public)/account-created/page.tsx:AccountCreatedConfirmation",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/app/(public)/account-created/page.tsx",
      "target": "function:apps/web/src/app/(public)/account-created/page.tsx:AccountCreatedConfirmation",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/app/(public)/forgotPassword/verify/VerifyEmail.tsx",
      "target": "function:apps/web/src/app/(public)/forgotPassword/verify/VerifyEmail.tsx:VerifyEmail",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/app/(public)/forgotPassword/verify/VerifyEmail.tsx",
      "target": "function:apps/web/src/app/(public)/forgotPassword/verify/VerifyEmail.tsx:VerifyEmail",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/app/(public)/forgotPassword/verify/page.tsx",
      "target": "function:apps/web/src/app/(public)/forgotPassword/verify/page.tsx:VerifyPage",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/app/(public)/forgotPassword/verify/page.tsx",
      "target": "function:apps/web/src/app/(public)/forgotPassword/verify/page.tsx:VerifyPage",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/app/(public)/forgotPassword/verify/page.tsx",
      "target": "file:apps/web/src/app/(public)/forgotPassword/verify/VerifyEmail.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "function:apps/web/src/app/(public)/forgotPassword/verify/page.tsx:VerifyPage",
      "target": "function:apps/web/src/app/(public)/forgotPassword/verify/VerifyEmail.tsx:VerifyEmail",
      "type": "calls",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/app/(public)/layout.tsx",
      "target": "function:apps/web/src/app/(public)/layout.tsx:PublicLayout",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/app/(public)/layout.tsx",
      "target": "function:apps/web/src/app/(public)/layout.tsx:PublicLayout",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/app/api/auth/login/route.ts",
      "target": "function:apps/web/src/app/api/auth/login/route.ts:POST",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/app/api/auth/login/route.ts",
      "target": "function:apps/web/src/app/api/auth/login/route.ts:POST",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/components/Copyright.tsx",
      "target": "function:apps/web/src/components/Copyright.tsx:Copyright",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/components/Copyright.tsx",
      "target": "function:apps/web/src/components/Copyright.tsx:Copyright",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/components/GenericModal.tsx",
      "target": "function:apps/web/src/components/GenericModal.tsx:GenericModal",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/components/GenericModal.tsx",
      "target": "function:apps/web/src/components/GenericModal.tsx:GenericModal",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/components/ProfileAvatar.tsx",
      "target": "function:apps/web/src/components/ProfileAvatar.tsx:ProfileAvatar",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/components/ProfileAvatar.tsx",
      "target": "function:apps/web/src/components/ProfileAvatar.tsx:ProfileAvatar",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/components/ProfileDetails.tsx",
      "target": "function:apps/web/src/components/ProfileDetails.tsx:ProfileDetails",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/components/ProfileDetails.tsx",
      "target": "function:apps/web/src/components/ProfileDetails.tsx:ProfileDetails",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/components/PropTip.tsx",
      "target": "function:apps/web/src/components/PropTip.tsx:ProTip",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/components/PropTip.tsx",
      "target": "function:apps/web/src/components/PropTip.tsx:ProTip",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/components/QRCodeDisplay.tsx",
      "target": "function:apps/web/src/components/QRCodeDisplay.tsx:QRCodeDisplay",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/components/QRCodeDisplay.tsx",
      "target": "function:apps/web/src/components/QRCodeDisplay.tsx:QRCodeDisplay",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/components/RichTextEditor.tsx",
      "target": "function:apps/web/src/components/RichTextEditor.tsx:RichTextEditor",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/components/RichTextEditor.tsx",
      "target": "function:apps/web/src/components/RichTextEditor.tsx:RichTextEditor",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/components/common/CenteredColumnBox.tsx",
      "target": "function:apps/web/src/components/common/CenteredColumnBox.tsx:CenteredColumnBox",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/components/common/CenteredColumnBox.tsx",
      "target": "function:apps/web/src/components/common/CenteredColumnBox.tsx:CenteredColumnBox",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/components/common/CustomHeadingTitle.tsx",
      "target": "function:apps/web/src/components/common/CustomHeadingTitle.tsx:CustomHeadingTitle",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/components/common/CustomHeadingTitle.tsx",
      "target": "function:apps/web/src/components/common/CustomHeadingTitle.tsx:CustomHeadingTitle",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/components/common/CustomSubmitButton.tsx",
      "target": "function:apps/web/src/components/common/CustomSubmitButton.tsx:CustomSubmitButton",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/components/common/CustomSubmitButton.tsx",
      "target": "function:apps/web/src/components/common/CustomSubmitButton.tsx:CustomSubmitButton",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/components/common/Logo.tsx",
      "target": "function:apps/web/src/components/common/Logo.tsx:Logo",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/components/common/Logo.tsx",
      "target": "function:apps/web/src/components/common/Logo.tsx:Logo",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/components/common/SocialButtons.tsx",
      "target": "function:apps/web/src/components/common/SocialButtons.tsx:SocialButtons",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/components/common/SocialButtons.tsx",
      "target": "function:apps/web/src/components/common/SocialButtons.tsx:SocialButtons",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/components/common/TermsSection.tsx",
      "target": "function:apps/web/src/components/common/TermsSection.tsx:TermsSection",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/components/common/TermsSection.tsx",
      "target": "function:apps/web/src/components/common/TermsSection.tsx:TermsSection",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/components/common/Wrapper.tsx",
      "target": "function:apps/web/src/components/common/Wrapper.tsx:Wrapper",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/components/common/Wrapper.tsx",
      "target": "function:apps/web/src/components/common/Wrapper.tsx:Wrapper",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/components/copyright.cy.tsx",
      "target": "file:apps/web/src/components/Copyright.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:apps/web/src/components/loading/CircularProgressWithLabel.tsx",
      "target": "function:apps/web/src/components/loading/CircularProgressWithLabel.tsx:CircularProgressWithLabel",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/components/loading/CircularProgressWithLabel.tsx",
      "target": "function:apps/web/src/components/loading/CircularProgressWithLabel.tsx:CircularProgressWithLabel",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/components/loading/LoadingScreen.tsx",
      "target": "function:apps/web/src/components/loading/LoadingScreen.tsx:LoadingScreen",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/components/loading/LoadingScreen.tsx",
      "target": "function:apps/web/src/components/loading/LoadingScreen.tsx:LoadingScreen",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:apps/web/src/components/loading/LoadingScreen.tsx",
      "target": "file:apps/web/src/components/loading/CircularProgressWithLabel.tsx",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "function:apps/web/src/components/loading/LoadingScreen.tsx:LoadingScreen",
      "target": "function:apps/web/src/components/loading/CircularProgressWithLabel.tsx:CircularProgressWithLabel",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/components/navigation/ChooseAction.tsx",
      "target": "function:apps/web/src/components/navigation/ChooseAction.tsx:ChooseAction",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:apps/web/src/components/navigation/ChooseAction.tsx",
      "target": "function:apps/web/src/components/navigation/ChooseAction.tsx:ChooseAction",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:eslint.config.cjs",
      "target": "config:packages/core/tsconfig.json",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:packages/common/sendEmail.ts",
      "target": "function:packages/common/sendEmail.ts:sendEmail",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:packages/common/sendEmail.ts",
      "target": "function:packages/common/sendEmail.ts:sendEmail",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "config:packages/core/package.json",
      "target": "file:packages/core/src/index.ts",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:packages/core/package.json",
      "target": "file:lint-staged.config.js",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:packages/core/src/atoms/auth/index.ts",
      "target": "file:packages/core/src/atoms/auth/tokenAtom.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:packages/core/src/atoms/auth/index.ts",
      "target": "file:packages/core/src/atoms/auth/loginAtom.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:packages/core/src/atoms/auth/index.ts",
      "target": "file:packages/core/src/atoms/auth/registerAtom.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:packages/core/src/atoms/auth/index.ts",
      "target": "file:packages/core/src/atoms/auth/logoutAtom.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:packages/core/src/atoms/auth/index.ts",
      "target": "file:packages/core/src/atoms/auth/loadingAtom.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:packages/core/src/hooks/index.ts",
      "target": "file:packages/core/src/hooks/useSearchResults.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:packages/core/src/index.ts",
      "target": "file:packages/core/src/atoms/auth/index.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:packages/core/src/index.ts",
      "target": "file:packages/core/src/hooks/index.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:packages/core/src/index.ts",
      "target": "file:packages/core/src/schemas/index.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:packages/core/tsconfig.json",
      "target": "file:packages/core/src/index.ts",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:packages/keycloak/generateGiftToken.ts",
      "target": "function:packages/keycloak/generateGiftToken.ts:generateGiftToken",
      "type": "contains",
      "direction": "forward",
      "weight": 1.0
    },
    {
      "source": "file:packages/keycloak/generateGiftToken.ts",
      "target": "function:packages/keycloak/generateGiftToken.ts:generateGiftToken",
      "type": "exports",
      "direction": "forward",
      "weight": 0.8
    },
    {
      "source": "file:packages/keycloak/src/index.ts",
      "target": "file:packages/keycloak/src/api/fetchTokenFromKeycloak.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:packages/keycloak/src/index.ts",
      "target": "file:packages/keycloak/src/api/deleteAccountFromKeycloak.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:packages/keycloak/src/index.ts",
      "target": "file:packages/keycloak/src/api/createAccountFromKeycloak.ts",
      "type": "depends_on",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "document:packages/queue/README.md",
      "target": "file:packages/queue/index.js",
      "type": "documents",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "config:packages/queue/package.json",
      "target": "file:packages/queue/index.js",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "config:packages/queue/package.json",
      "target": "file:packages/queue/__tests__/index.spec.js",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:packages/wallet/jest.config.js",
      "target": "file:packages/wallet/tests/createWallet.spec.e2e.ts",
      "type": "configures",
      "direction": "forward",
      "weight": 0.6
    },
    {
      "source": "file:packages/wallet/tsconfig.tsbuildinfo",
      "target": "config:packages/wallet/tsconfig.json",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "file:packages/wallet/tsconfig.tsbuildinfo",
      "target": "file:packages/wallet/tests/createWallet.spec.e2e.ts",
      "type": "related",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "file:apps/user/jest.config.ts",
      "target": "config:apps/user/tsconfig.json",
      "type": "imports",
      "direction": "forward",
      "weight": 0.7
    },
    {
      "source": "file:packages/wallet/src/api/createWallet.ts",
      "target": "file:packages/wallet/tests/createWallet.spec.e2e.ts",
      "type": "tested_by",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "file:packages/wallet/src/index.ts",
      "target": "file:packages/wallet/tests/createWallet.spec.e2e.ts",
      "type": "tested_by",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "file:packages/keycloak/src/api/createAccountFromKeycloak.ts",
      "target": "file:packages/keycloak/tests/deleteAccount.spec.e2e.ts",
      "type": "tested_by",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "file:packages/keycloak/src/api/deleteAccountFromKeycloak.ts",
      "target": "file:packages/keycloak/tests/deleteAccount.spec.e2e.ts",
      "type": "tested_by",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "file:packages/keycloak/src/api/fetchTokenFromKeycloak.ts",
      "target": "file:packages/keycloak/tests/deleteAccount.spec.e2e.ts",
      "type": "tested_by",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "file:apps/web/src/components/Welcome.tsx",
      "target": "file:apps/web/cypress/component/Welcome.cy.tsx",
      "type": "tested_by",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "file:apps/web/src/components/NotificationItem.tsx",
      "target": "file:apps/web/cypress/component/NotificationItem.cy.tsx",
      "type": "tested_by",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "file:apps/web/src/components/NotificationsList.tsx",
      "target": "file:apps/web/cypress/component/NotificationsList.cy.tsx",
      "type": "tested_by",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "file:apps/web/src/components/TokenTree.tsx",
      "target": "file:apps/web/cypress/component/TokenTree.cy.tsx",
      "type": "tested_by",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "file:apps/web/src/components/ActivityItem.tsx",
      "target": "file:apps/web/cypress/component/ActivityItem.cy.tsx",
      "type": "tested_by",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "file:apps/native/app/index.tsx",
      "target": "file:apps/native/e2e/features/step-definitions/app.steps.ts",
      "type": "tested_by",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "file:apps/web/src/components/ProfileAvatar.tsx",
      "target": "file:apps/web/cypress/component/ProfileAvatar.cy.tsx",
      "type": "tested_by",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "file:apps/web/src/components/ProfileDetails.tsx",
      "target": "file:apps/web/cypress/component/ProfileDetails.cy.tsx",
      "type": "tested_by",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "file:apps/web/src/app/(protected)/wallet/page.tsx",
      "target": "file:apps/web/cypress/e2e/create-wallet.cy.ts",
      "type": "tested_by",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "file:apps/web/src/components/Copyright.tsx",
      "target": "file:apps/web/src/components/copyright.cy.tsx",
      "type": "tested_by",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "file:apps/user/src/auth/auth.service.ts",
      "target": "file:apps/user/src/auth/auth.spec.int.ts",
      "type": "tested_by",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "file:apps/user/src/queue-listener/queue-listener.service.ts",
      "target": "file:apps/user/src/queue-listener/queue-listener.spec.int.ts",
      "type": "tested_by",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "file:apps/user/src/user/user.controller.ts",
      "target": "file:apps/user/src/user/user.controller.spec.int.ts",
      "type": "tested_by",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "file:apps/user/src/user/user.module.ts",
      "target": "file:apps/user/src/user/user.controller.spec.int.ts",
      "type": "tested_by",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "file:apps/user/libs/validation/dtos/register-user.dto.ts",
      "target": "file:apps/user/src/user/user.controller.spec.int.ts",
      "type": "tested_by",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "file:apps/user/libs/validation/dtos/login-user.dto.ts",
      "target": "file:apps/user/src/user/user.controller.spec.int.ts",
      "type": "tested_by",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "file:apps/user/src/app.module.ts",
      "target": "file:apps/user/tests/api.spec.e2e.ts",
      "type": "tested_by",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "file:apps/user/src/user/user.controller.ts",
      "target": "file:apps/user/tests/api.spec.e2e.ts",
      "type": "tested_by",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "file:apps/user/src/user/user.service.ts",
      "target": "file:apps/user/tests/api.spec.e2e.ts",
      "type": "tested_by",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "file:apps/user/src/auth/auth.service.ts",
      "target": "file:apps/user/tests/api.spec.e2e.ts",
      "type": "tested_by",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "file:apps/web/src/components/RecentActivity.tsx",
      "target": "file:apps/web/cypress/component/RecentActivity.cy.tsx",
      "type": "tested_by",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "file:apps/web/src/components/TokenBalance.tsx",
      "target": "file:apps/web/cypress/component/TokenBalance.cy.tsx",
      "type": "tested_by",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "file:apps/web/src/components/WalletBalance.tsx",
      "target": "file:apps/web/cypress/component/WalletBalance.cy.tsx",
      "type": "tested_by",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "file:apps/web/src/components/WalletCreateDrawer.tsx",
      "target": "file:apps/web/cypress/component/WalletCreateDrawer.cy.tsx",
      "type": "tested_by",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "file:apps/web/src/components/WalletItem.tsx",
      "target": "file:apps/web/cypress/component/WalletItem.cy.tsx",
      "type": "tested_by",
      "direction": "forward",
      "weight": 0.5
    },
    {
      "source": "file:apps/native/components/ThemedText.tsx",
      "target": "file:apps/native/components/__tests__/ThemedText-test.tsx",
      "type": "tested_by",
      "direction": "forward",
      "weight": 0.5
    }
  ],
  "layers": [
    {
      "id": "layer:web-app",
      "name": "Web Wallet App",
      "description": "Next.js App Router web wallet in apps/web: protected and public route pages, MUI components, Keycloak session handling, header and snackbar contexts, and the login and signup route handlers that proxy to Keycloak.",
      "nodeIds": [
        "file:apps/web/src/app/(protected)/layout.tsx",
        "file:apps/web/src/app/(protected)/notifications/page.tsx",
        "file:apps/web/src/app/(protected)/search/page.tsx",
        "file:apps/web/src/app/(protected)/settings/account/page.tsx",
        "file:apps/web/src/app/(public)/login/page.tsx",
        "file:apps/web/src/app/(public)/signup/page.tsx",
        "file:apps/web/src/app/auth/callback/page.tsx",
        "file:apps/web/src/app/claim/page.tsx",
        "file:apps/web/src/app/logout/page.tsx",
        "file:apps/web/src/app/page.tsx",
        "file:apps/web/src/auth/keycloak.ts",
        "file:apps/web/src/auth/sessionChannel.ts",
        "file:apps/web/src/components/ActivityItem.tsx",
        "file:apps/web/src/components/KeycloakProvider.tsx",
        "file:apps/web/src/components/LoadingSpinner.tsx",
        "file:apps/web/src/components/PendingClaimHandler.tsx",
        "file:apps/web/src/components/WalletDetailModal.tsx",
        "file:apps/web/src/components/header/Header.tsx",
        "file:apps/web/src/components/header/HeaderLogo.tsx",
        "file:apps/web/src/components/header/HeaderSearch.tsx",
        "file:apps/web/src/components/header/NotificationHeader.tsx",
        "file:apps/web/src/components/navigation/BottomNavigatorBar.tsx",
        "file:apps/web/src/context/HeaderContext.tsx",
        "file:apps/web/src/utils/actionToken.ts",
        "file:apps/web/src/utils/claimPendingToken.ts",
        "file:apps/web/src/utils/userProfile.ts",
        "file:apps/web/src/app/(protected)/home/page.tsx",
        "file:apps/web/src/components/ActivityList.tsx",
        "file:apps/web/src/components/RecentActivity.tsx",
        "file:apps/web/src/components/TokenBalance.tsx",
        "file:apps/web/src/components/TransactionSnackbar.tsx",
        "file:apps/web/src/components/WalletBalance.tsx",
        "file:apps/web/src/components/activity.types.ts",
        "file:apps/web/src/components/common/CustomBalanceCard.tsx",
        "file:apps/web/src/context/SnackbarContext.tsx",
        "file:apps/web/src/app/(protected)/wallet/customize/page.tsx",
        "file:apps/web/src/app/(protected)/wallet/details/page.tsx",
        "file:apps/web/src/app/(protected)/wallet/page.tsx",
        "file:apps/web/src/components/GenericDrawer.tsx",
        "file:apps/web/src/components/WalletCreateDrawer.tsx",
        "file:apps/web/src/components/WalletItem.tsx",
        "file:apps/web/src/components/WalletProfileDrawer.tsx",
        "file:apps/web/src/components/common/CustomTextField.tsx",
        "file:apps/web/src/utils/plainText.ts",
        "file:apps/web/src/utils/walletFields.ts",
        "file:apps/web/src/app/(protected)/welcome/page.tsx",
        "file:apps/web/src/app/layout.tsx",
        "file:apps/web/src/components/ThemeProvider.tsx",
        "file:apps/web/src/components/Welcome.tsx",
        "file:apps/web/src/theme.ts",
        "file:apps/web/src/components/NotificationItem.tsx",
        "file:apps/web/src/components/NotificationsList.tsx",
        "file:apps/web/src/app/(protected)/token/details/page.tsx",
        "file:apps/web/src/components/TokenTree.tsx",
        "file:apps/web/src/app/api/auth/signup/route.ts",
        "file:apps/web/src/app/api/services/tokenService.ts",
        "file:apps/web/src/app/api/services/userService.ts",
        "file:apps/web/src/components/DateRangeInput.tsx",
        "file:apps/web/src/components/RadioButton.tsx",
        "file:apps/web/src/components/WalletFiltersModal.tsx",
        "file:apps/web/public/.gitkeep",
        "file:apps/web/src/app/(protected)/notifications/details/page.tsx",
        "file:apps/web/src/app/(protected)/send/page.tsx",
        "file:apps/web/src/app/(protected)/settings/page.tsx",
        "file:apps/web/src/app/(protected)/transfers/details/page.tsx",
        "file:apps/web/src/app/(protected)/transfers/page.tsx",
        "file:apps/web/src/app/(public)/account-created/page.tsx",
        "file:apps/web/src/app/(public)/forgotPassword/verify/VerifyEmail.tsx",
        "file:apps/web/src/app/(public)/forgotPassword/verify/page.tsx",
        "file:apps/web/src/app/(public)/layout.tsx",
        "file:apps/web/src/app/api/auth/login/route.ts",
        "file:apps/web/src/app/globals.css",
        "file:apps/web/src/app/page.module.css",
        "file:apps/web/src/components/Copyright.tsx",
        "file:apps/web/src/components/GenericModal.tsx",
        "file:apps/web/src/components/ProfileAvatar.tsx",
        "file:apps/web/src/components/ProfileDetails.tsx",
        "file:apps/web/src/components/PropTip.tsx",
        "file:apps/web/src/components/QRCodeDisplay.tsx",
        "file:apps/web/src/components/RichTextEditor.tsx",
        "file:apps/web/src/components/common/CenteredColumnBox.tsx",
        "file:apps/web/src/components/common/CustomHeadingTitle.tsx",
        "file:apps/web/src/components/common/CustomSubmitButton.tsx",
        "file:apps/web/src/components/common/Logo.tsx",
        "file:apps/web/src/components/common/SocialButtons.tsx",
        "file:apps/web/src/components/common/TermsSection.tsx",
        "file:apps/web/src/components/common/Wrapper.tsx",
        "file:apps/web/src/components/loading/CircularProgressWithLabel.tsx",
        "file:apps/web/src/components/loading/LoadingScreen.tsx",
        "file:apps/web/src/components/navigation/ChooseAction.tsx",
        "file:apps/web/src/utils/.gitkeep"
      ]
    },
    {
      "id": "layer:native-app",
      "name": "Native Mobile App",
      "description": "Expo Router React Native wallet in apps/native: tab, auth, transfer and onboarding screens, themed UI primitives, wallet and search components, design tokens, hooks, modal context and mock activity data.",
      "nodeIds": [
        "file:apps/native/app/(tabs)/home/_layout.tsx",
        "file:apps/native/app/(tabs)/home/index.tsx",
        "file:apps/native/app/(tabs)/search/_layout.tsx",
        "file:apps/native/app/(tabs)/search/index.tsx",
        "file:apps/native/app/onboarding/index.tsx",
        "file:apps/native/app/scancode.tsx",
        "file:apps/native/app/transfer/entry.tsx",
        "file:apps/native/app/transfer/index.tsx",
        "file:apps/native/app/transfer/notification.tsx",
        "file:apps/native/components/HeaderSearch.tsx",
        "file:apps/native/components/svg/Cloud.tsx",
        "file:apps/native/components/svg/Leaf.tsx",
        "file:apps/native/components/svg/wallet.tsx",
        "file:apps/native/components/ui/QRCodeDisplay.tsx",
        "file:apps/native/components/ui/SearchResultItem.tsx",
        "file:apps/native/components/ui/SearchResults.tsx",
        "file:apps/native/components/ui/WalletItem.tsx",
        "file:apps/native/components/ui/WalletSummary.tsx",
        "file:apps/native/components/ui/common/Avatar.tsx",
        "file:apps/native/components/ui/common/CustomButton.tsx",
        "file:apps/native/components/ui/common/EmptyState.tsx",
        "file:apps/native/components/ui/common/Heading.tsx",
        "file:apps/native/data/data.ts",
        "file:apps/native/theme/index.ts",
        "file:apps/native/utils/dimensions.ts",
        "file:apps/native/utils/getInitials.ts",
        "file:apps/native/app/(auth)/checkEmail.tsx",
        "file:apps/native/app/(auth)/forgotPassword.tsx",
        "file:apps/native/app/(auth)/login.tsx",
        "file:apps/native/app/(tabs)/settings/index.tsx",
        "file:apps/native/app/(tabs)/wallet/[walletId].tsx",
        "file:apps/native/app/(tabs)/wallet/_layout.tsx",
        "file:apps/native/app/(tabs)/wallet/index.tsx",
        "file:apps/native/components/ui/common/CustomModal.tsx",
        "file:apps/native/components/ui/common/CustomSubmitButton.tsx",
        "file:apps/native/components/ui/common/CustomTextInput.tsx",
        "file:apps/native/components/ui/common/SocialLoginButton.tsx",
        "file:apps/native/components/wallet/CreateWalletButton.tsx",
        "file:apps/native/components/wallet/DiscardChangesModal.tsx",
        "file:apps/native/components/wallet/WalletActivity.tsx",
        "file:apps/native/components/wallet/WalletCreateDrawer.tsx",
        "file:apps/native/components/wallet/WalletDetails.tsx",
        "file:apps/native/components/wallet/WalletFilterModal.tsx",
        "file:apps/native/components/wallet/WalletList.tsx",
        "file:apps/native/constants/Colors.ts",
        "file:apps/native/data/walletActivityPlaceholder.ts",
        "file:apps/native/app/accountConfirmation.tsx",
        "file:apps/native/components/Button.tsx",
        "file:apps/native/components/Collapsible.tsx",
        "file:apps/native/components/ParallaxScrollView.tsx",
        "file:apps/native/components/ThemeSafeArea.tsx",
        "file:apps/native/components/ThemedSafeArea.tsx",
        "file:apps/native/components/ThemedStatusBar.tsx",
        "file:apps/native/components/ThemedText.tsx",
        "file:apps/native/components/ThemedView.tsx",
        "file:apps/native/hooks/useThemeColor.ts",
        "file:apps/native/app/(tabs)/_layout.tsx",
        "file:apps/native/app/_layout.tsx",
        "file:apps/native/components/ActionSelectionModal.tsx",
        "file:apps/native/components/CustomTabBar.tsx",
        "file:apps/native/context/ModalContext.tsx",
        "file:apps/native/app/(tabs)/notifications/_layout.tsx",
        "file:apps/native/app/(tabs)/notifications/index.tsx",
        "file:apps/native/app/(tabs)/settings/_layout.tsx",
        "file:apps/native/app/index.tsx",
        "file:apps/native/app/transfer/_layout.tsx",
        "file:apps/native/components/ExternalLink.tsx",
        "file:apps/native/components/navigation/TabBarIcon.tsx",
        "file:apps/native/components/wallet/YourWallets.tsx",
        "file:apps/native/declarations.d.ts",
        "file:apps/native/hooks/useColorScheme.ts"
      ]
    },
    {
      "id": "layer:user-api",
      "name": "User API Service",
      "description": "NestJS user API in apps/user that proxies login and registration to Keycloak, caches service-account tokens, validates DTOs, exposes Swagger and an OpenAPI spec, and listens on the Postgres wallet-creation queue.",
      "nodeIds": [
        "file:apps/user/libs/utils/swagger.ts",
        "file:apps/user/libs/validation/dtos/login-user.dto.ts",
        "file:apps/user/libs/validation/dtos/register-user.dto.ts",
        "file:apps/user/src/app.module.ts",
        "file:apps/user/src/auth/auth.module.ts",
        "file:apps/user/src/auth/auth.service.ts",
        "file:apps/user/src/main.ts",
        "file:apps/user/src/queue-listener/helpers/onQueueNotification.ts",
        "file:apps/user/src/queue-listener/queue-listener.module.ts",
        "file:apps/user/src/queue-listener/queue-listener.service.ts",
        "file:apps/user/src/user/user.controller.ts",
        "file:apps/user/src/user/user.module.ts",
        "file:apps/user/src/user/user.service.ts",
        "config:apps/user/docs/api/spec/user-api.yaml",
        "file:apps/user/libs/validation/dtos/user.dto.ts"
      ]
    },
    {
      "id": "layer:client-packages",
      "name": "Shared Client Packages",
      "description": "Cross-platform client code shared by the web and native apps: the @treetracker/wallet axios API client and React hooks for wallets, tokens, transfers and action tokens, the core Jotai auth and search atoms, and the common package stub.",
      "nodeIds": [
        "file:packages/wallet/src/api/acceptTransfer.ts",
        "file:packages/wallet/src/api/cancelActionToken.ts",
        "file:packages/wallet/src/api/cancelTransfer.ts",
        "file:packages/wallet/src/api/createWallet.ts",
        "file:packages/wallet/src/api/declineTransfer.ts",
        "file:packages/wallet/src/api/errors.ts",
        "file:packages/wallet/src/api/generateActionToken.ts",
        "file:packages/wallet/src/api/getActionTokens.ts",
        "file:packages/wallet/src/api/getToken.ts",
        "file:packages/wallet/src/api/getTokenTransactions.ts",
        "file:packages/wallet/src/api/getTokenTree.ts",
        "file:packages/wallet/src/api/getTransfer.ts",
        "file:packages/wallet/src/api/getTransferTokens.ts",
        "file:packages/wallet/src/api/getTransfers.ts",
        "file:packages/wallet/src/api/getWallets.ts",
        "file:packages/wallet/src/api/redeemActionToken.ts",
        "file:packages/wallet/src/api/sendTransfer.ts",
        "file:packages/wallet/src/api/updateWallet.ts",
        "file:packages/wallet/src/hooks/useActionTokens.ts",
        "file:packages/wallet/src/hooks/useCreateWallet.ts",
        "file:packages/wallet/src/hooks/useGetToken.ts",
        "file:packages/wallet/src/hooks/useGetTokenTransactions.ts",
        "file:packages/wallet/src/hooks/useGetTokenTree.ts",
        "file:packages/wallet/src/hooks/useGetTransfer.ts",
        "file:packages/wallet/src/hooks/useGetTransfers.ts",
        "file:packages/wallet/src/hooks/useGetWallets.ts",
        "file:packages/wallet/src/hooks/useIncomingTransfers.ts",
        "file:packages/wallet/src/hooks/usePendingTransfers.ts",
        "file:packages/wallet/src/hooks/useSendTransfer.ts",
        "file:packages/wallet/src/hooks/useUpdateWallet.ts",
        "file:packages/wallet/src/index.ts",
        "file:packages/wallet/src/types/wallet.ts",
        "file:packages/wallet/src/utils/config.ts",
        "file:packages/core/src/atoms/auth/loadingAtom.ts",
        "file:packages/core/src/atoms/auth/loginAtom.ts",
        "file:packages/core/src/atoms/auth/logoutAtom.ts",
        "file:packages/core/src/atoms/auth/registerAtom.ts",
        "file:packages/core/src/atoms/auth/tokenAtom.ts",
        "file:packages/core/src/schemas/index.ts",
        "file:packages/core/src/types/auth.ts",
        "file:packages/core/src/utils/config.ts",
        "file:packages/core/src/utils/platform.ts",
        "file:packages/core/src/utils/storage.ts",
        "file:packages/core/src/utils/validation.ts",
        "file:packages/wallet/src/api/getTokens.ts",
        "file:packages/wallet/src/hooks/useGetTokens.ts",
        "file:packages/core/src/atoms/search/index.ts",
        "file:packages/core/src/data/mockData.ts",
        "file:packages/core/src/hooks/useSearchResults.ts",
        "file:packages/core/src/types/search.ts",
        "file:packages/core/src/api/wallet.ts",
        "file:packages/core/src/hooks/wallet.ts",
        "file:packages/core/src/types/wallet.ts",
        "file:packages/common/sendEmail.ts",
        "file:packages/core/src/atoms/auth/index.ts",
        "file:packages/core/src/hooks/index.ts",
        "file:packages/core/src/index.ts",
        "file:packages/core/src/schemas/authSchemas.ts",
        "file:packages/core/src/services/.gitkeep",
        "file:packages/core/types.d.ts"
      ]
    },
    {
      "id": "layer:integration-packages",
      "name": "Identity and Messaging Packages",
      "description": "Server-side helper packages: @treetracker/keycloak for Keycloak admin account creation, deletion and service-account tokens, and the Postgres LISTEN/NOTIFY pub/sub queue with publish, subscribe and ack.",
      "nodeIds": [
        "file:packages/queue/ack.js",
        "file:packages/queue/index.js",
        "file:packages/queue/pgClient.js",
        "file:packages/queue/publish.js",
        "file:packages/queue/subscribe.js",
        "file:packages/keycloak/src/api/createAccountFromKeycloak.ts",
        "file:packages/keycloak/src/api/deleteAccountFromKeycloak.ts",
        "file:packages/keycloak/src/api/fetchTokenFromKeycloak.ts",
        "file:packages/keycloak/src/utils/config.ts",
        "file:packages/keycloak/generateGiftToken.ts",
        "file:packages/keycloak/src/index.ts"
      ]
    },
    {
      "id": "layer:test",
      "name": "Testing and QA",
      "description": "WebdriverIO and Cucumber BDD suite with seeding, capabilities and committed report artifacts, Cypress component and E2E tests for the web app, native Appium E2E and snapshot tests, and Jest unit, integration and E2E suites with their runner configs.",
      "nodeIds": [
        "file:apps/bdd/features/step-definitions/steps.ts",
        "file:packages/wallet/tests/createWallet.spec.e2e.ts",
        "file:apps/web/cypress/component/ActivityItem.cy.tsx",
        "file:apps/user/src/auth/auth.spec.int.ts",
        "file:apps/user/src/queue-listener/queue-listener.spec.int.ts",
        "file:apps/user/src/user/user.controller.spec.int.ts",
        "file:apps/user/src/user/user.controller.spec.ts",
        "file:apps/user/tests/api.spec.e2e.ts",
        "file:packages/queue/__tests__/index.spec.js",
        "file:apps/web/cypress/component/RecentActivity.cy.tsx",
        "file:apps/web/cypress/component/TokenBalance.cy.tsx",
        "file:apps/web/cypress/component/WalletBalance.cy.tsx",
        "file:apps/web/cypress/component/WalletCreateDrawer.cy.tsx",
        "file:apps/web/cypress/component/WalletItem.cy.tsx",
        "file:apps/native/components/__tests__/ThemedText-test.tsx",
        "file:apps/bdd/features/step-definitions/share-token.steps.ts",
        "file:apps/bdd/utils/seed.ts",
        "file:packages/keycloak/tests/deleteAccount.spec.e2e.ts",
        "file:apps/bdd/utils/artifacts.ts",
        "file:apps/bdd/utils/capabilities.ts",
        "file:apps/bdd/wdio.base.conf.ts",
        "file:apps/bdd/wdio.debug.conf.ts",
        "file:apps/bdd/wdio.mobile.conf.ts",
        "file:apps/bdd/wdio.web.conf.ts",
        "file:apps/web/cypress/component/Welcome.cy.tsx",
        "file:apps/user/e2e-tests.config.ts",
        "file:apps/user/int-tests.config.ts",
        "file:apps/user/jest.config.ts",
        "file:apps/user/unit-tests.config.ts",
        "file:apps/web/cypress/component/NotificationItem.cy.tsx",
        "file:apps/web/cypress/component/NotificationsList.cy.tsx",
        "file:apps/web/cypress/component/TokenTree.cy.tsx",
        "file:apps/web/cypress/e2e/login.cy.ts",
        "file:apps/web/cypress/e2e/signup.cy.ts",
        "file:apps/web/cypress/support/auth-constants.ts",
        "file:apps/web/cypress/support/commands.ts",
        "file:apps/web/cypress/support/component.tsx",
        "file:apps/web/cypress/support/e2e.ts",
        "config:apps/web/cypress/fixtures/auth-data.json",
        "config:apps/web/cypress/fixtures/example.json",
        "config:apps/web/cypress/fixtures/wallet.json",
        "file:apps/bdd/features/create-wallet.feature",
        "file:apps/bdd/features/customize-wallet.feature",
        "file:apps/bdd/features/iteration2/landing.feature",
        "file:apps/bdd/features/iteration3/email-link-to-receive-token.feature",
        "file:apps/bdd/features/iteration3/send-token-by-email.feature",
        "file:apps/bdd/features/iteration4/send_token_to_another_wallet.feature",
        "file:apps/bdd/features/iteration5/buy_a_token_from_greenstand.feature",
        "file:apps/bdd/features/login.feature",
        "file:apps/bdd/features/register.feature",
        "file:apps/bdd/features/send-token.feature",
        "file:apps/bdd/features/share-token.feature",
        "file:apps/bdd/features/step-definitions/mobile.steps.ts",
        "file:apps/bdd/features/step-sandbox.feature",
        "file:apps/bdd/scripts/bdd-test-report.js",
        "file:apps/bdd/scripts/generate-cucumber-report.js",
        "file:apps/bdd/scripts/watch.ts",
        "file:apps/bdd/test-artifacts/reports/android/cucumber-html/assets/fonts/FontAwesome.otf",
        "file:apps/bdd/test-artifacts/reports/android/cucumber-html/assets/js/darkmode.js",
        "file:apps/bdd/test-artifacts/reports/android/cucumber-html/assets/js/responsive.bootstrap5.js",
        "file:apps/bdd/test-artifacts/reports/android/cucumber-html/features/814c70c6-3e87-48fa-be95-a3d06b2154c4-app-launch.html",
        "file:apps/bdd/test-artifacts/reports/android/cucumber-html/index.html",
        "config:apps/bdd/test-artifacts/reports/android/cucumber/app-launch_17761132703221946.json",
        "config:apps/bdd/test-artifacts/reports/web/cucumber/customize-wallet_17835030345201877.json",
        "file:apps/native/components/__tests__/__snapshots__/ThemedText-test.tsx.snap",
        "file:apps/native/e2e/features/iterations1/app.feature",
        "file:apps/native/e2e/features/step-definitions/app.steps.ts",
        "file:apps/native/e2e/mocks/handlers.ts",
        "file:apps/native/e2e/mocks/server.ts",
        "file:apps/web/cypress.config.ts",
        "file:apps/web/cypress/component/HomeContent.cy.tsx",
        "file:apps/web/cypress/component/ProfileAvatar.cy.tsx",
        "file:apps/web/cypress/component/ProfileDetails.cy.tsx",
        "file:apps/web/cypress/component/WalletPage.cy.tsx",
        "file:apps/web/cypress/e2e/create-wallet.cy.ts",
        "file:apps/web/cypress/e2e/search-action.cy.ts",
        "file:apps/web/cypress/e2e/spec.cy.ts",
        "file:apps/web/cypress/support/component-index.html",
        "file:apps/web/cypress/support/wallet-constants.ts",
        "file:apps/web/src/components/copyright.cy.tsx",
        "file:packages/keycloak/jest.config.js",
        "file:packages/wallet/jest.config.js"
      ]
    },
    {
      "id": "layer:infrastructure",
      "name": "Deployment and CI/CD",
      "description": "Docker multi-stage image and Kustomize Kubernetes manifests with Ambassador mappings for the user API, EAS mobile build profiles, semantic-release config, and the GitHub Actions workflows for PR checks, BDD runs, releases and S3 web deploys.",
      "nodeIds": [
        "service:apps/user/.dockerignore",
        "service:apps/user/Dockerfile",
        "service:apps/user/Dockerfile:builder",
        "service:apps/user/Dockerfile:prod",
        "pipeline:.github/workflows/build-dev-docker-img-and-relase.yml",
        "pipeline:.github/workflows/ci-cd-deploy-web-prod.yml",
        "pipeline:.github/workflows/ci-cd-deploy-web-test.yml",
        "pipeline:.github/workflows/ci-cd-pr-bdd-android.yml",
        "pipeline:.github/workflows/ci-cd-pr-bdd-wallet.yml",
        "pipeline:.github/workflows/ci-cd-pr-package-queue.yml",
        "pipeline:.github/workflows/ci-cd-pr-queue-package-wallet.yml",
        "pipeline:.github/workflows/ci-cd-pr-user-wallet.yml",
        "pipeline:.github/workflows/ci-cd-pr-wallet-package-wallet.yml",
        "pipeline:.github/workflows/ci-cd-pr-web-wallet.yml",
        "pipeline:.github/workflows/pr-ci-cd-all.yml",
        "pipeline:.github/workflows/static-website-deploy-dev.yml",
        "config:apps/native/eas.json",
        "config:apps/user/deployment/base/cluster-role-binding.yaml",
        "config:apps/user/deployment/base/cluster-role.yaml",
        "config:apps/user/deployment/base/deployment.yaml",
        "config:apps/user/deployment/base/kustomization.yaml",
        "config:apps/user/deployment/base/mapping.yaml",
        "config:apps/user/deployment/base/namespace.yaml",
        "config:apps/user/deployment/base/service.yaml",
        "file:.releaserc.js",
        "config:apps/user/deployment/overlays/development/kustomization.yaml",
        "config:apps/user/deployment/overlays/development/mapping.yaml"
      ]
    },
    {
      "id": "layer:config",
      "name": "Workspace and Tooling Configuration",
      "description": "Yarn workspaces root and per-workspace manifests, TypeScript, ESLint, Prettier, Babel, Next.js, Expo and Nest CLI settings, env templates, the shared @treetracker/config package, Husky hooks, commitlint and lint-staged rules.",
      "nodeIds": [
        "file:apps/native/eslint.config.mjs",
        "file:apps/user/eslint.config.mjs",
        "file:eslint.config.js",
        "file:packages/config/index.js",
        "config:.yarnrc.yml",
        "config:package.json",
        "config:tsconfig.json",
        "config:apps/bdd/.env.example",
        "config:apps/bdd/package.json",
        "config:apps/bdd/tsconfig.json",
        "config:apps/native/.env.example",
        "config:apps/native/app.json",
        "config:apps/native/package.json",
        "config:apps/native/tsconfig.json",
        "config:apps/user/.env.example",
        "config:apps/user/nest-cli.json",
        "config:apps/user/package.json",
        "config:apps/user/tsconfig.build.json",
        "config:apps/user/tsconfig.json",
        "config:apps/user/tsconfig.spec.json",
        "config:apps/web/.env.example",
        "config:apps/web/package.json",
        "config:apps/web/tsconfig.json",
        "config:packages/config/package.json",
        "config:packages/config/prettier.config.json",
        "config:packages/config/tsconfig.json",
        "config:packages/keycloak/.env.example",
        "config:packages/keycloak/package.json",
        "config:packages/keycloak/tsconfig.json",
        "config:packages/keycloak/tsconfig.spec.json",
        "config:packages/wallet/.env.example",
        "config:packages/wallet/package.json",
        "config:packages/wallet/tsconfig.json",
        "file:.husky/commit-msg",
        "file:.husky/pre-commit",
        "file:.prettierignore",
        "file:CODEOWNERS",
        "file:apps/native/app.config.js",
        "file:apps/native/babel.config.js",
        "file:apps/native/lint-staged.config.js",
        "file:apps/native/prettier.js",
        "file:apps/native/scripts/reset-project.js",
        "file:apps/user/babel.config.js",
        "file:apps/user/lint-staged.config.js",
        "file:apps/web/.prettierignore",
        "config:apps/web/cypress/tsconfig.json",
        "file:apps/web/eslint.config.cjs",
        "file:apps/web/eslint.config.mjs",
        "file:apps/web/lint-staged.config.js",
        "file:apps/web/next.config.js",
        "file:commitlint.config.js",
        "file:eslint.config.cjs",
        "file:lint-staged.config.js",
        "config:packages/core/package.json",
        "config:packages/core/tsconfig.json",
        "config:packages/queue/package.json",
        "file:packages/wallet/tsconfig.tsbuildinfo"
      ]
    },
    {
      "id": "layer:documentation",
      "name": "Documentation",
      "description": "Project README, contributing guide and changelog, per-workspace READMEs, BDD iteration notes and how-tos, and the GitHub issue and pull request templates.",
      "nodeIds": [
        "document:CHANGELOG.md",
        "document:CONTRIBUTING.md",
        "document:README.md",
        "document:apps/bdd/README.md",
        "document:apps/bdd/bdd-testing.md",
        "document:apps/native/README.md",
        "document:apps/user/README.md",
        "document:apps/web/README.md",
        "document:packages/keycloak/README.md",
        "document:packages/wallet/README.md",
        "document:.github/ISSUE_TEMPLATE/bug_report.md",
        "document:.github/pull_request_template.md",
        "document:apps/bdd/features/iteration2/README.md",
        "document:apps/bdd/features/iteration3/README.md",
        "document:apps/bdd/features/iteration4/README.md",
        "document:apps/bdd/features/iteration5/README.md",
        "document:apps/web/src/pages/README.md",
        "document:packages/queue/README.md"
      ]
    }
  ],
  "tour": [
    {
      "order": 1,
      "title": "Project Overview",
      "description": "Start with the README to learn what the Treetracker Wallet App is: a Greenstand wallet for managing and transferring tokens that represent verified tree planting. It explains the prerequisites, the env files each workspace needs, and the root yarn scripts that start the web app, the native app and the user API. The root package.json defines the Yarn 4 workspaces (apps/* and packages/*) and the delegating scripts, and CONTRIBUTING.md describes the monorepo layout, the per-app tech stacks and the Conventional Commits rules that the rest of this tour refers to.",
      "nodeIds": [
        "document:README.md",
        "config:package.json",
        "document:CONTRIBUTING.md"
      ]
    },
    {
      "order": 2,
      "title": "Shared Auth State",
      "description": "The @treetracker/core package is the foundation that both client apps share, so it comes before any app code. Its index re-exports the Jotai auth atoms: tokenAtom persists the auth token, and getAsyncStorage picks sessionStorage on web or AsyncStorage on native, so one atom works on both platforms. Write-only atoms such as loginAtom validate form input with Joi before they call the user API, and every wallet hook later in this tour reads its auth token from tokenAtom.",
      "nodeIds": [
        "file:packages/core/src/index.ts",
        "file:packages/core/src/atoms/auth/index.ts",
        "file:packages/core/src/atoms/auth/tokenAtom.ts",
        "file:packages/core/src/utils/storage.ts",
        "file:packages/core/src/atoms/auth/loginAtom.ts"
      ],
      "languageLesson": "Jotai models state as small atoms. A primitive atom holds a value, atomWithStorage persists that value through a storage adapter, and a write-only atom (created with a null read function) acts like an action that can read and set other atoms."
    },
    {
      "order": 3,
      "title": "Wallet Client Foundations",
      "description": "The @treetracker/wallet package is the client for the Greenstand wallet API, and its barrel index has the largest fan-out in the graph because it re-exports every API client, hook and type. The shared types in types/wallet.ts (Wallet, Transfer, ActionTokenSummary, Transaction) mirror the wallet API responses, and utils/config.ts, the most depended-upon file in the project, resolves the API base URLs from NEXT_PUBLIC_* variables on web or from Expo Constants on native. The typed WalletApiError in errors.ts carries the server reason slug, so callers can branch on cases such as no_wallet without parsing message text.",
      "nodeIds": [
        "file:packages/wallet/src/index.ts",
        "file:packages/wallet/src/types/wallet.ts",
        "file:packages/wallet/src/utils/config.ts",
        "file:packages/wallet/src/api/errors.ts"
      ],
      "languageLesson": "A TypeScript barrel file uses 'export * from' or named re-exports to give a package one public import path. Consumers import from the package root, and the internal folder structure can change without breaking them."
    },
    {
      "order": 4,
      "title": "Wallet API Clients and Hooks",
      "description": "Each wallet feature is a pair: an API client function that calls one wallet API endpoint, and a React hook that binds it to the tokenAtom from Step 2. createWallet and useCreateWallet show the thin pattern, and sendTransfer starts a transfer of specific tokens or of an N-token bundle. usePendingTransfers adds list state plus accept, decline and cancel actions, and redeemActionToken turns a share link into a completed transfer. The web pages in Steps 6 and 7 are built almost entirely from these hooks.",
      "nodeIds": [
        "file:packages/wallet/src/api/createWallet.ts",
        "file:packages/wallet/src/hooks/useCreateWallet.ts",
        "file:packages/wallet/src/api/sendTransfer.ts",
        "file:packages/wallet/src/hooks/usePendingTransfers.ts",
        "file:packages/wallet/src/api/redeemActionToken.ts"
      ],
      "languageLesson": "A custom React hook is a function whose name starts with 'use' and that calls other hooks. Here the hooks read the auth token from the core tokenAtom and call the matching API client, so a page component gets data, loading state and actions from one call without knowing about HTTP or auth."
    },
    {
      "order": 5,
      "title": "Web App Root and Keycloak",
      "description": "The Next.js web wallet starts at the App Router root layout, which wraps every page in the MUI theme and the KeycloakProvider. The provider waits for an 8-second capped Keycloak init, mirrors the access token into the core tokenAtom from Step 2, and refreshes it on expiry, while auth/keycloak.ts wraps keycloak-js with an idempotent PKCE init. The root page and the /auth/callback page read the authenticated flag from the useAuth hook and redirect to /home or /login. These files form a tightly coupled cluster in the graph, so they are best read together.",
      "nodeIds": [
        "file:apps/web/src/app/layout.tsx",
        "file:apps/web/src/components/KeycloakProvider.tsx",
        "file:apps/web/src/auth/keycloak.ts",
        "file:apps/web/src/app/page.tsx",
        "file:apps/web/src/app/auth/callback/page.tsx"
      ],
      "languageLesson": "React context lets a provider near the root share a value with any descendant. KeycloakProvider exposes ready and authenticated through a useAuth hook, and it blocks rendering until init finishes, so no child page renders with an unknown auth state."
    },
    {
      "order": 6,
      "title": "Protected Routes and Navigation",
      "description": "Next.js route groups split the web app into (public) and (protected) areas without changing URLs. The protected layout is the client-side auth gate: it redirects to /login when tokenAtom is empty or when another tab broadcasts logout through the BroadcastChannel in sessionChannel.ts. It also wraps pages in the header and snackbar contexts and in the bottom navigation bar, which badges the Notifications tab with the incoming transfer count from the wallet hooks of Step 4.",
      "nodeIds": [
        "file:apps/web/src/app/(protected)/layout.tsx",
        "file:apps/web/src/auth/sessionChannel.ts",
        "file:apps/web/src/components/header/Header.tsx",
        "file:apps/web/src/context/HeaderContext.tsx",
        "file:apps/web/src/components/navigation/BottomNavigatorBar.tsx"
      ],
      "languageLesson": "In the Next.js App Router, a folder name in parentheses, such as (protected), is a route group. It shares a layout among its pages but does not add a URL segment, so /home stays /home."
    },
    {
      "order": 7,
      "title": "Web Wallet Features",
      "description": "These pages show the main token flows of the web wallet, all built on the hooks from Step 4. The home page shows token and wallet totals plus recent activity, the wallet page lists and creates wallets, and the send page sends tokens to a named wallet or generates a claim link with a QR code. The transfers page groups incoming, outgoing and share-link items with accept, decline and cancel actions, and the public /claim page redeems a shared link or saves it until the user signs in and has a wallet.",
      "nodeIds": [
        "file:apps/web/src/app/(protected)/home/page.tsx",
        "file:apps/web/src/app/(protected)/wallet/page.tsx",
        "file:apps/web/src/app/(protected)/send/page.tsx",
        "file:apps/web/src/app/(protected)/transfers/page.tsx",
        "file:apps/web/src/app/claim/page.tsx"
      ]
    },
    {
      "order": 8,
      "title": "Native App Shell",
      "description": "The Expo React Native app uses Expo Router, so the folder structure under apps/native/app defines the routes, much like the web App Router from Step 5. The root _layout.tsx waits for the Roboto fonts and renders every route inside ModalProvider together with the global ActionSelectionModal, a cluster the graph also detects. The index route sends first-time users to onboarding, signed-in users to the home tab and everyone else to login, and the (tabs) layout declares the home, wallet, notifications and settings tabs.",
      "nodeIds": [
        "file:apps/native/app/_layout.tsx",
        "file:apps/native/app/index.tsx",
        "file:apps/native/context/ModalContext.tsx",
        "file:apps/native/components/ActionSelectionModal.tsx",
        "file:apps/native/app/(tabs)/_layout.tsx"
      ],
      "languageLesson": "Expo Router is file-based routing for React Native. A _layout.tsx file wraps the routes in its folder (Slot, Stack or Tabs), a folder name in parentheses is a group that does not appear in the URL, and [walletId].tsx is a dynamic route."
    },
    {
      "order": 9,
      "title": "Native Screens and Design Tokens",
      "description": "The home tab screen shows balance cards and a recent-activity list, and it swaps to search results while the core search state is active. That search state lives in the core package: Jotai atoms for the query and the send or request category, plus derived atoms that rank the matching items. Every screen shares the HeaderSearch bar, and the design tokens in theme/index.ts and constants/Colors.ts (among the most imported native files) define the Greenstand greens, spacing and Roboto typography. Note that much of the native data is still mock data, unlike the web app, which already uses the wallet hooks.",
      "nodeIds": [
        "file:apps/native/app/(tabs)/home/index.tsx",
        "file:packages/core/src/atoms/search/index.ts",
        "file:apps/native/components/HeaderSearch.tsx",
        "file:apps/native/theme/index.ts",
        "file:apps/native/constants/Colors.ts"
      ]
    },
    {
      "order": 10,
      "title": "User API Bootstrap",
      "description": "The NestJS user API is the backend that the client apps call for login and registration. main.ts bootstraps AppModule, enables Swagger outside production, applies a whitelisting ValidationPipe and CORS, and listens on port 8080. AppModule wires the user, auth and queue modules, UserController exposes POST /login, POST /register, GET /healthz and GET /me, and RegisterUserDto validates the registration body. The OpenAPI spec under docs/api documents the register endpoint contract.",
      "nodeIds": [
        "file:apps/user/src/main.ts",
        "file:apps/user/src/app.module.ts",
        "file:apps/user/src/user/user.controller.ts",
        "file:apps/user/libs/validation/dtos/register-user.dto.ts",
        "config:apps/user/docs/api/spec/user-api.yaml"
      ],
      "languageLesson": "NestJS uses TypeScript decorators and dependency injection. @Module groups providers and controllers, @Controller and @Post map methods to routes, and class-validator decorators on a DTO class let the global ValidationPipe reject bad request bodies before the controller runs."
    },
    {
      "order": 11,
      "title": "Keycloak Identity Integration",
      "description": "Keycloak is the identity provider for the whole system. In the user API, UserService proxies login, user creation and profile lookup to Keycloak, and AuthService gets a service-account token with the client_credentials grant and caches it until it expires. The separate @treetracker/keycloak package offers the same kind of admin helpers (token fetch, account create and delete) for Node code such as the BDD seed in Step 13. Together with the KeycloakProvider from Step 5, these files show how one Keycloak realm serves the browser and the servers.",
      "nodeIds": [
        "file:apps/user/src/user/user.service.ts",
        "file:apps/user/src/auth/auth.service.ts",
        "file:packages/keycloak/src/index.ts",
        "file:packages/keycloak/src/api/createAccountFromKeycloak.ts",
        "file:packages/keycloak/src/api/fetchTokenFromKeycloak.ts"
      ]
    },
    {
      "order": 12,
      "title": "Wallet Creation Queue",
      "description": "When a new wallet is created, the user API reacts through a PostgreSQL message queue instead of a direct HTTP call. QueueListenerService registers a callback at module init, onQueueNotification subscribes to the wallets/creation channel, and for each account_id the service transfers a reward token bundle to the new wallet with the AuthService token from Step 11. The queue package implements this pub/sub: publish inserts a row into queue.message, and subscribe issues LISTEN and acknowledges each row. This is the deepest path of the BFS from the user API entry point.",
      "nodeIds": [
        "file:apps/user/src/queue-listener/queue-listener.service.ts",
        "file:apps/user/src/queue-listener/helpers/onQueueNotification.ts",
        "file:packages/queue/index.js",
        "file:packages/queue/subscribe.js",
        "file:packages/queue/publish.js"
      ],
      "languageLesson": "PostgreSQL LISTEN/NOTIFY is a built-in pub/sub mechanism. A client runs LISTEN on a channel and receives a notification when another session runs NOTIFY, so services can react to database events without polling. Storing each message in a table and recording an ack, as this package does, adds a durable record of delivery."
    },
    {
      "order": 13,
      "title": "BDD and Component Testing",
      "description": "The project tests user journeys end to end with WebdriverIO and Cucumber in apps/bdd. Gherkin features such as send-token.feature describe accept, decline and cancel transfer scenarios in plain language, steps.ts implements them against the running web app, and seed.ts recreates fixed Keycloak users, wallets and tokens so each run starts from a known state. The shared wdio.base.conf.ts configures reporters, videos and failure screenshots, and cypress.config.ts sets up the separate Cypress component and E2E tests of the web app.",
      "nodeIds": [
        "file:apps/bdd/features/send-token.feature",
        "file:apps/bdd/features/step-definitions/steps.ts",
        "file:apps/bdd/utils/seed.ts",
        "file:apps/bdd/wdio.base.conf.ts",
        "file:apps/web/cypress.config.ts"
      ],
      "languageLesson": "Gherkin writes tests as Given/When/Then scenarios. Each step line matches a step definition function by text or regular expression, and tags such as @web or @skip let the runner select which scenarios execute."
    },
    {
      "order": 14,
      "title": "Containers and Kubernetes",
      "description": "The user API from Steps 10 to 12 ships as a container image. The Dockerfile uses a node:18-alpine builder stage to install, compile and prune dependencies, and a prod stage that copies only dist and node_modules and runs dist/src/main.js on port 8080. The Kustomize base lists the Kubernetes manifests: a Deployment with two replicas and an Ambassador Mapping that routes the /user-api/ prefix to the service, and the development overlay patches that Mapping with CORS settings.",
      "nodeIds": [
        "service:apps/user/Dockerfile",
        "config:apps/user/deployment/base/kustomization.yaml",
        "config:apps/user/deployment/base/deployment.yaml",
        "config:apps/user/deployment/base/mapping.yaml",
        "config:apps/user/deployment/overlays/development/kustomization.yaml"
      ],
      "languageLesson": "Kustomize builds Kubernetes YAML without templates. A base directory lists shared manifests, and an overlay references the base and applies patches, such as a changed Mapping, for one environment."
    },
    {
      "order": 15,
      "title": "CI/CD and Releases",
      "description": "GitHub Actions ties the tour together. pr-ci-cd-all.yml checks formatting, lint and commit messages on every pull request, and ci-cd-pr-bdd-wallet.yml builds the web static export, starts the user API and runs the BDD suite from Step 13, then publishes the Cucumber report. static-website-deploy-dev.yml syncs the web export to S3 behind CloudFront, and the release workflow runs semantic-release with .releaserc.js to tag versions and update the changelog from Conventional Commits.",
      "nodeIds": [
        "pipeline:.github/workflows/pr-ci-cd-all.yml",
        "pipeline:.github/workflows/ci-cd-pr-bdd-wallet.yml",
        "pipeline:.github/workflows/static-website-deploy-dev.yml",
        "pipeline:.github/workflows/build-dev-docker-img-and-relase.yml",
        "file:.releaserc.js"
      ],
      "languageLesson": "A GitHub Actions workflow declares 'on' triggers (pull_request, push, workflow_dispatch), 'paths' filters to run only when relevant folders change, and 'jobs' made of sequential 'steps'. semantic-release reads Conventional Commit messages to choose the next version number."
    }
  ]
}