MCPcopy Create free account
hub / github.com/hashintel/hash / value

Function value

apps/hash-api/src/seed-data/seed-crm-data.ts:1162–1168  ·  view source on GitHub ↗
(
    dataTypeId: VersionedUrl,
    propertyValue: string | number | boolean,
  )

Source from the content-addressed store, hash-verified

1160 type PropRecord = Record<string, PropertyWithMetadata>;
1161
1162 const value = (
1163 dataTypeId: VersionedUrl,
1164 propertyValue: string | number | boolean,
1165 ): PropertyWithMetadata => ({
1166 value: propertyValue,
1167 metadata: { dataTypeId },
1168 });
1169 const list = (
1170 dataTypeId: VersionedUrl,
1171 values: (string | number | boolean)[],

Callers 11

listFunction · 0.70
addressValueFunction · 0.70
personValuePropsFunction · 0.70
seedCrmDataFunction · 0.70
accountPropsFunction · 0.70
contactPropsFunction · 0.70
productLineItemFunction · 0.70
dealPropsFunction · 0.70
activitySubtypePropsFunction · 0.70
useDefaultStateFunction · 0.50
useCachedDefaultStateFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected