All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.tools.ozone.moderation.RecordEvent.kt Maven / Gradle / Ivy

The newest version!
@file:Suppress("DEPRECATION")

package tools.ozone.moderation

import kotlin.String
import kotlin.Suppress
import kotlinx.serialization.Serializable
import sh.christian.ozone.api.Cid
import sh.christian.ozone.api.model.Timestamp

/**
 * Logs lifecycle event on a record subject. Normally captured by automod from the firehose and
 * emitted to ozone for historical tracking.
 */
@Serializable
public data class RecordEvent(
  public val comment: String? = null,
  public val op: Op,
  public val cid: Cid? = null,
  public val timestamp: Timestamp,
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy