From fe314ab5bc2677c43d171ead352a6d8409c0e2a8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 11 Dec 2025 16:00:26 +0200 Subject: [PATCH] chore(docs): Generated DML JSON files (automated) (#14284) * chore(docs): Generated DML JSON files (automated) * fixes --------- Co-authored-by: olivermrbl Co-authored-by: Shahed Nasser --- www/utils/generated/dml-output/cart.json | 3 ++- www/utils/generated/dml-output/store.json | 15 ++++++++++- .../generated/dml-output/translation.json | 26 +++++++++++++++++++ 3 files changed, 42 insertions(+), 2 deletions(-) create mode 100644 www/utils/generated/dml-output/translation.json diff --git a/www/utils/generated/dml-output/cart.json b/www/utils/generated/dml-output/cart.json index 4662e0016e..ea4ac989a1 100644 --- a/www/utils/generated/dml-output/cart.json +++ b/www/utils/generated/dml-output/cart.json @@ -156,7 +156,8 @@ "billing_address": "The associated billing_address.\n\n@expandable", "items": "The associated items.\n\n@expandable", "shipping_methods": "The associated shipping_methods.\n\n@expandable", - "credit_lines": "The associated credit_lines.\n\n@expandable" + "credit_lines": "The associated credit lines.\n\n@expandable", + "locale": "The locale of the cart" }, "deprecated": { "is_deprecated": false diff --git a/www/utils/generated/dml-output/store.json b/www/utils/generated/dml-output/store.json index 01a77d82cd..c7c9a0ded9 100644 --- a/www/utils/generated/dml-output/store.json +++ b/www/utils/generated/dml-output/store.json @@ -20,7 +20,20 @@ "default_region_id": "The ID of the store's default region.", "default_location_id": "The ID of the store's default stock location.", "metadata": "Holds custom data in key-value pairs.", - "supported_currencies": "The associated supported_currencies.\n\n@expandable" + "supported_currencies": "The supported currencies in the store.\n\n@expandable", + "supported_locales": "The supported locales in the store.\n\n@expandable" + }, + "deprecated": { + "is_deprecated": false + } + }, + "StoreLocale": { + "filePath": "packages/modules/store/src/models/locale.ts", + "properties": { + "id": "The ID of the store locale.", + "locale_code": "The locale code in BCP 47 format. For example, `en-US`.", + "is_default": "Whether the store locale is default.", + "store": "The associated store.\n\n@expandable" }, "deprecated": { "is_deprecated": false diff --git a/www/utils/generated/dml-output/translation.json b/www/utils/generated/dml-output/translation.json new file mode 100644 index 0000000000..952ef82089 --- /dev/null +++ b/www/utils/generated/dml-output/translation.json @@ -0,0 +1,26 @@ +{ + "Locale": { + "filePath": "packages/modules/translation/src/models/locale.ts", + "properties": { + "id": "The ID of the locale.", + "code": "The code of the locale in BCP 47 format. For example, `en-US`.", + "name": "The display name of the locale" + }, + "deprecated": { + "is_deprecated": false + } + }, + "Translation": { + "filePath": "packages/modules/translation/src/models/translation.ts", + "properties": { + "id": "The ID of the translation.", + "reference_id": "The ID of the resource that this translation belongs to. For example, the product ID.", + "reference": "The name of the table that the resource belongs to. For example, `product`.", + "locale_code": "The translation's locale code in BCP 47 format. For example, `en-US`.", + "translations": "The key-value pairs of the translated fields. The key is a property in the referenced resource, and the value is the translated value for that property." + }, + "deprecated": { + "is_deprecated": false + } + } +} \ No newline at end of file