Visitar URL original
docs(settings): correct project storage descriptions by SaKaNa-Y · Pull Request #459 · devframes/devframe · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
docs(settings): keep storage correction minimal
  • Loading branch information
SaKaNa-Y committed Oct 26, 2026
commit 36a2d159bed071b4a1f72fb9d1faa334f06e8a89
2 changes: 1 addition & 1 deletion docs/content/1.guide/7.scoped-context.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Bare names stay typed: `call('get-modules')` resolves to your [RPC registry](/gu

`my.settings` is a persisted key-value store (alongside `my.rpc`), with two scopes:

- **`project`**: private per-checkout values, under the `project` storage directory provided by `DevframeHost`.
- **`project`**: per-checkout values, under the `project` storage dir.
- **`global`**: per-user values, under the `global` storage dir.

Both are file-backed and synced to the browser over the shared-state protocol; a `set` propagates to peers, surviving restarts.
Expand Down
4 changes: 2 additions & 2 deletions packages/devframe/src/types/scope.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ export interface DevframeSettingsStore<T extends Record<string, any> = Record<st
/**
* The two settings scopes available on a scoped context.
*
* - `project`: private per-checkout state, persisted under the `project`
* storage directory provided by `DevframeHost`. Project-local settings.
* - `project`: per-checkout state, persisted under the
* `project` storage dir. Project-local settings.
* - `global`: per-user state, persisted under the host's `global`
* storage dir. Machine-wide preferences.
*/
Expand Down
Loading