MCPcopy Index your code
hub / github.com/DeepNotesApp/DeepNotes / hget

Function hget

packages/@deeplib/data/src/utils.ts:3–15  ·  view source on GitHub ↗
(
  prefix: DataPrefix_,
  suffix: string,
  field: DataField_,
)

Source from the content-addressed store, hash-verified

1import type { dataHashes, DataPrefix } from './data-hashes';
2
3export function hget<
4 DataPrefix_ extends DataPrefix,
5 DataField_ extends Extract<
6 keyof (typeof dataHashes)[DataPrefix_]['fields'],
7 string
8 > = Extract<keyof (typeof dataHashes)[DataPrefix_]['fields'], string>,
9>(
10 prefix: DataPrefix_,
11 suffix: string,
12 field: DataField_,
13): [DataPrefix_, string, DataField_] {
14 return [prefix, suffix, field];
15}
16
17export function hset<
18 DataPrefix_ extends DataPrefix,

Callers 7

changeUserRoleStep1Function · 0.90
removeUserStep1Function · 0.90
cancelStep1Function · 0.90
moveStep2Function · 0.90
createFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected