MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / transformGroup

Function transformGroup

packages/db/src/services/group.service.ts:40–50  ·  view source on GitHub ↗
(row: IClickhouseGroup)

Source from the content-addressed store, hash-verified

38};
39
40function transformGroup(row: IClickhouseGroup): IServiceGroup {
41 return {
42 id: row.id,
43 projectId: row.project_id,
44 type: row.type,
45 name: row.name,
46 properties: row.properties,
47 createdAt: new Date(row.created_at),
48 updatedAt: new Date(Number(row.version)),
49 };
50}
51
52async function writeGroupToCh(
53 group: {

Callers 1

getGroupByIdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected