@atcute/car
Version:
lightweight DASL CAR and atproto repository decoder for AT Protocol.
21 lines (20 loc) • 565 B
TypeScript
import * as CID from '@atcute/cid';
import { type CarEntry } from '../car-reader/index.js';
export declare class RepoEntry {
/** the collection this record belongs to */
readonly collection: string;
/** record key */
readonly rkey: string;
/** CID of this record */
readonly cid: CID.CidLink;
/** the associated CarEntry for this record */
readonly carEntry: CarEntry;
/**
* raw contents of this record
*/
get bytes(): Uint8Array;
/**
* decoded contents of this record
*/
get record(): unknown;
}