MCPcopy Create free account
hub / github.com/DeepNotesApp/DeepNotes / _updateRecentGroupIds

Function _updateRecentGroupIds

apps/app-server/src/trpc/api/pages/bump.ts:161–174  ·  view source on GitHub ↗
(input: {
  userId: string;
  groupId: string;
  dataAbstraction: DataAbstraction<typeof dataHashes>;
})

Source from the content-addressed store, hash-verified

159 });
160}
161async function _updateRecentGroupIds(input: {
162 userId: string;
163 groupId: string;
164 dataAbstraction: DataAbstraction<typeof dataHashes>;
165}) {
166 if (input.groupId != null) {
167 await bumpRecentItem({
168 userId: input.userId,
169 itemType: 'group',
170 itemId: input.groupId,
171 dataAbstraction: input.dataAbstraction,
172 });
173 }
174}
175
176async function _updatePageBacklink(input: {
177 pageId: string;

Callers 1

bumpFunction · 0.85

Calls 1

bumpRecentItemFunction · 0.90

Tested by

no test coverage detected