Procházet zdrojové kódy

docs: Increase indent in type signatures

Michael Bromley před 2 roky
rodič
revize
16a5933aaf
100 změnil soubory, kde provedl 1192 přidání a 1192 odebrání
  1. 10 10
      docs/docs/reference/admin-ui-api/action-bar/action-bar-item.md
  2. 3 3
      docs/docs/reference/admin-ui-api/action-bar/on-click-context.md
  3. 14 14
      docs/docs/reference/admin-ui-api/bulk-actions/bulk-action.md
  4. 19 19
      docs/docs/reference/admin-ui-api/components/asset-picker-dialog-component.md
  5. 5 5
      docs/docs/reference/admin-ui-api/components/chip-component.md
  6. 21 21
      docs/docs/reference/admin-ui-api/components/currency-input-component.md
  7. 26 26
      docs/docs/reference/admin-ui-api/components/data-table-component.md
  8. 37 37
      docs/docs/reference/admin-ui-api/components/data-table2component.md
  9. 38 38
      docs/docs/reference/admin-ui-api/components/datetime-picker-component.md
  10. 7 7
      docs/docs/reference/admin-ui-api/components/dropdown-component.md
  11. 20 20
      docs/docs/reference/admin-ui-api/components/facet-value-selector-component.md
  12. 9 9
      docs/docs/reference/admin-ui-api/components/object-tree-component.md
  13. 2 2
      docs/docs/reference/admin-ui-api/components/order-state-label-component.md
  14. 7 7
      docs/docs/reference/admin-ui-api/components/product-variant-selector-component.md
  15. 12 12
      docs/docs/reference/admin-ui-api/components/rich-text-editor-component.md
  16. 16 16
      docs/docs/reference/admin-ui-api/components/zone-selector-component.md
  17. 2 2
      docs/docs/reference/admin-ui-api/custom-detail-components/custom-detail-component-config.md
  18. 2 2
      docs/docs/reference/admin-ui-api/custom-detail-components/custom-detail-component.md
  19. 1 1
      docs/docs/reference/admin-ui-api/custom-history-entry-components/customer-history-entry-component.md
  20. 5 5
      docs/docs/reference/admin-ui-api/custom-history-entry-components/history-entry-component.md
  21. 2 2
      docs/docs/reference/admin-ui-api/custom-history-entry-components/history-entry-config.md
  22. 1 1
      docs/docs/reference/admin-ui-api/custom-history-entry-components/order-history-entry-component.md
  23. 98 98
      docs/docs/reference/admin-ui-api/custom-input-components/default-inputs.md
  24. 4 4
      docs/docs/reference/admin-ui-api/custom-input-components/form-input-component.md
  25. 1 1
      docs/docs/reference/admin-ui-api/directives/if-multichannel-directive.md
  26. 1 1
      docs/docs/reference/admin-ui-api/directives/if-permissions-directive.md
  27. 18 18
      docs/docs/reference/admin-ui-api/list-detail-views/base-detail-component.md
  28. 1 1
      docs/docs/reference/admin-ui-api/list-detail-views/base-entity-resolver.md
  29. 18 18
      docs/docs/reference/admin-ui-api/list-detail-views/base-list-component.md
  30. 4 4
      docs/docs/reference/admin-ui-api/list-detail-views/typed-base-detail-component.md
  31. 12 12
      docs/docs/reference/admin-ui-api/list-detail-views/typed-base-list-component.md
  32. 7 7
      docs/docs/reference/admin-ui-api/nav-menu/nav-menu-item.md
  33. 8 8
      docs/docs/reference/admin-ui-api/nav-menu/nav-menu-section.md
  34. 2 2
      docs/docs/reference/admin-ui-api/nav-menu/navigation-types.md
  35. 1 1
      docs/docs/reference/admin-ui-api/pipes/asset-preview-pipe.md
  36. 2 2
      docs/docs/reference/admin-ui-api/pipes/duration-pipe.md
  37. 1 1
      docs/docs/reference/admin-ui-api/pipes/file-size-pipe.md
  38. 3 3
      docs/docs/reference/admin-ui-api/pipes/has-permission-pipe.md
  39. 2 2
      docs/docs/reference/admin-ui-api/pipes/locale-currency-name-pipe.md
  40. 2 2
      docs/docs/reference/admin-ui-api/pipes/locale-currency-pipe.md
  41. 2 2
      docs/docs/reference/admin-ui-api/pipes/locale-date-pipe.md
  42. 2 2
      docs/docs/reference/admin-ui-api/pipes/locale-language-name-pipe.md
  43. 2 2
      docs/docs/reference/admin-ui-api/pipes/locale-region-name-pipe.md
  44. 2 2
      docs/docs/reference/admin-ui-api/pipes/time-ago-pipe.md
  45. 10 10
      docs/docs/reference/admin-ui-api/providers/data-service.md
  46. 13 13
      docs/docs/reference/admin-ui-api/providers/modal-service.md
  47. 10 10
      docs/docs/reference/admin-ui-api/providers/notification-service.md
  48. 7 7
      docs/docs/reference/admin-ui-api/tabs/page-tab-config.md
  49. 16 16
      docs/docs/reference/admin-ui-api/ui-devkit/admin-ui-extension.md
  50. 7 7
      docs/docs/reference/admin-ui-api/ui-devkit/ui-extension-compiler-options.md
  51. 2 2
      docs/docs/reference/typescript-api/assets/asset-naming-strategy.md
  52. 5 5
      docs/docs/reference/typescript-api/assets/asset-options.md
  53. 1 1
      docs/docs/reference/typescript-api/assets/asset-preview-strategy.md
  54. 7 7
      docs/docs/reference/typescript-api/assets/asset-storage-strategy.md
  55. 2 2
      docs/docs/reference/typescript-api/assets/default-asset-naming-strategy.md
  56. 15 15
      docs/docs/reference/typescript-api/auth/auth-options.md
  57. 4 4
      docs/docs/reference/typescript-api/auth/authentication-strategy.md
  58. 2 2
      docs/docs/reference/typescript-api/auth/bcrypt-password-hashing-strategy.md
  59. 10 10
      docs/docs/reference/typescript-api/auth/cookie-options.md
  60. 2 2
      docs/docs/reference/typescript-api/auth/default-password-validation-strategy.md
  61. 6 6
      docs/docs/reference/typescript-api/auth/external-authentication-service.md
  62. 5 5
      docs/docs/reference/typescript-api/auth/in-memory-session-cache-strategy.md
  63. 5 5
      docs/docs/reference/typescript-api/auth/native-authentication-strategy.md
  64. 4 4
      docs/docs/reference/typescript-api/auth/noop-session-cache-strategy.md
  65. 2 2
      docs/docs/reference/typescript-api/auth/password-hashing-strategy.md
  66. 1 1
      docs/docs/reference/typescript-api/auth/password-validation-strategy.md
  67. 11 11
      docs/docs/reference/typescript-api/auth/permission-definition.md
  68. 16 16
      docs/docs/reference/typescript-api/auth/session-cache-strategy.md
  69. 2 2
      docs/docs/reference/typescript-api/auth/superadmin-credentials.md
  70. 2 2
      docs/docs/reference/typescript-api/common/async-queue.md
  71. 157 157
      docs/docs/reference/typescript-api/common/currency-code.md
  72. 5 5
      docs/docs/reference/typescript-api/common/i18n-service.md
  73. 2 2
      docs/docs/reference/typescript-api/common/injectable-strategy.md
  74. 3 3
      docs/docs/reference/typescript-api/common/injector.md
  75. 6 6
      docs/docs/reference/typescript-api/common/job-state.md
  76. 157 157
      docs/docs/reference/typescript-api/common/language-code.md
  77. 3 3
      docs/docs/reference/typescript-api/common/middleware.md
  78. 2 2
      docs/docs/reference/typescript-api/common/paginated-list.md
  79. 93 93
      docs/docs/reference/typescript-api/common/permission.md
  80. 2 2
      docs/docs/reference/typescript-api/common/price-calculation-result.md
  81. 2 2
      docs/docs/reference/typescript-api/common/process-context.md
  82. 1 1
      docs/docs/reference/typescript-api/configurable-operation-def/config-args.md
  83. 3 3
      docs/docs/reference/typescript-api/configurable-operation-def/configurable-operation-def-options.md
  84. 17 17
      docs/docs/reference/typescript-api/configurable-operation-def/default-form-config-hash.md
  85. 8 8
      docs/docs/reference/typescript-api/configurable-operation-def/index.md
  86. 17 17
      docs/docs/reference/typescript-api/configuration/api-options.md
  87. 2 2
      docs/docs/reference/typescript-api/configuration/collection-filter.md
  88. 9 9
      docs/docs/reference/typescript-api/configuration/entity-id-strategy.md
  89. 6 6
      docs/docs/reference/typescript-api/configuration/entity-options.md
  90. 2 2
      docs/docs/reference/typescript-api/configuration/product-variant-price-selection-strategy.md
  91. 13 13
      docs/docs/reference/typescript-api/configuration/runtime-vendure-config.md
  92. 1 1
      docs/docs/reference/typescript-api/configuration/system-options.md
  93. 20 20
      docs/docs/reference/typescript-api/configuration/vendure-config.md
  94. 3 3
      docs/docs/reference/typescript-api/core-plugins/admin-ui-plugin/admin-ui-app-config.md
  95. 4 4
      docs/docs/reference/typescript-api/core-plugins/admin-ui-plugin/admin-ui-app-dev-mode-config.md
  96. 15 15
      docs/docs/reference/typescript-api/core-plugins/admin-ui-plugin/admin-ui-config.md
  97. 5 5
      docs/docs/reference/typescript-api/core-plugins/admin-ui-plugin/admin-ui-plugin-options.md
  98. 3 3
      docs/docs/reference/typescript-api/core-plugins/admin-ui-plugin/index.md
  99. 10 10
      docs/docs/reference/typescript-api/core-plugins/asset-server-plugin/asset-server-options.md
  100. 2 2
      docs/docs/reference/typescript-api/core-plugins/asset-server-plugin/cache-config.md

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

@@ -18,16 +18,16 @@ A button in the ActionBar area at the top of one of the list or detail views.
 
 ```ts title="Signature"
 interface ActionBarItem {
-  id: string;
-  label: string;
-  locationId: ActionBarLocationId;
-  disabled?: Observable<boolean>;
-  onClick?: (event: MouseEvent, context: OnClickContext) => void;
-  routerLink?: RouterLinkDefinition;
-  buttonColor?: 'primary' | 'success' | 'warning';
-  buttonStyle?: 'solid' | 'outline' | 'link';
-  icon?: string;
-  requiresPermission?: string | string[];
+    id: string;
+    label: string;
+    locationId: ActionBarLocationId;
+    disabled?: Observable<boolean>;
+    onClick?: (event: MouseEvent, context: OnClickContext) => void;
+    routerLink?: RouterLinkDefinition;
+    buttonColor?: 'primary' | 'success' | 'warning';
+    buttonStyle?: 'solid' | 'outline' | 'link';
+    icon?: string;
+    requiresPermission?: string | string[];
 }
 ```
 

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

@@ -18,9 +18,9 @@ Utilities available to the onClick handler of an ActionBarItem.
 
 ```ts title="Signature"
 interface OnClickContext {
-  route: ActivatedRoute;
-  dataService: DataService;
-  notificationService: NotificationService;
+    route: ActivatedRoute;
+    dataService: DataService;
+    notificationService: NotificationService;
 }
 ```
 

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

@@ -20,16 +20,16 @@ For a full example, see the <a href='/reference/admin-ui-api/bulk-actions/regist
 
 ```ts title="Signature"
 interface BulkAction<ItemType = any, ComponentType = any> {
-  location: BulkActionLocationId;
-  label: string;
-  getTranslationVars?: (
+    location: BulkActionLocationId;
+    label: string;
+    getTranslationVars?: (
         context: BulkActionFunctionContext<ItemType, ComponentType>,
     ) => Record<string, string | number> | Promise<Record<string, string | number>>;
-  icon?: string;
-  iconClass?: string;
-  onClick: (context: BulkActionClickContext<ItemType, ComponentType>) => void;
-  isVisible?: (context: BulkActionFunctionContext<ItemType, ComponentType>) => boolean | Promise<boolean>;
-  requiresPermission?: string | ((userPermissions: string[]) => boolean);
+    icon?: string;
+    iconClass?: string;
+    onClick: (context: BulkActionClickContext<ItemType, ComponentType>) => void;
+    isVisible?: (context: BulkActionFunctionContext<ItemType, ComponentType>) => boolean | Promise<boolean>;
+    requiresPermission?: string | ((userPermissions: string[]) => boolean);
 }
 ```
 
@@ -163,10 +163,10 @@ of the BulkAction definition.
 
 ```ts title="Signature"
 interface BulkActionFunctionContext<ItemType, ComponentType> {
-  selection: ItemType[];
-  hostComponent: ComponentType;
-  injector: Injector;
-  route: ActivatedRoute;
+    selection: ItemType[];
+    hostComponent: ComponentType;
+    injector: Injector;
+    route: ActivatedRoute;
 }
 ```
 
@@ -209,8 +209,8 @@ This is the argument which gets passed to the `onClick` function of a BulkAction
 
 ```ts title="Signature"
 interface BulkActionClickContext<ItemType, ComponentType> extends BulkActionFunctionContext<ItemType, ComponentType> {
-  clearSelection: () => void;
-  event: MouseEvent;
+    clearSelection: () => void;
+    event: MouseEvent;
 }
 ```
 * Extends: <code><a href='/reference/admin-ui-api/bulk-actions/bulk-action#bulkactionfunctioncontext'>BulkActionFunctionContext</a>&#60;ItemType, ComponentType&#62;</code>

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

@@ -34,29 +34,29 @@ selectAssets() {
 
 ```ts title="Signature"
 class AssetPickerDialogComponent implements OnInit, AfterViewInit, OnDestroy, Dialog<Asset[]> {
-  assets$: Observable<AssetLike[]>;
-  allTags$: Observable<TagFragment[]>;
-  paginationConfig: PaginationInstance = {
+    assets$: Observable<AssetLike[]>;
+    allTags$: Observable<TagFragment[]>;
+    paginationConfig: PaginationInstance = {
         currentPage: 1,
         itemsPerPage: 25,
         totalItems: 1,
     };
-  multiSelect = true;
-  initialTags: string[] = [];
-  resolveWith: (result?: Asset[]) => void;
-  selection: Asset[] = [];
-  searchTerm$ = new BehaviorSubject<string | undefined>(undefined);
-  filterByTags$ = new BehaviorSubject<TagFragment[] | undefined>(undefined);
-  uploading = false;
-  constructor(dataService: DataService, notificationService: NotificationService)
-  ngOnInit() => ;
-  ngAfterViewInit() => ;
-  ngOnDestroy() => void;
-  pageChange(page: number) => ;
-  itemsPerPageChange(itemsPerPage: number) => ;
-  cancel() => ;
-  select() => ;
-  createAssets(files: File[]) => ;
+    multiSelect = true;
+    initialTags: string[] = [];
+    resolveWith: (result?: Asset[]) => void;
+    selection: Asset[] = [];
+    searchTerm$ = new BehaviorSubject<string | undefined>(undefined);
+    filterByTags$ = new BehaviorSubject<TagFragment[] | undefined>(undefined);
+    uploading = false;
+    constructor(dataService: DataService, notificationService: NotificationService)
+    ngOnInit() => ;
+    ngAfterViewInit() => ;
+    ngOnDestroy() => void;
+    pageChange(page: number) => ;
+    itemsPerPageChange(itemsPerPage: number) => ;
+    cancel() => ;
+    select() => ;
+    createAssets(files: File[]) => ;
 }
 ```
 * Implements: <code>OnInit</code>, <code>AfterViewInit</code>, <code>OnDestroy</code>, <code><a href='/reference/admin-ui-api/providers/modal-service#dialog'>Dialog</a>&#60;<a href='/reference/typescript-api/entities/asset#asset'>Asset</a>[]&#62;</code>

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

@@ -27,11 +27,11 @@ A chip component for displaying a label with an optional action icon.
 
 ```ts title="Signature"
 class ChipComponent {
-  @Input() @Input() icon: string;
-  @Input() @Input() invert = false;
-  @Input() @Input() colorFrom = '';
-  @Input() @Input() colorType: 'error' | 'success' | 'warning';
-  @Output() @Output() iconClick = new EventEmitter<MouseEvent>();
+    @Input() icon: string;
+    @Input() invert = false;
+    @Input() colorFrom = '';
+    @Input() colorType: 'error' | 'success' | 'warning';
+    @Output() iconClick = new EventEmitter<MouseEvent>();
 }
 ```
 

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

@@ -28,27 +28,27 @@ with the integer cent value in the background.
 
 ```ts title="Signature"
 class CurrencyInputComponent implements ControlValueAccessor, OnInit, OnChanges, OnDestroy {
-  @Input() @Input() disabled = false;
-  @Input() @Input() readonly = false;
-  @Input() @Input() value: number;
-  @Input() @Input() currencyCode = '';
-  @Output() @Output() valueChange = new EventEmitter();
-  prefix$: Observable<string>;
-  suffix$: Observable<string>;
-  hasFractionPart = true;
-  onChange: (val: any) => void;
-  onTouch: () => void;
-  _inputValue: string;
-  constructor(dataService: DataService, changeDetectorRef: ChangeDetectorRef)
-  ngOnInit() => ;
-  ngOnChanges(changes: SimpleChanges) => ;
-  ngOnDestroy() => ;
-  registerOnChange(fn: any) => ;
-  registerOnTouched(fn: any) => ;
-  setDisabledState(isDisabled: boolean) => ;
-  onInput(value: string) => ;
-  onFocus() => ;
-  writeValue(value: any) => void;
+    @Input() disabled = false;
+    @Input() readonly = false;
+    @Input() value: number;
+    @Input() currencyCode = '';
+    @Output() valueChange = new EventEmitter();
+    prefix$: Observable<string>;
+    suffix$: Observable<string>;
+    hasFractionPart = true;
+    onChange: (val: any) => void;
+    onTouch: () => void;
+    _inputValue: string;
+    constructor(dataService: DataService, changeDetectorRef: ChangeDetectorRef)
+    ngOnInit() => ;
+    ngOnChanges(changes: SimpleChanges) => ;
+    ngOnDestroy() => ;
+    registerOnChange(fn: any) => ;
+    registerOnTouched(fn: any) => ;
+    setDisabledState(isDisabled: boolean) => ;
+    onInput(value: string) => ;
+    onFocus() => ;
+    writeValue(value: any) => void;
 }
 ```
 * Implements: <code>ControlValueAccessor</code>, <code>OnInit</code>, <code>OnChanges</code>, <code>OnDestroy</code>

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

@@ -74,32 +74,32 @@ extend the <a href='/reference/admin-ui-api/list-detail-views/base-list-componen
 
 ```ts title="Signature"
 class DataTableComponent<T> implements AfterContentInit, OnChanges, OnInit, OnDestroy {
-  @Input() @Input() items: T[];
-  @Input() @Input() itemsPerPage: number;
-  @Input() @Input() currentPage: number;
-  @Input() @Input() totalItems: number;
-  @Input() @Input() emptyStateLabel: string;
-  @Input() @Input() selectionManager?: SelectionManager<T>;
-  @Output() @Output() pageChange = new EventEmitter<number>();
-  @Output() @Output() itemsPerPageChange = new EventEmitter<number>();
-  @Input() @Input() allSelected: boolean;
-  @Input() @Input() isRowSelectedFn: (item: T) => boolean;
-  @Output() @Output() allSelectChange = new EventEmitter<void>();
-  @Output() @Output() rowSelectChange = new EventEmitter<{ event: MouseEvent; item: T }>();
-  @ContentChildren(DataTableColumnComponent) @ContentChildren(DataTableColumnComponent) columns: QueryList<DataTableColumnComponent>;
-  @ContentChildren(TemplateRef) @ContentChildren(TemplateRef) templateRefs: QueryList<TemplateRef<any>>;
-  rowTemplate: TemplateRef<any>;
-  currentStart: number;
-  currentEnd: number;
-  disableSelect = false;
-  constructor(changeDetectorRef: ChangeDetectorRef)
-  ngOnInit() => ;
-  ngOnChanges(changes: SimpleChanges) => ;
-  ngOnDestroy() => ;
-  ngAfterContentInit() => void;
-  trackByFn(index: number, item: any) => ;
-  onToggleAllClick() => ;
-  onRowClick(item: T, event: MouseEvent) => ;
+    @Input() items: T[];
+    @Input() itemsPerPage: number;
+    @Input() currentPage: number;
+    @Input() totalItems: number;
+    @Input() emptyStateLabel: string;
+    @Input() selectionManager?: SelectionManager<T>;
+    @Output() pageChange = new EventEmitter<number>();
+    @Output() itemsPerPageChange = new EventEmitter<number>();
+    @Input() allSelected: boolean;
+    @Input() isRowSelectedFn: (item: T) => boolean;
+    @Output() allSelectChange = new EventEmitter<void>();
+    @Output() rowSelectChange = new EventEmitter<{ event: MouseEvent; item: T }>();
+    @ContentChildren(DataTableColumnComponent) columns: QueryList<DataTableColumnComponent>;
+    @ContentChildren(TemplateRef) templateRefs: QueryList<TemplateRef<any>>;
+    rowTemplate: TemplateRef<any>;
+    currentStart: number;
+    currentEnd: number;
+    disableSelect = false;
+    constructor(changeDetectorRef: ChangeDetectorRef)
+    ngOnInit() => ;
+    ngOnChanges(changes: SimpleChanges) => ;
+    ngOnDestroy() => ;
+    ngAfterContentInit() => void;
+    trackByFn(index: number, item: any) => ;
+    onToggleAllClick() => ;
+    onRowClick(item: T, event: MouseEvent) => ;
 }
 ```
 * Implements: <code>AfterContentInit</code>, <code>OnChanges</code>, <code>OnInit</code>, <code>OnDestroy</code>

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

@@ -75,44 +75,44 @@ extend the <a href='/reference/admin-ui-api/list-detail-views/base-list-componen
 
 ```ts title="Signature"
 class DataTable2Component<T> implements AfterContentInit, OnChanges, OnDestroy {
-  @Input() @Input() id: string;
-  @Input() @Input() items: T[];
-  @Input() @Input() itemsPerPage: number;
-  @Input() @Input() currentPage: number;
-  @Input() @Input() totalItems: number;
-  @Input() @Input() emptyStateLabel: string;
-  @Input() @Input() filters: DataTableFilterCollection;
-  @Input() @Input() activeIndex = -1;
-  @Output() @Output() pageChange = new EventEmitter<number>();
-  @Output() @Output() itemsPerPageChange = new EventEmitter<number>();
-  @ContentChildren(DataTable2ColumnComponent) @ContentChildren(DataTable2ColumnComponent) columns: QueryList<DataTable2ColumnComponent<T>>;
-  @ContentChildren(DataTableCustomFieldColumnComponent) @ContentChildren(DataTableCustomFieldColumnComponent)
+    @Input() id: string;
+    @Input() items: T[];
+    @Input() itemsPerPage: number;
+    @Input() currentPage: number;
+    @Input() totalItems: number;
+    @Input() emptyStateLabel: string;
+    @Input() filters: DataTableFilterCollection;
+    @Input() activeIndex = -1;
+    @Output() pageChange = new EventEmitter<number>();
+    @Output() itemsPerPageChange = new EventEmitter<number>();
+    @ContentChildren(DataTable2ColumnComponent) columns: QueryList<DataTable2ColumnComponent<T>>;
+    @ContentChildren(DataTableCustomFieldColumnComponent)
     customFieldColumns: QueryList<DataTableCustomFieldColumnComponent<T>>;
-  @ContentChild(DataTable2SearchComponent) @ContentChild(DataTable2SearchComponent) searchComponent: DataTable2SearchComponent;
-  @ContentChild(BulkActionMenuComponent) @ContentChild(BulkActionMenuComponent) bulkActionMenuComponent: BulkActionMenuComponent;
-  @ContentChild('vdrDt2CustomSearch') @ContentChild('vdrDt2CustomSearch') customSearchTemplate: TemplateRef<any>;
-  @ContentChildren(TemplateRef) @ContentChildren(TemplateRef) templateRefs: QueryList<TemplateRef<any>>;
-  rowTemplate: TemplateRef<any>;
-  currentStart: number;
-  currentEnd: number;
-  disableSelect = false;
-  showSearchFilterRow = false;
-  protected protected uiLanguage$: Observable<LanguageCode>;
-  constructor(changeDetectorRef: ChangeDetectorRef, localStorageService: LocalStorageService, dataService: DataService)
-  selectionManager: void
-  allColumns: void
-  visibleSortedColumns: void
-  sortedColumns: void
-  ngOnChanges(changes: SimpleChanges) => ;
-  ngOnDestroy() => ;
-  ngAfterContentInit() => void;
-  onColumnReorder(event: { column: DataTable2ColumnComponent<any>; newIndex: number }) => ;
-  onColumnsReset() => ;
-  toggleSearchFilterRow() => ;
-  trackByFn(index: number, item: any) => ;
-  onToggleAllClick() => ;
-  onRowClick(item: T, event: MouseEvent) => ;
-  protected getDataTableConfig() => DataTableConfig;
+    @ContentChild(DataTable2SearchComponent) searchComponent: DataTable2SearchComponent;
+    @ContentChild(BulkActionMenuComponent) bulkActionMenuComponent: BulkActionMenuComponent;
+    @ContentChild('vdrDt2CustomSearch') customSearchTemplate: TemplateRef<any>;
+    @ContentChildren(TemplateRef) templateRefs: QueryList<TemplateRef<any>>;
+    rowTemplate: TemplateRef<any>;
+    currentStart: number;
+    currentEnd: number;
+    disableSelect = false;
+    showSearchFilterRow = false;
+    protected uiLanguage$: Observable<LanguageCode>;
+    constructor(changeDetectorRef: ChangeDetectorRef, localStorageService: LocalStorageService, dataService: DataService)
+    selectionManager: void
+    allColumns: void
+    visibleSortedColumns: void
+    sortedColumns: void
+    ngOnChanges(changes: SimpleChanges) => ;
+    ngOnDestroy() => ;
+    ngAfterContentInit() => void;
+    onColumnReorder(event: { column: DataTable2ColumnComponent<any>; newIndex: number }) => ;
+    onColumnsReset() => ;
+    toggleSearchFilterRow() => ;
+    trackByFn(index: number, item: any) => ;
+    onToggleAllClick() => ;
+    onRowClick(item: T, event: MouseEvent) => ;
+    getDataTableConfig() => DataTableConfig;
 }
 ```
 * Implements: <code>AfterContentInit</code>, <code>OnChanges</code>, <code>OnDestroy</code>

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

@@ -24,44 +24,44 @@ A form input for selecting datetime values.
 
 ```ts title="Signature"
 class DatetimePickerComponent implements ControlValueAccessor, AfterViewInit, OnInit, OnDestroy {
-  @Input() @Input() yearRange;
-  @Input() @Input() weekStartDay: DayOfWeek = 'mon';
-  @Input() @Input() timeGranularityInterval = 5;
-  @Input() @Input() min: string | null = null;
-  @Input() @Input() max: string | null = null;
-  @Input() @Input() readonly = false;
-  @ViewChild('dropdownComponent', { static: true }) @ViewChild('dropdownComponent', { static: true }) dropdownComponent: DropdownComponent;
-  @ViewChild('datetimeInput', { static: true }) @ViewChild('datetimeInput', { static: true }) datetimeInput: ElementRef<HTMLInputElement>;
-  @ViewChild('calendarTable') @ViewChild('calendarTable') calendarTable: ElementRef<HTMLTableElement>;
-  disabled = false;
-  calendarView$: Observable<CalendarView>;
-  current$: Observable<CurrentView>;
-  selected$: Observable<Date | null>;
-  selectedHours$: Observable<number | null>;
-  selectedMinutes$: Observable<number | null>;
-  years: number[];
-  weekdays: string[] = [];
-  hours: number[];
-  minutes: number[];
-  constructor(changeDetectorRef: ChangeDetectorRef, datetimePickerService: DatetimePickerService)
-  ngOnInit() => ;
-  ngAfterViewInit() => void;
-  ngOnDestroy() => void;
-  registerOnChange(fn: any) => ;
-  registerOnTouched(fn: any) => ;
-  setDisabledState(isDisabled: boolean) => ;
-  writeValue(value: string | null) => ;
-  prevMonth() => ;
-  nextMonth() => ;
-  selectToday() => ;
-  setYear(event: Event) => ;
-  setMonth(event: Event) => ;
-  selectDay(day: DayCell) => ;
-  clearValue() => ;
-  handleCalendarKeydown(event: KeyboardEvent) => ;
-  setHour(event: Event) => ;
-  setMinute(event: Event) => ;
-  closeDatepicker() => ;
+    @Input() yearRange;
+    @Input() weekStartDay: DayOfWeek = 'mon';
+    @Input() timeGranularityInterval = 5;
+    @Input() min: string | null = null;
+    @Input() max: string | null = null;
+    @Input() readonly = false;
+    @ViewChild('dropdownComponent', { static: true }) dropdownComponent: DropdownComponent;
+    @ViewChild('datetimeInput', { static: true }) datetimeInput: ElementRef<HTMLInputElement>;
+    @ViewChild('calendarTable') calendarTable: ElementRef<HTMLTableElement>;
+    disabled = false;
+    calendarView$: Observable<CalendarView>;
+    current$: Observable<CurrentView>;
+    selected$: Observable<Date | null>;
+    selectedHours$: Observable<number | null>;
+    selectedMinutes$: Observable<number | null>;
+    years: number[];
+    weekdays: string[] = [];
+    hours: number[];
+    minutes: number[];
+    constructor(changeDetectorRef: ChangeDetectorRef, datetimePickerService: DatetimePickerService)
+    ngOnInit() => ;
+    ngAfterViewInit() => void;
+    ngOnDestroy() => void;
+    registerOnChange(fn: any) => ;
+    registerOnTouched(fn: any) => ;
+    setDisabledState(isDisabled: boolean) => ;
+    writeValue(value: string | null) => ;
+    prevMonth() => ;
+    nextMonth() => ;
+    selectToday() => ;
+    setYear(event: Event) => ;
+    setMonth(event: Event) => ;
+    selectDay(day: DayCell) => ;
+    clearValue() => ;
+    handleCalendarKeydown(event: KeyboardEvent) => ;
+    setHour(event: Event) => ;
+    setMinute(event: Event) => ;
+    closeDatepicker() => ;
 }
 ```
 * Implements: <code>ControlValueAccessor</code>, <code>AfterViewInit</code>, <code>OnInit</code>, <code>OnDestroy</code>

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

@@ -39,13 +39,13 @@ Used for building dropdown menus.
 
 ```ts title="Signature"
 class DropdownComponent {
-  isOpen = false;
-  public public trigger: ElementRef;
-  @Input() @Input() manualToggle = false;
-  onClick() => ;
-  toggleOpen() => ;
-  onOpenChange(callback: (isOpen: boolean) => void) => ;
-  setTriggerElement(elementRef: ElementRef) => ;
+    isOpen = false;
+    public trigger: ElementRef;
+    @Input() manualToggle = false;
+    onClick() => ;
+    toggleOpen() => ;
+    onOpenChange(callback: (isOpen: boolean) => void) => ;
+    setTriggerElement(elementRef: ElementRef) => ;
 }
 ```
 

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

@@ -37,26 +37,26 @@ this.facets = this.dataService
 
 ```ts title="Signature"
 class FacetValueSelectorComponent implements OnInit, OnDestroy, ControlValueAccessor {
-  @Output() @Output() selectedValuesChange = new EventEmitter<FacetValueFragment[]>();
-  @Input() @Input() readonly = false;
-  @Input() @Input() transformControlValueAccessorValue: (value: FacetValueFragment[]) => any[] = value => value;
-  searchInput$ = new Subject<string>();
-  searchLoading = false;
-  searchResults$: Observable<FacetValueFragment[]>;
-  selectedIds$ = new Subject<string[]>();
-  onChangeFn: (val: any) => void;
-  onTouchFn: () => void;
-  disabled = false;
-  value: Array<string | FacetValueFragment>;
-  constructor(dataService: DataService, changeDetectorRef: ChangeDetectorRef)
-  ngOnInit() => void;
-  ngOnDestroy() => ;
-  onChange(selected: FacetValueFragment[]) => ;
-  registerOnChange(fn: any) => ;
-  registerOnTouched(fn: any) => ;
-  setDisabledState(isDisabled: boolean) => void;
-  focus() => ;
-  writeValue(obj: string | FacetValueFragment[] | Array<string | number> | null) => void;
+    @Output() selectedValuesChange = new EventEmitter<FacetValueFragment[]>();
+    @Input() readonly = false;
+    @Input() transformControlValueAccessorValue: (value: FacetValueFragment[]) => any[] = value => value;
+    searchInput$ = new Subject<string>();
+    searchLoading = false;
+    searchResults$: Observable<FacetValueFragment[]>;
+    selectedIds$ = new Subject<string[]>();
+    onChangeFn: (val: any) => void;
+    onTouchFn: () => void;
+    disabled = false;
+    value: Array<string | FacetValueFragment>;
+    constructor(dataService: DataService, changeDetectorRef: ChangeDetectorRef)
+    ngOnInit() => void;
+    ngOnDestroy() => ;
+    onChange(selected: FacetValueFragment[]) => ;
+    registerOnChange(fn: any) => ;
+    registerOnTouched(fn: any) => ;
+    setDisabledState(isDisabled: boolean) => void;
+    focus() => ;
+    writeValue(obj: string | FacetValueFragment[] | Array<string | number> | null) => void;
 }
 ```
 * Implements: <code>OnInit</code>, <code>OnDestroy</code>, <code>ControlValueAccessor</code>

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

@@ -24,15 +24,15 @@ This component displays a plain JavaScript object as an expandable tree.
 
 ```ts title="Signature"
 class ObjectTreeComponent implements OnChanges {
-  @Input() @Input() value: { [key: string]: any } | string;
-  @Input() @Input() isArrayItem = false;
-  depth: number;
-  expanded: boolean;
-  valueIsArray: boolean;
-  entries: Array<{ key: string; value: any }>;
-  constructor(parent: ObjectTreeComponent)
-  ngOnChanges() => ;
-  isObject(value: any) => boolean;
+    @Input() value: { [key: string]: any } | string;
+    @Input() isArrayItem = false;
+    depth: number;
+    expanded: boolean;
+    valueIsArray: boolean;
+    entries: Array<{ key: string; value: any }>;
+    constructor(parent: ObjectTreeComponent)
+    ngOnChanges() => ;
+    isObject(value: any) => boolean;
 }
 ```
 * Implements: <code>OnChanges</code>

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

@@ -24,8 +24,8 @@ Displays the state of an order in a colored chip.
 
 ```ts title="Signature"
 class OrderStateLabelComponent {
-  @Input() @Input() state: string;
-  chipColorType: void
+    @Input() state: string;
+    chipColorType: void
 }
 ```
 

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

@@ -25,13 +25,13 @@ A component for selecting product variants via an autocomplete-style select inpu
 
 ```ts title="Signature"
 class ProductVariantSelectorComponent implements OnInit {
-  searchInput$ = new Subject<string>();
-  searchLoading = false;
-  searchResults$: Observable<ProductSelectorSearchQuery['search']['items']>;
-  @Output() @Output() productSelected = new EventEmitter<ProductSelectorSearchQuery['search']['items'][number]>();
-  constructor(dataService: DataService)
-  ngOnInit() => void;
-  selectResult(product?: ProductSelectorSearchQuery['search']['items'][number]) => ;
+    searchInput$ = new Subject<string>();
+    searchLoading = false;
+    searchResults$: Observable<ProductSelectorSearchQuery['search']['items']>;
+    @Output() productSelected = new EventEmitter<ProductSelectorSearchQuery['search']['items'][number]>();
+    constructor(dataService: DataService)
+    ngOnInit() => void;
+    selectResult(product?: ProductSelectorSearchQuery['search']['items'][number]) => ;
 }
 ```
 * Implements: <code>OnInit</code>

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

@@ -27,19 +27,19 @@ A rich text (HTML) editor based on Prosemirror (https://prosemirror.net/)
 
 ```ts title="Signature"
 class RichTextEditorComponent implements ControlValueAccessor, AfterViewInit, OnDestroy {
-  @Input() @Input() label: string;
-  @HostBinding('class.readonly') @HostBinding('class.readonly')
+    @Input() label: string;
+    @HostBinding('class.readonly')
     _readonly = false;
-  onChange: (val: any) => void;
-  onTouch: () => void;
-  constructor(changeDetector: ChangeDetectorRef, prosemirrorService: ProsemirrorService, viewContainerRef: ViewContainerRef, contextMenuService: ContextMenuService)
-  menuElement: HTMLDivElement | null
-  ngAfterViewInit() => ;
-  ngOnDestroy() => ;
-  registerOnChange(fn: any) => ;
-  registerOnTouched(fn: any) => ;
-  setDisabledState(isDisabled: boolean) => ;
-  writeValue(value: any) => ;
+    onChange: (val: any) => void;
+    onTouch: () => void;
+    constructor(changeDetector: ChangeDetectorRef, prosemirrorService: ProsemirrorService, viewContainerRef: ViewContainerRef, contextMenuService: ContextMenuService)
+    menuElement: HTMLDivElement | null
+    ngAfterViewInit() => ;
+    ngOnDestroy() => ;
+    registerOnChange(fn: any) => ;
+    registerOnTouched(fn: any) => ;
+    setDisabledState(isDisabled: boolean) => ;
+    writeValue(value: any) => ;
 }
 ```
 * Implements: <code>ControlValueAccessor</code>, <code>AfterViewInit</code>, <code>OnDestroy</code>

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

@@ -18,24 +18,24 @@ A form control for selecting zones.
 
 ```ts title="Signature"
 class ZoneSelectorComponent implements ControlValueAccessor {
-  @Output() @Output() selectedValuesChange = new EventEmitter<Zone>();
-  @Input() @Input() readonly = false;
-  @Input() @Input() transformControlValueAccessorValue: (value: Zone | undefined) => any = value => value?.id;
-  selectedId$ = new Subject<string>();
-  onChangeFn: (val: any) => void;
-  onTouchFn: () => void;
-  disabled = false;
-  value: string | Zone;
-  zones$ = this.dataService
+    @Output() selectedValuesChange = new EventEmitter<Zone>();
+    @Input() readonly = false;
+    @Input() transformControlValueAccessorValue: (value: Zone | undefined) => any = value => value?.id;
+    selectedId$ = new Subject<string>();
+    onChangeFn: (val: any) => void;
+    onTouchFn: () => void;
+    disabled = false;
+    value: string | Zone;
+    zones$ = this.dataService
         .query(GetZoneSelectorListDocument, { options: { take: 999 } }, 'cache-first')
         .mapSingle(result => result.zones.items);
-  constructor(dataService: DataService, changeDetectorRef: ChangeDetectorRef)
-  onChange(selected: Zone) => ;
-  registerOnChange(fn: any) => ;
-  registerOnTouched(fn: any) => ;
-  setDisabledState(isDisabled: boolean) => void;
-  focus() => ;
-  writeValue(obj: string | Zone | null) => void;
+    constructor(dataService: DataService, changeDetectorRef: ChangeDetectorRef)
+    onChange(selected: Zone) => ;
+    registerOnChange(fn: any) => ;
+    registerOnTouched(fn: any) => ;
+    setDisabledState(isDisabled: boolean) => void;
+    focus() => ;
+    writeValue(obj: string | Zone | null) => void;
 }
 ```
 * Implements: <code>ControlValueAccessor</code>

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

@@ -18,8 +18,8 @@ Configures a <a href='/reference/admin-ui-api/custom-detail-components/custom-de
 
 ```ts title="Signature"
 interface CustomDetailComponentConfig {
-  locationId: CustomDetailComponentLocationId;
-  component: Type<CustomDetailComponent>;
+    locationId: CustomDetailComponentLocationId;
+    component: Type<CustomDetailComponent>;
 }
 ```
 

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

@@ -19,8 +19,8 @@ pages of the Admin UI.
 
 ```ts title="Signature"
 interface CustomDetailComponent {
-  entity$: Observable<any>;
-  detailForm: UntypedFormGroup;
+    entity$: Observable<any>;
+    detailForm: UntypedFormGroup;
 }
 ```
 

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

@@ -18,7 +18,7 @@ Used to implement a <a href='/reference/admin-ui-api/custom-history-entry-compon
 
 ```ts title="Signature"
 interface CustomerHistoryEntryComponent extends HistoryEntryComponent {
-  customer: CustomerFragment;
+    customer: CustomerFragment;
 }
 ```
 * Extends: <code><a href='/reference/admin-ui-api/custom-history-entry-components/history-entry-component#historyentrycomponent'>HistoryEntryComponent</a></code>

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

@@ -20,11 +20,11 @@ you should implement <a href='/reference/admin-ui-api/custom-history-entry-compo
 
 ```ts title="Signature"
 interface HistoryEntryComponent {
-  entry: TimelineHistoryEntry;
-  getDisplayType: (entry: TimelineHistoryEntry) => TimelineDisplayType;
-  isFeatured: (entry: TimelineHistoryEntry) => boolean;
-  getName?: (entry: TimelineHistoryEntry) => string | undefined;
-  getIconShape?: (entry: TimelineHistoryEntry) => string | string[] | undefined;
+    entry: TimelineHistoryEntry;
+    getDisplayType: (entry: TimelineHistoryEntry) => TimelineDisplayType;
+    isFeatured: (entry: TimelineHistoryEntry) => boolean;
+    getName?: (entry: TimelineHistoryEntry) => string | undefined;
+    getIconShape?: (entry: TimelineHistoryEntry) => string | string[] | undefined;
 }
 ```
 

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

@@ -18,8 +18,8 @@ Configuration for registering a custom <a href='/reference/admin-ui-api/custom-h
 
 ```ts title="Signature"
 interface HistoryEntryConfig {
-  type: string;
-  component: Type<HistoryEntryComponent>;
+    type: string;
+    component: Type<HistoryEntryComponent>;
 }
 ```
 

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

@@ -18,7 +18,7 @@ Used to implement a <a href='/reference/admin-ui-api/custom-history-entry-compon
 
 ```ts title="Signature"
 interface OrderHistoryEntryComponent extends HistoryEntryComponent {
-  order: OrderDetailFragment;
+    order: OrderDetailFragment;
 }
 ```
 * Extends: <code><a href='/reference/admin-ui-api/custom-history-entry-components/history-entry-component#historyentrycomponent'>HistoryEntryComponent</a></code>

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

@@ -18,10 +18,10 @@ A checkbox input. The default input component for `boolean` fields.
 
 ```ts title="Signature"
 class BooleanFormInputComponent implements FormInputComponent {
-  static readonly static readonly id: DefaultFormComponentId = 'boolean-form-input';
-  readonly: boolean;
-  formControl: UntypedFormControl;
-  config: DefaultFormComponentConfig<'boolean-form-input'>;
+    static readonly id: DefaultFormComponentId = 'boolean-form-input';
+    readonly: boolean;
+    formControl: UntypedFormControl;
+    config: DefaultFormComponentConfig<'boolean-form-input'>;
 }
 ```
 * Implements: <code><a href='/reference/admin-ui-api/custom-input-components/form-input-component#forminputcomponent'>FormInputComponent</a></code>
@@ -64,9 +64,9 @@ with `text` type fields.
 
 ```ts title="Signature"
 class HtmlEditorFormInputComponent extends BaseCodeEditorFormInputComponent implements FormInputComponent, AfterViewInit, OnInit {
-  static readonly static readonly id: DefaultFormComponentId = 'html-editor-form-input';
-  constructor(changeDetector: ChangeDetectorRef)
-  ngOnInit() => ;
+    static readonly id: DefaultFormComponentId = 'html-editor-form-input';
+    constructor(changeDetector: ChangeDetectorRef)
+    ngOnInit() => ;
 }
 ```
 * Extends: <code>BaseCodeEditorFormInputComponent</code>
@@ -107,9 +107,9 @@ with `text` type fields.
 
 ```ts title="Signature"
 class JsonEditorFormInputComponent extends BaseCodeEditorFormInputComponent implements FormInputComponent, AfterViewInit, OnInit {
-  static readonly static readonly id: DefaultFormComponentId = 'json-editor-form-input';
-  constructor(changeDetector: ChangeDetectorRef)
-  ngOnInit() => ;
+    static readonly id: DefaultFormComponentId = 'json-editor-form-input';
+    constructor(changeDetector: ChangeDetectorRef)
+    ngOnInit() => ;
 }
 ```
 * Extends: <code>BaseCodeEditorFormInputComponent</code>
@@ -149,15 +149,15 @@ A special input used to display the "Combination mode" AND/OR toggle.
 
 ```ts title="Signature"
 class CombinationModeFormInputComponent implements FormInputComponent, OnInit {
-  static readonly static readonly id: DefaultFormComponentId = 'combination-mode-form-input';
-  readonly: boolean;
-  formControl: UntypedFormControl;
-  config: DefaultFormComponentConfig<'combination-mode-form-input'>;
-  selectable$: Observable<boolean>;
-  constructor(configurableInputComponent: ConfigurableInputComponent)
-  ngOnInit() => ;
-  setCombinationModeAnd() => ;
-  setCombinationModeOr() => ;
+    static readonly id: DefaultFormComponentId = 'combination-mode-form-input';
+    readonly: boolean;
+    formControl: UntypedFormControl;
+    config: DefaultFormComponentConfig<'combination-mode-form-input'>;
+    selectable$: Observable<boolean>;
+    constructor(configurableInputComponent: ConfigurableInputComponent)
+    ngOnInit() => ;
+    setCombinationModeAnd() => ;
+    setCombinationModeOr() => ;
 }
 ```
 * Implements: <code><a href='/reference/admin-ui-api/custom-input-components/form-input-component#forminputcomponent'>FormInputComponent</a></code>, <code>OnInit</code>
@@ -224,12 +224,12 @@ An input for monetary values. Should be used with `int` type fields.
 
 ```ts title="Signature"
 class CurrencyFormInputComponent implements FormInputComponent {
-  static readonly static readonly id: DefaultFormComponentId = 'currency-form-input';
-  @Input() @Input() readonly: boolean;
-  formControl: UntypedFormControl;
-  currencyCode$: Observable<CurrencyCode>;
-  config: DefaultFormComponentConfig<'currency-form-input'>;
-  constructor(dataService: DataService)
+    static readonly id: DefaultFormComponentId = 'currency-form-input';
+    @Input() readonly: boolean;
+    formControl: UntypedFormControl;
+    currencyCode$: Observable<CurrencyCode>;
+    config: DefaultFormComponentConfig<'currency-form-input'>;
+    constructor(dataService: DataService)
 }
 ```
 * Implements: <code><a href='/reference/admin-ui-api/custom-input-components/form-input-component#forminputcomponent'>FormInputComponent</a></code>
@@ -282,15 +282,15 @@ Should be used with `ID` type fields which represent Customer IDs.
 
 ```ts title="Signature"
 class CustomerGroupFormInputComponent implements FormInputComponent, OnInit {
-  static readonly static readonly id: DefaultFormComponentId = 'customer-group-form-input';
-  @Input() @Input() readonly: boolean;
-  formControl: FormControl<string | { id: string }>;
-  customerGroups$: Observable<GetCustomerGroupsQuery['customerGroups']['items']>;
-  config: DefaultFormComponentConfig<'customer-group-form-input'>;
-  constructor(dataService: DataService)
-  ngOnInit() => ;
-  selectGroup(group: ItemOf<GetCustomerGroupsQuery, 'customerGroups'>) => ;
-  compareWith(o1: ItemOf<GetCustomerGroupsQuery, 'customerGroups'>, o2: ItemOf<GetCustomerGroupsQuery, 'customerGroups'>) => ;
+    static readonly id: DefaultFormComponentId = 'customer-group-form-input';
+    @Input() readonly: boolean;
+    formControl: FormControl<string | { id: string }>;
+    customerGroups$: Observable<GetCustomerGroupsQuery['customerGroups']['items']>;
+    config: DefaultFormComponentConfig<'customer-group-form-input'>;
+    constructor(dataService: DataService)
+    ngOnInit() => ;
+    selectGroup(group: ItemOf<GetCustomerGroupsQuery, 'customerGroups'>) => ;
+    compareWith(o1: ItemOf<GetCustomerGroupsQuery, 'customerGroups'>, o2: ItemOf<GetCustomerGroupsQuery, 'customerGroups'>) => ;
 }
 ```
 * Implements: <code><a href='/reference/admin-ui-api/custom-input-components/form-input-component#forminputcomponent'>FormInputComponent</a></code>, <code>OnInit</code>
@@ -357,13 +357,13 @@ Allows selection of a datetime. Default input for `datetime` type fields.
 
 ```ts title="Signature"
 class DateFormInputComponent implements FormInputComponent {
-  static readonly static readonly id: DefaultFormComponentId = 'date-form-input';
-  @Input() @Input() readonly: boolean;
-  formControl: UntypedFormControl;
-  config: DefaultFormComponentConfig<'date-form-input'>;
-  min: void
-  max: void
-  yearRange: void
+    static readonly id: DefaultFormComponentId = 'date-form-input';
+    @Input() readonly: boolean;
+    formControl: UntypedFormControl;
+    config: DefaultFormComponentConfig<'date-form-input'>;
+    min: void
+    max: void
+    yearRange: void
 }
 ```
 * Implements: <code><a href='/reference/admin-ui-api/custom-input-components/form-input-component#forminputcomponent'>FormInputComponent</a></code>
@@ -421,12 +421,12 @@ Should be used with `ID` type **list** fields which represent FacetValue IDs.
 
 ```ts title="Signature"
 class FacetValueFormInputComponent implements FormInputComponent {
-  static readonly static readonly id: DefaultFormComponentId = 'facet-value-form-input';
-  readonly readonly isListInput = true;
-  readonly: boolean;
-  formControl: UntypedFormControl;
-  config: InputComponentConfig;
-  valueTransformFn = (values: FacetValueFragment[]) => {
+    static readonly id: DefaultFormComponentId = 'facet-value-form-input';
+    readonly isListInput = true;
+    readonly: boolean;
+    formControl: UntypedFormControl;
+    config: InputComponentConfig;
+    valueTransformFn = (values: FacetValueFragment[]) => {
         const isUsedInConfigArg = this.config.__typename === 'ConfigArgDefinition';
         if (isUsedInConfigArg) {
             return JSON.stringify(values.map(s => s.id));
@@ -485,15 +485,15 @@ Displays a number input. Default input for `int` and `float` type fields.
 
 ```ts title="Signature"
 class NumberFormInputComponent implements FormInputComponent {
-  static readonly static readonly id: DefaultFormComponentId = 'number-form-input';
-  @Input() @Input() readonly: boolean;
-  formControl: UntypedFormControl;
-  config: DefaultFormComponentConfig<'number-form-input'>;
-  prefix: void
-  suffix: void
-  min: void
-  max: void
-  step: void
+    static readonly id: DefaultFormComponentId = 'number-form-input';
+    @Input() readonly: boolean;
+    formControl: UntypedFormControl;
+    config: DefaultFormComponentConfig<'number-form-input'>;
+    prefix: void
+    suffix: void
+    min: void
+    max: void
+    step: void
 }
 ```
 * Implements: <code><a href='/reference/admin-ui-api/custom-input-components/form-input-component#forminputcomponent'>FormInputComponent</a></code>
@@ -560,10 +560,10 @@ Displays a password text input. Should be used with `string` type fields.
 
 ```ts title="Signature"
 class PasswordFormInputComponent implements FormInputComponent {
-  static readonly static readonly id: DefaultFormComponentId = 'password-form-input';
-  readonly: boolean;
-  formControl: UntypedFormControl;
-  config: InputComponentConfig;
+    static readonly id: DefaultFormComponentId = 'password-form-input';
+    readonly: boolean;
+    formControl: UntypedFormControl;
+    config: InputComponentConfig;
 }
 ```
 * Implements: <code><a href='/reference/admin-ui-api/custom-input-components/form-input-component#forminputcomponent'>FormInputComponent</a></code>
@@ -606,16 +606,16 @@ Should be used with `ID` type **list** fields which represent ProductVariant IDs
 
 ```ts title="Signature"
 class ProductSelectorFormInputComponent implements FormInputComponent, OnInit {
-  static readonly static readonly id: DefaultFormComponentId = 'product-selector-form-input';
-  readonly readonly isListInput = true;
-  readonly: boolean;
-  formControl: FormControl<Array<string | { id: string }>>;
-  config: DefaultFormComponentUiConfig<'product-selector-form-input'>;
-  selection$: Observable<Array<GetProductVariantQuery['productVariant']>>;
-  constructor(dataService: DataService)
-  ngOnInit() => ;
-  addProductVariant(product: ProductSelectorSearchQuery['search']['items'][number]) => ;
-  removeProductVariant(id: string) => ;
+    static readonly id: DefaultFormComponentId = 'product-selector-form-input';
+    readonly isListInput = true;
+    readonly: boolean;
+    formControl: FormControl<Array<string | { id: string }>>;
+    config: DefaultFormComponentUiConfig<'product-selector-form-input'>;
+    selection$: Observable<Array<GetProductVariantQuery['productVariant']>>;
+    constructor(dataService: DataService)
+    ngOnInit() => ;
+    addProductVariant(product: ProductSelectorSearchQuery['search']['items'][number]) => ;
+    removeProductVariant(id: string) => ;
 }
 ```
 * Implements: <code><a href='/reference/admin-ui-api/custom-input-components/form-input-component#forminputcomponent'>FormInputComponent</a></code>, <code>OnInit</code>
@@ -689,10 +689,10 @@ implementation will need to be defined. See <a href='/reference/admin-ui-api/cus
 
 ```ts title="Signature"
 class RelationFormInputComponent implements FormInputComponent {
-  static readonly static readonly id: DefaultFormComponentId = 'relation-form-input';
-  @Input() @Input() readonly: boolean;
-  formControl: UntypedFormControl;
-  config: RelationCustomFieldConfig;
+    static readonly id: DefaultFormComponentId = 'relation-form-input';
+    @Input() readonly: boolean;
+    formControl: UntypedFormControl;
+    config: RelationCustomFieldConfig;
 }
 ```
 * Implements: <code><a href='/reference/admin-ui-api/custom-input-components/form-input-component#forminputcomponent'>FormInputComponent</a></code>
@@ -734,10 +734,10 @@ Uses the <a href='/reference/admin-ui-api/components/rich-text-editor-component#
 
 ```ts title="Signature"
 class RichTextFormInputComponent implements FormInputComponent {
-  static readonly static readonly id: DefaultFormComponentId = 'rich-text-form-input';
-  readonly: boolean;
-  formControl: UntypedFormControl;
-  config: DefaultFormComponentConfig<'rich-text-form-input'>;
+    static readonly id: DefaultFormComponentId = 'rich-text-form-input';
+    readonly: boolean;
+    formControl: UntypedFormControl;
+    config: DefaultFormComponentConfig<'rich-text-form-input'>;
 }
 ```
 * Implements: <code><a href='/reference/admin-ui-api/custom-input-components/form-input-component#forminputcomponent'>FormInputComponent</a></code>
@@ -780,15 +780,15 @@ Uses a select input to allow the selection of a string value. Should be used wit
 
 ```ts title="Signature"
 class SelectFormInputComponent implements FormInputComponent, OnInit {
-  static readonly static readonly id: DefaultFormComponentId = 'select-form-input';
-  @Input() @Input() readonly: boolean;
-  formControl: UntypedFormControl;
-  config: DefaultFormComponentConfig<'select-form-input'> & CustomFieldConfigFragment;
-  uiLanguage$: Observable<LanguageCode>;
-  options: void
-  constructor(dataService: DataService)
-  ngOnInit() => ;
-  trackByFn(index: number, item: any) => ;
+    static readonly id: DefaultFormComponentId = 'select-form-input';
+    @Input() readonly: boolean;
+    formControl: UntypedFormControl;
+    config: DefaultFormComponentConfig<'select-form-input'> & CustomFieldConfigFragment;
+    uiLanguage$: Observable<LanguageCode>;
+    options: void
+    constructor(dataService: DataService)
+    ngOnInit() => ;
+    trackByFn(index: number, item: any) => ;
 }
 ```
 * Implements: <code><a href='/reference/admin-ui-api/custom-input-components/form-input-component#forminputcomponent'>FormInputComponent</a></code>, <code>OnInit</code>
@@ -855,12 +855,12 @@ Uses a regular text form input. This is the default input for `string` and `loca
 
 ```ts title="Signature"
 class TextFormInputComponent implements FormInputComponent {
-  static readonly static readonly id: DefaultFormComponentId = 'text-form-input';
-  readonly: boolean;
-  formControl: UntypedFormControl;
-  config: DefaultFormComponentConfig<'text-form-input'>;
-  prefix: void
-  suffix: void
+    static readonly id: DefaultFormComponentId = 'text-form-input';
+    readonly: boolean;
+    formControl: UntypedFormControl;
+    config: DefaultFormComponentConfig<'text-form-input'>;
+    prefix: void
+    suffix: void
 }
 ```
 * Implements: <code><a href='/reference/admin-ui-api/custom-input-components/form-input-component#forminputcomponent'>FormInputComponent</a></code>
@@ -912,11 +912,11 @@ Uses textarea form input. This is the default input for `text` type fields.
 
 ```ts title="Signature"
 class TextareaFormInputComponent implements FormInputComponent {
-  static readonly static readonly id: DefaultFormComponentId = 'textarea-form-input';
-  readonly: boolean;
-  formControl: UntypedFormControl;
-  config: DefaultFormComponentConfig<'textarea-form-input'>;
-  spellcheck: boolean
+    static readonly id: DefaultFormComponentId = 'textarea-form-input';
+    readonly: boolean;
+    formControl: UntypedFormControl;
+    config: DefaultFormComponentConfig<'textarea-form-input'>;
+    spellcheck: boolean
 }
 ```
 * Implements: <code><a href='/reference/admin-ui-api/custom-input-components/form-input-component#forminputcomponent'>FormInputComponent</a></code>

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

@@ -19,10 +19,10 @@ inputs for custom fields, or for configurable arguments.
 
 ```ts title="Signature"
 interface FormInputComponent<C = InputComponentConfig> {
-  isListInput?: boolean;
-  readonly: boolean;
-  formControl: FormControl;
-  config: C;
+    isListInput?: boolean;
+    readonly: boolean;
+    formControl: FormControl;
+    config: C;
 }
 ```
 

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

@@ -27,7 +27,7 @@ configured.
 
 ```ts title="Signature"
 class IfMultichannelDirective extends IfDirectiveBase<[]> {
-  constructor(_viewContainer: ViewContainerRef, templateRef: TemplateRef<any>, dataService: DataService)
+    constructor(_viewContainer: ViewContainerRef, templateRef: TemplateRef<any>, dataService: DataService)
 }
 ```
 * Extends: <code>IfDirectiveBase&#60;[]&#62;</code>

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

@@ -29,7 +29,7 @@ must match (logical AND)
 
 ```ts title="Signature"
 class IfPermissionsDirective extends IfDirectiveBase<Array<Permission[] | null>> {
-  constructor(_viewContainer: ViewContainerRef, templateRef: TemplateRef<any>, dataService: DataService, changeDetectorRef: ChangeDetectorRef)
+    constructor(_viewContainer: ViewContainerRef, templateRef: TemplateRef<any>, dataService: DataService, changeDetectorRef: ChangeDetectorRef)
 }
 ```
 * Extends: <code>IfDirectiveBase&#60;Array&#60;<a href='/reference/typescript-api/common/permission#permission'>Permission</a>[] | null&#62;&#62;</code>

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

@@ -52,24 +52,24 @@ export class GlobalSettingsComponent extends BaseDetailComponent<MyEntityFragmen
 
 ```ts title="Signature"
 class BaseDetailComponent<Entity extends { id: string; updatedAt?: string }> implements DeactivateAware {
-  entity$: Observable<Entity>;
-  availableLanguages$: Observable<LanguageCode[]>;
-  languageCode$: Observable<LanguageCode>;
-  languageCode: LanguageCode;
-  isNew$: Observable<boolean>;
-  id: string;
-  abstract abstract detailForm: UntypedFormGroup;
-  protected protected destroy$ = new Subject<void>();
-  constructor(route: ActivatedRoute, router: Router, serverConfigService: ServerConfigService, dataService: DataService)
-  init() => ;
-  protected setUpStreams() => ;
-  destroy() => ;
-  setLanguage(code: LanguageCode) => ;
-  canDeactivate() => boolean;
-  protected abstract setFormValues(entity: Entity, languageCode: LanguageCode) => void;
-  protected setCustomFieldFormValues(customFields: CustomFieldConfig[], formGroup: AbstractControl | null, entity: T, currentTranslation?: TranslationOf<T>) => ;
-  protected getCustomFieldConfig(key: Exclude<keyof CustomFields, '__typename'>) => CustomFieldConfig[];
-  protected setQueryParam(key: string, value: any) => ;
+    entity$: Observable<Entity>;
+    availableLanguages$: Observable<LanguageCode[]>;
+    languageCode$: Observable<LanguageCode>;
+    languageCode: LanguageCode;
+    isNew$: Observable<boolean>;
+    id: string;
+    abstract detailForm: UntypedFormGroup;
+    protected destroy$ = new Subject<void>();
+    constructor(route: ActivatedRoute, router: Router, serverConfigService: ServerConfigService, dataService: DataService)
+    init() => ;
+    setUpStreams() => ;
+    destroy() => ;
+    setLanguage(code: LanguageCode) => ;
+    canDeactivate() => boolean;
+    setFormValues(entity: Entity, languageCode: LanguageCode) => void;
+    setCustomFieldFormValues(customFields: CustomFieldConfig[], formGroup: AbstractControl | null, entity: T, currentTranslation?: TranslationOf<T>) => ;
+    getCustomFieldConfig(key: Exclude<keyof CustomFields, '__typename'>) => CustomFieldConfig[];
+    setQueryParam(key: string, value: any) => ;
 }
 ```
 * Implements: <code>DeactivateAware</code>

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

@@ -43,7 +43,7 @@ export class MyEntityResolver extends BaseEntityResolver<MyEntityFragment> {
 
 ```ts title="Signature"
 class BaseEntityResolver<T> {
-  constructor(router: Router, emptyEntity: T, entityStream: (id: string) => Observable<T | null | undefined>)
+    constructor(router: Router, emptyEntity: T, entityStream: (id: string) => Observable<T | null | undefined>)
 }
 ```
 

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

@@ -21,28 +21,28 @@ It is normally used in combination with the <a href='/reference/admin-ui-api/com
 
 ```ts title="Signature"
 class BaseListComponent<ResultType, ItemType, VariableType extends Record<string, any> = any> implements OnInit, OnDestroy {
-  searchTermControl = new FormControl('');
-  selectionManager = new SelectionManager<any>({
+    searchTermControl = new FormControl('');
+    selectionManager = new SelectionManager<any>({
         multiSelect: true,
         itemsAreEqual: (a, b) => a.id === b.id,
         additiveMode: true,
     });
-  result$: Observable<ResultType>;
-  items$: Observable<ItemType[]>;
-  totalItems$: Observable<number>;
-  itemsPerPage$: Observable<number>;
-  currentPage$: Observable<number>;
-  protected protected destroy$ = new Subject<void>();
-  protected protected refresh$ = new BehaviorSubject<undefined>(undefined);
-  constructor(router: Router, route: ActivatedRoute)
-  setQueryFn(listQueryFn: ListQueryFn<ResultType>, mappingFn: MappingFn<ItemType, ResultType>, onPageChangeFn?: OnPageChangeFn<VariableType>, defaults?: { take: number; skip: number }) => ;
-  protected refreshListOnChanges(streams: Array<Observable<any>>) => ;
-  setPageNumber(page: number) => ;
-  setItemsPerPage(perPage: number) => ;
-  refresh() => ;
-  protected setQueryParam(hash: { [key: string]: any }, options?: { replaceUrl?: boolean; queryParamsHandling?: QueryParamsHandling }) => ;
-  protected setQueryParam(key: string, value: any, options?: { replaceUrl?: boolean; queryParamsHandling?: QueryParamsHandling }) => ;
-  protected setQueryParam(keyOrHash: string | { [key: string]: any }, valueOrOptions?: any, maybeOptions?: { replaceUrl?: boolean; queryParamsHandling?: QueryParamsHandling }) => ;
+    result$: Observable<ResultType>;
+    items$: Observable<ItemType[]>;
+    totalItems$: Observable<number>;
+    itemsPerPage$: Observable<number>;
+    currentPage$: Observable<number>;
+    protected destroy$ = new Subject<void>();
+    protected refresh$ = new BehaviorSubject<undefined>(undefined);
+    constructor(router: Router, route: ActivatedRoute)
+    setQueryFn(listQueryFn: ListQueryFn<ResultType>, mappingFn: MappingFn<ItemType, ResultType>, onPageChangeFn?: OnPageChangeFn<VariableType>, defaults?: { take: number; skip: number }) => ;
+    refreshListOnChanges(streams: Array<Observable<any>>) => ;
+    setPageNumber(page: number) => ;
+    setItemsPerPage(perPage: number) => ;
+    refresh() => ;
+    setQueryParam(hash: { [key: string]: any }, options?: { replaceUrl?: boolean; queryParamsHandling?: QueryParamsHandling }) => ;
+    setQueryParam(key: string, value: any, options?: { replaceUrl?: boolean; queryParamsHandling?: QueryParamsHandling }) => ;
+    setQueryParam(keyOrHash: string | { [key: string]: any }, valueOrOptions?: any, maybeOptions?: { replaceUrl?: boolean; queryParamsHandling?: QueryParamsHandling }) => ;
 }
 ```
 * Implements: <code>OnInit</code>, <code>OnDestroy</code>

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

@@ -19,10 +19,10 @@ A version of the <a href='/reference/admin-ui-api/list-detail-views/base-detail-
 
 ```ts title="Signature"
 class TypedBaseDetailComponent<T extends TypedDocumentNode<any, any>, Field extends keyof ResultOf<T>> extends BaseDetailComponent<NonNullable<ResultOf<T>[Field]>> {
-  protected protected result$: Observable<ResultOf<T>>;
-  protected protected entity: ResultOf<T>[Field];
-  constructor()
-  override init() => ;
+    protected result$: Observable<ResultOf<T>>;
+    protected entity: ResultOf<T>[Field];
+    constructor()
+    init() => ;
 }
 ```
 * Extends: <code><a href='/reference/admin-ui-api/list-detail-views/base-detail-component#basedetailcomponent'>BaseDetailComponent</a>&#60;NonNullable&#60;ResultOf&#60;T&#62;[Field]&#62;&#62;</code>

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

@@ -19,23 +19,23 @@ A version of the <a href='/reference/admin-ui-api/list-detail-views/base-list-co
 
 ```ts title="Signature"
 class TypedBaseListComponent<T extends TypedDocumentNode<any, Vars>, Field extends keyof ResultOf<T>, Vars extends { options: { filter: any; sort: any } } = VariablesOf<T>> extends BaseListComponent<ResultOf<T>, ItemOf<ResultOf<T>, Field>, VariablesOf<T>> implements OnInit {
-  availableLanguages$: Observable<LanguageCode[]>;
-  contentLanguage$: Observable<LanguageCode>;
-  protected protected dataService = inject(DataService);
-  protected protected router = inject(Router);
-  protected protected serverConfigService = inject(ServerConfigService);
-  constructor()
-  protected configure(config: {
+    availableLanguages$: Observable<LanguageCode[]>;
+    contentLanguage$: Observable<LanguageCode>;
+    protected dataService = inject(DataService);
+    protected router = inject(Router);
+    protected serverConfigService = inject(ServerConfigService);
+    constructor()
+    configure(config: {
         document: T;
         getItems: (data: ResultOf<T>) => { items: Array<ItemOf<ResultOf<T>, Field>>; totalItems: number };
         setVariables?: (skip: number, take: number) => VariablesOf<T>;
         refreshListOnChanges?: Array<Observable<any>>;
     }) => ;
-  ngOnInit() => ;
-  createFilterCollection() => DataTableFilterCollection<NonNullable<NonNullable<Vars['options']>['filter']>>;
-  createSortCollection() => DataTableSortCollection<NonNullable<NonNullable<Vars['options']>['sort']>>;
-  setLanguage(code: LanguageCode) => ;
-  getCustomFieldConfig(key: Exclude<keyof CustomFields, '__typename'>) => CustomFieldConfig[];
+    ngOnInit() => ;
+    createFilterCollection() => DataTableFilterCollection<NonNullable<NonNullable<Vars['options']>['filter']>>;
+    createSortCollection() => DataTableSortCollection<NonNullable<NonNullable<Vars['options']>['sort']>>;
+    setLanguage(code: LanguageCode) => ;
+    getCustomFieldConfig(key: Exclude<keyof CustomFields, '__typename'>) => CustomFieldConfig[];
 }
 ```
 * Extends: <code><a href='/reference/admin-ui-api/list-detail-views/base-list-component#baselistcomponent'>BaseListComponent</a>&#60;ResultOf&#60;T&#62;, ItemOf&#60;ResultOf&#60;T&#62;, Field&#62;, VariablesOf&#60;T&#62;&#62;</code>

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

@@ -19,13 +19,13 @@ bar.
 
 ```ts title="Signature"
 interface NavMenuItem {
-  id: string;
-  label: string;
-  routerLink: RouterLinkDefinition;
-  onClick?: (event: MouseEvent) => void;
-  icon?: string;
-  requiresPermission?: string | ((userPermissions: string[]) => boolean);
-  statusBadge?: Observable<NavMenuBadge>;
+    id: string;
+    label: string;
+    routerLink: RouterLinkDefinition;
+    onClick?: (event: MouseEvent) => void;
+    icon?: string;
+    requiresPermission?: string | ((userPermissions: string[]) => boolean);
+    statusBadge?: Observable<NavMenuBadge>;
 }
 ```
 

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

@@ -19,14 +19,14 @@ A NavMenuSection is a grouping of links in the main
 
 ```ts title="Signature"
 interface NavMenuSection {
-  id: string;
-  label: string;
-  items: NavMenuItem[];
-  icon?: string;
-  displayMode?: 'regular' | 'settings';
-  requiresPermission?: string | ((userPermissions: string[]) => boolean);
-  collapsible?: boolean;
-  collapsedByDefault?: boolean;
+    id: string;
+    label: string;
+    items: NavMenuItem[];
+    icon?: string;
+    displayMode?: 'regular' | 'settings';
+    requiresPermission?: string | ((userPermissions: string[]) => boolean);
+    collapsible?: boolean;
+    collapsedByDefault?: boolean;
 }
 ```
 

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

@@ -19,8 +19,8 @@ NavMenuItem's icon.
 
 ```ts title="Signature"
 interface NavMenuBadge {
-  type: NavMenuBadgeType;
-  propagateToSection?: boolean;
+    type: NavMenuBadgeType;
+    propagateToSection?: boolean;
 }
 ```
 

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

@@ -27,7 +27,7 @@ AssetServerPlugin.
 
 ```ts title="Signature"
 class AssetPreviewPipe implements PipeTransform {
-  transform(asset?: AssetFragment, preset: string | number = 'thumb') => string;
+    transform(asset?: AssetFragment, preset: string | number = 'thumb') => string;
 }
 ```
 * Implements: <code>PipeTransform</code>

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

@@ -25,8 +25,8 @@ e.g. "12ms", "33s", "2:03m"
 
 ```ts title="Signature"
 class DurationPipe implements PipeTransform {
-  constructor(i18nService: I18nService)
-  transform(value: number) => string;
+    constructor(i18nService: I18nService)
+    transform(value: number) => string;
 }
 ```
 * Implements: <code>PipeTransform</code>

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

@@ -24,7 +24,7 @@ Formats a number into a human-readable file size string.
 
 ```ts title="Signature"
 class FileSizePipe implements PipeTransform {
-  transform(value: number, useSiUnits:  = true) => any;
+    transform(value: number, useSiUnits:  = true) => any;
 }
 ```
 * Implements: <code>PipeTransform</code>

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

@@ -25,9 +25,9 @@ Returns `true` if the current user has that permission.
 
 ```ts title="Signature"
 class HasPermissionPipe implements PipeTransform, OnDestroy {
-  constructor(dataService: DataService, changeDetectorRef: ChangeDetectorRef)
-  transform(input: string | string[]) => any;
-  ngOnDestroy() => ;
+    constructor(dataService: DataService, changeDetectorRef: ChangeDetectorRef)
+    transform(input: string | string[]) => any;
+    ngOnDestroy() => ;
 }
 ```
 * Implements: <code>PipeTransform</code>, <code>OnDestroy</code>

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

@@ -24,8 +24,8 @@ Displays a human-readable name for a given ISO 4217 currency code.
 
 ```ts title="Signature"
 class LocaleCurrencyNamePipe extends LocaleBasePipe implements PipeTransform {
-  constructor(dataService?: DataService, changeDetectorRef?: ChangeDetectorRef)
-  transform(value: any, display: 'full' | 'symbol' | 'name' = 'full', locale?: unknown) => any;
+    constructor(dataService?: DataService, changeDetectorRef?: ChangeDetectorRef)
+    transform(value: any, display: 'full' | 'symbol' | 'name' = 'full', locale?: unknown) => any;
 }
 ```
 * Extends: <code>LocaleBasePipe</code>

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

@@ -25,8 +25,8 @@ locale.
 
 ```ts title="Signature"
 class LocaleCurrencyPipe extends LocaleBasePipe implements PipeTransform {
-  constructor(dataService?: DataService, changeDetectorRef?: ChangeDetectorRef)
-  transform(value: unknown, args: unknown[]) => string | unknown;
+    constructor(dataService?: DataService, changeDetectorRef?: ChangeDetectorRef)
+    transform(value: unknown, args: unknown[]) => string | unknown;
 }
 ```
 * Extends: <code>LocaleBasePipe</code>

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

@@ -25,8 +25,8 @@ to format dates according to the selected UI language.
 
 ```ts title="Signature"
 class LocaleDatePipe extends LocaleBasePipe implements PipeTransform {
-  constructor(dataService?: DataService, changeDetectorRef?: ChangeDetectorRef)
-  transform(value: unknown, args: unknown[]) => unknown;
+    constructor(dataService?: DataService, changeDetectorRef?: ChangeDetectorRef)
+    transform(value: unknown, args: unknown[]) => unknown;
 }
 ```
 * Extends: <code>LocaleBasePipe</code>

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

@@ -24,8 +24,8 @@ Displays a human-readable name for a given ISO 639-1 language code.
 
 ```ts title="Signature"
 class LocaleLanguageNamePipe extends LocaleBasePipe implements PipeTransform {
-  constructor(dataService?: DataService, changeDetectorRef?: ChangeDetectorRef)
-  transform(value: any, locale?: unknown) => string;
+    constructor(dataService?: DataService, changeDetectorRef?: ChangeDetectorRef)
+    transform(value: any, locale?: unknown) => string;
 }
 ```
 * Extends: <code>LocaleBasePipe</code>

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

@@ -24,8 +24,8 @@ Displays a human-readable name for a given region.
 
 ```ts title="Signature"
 class LocaleRegionNamePipe extends LocaleBasePipe implements PipeTransform {
-  constructor(dataService?: DataService, changeDetectorRef?: ChangeDetectorRef)
-  transform(value: any, locale?: unknown) => string;
+    constructor(dataService?: DataService, changeDetectorRef?: ChangeDetectorRef)
+    transform(value: any, locale?: unknown) => string;
 }
 ```
 * Extends: <code>LocaleBasePipe</code>

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

@@ -24,8 +24,8 @@ Converts a date into the format "3 minutes ago", "5 hours ago" etc.
 
 ```ts title="Signature"
 class TimeAgoPipe implements PipeTransform {
-  constructor(i18nService: I18nService)
-  transform(value: string | Date, nowVal?: string | Date) => string;
+    constructor(i18nService: I18nService)
+    transform(value: string | Date, nowVal?: string | Date) => string;
 }
 ```
 * Implements: <code>PipeTransform</code>

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

@@ -21,8 +21,8 @@ to be effectively cached.
 
 ```ts title="Signature"
 class DataService {
-  query(query: DocumentNode | TypedDocumentNode<T, V>, variables?: V, fetchPolicy: WatchQueryFetchPolicy = 'cache-and-network') => QueryResult<T, V>;
-  mutate(mutation: DocumentNode | TypedDocumentNode<T, V>, variables?: V, update?: MutationUpdaterFn<T>) => Observable<T>;
+    query(query: DocumentNode | TypedDocumentNode<T, V>, variables?: V, fetchPolicy: WatchQueryFetchPolicy = 'cache-and-network') => QueryResult<T, V>;
+    mutate(mutation: DocumentNode | TypedDocumentNode<T, V>, variables?: V, update?: MutationUpdaterFn<T>) => Observable<T>;
 }
 ```
 
@@ -82,14 +82,14 @@ for convenience.
 
 ```ts title="Signature"
 class QueryResult<T, V extends Record<string, any> = Record<string, any>> {
-  constructor(queryRef: QueryRef<T, V>, apollo: Apollo)
-  completed$ = new Subject<void>();
-  refetchOnChannelChange() => QueryResult<T, V>;
-  single$: Observable<T>
-  stream$: Observable<T>
-  ref: QueryRef<T, V>
-  mapSingle(mapFn: (item: T) => R) => Observable<R>;
-  mapStream(mapFn: (item: T) => R) => Observable<R>;
+    constructor(queryRef: QueryRef<T, V>, apollo: Apollo)
+    completed$ = new Subject<void>();
+    refetchOnChannelChange() => QueryResult<T, V>;
+    single$: Observable<T>
+    stream$: Observable<T>
+    ref: QueryRef<T, V>
+    mapSingle(mapFn: (item: T) => R) => Observable<R>;
+    mapStream(mapFn: (item: T) => R) => Observable<R>;
 }
 ```
 

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

@@ -19,9 +19,9 @@ embedding the specified component within.
 
 ```ts title="Signature"
 class ModalService {
-  constructor(componentFactoryResolver: ComponentFactoryResolver, overlayHostService: OverlayHostService)
-  fromComponent(component: Type<T> & Type<Dialog<R>>, options?: ModalOptions<T>) => Observable<R | undefined>;
-  dialog(config: DialogConfig<T>) => Observable<T | undefined>;
+    constructor(componentFactoryResolver: ComponentFactoryResolver, overlayHostService: OverlayHostService)
+    fromComponent(component: Type<T> & Type<Dialog<R>>, options?: ModalOptions<T>) => Observable<R | undefined>;
+    dialog(config: DialogConfig<T>) => Observable<T | undefined>;
 }
 ```
 
@@ -95,7 +95,7 @@ this interface.
 
 ```ts title="Signature"
 interface Dialog<R = any> {
-  resolveWith: (result?: R) => void;
+    resolveWith: (result?: R) => void;
 }
 ```
 
@@ -121,11 +121,11 @@ Configures a generic modal dialog.
 
 ```ts title="Signature"
 interface DialogConfig<T> {
-  title: string;
-  body?: string;
-  translationVars?: { [key: string]: string | number };
-  buttons: Array<DialogButtonConfig<T>>;
-  size?: 'sm' | 'md' | 'lg' | 'xl';
+    title: string;
+    body?: string;
+    translationVars?: { [key: string]: string | number };
+    buttons: Array<DialogButtonConfig<T>>;
+    size?: 'sm' | 'md' | 'lg' | 'xl';
 }
 ```
 
@@ -169,10 +169,10 @@ Options to configure the behaviour of the modal.
 
 ```ts title="Signature"
 interface ModalOptions<T> {
-  size?: 'sm' | 'md' | 'lg' | 'xl';
-  verticalAlign?: 'top' | 'center' | 'bottom';
-  closable?: boolean;
-  locals?: Partial<T>;
+    size?: 'sm' | 'md' | 'lg' | 'xl';
+    verticalAlign?: 'top' | 'center' | 'bottom';
+    closable?: boolean;
+    locals?: Partial<T>;
 }
 ```
 

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

@@ -32,12 +32,12 @@ class MyComponent {
 
 ```ts title="Signature"
 class NotificationService {
-  constructor(i18nService: I18nService, resolver: ComponentFactoryResolver, overlayHostService: OverlayHostService)
-  success(message: string, translationVars?: { [key: string]: string | number }) => void;
-  info(message: string, translationVars?: { [key: string]: string | number }) => void;
-  warning(message: string, translationVars?: { [key: string]: string | number }) => void;
-  error(message: string, translationVars?: { [key: string]: string | number }) => void;
-  notify(config: ToastConfig) => void;
+    constructor(i18nService: I18nService, resolver: ComponentFactoryResolver, overlayHostService: OverlayHostService)
+    success(message: string, translationVars?: { [key: string]: string | number }) => void;
+    info(message: string, translationVars?: { [key: string]: string | number }) => void;
+    warning(message: string, translationVars?: { [key: string]: string | number }) => void;
+    error(message: string, translationVars?: { [key: string]: string | number }) => void;
+    notify(config: ToastConfig) => void;
 }
 ```
 
@@ -97,10 +97,10 @@ Configuration for a toast notification.
 
 ```ts title="Signature"
 interface ToastConfig {
-  message: string;
-  translationVars?: { [key: string]: string | number };
-  type?: NotificationType;
-  duration?: number;
+    message: string;
+    translationVars?: { [key: string]: string | number };
+    type?: NotificationType;
+    duration?: number;
 }
 ```
 

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

@@ -18,13 +18,13 @@ The object used to configure a new page tab.
 
 ```ts title="Signature"
 interface PageTabConfig {
-  location: PageLocationId;
-  tabIcon?: string;
-  route: string;
-  tab: string;
-  priority?: number;
-  component: Type<any> | ReturnType<typeof detailComponentWithResolver>;
-  routeConfig?: Route;
+    location: PageLocationId;
+    tabIcon?: string;
+    route: string;
+    tab: string;
+    priority?: number;
+    component: Type<any> | ReturnType<typeof detailComponentWithResolver>;
+    routeConfig?: Route;
 }
 ```
 

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

@@ -25,11 +25,11 @@ detailed instructions.
 interface AdminUiExtension extends Partial<TranslationExtension>,
         Partial<StaticAssetExtension>,
         Partial<GlobalStylesExtension> {
-  id?: string;
-  extensionPath: string;
-  ngModules: Array<AdminUiExtensionSharedModule | AdminUiExtensionLazyModule>;
-  pathAlias?: string;
-  exclude?: string[];
+    id?: string;
+    extensionPath: string;
+    ngModules: Array<AdminUiExtensionSharedModule | AdminUiExtensionLazyModule>;
+    pathAlias?: string;
+    exclude?: string[];
 }
 ```
 * Extends: <code>Partial&#60;<a href='/reference/admin-ui-api/ui-devkit/admin-ui-extension#translationextension'>TranslationExtension</a>&#62;</code>, <code>Partial&#60;<a href='/reference/admin-ui-api/ui-devkit/admin-ui-extension#staticassetextension'>StaticAssetExtension</a>&#62;</code>, <code>Partial&#60;<a href='/reference/admin-ui-api/ui-devkit/admin-ui-extension#globalstylesextension'>GlobalStylesExtension</a>&#62;</code>
@@ -169,7 +169,7 @@ without adding new UI functionality, or as part of a full <a href='/reference/ad
 
 ```ts title="Signature"
 interface TranslationExtension {
-  translations: { [languageCode in LanguageCode]?: string };
+    translations: { [languageCode in LanguageCode]?: string };
 }
 ```
 
@@ -205,7 +205,7 @@ Defines extensions which copy static assets to the custom Admin UI application s
 
 ```ts title="Signature"
 interface StaticAssetExtension {
-  staticAssets: StaticAssetDefinition[];
+    staticAssets: StaticAssetDefinition[];
 }
 ```
 
@@ -230,7 +230,7 @@ Defines extensions which add global styles to the custom Admin UI application.
 
 ```ts title="Signature"
 interface GlobalStylesExtension {
-  globalStyles: string[] | string;
+    globalStyles: string[] | string;
 }
 ```
 
@@ -255,7 +255,7 @@ Defines an extension which allows overriding Clarity Design System's Sass variab
 
 ```ts title="Signature"
 interface SassVariableOverridesExtension {
-  sassVariableOverrides: string;
+    sassVariableOverrides: string;
 }
 ```
 
@@ -292,9 +292,9 @@ Configuration defining a single NgModule with which to extend the Admin UI.
 
 ```ts title="Signature"
 interface AdminUiExtensionSharedModule {
-  type: 'shared';
-  ngModuleFileName: string;
-  ngModuleName: string;
+    type: 'shared';
+    ngModuleFileName: string;
+    ngModuleName: string;
 }
 ```
 
@@ -330,10 +330,10 @@ Configuration defining a single NgModule with which to extend the Admin UI.
 
 ```ts title="Signature"
 interface AdminUiExtensionLazyModule {
-  type: 'lazy';
-  route: string;
-  ngModuleFileName: string;
-  ngModuleName: string;
+    type: 'lazy';
+    route: string;
+    ngModuleFileName: string;
+    ngModuleName: string;
 }
 ```
 

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

@@ -18,13 +18,13 @@ Options to configure how the Admin UI should be compiled.
 
 ```ts title="Signature"
 interface UiExtensionCompilerOptions {
-  outputPath: string;
-  extensions: Extension[];
-  devMode?: boolean;
-  baseHref?: string;
-  watchPort?: number;
-  command?: 'yarn' | 'npm';
-  additionalProcessArguments?: UiExtensionCompilerProcessArgument[];
+    outputPath: string;
+    extensions: Extension[];
+    devMode?: boolean;
+    baseHref?: string;
+    watchPort?: number;
+    command?: 'yarn' | 'npm';
+    additionalProcessArguments?: UiExtensionCompilerProcessArgument[];
 }
 ```
 

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

@@ -26,8 +26,8 @@ your VendureConfig.
 
 ```ts title="Signature"
 interface AssetNamingStrategy extends InjectableStrategy {
-  generateSourceFileName(ctx: RequestContext, originalFileName: string, conflictFileName?: string): string;
-  generatePreviewFileName(ctx: RequestContext, sourceFileName: string, conflictFileName?: string): string;
+    generateSourceFileName(ctx: RequestContext, originalFileName: string, conflictFileName?: string): string;
+    generatePreviewFileName(ctx: RequestContext, sourceFileName: string, conflictFileName?: string): string;
 }
 ```
 * Extends: <code><a href='/reference/typescript-api/common/injectable-strategy#injectablestrategy'>InjectableStrategy</a></code>

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

@@ -20,11 +20,11 @@ The AssetOptions define how assets (images and other files) are named and stored
 
 ```ts title="Signature"
 interface AssetOptions {
-  assetNamingStrategy?: AssetNamingStrategy;
-  assetStorageStrategy?: AssetStorageStrategy;
-  assetPreviewStrategy?: AssetPreviewStrategy;
-  permittedFileTypes?: string[];
-  uploadMaxFileSize?: number;
+    assetNamingStrategy?: AssetNamingStrategy;
+    assetStorageStrategy?: AssetStorageStrategy;
+    assetPreviewStrategy?: AssetPreviewStrategy;
+    permittedFileTypes?: string[];
+    uploadMaxFileSize?: number;
 }
 ```
 

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

@@ -31,7 +31,7 @@ your VendureConfig.
 
 ```ts title="Signature"
 interface AssetPreviewStrategy extends InjectableStrategy {
-  generatePreviewImage(ctx: RequestContext, mimeType: string, data: Buffer): Promise<Buffer>;
+    generatePreviewImage(ctx: RequestContext, mimeType: string, data: Buffer): Promise<Buffer>;
 }
 ```
 * Extends: <code><a href='/reference/typescript-api/common/injectable-strategy#injectablestrategy'>InjectableStrategy</a></code>

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

@@ -26,13 +26,13 @@ your VendureConfig.
 
 ```ts title="Signature"
 interface AssetStorageStrategy extends InjectableStrategy {
-  writeFileFromBuffer(fileName: string, data: Buffer): Promise<string>;
-  writeFileFromStream(fileName: string, data: Stream): Promise<string>;
-  readFileToBuffer(identifier: string): Promise<Buffer>;
-  readFileToStream(identifier: string): Promise<Stream>;
-  deleteFile(identifier: string): Promise<void>;
-  fileExists(fileName: string): Promise<boolean>;
-  toAbsoluteUrl?(request: Request, identifier: string): string;
+    writeFileFromBuffer(fileName: string, data: Buffer): Promise<string>;
+    writeFileFromStream(fileName: string, data: Stream): Promise<string>;
+    readFileToBuffer(identifier: string): Promise<Buffer>;
+    readFileToStream(identifier: string): Promise<Stream>;
+    deleteFile(identifier: string): Promise<void>;
+    fileExists(fileName: string): Promise<boolean>;
+    toAbsoluteUrl?(request: Request, identifier: string): string;
 }
 ```
 * Extends: <code><a href='/reference/typescript-api/common/injectable-strategy#injectablestrategy'>InjectableStrategy</a></code>

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

@@ -19,8 +19,8 @@ in the case of conflicts, increments a counter suffix.
 
 ```ts title="Signature"
 class DefaultAssetNamingStrategy implements AssetNamingStrategy {
-  generateSourceFileName(ctx: RequestContext, originalFileName: string, conflictFileName?: string) => string;
-  generatePreviewFileName(ctx: RequestContext, sourceFileName: string, conflictFileName?: string) => string;
+    generateSourceFileName(ctx: RequestContext, originalFileName: string, conflictFileName?: string) => string;
+    generatePreviewFileName(ctx: RequestContext, sourceFileName: string, conflictFileName?: string) => string;
 }
 ```
 * Implements: <code><a href='/reference/typescript-api/assets/asset-naming-strategy#assetnamingstrategy'>AssetNamingStrategy</a></code>

+ 15 - 15
docs/docs/reference/typescript-api/auth/auth-options.md

@@ -18,21 +18,21 @@ The AuthOptions define how authentication and authorization is managed.
 
 ```ts title="Signature"
 interface AuthOptions {
-  disableAuth?: boolean;
-  tokenMethod?: 'cookie' | 'bearer' | ReadonlyArray<'cookie' | 'bearer'>;
-  cookieOptions?: CookieOptions;
-  authTokenHeaderKey?: string;
-  sessionDuration?: string | number;
-  sessionCacheStrategy?: SessionCacheStrategy;
-  sessionCacheTTL?: number;
-  requireVerification?: boolean;
-  verificationTokenDuration?: string | number;
-  superadminCredentials?: SuperadminCredentials;
-  shopAuthenticationStrategy?: AuthenticationStrategy[];
-  adminAuthenticationStrategy?: AuthenticationStrategy[];
-  customPermissions?: PermissionDefinition[];
-  passwordHashingStrategy?: PasswordHashingStrategy;
-  passwordValidationStrategy?: PasswordValidationStrategy;
+    disableAuth?: boolean;
+    tokenMethod?: 'cookie' | 'bearer' | ReadonlyArray<'cookie' | 'bearer'>;
+    cookieOptions?: CookieOptions;
+    authTokenHeaderKey?: string;
+    sessionDuration?: string | number;
+    sessionCacheStrategy?: SessionCacheStrategy;
+    sessionCacheTTL?: number;
+    requireVerification?: boolean;
+    verificationTokenDuration?: string | number;
+    superadminCredentials?: SuperadminCredentials;
+    shopAuthenticationStrategy?: AuthenticationStrategy[];
+    adminAuthenticationStrategy?: AuthenticationStrategy[];
+    customPermissions?: PermissionDefinition[];
+    passwordHashingStrategy?: PasswordHashingStrategy;
+    passwordValidationStrategy?: PasswordValidationStrategy;
 }
 ```
 

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

@@ -28,10 +28,10 @@ properties of your VendureConfig.
 
 ```ts title="Signature"
 interface AuthenticationStrategy<Data = unknown> extends InjectableStrategy {
-  readonly name: string;
-  defineInputType(): DocumentNode;
-  authenticate(ctx: RequestContext, data: Data): Promise<User | false | string>;
-  onLogOut?(ctx: RequestContext, user: User): Promise<void>;
+    readonly name: string;
+    defineInputType(): DocumentNode;
+    authenticate(ctx: RequestContext, data: Data): Promise<User | false | string>;
+    onLogOut?(ctx: RequestContext, user: User): Promise<void>;
 }
 ```
 * Extends: <code><a href='/reference/typescript-api/common/injectable-strategy#injectablestrategy'>InjectableStrategy</a></code>

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

@@ -18,8 +18,8 @@ A hashing strategy which uses bcrypt (https://en.wikipedia.org/wiki/Bcrypt) to h
 
 ```ts title="Signature"
 class BcryptPasswordHashingStrategy implements PasswordHashingStrategy {
-  hash(plaintext: string) => Promise<string>;
-  check(plaintext: string, hash: string) => Promise<boolean>;
+    hash(plaintext: string) => Promise<string>;
+    check(plaintext: string, hash: string) => Promise<boolean>;
 }
 ```
 * Implements: <code><a href='/reference/typescript-api/auth/password-hashing-strategy#passwordhashingstrategy'>PasswordHashingStrategy</a></code>

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

@@ -20,16 +20,16 @@ to the Express [cookie-session middleware](https://github.com/expressjs/cookie-s
 
 ```ts title="Signature"
 interface CookieOptions {
-  name?: string;
-  secret?: string;
-  path?: string;
-  domain?: string;
-  sameSite?: 'strict' | 'lax' | 'none' | boolean;
-  secure?: boolean;
-  secureProxy?: boolean;
-  httpOnly?: boolean;
-  signed?: boolean;
-  overwrite?: boolean;
+    name?: string;
+    secret?: string;
+    path?: string;
+    domain?: string;
+    sameSite?: 'strict' | 'lax' | 'none' | boolean;
+    secure?: boolean;
+    secureProxy?: boolean;
+    httpOnly?: boolean;
+    signed?: boolean;
+    overwrite?: boolean;
 }
 ```
 

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

@@ -24,8 +24,8 @@ this default will be made more strict.
 
 ```ts title="Signature"
 class DefaultPasswordValidationStrategy implements PasswordValidationStrategy {
-  constructor(options: { minLength?: number; regexp?: RegExp })
-  validate(ctx: RequestContext, password: string) => boolean | string;
+    constructor(options: { minLength?: number; regexp?: RegExp })
+    validate(ctx: RequestContext, password: string) => boolean | string;
 }
 ```
 * Implements: <code><a href='/reference/typescript-api/auth/password-validation-strategy#passwordvalidationstrategy'>PasswordValidationStrategy</a></code>

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

@@ -19,10 +19,10 @@ external <a href='/reference/typescript-api/auth/authentication-strategy#authent
 
 ```ts title="Signature"
 class ExternalAuthenticationService {
-  constructor(connection: TransactionalConnection, roleService: RoleService, historyService: HistoryService, customerService: CustomerService, administratorService: AdministratorService, channelService: ChannelService)
-  async findCustomerUser(ctx: RequestContext, strategy: string, externalIdentifier: string, checkCurrentChannelOnly:  = true) => Promise<User | undefined>;
-  async findAdministratorUser(ctx: RequestContext, strategy: string, externalIdentifier: string) => Promise<User | undefined>;
-  async createCustomerAndUser(ctx: RequestContext, config: {
+    constructor(connection: TransactionalConnection, roleService: RoleService, historyService: HistoryService, customerService: CustomerService, administratorService: AdministratorService, channelService: ChannelService)
+    findCustomerUser(ctx: RequestContext, strategy: string, externalIdentifier: string, checkCurrentChannelOnly:  = true) => Promise<User | undefined>;
+    findAdministratorUser(ctx: RequestContext, strategy: string, externalIdentifier: string) => Promise<User | undefined>;
+    createCustomerAndUser(ctx: RequestContext, config: {
             strategy: string;
             externalIdentifier: string;
             verified: boolean;
@@ -30,7 +30,7 @@ class ExternalAuthenticationService {
             firstName?: string;
             lastName?: string;
         }) => Promise<User>;
-  async createAdministratorAndUser(ctx: RequestContext, config: {
+    createAdministratorAndUser(ctx: RequestContext, config: {
             strategy: string;
             externalIdentifier: string;
             identifier: string;
@@ -39,7 +39,7 @@ class ExternalAuthenticationService {
             lastName?: string;
             roles: Role[];
         }) => ;
-  async findUser(ctx: RequestContext, strategy: string, externalIdentifier: string) => Promise<User | undefined>;
+    findUser(ctx: RequestContext, strategy: string, externalIdentifier: string) => Promise<User | undefined>;
 }
 ```
 

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

@@ -25,11 +25,11 @@ function.
 
 ```ts title="Signature"
 class InMemorySessionCacheStrategy implements SessionCacheStrategy {
-  constructor(cacheSize?: number)
-  delete(sessionToken: string) => ;
-  get(sessionToken: string) => ;
-  set(session: CachedSession) => ;
-  clear() => ;
+    constructor(cacheSize?: number)
+    delete(sessionToken: string) => ;
+    get(sessionToken: string) => ;
+    set(session: CachedSession) => ;
+    clear() => ;
 }
 ```
 * Implements: <code><a href='/reference/typescript-api/auth/session-cache-strategy#sessioncachestrategy'>SessionCacheStrategy</a></code>

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

@@ -20,11 +20,11 @@ to keep it configured unless there is a specific reason not to.
 
 ```ts title="Signature"
 class NativeAuthenticationStrategy implements AuthenticationStrategy<NativeAuthenticationData> {
-  readonly readonly name = NATIVE_AUTH_STRATEGY_NAME;
-  async init(injector: Injector) => ;
-  defineInputType() => DocumentNode;
-  async authenticate(ctx: RequestContext, data: NativeAuthenticationData) => Promise<User | false>;
-  async verifyUserPassword(ctx: RequestContext, userId: ID, password: string) => Promise<boolean>;
+    readonly name = NATIVE_AUTH_STRATEGY_NAME;
+    init(injector: Injector) => ;
+    defineInputType() => DocumentNode;
+    authenticate(ctx: RequestContext, data: NativeAuthenticationData) => Promise<User | false>;
+    verifyUserPassword(ctx: RequestContext, userId: ID, password: string) => Promise<boolean>;
 }
 ```
 * Implements: <code><a href='/reference/typescript-api/auth/authentication-strategy#authenticationstrategy'>AuthenticationStrategy</a>&#60;NativeAuthenticationData&#62;</code>

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

@@ -19,10 +19,10 @@ so the session will always be taken from the database.
 
 ```ts title="Signature"
 class NoopSessionCacheStrategy implements SessionCacheStrategy {
-  clear() => ;
-  delete(sessionToken: string) => ;
-  get(sessionToken: string) => ;
-  set(session: CachedSession) => ;
+    clear() => ;
+    delete(sessionToken: string) => ;
+    get(sessionToken: string) => ;
+    set(session: CachedSession) => ;
 }
 ```
 * Implements: <code><a href='/reference/typescript-api/auth/session-cache-strategy#sessioncachestrategy'>SessionCacheStrategy</a></code>

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

@@ -25,8 +25,8 @@ your VendureConfig.
 
 ```ts title="Signature"
 interface PasswordHashingStrategy extends InjectableStrategy {
-  hash(plaintext: string): Promise<string>;
-  check(plaintext: string, hash: string): Promise<boolean>;
+    hash(plaintext: string): Promise<string>;
+    check(plaintext: string, hash: string): Promise<boolean>;
 }
 ```
 * Extends: <code><a href='/reference/typescript-api/common/injectable-strategy#injectablestrategy'>InjectableStrategy</a></code>

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

@@ -26,7 +26,7 @@ your VendureConfig.
 
 ```ts title="Signature"
 interface PasswordValidationStrategy extends InjectableStrategy {
-  validate(ctx: RequestContext, password: string): Promise<boolean | string> | boolean | string;
+    validate(ctx: RequestContext, password: string): Promise<boolean | string> | boolean | string;
 }
 ```
 * Extends: <code><a href='/reference/typescript-api/common/injectable-strategy#injectablestrategy'>InjectableStrategy</a></code>

+ 11 - 11
docs/docs/reference/typescript-api/auth/permission-definition.md

@@ -50,8 +50,8 @@ export class ExternalSyncResolver {
 
 ```ts title="Signature"
 class PermissionDefinition {
-  constructor(config: PermissionDefinitionConfig)
-  Permission: Permission
+    constructor(config: PermissionDefinitionConfig)
+    Permission: Permission
 }
 ```
 
@@ -108,11 +108,11 @@ export class WishlistResolver {
 
 ```ts title="Signature"
 class CrudPermissionDefinition extends PermissionDefinition {
-  constructor(name: string, descriptionFn?: (operation: 'create' | 'read' | 'update' | 'delete') => string)
-  Create: Permission
-  Read: Permission
-  Update: Permission
-  Delete: Permission
+    constructor(name: string, descriptionFn?: (operation: 'create' | 'read' | 'update' | 'delete') => string)
+    Create: Permission
+    Read: Permission
+    Update: Permission
+    Delete: Permission
 }
 ```
 * Extends: <code><a href='/reference/typescript-api/auth/permission-definition#permissiondefinition'>PermissionDefinition</a></code>
@@ -163,10 +163,10 @@ Configures a <a href='/reference/typescript-api/auth/permission-definition#permi
 
 ```ts title="Signature"
 interface PermissionDefinitionConfig {
-  name: string;
-  description?: string;
-  assignable?: boolean;
-  internal?: boolean;
+    name: string;
+    description?: string;
+    assignable?: boolean;
+    internal?: boolean;
 }
 ```
 

+ 16 - 16
docs/docs/reference/typescript-api/auth/session-cache-strategy.md

@@ -119,10 +119,10 @@ export class RedisSessionCachePlugin {
 
 ```ts title="Signature"
 interface SessionCacheStrategy extends InjectableStrategy {
-  set(session: CachedSession): void | Promise<void>;
-  get(sessionToken: string): CachedSession | undefined | Promise<CachedSession | undefined>;
-  delete(sessionToken: string): void | Promise<void>;
-  clear(): void | Promise<void>;
+    set(session: CachedSession): void | Promise<void>;
+    get(sessionToken: string): CachedSession | undefined | Promise<CachedSession | undefined>;
+    delete(sessionToken: string): void | Promise<void>;
+    clear(): void | Promise<void>;
 }
 ```
 * Extends: <code><a href='/reference/typescript-api/common/injectable-strategy#injectablestrategy'>InjectableStrategy</a></code>
@@ -167,10 +167,10 @@ current Session.
 
 ```ts title="Signature"
 type CachedSessionUser = {
-  id: ID;
-  identifier: string;
-  verified: boolean;
-  channelPermissions: UserChannelPermissions[];
+    id: ID;
+    identifier: string;
+    verified: boolean;
+    channelPermissions: UserChannelPermissions[];
 }
 ```
 
@@ -210,14 +210,14 @@ store.
 
 ```ts title="Signature"
 type CachedSession = {
-  cacheExpiry: number;
-  id: ID;
-  token: string;
-  expires: Date;
-  activeOrderId?: ID;
-  authenticationStrategy?: string;
-  user?: CachedSessionUser;
-  activeChannelId?: ID;
+    cacheExpiry: number;
+    id: ID;
+    token: string;
+    expires: Date;
+    activeOrderId?: ID;
+    authenticationStrategy?: string;
+    user?: CachedSessionUser;
+    activeChannelId?: ID;
 }
 ```
 

+ 2 - 2
docs/docs/reference/typescript-api/auth/superadmin-credentials.md

@@ -19,8 +19,8 @@ when Vendure first bootstraps.
 
 ```ts title="Signature"
 interface SuperadminCredentials {
-  identifier: string;
-  password: string;
+    identifier: string;
+    password: string;
 }
 ```
 

+ 2 - 2
docs/docs/reference/typescript-api/common/async-queue.md

@@ -19,8 +19,8 @@ race conditions when working on a shared resource such as writing to a database.
 
 ```ts title="Signature"
 class AsyncQueue {
-  constructor(label: string = 'default', concurrency: number = 1)
-  push(task: Task<T>) => Promise<T>;
+    constructor(label: string = 'default', concurrency: number = 1)
+    push(task: Task<T>) => Promise<T>;
 }
 ```
 

+ 157 - 157
docs/docs/reference/typescript-api/common/currency-code.md

@@ -18,162 +18,162 @@ ISO 4217 currency code
 
 ```ts title="Signature"
 enum CurrencyCode {
-  AED = 'AED'
-  AFN = 'AFN'
-  ALL = 'ALL'
-  AMD = 'AMD'
-  ANG = 'ANG'
-  AOA = 'AOA'
-  ARS = 'ARS'
-  AUD = 'AUD'
-  AWG = 'AWG'
-  AZN = 'AZN'
-  BAM = 'BAM'
-  BBD = 'BBD'
-  BDT = 'BDT'
-  BGN = 'BGN'
-  BHD = 'BHD'
-  BIF = 'BIF'
-  BMD = 'BMD'
-  BND = 'BND'
-  BOB = 'BOB'
-  BRL = 'BRL'
-  BSD = 'BSD'
-  BTN = 'BTN'
-  BWP = 'BWP'
-  BYN = 'BYN'
-  BZD = 'BZD'
-  CAD = 'CAD'
-  CDF = 'CDF'
-  CHF = 'CHF'
-  CLP = 'CLP'
-  CNY = 'CNY'
-  COP = 'COP'
-  CRC = 'CRC'
-  CUC = 'CUC'
-  CUP = 'CUP'
-  CVE = 'CVE'
-  CZK = 'CZK'
-  DJF = 'DJF'
-  DKK = 'DKK'
-  DOP = 'DOP'
-  DZD = 'DZD'
-  EGP = 'EGP'
-  ERN = 'ERN'
-  ETB = 'ETB'
-  EUR = 'EUR'
-  FJD = 'FJD'
-  FKP = 'FKP'
-  GBP = 'GBP'
-  GEL = 'GEL'
-  GHS = 'GHS'
-  GIP = 'GIP'
-  GMD = 'GMD'
-  GNF = 'GNF'
-  GTQ = 'GTQ'
-  GYD = 'GYD'
-  HKD = 'HKD'
-  HNL = 'HNL'
-  HRK = 'HRK'
-  HTG = 'HTG'
-  HUF = 'HUF'
-  IDR = 'IDR'
-  ILS = 'ILS'
-  INR = 'INR'
-  IQD = 'IQD'
-  IRR = 'IRR'
-  ISK = 'ISK'
-  JMD = 'JMD'
-  JOD = 'JOD'
-  JPY = 'JPY'
-  KES = 'KES'
-  KGS = 'KGS'
-  KHR = 'KHR'
-  KMF = 'KMF'
-  KPW = 'KPW'
-  KRW = 'KRW'
-  KWD = 'KWD'
-  KYD = 'KYD'
-  KZT = 'KZT'
-  LAK = 'LAK'
-  LBP = 'LBP'
-  LKR = 'LKR'
-  LRD = 'LRD'
-  LSL = 'LSL'
-  LYD = 'LYD'
-  MAD = 'MAD'
-  MDL = 'MDL'
-  MGA = 'MGA'
-  MKD = 'MKD'
-  MMK = 'MMK'
-  MNT = 'MNT'
-  MOP = 'MOP'
-  MRU = 'MRU'
-  MUR = 'MUR'
-  MVR = 'MVR'
-  MWK = 'MWK'
-  MXN = 'MXN'
-  MYR = 'MYR'
-  MZN = 'MZN'
-  NAD = 'NAD'
-  NGN = 'NGN'
-  NIO = 'NIO'
-  NOK = 'NOK'
-  NPR = 'NPR'
-  NZD = 'NZD'
-  OMR = 'OMR'
-  PAB = 'PAB'
-  PEN = 'PEN'
-  PGK = 'PGK'
-  PHP = 'PHP'
-  PKR = 'PKR'
-  PLN = 'PLN'
-  PYG = 'PYG'
-  QAR = 'QAR'
-  RON = 'RON'
-  RSD = 'RSD'
-  RUB = 'RUB'
-  RWF = 'RWF'
-  SAR = 'SAR'
-  SBD = 'SBD'
-  SCR = 'SCR'
-  SDG = 'SDG'
-  SEK = 'SEK'
-  SGD = 'SGD'
-  SHP = 'SHP'
-  SLL = 'SLL'
-  SOS = 'SOS'
-  SRD = 'SRD'
-  SSP = 'SSP'
-  STN = 'STN'
-  SVC = 'SVC'
-  SYP = 'SYP'
-  SZL = 'SZL'
-  THB = 'THB'
-  TJS = 'TJS'
-  TMT = 'TMT'
-  TND = 'TND'
-  TOP = 'TOP'
-  TRY = 'TRY'
-  TTD = 'TTD'
-  TWD = 'TWD'
-  TZS = 'TZS'
-  UAH = 'UAH'
-  UGX = 'UGX'
-  USD = 'USD'
-  UYU = 'UYU'
-  UZS = 'UZS'
-  VES = 'VES'
-  VND = 'VND'
-  VUV = 'VUV'
-  WST = 'WST'
-  XAF = 'XAF'
-  XCD = 'XCD'
-  XOF = 'XOF'
-  XPF = 'XPF'
-  YER = 'YER'
-  ZAR = 'ZAR'
-  ZMW = 'ZMW'
-  ZWL = 'ZWL'
+    AED = 'AED'
+    AFN = 'AFN'
+    ALL = 'ALL'
+    AMD = 'AMD'
+    ANG = 'ANG'
+    AOA = 'AOA'
+    ARS = 'ARS'
+    AUD = 'AUD'
+    AWG = 'AWG'
+    AZN = 'AZN'
+    BAM = 'BAM'
+    BBD = 'BBD'
+    BDT = 'BDT'
+    BGN = 'BGN'
+    BHD = 'BHD'
+    BIF = 'BIF'
+    BMD = 'BMD'
+    BND = 'BND'
+    BOB = 'BOB'
+    BRL = 'BRL'
+    BSD = 'BSD'
+    BTN = 'BTN'
+    BWP = 'BWP'
+    BYN = 'BYN'
+    BZD = 'BZD'
+    CAD = 'CAD'
+    CDF = 'CDF'
+    CHF = 'CHF'
+    CLP = 'CLP'
+    CNY = 'CNY'
+    COP = 'COP'
+    CRC = 'CRC'
+    CUC = 'CUC'
+    CUP = 'CUP'
+    CVE = 'CVE'
+    CZK = 'CZK'
+    DJF = 'DJF'
+    DKK = 'DKK'
+    DOP = 'DOP'
+    DZD = 'DZD'
+    EGP = 'EGP'
+    ERN = 'ERN'
+    ETB = 'ETB'
+    EUR = 'EUR'
+    FJD = 'FJD'
+    FKP = 'FKP'
+    GBP = 'GBP'
+    GEL = 'GEL'
+    GHS = 'GHS'
+    GIP = 'GIP'
+    GMD = 'GMD'
+    GNF = 'GNF'
+    GTQ = 'GTQ'
+    GYD = 'GYD'
+    HKD = 'HKD'
+    HNL = 'HNL'
+    HRK = 'HRK'
+    HTG = 'HTG'
+    HUF = 'HUF'
+    IDR = 'IDR'
+    ILS = 'ILS'
+    INR = 'INR'
+    IQD = 'IQD'
+    IRR = 'IRR'
+    ISK = 'ISK'
+    JMD = 'JMD'
+    JOD = 'JOD'
+    JPY = 'JPY'
+    KES = 'KES'
+    KGS = 'KGS'
+    KHR = 'KHR'
+    KMF = 'KMF'
+    KPW = 'KPW'
+    KRW = 'KRW'
+    KWD = 'KWD'
+    KYD = 'KYD'
+    KZT = 'KZT'
+    LAK = 'LAK'
+    LBP = 'LBP'
+    LKR = 'LKR'
+    LRD = 'LRD'
+    LSL = 'LSL'
+    LYD = 'LYD'
+    MAD = 'MAD'
+    MDL = 'MDL'
+    MGA = 'MGA'
+    MKD = 'MKD'
+    MMK = 'MMK'
+    MNT = 'MNT'
+    MOP = 'MOP'
+    MRU = 'MRU'
+    MUR = 'MUR'
+    MVR = 'MVR'
+    MWK = 'MWK'
+    MXN = 'MXN'
+    MYR = 'MYR'
+    MZN = 'MZN'
+    NAD = 'NAD'
+    NGN = 'NGN'
+    NIO = 'NIO'
+    NOK = 'NOK'
+    NPR = 'NPR'
+    NZD = 'NZD'
+    OMR = 'OMR'
+    PAB = 'PAB'
+    PEN = 'PEN'
+    PGK = 'PGK'
+    PHP = 'PHP'
+    PKR = 'PKR'
+    PLN = 'PLN'
+    PYG = 'PYG'
+    QAR = 'QAR'
+    RON = 'RON'
+    RSD = 'RSD'
+    RUB = 'RUB'
+    RWF = 'RWF'
+    SAR = 'SAR'
+    SBD = 'SBD'
+    SCR = 'SCR'
+    SDG = 'SDG'
+    SEK = 'SEK'
+    SGD = 'SGD'
+    SHP = 'SHP'
+    SLL = 'SLL'
+    SOS = 'SOS'
+    SRD = 'SRD'
+    SSP = 'SSP'
+    STN = 'STN'
+    SVC = 'SVC'
+    SYP = 'SYP'
+    SZL = 'SZL'
+    THB = 'THB'
+    TJS = 'TJS'
+    TMT = 'TMT'
+    TND = 'TND'
+    TOP = 'TOP'
+    TRY = 'TRY'
+    TTD = 'TTD'
+    TWD = 'TWD'
+    TZS = 'TZS'
+    UAH = 'UAH'
+    UGX = 'UGX'
+    USD = 'USD'
+    UYU = 'UYU'
+    UZS = 'UZS'
+    VES = 'VES'
+    VND = 'VND'
+    VUV = 'VUV'
+    WST = 'WST'
+    XAF = 'XAF'
+    XCD = 'XCD'
+    XOF = 'XOF'
+    XPF = 'XPF'
+    YER = 'YER'
+    ZAR = 'ZAR'
+    ZMW = 'ZMW'
+    ZWL = 'ZWL'
 }
 ```

+ 5 - 5
docs/docs/reference/typescript-api/common/i18n-service.md

@@ -18,8 +18,8 @@ import MemberDescription from '@site/src/components/MemberDescription';
 
 ```ts title="Signature"
 class I18nService implements OnModuleInit {
-  addTranslationFile(langKey: string, filePath: string) => void;
-  addTranslation(langKey: string, resources: VendureTranslationResources | any) => void;
+    addTranslationFile(langKey: string, filePath: string) => void;
+    addTranslation(langKey: string, resources: VendureTranslationResources | any) => void;
 }
 ```
 * Implements: <code>OnModuleInit</code>
@@ -51,9 +51,9 @@ I18n resources used for translations
 
 ```ts title="Signature"
 interface VendureTranslationResources {
-  error: any;
-  errorResult: any;
-  message: any;
+    error: any;
+    errorResult: any;
+    message: any;
 }
 ```
 

+ 2 - 2
docs/docs/reference/typescript-api/common/injectable-strategy.md

@@ -19,8 +19,8 @@ various strategies used to configure Vendure.
 
 ```ts title="Signature"
 interface InjectableStrategy {
-  init?: (injector: Injector) => void | Promise<void>;
-  destroy?: () => void | Promise<void>;
+    init?: (injector: Injector) => void | Promise<void>;
+    destroy?: () => void | Promise<void>;
 }
 ```
 

+ 3 - 3
docs/docs/reference/typescript-api/common/injector.md

@@ -21,9 +21,9 @@ Strategies which can be supplied in the VendureConfig.
 
 ```ts title="Signature"
 class Injector {
-  constructor(moduleRef: ModuleRef)
-  get(typeOrToken: Type<T> | string | symbol) => R;
-  resolve(typeOrToken: Type<T> | string | symbol, contextId?: ContextId) => Promise<R>;
+    constructor(moduleRef: ModuleRef)
+    get(typeOrToken: Type<T> | string | symbol) => R;
+    resolve(typeOrToken: Type<T> | string | symbol, contextId?: ContextId) => Promise<R>;
 }
 ```
 

+ 6 - 6
docs/docs/reference/typescript-api/common/job-state.md

@@ -18,11 +18,11 @@ The state of a Job in the JobQueue
 
 ```ts title="Signature"
 enum JobState {
-  CANCELLED = 'CANCELLED'
-  COMPLETED = 'COMPLETED'
-  FAILED = 'FAILED'
-  PENDING = 'PENDING'
-  RETRYING = 'RETRYING'
-  RUNNING = 'RUNNING'
+    CANCELLED = 'CANCELLED'
+    COMPLETED = 'COMPLETED'
+    FAILED = 'FAILED'
+    PENDING = 'PENDING'
+    RETRYING = 'RETRYING'
+    RUNNING = 'RUNNING'
 }
 ```

+ 157 - 157
docs/docs/reference/typescript-api/common/language-code.md

@@ -21,162 +21,162 @@ and includes the major spoken languages of the world and any widely-used variant
 
 ```ts title="Signature"
 enum LanguageCode {
-  af = 'af'
-  ak = 'ak'
-  am = 'am'
-  ar = 'ar'
-  as = 'as'
-  az = 'az'
-  be = 'be'
-  bg = 'bg'
-  bm = 'bm'
-  bn = 'bn'
-  bo = 'bo'
-  br = 'br'
-  bs = 'bs'
-  ca = 'ca'
-  ce = 'ce'
-  co = 'co'
-  cs = 'cs'
-  cu = 'cu'
-  cy = 'cy'
-  da = 'da'
-  de = 'de'
-  de_AT = 'de_AT'
-  de_CH = 'de_CH'
-  dz = 'dz'
-  ee = 'ee'
-  el = 'el'
-  en = 'en'
-  en_AU = 'en_AU'
-  en_CA = 'en_CA'
-  en_GB = 'en_GB'
-  en_US = 'en_US'
-  eo = 'eo'
-  es = 'es'
-  es_ES = 'es_ES'
-  es_MX = 'es_MX'
-  et = 'et'
-  eu = 'eu'
-  fa = 'fa'
-  fa_AF = 'fa_AF'
-  ff = 'ff'
-  fi = 'fi'
-  fo = 'fo'
-  fr = 'fr'
-  fr_CA = 'fr_CA'
-  fr_CH = 'fr_CH'
-  fy = 'fy'
-  ga = 'ga'
-  gd = 'gd'
-  gl = 'gl'
-  gu = 'gu'
-  gv = 'gv'
-  ha = 'ha'
-  he = 'he'
-  hi = 'hi'
-  hr = 'hr'
-  ht = 'ht'
-  hu = 'hu'
-  hy = 'hy'
-  ia = 'ia'
-  id = 'id'
-  ig = 'ig'
-  ii = 'ii'
-  is = 'is'
-  it = 'it'
-  ja = 'ja'
-  jv = 'jv'
-  ka = 'ka'
-  ki = 'ki'
-  kk = 'kk'
-  kl = 'kl'
-  km = 'km'
-  kn = 'kn'
-  ko = 'ko'
-  ks = 'ks'
-  ku = 'ku'
-  kw = 'kw'
-  ky = 'ky'
-  la = 'la'
-  lb = 'lb'
-  lg = 'lg'
-  ln = 'ln'
-  lo = 'lo'
-  lt = 'lt'
-  lu = 'lu'
-  lv = 'lv'
-  mg = 'mg'
-  mi = 'mi'
-  mk = 'mk'
-  ml = 'ml'
-  mn = 'mn'
-  mr = 'mr'
-  ms = 'ms'
-  mt = 'mt'
-  my = 'my'
-  nb = 'nb'
-  nd = 'nd'
-  ne = 'ne'
-  nl = 'nl'
-  nl_BE = 'nl_BE'
-  nn = 'nn'
-  ny = 'ny'
-  om = 'om'
-  or = 'or'
-  os = 'os'
-  pa = 'pa'
-  pl = 'pl'
-  ps = 'ps'
-  pt = 'pt'
-  pt_BR = 'pt_BR'
-  pt_PT = 'pt_PT'
-  qu = 'qu'
-  rm = 'rm'
-  rn = 'rn'
-  ro = 'ro'
-  ro_MD = 'ro_MD'
-  ru = 'ru'
-  rw = 'rw'
-  sa = 'sa'
-  sd = 'sd'
-  se = 'se'
-  sg = 'sg'
-  si = 'si'
-  sk = 'sk'
-  sl = 'sl'
-  sm = 'sm'
-  sn = 'sn'
-  so = 'so'
-  sq = 'sq'
-  sr = 'sr'
-  st = 'st'
-  su = 'su'
-  sv = 'sv'
-  sw = 'sw'
-  sw_CD = 'sw_CD'
-  ta = 'ta'
-  te = 'te'
-  tg = 'tg'
-  th = 'th'
-  ti = 'ti'
-  tk = 'tk'
-  to = 'to'
-  tr = 'tr'
-  tt = 'tt'
-  ug = 'ug'
-  uk = 'uk'
-  ur = 'ur'
-  uz = 'uz'
-  vi = 'vi'
-  vo = 'vo'
-  wo = 'wo'
-  xh = 'xh'
-  yi = 'yi'
-  yo = 'yo'
-  zh = 'zh'
-  zh_Hans = 'zh_Hans'
-  zh_Hant = 'zh_Hant'
-  zu = 'zu'
+    af = 'af'
+    ak = 'ak'
+    am = 'am'
+    ar = 'ar'
+    as = 'as'
+    az = 'az'
+    be = 'be'
+    bg = 'bg'
+    bm = 'bm'
+    bn = 'bn'
+    bo = 'bo'
+    br = 'br'
+    bs = 'bs'
+    ca = 'ca'
+    ce = 'ce'
+    co = 'co'
+    cs = 'cs'
+    cu = 'cu'
+    cy = 'cy'
+    da = 'da'
+    de = 'de'
+    de_AT = 'de_AT'
+    de_CH = 'de_CH'
+    dz = 'dz'
+    ee = 'ee'
+    el = 'el'
+    en = 'en'
+    en_AU = 'en_AU'
+    en_CA = 'en_CA'
+    en_GB = 'en_GB'
+    en_US = 'en_US'
+    eo = 'eo'
+    es = 'es'
+    es_ES = 'es_ES'
+    es_MX = 'es_MX'
+    et = 'et'
+    eu = 'eu'
+    fa = 'fa'
+    fa_AF = 'fa_AF'
+    ff = 'ff'
+    fi = 'fi'
+    fo = 'fo'
+    fr = 'fr'
+    fr_CA = 'fr_CA'
+    fr_CH = 'fr_CH'
+    fy = 'fy'
+    ga = 'ga'
+    gd = 'gd'
+    gl = 'gl'
+    gu = 'gu'
+    gv = 'gv'
+    ha = 'ha'
+    he = 'he'
+    hi = 'hi'
+    hr = 'hr'
+    ht = 'ht'
+    hu = 'hu'
+    hy = 'hy'
+    ia = 'ia'
+    id = 'id'
+    ig = 'ig'
+    ii = 'ii'
+    is = 'is'
+    it = 'it'
+    ja = 'ja'
+    jv = 'jv'
+    ka = 'ka'
+    ki = 'ki'
+    kk = 'kk'
+    kl = 'kl'
+    km = 'km'
+    kn = 'kn'
+    ko = 'ko'
+    ks = 'ks'
+    ku = 'ku'
+    kw = 'kw'
+    ky = 'ky'
+    la = 'la'
+    lb = 'lb'
+    lg = 'lg'
+    ln = 'ln'
+    lo = 'lo'
+    lt = 'lt'
+    lu = 'lu'
+    lv = 'lv'
+    mg = 'mg'
+    mi = 'mi'
+    mk = 'mk'
+    ml = 'ml'
+    mn = 'mn'
+    mr = 'mr'
+    ms = 'ms'
+    mt = 'mt'
+    my = 'my'
+    nb = 'nb'
+    nd = 'nd'
+    ne = 'ne'
+    nl = 'nl'
+    nl_BE = 'nl_BE'
+    nn = 'nn'
+    ny = 'ny'
+    om = 'om'
+    or = 'or'
+    os = 'os'
+    pa = 'pa'
+    pl = 'pl'
+    ps = 'ps'
+    pt = 'pt'
+    pt_BR = 'pt_BR'
+    pt_PT = 'pt_PT'
+    qu = 'qu'
+    rm = 'rm'
+    rn = 'rn'
+    ro = 'ro'
+    ro_MD = 'ro_MD'
+    ru = 'ru'
+    rw = 'rw'
+    sa = 'sa'
+    sd = 'sd'
+    se = 'se'
+    sg = 'sg'
+    si = 'si'
+    sk = 'sk'
+    sl = 'sl'
+    sm = 'sm'
+    sn = 'sn'
+    so = 'so'
+    sq = 'sq'
+    sr = 'sr'
+    st = 'st'
+    su = 'su'
+    sv = 'sv'
+    sw = 'sw'
+    sw_CD = 'sw_CD'
+    ta = 'ta'
+    te = 'te'
+    tg = 'tg'
+    th = 'th'
+    ti = 'ti'
+    tk = 'tk'
+    to = 'to'
+    tr = 'tr'
+    tt = 'tt'
+    ug = 'ug'
+    uk = 'uk'
+    ur = 'ur'
+    uz = 'uz'
+    vi = 'vi'
+    vo = 'vo'
+    wo = 'wo'
+    xh = 'xh'
+    yi = 'yi'
+    yo = 'yo'
+    zh = 'zh'
+    zh_Hans = 'zh_Hans'
+    zh_Hant = 'zh_Hant'
+    zu = 'zu'
 }
 ```

+ 3 - 3
docs/docs/reference/typescript-api/common/middleware.md

@@ -43,9 +43,9 @@ export const config: VendureConfig = {
 
 ```ts title="Signature"
 interface Middleware {
-  handler: MiddlewareHandler;
-  route: string;
-  beforeListen?: boolean;
+    handler: MiddlewareHandler;
+    route: string;
+    beforeListen?: boolean;
 }
 ```
 

+ 2 - 2
docs/docs/reference/typescript-api/common/paginated-list.md

@@ -19,8 +19,8 @@ A type describing the shape of a paginated list response. In Vendure, almost all
 
 ```ts title="Signature"
 type PaginatedList<T> = {
-  items: T[];
-  totalItems: number;
+    items: T[];
+    totalItems: number;
 }
 ```
 

+ 93 - 93
docs/docs/reference/typescript-api/common/permission.md

@@ -44,98 +44,98 @@ of the resource has access. If not, then it is the equivalent of using `Permissi
 
 ```ts title="Signature"
 enum Permission {
-  Authenticated = 'Authenticated'
-  CreateAdministrator = 'CreateAdministrator'
-  CreateAsset = 'CreateAsset'
-  CreateCatalog = 'CreateCatalog'
-  CreateChannel = 'CreateChannel'
-  CreateCollection = 'CreateCollection'
-  CreateCountry = 'CreateCountry'
-  CreateCustomer = 'CreateCustomer'
-  CreateCustomerGroup = 'CreateCustomerGroup'
-  CreateFacet = 'CreateFacet'
-  CreateOrder = 'CreateOrder'
-  CreatePaymentMethod = 'CreatePaymentMethod'
-  CreateProduct = 'CreateProduct'
-  CreatePromotion = 'CreatePromotion'
-  CreateSeller = 'CreateSeller'
-  CreateSettings = 'CreateSettings'
-  CreateShippingMethod = 'CreateShippingMethod'
-  CreateStockLocation = 'CreateStockLocation'
-  CreateSystem = 'CreateSystem'
-  CreateTag = 'CreateTag'
-  CreateTaxCategory = 'CreateTaxCategory'
-  CreateTaxRate = 'CreateTaxRate'
-  CreateZone = 'CreateZone'
-  DeleteAdministrator = 'DeleteAdministrator'
-  DeleteAsset = 'DeleteAsset'
-  DeleteCatalog = 'DeleteCatalog'
-  DeleteChannel = 'DeleteChannel'
-  DeleteCollection = 'DeleteCollection'
-  DeleteCountry = 'DeleteCountry'
-  DeleteCustomer = 'DeleteCustomer'
-  DeleteCustomerGroup = 'DeleteCustomerGroup'
-  DeleteFacet = 'DeleteFacet'
-  DeleteOrder = 'DeleteOrder'
-  DeletePaymentMethod = 'DeletePaymentMethod'
-  DeleteProduct = 'DeleteProduct'
-  DeletePromotion = 'DeletePromotion'
-  DeleteSeller = 'DeleteSeller'
-  DeleteSettings = 'DeleteSettings'
-  DeleteShippingMethod = 'DeleteShippingMethod'
-  DeleteStockLocation = 'DeleteStockLocation'
-  DeleteSystem = 'DeleteSystem'
-  DeleteTag = 'DeleteTag'
-  DeleteTaxCategory = 'DeleteTaxCategory'
-  DeleteTaxRate = 'DeleteTaxRate'
-  DeleteZone = 'DeleteZone'
-  Owner = 'Owner'
-  Public = 'Public'
-  ReadAdministrator = 'ReadAdministrator'
-  ReadAsset = 'ReadAsset'
-  ReadCatalog = 'ReadCatalog'
-  ReadChannel = 'ReadChannel'
-  ReadCollection = 'ReadCollection'
-  ReadCountry = 'ReadCountry'
-  ReadCustomer = 'ReadCustomer'
-  ReadCustomerGroup = 'ReadCustomerGroup'
-  ReadFacet = 'ReadFacet'
-  ReadOrder = 'ReadOrder'
-  ReadPaymentMethod = 'ReadPaymentMethod'
-  ReadProduct = 'ReadProduct'
-  ReadPromotion = 'ReadPromotion'
-  ReadSeller = 'ReadSeller'
-  ReadSettings = 'ReadSettings'
-  ReadShippingMethod = 'ReadShippingMethod'
-  ReadStockLocation = 'ReadStockLocation'
-  ReadSystem = 'ReadSystem'
-  ReadTag = 'ReadTag'
-  ReadTaxCategory = 'ReadTaxCategory'
-  ReadTaxRate = 'ReadTaxRate'
-  ReadZone = 'ReadZone'
-  SuperAdmin = 'SuperAdmin'
-  UpdateAdministrator = 'UpdateAdministrator'
-  UpdateAsset = 'UpdateAsset'
-  UpdateCatalog = 'UpdateCatalog'
-  UpdateChannel = 'UpdateChannel'
-  UpdateCollection = 'UpdateCollection'
-  UpdateCountry = 'UpdateCountry'
-  UpdateCustomer = 'UpdateCustomer'
-  UpdateCustomerGroup = 'UpdateCustomerGroup'
-  UpdateFacet = 'UpdateFacet'
-  UpdateGlobalSettings = 'UpdateGlobalSettings'
-  UpdateOrder = 'UpdateOrder'
-  UpdatePaymentMethod = 'UpdatePaymentMethod'
-  UpdateProduct = 'UpdateProduct'
-  UpdatePromotion = 'UpdatePromotion'
-  UpdateSeller = 'UpdateSeller'
-  UpdateSettings = 'UpdateSettings'
-  UpdateShippingMethod = 'UpdateShippingMethod'
-  UpdateStockLocation = 'UpdateStockLocation'
-  UpdateSystem = 'UpdateSystem'
-  UpdateTag = 'UpdateTag'
-  UpdateTaxCategory = 'UpdateTaxCategory'
-  UpdateTaxRate = 'UpdateTaxRate'
-  UpdateZone = 'UpdateZone'
+    Authenticated = 'Authenticated'
+    CreateAdministrator = 'CreateAdministrator'
+    CreateAsset = 'CreateAsset'
+    CreateCatalog = 'CreateCatalog'
+    CreateChannel = 'CreateChannel'
+    CreateCollection = 'CreateCollection'
+    CreateCountry = 'CreateCountry'
+    CreateCustomer = 'CreateCustomer'
+    CreateCustomerGroup = 'CreateCustomerGroup'
+    CreateFacet = 'CreateFacet'
+    CreateOrder = 'CreateOrder'
+    CreatePaymentMethod = 'CreatePaymentMethod'
+    CreateProduct = 'CreateProduct'
+    CreatePromotion = 'CreatePromotion'
+    CreateSeller = 'CreateSeller'
+    CreateSettings = 'CreateSettings'
+    CreateShippingMethod = 'CreateShippingMethod'
+    CreateStockLocation = 'CreateStockLocation'
+    CreateSystem = 'CreateSystem'
+    CreateTag = 'CreateTag'
+    CreateTaxCategory = 'CreateTaxCategory'
+    CreateTaxRate = 'CreateTaxRate'
+    CreateZone = 'CreateZone'
+    DeleteAdministrator = 'DeleteAdministrator'
+    DeleteAsset = 'DeleteAsset'
+    DeleteCatalog = 'DeleteCatalog'
+    DeleteChannel = 'DeleteChannel'
+    DeleteCollection = 'DeleteCollection'
+    DeleteCountry = 'DeleteCountry'
+    DeleteCustomer = 'DeleteCustomer'
+    DeleteCustomerGroup = 'DeleteCustomerGroup'
+    DeleteFacet = 'DeleteFacet'
+    DeleteOrder = 'DeleteOrder'
+    DeletePaymentMethod = 'DeletePaymentMethod'
+    DeleteProduct = 'DeleteProduct'
+    DeletePromotion = 'DeletePromotion'
+    DeleteSeller = 'DeleteSeller'
+    DeleteSettings = 'DeleteSettings'
+    DeleteShippingMethod = 'DeleteShippingMethod'
+    DeleteStockLocation = 'DeleteStockLocation'
+    DeleteSystem = 'DeleteSystem'
+    DeleteTag = 'DeleteTag'
+    DeleteTaxCategory = 'DeleteTaxCategory'
+    DeleteTaxRate = 'DeleteTaxRate'
+    DeleteZone = 'DeleteZone'
+    Owner = 'Owner'
+    Public = 'Public'
+    ReadAdministrator = 'ReadAdministrator'
+    ReadAsset = 'ReadAsset'
+    ReadCatalog = 'ReadCatalog'
+    ReadChannel = 'ReadChannel'
+    ReadCollection = 'ReadCollection'
+    ReadCountry = 'ReadCountry'
+    ReadCustomer = 'ReadCustomer'
+    ReadCustomerGroup = 'ReadCustomerGroup'
+    ReadFacet = 'ReadFacet'
+    ReadOrder = 'ReadOrder'
+    ReadPaymentMethod = 'ReadPaymentMethod'
+    ReadProduct = 'ReadProduct'
+    ReadPromotion = 'ReadPromotion'
+    ReadSeller = 'ReadSeller'
+    ReadSettings = 'ReadSettings'
+    ReadShippingMethod = 'ReadShippingMethod'
+    ReadStockLocation = 'ReadStockLocation'
+    ReadSystem = 'ReadSystem'
+    ReadTag = 'ReadTag'
+    ReadTaxCategory = 'ReadTaxCategory'
+    ReadTaxRate = 'ReadTaxRate'
+    ReadZone = 'ReadZone'
+    SuperAdmin = 'SuperAdmin'
+    UpdateAdministrator = 'UpdateAdministrator'
+    UpdateAsset = 'UpdateAsset'
+    UpdateCatalog = 'UpdateCatalog'
+    UpdateChannel = 'UpdateChannel'
+    UpdateCollection = 'UpdateCollection'
+    UpdateCountry = 'UpdateCountry'
+    UpdateCustomer = 'UpdateCustomer'
+    UpdateCustomerGroup = 'UpdateCustomerGroup'
+    UpdateFacet = 'UpdateFacet'
+    UpdateGlobalSettings = 'UpdateGlobalSettings'
+    UpdateOrder = 'UpdateOrder'
+    UpdatePaymentMethod = 'UpdatePaymentMethod'
+    UpdateProduct = 'UpdateProduct'
+    UpdatePromotion = 'UpdatePromotion'
+    UpdateSeller = 'UpdateSeller'
+    UpdateSettings = 'UpdateSettings'
+    UpdateShippingMethod = 'UpdateShippingMethod'
+    UpdateStockLocation = 'UpdateStockLocation'
+    UpdateSystem = 'UpdateSystem'
+    UpdateTag = 'UpdateTag'
+    UpdateTaxCategory = 'UpdateTaxCategory'
+    UpdateTaxRate = 'UpdateTaxRate'
+    UpdateZone = 'UpdateZone'
 }
 ```

+ 2 - 2
docs/docs/reference/typescript-api/common/price-calculation-result.md

@@ -19,8 +19,8 @@ The result of the price calculation from the <a href='/reference/typescript-api/
 
 ```ts title="Signature"
 type PriceCalculationResult = {
-  price: number;
-  priceIncludesTax: boolean;
+    price: number;
+    priceIncludesTax: boolean;
 }
 ```
 

+ 2 - 2
docs/docs/reference/typescript-api/common/process-context.md

@@ -38,8 +38,8 @@ export class MyService implements OnApplicationBootstrap {
 
 ```ts title="Signature"
 class ProcessContext {
-  isServer: boolean
-  isWorker: boolean
+    isServer: boolean
+    isWorker: boolean
 }
 ```
 

+ 1 - 1
docs/docs/reference/typescript-api/configurable-operation-def/config-args.md

@@ -78,7 +78,7 @@ which is exported from `@vendure/admin-ui/core`.
 
 ```ts title="Signature"
 type ConfigArgs = {
-  [name: string]: ConfigArgDef<ConfigArgType>;
+    [name: string]: ConfigArgDef<ConfigArgType>;
 }
 ```
 

+ 3 - 3
docs/docs/reference/typescript-api/configurable-operation-def/configurable-operation-def-options.md

@@ -19,9 +19,9 @@ Common configuration options used when creating a new instance of a
 
 ```ts title="Signature"
 interface ConfigurableOperationDefOptions<T extends ConfigArgs> extends InjectableStrategy {
-  code: string;
-  args: T;
-  description: LocalizedStringArray;
+    code: string;
+    args: T;
+    description: LocalizedStringArray;
 }
 ```
 * Extends: <code><a href='/reference/typescript-api/common/injectable-strategy#injectablestrategy'>InjectableStrategy</a></code>

+ 17 - 17
docs/docs/reference/typescript-api/configurable-operation-def/default-form-config-hash.md

@@ -18,29 +18,29 @@ Used to define the expected arguments for a given default form input component.
 
 ```ts title="Signature"
 type DefaultFormConfigHash = {
-  'boolean-form-input': Record<string, never>;
-  'currency-form-input': Record<string, never>;
-  'customer-group-form-input': Record<string, never>;
-  'date-form-input': { min?: string; max?: string; yearRange?: number };
-  'facet-value-form-input': Record<string, never>;
-  'json-editor-form-input': { height?: string };
-  'html-editor-form-input': { height?: string };
-  'number-form-input': { min?: number; max?: number; step?: number; prefix?: string; suffix?: string };
-  'password-form-input': Record<string, never>;
-  'product-selector-form-input': Record<string, never>;
-  'relation-form-input': Record<string, never>;
-  'rich-text-form-input': Record<string, never>;
-  'select-form-input': {
+    'boolean-form-input': Record<string, never>;
+    'currency-form-input': Record<string, never>;
+    'customer-group-form-input': Record<string, never>;
+    'date-form-input': { min?: string; max?: string; yearRange?: number };
+    'facet-value-form-input': Record<string, never>;
+    'json-editor-form-input': { height?: string };
+    'html-editor-form-input': { height?: string };
+    'number-form-input': { min?: number; max?: number; step?: number; prefix?: string; suffix?: string };
+    'password-form-input': Record<string, never>;
+    'product-selector-form-input': Record<string, never>;
+    'relation-form-input': Record<string, never>;
+    'rich-text-form-input': Record<string, never>;
+    'select-form-input': {
         options?: Array<{ value: string; label?: Array<Omit<LocalizedString, '__typename'>> }>;
     };
-  'text-form-input': { prefix?: string; suffix?: string };
-  'textarea-form-input': {
+    'text-form-input': { prefix?: string; suffix?: string };
+    'textarea-form-input': {
         spellcheck?: boolean;
     };
-  'product-multi-form-input': {
+    'product-multi-form-input': {
         selectionMode?: 'product' | 'variant';
     };
-  'combination-mode-form-input': Record<string, never>;
+    'combination-mode-form-input': Record<string, never>;
 }
 ```
 

+ 8 - 8
docs/docs/reference/typescript-api/configurable-operation-def/index.md

@@ -89,14 +89,14 @@ export const customShippingCalculator = new ShippingCalculator({
 
 ```ts title="Signature"
 class ConfigurableOperationDef<T extends ConfigArgs = ConfigArgs> {
-  code: string
-  args: T
-  description: LocalizedStringArray
-  constructor(options: ConfigurableOperationDefOptions<T>)
-  async init(injector: Injector) => ;
-  async destroy() => ;
-  toGraphQlType(ctx: RequestContext) => ConfigurableOperationDefinition;
-  protected argsArrayToHash(args: ConfigArg[]) => ConfigArgValues<T>;
+    code: string
+    args: T
+    description: LocalizedStringArray
+    constructor(options: ConfigurableOperationDefOptions<T>)
+    init(injector: Injector) => ;
+    destroy() => ;
+    toGraphQlType(ctx: RequestContext) => ConfigurableOperationDefinition;
+    argsArrayToHash(args: ConfigArg[]) => ConfigArgValues<T>;
 }
 ```
 

+ 17 - 17
docs/docs/reference/typescript-api/configuration/api-options.md

@@ -19,23 +19,23 @@ to be extended with middleware.
 
 ```ts title="Signature"
 interface ApiOptions {
-  hostname?: string;
-  port: number;
-  adminApiPath?: string;
-  shopApiPath?: string;
-  adminApiPlayground?: boolean | any;
-  shopApiPlayground?: boolean | any;
-  adminApiDebug?: boolean;
-  shopApiDebug?: boolean;
-  shopListQueryLimit?: number;
-  adminListQueryLimit?: number;
-  adminApiValidationRules?: Array<(context: ValidationContext) => any>;
-  shopApiValidationRules?: Array<(context: ValidationContext) => any>;
-  channelTokenKey?: string;
-  cors?: boolean | CorsOptions;
-  middleware?: Middleware[];
-  apolloServerPlugins?: PluginDefinition[];
-  introspection?: boolean;
+    hostname?: string;
+    port: number;
+    adminApiPath?: string;
+    shopApiPath?: string;
+    adminApiPlayground?: boolean | any;
+    shopApiPlayground?: boolean | any;
+    adminApiDebug?: boolean;
+    shopApiDebug?: boolean;
+    shopListQueryLimit?: number;
+    adminListQueryLimit?: number;
+    adminApiValidationRules?: Array<(context: ValidationContext) => any>;
+    shopApiValidationRules?: Array<(context: ValidationContext) => any>;
+    channelTokenKey?: string;
+    cors?: boolean | CorsOptions;
+    middleware?: Middleware[];
+    apolloServerPlugins?: PluginDefinition[];
+    introspection?: boolean;
 }
 ```
 

+ 2 - 2
docs/docs/reference/typescript-api/configuration/collection-filter.md

@@ -56,8 +56,8 @@ export const skuCollectionFilter = new CollectionFilter({
 
 ```ts title="Signature"
 class CollectionFilter<T extends ConfigArgs = ConfigArgs> extends ConfigurableOperationDef<T> {
-  constructor(config: CollectionFilterConfig<T>)
-  apply(qb: SelectQueryBuilder<ProductVariant>, args: ConfigArg[]) => SelectQueryBuilder<ProductVariant>;
+    constructor(config: CollectionFilterConfig<T>)
+    apply(qb: SelectQueryBuilder<ProductVariant>, args: ConfigArg[]) => SelectQueryBuilder<ProductVariant>;
 }
 ```
 * Extends: <code><a href='/reference/typescript-api/configurable-operation-def/#configurableoperationdef'>ConfigurableOperationDef</a>&#60;T&#62;</code>

+ 9 - 9
docs/docs/reference/typescript-api/configuration/entity-id-strategy.md

@@ -19,9 +19,9 @@ for all entities. This is the default strategy used by Vendure.
 
 ```ts title="Signature"
 class AutoIncrementIdStrategy implements EntityIdStrategy<'increment'> {
-  readonly readonly primaryKeyType = 'increment';
-  decodeId(id: string) => number;
-  encodeId(primaryKey: number) => string;
+    readonly primaryKeyType = 'increment';
+    decodeId(id: string) => number;
+    encodeId(primaryKey: number) => string;
 }
 ```
 * Implements: <code><a href='/reference/typescript-api/configuration/entity-id-strategy#entityidstrategy'>EntityIdStrategy</a>&#60;'increment'&#62;</code>
@@ -78,9 +78,9 @@ a fresh database.
 
 ```ts title="Signature"
 interface EntityIdStrategy<T extends 'increment' | 'uuid'> extends InjectableStrategy {
-  readonly primaryKeyType: T;
-  encodeId: (primaryKey: PrimaryKeyType<T>) => string;
-  decodeId: (id: string) => PrimaryKeyType<T>;
+    readonly primaryKeyType: T;
+    encodeId: (primaryKey: PrimaryKeyType<T>) => string;
+    decodeId: (id: string) => PrimaryKeyType<T>;
 }
 ```
 * Extends: <code><a href='/reference/typescript-api/common/injectable-strategy#injectablestrategy'>InjectableStrategy</a></code>
@@ -142,9 +142,9 @@ export const config: VendureConfig = {
 
 ```ts title="Signature"
 class UuidIdStrategy implements EntityIdStrategy<'uuid'> {
-  readonly readonly primaryKeyType = 'uuid';
-  decodeId(id: string) => string;
-  encodeId(primaryKey: string) => string;
+    readonly primaryKeyType = 'uuid';
+    decodeId(id: string) => string;
+    encodeId(primaryKey: string) => string;
 }
 ```
 * Implements: <code><a href='/reference/typescript-api/configuration/entity-id-strategy#entityidstrategy'>EntityIdStrategy</a>&#60;'uuid'&#62;</code>

+ 6 - 6
docs/docs/reference/typescript-api/configuration/entity-options.md

@@ -18,12 +18,12 @@ Options relating to the internal handling of entities.
 
 ```ts title="Signature"
 interface EntityOptions {
-  entityIdStrategy?: EntityIdStrategy<any>;
-  moneyStrategy?: MoneyStrategy;
-  channelCacheTtl?: number;
-  zoneCacheTtl?: number;
-  taxRateCacheTtl?: number;
-  metadataModifiers?: EntityMetadataModifier[];
+    entityIdStrategy?: EntityIdStrategy<any>;
+    moneyStrategy?: MoneyStrategy;
+    channelCacheTtl?: number;
+    zoneCacheTtl?: number;
+    taxRateCacheTtl?: number;
+    metadataModifiers?: EntityMetadataModifier[];
 }
 ```
 

+ 2 - 2
docs/docs/reference/typescript-api/configuration/product-variant-price-selection-strategy.md

@@ -25,7 +25,7 @@ your VendureConfig.
 
 ```ts title="Signature"
 interface ProductVariantPriceSelectionStrategy extends InjectableStrategy {
-  selectPrice(
+    selectPrice(
         ctx: RequestContext,
         prices: ProductVariantPrice[],
     ): ProductVariantPrice | undefined | Promise<ProductVariantPrice | undefined>;
@@ -57,7 +57,7 @@ selects the first price which matches the current currency.
 
 ```ts title="Signature"
 class DefaultProductVariantPriceSelectionStrategy implements ProductVariantPriceSelectionStrategy {
-  selectPrice(ctx: RequestContext, prices: ProductVariantPrice[]) => ;
+    selectPrice(ctx: RequestContext, prices: ProductVariantPrice[]) => ;
 }
 ```
 * Implements: <code><a href='/reference/typescript-api/configuration/product-variant-price-selection-strategy#productvariantpriceselectionstrategy'>ProductVariantPriceSelectionStrategy</a></code>

+ 13 - 13
docs/docs/reference/typescript-api/configuration/runtime-vendure-config.md

@@ -19,19 +19,19 @@ config values have been merged with the <a href='/reference/typescript-api/confi
 
 ```ts title="Signature"
 interface RuntimeVendureConfig extends Required<VendureConfig> {
-  apiOptions: Required<ApiOptions>;
-  assetOptions: Required<AssetOptions>;
-  authOptions: Required<AuthOptions>;
-  catalogOptions: Required<CatalogOptions>;
-  customFields: Required<CustomFields>;
-  entityOptions: Required<Omit<EntityOptions, 'entityIdStrategy'>> & EntityOptions;
-  importExportOptions: Required<ImportExportOptions>;
-  jobQueueOptions: Required<JobQueueOptions>;
-  orderOptions: Required<OrderOptions>;
-  promotionOptions: Required<PromotionOptions>;
-  shippingOptions: Required<ShippingOptions>;
-  taxOptions: Required<TaxOptions>;
-  systemOptions: Required<SystemOptions>;
+    apiOptions: Required<ApiOptions>;
+    assetOptions: Required<AssetOptions>;
+    authOptions: Required<AuthOptions>;
+    catalogOptions: Required<CatalogOptions>;
+    customFields: Required<CustomFields>;
+    entityOptions: Required<Omit<EntityOptions, 'entityIdStrategy'>> & EntityOptions;
+    importExportOptions: Required<ImportExportOptions>;
+    jobQueueOptions: Required<JobQueueOptions>;
+    orderOptions: Required<OrderOptions>;
+    promotionOptions: Required<PromotionOptions>;
+    shippingOptions: Required<ShippingOptions>;
+    taxOptions: Required<TaxOptions>;
+    systemOptions: Required<SystemOptions>;
 }
 ```
 * Extends: <code>Required&#60;<a href='/reference/typescript-api/configuration/vendure-config#vendureconfig'>VendureConfig</a>&#62;</code>

+ 1 - 1
docs/docs/reference/typescript-api/configuration/system-options.md

@@ -18,7 +18,7 @@ Options relating to system functions.
 
 ```ts title="Signature"
 interface SystemOptions {
-  healthChecks?: HealthCheckStrategy[];
+    healthChecks?: HealthCheckStrategy[];
 }
 ```
 

+ 20 - 20
docs/docs/reference/typescript-api/configuration/vendure-config.md

@@ -19,26 +19,26 @@ All possible configuration options are defined by the
 
 ```ts title="Signature"
 interface VendureConfig {
-  apiOptions: ApiOptions;
-  assetOptions?: AssetOptions;
-  authOptions: AuthOptions;
-  catalogOptions?: CatalogOptions;
-  customFields?: CustomFields;
-  dbConnectionOptions: DataSourceOptions;
-  defaultChannelToken?: string | null;
-  defaultLanguageCode?: LanguageCode;
-  entityIdStrategy?: EntityIdStrategy<any>;
-  entityOptions?: EntityOptions;
-  importExportOptions?: ImportExportOptions;
-  orderOptions?: OrderOptions;
-  paymentOptions: PaymentOptions;
-  plugins?: Array<DynamicModule | Type<any>>;
-  promotionOptions?: PromotionOptions;
-  shippingOptions?: ShippingOptions;
-  logger?: VendureLogger;
-  taxOptions?: TaxOptions;
-  jobQueueOptions?: JobQueueOptions;
-  systemOptions?: SystemOptions;
+    apiOptions: ApiOptions;
+    assetOptions?: AssetOptions;
+    authOptions: AuthOptions;
+    catalogOptions?: CatalogOptions;
+    customFields?: CustomFields;
+    dbConnectionOptions: DataSourceOptions;
+    defaultChannelToken?: string | null;
+    defaultLanguageCode?: LanguageCode;
+    entityIdStrategy?: EntityIdStrategy<any>;
+    entityOptions?: EntityOptions;
+    importExportOptions?: ImportExportOptions;
+    orderOptions?: OrderOptions;
+    paymentOptions: PaymentOptions;
+    plugins?: Array<DynamicModule | Type<any>>;
+    promotionOptions?: PromotionOptions;
+    shippingOptions?: ShippingOptions;
+    logger?: VendureLogger;
+    taxOptions?: TaxOptions;
+    jobQueueOptions?: JobQueueOptions;
+    systemOptions?: SystemOptions;
 }
 ```
 

+ 3 - 3
docs/docs/reference/typescript-api/core-plugins/admin-ui-plugin/admin-ui-app-config.md

@@ -18,9 +18,9 @@ Configures the path to a custom-build of the Admin UI app.
 
 ```ts title="Signature"
 interface AdminUiAppConfig {
-  path: string;
-  route?: string;
-  compile?: () => Promise<void>;
+    path: string;
+    route?: string;
+    compile?: () => Promise<void>;
 }
 ```
 

+ 4 - 4
docs/docs/reference/typescript-api/core-plugins/admin-ui-plugin/admin-ui-app-dev-mode-config.md

@@ -18,10 +18,10 @@ Information about the Admin UI app dev server.
 
 ```ts title="Signature"
 interface AdminUiAppDevModeConfig {
-  sourcePath: string;
-  port: number;
-  route?: string;
-  compile: () => Promise<void>;
+    sourcePath: string;
+    port: number;
+    route?: string;
+    compile: () => Promise<void>;
 }
 ```
 

+ 15 - 15
docs/docs/reference/typescript-api/core-plugins/admin-ui-plugin/admin-ui-config.md

@@ -20,21 +20,21 @@ managed without the need to re-build the application.
 
 ```ts title="Signature"
 interface AdminUiConfig {
-  apiHost: string | 'auto';
-  apiPort: number | 'auto';
-  adminApiPath: string;
-  tokenMethod: 'cookie' | 'bearer';
-  authTokenHeaderKey: string;
-  channelTokenKey: string;
-  defaultLanguage: LanguageCode;
-  defaultLocale?: string;
-  availableLanguages: LanguageCode[];
-  loginUrl?: string;
-  brand?: string;
-  hideVendureBranding?: boolean;
-  hideVersion?: boolean;
-  loginImageUrl?: string;
-  cancellationReasons?: string[];
+    apiHost: string | 'auto';
+    apiPort: number | 'auto';
+    adminApiPath: string;
+    tokenMethod: 'cookie' | 'bearer';
+    authTokenHeaderKey: string;
+    channelTokenKey: string;
+    defaultLanguage: LanguageCode;
+    defaultLocale?: string;
+    availableLanguages: LanguageCode[];
+    loginUrl?: string;
+    brand?: string;
+    hideVendureBranding?: boolean;
+    hideVersion?: boolean;
+    loginImageUrl?: string;
+    cancellationReasons?: string[];
 }
 ```
 

+ 5 - 5
docs/docs/reference/typescript-api/core-plugins/admin-ui-plugin/admin-ui-plugin-options.md

@@ -18,11 +18,11 @@ Configuration options for the <a href='/reference/typescript-api/core-plugins/ad
 
 ```ts title="Signature"
 interface AdminUiPluginOptions {
-  route: string;
-  port: number;
-  hostname?: string;
-  app?: AdminUiAppConfig | AdminUiAppDevModeConfig;
-  adminUiConfig?: Partial<AdminUiConfig>;
+    route: string;
+    port: number;
+    hostname?: string;
+    app?: AdminUiAppConfig | AdminUiAppDevModeConfig;
+    adminUiConfig?: Partial<AdminUiConfig>;
 }
 ```
 

+ 3 - 3
docs/docs/reference/typescript-api/core-plugins/admin-ui-plugin/index.md

@@ -62,9 +62,9 @@ const config: VendureConfig = {
 
 ```ts title="Signature"
 class AdminUiPlugin implements NestModule {
-  constructor(configService: ConfigService, processContext: ProcessContext)
-  static init(options: AdminUiPluginOptions) => Type<AdminUiPlugin>;
-  async configure(consumer: MiddlewareConsumer) => ;
+    constructor(configService: ConfigService, processContext: ProcessContext)
+    init(options: AdminUiPluginOptions) => Type<AdminUiPlugin>;
+    configure(consumer: MiddlewareConsumer) => ;
 }
 ```
 * Implements: <code>NestModule</code>

+ 10 - 10
docs/docs/reference/typescript-api/core-plugins/asset-server-plugin/asset-server-options.md

@@ -18,18 +18,18 @@ The configuration options for the AssetServerPlugin.
 
 ```ts title="Signature"
 interface AssetServerOptions {
-  route: string;
-  assetUploadDir: string;
-  assetUrlPrefix?: string | ((ctx: RequestContext, identifier: string) => string);
-  previewMaxWidth?: number;
-  previewMaxHeight?: number;
-  presets?: ImageTransformPreset[];
-  namingStrategy?: AssetNamingStrategy;
-  previewStrategy?: AssetPreviewStrategy;
-  storageStrategyFactory?: (
+    route: string;
+    assetUploadDir: string;
+    assetUrlPrefix?: string | ((ctx: RequestContext, identifier: string) => string);
+    previewMaxWidth?: number;
+    previewMaxHeight?: number;
+    presets?: ImageTransformPreset[];
+    namingStrategy?: AssetNamingStrategy;
+    previewStrategy?: AssetPreviewStrategy;
+    storageStrategyFactory?: (
         options: AssetServerOptions,
     ) => AssetStorageStrategy | Promise<AssetStorageStrategy>;
-  cacheHeader?: CacheConfig | string;
+    cacheHeader?: CacheConfig | string;
 }
 ```
 

+ 2 - 2
docs/docs/reference/typescript-api/core-plugins/asset-server-plugin/cache-config.md

@@ -18,8 +18,8 @@ A configuration option for the Cache-Control header in the AssetServerPlugin ass
 
 ```ts title="Signature"
 type CacheConfig = {
-  maxAge: number;
-  restriction?: 'public' | 'private';
+    maxAge: number;
+    restriction?: 'public' | 'private';
 }
 ```
 

Některé soubory nejsou zobrazeny, neboť je v těchto rozdílových datech změněno mnoho souborů