You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** The handle or DID of the repo (aka, current account). */
3192
3245
repo: string;
3193
-
/**
3194
-
* The Record Key.
3195
-
* Maximum string length: 512
3196
-
*/
3197
-
rkey?: string;
3246
+
/** The Record Key. */
3247
+
rkey?: At.RKEY;
3198
3248
/** Compare and swap with the previous commit by CID. */
3199
3249
swapCommit?: At.CID;
3200
3250
/** Can be set to 'false' to skip Lexicon schema validation of record data, 'true' to require it, or leave unset to validate only for known Lexicons. */
/** Optional field, the current rev of the repo, if active=true */
3957
-
rev?: string;
4004
+
rev?: At.TID;
3958
4005
/** If active=false, this optional field indicates a possible reason for why the account is not active. If active=false and no status is supplied, then the host makes no claim for why the repository is no longer being hosted. */
/** If active=false, this optional field indicates a possible reason for why the account is not active. If active=false and no status is supplied, then the host makes no claim for why the repository is no longer being hosted. */
/** Represents an update of repository state. Note that empty commits are allowed, which include no repo data changes, but an update to rev and signature. */
4092
4155
interfaceCommitextendsTypedBase{
4093
-
/** List of new blobs (by CID) referenced by records in this commit. */
4156
+
/**
4157
+
* DEPRECATED -- will soon always be empty. List of new blobs (by CID) referenced by records in this commit.
4158
+
* \@deprecated
4159
+
*/
4094
4160
blobs: At.CIDLink[];
4095
-
/** CAR file containing relevant blocks, as a diff since the previous repo state. */
4161
+
/** CAR file containing relevant blocks, as a diff since the previous repo state. The commit must be included as a block, and the commit block CID must be the first entry in the CAR header 'roots' list. */
/** The repo this event comes from. Note that all other message types name this field 'did'. */
4110
4176
repo: At.DID;
4111
4177
/** The rev of the emitted commit. Note that this information is also in the commit object included in blocks, unless this is a tooBig event. */
4112
-
rev: string;
4178
+
rev: At.TID;
4113
4179
/** The stream sequence number of this message. */
4114
4180
seq: number;
4115
4181
/** The rev of the last emitted commit from this repo (if any). */
4116
-
since: string|null;
4182
+
since: At.TID|null;
4117
4183
/** Timestamp of when this message was originally broadcast. */
4118
4184
time: string;
4119
-
/** Indicates that this commit contained too many ops, or data size was too large. Consumers will need to make a separate request to get missing data. */
4120
-
tooBig: boolean;
4121
4185
/**
4122
-
* DEPRECATED -- unused. WARNING -- nullable and optional; stick with optional to ensure golang interoperability.
4186
+
* DEPRECATED -- replaced by #sync event and data limits. Indicates that this commit contained too many ops, or data size was too large. Consumers will need to make a separate request to get missing data.
4123
4187
* \@deprecated
4124
4188
*/
4125
-
prev?: At.CIDLink|null;
4189
+
tooBig: boolean;
4190
+
/** The root CID of the MST tree for the previous commit from this repo (indicated by the 'since' revision field in this message). Corresponds to the 'data' field in the repo commit object. NOTE: this field is effectively required for the 'inductive' version of firehose. */
/** For creates and updates, the new record CID. For deletions, null. */
4163
4229
cid: At.CIDLink|null;
4164
4230
path: string;
4231
+
/** For updates and deletes, the previous record CID (required for inductive firehose). For creations, field should not be defined. */
4232
+
prev?: At.CIDLink;
4233
+
}
4234
+
/** Updates the repo to a new state, without necessarily including that state on the firehose. Used to recover from broken commit streams, data loss incidents, or in situations where upstream host does not know recent state of the repository. */
4235
+
interfaceSyncextendsTypedBase{
4236
+
/** CAR file containing the commit, as a block. The CAR header must include the commit block CID as the first 'root'. */
4237
+
blocks: At.Bytes;
4238
+
/** The account this repo event corresponds to. Must match that in the commit object. */
4239
+
did: At.DID;
4240
+
/** The rev of the commit. This value must match that in the commit object. */
4241
+
rev: string;
4242
+
/** The stream sequence number of this message. */
4243
+
seq: number;
4244
+
/** Timestamp of when this message was originally broadcast. */
0 commit comments