@adminforth/upload 2.1.1 → 2.2.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.
@@ -15,8 +15,6 @@ steps:
15
15
  from_secret: VAULT_TOKEN
16
16
  commands:
17
17
  - infisical export --domain https://vault.devforth.io/api --format=dotenv-export --env="prod" > /woodpecker/deploy.vault.env
18
- secrets:
19
- - VAULT_TOKEN
20
18
 
21
19
  release:
22
20
  image: node:20
package/dist/index.js CHANGED
@@ -271,8 +271,10 @@ export default class UploadPlugin extends AdminForthPlugin {
271
271
  else {
272
272
  previewUrl = yield this.options.storageAdapter.getDownloadUrl(filePath, 1800);
273
273
  }
274
+ const tagline = `${ADMINFORTH_NOT_YET_USED_TAG}=true`;
274
275
  return {
275
276
  uploadUrl,
277
+ tagline,
276
278
  filePath,
277
279
  uploadExtraParams,
278
280
  previewUrl,
package/index.ts CHANGED
@@ -307,9 +307,11 @@ export default class UploadPlugin extends AdminForthPlugin {
307
307
  } else {
308
308
  previewUrl = await this.options.storageAdapter.getDownloadUrl(filePath, 1800);
309
309
  }
310
+ const tagline = `${ADMINFORTH_NOT_YET_USED_TAG}=true`;
310
311
 
311
312
  return {
312
313
  uploadUrl,
314
+ tagline,
313
315
  filePath,
314
316
  uploadExtraParams,
315
317
  previewUrl,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminforth/upload",
3
- "version": "2.1.1",
3
+ "version": "2.2.0",
4
4
  "description": "Plugin for uploading files for adminforth",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",