@vendure/docs 0.0.0-202601161603 → 0.0.0-202601161707

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (131) hide show
  1. package/dist/manifest.js +1 -1
  2. package/dist/manifest.js.map +1 -1
  3. package/docs/guides/core-concepts/collections/index.mdx +0 -3
  4. package/docs/guides/core-concepts/orders/index.mdx +0 -4
  5. package/docs/guides/core-concepts/payment/index.mdx +0 -3
  6. package/docs/guides/core-concepts/shipping/index.mdx +0 -3
  7. package/docs/guides/core-concepts/stock-control/index.mdx +0 -3
  8. package/docs/guides/deployment/deploy-to-digital-ocean-app-platform/index.mdx +1 -1
  9. package/docs/guides/deployment/deploy-to-northflank/index.mdx +0 -3
  10. package/docs/guides/deployment/deploy-to-railway/index.mdx +2 -2
  11. package/docs/guides/deployment/deploy-to-render/index.mdx +1 -1
  12. package/docs/guides/deployment/getting-data-into-production.mdx +0 -2
  13. package/docs/guides/deployment/horizontal-scaling.mdx +2 -4
  14. package/docs/guides/deployment/production-configuration/index.mdx +3 -5
  15. package/docs/guides/deployment/using-docker.mdx +2 -4
  16. package/docs/guides/developer-guide/cli/index.mdx +0 -3
  17. package/docs/guides/developer-guide/configuration/index.mdx +0 -2
  18. package/docs/guides/developer-guide/custom-fields/index.mdx +0 -4
  19. package/docs/guides/developer-guide/dataloaders/index.mdx +1 -1
  20. package/docs/guides/developer-guide/db-subscribers/index.mdx +0 -2
  21. package/docs/guides/developer-guide/error-handling/index.mdx +0 -4
  22. package/docs/guides/developer-guide/logging/index.mdx +0 -2
  23. package/docs/guides/developer-guide/migrating-from-v1/breaking-api-changes.mdx +0 -2
  24. package/docs/guides/developer-guide/migrating-from-v1/database-migration.mdx +0 -2
  25. package/docs/guides/developer-guide/migrating-from-v1/index.mdx +0 -2
  26. package/docs/guides/developer-guide/migrating-from-v1/storefront-migration.mdx +0 -2
  27. package/docs/guides/developer-guide/migrations/index.mdx +0 -3
  28. package/docs/guides/developer-guide/plugins/index.mdx +0 -3
  29. package/docs/guides/developer-guide/security/index.mdx +1 -1
  30. package/docs/guides/developer-guide/settings-store/index.mdx +0 -7
  31. package/docs/guides/developer-guide/stand-alone-scripts/index.mdx +2 -4
  32. package/docs/guides/developer-guide/testing/index.mdx +1 -3
  33. package/docs/guides/developer-guide/the-api-layer/index.mdx +0 -3
  34. package/docs/guides/developer-guide/updating/index.mdx +0 -2
  35. package/docs/guides/developer-guide/uploading-files/index.mdx +0 -2
  36. package/docs/guides/extending-the-admin-ui/add-actions-to-pages/index.mdx +0 -3
  37. package/docs/guides/extending-the-admin-ui/adding-ui-translations/index.mdx +3 -3
  38. package/docs/guides/extending-the-admin-ui/creating-detail-views/index.mdx +0 -2
  39. package/docs/guides/extending-the-admin-ui/custom-data-table-components/index.mdx +0 -3
  40. package/docs/guides/extending-the-admin-ui/custom-detail-components/index.mdx +0 -3
  41. package/docs/guides/extending-the-admin-ui/custom-form-inputs/index.mdx +0 -3
  42. package/docs/guides/extending-the-admin-ui/defining-routes/index.mdx +0 -3
  43. package/docs/guides/extending-the-admin-ui/getting-started/index.mdx +0 -3
  44. package/docs/guides/extending-the-admin-ui/ui-library/index.mdx +0 -3
  45. package/docs/guides/extending-the-admin-ui/using-other-frameworks/index.mdx +1 -1
  46. package/docs/guides/extending-the-dashboard/creating-pages/detail-pages.mdx +0 -3
  47. package/docs/guides/extending-the-dashboard/creating-pages/index.mdx +0 -3
  48. package/docs/guides/extending-the-dashboard/creating-pages/list-pages.mdx +0 -3
  49. package/docs/guides/extending-the-dashboard/creating-pages/tabbed-pages.mdx +0 -3
  50. package/docs/guides/extending-the-dashboard/custom-form-components/form-component-examples.mdx +0 -4
  51. package/docs/guides/extending-the-dashboard/extending-overview/index.mdx +0 -3
  52. package/docs/guides/extending-the-dashboard/getting-started/index.mdx +0 -3
  53. package/docs/guides/extending-the-dashboard/localization/index.mdx +1 -1
  54. package/docs/guides/extending-the-dashboard/migration/index.mdx +0 -2
  55. package/docs/guides/getting-started/graphql-intro/index.mdx +0 -3
  56. package/docs/guides/getting-started/installation/index.mdx +1 -4
  57. package/docs/guides/getting-started/try-the-api/index.mdx +0 -3
  58. package/docs/guides/how-to/cms-integration-plugin/index.mdx +0 -3
  59. package/docs/guides/how-to/digital-products/index.mdx +0 -4
  60. package/docs/guides/how-to/github-oauth-authentication/index.mdx +0 -4
  61. package/docs/guides/how-to/google-oauth-authentication/index.mdx +0 -4
  62. package/docs/guides/how-to/multi-vendor-marketplaces/index.mdx +0 -2
  63. package/docs/guides/how-to/paginated-list/index.mdx +0 -3
  64. package/docs/guides/how-to/publish-plugin/index.mdx +0 -3
  65. package/docs/guides/how-to/s3-asset-storage/index.mdx +0 -4
  66. package/docs/guides/storefront/active-order/index.mdx +0 -2
  67. package/docs/guides/storefront/checkout-flow/index.mdx +0 -3
  68. package/docs/guides/storefront/connect-api/index.mdx +0 -4
  69. package/docs/guides/storefront/customer-accounts/index.mdx +0 -3
  70. package/docs/guides/storefront/listing-products/index.mdx +0 -4
  71. package/docs/guides/storefront/navigation-menu/index.mdx +0 -4
  72. package/docs/guides/storefront/order-workflow/index.mdx +0 -2
  73. package/docs/guides/storefront/product-detail/index.mdx +0 -4
  74. package/docs/reference/admin-ui-api/components/chip-component.mdx +1 -1
  75. package/docs/reference/admin-ui-api/components/currency-input-component.mdx +1 -1
  76. package/docs/reference/admin-ui-api/components/data-table-component.mdx +1 -1
  77. package/docs/reference/admin-ui-api/components/datetime-picker-component.mdx +1 -1
  78. package/docs/reference/admin-ui-api/components/dropdown-component.mdx +1 -1
  79. package/docs/reference/admin-ui-api/components/facet-value-selector-component.mdx +1 -1
  80. package/docs/reference/admin-ui-api/components/object-tree-component.mdx +1 -1
  81. package/docs/reference/admin-ui-api/components/order-state-label-component.mdx +1 -1
  82. package/docs/reference/admin-ui-api/components/product-variant-selector-component.mdx +1 -1
  83. package/docs/reference/admin-ui-api/components/rich-text-editor-component.mdx +1 -1
  84. package/docs/reference/admin-ui-api/index.mdx +0 -2
  85. package/docs/reference/admin-ui-api/pipes/asset-preview-pipe.mdx +1 -1
  86. package/docs/reference/admin-ui-api/pipes/has-permission-pipe.mdx +1 -1
  87. package/docs/reference/admin-ui-api/pipes/locale-currency-name-pipe.mdx +1 -1
  88. package/docs/reference/admin-ui-api/pipes/locale-currency-pipe.mdx +1 -1
  89. package/docs/reference/admin-ui-api/pipes/locale-date-pipe.mdx +1 -1
  90. package/docs/reference/admin-ui-api/pipes/locale-language-name-pipe.mdx +1 -1
  91. package/docs/reference/admin-ui-api/pipes/locale-region-name-pipe.mdx +1 -1
  92. package/docs/reference/admin-ui-api/pipes/time-ago-pipe.mdx +1 -1
  93. package/docs/reference/core-plugins/asset-server-plugin/s3asset-storage-strategy.mdx +2 -2
  94. package/docs/reference/core-plugins/elasticsearch-plugin/elasticsearch-options.mdx +1 -1
  95. package/docs/reference/core-plugins/harden-plugin/index.mdx +3 -3
  96. package/docs/reference/core-plugins/job-queue-plugin/bull-mqjob-queue-plugin.mdx +2 -2
  97. package/docs/reference/core-plugins/job-queue-plugin/bull-mqjob-queue-strategy.mdx +1 -1
  98. package/docs/reference/core-plugins/job-queue-plugin/pub-sub-job-queue-strategy.mdx +1 -1
  99. package/docs/reference/core-plugins/job-queue-plugin/pub-sub-plugin.mdx +1 -1
  100. package/docs/reference/core-plugins/payments-plugin/braintree-plugin.mdx +4 -4
  101. package/docs/reference/core-plugins/payments-plugin/mollie-plugin.mdx +2 -2
  102. package/docs/reference/core-plugins/payments-plugin/stripe-plugin.mdx +2 -2
  103. package/docs/reference/core-plugins/sentry-plugin/index.mdx +3 -3
  104. package/docs/reference/graphql-api/_index.mdx +0 -2
  105. package/docs/reference/graphql-api/admin/_index.mdx +0 -2
  106. package/docs/reference/graphql-api/shop/_index.mdx +0 -2
  107. package/docs/reference/typescript-api/_index.mdx +0 -2
  108. package/docs/reference/typescript-api/auth/authentication-strategy.mdx +1 -1
  109. package/docs/reference/typescript-api/cache/redis-cache-plugin.mdx +1 -1
  110. package/docs/reference/typescript-api/cache/redis-cache-strategy.mdx +1 -1
  111. package/docs/reference/typescript-api/data-access/list-query-builder.mdx +3 -3
  112. package/docs/reference/typescript-api/orders/active-order-strategy.mdx +2 -2
  113. package/docs/reference/typescript-api/payment/dummy-payment-handler.mdx +1 -1
  114. package/docs/reference/typescript-api/request/relations-decorator.mdx +2 -2
  115. package/docs/user-guide/catalog/collections.mdx +0 -2
  116. package/docs/user-guide/catalog/facets.mdx +0 -2
  117. package/docs/user-guide/catalog/products.mdx +0 -2
  118. package/docs/user-guide/customers/index.mdx +0 -2
  119. package/docs/user-guide/index.mdx +4 -2
  120. package/docs/user-guide/localization/index.mdx +0 -2
  121. package/docs/user-guide/orders/draft-orders.mdx +0 -2
  122. package/docs/user-guide/orders/orders.mdx +0 -2
  123. package/docs/user-guide/promotions/index.mdx +0 -2
  124. package/docs/user-guide/settings/administrators-roles.mdx +0 -2
  125. package/docs/user-guide/settings/channels.mdx +0 -2
  126. package/docs/user-guide/settings/countries-zones.mdx +0 -2
  127. package/docs/user-guide/settings/global-settings.mdx +0 -2
  128. package/docs/user-guide/settings/payment-methods.mdx +0 -2
  129. package/docs/user-guide/settings/shipping-methods.mdx +0 -2
  130. package/docs/user-guide/settings/taxes.mdx +0 -2
  131. package/package.json +1 -1
@@ -2,9 +2,6 @@
2
2
  title: "UI Component Library"
3
3
  ---
4
4
 
5
- import Tabs from '@theme/Tabs';
6
- import TabItem from '@theme/TabItem';
7
-
8
5
  The Admin UI is built on a customized version of the [Clarity Design System](https://clarity.design/documentation/get-started). This means that if you are writing Angular-based UI extensions, you can use the same components that are used in the rest of the Admin UI. If you are using React, we are gradually exporting the most-used components for use with React.
9
6
 
10
7
  ## Buttons
@@ -128,7 +128,7 @@ import '@vendure/admin-ui/static/theme.min.css';
128
128
 
129
129
  If your extension does not have a build step, you can still include the theme stylesheet as a local resource:
130
130
 
131
- ```HTML
131
+ ```html
132
132
  <!-- src/ui-extension/plain-js-app/index.html -->
133
133
  <head>
134
134
  <link rel="stylesheet" href="../../theme.min.css" />
@@ -2,9 +2,6 @@
2
2
  title: 'Creating Detail Pages'
3
3
  ---
4
4
 
5
- import Tabs from '@theme/Tabs';
6
- import TabItem from '@theme/TabItem';
7
-
8
5
  ## Setup
9
6
 
10
7
  :::info
@@ -2,9 +2,6 @@
2
2
  title: 'Creating Pages'
3
3
  ---
4
4
 
5
- import Tabs from '@theme/Tabs';
6
- import TabItem from '@theme/TabItem';
7
-
8
5
  ## Page Structure
9
6
 
10
7
  All pages in the Dashboard follow this structure:
@@ -2,9 +2,6 @@
2
2
  title: 'Creating List Pages'
3
3
  ---
4
4
 
5
- import Tabs from '@theme/Tabs';
6
- import TabItem from '@theme/TabItem';
7
-
8
5
  ## Setup
9
6
 
10
7
  :::info
@@ -2,9 +2,6 @@
2
2
  title: 'Creating Tabbed Pages'
3
3
  ---
4
4
 
5
- import Tabs from '@theme/Tabs';
6
- import TabItem from '@theme/TabItem';
7
-
8
5
  ## Setup
9
6
 
10
7
  :::info
@@ -2,10 +2,6 @@
2
2
  title: 'Form Component Examples'
3
3
  ---
4
4
 
5
-
6
- import Tabs from '@theme/Tabs';
7
- import TabItem from '@theme/TabItem';
8
-
9
5
  ## Email Input with Validation
10
6
 
11
7
  This example uses the `react-hook-form` validation state in order to display an icon indicating
@@ -2,9 +2,6 @@
2
2
  title: 'Extending the Dashboard'
3
3
  ---
4
4
 
5
- import Tabs from '@theme/Tabs';
6
- import TabItem from '@theme/TabItem';
7
-
8
5
  The custom functionality you create in your Vendure plugins often needs to be exposed via the Dashboard so that
9
6
  administrators can interact with it.
10
7
 
@@ -2,9 +2,6 @@
2
2
  title: 'Getting Started'
3
3
  ---
4
4
 
5
- import Tabs from '@theme/Tabs';
6
- import TabItem from '@theme/TabItem';
7
-
8
5
  :::info
9
6
  From Vendure v3.5.0, the `@vendure/dashboard` package and configuration comes as standard with new projects that are started with
10
7
  the `npx @vendure/create` command.
@@ -86,7 +86,7 @@ src/
86
86
  Since we set the "sourceLocale" to be "en", the `en.po` file will already be complete. You'll then need to
87
87
  open up the `de.po` file and add German translations for each of the strings, by filling out the empty `msgstr` values:
88
88
 
89
- ```po title="de.po"
89
+ ```text title="de.po"
90
90
  #: test-plugins/reviews/dashboard/review-list.tsx:51
91
91
  msgid "Welcome to Dashboard"
92
92
  // highlight-next-line
@@ -3,8 +3,6 @@ title: Migrating from Admin UI
3
3
  sidebar_position: 1
4
4
  ---
5
5
 
6
- # Migrating from Admin UI
7
-
8
6
  If you have existing extensions to the legacy Angular-based Admin UI, you will want to migrate to the new Dashboard to enjoy
9
7
  an improved developer experience, many more customization options, and ongoing support from the Vendure team.
10
8
 
@@ -1,9 +1,6 @@
1
1
  ---
2
2
  title: Introducing GraphQL
3
3
  ---
4
- import Playground from '@site/src/components/Playground';
5
- import Tabs from '@theme/Tabs';
6
- import TabItem from '@theme/TabItem';
7
4
 
8
5
  :::info
9
6
 
@@ -3,9 +3,6 @@ title: 'Installation'
3
3
  sidebar_position: 1
4
4
  ---
5
5
 
6
- import Tabs from '@theme/Tabs';
7
- import TabItem from '@theme/TabItem';
8
-
9
6
  ## Requirements
10
7
 
11
8
  - [Node.js](https://nodejs.org/en/) **v20**, **v22** and **v24** - these versions are tested and supported. (Odd-numbered versions above v20 should still work but are not officially supported.)
@@ -226,7 +223,7 @@ Use `npx vendure add` to start adding plugins & custom functionality to your Ven
226
223
 
227
224
  - If you encounter any issues during installation, you can get a more detailed output by setting the log level to `verbose`:
228
225
 
229
- ```sh
226
+ ```bash
230
227
  npx @vendure/create my-shop --log-level verbose
231
228
  ```
232
229
 
@@ -2,9 +2,6 @@
2
2
  title: 'Try the API'
3
3
  ---
4
4
 
5
-
6
- import Playground from '@site/src/components/Playground';
7
-
8
5
  Once you have successfully installed Vendure locally following the [installation guide](/guides/getting-started/installation),
9
6
  it's time to try out the API!
10
7
 
@@ -2,9 +2,6 @@
2
2
  title: 'Building a CMS Integration Plugin'
3
3
  ---
4
4
 
5
- import Tabs from '@theme/Tabs';
6
- import TabItem from '@theme/TabItem';
7
-
8
5
  A CMS integration plugin allows you to automatically synchronize your Vendure product catalog with an external Content Management System.
9
6
 
10
7
  This is done in a way that establishes Vendure as the source of truth for the ecommerce's data.
@@ -2,10 +2,6 @@
2
2
  title: "Digital Products"
3
3
  ---
4
4
 
5
-
6
- import Tabs from '@theme/Tabs';
7
- import TabItem from '@theme/TabItem';
8
-
9
5
  Digital products include things like ebooks, online courses, and software. They are products that are delivered to the customer electronically, and do not require
10
6
  physical shipping.
11
7
 
@@ -2,10 +2,6 @@
2
2
  title: "GitHub OAuth Authentication"
3
3
  ---
4
4
 
5
-
6
- import Tabs from '@theme/Tabs';
7
- import TabItem from '@theme/TabItem';
8
-
9
5
  :::info
10
6
  The complete source of the following example plugin can be found here: [example-plugins/github-auth-plugin](https://github.com/vendurehq/examples/tree/publish/examples/shop-github-auth)
11
7
  :::
@@ -2,10 +2,6 @@
2
2
  title: "Google OAuth Authentication"
3
3
  ---
4
4
 
5
-
6
- import Tabs from '@theme/Tabs';
7
- import TabItem from '@theme/TabItem';
8
-
9
5
  :::info
10
6
  The complete source of the following example plugin can be found here: [example-plugins/google-auth-plugin](https://github.com/vendurehq/examples/tree/publish/examples/shop-google-auth)
11
7
  :::
@@ -2,8 +2,6 @@
2
2
  title: "Multi-vendor Marketplaces"
3
3
  ---
4
4
 
5
- # Multi-vendor Marketplaces
6
-
7
5
  Vendure v2.0 introduced a number of changes and new APIs to enable developers to build multi-vendor marketplace apps.
8
6
 
9
7
  This is a type of application in which multiple sellers are able to list products, and then customers can create orders containing products from one or more of these sellers. Well-known examples include Amazon, Ebay, Etsy and Airbnb.
@@ -2,9 +2,6 @@
2
2
  title: "Paginated lists"
3
3
  ---
4
4
 
5
- import Tabs from '@theme/Tabs';
6
- import TabItem from '@theme/TabItem';
7
-
8
5
  Vendure's list queries follow a set pattern which allows for pagination, filtering & sorting. This guide will demonstrate how
9
6
  to implement your own paginated list queries.
10
7
 
@@ -2,9 +2,6 @@
2
2
  title: "Publishing a Plugin"
3
3
  ---
4
4
 
5
- import Tabs from '@theme/Tabs';
6
- import TabItem from '@theme/TabItem';
7
-
8
5
  Vendure's [plugin-based architecture](/guides/developer-guide/plugins/) means you'll be writing a lot of plugins.
9
6
  Some of those plugins may be useful to others, and you may want to share them with the community.
10
7
 
@@ -2,10 +2,6 @@
2
2
  title: "Integrating S3-Compatible Asset Storage"
3
3
  ---
4
4
 
5
-
6
- import Tabs from '@theme/Tabs';
7
- import TabItem from '@theme/TabItem';
8
-
9
5
  This guide demonstrates how to integrate S3-compatible asset storage into your Vendure application using multiple cloud storage platforms. You'll learn to configure a single, platform-agnostic storage solution that works seamlessly with AWS S3, DigitalOcean Spaces, MinIO, CloudFlare R2, and Supabase Storage.
10
6
 
11
7
  ## Working Example Repository
@@ -2,8 +2,6 @@
2
2
  title: "Managing the Active Order"
3
3
  ---
4
4
 
5
- import Stackblitz from '@site/src/components/Stackblitz';
6
-
7
5
  The "active order" is what is also known as the "cart" - it is the order that is currently being worked on by the customer.
8
6
 
9
7
  An order remains active until it is completed, and during this time it can be modified by the customer in various ways:
@@ -2,9 +2,6 @@
2
2
  title: "Checkout Flow"
3
3
  ---
4
4
 
5
- import Tabs from '@theme/Tabs';
6
- import TabItem from '@theme/TabItem';
7
-
8
5
  Once the customer has added the desired products to the active order, it's time to check out.
9
6
 
10
7
  This guide assumes that you are using the [default OrderProcess](/guides/core-concepts/orders/#the-order-process), so
@@ -2,10 +2,6 @@
2
2
  title: Connect to the API
3
3
  ---
4
4
 
5
- import Tabs from '@theme/Tabs';
6
- import TabItem from '@theme/TabItem';
7
- import Stackblitz from '@site/src/components/Stackblitz';
8
-
9
5
  The first thing you'll need to do is to connect your storefront app to the **Shop API**. The Shop API is a GraphQL API
10
6
  that provides access to the products, collections, customer data, and exposes mutations that allow you to add items to
11
7
  the cart, checkout, manage customer accounts, and more.
@@ -2,9 +2,6 @@
2
2
  title: "Customer Accounts"
3
3
  ---
4
4
 
5
- import Tabs from '@theme/Tabs';
6
- import TabItem from '@theme/TabItem';
7
-
8
5
  Customers can register accounts and thereby gain the ability to:
9
6
 
10
7
  - View past orders
@@ -2,10 +2,6 @@
2
2
  title: "Listing Products"
3
3
  ---
4
4
 
5
- import Tabs from '@theme/Tabs';
6
- import TabItem from '@theme/TabItem';
7
- import Stackblitz from '@site/src/components/Stackblitz';
8
-
9
5
  Products are listed when:
10
6
 
11
7
  - Displaying the contents of a collection
@@ -2,10 +2,6 @@
2
2
  title: "Navigation Menu"
3
3
  ---
4
4
 
5
- import Tabs from '@theme/Tabs';
6
- import TabItem from '@theme/TabItem';
7
- import Stackblitz from '@site/src/components/Stackblitz';
8
-
9
5
  A navigation menu allows your customers to navigate your store and find the products they are looking for.
10
6
 
11
7
  Typically, navigation is based on a hierarchy of [collections](/guides/core-concepts/collections/). We can get the top-level
@@ -3,8 +3,6 @@ title: "Order Workflow"
3
3
  showtoc: true
4
4
  ---
5
5
 
6
- # Order Workflow
7
-
8
6
  An Order is a collection of one or more ProductVariants which can be purchased by a Customer. Orders are represented internally by the [Order entity](/reference/typescript-api/entities/order/) and in the GraphQL API by the [Order type](/reference/graphql-api/admin/enums/#ordertype).
9
7
 
10
8
  ## Order State
@@ -2,10 +2,6 @@
2
2
  title: "Product Detail Page"
3
3
  ---
4
4
 
5
- import Tabs from '@theme/Tabs';
6
- import TabItem from '@theme/TabItem';
7
- import Stackblitz from '@site/src/components/Stackblitz';
8
-
9
5
  The product detail page (often abbreviated to PDP) is the page that shows the details of a product and allows the user to add it to their cart.
10
6
 
11
7
  Typically, the PDP should include:
@@ -13,7 +13,7 @@ A chip component for displaying a label with an optional action icon.
13
13
 
14
14
  *Example*
15
15
 
16
- ```HTML
16
+ ```html
17
17
  <vdr-chip [colorFrom]="item.value"
18
18
  icon="close"
19
19
  (iconClick)="clear(item)">
@@ -14,7 +14,7 @@ with the integer cent value in the background.
14
14
 
15
15
  *Example*
16
16
 
17
- ```HTML
17
+ ```html
18
18
  <vdr-currency-input
19
19
  [(ngModel)]="entityPrice"
20
20
  [currencyCode]="currencyCode"
@@ -16,7 +16,7 @@ extend the <a href='/reference/admin-ui-api/list-detail-views/base-list-componen
16
16
 
17
17
  *Example*
18
18
 
19
- ```HTML
19
+ ```html
20
20
  <vdr-data-table
21
21
  [items]="items$ | async"
22
22
  [itemsPerPage]="itemsPerPage$ | async"
@@ -13,7 +13,7 @@ A form input for selecting datetime values.
13
13
 
14
14
  *Example*
15
15
 
16
- ```HTML
16
+ ```html
17
17
  <vdr-datetime-picker [(ngModel)]="startDate"></vdr-datetime-picker>
18
18
  ```
19
19
 
@@ -13,7 +13,7 @@ Used for building dropdown menus.
13
13
 
14
14
  *Example*
15
15
 
16
- ```HTML
16
+ ```html
17
17
  <vdr-dropdown>
18
18
  <button class="btn btn-outline" vdrDropdownTrigger>
19
19
  <clr-icon shape="plus"></clr-icon>
@@ -13,7 +13,7 @@ A form control for selecting facet values.
13
13
 
14
14
  *Example*
15
15
 
16
- ```HTML
16
+ ```html
17
17
  <vdr-facet-value-selector
18
18
  (selectedValuesChange)="selectedValues = $event"
19
19
  ></vdr-facet-value-selector>
@@ -13,7 +13,7 @@ This component displays a plain JavaScript object as an expandable tree.
13
13
 
14
14
  *Example*
15
15
 
16
- ```HTML
16
+ ```html
17
17
  <vdr-object-tree [value]="payment.metadata"></vdr-object-tree>
18
18
  ```
19
19
 
@@ -13,7 +13,7 @@ Displays the state of an order in a colored chip.
13
13
 
14
14
  *Example*
15
15
 
16
- ```HTML
16
+ ```html
17
17
  <vdr-order-state-label [state]="order.state"></vdr-order-state-label>
18
18
  ```
19
19
 
@@ -13,7 +13,7 @@ A component for selecting product variants via an autocomplete-style select inpu
13
13
 
14
14
  *Example*
15
15
 
16
- ```HTML
16
+ ```html
17
17
  <vdr-product-variant-selector
18
18
  (productSelected)="selectResult($event)"></vdr-product-variant-selector>
19
19
  ```
@@ -13,7 +13,7 @@ A rich text (HTML) editor based on Prosemirror (https://prosemirror.net/)
13
13
 
14
14
  *Example*
15
15
 
16
- ```HTML
16
+ ```html
17
17
  <vdr-rich-text-editor
18
18
  [(ngModel)]="description"
19
19
  label="Description"
@@ -4,8 +4,6 @@ weight: 10
4
4
  showtoc: false
5
5
  ---
6
6
 
7
- # Vendure Admin UI API Docs
8
-
9
7
  These APIs are used when building your own custom extensions to the Admin UI provided by the AdminUiPlugin.
10
8
 
11
9
  :::note
@@ -15,7 +15,7 @@ AssetServerPlugin.
15
15
 
16
16
  *Example*
17
17
 
18
- ```HTML
18
+ ```html
19
19
  <img [src]="asset | assetPreview:'tiny'" />
20
20
  <img [src]="asset | assetPreview:150" />
21
21
  ```
@@ -14,7 +14,7 @@ Returns `true` if the current user has that permission.
14
14
 
15
15
  *Example*
16
16
 
17
- ```HTML
17
+ ```html
18
18
  <button [disabled]="!('UpdateCatalog' | hasPermission)">Save Changes</button>
19
19
  ```
20
20
 
@@ -13,7 +13,7 @@ Displays a human-readable name for a given ISO 4217 currency code.
13
13
 
14
14
  *Example*
15
15
 
16
- ```HTML
16
+ ```html
17
17
  {{ order.currencyCode | localeCurrencyName }}
18
18
  ```
19
19
 
@@ -14,7 +14,7 @@ locale.
14
14
 
15
15
  *Example*
16
16
 
17
- ```HTML
17
+ ```html
18
18
  {{ variant.priceWithTax | localeCurrency }}
19
19
  ```
20
20
 
@@ -14,7 +14,7 @@ to format dates according to the selected UI language.
14
14
 
15
15
  *Example*
16
16
 
17
- ```HTML
17
+ ```html
18
18
  {{ order.orderPlacedAt | localeDate }}
19
19
  ```
20
20
 
@@ -13,7 +13,7 @@ Displays a human-readable name for a given ISO 639-1 language code.
13
13
 
14
14
  *Example*
15
15
 
16
- ```HTML
16
+ ```html
17
17
  {{ 'zh_Hant' | localeLanguageName }}
18
18
  ```
19
19
 
@@ -13,7 +13,7 @@ Displays a human-readable name for a given region.
13
13
 
14
14
  *Example*
15
15
 
16
- ```HTML
16
+ ```html
17
17
  {{ 'GB' | localeRegionName }}
18
18
  ```
19
19
 
@@ -13,7 +13,7 @@ Converts a date into the format "3 minutes ago", "5 hours ago" etc.
13
13
 
14
14
  *Example*
15
15
 
16
- ```HTML
16
+ ```html
17
17
  {{ order.orderPlacedAt | timeAgo }}
18
18
  ```
19
19
 
@@ -15,7 +15,7 @@ See their [getting started guide](https://aws.amazon.com/s3/getting-started/) fo
15
15
 
16
16
  Before using this strategy, make sure you have the `@aws-sdk/client-s3` and `@aws-sdk/lib-storage` package installed:
17
17
 
18
- ```sh
18
+ ```bash
19
19
  npm install @aws-sdk/client-s3 @aws-sdk/lib-storage
20
20
  ```
21
21
 
@@ -151,7 +151,7 @@ Returns a configured instance of the <a href='/reference/core-plugins/asset-serv
151
151
 
152
152
  Before using this strategy, make sure you have the `@aws-sdk/client-s3` and `@aws-sdk/lib-storage` package installed:
153
153
 
154
- ```sh
154
+ ```bash
155
155
  npm install @aws-sdk/client-s3 @aws-sdk/lib-storage
156
156
  ```
157
157
 
@@ -358,7 +358,7 @@ will extend the `SearchResultSortParameter` input type like this:
358
358
 
359
359
  *Example*
360
360
 
361
- ```GraphQl
361
+ ```graphql
362
362
  extend input SearchResultSortParameter {
363
363
  distance: SortOrder
364
364
  }
@@ -53,7 +53,7 @@ be required to resolve that query.
53
53
  The goal of this setting is to prevent attacks in which a malicious actor crafts a very complex query in order to overwhelm your
54
54
  server resources. Here's an example of a request which would likely overwhelm a Vendure server:
55
55
 
56
- ```GraphQL
56
+ ```graphql
57
57
  query EvilQuery {
58
58
  products {
59
59
  items {
@@ -119,7 +119,7 @@ const config: VendureConfig = {
119
119
 
120
120
  With logging configured as above, the following query:
121
121
 
122
- ```GraphQL
122
+ ```graphql
123
123
  query ProductList {
124
124
  products(options: { take: 5 }) {
125
125
  items {
@@ -134,7 +134,7 @@ query ProductList {
134
134
  ```
135
135
  will log the following breakdown:
136
136
 
137
- ```sh
137
+ ```bash
138
138
  debug 16/12/22, 14:12 - [HardenPlugin] Calculating complexity of [ProductList]
139
139
  debug 16/12/22, 14:12 - [HardenPlugin] Product.id: ID! childComplexity: 0, score: 1
140
140
  debug 16/12/22, 14:12 - [HardenPlugin] Product.name: String! childComplexity: 0, score: 1
@@ -30,7 +30,7 @@ in processing jobs.
30
30
 
31
31
  Note: To use this plugin, you need to manually install the `bullmq` package:
32
32
 
33
- ```shell
33
+ ```bash
34
34
  npm install bullmq@^5.4.2
35
35
  ```
36
36
 
@@ -60,7 +60,7 @@ To develop with this plugin, you'll need an instance of Redis to connect to. Her
60
60
  that will set up [Redis](https://redis.io/) as well as [Redis Commander](https://github.com/joeferner/redis-commander),
61
61
  which is a web-based UI for interacting with Redis:
62
62
 
63
- ```YAML
63
+ ```yaml
64
64
  version: "3"
65
65
  services:
66
66
  redis:
@@ -14,7 +14,7 @@ on top of Redis. It should not be used alone, but as part of the <a href='/refer
14
14
 
15
15
  Note: To use this strategy, you need to manually install the `bullmq` package:
16
16
 
17
- ```shell
17
+ ```bash
18
18
  npm install bullmq@^5.4.2
19
19
  ```
20
20
 
@@ -14,7 +14,7 @@ It should not be used alone, but as part of the <a href='/reference/core-plugins
14
14
 
15
15
  Note: To use this strategy, you need to manually install the `@google-cloud/pubsub` package:
16
16
 
17
- ```shell
17
+ ```bash
18
18
  npm install
19
19
 
20
20
  ```ts title="Signature"
@@ -15,7 +15,7 @@ This plugin uses Google Cloud Pub/Sub to implement a job queue strategy for Vend
15
15
 
16
16
  Note: To use this plugin, you need to manually install the `@google-cloud/pubsub` package:
17
17
 
18
- ```shell
18
+ ```bash
19
19
  npm install
20
20
 
21
21
  ```ts title="Signature"