@atproto/pds 0.4.60 → 0.4.62

Sign up to get free protection for your applications and to get access to all the features.
Files changed (114) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/dist/account-manager/helpers/account.d.ts +1 -0
  3. package/dist/account-manager/helpers/account.d.ts.map +1 -1
  4. package/dist/account-manager/helpers/account.js +15 -1
  5. package/dist/account-manager/helpers/account.js.map +1 -1
  6. package/dist/account-manager/helpers/invite.d.ts +1 -1
  7. package/dist/account-manager/helpers/invite.d.ts.map +1 -1
  8. package/dist/account-manager/helpers/invite.js +20 -9
  9. package/dist/account-manager/helpers/invite.js.map +1 -1
  10. package/dist/account-manager/helpers/token.d.ts +16 -16
  11. package/dist/account-manager/index.d.ts +2 -0
  12. package/dist/account-manager/index.d.ts.map +1 -1
  13. package/dist/account-manager/index.js +8 -1
  14. package/dist/account-manager/index.js.map +1 -1
  15. package/dist/api/com/atproto/admin/getAccountInfo.d.ts.map +1 -1
  16. package/dist/api/com/atproto/admin/getAccountInfo.js +6 -14
  17. package/dist/api/com/atproto/admin/getAccountInfo.js.map +1 -1
  18. package/dist/api/com/atproto/admin/getAccountInfos.d.ts +4 -0
  19. package/dist/api/com/atproto/admin/getAccountInfos.d.ts.map +1 -0
  20. package/dist/api/com/atproto/admin/getAccountInfos.js +32 -0
  21. package/dist/api/com/atproto/admin/getAccountInfos.js.map +1 -0
  22. package/dist/api/com/atproto/admin/index.d.ts.map +1 -1
  23. package/dist/api/com/atproto/admin/index.js +2 -0
  24. package/dist/api/com/atproto/admin/index.js.map +1 -1
  25. package/dist/api/com/atproto/admin/util.d.ts +17 -0
  26. package/dist/api/com/atproto/admin/util.d.ts.map +1 -1
  27. package/dist/api/com/atproto/admin/util.js +27 -1
  28. package/dist/api/com/atproto/admin/util.js.map +1 -1
  29. package/dist/api/com/atproto/repo/getRecord.d.ts.map +1 -1
  30. package/dist/api/com/atproto/repo/getRecord.js +1 -1
  31. package/dist/api/com/atproto/repo/getRecord.js.map +1 -1
  32. package/dist/config/config.d.ts +8 -0
  33. package/dist/config/config.d.ts.map +1 -1
  34. package/dist/config/config.js +1 -0
  35. package/dist/config/config.js.map +1 -1
  36. package/dist/config/env.d.ts +1 -0
  37. package/dist/config/env.d.ts.map +1 -1
  38. package/dist/config/env.js +1 -0
  39. package/dist/config/env.js.map +1 -1
  40. package/dist/lexicon/index.d.ts +15 -0
  41. package/dist/lexicon/index.d.ts.map +1 -1
  42. package/dist/lexicon/index.js +40 -1
  43. package/dist/lexicon/index.js.map +1 -1
  44. package/dist/lexicon/lexicons.d.ts +261 -0
  45. package/dist/lexicon/lexicons.d.ts.map +1 -1
  46. package/dist/lexicon/lexicons.js +269 -0
  47. package/dist/lexicon/lexicons.js.map +1 -1
  48. package/dist/lexicon/types/com/atproto/repo/getRecord.d.ts +1 -0
  49. package/dist/lexicon/types/com/atproto/repo/getRecord.d.ts.map +1 -1
  50. package/dist/lexicon/types/tools/ozone/moderation/getRecords.d.ts +39 -0
  51. package/dist/lexicon/types/tools/ozone/moderation/getRecords.d.ts.map +1 -0
  52. package/dist/lexicon/types/tools/ozone/moderation/getRecords.js +3 -0
  53. package/dist/lexicon/types/tools/ozone/moderation/getRecords.js.map +1 -0
  54. package/dist/lexicon/types/tools/ozone/moderation/getRepos.d.ts +39 -0
  55. package/dist/lexicon/types/tools/ozone/moderation/getRepos.d.ts.map +1 -0
  56. package/dist/lexicon/types/tools/ozone/moderation/getRepos.js +3 -0
  57. package/dist/lexicon/types/tools/ozone/moderation/getRepos.js.map +1 -0
  58. package/dist/lexicon/types/tools/ozone/signature/defs.d.ts +12 -0
  59. package/dist/lexicon/types/tools/ozone/signature/defs.d.ts.map +1 -0
  60. package/dist/lexicon/types/tools/ozone/signature/defs.js +16 -0
  61. package/dist/lexicon/types/tools/ozone/signature/defs.js.map +1 -0
  62. package/dist/lexicon/types/tools/ozone/signature/findCorrelation.d.ts +36 -0
  63. package/dist/lexicon/types/tools/ozone/signature/findCorrelation.d.ts.map +1 -0
  64. package/dist/lexicon/types/tools/ozone/signature/findCorrelation.js +3 -0
  65. package/dist/lexicon/types/tools/ozone/signature/findCorrelation.js.map +1 -0
  66. package/dist/lexicon/types/tools/ozone/signature/findRelatedAccounts.d.ts +48 -0
  67. package/dist/lexicon/types/tools/ozone/signature/findRelatedAccounts.d.ts.map +1 -0
  68. package/dist/lexicon/types/tools/ozone/signature/findRelatedAccounts.js +16 -0
  69. package/dist/lexicon/types/tools/ozone/signature/findRelatedAccounts.js.map +1 -0
  70. package/dist/lexicon/types/tools/ozone/signature/searchAccounts.d.ts +39 -0
  71. package/dist/lexicon/types/tools/ozone/signature/searchAccounts.d.ts.map +1 -0
  72. package/dist/lexicon/types/tools/ozone/signature/searchAccounts.js +3 -0
  73. package/dist/lexicon/types/tools/ozone/signature/searchAccounts.js.map +1 -0
  74. package/dist/mailer/templates/confirm-email.js +1 -1
  75. package/dist/mailer/templates/confirm-email.js.map +1 -1
  76. package/dist/mailer/templates/delete-account.js +1 -1
  77. package/dist/mailer/templates/delete-account.js.map +1 -1
  78. package/dist/mailer/templates/plc-operation.js +1 -1
  79. package/dist/mailer/templates/plc-operation.js.map +1 -1
  80. package/dist/mailer/templates/reset-password.js +1 -1
  81. package/dist/mailer/templates/reset-password.js.map +1 -1
  82. package/dist/mailer/templates/update-email.js +1 -1
  83. package/dist/mailer/templates/update-email.js.map +1 -1
  84. package/dist/pipethrough.d.ts +1 -1
  85. package/dist/pipethrough.d.ts.map +1 -1
  86. package/dist/pipethrough.js +105 -73
  87. package/dist/pipethrough.js.map +1 -1
  88. package/package.json +11 -11
  89. package/src/account-manager/helpers/account.ts +22 -0
  90. package/src/account-manager/helpers/invite.ts +19 -9
  91. package/src/account-manager/index.ts +13 -1
  92. package/src/api/com/atproto/admin/getAccountInfo.ts +6 -13
  93. package/src/api/com/atproto/admin/getAccountInfos.ts +33 -0
  94. package/src/api/com/atproto/admin/index.ts +2 -0
  95. package/src/api/com/atproto/admin/util.ts +38 -0
  96. package/src/api/com/atproto/repo/getRecord.ts +4 -1
  97. package/src/config/config.ts +10 -0
  98. package/src/config/env.ts +2 -0
  99. package/src/lexicon/index.ts +70 -0
  100. package/src/lexicon/lexicons.ts +273 -0
  101. package/src/lexicon/types/com/atproto/repo/getRecord.ts +1 -0
  102. package/src/lexicon/types/tools/ozone/moderation/getRecords.ts +50 -0
  103. package/src/lexicon/types/tools/ozone/moderation/getRepos.ts +50 -0
  104. package/src/lexicon/types/tools/ozone/signature/defs.ts +25 -0
  105. package/src/lexicon/types/tools/ozone/signature/findCorrelation.ts +46 -0
  106. package/src/lexicon/types/tools/ozone/signature/findRelatedAccounts.ts +71 -0
  107. package/src/lexicon/types/tools/ozone/signature/searchAccounts.ts +49 -0
  108. package/src/mailer/templates/confirm-email.hbs +1 -1
  109. package/src/mailer/templates/delete-account.hbs +1 -1
  110. package/src/mailer/templates/plc-operation.hbs +1 -1
  111. package/src/mailer/templates/reset-password.hbs +1 -1
  112. package/src/mailer/templates/update-email.hbs +1 -1
  113. package/src/pipethrough.ts +131 -92
  114. package/tests/proxied/read-after-write.test.ts +77 -0
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const xrpc_server_1 = require("@atproto/xrpc-server");
4
- const syntax_1 = require("@atproto/syntax");
4
+ const util_1 = require("./util");
5
5
  function default_1(server, ctx) {
6
6
  server.com.atproto.admin.getAccountInfo({
7
7
  auth: ctx.authVerifier.moderator,
@@ -20,19 +20,11 @@ function default_1(server, ctx) {
20
20
  const managesOwnInvites = !ctx.cfg.entryway;
21
21
  return {
22
22
  encoding: 'application/json',
23
- body: {
24
- did: account.did,
25
- handle: account.handle ?? syntax_1.INVALID_HANDLE,
26
- email: account.email ?? undefined,
27
- indexedAt: account.createdAt,
28
- emailConfirmedAt: account.emailConfirmedAt ?? undefined,
29
- invitedBy: managesOwnInvites ? invitedBy[params.did] : undefined,
30
- invites: managesOwnInvites ? invites : undefined,
31
- invitesDisabled: managesOwnInvites
32
- ? account.invitesDisabled === 1
33
- : undefined,
34
- deactivatedAt: account.deactivatedAt ?? undefined,
35
- },
23
+ body: (0, util_1.formatAccountInfo)(account, {
24
+ managesOwnInvites,
25
+ invitedBy,
26
+ invites,
27
+ }),
36
28
  };
37
29
  },
38
30
  });
@@ -1 +1 @@
1
- {"version":3,"file":"getAccountInfo.js","sourceRoot":"","sources":["../../../../../src/api/com/atproto/admin/getAccountInfo.ts"],"names":[],"mappings":";;AAEA,sDAA0D;AAC1D,4CAAgD;AAEhD,mBAAyB,MAAc,EAAE,GAAe;IACtD,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,KAAK,CAAC,cAAc,CAAC;QACtC,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,SAAS;QAChC,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE;YAC5B,MAAM,CAAC,OAAO,EAAE,OAAO,EAAE,SAAS,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;gBACtD,GAAG,CAAC,cAAc,CAAC,UAAU,CAAC,MAAM,CAAC,GAAG,EAAE;oBACxC,kBAAkB,EAAE,IAAI;oBACxB,gBAAgB,EAAE,IAAI;iBACvB,CAAC;gBACF,GAAG,CAAC,cAAc,CAAC,sBAAsB,CAAC,MAAM,CAAC,GAAG,CAAC;gBACrD,GAAG,CAAC,cAAc,CAAC,uBAAuB,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;aACzD,CAAC,CAAA;YACF,IAAI,CAAC,OAAO,EAAE,CAAC;gBACb,MAAM,IAAI,iCAAmB,CAAC,mBAAmB,EAAE,UAAU,CAAC,CAAA;YAChE,CAAC;YACD,MAAM,iBAAiB,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,QAAQ,CAAA;YAC3C,OAAO;gBACL,QAAQ,EAAE,kBAAkB;gBAC5B,IAAI,EAAE;oBACJ,GAAG,EAAE,OAAO,CAAC,GAAG;oBAChB,MAAM,EAAE,OAAO,CAAC,MAAM,IAAI,uBAAc;oBACxC,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AAC,GAAG,CAAC,CAAC;aACzD,CAAC,CAAA;YACF,IAAI,CAAC,OAAO,EAAE,CAAC;gBACb,MAAM,IAAI,iCAAmB,CAAC,mBAAmB,EAAE,UAAU,CAAC,CAAA;YAChE,CAAC;YACD,MAAM,iBAAiB,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,QAAQ,CAAA;YAC3C,OAAO;gBACL,QAAQ,EAAE,kBAAkB;gBAC5B,IAAI,EAAE,IAAA,wBAAiB,EAAC,OAAO,EAAE;oBAC/B,iBAAiB;oBACjB,SAAS;oBACT,OAAO;iBACR,CAAC;aACH,CAAA;QACH,CAAC;KACF,CAAC,CAAA;AACJ,CAAC;AA1BD,4BA0BC"}
@@ -0,0 +1,4 @@
1
+ import { Server } from '../../../../lexicon';
2
+ import AppContext from '../../../../context';
3
+ export default function (server: Server, ctx: AppContext): void;
4
+ //# sourceMappingURL=getAccountInfos.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getAccountInfos.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/admin/getAccountInfos.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAC5C,OAAO,UAAU,MAAM,qBAAqB,CAAA;AAG5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QA4BvD"}
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const util_1 = require("./util");
4
+ function default_1(server, ctx) {
5
+ server.com.atproto.admin.getAccountInfos({
6
+ auth: ctx.authVerifier.moderator,
7
+ handler: async ({ params }) => {
8
+ const [accounts, invites, invitedBy] = await Promise.all([
9
+ ctx.accountManager.getAccounts(params.dids, {
10
+ includeDeactivated: true,
11
+ includeTakenDown: true,
12
+ }),
13
+ ctx.accountManager.getAccountsInvitesCodes(params.dids),
14
+ ctx.accountManager.getInvitedByForAccounts(params.dids),
15
+ ]);
16
+ const managesOwnInvites = !ctx.cfg.entryway;
17
+ const infos = Array.from(accounts.values()).map((account) => {
18
+ return (0, util_1.formatAccountInfo)(account, {
19
+ managesOwnInvites,
20
+ invitedBy,
21
+ invites,
22
+ });
23
+ });
24
+ return {
25
+ encoding: 'application/json',
26
+ body: { infos },
27
+ };
28
+ },
29
+ });
30
+ }
31
+ exports.default = default_1;
32
+ //# sourceMappingURL=getAccountInfos.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getAccountInfos.js","sourceRoot":"","sources":["../../../../../src/api/com/atproto/admin/getAccountInfos.ts"],"names":[],"mappings":";;AAEA,iCAA0C;AAE1C,mBAAyB,MAAc,EAAE,GAAe;IACtD,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,KAAK,CAAC,eAAe,CAAC;QACvC,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,SAAS;QAChC,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE;YAC5B,MAAM,CAAC,QAAQ,EAAE,OAAO,EAAE,SAAS,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;gBACvD,GAAG,CAAC,cAAc,CAAC,WAAW,CAAC,MAAM,CAAC,IAAI,EAAE;oBAC1C,kBAAkB,EAAE,IAAI;oBACxB,gBAAgB,EAAE,IAAI;iBACvB,CAAC;gBACF,GAAG,CAAC,cAAc,CAAC,uBAAuB,CAAC,MAAM,CAAC,IAAI,CAAC;gBACvD,GAAG,CAAC,cAAc,CAAC,uBAAuB,CAAC,MAAM,CAAC,IAAI,CAAC;aACxD,CAAC,CAAA;YAEF,MAAM,iBAAiB,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,QAAQ,CAAA;YAC3C,MAAM,KAAK,GAAG,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE;gBAC1D,OAAO,IAAA,wBAAiB,EAAC,OAAO,EAAE;oBAChC,iBAAiB;oBACjB,SAAS;oBACT,OAAO;iBACR,CAAC,CAAA;YACJ,CAAC,CAAC,CAAA;YAEF,OAAO;gBACL,QAAQ,EAAE,kBAAkB;gBAC5B,IAAI,EAAE,EAAE,KAAK,EAAE;aAChB,CAAA;QACH,CAAC;KACF,CAAC,CAAA;AACJ,CAAC;AA5BD,4BA4BC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/admin/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,qBAAqB,CAAA;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAc5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QAavD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/admin/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,qBAAqB,CAAA;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAe5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QAcvD"}
@@ -15,10 +15,12 @@ const updateAccountEmail_1 = __importDefault(require("./updateAccountEmail"));
15
15
  const updateAccountPassword_1 = __importDefault(require("./updateAccountPassword"));
16
16
  const sendEmail_1 = __importDefault(require("./sendEmail"));
17
17
  const deleteAccount_1 = __importDefault(require("./deleteAccount"));
18
+ const getAccountInfos_1 = __importDefault(require("./getAccountInfos"));
18
19
  function default_1(server, ctx) {
19
20
  (0, updateSubjectStatus_1.default)(server, ctx);
20
21
  (0, getSubjectStatus_1.default)(server, ctx);
21
22
  (0, getAccountInfo_1.default)(server, ctx);
23
+ (0, getAccountInfos_1.default)(server, ctx);
22
24
  (0, enableAccountInvites_1.default)(server, ctx);
23
25
  (0, disableAccountInvites_1.default)(server, ctx);
24
26
  (0, disableInviteCodes_1.default)(server, ctx);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/api/com/atproto/admin/index.ts"],"names":[],"mappings":";;;;;AAEA,gFAAuD;AACvD,0EAAiD;AACjD,sEAA6C;AAC7C,kFAAyD;AACzD,oFAA2D;AAC3D,8EAAqD;AACrD,sEAA6C;AAC7C,gFAAuD;AACvD,8EAAqD;AACrD,oFAA2D;AAC3D,4DAAmC;AACnC,oEAA2C;AAE3C,mBAAyB,MAAc,EAAE,GAAe;IACtD,IAAA,6BAAmB,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAChC,IAAA,0BAAgB,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC7B,IAAA,wBAAc,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC3B,IAAA,8BAAoB,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IACjC,IAAA,+BAAqB,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAClC,IAAA,4BAAkB,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC/B,IAAA,wBAAc,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC3B,IAAA,6BAAmB,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAChC,IAAA,4BAAkB,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC/B,IAAA,+BAAqB,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAClC,IAAA,mBAAS,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IACtB,IAAA,uBAAa,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;AAC5B,CAAC;AAbD,4BAaC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/api/com/atproto/admin/index.ts"],"names":[],"mappings":";;;;;AAEA,gFAAuD;AACvD,0EAAiD;AACjD,sEAA6C;AAC7C,kFAAyD;AACzD,oFAA2D;AAC3D,8EAAqD;AACrD,sEAA6C;AAC7C,gFAAuD;AACvD,8EAAqD;AACrD,oFAA2D;AAC3D,4DAAmC;AACnC,oEAA2C;AAC3C,wEAA+C;AAE/C,mBAAyB,MAAc,EAAE,GAAe;IACtD,IAAA,6BAAmB,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAChC,IAAA,0BAAgB,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC7B,IAAA,wBAAc,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC3B,IAAA,yBAAe,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC5B,IAAA,8BAAoB,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IACjC,IAAA,+BAAqB,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAClC,IAAA,4BAAkB,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC/B,IAAA,wBAAc,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC3B,IAAA,6BAAmB,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAChC,IAAA,4BAAkB,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC/B,IAAA,+BAAqB,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAClC,IAAA,mBAAS,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IACtB,IAAA,uBAAa,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;AAC5B,CAAC;AAdD,4BAcC"}
@@ -1,4 +1,6 @@
1
1
  import express from 'express';
2
+ import { ActorAccount } from '../../../../account-manager/helpers/account';
3
+ import { CodeDetail } from '../../../../account-manager/helpers/invite';
2
4
  export declare function authPassthru(req: express.Request, withEncoding?: false): {
3
5
  headers: {
4
6
  authorization: string;
@@ -11,4 +13,19 @@ export declare function authPassthru(req: express.Request, withEncoding: true):
11
13
  };
12
14
  encoding: 'application/json';
13
15
  } | undefined;
16
+ export declare function formatAccountInfo(account: ActorAccount, { managesOwnInvites, invitedBy, invites, }: {
17
+ managesOwnInvites: boolean;
18
+ invites: Map<string, CodeDetail[]> | CodeDetail[];
19
+ invitedBy: Record<string, CodeDetail>;
20
+ }): {
21
+ did: string;
22
+ handle: string;
23
+ email: string | undefined;
24
+ indexedAt: string;
25
+ emailConfirmedAt: string | undefined;
26
+ invitedBy: CodeDetail | undefined;
27
+ invites: CodeDetail[] | undefined;
28
+ invitesDisabled: boolean | undefined;
29
+ deactivatedAt: string | undefined;
30
+ };
14
31
  //# sourceMappingURL=util.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/admin/util.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,SAAS,CAAA;AAI7B,wBAAgB,YAAY,CAC1B,GAAG,EAAE,OAAO,CAAC,OAAO,EACpB,YAAY,CAAC,EAAE,KAAK,GACnB;IAAE,OAAO,EAAE;QAAE,aAAa,EAAE,MAAM,CAAA;KAAE,CAAC;IAAC,QAAQ,EAAE,SAAS,CAAA;CAAE,GAAG,SAAS,CAAA;AAE1E,wBAAgB,YAAY,CAC1B,GAAG,EAAE,OAAO,CAAC,OAAO,EACpB,YAAY,EAAE,IAAI,GAEhB;IAAE,OAAO,EAAE;QAAE,aAAa,EAAE,MAAM,CAAA;KAAE,CAAC;IAAC,QAAQ,EAAE,kBAAkB,CAAA;CAAE,GACpE,SAAS,CAAA"}
1
+ {"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/admin/util.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,SAAS,CAAA;AAC7B,OAAO,EAAE,YAAY,EAAE,MAAM,6CAA6C,CAAA;AAE1E,OAAO,EAAE,UAAU,EAAE,MAAM,4CAA4C,CAAA;AAIvE,wBAAgB,YAAY,CAC1B,GAAG,EAAE,OAAO,CAAC,OAAO,EACpB,YAAY,CAAC,EAAE,KAAK,GACnB;IAAE,OAAO,EAAE;QAAE,aAAa,EAAE,MAAM,CAAA;KAAE,CAAC;IAAC,QAAQ,EAAE,SAAS,CAAA;CAAE,GAAG,SAAS,CAAA;AAE1E,wBAAgB,YAAY,CAC1B,GAAG,EAAE,OAAO,CAAC,OAAO,EACpB,YAAY,EAAE,IAAI,GAEhB;IAAE,OAAO,EAAE;QAAE,aAAa,EAAE,MAAM,CAAA;KAAE,CAAC;IAAC,QAAQ,EAAE,kBAAkB,CAAA;CAAE,GACpE,SAAS,CAAA;AAWb,wBAAgB,iBAAiB,CAC/B,OAAO,EAAE,YAAY,EACrB,EACE,iBAAiB,EACjB,SAAS,EACT,OAAO,GACR,EAAE;IACD,iBAAiB,EAAE,OAAO,CAAA;IAC1B,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,UAAU,EAAE,CAAC,GAAG,UAAU,EAAE,CAAA;IACjD,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,CAAA;CACtC;;;;;;;;;;EAuBF"}
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.authPassthru = void 0;
3
+ exports.formatAccountInfo = exports.authPassthru = void 0;
4
+ const syntax_1 = require("@atproto/syntax");
4
5
  function authPassthru(req, withEncoding) {
5
6
  if (req.headers.authorization) {
6
7
  return {
@@ -10,4 +11,29 @@ function authPassthru(req, withEncoding) {
10
11
  }
11
12
  }
12
13
  exports.authPassthru = authPassthru;
14
+ function formatAccountInfo(account, { managesOwnInvites, invitedBy, invites, }) {
15
+ let invitesResults;
16
+ if (managesOwnInvites) {
17
+ if (Array.isArray(invites)) {
18
+ invitesResults = invites;
19
+ }
20
+ else {
21
+ invitesResults = invites.get(account.did) || [];
22
+ }
23
+ }
24
+ return {
25
+ did: account.did,
26
+ handle: account.handle ?? syntax_1.INVALID_HANDLE,
27
+ email: account.email ?? undefined,
28
+ indexedAt: account.createdAt,
29
+ emailConfirmedAt: account.emailConfirmedAt ?? undefined,
30
+ invitedBy: managesOwnInvites ? invitedBy[account.did] : undefined,
31
+ invites: invitesResults,
32
+ invitesDisabled: managesOwnInvites
33
+ ? account.invitesDisabled === 1
34
+ : undefined,
35
+ deactivatedAt: account.deactivatedAt ?? undefined,
36
+ };
37
+ }
38
+ exports.formatAccountInfo = formatAccountInfo;
13
39
  //# sourceMappingURL=util.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"util.js","sourceRoot":"","sources":["../../../../../src/api/com/atproto/admin/util.ts"],"names":[],"mappings":";;;AAgBA,SAAgB,YAAY,CAAC,GAAoB,EAAE,YAAsB;IACvE,IAAI,GAAG,CAAC,OAAO,CAAC,aAAa,EAAE,CAAC;QAC9B,OAAO;YACL,OAAO,EAAE,EAAE,aAAa,EAAE,GAAG,CAAC,OAAO,CAAC,aAAa,EAAE;YACrD,QAAQ,EAAE,YAAY,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS;SACxD,CAAA;IACH,CAAC;AACH,CAAC;AAPD,oCAOC"}
1
+ {"version":3,"file":"util.js","sourceRoot":"","sources":["../../../../../src/api/com/atproto/admin/util.ts"],"names":[],"mappings":";;;AAEA,4CAAgD;AAiBhD,SAAgB,YAAY,CAAC,GAAoB,EAAE,YAAsB;IACvE,IAAI,GAAG,CAAC,OAAO,CAAC,aAAa,EAAE,CAAC;QAC9B,OAAO;YACL,OAAO,EAAE,EAAE,aAAa,EAAE,GAAG,CAAC,OAAO,CAAC,aAAa,EAAE;YACrD,QAAQ,EAAE,YAAY,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS;SACxD,CAAA;IACH,CAAC;AACH,CAAC;AAPD,oCAOC;AAED,SAAgB,iBAAiB,CAC/B,OAAqB,EACrB,EACE,iBAAiB,EACjB,SAAS,EACT,OAAO,GAKR;IAED,IAAI,cAAwC,CAAA;IAC5C,IAAI,iBAAiB,EAAE,CAAC;QACtB,IAAI,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC;YAC3B,cAAc,GAAG,OAAO,CAAA;QAC1B,CAAC;aAAM,CAAC;YACN,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,CAAA;QACjD,CAAC;IACH,CAAC;IACD,OAAO;QACL,GAAG,EAAE,OAAO,CAAC,GAAG;QAChB,MAAM,EAAE,OAAO,CAAC,MAAM,IAAI,uBAAc;QACxC,KAAK,EAAE,OAAO,CAAC,KAAK,IAAI,SAAS;QACjC,SAAS,EAAE,OAAO,CAAC,SAAS;QAC5B,gBAAgB,EAAE,OAAO,CAAC,gBAAgB,IAAI,SAAS;QACvD,SAAS,EAAE,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS;QACjE,OAAO,EAAE,cAAc;QACvB,eAAe,EAAE,iBAAiB;YAChC,CAAC,CAAC,OAAO,CAAC,eAAe,KAAK,CAAC;YAC/B,CAAC,CAAC,SAAS;QACb,aAAa,EAAE,OAAO,CAAC,aAAa,IAAI,SAAS;KAClD,CAAA;AACH,CAAC;AAjCD,8CAiCC"}
@@ -1 +1 @@
1
- {"version":3,"file":"getRecord.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/repo/getRecord.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAC5C,OAAO,UAAU,MAAM,qBAAqB,CAAA;AAI5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QA8BvD"}
1
+ {"version":3,"file":"getRecord.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/repo/getRecord.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAC5C,OAAO,UAAU,MAAM,qBAAqB,CAAA;AAI5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QAiCvD"}
@@ -12,7 +12,7 @@ function default_1(server, ctx) {
12
12
  const uri = syntax_1.AtUri.make(did, collection, rkey);
13
13
  const record = await ctx.actorStore.read(did, (store) => store.record.getRecord(uri, cid ?? null));
14
14
  if (!record || record.takedownRef !== null) {
15
- throw new xrpc_server_1.InvalidRequestError(`Could not locate record: ${uri}`);
15
+ throw new xrpc_server_1.InvalidRequestError(`Could not locate record: ${uri}`, 'RecordNotFound');
16
16
  }
17
17
  return {
18
18
  encoding: 'application/json',
@@ -1 +1 @@
1
- {"version":3,"file":"getRecord.js","sourceRoot":"","sources":["../../../../../src/api/com/atproto/repo/getRecord.ts"],"names":[],"mappings":";;AAAA,4CAAuC;AAGvC,sDAA0D;AAC1D,yDAAqD;AAErD,mBAAyB,MAAc,EAAE,GAAe;IACtD,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,EAAE,GAAG,EAAE,MAAM,EAAE,EAAE,EAAE;QAC1D,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,MAAM,CAAA;QAC9C,MAAM,GAAG,GAAG,MAAM,GAAG,CAAC,cAAc,CAAC,cAAc,CAAC,IAAI,CAAC,CAAA;QAEzD,8DAA8D;QAC9D,IAAI,GAAG,EAAE,CAAC;YACR,MAAM,GAAG,GAAG,cAAK,CAAC,IAAI,CAAC,GAAG,EAAE,UAAU,EAAE,IAAI,CAAC,CAAA;YAC7C,MAAM,MAAM,GAAG,MAAM,GAAG,CAAC,UAAU,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,KAAK,EAAE,EAAE,CACtD,KAAK,CAAC,MAAM,CAAC,SAAS,CAAC,GAAG,EAAE,GAAG,IAAI,IAAI,CAAC,CACzC,CAAA;YACD,IAAI,CAAC,MAAM,IAAI,MAAM,CAAC,WAAW,KAAK,IAAI,EAAE,CAAC;gBAC3C,MAAM,IAAI,iCAAmB,CAAC,4BAA4B,GAAG,EAAE,CAAC,CAAA;YAClE,CAAC;YACD,OAAO;gBACL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C,MAAM,IAAI,MAAM,CAAC,WAAW,KAAK,IAAI,EAAE,CAAC;gBAC3C,MAAM,IAAI,iCAAmB,CAC3B,4BAA4B,GAAG,EAAE,EACjC,gBAAgB,CACjB,CAAA;YACH,CAAC;YACD,OAAO;gBACL,QAAQ,EAAE,kBAAkB;gBAC5B,IAAI,EAAE;oBACJ,GAAG,EAAE,GAAG,CAAC,QAAQ,EAAE;oBACnB,GAAG,EAAE,MAAM,CAAC,GAAG;oBACf,KAAK,EAAE,MAAM,CAAC,KAAK;iBACpB;aACF,CAAA;QACH,CAAC;QAED,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC;YACzB,MAAM,IAAI,iCAAmB,CAAC,yBAAyB,CAAC,CAAA;QAC1D,CAAC;QAED,OAAO,IAAA,yBAAW,EAAC,GAAG,EAAE,GAAG,CAAC,CAAA;IAC9B,CAAC,CAAC,CAAA;AACJ,CAAC;AAjCD,4BAiCC"}
@@ -89,6 +89,14 @@ export type ProxyConfig = {
89
89
  headersTimeout: number;
90
90
  bodyTimeout: number;
91
91
  maxResponseSize: number;
92
+ /**
93
+ * When proxying requests that might get intercepted (for read-after-write) we
94
+ * negotiate the encoding based on the client's preferences. We will however
95
+ * use or own weights in order to be able to better control if the PDS will
96
+ * need to perform content decoding. This settings allows to prefer compressed
97
+ * content over uncompressed one.
98
+ */
99
+ preferCompressed: boolean;
92
100
  };
93
101
  export type OAuthConfig = {
94
102
  issuer: string;
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/config/config.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAA;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAKzC,eAAO,MAAM,QAAQ,QAAS,iBAAiB,KAAG,YAmTjD,CAAA;AAED,MAAM,MAAM,YAAY,GAAG;IACzB,OAAO,EAAE,aAAa,CAAA;IACtB,EAAE,EAAE,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CAC5B,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG;IAC/B,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,gBAAgB,GACxB;IACE,OAAO,EAAE,IAAI,CAAA;IACb,IAAI,EAAE,QAAQ,GAAG,OAAO,CAAA;IACxB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAA;CACrB,GACD;IAAE,OAAO,EAAE,KAAK,CAAA;CAAE,CAAA;AAEtB,MAAM,MAAM,iBAAiB,GAAG;IAC9B,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;IACX,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC7B,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG;IAChC,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;CACZ,CAAA"}
@@ -209,6 +209,7 @@ const envToCfg = (env) => {
209
209
  headersTimeout: env.proxyHeadersTimeout ?? 10e3,
210
210
  bodyTimeout: env.proxyBodyTimeout ?? 30e3,
211
211
  maxResponseSize: env.proxyMaxResponseSize ?? 10 * 1024 * 1024, // 10mb
212
+ preferCompressed: env.proxyPreferCompressed ?? false,
212
213
  };
213
214
  const oauthCfg = entrywayCfg
214
215
  ? {
@@ -1 +1 @@
1
- {"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/config/config.ts"],"names":[],"mappings":";;;;;;AAAA,0DAA4B;AAC5B,8DAAgC;AAChC,4CAAmD;AAInD,iCAAiC;AACjC,gEAAgE;AAEzD,MAAM,QAAQ,GAAG,CAAC,GAAsB,EAAgB,EAAE;IAC/D,MAAM,IAAI,GAAG,GAAG,CAAC,IAAI,IAAI,IAAI,CAAA;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4BACE,KAAK,EAAE,gBAAgB;4BACvB,IAAI,EAAE,GAAG,CAAC,gBAAgB;4BAC1B,GAAG,EAAE,gBAAgB;yBACtB;wBACD;4BACE,KAAK,EAAE,SAAS;4BAChB,IAAI,EAAE,GAAG,CAAC,UAAU;4BACpB,GAAG,EAAE,MAAM;yBACZ;qBACF,CAAC,MAAM,CACN,CAAC,CAAC,EAA6D,EAAE,CAC/D,CAAC,CAAC,IAAI,IAAI,IAAI,CACjB;iBACF;aACF;SACF,CAAA;IAEL,OAAO;QACL,OAAO,EAAE,UAAU;QACnB,EAAE,EAAE,KAAK;QACT,UAAU,EAAE,aAAa;QACzB,SAAS,EAAE,YAAY;QACvB,QAAQ,EAAE,WAAW;QACrB,QAAQ,EAAE,WAAW;QACrB,OAAO,EAAE,UAAU;QACnB,KAAK,EAAE,QAAQ;QACf,eAAe,EAAE,kBAAkB;QACnC,YAAY,EAAE,eAAe;QAC7B,WAAW,EAAE,cAAc;QAC3B,UAAU,EAAE,aAAa;QACzB,aAAa,EAAE,gBAAgB;QAC/B,KAAK,EAAE,QAAQ;QACf,UAAU,EAAE,aAAa;QACzB,QAAQ,EAAE,WAAW;QACrB,KAAK,EAAE,QAAQ;QACf,KAAK,EAAE,QAAQ;QACf,KAAK,EAAE,QAAQ;KAChB,CAAA;AACH,CAAC,CAAA;AApTY,QAAA,QAAQ,YAoTpB"}
@@ -78,5 +78,6 @@ export type ServerEnvironment = {
78
78
  proxyHeadersTimeout?: number;
79
79
  proxyBodyTimeout?: number;
80
80
  proxyMaxResponseSize?: number;
81
+ proxyPreferCompressed?: boolean;
81
82
  };
82
83
  //# sourceMappingURL=env.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"env.d.ts","sourceRoot":"","sources":["../../src/config/env.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,QAAO,iBAiI1B,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG;IAE9B,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAA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CAAA"}
@@ -106,6 +106,7 @@ const readEnv = () => {
106
106
  proxyHeadersTimeout: (0, common_1.envInt)('PDS_PROXY_HEADERS_TIMEOUT'),
107
107
  proxyBodyTimeout: (0, common_1.envInt)('PDS_PROXY_BODY_TIMEOUT'),
108
108
  proxyMaxResponseSize: (0, common_1.envInt)('PDS_PROXY_MAX_RESPONSE_SIZE'),
109
+ proxyPreferCompressed: (0, common_1.envBool)('PDS_PROXY_PREFER_COMPRESSED'),
109
110
  };
110
111
  };
111
112
  exports.readEnv = readEnv;
@@ -1 +1 @@
1
- {"version":3,"file":"env.js","sourceRoot":"","sources":["../../src/config/env.ts"],"names":[],"mappings":";;;AAAA,4CAAkE;AAE3D,MAAM,OAAO,GAAG,GAAsB,EAAE;IAC7C,OAAO;QACL,UAAU;QACV,IAAI,EAAE,IAAA,eAAM,EAAC,UAAU,CAAC;QACxB,QAAQ,EAAE,IAAA,eAAM,EAAC,cAAc,CAAC;QAChC,UAAU,EAAE,IAAA,eAAM,EAAC,iBAAiB,CAAC;QACrC,WAAW,EAAE,IAAA,eAAM,EAAC,kBAAkB,CAAC;QACvC,OAAO,EAAE,IAAA,eAAM,EAAC,aAAa,CAAC;QAC9B,OAAO,EAAE,IAAA,eAAM,EAAC,cAAc,CAAC;QAC/B,OAAO,EAAE,IAAA,eAAM,EAAC,cAAc,CAAC;QAC/B,gBAAgB,EAAE,IAAA,eAAM,EAAC,wBAAwB,CAAC;QAClD,UAAU,EAAE,IAAA,eAAM,EAAC,iBAAiB,CAAC;QACrC,iBAAiB,EAAE,IAAA,eAAM,EAAC,0BAA0B,CAAC;QACrD,mBAAmB,EAAE,IAAA,eAAM,EAAC,2BAA2B,CAAC;QACxD,gBAAgB,EAAE,IAAA,gBAAO,EAAC,4BAA4B,CAAC;QACvD,eAAe,EAAE,IAAA,eAAM,EAAC,uBAAuB,CAAC;QAChD,OAAO,EAAE,IAAA,gBAAO,EAAC,cAAc,CAAC;QAEhC,WAAW;QACX,UAAU,EAAE,I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,2BAA2B,CAAC;QACxD,oBAAoB,EAAE,IAAA,eAAM,EAAC,4BAA4B,CAAC;QAE1D,WAAW;QACX,QAAQ,EAAE,IAAA,gBAAO,EAAC,cAAc,CAAC;QAEjC,UAAU;QACV,UAAU,EAAE,IAAA,eAAM,EAAC,iBAAiB,CAAC;QACrC,SAAS,EAAE,IAAA,eAAM,EAAC,gBAAgB,CAAC;QACnC,aAAa,EAAE,IAAA,eAAM,EAAC,oBAAoB,CAAC;QAE3C,MAAM;QACN,sBAAsB,EAAE,IAAA,eAAM,EAAC,iCAAiC,CAAC;QACjE,SAAS;QACT,+BAA+B,EAAE,IAAA,eAAM,EACrC,2CAA2C,CAC5C;QAED,kCAAkC;QAClC,qBAAqB,EAAE,IAAA,gBAAO,EAAC,6BAA6B,CAAC;QAE7D,QAAQ;QACR,oBAAoB,EAAE,IAAA,eAAM,EAAC,6BAA6B,CAAC;QAE3D,QAAQ;QACR,eAAe,EAAE,IAAA,gBAAO,EAAC,uBAAuB,CAAC;QACjD,mBAAmB,EAAE,IAAA,eAAM,EAAC,2BAA2B,CAAC;QACxD,gBAAgB,EAAE,IAAA,eAAM,EAAC,wBAAwB,CAAC;QAClD,oBAAoB,EAAE,IAAA,eAAM,EAAC,6BAA6B,CAAC;QAC3D,qBAAqB,EAAE,IAAA,gBAAO,EAAC,6BAA6B,CAAC;KAC9D,CAAA;AACH,CAAC,CAAA;AAlIY,QAAA,OAAO,WAkInB"}
@@ -159,11 +159,16 @@ import * as ToolsOzoneCommunicationUpdateTemplate from './types/tools/ozone/comm
159
159
  import * as ToolsOzoneModerationEmitEvent from './types/tools/ozone/moderation/emitEvent';
160
160
  import * as ToolsOzoneModerationGetEvent from './types/tools/ozone/moderation/getEvent';
161
161
  import * as ToolsOzoneModerationGetRecord from './types/tools/ozone/moderation/getRecord';
162
+ import * as ToolsOzoneModerationGetRecords from './types/tools/ozone/moderation/getRecords';
162
163
  import * as ToolsOzoneModerationGetRepo from './types/tools/ozone/moderation/getRepo';
164
+ import * as ToolsOzoneModerationGetRepos from './types/tools/ozone/moderation/getRepos';
163
165
  import * as ToolsOzoneModerationQueryEvents from './types/tools/ozone/moderation/queryEvents';
164
166
  import * as ToolsOzoneModerationQueryStatuses from './types/tools/ozone/moderation/queryStatuses';
165
167
  import * as ToolsOzoneModerationSearchRepos from './types/tools/ozone/moderation/searchRepos';
166
168
  import * as ToolsOzoneServerGetConfig from './types/tools/ozone/server/getConfig';
169
+ import * as ToolsOzoneSignatureFindCorrelation from './types/tools/ozone/signature/findCorrelation';
170
+ import * as ToolsOzoneSignatureFindRelatedAccounts from './types/tools/ozone/signature/findRelatedAccounts';
171
+ import * as ToolsOzoneSignatureSearchAccounts from './types/tools/ozone/signature/searchAccounts';
167
172
  import * as ToolsOzoneTeamAddMember from './types/tools/ozone/team/addMember';
168
173
  import * as ToolsOzoneTeamDeleteMember from './types/tools/ozone/team/deleteMember';
169
174
  import * as ToolsOzoneTeamListMembers from './types/tools/ozone/team/listMembers';
@@ -503,6 +508,7 @@ export declare class ToolsOzoneNS {
503
508
  communication: ToolsOzoneCommunicationNS;
504
509
  moderation: ToolsOzoneModerationNS;
505
510
  server: ToolsOzoneServerNS;
511
+ signature: ToolsOzoneSignatureNS;
506
512
  team: ToolsOzoneTeamNS;
507
513
  constructor(server: Server);
508
514
  }
@@ -520,7 +526,9 @@ export declare class ToolsOzoneModerationNS {
520
526
  emitEvent<AV extends AuthVerifier>(cfg: ConfigOf<AV, ToolsOzoneModerationEmitEvent.Handler<ExtractAuth<AV>>, ToolsOzoneModerationEmitEvent.HandlerReqCtx<ExtractAuth<AV>>>): void;
521
527
  getEvent<AV extends AuthVerifier>(cfg: ConfigOf<AV, ToolsOzoneModerationGetEvent.Handler<ExtractAuth<AV>>, ToolsOzoneModerationGetEvent.HandlerReqCtx<ExtractAuth<AV>>>): void;
522
528
  getRecord<AV extends AuthVerifier>(cfg: ConfigOf<AV, ToolsOzoneModerationGetRecord.Handler<ExtractAuth<AV>>, ToolsOzoneModerationGetRecord.HandlerReqCtx<ExtractAuth<AV>>>): void;
529
+ getRecords<AV extends AuthVerifier>(cfg: ConfigOf<AV, ToolsOzoneModerationGetRecords.Handler<ExtractAuth<AV>>, ToolsOzoneModerationGetRecords.HandlerReqCtx<ExtractAuth<AV>>>): void;
523
530
  getRepo<AV extends AuthVerifier>(cfg: ConfigOf<AV, ToolsOzoneModerationGetRepo.Handler<ExtractAuth<AV>>, ToolsOzoneModerationGetRepo.HandlerReqCtx<ExtractAuth<AV>>>): void;
531
+ getRepos<AV extends AuthVerifier>(cfg: ConfigOf<AV, ToolsOzoneModerationGetRepos.Handler<ExtractAuth<AV>>, ToolsOzoneModerationGetRepos.HandlerReqCtx<ExtractAuth<AV>>>): void;
524
532
  queryEvents<AV extends AuthVerifier>(cfg: ConfigOf<AV, ToolsOzoneModerationQueryEvents.Handler<ExtractAuth<AV>>, ToolsOzoneModerationQueryEvents.HandlerReqCtx<ExtractAuth<AV>>>): void;
525
533
  queryStatuses<AV extends AuthVerifier>(cfg: ConfigOf<AV, ToolsOzoneModerationQueryStatuses.Handler<ExtractAuth<AV>>, ToolsOzoneModerationQueryStatuses.HandlerReqCtx<ExtractAuth<AV>>>): void;
526
534
  searchRepos<AV extends AuthVerifier>(cfg: ConfigOf<AV, ToolsOzoneModerationSearchRepos.Handler<ExtractAuth<AV>>, ToolsOzoneModerationSearchRepos.HandlerReqCtx<ExtractAuth<AV>>>): void;
@@ -530,6 +538,13 @@ export declare class ToolsOzoneServerNS {
530
538
  constructor(server: Server);
531
539
  getConfig<AV extends AuthVerifier>(cfg: ConfigOf<AV, ToolsOzoneServerGetConfig.Handler<ExtractAuth<AV>>, ToolsOzoneServerGetConfig.HandlerReqCtx<ExtractAuth<AV>>>): void;
532
540
  }
541
+ export declare class ToolsOzoneSignatureNS {
542
+ _server: Server;
543
+ constructor(server: Server);
544
+ findCorrelation<AV extends AuthVerifier>(cfg: ConfigOf<AV, ToolsOzoneSignatureFindCorrelation.Handler<ExtractAuth<AV>>, ToolsOzoneSignatureFindCorrelation.HandlerReqCtx<ExtractAuth<AV>>>): void;
545
+ findRelatedAccounts<AV extends AuthVerifier>(cfg: ConfigOf<AV, ToolsOzoneSignatureFindRelatedAccounts.Handler<ExtractAuth<AV>>, ToolsOzoneSignatureFindRelatedAccounts.HandlerReqCtx<ExtractAuth<AV>>>): void;
546
+ searchAccounts<AV extends AuthVerifier>(cfg: ConfigOf<AV, ToolsOzoneSignatureSearchAccounts.Handler<ExtractAuth<AV>>, ToolsOzoneSignatureSearchAccounts.HandlerReqCtx<ExtractAuth<AV>>>): void;
547
+ }
533
548
  export declare class ToolsOzoneTeamNS {
534
549
  _server: Server;
535
550
  constructor(server: Server);