Bläddra i källkod

docs: Improve reference index display

Michael Bromley 2 år sedan
förälder
incheckning
6c19b8a472
100 ändrade filer med 279 tillägg och 338 borttagningar
  1. 1 1
      docs/docs/guides/developer-guide/custom-fields/index.md
  2. 16 16
      docs/docs/guides/how-to/multi-vendor-marketplaces/index.md
  3. 101 98
      docs/docs/guides/how-to/uploading-files.md
  4. 1 2
      docs/docs/reference/admin-ui-api/action-bar/action-bar-item.md
  5. 1 2
      docs/docs/reference/admin-ui-api/action-bar/action-bar-location-id.md
  6. 1 2
      docs/docs/reference/admin-ui-api/action-bar/add-action-bar-item.md
  7. 7 4
      docs/docs/reference/admin-ui-api/action-bar/index.md
  8. 1 2
      docs/docs/reference/admin-ui-api/action-bar/on-click-context.md
  9. 1 2
      docs/docs/reference/admin-ui-api/action-bar/page-location-id.md
  10. 1 2
      docs/docs/reference/admin-ui-api/bulk-actions/bulk-action.md
  11. 7 4
      docs/docs/reference/admin-ui-api/bulk-actions/index.md
  12. 1 2
      docs/docs/reference/admin-ui-api/bulk-actions/register-bulk-action.md
  13. 1 2
      docs/docs/reference/admin-ui-api/components/asset-picker-dialog-component.md
  14. 1 2
      docs/docs/reference/admin-ui-api/components/chip-component.md
  15. 1 2
      docs/docs/reference/admin-ui-api/components/currency-input-component.md
  16. 1 2
      docs/docs/reference/admin-ui-api/components/data-table-component.md
  17. 1 2
      docs/docs/reference/admin-ui-api/components/data-table2component.md
  18. 1 2
      docs/docs/reference/admin-ui-api/components/datetime-picker-component.md
  19. 1 2
      docs/docs/reference/admin-ui-api/components/dropdown-component.md
  20. 1 2
      docs/docs/reference/admin-ui-api/components/facet-value-selector-component.md
  21. 7 4
      docs/docs/reference/admin-ui-api/components/index.md
  22. 1 2
      docs/docs/reference/admin-ui-api/components/object-tree-component.md
  23. 1 2
      docs/docs/reference/admin-ui-api/components/order-state-label-component.md
  24. 1 2
      docs/docs/reference/admin-ui-api/components/product-variant-selector-component.md
  25. 1 2
      docs/docs/reference/admin-ui-api/components/rich-text-editor-component.md
  26. 1 2
      docs/docs/reference/admin-ui-api/components/zone-selector-component.md
  27. 1 2
      docs/docs/reference/admin-ui-api/custom-detail-components/custom-detail-component-config.md
  28. 1 2
      docs/docs/reference/admin-ui-api/custom-detail-components/custom-detail-component-location-id.md
  29. 1 2
      docs/docs/reference/admin-ui-api/custom-detail-components/custom-detail-component.md
  30. 7 4
      docs/docs/reference/admin-ui-api/custom-detail-components/index.md
  31. 1 2
      docs/docs/reference/admin-ui-api/custom-detail-components/register-custom-detail-component.md
  32. 1 2
      docs/docs/reference/admin-ui-api/custom-history-entry-components/customer-history-entry-component.md
  33. 1 2
      docs/docs/reference/admin-ui-api/custom-history-entry-components/history-entry-component.md
  34. 1 2
      docs/docs/reference/admin-ui-api/custom-history-entry-components/history-entry-config.md
  35. 7 4
      docs/docs/reference/admin-ui-api/custom-history-entry-components/index.md
  36. 1 2
      docs/docs/reference/admin-ui-api/custom-history-entry-components/order-history-entry-component.md
  37. 1 2
      docs/docs/reference/admin-ui-api/custom-history-entry-components/register-history-entry-component.md
  38. 1 2
      docs/docs/reference/admin-ui-api/custom-input-components/default-inputs.md
  39. 1 2
      docs/docs/reference/admin-ui-api/custom-input-components/form-input-component.md
  40. 7 4
      docs/docs/reference/admin-ui-api/custom-input-components/index.md
  41. 1 2
      docs/docs/reference/admin-ui-api/custom-input-components/register-form-input-component.md
  42. 1 2
      docs/docs/reference/admin-ui-api/directives/if-multichannel-directive.md
  43. 1 2
      docs/docs/reference/admin-ui-api/directives/if-permissions-directive.md
  44. 4 4
      docs/docs/reference/admin-ui-api/directives/index.md
  45. 1 2
      docs/docs/reference/admin-ui-api/list-detail-views/base-detail-component.md
  46. 1 2
      docs/docs/reference/admin-ui-api/list-detail-views/base-entity-resolver.md
  47. 1 2
      docs/docs/reference/admin-ui-api/list-detail-views/base-list-component.md
  48. 1 2
      docs/docs/reference/admin-ui-api/list-detail-views/detail-component-with-resolver.md
  49. 4 4
      docs/docs/reference/admin-ui-api/list-detail-views/index.md
  50. 1 2
      docs/docs/reference/admin-ui-api/list-detail-views/typed-base-detail-component.md
  51. 1 2
      docs/docs/reference/admin-ui-api/list-detail-views/typed-base-list-component.md
  52. 1 2
      docs/docs/reference/admin-ui-api/nav-menu/add-nav-menu-item.md
  53. 1 2
      docs/docs/reference/admin-ui-api/nav-menu/add-nav-menu-section.md
  54. 4 4
      docs/docs/reference/admin-ui-api/nav-menu/index.md
  55. 1 2
      docs/docs/reference/admin-ui-api/nav-menu/nav-menu-item.md
  56. 1 2
      docs/docs/reference/admin-ui-api/nav-menu/nav-menu-section.md
  57. 1 2
      docs/docs/reference/admin-ui-api/nav-menu/navigation-types.md
  58. 1 2
      docs/docs/reference/admin-ui-api/pipes/asset-preview-pipe.md
  59. 1 2
      docs/docs/reference/admin-ui-api/pipes/duration-pipe.md
  60. 1 2
      docs/docs/reference/admin-ui-api/pipes/file-size-pipe.md
  61. 1 2
      docs/docs/reference/admin-ui-api/pipes/has-permission-pipe.md
  62. 4 4
      docs/docs/reference/admin-ui-api/pipes/index.md
  63. 1 2
      docs/docs/reference/admin-ui-api/pipes/locale-currency-name-pipe.md
  64. 1 2
      docs/docs/reference/admin-ui-api/pipes/locale-currency-pipe.md
  65. 1 2
      docs/docs/reference/admin-ui-api/pipes/locale-date-pipe.md
  66. 1 2
      docs/docs/reference/admin-ui-api/pipes/locale-language-name-pipe.md
  67. 1 2
      docs/docs/reference/admin-ui-api/pipes/locale-region-name-pipe.md
  68. 1 2
      docs/docs/reference/admin-ui-api/pipes/time-ago-pipe.md
  69. 1 2
      docs/docs/reference/admin-ui-api/providers/data-service.md
  70. 4 4
      docs/docs/reference/admin-ui-api/providers/index.md
  71. 1 2
      docs/docs/reference/admin-ui-api/providers/modal-service.md
  72. 1 2
      docs/docs/reference/admin-ui-api/providers/notification-service.md
  73. 4 4
      docs/docs/reference/admin-ui-api/tabs/index.md
  74. 1 2
      docs/docs/reference/admin-ui-api/tabs/page-tab-config.md
  75. 1 2
      docs/docs/reference/admin-ui-api/tabs/register-page-tab.md
  76. 1 2
      docs/docs/reference/admin-ui-api/ui-devkit/admin-ui-extension.md
  77. 1 2
      docs/docs/reference/admin-ui-api/ui-devkit/compile-ui-extensions.md
  78. 1 2
      docs/docs/reference/admin-ui-api/ui-devkit/helpers.md
  79. 4 4
      docs/docs/reference/admin-ui-api/ui-devkit/index.md
  80. 1 2
      docs/docs/reference/admin-ui-api/ui-devkit/ui-devkit-client.md
  81. 1 2
      docs/docs/reference/admin-ui-api/ui-devkit/ui-extension-compiler-options.md
  82. 1 2
      docs/docs/reference/admin-ui-api/ui-devkit/ui-extension-compiler-process-argument.md
  83. 1 2
      docs/docs/reference/typescript-api/assets/asset-naming-strategy.md
  84. 1 2
      docs/docs/reference/typescript-api/assets/asset-options.md
  85. 1 2
      docs/docs/reference/typescript-api/assets/asset-preview-strategy.md
  86. 1 2
      docs/docs/reference/typescript-api/assets/asset-storage-strategy.md
  87. 1 2
      docs/docs/reference/typescript-api/assets/default-asset-naming-strategy.md
  88. 4 4
      docs/docs/reference/typescript-api/assets/index.md
  89. 2 1
      docs/docs/reference/typescript-api/auth/_index.md
  90. 1 2
      docs/docs/reference/typescript-api/auth/auth-options.md
  91. 1 2
      docs/docs/reference/typescript-api/auth/authentication-strategy.md
  92. 1 2
      docs/docs/reference/typescript-api/auth/bcrypt-password-hashing-strategy.md
  93. 1 2
      docs/docs/reference/typescript-api/auth/cookie-options.md
  94. 1 2
      docs/docs/reference/typescript-api/auth/default-password-validation-strategy.md
  95. 1 2
      docs/docs/reference/typescript-api/auth/external-authentication-service.md
  96. 1 2
      docs/docs/reference/typescript-api/auth/in-memory-session-cache-strategy.md
  97. 4 4
      docs/docs/reference/typescript-api/auth/index.md
  98. 1 2
      docs/docs/reference/typescript-api/auth/native-authentication-strategy.md
  99. 1 2
      docs/docs/reference/typescript-api/auth/noop-session-cache-strategy.md
  100. 1 2
      docs/docs/reference/typescript-api/auth/password-hashing-strategy.md

+ 1 - 1
docs/docs/guides/developer-guide/custom-fields/index.md

@@ -1029,7 +1029,7 @@ const config = {
 ## TypeScript Typings
 
 Because custom fields are generated at run-time, TypeScript has no way of knowing about them based on your
-VendureConfig. Consider the example above - let's say we have a [plugin]({{< relref "/guides/plugins" >}}) which needs to
+VendureConfig. Consider the example above - let's say we have a [plugin](/guides/developer-guide/plugins/) which needs to
 access the custom field values on a Product entity.
 
 Attempting to access the custom field will result in a TS compiler error:

+ 16 - 16
docs/docs/guides/how-to/multi-vendor-marketplaces/index.md

@@ -15,23 +15,23 @@ This guide introduces the major concepts & APIs you will need to understand in o
 
 All the concepts presented here have been implemented in our [example multi-vendor plugin](https://github.com/vendure-ecommerce/vendure/tree/master/packages/dev-server/example-plugins/multivendor-plugin). The guides here will refer to specific parts of this plugin which you should consult to get a full understanding of how an implementation would look.
 
-{{< alert warning >}}
+:::caution
 **Note:** the [example multi-vendor plugin](https://github.com/vendure-ecommerce/vendure/tree/master/packages/dev-server/example-plugins/multivendor-plugin) is for educational purposes only, and for the sake of clarity leaves out several parts that would be required in a production-ready solution, such as email verification and setup of a real payment solution.
-{{< /alert >}}
+:::
 
-{{< figure src="./aggregate-order.webp" title="The Admin UI Aggregate Order screen" >}}
+![The Admin UI Aggregate Order screen](./aggregate-order.webp)
 
 ## Sellers, Channels & Roles
 
-The core of Vendure's multi-vendor support is Channels. Read the [Channels guide]({{< relref "/guides/developer-guide/channels" >}}) to get a more detailed understanding of how they work.
+The core of Vendure's multi-vendor support is Channels. Read the [Channels guide](/guides/core-concepts/channels/) to get a more detailed understanding of how they work.
 
-Each Channel is assigned to a [Seller]({{< relref "seller" >}}), which is another term for the vendor who is selling things in our marketplace.
+Each Channel is assigned to a [Seller](/reference/typescript-api/entities/seller/), which is another term for the vendor who is selling things in our marketplace.
 
 So the first thing to do is to implement a way to create a new Channel and Seller.
 
 In the multi-vendor plugin, we have defined a new mutation in the Shop API which allows a new seller to register on our marketplace:
 
-```graphql
+```graphql title="Shop API"
 mutation RegisterSeller {
   registerNewSeller(input: {
     shopName: "Bob's Parts",
@@ -51,18 +51,18 @@ mutation RegisterSeller {
 
 Executing the `registerNewSeller` mutation does the following:
 
-- Create a new [Seller]({{< relref "seller" >}}) representing the shop "Bob's Parts"
-- Create a new [Channel]({{< relref "channel" >}}) and associate it with the new Seller
-- Create a [Role]({{< relref "role" >}}) & [Administrator]({{< relref "administrator" >}}) for Bob to access his shop admin account
-- Create a [ShippingMethod]({{< relref "shipping-method" >}}) for Bob's shop
-- Create a [StockLocation]({{< relref "stock-location" >}}) for Bob's shop
+- Create a new [Seller](/reference/typescript-api/entities/seller/) representing the shop "Bob's Parts"
+- Create a new [Channel](/reference/typescript-api/entities/channel) and associate it with the new Seller
+- Create a [Role](/reference/typescript-api/entities/role) & [Administrator](/reference/typescript-api/entities/administrator) for Bob to access his shop admin account
+- Create a [ShippingMethod](/reference/typescript-api/entities/shipping-method) for Bob's shop
+- Create a [StockLocation](/reference/typescript-api/entities/stock-location) for Bob's shop
 
 Bob can now log in to the Admin UI using the provided credentials and begin creating products to sell!
 
 
 ## Assigning OrderLines to the correct Seller
 
-In order to correctly split the Order later, we need to assign each added OrderLine to the correct Seller. This is done with the [OrderSellerStrategy]({{< relref "order-seller-strategy" >}}) API, and specifically the `setOrderLineSellerChannel()` method.
+In order to correctly split the Order later, we need to assign each added OrderLine to the correct Seller. This is done with the [OrderSellerStrategy](/reference/typescript-api/orders/order-seller-strategy/) API, and specifically the `setOrderLineSellerChannel()` method.
 
 The following logic will run any time the `addItemToOrder` mutation is executed from our storefront:
 
@@ -92,7 +92,7 @@ The end result is that each OrderLine in the Order will have its `sellerChannelI
 
 ## Shipping
 
-When it comes time to choose a ShippingMethod for the Order, we need to ensure that the customer can only choose from the ShippingMethods which are supported by the Seller. To do this, we need to implement a [ShippingEligibilityChecker]({{< relref "shipping-eligibility-checker" >}}) which will filter the available ShippingMethods based on the `sellerChannelId` properties of the OrderLines.
+When it comes time to choose a ShippingMethod for the Order, we need to ensure that the customer can only choose from the ShippingMethods which are supported by the Seller. To do this, we need to implement a [ShippingEligibilityChecker](/reference/typescript-api/shipping/shipping-eligibility-checker/) which will filter the available ShippingMethods based on the `sellerChannelId` properties of the OrderLines.
 
 Here's how we do it in the example plugin:
 
@@ -136,7 +136,7 @@ mutation SetShippingMethod($ids: [ID!]!) {
 }
 ```
 
-Now we need a way to assign the correct method to each line in an Order. This is done with the [ShippingLineAssignmentStrategy]({{< relref "shipping-line-assignment-strategy" >}}) API.
+Now we need a way to assign the correct method to each line in an Order. This is done with the [ShippingLineAssignmentStrategy](/reference/typescript-api/shipping/shipping-line-assignment-strategy/) API.
 
 We will again be relying on the `sellerChannelId` property of the OrderLines to determine which ShippingMethod to assign to each line. Here's how we do it in the example plugin:
 
@@ -173,13 +173,13 @@ When it comes to payments, there are many different ways that a multi-vendor mar
 
 In the example plugin, we have implemented a simplified version of a service like [Stripe Connect](https://stripe.com/connect), whereby each Seller has a `connectedAccountId` (we auto-generate a random string for the example when registering the Seller). When configuring the plugin we also specify a "platform fee" percentage, which is the percentage of the total Order value which the marketplace will collect as a fee. The remaining amount is then split between the Sellers.
 
-The [OrderSellerStrategy]({{< relref "order-seller-strategy" >}}) API contains two methods which are used to first split the Order from a single order into one _Aggregate Order_ and multiple _Seller Orders_, and then to calculate the platform fee for each of the Seller Orders:
+The [OrderSellerStrategy](/reference/typescript-api/orders/order-seller-strategy/) API contains two methods which are used to first split the Order from a single order into one _Aggregate Order_ and multiple _Seller Orders_, and then to calculate the platform fee for each of the Seller Orders:
 
 - `OrderSellerStrategy.splitOrder`: Splits the OrderLines and ShippingLines of the Order into multiple groups, one for each Seller.
 - `OrderSellerStrategy.afterSellerOrdersCreated`: This method is run on every Seller Order created after the split, and we can use this to assign the platform fees to the Seller Order.
 
 ## Custom OrderProcess
 
-Finally, we need a custom [OrderProcess]({{< relref "order-process" >}}) which will help keep the state of the resulting Aggregate Order and its Seller Orders in sync. For example, we want to make sure that the Aggregate Order cannot be transitioned to the `Shipped` state unless all of its Seller Orders are also in the `Shipped` state.
+Finally, we need a custom [OrderProcess](/reference/typescript-api/orders/order-process/) which will help keep the state of the resulting Aggregate Order and its Seller Orders in sync. For example, we want to make sure that the Aggregate Order cannot be transitioned to the `Shipped` state unless all of its Seller Orders are also in the `Shipped` state.
 
 Conversely, we can automatically set the state of the Aggregate Order to `Shipped` once all of its Seller Orders are in the `Shipped` state.

+ 101 - 98
docs/docs/guides/how-to/uploading-files.md

@@ -5,7 +5,7 @@ showtoc: true
 
 # Uploading Files 
 
-Vendure handles file uploads with the [GraphQL multipart request specification](https://github.com/jaydenseric/graphql-multipart-request-spec). Internally, we use the [graphql-upload package](https://github.com/jaydenseric/graphql-upload). Once uploaded, a file is known as an [Asset]({{< relref "/reference/typescript-api/entities/asset" >}}). Assets are typically used for images, but can represent any kind of binary data such as PDF files or videos.
+Vendure handles file uploads with the [GraphQL multipart request specification](https://github.com/jaydenseric/graphql-multipart-request-spec). Internally, we use the [graphql-upload package](https://github.com/jaydenseric/graphql-upload). Once uploaded, a file is known as an [Asset](/guides/core-concepts/images-assets/). Assets are typically used for images, but can represent any kind of binary data such as PDF files or videos.
 
 ## Upload clients
 
@@ -15,11 +15,11 @@ For testing, it is even possible to use a [plain curl request](https://github.co
 
 ## The `createAssets` mutation
 
-The [createAssets mutation]({{< relref "/reference/graphql-api/admin/mutations" >}}#createassets) in the Admin API is the only means of uploading files by default. 
+The [createAssets mutation](/reference/graphql-api/admin/mutations/#createassets) in the Admin API is the only means of uploading files by default. 
 
 Here's an example of how a file upload would look using the `apollo-upload-client` package:
 
-```ts
+```tsx
 import { gql, useMutation } from "@apollo/client";
 
 const MUTATION = gql`
@@ -38,57 +38,57 @@ const MUTATION = gql`
 `;
 
 function UploadFile() {
-  const [mutate] = useMutation(MUTATION);
-
-  function onChange(event) {
-    const { target } = event;  
-    if (target.validity.valid) {
-      mutate({ 
-        variables: {
-          input: Array.from(target.files).map((file) => ({ file }));
-        }  
-      });
+    const [mutate] = useMutation(MUTATION);
+
+    function onChange(event) {
+        const {target} = event;
+        if (target.validity.valid) {
+            mutate({
+                variables: {
+                    input: Array.from(target.files).map((file) => ({file}));
+                }
+            });
+        }
     }
-  }
 
-  return <input type="file" required onChange={onChange} />;
+    return <input type="file" required onChange={onChange}/>;
 }
 ```
 
 ## Custom upload mutations
 
-How about if you want to implement a custom mutation for file uploads? Let's take an example where we want to allow customers to set an avatar image. To do this, we'll add a [custom field]({{< relref "customizing-models" >}}) to the Customer entity and then define a new mutation in the Shop API.
+How about if you want to implement a custom mutation for file uploads? Let's take an example where we want to allow customers to set an avatar image. To do this, we'll add a [custom field](/guides/developer-guide/custom-fields/) to the Customer entity and then define a new mutation in the Shop API.
 
 ### Configuration
 
-Let's define a custom field to associate the avatar Asset with the Customer:
+Let's define a custom field to associate the avatar `Asset` with the `Customer` entity. To keep everything encapsulated, we'll do all of this in a [plugin](/guides/developer-guide/plugins/)
 
-```ts
-import { Asset } from '@vendure/core';
-
-const config = {
-  // ...
-  customFields: {
-    Customer: [
-      { 
-        name: 'avatar',
-        type: 'relation',
-        entity: Asset,
-        nullable: true,
-      },
-    ],
-  },
-}
-```
+```ts title="src/plugins/customer-avatar/customer-avatar.plugin.ts"
+import { Asset, LanguageCode, PluginCommonModule, VendurePlugin } from '@vendure/core';
 
-In a later step, we will refactor this config to encapsulate it in a plugin.
+@VendurePlugin({
+    imports: [PluginCommonModule],
+    configure: config => {
+        // highlight-start
+        config.customFields.Customer.push({
+            name: 'avatar',
+            type: 'relation',
+            label: [{languageCode: LanguageCode.en, value: 'Customer avatar'}],
+            entity: Asset,
+            nullable: true,
+        });
+        // highlight-end
+        return config;
+    },
+})
+export class CustomerAvatarPlugin {}
+```
 
 ### Schema definition
 
 Next, we will define the schema for the mutation:
 
-```ts
-// api-extensions.ts
+```ts title="src/plugins/customer-avatar/api/api-extensions.ts"
 import gql from 'graphql-tag';
 
 export const shopApiExtensions = gql`
@@ -101,91 +101,94 @@ extend type Mutation {
 
 The resolver will make use of the built-in [AssetService]({{< relref "asset-service" >}}) to handle the processing of the uploaded file into an Asset.
 
-```ts
-// customer-avatar.resolver.ts
+```ts title="src/plugins/customer-avatar/api/customer-avatar.resolver.ts"
 import { Args, Mutation, Resolver } from '@nestjs/graphql';
 import { Asset } from '@vendure/common/lib/generated-types';
-import { Allow, AssetService, Ctx, CustomerService, isGraphQlErrorResult,
-  Permission, RequestContext, Transaction } from '@vendure/core';
+import {
+    Allow, AssetService, Ctx, CustomerService, isGraphQlErrorResult,
+    Permission, RequestContext, Transaction
+} from '@vendure/core';
 
 @Resolver()
 export class CustomerAvatarResolver {
-  constructor(private assetService: AssetService, private customerService: CustomerService) {}
-
-  @Transaction()
-  @Mutation()
-  @Allow(Permission.Authenticated)
-  async setCustomerAvatar(
-    @Ctx() ctx: RequestContext,
-    @Args() args: { file: any },
-  ): Promise<Asset | undefined> {
-    const userId = ctx.activeUserId;
-    if (!userId) {
-      return;
+    constructor(private assetService: AssetService, private customerService: CustomerService) {}
+
+    @Transaction()
+    @Mutation()
+    @Allow(Permission.Authenticated)
+    async setCustomerAvatar(
+        @Ctx() ctx: RequestContext,
+        @Args() args: { file: any },
+    ): Promise<Asset | undefined> {
+        const userId = ctx.activeUserId;
+        if (!userId) {
+            return;
+        }
+        const customer = await this.customerService.findOneByUserId(ctx, userId);
+        if (!customer) {
+            return;
+        }
+        // Create an Asset from the uploaded file
+        const asset = await this.assetService.create(ctx, {
+            file: args.file,
+            tags: ['avatar'],
+        });
+        // Check to make sure there was no error when
+        // creating the Asset
+        if (isGraphQlErrorResult(asset)) {
+            // MimeTypeError
+            throw asset;
+        }
+        // Asset created correctly, so assign it as the
+        // avatar of the current Customer
+        await this.customerService.update(ctx, {
+            id: customer.id,
+            customFields: {
+                avatarId: asset.id,
+            },
+        });
+
+        return asset;
     }
-    const customer = await this.customerService.findOneByUserId(ctx, userId);
-    if (!customer) {
-      return;
-    }
-    // Create an Asset from the uploaded file
-    const asset = await this.assetService.create(ctx, {
-      file: args.file,
-      tags: ['avatar'],
-    });
-    // Check to make sure there was no error when
-    // creating the Asset
-    if (isGraphQlErrorResult(asset)) {
-      // MimeTypeError
-      throw asset;
-    }
-    // Asset created correctly, so assign it as the
-    // avatar of the current Customer
-    await this.customerService.update(ctx, {
-      id: customer.id,
-      customFields: {
-        avatarId: asset.id,
-      },
-    });
-
-    return asset;
-  }
 }
 ```
 
 ### Complete Customer Avatar Plugin
 
-We can group all of this together into a plugin:
+Let's put all these parts together into the plugin:
 
 ```ts
 import { Asset, PluginCommonModule, VendurePlugin } from '@vendure/core';
 
-import { shopApiExtensions } from './api-extensions';
-import { CustomerAvatarResolver } from './customer-avatar.resolver';
+import { shopApiExtensions } from './api/api-extensions';
+import { CustomerAvatarResolver } from './api/customer-avatar.resolver';
 
 @VendurePlugin({
-  imports: [PluginCommonModule],
-  shopApiExtensions: {
-    schema: shopApiExtensions,
-    resolvers: [CustomerAvatarResolver],
-  },
-  configuration: config => {
-    config.customFields.Customer.push({
-      name: 'avatar',
-      type: 'relation',
-      entity: Asset,
-      nullable: true,
-    });
-    return config;
-  },
+    imports: [PluginCommonModule],
+    shopApiExtensions: {
+        schema: shopApiExtensions,
+        resolvers: [CustomerAvatarResolver],
+    },
+    configuration: config => {
+        config.customFields.Customer.push({
+            name: 'avatar',
+            type: 'relation',
+            label: [{languageCode: LanguageCode.en, value: 'Customer avatar'}],
+            entity: Asset,
+            nullable: true,
+        });
+        return config;
+    },
 })
-export class CustomerAvatarPlugin {}
+export class CustomerAvatarPlugin {
+}
 ```
 
 ### Uploading a Customer Avatar
 
 In our storefront, we would then upload a Customer's avatar like this:
 
-```ts
+```tsx
 import { gql, useMutation } from "@apollo/client";
 
 const MUTATION = gql`

+ 1 - 2
docs/docs/reference/admin-ui-api/action-bar/action-bar-item.md

@@ -1,7 +1,6 @@
 ---
 title: "ActionBarItem"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/admin-ui-api/action-bar/action-bar-location-id.md

@@ -1,7 +1,6 @@
 ---
 title: "ActionBarLocationId"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/admin-ui-api/action-bar/add-action-bar-item.md

@@ -1,7 +1,6 @@
 ---
 title: "AddActionBarItem"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 7 - 4
docs/docs/reference/admin-ui-api/action-bar/index.md

@@ -1,11 +1,14 @@
 ---
 title: "Action Bar"
-weight: 10
-date: 2023-07-14T16:57:51.071Z
-showtoc: false
+isDefaultIndex: true
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->
+import MemberInfo from '@site/src/components/MemberInfo';
+import GenerationInfo from '@site/src/components/GenerationInfo';
+import MemberDescription from '@site/src/components/MemberDescription';
 
 
-# action-bar
+import DocCardList from '@theme/DocCardList';
+
+<DocCardList />

+ 1 - 2
docs/docs/reference/admin-ui-api/action-bar/on-click-context.md

@@ -1,7 +1,6 @@
 ---
 title: "OnClickContext"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/admin-ui-api/action-bar/page-location-id.md

@@ -1,7 +1,6 @@
 ---
 title: "PageLocationId"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/admin-ui-api/bulk-actions/bulk-action.md

@@ -1,7 +1,6 @@
 ---
 title: "BulkAction"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 7 - 4
docs/docs/reference/admin-ui-api/bulk-actions/index.md

@@ -1,11 +1,14 @@
 ---
 title: "Bulk Actions"
-weight: 10
-date: 2023-07-14T16:57:51.088Z
-showtoc: false
+isDefaultIndex: true
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->
+import MemberInfo from '@site/src/components/MemberInfo';
+import GenerationInfo from '@site/src/components/GenerationInfo';
+import MemberDescription from '@site/src/components/MemberDescription';
 
 
-# bulk-actions
+import DocCardList from '@theme/DocCardList';
+
+<DocCardList />

+ 1 - 2
docs/docs/reference/admin-ui-api/bulk-actions/register-bulk-action.md

@@ -1,7 +1,6 @@
 ---
 title: "RegisterBulkAction"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/admin-ui-api/components/asset-picker-dialog-component.md

@@ -1,7 +1,6 @@
 ---
 title: "AssetPickerDialogComponent"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/admin-ui-api/components/chip-component.md

@@ -1,7 +1,6 @@
 ---
 title: "ChipComponent"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/admin-ui-api/components/currency-input-component.md

@@ -1,7 +1,6 @@
 ---
 title: "CurrencyInputComponent"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/admin-ui-api/components/data-table-component.md

@@ -1,7 +1,6 @@
 ---
 title: "DataTableComponent"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/admin-ui-api/components/data-table2component.md

@@ -1,7 +1,6 @@
 ---
 title: "DataTable2Component"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/admin-ui-api/components/datetime-picker-component.md

@@ -1,7 +1,6 @@
 ---
 title: "DatetimePickerComponent"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/admin-ui-api/components/dropdown-component.md

@@ -1,7 +1,6 @@
 ---
 title: "DropdownComponent"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/admin-ui-api/components/facet-value-selector-component.md

@@ -1,7 +1,6 @@
 ---
 title: "FacetValueSelectorComponent"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 7 - 4
docs/docs/reference/admin-ui-api/components/index.md

@@ -1,11 +1,14 @@
 ---
 title: "Components"
-weight: 10
-date: 2023-07-14T16:57:51.149Z
-showtoc: false
+isDefaultIndex: true
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->
+import MemberInfo from '@site/src/components/MemberInfo';
+import GenerationInfo from '@site/src/components/GenerationInfo';
+import MemberDescription from '@site/src/components/MemberDescription';
 
 
-# components
+import DocCardList from '@theme/DocCardList';
+
+<DocCardList />

+ 1 - 2
docs/docs/reference/admin-ui-api/components/object-tree-component.md

@@ -1,7 +1,6 @@
 ---
 title: "ObjectTreeComponent"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/admin-ui-api/components/order-state-label-component.md

@@ -1,7 +1,6 @@
 ---
 title: "OrderStateLabelComponent"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/admin-ui-api/components/product-variant-selector-component.md

@@ -1,7 +1,6 @@
 ---
 title: "ProductVariantSelectorComponent"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/admin-ui-api/components/rich-text-editor-component.md

@@ -1,7 +1,6 @@
 ---
 title: "RichTextEditorComponent"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/admin-ui-api/components/zone-selector-component.md

@@ -1,7 +1,6 @@
 ---
 title: "ZoneSelectorComponent"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/admin-ui-api/custom-detail-components/custom-detail-component-config.md

@@ -1,7 +1,6 @@
 ---
 title: "CustomDetailComponentConfig"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/admin-ui-api/custom-detail-components/custom-detail-component-location-id.md

@@ -1,7 +1,6 @@
 ---
 title: "CustomDetailComponentLocationId"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/admin-ui-api/custom-detail-components/custom-detail-component.md

@@ -1,7 +1,6 @@
 ---
 title: "CustomDetailComponent"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 7 - 4
docs/docs/reference/admin-ui-api/custom-detail-components/index.md

@@ -1,11 +1,14 @@
 ---
 title: "Custom Detail Components"
-weight: 10
-date: 2023-07-14T16:57:51.072Z
-showtoc: false
+isDefaultIndex: true
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->
+import MemberInfo from '@site/src/components/MemberInfo';
+import GenerationInfo from '@site/src/components/GenerationInfo';
+import MemberDescription from '@site/src/components/MemberDescription';
 
 
-# custom-detail-components
+import DocCardList from '@theme/DocCardList';
+
+<DocCardList />

+ 1 - 2
docs/docs/reference/admin-ui-api/custom-detail-components/register-custom-detail-component.md

@@ -1,7 +1,6 @@
 ---
 title: "RegisterCustomDetailComponent"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/admin-ui-api/custom-history-entry-components/customer-history-entry-component.md

@@ -1,7 +1,6 @@
 ---
 title: "CustomerHistoryEntryComponent"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/admin-ui-api/custom-history-entry-components/history-entry-component.md

@@ -1,7 +1,6 @@
 ---
 title: "HistoryEntryComponent"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/admin-ui-api/custom-history-entry-components/history-entry-config.md

@@ -1,7 +1,6 @@
 ---
 title: "HistoryEntryConfig"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 7 - 4
docs/docs/reference/admin-ui-api/custom-history-entry-components/index.md

@@ -1,11 +1,14 @@
 ---
 title: "Custom History Entry Components"
-weight: 10
-date: 2023-07-14T16:57:51.095Z
-showtoc: false
+isDefaultIndex: true
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->
+import MemberInfo from '@site/src/components/MemberInfo';
+import GenerationInfo from '@site/src/components/GenerationInfo';
+import MemberDescription from '@site/src/components/MemberDescription';
 
 
-# custom-history-entry-components
+import DocCardList from '@theme/DocCardList';
+
+<DocCardList />

+ 1 - 2
docs/docs/reference/admin-ui-api/custom-history-entry-components/order-history-entry-component.md

@@ -1,7 +1,6 @@
 ---
 title: "OrderHistoryEntryComponent"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/admin-ui-api/custom-history-entry-components/register-history-entry-component.md

@@ -1,7 +1,6 @@
 ---
 title: "RegisterHistoryEntryComponent"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/admin-ui-api/custom-input-components/default-inputs.md

@@ -1,7 +1,6 @@
 ---
 title: "Default Inputs"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/admin-ui-api/custom-input-components/form-input-component.md

@@ -1,7 +1,6 @@
 ---
 title: "FormInputComponent"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 7 - 4
docs/docs/reference/admin-ui-api/custom-input-components/index.md

@@ -1,11 +1,14 @@
 ---
 title: "Custom Input Components"
-weight: 10
-date: 2023-07-14T16:57:51.070Z
-showtoc: false
+isDefaultIndex: true
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->
+import MemberInfo from '@site/src/components/MemberInfo';
+import GenerationInfo from '@site/src/components/GenerationInfo';
+import MemberDescription from '@site/src/components/MemberDescription';
 
 
-# custom-input-components
+import DocCardList from '@theme/DocCardList';
+
+<DocCardList />

+ 1 - 2
docs/docs/reference/admin-ui-api/custom-input-components/register-form-input-component.md

@@ -1,7 +1,6 @@
 ---
 title: "RegisterFormInputComponent"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/admin-ui-api/directives/if-multichannel-directive.md

@@ -1,7 +1,6 @@
 ---
 title: "IfMultichannelDirective"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/admin-ui-api/directives/if-permissions-directive.md

@@ -1,7 +1,6 @@
 ---
 title: "IfPermissionsDirective"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 4 - 4
docs/docs/reference/admin-ui-api/directives/index.md

@@ -1,8 +1,6 @@
 ---
 title: "Directives"
-weight: 10
-date: 2023-07-21T15:46:19.478Z
-showtoc: false
+isDefaultIndex: true
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->
@@ -11,4 +9,6 @@ import GenerationInfo from '@site/src/components/GenerationInfo';
 import MemberDescription from '@site/src/components/MemberDescription';
 
 
-# directives
+import DocCardList from '@theme/DocCardList';
+
+<DocCardList />

+ 1 - 2
docs/docs/reference/admin-ui-api/list-detail-views/base-detail-component.md

@@ -1,7 +1,6 @@
 ---
 title: "BaseDetailComponent"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/admin-ui-api/list-detail-views/base-entity-resolver.md

@@ -1,7 +1,6 @@
 ---
 title: "BaseEntityResolver"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/admin-ui-api/list-detail-views/base-list-component.md

@@ -1,7 +1,6 @@
 ---
 title: "BaseListComponent"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/admin-ui-api/list-detail-views/detail-component-with-resolver.md

@@ -1,7 +1,6 @@
 ---
 title: "DetailComponentWithResolver"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 4 - 4
docs/docs/reference/admin-ui-api/list-detail-views/index.md

@@ -1,8 +1,6 @@
 ---
 title: "List Detail Views"
-weight: 10
-date: 2023-07-21T15:46:18.950Z
-showtoc: false
+isDefaultIndex: true
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->
@@ -11,4 +9,6 @@ import GenerationInfo from '@site/src/components/GenerationInfo';
 import MemberDescription from '@site/src/components/MemberDescription';
 
 
-# list-detail-views
+import DocCardList from '@theme/DocCardList';
+
+<DocCardList />

+ 1 - 2
docs/docs/reference/admin-ui-api/list-detail-views/typed-base-detail-component.md

@@ -1,7 +1,6 @@
 ---
 title: "TypedBaseDetailComponent"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/admin-ui-api/list-detail-views/typed-base-list-component.md

@@ -1,7 +1,6 @@
 ---
 title: "TypedBaseListComponent"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/admin-ui-api/nav-menu/add-nav-menu-item.md

@@ -1,7 +1,6 @@
 ---
 title: "AddNavMenuItem"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/admin-ui-api/nav-menu/add-nav-menu-section.md

@@ -1,7 +1,6 @@
 ---
 title: "AddNavMenuSection"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 4 - 4
docs/docs/reference/admin-ui-api/nav-menu/index.md

@@ -1,8 +1,6 @@
 ---
 title: "Nav Menu"
-weight: 10
-date: 2023-07-21T15:46:19.118Z
-showtoc: false
+isDefaultIndex: true
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->
@@ -11,4 +9,6 @@ import GenerationInfo from '@site/src/components/GenerationInfo';
 import MemberDescription from '@site/src/components/MemberDescription';
 
 
-# nav-menu
+import DocCardList from '@theme/DocCardList';
+
+<DocCardList />

+ 1 - 2
docs/docs/reference/admin-ui-api/nav-menu/nav-menu-item.md

@@ -1,7 +1,6 @@
 ---
 title: "NavMenuItem"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/admin-ui-api/nav-menu/nav-menu-section.md

@@ -1,7 +1,6 @@
 ---
 title: "NavMenuSection"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/admin-ui-api/nav-menu/navigation-types.md

@@ -1,7 +1,6 @@
 ---
 title: "Navigation Types"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/admin-ui-api/pipes/asset-preview-pipe.md

@@ -1,7 +1,6 @@
 ---
 title: "AssetPreviewPipe"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/admin-ui-api/pipes/duration-pipe.md

@@ -1,7 +1,6 @@
 ---
 title: "DurationPipe"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/admin-ui-api/pipes/file-size-pipe.md

@@ -1,7 +1,6 @@
 ---
 title: "FileSizePipe"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/admin-ui-api/pipes/has-permission-pipe.md

@@ -1,7 +1,6 @@
 ---
 title: "HasPermissionPipe"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 4 - 4
docs/docs/reference/admin-ui-api/pipes/index.md

@@ -1,8 +1,6 @@
 ---
 title: "Pipes"
-weight: 10
-date: 2023-07-21T15:46:19.571Z
-showtoc: false
+isDefaultIndex: true
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->
@@ -11,4 +9,6 @@ import GenerationInfo from '@site/src/components/GenerationInfo';
 import MemberDescription from '@site/src/components/MemberDescription';
 
 
-# pipes
+import DocCardList from '@theme/DocCardList';
+
+<DocCardList />

+ 1 - 2
docs/docs/reference/admin-ui-api/pipes/locale-currency-name-pipe.md

@@ -1,7 +1,6 @@
 ---
 title: "LocaleCurrencyNamePipe"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/admin-ui-api/pipes/locale-currency-pipe.md

@@ -1,7 +1,6 @@
 ---
 title: "LocaleCurrencyPipe"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/admin-ui-api/pipes/locale-date-pipe.md

@@ -1,7 +1,6 @@
 ---
 title: "LocaleDatePipe"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/admin-ui-api/pipes/locale-language-name-pipe.md

@@ -1,7 +1,6 @@
 ---
 title: "LocaleLanguageNamePipe"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/admin-ui-api/pipes/locale-region-name-pipe.md

@@ -1,7 +1,6 @@
 ---
 title: "LocaleRegionNamePipe"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/admin-ui-api/pipes/time-ago-pipe.md

@@ -1,7 +1,6 @@
 ---
 title: "TimeAgoPipe"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/admin-ui-api/providers/data-service.md

@@ -1,7 +1,6 @@
 ---
 title: "DataService"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 4 - 4
docs/docs/reference/admin-ui-api/providers/index.md

@@ -1,8 +1,6 @@
 ---
 title: "Providers"
-weight: 10
-date: 2023-07-21T15:46:19.042Z
-showtoc: false
+isDefaultIndex: true
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->
@@ -11,4 +9,6 @@ import GenerationInfo from '@site/src/components/GenerationInfo';
 import MemberDescription from '@site/src/components/MemberDescription';
 
 
-# providers
+import DocCardList from '@theme/DocCardList';
+
+<DocCardList />

+ 1 - 2
docs/docs/reference/admin-ui-api/providers/modal-service.md

@@ -1,7 +1,6 @@
 ---
 title: "ModalService"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/admin-ui-api/providers/notification-service.md

@@ -1,7 +1,6 @@
 ---
 title: "NotificationService"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 4 - 4
docs/docs/reference/admin-ui-api/tabs/index.md

@@ -1,8 +1,6 @@
 ---
 title: "Tabs"
-weight: 10
-date: 2023-07-21T15:46:19.201Z
-showtoc: false
+isDefaultIndex: true
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->
@@ -11,4 +9,6 @@ import GenerationInfo from '@site/src/components/GenerationInfo';
 import MemberDescription from '@site/src/components/MemberDescription';
 
 
-# tabs
+import DocCardList from '@theme/DocCardList';
+
+<DocCardList />

+ 1 - 2
docs/docs/reference/admin-ui-api/tabs/page-tab-config.md

@@ -1,7 +1,6 @@
 ---
 title: "PageTabConfig"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/admin-ui-api/tabs/register-page-tab.md

@@ -1,7 +1,6 @@
 ---
 title: "RegisterPageTab"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/admin-ui-api/ui-devkit/admin-ui-extension.md

@@ -1,7 +1,6 @@
 ---
 title: "AdminUiExtension"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/admin-ui-api/ui-devkit/compile-ui-extensions.md

@@ -1,7 +1,6 @@
 ---
 title: "CompileUiExtensions"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/admin-ui-api/ui-devkit/helpers.md

@@ -1,7 +1,6 @@
 ---
 title: "Helpers"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 4 - 4
docs/docs/reference/admin-ui-api/ui-devkit/index.md

@@ -1,8 +1,6 @@
 ---
 title: "Ui Devkit"
-weight: 10
-date: 2023-07-21T15:46:19.614Z
-showtoc: false
+isDefaultIndex: true
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->
@@ -11,4 +9,6 @@ import GenerationInfo from '@site/src/components/GenerationInfo';
 import MemberDescription from '@site/src/components/MemberDescription';
 
 
-# ui-devkit
+import DocCardList from '@theme/DocCardList';
+
+<DocCardList />

+ 1 - 2
docs/docs/reference/admin-ui-api/ui-devkit/ui-devkit-client.md

@@ -1,7 +1,6 @@
 ---
 title: "UiDevkitClient"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/admin-ui-api/ui-devkit/ui-extension-compiler-options.md

@@ -1,7 +1,6 @@
 ---
 title: "UiExtensionCompilerOptions"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/admin-ui-api/ui-devkit/ui-extension-compiler-process-argument.md

@@ -1,7 +1,6 @@
 ---
 title: "UiExtensionCompilerProcessArgument"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/typescript-api/assets/asset-naming-strategy.md

@@ -1,7 +1,6 @@
 ---
 title: "AssetNamingStrategy"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/typescript-api/assets/asset-options.md

@@ -1,7 +1,6 @@
 ---
 title: "AssetOptions"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/typescript-api/assets/asset-preview-strategy.md

@@ -1,7 +1,6 @@
 ---
 title: "AssetPreviewStrategy"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/typescript-api/assets/asset-storage-strategy.md

@@ -1,7 +1,6 @@
 ---
 title: "AssetStorageStrategy"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/typescript-api/assets/default-asset-naming-strategy.md

@@ -1,7 +1,6 @@
 ---
 title: "DefaultAssetNamingStrategy"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 4 - 4
docs/docs/reference/typescript-api/assets/index.md

@@ -1,8 +1,6 @@
 ---
 title: "Assets"
-weight: 10
-date: 2023-07-21T15:46:14.876Z
-showtoc: false
+isDefaultIndex: true
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->
@@ -11,4 +9,6 @@ import GenerationInfo from '@site/src/components/GenerationInfo';
 import MemberDescription from '@site/src/components/MemberDescription';
 
 
-# assets
+import DocCardList from '@theme/DocCardList';
+
+<DocCardList />

+ 2 - 1
docs/docs/reference/typescript-api/auth/_index.md

@@ -7,5 +7,6 @@ generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->
 
+import DocCardList from '@theme/DocCardList';
 
-# auth
+<DocCardList />

+ 1 - 2
docs/docs/reference/typescript-api/auth/auth-options.md

@@ -1,7 +1,6 @@
 ---
 title: "AuthOptions"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/typescript-api/auth/authentication-strategy.md

@@ -1,7 +1,6 @@
 ---
 title: "AuthenticationStrategy"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/typescript-api/auth/bcrypt-password-hashing-strategy.md

@@ -1,7 +1,6 @@
 ---
 title: "BcryptPasswordHashingStrategy"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/typescript-api/auth/cookie-options.md

@@ -1,7 +1,6 @@
 ---
 title: "CookieOptions"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/typescript-api/auth/default-password-validation-strategy.md

@@ -1,7 +1,6 @@
 ---
 title: "DefaultPasswordValidationStrategy"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/typescript-api/auth/external-authentication-service.md

@@ -1,7 +1,6 @@
 ---
 title: "ExternalAuthenticationService"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/typescript-api/auth/in-memory-session-cache-strategy.md

@@ -1,7 +1,6 @@
 ---
 title: "InMemorySessionCacheStrategy"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 4 - 4
docs/docs/reference/typescript-api/auth/index.md

@@ -1,8 +1,6 @@
 ---
 title: "Auth"
-weight: 10
-date: 2023-07-21T15:46:14.834Z
-showtoc: false
+isDefaultIndex: true
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->
@@ -11,4 +9,6 @@ import GenerationInfo from '@site/src/components/GenerationInfo';
 import MemberDescription from '@site/src/components/MemberDescription';
 
 
-# auth
+import DocCardList from '@theme/DocCardList';
+
+<DocCardList />

+ 1 - 2
docs/docs/reference/typescript-api/auth/native-authentication-strategy.md

@@ -1,7 +1,6 @@
 ---
 title: "NativeAuthenticationStrategy"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/typescript-api/auth/noop-session-cache-strategy.md

@@ -1,7 +1,6 @@
 ---
 title: "NoopSessionCacheStrategy"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

+ 1 - 2
docs/docs/reference/typescript-api/auth/password-hashing-strategy.md

@@ -1,7 +1,6 @@
 ---
 title: "PasswordHashingStrategy"
-weight: 10
-showtoc: true
+isDefaultIndex: false
 generated: true
 ---
 <!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->

Vissa filer visades inte eftersom för många filer har ändrats