@atproto/pds 0.4.98 → 0.4.99
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.
- package/CHANGELOG.md +7 -0
- package/LICENSE.txt +1 -1
- package/dist/api/com/atproto/server/activateAccount.js +1 -1
- package/dist/api/com/atproto/server/activateAccount.js.map +1 -1
- package/dist/lexicon/index.d.ts +4 -0
- package/dist/lexicon/index.d.ts.map +1 -1
- package/dist/lexicon/index.js +8 -0
- package/dist/lexicon/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +328 -6
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +169 -2
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/chat/bsky/convo/acceptConvo.d.ts +40 -0
- package/dist/lexicon/types/chat/bsky/convo/acceptConvo.d.ts.map +1 -0
- package/dist/lexicon/types/chat/bsky/convo/acceptConvo.js +7 -0
- package/dist/lexicon/types/chat/bsky/convo/acceptConvo.js.map +1 -0
- package/dist/lexicon/types/chat/bsky/convo/defs.d.ts +32 -1
- package/dist/lexicon/types/chat/bsky/convo/defs.d.ts.map +1 -1
- package/dist/lexicon/types/chat/bsky/convo/defs.js +36 -0
- package/dist/lexicon/types/chat/bsky/convo/defs.js.map +1 -1
- package/dist/lexicon/types/chat/bsky/convo/getConvoAvailability.d.ts +37 -0
- package/dist/lexicon/types/chat/bsky/convo/getConvoAvailability.d.ts.map +1 -0
- package/dist/lexicon/types/chat/bsky/convo/getConvoAvailability.js +7 -0
- package/dist/lexicon/types/chat/bsky/convo/getConvoAvailability.js.map +1 -0
- package/dist/lexicon/types/chat/bsky/convo/getLog.d.ts +1 -1
- package/dist/lexicon/types/chat/bsky/convo/getLog.d.ts.map +1 -1
- package/dist/lexicon/types/chat/bsky/convo/listConvos.d.ts +2 -0
- package/dist/lexicon/types/chat/bsky/convo/listConvos.d.ts.map +1 -1
- package/dist/lexicon/types/com/atproto/repo/applyWrites.d.ts +1 -0
- package/dist/lexicon/types/com/atproto/repo/applyWrites.d.ts.map +1 -1
- package/dist/lexicon/types/com/atproto/repo/applyWrites.js.map +1 -1
- package/dist/lexicon/types/tools/ozone/team/listMembers.d.ts +2 -0
- package/dist/lexicon/types/tools/ozone/team/listMembers.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/api/com/atproto/server/activateAccount.ts +1 -1
- package/src/lexicon/index.ts +24 -0
- package/src/lexicon/lexicons.ts +172 -2
- package/src/lexicon/types/chat/bsky/convo/acceptConvo.ts +53 -0
- package/src/lexicon/types/chat/bsky/convo/defs.ts +66 -1
- package/src/lexicon/types/chat/bsky/convo/getConvoAvailability.ts +51 -0
- package/src/lexicon/types/chat/bsky/convo/getLog.ts +1 -0
- package/src/lexicon/types/chat/bsky/convo/listConvos.ts +2 -0
- package/src/lexicon/types/com/atproto/repo/applyWrites.ts +1 -0
- package/src/lexicon/types/tools/ozone/team/listMembers.ts +2 -0
- package/tests/crud.test.ts +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
@@ -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
|
+
export interface QueryParams {
|
7
|
+
}
|
8
|
+
export interface InputSchema {
|
9
|
+
convoId: string;
|
10
|
+
}
|
11
|
+
export interface OutputSchema {
|
12
|
+
/** Rev when the convo was accepted. If not present, the convo was already accepted. */
|
13
|
+
rev?: string;
|
14
|
+
}
|
15
|
+
export interface HandlerInput {
|
16
|
+
encoding: 'application/json';
|
17
|
+
body: InputSchema;
|
18
|
+
}
|
19
|
+
export interface HandlerSuccess {
|
20
|
+
encoding: 'application/json';
|
21
|
+
body: OutputSchema;
|
22
|
+
headers?: {
|
23
|
+
[key: string]: string;
|
24
|
+
};
|
25
|
+
}
|
26
|
+
export interface HandlerError {
|
27
|
+
status: number;
|
28
|
+
message?: string;
|
29
|
+
}
|
30
|
+
export type HandlerOutput = HandlerError | HandlerSuccess | HandlerPipeThrough;
|
31
|
+
export type HandlerReqCtx<HA extends HandlerAuth = never> = {
|
32
|
+
auth: HA;
|
33
|
+
params: QueryParams;
|
34
|
+
input: HandlerInput;
|
35
|
+
req: express.Request;
|
36
|
+
res: express.Response;
|
37
|
+
resetRouteRateLimits: () => Promise<void>;
|
38
|
+
};
|
39
|
+
export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
|
40
|
+
//# sourceMappingURL=acceptConvo.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"acceptConvo.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/convo/acceptConvo.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAK7B,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAMtE,MAAM,WAAW,WAAW;CAAG;AAE/B,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,YAAY;IAC3B,uFAAuF;IACvF,GAAG,CAAC,EAAE,MAAM,CAAA;CACb;AAED,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,WAAW,CAAA;CAClB;AAED,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 = 'chat.bsky.convo.acceptConvo';
|
7
|
+
//# sourceMappingURL=acceptConvo.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"acceptConvo.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/convo/acceptConvo.ts"],"names":[],"mappings":";;AAMA,mDAA4D;AAC5D,2CAAyE;AAGzE,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,6BAA6B,CAAA"}
|
@@ -64,7 +64,7 @@ export interface ConvoView {
|
|
64
64
|
$type: string;
|
65
65
|
};
|
66
66
|
muted: boolean;
|
67
|
-
|
67
|
+
status?: 'request' | 'accepted' | (string & {});
|
68
68
|
unreadCount: number;
|
69
69
|
}
|
70
70
|
export declare function isConvoView<V>(v: V): v is import("../../../../util").$TypedObject<V, "chat.bsky.convo.defs", "convoView">;
|
@@ -76,6 +76,13 @@ export interface LogBeginConvo {
|
|
76
76
|
}
|
77
77
|
export declare function isLogBeginConvo<V>(v: V): v is import("../../../../util").$TypedObject<V, "chat.bsky.convo.defs", "logBeginConvo">;
|
78
78
|
export declare function validateLogBeginConvo<V>(v: V): ValidationResult<LogBeginConvo & V>;
|
79
|
+
export interface LogAcceptConvo {
|
80
|
+
$type?: 'chat.bsky.convo.defs#logAcceptConvo';
|
81
|
+
rev: string;
|
82
|
+
convoId: string;
|
83
|
+
}
|
84
|
+
export declare function isLogAcceptConvo<V>(v: V): v is import("../../../../util").$TypedObject<V, "chat.bsky.convo.defs", "logAcceptConvo">;
|
85
|
+
export declare function validateLogAcceptConvo<V>(v: V): ValidationResult<LogAcceptConvo & V>;
|
79
86
|
export interface LogLeaveConvo {
|
80
87
|
$type?: 'chat.bsky.convo.defs#logLeaveConvo';
|
81
88
|
rev: string;
|
@@ -83,6 +90,20 @@ export interface LogLeaveConvo {
|
|
83
90
|
}
|
84
91
|
export declare function isLogLeaveConvo<V>(v: V): v is import("../../../../util").$TypedObject<V, "chat.bsky.convo.defs", "logLeaveConvo">;
|
85
92
|
export declare function validateLogLeaveConvo<V>(v: V): ValidationResult<LogLeaveConvo & V>;
|
93
|
+
export interface LogMuteConvo {
|
94
|
+
$type?: 'chat.bsky.convo.defs#logMuteConvo';
|
95
|
+
rev: string;
|
96
|
+
convoId: string;
|
97
|
+
}
|
98
|
+
export declare function isLogMuteConvo<V>(v: V): v is import("../../../../util").$TypedObject<V, "chat.bsky.convo.defs", "logMuteConvo">;
|
99
|
+
export declare function validateLogMuteConvo<V>(v: V): ValidationResult<LogMuteConvo & V>;
|
100
|
+
export interface LogUnmuteConvo {
|
101
|
+
$type?: 'chat.bsky.convo.defs#logUnmuteConvo';
|
102
|
+
rev: string;
|
103
|
+
convoId: string;
|
104
|
+
}
|
105
|
+
export declare function isLogUnmuteConvo<V>(v: V): v is import("../../../../util").$TypedObject<V, "chat.bsky.convo.defs", "logUnmuteConvo">;
|
106
|
+
export declare function validateLogUnmuteConvo<V>(v: V): ValidationResult<LogUnmuteConvo & V>;
|
86
107
|
export interface LogCreateMessage {
|
87
108
|
$type?: 'chat.bsky.convo.defs#logCreateMessage';
|
88
109
|
rev: string;
|
@@ -103,4 +124,14 @@ export interface LogDeleteMessage {
|
|
103
124
|
}
|
104
125
|
export declare function isLogDeleteMessage<V>(v: V): v is import("../../../../util").$TypedObject<V, "chat.bsky.convo.defs", "logDeleteMessage">;
|
105
126
|
export declare function validateLogDeleteMessage<V>(v: V): ValidationResult<LogDeleteMessage & V>;
|
127
|
+
export interface LogReadMessage {
|
128
|
+
$type?: 'chat.bsky.convo.defs#logReadMessage';
|
129
|
+
rev: string;
|
130
|
+
convoId: string;
|
131
|
+
message: $Typed<MessageView> | $Typed<DeletedMessageView> | {
|
132
|
+
$type: string;
|
133
|
+
};
|
134
|
+
}
|
135
|
+
export declare function isLogReadMessage<V>(v: V): v is import("../../../../util").$TypedObject<V, "chat.bsky.convo.defs", "logReadMessage">;
|
136
|
+
export declare function validateLogReadMessage<V>(v: V): ValidationResult<LogReadMessage & V>;
|
106
137
|
//# 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,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAG5D,OAAO,EAAE,MAAM,EAAkC,MAAM,kBAAkB,CAAA;AACzE,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,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CAAA;IAC/C,GAAG,EAAE,MAAM,CAAA;IACX,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,MAAM,CAAC,WAAW,CAAC,GAAG,MAAM,CAAC,kBAAkB,CAAC,GAAG;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;CAC9E;AAID,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,+FAEzC;AAED,wBAAgB,wBAAwB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,0CAE/C;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,CAAC,EAAE,uCAAuC,CAAA;IAC/C,GAAG,EAAE,MAAM,CAAA;IACX,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,MAAM,CAAC,WAAW,CAAC,GAAG,MAAM,CAAC,kBAAkB,CAAC,GAAG;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;CAC9E;AAID,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,+FAEzC;AAED,wBAAgB,wBAAwB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,0CAE/C;AAED,MAAM,WAAW,cAAc;IAC7B,KAAK,CAAC,EAAE,qCAAqC,CAAA;IAC7C,GAAG,EAAE,MAAM,CAAA;IACX,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,MAAM,CAAC,WAAW,CAAC,GAAG,MAAM,CAAC,kBAAkB,CAAC,GAAG;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;CAC9E;AAID,wBAAgB,gBAAgB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,6FAEvC;AAED,wBAAgB,sBAAsB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,wCAE7C"}
|
@@ -14,12 +14,20 @@ exports.isConvoView = isConvoView;
|
|
14
14
|
exports.validateConvoView = validateConvoView;
|
15
15
|
exports.isLogBeginConvo = isLogBeginConvo;
|
16
16
|
exports.validateLogBeginConvo = validateLogBeginConvo;
|
17
|
+
exports.isLogAcceptConvo = isLogAcceptConvo;
|
18
|
+
exports.validateLogAcceptConvo = validateLogAcceptConvo;
|
17
19
|
exports.isLogLeaveConvo = isLogLeaveConvo;
|
18
20
|
exports.validateLogLeaveConvo = validateLogLeaveConvo;
|
21
|
+
exports.isLogMuteConvo = isLogMuteConvo;
|
22
|
+
exports.validateLogMuteConvo = validateLogMuteConvo;
|
23
|
+
exports.isLogUnmuteConvo = isLogUnmuteConvo;
|
24
|
+
exports.validateLogUnmuteConvo = validateLogUnmuteConvo;
|
19
25
|
exports.isLogCreateMessage = isLogCreateMessage;
|
20
26
|
exports.validateLogCreateMessage = validateLogCreateMessage;
|
21
27
|
exports.isLogDeleteMessage = isLogDeleteMessage;
|
22
28
|
exports.validateLogDeleteMessage = validateLogDeleteMessage;
|
29
|
+
exports.isLogReadMessage = isLogReadMessage;
|
30
|
+
exports.validateLogReadMessage = validateLogReadMessage;
|
23
31
|
const lexicons_1 = require("../../../../lexicons");
|
24
32
|
const util_1 = require("../../../../util");
|
25
33
|
const is$typed = util_1.is$typed, validate = lexicons_1.validate;
|
@@ -73,6 +81,13 @@ function isLogBeginConvo(v) {
|
|
73
81
|
function validateLogBeginConvo(v) {
|
74
82
|
return validate(v, id, hashLogBeginConvo);
|
75
83
|
}
|
84
|
+
const hashLogAcceptConvo = 'logAcceptConvo';
|
85
|
+
function isLogAcceptConvo(v) {
|
86
|
+
return is$typed(v, id, hashLogAcceptConvo);
|
87
|
+
}
|
88
|
+
function validateLogAcceptConvo(v) {
|
89
|
+
return validate(v, id, hashLogAcceptConvo);
|
90
|
+
}
|
76
91
|
const hashLogLeaveConvo = 'logLeaveConvo';
|
77
92
|
function isLogLeaveConvo(v) {
|
78
93
|
return is$typed(v, id, hashLogLeaveConvo);
|
@@ -80,6 +95,20 @@ function isLogLeaveConvo(v) {
|
|
80
95
|
function validateLogLeaveConvo(v) {
|
81
96
|
return validate(v, id, hashLogLeaveConvo);
|
82
97
|
}
|
98
|
+
const hashLogMuteConvo = 'logMuteConvo';
|
99
|
+
function isLogMuteConvo(v) {
|
100
|
+
return is$typed(v, id, hashLogMuteConvo);
|
101
|
+
}
|
102
|
+
function validateLogMuteConvo(v) {
|
103
|
+
return validate(v, id, hashLogMuteConvo);
|
104
|
+
}
|
105
|
+
const hashLogUnmuteConvo = 'logUnmuteConvo';
|
106
|
+
function isLogUnmuteConvo(v) {
|
107
|
+
return is$typed(v, id, hashLogUnmuteConvo);
|
108
|
+
}
|
109
|
+
function validateLogUnmuteConvo(v) {
|
110
|
+
return validate(v, id, hashLogUnmuteConvo);
|
111
|
+
}
|
83
112
|
const hashLogCreateMessage = 'logCreateMessage';
|
84
113
|
function isLogCreateMessage(v) {
|
85
114
|
return is$typed(v, id, hashLogCreateMessage);
|
@@ -94,4 +123,11 @@ function isLogDeleteMessage(v) {
|
|
94
123
|
function validateLogDeleteMessage(v) {
|
95
124
|
return validate(v, id, hashLogDeleteMessage);
|
96
125
|
}
|
126
|
+
const hashLogReadMessage = 'logReadMessage';
|
127
|
+
function isLogReadMessage(v) {
|
128
|
+
return is$typed(v, id, hashLogReadMessage);
|
129
|
+
}
|
130
|
+
function validateLogReadMessage(v) {
|
131
|
+
return validate(v, id, hashLogReadMessage);
|
132
|
+
}
|
97
133
|
//# sourceMappingURL=defs.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/convo/defs.ts"],"names":[],"mappings":";;AAwBA,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,0CAEC;AAED,sDAEC;AAWD,gDAEC;AAED,4DAEC;AAWD,gDAEC;AAED,4DAEC;
|
1
|
+
{"version":3,"file":"defs.js","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AAgB,wBAAwB,CAAI,CAAI;IAC9C,OAAO,QAAQ,CAAuB,CAAC,EAAE,EAAE,EAAE,oBAAoB,CAAC,CAAA;AACpE,CAAC;AASD,MAAM,oBAAoB,GAAG,kBAAkB,CAAA;AAE/C,SAAgB,kBAAkB,CAAI,CAAI;IACxC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,oBAAoB,CAAC,CAAA;AAC9C,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"}
|
@@ -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
|
+
import type * as ChatBskyConvoDefs from './defs.js';
|
7
|
+
export interface QueryParams {
|
8
|
+
members: string[];
|
9
|
+
}
|
10
|
+
export type InputSchema = undefined;
|
11
|
+
export interface OutputSchema {
|
12
|
+
canChat: boolean;
|
13
|
+
convo?: ChatBskyConvoDefs.ConvoView;
|
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=getConvoAvailability.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"getConvoAvailability.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/convo/getConvoAvailability.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAK7B,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACtE,OAAO,KAAK,KAAK,iBAAiB,MAAM,WAAW,CAAA;AAMnD,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,MAAM,EAAE,CAAA;CAClB;AAED,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,OAAO,CAAA;IAChB,KAAK,CAAC,EAAE,iBAAiB,CAAC,SAAS,CAAA;CACpC;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 = 'chat.bsky.convo.getConvoAvailability';
|
7
|
+
//# sourceMappingURL=getConvoAvailability.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"getConvoAvailability.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/convo/getConvoAvailability.ts"],"names":[],"mappings":";;AAMA,mDAA4D;AAC5D,2CAAyE;AAIzE,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,sCAAsC,CAAA"}
|
@@ -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.LogLeaveConvo> | $Typed<ChatBskyConvoDefs.LogCreateMessage> | $Typed<ChatBskyConvoDefs.LogDeleteMessage> | {
|
14
|
+
logs: ($Typed<ChatBskyConvoDefs.LogBeginConvo> | $Typed<ChatBskyConvoDefs.LogAcceptConvo> | $Typed<ChatBskyConvoDefs.LogLeaveConvo> | $Typed<ChatBskyConvoDefs.LogCreateMessage> | $Typed<ChatBskyConvoDefs.LogDeleteMessage> | {
|
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,EAAE,MAAM,EAAkC,MAAM,kBAAkB,CAAA;AACzE,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,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;AAEpC,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,YAAY,CA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
|
limit: number;
|
9
9
|
cursor?: string;
|
10
|
+
readState?: 'unread' | (string & {});
|
11
|
+
status?: 'request' | 'accepted' | (string & {});
|
10
12
|
}
|
11
13
|
export type InputSchema = undefined;
|
12
14
|
export interface OutputSchema {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"listConvos.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/convo/listConvos.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAK7B,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACtE,OAAO,KAAK,KAAK,iBAAiB,MAAM,WAAW,CAAA;AAMnD,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;
|
1
|
+
{"version":3,"file":"listConvos.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/convo/listConvos.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAK7B,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACtE,OAAO,KAAK,KAAK,iBAAiB,MAAM,WAAW,CAAA;AAMnD,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,SAAS,CAAC,EAAE,QAAQ,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;IACpC,MAAM,CAAC,EAAE,SAAS,GAAG,UAAU,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;CAChD;AAED,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,iBAAiB,CAAC,SAAS,EAAE,CAAA;CACtC;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"}
|
@@ -51,6 +51,7 @@ export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) =
|
|
51
51
|
export interface Create {
|
52
52
|
$type?: 'com.atproto.repo.applyWrites#create';
|
53
53
|
collection: string;
|
54
|
+
/** NOTE: maxLength is redundant with record-key format. Keeping it temporarily to ensure backwards compatibility. */
|
54
55
|
rkey?: string;
|
55
56
|
value: {
|
56
57
|
[_ in string]: unknown;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"applyWrites.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/com/atproto/repo/applyWrites.ts"],"names":[],"mappings":"A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../src/lexicon/types/com/atproto/repo/applyWrites.ts"],"names":[],"mappings":";;
|
1
|
+
{"version":3,"file":"applyWrites.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/com/atproto/repo/applyWrites.ts"],"names":[],"mappings":";;AA6EA,4BAEC;AAED,wCAEC;AAYD,4BAEC;AAED,wCAEC;AAWD,4BAEC;AAED,wCAEC;AAWD,wCAEC;AAED,oDAEC;AAWD,wCAEC;AAED,oDAEC;AAQD,wCAEC;AAED,oDAEC;AAhKD,mDAA4D;AAC5D,2CAAyE;AAIzE,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,8BAA8B,CAAA;AA8DzC,MAAM,UAAU,GAAG,QAAQ,CAAA;AAE3B,SAAgB,QAAQ,CAAI,CAAI;IAC9B,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,UAAU,CAAC,CAAA;AACpC,CAAC;AAED,SAAgB,cAAc,CAAI,CAAI;IACpC,OAAO,QAAQ,CAAa,CAAC,EAAE,EAAE,EAAE,UAAU,CAAC,CAAA;AAChD,CAAC;AAUD,MAAM,UAAU,GAAG,QAAQ,CAAA;AAE3B,SAAgB,QAAQ,CAAI,CAAI;IAC9B,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,UAAU,CAAC,CAAA;AACpC,CAAC;AAED,SAAgB,cAAc,CAAI,CAAI;IACpC,OAAO,QAAQ,CAAa,CAAC,EAAE,EAAE,EAAE,UAAU,CAAC,CAAA;AAChD,CAAC;AASD,MAAM,UAAU,GAAG,QAAQ,CAAA;AAE3B,SAAgB,QAAQ,CAAI,CAAI;IAC9B,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,UAAU,CAAC,CAAA;AACpC,CAAC;AAED,SAAgB,cAAc,CAAI,CAAI;IACpC,OAAO,QAAQ,CAAa,CAAC,EAAE,EAAE,EAAE,UAAU,CAAC,CAAA;AAChD,CAAC;AASD,MAAM,gBAAgB,GAAG,cAAc,CAAA;AAEvC,SAAgB,cAAc,CAAI,CAAI;IACpC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,gBAAgB,CAAC,CAAA;AAC1C,CAAC;AAED,SAAgB,oBAAoB,CAAI,CAAI;IAC1C,OAAO,QAAQ,CAAmB,CAAC,EAAE,EAAE,EAAE,gBAAgB,CAAC,CAAA;AAC5D,CAAC;AASD,MAAM,gBAAgB,GAAG,cAAc,CAAA;AAEvC,SAAgB,cAAc,CAAI,CAAI;IACpC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,gBAAgB,CAAC,CAAA;AAC1C,CAAC;AAED,SAAgB,oBAAoB,CAAI,CAAI;IAC1C,OAAO,QAAQ,CAAmB,CAAC,EAAE,EAAE,EAAE,gBAAgB,CAAC,CAAA;AAC5D,CAAC;AAMD,MAAM,gBAAgB,GAAG,cAAc,CAAA;AAEvC,SAAgB,cAAc,CAAI,CAAI;IACpC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,gBAAgB,CAAC,CAAA;AAC1C,CAAC;AAED,SAAgB,oBAAoB,CAAI,CAAI;IAC1C,OAAO,QAAQ,CAAmB,CAAC,EAAE,EAAE,EAAE,gBAAgB,CAAC,CAAA;AAC5D,CAAC"}
|
@@ -5,6 +5,8 @@ import express from 'express';
|
|
5
5
|
import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server';
|
6
6
|
import type * as ToolsOzoneTeamDefs from './defs.js';
|
7
7
|
export interface QueryParams {
|
8
|
+
disabled?: boolean;
|
9
|
+
roles?: string[];
|
8
10
|
limit: number;
|
9
11
|
cursor?: string;
|
10
12
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"listMembers.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/tools/ozone/team/listMembers.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAK7B,OAAO,EA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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"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@atproto/pds",
|
3
|
-
"version": "0.4.
|
3
|
+
"version": "0.4.99",
|
4
4
|
"license": "MIT",
|
5
5
|
"description": "Reference implementation of atproto Personal Data Server (PDS)",
|
6
6
|
"keywords": [
|
@@ -50,7 +50,7 @@
|
|
50
50
|
"zod": "^3.23.8",
|
51
51
|
"@atproto-labs/fetch-node": "0.1.7",
|
52
52
|
"@atproto-labs/xrpc-utils": "0.0.7",
|
53
|
-
"@atproto/api": "^0.14.
|
53
|
+
"@atproto/api": "^0.14.3",
|
54
54
|
"@atproto/aws": "^0.2.15",
|
55
55
|
"@atproto/common": "^0.4.8",
|
56
56
|
"@atproto/crypto": "^0.4.4",
|
@@ -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.
|
82
|
-
"@atproto/bsky": "^0.0.
|
81
|
+
"@atproto/api": "^0.14.3",
|
82
|
+
"@atproto/bsky": "^0.0.120",
|
83
83
|
"@atproto/lex-cli": "^0.6.1",
|
84
84
|
"@atproto/oauth-client-browser-example": "0.0.1"
|
85
85
|
},
|
@@ -49,7 +49,7 @@ export default function (server: Server, ctx: AppContext) {
|
|
49
49
|
// @NOTE: we're over-emitting for now for backwards compatibility, can reduce this in the future
|
50
50
|
const status = await ctx.accountManager.getAccountStatus(requester)
|
51
51
|
await ctx.sequencer.sequenceAccountEvt(requester, status)
|
52
|
-
await ctx.sequencer.
|
52
|
+
await ctx.sequencer.sequenceIdentityEvt(
|
53
53
|
requester,
|
54
54
|
account.handle ?? INVALID_HANDLE,
|
55
55
|
)
|
package/src/lexicon/index.ts
CHANGED
@@ -150,8 +150,10 @@ import * as AppBskyVideoGetUploadLimits from './types/app/bsky/video/getUploadLi
|
|
150
150
|
import * as AppBskyVideoUploadVideo from './types/app/bsky/video/uploadVideo.js'
|
151
151
|
import * as ChatBskyActorDeleteAccount from './types/chat/bsky/actor/deleteAccount.js'
|
152
152
|
import * as ChatBskyActorExportAccountData from './types/chat/bsky/actor/exportAccountData.js'
|
153
|
+
import * as ChatBskyConvoAcceptConvo from './types/chat/bsky/convo/acceptConvo.js'
|
153
154
|
import * as ChatBskyConvoDeleteMessageForSelf from './types/chat/bsky/convo/deleteMessageForSelf.js'
|
154
155
|
import * as ChatBskyConvoGetConvo from './types/chat/bsky/convo/getConvo.js'
|
156
|
+
import * as ChatBskyConvoGetConvoAvailability from './types/chat/bsky/convo/getConvoAvailability.js'
|
155
157
|
import * as ChatBskyConvoGetConvoForMembers from './types/chat/bsky/convo/getConvoForMembers.js'
|
156
158
|
import * as ChatBskyConvoGetLog from './types/chat/bsky/convo/getLog.js'
|
157
159
|
import * as ChatBskyConvoGetMessages from './types/chat/bsky/convo/getMessages.js'
|
@@ -2069,6 +2071,17 @@ export class ChatBskyConvoNS {
|
|
2069
2071
|
this._server = server
|
2070
2072
|
}
|
2071
2073
|
|
2074
|
+
acceptConvo<AV extends AuthVerifier>(
|
2075
|
+
cfg: ConfigOf<
|
2076
|
+
AV,
|
2077
|
+
ChatBskyConvoAcceptConvo.Handler<ExtractAuth<AV>>,
|
2078
|
+
ChatBskyConvoAcceptConvo.HandlerReqCtx<ExtractAuth<AV>>
|
2079
|
+
>,
|
2080
|
+
) {
|
2081
|
+
const nsid = 'chat.bsky.convo.acceptConvo' // @ts-ignore
|
2082
|
+
return this._server.xrpc.method(nsid, cfg)
|
2083
|
+
}
|
2084
|
+
|
2072
2085
|
deleteMessageForSelf<AV extends AuthVerifier>(
|
2073
2086
|
cfg: ConfigOf<
|
2074
2087
|
AV,
|
@@ -2091,6 +2104,17 @@ export class ChatBskyConvoNS {
|
|
2091
2104
|
return this._server.xrpc.method(nsid, cfg)
|
2092
2105
|
}
|
2093
2106
|
|
2107
|
+
getConvoAvailability<AV extends AuthVerifier>(
|
2108
|
+
cfg: ConfigOf<
|
2109
|
+
AV,
|
2110
|
+
ChatBskyConvoGetConvoAvailability.Handler<ExtractAuth<AV>>,
|
2111
|
+
ChatBskyConvoGetConvoAvailability.HandlerReqCtx<ExtractAuth<AV>>
|
2112
|
+
>,
|
2113
|
+
) {
|
2114
|
+
const nsid = 'chat.bsky.convo.getConvoAvailability' // @ts-ignore
|
2115
|
+
return this._server.xrpc.method(nsid, cfg)
|
2116
|
+
}
|
2117
|
+
|
2094
2118
|
getConvoForMembers<AV extends AuthVerifier>(
|
2095
2119
|
cfg: ConfigOf<
|
2096
2120
|
AV,
|