···44import { isCidLink, type CidLink } from '@atcute/cid';
5566export class RepoEntry {
77+ /** the collection this record belongs to */
88+ readonly collection: string;
99+ /** record key */
1010+ readonly rkey: string;
1111+ /** CID of this record */
1212+ readonly cid: CidLink;
1313+ /** the associated CarEntry for this record */
1414+ readonly carEntry: CarEntry;
1515+716 /** @internal */
88- constructor(
99- /** the collection this record belongs to */
1010- public readonly collection: string,
1111- /** record key */
1212- public readonly rkey: string,
1313- /** CID of this record */
1414- public readonly cid: CidLink,
1515- /** the associated CarEntry for this record */
1616- public readonly carEntry: CarEntry,
1717- ) {}
1717+ constructor(collection: string, rkey: string, cid: CidLink, carEntry: CarEntry) {
1818+ this.collection = collection;
1919+ this.rkey = rkey;
2020+ this.cid = cid;
2121+ this.carEntry = carEntry;
2222+ }
18231924 /**
2025 * raw contents of this record