@atproto/sync 0.2.2 → 0.3.0-next.0

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 (45) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/dist/events.js +1 -2
  3. package/dist/firehose/index.d.ts +2 -2
  4. package/dist/firehose/index.d.ts.map +1 -1
  5. package/dist/firehose/index.js +48 -104
  6. package/dist/firehose/index.js.map +1 -1
  7. package/dist/index.d.ts +3 -3
  8. package/dist/index.d.ts.map +1 -1
  9. package/dist/index.js +3 -19
  10. package/dist/index.js.map +1 -1
  11. package/dist/lexicons/com/atproto/sync/subscribeRepos.defs.js +54 -57
  12. package/dist/lexicons/com/atproto/sync/subscribeRepos.defs.js.map +1 -1
  13. package/dist/lexicons/com/atproto/sync/subscribeRepos.js +2 -41
  14. package/dist/lexicons/com/atproto/sync/subscribeRepos.js.map +1 -1
  15. package/dist/lexicons/com/atproto/sync.js +1 -37
  16. package/dist/lexicons/com/atproto/sync.js.map +1 -1
  17. package/dist/lexicons/com/atproto.js +1 -37
  18. package/dist/lexicons/com/atproto.js.map +1 -1
  19. package/dist/lexicons/com.js +1 -37
  20. package/dist/lexicons/com.js.map +1 -1
  21. package/dist/lexicons/index.js +1 -37
  22. package/dist/lexicons/index.js.map +1 -1
  23. package/dist/runner/consecutive-list.js +6 -31
  24. package/dist/runner/consecutive-list.js.map +1 -1
  25. package/dist/runner/index.d.ts +3 -3
  26. package/dist/runner/index.d.ts.map +1 -1
  27. package/dist/runner/index.js +3 -19
  28. package/dist/runner/index.js.map +1 -1
  29. package/dist/runner/memory-runner.d.ts +6 -4
  30. package/dist/runner/memory-runner.d.ts.map +1 -1
  31. package/dist/runner/memory-runner.js +8 -42
  32. package/dist/runner/memory-runner.js.map +1 -1
  33. package/dist/runner/types.js +1 -2
  34. package/dist/util.js +6 -10
  35. package/dist/util.js.map +1 -1
  36. package/{jest.config.js → jest.config.cjs} +8 -1
  37. package/package.json +19 -14
  38. package/src/firehose/index.ts +3 -3
  39. package/src/index.ts +3 -3
  40. package/src/runner/index.ts +3 -3
  41. package/src/runner/memory-runner.ts +6 -4
  42. package/tests/firehose.test.ts +7 -1
  43. package/tests/runner.test.ts +1 -1
  44. package/tsconfig.build.tsbuildinfo +1 -1
  45. package/tsconfig.tests.json +1 -1
@@ -1,75 +1,72 @@
1
- "use strict";
2
1
  /*
3
2
  * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
4
3
  */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.repoOp = exports.info = exports.account = exports.identity = exports.sync = exports.commit = exports.$message = exports.$params = exports.$lxm = exports.main = exports.$nsid = void 0;
7
- const lex_1 = require("@atproto/lex");
4
+ import { l } from '@atproto/lex';
8
5
  const $nsid = 'com.atproto.sync.subscribeRepos';
9
- exports.$nsid = $nsid;
6
+ export { $nsid };
10
7
  /** Repository event stream, aka Firehose endpoint. Outputs repo commits with diff data, and identity update events, for all repositories on the current server. See the atproto specifications for details around stream sequencing, repo versioning, CAR diff format, and more. Public and does not require auth; implemented by PDS and Relay. */
11
- const main = lex_1.l.subscription($nsid, lex_1.l.params({ cursor: lex_1.l.optional(lex_1.l.integer()) }), lex_1.l.typedUnion([
12
- lex_1.l.typedRef((() => commit)),
13
- lex_1.l.typedRef((() => sync)),
14
- lex_1.l.typedRef((() => identity)),
15
- lex_1.l.typedRef((() => account)),
16
- lex_1.l.typedRef((() => info)),
8
+ const main = l.subscription($nsid, l.params({ cursor: l.optional(l.integer()) }), l.typedUnion([
9
+ l.typedRef((() => commit)),
10
+ l.typedRef((() => sync)),
11
+ l.typedRef((() => identity)),
12
+ l.typedRef((() => account)),
13
+ l.typedRef((() => info)),
17
14
  ], false), ['FutureCursor', 'ConsumerTooSlow']);
18
- exports.main = main;
19
- exports.$lxm = main.nsid, exports.$params = main.parameters, exports.$message = main.message;
15
+ export { main };
16
+ export const $lxm = main.nsid, $params = main.parameters, $message = main.message;
20
17
  /** 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. */
21
- const commit = lex_1.l.typedObject($nsid, 'commit', lex_1.l.object({
22
- seq: lex_1.l.integer(),
23
- rebase: lex_1.l.boolean(),
24
- tooBig: lex_1.l.boolean(),
25
- repo: lex_1.l.string({ format: 'did' }),
26
- commit: lex_1.l.cid(),
27
- rev: lex_1.l.string({ format: 'tid' }),
28
- since: lex_1.l.nullable(lex_1.l.string({ format: 'tid' })),
29
- blocks: lex_1.l.bytes({ maxLength: 2000000 }),
30
- ops: lex_1.l.array(lex_1.l.ref((() => repoOp)), { maxLength: 200 }),
31
- blobs: lex_1.l.array(lex_1.l.cid()),
32
- prevData: lex_1.l.optional(lex_1.l.cid()),
33
- time: lex_1.l.string({ format: 'datetime' }),
18
+ const commit = l.typedObject($nsid, 'commit', l.object({
19
+ seq: l.integer(),
20
+ rebase: l.boolean(),
21
+ tooBig: l.boolean(),
22
+ repo: l.string({ format: 'did' }),
23
+ commit: l.cid(),
24
+ rev: l.string({ format: 'tid' }),
25
+ since: l.nullable(l.string({ format: 'tid' })),
26
+ blocks: l.bytes({ maxLength: 2000000 }),
27
+ ops: l.array(l.ref((() => repoOp)), { maxLength: 200 }),
28
+ blobs: l.array(l.cid()),
29
+ prevData: l.optional(l.cid()),
30
+ time: l.string({ format: 'datetime' }),
34
31
  }));
35
- exports.commit = commit;
32
+ export { commit };
36
33
  /** 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. */
37
- const sync = lex_1.l.typedObject($nsid, 'sync', lex_1.l.object({
38
- seq: lex_1.l.integer(),
39
- did: lex_1.l.string({ format: 'did' }),
40
- blocks: lex_1.l.bytes({ maxLength: 10000 }),
41
- rev: lex_1.l.string(),
42
- time: lex_1.l.string({ format: 'datetime' }),
34
+ const sync = l.typedObject($nsid, 'sync', l.object({
35
+ seq: l.integer(),
36
+ did: l.string({ format: 'did' }),
37
+ blocks: l.bytes({ maxLength: 10000 }),
38
+ rev: l.string(),
39
+ time: l.string({ format: 'datetime' }),
43
40
  }));
44
- exports.sync = sync;
41
+ export { sync };
45
42
  /** 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. */
46
- const identity = lex_1.l.typedObject($nsid, 'identity', lex_1.l.object({
47
- seq: lex_1.l.integer(),
48
- did: lex_1.l.string({ format: 'did' }),
49
- time: lex_1.l.string({ format: 'datetime' }),
50
- handle: lex_1.l.optional(lex_1.l.string({ format: 'handle' })),
43
+ const identity = l.typedObject($nsid, 'identity', l.object({
44
+ seq: l.integer(),
45
+ did: l.string({ format: 'did' }),
46
+ time: l.string({ format: 'datetime' }),
47
+ handle: l.optional(l.string({ format: 'handle' })),
51
48
  }));
52
- exports.identity = identity;
49
+ export { identity };
53
50
  /** Represents a change to an account's status on a host (eg, PDS or Relay). The semantics of this event are that the status is at the host which emitted the event, not necessarily that at the currently active PDS. Eg, a Relay takedown would emit a takedown with active=false, even if the PDS is still active. */
54
- const account = lex_1.l.typedObject($nsid, 'account', lex_1.l.object({
55
- seq: lex_1.l.integer(),
56
- did: lex_1.l.string({ format: 'did' }),
57
- time: lex_1.l.string({ format: 'datetime' }),
58
- active: lex_1.l.boolean(),
59
- status: lex_1.l.optional(lex_1.l.string()),
51
+ const account = l.typedObject($nsid, 'account', l.object({
52
+ seq: l.integer(),
53
+ did: l.string({ format: 'did' }),
54
+ time: l.string({ format: 'datetime' }),
55
+ active: l.boolean(),
56
+ status: l.optional(l.string()),
60
57
  }));
61
- exports.account = account;
62
- const info = lex_1.l.typedObject($nsid, 'info', lex_1.l.object({
63
- name: lex_1.l.string(),
64
- message: lex_1.l.optional(lex_1.l.string()),
58
+ export { account };
59
+ const info = l.typedObject($nsid, 'info', l.object({
60
+ name: l.string(),
61
+ message: l.optional(l.string()),
65
62
  }));
66
- exports.info = info;
63
+ export { info };
67
64
  /** A repo operation, ie a mutation of a single record. */
68
- const repoOp = lex_1.l.typedObject($nsid, 'repoOp', lex_1.l.object({
69
- action: lex_1.l.string(),
70
- path: lex_1.l.string(),
71
- cid: lex_1.l.nullable(lex_1.l.cid()),
72
- prev: lex_1.l.optional(lex_1.l.cid()),
65
+ const repoOp = l.typedObject($nsid, 'repoOp', l.object({
66
+ action: l.string(),
67
+ path: l.string(),
68
+ cid: l.nullable(l.cid()),
69
+ prev: l.optional(l.cid()),
73
70
  }));
74
- exports.repoOp = repoOp;
71
+ export { repoOp };
75
72
  //# sourceMappingURL=subscribeRepos.defs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"subscribeRepos.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/sync/subscribeRepos.defs.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,sCAAgC;AAEhC,MAAM,KAAK,GAAG,iCAAiC,CAAA;AAEtC,sBAAK;AAEd,oVAAoV;AACpV,MAAM,IAAI,GAAG,OAAC,CAAC,YAAY,CACzB,KAAK,EACL,OAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC,EAAE,CAAC,EAC7C,OAAC,CAAC,UAAU,CACV;IACE,OAAC,CAAC,QAAQ,CAAS,CAAC,GAAG,EAAE,CAAC,MAAM,CAAQ,CAAC;IACzC,OAAC,CAAC,QAAQ,CAAO,CAAC,GAAG,EAAE,CAAC,IAAI,CAAQ,CAAC;IACrC,OAAC,CAAC,QAAQ,CAAW,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAQ,CAAC;IAC7C,OAAC,CAAC,QAAQ,CAAU,CAAC,GAAG,EAAE,CAAC,OAAO,CAAQ,CAAC;IAC3C,OAAC,CAAC,QAAQ,CAAO,CAAC,GAAG,EAAE,CAAC,IAAI,CAAQ,CAAC;CACtC,EACD,KAAK,CACN,EACD,CAAC,cAAc,EAAE,iBAAiB,CAAC,CACpC,CAAA;AACQ,oBAAI;AAKA,QAAA,IAA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AAQ,CAChB,OAAC,CAAC,MAAM,EASJ,CACL;CACF,CAAC,CACH,CAAA;AAEQ,0BAAO;AAUhB,MAAM,IAAI,GAAG,OAAC,CAAC,WAAW,CACxB,KAAK,EACL,MAAM,EACN,OAAC,CAAC,MAAM,CAAC;IACP,IAAI,EAAE,OAAC,CAAC,MAAM,EAAuC;IACrD,OAAO,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;CAChC,CAAC,CACH,CAAA;AAEQ,oBAAI;AAqBb,0DAA0D;AAC1D,MAAM,MAAM,GAAG,OAAC,CAAC,WAAW,CAC1B,KAAK,EACL,QAAQ,EACR,OAAC,CAAC,MAAM,CAAC;IACP,MAAM,EAAE,OAAC,CAAC,MAAM,EAAmD;IACnE,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,GAAG,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,GAAG,EAAE,CAAC;IACxB,IAAI,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,GAAG,EAAE,CAAC;CAC1B,CAAC,CACH,CAAA;AAEQ,wBAAM","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\n\nconst $nsid = 'com.atproto.sync.subscribeRepos'\n\nexport { $nsid }\n\n/** Repository event stream, aka Firehose endpoint. Outputs repo commits with diff data, and identity update events, for all repositories on the current server. See the atproto specifications for details around stream sequencing, repo versioning, CAR diff format, and more. Public and does not require auth; implemented by PDS and Relay. */\nconst main = l.subscription(\n $nsid,\n l.params({ cursor: l.optional(l.integer()) }),\n l.typedUnion(\n [\n l.typedRef<Commit>((() => commit) as any),\n l.typedRef<Sync>((() => sync) as any),\n l.typedRef<Identity>((() => identity) as any),\n l.typedRef<Account>((() => account) as any),\n l.typedRef<Info>((() => info) as any),\n ],\n false,\n ),\n ['FutureCursor', 'ConsumerTooSlow'],\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Message = l.InferSubscriptionMessage<typeof main>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $message = main.message\n\n/** 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. */\ntype Commit = {\n $type?: 'com.atproto.sync.subscribeRepos#commit'\n\n /**\n * The stream sequence number of this message.\n */\n seq: number\n\n /**\n * @deprecated unused\n */\n rebase: boolean\n\n /**\n * @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.\n */\n tooBig: boolean\n\n /**\n * The repo this event comes from. Note that all other message types name this field 'did'.\n */\n repo: l.DidString\n\n /**\n * Repo commit object CID.\n */\n commit: l.Cid\n\n /**\n * 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.\n */\n rev: l.TidString\n\n /**\n * The rev of the last emitted commit from this repo (if any).\n */\n since: l.TidString | null\n\n /**\n * 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.\n */\n blocks: Uint8Array\n ops: RepoOp[]\n blobs: l.Cid[]\n\n /**\n * 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.\n */\n prevData?: l.Cid\n\n /**\n * Timestamp of when this message was originally broadcast.\n */\n time: l.DatetimeString\n}\n\nexport type { Commit }\n\n/** 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. */\nconst commit = l.typedObject<Commit>(\n $nsid,\n 'commit',\n l.object({\n seq: l.integer(),\n rebase: l.boolean(),\n tooBig: l.boolean(),\n repo: l.string({ format: 'did' }),\n commit: l.cid(),\n rev: l.string({ format: 'tid' }),\n since: l.nullable(l.string({ format: 'tid' })),\n blocks: l.bytes({ maxLength: 2000000 }),\n ops: l.array(l.ref<RepoOp>((() => repoOp) as any), { maxLength: 200 }),\n blobs: l.array(l.cid()),\n prevData: l.optional(l.cid()),\n time: l.string({ format: 'datetime' }),\n }),\n)\n\nexport { commit }\n\n/** 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. */\ntype Sync = {\n $type?: 'com.atproto.sync.subscribeRepos#sync'\n\n /**\n * The stream sequence number of this message.\n */\n seq: number\n\n /**\n * The account this repo event corresponds to. Must match that in the commit object.\n */\n did: l.DidString\n\n /**\n * CAR file containing the commit, as a block. The CAR header must include the commit block CID as the first 'root'.\n */\n blocks: Uint8Array\n\n /**\n * The rev of the commit. This value must match that in the commit object.\n */\n rev: string\n\n /**\n * Timestamp of when this message was originally broadcast.\n */\n time: l.DatetimeString\n}\n\nexport type { Sync }\n\n/** 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. */\nconst sync = l.typedObject<Sync>(\n $nsid,\n 'sync',\n l.object({\n seq: l.integer(),\n did: l.string({ format: 'did' }),\n blocks: l.bytes({ maxLength: 10000 }),\n rev: l.string(),\n time: l.string({ format: 'datetime' }),\n }),\n)\n\nexport { sync }\n\n/** 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. */\ntype Identity = {\n $type?: 'com.atproto.sync.subscribeRepos#identity'\n seq: number\n did: l.DidString\n time: l.DatetimeString\n\n /**\n * The current handle for the account, or 'handle.invalid' if validation fails. This field is optional, might have been validated or passed-through from an upstream source. Semantics and behaviors for PDS vs Relay may evolve in the future; see atproto specs for more details.\n */\n handle?: l.HandleString\n}\n\nexport type { Identity }\n\n/** 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. */\nconst identity = l.typedObject<Identity>(\n $nsid,\n 'identity',\n l.object({\n seq: l.integer(),\n did: l.string({ format: 'did' }),\n time: l.string({ format: 'datetime' }),\n handle: l.optional(l.string({ format: 'handle' })),\n }),\n)\n\nexport { identity }\n\n/** Represents a change to an account's status on a host (eg, PDS or Relay). The semantics of this event are that the status is at the host which emitted the event, not necessarily that at the currently active PDS. Eg, a Relay takedown would emit a takedown with active=false, even if the PDS is still active. */\ntype Account = {\n $type?: 'com.atproto.sync.subscribeRepos#account'\n seq: number\n did: l.DidString\n time: l.DatetimeString\n\n /**\n * Indicates that the account has a repository which can be fetched from the host that emitted this event.\n */\n active: boolean\n\n /**\n * If active=false, this optional field indicates a reason for why the account is not active.\n */\n status?:\n | 'takendown'\n | 'suspended'\n | 'deleted'\n | 'deactivated'\n | 'desynchronized'\n | 'throttled'\n | l.UnknownString\n}\n\nexport type { Account }\n\n/** Represents a change to an account's status on a host (eg, PDS or Relay). The semantics of this event are that the status is at the host which emitted the event, not necessarily that at the currently active PDS. Eg, a Relay takedown would emit a takedown with active=false, even if the PDS is still active. */\nconst account = l.typedObject<Account>(\n $nsid,\n 'account',\n l.object({\n seq: l.integer(),\n did: l.string({ format: 'did' }),\n time: l.string({ format: 'datetime' }),\n active: l.boolean(),\n status: l.optional(\n l.string<{\n knownValues: [\n 'takendown',\n 'suspended',\n 'deleted',\n 'deactivated',\n 'desynchronized',\n 'throttled',\n ]\n }>(),\n ),\n }),\n)\n\nexport { account }\n\ntype Info = {\n $type?: 'com.atproto.sync.subscribeRepos#info'\n name: 'OutdatedCursor' | l.UnknownString\n message?: string\n}\n\nexport type { Info }\n\nconst info = l.typedObject<Info>(\n $nsid,\n 'info',\n l.object({\n name: l.string<{ knownValues: ['OutdatedCursor'] }>(),\n message: l.optional(l.string()),\n }),\n)\n\nexport { info }\n\n/** A repo operation, ie a mutation of a single record. */\ntype RepoOp = {\n $type?: 'com.atproto.sync.subscribeRepos#repoOp'\n action: 'create' | 'update' | 'delete' | l.UnknownString\n path: string\n\n /**\n * For creates and updates, the new record CID. For deletions, null.\n */\n cid: l.Cid | null\n\n /**\n * For updates and deletes, the previous record CID (required for inductive firehose). For creations, field should not be defined.\n */\n prev?: l.Cid\n}\n\nexport type { RepoOp }\n\n/** A repo operation, ie a mutation of a single record. */\nconst repoOp = l.typedObject<RepoOp>(\n $nsid,\n 'repoOp',\n l.object({\n action: l.string<{ knownValues: ['create', 'update', 'delete'] }>(),\n path: l.string(),\n cid: l.nullable(l.cid()),\n prev: l.optional(l.cid()),\n }),\n)\n\nexport { repoOp }\n"]}
1
+ {"version":3,"file":"subscribeRepos.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/sync/subscribeRepos.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAEhC,MAAM,KAAK,GAAG,iCAAiC,CAAA;AAE/C,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,oVAAoV;AACpV,MAAM,IAAI,GAAG,CAAC,CAAC,YAAY,CACzB,KAAK,EACL,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,EAAE,CAAC,EAC7C,CAAC,CAAC,UAAU,CACV;IACE,CAAC,CAAC,QAAQ,CAAS,CAAC,GAAG,EAAE,CAAC,MAAM,CAAQ,CAAC;IACzC,CAAC,CAAC,QAAQ,CAAO,CAAC,GAAG,EAAE,CAAC,IAAI,CAAQ,CAAC;IACrC,CAAC,CAAC,QAAQ,CAAW,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAQ,CAAC;IAC7C,CAAC,CAAC,QAAQ,CAAU,CAAC,GAAG,EAAE,CAAC,OAAO,CAAQ,CAAC;IAC3C,CAAC,CAAC,QAAQ,CAAO,CAAC,GAAG,EAAE,CAAC,IAAI,CAAQ,CAAC;CACtC,EACD,KAAK,CACN,EACD,CAAC,cAAc,EAAE,iBAAiB,CAAC,CACpC,CAAA;AACD,OAAO,EAAE,IAAI,EAAE,CAAA;AAKf,MAAM,CAAC,MAAM,IAAI,GAAG,IAAI,CA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E;IACnB,MAAM,EAAE,CAAC,CAAC,QAAQ,CAChB,CAAC,CAAC,MAAM,EASJ,CACL;CACF,CAAC,CACH,CAAA;AAED,OAAO,EAAE,OAAO,EAAE,CAAA;AAUlB,MAAM,IAAI,GAAG,CAAC,CAAC,WAAW,CACxB,KAAK,EACL,MAAM,EACN,CAAC,CAAC,MAAM,CAAC;IACP,IAAI,EAAE,CAAC,CAAC,MAAM,EAAuC;IACrD,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAChC,CAAC,CACH,CAAA;AAED,OAAO,EAAE,IAAI,EAAE,CAAA;AAqBf,0DAA0D;AAC1D,MAAM,MAAM,GAAG,CAAC,CAAC,WAAW,CAC1B,KAAK,EACL,QAAQ,EACR,CAAC,CAAC,MAAM,CAAC;IACP,MAAM,EAAE,CAAC,CAAC,MAAM,EAAmD;IACnE,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,GAAG,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC;IACxB,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC;CAC1B,CAAC,CACH,CAAA;AAED,OAAO,EAAE,MAAM,EAAE,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\n\nconst $nsid = 'com.atproto.sync.subscribeRepos'\n\nexport { $nsid }\n\n/** Repository event stream, aka Firehose endpoint. Outputs repo commits with diff data, and identity update events, for all repositories on the current server. See the atproto specifications for details around stream sequencing, repo versioning, CAR diff format, and more. Public and does not require auth; implemented by PDS and Relay. */\nconst main = l.subscription(\n $nsid,\n l.params({ cursor: l.optional(l.integer()) }),\n l.typedUnion(\n [\n l.typedRef<Commit>((() => commit) as any),\n l.typedRef<Sync>((() => sync) as any),\n l.typedRef<Identity>((() => identity) as any),\n l.typedRef<Account>((() => account) as any),\n l.typedRef<Info>((() => info) as any),\n ],\n false,\n ),\n ['FutureCursor', 'ConsumerTooSlow'],\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Message = l.InferSubscriptionMessage<typeof main>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $message = main.message\n\n/** 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. */\ntype Commit = {\n $type?: 'com.atproto.sync.subscribeRepos#commit'\n\n /**\n * The stream sequence number of this message.\n */\n seq: number\n\n /**\n * @deprecated unused\n */\n rebase: boolean\n\n /**\n * @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.\n */\n tooBig: boolean\n\n /**\n * The repo this event comes from. Note that all other message types name this field 'did'.\n */\n repo: l.DidString\n\n /**\n * Repo commit object CID.\n */\n commit: l.Cid\n\n /**\n * 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.\n */\n rev: l.TidString\n\n /**\n * The rev of the last emitted commit from this repo (if any).\n */\n since: l.TidString | null\n\n /**\n * 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.\n */\n blocks: Uint8Array\n ops: RepoOp[]\n blobs: l.Cid[]\n\n /**\n * 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.\n */\n prevData?: l.Cid\n\n /**\n * Timestamp of when this message was originally broadcast.\n */\n time: l.DatetimeString\n}\n\nexport type { Commit }\n\n/** 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. */\nconst commit = l.typedObject<Commit>(\n $nsid,\n 'commit',\n l.object({\n seq: l.integer(),\n rebase: l.boolean(),\n tooBig: l.boolean(),\n repo: l.string({ format: 'did' }),\n commit: l.cid(),\n rev: l.string({ format: 'tid' }),\n since: l.nullable(l.string({ format: 'tid' })),\n blocks: l.bytes({ maxLength: 2000000 }),\n ops: l.array(l.ref<RepoOp>((() => repoOp) as any), { maxLength: 200 }),\n blobs: l.array(l.cid()),\n prevData: l.optional(l.cid()),\n time: l.string({ format: 'datetime' }),\n }),\n)\n\nexport { commit }\n\n/** 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. */\ntype Sync = {\n $type?: 'com.atproto.sync.subscribeRepos#sync'\n\n /**\n * The stream sequence number of this message.\n */\n seq: number\n\n /**\n * The account this repo event corresponds to. Must match that in the commit object.\n */\n did: l.DidString\n\n /**\n * CAR file containing the commit, as a block. The CAR header must include the commit block CID as the first 'root'.\n */\n blocks: Uint8Array\n\n /**\n * The rev of the commit. This value must match that in the commit object.\n */\n rev: string\n\n /**\n * Timestamp of when this message was originally broadcast.\n */\n time: l.DatetimeString\n}\n\nexport type { Sync }\n\n/** 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. */\nconst sync = l.typedObject<Sync>(\n $nsid,\n 'sync',\n l.object({\n seq: l.integer(),\n did: l.string({ format: 'did' }),\n blocks: l.bytes({ maxLength: 10000 }),\n rev: l.string(),\n time: l.string({ format: 'datetime' }),\n }),\n)\n\nexport { sync }\n\n/** 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. */\ntype Identity = {\n $type?: 'com.atproto.sync.subscribeRepos#identity'\n seq: number\n did: l.DidString\n time: l.DatetimeString\n\n /**\n * The current handle for the account, or 'handle.invalid' if validation fails. This field is optional, might have been validated or passed-through from an upstream source. Semantics and behaviors for PDS vs Relay may evolve in the future; see atproto specs for more details.\n */\n handle?: l.HandleString\n}\n\nexport type { Identity }\n\n/** 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. */\nconst identity = l.typedObject<Identity>(\n $nsid,\n 'identity',\n l.object({\n seq: l.integer(),\n did: l.string({ format: 'did' }),\n time: l.string({ format: 'datetime' }),\n handle: l.optional(l.string({ format: 'handle' })),\n }),\n)\n\nexport { identity }\n\n/** Represents a change to an account's status on a host (eg, PDS or Relay). The semantics of this event are that the status is at the host which emitted the event, not necessarily that at the currently active PDS. Eg, a Relay takedown would emit a takedown with active=false, even if the PDS is still active. */\ntype Account = {\n $type?: 'com.atproto.sync.subscribeRepos#account'\n seq: number\n did: l.DidString\n time: l.DatetimeString\n\n /**\n * Indicates that the account has a repository which can be fetched from the host that emitted this event.\n */\n active: boolean\n\n /**\n * If active=false, this optional field indicates a reason for why the account is not active.\n */\n status?:\n | 'takendown'\n | 'suspended'\n | 'deleted'\n | 'deactivated'\n | 'desynchronized'\n | 'throttled'\n | l.UnknownString\n}\n\nexport type { Account }\n\n/** Represents a change to an account's status on a host (eg, PDS or Relay). The semantics of this event are that the status is at the host which emitted the event, not necessarily that at the currently active PDS. Eg, a Relay takedown would emit a takedown with active=false, even if the PDS is still active. */\nconst account = l.typedObject<Account>(\n $nsid,\n 'account',\n l.object({\n seq: l.integer(),\n did: l.string({ format: 'did' }),\n time: l.string({ format: 'datetime' }),\n active: l.boolean(),\n status: l.optional(\n l.string<{\n knownValues: [\n 'takendown',\n 'suspended',\n 'deleted',\n 'deactivated',\n 'desynchronized',\n 'throttled',\n ]\n }>(),\n ),\n }),\n)\n\nexport { account }\n\ntype Info = {\n $type?: 'com.atproto.sync.subscribeRepos#info'\n name: 'OutdatedCursor' | l.UnknownString\n message?: string\n}\n\nexport type { Info }\n\nconst info = l.typedObject<Info>(\n $nsid,\n 'info',\n l.object({\n name: l.string<{ knownValues: ['OutdatedCursor'] }>(),\n message: l.optional(l.string()),\n }),\n)\n\nexport { info }\n\n/** A repo operation, ie a mutation of a single record. */\ntype RepoOp = {\n $type?: 'com.atproto.sync.subscribeRepos#repoOp'\n action: 'create' | 'update' | 'delete' | l.UnknownString\n path: string\n\n /**\n * For creates and updates, the new record CID. For deletions, null.\n */\n cid: l.Cid | null\n\n /**\n * For updates and deletes, the previous record CID (required for inductive firehose). For creations, field should not be defined.\n */\n prev?: l.Cid\n}\n\nexport type { RepoOp }\n\n/** A repo operation, ie a mutation of a single record. */\nconst repoOp = l.typedObject<RepoOp>(\n $nsid,\n 'repoOp',\n l.object({\n action: l.string<{ knownValues: ['create', 'update', 'delete'] }>(),\n path: l.string(),\n cid: l.nullable(l.cid()),\n prev: l.optional(l.cid()),\n }),\n)\n\nexport { repoOp }\n"]}
@@ -1,45 +1,6 @@
1
- "use strict";
2
1
  /*
3
2
  * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
4
3
  */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
22
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
23
- };
24
- var __importStar = (this && this.__importStar) || (function () {
25
- var ownKeys = function(o) {
26
- ownKeys = Object.getOwnPropertyNames || function (o) {
27
- var ar = [];
28
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
29
- return ar;
30
- };
31
- return ownKeys(o);
32
- };
33
- return function (mod) {
34
- if (mod && mod.__esModule) return mod;
35
- var result = {};
36
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
37
- __setModuleDefault(result, mod);
38
- return result;
39
- };
40
- })();
41
- Object.defineProperty(exports, "__esModule", { value: true });
42
- exports.$defs = void 0;
43
- __exportStar(require("./subscribeRepos.defs.js"), exports);
44
- exports.$defs = __importStar(require("./subscribeRepos.defs.js"));
4
+ export * from './subscribeRepos.defs.js';
5
+ export * as $defs from './subscribeRepos.defs.js';
45
6
  //# sourceMappingURL=subscribeRepos.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"subscribeRepos.js","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/sync/subscribeRepos.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,2DAAwC;AACxC,kEAAiD","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './subscribeRepos.defs.js'\nexport * as $defs from './subscribeRepos.defs.js'\n"]}
1
+ {"version":3,"file":"subscribeRepos.js","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/sync/subscribeRepos.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,0BAA0B,CAAA;AACxC,OAAO,KAAK,KAAK,MAAM,0BAA0B,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './subscribeRepos.defs.js'\nexport * as $defs from './subscribeRepos.defs.js'\n"]}
@@ -1,41 +1,5 @@
1
- "use strict";
2
1
  /*
3
2
  * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
4
3
  */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || (function () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.subscribeRepos = void 0;
40
- exports.subscribeRepos = __importStar(require("./sync/subscribeRepos.js"));
4
+ export * as subscribeRepos from './sync/subscribeRepos.js';
41
5
  //# sourceMappingURL=sync.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sync.js","sourceRoot":"","sources":["../../../../src/lexicons/com/atproto/sync.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,2EAA0D","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as subscribeRepos from './sync/subscribeRepos.js'\n"]}
1
+ {"version":3,"file":"sync.js","sourceRoot":"","sources":["../../../../src/lexicons/com/atproto/sync.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,cAAc,MAAM,0BAA0B,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as subscribeRepos from './sync/subscribeRepos.js'\n"]}
@@ -1,41 +1,5 @@
1
- "use strict";
2
1
  /*
3
2
  * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
4
3
  */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || (function () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.sync = void 0;
40
- exports.sync = __importStar(require("./atproto/sync.js"));
4
+ export * as sync from './atproto/sync.js';
41
5
  //# sourceMappingURL=atproto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"atproto.js","sourceRoot":"","sources":["../../../src/lexicons/com/atproto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0DAAyC","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as sync from './atproto/sync.js'\n"]}
1
+ {"version":3,"file":"atproto.js","sourceRoot":"","sources":["../../../src/lexicons/com/atproto.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,IAAI,MAAM,mBAAmB,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as sync from './atproto/sync.js'\n"]}
@@ -1,41 +1,5 @@
1
- "use strict";
2
1
  /*
3
2
  * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
4
3
  */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || (function () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.atproto = void 0;
40
- exports.atproto = __importStar(require("./com/atproto.js"));
4
+ export * as atproto from './com/atproto.js';
41
5
  //# sourceMappingURL=com.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"com.js","sourceRoot":"","sources":["../../src/lexicons/com.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,4DAA2C","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as atproto from './com/atproto.js'\n"]}
1
+ {"version":3,"file":"com.js","sourceRoot":"","sources":["../../src/lexicons/com.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as atproto from './com/atproto.js'\n"]}
@@ -1,41 +1,5 @@
1
- "use strict";
2
1
  /*
3
2
  * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
4
3
  */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || (function () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.com = void 0;
40
- exports.com = __importStar(require("./com.js"));
4
+ export * as com from './com.js';
41
5
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/lexicons/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAA+B","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as com from './com.js'\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/lexicons/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,GAAG,MAAM,UAAU,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as com from './com.js'\n"]}
@@ -1,6 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ConsecutiveItem = exports.ConsecutiveList = void 0;
4
1
  /**
5
2
  * Add items to a list, and mark those items as
6
3
  * completed. Upon item completion, get list of consecutive
@@ -15,14 +12,9 @@ exports.ConsecutiveItem = exports.ConsecutiveList = void 0;
15
12
  * item3.complete() // [3]
16
13
  *
17
14
  */
18
- class ConsecutiveList {
15
+ export class ConsecutiveList {
19
16
  constructor() {
20
- Object.defineProperty(this, "list", {
21
- enumerable: true,
22
- configurable: true,
23
- writable: true,
24
- value: []
25
- });
17
+ this.list = [];
26
18
  }
27
19
  push(value) {
28
20
  const item = new ConsecutiveItem(this, value);
@@ -37,32 +29,15 @@ class ConsecutiveList {
37
29
  return this.list.splice(0, i).map((item) => item.value);
38
30
  }
39
31
  }
40
- exports.ConsecutiveList = ConsecutiveList;
41
- class ConsecutiveItem {
32
+ export class ConsecutiveItem {
42
33
  constructor(consecutive, value) {
43
- Object.defineProperty(this, "consecutive", {
44
- enumerable: true,
45
- configurable: true,
46
- writable: true,
47
- value: consecutive
48
- });
49
- Object.defineProperty(this, "value", {
50
- enumerable: true,
51
- configurable: true,
52
- writable: true,
53
- value: value
54
- });
55
- Object.defineProperty(this, "isComplete", {
56
- enumerable: true,
57
- configurable: true,
58
- writable: true,
59
- value: false
60
- });
34
+ this.consecutive = consecutive;
35
+ this.value = value;
36
+ this.isComplete = false;
61
37
  }
62
38
  complete() {
63
39
  this.isComplete = true;
64
40
  return this.consecutive.complete();
65
41
  }
66
42
  }
67
- exports.ConsecutiveItem = ConsecutiveItem;
68
43
  //# sourceMappingURL=consecutive-list.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"consecutive-list.js","sourceRoot":"","sources":["../../src/runner/consecutive-list.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;GAaG;AACH,MAAa,eAAe;IAA5B;QACE;;;;mBAA6B,EAAE;WAAA;IAejC,CAAC;IAbC,IAAI,CAAC,KAAQ;QACX,MAAM,IAAI,GAAG,IAAI,eAAe,CAAI,IAAI,EAAE,KAAK,CAAC,CAAA;QAChD,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;QACpB,OAAO,IAAI,CAAA;IACb,CAAC;IAED,QAAQ;QACN,IAAI,CAAC,GAAG,CAAC,CAAA;QACT,OAAO,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,UAAU,EAAE,CAAC;YAChC,CAAC,IAAI,CAAC,CAAA;QACR,CAAC;QACD,OAAO,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;IACzD,CAAC;CACF;AAhBD,0CAgBC;AAED,MAAa,eAAe;IAE1B,YACU,WAA+B,EAChC,KAAQ;QADf;;;;mBAAQ,WAAW;WAAoB;QACvC;;;;mBAAO,KAAK;WAAG;QAHjB;;;;mBAAa,KAAK;WAAA;IAIf,CAAC;IAEJ,QAAQ;QACN,IAAI,CAAC,UAAU,GAAG,IAAI,CAAA;QACtB,OAAO,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAA;IACpC,CAAC;CACF;AAXD,0CAWC","sourcesContent":["/**\n * Add items to a list, and mark those items as\n * completed. Upon item completion, get list of consecutive\n * items completed at the head of the list. Example:\n *\n * const consecutive = new ConsecutiveList<number>()\n * const item1 = consecutive.push(1)\n * const item2 = consecutive.push(2)\n * const item3 = consecutive.push(3)\n * item2.complete() // []\n * item1.complete() // [1, 2]\n * item3.complete() // [3]\n *\n */\nexport class ConsecutiveList<T> {\n list: ConsecutiveItem<T>[] = []\n\n push(value: T) {\n const item = new ConsecutiveItem<T>(this, value)\n this.list.push(item)\n return item\n }\n\n complete(): T[] {\n let i = 0\n while (this.list[i]?.isComplete) {\n i += 1\n }\n return this.list.splice(0, i).map((item) => item.value)\n }\n}\n\nexport class ConsecutiveItem<T> {\n isComplete = false\n constructor(\n private consecutive: ConsecutiveList<T>,\n public value: T,\n ) {}\n\n complete() {\n this.isComplete = true\n return this.consecutive.complete()\n }\n}\n"]}
1
+ {"version":3,"file":"consecutive-list.js","sourceRoot":"","sources":["../../src/runner/consecutive-list.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,MAAM,OAAO,eAAe;IAA5B;QACE,SAAI,GAAyB,EAAE,CAAA;IAejC,CAAC;IAbC,IAAI,CAAC,KAAQ;QACX,MAAM,IAAI,GAAG,IAAI,eAAe,CAAI,IAAI,EAAE,KAAK,CAAC,CAAA;QAChD,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;QACpB,OAAO,IAAI,CAAA;IACb,CAAC;IAED,QAAQ;QACN,IAAI,CAAC,GAAG,CAAC,CAAA;QACT,OAAO,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,UAAU,EAAE,CAAC;YAChC,CAAC,IAAI,CAAC,CAAA;QACR,CAAC;QACD,OAAO,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;IACzD,CAAC;CACF;AAED,MAAM,OAAO,eAAe;IAE1B,YACU,WAA+B,EAChC,KAAQ;QADP,gBAAW,GAAX,WAAW,CAAoB;QAChC,UAAK,GAAL,KAAK,CAAG;QAHjB,eAAU,GAAG,KAAK,CAAA;IAIf,CAAC;IAEJ,QAAQ;QACN,IAAI,CAAC,UAAU,GAAG,IAAI,CAAA;QACtB,OAAO,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAA;IACpC,CAAC;CACF","sourcesContent":["/**\n * Add items to a list, and mark those items as\n * completed. Upon item completion, get list of consecutive\n * items completed at the head of the list. Example:\n *\n * const consecutive = new ConsecutiveList<number>()\n * const item1 = consecutive.push(1)\n * const item2 = consecutive.push(2)\n * const item3 = consecutive.push(3)\n * item2.complete() // []\n * item1.complete() // [1, 2]\n * item3.complete() // [3]\n *\n */\nexport class ConsecutiveList<T> {\n list: ConsecutiveItem<T>[] = []\n\n push(value: T) {\n const item = new ConsecutiveItem<T>(this, value)\n this.list.push(item)\n return item\n }\n\n complete(): T[] {\n let i = 0\n while (this.list[i]?.isComplete) {\n i += 1\n }\n return this.list.splice(0, i).map((item) => item.value)\n }\n}\n\nexport class ConsecutiveItem<T> {\n isComplete = false\n constructor(\n private consecutive: ConsecutiveList<T>,\n public value: T,\n ) {}\n\n complete() {\n this.isComplete = true\n return this.consecutive.complete()\n }\n}\n"]}
@@ -1,4 +1,4 @@
1
- export * from './consecutive-list';
2
- export * from './memory-runner';
3
- export * from './types';
1
+ export * from './consecutive-list.js';
2
+ export * from './memory-runner.js';
3
+ export * from './types.js';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/runner/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,SAAS,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/runner/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA;AACrC,cAAc,oBAAoB,CAAA;AAClC,cAAc,YAAY,CAAA"}
@@ -1,20 +1,4 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./consecutive-list"), exports);
18
- __exportStar(require("./memory-runner"), exports);
19
- __exportStar(require("./types"), exports);
1
+ export * from './consecutive-list.js';
2
+ export * from './memory-runner.js';
3
+ export * from './types.js';
20
4
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/runner/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAkC;AAClC,kDAA+B;AAC/B,0CAAuB","sourcesContent":["export * from './consecutive-list'\nexport * from './memory-runner'\nexport * from './types'\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/runner/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA;AACrC,cAAc,oBAAoB,CAAA;AAClC,cAAc,YAAY,CAAA","sourcesContent":["export * from './consecutive-list.js'\nexport * from './memory-runner.js'\nexport * from './types.js'\n"]}
@@ -1,16 +1,17 @@
1
1
  import PQueue from 'p-queue';
2
- import { ConsecutiveList } from './consecutive-list';
3
- import { EventRunner } from './types';
2
+ import { ConsecutiveList } from './consecutive-list.js';
3
+ import { EventRunner } from './types.js';
4
4
  export type MemoryRunnerOptions = {
5
5
  setCursor?: (cursor: number) => Promise<void>;
6
6
  concurrency?: number;
7
7
  startCursor?: number;
8
8
  };
9
+ type Queue = InstanceType<typeof PQueue>;
9
10
  export declare class MemoryRunner implements EventRunner {
10
11
  opts: MemoryRunnerOptions;
11
12
  consecutive: ConsecutiveList<number>;
12
- mainQueue: PQueue;
13
- partitions: Map<string, PQueue<import("p-queue/dist/priority-queue").default, import("p-queue").DefaultAddOptions>>;
13
+ mainQueue: Queue;
14
+ partitions: Map<string, Queue>;
14
15
  cursor: number | undefined;
15
16
  constructor(opts?: MemoryRunnerOptions);
16
17
  getCursor(): number | undefined;
@@ -20,4 +21,5 @@ export declare class MemoryRunner implements EventRunner {
20
21
  processAll(): Promise<void>;
21
22
  destroy(): Promise<void>;
22
23
  }
24
+ export {};
23
25
  //# sourceMappingURL=memory-runner.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"memory-runner.d.ts","sourceRoot":"","sources":["../../src/runner/memory-runner.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,SAAS,CAAA;AAC5B,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAErC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