Ver Fonte

Merge branch 'minor' into major

Michael Bromley há 2 anos atrás
pai
commit
72c62019ab

+ 8 - 5
docs/content/plugins/extending-the-admin-ui/custom-detail-components/_index.md

@@ -48,11 +48,14 @@ export class ProductInfoComponent implements CustomDetailComponent, OnInit {
 }
 
 @NgModule({
-    imports: [SharedModule],
-    declarations: [ProductInfoComponent],
-    providers: [
-        registerCustomDetailComponent('product-detail', ProductInfoComponent),
-    ]
+  imports: [SharedModule],
+  declarations: [ProductInfoComponent],
+  providers: [
+    registerCustomDetailComponent({
+      locationId: 'product-detail',
+      component: ProductInfoComponent,
+    }),
+  ]
 })
 export class SharedExtensionModule {}
 ```

+ 2 - 0
packages/asset-server-plugin/src/plugin.ts

@@ -319,6 +319,8 @@ export class AssetServerPlugin implements NestModule, OnApplicationBootstrap {
             if (this.presets && !!this.presets.find(p => p.name === preset)) {
                 imageParamHash = this.md5(`_transform_pre_${preset}${focalPoint}${imageFormat}`);
             }
+        } else if (imageFormat) {
+            imageParamHash = this.md5(`_transform_${imageFormat}`);
         }
         /* eslint-enable @typescript-eslint/restrict-template-expressions */
 

+ 1 - 1
packages/core/src/plugin/default-job-queue-plugin/default-job-queue-plugin.ts

@@ -25,7 +25,7 @@ export interface DefaultJobQueueOptions {
      * are active, the polling may cause undue load on the database, in which case this value
      * should be increased to e.g. 1000.
      *
-     * @description 200
+     * @default 200
      */
     pollInterval?: number | ((queueName: string) => number);
     /**