MCPcopy Index your code
hub / github.com/NativeScript/SimDeck / withQueryDefaults

Function withQueryDefaults

packages/simdeck-test/src/index.ts:979–983  ·  view source on GitHub ↗
(
  options: T | undefined,
)

Source from the content-addressed store, hash-verified

977}
978
979function withQueryDefaults<T extends QueryOptions>(
980 options: T | undefined,
981): T & { source: NonNullable<QueryOptions["source"]> } {
982 return { source: DEFAULT_QUERY_SOURCE, ...(options ?? ({} as T)) };
983}
984
985function logsQuery(options: LogsOptions = {}): string {
986 const params = new URLSearchParams();

Callers 1

createSessionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected