@lobb-js/lobb-ext-storage 0.5.4 → 0.5.6
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/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,23 @@
|
|
|
2
2
|
All notable changes to this project will be documented in this file. See [conventional commits](https://www.conventionalcommits.org/) for commit guidelines.
|
|
3
3
|
|
|
4
4
|
- - -
|
|
5
|
+
## storage-ext-studio@0.5.6 - 2026-02-22
|
|
6
|
+
#### Bug Fixes
|
|
7
|
+
- adding a studio prefix for the studio app - (6607b5a) - malik ben
|
|
8
|
+
#### Miscellaneous Chores
|
|
9
|
+
- (**version**) 0.14.2 - (6ecdc1d) - Cocogitto Bot
|
|
10
|
+
|
|
11
|
+
- - -
|
|
12
|
+
|
|
13
|
+
## storage-ext-studio@0.5.5 - 2026-02-21
|
|
14
|
+
#### Bug Fixes
|
|
15
|
+
- using default export instead of named export for extensions - (37dd485) - malik ben
|
|
16
|
+
#### Miscellaneous Chores
|
|
17
|
+
- (**version**) 0.14.0 - (7d2eb87) - Cocogitto Bot
|
|
18
|
+
- (**version**) 0.12.1 - (c548105) - Cocogitto Bot
|
|
19
|
+
|
|
20
|
+
- - -
|
|
21
|
+
|
|
5
22
|
## storage-ext-studio@0.5.4 - 2026-02-17
|
|
6
23
|
#### Bug Fixes
|
|
7
24
|
- fixing the standalone issue - (1a70a51) - Malik Najjar
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lobb-js/lobb-ext-storage",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"check": "svelte-check --tsconfig ./tsconfig.app.json && tsc -p tsconfig.node.json"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@lobb-js/studio": "0.2
|
|
18
|
+
"@lobb-js/studio": "0.3.2",
|
|
19
19
|
"path-browserify": "^1.0.1",
|
|
20
20
|
"browser-fs-access": "^0.35.0"
|
|
21
21
|
},
|
package/src/index.ts
CHANGED
|
@@ -5,7 +5,7 @@ import ForeignKeyComponent from "./lib/components/foreignKeyComponent.svelte";
|
|
|
5
5
|
import ChildrenFileExplorer from "./lib/components/childrenFileExplorer.svelte";
|
|
6
6
|
import ExplorerNotSupported from "./lib/components/explorerNotSupported.svelte";
|
|
7
7
|
|
|
8
|
-
export function extension(utils: ExtensionUtils): Extension {
|
|
8
|
+
export default function extension(utils: ExtensionUtils): Extension {
|
|
9
9
|
return {
|
|
10
10
|
name: "storage",
|
|
11
11
|
components: {
|
|
@@ -18,7 +18,7 @@ export function extension(utils: ExtensionUtils): Extension {
|
|
|
18
18
|
dashboardNavs: {
|
|
19
19
|
middle: [
|
|
20
20
|
{
|
|
21
|
-
href: "/extensions/storage/file_manager",
|
|
21
|
+
href: "/studio/extensions/storage/file_manager",
|
|
22
22
|
icon: utils.components.Icons.Folders,
|
|
23
23
|
label: "File Manager",
|
|
24
24
|
},
|
|
@@ -22,12 +22,12 @@
|
|
|
22
22
|
})
|
|
23
23
|
|
|
24
24
|
async function updateExplorerLocationFromRouter(localLocation: typeof routerLocation) {
|
|
25
|
-
const fileExplorerPath = localLocation.url.pathname.replace('/extensions/storage/file_manager', '');
|
|
25
|
+
const fileExplorerPath = localLocation.url.pathname.replace('/studio/extensions/storage/file_manager', '');
|
|
26
26
|
location = fileExplorerPath ? fileExplorerPath : "/";
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
async function updateRouterLocationFromExplorer(localLocation: string) {
|
|
30
|
-
const newPath = `/extensions/storage/file_manager${localLocation}`;
|
|
30
|
+
const newPath = `/studio/extensions/storage/file_manager${localLocation}`;
|
|
31
31
|
if (routerLocation.url.pathname !== newPath) {
|
|
32
32
|
routerLocation.navigate(newPath);
|
|
33
33
|
}
|