@atproto/pds 0.4.109 → 0.4.111

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 (31) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/lexicon/index.d.ts +4 -0
  3. package/dist/lexicon/index.d.ts.map +1 -1
  4. package/dist/lexicon/index.js +8 -0
  5. package/dist/lexicon/index.js.map +1 -1
  6. package/dist/lexicon/lexicons.d.ts +394 -4
  7. package/dist/lexicon/lexicons.d.ts.map +1 -1
  8. package/dist/lexicon/lexicons.js +216 -0
  9. package/dist/lexicon/lexicons.js.map +1 -1
  10. package/dist/lexicon/types/chat/bsky/convo/addReaction.d.ts +43 -0
  11. package/dist/lexicon/types/chat/bsky/convo/addReaction.d.ts.map +1 -0
  12. package/dist/lexicon/types/chat/bsky/convo/addReaction.js +7 -0
  13. package/dist/lexicon/types/chat/bsky/convo/addReaction.js.map +1 -0
  14. package/dist/lexicon/types/chat/bsky/convo/defs.d.ts +45 -1
  15. package/dist/lexicon/types/chat/bsky/convo/defs.d.ts.map +1 -1
  16. package/dist/lexicon/types/chat/bsky/convo/defs.js +45 -0
  17. package/dist/lexicon/types/chat/bsky/convo/defs.js.map +1 -1
  18. package/dist/lexicon/types/chat/bsky/convo/getLog.d.ts +1 -1
  19. package/dist/lexicon/types/chat/bsky/convo/getLog.d.ts.map +1 -1
  20. package/dist/lexicon/types/chat/bsky/convo/removeReaction.d.ts +43 -0
  21. package/dist/lexicon/types/chat/bsky/convo/removeReaction.d.ts.map +1 -0
  22. package/dist/lexicon/types/chat/bsky/convo/removeReaction.js +7 -0
  23. package/dist/lexicon/types/chat/bsky/convo/removeReaction.js.map +1 -0
  24. package/package.json +5 -5
  25. package/src/lexicon/index.ts +24 -0
  26. package/src/lexicon/lexicons.ts +223 -0
  27. package/src/lexicon/types/chat/bsky/convo/addReaction.ts +63 -0
  28. package/src/lexicon/types/chat/bsky/convo/defs.ts +86 -0
  29. package/src/lexicon/types/chat/bsky/convo/getLog.ts +5 -0
  30. package/src/lexicon/types/chat/bsky/convo/removeReaction.ts +60 -0
  31. package/tsconfig.build.tsbuildinfo +1 -1
@@ -0,0 +1,43 @@
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 ChatBskyConvoDefs from './defs.js';
7
+ export interface QueryParams {
8
+ }
9
+ export interface InputSchema {
10
+ convoId: string;
11
+ messageId: string;
12
+ value: string;
13
+ }
14
+ export interface OutputSchema {
15
+ message: ChatBskyConvoDefs.MessageView;
16
+ }
17
+ export interface HandlerInput {
18
+ encoding: 'application/json';
19
+ body: InputSchema;
20
+ }
21
+ export interface HandlerSuccess {
22
+ encoding: 'application/json';
23
+ body: OutputSchema;
24
+ headers?: {
25
+ [key: string]: string;
26
+ };
27
+ }
28
+ export interface HandlerError {
29
+ status: number;
30
+ message?: string;
31
+ error?: 'ReactionMessageDeleted' | 'ReactionLimitReached' | 'ReactionInvalidValue';
32
+ }
33
+ export type HandlerOutput = HandlerError | HandlerSuccess | HandlerPipeThrough;
34
+ export type HandlerReqCtx<HA extends HandlerAuth = never> = {
35
+ auth: HA;
36
+ params: QueryParams;
37
+ input: HandlerInput;
38
+ req: express.Request;
39
+ res: express.Response;
40
+ resetRouteRateLimits: () => Promise<void>;
41
+ };
42
+ export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
43
+ //# sourceMappingURL=addReaction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"addReaction.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/convo/addReaction.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAS7B,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACtE,OAAO,KAA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"}
@@ -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 = 'chat.bsky.convo.addReaction';
7
+ //# sourceMappingURL=addReaction.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"addReaction.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/convo/addReaction.ts"],"names":[],"mappings":";;AAMA,mDAA4D;AAC5D,2CAIyB;AAIzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,6BAA6B,CAAA"}
@@ -35,6 +35,7 @@ export interface MessageView {
35
35
  embed?: $Typed<AppBskyEmbedRecord.View> | {
36
36
  $type: string;
37
37
  };
38
+ reactions?: ReactionView[];
38
39
  sender: MessageViewSender;
39
40
  sentAt: string;
40
41
  }
@@ -55,12 +56,33 @@ export interface MessageViewSender {
55
56
  }
56
57
  export declare function isMessageViewSender<V>(v: V): v is import("../../../../util").$TypedObject<V, "chat.bsky.convo.defs", "messageViewSender">;
57
58
  export declare function validateMessageViewSender<V>(v: V): ValidationResult<MessageViewSender & V>;
59
+ export interface ReactionView {
60
+ $type?: 'chat.bsky.convo.defs#reactionView';
61
+ value: string;
62
+ sender: ReactionViewSender;
63
+ createdAt: string;
64
+ }
65
+ export declare function isReactionView<V>(v: V): v is import("../../../../util").$TypedObject<V, "chat.bsky.convo.defs", "reactionView">;
66
+ export declare function validateReactionView<V>(v: V): ValidationResult<ReactionView & V>;
67
+ export interface ReactionViewSender {
68
+ $type?: 'chat.bsky.convo.defs#reactionViewSender';
69
+ did: string;
70
+ }
71
+ export declare function isReactionViewSender<V>(v: V): v is import("../../../../util").$TypedObject<V, "chat.bsky.convo.defs", "reactionViewSender">;
72
+ export declare function validateReactionViewSender<V>(v: V): ValidationResult<ReactionViewSender & V>;
73
+ export interface MessageAndReactionView {
74
+ $type?: 'chat.bsky.convo.defs#messageAndReactionView';
75
+ message: MessageView;
76
+ reaction: ReactionView;
77
+ }
78
+ export declare function isMessageAndReactionView<V>(v: V): v is import("../../../../util").$TypedObject<V, "chat.bsky.convo.defs", "messageAndReactionView">;
79
+ export declare function validateMessageAndReactionView<V>(v: V): ValidationResult<MessageAndReactionView & V>;
58
80
  export interface ConvoView {
59
81
  $type?: 'chat.bsky.convo.defs#convoView';
60
82
  id: string;
61
83
  rev: string;
62
84
  members: ChatBskyActorDefs.ProfileViewBasic[];
63
- lastMessage?: $Typed<MessageView> | $Typed<DeletedMessageView> | {
85
+ lastMessage?: $Typed<MessageView> | $Typed<DeletedMessageView> | $Typed<MessageAndReactionView> | {
64
86
  $type: string;
65
87
  };
66
88
  muted: boolean;
@@ -134,4 +156,26 @@ export interface LogReadMessage {
134
156
  }
135
157
  export declare function isLogReadMessage<V>(v: V): v is import("../../../../util").$TypedObject<V, "chat.bsky.convo.defs", "logReadMessage">;
136
158
  export declare function validateLogReadMessage<V>(v: V): ValidationResult<LogReadMessage & V>;
159
+ export interface LogAddReaction {
160
+ $type?: 'chat.bsky.convo.defs#logAddReaction';
161
+ rev: string;
162
+ convoId: string;
163
+ message: $Typed<MessageView> | $Typed<DeletedMessageView> | {
164
+ $type: string;
165
+ };
166
+ reaction: ReactionView;
167
+ }
168
+ export declare function isLogAddReaction<V>(v: V): v is import("../../../../util").$TypedObject<V, "chat.bsky.convo.defs", "logAddReaction">;
169
+ export declare function validateLogAddReaction<V>(v: V): ValidationResult<LogAddReaction & V>;
170
+ export interface LogRemoveReaction {
171
+ $type?: 'chat.bsky.convo.defs#logRemoveReaction';
172
+ rev: string;
173
+ convoId: string;
174
+ message: $Typed<MessageView> | $Typed<DeletedMessageView> | {
175
+ $type: string;
176
+ };
177
+ reaction: ReactionView;
178
+ }
179
+ export declare function isLogRemoveReaction<V>(v: V): v is import("../../../../util").$TypedObject<V, "chat.bsky.convo.defs", "logRemoveReaction">;
180
+ export declare function validateLogRemoveReaction<V>(v: V): ValidationResult<LogRemoveReaction & V>;
137
181
  //# sourceMappingURL=defs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/convo/defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAGjE,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,kBAAkB,CAAA;AACzB,OAAO,KAAK,KAAK,oBAAoB,MAAM,qCAAqC,CAAA;AAChF,OAAO,KAAK,KAAK,kBAAkB,MAAM,mCAAmC,CAAA;AAC5E,OAAO,KAAK,KAAK,iBAAiB,MAAM,kBAAkB,CAAA;AAM1D,MAAM,WAAW,UAAU;IACzB,KAAK,CAAC,EAAE,iCAAiC,CAAA;IACzC,GAAG,EAAE,MAAM,CAAA;IACX,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,EAAE,MAAM,CAAA;CAClB;AAID,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,yFAEnC;AAED,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,oCAEzC;AAED,MAAM,WAAW,YAAY;IAC3B,KAAK,CAAC,EAAE,mCAAmC,CAAA;IAC3C,IAAI,EAAE,MAAM,CAAA;IACZ,0DAA0D;IAC1D,MAAM,CAAC,EAAE,oBAAoB,CAAC,IAAI,EAAE,CAAA;IACpC,KAAK,CAAC,EAAE,MAAM,CAAC,kBAAkB,CAAC,IAAI,CAAC,GAAG;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;CAC5D;AAID,wBAAgB,cAAc,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,2FAErC;AAED,wBAAgB,oBAAoB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,sCAE3C;AAED,MAAM,WAAW,WAAW;I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ports.isMessageViewSender = isMessageViewSender;
12
12
  exports.validateMessageViewSender = validateMessageViewSender;
13
+ exports.isReactionView = isReactionView;
14
+ exports.validateReactionView = validateReactionView;
15
+ exports.isReactionViewSender = isReactionViewSender;
16
+ exports.validateReactionViewSender = validateReactionViewSender;
17
+ exports.isMessageAndReactionView = isMessageAndReactionView;
18
+ exports.validateMessageAndReactionView = validateMessageAndReactionView;
13
19
  exports.isConvoView = isConvoView;
14
20
  exports.validateConvoView = validateConvoView;
15
21
  exports.isLogBeginConvo = isLogBeginConvo;
@@ -28,6 +34,10 @@ exports.isLogDeleteMessage = isLogDeleteMessage;
28
34
  exports.validateLogDeleteMessage = validateLogDeleteMessage;
29
35
  exports.isLogReadMessage = isLogReadMessage;
30
36
  exports.validateLogReadMessage = validateLogReadMessage;
37
+ exports.isLogAddReaction = isLogAddReaction;
38
+ exports.validateLogAddReaction = validateLogAddReaction;
39
+ exports.isLogRemoveReaction = isLogRemoveReaction;
40
+ exports.validateLogRemoveReaction = validateLogRemoveReaction;
31
41
  const lexicons_1 = require("../../../../lexicons");
32
42
  const util_1 = require("../../../../util");
33
43
  const is$typed = util_1.is$typed, validate = lexicons_1.validate;
@@ -67,6 +77,27 @@ function isMessageViewSender(v) {
67
77
  function validateMessageViewSender(v) {
68
78
  return validate(v, id, hashMessageViewSender);
69
79
  }
80
+ const hashReactionView = 'reactionView';
81
+ function isReactionView(v) {
82
+ return is$typed(v, id, hashReactionView);
83
+ }
84
+ function validateReactionView(v) {
85
+ return validate(v, id, hashReactionView);
86
+ }
87
+ const hashReactionViewSender = 'reactionViewSender';
88
+ function isReactionViewSender(v) {
89
+ return is$typed(v, id, hashReactionViewSender);
90
+ }
91
+ function validateReactionViewSender(v) {
92
+ return validate(v, id, hashReactionViewSender);
93
+ }
94
+ const hashMessageAndReactionView = 'messageAndReactionView';
95
+ function isMessageAndReactionView(v) {
96
+ return is$typed(v, id, hashMessageAndReactionView);
97
+ }
98
+ function validateMessageAndReactionView(v) {
99
+ return validate(v, id, hashMessageAndReactionView);
100
+ }
70
101
  const hashConvoView = 'convoView';
71
102
  function isConvoView(v) {
72
103
  return is$typed(v, id, hashConvoView);
@@ -130,4 +161,18 @@ function isLogReadMessage(v) {
130
161
  function validateLogReadMessage(v) {
131
162
  return validate(v, id, hashLogReadMessage);
132
163
  }
164
+ const hashLogAddReaction = 'logAddReaction';
165
+ function isLogAddReaction(v) {
166
+ return is$typed(v, id, hashLogAddReaction);
167
+ }
168
+ function validateLogAddReaction(v) {
169
+ return validate(v, id, hashLogAddReaction);
170
+ }
171
+ const hashLogRemoveReaction = 'logRemoveReaction';
172
+ function isLogRemoveReaction(v) {
173
+ return is$typed(v, id, hashLogRemoveReaction);
174
+ }
175
+ function validateLogRemoveReaction(v) {
176
+ return validate(v, id, hashLogRemoveReaction);
177
+ }
133
178
  //# sourceMappingURL=defs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/convo/defs.ts"],"names":[],"mappings":";;AA4BA,oCAEC;AAED,gDAEC;AAYD,wCAEC;AAED,oDAEC;AAgBD,sCAEC;AAED,kDAEC;AAYD,oDAEC;AAED,gEAEC;AASD,kDAEC;AAED,8DAEC;AAkBD,kCAEC;AAED,8CAEC;AAUD,0CAEC;AAED,sDAEC;AAUD,4CAEC;AAED,wDAEC;AAUD,0CAEC;AAED,sDAEC;AAUD,wCAEC;AAED,oDAEC;AAUD,4CAEC;AAED,wDAEC;AAWD,gDAEC;AAED,4DAEC;AAWD,gDAEC;AAED,4DAEC;AAWD,4CAEC;AAED,wDAEC;AAjQD,mDAA4D;AAC5D,2CAIyB;AAKzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,sBAAsB,CAAA;AASjC,MAAM,cAAc,GAAG,YAAY,CAAA;AAEnC,SAAgB,YAAY,CAAI,CAAI;IAClC,OAAO,QAAQ,CAAC,CAAC,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CAAC;AAED,SAAgB,wBAAwB,CAAI,CAAI;IAC9C,OAAO,QAAQ,CAAuB,CAAC,EAAE,EAAE,EAAE,oBAAoB,CAAC,CAAA;AACpE,CAAC;AASD,MAAM,kBAAkB,GAAG,gBAAgB,CAAA;AAE3C,SAAgB,gBAAgB,CAAI,CAAI;IACtC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,kBAAkB,CAAC,CAAA;AAC5C,CAAC;AAED,SAAgB,sBAAsB,CAAI,CAAI;IAC5C,OAAO,QAAQ,CAAqB,CAAC,EAAE,EAAE,EAAE,kBAAkB,CAAC,CAAA;AAChE,CAAC;AAUD,MAAM,kBAAkB,GAAG,gBAAgB,CAAA;AAE3C,SAAgB,gBAAgB,CAAI,CAAI;IACtC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,kBAAkB,CAAC,CAAA;AAC5C,CAAC;AAED,SAAgB,sBAAsB,CAAI,CAAI;IAC5C,OAAO,QAAQ,CAAqB,CAAC,EAAE,EAAE,EAAE,kBAAkB,CAAC,CAAA;AAChE,CAAC;AAUD,MAAM,qBAAqB,GAAG,mBAAmB,CAAA;AAEjD,SAAgB,mBAAmB,CAAI,CAAI;IACzC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,qBAAqB,CAAC,CAAA;AAC/C,CAAC;AAED,SAAgB,yBAAyB,CAAI,CAAI;IAC/C,OAAO,QAAQ,CAAwB,CAAC,EAAE,EAAE,EAAE,qBAAqB,CAAC,CAAA;AACtE,CAAC"}
@@ -11,7 +11,7 @@ export interface QueryParams {
11
11
  export type InputSchema = undefined;
12
12
  export interface OutputSchema {
13
13
  cursor?: string;
14
- logs: ($Typed<ChatBskyConvoDefs.LogBeginConvo> | $Typed<ChatBskyConvoDefs.LogAcceptConvo> | $Typed<ChatBskyConvoDefs.LogLeaveConvo> | $Typed<ChatBskyConvoDefs.LogCreateMessage> | $Typed<ChatBskyConvoDefs.LogDeleteMessage> | {
14
+ logs: ($Typed<ChatBskyConvoDefs.LogBeginConvo> | $Typed<ChatBskyConvoDefs.LogAcceptConvo> | $Typed<ChatBskyConvoDefs.LogLeaveConvo> | $Typed<ChatBskyConvoDefs.LogMuteConvo> | $Typed<ChatBskyConvoDefs.LogUnmuteConvo> | $Typed<ChatBskyConvoDefs.LogCreateMessage> | $Typed<ChatBskyConvoDefs.LogDeleteMessage> | $Typed<ChatBskyConvoDefs.LogReadMessage> | $Typed<ChatBskyConvoDefs.LogAddReaction> | $Typed<ChatBskyConvoDefs.LogRemoveReaction> | {
15
15
  $type: string;
16
16
  })[];
17
17
  }
@@ -1 +1 @@
1
- {"version":3,"file":"getLog.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/convo/getLog.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAI7B,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,kBAAkB,CAAA;AACzB,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACtE,OAAO,KAAK,KAAK,iBAAiB,MAAM,WAAW,CAAA;AAMnD,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,CACF,MAAM,CAAC,iBAAiB,CAAC,aAAa,CAAC,GACvC,MAAM,CAAC,iBAAiB,CAAC,cAAc,CAAC,GACxC,MAAM,CAAC,iBAAiB,CAAC,aAAa,CAAC,GACvC,MAAM,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,GAC1C,MAAM,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,GAC1C;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CACpB,EAAE,CAAA;CACJ;AAED,MAAM,MAAM,YAAY,GAAG,SAAS,CAAA;A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AAA;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,43 @@
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 ChatBskyConvoDefs from './defs.js';
7
+ export interface QueryParams {
8
+ }
9
+ export interface InputSchema {
10
+ convoId: string;
11
+ messageId: string;
12
+ value: string;
13
+ }
14
+ export interface OutputSchema {
15
+ message: ChatBskyConvoDefs.MessageView;
16
+ }
17
+ export interface HandlerInput {
18
+ encoding: 'application/json';
19
+ body: InputSchema;
20
+ }
21
+ export interface HandlerSuccess {
22
+ encoding: 'application/json';
23
+ body: OutputSchema;
24
+ headers?: {
25
+ [key: string]: string;
26
+ };
27
+ }
28
+ export interface HandlerError {
29
+ status: number;
30
+ message?: string;
31
+ error?: 'ReactionMessageDeleted' | 'ReactionInvalidValue';
32
+ }
33
+ export type HandlerOutput = HandlerError | HandlerSuccess | HandlerPipeThrough;
34
+ export type HandlerReqCtx<HA extends HandlerAuth = never> = {
35
+ auth: HA;
36
+ params: QueryParams;
37
+ input: HandlerInput;
38
+ req: express.Request;
39
+ res: express.Response;
40
+ resetRouteRateLimits: () => Promise<void>;
41
+ };
42
+ export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
43
+ //# sourceMappingURL=removeReaction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"removeReaction.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/convo/removeReaction.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,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AK,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 = 'chat.bsky.convo.removeReaction';
7
+ //# sourceMappingURL=removeReaction.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"removeReaction.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/convo/removeReaction.ts"],"names":[],"mappings":";;AAMA,mDAA4D;AAC5D,2CAIyB;AAIzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,gCAAgC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atproto/pds",
3
- "version": "0.4.109",
3
+ "version": "0.4.111",
4
4
  "license": "MIT",
5
5
  "description": "Reference implementation of atproto Personal Data Server (PDS)",
6
6
  "keywords": [
@@ -50,12 +50,12 @@
50
50
  "zod": "^3.23.8",
51
51
  "@atproto-labs/fetch-node": "0.1.8",
52
52
  "@atproto-labs/xrpc-utils": "0.0.9",
53
- "@atproto/api": "^0.14.10",
53
+ "@atproto/api": "^0.14.12",
54
54
  "@atproto/aws": "^0.2.18",
55
55
  "@atproto/common": "^0.4.8",
56
56
  "@atproto/crypto": "^0.4.4",
57
- "@atproto/identity": "^0.4.6",
58
57
  "@atproto/lexicon": "^0.4.9",
58
+ "@atproto/identity": "^0.4.6",
59
59
  "@atproto/oauth-provider": "^0.6.1",
60
60
  "@atproto/repo": "^0.7.2",
61
61
  "@atproto/syntax": "^0.4.0",
@@ -78,8 +78,8 @@
78
78
  "ts-node": "^10.8.2",
79
79
  "typescript": "^5.6.3",
80
80
  "ws": "^8.12.0",
81
- "@atproto/api": "^0.14.10",
82
- "@atproto/bsky": "^0.0.127",
81
+ "@atproto/api": "^0.14.12",
82
+ "@atproto/bsky": "^0.0.129",
83
83
  "@atproto/lex-cli": "^0.7.1",
84
84
  "@atproto/oauth-client-browser-example": "0.0.2"
85
85
  },
@@ -154,6 +154,7 @@ import * as AppBskyVideoUploadVideo from './types/app/bsky/video/uploadVideo.js'
154
154
  import * as ChatBskyActorDeleteAccount from './types/chat/bsky/actor/deleteAccount.js'
155
155
  import * as ChatBskyActorExportAccountData from './types/chat/bsky/actor/exportAccountData.js'
156
156
  import * as ChatBskyConvoAcceptConvo from './types/chat/bsky/convo/acceptConvo.js'
157
+ import * as ChatBskyConvoAddReaction from './types/chat/bsky/convo/addReaction.js'
157
158
  import * as ChatBskyConvoDeleteMessageForSelf from './types/chat/bsky/convo/deleteMessageForSelf.js'
158
159
  import * as ChatBskyConvoGetConvo from './types/chat/bsky/convo/getConvo.js'
159
160
  import * as ChatBskyConvoGetConvoAvailability from './types/chat/bsky/convo/getConvoAvailability.js'
@@ -163,6 +164,7 @@ import * as ChatBskyConvoGetMessages from './types/chat/bsky/convo/getMessages.j
163
164
  import * as ChatBskyConvoLeaveConvo from './types/chat/bsky/convo/leaveConvo.js'
164
165
  import * as ChatBskyConvoListConvos from './types/chat/bsky/convo/listConvos.js'
165
166
  import * as ChatBskyConvoMuteConvo from './types/chat/bsky/convo/muteConvo.js'
167
+ import * as ChatBskyConvoRemoveReaction from './types/chat/bsky/convo/removeReaction.js'
166
168
  import * as ChatBskyConvoSendMessage from './types/chat/bsky/convo/sendMessage.js'
167
169
  import * as ChatBskyConvoSendMessageBatch from './types/chat/bsky/convo/sendMessageBatch.js'
168
170
  import * as ChatBskyConvoUnmuteConvo from './types/chat/bsky/convo/unmuteConvo.js'
@@ -2119,6 +2121,17 @@ export class ChatBskyConvoNS {
2119
2121
  return this._server.xrpc.method(nsid, cfg)
2120
2122
  }
2121
2123
 
2124
+ addReaction<AV extends AuthVerifier>(
2125
+ cfg: ConfigOf<
2126
+ AV,
2127
+ ChatBskyConvoAddReaction.Handler<ExtractAuth<AV>>,
2128
+ ChatBskyConvoAddReaction.HandlerReqCtx<ExtractAuth<AV>>
2129
+ >,
2130
+ ) {
2131
+ const nsid = 'chat.bsky.convo.addReaction' // @ts-ignore
2132
+ return this._server.xrpc.method(nsid, cfg)
2133
+ }
2134
+
2122
2135
  deleteMessageForSelf<AV extends AuthVerifier>(
2123
2136
  cfg: ConfigOf<
2124
2137
  AV,
@@ -2218,6 +2231,17 @@ export class ChatBskyConvoNS {
2218
2231
  return this._server.xrpc.method(nsid, cfg)
2219
2232
  }
2220
2233
 
2234
+ removeReaction<AV extends AuthVerifier>(
2235
+ cfg: ConfigOf<
2236
+ AV,
2237
+ ChatBskyConvoRemoveReaction.Handler<ExtractAuth<AV>>,
2238
+ ChatBskyConvoRemoveReaction.HandlerReqCtx<ExtractAuth<AV>>
2239
+ >,
2240
+ ) {
2241
+ const nsid = 'chat.bsky.convo.removeReaction' // @ts-ignore
2242
+ return this._server.xrpc.method(nsid, cfg)
2243
+ }
2244
+
2221
2245
  sendMessage<AV extends AuthVerifier>(
2222
2246
  cfg: ConfigOf<
2223
2247
  AV,