@atproto/pds 0.4.70 → 0.4.72
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +24 -0
- package/dist/account-manager/helpers/account.d.ts +1 -1
- package/dist/account-manager/helpers/device-account.d.ts +6 -6
- package/dist/account-manager/helpers/token.d.ts +49 -49
- package/dist/api/app/bsky/feed/getFeed.d.ts.map +1 -1
- package/dist/api/app/bsky/feed/getFeed.js +13 -2
- package/dist/api/app/bsky/feed/getFeed.js.map +1 -1
- 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 +22257 -9698
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +157 -2
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/graph/searchStarterPacks.d.ts +40 -0
- package/dist/lexicon/types/app/bsky/graph/searchStarterPacks.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/graph/searchStarterPacks.js +3 -0
- package/dist/lexicon/types/app/bsky/graph/searchStarterPacks.js.map +1 -0
- package/dist/lexicon/types/app/bsky/unspecced/defs.d.ts +6 -0
- package/dist/lexicon/types/app/bsky/unspecced/defs.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/unspecced/defs.js +10 -0
- package/dist/lexicon/types/app/bsky/unspecced/defs.js.map +1 -1
- package/dist/lexicon/types/app/bsky/unspecced/searchStarterPacksSkeleton.d.ts +46 -0
- package/dist/lexicon/types/app/bsky/unspecced/searchStarterPacksSkeleton.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/unspecced/searchStarterPacksSkeleton.js +3 -0
- package/dist/lexicon/types/app/bsky/unspecced/searchStarterPacksSkeleton.js.map +1 -0
- package/dist/lexicon/types/chat/bsky/convo/defs.d.ts +1 -0
- package/dist/lexicon/types/chat/bsky/convo/defs.d.ts.map +1 -1
- package/dist/lexicon/types/chat/bsky/convo/defs.js.map +1 -1
- package/dist/lexicon/types/com/atproto/temp/addReservedHandle.d.ts +39 -0
- package/dist/lexicon/types/com/atproto/temp/addReservedHandle.d.ts.map +1 -0
- package/dist/lexicon/types/com/atproto/temp/addReservedHandle.js +3 -0
- package/dist/lexicon/types/com/atproto/temp/addReservedHandle.js.map +1 -0
- package/dist/lexicon/types/tools/ozone/moderation/defs.d.ts +2 -2
- package/dist/lexicon/types/tools/ozone/moderation/defs.d.ts.map +1 -1
- package/dist/read-after-write/viewer.d.ts.map +1 -1
- package/dist/read-after-write/viewer.js +1 -0
- package/dist/read-after-write/viewer.js.map +1 -1
- package/dist/sequencer/events.d.ts +3 -3
- package/package.json +11 -11
- package/src/api/app/bsky/feed/getFeed.ts +15 -8
- package/src/lexicon/index.ts +36 -0
- package/src/lexicon/lexicons.ts +168 -4
- package/src/lexicon/types/app/bsky/graph/searchStarterPacks.ts +50 -0
- package/src/lexicon/types/app/bsky/unspecced/defs.ts +24 -0
- package/src/lexicon/types/app/bsky/unspecced/searchStarterPacksSkeleton.ts +56 -0
- package/src/lexicon/types/chat/bsky/convo/defs.ts +1 -0
- package/src/lexicon/types/com/atproto/temp/addReservedHandle.ts +48 -0
- package/src/lexicon/types/tools/ozone/moderation/defs.ts +2 -2
- package/src/read-after-write/viewer.ts +1 -0
- package/tsconfig.build.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,29 @@
|
|
1
1
|
# @atproto/pds
|
2
2
|
|
3
|
+
## 0.4.72
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- [#3034](https://github.com/bluesky-social/atproto/pull/3034) [`90399c859`](https://github.com/bluesky-social/atproto/commit/90399c85955301babc689c293bd3e7e1a94505a3) Thanks [@dholms](https://github.com/dholms)! - use getRecord in getFeed rather than resolving full view
|
8
|
+
|
9
|
+
- Updated dependencies [[`a4b528e5f`](https://github.com/bluesky-social/atproto/commit/a4b528e5f51c8bfca56b293b0059b88d138ec421), [`2e7aa211d`](https://github.com/bluesky-social/atproto/commit/2e7aa211d2cbc629899c7f87f1713b13b932750b)]:
|
10
|
+
- @atproto/api@0.13.17
|
11
|
+
|
12
|
+
## 0.4.71
|
13
|
+
|
14
|
+
### Patch Changes
|
15
|
+
|
16
|
+
- [#2990](https://github.com/bluesky-social/atproto/pull/2990) [`24423fc2d`](https://github.com/bluesky-social/atproto/commit/24423fc2dd394c99a29dbe4419b356090ef19546) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Ensure read-after-write handles `quoteCount` for `getPostThread` responses.
|
17
|
+
|
18
|
+
- Updated dependencies [[`bac9be2d3`](https://github.com/bluesky-social/atproto/commit/bac9be2d3ec904d1f984a871f43cf89aca17289d), [`48d08a469`](https://github.com/bluesky-social/atproto/commit/48d08a469f75837e3b7e879d286d12780440b8b8), [`bac9be2d3`](https://github.com/bluesky-social/atproto/commit/bac9be2d3ec904d1f984a871f43cf89aca17289d), [`bac9be2d3`](https://github.com/bluesky-social/atproto/commit/bac9be2d3ec904d1f984a871f43cf89aca17289d), [`561431fe4`](https://github.com/bluesky-social/atproto/commit/561431fe4897e81767dc768e9a31020d09bf86ff)]:
|
19
|
+
- @atproto/syntax@0.3.1
|
20
|
+
- @atproto/api@0.13.16
|
21
|
+
- @atproto/lexicon@0.4.3
|
22
|
+
- @atproto/repo@0.5.5
|
23
|
+
- @atproto/xrpc@0.6.4
|
24
|
+
- @atproto/xrpc-server@0.7.3
|
25
|
+
- @atproto/aws@0.2.9
|
26
|
+
|
3
27
|
## 0.4.70
|
4
28
|
|
5
29
|
### Patch Changes
|
@@ -19,8 +19,8 @@ export declare enum AccountStatus {
|
|
19
19
|
Deactivated = "deactivated"
|
20
20
|
}
|
21
21
|
export declare const selectAccountQB: (db: AccountDb, flags?: AvailabilityFlags) => import("kysely/dist/cjs/parser/select-parser").QueryBuilderWithSelection<{
|
22
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
23
22
|
token: import("../db").Token;
|
23
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
24
24
|
actor: import("../db").Actor;
|
25
25
|
device: import("../db").Device;
|
26
26
|
device_account: import("../db").DeviceAccount;
|
@@ -19,8 +19,8 @@ export declare const updateQB: (db: AccountDb, deviceId: DeviceId, did: string,
|
|
19
19
|
}) => import("kysely").UpdateQueryBuilder<import("kysely/dist/cjs/parser/table-parser").From<import("../db").DatabaseSchema, "device_account">, "device_account", "device_account", import("kysely").UpdateResult>;
|
20
20
|
export declare const createOrUpdateQB: (db: AccountDb, deviceId: DeviceId, did: string, remember: boolean) => import("kysely").InsertQueryBuilder<import("../db").DatabaseSchema, "device_account", import("kysely").InsertResult>;
|
21
21
|
export declare const getAccountInfoQB: (db: AccountDb, deviceId: DeviceId, did: string) => import("kysely").SelectQueryBuilder<{
|
22
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
23
22
|
token: import("../db").Token;
|
23
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
24
24
|
actor: import("../db").Actor;
|
25
25
|
device: import("../db").Device;
|
26
26
|
device_account: DeviceAccount;
|
@@ -33,8 +33,8 @@ export declare const getAccountInfoQB: (db: AccountDb, deviceId: DeviceId, did:
|
|
33
33
|
invite_code_use: import("../db").InviteCodeUse;
|
34
34
|
email_token: import("../db").EmailToken;
|
35
35
|
}, "account" | "actor" | "device" | "device_account", Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
|
36
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
37
36
|
token: import("../db").Token;
|
37
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
38
38
|
actor: import("../db").Actor;
|
39
39
|
device: import("../db").Device;
|
40
40
|
device_account: DeviceAccount;
|
@@ -47,8 +47,8 @@ export declare const getAccountInfoQB: (db: AccountDb, deviceId: DeviceId, did:
|
|
47
47
|
invite_code_use: import("../db").InviteCodeUse;
|
48
48
|
email_token: import("../db").EmailToken;
|
49
49
|
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.handle" | "actor.createdAt" | "actor.takedownRef" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
|
50
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
51
50
|
token: import("../db").Token;
|
51
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
52
52
|
actor: import("../db").Actor;
|
53
53
|
device: import("../db").Device;
|
54
54
|
device_account: DeviceAccount;
|
@@ -62,8 +62,8 @@ export declare const getAccountInfoQB: (db: AccountDb, deviceId: DeviceId, did:
|
|
62
62
|
email_token: import("../db").EmailToken;
|
63
63
|
}, "account" | "actor" | "device" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients">>;
|
64
64
|
export declare const listRememberedQB: (db: AccountDb, deviceId: DeviceId) => import("kysely").SelectQueryBuilder<{
|
65
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
66
65
|
token: import("../db").Token;
|
66
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
67
67
|
actor: import("../db").Actor;
|
68
68
|
device: import("../db").Device;
|
69
69
|
device_account: DeviceAccount;
|
@@ -76,8 +76,8 @@ export declare const listRememberedQB: (db: AccountDb, deviceId: DeviceId) => im
|
|
76
76
|
invite_code_use: import("../db").InviteCodeUse;
|
77
77
|
email_token: import("../db").EmailToken;
|
78
78
|
}, "account" | "actor" | "device" | "device_account", Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
|
79
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
80
79
|
token: import("../db").Token;
|
80
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
81
81
|
actor: import("../db").Actor;
|
82
82
|
device: import("../db").Device;
|
83
83
|
device_account: DeviceAccount;
|
@@ -90,8 +90,8 @@ export declare const listRememberedQB: (db: AccountDb, deviceId: DeviceId) => im
|
|
90
90
|
invite_code_use: import("../db").InviteCodeUse;
|
91
91
|
email_token: import("../db").EmailToken;
|
92
92
|
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.handle" | "actor.createdAt" | "actor.takedownRef" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
|
93
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
94
93
|
token: import("../db").Token;
|
94
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
95
95
|
actor: import("../db").Actor;
|
96
96
|
device: import("../db").Device;
|
97
97
|
device_account: DeviceAccount;
|
@@ -16,8 +16,8 @@ export declare const findByQB: (db: AccountDb, search: {
|
|
16
16
|
tokenId?: TokenId;
|
17
17
|
currentRefreshToken?: RefreshToken;
|
18
18
|
}) => import("kysely").SelectQueryBuilder<{
|
19
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
20
19
|
token: Token;
|
20
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
21
21
|
actor: import("../db").Actor;
|
22
22
|
device: import("../db").Device;
|
23
23
|
device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
|
@@ -30,8 +30,8 @@ export declare const findByQB: (db: AccountDb, search: {
|
|
30
30
|
invite_code_use: import("../db").InviteCodeUse;
|
31
31
|
email_token: import("../db").EmailToken;
|
32
32
|
}, "token" | "account" | "actor" | "device_account", import("kysely/dist/cjs/util/type-utils").MergePartial<import("kysely/dist/cjs/util/type-utils").MergePartial<import("kysely/dist/cjs/util/type-utils").MergePartial<import("kysely/dist/cjs/util/type-utils").MergePartial<Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
|
33
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
34
33
|
token: Token;
|
34
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
35
35
|
actor: import("../db").Actor;
|
36
36
|
device: import("../db").Device;
|
37
37
|
device_account: import("../db").DeviceAccount;
|
@@ -44,8 +44,8 @@ export declare const findByQB: (db: AccountDb, search: {
|
|
44
44
|
invite_code_use: import("../db").InviteCodeUse;
|
45
45
|
email_token: import("../db").EmailToken;
|
46
46
|
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.handle" | "actor.createdAt" | "actor.takedownRef" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
|
47
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
48
47
|
token: Token;
|
48
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
49
49
|
actor: import("../db").Actor;
|
50
50
|
device: import("../db").Device;
|
51
51
|
device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
|
@@ -57,9 +57,9 @@ export declare const findByQB: (db: AccountDb, search: {
|
|
57
57
|
invite_code: import("../db").InviteCode;
|
58
58
|
invite_code_use: import("../db").InviteCodeUse;
|
59
59
|
email_token: import("../db").EmailToken;
|
60
|
-
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.
|
61
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
60
|
+
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.expiresAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.currentRefreshToken">, Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
|
62
61
|
token: Token;
|
62
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
63
63
|
actor: import("../db").Actor;
|
64
64
|
device: import("../db").Device;
|
65
65
|
device_account: import("../db").DeviceAccount;
|
@@ -72,8 +72,8 @@ export declare const findByQB: (db: AccountDb, search: {
|
|
72
72
|
invite_code_use: import("../db").InviteCodeUse;
|
73
73
|
email_token: import("../db").EmailToken;
|
74
74
|
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.handle" | "actor.createdAt" | "actor.takedownRef" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
|
75
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
76
75
|
token: Token;
|
76
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
77
77
|
actor: import("../db").Actor;
|
78
78
|
device: import("../db").Device;
|
79
79
|
device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
|
@@ -85,9 +85,9 @@ export declare const findByQB: (db: AccountDb, search: {
|
|
85
85
|
invite_code: import("../db").InviteCode;
|
86
86
|
invite_code_use: import("../db").InviteCodeUse;
|
87
87
|
email_token: import("../db").EmailToken;
|
88
|
-
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.
|
89
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
88
|
+
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.expiresAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.currentRefreshToken">>, import("kysely/dist/cjs/util/type-utils").MergePartial<Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
|
90
89
|
token: Token;
|
90
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
91
91
|
actor: import("../db").Actor;
|
92
92
|
device: import("../db").Device;
|
93
93
|
device_account: import("../db").DeviceAccount;
|
@@ -100,8 +100,8 @@ export declare const findByQB: (db: AccountDb, search: {
|
|
100
100
|
invite_code_use: import("../db").InviteCodeUse;
|
101
101
|
email_token: import("../db").EmailToken;
|
102
102
|
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.handle" | "actor.createdAt" | "actor.takedownRef" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
|
103
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
104
103
|
token: Token;
|
104
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
105
105
|
actor: import("../db").Actor;
|
106
106
|
device: import("../db").Device;
|
107
107
|
device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
|
@@ -113,9 +113,9 @@ export declare const findByQB: (db: AccountDb, search: {
|
|
113
113
|
invite_code: import("../db").InviteCode;
|
114
114
|
invite_code_use: import("../db").InviteCodeUse;
|
115
115
|
email_token: import("../db").EmailToken;
|
116
|
-
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.
|
117
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
116
|
+
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.expiresAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.currentRefreshToken">, Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
|
118
117
|
token: Token;
|
118
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
119
119
|
actor: import("../db").Actor;
|
120
120
|
device: import("../db").Device;
|
121
121
|
device_account: import("../db").DeviceAccount;
|
@@ -128,8 +128,8 @@ export declare const findByQB: (db: AccountDb, search: {
|
|
128
128
|
invite_code_use: import("../db").InviteCodeUse;
|
129
129
|
email_token: import("../db").EmailToken;
|
130
130
|
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.handle" | "actor.createdAt" | "actor.takedownRef" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
|
131
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
132
131
|
token: Token;
|
132
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
133
133
|
actor: import("../db").Actor;
|
134
134
|
device: import("../db").Device;
|
135
135
|
device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
|
@@ -141,9 +141,9 @@ export declare const findByQB: (db: AccountDb, search: {
|
|
141
141
|
invite_code: import("../db").InviteCode;
|
142
142
|
invite_code_use: import("../db").InviteCodeUse;
|
143
143
|
email_token: import("../db").EmailToken;
|
144
|
-
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.
|
145
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
144
|
+
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.expiresAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.currentRefreshToken">>>, import("kysely/dist/cjs/util/type-utils").MergePartial<import("kysely/dist/cjs/util/type-utils").MergePartial<Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
|
146
145
|
token: Token;
|
146
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
147
147
|
actor: import("../db").Actor;
|
148
148
|
device: import("../db").Device;
|
149
149
|
device_account: import("../db").DeviceAccount;
|
@@ -156,8 +156,8 @@ export declare const findByQB: (db: AccountDb, search: {
|
|
156
156
|
invite_code_use: import("../db").InviteCodeUse;
|
157
157
|
email_token: import("../db").EmailToken;
|
158
158
|
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.handle" | "actor.createdAt" | "actor.takedownRef" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
|
159
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
160
159
|
token: Token;
|
160
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
161
161
|
actor: import("../db").Actor;
|
162
162
|
device: import("../db").Device;
|
163
163
|
device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
|
@@ -169,9 +169,9 @@ export declare const findByQB: (db: AccountDb, search: {
|
|
169
169
|
invite_code: import("../db").InviteCode;
|
170
170
|
invite_code_use: import("../db").InviteCodeUse;
|
171
171
|
email_token: import("../db").EmailToken;
|
172
|
-
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.
|
173
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
172
|
+
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.expiresAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.currentRefreshToken">, Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
|
174
173
|
token: Token;
|
174
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
175
175
|
actor: import("../db").Actor;
|
176
176
|
device: import("../db").Device;
|
177
177
|
device_account: import("../db").DeviceAccount;
|
@@ -184,8 +184,8 @@ export declare const findByQB: (db: AccountDb, search: {
|
|
184
184
|
invite_code_use: import("../db").InviteCodeUse;
|
185
185
|
email_token: import("../db").EmailToken;
|
186
186
|
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.handle" | "actor.createdAt" | "actor.takedownRef" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
|
187
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
188
187
|
token: Token;
|
188
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
189
189
|
actor: import("../db").Actor;
|
190
190
|
device: import("../db").Device;
|
191
191
|
device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
|
@@ -197,9 +197,9 @@ export declare const findByQB: (db: AccountDb, search: {
|
|
197
197
|
invite_code: import("../db").InviteCode;
|
198
198
|
invite_code_use: import("../db").InviteCodeUse;
|
199
199
|
email_token: import("../db").EmailToken;
|
200
|
-
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.
|
201
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
200
|
+
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.expiresAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.currentRefreshToken">>, import("kysely/dist/cjs/util/type-utils").MergePartial<Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
|
202
201
|
token: Token;
|
202
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
203
203
|
actor: import("../db").Actor;
|
204
204
|
device: import("../db").Device;
|
205
205
|
device_account: import("../db").DeviceAccount;
|
@@ -212,8 +212,8 @@ export declare const findByQB: (db: AccountDb, search: {
|
|
212
212
|
invite_code_use: import("../db").InviteCodeUse;
|
213
213
|
email_token: import("../db").EmailToken;
|
214
214
|
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.handle" | "actor.createdAt" | "actor.takedownRef" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
|
215
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
216
215
|
token: Token;
|
216
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
217
217
|
actor: import("../db").Actor;
|
218
218
|
device: import("../db").Device;
|
219
219
|
device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
|
@@ -225,9 +225,9 @@ export declare const findByQB: (db: AccountDb, search: {
|
|
225
225
|
invite_code: import("../db").InviteCode;
|
226
226
|
invite_code_use: import("../db").InviteCodeUse;
|
227
227
|
email_token: import("../db").EmailToken;
|
228
|
-
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.
|
229
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
228
|
+
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.expiresAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.currentRefreshToken">, Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
|
230
229
|
token: Token;
|
230
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
231
231
|
actor: import("../db").Actor;
|
232
232
|
device: import("../db").Device;
|
233
233
|
device_account: import("../db").DeviceAccount;
|
@@ -240,8 +240,8 @@ export declare const findByQB: (db: AccountDb, search: {
|
|
240
240
|
invite_code_use: import("../db").InviteCodeUse;
|
241
241
|
email_token: import("../db").EmailToken;
|
242
242
|
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.handle" | "actor.createdAt" | "actor.takedownRef" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
|
243
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
244
243
|
token: Token;
|
244
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
245
245
|
actor: import("../db").Actor;
|
246
246
|
device: import("../db").Device;
|
247
247
|
device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
|
@@ -253,9 +253,9 @@ export declare const findByQB: (db: AccountDb, search: {
|
|
253
253
|
invite_code: import("../db").InviteCode;
|
254
254
|
invite_code_use: import("../db").InviteCodeUse;
|
255
255
|
email_token: import("../db").EmailToken;
|
256
|
-
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.
|
257
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
256
|
+
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.expiresAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.currentRefreshToken">>>>, import("kysely/dist/cjs/util/type-utils").MergePartial<import("kysely/dist/cjs/util/type-utils").MergePartial<import("kysely/dist/cjs/util/type-utils").MergePartial<Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
|
258
257
|
token: Token;
|
258
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
259
259
|
actor: import("../db").Actor;
|
260
260
|
device: import("../db").Device;
|
261
261
|
device_account: import("../db").DeviceAccount;
|
@@ -268,8 +268,8 @@ export declare const findByQB: (db: AccountDb, search: {
|
|
268
268
|
invite_code_use: import("../db").InviteCodeUse;
|
269
269
|
email_token: import("../db").EmailToken;
|
270
270
|
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.handle" | "actor.createdAt" | "actor.takedownRef" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
|
271
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
272
271
|
token: Token;
|
272
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
273
273
|
actor: import("../db").Actor;
|
274
274
|
device: import("../db").Device;
|
275
275
|
device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
|
@@ -281,9 +281,9 @@ export declare const findByQB: (db: AccountDb, search: {
|
|
281
281
|
invite_code: import("../db").InviteCode;
|
282
282
|
invite_code_use: import("../db").InviteCodeUse;
|
283
283
|
email_token: import("../db").EmailToken;
|
284
|
-
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.
|
285
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
284
|
+
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.expiresAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.currentRefreshToken">, Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
|
286
285
|
token: Token;
|
286
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
287
287
|
actor: import("../db").Actor;
|
288
288
|
device: import("../db").Device;
|
289
289
|
device_account: import("../db").DeviceAccount;
|
@@ -296,8 +296,8 @@ export declare const findByQB: (db: AccountDb, search: {
|
|
296
296
|
invite_code_use: import("../db").InviteCodeUse;
|
297
297
|
email_token: import("../db").EmailToken;
|
298
298
|
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.handle" | "actor.createdAt" | "actor.takedownRef" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
|
299
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
300
299
|
token: Token;
|
300
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
301
301
|
actor: import("../db").Actor;
|
302
302
|
device: import("../db").Device;
|
303
303
|
device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
|
@@ -309,9 +309,9 @@ export declare const findByQB: (db: AccountDb, search: {
|
|
309
309
|
invite_code: import("../db").InviteCode;
|
310
310
|
invite_code_use: import("../db").InviteCodeUse;
|
311
311
|
email_token: import("../db").EmailToken;
|
312
|
-
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.
|
313
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
312
|
+
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.expiresAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.currentRefreshToken">>, import("kysely/dist/cjs/util/type-utils").MergePartial<Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
|
314
313
|
token: Token;
|
314
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
315
315
|
actor: import("../db").Actor;
|
316
316
|
device: import("../db").Device;
|
317
317
|
device_account: import("../db").DeviceAccount;
|
@@ -324,8 +324,8 @@ export declare const findByQB: (db: AccountDb, search: {
|
|
324
324
|
invite_code_use: import("../db").InviteCodeUse;
|
325
325
|
email_token: import("../db").EmailToken;
|
326
326
|
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.handle" | "actor.createdAt" | "actor.takedownRef" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
|
327
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
328
327
|
token: Token;
|
328
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
329
329
|
actor: import("../db").Actor;
|
330
330
|
device: import("../db").Device;
|
331
331
|
device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
|
@@ -337,9 +337,9 @@ export declare const findByQB: (db: AccountDb, search: {
|
|
337
337
|
invite_code: import("../db").InviteCode;
|
338
338
|
invite_code_use: import("../db").InviteCodeUse;
|
339
339
|
email_token: import("../db").EmailToken;
|
340
|
-
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.
|
341
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
340
|
+
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.expiresAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.currentRefreshToken">, Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
|
342
341
|
token: Token;
|
342
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
343
343
|
actor: import("../db").Actor;
|
344
344
|
device: import("../db").Device;
|
345
345
|
device_account: import("../db").DeviceAccount;
|
@@ -352,8 +352,8 @@ export declare const findByQB: (db: AccountDb, search: {
|
|
352
352
|
invite_code_use: import("../db").InviteCodeUse;
|
353
353
|
email_token: import("../db").EmailToken;
|
354
354
|
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.handle" | "actor.createdAt" | "actor.takedownRef" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
|
355
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
356
355
|
token: Token;
|
356
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
357
357
|
actor: import("../db").Actor;
|
358
358
|
device: import("../db").Device;
|
359
359
|
device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
|
@@ -365,9 +365,9 @@ export declare const findByQB: (db: AccountDb, search: {
|
|
365
365
|
invite_code: import("../db").InviteCode;
|
366
366
|
invite_code_use: import("../db").InviteCodeUse;
|
367
367
|
email_token: import("../db").EmailToken;
|
368
|
-
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.
|
369
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
368
|
+
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.expiresAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.currentRefreshToken">>>, import("kysely/dist/cjs/util/type-utils").MergePartial<import("kysely/dist/cjs/util/type-utils").MergePartial<Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
|
370
369
|
token: Token;
|
370
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
371
371
|
actor: import("../db").Actor;
|
372
372
|
device: import("../db").Device;
|
373
373
|
device_account: import("../db").DeviceAccount;
|
@@ -380,8 +380,8 @@ export declare const findByQB: (db: AccountDb, search: {
|
|
380
380
|
invite_code_use: import("../db").InviteCodeUse;
|
381
381
|
email_token: import("../db").EmailToken;
|
382
382
|
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.handle" | "actor.createdAt" | "actor.takedownRef" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
|
383
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
384
383
|
token: Token;
|
384
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
385
385
|
actor: import("../db").Actor;
|
386
386
|
device: import("../db").Device;
|
387
387
|
device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
|
@@ -393,9 +393,9 @@ export declare const findByQB: (db: AccountDb, search: {
|
|
393
393
|
invite_code: import("../db").InviteCode;
|
394
394
|
invite_code_use: import("../db").InviteCodeUse;
|
395
395
|
email_token: import("../db").EmailToken;
|
396
|
-
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.
|
397
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
396
|
+
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.expiresAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.currentRefreshToken">, Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
|
398
397
|
token: Token;
|
398
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
399
399
|
actor: import("../db").Actor;
|
400
400
|
device: import("../db").Device;
|
401
401
|
device_account: import("../db").DeviceAccount;
|
@@ -408,8 +408,8 @@ export declare const findByQB: (db: AccountDb, search: {
|
|
408
408
|
invite_code_use: import("../db").InviteCodeUse;
|
409
409
|
email_token: import("../db").EmailToken;
|
410
410
|
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.handle" | "actor.createdAt" | "actor.takedownRef" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
|
411
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
412
411
|
token: Token;
|
412
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
413
413
|
actor: import("../db").Actor;
|
414
414
|
device: import("../db").Device;
|
415
415
|
device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
|
@@ -421,9 +421,9 @@ export declare const findByQB: (db: AccountDb, search: {
|
|
421
421
|
invite_code: import("../db").InviteCode;
|
422
422
|
invite_code_use: import("../db").InviteCodeUse;
|
423
423
|
email_token: import("../db").EmailToken;
|
424
|
-
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.
|
425
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
424
|
+
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.expiresAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.currentRefreshToken">>, import("kysely/dist/cjs/util/type-utils").MergePartial<Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
|
426
425
|
token: Token;
|
426
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
427
427
|
actor: import("../db").Actor;
|
428
428
|
device: import("../db").Device;
|
429
429
|
device_account: import("../db").DeviceAccount;
|
@@ -436,8 +436,8 @@ export declare const findByQB: (db: AccountDb, search: {
|
|
436
436
|
invite_code_use: import("../db").InviteCodeUse;
|
437
437
|
email_token: import("../db").EmailToken;
|
438
438
|
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.handle" | "actor.createdAt" | "actor.takedownRef" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
|
439
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
440
439
|
token: Token;
|
440
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
441
441
|
actor: import("../db").Actor;
|
442
442
|
device: import("../db").Device;
|
443
443
|
device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
|
@@ -449,9 +449,9 @@ export declare const findByQB: (db: AccountDb, search: {
|
|
449
449
|
invite_code: import("../db").InviteCode;
|
450
450
|
invite_code_use: import("../db").InviteCodeUse;
|
451
451
|
email_token: import("../db").EmailToken;
|
452
|
-
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.
|
453
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
452
|
+
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.expiresAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.currentRefreshToken">, Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
|
454
453
|
token: Token;
|
454
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
455
455
|
actor: import("../db").Actor;
|
456
456
|
device: import("../db").Device;
|
457
457
|
device_account: import("../db").DeviceAccount;
|
@@ -464,8 +464,8 @@ export declare const findByQB: (db: AccountDb, search: {
|
|
464
464
|
invite_code_use: import("../db").InviteCodeUse;
|
465
465
|
email_token: import("../db").EmailToken;
|
466
466
|
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.handle" | "actor.createdAt" | "actor.takedownRef" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
|
467
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
468
467
|
token: Token;
|
468
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
469
469
|
actor: import("../db").Actor;
|
470
470
|
device: import("../db").Device;
|
471
471
|
device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
|
@@ -477,7 +477,7 @@ export declare const findByQB: (db: AccountDb, search: {
|
|
477
477
|
invite_code: import("../db").InviteCode;
|
478
478
|
invite_code_use: import("../db").InviteCodeUse;
|
479
479
|
email_token: import("../db").EmailToken;
|
480
|
-
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.
|
480
|
+
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.tokenId" | "token.createdAt" | "token.expiresAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.currentRefreshToken">>>>>>;
|
481
481
|
export declare const removeByDidQB: (db: AccountDb, did: string) => import("kysely").DeleteQueryBuilder<import("kysely/dist/cjs/parser/table-parser").From<import("../db").DatabaseSchema, "token">, "token", import("kysely").DeleteResult>;
|
482
482
|
export declare const rotateQB: (db: AccountDb, id: number, newTokenId: TokenId, newRefreshToken: RefreshToken, newData: NewTokenData) => import("kysely").UpdateQueryBuilder<import("kysely/dist/cjs/parser/table-parser").From<import("../db").DatabaseSchema, "token">, "token", "token", import("kysely").UpdateResult>;
|
483
483
|
export declare const removeQB: (db: AccountDb, tokenId: TokenId) => import("kysely").DeleteQueryBuilder<import("kysely/dist/cjs/parser/table-parser").From<import("../db").DatabaseSchema, "token">, "token", import("kysely").DeleteResult>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getFeed.d.ts","sourceRoot":"","sources":["../../../../../src/api/app/bsky/feed/getFeed.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAC5C,OAAO,UAAU,MAAM,qBAAqB,CAAA;
|
1
|
+
{"version":3,"file":"getFeed.d.ts","sourceRoot":"","sources":["../../../../../src/api/app/bsky/feed/getFeed.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAC5C,OAAO,UAAU,MAAM,qBAAqB,CAAA;AAM5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QA8BvD"}
|
@@ -3,6 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.default = default_1;
|
4
4
|
const pipethrough_1 = require("../../../../pipethrough");
|
5
5
|
const lexicons_1 = require("../../../../lexicon/lexicons");
|
6
|
+
const syntax_1 = require("@atproto/syntax");
|
7
|
+
const oauth_provider_1 = require("@atproto/oauth-provider");
|
6
8
|
function default_1(server, ctx) {
|
7
9
|
const { appViewAgent } = ctx;
|
8
10
|
const { bskyAppView } = ctx.cfg;
|
@@ -12,10 +14,19 @@ function default_1(server, ctx) {
|
|
12
14
|
auth: ctx.authVerifier.accessStandard(),
|
13
15
|
handler: async ({ params, auth, req }) => {
|
14
16
|
const requester = auth.credentials.did;
|
15
|
-
const
|
17
|
+
const feedUrl = new syntax_1.AtUri(params.feed);
|
18
|
+
const { data } = await appViewAgent.com.atproto.repo.getRecord({
|
19
|
+
repo: feedUrl.hostname,
|
20
|
+
collection: feedUrl.collection,
|
21
|
+
rkey: feedUrl.rkey,
|
22
|
+
});
|
23
|
+
const feedDid = data.value['did'];
|
24
|
+
if (typeof feedDid !== 'string') {
|
25
|
+
throw new oauth_provider_1.InvalidRequestError('could not resolve feed did', 'UnknownFeed');
|
26
|
+
}
|
16
27
|
return (0, pipethrough_1.pipethrough)(ctx, req, {
|
17
28
|
iss: requester,
|
18
|
-
aud:
|
29
|
+
aud: feedDid,
|
19
30
|
lxm: lexicons_1.ids.AppBskyFeedGetFeedSkeleton,
|
20
31
|
});
|
21
32
|
},
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getFeed.js","sourceRoot":"","sources":["../../../../../src/api/app/bsky/feed/getFeed.ts"],"names":[],"mappings":";;
|
1
|
+
{"version":3,"file":"getFeed.js","sourceRoot":"","sources":["../../../../../src/api/app/bsky/feed/getFeed.ts"],"names":[],"mappings":";;AAOA,4BA8BC;AAnCD,yDAAqD;AACrD,2DAAkD;AAClD,4CAAuC;AACvC,4DAA6D;AAE7D,mBAAyB,MAAc,EAAE,GAAe;IACtD,MAAM,EAAE,YAAY,EAAE,GAAG,GAAG,CAAA;IAC5B,MAAM,EAAE,WAAW,EAAE,GAAG,GAAG,CAAC,GAAG,CAAA;IAC/B,IAAI,CAAC,YAAY,IAAI,CAAC,WAAW;QAAE,OAAM;IACzC,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC;QAC3B,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,cAAc,EAAE;QACvC,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE,EAAE;YACvC,MAAM,SAAS,GAAG,IAAI,CAAC,WAAW,CAAC,GAAG,CAAA;YAEtC,MAAM,OAAO,GAAG,IAAI,cAAK,CAAC,MAAM,CAAC,IAAI,CAAC,CAAA;YACtC,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,YAAY,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC;gBAC7D,IAAI,EAAE,OAAO,CAAC,QAAQ;gBACtB,UAAU,EAAE,OAAO,CAAC,UAAU;gBAC9B,IAAI,EAAE,OAAO,CAAC,IAAI;aACnB,CAAC,CAAA;YACF,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;YACjC,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE,CAAC;gBAChC,MAAM,IAAI,oCAAmB,CAC3B,4BAA4B,EAC5B,aAAa,CACd,CAAA;YACH,CAAC;YAED,OAAO,IAAA,yBAAW,EAAC,GAAG,EAAE,GAAG,EAAE;gBAC3B,GAAG,EAAE,SAAS;gBACd,GAAG,EAAE,OAAO;gBACZ,GAAG,EAAE,cAAG,CAAC,0BAA0B;aACpC,CAAC,CAAA;QACJ,CAAC;KACF,CAAC,CAAA;AACJ,CAAC"}
|