@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.
- package/CHANGELOG.md +26 -0
- package/dist/account-manager/helpers/account.d.ts +1 -0
- package/dist/account-manager/helpers/account.d.ts.map +1 -1
- package/dist/account-manager/helpers/account.js +15 -1
- package/dist/account-manager/helpers/account.js.map +1 -1
- package/dist/account-manager/helpers/invite.d.ts +1 -1
- package/dist/account-manager/helpers/invite.d.ts.map +1 -1
- package/dist/account-manager/helpers/invite.js +20 -9
- package/dist/account-manager/helpers/invite.js.map +1 -1
- package/dist/account-manager/helpers/token.d.ts +16 -16
- package/dist/account-manager/index.d.ts +2 -0
- package/dist/account-manager/index.d.ts.map +1 -1
- package/dist/account-manager/index.js +8 -1
- package/dist/account-manager/index.js.map +1 -1
- package/dist/api/com/atproto/admin/getAccountInfo.d.ts.map +1 -1
- package/dist/api/com/atproto/admin/getAccountInfo.js +6 -14
- package/dist/api/com/atproto/admin/getAccountInfo.js.map +1 -1
- package/dist/api/com/atproto/admin/getAccountInfos.d.ts +4 -0
- package/dist/api/com/atproto/admin/getAccountInfos.d.ts.map +1 -0
- package/dist/api/com/atproto/admin/getAccountInfos.js +32 -0
- package/dist/api/com/atproto/admin/getAccountInfos.js.map +1 -0
- package/dist/api/com/atproto/admin/index.d.ts.map +1 -1
- package/dist/api/com/atproto/admin/index.js +2 -0
- package/dist/api/com/atproto/admin/index.js.map +1 -1
- package/dist/api/com/atproto/admin/util.d.ts +17 -0
- package/dist/api/com/atproto/admin/util.d.ts.map +1 -1
- package/dist/api/com/atproto/admin/util.js +27 -1
- package/dist/api/com/atproto/admin/util.js.map +1 -1
- package/dist/api/com/atproto/repo/getRecord.d.ts.map +1 -1
- package/dist/api/com/atproto/repo/getRecord.js +1 -1
- package/dist/api/com/atproto/repo/getRecord.js.map +1 -1
- package/dist/config/config.d.ts +8 -0
- package/dist/config/config.d.ts.map +1 -1
- package/dist/config/config.js +1 -0
- package/dist/config/config.js.map +1 -1
- package/dist/config/env.d.ts +1 -0
- package/dist/config/env.d.ts.map +1 -1
- package/dist/config/env.js +1 -0
- package/dist/config/env.js.map +1 -1
- package/dist/lexicon/index.d.ts +15 -0
- package/dist/lexicon/index.d.ts.map +1 -1
- package/dist/lexicon/index.js +40 -1
- package/dist/lexicon/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +261 -0
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +269 -0
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/com/atproto/repo/getRecord.d.ts +1 -0
- package/dist/lexicon/types/com/atproto/repo/getRecord.d.ts.map +1 -1
- package/dist/lexicon/types/tools/ozone/moderation/getRecords.d.ts +39 -0
- package/dist/lexicon/types/tools/ozone/moderation/getRecords.d.ts.map +1 -0
- package/dist/lexicon/types/tools/ozone/moderation/getRecords.js +3 -0
- package/dist/lexicon/types/tools/ozone/moderation/getRecords.js.map +1 -0
- package/dist/lexicon/types/tools/ozone/moderation/getRepos.d.ts +39 -0
- package/dist/lexicon/types/tools/ozone/moderation/getRepos.d.ts.map +1 -0
- package/dist/lexicon/types/tools/ozone/moderation/getRepos.js +3 -0
- package/dist/lexicon/types/tools/ozone/moderation/getRepos.js.map +1 -0
- package/dist/lexicon/types/tools/ozone/signature/defs.d.ts +12 -0
- package/dist/lexicon/types/tools/ozone/signature/defs.d.ts.map +1 -0
- package/dist/lexicon/types/tools/ozone/signature/defs.js +16 -0
- package/dist/lexicon/types/tools/ozone/signature/defs.js.map +1 -0
- package/dist/lexicon/types/tools/ozone/signature/findCorrelation.d.ts +36 -0
- package/dist/lexicon/types/tools/ozone/signature/findCorrelation.d.ts.map +1 -0
- package/dist/lexicon/types/tools/ozone/signature/findCorrelation.js +3 -0
- package/dist/lexicon/types/tools/ozone/signature/findCorrelation.js.map +1 -0
- package/dist/lexicon/types/tools/ozone/signature/findRelatedAccounts.d.ts +48 -0
- package/dist/lexicon/types/tools/ozone/signature/findRelatedAccounts.d.ts.map +1 -0
- package/dist/lexicon/types/tools/ozone/signature/findRelatedAccounts.js +16 -0
- package/dist/lexicon/types/tools/ozone/signature/findRelatedAccounts.js.map +1 -0
- package/dist/lexicon/types/tools/ozone/signature/searchAccounts.d.ts +39 -0
- package/dist/lexicon/types/tools/ozone/signature/searchAccounts.d.ts.map +1 -0
- package/dist/lexicon/types/tools/ozone/signature/searchAccounts.js +3 -0
- package/dist/lexicon/types/tools/ozone/signature/searchAccounts.js.map +1 -0
- package/dist/mailer/templates/confirm-email.js +1 -1
- package/dist/mailer/templates/confirm-email.js.map +1 -1
- package/dist/mailer/templates/delete-account.js +1 -1
- package/dist/mailer/templates/delete-account.js.map +1 -1
- package/dist/mailer/templates/plc-operation.js +1 -1
- package/dist/mailer/templates/plc-operation.js.map +1 -1
- package/dist/mailer/templates/reset-password.js +1 -1
- package/dist/mailer/templates/reset-password.js.map +1 -1
- package/dist/mailer/templates/update-email.js +1 -1
- package/dist/mailer/templates/update-email.js.map +1 -1
- package/dist/pipethrough.d.ts +1 -1
- package/dist/pipethrough.d.ts.map +1 -1
- package/dist/pipethrough.js +105 -73
- package/dist/pipethrough.js.map +1 -1
- package/package.json +11 -11
- package/src/account-manager/helpers/account.ts +22 -0
- package/src/account-manager/helpers/invite.ts +19 -9
- package/src/account-manager/index.ts +13 -1
- package/src/api/com/atproto/admin/getAccountInfo.ts +6 -13
- package/src/api/com/atproto/admin/getAccountInfos.ts +33 -0
- package/src/api/com/atproto/admin/index.ts +2 -0
- package/src/api/com/atproto/admin/util.ts +38 -0
- package/src/api/com/atproto/repo/getRecord.ts +4 -1
- package/src/config/config.ts +10 -0
- package/src/config/env.ts +2 -0
- package/src/lexicon/index.ts +70 -0
- package/src/lexicon/lexicons.ts +273 -0
- package/src/lexicon/types/com/atproto/repo/getRecord.ts +1 -0
- package/src/lexicon/types/tools/ozone/moderation/getRecords.ts +50 -0
- package/src/lexicon/types/tools/ozone/moderation/getRepos.ts +50 -0
- package/src/lexicon/types/tools/ozone/signature/defs.ts +25 -0
- package/src/lexicon/types/tools/ozone/signature/findCorrelation.ts +46 -0
- package/src/lexicon/types/tools/ozone/signature/findRelatedAccounts.ts +71 -0
- package/src/lexicon/types/tools/ozone/signature/searchAccounts.ts +49 -0
- package/src/mailer/templates/confirm-email.hbs +1 -1
- package/src/mailer/templates/delete-account.hbs +1 -1
- package/src/mailer/templates/plc-operation.hbs +1 -1
- package/src/mailer/templates/reset-password.hbs +1 -1
- package/src/mailer/templates/update-email.hbs +1 -1
- package/src/pipethrough.ts +131 -92
- package/tests/proxied/read-after-write.test.ts +77 -0
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,31 @@
|
|
1
1
|
# @atproto/pds
|
2
2
|
|
3
|
+
## 0.4.62
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- Updated dependencies [[`df14df522`](https://github.com/bluesky-social/atproto/commit/df14df522bb7986e56ee1f6a0f5d862e1ea6f4d5), [`8943c1008`](https://github.com/bluesky-social/atproto/commit/8943c10082702bbc0fc150237c6cc421251afd51)]:
|
8
|
+
- @atproto/api@0.13.10
|
9
|
+
- @atproto-labs/fetch-node@0.1.2
|
10
|
+
- @atproto/oauth-provider@0.2.4
|
11
|
+
|
12
|
+
## 0.4.61
|
13
|
+
|
14
|
+
### Patch Changes
|
15
|
+
|
16
|
+
- [#2834](https://github.com/bluesky-social/atproto/pull/2834) [`4098d9890`](https://github.com/bluesky-social/atproto/commit/4098d9890173f4d6c6512f2d8994eebbf12b5e13) Thanks [@matthieusieben](https://github.com/matthieusieben)! - Allow defaulting to unencoded responses when proxying client requests that do not specify accept-encoding
|
17
|
+
|
18
|
+
- [#2836](https://github.com/bluesky-social/atproto/pull/2836) [`a2bad977a`](https://github.com/bluesky-social/atproto/commit/a2bad977a8d941b4075ea3ffee3d6f7a0c0f467c) Thanks [@foysalit](https://github.com/foysalit)! - Add getRepos and getRecords endpoints for bulk fetching
|
19
|
+
|
20
|
+
- Updated dependencies [[`4098d9890`](https://github.com/bluesky-social/atproto/commit/4098d9890173f4d6c6512f2d8994eebbf12b5e13), [`a2bad977a`](https://github.com/bluesky-social/atproto/commit/a2bad977a8d941b4075ea3ffee3d6f7a0c0f467c), [`1226ed268`](https://github.com/bluesky-social/atproto/commit/1226ed2682970a58ae433b9deb11290333988ddd)]:
|
21
|
+
- @atproto/common@0.4.4
|
22
|
+
- @atproto/api@0.13.9
|
23
|
+
- @atproto/oauth-provider@0.2.3
|
24
|
+
- @atproto/aws@0.2.7
|
25
|
+
- @atproto/crypto@0.4.1
|
26
|
+
- @atproto/repo@0.5.3
|
27
|
+
- @atproto/xrpc-server@0.7.1
|
28
|
+
|
3
29
|
## 0.4.60
|
4
30
|
|
5
31
|
### Patch Changes
|
@@ -34,6 +34,7 @@ export declare const selectAccountQB: (db: AccountDb, flags?: AvailabilityFlags)
|
|
34
34
|
email_token: import("../db").EmailToken;
|
35
35
|
}, "account" | "actor", import("kysely/dist/cjs/util/type-utils").MergePartial<Partial<Omit<{}, never>>, Partial<Omit<{}, never>>>, "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.handle" | "actor.createdAt" | "actor.takedownRef" | "actor.deactivatedAt" | "actor.deleteAfter">;
|
36
36
|
export declare const getAccount: (db: AccountDb, handleOrDid: string, flags?: AvailabilityFlags) => Promise<ActorAccount | null>;
|
37
|
+
export declare const getAccounts: (db: AccountDb, dids: string[], flags?: AvailabilityFlags) => Promise<Map<string, ActorAccount>>;
|
37
38
|
export declare const getAccountByEmail: (db: AccountDb, email: string, flags?: AvailabilityFlags) => Promise<ActorAccount | null>;
|
38
39
|
export declare const registerActor: (db: AccountDb, opts: {
|
39
40
|
did: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../../src/account-manager/helpers/account.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAC7C,OAAO,EAAE,UAAU,EAAE,MAA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M,eAAe,uBAA8B,MAAM,kBAU/D,CAAA;AAED,eAAO,MAAM,mBAAmB,YACrB,IAAI,GAAG;IACd,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,aAAa,EAAE,MAAM,GAAG,IAAI,CAAA;CAC7B;;;;;;;;;;;;CAWF,CAAA"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.formatAccountStatus = exports.activateAccount = exports.deactivateAccount = exports.updateAccountTakedownStatus = exports.getAccountAdminStatus = exports.setEmailConfirmedAt = exports.updateEmail = exports.updateHandle = exports.deleteAccount = exports.registerAccount = exports.registerActor = exports.getAccountByEmail = exports.getAccount = exports.selectAccountQB = exports.AccountStatus = exports.UserAlreadyExistsError = void 0;
|
3
|
+
exports.formatAccountStatus = exports.activateAccount = exports.deactivateAccount = exports.updateAccountTakedownStatus = exports.getAccountAdminStatus = exports.setEmailConfirmedAt = exports.updateEmail = exports.updateHandle = exports.deleteAccount = exports.registerAccount = exports.registerActor = exports.getAccountByEmail = exports.getAccounts = exports.getAccount = exports.selectAccountQB = exports.AccountStatus = exports.UserAlreadyExistsError = void 0;
|
4
4
|
const db_1 = require("../../db");
|
5
5
|
const common_1 = require("@atproto/common");
|
6
6
|
class UserAlreadyExistsError extends Error {
|
@@ -49,6 +49,20 @@ const getAccount = async (db, handleOrDid, flags) => {
|
|
49
49
|
return found || null;
|
50
50
|
};
|
51
51
|
exports.getAccount = getAccount;
|
52
|
+
const getAccounts = async (db, dids, flags) => {
|
53
|
+
const results = new Map();
|
54
|
+
if (!dids.length) {
|
55
|
+
return results;
|
56
|
+
}
|
57
|
+
const accounts = await (0, exports.selectAccountQB)(db, flags)
|
58
|
+
.where('actor.did', 'in', dids)
|
59
|
+
.execute();
|
60
|
+
accounts.forEach((account) => {
|
61
|
+
results.set(account.did, account);
|
62
|
+
});
|
63
|
+
return results;
|
64
|
+
};
|
65
|
+
exports.getAccounts = getAccounts;
|
52
66
|
const getAccountByEmail = async (db, email, flags) => {
|
53
67
|
const found = await (0, exports.selectAccountQB)(db, flags)
|
54
68
|
.where('email', '=', email.toLowerCase())
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"account.js","sourceRoot":"","sources":["../../../src/account-manager/helpers/account.ts"],"names":[],"mappings":";;;AAAA,iCAAqE;AAGrE,4CAAqC;AAErC,MAAa,sBAAuB,SAAQ,KAAK;CAAG;AAApD,wDAAoD;AAapD,IAAY,aAMX;AAND,WAAY,aAAa;IACvB,kCAAiB,CAAA;IACjB,wCAAuB,CAAA;IACvB,wCAAuB,CAAA;IACvB,oCAAmB,CAAA;IACnB,4CAA2B,CAAA;AAC7B,CAAC,EANW,aAAa,6BAAb,aAAa,QAMxB;AAEM,MAAM,eAAe,GAAG,CAAC,EAAa,EAAE,KAAyB,EAAE,EAAE;IAC1E,MAAM,EAAE,gBAAgB,GAAG,KAAK,EAAE,kBAAkB,GAAG,KAAK,EAAE,GAAG,KAAK,IAAI,EAAE,CAAA;IAC5E,MAAM,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,EAAE,CAAC,OAAO,CAAA;IAC7B,OAAO,EAAE,CAAC,EAAE;SACT,UAAU,CAAC,OAAO,CAAC;SACnB,QAAQ,CAAC,SAAS,EAAE,WAAW,EAAE,aAAa,CAAC;SAC/C,EAAE,CAAC,CAAC,gBAAgB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,IAAA,yBAAoB,EAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;SAC3E,EAAE,CAAC,CAAC,kBAAkB,EAAE,CAAC,EAAE,EAAE,EAAE,CAC9B,EAAE,CAAC,KAAK,CAAC,qBAAqB,EAAE,IAAI,EAAE,IAAI,CAAC,CAC5C;SACA,MAAM,CAAC;QACN,WAAW;QACX,cAAc;QACd,iBAAiB;QACjB,mBAAmB;QACnB,qBAAqB;QACrB,mBAAmB;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C;QACb,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,aAAa,CAAC,OAAO,EAAW,CAAA;IAClE,CAAC;SAAM,IAAI,OAAO,CAAC,WAAW,EAAE,CAAC;QAC/B,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,aAAa,CAAC,SAAS,EAAW,CAAA;IACpE,CAAC;SAAM,IAAI,OAAO,CAAC,aAAa,EAAE,CAAC;QACjC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,aAAa,CAAC,WAAW,EAAW,CAAA;IACtE,CAAC;SAAM,CAAC;QACN,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAW,CAAA;IACrD,CAAC;AACH,CAAC,CAAA;AAfY,QAAA,mBAAmB,uBAe/B"}
|
@@ -11,7 +11,7 @@ export declare const recordInviteUse: (db: AccountDb, opts: {
|
|
11
11
|
}) => Promise<void>;
|
12
12
|
export declare const ensureInviteIsAvailable: (db: AccountDb, inviteCode: string) => Promise<void>;
|
13
13
|
export declare const selectInviteCodesQb: (db: AccountDb) => import("kysely/dist/cjs/parser/select-parser").SelectAllQueryBuilder<import("kysely/dist/cjs/parser/table-parser").From<import("../db").DatabaseSchema, import("kysely").AliasedQueryBuilder<import("kysely/dist/cjs/parser/table-parser").From<import("../db").DatabaseSchema, "invite_code">, "invite_code", import("kysely").Selection<import("kysely/dist/cjs/parser/table-parser").From<import("../db").DatabaseSchema, "invite_code">, "invite_code", "invite_code.code as code" | "invite_code.availableUses as available" | "invite_code.disabled as disabled" | "invite_code.forAccount as forAccount" | "invite_code.createdBy as createdBy" | "invite_code.createdAt as createdAt" | import("kysely").AliasedQueryBuilder<import("kysely/dist/cjs/parser/table-parser").From<import("../db").DatabaseSchema, "invite_code_use">, "invite_code_use", import("kysely").Selection<import("kysely/dist/cjs/parser/table-parser").From<import("../db").DatabaseSchema, "invite_code_use">, "invite_code_use", import("kysely").AliasedRawBuilder<number, "count">>, "uses">>, "codes">>, "codes", {}, "codes">;
|
14
|
-
export declare const
|
14
|
+
export declare const getAccountsInviteCodes: (db: AccountDb, dids: string[]) => Promise<Map<string, CodeDetail[]>>;
|
15
15
|
export declare const getInviteCodesUses: (db: AccountDb, codes: string[]) => Promise<Record<string, CodeUse[]>>;
|
16
16
|
export declare const getInvitedByForAccounts: (db: AccountDb, dids: string[]) => Promise<Record<string, CodeDetail>>;
|
17
17
|
export declare const disableInviteCodes: (db: AccountDb, opts: {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"invite.d.ts","sourceRoot":"","sources":["../../../src/account-manager/helpers/invite.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAc,MAAM,OAAO,CAAA;AAG7C,eAAO,MAAM,iBAAiB,4BAElB;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,EAAE,CAAA;CAAE,EAAE,YACtC,MAAM,kBAkBjB,CAAA;AAED,eAAO,MAAM,wBAAwB,8BAEvB,MAAM,SACX,MAAM,EAAE,iBACA,MAAM,YACX,CAAC,GAAG,CAAC,KACd,QAAQ,UAAU,EAAE,CAkCtB,CAAA;AAED,eAAO,MAAM,eAAe,wBAEpB;IACJ,GAAG,EAAE,MAAM,CAAA;IACX,UAAU,EAAE,MAAM,GAAG,SAAS,CAAA;IAC9B,GAAG,EAAE,MAAM,CAAA;CACZ,kBAUF,CAAA;AAED,eAAO,MAAM,uBAAuB,8BAEtB,MAAM,KACjB,QAAQ,IAAI,CA4Bd,CAAA;AAED,eAAO,MAAM,mBAAmB,ykCAkB/B,CAAA;AAED,eAAO,MAAM,
|
1
|
+
{"version":3,"file":"invite.d.ts","sourceRoot":"","sources":["../../../src/account-manager/helpers/invite.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAc,MAAM,OAAO,CAAA;AAG7C,eAAO,MAAM,iBAAiB,4BAElB;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,KAAK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A;AAED,KAAK,OAAO,GAAG;IACb,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;CACf,CAAA"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.setAccountInvitesDisabled = exports.disableInviteCodes = exports.getInvitedByForAccounts = exports.getInviteCodesUses = exports.
|
3
|
+
exports.setAccountInvitesDisabled = exports.disableInviteCodes = exports.getInvitedByForAccounts = exports.getInviteCodesUses = exports.getAccountsInviteCodes = exports.selectInviteCodesQb = exports.ensureInviteIsAvailable = exports.recordInviteUse = exports.createAccountInviteCodes = exports.createInviteCodes = void 0;
|
4
4
|
const common_1 = require("@atproto/common");
|
5
5
|
const xrpc_server_1 = require("@atproto/xrpc-server");
|
6
6
|
const db_1 = require("../../db");
|
@@ -96,19 +96,30 @@ const selectInviteCodesQb = (db) => {
|
|
96
96
|
return db.db.selectFrom(builder.as('codes')).selectAll();
|
97
97
|
};
|
98
98
|
exports.selectInviteCodesQb = selectInviteCodesQb;
|
99
|
-
const
|
99
|
+
const getAccountsInviteCodes = async (db, dids) => {
|
100
|
+
const results = new Map();
|
101
|
+
// We don't want to pass an empty array to kysely and let's avoid running a query entirely if there is nothing to match for
|
102
|
+
if (!dids.length)
|
103
|
+
return results;
|
100
104
|
const res = await (0, exports.selectInviteCodesQb)(db)
|
101
|
-
.where('forAccount', '
|
105
|
+
.where('forAccount', 'in', dids)
|
102
106
|
.execute();
|
103
107
|
const codes = res.map((row) => row.code);
|
104
108
|
const uses = await (0, exports.getInviteCodesUses)(db, codes);
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
109
|
+
res.forEach((row) => {
|
110
|
+
const existing = results.get(row.forAccount) ?? [];
|
111
|
+
results.set(row.forAccount, [
|
112
|
+
...existing,
|
113
|
+
{
|
114
|
+
...row,
|
115
|
+
uses: uses[row.code] ?? [],
|
116
|
+
disabled: row.disabled === 1,
|
117
|
+
},
|
118
|
+
]);
|
119
|
+
});
|
120
|
+
return results;
|
110
121
|
};
|
111
|
-
exports.
|
122
|
+
exports.getAccountsInviteCodes = getAccountsInviteCodes;
|
112
123
|
const getInviteCodesUses = async (db, codes) => {
|
113
124
|
const uses = {};
|
114
125
|
if (codes.length > 0) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"invite.js","sourceRoot":"","sources":["../../../src/account-manager/helpers/invite.ts"],"names":[],"mappings":";;;AAAA,4CAA4C;AAC5C,sDAA0D;AAE1D,iCAAmC;AAE5B,MAAM,iBAAiB,GAAG,KAAK,EACpC,EAAa,EACb,QAAgD,EAChD,QAAgB,EAChB,EAAE;IACF,MAAM,GAAG,GAAG,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE,CAAA;IACpC,MAAM,IAAI,GAAG,QAAQ,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,CACxC,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;QAC3B,IAAI,EAAE,IAAI;QACV,aAAa,EAAE,QAAQ;QACvB,QAAQ,EAAE,CAAU;QACpB,UAAU,EAAE,OAAO,CAAC,OAAO;QAC3B,SAAS,EAAE,OAAO;QAClB,SAAS,EAAE,GAAG;KACf,CAAC,CAAC,CACJ,CAAA;IACD,MAAM,OAAO,CAAC,GAAG,CACf,IAAA,mBAAU,EAAC,IAAI,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CACjC,EAAE,CAAC,gBAAgB,CAAC,EAAE,CAAC,EAAE,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CACnE,CACF,CAAA;AACH,CAAC,CAAA;AArBY,QAAA,iBAAiB,qBAqB7B;AAEM,MAAM,wBAAwB,GAAG,KAAK,EAC3C,EAAa,EACb,UAAkB,EAClB,KAAe,EACf,aAAqB,EACrB,QA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CAAC,EAAE,eAAe,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAC9C,CAAA;AACH,CAAC,CAAA;AAXY,QAAA,yBAAyB,6BAWrC"}
|
@@ -57,7 +57,7 @@ export declare const findByQB: (db: AccountDb, search: {
|
|
57
57
|
invite_code: import("../db").InviteCode;
|
58
58
|
invite_code_use: import("../db").InviteCodeUse;
|
59
59
|
email_token: import("../db").EmailToken;
|
60
|
-
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.updatedAt" | "token.
|
60
|
+
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.expiresAt" | "token.currentRefreshToken">, Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
|
61
61
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
62
62
|
token: Token;
|
63
63
|
actor: import("../db").Actor;
|
@@ -85,7 +85,7 @@ export declare const findByQB: (db: AccountDb, search: {
|
|
85
85
|
invite_code: import("../db").InviteCode;
|
86
86
|
invite_code_use: import("../db").InviteCodeUse;
|
87
87
|
email_token: import("../db").EmailToken;
|
88
|
-
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.updatedAt" | "token.
|
88
|
+
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.expiresAt" | "token.currentRefreshToken">>, import("kysely/dist/cjs/util/type-utils").MergePartial<Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
|
89
89
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
90
90
|
token: Token;
|
91
91
|
actor: import("../db").Actor;
|
@@ -113,7 +113,7 @@ export declare const findByQB: (db: AccountDb, search: {
|
|
113
113
|
invite_code: import("../db").InviteCode;
|
114
114
|
invite_code_use: import("../db").InviteCodeUse;
|
115
115
|
email_token: import("../db").EmailToken;
|
116
|
-
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.updatedAt" | "token.
|
116
|
+
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.expiresAt" | "token.currentRefreshToken">, Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
|
117
117
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
118
118
|
token: Token;
|
119
119
|
actor: import("../db").Actor;
|
@@ -141,7 +141,7 @@ export declare const findByQB: (db: AccountDb, search: {
|
|
141
141
|
invite_code: import("../db").InviteCode;
|
142
142
|
invite_code_use: import("../db").InviteCodeUse;
|
143
143
|
email_token: import("../db").EmailToken;
|
144
|
-
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.updatedAt" | "token.
|
144
|
+
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.expiresAt" | "token.currentRefreshToken">>>, import("kysely/dist/cjs/util/type-utils").MergePartial<import("kysely/dist/cjs/util/type-utils").MergePartial<Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
|
145
145
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
146
146
|
token: Token;
|
147
147
|
actor: import("../db").Actor;
|
@@ -169,7 +169,7 @@ export declare const findByQB: (db: AccountDb, search: {
|
|
169
169
|
invite_code: import("../db").InviteCode;
|
170
170
|
invite_code_use: import("../db").InviteCodeUse;
|
171
171
|
email_token: import("../db").EmailToken;
|
172
|
-
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.updatedAt" | "token.
|
172
|
+
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.expiresAt" | "token.currentRefreshToken">, Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
|
173
173
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
174
174
|
token: Token;
|
175
175
|
actor: import("../db").Actor;
|
@@ -197,7 +197,7 @@ export declare const findByQB: (db: AccountDb, search: {
|
|
197
197
|
invite_code: import("../db").InviteCode;
|
198
198
|
invite_code_use: import("../db").InviteCodeUse;
|
199
199
|
email_token: import("../db").EmailToken;
|
200
|
-
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.updatedAt" | "token.
|
200
|
+
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.expiresAt" | "token.currentRefreshToken">>, import("kysely/dist/cjs/util/type-utils").MergePartial<Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
|
201
201
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
202
202
|
token: Token;
|
203
203
|
actor: import("../db").Actor;
|
@@ -225,7 +225,7 @@ export declare const findByQB: (db: AccountDb, search: {
|
|
225
225
|
invite_code: import("../db").InviteCode;
|
226
226
|
invite_code_use: import("../db").InviteCodeUse;
|
227
227
|
email_token: import("../db").EmailToken;
|
228
|
-
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.updatedAt" | "token.
|
228
|
+
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.expiresAt" | "token.currentRefreshToken">, Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
|
229
229
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
230
230
|
token: Token;
|
231
231
|
actor: import("../db").Actor;
|
@@ -253,7 +253,7 @@ export declare const findByQB: (db: AccountDb, search: {
|
|
253
253
|
invite_code: import("../db").InviteCode;
|
254
254
|
invite_code_use: import("../db").InviteCodeUse;
|
255
255
|
email_token: import("../db").EmailToken;
|
256
|
-
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.updatedAt" | "token.
|
256
|
+
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.expiresAt" | "token.currentRefreshToken">>>>, import("kysely/dist/cjs/util/type-utils").MergePartial<import("kysely/dist/cjs/util/type-utils").MergePartial<import("kysely/dist/cjs/util/type-utils").MergePartial<Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
|
257
257
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
258
258
|
token: Token;
|
259
259
|
actor: import("../db").Actor;
|
@@ -281,7 +281,7 @@ export declare const findByQB: (db: AccountDb, search: {
|
|
281
281
|
invite_code: import("../db").InviteCode;
|
282
282
|
invite_code_use: import("../db").InviteCodeUse;
|
283
283
|
email_token: import("../db").EmailToken;
|
284
|
-
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.updatedAt" | "token.
|
284
|
+
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.expiresAt" | "token.currentRefreshToken">, Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
|
285
285
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
286
286
|
token: Token;
|
287
287
|
actor: import("../db").Actor;
|
@@ -309,7 +309,7 @@ export declare const findByQB: (db: AccountDb, search: {
|
|
309
309
|
invite_code: import("../db").InviteCode;
|
310
310
|
invite_code_use: import("../db").InviteCodeUse;
|
311
311
|
email_token: import("../db").EmailToken;
|
312
|
-
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.updatedAt" | "token.
|
312
|
+
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.expiresAt" | "token.currentRefreshToken">>, import("kysely/dist/cjs/util/type-utils").MergePartial<Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
|
313
313
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
314
314
|
token: Token;
|
315
315
|
actor: import("../db").Actor;
|
@@ -337,7 +337,7 @@ export declare const findByQB: (db: AccountDb, search: {
|
|
337
337
|
invite_code: import("../db").InviteCode;
|
338
338
|
invite_code_use: import("../db").InviteCodeUse;
|
339
339
|
email_token: import("../db").EmailToken;
|
340
|
-
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.updatedAt" | "token.
|
340
|
+
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.expiresAt" | "token.currentRefreshToken">, Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
|
341
341
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
342
342
|
token: Token;
|
343
343
|
actor: import("../db").Actor;
|
@@ -365,7 +365,7 @@ export declare const findByQB: (db: AccountDb, search: {
|
|
365
365
|
invite_code: import("../db").InviteCode;
|
366
366
|
invite_code_use: import("../db").InviteCodeUse;
|
367
367
|
email_token: import("../db").EmailToken;
|
368
|
-
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.updatedAt" | "token.
|
368
|
+
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.expiresAt" | "token.currentRefreshToken">>>, import("kysely/dist/cjs/util/type-utils").MergePartial<import("kysely/dist/cjs/util/type-utils").MergePartial<Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
|
369
369
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
370
370
|
token: Token;
|
371
371
|
actor: import("../db").Actor;
|
@@ -393,7 +393,7 @@ export declare const findByQB: (db: AccountDb, search: {
|
|
393
393
|
invite_code: import("../db").InviteCode;
|
394
394
|
invite_code_use: import("../db").InviteCodeUse;
|
395
395
|
email_token: import("../db").EmailToken;
|
396
|
-
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.updatedAt" | "token.
|
396
|
+
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.expiresAt" | "token.currentRefreshToken">, Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
|
397
397
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
398
398
|
token: Token;
|
399
399
|
actor: import("../db").Actor;
|
@@ -421,7 +421,7 @@ export declare const findByQB: (db: AccountDb, search: {
|
|
421
421
|
invite_code: import("../db").InviteCode;
|
422
422
|
invite_code_use: import("../db").InviteCodeUse;
|
423
423
|
email_token: import("../db").EmailToken;
|
424
|
-
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.updatedAt" | "token.
|
424
|
+
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.expiresAt" | "token.currentRefreshToken">>, import("kysely/dist/cjs/util/type-utils").MergePartial<Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
|
425
425
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
426
426
|
token: Token;
|
427
427
|
actor: import("../db").Actor;
|
@@ -449,7 +449,7 @@ export declare const findByQB: (db: AccountDb, search: {
|
|
449
449
|
invite_code: import("../db").InviteCode;
|
450
450
|
invite_code_use: import("../db").InviteCodeUse;
|
451
451
|
email_token: import("../db").EmailToken;
|
452
|
-
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.updatedAt" | "token.
|
452
|
+
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.expiresAt" | "token.currentRefreshToken">, Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
|
453
453
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
454
454
|
token: Token;
|
455
455
|
actor: import("../db").Actor;
|
@@ -477,7 +477,7 @@ export declare const findByQB: (db: AccountDb, search: {
|
|
477
477
|
invite_code: import("../db").InviteCode;
|
478
478
|
invite_code_use: import("../db").InviteCodeUse;
|
479
479
|
email_token: import("../db").EmailToken;
|
480
|
-
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.updatedAt" | "token.
|
480
|
+
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.expiresAt" | "token.currentRefreshToken">>>>>>;
|
481
481
|
export declare const removeByDidQB: (db: AccountDb, did: string) => import("kysely").DeleteQueryBuilder<import("kysely/dist/cjs/parser/table-parser").From<import("../db").DatabaseSchema, "token">, "token", import("kysely").DeleteResult>;
|
482
482
|
export declare const rotateQB: (db: AccountDb, id: number, newTokenId: TokenId, newRefreshToken: RefreshToken, newData: NewTokenData) => import("kysely").UpdateQueryBuilder<import("kysely/dist/cjs/parser/table-parser").From<import("../db").DatabaseSchema, "token">, "token", "token", import("kysely").UpdateResult>;
|
483
483
|
export declare const removeQB: (db: AccountDb, tokenId: TokenId) => import("kysely").DeleteQueryBuilder<import("kysely/dist/cjs/parser/table-parser").From<import("../db").DatabaseSchema, "token">, "token", import("kysely").DeleteResult>;
|
@@ -19,6 +19,7 @@ export declare class AccountManager implements AccountStore, RequestStore, Devic
|
|
19
19
|
migrateOrThrow(): Promise<void>;
|
20
20
|
close(): void;
|
21
21
|
getAccount(handleOrDid: string, flags?: account.AvailabilityFlags): Promise<ActorAccount | null>;
|
22
|
+
getAccounts(dids: string[], flags?: account.AvailabilityFlags): Promise<Map<string, ActorAccount>>;
|
22
23
|
getAccountByEmail(email: string, flags?: account.AvailabilityFlags): Promise<ActorAccount | null>;
|
23
24
|
isAccountActivated(did: string): Promise<boolean>;
|
24
25
|
getDidForActor(handleOrDid: string, flags?: account.AvailabilityFlags): Promise<string | null>;
|
@@ -75,6 +76,7 @@ export declare class AccountManager implements AccountStore, RequestStore, Devic
|
|
75
76
|
}[], useCount: number): Promise<void>;
|
76
77
|
createAccountInviteCodes(forAccount: string, codes: string[], expectedTotal: number, disabled: 0 | 1): Promise<invite.CodeDetail[]>;
|
77
78
|
getAccountInvitesCodes(did: string): Promise<invite.CodeDetail[]>;
|
79
|
+
getAccountsInvitesCodes(dids: string[]): Promise<Map<string, invite.CodeDetail[]>>;
|
78
80
|
getInvitedByForAccounts(dids: string[]): Promise<Record<string, invite.CodeDetail>>;
|
79
81
|
getInviteCodesUses(codes: string[]): Promise<Record<string, {
|
80
82
|
usedBy: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/account-manager/index.ts"],"names":[],"mappings":";AACA,OAAO,EACL,WAAW,EACX,YAAY,EACZ,IAAI,EACJ,UAAU,EACV,QAAQ,EACR,WAAW,EACX,kBAAkB,EAClB,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,SAAS,EACT,YAAY,EACZ,iBAAiB,EACjB,SAAS,EACT,OAAO,EACP,SAAS,EACT,UAAU,EACV,iBAAiB,EAClB,MAAM,yBAAyB,CAAA;AAEhC,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAGvC,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;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AAiB,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAAC,kBAAkB,GAAG,IAAI,CAAC;IAOjE,YAAY,CAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC;IAIjE,UAAU,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAAC,IAAI,GAAG,UAAU,CAAC;IAK1D,YAAY,CAChB,QAAQ,EAAE,QAAQ,EAClB,IAAI,EAAE,OAAO,CAAC,UAAU,CAAC,GACxB,OAAO,CAAC,IAAI,CAAC;IAIV,YAAY,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC;IAO/C,WAAW,CACf,EAAE,EAAE,OAAO,EACX,IAAI,EAAE,SAAS,EACf,YAAY,CAAC,EAAE,YAAY,GAC1B,OAAO,CAAC,IAAI,CAAC;IAgBV,SAAS,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,SAAS,GAAG,IAAI,CAAC;IAKtD,WAAW,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC;IAK5C,WAAW,CACf,OAAO,EAAE,OAAO,EAChB,UAAU,EAAE,OAAO,EACnB,eAAe,EAAE,YAAY,EAC7B,OAAO,EAAE,YAAY,GACpB,OAAO,CAAC,IAAI,CAAC;IA6BV,uBAAuB,CAC3B,YAAY,EAAE,YAAY,GACzB,OAAO,CAAC,SAAS,GAAG,IAAI,CAAC;IAatB,eAAe,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAAC,SAAS,GAAG,IAAI,CAAC;CAI7D"}
|
@@ -85,6 +85,9 @@ class AccountManager {
|
|
85
85
|
async getAccount(handleOrDid, flags) {
|
86
86
|
return account.getAccount(this.db, handleOrDid, flags);
|
87
87
|
}
|
88
|
+
async getAccounts(dids, flags) {
|
89
|
+
return account.getAccounts(this.db, dids, flags);
|
90
|
+
}
|
88
91
|
async getAccountByEmail(email, flags) {
|
89
92
|
return account.getAccountByEmail(this.db, email, flags);
|
90
93
|
}
|
@@ -296,7 +299,11 @@ class AccountManager {
|
|
296
299
|
return invite.createAccountInviteCodes(this.db, forAccount, codes, expectedTotal, disabled);
|
297
300
|
}
|
298
301
|
async getAccountInvitesCodes(did) {
|
299
|
-
|
302
|
+
const inviteCodes = await invite.getAccountsInviteCodes(this.db, [did]);
|
303
|
+
return inviteCodes.get(did) ?? [];
|
304
|
+
}
|
305
|
+
async getAccountsInvitesCodes(dids) {
|
306
|
+
return invite.getAccountsInviteCodes(this.db, dids);
|
300
307
|
}
|
301
308
|
async getInvitedByForAccounts(dids) {
|
302
309
|
return invite.getInvitedByForAccounts(this.db, dids);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/account-manager/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4CAA4C;AAqB5C,sDAAwD;AAIxD,oDAA4C;AAE5C,8BAAmC;AAEnC,6BAAuE;AACvE,2DAA4C;AAC5C,+CAA+D;AAC/D,qDAAsC;AACtC,6EAA8D;AAC9D,yDAA0C;AAC1C,wEAAyD;AACzD,kEAAmD;AACnD,yDAA0C;AAC1C,6DAA8C;AAC9C,qDAAsC;AACtC,yDAA0C;AAC1C,uDAAwC;AACxC,+EAAgE;AAEhE,6CAAsE;AAA7D,wGAAA,aAAa,OAAA;AAAE,8GAAA,mBAAmB,OAAA;AAE3C,MAAa,cAAc;IAKzB,YACU,eAAgC,EACxC,UAAkB,EACV,MAAiB,EACjB,UAAkB,EAC1B,wBAAwB,GAAG,KAAK;QAJhC;;;;mBAAQ,eAAe;WAAiB;QAExC;;;;mBAAQ,MAAM;WAAW;QACzB;;;;mBAAQ,UAAU;WAAQ;QAN5B;;;;;WAAa;QASX,IAAI,CAAC,EAAE,GAAG,IAAA,UAAK,EAAC,UAAU,EAAE,wBAAwB,CAAC,CAAA;IACvD,CAAC;IAED,KAAK,CAAC,cAAc;QAClB,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M,GAAG,IAAI;YACjB,CAAC,CAAC,EAAE,EAAE,EAAE,IAAI,CAAC,OAAO,EAAE;YACtB,CAAC,CAAC,EAAE,mBAAmB,EAAE,YAAY,EAAE,CAAA;QAEzC,MAAM,GAAG,GAAG,MAAM,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,EAAE,MAAM,CAAC,CAAC,gBAAgB,EAAE,CAAA;QACpE,OAAO,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,GAAG,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,IAAI,CAAA;IAC7D,CAAC;IAED,KAAK,CAAC,eAAe,CAAC,IAAU;QAC9B,MAAM,GAAG,GAAG,MAAM,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC,gBAAgB,EAAE,CAAA;QACtE,OAAO,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,GAAG,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,IAAI,CAAA;IAC7D,CAAC;CACF;AA/pBD,wCA+pBC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getAccountInfo.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/admin/getAccountInfo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAC5C,OAAO,UAAU,MAAM,qBAAqB,CAAA;
|
1
|
+
{"version":3,"file":"getAccountInfo.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/admin/getAccountInfo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAC5C,OAAO,UAAU,MAAM,qBAAqB,CAAA;AAK5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QA0BvD"}
|