@brftech/filex-core 0.30.0 → 0.31.0
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/README.md +11 -0
- package/dist/filex-core.js +9661 -8550
- package/dist/filex-core.js.map +1 -1
- package/dist/filex-core.umd.cjs +95 -87
- package/dist/filex-core.umd.cjs.map +1 -1
- package/dist/index.d.ts +368 -64
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/FileExplorer.vue +602 -17
- package/src/components/Breadcrumb.vue +4 -10
- package/src/components/E2eRecoveryUnlockModal.vue +168 -0
- package/src/components/EncryptedFolderModal.vue +10 -0
- package/src/components/GalleryView.vue +37 -0
- package/src/components/GridView.vue +39 -0
- package/src/components/ListView.vue +1 -0
- package/src/components/RecoveryKeyModal.vue +133 -0
- package/src/components/SideNav.vue +168 -5
- package/src/components/StarButton.vue +27 -15
- package/src/composables/useFileApi.ts +38 -0
- package/src/composables/useKeyboardShortcuts.ts +7 -0
- package/src/index.ts +27 -1
- package/src/lib/e2ecrypto.ts +528 -70
- package/src/lib/listing.ts +79 -0
- package/src/lib/star.ts +42 -0
- package/src/lib/tags.ts +105 -0
- package/src/locales/en.ts +71 -2
- package/src/locales/tr.ts +71 -2
- package/src/styles/base.css +252 -0
- package/src/types/ExplorerConfig.ts +36 -0
- package/src/types/FileNode.ts +23 -0
package/README.md
CHANGED
|
@@ -121,6 +121,17 @@ to be told to ask an administrator. Set `connections: false` to leave them out.
|
|
|
121
121
|
⚠ Never gated on role in the UI: `/api/tokens` caps every scope against the
|
|
122
122
|
caller's own account, and the panel renders what the API returns.
|
|
123
123
|
|
|
124
|
+
⚠ **API keys is dropped for an app token** — along with Recent, Starred and
|
|
125
|
+
Shared with me — because those surfaces belong to one person and an app token
|
|
126
|
+
belongs to none. `ConnectionsPanel` degrades with it: the guides stay, and
|
|
127
|
+
`S3KeysPanel` / `SSHKeysPanel` / `NFSExportsPanel` / `TokensPanel` show their
|
|
128
|
+
existing "cannot mint" note instead of a form, driven by the server's 403
|
|
129
|
+
through the `canMint` / `canAdd` flag each composable already reports. That is `callerKind`, read from
|
|
130
|
+
`GET /api/files/capabilities` (`caller_kind`) and overridable per embed; it is a
|
|
131
|
+
credential-kind check, not the role check the paragraph above forbids. "How to
|
|
132
|
+
connect", Upload, the storages and Trash stay. See
|
|
133
|
+
[docs/MCP.md → Token kinds](https://github.com/BRF-Tech/filex/blob/main/docs/MCP.md#token-kinds--user-vs-app).
|
|
134
|
+
|
|
124
135
|
`uiProfile: 'simple'` is a preset, not a feature switch — nothing is removed
|
|
125
136
|
from the build. It turns off the tab strip and the split pane, reduces the view
|
|
126
137
|
switcher to list + grid, and starts the navigation panel expanded, for the
|