www/apps/resources/references/utils/utils.TranslationsUtils/page.mdx
import { TypeList } from "docs-ui"
<TypeList types={[{"name":"__namedParameters","type":"object","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"localeCode","type":"undefined \| string","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"objects","type":"Record<string, any>[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"container","type":"MedusaContainer","description":"The Medusa Container extends Awilix to\nprovide dependency injection functionalities.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/learn/fundamentals/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="applyTranslations"/>
<TypeList types={[{"name":"Promise","type":"Promise<void>","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/learn/fundamentals/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="applyTranslations"/>
<TypeList types={[{"name":"taxLines","type":"ItemTaxLineDTO[] \| ShippingTaxLineDTO[]","description":"The tax lines to apply translations to.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"rate","type":"number","description":"The rate of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"null \| string","description":"The code of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"string","description":"The name of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"string","description":"The ID of the tax provider used to calculate and retrieve the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"line_item_id","type":"string","description":"The associated line item's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_line_id","type":"string","description":"The associated shipping line's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate_id","type":"string","description":"The associated rate's ID.\nWhen integrating with a third-party, you don't need to provide it.\nThis is mainly used for the built-in rates.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"locale","type":"undefined \| string","description":"The locale to apply translations to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"container","type":"MedusaContainer","description":"The container to use for the translations.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/learn/fundamentals/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="applyTranslationsToTaxLines"/>
<TypeList types={[{"name":"Promise","type":"Promise<ItemTaxLineDTO[] \| ShippingTaxLineDTO[]>","optional":false,"defaultValue":"","description":"The tax lines with translations applied.","expandable":false,"children":[{"name":"ItemTaxLineDTO[] \| ShippingTaxLineDTO[]","type":"ItemTaxLineDTO[] \| ShippingTaxLineDTO[]","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/learn/fundamentals/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="applyTranslationsToTaxLines"/>