@atproto/pds 0.4.73 → 0.4.75

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/account-manager/helpers/account.d.ts +1 -1
  3. package/dist/account-manager/helpers/device-account.d.ts +6 -6
  4. package/dist/account-manager/helpers/token.d.ts +49 -49
  5. package/dist/api/com/atproto/server/createAccount.d.ts.map +1 -1
  6. package/dist/api/com/atproto/server/createAccount.js +3 -5
  7. package/dist/api/com/atproto/server/createAccount.js.map +1 -1
  8. package/dist/api/com/atproto/server/updateEmail.d.ts.map +1 -1
  9. package/dist/api/com/atproto/server/updateEmail.js +3 -2
  10. package/dist/api/com/atproto/server/updateEmail.js.map +1 -1
  11. package/dist/auth-routes.d.ts.map +1 -1
  12. package/dist/auth-routes.js +4 -0
  13. package/dist/auth-routes.js.map +1 -1
  14. package/dist/lexicon/lexicons.d.ts +22234 -9820
  15. package/dist/lexicon/lexicons.d.ts.map +1 -1
  16. package/dist/lexicon/lexicons.js +5 -1
  17. package/dist/lexicon/lexicons.js.map +1 -1
  18. package/dist/lexicon/types/tools/ozone/moderation/defs.d.ts +2 -0
  19. package/dist/lexicon/types/tools/ozone/moderation/defs.d.ts.map +1 -1
  20. package/dist/lexicon/types/tools/ozone/moderation/defs.js.map +1 -1
  21. package/dist/lexicon/types/tools/ozone/moderation/queryEvents.d.ts +1 -1
  22. package/dist/lexicon/types/tools/ozone/moderation/queryEvents.d.ts.map +1 -1
  23. package/dist/sequencer/events.d.ts +3 -3
  24. package/package.json +8 -8
  25. package/src/api/com/atproto/server/createAccount.ts +4 -2
  26. package/src/api/com/atproto/server/updateEmail.ts +3 -2
  27. package/src/auth-routes.ts +7 -0
  28. package/src/lexicon/lexicons.ts +9 -3
  29. package/src/lexicon/types/tools/ozone/moderation/defs.ts +2 -0
  30. package/src/lexicon/types/tools/ozone/moderation/queryEvents.ts +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # @atproto/pds
2
2
 
3
+ ## 0.4.75
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`622654672`](https://github.com/bluesky-social/atproto/commit/6226546725d1bb0375e3c9e0d71af173e8253c4f), [`ed2236220`](https://github.com/bluesky-social/atproto/commit/ed2236220900ab9a6132c525289cfdd959733a42)]:
8
+ - @atproto/oauth-provider@0.2.9
9
+ - @atproto/api@0.13.19
10
+ - @atproto-labs/fetch-node@0.1.4
11
+
12
+ ## 0.4.74
13
+
14
+ ### Patch Changes
15
+
16
+ - [#3092](https://github.com/bluesky-social/atproto/pull/3092) [`1e367cba2`](https://github.com/bluesky-social/atproto/commit/1e367cba2bd1ff5560c2ec5c2a5d348cd9342b65) Thanks [@matthieusieben](https://github.com/matthieusieben)! - Improve email validation logic
17
+
18
+ - [#3066](https://github.com/bluesky-social/atproto/pull/3066) [`5ddd51235`](https://github.com/bluesky-social/atproto/commit/5ddd51235c7e064bddcad2dd218df05d144d18d3) Thanks [@matthieusieben](https://github.com/matthieusieben)! - Prevent use of non https: resource uri in production environments
19
+
20
+ - [#3092](https://github.com/bluesky-social/atproto/pull/3092) [`1e367cba2`](https://github.com/bluesky-social/atproto/commit/1e367cba2bd1ff5560c2ec5c2a5d348cd9342b65) Thanks [@matthieusieben](https://github.com/matthieusieben)! - Update list of forbidden domain names in email addresses
21
+
22
+ - Updated dependencies []:
23
+ - @atproto/oauth-provider@0.2.8
24
+
3
25
  ## 0.4.73
4
26
 
5
27
  ### Patch Changes
@@ -19,8 +19,8 @@ export declare enum AccountStatus {
19
19
  Deactivated = "deactivated"
20
20
  }
21
21
  export declare const selectAccountQB: (db: AccountDb, flags?: AvailabilityFlags) => import("kysely/dist/cjs/parser/select-parser").QueryBuilderWithSelection<{
22
- account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
23
22
  token: import("../db").Token;
23
+ account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
24
24
  actor: import("../db").Actor;
25
25
  device: import("../db").Device;
26
26
  device_account: import("../db").DeviceAccount;
@@ -19,8 +19,8 @@ export declare const updateQB: (db: AccountDb, deviceId: DeviceId, did: string,
19
19
  }) => import("kysely").UpdateQueryBuilder<import("kysely/dist/cjs/parser/table-parser").From<import("../db").DatabaseSchema, "device_account">, "device_account", "device_account", import("kysely").UpdateResult>;
20
20
  export declare const createOrUpdateQB: (db: AccountDb, deviceId: DeviceId, did: string, remember: boolean) => import("kysely").InsertQueryBuilder<import("../db").DatabaseSchema, "device_account", import("kysely").InsertResult>;
21
21
  export declare const getAccountInfoQB: (db: AccountDb, deviceId: DeviceId, did: string) => import("kysely").SelectQueryBuilder<{
22
- account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
23
22
  token: import("../db").Token;
23
+ account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
24
24
  actor: import("../db").Actor;
25
25
  device: import("../db").Device;
26
26
  device_account: DeviceAccount;
@@ -33,8 +33,8 @@ export declare const getAccountInfoQB: (db: AccountDb, deviceId: DeviceId, did:
33
33
  invite_code_use: import("../db").InviteCodeUse;
34
34
  email_token: import("../db").EmailToken;
35
35
  }, "account" | "actor" | "device" | "device_account", Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
36
- account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
37
36
  token: import("../db").Token;
37
+ account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
38
38
  actor: import("../db").Actor;
39
39
  device: import("../db").Device;
40
40
  device_account: DeviceAccount;
@@ -47,8 +47,8 @@ export declare const getAccountInfoQB: (db: AccountDb, deviceId: DeviceId, did:
47
47
  invite_code_use: import("../db").InviteCodeUse;
48
48
  email_token: import("../db").EmailToken;
49
49
  }, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.handle" | "actor.createdAt" | "actor.takedownRef" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
50
- account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
51
50
  token: import("../db").Token;
51
+ account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
52
52
  actor: import("../db").Actor;
53
53
  device: import("../db").Device;
54
54
  device_account: DeviceAccount;
@@ -62,8 +62,8 @@ export declare const getAccountInfoQB: (db: AccountDb, deviceId: DeviceId, did:
62
62
  email_token: import("../db").EmailToken;
63
63
  }, "account" | "actor" | "device" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients">>;
64
64
  export declare const listRememberedQB: (db: AccountDb, deviceId: DeviceId) => import("kysely").SelectQueryBuilder<{
65
- account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
66
65
  token: import("../db").Token;
66
+ account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
67
67
  actor: import("../db").Actor;
68
68
  device: import("../db").Device;
69
69
  device_account: DeviceAccount;
@@ -76,8 +76,8 @@ export declare const listRememberedQB: (db: AccountDb, deviceId: DeviceId) => im
76
76
  invite_code_use: import("../db").InviteCodeUse;
77
77
  email_token: import("../db").EmailToken;
78
78
  }, "account" | "actor" | "device" | "device_account", Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
79
- account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
80
79
  token: import("../db").Token;
80
+ account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
81
81
  actor: import("../db").Actor;
82
82
  device: import("../db").Device;
83
83
  device_account: DeviceAccount;
@@ -90,8 +90,8 @@ export declare const listRememberedQB: (db: AccountDb, deviceId: DeviceId) => im
90
90
  invite_code_use: import("../db").InviteCodeUse;
91
91
  email_token: import("../db").EmailToken;
92
92
  }, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.handle" | "actor.createdAt" | "actor.takedownRef" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
93
- account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
94
93
  token: import("../db").Token;
94
+ account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
95
95
  actor: import("../db").Actor;
96
96
  device: import("../db").Device;
97
97
  device_account: DeviceAccount;
@@ -16,8 +16,8 @@ export declare const findByQB: (db: AccountDb, search: {
16
16
  tokenId?: TokenId;
17
17
  currentRefreshToken?: RefreshToken;
18
18
  }) => import("kysely").SelectQueryBuilder<{
19
- account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
20
19
  token: Token;
20
+ account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
21
21
  actor: import("../db").Actor;
22
22
  device: import("../db").Device;
23
23
  device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
@@ -30,8 +30,8 @@ export declare const findByQB: (db: AccountDb, search: {
30
30
  invite_code_use: import("../db").InviteCodeUse;
31
31
  email_token: import("../db").EmailToken;
32
32
  }, "token" | "account" | "actor" | "device_account", import("kysely/dist/cjs/util/type-utils").MergePartial<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<{
33
- account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
34
33
  token: Token;
34
+ account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
35
35
  actor: import("../db").Actor;
36
36
  device: import("../db").Device;
37
37
  device_account: import("../db").DeviceAccount;
@@ -44,8 +44,8 @@ export declare const findByQB: (db: AccountDb, search: {
44
44
  invite_code_use: import("../db").InviteCodeUse;
45
45
  email_token: import("../db").EmailToken;
46
46
  }, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.handle" | "actor.createdAt" | "actor.takedownRef" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
47
- account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
48
47
  token: Token;
48
+ account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
49
49
  actor: import("../db").Actor;
50
50
  device: import("../db").Device;
51
51
  device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
@@ -57,9 +57,9 @@ 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.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
- account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
60
+ }, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.expiresAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.currentRefreshToken">, Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
62
61
  token: Token;
62
+ account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
63
63
  actor: import("../db").Actor;
64
64
  device: import("../db").Device;
65
65
  device_account: import("../db").DeviceAccount;
@@ -72,8 +72,8 @@ export declare const findByQB: (db: AccountDb, search: {
72
72
  invite_code_use: import("../db").InviteCodeUse;
73
73
  email_token: import("../db").EmailToken;
74
74
  }, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.handle" | "actor.createdAt" | "actor.takedownRef" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
75
- account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
76
75
  token: Token;
76
+ account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
77
77
  actor: import("../db").Actor;
78
78
  device: import("../db").Device;
79
79
  device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
@@ -85,9 +85,9 @@ 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.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
- account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
88
+ }, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.expiresAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.currentRefreshToken">>, import("kysely/dist/cjs/util/type-utils").MergePartial<Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
90
89
  token: Token;
90
+ account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
91
91
  actor: import("../db").Actor;
92
92
  device: import("../db").Device;
93
93
  device_account: import("../db").DeviceAccount;
@@ -100,8 +100,8 @@ export declare const findByQB: (db: AccountDb, search: {
100
100
  invite_code_use: import("../db").InviteCodeUse;
101
101
  email_token: import("../db").EmailToken;
102
102
  }, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.handle" | "actor.createdAt" | "actor.takedownRef" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
103
- account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
104
103
  token: Token;
104
+ account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
105
105
  actor: import("../db").Actor;
106
106
  device: import("../db").Device;
107
107
  device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
@@ -113,9 +113,9 @@ 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.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
- account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
116
+ }, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.expiresAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.currentRefreshToken">, Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
118
117
  token: Token;
118
+ account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
119
119
  actor: import("../db").Actor;
120
120
  device: import("../db").Device;
121
121
  device_account: import("../db").DeviceAccount;
@@ -128,8 +128,8 @@ export declare const findByQB: (db: AccountDb, search: {
128
128
  invite_code_use: import("../db").InviteCodeUse;
129
129
  email_token: import("../db").EmailToken;
130
130
  }, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.handle" | "actor.createdAt" | "actor.takedownRef" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
131
- account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
132
131
  token: Token;
132
+ account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
133
133
  actor: import("../db").Actor;
134
134
  device: import("../db").Device;
135
135
  device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
@@ -141,9 +141,9 @@ 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.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
- account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
144
+ }, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.expiresAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "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<{
146
145
  token: Token;
146
+ account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
147
147
  actor: import("../db").Actor;
148
148
  device: import("../db").Device;
149
149
  device_account: import("../db").DeviceAccount;
@@ -156,8 +156,8 @@ export declare const findByQB: (db: AccountDb, search: {
156
156
  invite_code_use: import("../db").InviteCodeUse;
157
157
  email_token: import("../db").EmailToken;
158
158
  }, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.handle" | "actor.createdAt" | "actor.takedownRef" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
159
- account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
160
159
  token: Token;
160
+ account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
161
161
  actor: import("../db").Actor;
162
162
  device: import("../db").Device;
163
163
  device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
@@ -169,9 +169,9 @@ 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.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
- account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
172
+ }, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.expiresAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.currentRefreshToken">, Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
174
173
  token: Token;
174
+ account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
175
175
  actor: import("../db").Actor;
176
176
  device: import("../db").Device;
177
177
  device_account: import("../db").DeviceAccount;
@@ -184,8 +184,8 @@ export declare const findByQB: (db: AccountDb, search: {
184
184
  invite_code_use: import("../db").InviteCodeUse;
185
185
  email_token: import("../db").EmailToken;
186
186
  }, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.handle" | "actor.createdAt" | "actor.takedownRef" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
187
- account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
188
187
  token: Token;
188
+ account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
189
189
  actor: import("../db").Actor;
190
190
  device: import("../db").Device;
191
191
  device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
@@ -197,9 +197,9 @@ 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.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
- account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
200
+ }, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.expiresAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.currentRefreshToken">>, import("kysely/dist/cjs/util/type-utils").MergePartial<Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
202
201
  token: Token;
202
+ account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
203
203
  actor: import("../db").Actor;
204
204
  device: import("../db").Device;
205
205
  device_account: import("../db").DeviceAccount;
@@ -212,8 +212,8 @@ export declare const findByQB: (db: AccountDb, search: {
212
212
  invite_code_use: import("../db").InviteCodeUse;
213
213
  email_token: import("../db").EmailToken;
214
214
  }, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.handle" | "actor.createdAt" | "actor.takedownRef" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
215
- account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
216
215
  token: Token;
216
+ account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
217
217
  actor: import("../db").Actor;
218
218
  device: import("../db").Device;
219
219
  device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
@@ -225,9 +225,9 @@ 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.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
- account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
228
+ }, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.expiresAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.currentRefreshToken">, Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
230
229
  token: Token;
230
+ account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
231
231
  actor: import("../db").Actor;
232
232
  device: import("../db").Device;
233
233
  device_account: import("../db").DeviceAccount;
@@ -240,8 +240,8 @@ export declare const findByQB: (db: AccountDb, search: {
240
240
  invite_code_use: import("../db").InviteCodeUse;
241
241
  email_token: import("../db").EmailToken;
242
242
  }, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.handle" | "actor.createdAt" | "actor.takedownRef" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
243
- account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
244
243
  token: Token;
244
+ account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
245
245
  actor: import("../db").Actor;
246
246
  device: import("../db").Device;
247
247
  device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
@@ -253,9 +253,9 @@ 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.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
- account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
256
+ }, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.expiresAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "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<{
258
257
  token: Token;
258
+ account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
259
259
  actor: import("../db").Actor;
260
260
  device: import("../db").Device;
261
261
  device_account: import("../db").DeviceAccount;
@@ -268,8 +268,8 @@ export declare const findByQB: (db: AccountDb, search: {
268
268
  invite_code_use: import("../db").InviteCodeUse;
269
269
  email_token: import("../db").EmailToken;
270
270
  }, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.handle" | "actor.createdAt" | "actor.takedownRef" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
271
- account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
272
271
  token: Token;
272
+ account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
273
273
  actor: import("../db").Actor;
274
274
  device: import("../db").Device;
275
275
  device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
@@ -281,9 +281,9 @@ 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.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
- account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
284
+ }, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.expiresAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.currentRefreshToken">, Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
286
285
  token: Token;
286
+ account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
287
287
  actor: import("../db").Actor;
288
288
  device: import("../db").Device;
289
289
  device_account: import("../db").DeviceAccount;
@@ -296,8 +296,8 @@ export declare const findByQB: (db: AccountDb, search: {
296
296
  invite_code_use: import("../db").InviteCodeUse;
297
297
  email_token: import("../db").EmailToken;
298
298
  }, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.handle" | "actor.createdAt" | "actor.takedownRef" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
299
- account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
300
299
  token: Token;
300
+ account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
301
301
  actor: import("../db").Actor;
302
302
  device: import("../db").Device;
303
303
  device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
@@ -309,9 +309,9 @@ 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.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
- account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
312
+ }, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.expiresAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.currentRefreshToken">>, import("kysely/dist/cjs/util/type-utils").MergePartial<Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
314
313
  token: Token;
314
+ account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
315
315
  actor: import("../db").Actor;
316
316
  device: import("../db").Device;
317
317
  device_account: import("../db").DeviceAccount;
@@ -324,8 +324,8 @@ export declare const findByQB: (db: AccountDb, search: {
324
324
  invite_code_use: import("../db").InviteCodeUse;
325
325
  email_token: import("../db").EmailToken;
326
326
  }, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.handle" | "actor.createdAt" | "actor.takedownRef" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
327
- account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
328
327
  token: Token;
328
+ account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
329
329
  actor: import("../db").Actor;
330
330
  device: import("../db").Device;
331
331
  device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
@@ -337,9 +337,9 @@ 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.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
- account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
340
+ }, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.expiresAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.currentRefreshToken">, Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
342
341
  token: Token;
342
+ account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
343
343
  actor: import("../db").Actor;
344
344
  device: import("../db").Device;
345
345
  device_account: import("../db").DeviceAccount;
@@ -352,8 +352,8 @@ export declare const findByQB: (db: AccountDb, search: {
352
352
  invite_code_use: import("../db").InviteCodeUse;
353
353
  email_token: import("../db").EmailToken;
354
354
  }, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.handle" | "actor.createdAt" | "actor.takedownRef" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
355
- account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
356
355
  token: Token;
356
+ account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
357
357
  actor: import("../db").Actor;
358
358
  device: import("../db").Device;
359
359
  device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
@@ -365,9 +365,9 @@ 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.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
- account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
368
+ }, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.expiresAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "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<{
370
369
  token: Token;
370
+ account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
371
371
  actor: import("../db").Actor;
372
372
  device: import("../db").Device;
373
373
  device_account: import("../db").DeviceAccount;
@@ -380,8 +380,8 @@ export declare const findByQB: (db: AccountDb, search: {
380
380
  invite_code_use: import("../db").InviteCodeUse;
381
381
  email_token: import("../db").EmailToken;
382
382
  }, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.handle" | "actor.createdAt" | "actor.takedownRef" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
383
- account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
384
383
  token: Token;
384
+ account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
385
385
  actor: import("../db").Actor;
386
386
  device: import("../db").Device;
387
387
  device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
@@ -393,9 +393,9 @@ 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.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
- account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
396
+ }, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.expiresAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.currentRefreshToken">, Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
398
397
  token: Token;
398
+ account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
399
399
  actor: import("../db").Actor;
400
400
  device: import("../db").Device;
401
401
  device_account: import("../db").DeviceAccount;
@@ -408,8 +408,8 @@ export declare const findByQB: (db: AccountDb, search: {
408
408
  invite_code_use: import("../db").InviteCodeUse;
409
409
  email_token: import("../db").EmailToken;
410
410
  }, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.handle" | "actor.createdAt" | "actor.takedownRef" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
411
- account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
412
411
  token: Token;
412
+ account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
413
413
  actor: import("../db").Actor;
414
414
  device: import("../db").Device;
415
415
  device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
@@ -421,9 +421,9 @@ 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.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
- account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
424
+ }, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.expiresAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.currentRefreshToken">>, import("kysely/dist/cjs/util/type-utils").MergePartial<Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
426
425
  token: Token;
426
+ account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
427
427
  actor: import("../db").Actor;
428
428
  device: import("../db").Device;
429
429
  device_account: import("../db").DeviceAccount;
@@ -436,8 +436,8 @@ export declare const findByQB: (db: AccountDb, search: {
436
436
  invite_code_use: import("../db").InviteCodeUse;
437
437
  email_token: import("../db").EmailToken;
438
438
  }, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.handle" | "actor.createdAt" | "actor.takedownRef" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
439
- account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
440
439
  token: Token;
440
+ account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
441
441
  actor: import("../db").Actor;
442
442
  device: import("../db").Device;
443
443
  device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
@@ -449,9 +449,9 @@ 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.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
- account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
452
+ }, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.expiresAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.currentRefreshToken">, Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
454
453
  token: Token;
454
+ account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
455
455
  actor: import("../db").Actor;
456
456
  device: import("../db").Device;
457
457
  device_account: import("../db").DeviceAccount;
@@ -464,8 +464,8 @@ export declare const findByQB: (db: AccountDb, search: {
464
464
  invite_code_use: import("../db").InviteCodeUse;
465
465
  email_token: import("../db").EmailToken;
466
466
  }, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.handle" | "actor.createdAt" | "actor.takedownRef" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
467
- account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
468
467
  token: Token;
468
+ account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
469
469
  actor: import("../db").Actor;
470
470
  device: import("../db").Device;
471
471
  device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
@@ -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.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.expiresAt" | "token.currentRefreshToken">>>>>>;
480
+ }, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.expiresAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "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>;
@@ -1 +1 @@
1
- {"version":3,"file":"createAccount.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/server/createAccount.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAE5C,OAAO,UAAU,MAAM,qBAAqB,CAAA;AAI5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QAiFvD"}
1
+ {"version":3,"file":"createAccount.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/server/createAccount.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAE5C,OAAO,UAAU,MAAM,qBAAqB,CAAA;AAI5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QAiFvD"}
@@ -22,9 +22,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
22
22
  __setModuleDefault(result, mod);
23
23
  return result;
24
24
  };
25
- var __importDefault = (this && this.__importDefault) || function (mod) {
26
- return (mod && mod.__esModule) ? mod : { "default": mod };
27
- };
28
25
  Object.defineProperty(exports, "__esModule", { value: true });
29
26
  exports.default = default_1;
30
27
  const common_1 = require("@atproto/common");
@@ -32,7 +29,8 @@ const identity_1 = require("@atproto/identity");
32
29
  const xrpc_server_1 = require("@atproto/xrpc-server");
33
30
  const crypto_1 = require("@atproto/crypto");
34
31
  const plc = __importStar(require("@did-plc/lib"));
35
- const disposable_email_1 = __importDefault(require("disposable-email"));
32
+ const address_1 = require("@hapi/address");
33
+ const disposable_email_domains_js_1 = require("disposable-email-domains-js");
36
34
  const handle_1 = require("../../../../handle");
37
35
  const util_1 = require("./util");
38
36
  const account_manager_1 = require("../../../../account-manager");
@@ -159,7 +157,7 @@ const validateInputsForLocalPds = async (ctx, input, requester) => {
159
157
  if (!email) {
160
158
  throw new xrpc_server_1.InvalidRequestError('Email is required');
161
159
  }
162
- else if (!disposable_email_1.default.validate(email)) {
160
+ else if (!(0, address_1.isEmailValid)(email) || (0, disposable_email_domains_js_1.isDisposableEmail)(email)) {
163
161
  throw new xrpc_server_1.InvalidRequestError('This email address is not supported, please use a different email.');
164
162
  }
165
163
  // normalize & ensure valid handle
@@ -1 +1 @@
1
- {"version":3,"file":"createAccount.js","sourceRoot":"","sources":["../../../../../src/api/com/atproto/server/createAccount.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA,4BAiFC;AAjGD,4CAA4D;AAC5D,gDAAkE;AAClE,sDAA6E;AAC7E,4CAA8E;AAC9E,kDAAmC;AACnC,wEAAyC;AACzC,+CAG2B;AAI3B,iCAA0C;AAC1C,iEAA2D;AAE3D,mBAAyB,MAAc,EAAE,GAAe;IACtD,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,MAAM,CAAC,aAAa,CAAC;QACtC,SAAS,EAAE;YACT,UAAU,EAAE,CAAC,GAAG,eAAM;YACtB,MAAM,EAAE,GAAG;SACZ;QACD,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,uBAAuB;QAC9C,OAAO,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE,EAAE;YACtC,MAAM,SAAS,GA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,EACjB,QAIC,EACD,EAAE;IACF,yCAAyC;IACzC,qEAAqE;IACrE,mEAAmE;IACnE,IAAI,IAAI,CAAC,MAAM,KAAK,QAAQ,CAAC,MAAM,EAAE,CAAC;QACpC,MAAM,IAAI,iCAAmB,CAC3B,oDAAoD,EACpD,oBAAoB,CACrB,CAAA;IACH,CAAC;SAAM,IAAI,IAAI,CAAC,GAAG,KAAK,QAAQ,CAAC,GAAG,EAAE,CAAC;QACrC,MAAM,IAAI,iCAAmB,CAC3B,2DAA2D,EAC3D,oBAAoB,CACrB,CAAA;IACH,CAAC;SAAM,IAAI,IAAI,CAAC,UAAU,KAAK,QAAQ,CAAC,UAAU,EAAE,CAAC;QACnD,MAAM,IAAI,iCAAmB,CAC3B,6DAA6D,EAC7D,oBAAoB,CACrB,CAAA;IACH,CAAC;AACH,CAAC,CAAA"}
1
+ {"version":3,"file":"createAccount.js","sourceRoot":"","sources":["../../../../../src/api/com/atproto/server/createAccount.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAkBA,4BAiFC;AAnGD,4CAA4D;AAC5D,gDAAkE;AAClE,sDAA6E;AAC7E,4CAA8E;AAC9E,kDAAmC;AACnC,2CAA4C;AAC5C,6EAA+D;AAE/D,+CAG2B;AAI3B,iCAA0C;AAC1C,iEAA2D;AAE3D,mBAAyB,MAAc,EAAE,GAAe;IACtD,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,MAAM,CAAC,aAAa,CAAC;QACtC,SAAS,EAAE;YACT,UAAU,EAAE,CAAC,GAAG,eAAM;YACtB,MAAM,EAAE,GAAG;SACZ;QACD,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,uBAAuB;QAC9C,OAAO,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE,EAAE;YACtC,MAAM,SAAS,GAAG,IAAI,CAAC,WAAW,EAAE,GAAG,IAAI,IAAI,CAAA;YAC/C,MAAM,EACJ,GAAG,EACH,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E;IACrE,mEAAmE;IACnE,IAAI,IAAI,CAAC,MAAM,KAAK,QAAQ,CAAC,MAAM,EAAE,CAAC;QACpC,MAAM,IAAI,iCAAmB,CAC3B,oDAAoD,EACpD,oBAAoB,CACrB,CAAA;IACH,CAAC;SAAM,IAAI,IAAI,CAAC,GAAG,KAAK,QAAQ,CAAC,GAAG,EAAE,CAAC;QACrC,MAAM,IAAI,iCAAmB,CAC3B,2DAA2D,EAC3D,oBAAoB,CACrB,CAAA;IACH,CAAC;SAAM,IAAI,IAAI,CAAC,UAAU,KAAK,QAAQ,CAAC,UAAU,EAAE,CAAC;QACnD,MAAM,IAAI,iCAAmB,CAC3B,6DAA6D,EAC7D,oBAAoB,CACrB,CAAA;IACH,CAAC;AACH,CAAC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"updateEmail.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/server/updateEmail.ts"],"names":[],"mappings":"AAMA,OAAO,UAAU,MAAM,qBAAqB,CAAA;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAG5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QA2DvD"}
1
+ {"version":3,"file":"updateEmail.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/server/updateEmail.ts"],"names":[],"mappings":"AAOA,OAAO,UAAU,MAAM,qBAAqB,CAAA;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAG5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QA2DvD"}