@sqlrooms/room-config 0.24.0 → 0.24.1
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 +2 -2
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -42,14 +42,14 @@ Room configuration is designed to be saved and restored between sessions. Here's
|
|
|
42
42
|
|
|
43
43
|
```tsx
|
|
44
44
|
import {persist} from 'zustand/middleware';
|
|
45
|
-
import {createRoomStore,
|
|
45
|
+
import {createRoomStore, createRoomShellSlice} from '@sqlrooms/room-shell';
|
|
46
46
|
import {BaseRoomConfig} from '@sqlrooms/room-config';
|
|
47
47
|
|
|
48
48
|
// Create a store with persistence for configuration
|
|
49
49
|
const {useRoomStore} = createRoomStore(
|
|
50
50
|
persist(
|
|
51
51
|
(set, get, store) => ({
|
|
52
|
-
...
|
|
52
|
+
...createRoomShellSlice({
|
|
53
53
|
// Config is stored at the root level of state for persisting the app state
|
|
54
54
|
config: {
|
|
55
55
|
title: 'My Room',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sqlrooms/room-config",
|
|
3
|
-
"version": "0.24.
|
|
3
|
+
"version": "0.24.1",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"access": "public"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@sqlrooms/layout-config": "0.24.
|
|
22
|
-
"zod": "^3.25.
|
|
21
|
+
"@sqlrooms/layout-config": "0.24.1",
|
|
22
|
+
"zod": "^3.25.73"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"react": ">=18"
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
"typecheck": "tsc --noEmit",
|
|
32
32
|
"typedoc": "typedoc"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "4e19f7348a545023fefba724b18fbbad8bf87c32"
|
|
35
35
|
}
|