@atproto/pds 0.4.100 → 0.4.101

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/actor-store/repo/transactor.d.ts +5 -5
  3. package/dist/actor-store/repo/transactor.d.ts.map +1 -1
  4. package/dist/actor-store/repo/transactor.js +38 -18
  5. package/dist/actor-store/repo/transactor.js.map +1 -1
  6. package/dist/actor-store/repo/util.d.ts +5 -0
  7. package/dist/actor-store/repo/util.d.ts.map +1 -0
  8. package/dist/actor-store/repo/util.js +25 -0
  9. package/dist/actor-store/repo/util.js.map +1 -0
  10. package/dist/api/com/atproto/repo/applyWrites.js +1 -1
  11. package/dist/api/com/atproto/repo/applyWrites.js.map +1 -1
  12. package/dist/api/com/atproto/repo/createRecord.d.ts.map +1 -1
  13. package/dist/api/com/atproto/repo/createRecord.js +3 -3
  14. package/dist/api/com/atproto/repo/createRecord.js.map +1 -1
  15. package/dist/api/com/atproto/repo/deleteRecord.js +1 -1
  16. package/dist/api/com/atproto/repo/deleteRecord.js.map +1 -1
  17. package/dist/api/com/atproto/repo/putRecord.d.ts.map +1 -1
  18. package/dist/api/com/atproto/repo/putRecord.js +1 -1
  19. package/dist/api/com/atproto/repo/putRecord.js.map +1 -1
  20. package/dist/api/com/atproto/server/activateAccount.d.ts.map +1 -1
  21. package/dist/api/com/atproto/server/activateAccount.js +4 -1
  22. package/dist/api/com/atproto/server/activateAccount.js.map +1 -1
  23. package/dist/api/com/atproto/server/createAccount.js +1 -1
  24. package/dist/api/com/atproto/server/createAccount.js.map +1 -1
  25. package/dist/index.d.ts +1 -1
  26. package/dist/index.d.ts.map +1 -1
  27. package/dist/lexicon/lexicons.d.ts +98 -32
  28. package/dist/lexicon/lexicons.d.ts.map +1 -1
  29. package/dist/lexicon/lexicons.js +70 -15
  30. package/dist/lexicon/lexicons.js.map +1 -1
  31. package/dist/lexicon/types/com/atproto/sync/getRepoStatus.d.ts +1 -1
  32. package/dist/lexicon/types/com/atproto/sync/getRepoStatus.d.ts.map +1 -1
  33. package/dist/lexicon/types/com/atproto/sync/listRepos.d.ts +1 -1
  34. package/dist/lexicon/types/com/atproto/sync/listRepos.d.ts.map +1 -1
  35. package/dist/lexicon/types/com/atproto/sync/listRepos.js.map +1 -1
  36. package/dist/lexicon/types/com/atproto/sync/subscribeRepos.d.ts +25 -7
  37. package/dist/lexicon/types/com/atproto/sync/subscribeRepos.d.ts.map +1 -1
  38. package/dist/lexicon/types/com/atproto/sync/subscribeRepos.js +9 -0
  39. package/dist/lexicon/types/com/atproto/sync/subscribeRepos.js.map +1 -1
  40. package/dist/lexicon/types/tools/ozone/moderation/defs.d.ts +2 -2
  41. package/dist/lexicon/types/tools/ozone/moderation/defs.d.ts.map +1 -1
  42. package/dist/repo/types.d.ts +12 -1
  43. package/dist/repo/types.d.ts.map +1 -1
  44. package/dist/repo/types.js.map +1 -1
  45. package/dist/scripts/rebuild-repo.d.ts.map +1 -1
  46. package/dist/scripts/rebuild-repo.js +4 -1
  47. package/dist/scripts/rebuild-repo.js.map +1 -1
  48. package/dist/sequencer/events.d.ts +22 -16
  49. package/dist/sequencer/events.d.ts.map +1 -1
  50. package/dist/sequencer/events.js +31 -39
  51. package/dist/sequencer/events.js.map +1 -1
  52. package/dist/sequencer/sequencer.d.ts +2 -3
  53. package/dist/sequencer/sequencer.d.ts.map +1 -1
  54. package/dist/sequencer/sequencer.js +2 -2
  55. package/dist/sequencer/sequencer.js.map +1 -1
  56. package/package.json +6 -6
  57. package/src/actor-store/repo/transactor.ts +47 -21
  58. package/src/actor-store/repo/util.ts +22 -0
  59. package/src/api/com/atproto/repo/applyWrites.ts +1 -1
  60. package/src/api/com/atproto/repo/createRecord.ts +28 -31
  61. package/src/api/com/atproto/repo/deleteRecord.ts +1 -1
  62. package/src/api/com/atproto/repo/putRecord.ts +3 -3
  63. package/src/api/com/atproto/server/activateAccount.ts +4 -1
  64. package/src/api/com/atproto/server/createAccount.ts +1 -1
  65. package/src/index.ts +1 -1
  66. package/src/lexicon/lexicons.ts +79 -16
  67. package/src/lexicon/types/com/atproto/sync/getRepoStatus.ts +8 -1
  68. package/src/lexicon/types/com/atproto/sync/listRepos.ts +8 -1
  69. package/src/lexicon/types/com/atproto/sync/subscribeRepos.ts +41 -6
  70. package/src/lexicon/types/tools/ozone/moderation/defs.ts +2 -2
  71. package/src/repo/types.ts +14 -1
  72. package/src/scripts/rebuild-repo.ts +4 -1
  73. package/src/sequencer/events.ts +35 -49
  74. package/src/sequencer/sequencer.ts +3 -5
  75. package/tests/crud.test.ts +1 -1
  76. package/tests/sequencer.test.ts +1 -5
  77. package/tests/sync/invertible-ops.test.ts +104 -0
  78. package/tsconfig.build.tsbuildinfo +1 -1
  79. package/tsconfig.tests.tsbuildinfo +1 -1
@@ -12,7 +12,7 @@ export interface OutputSchema {
12
12
  did: string;
13
13
  active: boolean;
14
14
  /** 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. */
15
- status?: 'takendown' | 'suspended' | 'deactivated' | (string & {});
15
+ status?: 'takendown' | 'suspended' | 'deleted' | 'deactivated' | 'desynchronized' | 'throttled' | (string & {});
16
16
  /** Optional field, the current rev of the repo, if active=true */
17
17
  rev?: string;
18
18
  }
@@ -1 +1 @@
1
- {"version":3,"file":"getRepoStatus.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/com/atproto/sync/getRepoStatus.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAK7B,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAMtE,MAAM,WAAW,WAAW;IAC1B,2BAA2B;IAC3B,GAAG,EAAE,MAAM,CAAA;CACZ;AAED,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,MAAM,CA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,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI,CACpD,GAAG,EAAE,aAAa,CAAC,EAAE,CAAC,KACnB,OAAO,CAAC,aAAa,CAAC,GAAG,aAAa,CAAA"}
@@ -43,7 +43,7 @@ export interface Repo {
43
43
  rev: string;
44
44
  active?: boolean;
45
45
  /** 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. */
46
- status?: 'takendown' | 'suspended' | 'deactivated' | (string & {});
46
+ status?: 'takendown' | 'suspended' | 'deleted' | 'deactivated' | 'desynchronized' | 'throttled' | (string & {});
47
47
  }
48
48
  export declare function isRepo<V>(v: V): v is import("../../../../util").$TypedObject<V, "com.atproto.sync.listRepos", "repo">;
49
49
  export declare function validateRepo<V>(v: V): ValidationResult<Repo & V>;
@@ -1 +1 @@
1
- {"version":3,"file":"listRepos.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/com/atproto/sync/listRepos.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAC7B,OAAO,EAAE,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAI5D,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAMtE,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,IAAI,EAAE,CAAA;CACd;AAED,MAAM,MAAM,YAAY,GAAG,SAAS,CAAA;AAEpC,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,YAAY,CAAA;IAClB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,C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AE3C,MAAM,WAAW,IAAI;IACnB,KAAK,CAAC,EAAE,iCAAiC,CAAA;IACzC,GAAG,EAAE,MAAM,CAAA;IACX,8BAA8B;IAC9B,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,MAAM,CAAA;IACX,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,oOAAoO;IACpO,MAAM,CAAC,EACH,WAAW,GACX,WAAW,GACX,SAAS,GACT,aAAa,GACb,gBAAgB,GAChB,WAAW,GACX,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;CAClB;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,yFAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC"}
@@ -1 +1 @@
1
- {"version":3,"file":"listRepos.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/com/atproto/sync/listRepos.ts"],"names":[],"mappings":";;AAiEA,wBAEC;AAED,oCAEC;AAjED,mDAA4D;AAC5D,2CAAyE;AAGzE,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,4BAA4B,CAAA;AAmDvC,MAAM,QAAQ,GAAG,MAAM,CAAA;AAEvB,SAAgB,MAAM,CAAI,CAAI;IAC5B,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,QAAQ,CAAC,CAAA;AAClC,CAAC;AAED,SAAgB,YAAY,CAAI,CAAI;IAClC,OAAO,QAAQ,CAAW,CAAC,EAAE,EAAE,EAAE,QAAQ,CAAC,CAAA;AAC5C,CAAC"}
1
+ {"version":3,"file":"listRepos.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/com/atproto/sync/listRepos.ts"],"names":[],"mappings":";;AAwEA,wBAEC;AAED,oCAEC;AAxED,mDAA4D;AAC5D,2CAAyE;AAGzE,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,4BAA4B,CAAA;AA0DvC,MAAM,QAAQ,GAAG,MAAM,CAAA;AAEvB,SAAgB,MAAM,CAAI,CAAI;IAC5B,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,QAAQ,CAAC,CAAA;AAClC,CAAC;AAED,SAAgB,YAAY,CAAI,CAAI;IAClC,OAAO,QAAQ,CAAW,CAAC,EAAE,EAAE,EAAE,QAAQ,CAAC,CAAA;AAC5C,CAAC"}
@@ -10,7 +10,7 @@ export interface QueryParams {
10
10
  /** The last known event seq number to backfill from. */
11
11
  cursor?: number;
12
12
  }
13
- export type OutputSchema = $Typed<Commit> | $Typed<Identity> | $Typed<Account> | $Typed<Handle> | $Typed<Migrate> | $Typed<Tombstone> | $Typed<Info> | {
13
+ export type OutputSchema = $Typed<Commit> | $Typed<Sync> | $Typed<Identity> | $Typed<Account> | $Typed<Handle> | $Typed<Migrate> | $Typed<Tombstone> | $Typed<Info> | {
14
14
  $type: string;
15
15
  };
16
16
  export type HandlerError = ErrorFrame<'FutureCursor' | 'ConsumerTooSlow'>;
@@ -29,27 +29,43 @@ export interface Commit {
29
29
  seq: number;
30
30
  /** DEPRECATED -- unused */
31
31
  rebase: boolean;
32
- /** 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. */
32
+ /** 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. */
33
33
  tooBig: boolean;
34
- /** The repo this event comes from. */
34
+ /** The repo this event comes from. Note that all other message types name this field 'did'. */
35
35
  repo: string;
36
36
  /** Repo commit object CID. */
37
37
  commit: CID;
38
- /** DEPRECATED -- unused. WARNING -- nullable and optional; stick with optional to ensure golang interoperability. */
39
- prev?: CID | null;
40
38
  /** 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. */
41
39
  rev: string;
42
40
  /** The rev of the last emitted commit from this repo (if any). */
43
41
  since: string | null;
44
- /** CAR file containing relevant blocks, as a diff since the previous repo state. */
42
+ /** 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. */
45
43
  blocks: Uint8Array;
46
44
  ops: RepoOp[];
47
45
  blobs: CID[];
46
+ /** 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. */
47
+ prevData?: CID;
48
48
  /** Timestamp of when this message was originally broadcast. */
49
49
  time: string;
50
50
  }
51
51
  export declare function isCommit<V>(v: V): v is import("../../../../util").$TypedObject<V, "com.atproto.sync.subscribeRepos", "commit">;
52
52
  export declare function validateCommit<V>(v: V): ValidationResult<Commit & V>;
53
+ /** 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. */
54
+ export interface Sync {
55
+ $type?: 'com.atproto.sync.subscribeRepos#sync';
56
+ /** The stream sequence number of this message. */
57
+ seq: number;
58
+ /** The account this repo event corresponds to. Must match that in the commit object. */
59
+ did: string;
60
+ /** CAR file containing the commit, as a block. The CAR header must include the commit block CID as the first 'root'. */
61
+ blocks: Uint8Array;
62
+ /** The rev of the commit. This value must match that in the commit object. */
63
+ rev: string;
64
+ /** Timestamp of when this message was originally broadcast. */
65
+ time: string;
66
+ }
67
+ export declare function isSync<V>(v: V): v is import("../../../../util").$TypedObject<V, "com.atproto.sync.subscribeRepos", "sync">;
68
+ export declare function validateSync<V>(v: V): ValidationResult<Sync & V>;
53
69
  /** Represents a change to an account's identity. Could be an updated handle, signing key, or pds hosting endpoint. Serves as a prod to all downstream services to refresh their identity cache. */
54
70
  export interface Identity {
55
71
  $type?: 'com.atproto.sync.subscribeRepos#identity';
@@ -70,7 +86,7 @@ export interface Account {
70
86
  /** Indicates that the account has a repository which can be fetched from the host that emitted this event. */
71
87
  active: boolean;
72
88
  /** If active=false, this optional field indicates a reason for why the account is not active. */
73
- status?: 'takendown' | 'suspended' | 'deleted' | 'deactivated' | (string & {});
89
+ status?: 'takendown' | 'suspended' | 'deleted' | 'deactivated' | 'desynchronized' | 'throttled' | (string & {});
74
90
  }
75
91
  export declare function isAccount<V>(v: V): v is import("../../../../util").$TypedObject<V, "com.atproto.sync.subscribeRepos", "account">;
76
92
  export declare function validateAccount<V>(v: V): ValidationResult<Account & V>;
@@ -117,6 +133,8 @@ export interface RepoOp {
117
133
  path: string;
118
134
  /** For creates and updates, the new record CID. For deletions, null. */
119
135
  cid: CID | null;
136
+ /** For updates and deletes, the previous record CID (required for inductive firehose). For creations, field should not be defined. */
137
+ prev?: CID;
120
138
  }
121
139
  export declare function isRepoOp<V>(v: V): v is import("../../../../util").$TypedObject<V, "com.atproto.sync.subscribeRepos", "repoOp">;
122
140
  export declare function validateRepoOp<V>(v: V): ValidationResult<RepoOp & V>;
@@ -1 +1 @@
1
- {"version":3,"file":"subscribeRepos.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/com/atproto/sync/subscribeRepos.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAC5D,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AAEtC,OAAO,EAAE,MAAM,EAAkC,MAAM,kBAAkB,CAAA;AACzE,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AAM3C,MAAM,WAAW,WAAW;IAC1B,wDAAwD;IACxD,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,MAAM,YAAY,GACpB,MAAM,CAAC,MAAM,CAAC,GACd,MAAM,CAAC,QAAQ,CAAC,GAChB,MAAM,CAAC,OAAO,CAAC,GACf,MAAM,CAAC,MAAM,CAAC,GACd,MAAM,CAAC,OAAO,CAAC,GACf,MAAM,CAAC,SAAS,CAAC,G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AAE,CAAC,gGAE/B;AAED,wBAAgB,cAAc,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,gCAErC"}
1
+ {"version":3,"file":"subscribeRepos.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/com/atproto/sync/subscribeRepos.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAC5D,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AAEtC,OAAO,EAAE,MAAM,EAAkC,MAAM,kBAAkB,CAAA;AACzE,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AAM3C,MAAM,WAAW,WAAW;IAC1B,wDAAwD;IACxD,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,MAAM,YAAY,GACpB,MAAM,CAAC,MAAM,CAAC,GACd,MAAM,CAAC,IAAI,CAAC,GACZ,MAAM,CAAC,QAAQ,CAAC,GAChB,MAAM,CAAC,OAAO,CAAC,GACf,MAAM,CAAC,MAAM,CAAC,GACd,MAAM,CAAC,OAAO,CAAC,GACf,MAAM,CAAC,SAAS,CAAC,GACjB,MAAM,CAAC,IAAI,CAAC,GACZ;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,CAAA;AACrB,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC,cAAc,GAAG,iBAAiB,CAAC,CAAA;AACzE,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,YAAY,CAAA;AACvD,MAAM,MAAM,aAAa,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI;IAC1D,IAAI,EAAE,EAAE,CAAA;IACR,MAAM,EAAE,WAAW,CAAA;IACnB,GAAG,EAAE,eAAe,CAAA;IACpB,MAAM,EAAE,WAAW,CAAA;CACpB,CAAA;AACD,MAAM,MAAM,OAAO,CAAC,EAAE,SAAS,WA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AgB,QAAQ,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,gGAE/B;AAED,wBAAgB,cAAc,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,gCAErC"}
@@ -2,6 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.isCommit = isCommit;
4
4
  exports.validateCommit = validateCommit;
5
+ exports.isSync = isSync;
6
+ exports.validateSync = validateSync;
5
7
  exports.isIdentity = isIdentity;
6
8
  exports.validateIdentity = validateIdentity;
7
9
  exports.isAccount = isAccount;
@@ -27,6 +29,13 @@ function isCommit(v) {
27
29
  function validateCommit(v) {
28
30
  return validate(v, id, hashCommit);
29
31
  }
32
+ const hashSync = 'sync';
33
+ function isSync(v) {
34
+ return is$typed(v, id, hashSync);
35
+ }
36
+ function validateSync(v) {
37
+ return validate(v, id, hashSync);
38
+ }
30
39
  const hashIdentity = 'identity';
31
40
  function isIdentity(v) {
32
41
  return is$typed(v, id, hashIdentity);
@@ -1 +1 @@
1
- {"version":3,"file":"subscribeRepos.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/com/atproto/sync/subscribeRepos.ts"],"names":[],"mappings":";;AAqEA,4BAEC;AAED,wCAEC;AAcD,gCAEC;AAED,4CAEC;AAgBD,8BAEC;AAED,0CAEC;AAaD,4BAEC;AAED,wCAEC;AAaD,8BAEC;AAED,0CAEC;AAYD,kCAEC;AAED,8CAEC;AAUD,wBAEC;AAED,oCAEC;AAaD,4BAEC;AAED,wCAEC;AA3MD,mDAA4D;AAC5D,2CAAyE;AAIzE,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,iCAAiC,CAAA;AAuD5C,MAAM,UAAU,GAAG,QAAQ,CAAA;AAE3B,SAAgB,QAAQ,CAAI,CAAI;IAC9B,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,UAAU,CAAC,CAAA;AACpC,CAAC;AAED,SAAgB,cAAc,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AWD,MAAM,WAAW,GAAG,SAAS,CAAA;AAE7B,SAAgB,SAAS,CAAI,CAAI;IAC/B,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,WAAW,CAAC,CAAA;AACrC,CAAC;AAED,SAAgB,eAAe,CAAI,CAAI;IACrC,OAAO,QAAQ,CAAc,CAAC,EAAE,EAAE,EAAE,WAAW,CAAC,CAAA;AAClD,CAAC;AAUD,MAAM,aAAa,GAAG,WAAW,CAAA;AAEjC,SAAgB,WAAW,CAAI,CAAI;IACjC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,aAAa,CAAC,CAAA;AACvC,CAAC;AAED,SAAgB,iBAAiB,CAAI,CAAI;IACvC,OAAO,QAAQ,CAAgB,CAAC,EAAE,EAAE,EAAE,aAAa,CAAC,CAAA;AACtD,CAAC;AAQD,MAAM,QAAQ,GAAG,MAAM,CAAA;AAEvB,SAAgB,MAAM,CAAI,CAAI;IAC5B,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,QAAQ,CAAC,CAAA;AAClC,CAAC;AAED,SAAgB,YAAY,CAAI,CAAI;IAClC,OAAO,QAAQ,CAAW,CAAC,EAAE,EAAE,EAAE,QAAQ,CAAC,CAAA;AAC5C,CAAC;AAaD,MAAM,UAAU,GAAG,QAAQ,CAAA;AAE3B,SAAgB,QAAQ,CAAI,CAAI;IAC9B,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,UAAU,CAAC,CAAA;AACpC,CAAC;AAED,SAAgB,cAAc,CAAI,CAAI;IACpC,OAAO,QAAQ,CAAa,CAAC,EAAE,EAAE,EAAE,UAAU,CAAC,CAAA;AAChD,CAAC"}
@@ -154,10 +154,10 @@ export interface ModEventResolveAppeal {
154
154
  }
155
155
  export declare function isModEventResolveAppeal<V>(v: V): v is import("../../../../util").$TypedObject<V, "tools.ozone.moderation.defs", "modEventResolveAppeal">;
156
156
  export declare function validateModEventResolveAppeal<V>(v: V): ValidationResult<ModEventResolveAppeal & V>;
157
- /** Add a comment to a subject */
157
+ /** Add a comment to a subject. An empty comment will clear any previously set sticky comment. */
158
158
  export interface ModEventComment {
159
159
  $type?: 'tools.ozone.moderation.defs#modEventComment';
160
- comment: string;
160
+ comment?: string;
161
161
  /** Make the comment persistent on the subject */
162
162
  sticky?: boolean;
163
163
  }
@@ -1 +1 @@
1
- {"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/tools/ozone/moderation/defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAG5D,OAAO,EAAE,MAAM,EAAkC,MAAM,kBAAkB,CAAA;AACzE,OAAO,KAAK,KAAK,mBAAmB,MAAM,oCAAoC,CAAA;AAC9E,OAAO,KAAK,KAAK,uBAAuB,MAAM,wCAAwC,CAAA;AACtF,OAAO,KAAK,KAAK,iBAAiB,MAAM,kCAAkC,CAAA;AAC1E,OAAO,KAAK,KAAK,wBAAwB,MAAM,yCAAyC,CAAA;AACxF,OAAO,KAAK,KAAK,oBAAoB,MAAM,qCAAqC,CAAA;AAChF,OAAO,KAAK,KAAK,mBAAmB,MAAM,oCAAoC,CAAA;AAM9E,MAAM,WAAW,YAAY;IAC3B,KAAK,CAAC,EAAE,0CAA0C,CAAA;IAClD,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EACD,MAAM,CAAC,gBAAgB,CAAC,GACxB,MAAM,CAAC,uBAAuB,CAAC,GAC/B,MAAM,CAAC,eAAe,CAAC,GACvB,MAAM,CAAC,cAAc,CAAC,GACtB,MAAM,CAAC,aAAa,CAAC,GACrB,MAAM,CAAC,mBAAmB,CAAC,GAC3B,MAAM,CAAC,gBAAgB,CAAC,GACxB,MAAM,CAAC,YAAY,CAAC,GACpB,MAAM,CAAC,cAAc,CAAC,GACtB,MAAM,CAAC,oBAAoB,CAAC,GAC5B,MAAM,CAAC,sBAAsB,CAAC,GAC9B,MAAM,CAAC,aA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AAC,EAAE,CAAC,EAAE,CAAC,oGAEvC;AAED,wBAAgB,sBAAsB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,wCAE7C;AAED,MAAM,WAAW,aAAa;IAC5B,KAAK,CAAC,EAAE,2CAA2C,CAAA;IACnD,MAAM,EAAE,SAAS,GAAG,SAAS,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;IAC7C,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAID,wBAAgB,eAAe,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,mGAEtC;AAED,wBAAgB,qBAAqB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,uCAE5C;AAED,MAAM,WAAW,aAAa;IAC5B,KAAK,CAAC,EAAE,2CAA2C,CAAA;IACnD,GAAG,EAAE,MAAM,CAAA;IACX,gEAAgE;IAChE,kBAAkB,EAAE,MAAM,CAAA;IAC1B,+DAA+D;IAC/D,iBAAiB,EAAE,MAAM,CAAA;IACzB,yDAAyD;IACzD,oBAAoB,EAAE,MAAM,CAAA;IAC5B,wDAAwD;IACxD,mBAAmB,EAAE,MAAM,CAAA;IAC3B,iFAAiF;IACjF,qBAAqB,EAAE,MAAM,CAAA;IAC7B,gFAAgF;IAChF,oBAAoB,EAAE,MAAM,CAAA;IAC5B,8EAA8E;IAC9E,mBAAmB,EAAE,MAAM,CAAA;IAC3B,6EAA6E;IAC7E,kBAAkB,EAAE,MAAM,CAAA;CAC3B;AAID,wBAAgB,eAAe,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,mGAEtC;AAED,wBAAgB,qBAAqB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,uCAE5C"}
@@ -1,6 +1,6 @@
1
1
  import { CID } from 'multiformats/cid';
2
2
  import { RepoRecord } from '@atproto/lexicon';
3
- import { WriteOpAction } from '@atproto/repo';
3
+ import { CidSet, CommitData, WriteOpAction } from '@atproto/repo';
4
4
  import { AtUri } from '@atproto/syntax';
5
5
  export type ValidationStatus = 'valid' | 'unknown' | undefined;
6
6
  export type BlobConstraint = {
@@ -35,6 +35,17 @@ export type PreparedDelete = {
35
35
  uri: AtUri;
36
36
  swapCid?: CID | null;
37
37
  };
38
+ export type CommitOp = {
39
+ action: 'create' | 'update' | 'delete';
40
+ path: string;
41
+ cid: CID | null;
42
+ prev?: CID;
43
+ };
44
+ export type CommitDataWithOps = CommitData & {
45
+ ops: CommitOp[];
46
+ blobs: CidSet;
47
+ prevData: CID | null;
48
+ };
38
49
  export type PreparedWrite = PreparedCreate | PreparedUpdate | PreparedDelete;
39
50
  export declare class InvalidRecordError extends Error {
40
51
  }
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/repo/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA;AAC7C,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAA;AAEvC,MAAM,MAAM,gBAAgB,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,CAAA;AAE9D,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;IACjB,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,eAAe,GAAG;IAC5B,GAAG,EAAE,GAAG,CAAA;IACR,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,EAAE,cAAc,CAAA;CAC5B,CAAA;AAED,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,EAAE,aAAa,CAAC,MAAM,CAAA;IAC5B,GAAG,EAAE,KAAK,CAAA;IACV,GAAG,EAAE,GAAG,CAAA;IACR,OAAO,CAAC,EAAE,GAAG,GAA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X,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG,UAAU,GAAG;IAC3C,GAAG,EAAE,QAAQ,EAAE,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,GAAG,GAAG,IAAI,CAAA;CACrB,CAAA;AAED,MAAM,MAAM,aAAa,GAAG,cAAc,GAAG,cAAc,GAAG,cAAc,CAAA;AAE5E,qBAAa,kBAAmB,SAAQ,KAAK;CAAG;AAEhD,qBAAa,kBAAmB,SAAQ,KAAK;IACxB,GAAG,EAAE,GAAG;gBAAR,GAAG,EAAE,GAAG;CAG5B;AAED,qBAAa,kBAAmB,SAAQ,KAAK;IACxB,GAAG,EAAE,GAAG,GAAG,IAAI;gBAAf,GAAG,EAAE,GAAG,GAAG,IAAI;CAGnC"}
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/repo/types.ts"],"names":[],"mappings":";;;AA8CA,MAAa,kBAAmB,SAAQ,KAAK;CAAG;AAAhD,gDAAgD;AAEhD,MAAa,kBAAmB,SAAQ,KAAK;IAC3C,YAAmB,GAAQ;QACzB,KAAK,CAAC,iBAAiB,GAAG,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAA;QAD9B;;;;mBAAO,GAAG;WAAK;IAE3B,CAAC;CACF;AAJD,gDAIC;AAED,MAAa,kBAAmB,SAAQ,KAAK;IAC3C,YAAmB,GAAe;QAChC,KAAK,CAAC,iBAAiB,GAAG,EAAE,QAAQ,EAAE,IAAI,MAAM,EAAE,CAAC,CAAA;QADzC;;;;mBAAO,GAAG;WAAY;IAElC,CAAC;CACF;AAJD,gDAIC"}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/repo/types.ts"],"names":[],"mappings":";;;AA2DA,MAAa,kBAAmB,SAAQ,KAAK;CAAG;AAAhD,gDAAgD;AAEhD,MAAa,kBAAmB,SAAQ,KAAK;IAC3C,YAAmB,GAAQ;QACzB,KAAK,CAAC,iBAAiB,GAAG,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAA;QAD9B;;;;mBAAO,GAAG;WAAK;IAE3B,CAAC;CACF;AAJD,gDAIC;AAED,MAAa,kBAAmB,SAAQ,KAAK;IAC3C,YAAmB,GAAe;QAChC,KAAK,CAAC,iBAAiB,GAAG,EAAE,QAAQ,EAAE,IAAI,MAAM,EAAE,CAAC,CAAA;QADzC;;;;mBAAO,GAAG;WAAY;IAElC,CAAC;CACF;AAJD,gDAIC"}
@@ -1 +1 @@
1
- {"version":3,"file":"rebuild-repo.d.ts","sourceRoot":"","sources":["../../src/scripts/rebuild-repo.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;AAEvC,eAAO,MAAM,WAAW,QAAe,UAAU,QAAQ,MAAM,EAAE,kBAkEhE,CAAA"}
1
+ {"version":3,"file":"rebuild-repo.d.ts","sourceRoot":"","sources":["../../src/scripts/rebuild-repo.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;AAEvC,eAAO,MAAM,WAAW,QAAe,UAAU,QAAQ,MAAM,EAAE,kBAqEhE,CAAA"}
@@ -62,10 +62,13 @@ const rebuildRepo = async (ctx, args) => {
62
62
  newBlocks,
63
63
  relevantBlocks: newBlocks,
64
64
  removedCids: toDelete,
65
+ ops: [],
66
+ blobs: new repo_1.CidSet(),
67
+ prevData: null,
65
68
  };
66
69
  });
67
70
  await ctx.accountManager.updateRepoRoot(did, commit.cid, rev);
68
- await ctx.sequencer.sequenceCommit(did, commit, []);
71
+ await ctx.sequencer.sequenceCommit(did, commit);
69
72
  };
70
73
  exports.rebuildRepo = rebuildRepo;
71
74
  const promptContinue = async () => {
@@ -1 +1 @@
1
- {"version":3,"file":"rebuild-repo.js","sourceRoot":"","sources":["../../src/scripts/rebuild-repo.ts"],"names":[],"mappings":";;;;;;AAAA,sEAA6C;AAC7C,4CAAqC;AACrC,wCAMsB;AAGf,MAAM,WAAW,GAAG,KAAK,E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T,cAAc,EAAE,SAAS;YACzB,WAAW,EAAE,QAAQ;YACrB,GAAG,EAAE,EAAE;YACP,KAAK,EAAE,IAAI,aAAM,EAAE;YACnB,QAAQ,EAAE,IAAI;SACf,CAAA;IACH,CAAC,CAAC,CAAA;IACF,MAAM,GAAG,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG,EAAE,MAAM,CAAC,GAAG,EAAE,GAAG,CAAC,CAAA;IAC7D,MAAM,GAAG,CAAC,SAAS,CAAC,cAAc,CAAC,GAAG,EAAE,MAAM,CAAC,CAAA;AACjD,CAAC,CAAA;AArEY,QAAA,WAAW,eAqEvB;AAED,MAAM,cAAc,GAAG,KAAK,IAAsB,EAAE;IAClD,MAAM,EAAE,GAAG,kBAAQ,CAAC,eAAe,CAAC;QAClC,KAAK,EAAE,OAAO,CAAC,KAAK;QACpB,MAAM,EAAE,OAAO,CAAC,MAAM;KACvB,CAAC,CAAA;IACF,MAAM,MAAM,GAAG,MAAM,EAAE,CAAC,QAAQ,CAAC,gBAAgB,CAAC,CAAA;IAClD,OAAO,MAAM,KAAK,EAAE,CAAA;AACtB,CAAC,CAAA"}
@@ -1,10 +1,8 @@
1
- import { CID } from 'multiformats/cid';
2
1
  import { z } from 'zod';
3
- import { CommitData } from '@atproto/repo';
4
2
  import { AccountStatus } from '../account-manager';
5
- import { PreparedWrite } from '../repo';
3
+ import { CommitDataWithOps } from '../repo';
6
4
  import { RepoSeqInsert } from './db';
7
- export declare const formatSeqCommit: (did: string, commitData: CommitData, writes: PreparedWrite[]) => Promise<RepoSeqInsert>;
5
+ export declare const formatSeqCommit: (did: string, commitData: CommitDataWithOps) => Promise<RepoSeqInsert>;
8
6
  export declare const formatSeqHandleUpdate: (did: string, handle: string) => Promise<RepoSeqInsert>;
9
7
  export declare const formatSeqIdentityEvt: (did: string, handle?: string) => Promise<RepoSeqInsert>;
10
8
  export declare const formatSeqAccountEvt: (did: string, status: AccountStatus) => Promise<RepoSeqInsert>;
@@ -12,55 +10,62 @@ export declare const formatSeqTombstone: (did: string) => Promise<RepoSeqInsert>
12
10
  export declare const commitEvtOp: z.ZodObject<{
13
11
  action: z.ZodUnion<[z.ZodLiteral<"create">, z.ZodLiteral<"update">, z.ZodLiteral<"delete">]>;
14
12
  path: z.ZodString;
15
- cid: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodAny, any, any>, CID, any>>;
13
+ cid: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodAny, any, any>, import("multiformats/cid").CID, any>>;
14
+ prev: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodAny, any, any>, import("multiformats/cid").CID, any>>;
16
15
  }, "strip", z.ZodTypeAny, {
17
- cid: CID | null;
16
+ cid: import("multiformats/cid").CID | null;
18
17
  path: string;
19
18
  action: "create" | "update" | "delete";
19
+ prev?: import("multiformats/cid").CID | undefined;
20
20
  }, {
21
21
  path: string;
22
22
  action: "create" | "update" | "delete";
23
23
  cid?: any;
24
+ prev?: any;
24
25
  }>;
25
26
  export type CommitEvtOp = z.infer<typeof commitEvtOp>;
26
27
  export declare const commitEvt: z.ZodObject<{
27
28
  rebase: z.ZodBoolean;
28
29
  tooBig: z.ZodBoolean;
29
30
  repo: z.ZodString;
30
- commit: z.ZodEffects<z.ZodEffects<z.ZodAny, any, any>, CID, any>;
31
- prev: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodAny, any, any>, CID, any>>;
31
+ commit: z.ZodEffects<z.ZodEffects<z.ZodAny, any, any>, import("multiformats/cid").CID, any>;
32
32
  rev: z.ZodString;
33
33
  since: z.ZodNullable<z.ZodString>;
34
34
  blocks: z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>;
35
35
  ops: z.ZodArray<z.ZodObject<{
36
36
  action: z.ZodUnion<[z.ZodLiteral<"create">, z.ZodLiteral<"update">, z.ZodLiteral<"delete">]>;
37
37
  path: z.ZodString;
38
- cid: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodAny, any, any>, CID, any>>;
38
+ cid: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodAny, any, any>, import("multiformats/cid").CID, any>>;
39
+ prev: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodAny, any, any>, import("multiformats/cid").CID, any>>;
39
40
  }, "strip", z.ZodTypeAny, {
40
- cid: CID | null;
41
+ cid: import("multiformats/cid").CID | null;
41
42
  path: string;
42
43
  action: "create" | "update" | "delete";
44
+ prev?: import("multiformats/cid").CID | undefined;
43
45
  }, {
44
46
  path: string;
45
47
  action: "create" | "update" | "delete";
46
48
  cid?: any;
49
+ prev?: any;
47
50
  }>, "many">;
48
- blobs: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodAny, any, any>, CID, any>, "many">;
51
+ blobs: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodAny, any, any>, import("multiformats/cid").CID, any>, "many">;
52
+ prevData: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodAny, any, any>, import("multiformats/cid").CID, any>>;
49
53
  }, "strip", z.ZodTypeAny, {
50
54
  rev: string;
51
55
  repo: string;
52
- commit: CID;
53
- blobs: CID[];
56
+ commit: import("multiformats/cid").CID;
57
+ blobs: import("multiformats/cid").CID[];
54
58
  since: string | null;
55
59
  rebase: boolean;
56
60
  tooBig: boolean;
57
61
  blocks: Uint8Array;
58
62
  ops: {
59
- cid: CID | null;
63
+ cid: import("multiformats/cid").CID | null;
60
64
  path: string;
61
65
  action: "create" | "update" | "delete";
66
+ prev?: import("multiformats/cid").CID | undefined;
62
67
  }[];
63
- prev: CID | null;
68
+ prevData?: import("multiformats/cid").CID | undefined;
64
69
  }, {
65
70
  rev: string;
66
71
  repo: string;
@@ -73,9 +78,10 @@ export declare const commitEvt: z.ZodObject<{
73
78
  path: string;
74
79
  action: "create" | "update" | "delete";
75
80
  cid?: any;
81
+ prev?: any;
76
82
  }[];
77
83
  commit?: any;
78
- prev?: any;
84
+ prevData?: any;
79
85
  }>;
80
86
  export type CommitEvt = z.infer<typeof commitEvt>;
81
87
  export declare const handleEvt: z.ZodObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/sequencer/events.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACtC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAGL,UAAU,EAGX,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AACvC,OAAO,EAAE,aAAa,EAAE,MAAM,MAAM,CAAA;AAEpC,eAAO,MAAM,eAAe,QACrB,MAAM,cACC,UAAU,UACd,aAAa,EAAE,KACtB,OAAO,CAAC,aAAa,CAuDvB,CAAA;AAED,eAAO,MAAM,qBAAqB,QAC3B,MAAM,UACH,MAAM,KACb,OAAO,CAAC,aAAa,CAWvB,CAAA;AAED,eAAO,MAAM,oBAAoB,QAC1B,MAAM,WACF,MAAM,KACd,OAAO,CAAC,aAAa,CAavB,CAAA;AAED,eAAO,MAAM,mBAAmB,QACzB,MAAM,UACH,aAAa,KACpB,OAAO,CAAC,aAAa,CAevB,CAAA;AAED,eAAO,MAAM,kBAAkB,QACxB,MAAM,KACV,OAAO,CAAC,aAAa,CAUvB,CAAA;AAED,eAAO,MAAM,WAAW;;;;;;;;;;;;EAQtB,CAAA;AACF,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAA;AAErD,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWpB,CAAA;AACF,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,SAAS,CAAC,CAAA;AAEjD,eAAO,MAAM,SAAS;;;;;;;;;EAGpB,CAAA;AACF,MAAM,MAAM,SAAS,GAAG,CAA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= require("@atproto/common");
6
6
  const repo_1 = require("@atproto/repo");
7
7
  const account_manager_1 = require("../account-manager");
8
- const formatSeqCommit = async (did, commitData, writes) => {
9
- let tooBig;
10
- const ops = [];
11
- const blobs = new repo_1.CidSet();
12
- let carSlice;
8
+ const formatSeqCommit = async (did, commitData) => {
13
9
  const blocksToSend = new repo_1.BlockMap();
14
10
  blocksToSend.addMap(commitData.newBlocks);
15
11
  blocksToSend.addMap(commitData.relevantBlocks);
16
- // max 200 ops or 1MB of data
17
- if (writes.length > 200 || blocksToSend.byteSize > 1000000) {
18
- tooBig = true;
12
+ let evt;
13
+ // If event is too big (max 200 ops or 1MB of data)
14
+ if (commitData.ops.length > 200 || blocksToSend.byteSize > 1000000) {
19
15
  const justRoot = new repo_1.BlockMap();
20
16
  const rootBlock = blocksToSend.get(commitData.cid);
21
17
  if (rootBlock) {
22
18
  justRoot.set(commitData.cid, rootBlock);
23
19
  }
24
- carSlice = await (0, repo_1.blocksToCarFile)(commitData.cid, justRoot);
20
+ evt = {
21
+ rebase: false,
22
+ tooBig: true,
23
+ repo: did,
24
+ commit: commitData.cid,
25
+ rev: commitData.rev,
26
+ since: commitData.since,
27
+ blocks: await (0, repo_1.blocksToCarFile)(commitData.cid, justRoot),
28
+ ops: [],
29
+ blobs: [],
30
+ prevData: commitData.prevData ?? undefined,
31
+ };
25
32
  }
26
33
  else {
27
- tooBig = false;
28
- for (const w of writes) {
29
- const path = w.uri.collection + '/' + w.uri.rkey;
30
- let cid;
31
- if (w.action === repo_1.WriteOpAction.Delete) {
32
- cid = null;
33
- }
34
- else {
35
- cid = w.cid;
36
- w.blobs.forEach((blob) => {
37
- blobs.add(blob.cid);
38
- });
39
- }
40
- ops.push({ action: w.action, path, cid });
41
- }
42
- carSlice = await (0, repo_1.blocksToCarFile)(commitData.cid, blocksToSend);
34
+ evt = {
35
+ rebase: false,
36
+ tooBig: false,
37
+ repo: did,
38
+ commit: commitData.cid,
39
+ rev: commitData.rev,
40
+ since: commitData.since,
41
+ blocks: await (0, repo_1.blocksToCarFile)(commitData.cid, blocksToSend),
42
+ ops: commitData.ops,
43
+ blobs: commitData.blobs.toList(),
44
+ prevData: commitData.prevData ?? undefined,
45
+ };
43
46
  }
44
- const evt = {
45
- rebase: false,
46
- tooBig,
47
- repo: did,
48
- commit: commitData.cid,
49
- prev: commitData.prev,
50
- rev: commitData.rev,
51
- since: commitData.since,
52
- ops,
53
- blocks: carSlice,
54
- blobs: blobs.toList(),
55
- };
56
47
  return {
57
48
  did,
58
49
  eventType: 'append',
59
- event: (0, common_1.cborEncode)(evt),
50
+ event: (0, common_1.cborEncode)((0, common_1.noUndefinedVals)(evt)),
60
51
  sequencedAt: new Date().toISOString(),
61
52
  };
62
53
  };
@@ -125,18 +116,19 @@ exports.commitEvtOp = zod_1.z.object({
125
116
  ]),
126
117
  path: zod_1.z.string(),
127
118
  cid: common_1.schema.cid.nullable(),
119
+ prev: common_1.schema.cid.optional(),
128
120
  });
129
121
  exports.commitEvt = zod_1.z.object({
130
122
  rebase: zod_1.z.boolean(),
131
123
  tooBig: zod_1.z.boolean(),
132
124
  repo: zod_1.z.string(),
133
125
  commit: common_1.schema.cid,
134
- prev: common_1.schema.cid.nullable(),
135
126
  rev: zod_1.z.string(),
136
127
  since: zod_1.z.string().nullable(),
137
128
  blocks: common_1.schema.bytes,
138
129
  ops: zod_1.z.array(exports.commitEvtOp),
139
130
  blobs: zod_1.z.array(common_1.schema.cid),
131
+ prevData: common_1.schema.cid.optional(),
140
132
  });
141
133
  exports.handleEvt = zod_1.z.object({
142
134
  did: zod_1.z.string(),
@@ -1 +1 @@
1
- {"version":3,"file":"events.js","sourceRoot":"","sources":["../../src/sequencer/events.ts"],"names":[],"mappings":";;;AACA,6BAAuB;AACvB,4CAAoD;AACpD,wCAMsB;AACtB,wDAAkD;AAI3C,MAAM,eAAe,GAAG,KAAK,EAClC,GAAW,EACX,UAAsB,EACtB,MAAuB,EACC,EAAE;IAC1B,IAAI,MAAe,CAAA;IACnB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