@uniformdev/files
Advanced tools
+0
-5
@@ -313,6 +313,2 @@ import { ApiClient, ClientOptions } from '@uniformdev/context/api'; | ||
| }>; | ||
| remove(options: WithoutProjectId<FileDeleteRequest>): Promise<{ | ||
| id: string; | ||
| }>; | ||
| /** @deprecated Use {@link remove} instead. */ | ||
| delete(options: FileDeleteRequest): Promise<{ | ||
@@ -337,3 +333,2 @@ id: string; | ||
| } | ||
| /** @deprecated Pass `bypassCache: true` to {@link FileClient} instead. */ | ||
| declare class UncachedFileClient extends FileClient { | ||
@@ -340,0 +335,0 @@ constructor(options: Omit<ClientOptions & { |
+0
-5
@@ -313,6 +313,2 @@ import { ApiClient, ClientOptions } from '@uniformdev/context/api'; | ||
| }>; | ||
| remove(options: WithoutProjectId<FileDeleteRequest>): Promise<{ | ||
| id: string; | ||
| }>; | ||
| /** @deprecated Use {@link remove} instead. */ | ||
| delete(options: FileDeleteRequest): Promise<{ | ||
@@ -337,3 +333,2 @@ id: string; | ||
| } | ||
| /** @deprecated Pass `bypassCache: true` to {@link FileClient} instead. */ | ||
| declare class UncachedFileClient extends FileClient { | ||
@@ -340,0 +335,0 @@ constructor(options: Omit<ClientOptions & { |
@@ -24,3 +24,3 @@ // src/FileClient.ts | ||
| } | ||
| async remove(options) { | ||
| async delete(options) { | ||
| const { projectId } = this.options; | ||
@@ -33,6 +33,2 @@ const fetchUri = this.createUrl(FILE_BASE_PATH); | ||
| } | ||
| /** @deprecated Use {@link remove} instead. */ | ||
| async delete(options) { | ||
| return this.remove(options); | ||
| } | ||
| /** | ||
@@ -39,0 +35,0 @@ * Replaces the contents behind an existing file while preserving its URL. |
+1
-5
@@ -65,3 +65,3 @@ "use strict"; | ||
| } | ||
| async remove(options) { | ||
| async delete(options) { | ||
| const { projectId } = this.options; | ||
@@ -74,6 +74,2 @@ const fetchUri = this.createUrl(FILE_BASE_PATH); | ||
| } | ||
| /** @deprecated Use {@link remove} instead. */ | ||
| async delete(options) { | ||
| return this.remove(options); | ||
| } | ||
| /** | ||
@@ -80,0 +76,0 @@ * Replaces the contents behind an existing file while preserving its URL. |
+1
-5
@@ -24,3 +24,3 @@ // src/FileClient.ts | ||
| } | ||
| async remove(options) { | ||
| async delete(options) { | ||
| const { projectId } = this.options; | ||
@@ -33,6 +33,2 @@ const fetchUri = this.createUrl(FILE_BASE_PATH); | ||
| } | ||
| /** @deprecated Use {@link remove} instead. */ | ||
| async delete(options) { | ||
| return this.remove(options); | ||
| } | ||
| /** | ||
@@ -39,0 +35,0 @@ * Replaces the contents behind an existing file while preserving its URL. |
+3
-3
| { | ||
| "name": "@uniformdev/files", | ||
| "version": "20.50.2-alpha.167+74e60d5bb7", | ||
| "version": "20.50.2-alpha.180+0be2307590", | ||
| "description": "Uniform Files helpers", | ||
@@ -38,5 +38,5 @@ "license": "SEE LICENSE IN LICENSE.txt", | ||
| "dependencies": { | ||
| "@uniformdev/context": "20.50.2-alpha.167+74e60d5bb7" | ||
| "@uniformdev/context": "20.50.2-alpha.180+0be2307590" | ||
| }, | ||
| "gitHead": "74e60d5bb79fe1c4d446e4d3e6edf9f08850be4f" | ||
| "gitHead": "0be23075901a6fd0acd8166a2bea65fbd5589789" | ||
| } |
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
40559
-1.89%771
-2.16%