Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
test(goldens): export surface lists replaceDerivedLinksBatch
time-attack395db271224e
diff --git a/test/fixtures/goldens/exports/runtime.json b/test/fixtures/goldens/exports/runtime.jsonindex 42e50e4522..31f8d5a112 100644--- a/test/fixtures/goldens/exports/runtime.json+++ b/test/fixtures/goldens/exports/runtime.json@@ -144,6 +144,7 @@"removeLinksByPagesAndSource","removeTag","replaceDerivedLinks",+ "replaceDerivedLinksBatch","resolveAliases","resolveSlugWithAlias","resolveSlugWithAliasDetailed",@@ -327,6 +328,7 @@"removeLinksByPagesAndSource","removeTag","replaceDerivedLinks",+ "replaceDerivedLinksBatch","resolveAliases","resolveFactsEmbeddingCast","resolveSlugWithAlias",diff --git a/test/fixtures/goldens/exports/types.json b/test/fixtures/goldens/exports/types.jsonindex 97fcc86a23..ab3c0459d5 100644--- a/test/fixtures/goldens/exports/types.json+++ b/test/fixtures/goldens/exports/types.json@@ -179,6 +179,7 @@"removeLinksByPagesAndSource: (pages: Array<{ slug: string; source_id: string; }>, opts: { linkSource: string; keepTypedNerPairs?: Array<{ from_slug: string; from_source_id: string; to_slug: string; to_source_id: string; }>; }) => Promise<number>","removeTag: (slug: string, tag: string, opts?: { sourceId?: string; }) => Promise<void>","replaceDerivedLinks: (origin: DerivedLinkOrigin, links: LinkBatchInput[], opts?: DerivedLinkReplacementOptions) => Promise<{ created: number; removed: number; }>",+ "replaceDerivedLinksBatch: (items: readonly DerivedLinkBatchItem[]) => Promise<Array<{ created: number; removed: number; }>>","resolveAliases: (aliasNorms: string[], opts?: PageReadScope) => Promise<Map<string, Array<{ slug: string; source_id: string; }>>>","resolveSlugWithAlias: (slug: string, sourceOrSources: string | readonly string[], opts?: Pick<PageReadScope, \"excludePrivate\">) => Promise<string>","resolveSlugWithAliasDetailed: (slug: string, sourceOrSources: string | readonly string[], opts?: Pick<PageReadScope, \"excludePrivate\">) => Promise<{ canonical_slug: string; source_id: string; } | null>",@@ -1163,6 +1164,7 @@"removeLinksByPagesAndSource: (pages: Array<{ slug: string; source_id: string; }>, opts: { linkSource: string; keepTypedNerPairs?: Array<{ from_slug: string; from_source_id: string; to_slug: string; to_source_id: string; }>; }) => Promise<number>","removeTag: (slug: string, tag: string, opts?: { sourceId?: string; }) => Promise<void>","replaceDerivedLinks: (origin: DerivedLinkOrigin, links: LinkBatchInput[], opts?: DerivedLinkReplacementOptions) => Promise<{ created: number; removed: number; }>",+ "replaceDerivedLinksBatch: (items: readonly DerivedLinkBatchItem[]) => Promise<{ created: number; removed: number; }[]>","resolveAliases: (aliasNorms: string[], opts?: PageReadScope) => Promise<Map<string, Array<{ slug: string; source_id: string; }>>>","resolveSlugWithAlias: (slug: string, sourceOrSources: string | readonly string[], opts?: { excludePrivate?: boolean; }) => Promise<string>","resolveSlugWithAliasDetailed: (slug: string, sourceOrSources: string | readonly string[], opts?: { excludePrivate?: boolean; }) => Promise<{ canonical_slug: string; source_id: string; } | null>",@@ -3328,6 +3330,7 @@"removeLinksByPagesAndSource: (pages: Array<{ slug: string; source_id: string; }>, opts: { linkSource: string; keepTypedNerPairs?: Array<{ from_slug: string; from_source_id: string; to_slug: string; to_source_id: string; }>; }) => Promise<number>","removeTag: (slug: string, tag: string, opts?: { sourceId?: string; }) => Promise<void>","replaceDerivedLinks: (origin: DerivedLinkOrigin, links: LinkBatchInput[], opts?: DerivedLinkReplacementOptions) => Promise<{ created: number; removed: number; }>",+ "replaceDerivedLinksBatch: (items: readonly DerivedLinkBatchItem[]) => Promise<Array<{ created: number; removed: number; }>>","resolveAliases: (aliasNorms: string[], opts?: PageReadScope) => Promise<Map<string, Array<{ slug: string; source_id: string; }>>>","resolveSlugWithAlias: (slug: string, sourceOrSources: string | readonly string[], opts?: Pick<PageReadScope, \"excludePrivate\">) => Promise<string>","resolveSlugWithAliasDetailed: (slug: string, sourceOrSources: string | readonly string[], opts?: Pick<PageReadScope, \"excludePrivate\">) => Promise<{ canonical_slug: string; source_id: string; } | null>",@@ -6325,6 +6328,7 @@"removeLinksByPagesAndSource: (pages: Array<{ slug: string; source_id: string; }>, opts: { linkSource: string; keepTypedNerPairs?: Array<{ from_slug: string; from_source_id: string; to_slug: string; to_source_id: string; }>; }) => Promise<number>","removeTag: (slug: string, tag: string, opts?: { sourceId?: string; }) => Promise<void>","replaceDerivedLinks: (origin: DerivedLinkOrigin, links: LinkBatchInput[], opts?: DerivedLinkReplacementOptions) => Promise<{ created: number; removed: number; }>",+ "replaceDerivedLinksBatch: (items: readonly DerivedLinkBatchItem[]) => Promise<{ created: number; removed: number; }[]>","resolveAliases: (aliasNorms: string[], opts?: PageReadScope) => Promise<Map<string, Array<{ slug: string; source_id: string; }>>>","resolveSlugWithAlias: (slug: string, sourceOrSources: string | readonly string[], opts?: { excludePrivate?: boolean; }) => Promise<string>","resolveSlugWithAliasDetailed: (slug: string, sourceOrSources: string | readonly string[], opts?: { excludePrivate?: boolean; }) => Promise<{ canonical_slug: string; source_id: string; } | null>",