refactor: restructured hash API and cache tracking across TypeScript and Rust

- Migrated hash API calls from Bun.hash.xxHash64() to Bun.hash() across TypeScript packages for simplified hash generation.
- Consolidated mermaid cache failure tracking by replacing separate failed Set with null values in cache Map.
- Refactored schema-based child extraction in Rust by introducing promotion_fields tracking and schema_wrapper_child() helper function.
- Updated TypeScript configuration files with reformatted arrays and added compiler options for consistency.
This commit is contained in:
can1357
2026-04-10 14:26:06 +02:00
parent b60c0cc3ce
commit d60ee622a4
17 changed files with 133 additions and 61 deletions
+4 -12
View File
@@ -2,10 +2,7 @@
"compilerOptions": {
"target": "ES2024",
"module": "ESNext",
"lib": [
"ES2024",
"DOM.AsyncIterable"
],
"lib": ["ES2024", "DOM.AsyncIterable"],
"moduleResolution": "Bundler",
"moduleDetection": "force",
"strict": true,
@@ -13,6 +10,7 @@
"allowArbitraryExtensions": true,
"verbatimModuleSyntax": true,
"noEmit": true,
"emitDeclarationOnly": false,
"declaration": true,
"declarationMap": true,
"sourceMap": true,
@@ -24,14 +22,8 @@
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"useDefineForClassFields": false,
"types": [
"bun",
"assets"
],
"typeRoots": [
"./types",
"./node_modules/@types"
],
"types": ["bun", "assets"],
"typeRoots": ["./types", "./node_modules/@types"],
"assumeChangesOnlyAffectDirectDependencies": true
}
}