@optolith/database-schema 0.111.0 → 0.111.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/CHANGELOG.md +2 -0
- package/lib/cache/index.d.ts +2 -2
- package/lib/cache/internal.d.ts +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [0.111.1](https://github.com/Optolith/database-schema/compare/v0.111.0...v0.111.1) (2026-10-18)
|
|
6
|
+
|
|
5
7
|
## [0.111.0](https://github.com/Optolith/database-schema/compare/v0.110.1...v0.111.0) (2026-10-18)
|
|
6
8
|
|
|
7
9
|
### ⚠ BREAKING CHANGES
|
package/lib/cache/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ReadonlyTSONDB } from "tsondb/readonly";
|
|
2
2
|
import type { TSONDBTypes } from "../main.ts";
|
|
3
3
|
import { type ActivatableSelectOptionsCache, type ResolvedSelectOption, type ResolvedSelectOptionIdentifier } from "./activatableSelectOptions.ts";
|
|
4
4
|
import { type AncestorBloodAdvantagesCache } from "./ancestorBloodAdvantages.ts";
|
|
@@ -22,4 +22,4 @@ export type { ActivatableSelectOptionsCache, AncestorBloodAdvantagesCache, Magic
|
|
|
22
22
|
* @param idMap An object containing identifiers of specific entries in the database that are used for creating the cache.
|
|
23
23
|
* @returns The created cache object.
|
|
24
24
|
*/
|
|
25
|
-
export declare const createCache: (db:
|
|
25
|
+
export declare const createCache: (db: ReadonlyTSONDB<TSONDBTypes>) => Cache;
|
package/lib/cache/internal.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ReadonlyTSONDB } from "tsondb/readonly";
|
|
2
2
|
import type { Settings } from "../../gen/types.js";
|
|
3
3
|
import type { TSONDBTypes } from "../main.ts";
|
|
4
|
-
export type CacheBuilder<T = unknown, Args extends unknown[] = []> = (db:
|
|
4
|
+
export type CacheBuilder<T = unknown, Args extends unknown[] = []> = (db: ReadonlyTSONDB<TSONDBTypes>, settings: Settings, ...args: Args) => T;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@optolith/database-schema",
|
|
3
|
-
"version": "0.111.
|
|
3
|
+
"version": "0.111.1",
|
|
4
4
|
"description": "Definitions and utilities for the flat-file database of Optolith, a character creation tool for the Pen and Paper RPG “The Dark Eye 5”, and its external integrations into other software.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"tde",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"license": "MPL-2.0",
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@elyukai/utils": "^0.3.6",
|
|
42
|
-
"tsondb": "^0.23.
|
|
42
|
+
"tsondb": "^0.23.2"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@elyukai/oxc-config": "^0.1.0",
|