MCPcopy Create free account
hub / github.com/AudiusProject/apps / manageEntity

Method manageEntity

packages/libs/src/api/entityManager.ts:284–319  ·  view source on GitHub ↗

* Manage an entity with the updated data contract flow * Leveraged to manipulate User/Track/Playlist/+ other entities

({
    userId,
    entityType,
    entityId,
    action,
    metadata
  }: {
    userId: number
    entityType: EntityType
    entityId: number
    action: Action
    metadata?: string
  })

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

EntityManagerClass · 0.95
createPlaylistMethod · 0.95
deletePlaylistMethod · 0.95
updatePlaylistMethod · 0.95
mainFunction · 0.45
addUserSubscribeMethod · 0.45
deleteUserSubscribeMethod · 0.45
updateMetadataV2Method · 0.45
writeTrackToChainMethod · 0.45

Tested by

no test coverage detected