mirror of
https://github.com/callumalpass/tasknotes.git
synced 2026-07-22 12:50:26 +00:00
BREAKTHROUGH: Successfully bypassed Bases formula computation system by directly calling formula.getValue() and injecting results into cache. Key achievements: - ✅ Found formula engines at ctx.formulas and query.formulas - ✅ Discovered formula objects have getValue() method that computes results - ✅ Implemented per-item formula computation for all data items - ✅ Direct cache injection: formulaResults.cachedFormulaOutputs[name] = result - ✅ Fixed double-wrapping issue in cache storage format - ✅ Added comprehensive debugging for formula computation lifecycle Technical details: - Formula objects structure: {text, formula, getValue(), test()} - getValue() returns: {icon: "lucide-binary", data: computed_value} - Computes formulas for all items: TESTST=11, TEST=47, etc. - Added obsidian-typings dev dependency for better type support - Enhanced TaskCard formula property handling This enables Bases formulas to display computed values in TaskCards instead of "[Formula]" placeholders.
42 lines
854 B
JSON
42 lines
854 B
JSON
{
|
|
"compilerOptions": {
|
|
"baseUrl": ".",
|
|
"inlineSourceMap": true,
|
|
"inlineSources": true,
|
|
"module": "ESNext",
|
|
"target": "ES6",
|
|
"allowJs": true,
|
|
"noImplicitAny": true,
|
|
"moduleResolution": "node",
|
|
"importHelpers": true,
|
|
"isolatedModules": true,
|
|
"strictNullChecks": true,
|
|
"esModuleInterop": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"experimentalDecorators": true,
|
|
"emitDecoratorMetadata": true,
|
|
"skipLibCheck": true,
|
|
"noImplicitReturns": false,
|
|
"noImplicitThis": false,
|
|
"paths": {
|
|
"obsidian": ["./node_modules/obsidian"]
|
|
},
|
|
"types": [
|
|
"obsidian-typings"
|
|
],
|
|
"lib": [
|
|
"DOM",
|
|
"DOM.Iterable",
|
|
"ES5",
|
|
"ES6",
|
|
"ES7"
|
|
]
|
|
},
|
|
"include": [
|
|
"src/**/*.ts"
|
|
],
|
|
"exclude": [
|
|
"tests/**/*",
|
|
"node_modules/**/*"
|
|
]
|
|
}
|