@atproto/pds 0.4.12 → 0.4.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/actor-store/migrate.d.ts.map +1 -1
  3. package/dist/api/proxy.d.ts.map +1 -1
  4. package/dist/auth-verifier.d.ts.map +1 -1
  5. package/dist/db/pagination.d.ts +4 -4
  6. package/dist/db/pagination.d.ts.map +1 -1
  7. package/dist/db/util.d.ts.map +1 -1
  8. package/dist/handle/index.js +1 -1
  9. package/dist/handle/index.js.map +1 -1
  10. package/dist/lexicon/index.d.ts +16 -0
  11. package/dist/lexicon/index.d.ts.map +1 -1
  12. package/dist/lexicon/index.js +19 -1
  13. package/dist/lexicon/index.js.map +1 -1
  14. package/dist/lexicon/lexicons.d.ts +230 -0
  15. package/dist/lexicon/lexicons.d.ts.map +1 -1
  16. package/dist/lexicon/lexicons.js +243 -0
  17. package/dist/lexicon/lexicons.js.map +1 -1
  18. package/dist/lexicon/types/app/bsky/embed/record.d.ts +3 -0
  19. package/dist/lexicon/types/app/bsky/embed/record.d.ts.map +1 -1
  20. package/dist/lexicon/types/app/bsky/embed/record.js.map +1 -1
  21. package/dist/lexicon/types/app/bsky/feed/defs.d.ts +38 -0
  22. package/dist/lexicon/types/app/bsky/feed/defs.d.ts.map +1 -1
  23. package/dist/lexicon/types/app/bsky/feed/defs.js +35 -1
  24. package/dist/lexicon/types/app/bsky/feed/defs.js.map +1 -1
  25. package/dist/lexicon/types/app/bsky/feed/generator.d.ts +2 -0
  26. package/dist/lexicon/types/app/bsky/feed/generator.d.ts.map +1 -1
  27. package/dist/lexicon/types/app/bsky/feed/generator.js.map +1 -1
  28. package/dist/lexicon/types/app/bsky/feed/searchPosts.d.ts +18 -0
  29. package/dist/lexicon/types/app/bsky/feed/searchPosts.d.ts.map +1 -1
  30. package/dist/lexicon/types/app/bsky/feed/sendInteractions.d.ts +40 -0
  31. package/dist/lexicon/types/app/bsky/feed/sendInteractions.d.ts.map +1 -0
  32. package/dist/lexicon/types/app/bsky/feed/sendInteractions.js +3 -0
  33. package/dist/lexicon/types/app/bsky/feed/sendInteractions.js.map +1 -0
  34. package/dist/lexicon/types/app/bsky/unspecced/searchActorsSkeleton.d.ts +2 -0
  35. package/dist/lexicon/types/app/bsky/unspecced/searchActorsSkeleton.d.ts.map +1 -1
  36. package/dist/lexicon/types/app/bsky/unspecced/searchPostsSkeleton.d.ts +20 -0
  37. package/dist/lexicon/types/app/bsky/unspecced/searchPostsSkeleton.d.ts.map +1 -1
  38. package/dist/pipethrough.d.ts.map +1 -1
  39. package/dist/read-after-write/util.d.ts +2 -10
  40. package/dist/read-after-write/util.d.ts.map +1 -1
  41. package/dist/read-after-write/viewer.d.ts.map +1 -1
  42. package/dist/read-after-write/viewer.js +8 -11
  43. package/dist/read-after-write/viewer.js.map +1 -1
  44. package/dist/redis.d.ts.map +1 -1
  45. package/dist/util/debug.d.ts.map +1 -1
  46. package/package.json +7 -7
  47. package/src/handle/index.ts +1 -1
  48. package/src/lexicon/index.ts +26 -0
  49. package/src/lexicon/lexicons.ts +269 -0
  50. package/src/lexicon/types/app/bsky/embed/record.ts +3 -0
  51. package/src/lexicon/types/app/bsky/feed/defs.ts +63 -0
  52. package/src/lexicon/types/app/bsky/feed/generator.ts +2 -0
  53. package/src/lexicon/types/app/bsky/feed/searchPosts.ts +18 -0
  54. package/src/lexicon/types/app/bsky/feed/sendInteractions.ts +49 -0
  55. package/src/lexicon/types/app/bsky/unspecced/searchActorsSkeleton.ts +2 -0
  56. package/src/lexicon/types/app/bsky/unspecced/searchPostsSkeleton.ts +20 -0
  57. package/src/read-after-write/viewer.ts +8 -11
  58. package/tests/handle-validation.test.ts +28 -0
  59. package/tests/proxied/__snapshots__/feedgen.test.ts.snap +3 -0
  60. package/tests/proxied/__snapshots__/views.test.ts.snap +30 -0
  61. package/tests/seeds/users-bulk.ts +5 -5
@@ -33,6 +33,9 @@ export interface ViewRecord {
33
33
  /** The record data itself. */
34
34
  value: {};
35
35
  labels?: ComAtprotoLabelDefs.Label[];
36
+ replyCount?: number;
37
+ repostCount?: number;
38
+ likeCount?: number;
36
39
  embeds?: (AppBskyEmbedImages.View | AppBskyEmbedExternal.View | View | AppBskyEmbedRecordWithMedia.View | {
37
40
  $type: string;
38
41
  [k: string]: unknown;
@@ -1 +1 @@
1
- {"version":3,"file":"record.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/embed/record.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAI5D,OAAO,KAAK,uBAAuB,MAAM,qCAAqC,CAAA;AAC9E,OAAO,KAAK,eAAe,MAAM,cAAc,CAAA;AAC/C,OAAO,KAAK,gBAAgB,MAAM,eAAe,CAAA;AACjD,OAAO,KAAK,kBAAkB,MAAM,iBAAiB,CAAA;AACrD,OAAO,KAAK,gBAAgB,MAAM,eAAe,CAAA;AACjD,OAAO,KAAK,mBAAmB,MAAM,iCAAiC,CAAA;AACtE,OAAO,KAAK,kBAAkB,MAAM,UAAU,CAAA;AAC9C,OAAO,KAAK,oBAAoB,MAAM,YAAY,CAAA;AAClD,OAAO,KAAK,2BAA2B,MAAM,mBAAmB,CAAA;AAEhE,MAAM,WAAW,IAAI;IACnB,MAAM,EAAE,uBAAuB,CAAC,IAAI,CAAA;IACpC,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,MAAM,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,IAAI,CAO5C;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAEzD;AAED,MAAM,WAAW,IAAI;IACnB,MAAM,EACF,UAAU,GACV,YAAY,GACZ,WAAW,GACX,eAAe,CAAC,aAAa,GAC7B,gBAAgB,CAAC,QAAQ,GACzB,kBAAkB,CAAC,WAAW,GAC9B;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,CAAC,CAAC,EAAE,M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AAC,CAAU;IAC7C,OAAO,mBAAQ,CAAC,QAAQ,CAAC,oCAAoC,EAAE,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,oDAEC;AASD,SAAgB,aAAa,CAAC,CAAU;IACtC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,mCAAmC,CAChD,CAAA;AACH,CAAC;AAND,sCAMC;AAED,SAAgB,mBAAmB,CAAC,CAAU;IAC5C,OAAO,mBAAQ,CAAC,QAAQ,CAAC,mCAAmC,EAAE,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,kDAEC"}
@@ -46,6 +46,8 @@ export interface FeedViewPost {
46
46
  $type: string;
47
47
  [k: string]: unknown;
48
48
  };
49
+ /** Context provided by feed generator that may be passed back alongside interactions. */
50
+ feedContext?: string;
49
51
  [k: string]: unknown;
50
52
  }
51
53
  export declare function isFeedViewPost(v: unknown): v is FeedViewPost;
@@ -116,6 +118,7 @@ export interface GeneratorView {
116
118
  descriptionFacets?: AppBskyRichtextFacet.Main[];
117
119
  avatar?: string;
118
120
  likeCount?: number;
121
+ acceptsInteractions?: boolean;
119
122
  labels?: ComAtprotoLabelDefs.Label[];
120
123
  viewer?: GeneratorViewerState;
121
124
  indexedAt: string;
@@ -135,6 +138,8 @@ export interface SkeletonFeedPost {
135
138
  $type: string;
136
139
  [k: string]: unknown;
137
140
  };
141
+ /** Context that will be passed through to client and may be passed to feed generator back alongside interactions. */
142
+ feedContext?: string;
138
143
  [k: string]: unknown;
139
144
  }
140
145
  export declare function isSkeletonFeedPost(v: unknown): v is SkeletonFeedPost;
@@ -154,4 +159,37 @@ export interface ThreadgateView {
154
159
  }
155
160
  export declare function isThreadgateView(v: unknown): v is ThreadgateView;
156
161
  export declare function validateThreadgateView(v: unknown): ValidationResult;
162
+ export interface Interaction {
163
+ item?: string;
164
+ event?: 'app.bsky.feed.defs#requestLess' | 'app.bsky.feed.defs#requestMore' | 'app.bsky.feed.defs#clickthroughItem' | 'app.bsky.feed.defs#clickthroughAuthor' | 'app.bsky.feed.defs#clickthroughReposter' | 'app.bsky.feed.defs#clickthroughEmbed' | 'app.bsky.feed.defs#interactionSeen' | 'app.bsky.feed.defs#interactionLike' | 'app.bsky.feed.defs#interactionRepost' | 'app.bsky.feed.defs#interactionReply' | 'app.bsky.feed.defs#interactionQuote' | 'app.bsky.feed.defs#interactionShare' | (string & {});
165
+ /** Context on a feed item that was orginally supplied by the feed generator on getFeedSkeleton. */
166
+ feedContext?: string;
167
+ [k: string]: unknown;
168
+ }
169
+ export declare function isInteraction(v: unknown): v is Interaction;
170
+ export declare function validateInteraction(v: unknown): ValidationResult;
171
+ /** Request that less content like the given feed item be shown in the feed */
172
+ export declare const REQUESTLESS = "app.bsky.feed.defs#requestLess";
173
+ /** Request that more content like the given feed item be shown in the feed */
174
+ export declare const REQUESTMORE = "app.bsky.feed.defs#requestMore";
175
+ /** User clicked through to the feed item */
176
+ export declare const CLICKTHROUGHITEM = "app.bsky.feed.defs#clickthroughItem";
177
+ /** User clicked through to the author of the feed item */
178
+ export declare const CLICKTHROUGHAUTHOR = "app.bsky.feed.defs#clickthroughAuthor";
179
+ /** User clicked through to the reposter of the feed item */
180
+ export declare const CLICKTHROUGHREPOSTER = "app.bsky.feed.defs#clickthroughReposter";
181
+ /** User clicked through to the embedded content of the feed item */
182
+ export declare const CLICKTHROUGHEMBED = "app.bsky.feed.defs#clickthroughEmbed";
183
+ /** Feed item was seen by user */
184
+ export declare const INTERACTIONSEEN = "app.bsky.feed.defs#interactionSeen";
185
+ /** User liked the feed item */
186
+ export declare const INTERACTIONLIKE = "app.bsky.feed.defs#interactionLike";
187
+ /** User reposted the feed item */
188
+ export declare const INTERACTIONREPOST = "app.bsky.feed.defs#interactionRepost";
189
+ /** User replied to the feed item */
190
+ export declare const INTERACTIONREPLY = "app.bsky.feed.defs#interactionReply";
191
+ /** User quoted the feed item */
192
+ export declare const INTERACTIONQUOTE = "app.bsky.feed.defs#interactionQuote";
193
+ /** User shared the feed item */
194
+ export declare const INTERACTIONSHARE = "app.bsky.feed.defs#interactionShare";
157
195
  //# sourceMappingURL=defs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/feed/defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAI5D,OAAO,KAAK,gBAAgB,MAAM,eAAe,CAAA;AACjD,OAAO,KAAK,kBAAkB,MAAM,iBAAiB,CAAA;AACrD,OAAO,KAAK,oBAAoB,MAAM,mBAAmB,CAAA;AACzD,OAAO,KAAK,kBAAkB,MAAM,iBAAiB,CAAA;AACrD,OAAO,KAAK,2BAA2B,MAAM,0BAA0B,CAAA;AACvE,OAAO,KAAK,mBAAmB,MAAM,iCAAiC,CAAA;AACtE,OAAO,KAAK,oBAAoB,MAAM,mBAAmB,CAAA;AACzD,OAAO,KAAK,gBAAgB,MAAM,eAAe,CAAA;AAEjD,MAAM,WAAW,QAAQ;IACvB,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;IACX,MAAM,EAAE,gBAAgB,CAAC,gBAAgB,CAAA;IACzC,MAAM,EAAE,EAAE,CAAA;IACV,KAAK,CAAC,EACF,kBAAkB,CAAC,IAAI,GACvB,oBAAoB,CAAC,IAAI,GACzB,kBAAkB,CAAC,IAAI,GACvB,2BAA2B,CAAC,IAAI,GAChC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAA;IAC3C,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,CAAC,EAA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AAC9E,eAAO,MAAM,WAAW,mCAAmC,CAAA;AAC3D,8EAA8E;AAC9E,eAAO,MAAM,WAAW,mCAAmC,CAAA;AAC3D,4CAA4C;AAC5C,eAAO,MAAM,gBAAgB,wCAAwC,CAAA;AACrE,0DAA0D;AAC1D,eAAO,MAAM,kBAAkB,0CAA0C,CAAA;AACzE,4DAA4D;AAC5D,eAAO,MAAM,oBAAoB,4CAA4C,CAAA;AAC7E,oEAAoE;AACpE,eAAO,MAAM,iBAAiB,yCAAyC,CAAA;AACvE,iCAAiC;AACjC,eAAO,MAAM,eAAe,uCAAuC,CAAA;AACnE,+BAA+B;AAC/B,eAAO,MAAM,eAAe,uCAAuC,CAAA;AACnE,kCAAkC;AAClC,eAAO,MAAM,iBAAiB,yCAAyC,CAAA;AACvE,oCAAoC;AACpC,eAAO,MAAM,gBAAgB,wCAAwC,CAAA;AACrE,gCAAgC;AAChC,eAAO,MAAM,gBAAgB,wCAAwC,CAAA;AACrE,gCAAgC;AAChC,eAAO,MAAM,gBAAgB,wCAAwC,CAAA"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.validateThreadgateView = exports.isThreadgateView = exports.validateSkeletonReasonRepost = exports.isSkeletonReasonRepost = exports.validateSkeletonFeedPost = exports.isSkeletonFeedPost = exports.validateGeneratorViewerState = exports.isGeneratorViewerState = exports.validateGeneratorView = exports.isGeneratorView = exports.validateBlockedAuthor = exports.isBlockedAuthor = exports.validateBlockedPost = exports.isBlockedPost = exports.validateNotFoundPost = exports.isNotFoundPost = exports.validateThreadViewPost = exports.isThreadViewPost = exports.validateReasonRepost = exports.isReasonRepost = exports.validateReplyRef = exports.isReplyRef = exports.validateFeedViewPost = exports.isFeedViewPost = exports.validateViewerState = exports.isViewerState = exports.validatePostView = exports.isPostView = void 0;
3
+ exports.INTERACTIONSHARE = exports.INTERACTIONQUOTE = exports.INTERACTIONREPLY = exports.INTERACTIONREPOST = exports.INTERACTIONLIKE = exports.INTERACTIONSEEN = exports.CLICKTHROUGHEMBED = exports.CLICKTHROUGHREPOSTER = exports.CLICKTHROUGHAUTHOR = exports.CLICKTHROUGHITEM = exports.REQUESTMORE = exports.REQUESTLESS = exports.validateInteraction = exports.isInteraction = exports.validateThreadgateView = exports.isThreadgateView = exports.validateSkeletonReasonRepost = exports.isSkeletonReasonRepost = exports.validateSkeletonFeedPost = exports.isSkeletonFeedPost = exports.validateGeneratorViewerState = exports.isGeneratorViewerState = exports.validateGeneratorView = exports.isGeneratorView = exports.validateBlockedAuthor = exports.isBlockedAuthor = exports.validateBlockedPost = exports.isBlockedPost = exports.validateNotFoundPost = exports.isNotFoundPost = exports.validateThreadViewPost = exports.isThreadViewPost = exports.validateReasonRepost = exports.isReasonRepost = exports.validateReplyRef = exports.isReplyRef = exports.validateFeedViewPost = exports.isFeedViewPost = exports.validateViewerState = exports.isViewerState = exports.validatePostView = exports.isPostView = void 0;
4
4
  const lexicons_1 = require("../../../../lexicons");
5
5
  const util_1 = require("../../../../util");
6
6
  function isPostView(v) {
@@ -139,4 +139,38 @@ function validateThreadgateView(v) {
139
139
  return lexicons_1.lexicons.validate('app.bsky.feed.defs#threadgateView', v);
140
140
  }
141
141
  exports.validateThreadgateView = validateThreadgateView;
142
+ function isInteraction(v) {
143
+ return ((0, util_1.isObj)(v) &&
144
+ (0, util_1.hasProp)(v, '$type') &&
145
+ v.$type === 'app.bsky.feed.defs#interaction');
146
+ }
147
+ exports.isInteraction = isInteraction;
148
+ function validateInteraction(v) {
149
+ return lexicons_1.lexicons.validate('app.bsky.feed.defs#interaction', v);
150
+ }
151
+ exports.validateInteraction = validateInteraction;
152
+ /** Request that less content like the given feed item be shown in the feed */
153
+ exports.REQUESTLESS = 'app.bsky.feed.defs#requestLess';
154
+ /** Request that more content like the given feed item be shown in the feed */
155
+ exports.REQUESTMORE = 'app.bsky.feed.defs#requestMore';
156
+ /** User clicked through to the feed item */
157
+ exports.CLICKTHROUGHITEM = 'app.bsky.feed.defs#clickthroughItem';
158
+ /** User clicked through to the author of the feed item */
159
+ exports.CLICKTHROUGHAUTHOR = 'app.bsky.feed.defs#clickthroughAuthor';
160
+ /** User clicked through to the reposter of the feed item */
161
+ exports.CLICKTHROUGHREPOSTER = 'app.bsky.feed.defs#clickthroughReposter';
162
+ /** User clicked through to the embedded content of the feed item */
163
+ exports.CLICKTHROUGHEMBED = 'app.bsky.feed.defs#clickthroughEmbed';
164
+ /** Feed item was seen by user */
165
+ exports.INTERACTIONSEEN = 'app.bsky.feed.defs#interactionSeen';
166
+ /** User liked the feed item */
167
+ exports.INTERACTIONLIKE = 'app.bsky.feed.defs#interactionLike';
168
+ /** User reposted the feed item */
169
+ exports.INTERACTIONREPOST = 'app.bsky.feed.defs#interactionRepost';
170
+ /** User replied to the feed item */
171
+ exports.INTERACTIONREPLY = 'app.bsky.feed.defs#interactionReply';
172
+ /** User quoted the feed item */
173
+ exports.INTERACTIONQUOTE = 'app.bsky.feed.defs#interactionQuote';
174
+ /** User shared the feed item */
175
+ exports.INTERACTIONSHARE = 'app.bsky.feed.defs#interactionShare';
142
176
  //# sourceMappingURL=defs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/feed/defs.ts"],"names":[],"mappings":";;;AAIA,mDAA+C;AAC/C,2CAAiD;AAgCjD,SAAgB,UAAU,CAAC,CAAU;IACnC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC,IAAI,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC,KAAK,KAAK,6BAA6B,CAC7E,CAAA;AACH,CAAC;AAJD,gCAIC;AAED,SAAgB,gBAAgB,CAAC,CAAU;IACzC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,6BAA6B,EAAE,CAAC,CAAC,CAAA;AAC5D,CAAC;AAFD,4CAEC;AAUD,SAAgB,aAAa,CAAC,CAAU;IACtC,OAAO,CACL,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AsC,CAAA;AACvE,oCAAoC;AACvB,QAAA,gBAAgB,GAAG,qCAAqC,CAAA;AACrE,gCAAgC;AACnB,QAAA,gBAAgB,GAAG,qCAAqC,CAAA;AACrE,gCAAgC;AACnB,QAAA,gBAAgB,GAAG,qCAAqC,CAAA"}
@@ -10,6 +10,8 @@ export interface Record {
10
10
  description?: string;
11
11
  descriptionFacets?: AppBskyRichtextFacet.Main[];
12
12
  avatar?: BlobRef;
13
+ /** Declaration that a feed accepts feedback interactions from a client through app.bsky.feed.sendInteractions */
14
+ acceptsInteractions?: boolean;
13
15
  labels?: ComAtprotoLabelDefs.SelfLabels | {
14
16
  $type: string;
15
17
  [k: string]: unknown;
@@ -1 +1 @@
1
- {"version":3,"file":"generator.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/feed/generator.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAI5D,OAAO,KAAK,oBAAoB,MAAM,mBAAmB,CAAA;AACzD,OAAO,KAAK,mBAAmB,MAAM,iCAAiC,CAAA;AAEtE,MAAM,WAAW,MAAM;IACrB,GAAG,EAAE,MAAM,CAAA;IACX,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,iBAAiB,CAAC,EAAE,oBAAoB,CAAC,IAAI,EAAE,CAAA;IAC/C,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,MAAM,CAAC,EACH,mBAAmB,CAAC,UAAU,GAC9B;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAA;IAC3C,SAAS,EAAE,MAAM,CAAA;IACjB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,QAAQ,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,MAAM,CAOhD;AAED,wBAAgB,cAAc,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAE3D"}
1
+ {"version":3,"file":"generator.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/feed/generator.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAI5D,OAAO,KAAK,oBAAoB,MAAM,mBAAmB,CAAA;AACzD,OAAO,KAAK,mBAAmB,MAAM,iCAAiC,CAAA;AAEtE,MAAM,WAAW,MAAM;IACrB,GAAG,EAAE,MAAM,CAAA;IACX,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,iBAAiB,CAAC,EAAE,oBAAoB,CAAC,IAAI,EAAE,CAAA;IAC/C,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,iHAAiH;IACjH,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B,MAAM,CAAC,EACH,mBAAmB,CAAC,UAAU,GAC9B;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAA;IAC3C,SAAS,EAAE,MAAM,CAAA;IACjB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,QAAQ,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,MAAM,CAOhD;AAED,wBAAgB,cAAc,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAE3D"}
@@ -1 +1 @@
1
- {"version":3,"file":"generator.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/feed/generator.ts"],"names":[],"mappings":";;;AAIA,mDAA+C;AAC/C,2CAAiD;AAkBjD,SAAgB,QAAQ,CAAC,CAAU;IACjC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,CAAC,KAAK,KAAK,8BAA8B;YACzC,CAAC,CAAC,KAAK,KAAK,yBAAyB,CAAC,CACzC,CAAA;AACH,CAAC;AAPD,4BAOC;AAED,SAAgB,cAAc,CAAC,CAAU;IACvC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,8BAA8B,EAAE,CAAC,CAAC,CAAA;AAC7D,CAAC;AAFD,wCAEC"}
1
+ {"version":3,"file":"generator.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/feed/generator.ts"],"names":[],"mappings":";;;AAIA,mDAA+C;AAC/C,2CAAiD;AAoBjD,SAAgB,QAAQ,CAAC,CAAU;IACjC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,CAAC,KAAK,KAAK,8BAA8B;YACzC,CAAC,CAAC,KAAK,KAAK,yBAAyB,CAAC,CACzC,CAAA;AACH,CAAC;AAPD,4BAOC;AAED,SAAgB,cAAc,CAAC,CAAU;IACvC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,8BAA8B,EAAE,CAAC,CAAC,CAAA;AAC7D,CAAC;AAFD,wCAEC"}
@@ -7,6 +7,24 @@ import * as AppBskyFeedDefs from './defs';
7
7
  export interface QueryParams {
8
8
  /** Search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended. */
9
9
  q: string;
10
+ /** Specifies the ranking order of results. */
11
+ sort: 'top' | 'latest' | (string & {});
12
+ /** Filter results for posts after the indicated datetime (inclusive). Expected to use 'sortAt' timestamp, which may not match 'createdAt'. Can be a datetime, or just an ISO date (YYYY-MM-DD). */
13
+ since?: string;
14
+ /** Filter results for posts before the indicated datetime (not inclusive). Expected to use 'sortAt' timestamp, which may not match 'createdAt'. Can be a datetime, or just an ISO date (YYY-MM-DD). */
15
+ until?: string;
16
+ /** Filter to posts which mention the given account. Handles are resolved to DID before query-time. Only matches rich-text facet mentions. */
17
+ mentions?: string;
18
+ /** Filter to posts by the given account. Handles are resolved to DID before query-time. */
19
+ author?: string;
20
+ /** Filter to posts in the given language. Expected to be based on post language field, though server may override language detection. */
21
+ lang?: string;
22
+ /** Filter to posts with URLs (facet links or embeds) linking to the given domain (hostname). Server may apply hostname normalization. */
23
+ domain?: string;
24
+ /** Filter to posts with links (facet links or embeds) pointing to this URL. Server may apply URL normalization or fuzzy matching. */
25
+ url?: string;
26
+ /** Filter to posts with the given tag (hashtag), based on rich-text facet or tag field. Do not include the hash (#) prefix. Multiple tags can be specified, with 'AND' matching. */
27
+ tag?: string[];
10
28
  limit: number;
11
29
  /** Optional pagination mechanism; may not necessarily allow scrolling through entire result set. */
12
30
  cursor?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"searchPosts.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/feed/searchPosts.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAK7B,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACtE,OAAO,KAAK,eAAe,MAAM,QAAQ,CAAA;AAEzC,MAAM,WAAW,WAAW;IAC1B,yHAAyH;IACzH,CAAC,EAAE,MAAM,CAAA;IACT,KAAK,EAAE,MAAM,CAAA;IACb,oGAAoG;IACpG,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,sHAAsH;IACtH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,EAAE,eAAe,CAAC,QAAQ,EAAE,CAAA;IACjC,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,MAAM,MAAM,YAAY,GAAG,SAAS,CAAA;AAEpC,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,kBAAkB,CAA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,KAAK,EAAE,YAAY,CAAA;IACnB,GAAG,EAAE,OAAO,CAAC,OAAO,CAAA;IACpB,GAAG,EAAE,OAAO,CAAC,QAAQ,CAAA;CACtB,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,40 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import express from 'express';
5
+ import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server';
6
+ import * as AppBskyFeedDefs from './defs';
7
+ export interface QueryParams {
8
+ }
9
+ export interface InputSchema {
10
+ interactions: AppBskyFeedDefs.Interaction[];
11
+ [k: string]: unknown;
12
+ }
13
+ export interface OutputSchema {
14
+ [k: string]: unknown;
15
+ }
16
+ export interface HandlerInput {
17
+ encoding: 'application/json';
18
+ body: InputSchema;
19
+ }
20
+ export interface HandlerSuccess {
21
+ encoding: 'application/json';
22
+ body: OutputSchema;
23
+ headers?: {
24
+ [key: string]: string;
25
+ };
26
+ }
27
+ export interface HandlerError {
28
+ status: number;
29
+ message?: string;
30
+ }
31
+ export type HandlerOutput = HandlerError | HandlerSuccess | HandlerPipeThrough;
32
+ export type HandlerReqCtx<HA extends HandlerAuth = never> = {
33
+ auth: HA;
34
+ params: QueryParams;
35
+ input: HandlerInput;
36
+ req: express.Request;
37
+ res: express.Response;
38
+ };
39
+ export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
40
+ //# sourceMappingURL=sendInteractions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sendInteractions.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/feed/sendInteractions.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CA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
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=sendInteractions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sendInteractions.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/feed/sendInteractions.ts"],"names":[],"mappings":""}
@@ -7,6 +7,8 @@ import * as AppBskyUnspeccedDefs from './defs';
7
7
  export interface QueryParams {
8
8
  /** Search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended. For typeahead search, only simple term match is supported, not full syntax. */
9
9
  q: string;
10
+ /** DID of the account making the request (not included for public/unauthenticated queries). Used to boost followed accounts in ranking. */
11
+ viewer?: string;
10
12
  /** If true, acts as fast/simple 'typeahead' query. */
11
13
  typeahead?: boolean;
12
14
  limit: number;
@@ -1 +1 @@
1
- {"version":3,"file":"searchActorsSkeleton.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/unspecced/searchActorsSkeleton.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAK7B,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACtE,OAAO,KAAK,oBAAoB,MAAM,QAAQ,CAAA;AAE9C,MAAM,WAAW,WAAW;IAC1B,qMAAqM;IACrM,CAAC,EAAE,MAAM,CAAA;IACT,sDAAsD;IACtD,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,oGAAoG;IACpG,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,sHAAsH;IACtH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,MAAM,EAAE,oBAAoB,CAAC,mBAAmB,EAAE,CAAA;IAClD,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;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;IAChB,KAAK,CAAC,EAAE,gBAAgB,CAAA;CACzB;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;CACtB,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"}
1
+ {"version":3,"file":"searchActorsSkeleton.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/unspecced/searchActorsSkeleton.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAK7B,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACtE,OAAO,KAAK,oBAAoB,MAAM,QAAQ,CAAA;AAE9C,MAAM,WAAW,WAAW;IAC1B,qMAAqM;IACrM,CAAC,EAAE,MAAM,CAAA;IACT,2IAA2I;IAC3I,MAAM,CAAC,EAAE,MAAM,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A"}
@@ -7,6 +7,26 @@ import * as AppBskyUnspeccedDefs from './defs';
7
7
  export interface QueryParams {
8
8
  /** Search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended. */
9
9
  q: string;
10
+ /** Specifies the ranking order of results. */
11
+ sort: 'top' | 'latest' | (string & {});
12
+ /** Filter results for posts after the indicated datetime (inclusive). Expected to use 'sortAt' timestamp, which may not match 'createdAt'. Can be a datetime, or just an ISO date (YYYY-MM-DD). */
13
+ since?: string;
14
+ /** Filter results for posts before the indicated datetime (not inclusive). Expected to use 'sortAt' timestamp, which may not match 'createdAt'. Can be a datetime, or just an ISO date (YYY-MM-DD). */
15
+ until?: string;
16
+ /** Filter to posts which mention the given account. Handles are resolved to DID before query-time. Only matches rich-text facet mentions. */
17
+ mentions?: string;
18
+ /** Filter to posts by the given account. Handles are resolved to DID before query-time. */
19
+ author?: string;
20
+ /** Filter to posts in the given language. Expected to be based on post language field, though server may override language detection. */
21
+ lang?: string;
22
+ /** Filter to posts with URLs (facet links or embeds) linking to the given domain (hostname). Server may apply hostname normalization. */
23
+ domain?: string;
24
+ /** Filter to posts with links (facet links or embeds) pointing to this URL. Server may apply URL normalization or fuzzy matching. */
25
+ url?: string;
26
+ /** Filter to posts with the given tag (hashtag), based on rich-text facet or tag field. Do not include the hash (#) prefix. Multiple tags can be specified, with 'AND' matching. */
27
+ tag?: string[];
28
+ /** DID of the account making the request (not included for public/unauthenticated queries). Used for 'from:me' queries. */
29
+ viewer?: string;
10
30
  limit: number;
11
31
  /** Optional pagination mechanism; may not necessarily allow scrolling through entire result set. */
12
32
  cursor?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"searchPostsSkeleton.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/unspecced/searchPostsSkeleton.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAK7B,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,sBA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,aAAa,CAAC,EAAE,CAAC,KACnB,OAAO,CAAC,aAAa,CAAC,GAAG,aAAa,CAAA"}
1
+ {"version":3,"file":"searchPostsSkeleton.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/unspecced/searchPostsSkeleton.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAK7B,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACtE,OAAO,KAAK,oBAAoB,MAAM,QAAQ,CAAA;AAE9C,MAAM,WAAW,WAAW;IAC1B,yHAAyH;IACzH,CAAC,EAAE,MAAM,CAAA;IACT,8CAA8C;IAC9C,IAAI,EAAE,KAAK,GAAG,QAAQ,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;IACtC,mMAAmM;IACnM,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,uMAAuM;IACvM,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,6IAA6I;IAC7I,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,2FAA2F;IAC3F,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,yIAAyI;IACzI,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,yIAAyI;IACzI,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,qIAAqI;IACrI,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,oLAAoL;IACpL,GAAG,CAAC,EAAE,MAAM,EAAE,CAAA;IACd,2HAA2H;IAC3H,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,oGAAoG;IACpG,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,sHAAsH;IACtH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,EAAE,oBA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,KACnB,QAAQ;IAAE,GAAG,EAAE,GAAG,CAAC;IAAC,OAAO,EAAE;QAAE,aAAa,CAAC,EAAE,MAAM,CAAA;KAAE,CAAA;CAAE,CAuB3D,CAAA;AAED,eAAO,MAAM,OAAO,QAAe,GAAG,WAAW,WAAW;;;;EAuB3D,CAAA;AA0BD,eAAO,MAAM,QAAQ,YAAa,MAAM,OAAO,kBAAkB,KAAG,CAKnE,CAAA"}
@@ -4,15 +4,7 @@ import { HandlerResponse, LocalRecords, MungeFn } from './types';
4
4
  import { HandlerPipeThrough } from '@atproto/xrpc-server';
5
5
  export declare const getRepoRev: (headers: Headers) => string | undefined;
6
6
  export declare const getLocalLag: (local: LocalRecords) => number | undefined;
7
- export declare const handleReadAfterWrite: <T>(ctx: AppContext, nsid: string, requester: string, res: HandlerPipeThrough, munge: MungeFn<T>) => Promise<{
8
- encoding: string;
9
- buffer: ArrayBuffer;
10
- headers?: Record<string, string> | undefined;
11
- } | HandlerResponse<T>>;
12
- export declare const readAfterWriteInternal: <T>(ctx: AppContext, nsid: string, requester: string, res: HandlerPipeThrough, munge: MungeFn<T>) => Promise<{
13
- encoding: string;
14
- buffer: ArrayBuffer;
15
- headers?: Record<string, string> | undefined;
16
- } | HandlerResponse<T>>;
7
+ export declare const handleReadAfterWrite: <T>(ctx: AppContext, nsid: string, requester: string, res: HandlerPipeThrough, munge: MungeFn<T>) => Promise<HandlerResponse<T> | HandlerPipeThrough>;
8
+ export declare const readAfterWriteInternal: <T>(ctx: AppContext, nsid: string, requester: string, res: HandlerPipeThrough, munge: MungeFn<T>) => Promise<HandlerResponse<T> | HandlerPipeThrough>;
17
9
  export declare const formatMungedResponse: <T>(body: T, lag?: number) => HandlerResponse<T>;
18
10
  //# sourceMappingURL=util.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../src/read-after-write/util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AA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CAAC;IAItD,eAAe,IAAI,OAAO,CAAC,gBAAgB,GAAG,IAAI,CAAC;IAyBnD,0BAA0B,CAC9B,IAAI,EAAE,YAAY,EAAE,EACpB,KAAK,EAAE,cAAc,CAAC,UAAU,CAAC,EAAE,GAClC,OAAO,CAAC,YAAY,EAAE,CAAC;IAsBpB,OAAO,CACX,QAAQ,EAAE,cAAc,CAAC,UAAU,CAAC,GACnC,OAAO,CAAC,QAAQ,GAAG,IAAI,CAAC;IAoBrB,eAAe,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAc7C,iBAAiB,CAAC,KAAK,EAAE,WAAW,GAAG,aAAa;;;;;;;;;;;;;;;;;;;IA4BpD,iBAAiB,CAAC,KAAK,EAAE,WAAW,GAAG,OAAO,CAAC,eAAe,CAAC;YAcvD,yBAAyB;IA8CjC,0BAA0B,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;IAazE,sBAAsB,CACpB,IAAI,EAAE,gBAAgB,EACtB,MAAM,EAAE,aAAa,GACpB,gBAAgB;IAUnB,iBAAiB,CAAC,IAAI,EAAE,WAAW,EAAE,MAAM,EAAE,aAAa,GAAG,WAAW;IAOxE,qBAAqB,CACnB,IAAI,EAAE,mBAAmB,EACzB,MAAM,EAAE,aAAa,GACpB,mBAAmB;CAQvB;AAED,eAAO,MAAM,kBAAkB,eACjB,gBAAgB,OACvB,MAAM,KACV,QAAQ,YAAY,CA0CtB,CAAA"}
@@ -147,6 +147,9 @@ class LocalViewer {
147
147
  return {
148
148
  uri: uri.toString(),
149
149
  cid: cid.toString(),
150
+ likeCount: 0, // counts presumed to be 0 directly after post creation
151
+ replyCount: 0,
152
+ repostCount: 0,
150
153
  author,
151
154
  record,
152
155
  embed: embed ?? undefined,
@@ -216,9 +219,7 @@ class LocalViewer {
216
219
  }
217
220
  const collection = new syntax_1.AtUri(embed.record.uri).collection;
218
221
  if (collection === lexicons_1.ids.AppBskyFeedPost) {
219
- const res = await this.appViewAgent.api.app.bsky.feed.getPosts({
220
- uris: [embed.record.uri],
221
- }, await this.serviceAuthHeaders(this.did));
222
+ const res = await this.appViewAgent.api.app.bsky.feed.getPosts({ uris: [embed.record.uri] }, await this.serviceAuthHeaders(this.did));
222
223
  const post = res.data.posts[0];
223
224
  if (!post)
224
225
  return null;
@@ -234,20 +235,16 @@ class LocalViewer {
234
235
  };
235
236
  }
236
237
  else if (collection === lexicons_1.ids.AppBskyFeedGenerator) {
237
- const res = await this.appViewAgent.api.app.bsky.feed.getFeedGenerator({
238
- feed: embed.record.uri,
239
- }, await this.serviceAuthHeaders(this.did));
238
+ const res = await this.appViewAgent.api.app.bsky.feed.getFeedGenerator({ feed: embed.record.uri }, await this.serviceAuthHeaders(this.did));
240
239
  return {
241
- $type: 'app.bsaky.feed.defs#generatorView',
240
+ $type: 'app.bsky.feed.defs#generatorView',
242
241
  ...res.data.view,
243
242
  };
244
243
  }
245
244
  else if (collection === lexicons_1.ids.AppBskyGraphList) {
246
- const res = await this.appViewAgent.api.app.bsky.graph.getList({
247
- list: embed.record.uri,
248
- }, await this.serviceAuthHeaders(this.did));
245
+ const res = await this.appViewAgent.api.app.bsky.graph.getList({ list: embed.record.uri }, await this.serviceAuthHeaders(this.did));
249
246
  return {
250
- $type: 'app.bsaky.graph.defs#listView',
247
+ $type: 'app.bsky.graph.defs#listView',
251
248
  ...res.data.list,
252
249
  };
253
250
  }
@@ -1 +1 @@
1
- {"version":3,"file":"viewer.js","sourceRoot":"","sources":["../../src/read-after-write/viewer.ts"],"names":[],"mappings":";;;;;;AAAA,gDAAuB;AACvB,0CAAsC;AACtC,4CAAuD;AACvD,wCAA+C;AAE/C,sDAA+D;AAG/D,kDAAyC;AAYzC,mEAG+C;AAC/C,uEAGiD;AACjD,mEAK+C;AAC/C,qFAGwD;AASxD,MAAa,WAAW;IAStB,YAAY,MAOX;QA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AC,GAAG,CAAC,GAAG,CAAC;YACvB,SAAS,EAAE,GAAG,CAAC,SAAS;YACxB,MAAM,EAAE,IAAA,sBAAe,EAAC,GAAG,CAAC,OAAO,CAAC;SACrC,CAAA;QACD,IACE,QAAQ,CAAC,GAAG,CAAC,UAAU,KAAK,cAAG,CAAC,mBAAmB;YACnD,QAAQ,CAAC,GAAG,CAAC,IAAI,KAAK,MAAM,EAC5B,CAAC;YACD,GAAG,CAAC,OAAO,GAAG,QAAyC,CAAA;QACzD,CAAC;aAAM,IAAI,QAAQ,CAAC,GAAG,CAAC,UAAU,KAAK,cAAG,CAAC,eAAe,EAAE,CAAC;YAC3D,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,QAAsC,CAAC,CAAA;QACxD,CAAC;QACD,GAAG,CAAC,KAAK,EAAE,CAAA;QACX,OAAO,GAAG,CAAA;IACZ,CAAC,EACD,EAAE,KAAK,EAAE,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,EAAkB,CACvD,CAAA;AACH,CAAC,CAAA;AA7CY,QAAA,kBAAkB,sBA6C9B"}
@@ -1 +1 @@
1
- {"version":3,"file":"redis.d.ts","sourceRoot":"","sources":["../src/redis.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAG/B,eAAO,MAAM,cAAc,SAAU,MAAM,aAAa,MAAM,KAAG,KAUhE,CAAA;AAED,eAAO,MAAM,iBAAiB,SACtB,MAAM;UAEH,MAAM;UAAQ,MAAM;CAK9B,CAAA"}
1
+ {"version":3,"file":"redis.d.ts","sourceRoot":"","sources":["../src/redis.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAG/B,eAAO,MAAM,cAAc,SAAU,MAAM,aAAa,MAAM,KAAG,KAUhE,CAAA;AAED,eAAO,MAAM,iBAAiB,SACtB,MAAM,2BAEX;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAK9B,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"debug.d.ts","sourceRoot":"","sources":["../../src/util/debug.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,0BAA2B,GAAG,EAAE,KAAK,GAAG,uEAS9D,CAAA"}
1
+ {"version":3,"file":"debug.d.ts","sourceRoot":"","sources":["../../src/util/debug.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,0BAA2B,GAAG,EAAE,KAAK,GAAG,MAAM,IAAI,eAChD,WAAW,IAAI,CAAC,8BAQxC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atproto/pds",
3
- "version": "0.4.12",
3
+ "version": "0.4.14",
4
4
  "license": "MIT",
5
5
  "description": "Reference implementation of atproto Personal Data Server (PDS)",
6
6
  "keywords": [
@@ -43,16 +43,16 @@
43
43
  "typed-emitter": "^2.1.0",
44
44
  "uint8arrays": "3.0.0",
45
45
  "zod": "^3.21.4",
46
- "@atproto/api": "^0.12.2",
46
+ "@atproto/api": "^0.12.3",
47
47
  "@atproto/aws": "^0.2.0",
48
48
  "@atproto/common": "^0.4.0",
49
49
  "@atproto/crypto": "^0.4.0",
50
+ "@atproto/identity": "^0.4.0",
50
51
  "@atproto/lexicon": "^0.4.0",
51
- "@atproto/syntax": "^0.3.0",
52
52
  "@atproto/repo": "^0.4.0",
53
- "@atproto/identity": "^0.4.0",
53
+ "@atproto/syntax": "^0.3.0",
54
54
  "@atproto/xrpc": "^0.5.0",
55
- "@atproto/xrpc-server": "^0.5.0"
55
+ "@atproto/xrpc-server": "^0.5.1"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@atproto/pds-entryway": "npm:@atproto/pds@0.3.0-entryway.3",
@@ -70,8 +70,8 @@
70
70
  "jest": "^28.1.2",
71
71
  "ts-node": "^10.8.2",
72
72
  "ws": "^8.12.0",
73
- "@atproto/api": "^0.12.2",
74
- "@atproto/bsky": "^0.0.43",
73
+ "@atproto/api": "^0.12.3",
74
+ "@atproto/bsky": "^0.0.45",
75
75
  "@atproto/lex-cli": "^0.4.0"
76
76
  },
77
77
  "scripts": {
@@ -86,7 +86,7 @@ export const ensureHandleServiceConstraints = (
86
86
  if (front.length < 3) {
87
87
  throw new InvalidRequestError('Handle too short', 'InvalidHandle')
88
88
  }
89
- if (handle.length > 30) {
89
+ if (front.length > 18) {
90
90
  throw new InvalidRequestError('Handle too long', 'InvalidHandle')
91
91
  }
92
92
  if (!allowReserved && reservedSubdomains[front]) {