@bagelink/vue 1.7.29 → 1.7.33
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/package.json
CHANGED
|
@@ -72,7 +72,7 @@ function fileName(pathKey: string) {
|
|
|
72
72
|
<label v-if="label">{{ label }}</label>
|
|
73
73
|
<input v-if="required && !pathKeys.length" placeholder="required" type="text" required class="pixel">
|
|
74
74
|
<Card
|
|
75
|
-
v-if="theme === 'basic'" outline class="flex p-05 gap-1" @dragover="(e) => handleDrag(e, true)"
|
|
75
|
+
v-if="theme === 'basic'" outline class="flex p-05 gap-1" @dragover="(e: DragEvent) => handleDrag(e, true)"
|
|
76
76
|
@drop="handleDrop"
|
|
77
77
|
>
|
|
78
78
|
<Btn
|
|
@@ -3,7 +3,7 @@ import type { BglFile, BglFilePatch, UploadOptions } from './upload.types.d.ts'
|
|
|
3
3
|
import axios from 'axios'
|
|
4
4
|
|
|
5
5
|
// Using default 'files' endpoint - axios baseURL will be configured via SDK init
|
|
6
|
-
const FILES_ENDPOINT = 'files'
|
|
6
|
+
const FILES_ENDPOINT = 'api/files'
|
|
7
7
|
|
|
8
8
|
export const files = {
|
|
9
9
|
get: async (pathKey?: string): Promise<AxiosResponse<BglFile>> => {
|