@christianriedl/media 1.0.289 → 1.0.290

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/iMedia.d.ts CHANGED
@@ -258,7 +258,7 @@ export interface IDocumentInfo {
258
258
  name: string;
259
259
  date: Date;
260
260
  size?: number;
261
- folder?: string;
261
+ path?: string;
262
262
  }
263
263
  export interface IMediaService {
264
264
  mediaUrl: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@christianriedl/media",
3
- "version": "1.0.289",
3
+ "version": "1.0.290",
4
4
  "description": "RIC media interfaces",
5
5
 
6
6
  "main": "dist/index.js",
@@ -18,8 +18,8 @@
18
18
  "author": "Christian Riedl",
19
19
  "license": "ISC",
20
20
  "dependencies": {
21
- "@christianriedl/utils": "^1.0.180",
22
- "@christianriedl/rest": "^1.0.93",
21
+ "@christianriedl/utils": "^1.0.194",
22
+ "@christianriedl/rest": "^1.0.97",
23
23
  "@christianriedl/epg": "^1.0.44",
24
24
  "buffer": "^6.0.3"
25
25
  },
@@ -257,11 +257,11 @@
257
257
  <v-divider />
258
258
  </v-row>
259
259
  <v-row v-for="file in fileInfos" :key="file.name" density="compact" class="text-decoration-underline text-primary align-center">
260
- <v-col cols="8"><p class="font-weight-medium text-decoration-underline text-primary" @click.stop="download(file.name, file.folder)">{{file.name}}<span>{{info(file)}}</span></p></v-col>
260
+ <v-col cols="8"><p class="font-weight-medium text-decoration-underline text-primary" @click.stop="download(file.name, file.path)">{{file.name}}<span>{{info(file)}}</span></p></v-col>
261
261
  <v-col cols="1"><v-btn v-if="isAdmin" icon="$brain" :class="vectorStoreClass(file.name)" density="compact" variant="flat" @click.stop="vectorStore(file.name)"></v-btn></v-col>
262
- <v-col cols="1"><v-btn v-if="isAdmin" icon="$send" class="bg-office" density="compact" variant="flat" @click.stop="sendFile(file.name, file.folder)"></v-btn></v-col>
263
- <v-col cols="1"><v-btn v-if="isAdmin" icon="$share" class="bg-office" density="compact" variant="flat" @click.stop="shareFile(file.name, file.folder)"></v-btn></v-col>
264
- <v-col cols="1"><v-btn v-if="isAdmin" icon="$delete" class="bg-office" density="compact" variant="flat" @click.stop="deleteDirOrFile(file.name, file.folder)"></v-btn></v-col>
262
+ <v-col cols="1"><v-btn v-if="isAdmin" icon="$send" class="bg-office" density="compact" variant="flat" @click.stop="sendFile(file.name, file.path)"></v-btn></v-col>
263
+ <v-col cols="1"><v-btn v-if="isAdmin" icon="$share" class="bg-office" density="compact" variant="flat" @click.stop="shareFile(file.name, file.path)"></v-btn></v-col>
264
+ <v-col cols="1"><v-btn v-if="isAdmin" icon="$delete" class="bg-office" density="compact" variant="flat" @click.stop="deleteDirOrFile(file.name, file.path)"></v-btn></v-col>
265
265
  <v-divider />
266
266
  </v-row>
267
267
  </v-container>