@atproto/pds 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/app-view/services/graph/index.d.ts +4 -4
- package/dist/app-view/services/indexing/index.d.ts +1 -1
- package/dist/sequencer/events.d.ts +3 -3
- package/dist/services/account/index.d.ts +6 -6
- package/dist/services/record/index.d.ts +2 -2
- package/package.json +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
@@ -10,16 +10,16 @@ export declare class GraphService {
|
|
10
10
|
constructor(db: Database, imgUriBuilder: ImageUriBuilder);
|
11
11
|
static creator(imgUriBuilder: ImageUriBuilder): (db: Database) => GraphService;
|
12
12
|
getListsQb(requester: string): import("kysely/dist/cjs/parser/select-parser").QueryBuilderWithSelection<import("kysely/dist/cjs/parser/table-parser").From<import("../../../db/database-schema").DatabaseSchemaType, "list">, "list" | "did_handle", {
|
13
|
-
|
13
|
+
createdAt: string;
|
14
|
+
indexedAt: string;
|
14
15
|
uri: string;
|
15
16
|
cid: string;
|
16
17
|
name: string;
|
17
|
-
|
18
|
-
indexedAt: string;
|
18
|
+
description: string | null;
|
19
19
|
creator: string;
|
20
20
|
purpose: string;
|
21
|
-
descriptionFacets: string | null;
|
22
21
|
avatarCid: string | null;
|
22
|
+
descriptionFacets: string | null;
|
23
23
|
} & {
|
24
24
|
did: string;
|
25
25
|
handle: string;
|
@@ -28,6 +28,6 @@ export declare class IndexingService {
|
|
28
28
|
static creator(backgroundQueue: BackgroundQueue): (db: Database) => IndexingService;
|
29
29
|
indexRecord(uri: AtUri, cid: CID, obj: unknown, action: WriteOpAction.Create | WriteOpAction.Update, timestamp: string): Promise<void>;
|
30
30
|
deleteRecord(uri: AtUri, cascading?: boolean): Promise<void>;
|
31
|
-
findIndexerForCollection(collection: string):
|
31
|
+
findIndexerForCollection(collection: string): Post.PluginType | Like.PluginType | Repost.PluginType | Follow.PluginType | Block.PluginType | List.PluginType | ListItem.PluginType | Profile.PluginType;
|
32
32
|
deleteForUser(did: string): Promise<void>;
|
33
33
|
}
|
@@ -17,8 +17,8 @@ export declare const commitEvtOp: z.ZodObject<{
|
|
17
17
|
cid: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodAny, any, any>, CID, any>>;
|
18
18
|
}, "strip", z.ZodTypeAny, {
|
19
19
|
path: string;
|
20
|
-
cid: CID | null;
|
21
20
|
action: "create" | "update" | "delete";
|
21
|
+
cid: CID | null;
|
22
22
|
}, {
|
23
23
|
path: string;
|
24
24
|
action: "create" | "update" | "delete";
|
@@ -38,8 +38,8 @@ export declare const commitEvt: z.ZodObject<{
|
|
38
38
|
cid: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodAny, any, any>, CID, any>>;
|
39
39
|
}, "strip", z.ZodTypeAny, {
|
40
40
|
path: string;
|
41
|
-
cid: CID | null;
|
42
41
|
action: "create" | "update" | "delete";
|
42
|
+
cid: CID | null;
|
43
43
|
}, {
|
44
44
|
path: string;
|
45
45
|
action: "create" | "update" | "delete";
|
@@ -56,8 +56,8 @@ export declare const commitEvt: z.ZodObject<{
|
|
56
56
|
blocks: Uint8Array;
|
57
57
|
ops: {
|
58
58
|
path: string;
|
59
|
-
cid: CID | null;
|
60
59
|
action: "create" | "update" | "delete";
|
60
|
+
cid: CID | null;
|
61
61
|
}[];
|
62
62
|
}, {
|
63
63
|
repo: string;
|
@@ -67,16 +67,14 @@ export declare class AccountService {
|
|
67
67
|
}): Promise<(RepoRoot & DidHandle)[]>;
|
68
68
|
deleteAccount(did: string): Promise<void>;
|
69
69
|
selectInviteCodesQb(): import("kysely/dist/cjs/parser/select-parser").SelectAllQueryBuilder<import("kysely/dist/cjs/parser/table-parser").From<import("../../db/database-schema").DatabaseSchemaType, import("kysely").AliasedQueryBuilder<{
|
70
|
-
blob: import("../../db/tables/blob").Blob;
|
71
70
|
subscription: import("../../app-view/db/tables/subscription").Subscription;
|
72
71
|
record: import("../../db/tables/record").Record;
|
72
|
+
blob: import("../../db/tables/blob").Blob;
|
73
73
|
post: import("../../app-view/db/tables/post").Post;
|
74
74
|
list: import("../../app-view/db/tables/list").List;
|
75
75
|
like: import("../../app-view/db/tables/like").Like;
|
76
76
|
repost: import("../../app-view/db/tables/repost").Repost;
|
77
77
|
follow: import("../../app-view/db/tables/follow").Follow;
|
78
|
-
list_mute: import("../../db/tables/list-mute").ListMute;
|
79
|
-
list_item: import("../../app-view/db/tables/list-item").ListItem;
|
80
78
|
duplicate_record: import("../../app-view/db/tables/duplicate-record").DuplicateRecord;
|
81
79
|
profile: import("../../app-view/db/tables/profile").Profile;
|
82
80
|
profile_agg: import("../../app-view/db/tables/profile-agg").ProfileAgg;
|
@@ -86,6 +84,7 @@ export declare class AccountService {
|
|
86
84
|
post_embed_record: import("../../app-view/db/tables/post-embed").PostEmbedRecord;
|
87
85
|
post_hierarchy: import("../../app-view/db/tables/post-hierarchy").PostHierarchy;
|
88
86
|
feed_item: import("../../app-view/db/tables/feed-item").FeedItem;
|
87
|
+
list_item: import("../../app-view/db/tables/list-item").ListItem;
|
89
88
|
actor_block: import("../../app-view/db/tables/actor-block").ActorBlock;
|
90
89
|
app_migration: import("../../db/tables/app-migration").AppMigration;
|
91
90
|
user_account: UserAccount;
|
@@ -108,20 +107,19 @@ export declare class AccountService {
|
|
108
107
|
moderation_report: import("../../db/tables/moderation").ModerationReport;
|
109
108
|
moderation_report_resolution: import("../../db/tables/moderation").ModerationReportResolution;
|
110
109
|
mute: import("../../db/tables/mute").Mute;
|
110
|
+
list_mute: import("../../db/tables/list-mute").ListMute;
|
111
111
|
label: import("../../db/tables/label").Label;
|
112
112
|
repo_seq: import("../../db/tables/repo-seq").RepoSeq;
|
113
113
|
use_count: import("kysely/dist/cjs/util/type-utils").Nullable<import("kysely").Selection<import("kysely/dist/cjs/parser/table-parser").From<import("../../db/database-schema").DatabaseSchemaType, "invite_code_use">, "invite_code_use", "code" | import("kysely").AliasedRawBuilder<number, "uses">>>;
|
114
114
|
}, "invite_code" | "use_count", import("kysely").Selection<{
|
115
|
-
blob: import("../../db/tables/blob").Blob;
|
116
115
|
subscription: import("../../app-view/db/tables/subscription").Subscription;
|
117
116
|
record: import("../../db/tables/record").Record;
|
117
|
+
blob: import("../../db/tables/blob").Blob;
|
118
118
|
post: import("../../app-view/db/tables/post").Post;
|
119
119
|
list: import("../../app-view/db/tables/list").List;
|
120
120
|
like: import("../../app-view/db/tables/like").Like;
|
121
121
|
repost: import("../../app-view/db/tables/repost").Repost;
|
122
122
|
follow: import("../../app-view/db/tables/follow").Follow;
|
123
|
-
list_mute: import("../../db/tables/list-mute").ListMute;
|
124
|
-
list_item: import("../../app-view/db/tables/list-item").ListItem;
|
125
123
|
duplicate_record: import("../../app-view/db/tables/duplicate-record").DuplicateRecord;
|
126
124
|
profile: import("../../app-view/db/tables/profile").Profile;
|
127
125
|
profile_agg: import("../../app-view/db/tables/profile-agg").ProfileAgg;
|
@@ -131,6 +129,7 @@ export declare class AccountService {
|
|
131
129
|
post_embed_record: import("../../app-view/db/tables/post-embed").PostEmbedRecord;
|
132
130
|
post_hierarchy: import("../../app-view/db/tables/post-hierarchy").PostHierarchy;
|
133
131
|
feed_item: import("../../app-view/db/tables/feed-item").FeedItem;
|
132
|
+
list_item: import("../../app-view/db/tables/list-item").ListItem;
|
134
133
|
actor_block: import("../../app-view/db/tables/actor-block").ActorBlock;
|
135
134
|
app_migration: import("../../db/tables/app-migration").AppMigration;
|
136
135
|
user_account: UserAccount;
|
@@ -153,6 +152,7 @@ export declare class AccountService {
|
|
153
152
|
moderation_report: import("../../db/tables/moderation").ModerationReport;
|
154
153
|
moderation_report_resolution: import("../../db/tables/moderation").ModerationReportResolution;
|
155
154
|
mute: import("../../db/tables/mute").Mute;
|
155
|
+
list_mute: import("../../db/tables/list-mute").ListMute;
|
156
156
|
label: import("../../db/tables/label").Label;
|
157
157
|
repo_seq: import("../../db/tables/repo-seq").RepoSeq;
|
158
158
|
use_count: import("kysely/dist/cjs/util/type-utils").Nullable<import("kysely").Selection<import("kysely/dist/cjs/parser/table-parser").From<import("../../db/database-schema").DatabaseSchemaType, "invite_code_use">, "invite_code_use", "code" | import("kysely").AliasedRawBuilder<number, "uses">>>;
|
@@ -43,10 +43,10 @@ export declare class RecordService {
|
|
43
43
|
path: string;
|
44
44
|
linkTo: string;
|
45
45
|
}): Promise<(Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & {
|
46
|
-
uri: string;
|
47
46
|
did: string;
|
48
|
-
cid: string;
|
49
47
|
indexedAt: string;
|
48
|
+
uri: string;
|
49
|
+
cid: string;
|
50
50
|
collection: string;
|
51
51
|
rkey: string;
|
52
52
|
takedownId: number | null;
|