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

Method toJSON

libs/@local/graph/sdk/typescript/src/entity.ts:1397–1399  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1395 }
1396
1397 public toJSON(): SerializedEntity<PropertyMap["properties"]> {
1398 return { [typeId]: typeId, ...this.#entity };
1399 }
1400
1401 public get [Symbol.toStringTag](): string {
1402 return this.constructor.name;

Callers 15

processEntityChangeFunction · 0.80
createOrgResolverFunction · 0.80
commentParentResolverFunction · 0.80
commentAuthorResolverFunction · 0.80
requestFileUploadFunction · 0.80
blockChildEntityResolverFunction · 0.80
BlockLoaderFunction · 0.80
sendMethod · 0.80
useEntitiesTableDataFunction · 0.80
onCellEditedFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected