@adminforth/upload 1.4.2 → 1.4.3
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.js +1 -0
- package/index.ts +1 -0
- package/package.json +1 -1
- package/types.ts +4 -0
package/dist/index.js
CHANGED
|
@@ -469,6 +469,7 @@ getBucketLifecycleConfiguration on bucket ${this.options.s3Bucket} in region ${t
|
|
|
469
469
|
prompt,
|
|
470
470
|
inputFiles: attachmentFiles,
|
|
471
471
|
n: 1,
|
|
472
|
+
size: this.options.generation.outputSize,
|
|
472
473
|
});
|
|
473
474
|
if (resp.error) {
|
|
474
475
|
console.error('Error generating image', resp.error);
|
package/index.ts
CHANGED
package/package.json
CHANGED
package/types.ts
CHANGED
|
@@ -118,6 +118,10 @@ export type PluginOptions = {
|
|
|
118
118
|
generation?: {
|
|
119
119
|
adapter: ImageGenerationAdapter,
|
|
120
120
|
|
|
121
|
+
/**
|
|
122
|
+
* The size of the generated image.
|
|
123
|
+
*/
|
|
124
|
+
outputSize?: string,
|
|
121
125
|
|
|
122
126
|
/**
|
|
123
127
|
* Fields for conetext which will be used to generate the image.
|