security/codeql-dependabot-gitleaks
| 1 | import { |
| 2 | defaultStoreCartFields, |
| 3 | retrieveTransformQueryConfig as storeCartRetrieveTransformQueryConfig, |
| 4 | } from "@medusajs/medusa/api/store/carts/query-config"; |
| 5 | import { giftCardRelationAllowedFields } from "../gift-cards/query-config"; |
| 6 | |
| 7 | export const retrieveTransformQueryConfig = { |
| 8 | defaults: [...defaultStoreCartFields, "*gift_cards"], |
| 9 | allowed: [ |
| 10 | ...(storeCartRetrieveTransformQueryConfig.allowed ?? []), |
| 11 | ...giftCardRelationAllowedFields, |
| 12 | ], |
| 13 | isList: false, |
| 14 | }; |