|
@@ -66,6 +66,11 @@ export interface S3Config {
|
|
|
*
|
|
*
|
|
|
* @example
|
|
* @example
|
|
|
* ```TypeScript
|
|
* ```TypeScript
|
|
|
|
|
+ * import { AssetServerPlugin, configureS3AssetStorage } from '\@vendure/asset-server-plugin';
|
|
|
|
|
+ * import { DefaultAssetNamingStrategy } from '\@vendure/core';
|
|
|
|
|
+ *
|
|
|
|
|
+ * // ...
|
|
|
|
|
+ *
|
|
|
* plugins: [
|
|
* plugins: [
|
|
|
* AssetServerPlugin.init({
|
|
* AssetServerPlugin.init({
|
|
|
* route: 'assets',
|
|
* route: 'assets',
|
|
@@ -88,6 +93,11 @@ export interface S3Config {
|
|
|
*
|
|
*
|
|
|
* @example
|
|
* @example
|
|
|
* ```TypeScript
|
|
* ```TypeScript
|
|
|
|
|
+ * import { AssetServerPlugin, configureS3AssetStorage } from '\@vendure/asset-server-plugin';
|
|
|
|
|
+ * import { DefaultAssetNamingStrategy } from '\@vendure/core';
|
|
|
|
|
+ *
|
|
|
|
|
+ * // ...
|
|
|
|
|
+ *
|
|
|
* plugins: [
|
|
* plugins: [
|
|
|
* AssetServerPlugin.init({
|
|
* AssetServerPlugin.init({
|
|
|
* route: 'assets',
|
|
* route: 'assets',
|