document-model 6.2.3-dev.22 → 6.2.3-dev.24
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 +0 -6
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -118,12 +118,6 @@ undo(count: number);
|
|
|
118
118
|
redo(count: number);
|
|
119
119
|
```
|
|
120
120
|
|
|
121
|
-
- `PRUNE`: Joins multiple operations into a single `LOAD_STATE` operation. Useful to keep operations history smaller. Operations to prune are selected by index, similar to the [slice](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/slice) method in Arrays.
|
|
122
|
-
|
|
123
|
-
```javascript
|
|
124
|
-
prune(start?: number, end?: number);
|
|
125
|
-
```
|
|
126
|
-
|
|
127
121
|
## Budget Statement Model
|
|
128
122
|
|
|
129
123
|
A Budget statement follows the following data structure:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "document-model",
|
|
3
|
-
"version": "6.2.3-dev.
|
|
3
|
+
"version": "6.2.3-dev.24",
|
|
4
4
|
"license": "AGPL-3.0-only",
|
|
5
5
|
"private": false,
|
|
6
6
|
"files": [
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"zod": "4.3.6"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@powerhousedao/shared": "6.2.3-dev.
|
|
56
|
+
"@powerhousedao/shared": "6.2.3-dev.24"
|
|
57
57
|
},
|
|
58
58
|
"description": "Powerhouse document model — foundational data structure for local-first, event-sourced documents with typed operations, reducers, and GraphQL schema validation.",
|
|
59
59
|
"keywords": [
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"homepage": "https://academy.vetra.io/academy/Reference/DocumentModels",
|
|
71
71
|
"scripts": {
|
|
72
72
|
"tsc": "tsc",
|
|
73
|
-
"lint": "
|
|
73
|
+
"lint": "cd ../.. && oxlint packages/document-model",
|
|
74
74
|
"test": "vitest --run",
|
|
75
75
|
"test:watch": "vitest watch",
|
|
76
76
|
"build": "tsx ./build.ts"
|