@molecule/api-resource-version-history 1.0.10 → 1.0.11
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 +4 -4
- package/package.json +4 -1
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@ AUTO-GENERATED — DO NOT EDIT THIS FILE.
|
|
|
3
3
|
Generated by `mlcl sync-docs` from the package's src/index.ts JSDoc + mlcl/registry.json.
|
|
4
4
|
Edits here are overwritten on the next commit (molecule's pre-commit hook regenerates).
|
|
5
5
|
To change this document, edit the module-level JSDoc in src/index.ts.
|
|
6
|
-
Generated: 2026-
|
|
6
|
+
Generated: 2026-12-05T17:18:46.447Z
|
|
7
7
|
-->
|
|
8
8
|
|
|
9
9
|
# @molecule/api-resource-version-history
|
|
@@ -68,7 +68,7 @@ await createVersion({
|
|
|
68
68
|
## Installation
|
|
69
69
|
|
|
70
70
|
```bash
|
|
71
|
-
npm install @molecule/api-resource-version-history @molecule/api-database @molecule/api-i18n @molecule/api-
|
|
71
|
+
npm install @molecule/api-resource-version-history @molecule/api-database @molecule/api-i18n @molecule/api-logger zod
|
|
72
72
|
```
|
|
73
73
|
|
|
74
74
|
## API
|
|
@@ -761,7 +761,7 @@ Peer dependencies:
|
|
|
761
761
|
|
|
762
762
|
- `@molecule/api-database` ^1.0.1
|
|
763
763
|
- `@molecule/api-i18n` ^1.0.1
|
|
764
|
-
- `@molecule/api-locales-resource-version-history` ^1.0.1
|
|
764
|
+
- `@molecule/api-locales-resource-version-history` ^1.0.1 _(optional)_
|
|
765
765
|
- `@molecule/api-logger` ^1.0.1
|
|
766
766
|
- `@molecule/api-resource` ^1.0.1 _(optional)_
|
|
767
767
|
- `zod` ^4.0.0
|
|
@@ -770,7 +770,7 @@ Peer dependencies:
|
|
|
770
770
|
|
|
771
771
|
- `@molecule/api-database`
|
|
772
772
|
- `@molecule/api-i18n`
|
|
773
|
-
- `@molecule/api-locales-resource-version-history`
|
|
773
|
+
- `@molecule/api-locales-resource-version-history` _(optional)_
|
|
774
774
|
- `@molecule/api-logger`
|
|
775
775
|
- `@molecule/api-resource` _(optional)_
|
|
776
776
|
- `zod`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@molecule/api-resource-version-history",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.11",
|
|
4
4
|
"description": "Append-only versions table with diff and restore — generic versioning helper for any resource.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -46,6 +46,9 @@
|
|
|
46
46
|
"zod": "^4.0.0"
|
|
47
47
|
},
|
|
48
48
|
"peerDependenciesMeta": {
|
|
49
|
+
"@molecule/api-locales-resource-version-history": {
|
|
50
|
+
"optional": true
|
|
51
|
+
},
|
|
49
52
|
"@molecule/api-resource": {
|
|
50
53
|
"optional": true
|
|
51
54
|
}
|