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:
+4
-12
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user