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

commonMain.com.atproto.sync.subscribeReposRepoOp.kt Maven / Gradle / Ivy

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

package com.atproto.sync

import kotlin.ByteArray
import kotlin.String
import kotlin.Suppress
import kotlinx.serialization.Serializable
import kotlinx.serialization.cbor.ByteString

/**
 * A repo operation, ie a mutation of a single record.
 *
 * @param cid For creates and updates, the new record CID. For deletions, null.
 */
@Serializable
public data class SubscribeReposRepoOp(
  public val action: SubscribeReposAction,
  public val path: String,
  /**
   * For creates and updates, the new record CID. For deletions, null.
   */
  @ByteString
  public val cid: ByteArray? = null,
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy