MCPcopy Index your code
hub / github.com/inkeep/open-knowledge / entry

Function entry

packages/server/src/embed-probe.test.ts:44–51  ·  view source on GitHub ↗
(partial: Partial<EmbedProbeEntry>)

Source from the content-addressed store, hash-verified

42}
43
44function entry(partial: Partial<EmbedProbeEntry>): EmbedProbeEntry {
45 return {
46 ts: partial.ts ?? Date.now(),
47 url: partial.url ?? '/api/__embed-detect',
48 method: partial.method ?? 'GET',
49 ...partial,
50 };
51}
52
53interface CapturedResponse {
54 status: number;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected