@hot-updater/aws 0.17.0 → 0.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -1,16 +1,21 @@
1
- import * as _hot_updater_plugin_core from '@hot-updater/plugin-core';
2
- import { DatabasePluginHooks, StoragePluginHooks, BasePluginArgs, StoragePlugin } from '@hot-updater/plugin-core';
3
- import { S3ClientConfig } from '@aws-sdk/client-s3';
1
+ import * as _hot_updater_plugin_core0 from "@hot-updater/plugin-core";
2
+ import { BasePluginArgs, DatabasePluginHooks, StoragePlugin, StoragePluginHooks } from "@hot-updater/plugin-core";
3
+ import { S3ClientConfig } from "@aws-sdk/client-s3";
4
4
 
5
+ //#region src/s3Database.d.ts
5
6
  interface S3DatabaseConfig extends S3ClientConfig {
6
- bucketName: string;
7
- cloudfrontDistributionId: string;
7
+ bucketName: string;
8
+ cloudfrontDistributionId: string;
9
+ apiBasePath?: string;
8
10
  }
9
- declare const s3Database: (config: S3DatabaseConfig, hooks?: DatabasePluginHooks) => (options: _hot_updater_plugin_core.BasePluginArgs) => _hot_updater_plugin_core.DatabasePlugin;
11
+ declare const s3Database: (config: S3DatabaseConfig, hooks?: DatabasePluginHooks) => (options: _hot_updater_plugin_core0.BasePluginArgs) => _hot_updater_plugin_core0.DatabasePlugin;
10
12
 
13
+ //#endregion
14
+ //#region src/s3Storage.d.ts
11
15
  interface S3StorageConfig extends S3ClientConfig {
12
- bucketName: string;
16
+ bucketName: string;
13
17
  }
14
18
  declare const s3Storage: (config: S3StorageConfig, hooks?: StoragePluginHooks) => (_: BasePluginArgs) => StoragePlugin;
15
19
 
16
- export { type S3DatabaseConfig, type S3StorageConfig, s3Database, s3Storage };
20
+ //#endregion
21
+ export { S3DatabaseConfig, S3StorageConfig, s3Database, s3Storage };
package/dist/index.d.ts CHANGED
@@ -1,16 +1,21 @@
1
- import * as _hot_updater_plugin_core from '@hot-updater/plugin-core';
2
- import { DatabasePluginHooks, StoragePluginHooks, BasePluginArgs, StoragePlugin } from '@hot-updater/plugin-core';
3
- import { S3ClientConfig } from '@aws-sdk/client-s3';
1
+ import { S3ClientConfig } from "@aws-sdk/client-s3";
2
+ import * as _hot_updater_plugin_core0 from "@hot-updater/plugin-core";
3
+ import { BasePluginArgs, DatabasePluginHooks, StoragePlugin, StoragePluginHooks } from "@hot-updater/plugin-core";
4
4
 
5
+ //#region src/s3Database.d.ts
5
6
  interface S3DatabaseConfig extends S3ClientConfig {
6
- bucketName: string;
7
- cloudfrontDistributionId: string;
7
+ bucketName: string;
8
+ cloudfrontDistributionId: string;
9
+ apiBasePath?: string;
8
10
  }
9
- declare const s3Database: (config: S3DatabaseConfig, hooks?: DatabasePluginHooks) => (options: _hot_updater_plugin_core.BasePluginArgs) => _hot_updater_plugin_core.DatabasePlugin;
11
+ declare const s3Database: (config: S3DatabaseConfig, hooks?: DatabasePluginHooks) => (options: _hot_updater_plugin_core0.BasePluginArgs) => _hot_updater_plugin_core0.DatabasePlugin;
10
12
 
13
+ //#endregion
14
+ //#region src/s3Storage.d.ts
11
15
  interface S3StorageConfig extends S3ClientConfig {
12
- bucketName: string;
16
+ bucketName: string;
13
17
  }
14
18
  declare const s3Storage: (config: S3StorageConfig, hooks?: StoragePluginHooks) => (_: BasePluginArgs) => StoragePlugin;
15
19
 
16
- export { type S3DatabaseConfig, type S3StorageConfig, s3Database, s3Storage };
20
+ //#endregion
21
+ export { S3DatabaseConfig, S3StorageConfig, s3Database, s3Storage };