MCPcopy Index your code
hub / github.com/ChatLab/ChatLab / makeMeta

Function makeMeta

packages/core/src/query/__tests__/session-queries.test.ts:24–35  ·  view source on GitHub ↗
(overrides?: Partial<SessionMeta>)

Source from the content-addressed store, hash-verified

22// ==================== Mock helpers ====================
23
24function makeMeta(overrides?: Partial<SessionMeta>): SessionMeta {
25 return {
26 name: 'Test Group',
27 platform: 'wechat',
28 type: 'group',
29 importedAt: 1700000000,
30 groupId: 'g001',
31 groupAvatar: null,
32 ownerId: 'u001',
33 ...overrides,
34 }
35}
36
37function makeOverview(overrides?: Partial<SessionOverview>): SessionOverview {
38 return {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected