@atproto/pds 0.4.104 → 0.4.105
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.
- package/CHANGELOG.md +22 -0
- package/dist/account-manager/{index.d.ts → account-manager.d.ts} +26 -35
- package/dist/account-manager/account-manager.d.ts.map +1 -0
- package/dist/account-manager/{index.js → account-manager.js} +52 -207
- package/dist/account-manager/account-manager.js.map +1 -0
- package/dist/account-manager/helpers/account.d.ts +3 -3
- package/dist/account-manager/helpers/device-account.d.ts +15 -15
- package/dist/account-manager/helpers/device-account.d.ts.map +1 -1
- package/dist/account-manager/helpers/device-account.js +2 -1
- package/dist/account-manager/helpers/device-account.js.map +1 -1
- package/dist/account-manager/helpers/token.d.ts +98 -98
- package/dist/account-manager/oauth-store.d.ts +58 -0
- package/dist/account-manager/oauth-store.d.ts.map +1 -0
- package/dist/account-manager/oauth-store.js +417 -0
- package/dist/account-manager/oauth-store.js.map +1 -0
- package/dist/actor-store/record/reader.d.ts +3 -3
- package/dist/actor-store/repo/reader.d.ts +2 -0
- package/dist/actor-store/repo/reader.d.ts.map +1 -1
- package/dist/actor-store/repo/reader.js +9 -0
- package/dist/actor-store/repo/reader.js.map +1 -1
- package/dist/actor-store/repo/sql-repo-reader.d.ts +1 -1
- package/dist/actor-store/repo/transactor.d.ts.map +1 -1
- package/dist/actor-store/repo/transactor.js +13 -4
- package/dist/actor-store/repo/transactor.js.map +1 -1
- package/dist/api/com/atproto/admin/deleteAccount.d.ts.map +1 -1
- package/dist/api/com/atproto/admin/deleteAccount.js +2 -3
- package/dist/api/com/atproto/admin/deleteAccount.js.map +1 -1
- package/dist/api/com/atproto/admin/updateAccountHandle.d.ts.map +1 -1
- package/dist/api/com/atproto/admin/updateAccountHandle.js +2 -6
- package/dist/api/com/atproto/admin/updateAccountHandle.js.map +1 -1
- package/dist/api/com/atproto/identity/resolveHandle.d.ts.map +1 -1
- package/dist/api/com/atproto/identity/resolveHandle.js +2 -36
- package/dist/api/com/atproto/identity/resolveHandle.js.map +1 -1
- package/dist/api/com/atproto/identity/updateHandle.d.ts.map +1 -1
- package/dist/api/com/atproto/identity/updateHandle.js +1 -7
- package/dist/api/com/atproto/identity/updateHandle.js.map +1 -1
- package/dist/api/com/atproto/server/activateAccount.d.ts.map +1 -1
- package/dist/api/com/atproto/server/activateAccount.js +2 -18
- package/dist/api/com/atproto/server/activateAccount.js.map +1 -1
- package/dist/api/com/atproto/server/createAccount.d.ts.map +1 -1
- package/dist/api/com/atproto/server/createAccount.js +5 -7
- package/dist/api/com/atproto/server/createAccount.js.map +1 -1
- package/dist/api/com/atproto/server/createSession.js +1 -1
- package/dist/api/com/atproto/server/createSession.js.map +1 -1
- package/dist/api/com/atproto/server/deleteAccount.d.ts.map +1 -1
- package/dist/api/com/atproto/server/deleteAccount.js +2 -3
- package/dist/api/com/atproto/server/deleteAccount.js.map +1 -1
- package/dist/api/com/atproto/server/getSession.js +1 -1
- package/dist/api/com/atproto/server/getSession.js.map +1 -1
- package/dist/api/com/atproto/server/refreshSession.js +1 -1
- package/dist/api/com/atproto/server/refreshSession.js.map +1 -1
- package/dist/api/com/atproto/sync/getRecord.d.ts.map +1 -1
- package/dist/api/com/atproto/sync/getRecord.js.map +1 -1
- package/dist/api/com/atproto/sync/getRepoStatus.js +1 -1
- package/dist/api/com/atproto/sync/getRepoStatus.js.map +1 -1
- package/dist/api/com/atproto/sync/listRepos.js +1 -1
- package/dist/api/com/atproto/sync/listRepos.js.map +1 -1
- package/dist/api/com/atproto/sync/subscribeRepos.d.ts.map +1 -1
- package/dist/api/com/atproto/sync/subscribeRepos.js +2 -10
- package/dist/api/com/atproto/sync/subscribeRepos.js.map +1 -1
- package/dist/app-view.d.ts +14 -0
- package/dist/app-view.d.ts.map +1 -0
- package/dist/app-view.js +36 -0
- package/dist/app-view.js.map +1 -0
- package/dist/auth-routes.d.ts +1 -1
- package/dist/auth-routes.d.ts.map +1 -1
- package/dist/auth-routes.js +9 -3
- package/dist/auth-routes.js.map +1 -1
- package/dist/auth-verifier.d.ts +1 -1
- package/dist/auth-verifier.d.ts.map +1 -1
- package/dist/config/config.d.ts +3 -2
- package/dist/config/config.d.ts.map +1 -1
- package/dist/config/config.js +17 -7
- package/dist/config/config.js.map +1 -1
- package/dist/config/env.d.ts +4 -0
- package/dist/config/env.d.ts.map +1 -1
- package/dist/config/env.js +5 -0
- package/dist/config/env.js.map +1 -1
- package/dist/context.d.ts +4 -4
- package/dist/context.d.ts.map +1 -1
- package/dist/context.js +24 -18
- package/dist/context.js.map +1 -1
- package/dist/handle/index.d.ts +0 -7
- package/dist/handle/index.d.ts.map +1 -1
- package/dist/handle/index.js +4 -58
- package/dist/handle/index.js.map +1 -1
- package/dist/image/image-url.d.ts +8 -0
- package/dist/image/image-url.d.ts.map +1 -0
- package/dist/image/image-url.js +26 -0
- package/dist/image/image-url.js.map +1 -0
- package/dist/lexicon/index.d.ts +6 -0
- package/dist/lexicon/index.d.ts.map +1 -1
- package/dist/lexicon/index.js +12 -0
- package/dist/lexicon/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +304 -130
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +168 -67
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/embed/video.d.ts +1 -0
- package/dist/lexicon/types/app/bsky/embed/video.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/embed/video.js.map +1 -1
- package/dist/lexicon/types/com/atproto/identity/defs.d.ts +17 -0
- package/dist/lexicon/types/com/atproto/identity/defs.d.ts.map +1 -0
- package/dist/lexicon/types/com/atproto/identity/defs.js +16 -0
- package/dist/lexicon/types/com/atproto/identity/defs.js.map +1 -0
- package/dist/lexicon/types/com/atproto/identity/refreshIdentity.d.ts +39 -0
- package/dist/lexicon/types/com/atproto/identity/refreshIdentity.d.ts.map +1 -0
- package/dist/lexicon/types/com/atproto/identity/refreshIdentity.js +7 -0
- package/dist/lexicon/types/com/atproto/identity/refreshIdentity.js.map +1 -0
- package/dist/lexicon/types/com/atproto/identity/resolveDid.d.ts +40 -0
- package/dist/lexicon/types/com/atproto/identity/resolveDid.d.ts.map +1 -0
- package/dist/lexicon/types/com/atproto/identity/resolveDid.js +7 -0
- package/dist/lexicon/types/com/atproto/identity/resolveDid.js.map +1 -0
- package/dist/lexicon/types/com/atproto/identity/resolveHandle.d.ts +1 -0
- package/dist/lexicon/types/com/atproto/identity/resolveHandle.d.ts.map +1 -1
- package/dist/lexicon/types/com/atproto/identity/resolveIdentity.d.ts +36 -0
- package/dist/lexicon/types/com/atproto/identity/resolveIdentity.d.ts.map +1 -0
- package/dist/lexicon/types/com/atproto/identity/resolveIdentity.js +7 -0
- package/dist/lexicon/types/com/atproto/identity/resolveIdentity.js.map +1 -0
- package/dist/lexicon/types/com/atproto/sync/subscribeRepos.d.ts +1 -30
- package/dist/lexicon/types/com/atproto/sync/subscribeRepos.d.ts.map +1 -1
- package/dist/lexicon/types/com/atproto/sync/subscribeRepos.js +0 -27
- package/dist/lexicon/types/com/atproto/sync/subscribeRepos.js.map +1 -1
- package/dist/mailer/index.d.ts +5 -5
- package/dist/mailer/index.d.ts.map +1 -1
- package/dist/mailer/index.js +6 -5
- package/dist/mailer/index.js.map +1 -1
- package/dist/read-after-write/viewer.d.ts +1 -1
- package/dist/read-after-write/viewer.d.ts.map +1 -1
- package/dist/repo/types.d.ts +6 -2
- package/dist/repo/types.d.ts.map +1 -1
- package/dist/repo/types.js.map +1 -1
- package/dist/scripts/rebuild-repo.d.ts.map +1 -1
- package/dist/scripts/rebuild-repo.js +2 -1
- package/dist/scripts/rebuild-repo.js.map +1 -1
- package/dist/sequencer/db/schema.d.ts +1 -1
- package/dist/sequencer/db/schema.d.ts.map +1 -1
- package/dist/sequencer/events.d.ts +29 -41
- package/dist/sequencer/events.d.ts.map +1 -1
- package/dist/sequencer/events.js +24 -58
- package/dist/sequencer/events.js.map +1 -1
- package/dist/sequencer/sequencer.d.ts +2 -3
- package/dist/sequencer/sequencer.d.ts.map +1 -1
- package/dist/sequencer/sequencer.js +5 -17
- package/dist/sequencer/sequencer.js.map +1 -1
- package/package.json +15 -15
- package/src/account-manager/{index.ts → account-manager.ts} +107 -307
- package/src/account-manager/helpers/device-account.ts +1 -0
- package/src/account-manager/oauth-store.ts +494 -0
- package/src/actor-store/repo/reader.ts +11 -0
- package/src/actor-store/repo/transactor.ts +15 -4
- package/src/api/com/atproto/admin/deleteAccount.ts +2 -3
- package/src/api/com/atproto/admin/updateAccountHandle.ts +7 -8
- package/src/api/com/atproto/identity/resolveHandle.ts +2 -11
- package/src/api/com/atproto/identity/updateHandle.ts +4 -7
- package/src/api/com/atproto/server/activateAccount.ts +4 -18
- package/src/api/com/atproto/server/createAccount.ts +10 -11
- package/src/api/com/atproto/server/createSession.ts +1 -1
- package/src/api/com/atproto/server/deleteAccount.ts +2 -3
- package/src/api/com/atproto/server/getSession.ts +1 -1
- package/src/api/com/atproto/server/refreshSession.ts +1 -1
- package/src/api/com/atproto/sync/getRecord.ts +0 -1
- package/src/api/com/atproto/sync/getRepoStatus.ts +1 -1
- package/src/api/com/atproto/sync/listRepos.ts +1 -1
- package/src/api/com/atproto/sync/subscribeRepos.ts +2 -9
- package/src/app-view.ts +24 -0
- package/src/auth-routes.ts +9 -3
- package/src/auth-verifier.ts +1 -1
- package/src/config/config.ts +25 -13
- package/src/config/env.ts +12 -0
- package/src/context.ts +44 -24
- package/src/handle/index.ts +6 -52
- package/src/image/image-url.ts +16 -0
- package/src/lexicon/index.ts +36 -0
- package/src/lexicon/lexicons.ts +183 -67
- package/src/lexicon/types/app/bsky/embed/video.ts +1 -0
- package/src/lexicon/types/com/atproto/identity/defs.ts +30 -0
- package/src/lexicon/types/com/atproto/identity/refreshIdentity.ts +52 -0
- package/src/lexicon/types/com/atproto/identity/resolveDid.ts +52 -0
- package/src/lexicon/types/com/atproto/identity/resolveHandle.ts +1 -0
- package/src/lexicon/types/com/atproto/identity/resolveIdentity.ts +48 -0
- package/src/lexicon/types/com/atproto/sync/subscribeRepos.ts +0 -59
- package/src/mailer/index.ts +7 -5
- package/src/read-after-write/viewer.ts +1 -1
- package/src/repo/types.ts +7 -2
- package/src/scripts/rebuild-repo.ts +4 -1
- package/src/sequencer/db/schema.ts +1 -8
- package/src/sequencer/events.ts +29 -75
- package/src/sequencer/sequencer.ts +9 -23
- package/tests/account-deletion.test.ts +3 -5
- package/tests/oauth.test.ts +286 -71
- package/tests/sequencer.test.ts +18 -27
- package/tests/sync/subscribe-repos.test.ts +67 -45
- package/tsconfig.build.tsbuildinfo +1 -1
- package/dist/account-manager/index.d.ts.map +0 -1
- package/dist/account-manager/index.js.map +0 -1
- package/dist/actor-store/repo/util.d.ts +0 -5
- package/dist/actor-store/repo/util.d.ts.map +0 -1
- package/dist/actor-store/repo/util.js +0 -25
- package/dist/actor-store/repo/util.js.map +0 -1
- package/dist/oauth/provider.d.ts +0 -10
- package/dist/oauth/provider.d.ts.map +0 -1
- package/dist/oauth/provider.js +0 -38
- package/dist/oauth/provider.js.map +0 -1
- package/src/actor-store/repo/util.ts +0 -22
- package/src/oauth/provider.ts +0 -59
@@ -16,468 +16,468 @@ export declare const findByQB: (db: AccountDb, search: {
|
|
16
16
|
tokenId?: TokenId;
|
17
17
|
currentRefreshToken?: RefreshToken;
|
18
18
|
}) => import("kysely").SelectQueryBuilder<{
|
19
|
-
repo_root: import("../db").RepoRoot;
|
20
|
-
token: Token;
|
21
19
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
20
|
+
token: Token;
|
22
21
|
actor: import("../db").Actor;
|
23
22
|
app_password: import("../db").AppPassword;
|
24
23
|
invite_code: import("../db").InviteCode;
|
25
24
|
invite_code_use: import("../db").InviteCodeUse;
|
26
25
|
refresh_token: import("../db").RefreshToken;
|
26
|
+
repo_root: import("../db").RepoRoot;
|
27
27
|
email_token: import("../db").EmailToken;
|
28
28
|
authorization_request: import("../db").AuthorizationRequest;
|
29
29
|
device: import("../db").Device;
|
30
30
|
device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
|
31
31
|
used_refresh_token: import("../db").UsedRefreshToken;
|
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
|
-
repo_root: import("../db").RepoRoot;
|
34
|
-
token: Token;
|
35
33
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
34
|
+
token: Token;
|
36
35
|
actor: import("../db").Actor;
|
37
36
|
app_password: import("../db").AppPassword;
|
38
37
|
invite_code: import("../db").InviteCode;
|
39
38
|
invite_code_use: import("../db").InviteCodeUse;
|
40
39
|
refresh_token: import("../db").RefreshToken;
|
40
|
+
repo_root: import("../db").RepoRoot;
|
41
41
|
email_token: import("../db").EmailToken;
|
42
42
|
authorization_request: import("../db").AuthorizationRequest;
|
43
43
|
device: import("../db").Device;
|
44
44
|
device_account: import("../db").DeviceAccount;
|
45
45
|
used_refresh_token: import("../db").UsedRefreshToken;
|
46
|
-
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.
|
47
|
-
repo_root: import("../db").RepoRoot;
|
48
|
-
token: Token;
|
46
|
+
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.handle" | "actor.createdAt" | "actor.takedownRef" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
|
49
47
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
48
|
+
token: Token;
|
50
49
|
actor: import("../db").Actor;
|
51
50
|
app_password: import("../db").AppPassword;
|
52
51
|
invite_code: import("../db").InviteCode;
|
53
52
|
invite_code_use: import("../db").InviteCodeUse;
|
54
53
|
refresh_token: import("../db").RefreshToken;
|
54
|
+
repo_root: import("../db").RepoRoot;
|
55
55
|
email_token: import("../db").EmailToken;
|
56
56
|
authorization_request: import("../db").AuthorizationRequest;
|
57
57
|
device: import("../db").Device;
|
58
58
|
device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
|
59
59
|
used_refresh_token: import("../db").UsedRefreshToken;
|
60
|
-
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.
|
61
|
-
repo_root: import("../db").RepoRoot;
|
62
|
-
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.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<{
|
63
61
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
62
|
+
token: Token;
|
64
63
|
actor: import("../db").Actor;
|
65
64
|
app_password: import("../db").AppPassword;
|
66
65
|
invite_code: import("../db").InviteCode;
|
67
66
|
invite_code_use: import("../db").InviteCodeUse;
|
68
67
|
refresh_token: import("../db").RefreshToken;
|
68
|
+
repo_root: import("../db").RepoRoot;
|
69
69
|
email_token: import("../db").EmailToken;
|
70
70
|
authorization_request: import("../db").AuthorizationRequest;
|
71
71
|
device: import("../db").Device;
|
72
72
|
device_account: import("../db").DeviceAccount;
|
73
73
|
used_refresh_token: import("../db").UsedRefreshToken;
|
74
|
-
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.
|
75
|
-
repo_root: import("../db").RepoRoot;
|
76
|
-
token: Token;
|
74
|
+
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.handle" | "actor.createdAt" | "actor.takedownRef" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
|
77
75
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
76
|
+
token: Token;
|
78
77
|
actor: import("../db").Actor;
|
79
78
|
app_password: import("../db").AppPassword;
|
80
79
|
invite_code: import("../db").InviteCode;
|
81
80
|
invite_code_use: import("../db").InviteCodeUse;
|
82
81
|
refresh_token: import("../db").RefreshToken;
|
82
|
+
repo_root: import("../db").RepoRoot;
|
83
83
|
email_token: import("../db").EmailToken;
|
84
84
|
authorization_request: import("../db").AuthorizationRequest;
|
85
85
|
device: import("../db").Device;
|
86
86
|
device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
|
87
87
|
used_refresh_token: import("../db").UsedRefreshToken;
|
88
|
-
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.
|
89
|
-
repo_root: import("../db").RepoRoot;
|
90
|
-
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.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<{
|
91
89
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
90
|
+
token: Token;
|
92
91
|
actor: import("../db").Actor;
|
93
92
|
app_password: import("../db").AppPassword;
|
94
93
|
invite_code: import("../db").InviteCode;
|
95
94
|
invite_code_use: import("../db").InviteCodeUse;
|
96
95
|
refresh_token: import("../db").RefreshToken;
|
96
|
+
repo_root: import("../db").RepoRoot;
|
97
97
|
email_token: import("../db").EmailToken;
|
98
98
|
authorization_request: import("../db").AuthorizationRequest;
|
99
99
|
device: import("../db").Device;
|
100
100
|
device_account: import("../db").DeviceAccount;
|
101
101
|
used_refresh_token: import("../db").UsedRefreshToken;
|
102
|
-
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.
|
103
|
-
repo_root: import("../db").RepoRoot;
|
104
|
-
token: Token;
|
102
|
+
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.handle" | "actor.createdAt" | "actor.takedownRef" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
|
105
103
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
104
|
+
token: Token;
|
106
105
|
actor: import("../db").Actor;
|
107
106
|
app_password: import("../db").AppPassword;
|
108
107
|
invite_code: import("../db").InviteCode;
|
109
108
|
invite_code_use: import("../db").InviteCodeUse;
|
110
109
|
refresh_token: import("../db").RefreshToken;
|
110
|
+
repo_root: import("../db").RepoRoot;
|
111
111
|
email_token: import("../db").EmailToken;
|
112
112
|
authorization_request: import("../db").AuthorizationRequest;
|
113
113
|
device: import("../db").Device;
|
114
114
|
device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
|
115
115
|
used_refresh_token: import("../db").UsedRefreshToken;
|
116
|
-
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.
|
117
|
-
repo_root: import("../db").RepoRoot;
|
118
|
-
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.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<{
|
119
117
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
118
|
+
token: Token;
|
120
119
|
actor: import("../db").Actor;
|
121
120
|
app_password: import("../db").AppPassword;
|
122
121
|
invite_code: import("../db").InviteCode;
|
123
122
|
invite_code_use: import("../db").InviteCodeUse;
|
124
123
|
refresh_token: import("../db").RefreshToken;
|
124
|
+
repo_root: import("../db").RepoRoot;
|
125
125
|
email_token: import("../db").EmailToken;
|
126
126
|
authorization_request: import("../db").AuthorizationRequest;
|
127
127
|
device: import("../db").Device;
|
128
128
|
device_account: import("../db").DeviceAccount;
|
129
129
|
used_refresh_token: import("../db").UsedRefreshToken;
|
130
|
-
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.
|
131
|
-
repo_root: import("../db").RepoRoot;
|
132
|
-
token: Token;
|
130
|
+
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.handle" | "actor.createdAt" | "actor.takedownRef" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
|
133
131
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
132
|
+
token: Token;
|
134
133
|
actor: import("../db").Actor;
|
135
134
|
app_password: import("../db").AppPassword;
|
136
135
|
invite_code: import("../db").InviteCode;
|
137
136
|
invite_code_use: import("../db").InviteCodeUse;
|
138
137
|
refresh_token: import("../db").RefreshToken;
|
138
|
+
repo_root: import("../db").RepoRoot;
|
139
139
|
email_token: import("../db").EmailToken;
|
140
140
|
authorization_request: import("../db").AuthorizationRequest;
|
141
141
|
device: import("../db").Device;
|
142
142
|
device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
|
143
143
|
used_refresh_token: import("../db").UsedRefreshToken;
|
144
|
-
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.
|
145
|
-
repo_root: import("../db").RepoRoot;
|
146
|
-
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.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<{
|
147
145
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
146
|
+
token: Token;
|
148
147
|
actor: import("../db").Actor;
|
149
148
|
app_password: import("../db").AppPassword;
|
150
149
|
invite_code: import("../db").InviteCode;
|
151
150
|
invite_code_use: import("../db").InviteCodeUse;
|
152
151
|
refresh_token: import("../db").RefreshToken;
|
152
|
+
repo_root: import("../db").RepoRoot;
|
153
153
|
email_token: import("../db").EmailToken;
|
154
154
|
authorization_request: import("../db").AuthorizationRequest;
|
155
155
|
device: import("../db").Device;
|
156
156
|
device_account: import("../db").DeviceAccount;
|
157
157
|
used_refresh_token: import("../db").UsedRefreshToken;
|
158
|
-
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.
|
159
|
-
repo_root: import("../db").RepoRoot;
|
160
|
-
token: Token;
|
158
|
+
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.handle" | "actor.createdAt" | "actor.takedownRef" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
|
161
159
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
160
|
+
token: Token;
|
162
161
|
actor: import("../db").Actor;
|
163
162
|
app_password: import("../db").AppPassword;
|
164
163
|
invite_code: import("../db").InviteCode;
|
165
164
|
invite_code_use: import("../db").InviteCodeUse;
|
166
165
|
refresh_token: import("../db").RefreshToken;
|
166
|
+
repo_root: import("../db").RepoRoot;
|
167
167
|
email_token: import("../db").EmailToken;
|
168
168
|
authorization_request: import("../db").AuthorizationRequest;
|
169
169
|
device: import("../db").Device;
|
170
170
|
device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
|
171
171
|
used_refresh_token: import("../db").UsedRefreshToken;
|
172
|
-
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.
|
173
|
-
repo_root: import("../db").RepoRoot;
|
174
|
-
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.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<{
|
175
173
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
174
|
+
token: Token;
|
176
175
|
actor: import("../db").Actor;
|
177
176
|
app_password: import("../db").AppPassword;
|
178
177
|
invite_code: import("../db").InviteCode;
|
179
178
|
invite_code_use: import("../db").InviteCodeUse;
|
180
179
|
refresh_token: import("../db").RefreshToken;
|
180
|
+
repo_root: import("../db").RepoRoot;
|
181
181
|
email_token: import("../db").EmailToken;
|
182
182
|
authorization_request: import("../db").AuthorizationRequest;
|
183
183
|
device: import("../db").Device;
|
184
184
|
device_account: import("../db").DeviceAccount;
|
185
185
|
used_refresh_token: import("../db").UsedRefreshToken;
|
186
|
-
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.
|
187
|
-
repo_root: import("../db").RepoRoot;
|
188
|
-
token: Token;
|
186
|
+
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.handle" | "actor.createdAt" | "actor.takedownRef" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
|
189
187
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
188
|
+
token: Token;
|
190
189
|
actor: import("../db").Actor;
|
191
190
|
app_password: import("../db").AppPassword;
|
192
191
|
invite_code: import("../db").InviteCode;
|
193
192
|
invite_code_use: import("../db").InviteCodeUse;
|
194
193
|
refresh_token: import("../db").RefreshToken;
|
194
|
+
repo_root: import("../db").RepoRoot;
|
195
195
|
email_token: import("../db").EmailToken;
|
196
196
|
authorization_request: import("../db").AuthorizationRequest;
|
197
197
|
device: import("../db").Device;
|
198
198
|
device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
|
199
199
|
used_refresh_token: import("../db").UsedRefreshToken;
|
200
|
-
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.
|
201
|
-
repo_root: import("../db").RepoRoot;
|
202
|
-
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.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<{
|
203
201
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
202
|
+
token: Token;
|
204
203
|
actor: import("../db").Actor;
|
205
204
|
app_password: import("../db").AppPassword;
|
206
205
|
invite_code: import("../db").InviteCode;
|
207
206
|
invite_code_use: import("../db").InviteCodeUse;
|
208
207
|
refresh_token: import("../db").RefreshToken;
|
208
|
+
repo_root: import("../db").RepoRoot;
|
209
209
|
email_token: import("../db").EmailToken;
|
210
210
|
authorization_request: import("../db").AuthorizationRequest;
|
211
211
|
device: import("../db").Device;
|
212
212
|
device_account: import("../db").DeviceAccount;
|
213
213
|
used_refresh_token: import("../db").UsedRefreshToken;
|
214
|
-
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.
|
215
|
-
repo_root: import("../db").RepoRoot;
|
216
|
-
token: Token;
|
214
|
+
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.handle" | "actor.createdAt" | "actor.takedownRef" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
|
217
215
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
216
|
+
token: Token;
|
218
217
|
actor: import("../db").Actor;
|
219
218
|
app_password: import("../db").AppPassword;
|
220
219
|
invite_code: import("../db").InviteCode;
|
221
220
|
invite_code_use: import("../db").InviteCodeUse;
|
222
221
|
refresh_token: import("../db").RefreshToken;
|
222
|
+
repo_root: import("../db").RepoRoot;
|
223
223
|
email_token: import("../db").EmailToken;
|
224
224
|
authorization_request: import("../db").AuthorizationRequest;
|
225
225
|
device: import("../db").Device;
|
226
226
|
device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
|
227
227
|
used_refresh_token: import("../db").UsedRefreshToken;
|
228
|
-
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.
|
229
|
-
repo_root: import("../db").RepoRoot;
|
230
|
-
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.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<{
|
231
229
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
230
|
+
token: Token;
|
232
231
|
actor: import("../db").Actor;
|
233
232
|
app_password: import("../db").AppPassword;
|
234
233
|
invite_code: import("../db").InviteCode;
|
235
234
|
invite_code_use: import("../db").InviteCodeUse;
|
236
235
|
refresh_token: import("../db").RefreshToken;
|
236
|
+
repo_root: import("../db").RepoRoot;
|
237
237
|
email_token: import("../db").EmailToken;
|
238
238
|
authorization_request: import("../db").AuthorizationRequest;
|
239
239
|
device: import("../db").Device;
|
240
240
|
device_account: import("../db").DeviceAccount;
|
241
241
|
used_refresh_token: import("../db").UsedRefreshToken;
|
242
|
-
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.
|
243
|
-
repo_root: import("../db").RepoRoot;
|
244
|
-
token: Token;
|
242
|
+
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.handle" | "actor.createdAt" | "actor.takedownRef" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
|
245
243
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
244
|
+
token: Token;
|
246
245
|
actor: import("../db").Actor;
|
247
246
|
app_password: import("../db").AppPassword;
|
248
247
|
invite_code: import("../db").InviteCode;
|
249
248
|
invite_code_use: import("../db").InviteCodeUse;
|
250
249
|
refresh_token: import("../db").RefreshToken;
|
250
|
+
repo_root: import("../db").RepoRoot;
|
251
251
|
email_token: import("../db").EmailToken;
|
252
252
|
authorization_request: import("../db").AuthorizationRequest;
|
253
253
|
device: import("../db").Device;
|
254
254
|
device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
|
255
255
|
used_refresh_token: import("../db").UsedRefreshToken;
|
256
|
-
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.
|
257
|
-
repo_root: import("../db").RepoRoot;
|
258
|
-
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.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<{
|
259
257
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
258
|
+
token: Token;
|
260
259
|
actor: import("../db").Actor;
|
261
260
|
app_password: import("../db").AppPassword;
|
262
261
|
invite_code: import("../db").InviteCode;
|
263
262
|
invite_code_use: import("../db").InviteCodeUse;
|
264
263
|
refresh_token: import("../db").RefreshToken;
|
264
|
+
repo_root: import("../db").RepoRoot;
|
265
265
|
email_token: import("../db").EmailToken;
|
266
266
|
authorization_request: import("../db").AuthorizationRequest;
|
267
267
|
device: import("../db").Device;
|
268
268
|
device_account: import("../db").DeviceAccount;
|
269
269
|
used_refresh_token: import("../db").UsedRefreshToken;
|
270
|
-
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.
|
271
|
-
repo_root: import("../db").RepoRoot;
|
272
|
-
token: Token;
|
270
|
+
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.handle" | "actor.createdAt" | "actor.takedownRef" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
|
273
271
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
272
|
+
token: Token;
|
274
273
|
actor: import("../db").Actor;
|
275
274
|
app_password: import("../db").AppPassword;
|
276
275
|
invite_code: import("../db").InviteCode;
|
277
276
|
invite_code_use: import("../db").InviteCodeUse;
|
278
277
|
refresh_token: import("../db").RefreshToken;
|
278
|
+
repo_root: import("../db").RepoRoot;
|
279
279
|
email_token: import("../db").EmailToken;
|
280
280
|
authorization_request: import("../db").AuthorizationRequest;
|
281
281
|
device: import("../db").Device;
|
282
282
|
device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
|
283
283
|
used_refresh_token: import("../db").UsedRefreshToken;
|
284
|
-
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.
|
285
|
-
repo_root: import("../db").RepoRoot;
|
286
|
-
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.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<{
|
287
285
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
286
|
+
token: Token;
|
288
287
|
actor: import("../db").Actor;
|
289
288
|
app_password: import("../db").AppPassword;
|
290
289
|
invite_code: import("../db").InviteCode;
|
291
290
|
invite_code_use: import("../db").InviteCodeUse;
|
292
291
|
refresh_token: import("../db").RefreshToken;
|
292
|
+
repo_root: import("../db").RepoRoot;
|
293
293
|
email_token: import("../db").EmailToken;
|
294
294
|
authorization_request: import("../db").AuthorizationRequest;
|
295
295
|
device: import("../db").Device;
|
296
296
|
device_account: import("../db").DeviceAccount;
|
297
297
|
used_refresh_token: import("../db").UsedRefreshToken;
|
298
|
-
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.
|
299
|
-
repo_root: import("../db").RepoRoot;
|
300
|
-
token: Token;
|
298
|
+
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.handle" | "actor.createdAt" | "actor.takedownRef" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
|
301
299
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
300
|
+
token: Token;
|
302
301
|
actor: import("../db").Actor;
|
303
302
|
app_password: import("../db").AppPassword;
|
304
303
|
invite_code: import("../db").InviteCode;
|
305
304
|
invite_code_use: import("../db").InviteCodeUse;
|
306
305
|
refresh_token: import("../db").RefreshToken;
|
306
|
+
repo_root: import("../db").RepoRoot;
|
307
307
|
email_token: import("../db").EmailToken;
|
308
308
|
authorization_request: import("../db").AuthorizationRequest;
|
309
309
|
device: import("../db").Device;
|
310
310
|
device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
|
311
311
|
used_refresh_token: import("../db").UsedRefreshToken;
|
312
|
-
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.
|
313
|
-
repo_root: import("../db").RepoRoot;
|
314
|
-
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.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<{
|
315
313
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
314
|
+
token: Token;
|
316
315
|
actor: import("../db").Actor;
|
317
316
|
app_password: import("../db").AppPassword;
|
318
317
|
invite_code: import("../db").InviteCode;
|
319
318
|
invite_code_use: import("../db").InviteCodeUse;
|
320
319
|
refresh_token: import("../db").RefreshToken;
|
320
|
+
repo_root: import("../db").RepoRoot;
|
321
321
|
email_token: import("../db").EmailToken;
|
322
322
|
authorization_request: import("../db").AuthorizationRequest;
|
323
323
|
device: import("../db").Device;
|
324
324
|
device_account: import("../db").DeviceAccount;
|
325
325
|
used_refresh_token: import("../db").UsedRefreshToken;
|
326
|
-
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.
|
327
|
-
repo_root: import("../db").RepoRoot;
|
328
|
-
token: Token;
|
326
|
+
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.handle" | "actor.createdAt" | "actor.takedownRef" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
|
329
327
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
328
|
+
token: Token;
|
330
329
|
actor: import("../db").Actor;
|
331
330
|
app_password: import("../db").AppPassword;
|
332
331
|
invite_code: import("../db").InviteCode;
|
333
332
|
invite_code_use: import("../db").InviteCodeUse;
|
334
333
|
refresh_token: import("../db").RefreshToken;
|
334
|
+
repo_root: import("../db").RepoRoot;
|
335
335
|
email_token: import("../db").EmailToken;
|
336
336
|
authorization_request: import("../db").AuthorizationRequest;
|
337
337
|
device: import("../db").Device;
|
338
338
|
device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
|
339
339
|
used_refresh_token: import("../db").UsedRefreshToken;
|
340
|
-
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.
|
341
|
-
repo_root: import("../db").RepoRoot;
|
342
|
-
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.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<{
|
343
341
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
342
|
+
token: Token;
|
344
343
|
actor: import("../db").Actor;
|
345
344
|
app_password: import("../db").AppPassword;
|
346
345
|
invite_code: import("../db").InviteCode;
|
347
346
|
invite_code_use: import("../db").InviteCodeUse;
|
348
347
|
refresh_token: import("../db").RefreshToken;
|
348
|
+
repo_root: import("../db").RepoRoot;
|
349
349
|
email_token: import("../db").EmailToken;
|
350
350
|
authorization_request: import("../db").AuthorizationRequest;
|
351
351
|
device: import("../db").Device;
|
352
352
|
device_account: import("../db").DeviceAccount;
|
353
353
|
used_refresh_token: import("../db").UsedRefreshToken;
|
354
|
-
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.
|
355
|
-
repo_root: import("../db").RepoRoot;
|
356
|
-
token: Token;
|
354
|
+
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.handle" | "actor.createdAt" | "actor.takedownRef" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
|
357
355
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
356
|
+
token: Token;
|
358
357
|
actor: import("../db").Actor;
|
359
358
|
app_password: import("../db").AppPassword;
|
360
359
|
invite_code: import("../db").InviteCode;
|
361
360
|
invite_code_use: import("../db").InviteCodeUse;
|
362
361
|
refresh_token: import("../db").RefreshToken;
|
362
|
+
repo_root: import("../db").RepoRoot;
|
363
363
|
email_token: import("../db").EmailToken;
|
364
364
|
authorization_request: import("../db").AuthorizationRequest;
|
365
365
|
device: import("../db").Device;
|
366
366
|
device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
|
367
367
|
used_refresh_token: import("../db").UsedRefreshToken;
|
368
|
-
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.
|
369
|
-
repo_root: import("../db").RepoRoot;
|
370
|
-
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.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<{
|
371
369
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
370
|
+
token: Token;
|
372
371
|
actor: import("../db").Actor;
|
373
372
|
app_password: import("../db").AppPassword;
|
374
373
|
invite_code: import("../db").InviteCode;
|
375
374
|
invite_code_use: import("../db").InviteCodeUse;
|
376
375
|
refresh_token: import("../db").RefreshToken;
|
376
|
+
repo_root: import("../db").RepoRoot;
|
377
377
|
email_token: import("../db").EmailToken;
|
378
378
|
authorization_request: import("../db").AuthorizationRequest;
|
379
379
|
device: import("../db").Device;
|
380
380
|
device_account: import("../db").DeviceAccount;
|
381
381
|
used_refresh_token: import("../db").UsedRefreshToken;
|
382
|
-
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.
|
383
|
-
repo_root: import("../db").RepoRoot;
|
384
|
-
token: Token;
|
382
|
+
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.handle" | "actor.createdAt" | "actor.takedownRef" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
|
385
383
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
384
|
+
token: Token;
|
386
385
|
actor: import("../db").Actor;
|
387
386
|
app_password: import("../db").AppPassword;
|
388
387
|
invite_code: import("../db").InviteCode;
|
389
388
|
invite_code_use: import("../db").InviteCodeUse;
|
390
389
|
refresh_token: import("../db").RefreshToken;
|
390
|
+
repo_root: import("../db").RepoRoot;
|
391
391
|
email_token: import("../db").EmailToken;
|
392
392
|
authorization_request: import("../db").AuthorizationRequest;
|
393
393
|
device: import("../db").Device;
|
394
394
|
device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
|
395
395
|
used_refresh_token: import("../db").UsedRefreshToken;
|
396
|
-
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.
|
397
|
-
repo_root: import("../db").RepoRoot;
|
398
|
-
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.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<{
|
399
397
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
398
|
+
token: Token;
|
400
399
|
actor: import("../db").Actor;
|
401
400
|
app_password: import("../db").AppPassword;
|
402
401
|
invite_code: import("../db").InviteCode;
|
403
402
|
invite_code_use: import("../db").InviteCodeUse;
|
404
403
|
refresh_token: import("../db").RefreshToken;
|
404
|
+
repo_root: import("../db").RepoRoot;
|
405
405
|
email_token: import("../db").EmailToken;
|
406
406
|
authorization_request: import("../db").AuthorizationRequest;
|
407
407
|
device: import("../db").Device;
|
408
408
|
device_account: import("../db").DeviceAccount;
|
409
409
|
used_refresh_token: import("../db").UsedRefreshToken;
|
410
|
-
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.
|
411
|
-
repo_root: import("../db").RepoRoot;
|
412
|
-
token: Token;
|
410
|
+
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.handle" | "actor.createdAt" | "actor.takedownRef" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
|
413
411
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
412
|
+
token: Token;
|
414
413
|
actor: import("../db").Actor;
|
415
414
|
app_password: import("../db").AppPassword;
|
416
415
|
invite_code: import("../db").InviteCode;
|
417
416
|
invite_code_use: import("../db").InviteCodeUse;
|
418
417
|
refresh_token: import("../db").RefreshToken;
|
418
|
+
repo_root: import("../db").RepoRoot;
|
419
419
|
email_token: import("../db").EmailToken;
|
420
420
|
authorization_request: import("../db").AuthorizationRequest;
|
421
421
|
device: import("../db").Device;
|
422
422
|
device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
|
423
423
|
used_refresh_token: import("../db").UsedRefreshToken;
|
424
|
-
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.
|
425
|
-
repo_root: import("../db").RepoRoot;
|
426
|
-
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.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<{
|
427
425
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
426
|
+
token: Token;
|
428
427
|
actor: import("../db").Actor;
|
429
428
|
app_password: import("../db").AppPassword;
|
430
429
|
invite_code: import("../db").InviteCode;
|
431
430
|
invite_code_use: import("../db").InviteCodeUse;
|
432
431
|
refresh_token: import("../db").RefreshToken;
|
432
|
+
repo_root: import("../db").RepoRoot;
|
433
433
|
email_token: import("../db").EmailToken;
|
434
434
|
authorization_request: import("../db").AuthorizationRequest;
|
435
435
|
device: import("../db").Device;
|
436
436
|
device_account: import("../db").DeviceAccount;
|
437
437
|
used_refresh_token: import("../db").UsedRefreshToken;
|
438
|
-
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.
|
439
|
-
repo_root: import("../db").RepoRoot;
|
440
|
-
token: Token;
|
438
|
+
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.handle" | "actor.createdAt" | "actor.takedownRef" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
|
441
439
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
440
|
+
token: Token;
|
442
441
|
actor: import("../db").Actor;
|
443
442
|
app_password: import("../db").AppPassword;
|
444
443
|
invite_code: import("../db").InviteCode;
|
445
444
|
invite_code_use: import("../db").InviteCodeUse;
|
446
445
|
refresh_token: import("../db").RefreshToken;
|
446
|
+
repo_root: import("../db").RepoRoot;
|
447
447
|
email_token: import("../db").EmailToken;
|
448
448
|
authorization_request: import("../db").AuthorizationRequest;
|
449
449
|
device: import("../db").Device;
|
450
450
|
device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
|
451
451
|
used_refresh_token: import("../db").UsedRefreshToken;
|
452
|
-
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.
|
453
|
-
repo_root: import("../db").RepoRoot;
|
454
|
-
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.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<{
|
455
453
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
454
|
+
token: Token;
|
456
455
|
actor: import("../db").Actor;
|
457
456
|
app_password: import("../db").AppPassword;
|
458
457
|
invite_code: import("../db").InviteCode;
|
459
458
|
invite_code_use: import("../db").InviteCodeUse;
|
460
459
|
refresh_token: import("../db").RefreshToken;
|
460
|
+
repo_root: import("../db").RepoRoot;
|
461
461
|
email_token: import("../db").EmailToken;
|
462
462
|
authorization_request: import("../db").AuthorizationRequest;
|
463
463
|
device: import("../db").Device;
|
464
464
|
device_account: import("../db").DeviceAccount;
|
465
465
|
used_refresh_token: import("../db").UsedRefreshToken;
|
466
|
-
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.
|
467
|
-
repo_root: import("../db").RepoRoot;
|
468
|
-
token: Token;
|
466
|
+
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.handle" | "actor.createdAt" | "actor.takedownRef" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
|
469
467
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
468
|
+
token: Token;
|
470
469
|
actor: import("../db").Actor;
|
471
470
|
app_password: import("../db").AppPassword;
|
472
471
|
invite_code: import("../db").InviteCode;
|
473
472
|
invite_code_use: import("../db").InviteCodeUse;
|
474
473
|
refresh_token: import("../db").RefreshToken;
|
474
|
+
repo_root: import("../db").RepoRoot;
|
475
475
|
email_token: import("../db").EmailToken;
|
476
476
|
authorization_request: import("../db").AuthorizationRequest;
|
477
477
|
device: import("../db").Device;
|
478
478
|
device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
|
479
479
|
used_refresh_token: import("../db").UsedRefreshToken;
|
480
|
-
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "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.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>;
|