Skip to main content

WorldBossProgress

The WorldBossProgress model tracks the progress (killed state) of each boss within a specific world. This allows the backend to record which bosses have been defeated in each world.

Fields

FieldTypeAttributesDescription
idString@id, @default(cuid())Unique progress record ID
bossIdStringID of the boss being tracked
bossBoss@relationThe boss entity for this progress record
worldIdStringID of the world where the boss progress is tracked
worldWorld@relationThe world associated with this boss progress
killedBooleanWhether the boss has been killed in this world

Relationships

  • WorldBossProgress belongs to a Boss (bossId).
  • WorldBossProgress belongs to a World (worldId).

Example Record

{
"id": "progress1",
"bossId": "boss1",
"worldId": "world123",
"killed": false,
"boss": {
"id": "boss1",
"name": "Dragon Lord"
},
"world": {
"id": "world123",
"name": "Adventure Realm"
}
}