@atproto/pds 0.4.117 → 0.4.118

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 (137) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/account-manager/account-manager.d.ts +5 -2
  3. package/dist/account-manager/account-manager.d.ts.map +1 -1
  4. package/dist/account-manager/account-manager.js.map +1 -1
  5. package/dist/actor-store/blob/transactor.d.ts +2 -1
  6. package/dist/actor-store/blob/transactor.d.ts.map +1 -1
  7. package/dist/actor-store/blob/transactor.js +19 -5
  8. package/dist/actor-store/blob/transactor.js.map +1 -1
  9. package/dist/api/com/atproto/repo/uploadBlob.d.ts.map +1 -1
  10. package/dist/api/com/atproto/repo/uploadBlob.js +1 -0
  11. package/dist/api/com/atproto/repo/uploadBlob.js.map +1 -1
  12. package/dist/config/env.d.ts +1 -0
  13. package/dist/config/env.d.ts.map +1 -1
  14. package/dist/config/env.js +1 -0
  15. package/dist/config/env.js.map +1 -1
  16. package/dist/config/secrets.d.ts +1 -0
  17. package/dist/config/secrets.d.ts.map +1 -1
  18. package/dist/config/secrets.js +1 -0
  19. package/dist/config/secrets.js.map +1 -1
  20. package/dist/context.d.ts +3 -0
  21. package/dist/context.d.ts.map +1 -1
  22. package/dist/context.js +19 -0
  23. package/dist/context.js.map +1 -1
  24. package/dist/lexicon/index.d.ts +10 -0
  25. package/dist/lexicon/index.d.ts.map +1 -1
  26. package/dist/lexicon/index.js +20 -0
  27. package/dist/lexicon/index.js.map +1 -1
  28. package/dist/lexicon/lexicons.d.ts +516 -0
  29. package/dist/lexicon/lexicons.d.ts.map +1 -1
  30. package/dist/lexicon/lexicons.js +277 -0
  31. package/dist/lexicon/lexicons.js.map +1 -1
  32. package/dist/lexicon/types/app/bsky/unspecced/defs.d.ts +27 -0
  33. package/dist/lexicon/types/app/bsky/unspecced/defs.d.ts.map +1 -1
  34. package/dist/lexicon/types/app/bsky/unspecced/defs.js +18 -0
  35. package/dist/lexicon/types/app/bsky/unspecced/defs.js.map +1 -1
  36. package/dist/lexicon/types/app/bsky/unspecced/getSuggestedStarterPacks.d.ts +36 -0
  37. package/dist/lexicon/types/app/bsky/unspecced/getSuggestedStarterPacks.d.ts.map +1 -0
  38. package/dist/lexicon/types/app/bsky/unspecced/getSuggestedStarterPacks.js +7 -0
  39. package/dist/lexicon/types/app/bsky/unspecced/getSuggestedStarterPacks.js.map +1 -0
  40. package/dist/lexicon/types/app/bsky/unspecced/getSuggestedStarterPacksSkeleton.d.ts +37 -0
  41. package/dist/lexicon/types/app/bsky/unspecced/getSuggestedStarterPacksSkeleton.d.ts.map +1 -0
  42. package/dist/lexicon/types/app/bsky/unspecced/getSuggestedStarterPacksSkeleton.js +7 -0
  43. package/dist/lexicon/types/app/bsky/unspecced/getSuggestedStarterPacksSkeleton.js.map +1 -0
  44. package/dist/lexicon/types/app/bsky/unspecced/getTrends.d.ts +36 -0
  45. package/dist/lexicon/types/app/bsky/unspecced/getTrends.d.ts.map +1 -0
  46. package/dist/lexicon/types/app/bsky/unspecced/getTrends.js +7 -0
  47. package/dist/lexicon/types/app/bsky/unspecced/getTrends.js.map +1 -0
  48. package/dist/lexicon/types/app/bsky/unspecced/getTrendsSkeleton.d.ts +38 -0
  49. package/dist/lexicon/types/app/bsky/unspecced/getTrendsSkeleton.d.ts.map +1 -0
  50. package/dist/lexicon/types/app/bsky/unspecced/getTrendsSkeleton.js +7 -0
  51. package/dist/lexicon/types/app/bsky/unspecced/getTrendsSkeleton.js.map +1 -0
  52. package/dist/lexicon/types/com/atproto/admin/updateAccountSigningKey.d.ts +31 -0
  53. package/dist/lexicon/types/com/atproto/admin/updateAccountSigningKey.d.ts.map +1 -0
  54. package/dist/lexicon/types/com/atproto/admin/updateAccountSigningKey.js +7 -0
  55. package/dist/lexicon/types/com/atproto/admin/updateAccountSigningKey.js.map +1 -0
  56. package/dist/repo/prepare.d.ts.map +1 -1
  57. package/dist/repo/prepare.js +1 -0
  58. package/dist/repo/prepare.js.map +1 -1
  59. package/dist/repo/types.d.ts +1 -0
  60. package/dist/repo/types.d.ts.map +1 -1
  61. package/dist/repo/types.js.map +1 -1
  62. package/dist/scripts/index.d.ts +8 -1
  63. package/dist/scripts/index.d.ts.map +1 -1
  64. package/dist/scripts/index.js +11 -0
  65. package/dist/scripts/index.js.map +1 -1
  66. package/dist/scripts/publish-identity.d.ts +8 -0
  67. package/dist/scripts/publish-identity.d.ts.map +1 -0
  68. package/dist/scripts/publish-identity.js +46 -0
  69. package/dist/scripts/publish-identity.js.map +1 -0
  70. package/dist/scripts/rebuild-repo.d.ts +10 -2
  71. package/dist/scripts/rebuild-repo.d.ts.map +1 -1
  72. package/dist/scripts/rebuild-repo.js +21 -12
  73. package/dist/scripts/rebuild-repo.js.map +1 -1
  74. package/dist/scripts/rotate-keys.d.ts +18 -0
  75. package/dist/scripts/rotate-keys.d.ts.map +1 -0
  76. package/dist/scripts/rotate-keys.js +115 -0
  77. package/dist/scripts/rotate-keys.js.map +1 -0
  78. package/dist/scripts/sequencer-recovery/index.d.ts +3 -0
  79. package/dist/scripts/sequencer-recovery/index.d.ts.map +1 -0
  80. package/dist/scripts/sequencer-recovery/index.js +17 -0
  81. package/dist/scripts/sequencer-recovery/index.js.map +1 -0
  82. package/dist/scripts/sequencer-recovery/recoverer.d.ts +27 -0
  83. package/dist/scripts/sequencer-recovery/recoverer.d.ts.map +1 -0
  84. package/dist/scripts/sequencer-recovery/recoverer.js +235 -0
  85. package/dist/scripts/sequencer-recovery/recoverer.js.map +1 -0
  86. package/dist/scripts/sequencer-recovery/recovery-db.d.ts +18 -0
  87. package/dist/scripts/sequencer-recovery/recovery-db.d.ts.map +1 -0
  88. package/dist/scripts/sequencer-recovery/recovery-db.js +45 -0
  89. package/dist/scripts/sequencer-recovery/recovery-db.js.map +1 -0
  90. package/dist/scripts/sequencer-recovery/repair-repos.d.ts +3 -0
  91. package/dist/scripts/sequencer-recovery/repair-repos.d.ts.map +1 -0
  92. package/dist/scripts/sequencer-recovery/repair-repos.js +45 -0
  93. package/dist/scripts/sequencer-recovery/repair-repos.js.map +1 -0
  94. package/dist/scripts/sequencer-recovery/user-queues.d.ts +12 -0
  95. package/dist/scripts/sequencer-recovery/user-queues.d.ts.map +1 -0
  96. package/dist/scripts/sequencer-recovery/user-queues.js +54 -0
  97. package/dist/scripts/sequencer-recovery/user-queues.js.map +1 -0
  98. package/dist/scripts/util.d.ts +2 -0
  99. package/dist/scripts/util.d.ts.map +1 -0
  100. package/dist/scripts/util.js +12 -0
  101. package/dist/scripts/util.js.map +1 -0
  102. package/dist/sequencer/sequencer.d.ts +2 -0
  103. package/dist/sequencer/sequencer.d.ts.map +1 -1
  104. package/dist/sequencer/sequencer.js +52 -42
  105. package/dist/sequencer/sequencer.js.map +1 -1
  106. package/package.json +10 -10
  107. package/src/account-manager/account-manager.ts +6 -2
  108. package/src/actor-store/blob/transactor.ts +25 -7
  109. package/src/api/com/atproto/repo/uploadBlob.ts +1 -0
  110. package/src/config/env.ts +2 -0
  111. package/src/config/secrets.ts +2 -0
  112. package/src/context.ts +23 -0
  113. package/src/lexicon/index.ts +62 -0
  114. package/src/lexicon/lexicons.ts +285 -0
  115. package/src/lexicon/types/app/bsky/unspecced/defs.ts +45 -0
  116. package/src/lexicon/types/app/bsky/unspecced/getSuggestedStarterPacks.ts +54 -0
  117. package/src/lexicon/types/app/bsky/unspecced/getSuggestedStarterPacksSkeleton.ts +55 -0
  118. package/src/lexicon/types/app/bsky/unspecced/getTrends.ts +54 -0
  119. package/src/lexicon/types/app/bsky/unspecced/getTrendsSkeleton.ts +56 -0
  120. package/src/lexicon/types/com/atproto/admin/updateAccountSigningKey.ts +48 -0
  121. package/src/repo/prepare.ts +1 -0
  122. package/src/repo/types.ts +1 -0
  123. package/src/scripts/README.md +40 -0
  124. package/src/scripts/index.ts +15 -0
  125. package/src/scripts/publish-identity.ts +54 -0
  126. package/src/scripts/rebuild-repo.ts +39 -12
  127. package/src/scripts/rotate-keys.ts +141 -0
  128. package/src/scripts/sequencer-recovery/index.ts +23 -0
  129. package/src/scripts/sequencer-recovery/recoverer.ts +289 -0
  130. package/src/scripts/sequencer-recovery/recovery-db.ts +64 -0
  131. package/src/scripts/sequencer-recovery/repair-repos.ts +48 -0
  132. package/src/scripts/sequencer-recovery/user-queues.ts +41 -0
  133. package/src/scripts/util.ts +7 -0
  134. package/src/sequencer/sequencer.ts +43 -40
  135. package/tests/recovery.test.ts +178 -0
  136. package/tsconfig.build.tsbuildinfo +1 -1
  137. package/tsconfig.tests.tsbuildinfo +1 -1
@@ -2,6 +2,7 @@
2
2
  * GENERATED CODE - DO NOT MODIFY
3
3
  */
4
4
  import { type ValidationResult } from '@atproto/lexicon';
5
+ import type * as AppBskyActorDefs from '../actor/defs.js';
5
6
  export interface SkeletonSearchPost {
6
7
  $type?: 'app.bsky.unspecced.defs#skeletonSearchPost';
7
8
  uri: string;
@@ -29,4 +30,30 @@ export interface TrendingTopic {
29
30
  }
30
31
  export declare function isTrendingTopic<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.unspecced.defs", "trendingTopic">;
31
32
  export declare function validateTrendingTopic<V>(v: V): ValidationResult<TrendingTopic & V>;
33
+ export interface SkeletonTrend {
34
+ $type?: 'app.bsky.unspecced.defs#skeletonTrend';
35
+ topic: string;
36
+ displayName: string;
37
+ link: string;
38
+ startedAt: string;
39
+ postCount: number;
40
+ status?: 'hot' | (string & {});
41
+ category?: string;
42
+ dids: string[];
43
+ }
44
+ export declare function isSkeletonTrend<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.unspecced.defs", "skeletonTrend">;
45
+ export declare function validateSkeletonTrend<V>(v: V): ValidationResult<SkeletonTrend & V>;
46
+ export interface TrendView {
47
+ $type?: 'app.bsky.unspecced.defs#trendView';
48
+ topic: string;
49
+ displayName: string;
50
+ link: string;
51
+ startedAt: string;
52
+ postCount: number;
53
+ status?: 'hot' | (string & {});
54
+ category?: string;
55
+ actors: AppBskyActorDefs.ProfileViewBasic[];
56
+ }
57
+ export declare function isTrendView<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.unspecced.defs", "trendView">;
58
+ export declare function validateTrendView<V>(v: V): ValidationResult<TrendView & V>;
32
59
  //# sourceMappingURL=defs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/unspecced/defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAajE,MAAM,WAAW,kBAAkB;IACjC,KAAK,CAAC,EAAE,4CAA4C,CAAA;IACpD,GAAG,EAAE,MAAM,CAAA;CACZ;AAID,wBAAgB,oBAAoB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,oGAE3C;AAED,wBAAgB,0BAA0B,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,4CAEjD;AAED,MAAM,WAAW,mBAAmB;IAClC,KAAK,CAAC,EAAE,6CAA6C,CAAA;IACrD,GAAG,EAAE,MAAM,CAAA;CACZ;AAID,wBAAgB,qBAAqB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,qGAE5C;AAED,wBAAgB,2BAA2B,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,6CAElD;AAED,MAAM,WAAW,yBAAyB;IACxC,KAAK,CAAC,EAAE,mDAAmD,CAAA;IAC3D,GAAG,EAAE,MAAM,CAAA;CACZ;AAID,wBAAgB,2BAA2B,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,2GAElD;AAED,wBAAgB,iCAAiC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,mDAMxD;AAED,MAAM,WAAW,aAAa;IAC5B,KAAK,CAAC,EAAE,uCAAuC,CAAA;IAC/C,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,IAAI,EAAE,MAAM,CAA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validateSkeletonSearchStarterPack = validateSkeletonSearchStarterPack;
9
9
  exports.isTrendingTopic = isTrendingTopic;
10
10
  exports.validateTrendingTopic = validateTrendingTopic;
11
+ exports.isSkeletonTrend = isSkeletonTrend;
12
+ exports.validateSkeletonTrend = validateSkeletonTrend;
13
+ exports.isTrendView = isTrendView;
14
+ exports.validateTrendView = validateTrendView;
11
15
  const lexicons_1 = require("../../../../lexicons");
12
16
  const util_1 = require("../../../../util");
13
17
  const is$typed = util_1.is$typed, validate = lexicons_1.validate;
@@ -40,4 +44,18 @@ function isTrendingTopic(v) {
40
44
  function validateTrendingTopic(v) {
41
45
  return validate(v, id, hashTrendingTopic);
42
46
  }
47
+ const hashSkeletonTrend = 'skeletonTrend';
48
+ function isSkeletonTrend(v) {
49
+ return is$typed(v, id, hashSkeletonTrend);
50
+ }
51
+ function validateSkeletonTrend(v) {
52
+ return validate(v, id, hashSkeletonTrend);
53
+ }
54
+ const hashTrendView = 'trendView';
55
+ function isTrendView(v) {
56
+ return is$typed(v, id, hashTrendView);
57
+ }
58
+ function validateTrendView(v) {
59
+ return validate(v, id, hashTrendView);
60
+ }
43
61
  //# sourceMappingURL=defs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/unspecced/defs.ts"],"names":[],"mappings":";;AAuBA,oDAEC;AAED,gEAEC;AASD,sDAEC;AAED,kEAEC;AASD,kEAEC;AAED,8EAMC;AAYD,0CAEC;AAED,sDAEC;AA5ED,mDAA4D;AAC5D,2CAIyB;AAEzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,yBAAyB,CAAA;AAOpC,MAAM,sBAAsB,GAAG,oBAAoB,CAAA;AAEnD,SAAgB,oBAAoB,CAAI,CAAI;IAC1C,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,sBAAsB,CAAC,CAAA;AAChD,CAAC;AAED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CAAI;IACrC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,iBAAiB,CAAC,CAAA;AAC3C,CAAC;AAED,SAAgB,qBAAqB,CAAI,CAAI;IAC3C,OAAO,QAAQ,CAAoB,CAAC,EAAE,EAAE,EAAE,iBAAiB,CAAC,CAAA;AAC9D,CAAC;AAcD,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"}
@@ -0,0 +1,36 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import express from 'express';
5
+ import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server';
6
+ import type * as AppBskyGraphDefs from '../graph/defs.js';
7
+ export interface QueryParams {
8
+ limit: number;
9
+ }
10
+ export type InputSchema = undefined;
11
+ export interface OutputSchema {
12
+ starterPacks: AppBskyGraphDefs.StarterPackViewBasic[];
13
+ }
14
+ export type HandlerInput = undefined;
15
+ export interface HandlerSuccess {
16
+ encoding: 'application/json';
17
+ body: OutputSchema;
18
+ headers?: {
19
+ [key: string]: string;
20
+ };
21
+ }
22
+ export interface HandlerError {
23
+ status: number;
24
+ message?: string;
25
+ }
26
+ export type HandlerOutput = HandlerError | HandlerSuccess | HandlerPipeThrough;
27
+ export type HandlerReqCtx<HA extends HandlerAuth = never> = {
28
+ auth: HA;
29
+ params: QueryParams;
30
+ input: HandlerInput;
31
+ req: express.Request;
32
+ res: express.Response;
33
+ resetRouteRateLimits: () => Promise<void>;
34
+ };
35
+ export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
36
+ //# sourceMappingURL=getSuggestedStarterPacks.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSuggestedStarterPacks.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/unspecced/getSuggestedStarterPacks.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAS7B,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACtE,OAAO,KAAK,KAAK,gBAAgB,MAAM,kBAAkB,CAAA;AAMzD,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,YAAY,EAAE,gBAAgB,CAAC,oBAAoB,EAAE,CAAA;CACtD;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,CAAA;KAAE,CAAA;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,GAAG,kBAAkB,CAAA;AAC9E,MAAM,MAAM,aAAa,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI;IAC1D,IAAI,EAAE,EAAE,CAAA;IACR,MAAM,EAAE,WAAW,CAAA;IACnB,KAAK,EAAE,YAAY,CAAA;IACnB,GAAG,EAAE,OAAO,CAAC,OAAO,CAAA;IACpB,GAAG,EAAE,OAAO,CAAC,QAAQ,CAAA;IACrB,oBAAoB,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;CAC1C,CAAA;AACD,MAAM,MAAM,OAAO,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI,CACpD,GAAG,EAAE,aAAa,CAAC,EAAE,CAAC,KACnB,OAAO,CAAC,aAAa,CAAC,GAAG,aAAa,CAAA"}
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const lexicons_1 = require("../../../../lexicons");
4
+ const util_1 = require("../../../../util");
5
+ const is$typed = util_1.is$typed, validate = lexicons_1.validate;
6
+ const id = 'app.bsky.unspecced.getSuggestedStarterPacks';
7
+ //# sourceMappingURL=getSuggestedStarterPacks.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSuggestedStarterPacks.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/unspecced/getSuggestedStarterPacks.ts"],"names":[],"mappings":";;AAMA,mDAA4D;AAC5D,2CAIyB;AAIzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,6CAA6C,CAAA"}
@@ -0,0 +1,37 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import express from 'express';
5
+ import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server';
6
+ export interface QueryParams {
7
+ /** DID of the account making the request (not included for public/unauthenticated queries). */
8
+ viewer?: string;
9
+ limit: number;
10
+ }
11
+ export type InputSchema = undefined;
12
+ export interface OutputSchema {
13
+ starterPacks: string[];
14
+ }
15
+ export type HandlerInput = undefined;
16
+ export interface HandlerSuccess {
17
+ encoding: 'application/json';
18
+ body: OutputSchema;
19
+ headers?: {
20
+ [key: string]: string;
21
+ };
22
+ }
23
+ export interface HandlerError {
24
+ status: number;
25
+ message?: string;
26
+ }
27
+ export type HandlerOutput = HandlerError | HandlerSuccess | HandlerPipeThrough;
28
+ export type HandlerReqCtx<HA extends HandlerAuth = never> = {
29
+ auth: HA;
30
+ params: QueryParams;
31
+ input: HandlerInput;
32
+ req: express.Request;
33
+ res: express.Response;
34
+ resetRouteRateLimits: () => Promise<void>;
35
+ };
36
+ export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
37
+ //# sourceMappingURL=getSuggestedStarterPacksSkeleton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSuggestedStarterPacksSkeleton.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/unspecced/getSuggestedStarterPacksSkeleton.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAS7B,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAMtE,MAAM,WAAW,WAAW;IAC1B,+FAA+F;IAC/F,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,YAAY,EAAE,MAAM,EAAE,CAAA;CACvB;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,CAAA;KAAE,CAAA;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,GAAG,kBAAkB,CAAA;AAC9E,MAAM,MAAM,aAAa,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI;IAC1D,IAAI,EAAE,EAAE,CAAA;IACR,MAAM,EAAE,WAAW,CAAA;IACnB,KAAK,EAAE,YAAY,CAAA;IACnB,GAAG,EAAE,OAAO,CAAC,OAAO,CAAA;IACpB,GAAG,EAAE,OAAO,CAAC,QAAQ,CAAA;IACrB,oBAAoB,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;CAC1C,CAAA;AACD,MAAM,MAAM,OAAO,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI,CACpD,GAAG,EAAE,aAAa,CAAC,EAAE,CAAC,KACnB,OAAO,CAAC,aAAa,CAAC,GAAG,aAAa,CAAA"}
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const lexicons_1 = require("../../../../lexicons");
4
+ const util_1 = require("../../../../util");
5
+ const is$typed = util_1.is$typed, validate = lexicons_1.validate;
6
+ const id = 'app.bsky.unspecced.getSuggestedStarterPacksSkeleton';
7
+ //# sourceMappingURL=getSuggestedStarterPacksSkeleton.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSuggestedStarterPacksSkeleton.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/unspecced/getSuggestedStarterPacksSkeleton.ts"],"names":[],"mappings":";;AAMA,mDAA4D;AAC5D,2CAIyB;AAGzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,qDAAqD,CAAA"}
@@ -0,0 +1,36 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import express from 'express';
5
+ import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server';
6
+ import type * as AppBskyUnspeccedDefs from './defs.js';
7
+ export interface QueryParams {
8
+ limit: number;
9
+ }
10
+ export type InputSchema = undefined;
11
+ export interface OutputSchema {
12
+ trends: AppBskyUnspeccedDefs.TrendView[];
13
+ }
14
+ export type HandlerInput = undefined;
15
+ export interface HandlerSuccess {
16
+ encoding: 'application/json';
17
+ body: OutputSchema;
18
+ headers?: {
19
+ [key: string]: string;
20
+ };
21
+ }
22
+ export interface HandlerError {
23
+ status: number;
24
+ message?: string;
25
+ }
26
+ export type HandlerOutput = HandlerError | HandlerSuccess | HandlerPipeThrough;
27
+ export type HandlerReqCtx<HA extends HandlerAuth = never> = {
28
+ auth: HA;
29
+ params: QueryParams;
30
+ input: HandlerInput;
31
+ req: express.Request;
32
+ res: express.Response;
33
+ resetRouteRateLimits: () => Promise<void>;
34
+ };
35
+ export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
36
+ //# sourceMappingURL=getTrends.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getTrends.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/unspecced/getTrends.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAS7B,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACtE,OAAO,KAAK,KAAK,oBAAoB,MAAM,WAAW,CAAA;AAMtD,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,oBAAoB,CAAC,SAAS,EAAE,CAAA;CACzC;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,CAAA;KAAE,CAAA;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,GAAG,kBAAkB,CAAA;AAC9E,MAAM,MAAM,aAAa,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI;IAC1D,IAAI,EAAE,EAAE,CAAA;IACR,MAAM,EAAE,WAAW,CAAA;IACnB,KAAK,EAAE,YAAY,CAAA;IACnB,GAAG,EAAE,OAAO,CAAC,OAAO,CAAA;IACpB,GAAG,EAAE,OAAO,CAAC,QAAQ,CAAA;IACrB,oBAAoB,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;CAC1C,CAAA;AACD,MAAM,MAAM,OAAO,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI,CACpD,GAAG,EAAE,aAAa,CAAC,EAAE,CAAC,KACnB,OAAO,CAAC,aAAa,CAAC,GAAG,aAAa,CAAA"}
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const lexicons_1 = require("../../../../lexicons");
4
+ const util_1 = require("../../../../util");
5
+ const is$typed = util_1.is$typed, validate = lexicons_1.validate;
6
+ const id = 'app.bsky.unspecced.getTrends';
7
+ //# sourceMappingURL=getTrends.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getTrends.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/unspecced/getTrends.ts"],"names":[],"mappings":";;AAMA,mDAA4D;AAC5D,2CAIyB;AAIzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,8BAA8B,CAAA"}
@@ -0,0 +1,38 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import express from 'express';
5
+ import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server';
6
+ import type * as AppBskyUnspeccedDefs from './defs.js';
7
+ export interface QueryParams {
8
+ /** DID of the account making the request (not included for public/unauthenticated queries). */
9
+ viewer?: string;
10
+ limit: number;
11
+ }
12
+ export type InputSchema = undefined;
13
+ export interface OutputSchema {
14
+ trends: AppBskyUnspeccedDefs.SkeletonTrend[];
15
+ }
16
+ export type HandlerInput = undefined;
17
+ export interface HandlerSuccess {
18
+ encoding: 'application/json';
19
+ body: OutputSchema;
20
+ headers?: {
21
+ [key: string]: string;
22
+ };
23
+ }
24
+ export interface HandlerError {
25
+ status: number;
26
+ message?: string;
27
+ }
28
+ export type HandlerOutput = HandlerError | HandlerSuccess | HandlerPipeThrough;
29
+ export type HandlerReqCtx<HA extends HandlerAuth = never> = {
30
+ auth: HA;
31
+ params: QueryParams;
32
+ input: HandlerInput;
33
+ req: express.Request;
34
+ res: express.Response;
35
+ resetRouteRateLimits: () => Promise<void>;
36
+ };
37
+ export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
38
+ //# sourceMappingURL=getTrendsSkeleton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getTrendsSkeleton.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/unspecced/getTrendsSkeleton.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAS7B,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACtE,OAAO,KAAK,KAAK,oBAAoB,MAAM,WAAW,CAAA;AAMtD,MAAM,WAAW,WAAW;IAC1B,+FAA+F;IAC/F,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,oBAAoB,CAAC,aAAa,EAAE,CAAA;CAC7C;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,CAAA;KAAE,CAAA;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,GAAG,kBAAkB,CAAA;AAC9E,MAAM,MAAM,aAAa,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI;IAC1D,IAAI,EAAE,EAAE,CAAA;IACR,MAAM,EAAE,WAAW,CAAA;IACnB,KAAK,EAAE,YAAY,CAAA;IACnB,GAAG,EAAE,OAAO,CAAC,OAAO,CAAA;IACpB,GAAG,EAAE,OAAO,CAAC,QAAQ,CAAA;IACrB,oBAAoB,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;CAC1C,CAAA;AACD,MAAM,MAAM,OAAO,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI,CACpD,GAAG,EAAE,aAAa,CAAC,EAAE,CAAC,KACnB,OAAO,CAAC,aAAa,CAAC,GAAG,aAAa,CAAA"}
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const lexicons_1 = require("../../../../lexicons");
4
+ const util_1 = require("../../../../util");
5
+ const is$typed = util_1.is$typed, validate = lexicons_1.validate;
6
+ const id = 'app.bsky.unspecced.getTrendsSkeleton';
7
+ //# sourceMappingURL=getTrendsSkeleton.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getTrendsSkeleton.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/unspecced/getTrendsSkeleton.ts"],"names":[],"mappings":";;AAMA,mDAA4D;AAC5D,2CAIyB;AAIzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,sCAAsC,CAAA"}
@@ -0,0 +1,31 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import express from 'express';
5
+ import { HandlerAuth } from '@atproto/xrpc-server';
6
+ export interface QueryParams {
7
+ }
8
+ export interface InputSchema {
9
+ did: string;
10
+ /** Did-key formatted public key */
11
+ signingKey: string;
12
+ }
13
+ export interface HandlerInput {
14
+ encoding: 'application/json';
15
+ body: InputSchema;
16
+ }
17
+ export interface HandlerError {
18
+ status: number;
19
+ message?: string;
20
+ }
21
+ export type HandlerOutput = HandlerError | void;
22
+ export type HandlerReqCtx<HA extends HandlerAuth = never> = {
23
+ auth: HA;
24
+ params: QueryParams;
25
+ input: HandlerInput;
26
+ req: express.Request;
27
+ res: express.Response;
28
+ resetRouteRateLimits: () => Promise<void>;
29
+ };
30
+ export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
31
+ //# sourceMappingURL=updateAccountSigningKey.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"updateAccountSigningKey.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/com/atproto/admin/updateAccountSigningKey.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAS7B,OAAO,EAAE,WAAW,EAAsB,MAAM,sBAAsB,CAAA;AAMtE,MAAM,WAAW,WAAW;CAAG;AAE/B,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE,MAAM,CAAA;IACX,mCAAmC;IACnC,UAAU,EAAE,MAAM,CAAA;CACnB;AAED,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,WAAW,CAAA;CAClB;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,IAAI,CAAA;AAC/C,MAAM,MAAM,aAAa,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI;IAC1D,IAAI,EAAE,EAAE,CAAA;IACR,MAAM,EAAE,WAAW,CAAA;IACnB,KAAK,EAAE,YAAY,CAAA;IACnB,GAAG,EAAE,OAAO,CAAC,OAAO,CAAA;IACpB,GAAG,EAAE,OAAO,CAAC,QAAQ,CAAA;IACrB,oBAAoB,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;CAC1C,CAAA;AACD,MAAM,MAAM,OAAO,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI,CACpD,GAAG,EAAE,aAAa,CAAC,EAAE,CAAC,KACnB,OAAO,CAAC,aAAa,CAAC,GAAG,aAAa,CAAA"}
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const lexicons_1 = require("../../../../lexicons");
4
+ const util_1 = require("../../../../util");
5
+ const is$typed = util_1.is$typed, validate = lexicons_1.validate;
6
+ const id = 'com.atproto.admin.updateAccountSigningKey';
7
+ //# sourceMappingURL=updateAccountSigningKey.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"updateAccountSigningKey.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/com/atproto/admin/updateAccountSigningKey.ts"],"names":[],"mappings":";;AAMA,mDAA4D;AAC5D,2CAIyB;AAGzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,2CAA2C,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"prepare.d.ts","sourceRoot":"","sources":["../../src/repo/prepare.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AAEtC,OAAO,EACL,OAAO,EACP,QAAQ,EAER,UAAU,EAIX,MAAM,kBAAkB,CAAA;AACzB,OAAO,EACL,cAAc,EACd,cAAc,EACd,cAAc,EACd,aAAa,EAGd,MAAM,eAAe,CAAA;AAetB,OAAO,EAEL,eAAe,EACf,cAAc,EACd,cAAc,EACd,cAAc,EACd,aAAa,EAC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,KAAG,OAAO,CAAC,cAAc,CAwBzB,CAAA;AAED,eAAO,MAAM,aAAa,SAAgB;IACxC,GAAG,EAAE,MAAM,CAAA;IACX,UAAU,EAAE,MAAM,CAAA;IAClB,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,GAAG,GAAG,IAAI,CAAA;IACpB,MAAM,EAAE,UAAU,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,KAAG,OAAO,CAAC,cAAc,CAoBzB,CAAA;AAED,eAAO,MAAM,aAAa,SAAU;IAClC,GAAG,EAAE,MAAM,CAAA;IACX,UAAU,EAAE,MAAM,CAAA;IAClB,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,GAAG,GAAG,IAAI,CAAA;CACrB,KAAG,cAOH,CAAA;AAED,eAAO,MAAM,eAAe,UAAW,cAAc,KAAG,cAKtD,CAAA;AAEF,eAAO,MAAM,eAAe,UAAW,cAAc,KAAG,cAKtD,CAAA;AAEF,eAAO,MAAM,eAAe,UAAW,cAAc,KAAG,cAItD,CAAA;AAEF,eAAO,MAAM,SAAS,UAAW,aAAa,KAAG,aAWhD,CAAA;AA6CD,KAAK,YAAY,GAAG;IAClB,GAAG,EAAE,OAAO,CAAA;IACZ,IAAI,EAAE,MAAM,EAAE,CAAA;CACf,CAAA;AAED,eAAO,MAAM,aAAa,WAChB,UAAU,YACR,OAAO,KAChB,eAAe,EAoBjB,CAAA;AAED,eAAO,MAAM,YAAY,QAClB,QAAQ,SACP,MAAM,EAAE,qBAEb,YAAY,EA6Bd,CAAA"}
@@ -235,6 +235,7 @@ const blobsForWrite = (record, validate) => {
235
235
  }
236
236
  }
237
237
  return refs.map(({ ref, path }) => ({
238
+ size: ref.size,
238
239
  cid: ref.ref,
239
240
  mimeType: ref.mimeType,
240
241
  constraints: validate && recordType
@@ -1 +1 @@
1
- {"version":3,"file":"prepare.js","sourceRoot":"","sources":["../../src/repo/prepare.ts"],"names":[],"mappings":";;;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AAC,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,MAAM;KAC3E;IACD,CAAC,GAAG,CAAC,GAAG,CAAC,eAAe,CAAC,EAAE;QACzB,oBAAoB,EAClB,GAAG,CAAC,UAAU,CAAC,kBAAkB,CAAC,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,KAAK;QAC/D,sBAAsB,EACpB,GAAG,CAAC,UAAU,CAAC,oBAAoB,CAAC,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,KAAK;QACpE,0BAA0B,EACxB,GAAG,CAAC,UAAU,CAAC,kBAAkB,CAAC,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,KAAK;QAC/D,4BAA4B,EAC1B,GAAG,CAAC,UAAU,CAAC,oBAAoB,CAAC,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,KAAK;KACrE;CACF,CAAA"}
@@ -8,6 +8,7 @@ export type BlobConstraint = {
8
8
  maxSize?: number;
9
9
  };
10
10
  export type PreparedBlobRef = {
11
+ size: number;
11
12
  cid: CID;
12
13
  mimeType: string;
13
14
  constraints: BlobConstraint;
@@ -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,QAAQ,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA;AACnE,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,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,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":";;;AAgEA,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":";;;AAiEA,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,4 +1,11 @@
1
1
  export declare const scripts: {
2
- 'rebuild-repo': (ctx: import("..").AppContext, args: string[]) => Promise<void>;
2
+ 'rebuild-repo': (ctx: import("./rebuild-repo").RebuildContext, did: string, promptUser: boolean) => Promise<void>;
3
+ 'sequencer-recovery': (ctx: import("./sequencer-recovery/recoverer").RecovererContextNoDb, args: string[]) => Promise<void>;
4
+ 'recovery-repair-repos': (ctx: import("./sequencer-recovery/recoverer").RecovererContextNoDb) => Promise<void>;
5
+ 'rotate-keys': (ctx: import("./rotate-keys").RotateKeysContext, args: string[]) => Promise<void>;
6
+ 'rotate-keys-file': (ctx: import("./rotate-keys").RotateKeysContext, args: string[]) => Promise<void>;
7
+ 'rotate-keys-recovery': (ctx: import("./rotate-keys").RotateKeysContext, args: string[]) => Promise<void>;
8
+ 'publish-identity': (ctx: import("./publish-identity").PublishIdentityContext, args: string[]) => Promise<void>;
9
+ 'publish-identity-file': (ctx: import("./publish-identity").PublishIdentityContext, args: string[]) => Promise<void>;
3
10
  };
4
11
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/scripts/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO;;CAEnB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/scripts/index.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,OAAO;;;;;;;;;CASnB,CAAA"}
@@ -1,8 +1,19 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.scripts = void 0;
4
+ const publish_identity_1 = require("./publish-identity");
4
5
  const rebuild_repo_1 = require("./rebuild-repo");
6
+ const rotate_keys_1 = require("./rotate-keys");
7
+ const sequencer_recovery_1 = require("./sequencer-recovery");
8
+ const repair_repos_1 = require("./sequencer-recovery/repair-repos");
5
9
  exports.scripts = {
6
10
  'rebuild-repo': rebuild_repo_1.rebuildRepo,
11
+ 'sequencer-recovery': sequencer_recovery_1.sequencerRecovery,
12
+ 'recovery-repair-repos': repair_repos_1.repairRepos,
13
+ 'rotate-keys': rotate_keys_1.rotateKeys,
14
+ 'rotate-keys-file': rotate_keys_1.rotateKeysFromFile,
15
+ 'rotate-keys-recovery': rotate_keys_1.rotateKeysRecovery,
16
+ 'publish-identity': publish_identity_1.publishIdentity,
17
+ 'publish-identity-file': publish_identity_1.publishIdentityFromFile,
7
18
  };
8
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/scripts/index.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE/B,QAAA,OAAO,GAAG;IACrB,cAAc,EAAE,0BAAW;CAC5B,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/scripts/index.ts"],"names":[],"mappings":";;;AAAA,yDAA6E;AAC7E,iDAA4C;AAC5C,+CAIsB;AACtB,6DAAwD;AACxD,oEAA+D;AAElD,QAAA,OAAO,GAAG;IACrB,cAAc,EAAE,0BAAW;IAC3B,oBAAoB,EAAE,sCAAiB;IACvC,uBAAuB,EAAE,0BAAW;IACpC,aAAa,EAAE,wBAAU;IACzB,kBAAkB,EAAE,gCAAkB;IACtC,sBAAsB,EAAE,gCAAkB;IAC1C,kBAAkB,EAAE,kCAAe;IACnC,uBAAuB,EAAE,0CAAuB;CACjD,CAAA"}
@@ -0,0 +1,8 @@
1
+ import { Sequencer } from '../sequencer';
2
+ export type PublishIdentityContext = {
3
+ sequencer: Sequencer;
4
+ };
5
+ export declare const publishIdentity: (ctx: PublishIdentityContext, args: string[]) => Promise<void>;
6
+ export declare const publishIdentityFromFile: (ctx: PublishIdentityContext, args: string[]) => Promise<void>;
7
+ export declare const publishIdentityEvtForDids: (ctx: PublishIdentityContext, dids: string[], timeBetween?: number) => Promise<void>;
8
+ //# sourceMappingURL=publish-identity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"publish-identity.d.ts","sourceRoot":"","sources":["../../src/scripts/publish-identity.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAGxC,MAAM,MAAM,sBAAsB,GAAG;IACnC,SAAS,EAAE,SAAS,CAAA;CACrB,CAAA;AAED,eAAO,MAAM,eAAe,QACrB,sBAAsB,QACrB,MAAM,EAAE,kBAKf,CAAA;AAED,eAAO,MAAM,uBAAuB,QAC7B,sBAAsB,QACrB,MAAM,EAAE,kBAef,CAAA;AAED,eAAO,MAAM,yBAAyB,QAC/B,sBAAsB,QACrB,MAAM,EAAE,wCAcf,CAAA"}
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.publishIdentityEvtForDids = exports.publishIdentityFromFile = exports.publishIdentity = void 0;
7
+ const promises_1 = __importDefault(require("node:fs/promises"));
8
+ const common_1 = require("@atproto/common");
9
+ const util_1 = require("./util");
10
+ const publishIdentity = async (ctx, args) => {
11
+ const dids = args;
12
+ await (0, exports.publishIdentityEvtForDids)(ctx, dids);
13
+ console.log('DONE');
14
+ };
15
+ exports.publishIdentity = publishIdentity;
16
+ const publishIdentityFromFile = async (ctx, args) => {
17
+ const filepath = args[0];
18
+ if (!filepath) {
19
+ throw new Error('Expected filepath as argument');
20
+ }
21
+ const timeBetween = args[1] ? (0, util_1.parseIntArg)(args[1]) : 5;
22
+ const file = await promises_1.default.readFile(filepath);
23
+ const dids = file
24
+ .toString()
25
+ .split('\n')
26
+ .map((did) => did.trim());
27
+ await (0, exports.publishIdentityEvtForDids)(ctx, dids, timeBetween);
28
+ console.log('DONE');
29
+ };
30
+ exports.publishIdentityFromFile = publishIdentityFromFile;
31
+ const publishIdentityEvtForDids = async (ctx, dids, timeBetween = 0) => {
32
+ for (const did of dids) {
33
+ try {
34
+ await ctx.sequencer.sequenceIdentityEvt(did);
35
+ console.log(`published identity evt for ${did}`);
36
+ }
37
+ catch (err) {
38
+ console.error(`failed to sequence new identity evt for ${did}: ${err}`);
39
+ }
40
+ if (timeBetween > 0) {
41
+ await (0, common_1.wait)(timeBetween);
42
+ }
43
+ }
44
+ };
45
+ exports.publishIdentityEvtForDids = publishIdentityEvtForDids;
46
+ //# sourceMappingURL=publish-identity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"publish-identity.js","sourceRoot":"","sources":["../../src/scripts/publish-identity.ts"],"names":[],"mappings":";;;;;;AAAA,gEAAiC;AACjC,4CAAsC;AAEtC,iCAAoC;AAM7B,MAAM,eAAe,GAAG,KAAK,EAClC,GAA2B,EAC3B,IAAc,EACd,EAAE;IACF,MAAM,IAAI,GAAG,IAAI,CAAA;IACjB,MAAM,IAAA,iCAAyB,EAAC,GAAG,EAAE,IAAI,CAAC,CAAA;IAC1C,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAA;AACrB,CAAC,CAAA;AAPY,QAAA,eAAe,mBAO3B;AAEM,MAAM,uBAAuB,GAAG,KAAK,EAC1C,GAA2B,EAC3B,IAAc,EACd,EAAE;IACF,MAAM,QAAQ,GAAG,IAAI,CAAC,CAAC,CAAC,CAAA;IACxB,IAAI,CAAC,QAAQ,EAAE,CAAC;QACd,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAA;IAClD,CAAC;IACD,MAAM,WAAW,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAA,kBAAW,EAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;IACtD,MAAM,IAAI,GAAG,MAAM,kBAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAA;IACxC,MAAM,IAAI,GAAG,IAAI;SACd,QAAQ,EAAE;SACV,KAAK,CAAC,IAAI,CAAC;SACX,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC,CAAA;IAE3B,MAAM,IAAA,iCAAyB,EAAC,GAAG,EAAE,IAAI,EAAE,WAAW,CAAC,CAAA;IACvD,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAA;AACrB,CAAC,CAAA;AAjBY,QAAA,uBAAuB,2BAiBnC;AAEM,MAAM,yBAAyB,GAAG,KAAK,EAC5C,GAA2B,EAC3B,IAAc,EACd,WAAW,GAAG,CAAC,EACf,EAAE;IACF,KAAK,MAAM,GAAG,IAAI,IAAI,EAAE,CAAC;QACvB,IAAI,CAAC;YACH,MAAM,GAAG,CAAC,SAAS,CAAC,mBAAmB,CAAC,GAAG,CAAC,CAAA;YAC5C,OAAO,CAAC,GAAG,CAAC,8BAA8B,GAAG,EAAE,CAAC,CAAA;QAClD,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,OAAO,CAAC,KAAK,CAAC,2CAA2C,GAAG,KAAK,GAAG,EAAE,CAAC,CAAA;QACzE,CAAC;QACD,IAAI,WAAW,GAAG,CAAC,EAAE,CAAC;YACpB,MAAM,IAAA,aAAI,EAAC,WAAW,CAAC,CAAA;QACzB,CAAC;IACH,CAAC;AACH,CAAC,CAAA;AAhBY,QAAA,yBAAyB,6BAgBrC"}
@@ -1,3 +1,11 @@
1
- import { AppContext } from '../context';
2
- export declare const rebuildRepo: (ctx: AppContext, args: string[]) => Promise<void>;
1
+ import { AccountManager } from '../account-manager/account-manager';
2
+ import { ActorStore } from '../actor-store/actor-store';
3
+ import { Sequencer } from '../sequencer';
4
+ export interface RebuildContext {
5
+ sequencer: Sequencer;
6
+ accountManager: AccountManager;
7
+ actorStore: ActorStore;
8
+ }
9
+ export declare const rebuildRepoScript: (ctx: RebuildContext, args: string[]) => Promise<void>;
10
+ export declare const rebuildRepo: (ctx: RebuildContext, did: string, promptUser: boolean) => Promise<void>;
3
11
  //# sourceMappingURL=rebuild-repo.d.ts.map
@@ -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,kBAwEhE,CAAA"}
1
+ {"version":3,"file":"rebuild-repo.d.ts","sourceRoot":"","sources":["../../src/scripts/rebuild-repo.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAA;AACnE,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAA;AACvD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAExC,MAAM,WAAW,cAAc;IAC7B,SAAS,EAAE,SAAS,CAAA;IACpB,cAAc,EAAE,cAAc,CAAA;IAC9B,UAAU,EAAE,UAAU,CAAA;CACvB;AAED,eAAO,MAAM,iBAAiB,QACvB,cAAc,QACb,MAAM,EAAE,kBAOf,CAAA;AAED,eAAO,MAAM,WAAW,QACjB,cAAc,OACd,MAAM,cACC,OAAO,kBA6EpB,CAAA"}