/* * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT. */ import { l } from "@atproto/lex"; const $nsid = "com.atproto.label.defs"; export { $nsid }; /** Metadata tag on an atproto resource (eg, repo or record). */ type Label = { $type?: "com.atproto.label.defs#label"; /** * Optionally, CID specifying the specific version of 'uri' resource this label applies to. */ "cid"?:l.CidString; /** * Timestamp when this label was created. */ "cts":l.DatetimeString; /** * Timestamp at which this label expires (no longer applies). */ "exp"?:l.DatetimeString; /** * If true, this is a negation label, overwriting a previous label. */ "neg"?:boolean; /** * Signature of dag-cbor encoded label. */ "sig"?:Uint8Array; /** * DID of the actor who created this label. */ "src":l.DidString; /** * AT URI of the record, repository (account), or other resource that this label applies to. */ "uri":l.UriString; /** * The short string name of the value or type of this label. */ "val":string; /** * The AT Protocol version of the label object. */ "ver"?:number }; export type { Label }; /** Metadata tag on an atproto resource (eg, repo or record). */ const label = /*#__PURE__*/ l.typedObject