@atproto/pds 0.4.36 → 0.4.38
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +19 -0
- package/dist/lexicon/index.d.ts +25 -0
- package/dist/lexicon/index.d.ts.map +1 -1
- package/dist/lexicon/index.js +54 -1
- package/dist/lexicon/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +536 -0
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +561 -1
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/defs.d.ts +5 -0
- package/dist/lexicon/types/app/bsky/actor/defs.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/defs.js.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/profile.d.ts +3 -0
- package/dist/lexicon/types/app/bsky/actor/profile.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/profile.js.map +1 -1
- package/dist/lexicon/types/app/bsky/graph/defs.d.ts +36 -1
- package/dist/lexicon/types/app/bsky/graph/defs.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/graph/defs.js +23 -1
- package/dist/lexicon/types/app/bsky/graph/defs.js.map +1 -1
- package/dist/lexicon/types/app/bsky/graph/getActorStarterPacks.d.ts +39 -0
- package/dist/lexicon/types/app/bsky/graph/getActorStarterPacks.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/graph/getActorStarterPacks.js +3 -0
- package/dist/lexicon/types/app/bsky/graph/getActorStarterPacks.js.map +1 -0
- package/dist/lexicon/types/app/bsky/graph/getStarterPack.d.ts +37 -0
- package/dist/lexicon/types/app/bsky/graph/getStarterPack.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/graph/getStarterPack.js +3 -0
- package/dist/lexicon/types/app/bsky/graph/getStarterPack.js.map +1 -0
- package/dist/lexicon/types/app/bsky/graph/getStarterPacks.d.ts +36 -0
- package/dist/lexicon/types/app/bsky/graph/getStarterPacks.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/graph/getStarterPacks.js +3 -0
- package/dist/lexicon/types/app/bsky/graph/getStarterPacks.js.map +1 -0
- package/dist/lexicon/types/app/bsky/graph/starterpack.d.ts +25 -0
- package/dist/lexicon/types/app/bsky/graph/starterpack.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/graph/starterpack.js +27 -0
- package/dist/lexicon/types/app/bsky/graph/starterpack.js.map +1 -0
- package/dist/lexicon/types/app/bsky/notification/listNotifications.d.ts +2 -2
- package/dist/lexicon/types/app/bsky/notification/listNotifications.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/notification/listNotifications.js.map +1 -1
- package/dist/lexicon/types/tools/ozone/team/addMember.d.ts +40 -0
- package/dist/lexicon/types/tools/ozone/team/addMember.d.ts.map +1 -0
- package/dist/lexicon/types/tools/ozone/team/addMember.js +3 -0
- package/dist/lexicon/types/tools/ozone/team/addMember.js.map +1 -0
- package/dist/lexicon/types/tools/ozone/team/defs.d.ts +24 -0
- package/dist/lexicon/types/tools/ozone/team/defs.d.ts.map +1 -0
- package/dist/lexicon/types/tools/ozone/team/defs.js +22 -0
- package/dist/lexicon/types/tools/ozone/team/defs.js.map +1 -0
- package/dist/lexicon/types/tools/ozone/team/deleteMember.d.ts +30 -0
- package/dist/lexicon/types/tools/ozone/team/deleteMember.d.ts.map +1 -0
- package/dist/lexicon/types/tools/ozone/team/deleteMember.js +3 -0
- package/dist/lexicon/types/tools/ozone/team/deleteMember.js.map +1 -0
- package/dist/lexicon/types/tools/ozone/team/listMembers.d.ts +38 -0
- package/dist/lexicon/types/tools/ozone/team/listMembers.d.ts.map +1 -0
- package/dist/lexicon/types/tools/ozone/team/listMembers.js +3 -0
- package/dist/lexicon/types/tools/ozone/team/listMembers.js.map +1 -0
- package/dist/lexicon/types/tools/ozone/team/updateMember.d.ts +41 -0
- package/dist/lexicon/types/tools/ozone/team/updateMember.d.ts.map +1 -0
- package/dist/lexicon/types/tools/ozone/team/updateMember.js +3 -0
- package/dist/lexicon/types/tools/ozone/team/updateMember.js.map +1 -0
- package/dist/pipethrough.d.ts.map +1 -1
- package/dist/pipethrough.js +4 -0
- package/dist/pipethrough.js.map +1 -1
- package/dist/repo/prepare.d.ts.map +1 -1
- package/dist/repo/prepare.js +4 -0
- package/dist/repo/prepare.js.map +1 -1
- package/package.json +5 -5
- package/src/lexicon/index.ts +100 -0
- package/src/lexicon/lexicons.ts +566 -1
- package/src/lexicon/types/app/bsky/actor/defs.ts +5 -0
- package/src/lexicon/types/app/bsky/actor/profile.ts +3 -0
- package/src/lexicon/types/app/bsky/graph/defs.ts +58 -0
- package/src/lexicon/types/app/bsky/graph/getActorStarterPacks.ts +49 -0
- package/src/lexicon/types/app/bsky/graph/getStarterPack.ts +47 -0
- package/src/lexicon/types/app/bsky/graph/getStarterPacks.ts +46 -0
- package/src/lexicon/types/app/bsky/graph/starterpack.ts +50 -0
- package/src/lexicon/types/app/bsky/notification/listNotifications.ts +2 -1
- package/src/lexicon/types/tools/ozone/team/addMember.ts +53 -0
- package/src/lexicon/types/tools/ozone/team/defs.ts +42 -0
- package/src/lexicon/types/tools/ozone/team/deleteMember.ts +39 -0
- package/src/lexicon/types/tools/ozone/team/listMembers.ts +48 -0
- package/src/lexicon/types/tools/ozone/team/updateMember.ts +54 -0
- package/src/pipethrough.ts +4 -0
- package/src/repo/prepare.ts +3 -0
- package/tests/proxied/__snapshots__/admin.test.ts.snap +3 -0
- package/tests/proxied/__snapshots__/feedgen.test.ts.snap +2 -0
- package/tests/proxied/__snapshots__/views.test.ts.snap +71 -0
- package/tests/proxied/admin.test.ts +1 -1
@@ -0,0 +1,22 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ROLETRIAGE = exports.ROLEMODERATOR = exports.ROLEADMIN = exports.validateMember = exports.isMember = void 0;
|
4
|
+
const lexicons_1 = require("../../../../lexicons");
|
5
|
+
const util_1 = require("../../../../util");
|
6
|
+
function isMember(v) {
|
7
|
+
return ((0, util_1.isObj)(v) &&
|
8
|
+
(0, util_1.hasProp)(v, '$type') &&
|
9
|
+
v.$type === 'tools.ozone.team.defs#member');
|
10
|
+
}
|
11
|
+
exports.isMember = isMember;
|
12
|
+
function validateMember(v) {
|
13
|
+
return lexicons_1.lexicons.validate('tools.ozone.team.defs#member', v);
|
14
|
+
}
|
15
|
+
exports.validateMember = validateMember;
|
16
|
+
/** Admin role. Highest level of access, can perform all actions. */
|
17
|
+
exports.ROLEADMIN = 'tools.ozone.team.defs#roleAdmin';
|
18
|
+
/** Moderator role. Can perform most actions. */
|
19
|
+
exports.ROLEMODERATOR = 'tools.ozone.team.defs#roleModerator';
|
20
|
+
/** Triage role. Mostly intended for monitoring and escalating issues. */
|
21
|
+
exports.ROLETRIAGE = 'tools.ozone.team.defs#roleTriage';
|
22
|
+
//# sourceMappingURL=defs.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/tools/ozone/team/defs.ts"],"names":[],"mappings":";;;AAIA,mDAA+C;AAC/C,2CAAiD;AAmBjD,SAAgB,QAAQ,CAAC,CAAU;IACjC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,8BAA8B,CAC3C,CAAA;AACH,CAAC;AAND,4BAMC;AAED,SAAgB,cAAc,CAAC,CAAU;IACvC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,8BAA8B,EAAE,CAAC,CAAC,CAAA;AAC7D,CAAC;AAFD,wCAEC;AAED,oEAAoE;AACvD,QAAA,SAAS,GAAG,iCAAiC,CAAA;AAC1D,gDAAgD;AACnC,QAAA,aAAa,GAAG,qCAAqC,CAAA;AAClE,yEAAyE;AAC5D,QAAA,UAAU,GAAG,kCAAkC,CAAA"}
|
@@ -0,0 +1,30 @@
|
|
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
|
+
[k: string]: unknown;
|
11
|
+
}
|
12
|
+
export interface HandlerInput {
|
13
|
+
encoding: 'application/json';
|
14
|
+
body: InputSchema;
|
15
|
+
}
|
16
|
+
export interface HandlerError {
|
17
|
+
status: number;
|
18
|
+
message?: string;
|
19
|
+
error?: 'MemberNotFound' | 'CannotDeleteSelf';
|
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
|
+
};
|
29
|
+
export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
|
30
|
+
//# sourceMappingURL=deleteMember.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"deleteMember.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/tools/ozone/team/deleteMember.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAK7B,OAAO,EAAE,WAAW,EAAsB,MAAM,sBAAsB,CAAA;AAEtE,MAAM,WAAW,WAAW;CAAG;AAE/B,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE,MAAM,CAAA;IACX,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;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;IAChB,KAAK,CAAC,EAAE,gBAAgB,GAAG,kBAAkB,CAAA;CAC9C;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;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 @@
|
|
1
|
+
{"version":3,"file":"deleteMember.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/tools/ozone/team/deleteMember.ts"],"names":[],"mappings":""}
|
@@ -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 * as ToolsOzoneTeamDefs from './defs';
|
7
|
+
export interface QueryParams {
|
8
|
+
limit: number;
|
9
|
+
cursor?: string;
|
10
|
+
}
|
11
|
+
export type InputSchema = undefined;
|
12
|
+
export interface OutputSchema {
|
13
|
+
cursor?: string;
|
14
|
+
members: ToolsOzoneTeamDefs.Member[];
|
15
|
+
[k: string]: unknown;
|
16
|
+
}
|
17
|
+
export type HandlerInput = undefined;
|
18
|
+
export interface HandlerSuccess {
|
19
|
+
encoding: 'application/json';
|
20
|
+
body: OutputSchema;
|
21
|
+
headers?: {
|
22
|
+
[key: string]: string;
|
23
|
+
};
|
24
|
+
}
|
25
|
+
export interface HandlerError {
|
26
|
+
status: number;
|
27
|
+
message?: string;
|
28
|
+
}
|
29
|
+
export type HandlerOutput = HandlerError | HandlerSuccess | HandlerPipeThrough;
|
30
|
+
export type HandlerReqCtx<HA extends HandlerAuth = never> = {
|
31
|
+
auth: HA;
|
32
|
+
params: QueryParams;
|
33
|
+
input: HandlerInput;
|
34
|
+
req: express.Request;
|
35
|
+
res: express.Response;
|
36
|
+
};
|
37
|
+
export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
|
38
|
+
//# sourceMappingURL=listMembers.d.ts.map
|
@@ -0,0 +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,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACtE,OAAO,KAAK,kBAAkB,MAAM,QAAQ,CAAA;AAE5C,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,kBAAkB,CAAC,MAAM,EAAE,CAAA;IACpC,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;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;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 @@
|
|
1
|
+
{"version":3,"file":"listMembers.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/tools/ozone/team/listMembers.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,41 @@
|
|
1
|
+
/**
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
3
|
+
*/
|
4
|
+
import express from 'express';
|
5
|
+
import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server';
|
6
|
+
import * as ToolsOzoneTeamDefs from './defs';
|
7
|
+
export interface QueryParams {
|
8
|
+
}
|
9
|
+
export interface InputSchema {
|
10
|
+
did: string;
|
11
|
+
disabled?: boolean;
|
12
|
+
role?: 'tools.ozone.team.defs#roleAdmin' | 'tools.ozone.team.defs#roleModerator' | 'tools.ozone.team.defs#roleTriage' | (string & {});
|
13
|
+
[k: string]: unknown;
|
14
|
+
}
|
15
|
+
export type OutputSchema = ToolsOzoneTeamDefs.Member;
|
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
|
+
error?: 'MemberNotFound';
|
31
|
+
}
|
32
|
+
export type HandlerOutput = HandlerError | HandlerSuccess | HandlerPipeThrough;
|
33
|
+
export type HandlerReqCtx<HA extends HandlerAuth = never> = {
|
34
|
+
auth: HA;
|
35
|
+
params: QueryParams;
|
36
|
+
input: HandlerInput;
|
37
|
+
req: express.Request;
|
38
|
+
res: express.Response;
|
39
|
+
};
|
40
|
+
export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
|
41
|
+
//# sourceMappingURL=updateMember.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"updateMember.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/tools/ozone/team/updateMember.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAK7B,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACtE,OAAO,KAAK,kBAAkB,MAAM,QAAQ,CAAA;AAE5C,MAAM,WAAW,WAAW;CAAG;AAE/B,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE,MAAM,CAAA;IACX,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EACD,iCAAiC,GACjC,qCAAqC,GACrC,kCAAkC,GAClC,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;IACjB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,MAAM,MAAM,YAAY,GAAG,kBAAkB,CAAC,MAAM,CAAA;AAEpD,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;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"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"updateMember.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/tools/ozone/team/updateMember.ts"],"names":[],"mappings":""}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"pipethrough.d.ts","sourceRoot":"","sources":["../src/pipethrough.ts"],"names":[],"mappings":";;AAAA,OAAO,OAAO,MAAM,SAAS,CAAA;AAK7B,OAAO,EAAE,QAAQ,EAA2B,MAAM,kBAAkB,CAAA;AACpE,OAAO,EACL,eAAe,EACf,kBAAkB,EAEnB,MAAM,sBAAsB,CAAA;AAK7B,OAAO,UAAU,MAAM,WAAW,CAAA;AAElC,eAAO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,QAAS,UAAU,KAAG,eAiB9C,CAAA;AAED,eAAO,MAAM,WAAW,QACjB,UAAU,OACV,eAAe,aACT,MAAM,GAAG,IAAI,gBACV,MAAM,KACnB,QAAQ,kBAAkB,CAM5B,CAAA;AAED,eAAO,MAAM,oBAAoB,QAC1B,UAAU,OACV,eAAe,aACT,MAAM,GAAG,IAAI,SACjB,QAAQ,KACd,QAAQ,kBAAkB,CAS5B,CAAA;AAYD,eAAO,MAAM,eAAe,QACrB,UAAU,OACV,eAAe,gBACN,MAAM,KACnB,QAAQ;IAAE,GAAG,EAAE,GAAG,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,CAanC,CAAA;AAED,eAAO,MAAM,aAAa,QACnB,UAAU,OACV,eAAe,OACf,MAAM,aACA,MAAM,GAAG,IAAI,KACvB,QAAQ;IAAE,aAAa,CAAC,EAAE,MAAM,CAAA;CAAE,CAYpC,CAAA;AA6BD,eAAO,MAAM,gBAAgB,QACtB,UAAU,OACV,eAAe,KACnB,QAAQ;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAA;CAAE,GAAG,SAAS,CAgBzD,CAAA;AAKD,eAAO,MAAM,WAAW,QACjB,GAAG,WACC,WAAW,KACnB,QAAQ,QAAQ,CAoBlB,CAAA;AAYD,eAAO,MAAM,YAAY,gBACV,QAAQ,UACb,gBAAgB,kBAwBzB,CAAA;AAED,eAAO,MAAM,aAAa,QAAe,QAAQ;;;;EAWhD,CAAA;AAkCD,eAAO,MAAM,QAAQ,YAAa,MAAM,OAAO,kBAAkB,KAAG,CAKnE,CAAA"}
|
package/dist/pipethrough.js
CHANGED
@@ -223,6 +223,10 @@ exports.parseProxyRes = parseProxyRes;
|
|
223
223
|
const defaultService = (ctx, req) => {
|
224
224
|
const nsid = req.originalUrl.split('?')[0].replace('/xrpc/', '');
|
225
225
|
switch (nsid) {
|
226
|
+
case lexicons_1.ids.ToolsOzoneTeamAddMember:
|
227
|
+
case lexicons_1.ids.ToolsOzoneTeamDeleteMember:
|
228
|
+
case lexicons_1.ids.ToolsOzoneTeamUpdateMember:
|
229
|
+
case lexicons_1.ids.ToolsOzoneTeamListMembers:
|
226
230
|
case lexicons_1.ids.ToolsOzoneCommunicationCreateTemplate:
|
227
231
|
case lexicons_1.ids.ToolsOzoneCommunicationDeleteTemplate:
|
228
232
|
case lexicons_1.ids.ToolsOzoneCommunicationUpdateTemplate:
|
package/dist/pipethrough.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"pipethrough.js","sourceRoot":"","sources":["../src/pipethrough.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,iDAAkC;AAClC,wDAA0B;AAC1B,8DAAgC;AAEhC,8CAAoE;AACpE,sDAI6B;AAC7B,wCAAuD;AACvD,iDAAkD;AAClD,qCAAqC;AACrC,4CAAqE;AAG9D,MAAM,YAAY,GAAG,CAAC,GAAe,EAAmB,EAAE;IAC/D,MAAM,cAAc,GAAG,GAAG,CAAC,YAAY,CAAC,cAAc,EAAE,CAAA;IACxD,OAAO,KAAK,EAAE,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE;QAC9B,IAAI,CAAC;YACH,MAAM,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,MAAM,IAAA,uBAAe,EAAC,GAAG,EAAE,GAAG,CAAC,CAAA;YACpD,MAAM,IAAI,GAAG,MAAM,cAAc,CAAC,EAAE,GAAG,EAAE,CAAC,CAAA;YAC1C,MAAM,OAAO,GAAG,MAAM,IAAA,qBAAa,EAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAA;YACxE,MAAM,IAAI,GACR,qBAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;YAC5B,MAAM,OAAO,GAAG,aAAa,CAAC,GAAG,EAAE,OAAO,EAAE,IAAI,CAAC,CAAA;YACjD,MAAM,QAA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,GAAG,CAAC,OAAgB,EAA0B,EAAE;IACjE,MAAM,MAAM,GAAG,EAAE,CAAA;IACjB,KAAK,MAAM,CAAC,GAAG,EAAE,GAAG,CAAC,IAAI,OAAO,EAAE,CAAC;QACjC,MAAM,CAAC,GAAG,CAAC,GAAG,GAAG,CAAA;IACnB,CAAC;IACD,OAAO,MAAM,CAAA;AACf,CAAC,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;AAOtC,OAAO,EACL,OAAO,EACP,QAAQ,EAER,UAAU,EAIX,MAAM,kBAAkB,CAAA;AACzB,OAAO,EAEL,cAAc,EACd,cAAc,EACd,cAAc,EACd,aAAa,EAEd,MAAM,eAAe,CAAA;AACtB,OAAO,EACL,cAAc,EACd,cAAc,EACd,cAAc,EAEd,aAAa,EACb,eAAe,EAChB,MAAM,SAAS,CAAA;
|
1
|
+
{"version":3,"file":"prepare.d.ts","sourceRoot":"","sources":["../../src/repo/prepare.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AAOtC,OAAO,EACL,OAAO,EACP,QAAQ,EAER,UAAU,EAIX,MAAM,kBAAkB,CAAA;AACzB,OAAO,EAEL,cAAc,EACd,cAAc,EACd,cAAc,EACd,aAAa,EAEd,MAAM,eAAe,CAAA;AACtB,OAAO,EACL,cAAc,EACd,cAAc,EACd,cAAc,EAEd,aAAa,EACb,eAAe,EAChB,MAAM,SAAS,CAAA;AAUhB,eAAO,MAAM,iBAAiB,WAAY,OAAO,MAAM,EAAE,OAAO,CAAC,SAiBhE,CAAA;AAID,eAAO,MAAM,oBAAoB,WAAY,OAAO,MAAM,EAAE,OAAO,CAAC,SAYnE,CAAA;AAED,eAAO,MAAM,iBAAiB,eAChB,MAAM,UACV,UAAU,YACR,OAAO,eAWl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ist/repo/prepare.js
CHANGED
@@ -32,6 +32,7 @@ const repo_1 = require("@atproto/repo");
|
|
32
32
|
const types_1 = require("./types");
|
33
33
|
const lex = __importStar(require("../lexicon/lexicons"));
|
34
34
|
const generator_1 = require("../lexicon/types/app/bsky/feed/generator");
|
35
|
+
const starterpack_1 = require("../lexicon/types/app/bsky/graph/starterpack");
|
35
36
|
const post_1 = require("../lexicon/types/app/bsky/feed/post");
|
36
37
|
const facet_1 = require("../lexicon/types/app/bsky/richtext/facet");
|
37
38
|
const list_1 = require("../lexicon/types/app/bsky/graph/list");
|
@@ -179,6 +180,9 @@ function assertNoExplicitSlurs(rkey, record) {
|
|
179
180
|
else if ((0, list_1.isRecord)(record)) {
|
180
181
|
toCheck += ' ' + record.name;
|
181
182
|
}
|
183
|
+
else if ((0, starterpack_1.isRecord)(record)) {
|
184
|
+
toCheck += ' ' + record.name;
|
185
|
+
}
|
182
186
|
else if ((0, generator_1.isRecord)(record)) {
|
183
187
|
toCheck += ' ' + rkey;
|
184
188
|
toCheck += ' ' + record.displayName;
|
package/dist/repo/prepare.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"prepare.js","sourceRoot":"","sources":["../../src/repo/prepare.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0CAAsC;AACtC,4CAIwB;AACxB,4CAA6D;AAC7D,8CAQyB;AACzB,wCAOsB;AACtB,mCAOgB;AAChB,yDAA0C;AAC1C,wEAAsF;AACtF,8DAAwE;AACxE,oEAAgE;AAChE,+DAAyE;AACzE,qEAA+E;AAC/E,6DAA0D;AAEnD,MAAM,iBAAiB,GAAG,CAAC,MAA+B,EAAE,EAAE;IACnE,IAAI,OAAO,MAAM,CAAC,KAAK,KAAK,QAAQ,EAAE,CAAC;QACrC,MAAM,IAAI,0BAAkB,CAAC,mBAAmB,CAAC,CAAA;IACnD,CAAC;IACD,IAAI,CAAC;QACH,GAAG,CAAC,QAAQ,CAAC,iBAAiB,C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GAAG,CAAC,gBAAgB,CAAC,EAAE;QAC1B,MAAM,EAAE,GAAG,CAAC,UAAU,CAAC,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"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@atproto/pds",
|
3
|
-
"version": "0.4.
|
3
|
+
"version": "0.4.38",
|
4
4
|
"license": "MIT",
|
5
5
|
"description": "Reference implementation of atproto Personal Data Server (PDS)",
|
6
6
|
"keywords": [
|
@@ -44,7 +44,7 @@
|
|
44
44
|
"uint8arrays": "3.0.0",
|
45
45
|
"zod": "^3.23.8",
|
46
46
|
"@atproto-labs/fetch-node": "0.1.0",
|
47
|
-
"@atproto/api": "^0.12.
|
47
|
+
"@atproto/api": "^0.12.22",
|
48
48
|
"@atproto/aws": "^0.2.0",
|
49
49
|
"@atproto/common": "^0.4.0",
|
50
50
|
"@atproto/crypto": "^0.4.0",
|
@@ -54,7 +54,7 @@
|
|
54
54
|
"@atproto/repo": "^0.4.0",
|
55
55
|
"@atproto/syntax": "^0.3.0",
|
56
56
|
"@atproto/xrpc": "^0.5.0",
|
57
|
-
"@atproto/xrpc-server": "^0.5.
|
57
|
+
"@atproto/xrpc-server": "^0.5.2"
|
58
58
|
},
|
59
59
|
"devDependencies": {
|
60
60
|
"@atproto/pds-entryway": "npm:@atproto/pds@0.3.0-entryway.3",
|
@@ -72,8 +72,8 @@
|
|
72
72
|
"jest": "^28.1.2",
|
73
73
|
"ts-node": "^10.8.2",
|
74
74
|
"ws": "^8.12.0",
|
75
|
-
"@atproto/api": "^0.12.
|
76
|
-
"@atproto/bsky": "^0.0.
|
75
|
+
"@atproto/api": "^0.12.22",
|
76
|
+
"@atproto/bsky": "^0.0.65",
|
77
77
|
"@atproto/lex-cli": "^0.4.0"
|
78
78
|
},
|
79
79
|
"scripts": {
|
package/src/lexicon/index.ts
CHANGED
@@ -107,6 +107,7 @@ import * as AppBskyFeedGetSuggestedFeeds from './types/app/bsky/feed/getSuggeste
|
|
107
107
|
import * as AppBskyFeedGetTimeline from './types/app/bsky/feed/getTimeline'
|
108
108
|
import * as AppBskyFeedSearchPosts from './types/app/bsky/feed/searchPosts'
|
109
109
|
import * as AppBskyFeedSendInteractions from './types/app/bsky/feed/sendInteractions'
|
110
|
+
import * as AppBskyGraphGetActorStarterPacks from './types/app/bsky/graph/getActorStarterPacks'
|
110
111
|
import * as AppBskyGraphGetBlocks from './types/app/bsky/graph/getBlocks'
|
111
112
|
import * as AppBskyGraphGetFollowers from './types/app/bsky/graph/getFollowers'
|
112
113
|
import * as AppBskyGraphGetFollows from './types/app/bsky/graph/getFollows'
|
@@ -117,6 +118,8 @@ import * as AppBskyGraphGetListMutes from './types/app/bsky/graph/getListMutes'
|
|
117
118
|
import * as AppBskyGraphGetLists from './types/app/bsky/graph/getLists'
|
118
119
|
import * as AppBskyGraphGetMutes from './types/app/bsky/graph/getMutes'
|
119
120
|
import * as AppBskyGraphGetRelationships from './types/app/bsky/graph/getRelationships'
|
121
|
+
import * as AppBskyGraphGetStarterPack from './types/app/bsky/graph/getStarterPack'
|
122
|
+
import * as AppBskyGraphGetStarterPacks from './types/app/bsky/graph/getStarterPacks'
|
120
123
|
import * as AppBskyGraphGetSuggestedFollowsByActor from './types/app/bsky/graph/getSuggestedFollowsByActor'
|
121
124
|
import * as AppBskyGraphMuteActor from './types/app/bsky/graph/muteActor'
|
122
125
|
import * as AppBskyGraphMuteActorList from './types/app/bsky/graph/muteActorList'
|
@@ -163,6 +166,10 @@ import * as ToolsOzoneModerationQueryEvents from './types/tools/ozone/moderation
|
|
163
166
|
import * as ToolsOzoneModerationQueryStatuses from './types/tools/ozone/moderation/queryStatuses'
|
164
167
|
import * as ToolsOzoneModerationSearchRepos from './types/tools/ozone/moderation/searchRepos'
|
165
168
|
import * as ToolsOzoneServerGetConfig from './types/tools/ozone/server/getConfig'
|
169
|
+
import * as ToolsOzoneTeamAddMember from './types/tools/ozone/team/addMember'
|
170
|
+
import * as ToolsOzoneTeamDeleteMember from './types/tools/ozone/team/deleteMember'
|
171
|
+
import * as ToolsOzoneTeamListMembers from './types/tools/ozone/team/listMembers'
|
172
|
+
import * as ToolsOzoneTeamUpdateMember from './types/tools/ozone/team/updateMember'
|
166
173
|
|
167
174
|
export const COM_ATPROTO_MODERATION = {
|
168
175
|
DefsReasonSpam: 'com.atproto.moderation.defs#reasonSpam',
|
@@ -190,6 +197,7 @@ export const APP_BSKY_FEED = {
|
|
190
197
|
export const APP_BSKY_GRAPH = {
|
191
198
|
DefsModlist: 'app.bsky.graph.defs#modlist',
|
192
199
|
DefsCuratelist: 'app.bsky.graph.defs#curatelist',
|
200
|
+
DefsReferencelist: 'app.bsky.graph.defs#referencelist',
|
193
201
|
}
|
194
202
|
export const TOOLS_OZONE_MODERATION = {
|
195
203
|
DefsReviewOpen: 'tools.ozone.moderation.defs#reviewOpen',
|
@@ -197,6 +205,11 @@ export const TOOLS_OZONE_MODERATION = {
|
|
197
205
|
DefsReviewClosed: 'tools.ozone.moderation.defs#reviewClosed',
|
198
206
|
DefsReviewNone: 'tools.ozone.moderation.defs#reviewNone',
|
199
207
|
}
|
208
|
+
export const TOOLS_OZONE_TEAM = {
|
209
|
+
DefsRoleAdmin: 'tools.ozone.team.defs#roleAdmin',
|
210
|
+
DefsRoleModerator: 'tools.ozone.team.defs#roleModerator',
|
211
|
+
DefsRoleTriage: 'tools.ozone.team.defs#roleTriage',
|
212
|
+
}
|
200
213
|
|
201
214
|
export function createServer(options?: XrpcOptions): Server {
|
202
215
|
return new Server(options)
|
@@ -1463,6 +1476,17 @@ export class AppBskyGraphNS {
|
|
1463
1476
|
this._server = server
|
1464
1477
|
}
|
1465
1478
|
|
1479
|
+
getActorStarterPacks<AV extends AuthVerifier>(
|
1480
|
+
cfg: ConfigOf<
|
1481
|
+
AV,
|
1482
|
+
AppBskyGraphGetActorStarterPacks.Handler<ExtractAuth<AV>>,
|
1483
|
+
AppBskyGraphGetActorStarterPacks.HandlerReqCtx<ExtractAuth<AV>>
|
1484
|
+
>,
|
1485
|
+
) {
|
1486
|
+
const nsid = 'app.bsky.graph.getActorStarterPacks' // @ts-ignore
|
1487
|
+
return this._server.xrpc.method(nsid, cfg)
|
1488
|
+
}
|
1489
|
+
|
1466
1490
|
getBlocks<AV extends AuthVerifier>(
|
1467
1491
|
cfg: ConfigOf<
|
1468
1492
|
AV,
|
@@ -1573,6 +1597,28 @@ export class AppBskyGraphNS {
|
|
1573
1597
|
return this._server.xrpc.method(nsid, cfg)
|
1574
1598
|
}
|
1575
1599
|
|
1600
|
+
getStarterPack<AV extends AuthVerifier>(
|
1601
|
+
cfg: ConfigOf<
|
1602
|
+
AV,
|
1603
|
+
AppBskyGraphGetStarterPack.Handler<ExtractAuth<AV>>,
|
1604
|
+
AppBskyGraphGetStarterPack.HandlerReqCtx<ExtractAuth<AV>>
|
1605
|
+
>,
|
1606
|
+
) {
|
1607
|
+
const nsid = 'app.bsky.graph.getStarterPack' // @ts-ignore
|
1608
|
+
return this._server.xrpc.method(nsid, cfg)
|
1609
|
+
}
|
1610
|
+
|
1611
|
+
getStarterPacks<AV extends AuthVerifier>(
|
1612
|
+
cfg: ConfigOf<
|
1613
|
+
AV,
|
1614
|
+
AppBskyGraphGetStarterPacks.Handler<ExtractAuth<AV>>,
|
1615
|
+
AppBskyGraphGetStarterPacks.HandlerReqCtx<ExtractAuth<AV>>
|
1616
|
+
>,
|
1617
|
+
) {
|
1618
|
+
const nsid = 'app.bsky.graph.getStarterPacks' // @ts-ignore
|
1619
|
+
return this._server.xrpc.method(nsid, cfg)
|
1620
|
+
}
|
1621
|
+
|
1576
1622
|
getSuggestedFollowsByActor<AV extends AuthVerifier>(
|
1577
1623
|
cfg: ConfigOf<
|
1578
1624
|
AV,
|
@@ -2043,12 +2089,14 @@ export class ToolsOzoneNS {
|
|
2043
2089
|
communication: ToolsOzoneCommunicationNS
|
2044
2090
|
moderation: ToolsOzoneModerationNS
|
2045
2091
|
server: ToolsOzoneServerNS
|
2092
|
+
team: ToolsOzoneTeamNS
|
2046
2093
|
|
2047
2094
|
constructor(server: Server) {
|
2048
2095
|
this._server = server
|
2049
2096
|
this.communication = new ToolsOzoneCommunicationNS(server)
|
2050
2097
|
this.moderation = new ToolsOzoneModerationNS(server)
|
2051
2098
|
this.server = new ToolsOzoneServerNS(server)
|
2099
|
+
this.team = new ToolsOzoneTeamNS(server)
|
2052
2100
|
}
|
2053
2101
|
}
|
2054
2102
|
|
@@ -2208,6 +2256,58 @@ export class ToolsOzoneServerNS {
|
|
2208
2256
|
}
|
2209
2257
|
}
|
2210
2258
|
|
2259
|
+
export class ToolsOzoneTeamNS {
|
2260
|
+
_server: Server
|
2261
|
+
|
2262
|
+
constructor(server: Server) {
|
2263
|
+
this._server = server
|
2264
|
+
}
|
2265
|
+
|
2266
|
+
addMember<AV extends AuthVerifier>(
|
2267
|
+
cfg: ConfigOf<
|
2268
|
+
AV,
|
2269
|
+
ToolsOzoneTeamAddMember.Handler<ExtractAuth<AV>>,
|
2270
|
+
ToolsOzoneTeamAddMember.HandlerReqCtx<ExtractAuth<AV>>
|
2271
|
+
>,
|
2272
|
+
) {
|
2273
|
+
const nsid = 'tools.ozone.team.addMember' // @ts-ignore
|
2274
|
+
return this._server.xrpc.method(nsid, cfg)
|
2275
|
+
}
|
2276
|
+
|
2277
|
+
deleteMember<AV extends AuthVerifier>(
|
2278
|
+
cfg: ConfigOf<
|
2279
|
+
AV,
|
2280
|
+
ToolsOzoneTeamDeleteMember.Handler<ExtractAuth<AV>>,
|
2281
|
+
ToolsOzoneTeamDeleteMember.HandlerReqCtx<ExtractAuth<AV>>
|
2282
|
+
>,
|
2283
|
+
) {
|
2284
|
+
const nsid = 'tools.ozone.team.deleteMember' // @ts-ignore
|
2285
|
+
return this._server.xrpc.method(nsid, cfg)
|
2286
|
+
}
|
2287
|
+
|
2288
|
+
listMembers<AV extends AuthVerifier>(
|
2289
|
+
cfg: ConfigOf<
|
2290
|
+
AV,
|
2291
|
+
ToolsOzoneTeamListMembers.Handler<ExtractAuth<AV>>,
|
2292
|
+
ToolsOzoneTeamListMembers.HandlerReqCtx<ExtractAuth<AV>>
|
2293
|
+
>,
|
2294
|
+
) {
|
2295
|
+
const nsid = 'tools.ozone.team.listMembers' // @ts-ignore
|
2296
|
+
return this._server.xrpc.method(nsid, cfg)
|
2297
|
+
}
|
2298
|
+
|
2299
|
+
updateMember<AV extends AuthVerifier>(
|
2300
|
+
cfg: ConfigOf<
|
2301
|
+
AV,
|
2302
|
+
ToolsOzoneTeamUpdateMember.Handler<ExtractAuth<AV>>,
|
2303
|
+
ToolsOzoneTeamUpdateMember.HandlerReqCtx<ExtractAuth<AV>>
|
2304
|
+
>,
|
2305
|
+
) {
|
2306
|
+
const nsid = 'tools.ozone.team.updateMember' // @ts-ignore
|
2307
|
+
return this._server.xrpc.method(nsid, cfg)
|
2308
|
+
}
|
2309
|
+
}
|
2310
|
+
|
2211
2311
|
type SharedRateLimitOpts<T> = {
|
2212
2312
|
name: string
|
2213
2313
|
calcKey?: (ctx: T) => string
|