@atproto/pds 0.4.72 → 0.4.73
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +9 -0
- package/dist/account-manager/helpers/account.d.ts +1 -1
- package/dist/account-manager/helpers/device-account.d.ts +6 -6
- package/dist/account-manager/helpers/token.d.ts +49 -49
- package/dist/lexicon/lexicons.d.ts +9822 -22228
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +7 -1
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/defs.d.ts +1 -1
- package/dist/lexicon/types/app/bsky/actor/defs.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/defs.js.map +1 -1
- package/dist/sequencer/events.d.ts +3 -3
- package/package.json +4 -4
- package/src/lexicon/lexicons.ts +9 -4
- package/src/lexicon/types/app/bsky/actor/defs.ts +7 -1
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# @atproto/pds
|
2
2
|
|
3
|
+
## 0.4.73
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- [#3082](https://github.com/bluesky-social/atproto/pull/3082) [`a3ce23c4c`](https://github.com/bluesky-social/atproto/commit/a3ce23c4ccf4f40998b9d1f5731e5c905390aedc) Thanks [@gaearon](https://github.com/gaearon)! - Add hotness as a thread sorting option
|
8
|
+
|
9
|
+
- Updated dependencies [[`a3ce23c4c`](https://github.com/bluesky-social/atproto/commit/a3ce23c4ccf4f40998b9d1f5731e5c905390aedc)]:
|
10
|
+
- @atproto/api@0.13.18
|
11
|
+
|
3
12
|
## 0.4.72
|
4
13
|
|
5
14
|
### 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
|
-
token: import("../db").Token;
|
23
22
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
23
|
+
token: import("../db").Token;
|
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
|
-
token: import("../db").Token;
|
23
22
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
23
|
+
token: import("../db").Token;
|
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
|
-
token: import("../db").Token;
|
37
36
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
37
|
+
token: import("../db").Token;
|
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
|
-
token: import("../db").Token;
|
51
50
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
51
|
+
token: import("../db").Token;
|
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
|
-
token: import("../db").Token;
|
66
65
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
66
|
+
token: import("../db").Token;
|
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
|
-
token: import("../db").Token;
|
80
79
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
80
|
+
token: import("../db").Token;
|
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
|
-
token: import("../db").Token;
|
94
93
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
94
|
+
token: import("../db").Token;
|
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
|
-
token: Token;
|
20
19
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
20
|
+
token: Token;
|
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
|
-
token: Token;
|
34
33
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
34
|
+
token: Token;
|
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
|
-
token: Token;
|
48
47
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
48
|
+
token: Token;
|
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.
|
61
|
-
token: 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<{
|
62
61
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
62
|
+
token: Token;
|
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
|
-
token: Token;
|
76
75
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
76
|
+
token: Token;
|
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.
|
89
|
-
token: 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<{
|
90
89
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
90
|
+
token: Token;
|
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
|
-
token: Token;
|
104
103
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
104
|
+
token: Token;
|
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.
|
117
|
-
token: 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<{
|
118
117
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
118
|
+
token: Token;
|
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
|
-
token: Token;
|
132
131
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
132
|
+
token: Token;
|
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.
|
145
|
-
token: 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<{
|
146
145
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
146
|
+
token: Token;
|
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
|
-
token: Token;
|
160
159
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
160
|
+
token: Token;
|
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.
|
173
|
-
token: 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<{
|
174
173
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
174
|
+
token: Token;
|
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
|
-
token: Token;
|
188
187
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
188
|
+
token: Token;
|
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.
|
201
|
-
token: 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<{
|
202
201
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
202
|
+
token: Token;
|
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
|
-
token: Token;
|
216
215
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
216
|
+
token: Token;
|
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.
|
229
|
-
token: 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<{
|
230
229
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
230
|
+
token: Token;
|
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
|
-
token: Token;
|
244
243
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
244
|
+
token: Token;
|
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.
|
257
|
-
token: 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<{
|
258
257
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
258
|
+
token: Token;
|
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
|
-
token: Token;
|
272
271
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
272
|
+
token: Token;
|
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.
|
285
|
-
token: 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<{
|
286
285
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
286
|
+
token: Token;
|
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
|
-
token: Token;
|
300
299
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
300
|
+
token: Token;
|
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.
|
313
|
-
token: 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<{
|
314
313
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
314
|
+
token: Token;
|
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
|
-
token: Token;
|
328
327
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
328
|
+
token: Token;
|
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.
|
341
|
-
token: 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<{
|
342
341
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
342
|
+
token: Token;
|
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
|
-
token: Token;
|
356
355
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
356
|
+
token: Token;
|
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.
|
369
|
-
token: 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<{
|
370
369
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
370
|
+
token: Token;
|
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
|
-
token: Token;
|
384
383
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
384
|
+
token: Token;
|
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.
|
397
|
-
token: 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<{
|
398
397
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
398
|
+
token: Token;
|
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
|
-
token: Token;
|
412
411
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
412
|
+
token: Token;
|
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.
|
425
|
-
token: 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<{
|
426
425
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
426
|
+
token: Token;
|
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
|
-
token: Token;
|
440
439
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
440
|
+
token: Token;
|
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.
|
453
|
-
token: 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<{
|
454
453
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
454
|
+
token: Token;
|
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
|
-
token: Token;
|
468
467
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
468
|
+
token: Token;
|
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.
|
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>;
|