Skip to content

Commit 36a2d15

Browse files
committed
docs(settings): keep storage correction minimal
1 parent e9c5aaf commit 36a2d15

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎docs/content/1.guide/7.scoped-context.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Bare names stay typed: `call('get-modules')` resolves to your [RPC registry](/gu
4949

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

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

5555
Both are file-backed and synced to the browser over the shared-state protocol; a `set` propagates to peers, surviving restarts.

‎packages/devframe/src/types/scope.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ export interface DevframeSettingsStore<T extends Record<string, any> = Record<st
8282
/**
8383
* The two settings scopes available on a scoped context.
8484
*
85-
* - `project`: private per-checkout state, persisted under the `project`
86-
* storage directory provided by `DevframeHost`. Project-local settings.
85+
* - `project`: per-checkout state, persisted under the
86+
* `project` storage dir. Project-local settings.
8787
* - `global`: per-user state, persisted under the host's `global`
8888
* storage dir. Machine-wide preferences.
8989
*/

0 commit comments

Comments
 (0)