@bagelink/sdk 1.1.33 → 1.1.35-beta.2
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.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/index.ts +1 -1
- package/src/openAPITools/functionGenerator.ts +1 -1
package/dist/index.cjs
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -105,7 +105,7 @@ declare class Bagel {
|
|
|
105
105
|
post(endpoint: string, payload?: any): Promise<{
|
|
106
106
|
[key: string]: any;
|
|
107
107
|
}>;
|
|
108
|
-
uploadFile<T
|
|
108
|
+
uploadFile<T>(file: File, options?: UploadOptions): Promise<T>;
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
export { Bagel, type TableToTypeMapping, type Tables, type UploadOptions, type User, formatAPIErrorMessage, _default as openAPI };
|
package/dist/index.d.mts
CHANGED
|
@@ -105,7 +105,7 @@ declare class Bagel {
|
|
|
105
105
|
post(endpoint: string, payload?: any): Promise<{
|
|
106
106
|
[key: string]: any;
|
|
107
107
|
}>;
|
|
108
|
-
uploadFile<T
|
|
108
|
+
uploadFile<T>(file: File, options?: UploadOptions): Promise<T>;
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
export { Bagel, type TableToTypeMapping, type Tables, type UploadOptions, type User, formatAPIErrorMessage, _default as openAPI };
|
package/dist/index.d.ts
CHANGED
|
@@ -105,7 +105,7 @@ declare class Bagel {
|
|
|
105
105
|
post(endpoint: string, payload?: any): Promise<{
|
|
106
106
|
[key: string]: any;
|
|
107
107
|
}>;
|
|
108
|
-
uploadFile<T
|
|
108
|
+
uploadFile<T>(file: File, options?: UploadOptions): Promise<T>;
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
export { Bagel, type TableToTypeMapping, type Tables, type UploadOptions, type User, formatAPIErrorMessage, _default as openAPI };
|
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -316,7 +316,7 @@ export class Bagel {
|
|
|
316
316
|
})
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
async uploadFile<T
|
|
319
|
+
async uploadFile<T>(file: File, options?: UploadOptions): Promise<T> {
|
|
320
320
|
this._setAuthorization()
|
|
321
321
|
const formData = new FormData()
|
|
322
322
|
formData.append('file', file)
|