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

Function _updateStartingPageId

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

Source from the content-addressed store, hash-verified

71}
72
73async function _updateStartingPageId(input: {
74 userId: string;
75 pageId: string;
76 dataAbstraction: DataAbstraction<typeof dataHashes>;
77}) {
78 await input.dataAbstraction.patch('user', input.userId, {
79 starting_page_id: input.pageId,
80 });
81}
82async function _updateLastParentId(input: {
83 userId: string;
84 pageId: string;

Callers 1

bumpFunction · 0.85

Calls 1

patchMethod · 0.80

Tested by

no test coverage detected