Module Cephalopod_models.App_Bsky_Richtext_Facet

lexicon "app.bsky.richtext.facet"

def main

type nonrec main = Types.app_bsky_richtext_facet_main = {
  1. index : Types.app_bsky_richtext_facet_byteslice;
  2. features : [ `App_bsky_richtext_facet_mention of Types.app_bsky_richtext_facet_mention | `App_bsky_richtext_facet_link of Types.app_bsky_richtext_facet_link | `App_bsky_richtext_facet_tag of Types.app_bsky_richtext_facet_tag | `Other of Cephalopod_dasl.Value.t ] list;
}

def mention

type nonrec mention = Types.app_bsky_richtext_facet_mention = {
  1. did : string;
    (*

    format: "Did"

    *)
}

def tag

type nonrec tag = Types.app_bsky_richtext_facet_tag = {
  1. tag : string;
    (*

    maximum length: 640

    *)
}

def byteSlice

type nonrec byteslice = Types.app_bsky_richtext_facet_byteslice = {
  1. byteStart : int64;
    (*

    minimum: 0

    *)
  2. byteEnd : int64;
    (*

    minimum: 0

    *)
}