fix: add hasH1 to mock entries for build compatibility
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -35,7 +35,7 @@ export const MOCK_ENTRIES: VaultEntry[] = [
|
||||
template: null, sort: null, view: null, visible: null,
|
||||
outgoingLinks: ['q1-2026', 'software-development', 'matteo-cellini', 'maria-bianchi', 'marco-verdi'],
|
||||
properties: { Priority: 'High', 'Due date': '2026-06-15', Owner: 'Luca Rossi' },
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [],
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [], hasH1: false,
|
||||
},
|
||||
{
|
||||
path: '/Users/luca/Laputa/grow-newsletter.md',
|
||||
@@ -69,7 +69,7 @@ export const MOCK_ENTRIES: VaultEntry[] = [
|
||||
template: null, sort: null, view: null, visible: null,
|
||||
outgoingLinks: ['on-writing-well', 'engineering-leadership-101', 'ai-agents-primer', 'growth', 'writing'],
|
||||
properties: { Priority: 'High', Rating: 5, Cadence: 'Weekly', Owner: 'Luca Rossi' },
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [],
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [], hasH1: false,
|
||||
},
|
||||
{
|
||||
path: '/Users/luca/Laputa/manage-sponsorships.md',
|
||||
@@ -97,7 +97,7 @@ export const MOCK_ENTRIES: VaultEntry[] = [
|
||||
template: null, sort: null, view: null, visible: null,
|
||||
outgoingLinks: ['matteo-cellini'],
|
||||
properties: {},
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [],
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [], hasH1: false,
|
||||
},
|
||||
{
|
||||
path: '/Users/luca/Laputa/write-weekly-essays.md',
|
||||
@@ -125,7 +125,7 @@ export const MOCK_ENTRIES: VaultEntry[] = [
|
||||
template: null, sort: null, view: null, visible: null,
|
||||
outgoingLinks: ['grow-newsletter'],
|
||||
properties: { Owner: 'Luca Rossi', Cadence: 'Weekly' },
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [],
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [], hasH1: false,
|
||||
},
|
||||
{
|
||||
path: '/Users/luca/Laputa/run-sponsorships.md',
|
||||
@@ -153,7 +153,7 @@ export const MOCK_ENTRIES: VaultEntry[] = [
|
||||
template: null, sort: null, view: null, visible: null,
|
||||
outgoingLinks: ['manage-sponsorships'],
|
||||
properties: { Owner: 'Matteo Cellini', Cadence: 'Weekly' },
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [],
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [], hasH1: false,
|
||||
},
|
||||
{
|
||||
path: '/Users/luca/Laputa/stock-screener.md',
|
||||
@@ -182,7 +182,7 @@ export const MOCK_ENTRIES: VaultEntry[] = [
|
||||
template: null, sort: null, view: null, visible: null,
|
||||
outgoingLinks: ['trading', 'algorithmic-trading', 'ema200-backtest-results'],
|
||||
properties: { Priority: 'Low', 'Due date': '2026-03-01', Owner: 'Luca Rossi' },
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [],
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [], hasH1: false,
|
||||
},
|
||||
{
|
||||
path: '/Users/luca/Laputa/facebook-ads-strategy.md',
|
||||
@@ -211,7 +211,7 @@ export const MOCK_ENTRIES: VaultEntry[] = [
|
||||
template: null, sort: null, view: null, visible: null,
|
||||
outgoingLinks: ['26q1-laputa-app', 'growth', 'ads'],
|
||||
properties: { Priority: 'Medium', Rating: 4 },
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [],
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [], hasH1: false,
|
||||
},
|
||||
{
|
||||
path: '/Users/luca/Laputa/budget-allocation.md',
|
||||
@@ -239,7 +239,7 @@ export const MOCK_ENTRIES: VaultEntry[] = [
|
||||
template: null, sort: null, view: null, visible: null,
|
||||
outgoingLinks: ['26q1-laputa-app'],
|
||||
properties: {},
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [],
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [], hasH1: false,
|
||||
},
|
||||
{
|
||||
path: '/Users/luca/Laputa/matteo-cellini.md',
|
||||
@@ -266,7 +266,7 @@ export const MOCK_ENTRIES: VaultEntry[] = [
|
||||
template: null, sort: null, view: null, visible: null,
|
||||
outgoingLinks: [],
|
||||
properties: { Company: 'Acme Corp', Role: 'Engineering Lead' },
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [],
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [], hasH1: false,
|
||||
},
|
||||
{
|
||||
path: '/Users/luca/Laputa/maria-bianchi.md',
|
||||
@@ -293,7 +293,7 @@ export const MOCK_ENTRIES: VaultEntry[] = [
|
||||
template: null, sort: null, view: null, visible: null,
|
||||
outgoingLinks: [],
|
||||
properties: { Company: 'TechStart', Role: 'Product Manager' },
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [],
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [], hasH1: false,
|
||||
},
|
||||
{
|
||||
path: '/Users/luca/Laputa/marco-verdi.md',
|
||||
@@ -320,7 +320,7 @@ export const MOCK_ENTRIES: VaultEntry[] = [
|
||||
template: null, sort: null, view: null, visible: null,
|
||||
outgoingLinks: [],
|
||||
properties: {},
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [],
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [], hasH1: false,
|
||||
},
|
||||
{
|
||||
path: '/Users/luca/Laputa/elena-russo.md',
|
||||
@@ -347,7 +347,7 @@ export const MOCK_ENTRIES: VaultEntry[] = [
|
||||
template: null, sort: null, view: null, visible: null,
|
||||
outgoingLinks: [],
|
||||
properties: {},
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [],
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [], hasH1: false,
|
||||
},
|
||||
{
|
||||
path: '/Users/luca/Laputa/2026-02-14-laputa-app-kickoff.md',
|
||||
@@ -375,7 +375,7 @@ export const MOCK_ENTRIES: VaultEntry[] = [
|
||||
template: null, sort: null, view: null, visible: null,
|
||||
outgoingLinks: ['26q1-laputa-app', 'matteo-cellini'],
|
||||
properties: {},
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [],
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [], hasH1: false,
|
||||
},
|
||||
{
|
||||
path: '/Users/luca/Laputa/software-development.md',
|
||||
@@ -403,7 +403,7 @@ export const MOCK_ENTRIES: VaultEntry[] = [
|
||||
template: null, sort: null, view: null, visible: null,
|
||||
outgoingLinks: [],
|
||||
properties: {},
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [],
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [], hasH1: false,
|
||||
},
|
||||
{
|
||||
path: '/Users/luca/Laputa/trading.md',
|
||||
@@ -431,7 +431,7 @@ export const MOCK_ENTRIES: VaultEntry[] = [
|
||||
template: null, sort: null, view: null, visible: null,
|
||||
outgoingLinks: [],
|
||||
properties: {},
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [],
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [], hasH1: false,
|
||||
},
|
||||
{
|
||||
path: '/Users/luca/Laputa/on-writing-well.md',
|
||||
@@ -459,7 +459,7 @@ export const MOCK_ENTRIES: VaultEntry[] = [
|
||||
template: null, sort: null, view: null, visible: null,
|
||||
outgoingLinks: ['grow-newsletter'],
|
||||
properties: {},
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [],
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [], hasH1: false,
|
||||
},
|
||||
{
|
||||
path: '/Users/luca/Laputa/engineering-leadership-101.md',
|
||||
@@ -488,7 +488,7 @@ export const MOCK_ENTRIES: VaultEntry[] = [
|
||||
template: null, sort: null, view: null, visible: null,
|
||||
outgoingLinks: ['grow-newsletter', 'software-development'],
|
||||
properties: {},
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [],
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [], hasH1: false,
|
||||
},
|
||||
{
|
||||
path: '/Users/luca/Laputa/ai-agents-primer.md',
|
||||
@@ -516,7 +516,7 @@ export const MOCK_ENTRIES: VaultEntry[] = [
|
||||
template: null, sort: null, view: null, visible: null,
|
||||
outgoingLinks: ['grow-newsletter'],
|
||||
properties: {},
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [],
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [], hasH1: false,
|
||||
},
|
||||
// --- Type documents ---
|
||||
{
|
||||
@@ -542,7 +542,7 @@ export const MOCK_ENTRIES: VaultEntry[] = [
|
||||
template: null, sort: null, view: null, visible: null,
|
||||
outgoingLinks: [],
|
||||
properties: {},
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [],
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [], hasH1: false,
|
||||
},
|
||||
{
|
||||
path: '/Users/luca/Laputa/responsibility.md',
|
||||
@@ -567,7 +567,7 @@ export const MOCK_ENTRIES: VaultEntry[] = [
|
||||
template: null, sort: null, view: null, visible: null,
|
||||
outgoingLinks: [],
|
||||
properties: {},
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [],
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [], hasH1: false,
|
||||
},
|
||||
{
|
||||
path: '/Users/luca/Laputa/procedure.md',
|
||||
@@ -592,7 +592,7 @@ export const MOCK_ENTRIES: VaultEntry[] = [
|
||||
template: null, sort: null, view: null, visible: null,
|
||||
outgoingLinks: [],
|
||||
properties: {},
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [],
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [], hasH1: false,
|
||||
},
|
||||
{
|
||||
path: '/Users/luca/Laputa/experiment.md',
|
||||
@@ -617,7 +617,7 @@ export const MOCK_ENTRIES: VaultEntry[] = [
|
||||
template: null, sort: null, view: null, visible: false,
|
||||
outgoingLinks: [],
|
||||
properties: {},
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [],
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [], hasH1: false,
|
||||
},
|
||||
{
|
||||
path: '/Users/luca/Laputa/person.md',
|
||||
@@ -642,7 +642,7 @@ export const MOCK_ENTRIES: VaultEntry[] = [
|
||||
template: null, sort: null, view: null, visible: null,
|
||||
outgoingLinks: [],
|
||||
properties: {},
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [],
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [], hasH1: false,
|
||||
},
|
||||
{
|
||||
path: '/Users/luca/Laputa/event.md',
|
||||
@@ -667,7 +667,7 @@ export const MOCK_ENTRIES: VaultEntry[] = [
|
||||
template: null, sort: null, view: null, visible: null,
|
||||
outgoingLinks: [],
|
||||
properties: {},
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [],
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [], hasH1: false,
|
||||
},
|
||||
{
|
||||
path: '/Users/luca/Laputa/topic.md',
|
||||
@@ -692,7 +692,7 @@ export const MOCK_ENTRIES: VaultEntry[] = [
|
||||
template: null, sort: null, view: null, visible: null,
|
||||
outgoingLinks: [],
|
||||
properties: {},
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [],
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [], hasH1: false,
|
||||
},
|
||||
{
|
||||
path: '/Users/luca/Laputa/essay.md',
|
||||
@@ -717,7 +717,7 @@ export const MOCK_ENTRIES: VaultEntry[] = [
|
||||
template: null, sort: null, view: null, visible: null,
|
||||
outgoingLinks: [],
|
||||
properties: {},
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [],
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [], hasH1: false,
|
||||
},
|
||||
{
|
||||
path: '/Users/luca/Laputa/note.md',
|
||||
@@ -742,7 +742,7 @@ export const MOCK_ENTRIES: VaultEntry[] = [
|
||||
template: null, sort: null, view: null, visible: null,
|
||||
outgoingLinks: [],
|
||||
properties: {},
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [],
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [], hasH1: false,
|
||||
},
|
||||
// --- Custom type documents ---
|
||||
{
|
||||
@@ -768,7 +768,7 @@ export const MOCK_ENTRIES: VaultEntry[] = [
|
||||
template: null, sort: null, view: null, visible: null,
|
||||
outgoingLinks: [],
|
||||
properties: {},
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [],
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [], hasH1: false,
|
||||
},
|
||||
{
|
||||
path: '/Users/luca/Laputa/recipe.md',
|
||||
@@ -793,7 +793,7 @@ export const MOCK_ENTRIES: VaultEntry[] = [
|
||||
template: null, sort: null, view: null, visible: null,
|
||||
outgoingLinks: [],
|
||||
properties: {},
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [],
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [], hasH1: false,
|
||||
},
|
||||
{
|
||||
path: '/Users/luca/Laputa/book.md',
|
||||
@@ -818,7 +818,7 @@ export const MOCK_ENTRIES: VaultEntry[] = [
|
||||
template: null, sort: null, view: null, visible: null,
|
||||
outgoingLinks: [],
|
||||
properties: {},
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [],
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [], hasH1: false,
|
||||
},
|
||||
// --- Instances of custom types ---
|
||||
{
|
||||
@@ -846,7 +846,7 @@ export const MOCK_ENTRIES: VaultEntry[] = [
|
||||
template: null, sort: null, view: null, visible: null,
|
||||
outgoingLinks: [],
|
||||
properties: {},
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [],
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [], hasH1: false,
|
||||
},
|
||||
{
|
||||
path: '/Users/luca/Laputa/pasta-carbonara.md',
|
||||
@@ -873,7 +873,7 @@ export const MOCK_ENTRIES: VaultEntry[] = [
|
||||
template: null, sort: null, view: null, visible: null,
|
||||
outgoingLinks: [],
|
||||
properties: { Difficulty: 'Easy', 'Prep time': '30 min', Servings: 4 },
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [],
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [], hasH1: false,
|
||||
},
|
||||
{
|
||||
path: '/Users/luca/Laputa/designing-data-intensive-applications.md',
|
||||
@@ -900,7 +900,7 @@ export const MOCK_ENTRIES: VaultEntry[] = [
|
||||
template: null, sort: null, view: null, visible: null,
|
||||
outgoingLinks: [],
|
||||
properties: { Author: 'Martin Kleppmann', Rating: 5, 'Year published': 2017 },
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [],
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [], hasH1: false,
|
||||
},
|
||||
// --- Archived entries ---
|
||||
{
|
||||
@@ -929,7 +929,7 @@ export const MOCK_ENTRIES: VaultEntry[] = [
|
||||
'Belongs to': ['[[q3-2025]]'],
|
||||
'Type': ['[[project]]'],
|
||||
},
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [],
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [], hasH1: false,
|
||||
},
|
||||
{
|
||||
path: '/Users/luca/Laputa/twitter-thread-experiment.md',
|
||||
@@ -957,7 +957,7 @@ export const MOCK_ENTRIES: VaultEntry[] = [
|
||||
'Related to': ['[[grow-newsletter]]'],
|
||||
'Type': ['[[experiment]]'],
|
||||
},
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [],
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [], hasH1: false,
|
||||
},
|
||||
// --- Refactoring entries for exact-match search testing ---
|
||||
{
|
||||
@@ -983,7 +983,7 @@ export const MOCK_ENTRIES: VaultEntry[] = [
|
||||
template: null, sort: null, view: null, visible: null,
|
||||
outgoingLinks: [],
|
||||
properties: {},
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [],
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [], hasH1: false,
|
||||
},
|
||||
{
|
||||
path: '/Users/luca/Laputa/refactoring-ideas.md',
|
||||
@@ -1008,7 +1008,7 @@ export const MOCK_ENTRIES: VaultEntry[] = [
|
||||
template: null, sort: null, view: null, visible: null,
|
||||
outgoingLinks: [],
|
||||
properties: {},
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [],
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [], hasH1: false,
|
||||
},
|
||||
{
|
||||
path: '/Users/luca/Laputa/refactoring-key-ideas.md',
|
||||
@@ -1033,7 +1033,7 @@ export const MOCK_ENTRIES: VaultEntry[] = [
|
||||
template: null, sort: null, view: null, visible: null,
|
||||
outgoingLinks: [],
|
||||
properties: {},
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [],
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [], hasH1: false,
|
||||
},
|
||||
{
|
||||
path: '/Users/luca/Laputa/refactoring-patterns.md',
|
||||
@@ -1058,7 +1058,7 @@ export const MOCK_ENTRIES: VaultEntry[] = [
|
||||
template: null, sort: null, view: null, visible: null,
|
||||
outgoingLinks: [],
|
||||
properties: {},
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [],
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [], hasH1: false,
|
||||
},
|
||||
]
|
||||
|
||||
@@ -1109,7 +1109,7 @@ function generateBulkEntries(count: number): VaultEntry[] {
|
||||
sidebarLabel: null,
|
||||
template: null, sort: null, view: null, visible: null,
|
||||
properties: {},
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [],
|
||||
organized: false, favorite: false, favoriteIndex: null, listPropertiesDisplay: [], hasH1: false,
|
||||
})
|
||||
}
|
||||
return entries
|
||||
|
||||
Reference in New Issue
Block a user