@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.
Files changed (206) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/account-manager/{index.d.ts → account-manager.d.ts} +26 -35
  3. package/dist/account-manager/account-manager.d.ts.map +1 -0
  4. package/dist/account-manager/{index.js → account-manager.js} +52 -207
  5. package/dist/account-manager/account-manager.js.map +1 -0
  6. package/dist/account-manager/helpers/account.d.ts +3 -3
  7. package/dist/account-manager/helpers/device-account.d.ts +15 -15
  8. package/dist/account-manager/helpers/device-account.d.ts.map +1 -1
  9. package/dist/account-manager/helpers/device-account.js +2 -1
  10. package/dist/account-manager/helpers/device-account.js.map +1 -1
  11. package/dist/account-manager/helpers/token.d.ts +98 -98
  12. package/dist/account-manager/oauth-store.d.ts +58 -0
  13. package/dist/account-manager/oauth-store.d.ts.map +1 -0
  14. package/dist/account-manager/oauth-store.js +417 -0
  15. package/dist/account-manager/oauth-store.js.map +1 -0
  16. package/dist/actor-store/record/reader.d.ts +3 -3
  17. package/dist/actor-store/repo/reader.d.ts +2 -0
  18. package/dist/actor-store/repo/reader.d.ts.map +1 -1
  19. package/dist/actor-store/repo/reader.js +9 -0
  20. package/dist/actor-store/repo/reader.js.map +1 -1
  21. package/dist/actor-store/repo/sql-repo-reader.d.ts +1 -1
  22. package/dist/actor-store/repo/transactor.d.ts.map +1 -1
  23. package/dist/actor-store/repo/transactor.js +13 -4
  24. package/dist/actor-store/repo/transactor.js.map +1 -1
  25. package/dist/api/com/atproto/admin/deleteAccount.d.ts.map +1 -1
  26. package/dist/api/com/atproto/admin/deleteAccount.js +2 -3
  27. package/dist/api/com/atproto/admin/deleteAccount.js.map +1 -1
  28. package/dist/api/com/atproto/admin/updateAccountHandle.d.ts.map +1 -1
  29. package/dist/api/com/atproto/admin/updateAccountHandle.js +2 -6
  30. package/dist/api/com/atproto/admin/updateAccountHandle.js.map +1 -1
  31. package/dist/api/com/atproto/identity/resolveHandle.d.ts.map +1 -1
  32. package/dist/api/com/atproto/identity/resolveHandle.js +2 -36
  33. package/dist/api/com/atproto/identity/resolveHandle.js.map +1 -1
  34. package/dist/api/com/atproto/identity/updateHandle.d.ts.map +1 -1
  35. package/dist/api/com/atproto/identity/updateHandle.js +1 -7
  36. package/dist/api/com/atproto/identity/updateHandle.js.map +1 -1
  37. package/dist/api/com/atproto/server/activateAccount.d.ts.map +1 -1
  38. package/dist/api/com/atproto/server/activateAccount.js +2 -18
  39. package/dist/api/com/atproto/server/activateAccount.js.map +1 -1
  40. package/dist/api/com/atproto/server/createAccount.d.ts.map +1 -1
  41. package/dist/api/com/atproto/server/createAccount.js +5 -7
  42. package/dist/api/com/atproto/server/createAccount.js.map +1 -1
  43. package/dist/api/com/atproto/server/createSession.js +1 -1
  44. package/dist/api/com/atproto/server/createSession.js.map +1 -1
  45. package/dist/api/com/atproto/server/deleteAccount.d.ts.map +1 -1
  46. package/dist/api/com/atproto/server/deleteAccount.js +2 -3
  47. package/dist/api/com/atproto/server/deleteAccount.js.map +1 -1
  48. package/dist/api/com/atproto/server/getSession.js +1 -1
  49. package/dist/api/com/atproto/server/getSession.js.map +1 -1
  50. package/dist/api/com/atproto/server/refreshSession.js +1 -1
  51. package/dist/api/com/atproto/server/refreshSession.js.map +1 -1
  52. package/dist/api/com/atproto/sync/getRecord.d.ts.map +1 -1
  53. package/dist/api/com/atproto/sync/getRecord.js.map +1 -1
  54. package/dist/api/com/atproto/sync/getRepoStatus.js +1 -1
  55. package/dist/api/com/atproto/sync/getRepoStatus.js.map +1 -1
  56. package/dist/api/com/atproto/sync/listRepos.js +1 -1
  57. package/dist/api/com/atproto/sync/listRepos.js.map +1 -1
  58. package/dist/api/com/atproto/sync/subscribeRepos.d.ts.map +1 -1
  59. package/dist/api/com/atproto/sync/subscribeRepos.js +2 -10
  60. package/dist/api/com/atproto/sync/subscribeRepos.js.map +1 -1
  61. package/dist/app-view.d.ts +14 -0
  62. package/dist/app-view.d.ts.map +1 -0
  63. package/dist/app-view.js +36 -0
  64. package/dist/app-view.js.map +1 -0
  65. package/dist/auth-routes.d.ts +1 -1
  66. package/dist/auth-routes.d.ts.map +1 -1
  67. package/dist/auth-routes.js +9 -3
  68. package/dist/auth-routes.js.map +1 -1
  69. package/dist/auth-verifier.d.ts +1 -1
  70. package/dist/auth-verifier.d.ts.map +1 -1
  71. package/dist/config/config.d.ts +3 -2
  72. package/dist/config/config.d.ts.map +1 -1
  73. package/dist/config/config.js +17 -7
  74. package/dist/config/config.js.map +1 -1
  75. package/dist/config/env.d.ts +4 -0
  76. package/dist/config/env.d.ts.map +1 -1
  77. package/dist/config/env.js +5 -0
  78. package/dist/config/env.js.map +1 -1
  79. package/dist/context.d.ts +4 -4
  80. package/dist/context.d.ts.map +1 -1
  81. package/dist/context.js +24 -18
  82. package/dist/context.js.map +1 -1
  83. package/dist/handle/index.d.ts +0 -7
  84. package/dist/handle/index.d.ts.map +1 -1
  85. package/dist/handle/index.js +4 -58
  86. package/dist/handle/index.js.map +1 -1
  87. package/dist/image/image-url.d.ts +8 -0
  88. package/dist/image/image-url.d.ts.map +1 -0
  89. package/dist/image/image-url.js +26 -0
  90. package/dist/image/image-url.js.map +1 -0
  91. package/dist/lexicon/index.d.ts +6 -0
  92. package/dist/lexicon/index.d.ts.map +1 -1
  93. package/dist/lexicon/index.js +12 -0
  94. package/dist/lexicon/index.js.map +1 -1
  95. package/dist/lexicon/lexicons.d.ts +304 -130
  96. package/dist/lexicon/lexicons.d.ts.map +1 -1
  97. package/dist/lexicon/lexicons.js +168 -67
  98. package/dist/lexicon/lexicons.js.map +1 -1
  99. package/dist/lexicon/types/app/bsky/embed/video.d.ts +1 -0
  100. package/dist/lexicon/types/app/bsky/embed/video.d.ts.map +1 -1
  101. package/dist/lexicon/types/app/bsky/embed/video.js.map +1 -1
  102. package/dist/lexicon/types/com/atproto/identity/defs.d.ts +17 -0
  103. package/dist/lexicon/types/com/atproto/identity/defs.d.ts.map +1 -0
  104. package/dist/lexicon/types/com/atproto/identity/defs.js +16 -0
  105. package/dist/lexicon/types/com/atproto/identity/defs.js.map +1 -0
  106. package/dist/lexicon/types/com/atproto/identity/refreshIdentity.d.ts +39 -0
  107. package/dist/lexicon/types/com/atproto/identity/refreshIdentity.d.ts.map +1 -0
  108. package/dist/lexicon/types/com/atproto/identity/refreshIdentity.js +7 -0
  109. package/dist/lexicon/types/com/atproto/identity/refreshIdentity.js.map +1 -0
  110. package/dist/lexicon/types/com/atproto/identity/resolveDid.d.ts +40 -0
  111. package/dist/lexicon/types/com/atproto/identity/resolveDid.d.ts.map +1 -0
  112. package/dist/lexicon/types/com/atproto/identity/resolveDid.js +7 -0
  113. package/dist/lexicon/types/com/atproto/identity/resolveDid.js.map +1 -0
  114. package/dist/lexicon/types/com/atproto/identity/resolveHandle.d.ts +1 -0
  115. package/dist/lexicon/types/com/atproto/identity/resolveHandle.d.ts.map +1 -1
  116. package/dist/lexicon/types/com/atproto/identity/resolveIdentity.d.ts +36 -0
  117. package/dist/lexicon/types/com/atproto/identity/resolveIdentity.d.ts.map +1 -0
  118. package/dist/lexicon/types/com/atproto/identity/resolveIdentity.js +7 -0
  119. package/dist/lexicon/types/com/atproto/identity/resolveIdentity.js.map +1 -0
  120. package/dist/lexicon/types/com/atproto/sync/subscribeRepos.d.ts +1 -30
  121. package/dist/lexicon/types/com/atproto/sync/subscribeRepos.d.ts.map +1 -1
  122. package/dist/lexicon/types/com/atproto/sync/subscribeRepos.js +0 -27
  123. package/dist/lexicon/types/com/atproto/sync/subscribeRepos.js.map +1 -1
  124. package/dist/mailer/index.d.ts +5 -5
  125. package/dist/mailer/index.d.ts.map +1 -1
  126. package/dist/mailer/index.js +6 -5
  127. package/dist/mailer/index.js.map +1 -1
  128. package/dist/read-after-write/viewer.d.ts +1 -1
  129. package/dist/read-after-write/viewer.d.ts.map +1 -1
  130. package/dist/repo/types.d.ts +6 -2
  131. package/dist/repo/types.d.ts.map +1 -1
  132. package/dist/repo/types.js.map +1 -1
  133. package/dist/scripts/rebuild-repo.d.ts.map +1 -1
  134. package/dist/scripts/rebuild-repo.js +2 -1
  135. package/dist/scripts/rebuild-repo.js.map +1 -1
  136. package/dist/sequencer/db/schema.d.ts +1 -1
  137. package/dist/sequencer/db/schema.d.ts.map +1 -1
  138. package/dist/sequencer/events.d.ts +29 -41
  139. package/dist/sequencer/events.d.ts.map +1 -1
  140. package/dist/sequencer/events.js +24 -58
  141. package/dist/sequencer/events.js.map +1 -1
  142. package/dist/sequencer/sequencer.d.ts +2 -3
  143. package/dist/sequencer/sequencer.d.ts.map +1 -1
  144. package/dist/sequencer/sequencer.js +5 -17
  145. package/dist/sequencer/sequencer.js.map +1 -1
  146. package/package.json +15 -15
  147. package/src/account-manager/{index.ts → account-manager.ts} +107 -307
  148. package/src/account-manager/helpers/device-account.ts +1 -0
  149. package/src/account-manager/oauth-store.ts +494 -0
  150. package/src/actor-store/repo/reader.ts +11 -0
  151. package/src/actor-store/repo/transactor.ts +15 -4
  152. package/src/api/com/atproto/admin/deleteAccount.ts +2 -3
  153. package/src/api/com/atproto/admin/updateAccountHandle.ts +7 -8
  154. package/src/api/com/atproto/identity/resolveHandle.ts +2 -11
  155. package/src/api/com/atproto/identity/updateHandle.ts +4 -7
  156. package/src/api/com/atproto/server/activateAccount.ts +4 -18
  157. package/src/api/com/atproto/server/createAccount.ts +10 -11
  158. package/src/api/com/atproto/server/createSession.ts +1 -1
  159. package/src/api/com/atproto/server/deleteAccount.ts +2 -3
  160. package/src/api/com/atproto/server/getSession.ts +1 -1
  161. package/src/api/com/atproto/server/refreshSession.ts +1 -1
  162. package/src/api/com/atproto/sync/getRecord.ts +0 -1
  163. package/src/api/com/atproto/sync/getRepoStatus.ts +1 -1
  164. package/src/api/com/atproto/sync/listRepos.ts +1 -1
  165. package/src/api/com/atproto/sync/subscribeRepos.ts +2 -9
  166. package/src/app-view.ts +24 -0
  167. package/src/auth-routes.ts +9 -3
  168. package/src/auth-verifier.ts +1 -1
  169. package/src/config/config.ts +25 -13
  170. package/src/config/env.ts +12 -0
  171. package/src/context.ts +44 -24
  172. package/src/handle/index.ts +6 -52
  173. package/src/image/image-url.ts +16 -0
  174. package/src/lexicon/index.ts +36 -0
  175. package/src/lexicon/lexicons.ts +183 -67
  176. package/src/lexicon/types/app/bsky/embed/video.ts +1 -0
  177. package/src/lexicon/types/com/atproto/identity/defs.ts +30 -0
  178. package/src/lexicon/types/com/atproto/identity/refreshIdentity.ts +52 -0
  179. package/src/lexicon/types/com/atproto/identity/resolveDid.ts +52 -0
  180. package/src/lexicon/types/com/atproto/identity/resolveHandle.ts +1 -0
  181. package/src/lexicon/types/com/atproto/identity/resolveIdentity.ts +48 -0
  182. package/src/lexicon/types/com/atproto/sync/subscribeRepos.ts +0 -59
  183. package/src/mailer/index.ts +7 -5
  184. package/src/read-after-write/viewer.ts +1 -1
  185. package/src/repo/types.ts +7 -2
  186. package/src/scripts/rebuild-repo.ts +4 -1
  187. package/src/sequencer/db/schema.ts +1 -8
  188. package/src/sequencer/events.ts +29 -75
  189. package/src/sequencer/sequencer.ts +9 -23
  190. package/tests/account-deletion.test.ts +3 -5
  191. package/tests/oauth.test.ts +286 -71
  192. package/tests/sequencer.test.ts +18 -27
  193. package/tests/sync/subscribe-repos.test.ts +67 -45
  194. package/tsconfig.build.tsbuildinfo +1 -1
  195. package/dist/account-manager/index.d.ts.map +0 -1
  196. package/dist/account-manager/index.js.map +0 -1
  197. package/dist/actor-store/repo/util.d.ts +0 -5
  198. package/dist/actor-store/repo/util.d.ts.map +0 -1
  199. package/dist/actor-store/repo/util.js +0 -25
  200. package/dist/actor-store/repo/util.js.map +0 -1
  201. package/dist/oauth/provider.d.ts +0 -10
  202. package/dist/oauth/provider.d.ts.map +0 -1
  203. package/dist/oauth/provider.js +0 -38
  204. package/dist/oauth/provider.js.map +0 -1
  205. package/src/actor-store/repo/util.ts +0 -22
  206. 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.takedownRef" | "actor.createdAt" | "actor.handle" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
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.createdAt" | "token.tokenId" | "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<{
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.takedownRef" | "actor.createdAt" | "actor.handle" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
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.createdAt" | "token.tokenId" | "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<{
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.takedownRef" | "actor.createdAt" | "actor.handle" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
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.createdAt" | "token.tokenId" | "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<{
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.takedownRef" | "actor.createdAt" | "actor.handle" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
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.createdAt" | "token.tokenId" | "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<{
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.takedownRef" | "actor.createdAt" | "actor.handle" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
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.createdAt" | "token.tokenId" | "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<{
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.takedownRef" | "actor.createdAt" | "actor.handle" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
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.createdAt" | "token.tokenId" | "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<{
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.takedownRef" | "actor.createdAt" | "actor.handle" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
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.createdAt" | "token.tokenId" | "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<{
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.takedownRef" | "actor.createdAt" | "actor.handle" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
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.createdAt" | "token.tokenId" | "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<{
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.takedownRef" | "actor.createdAt" | "actor.handle" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
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.createdAt" | "token.tokenId" | "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<{
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.takedownRef" | "actor.createdAt" | "actor.handle" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
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.createdAt" | "token.tokenId" | "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<{
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.takedownRef" | "actor.createdAt" | "actor.handle" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
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.createdAt" | "token.tokenId" | "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<{
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.takedownRef" | "actor.createdAt" | "actor.handle" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
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.createdAt" | "token.tokenId" | "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<{
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.takedownRef" | "actor.createdAt" | "actor.handle" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
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.createdAt" | "token.tokenId" | "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<{
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.takedownRef" | "actor.createdAt" | "actor.handle" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
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.createdAt" | "token.tokenId" | "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<{
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.takedownRef" | "actor.createdAt" | "actor.handle" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
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.createdAt" | "token.tokenId" | "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<{
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.takedownRef" | "actor.createdAt" | "actor.handle" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
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.createdAt" | "token.tokenId" | "token.expiresAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.currentRefreshToken">>>>>>;
480
+ }, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.expiresAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.currentRefreshToken">>>>>>;
481
481
  export declare const removeByDidQB: (db: AccountDb, did: string) => import("kysely").DeleteQueryBuilder<import("kysely/dist/cjs/parser/table-parser").From<import("../db").DatabaseSchema, "token">, "token", import("kysely").DeleteResult>;
482
482
  export declare const rotateQB: (db: AccountDb, id: number, newTokenId: TokenId, newRefreshToken: RefreshToken, newData: NewTokenData) => import("kysely").UpdateQueryBuilder<import("kysely/dist/cjs/parser/table-parser").From<import("../db").DatabaseSchema, "token">, "token", "token", import("kysely").UpdateResult>;
483
483
  export declare const removeQB: (db: AccountDb, tokenId: TokenId) => import("kysely").DeleteQueryBuilder<import("kysely/dist/cjs/parser/table-parser").From<import("../db").DatabaseSchema, "token">, "token", import("kysely").DeleteResult>;