@atproto/pds 0.4.37 → 0.4.39
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +19 -0
- package/dist/lexicon/index.d.ts +7 -0
- package/dist/lexicon/index.d.ts.map +1 -1
- package/dist/lexicon/index.js +13 -0
- package/dist/lexicon/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +362 -0
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +371 -2
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/defs.d.ts +22 -1
- package/dist/lexicon/types/app/bsky/actor/defs.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/defs.js +21 -1
- package/dist/lexicon/types/app/bsky/actor/defs.js.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/profile.d.ts +3 -0
- package/dist/lexicon/types/app/bsky/actor/profile.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/profile.js.map +1 -1
- package/dist/lexicon/types/app/bsky/graph/defs.d.ts +36 -1
- package/dist/lexicon/types/app/bsky/graph/defs.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/graph/defs.js +23 -1
- package/dist/lexicon/types/app/bsky/graph/defs.js.map +1 -1
- package/dist/lexicon/types/app/bsky/graph/getActorStarterPacks.d.ts +39 -0
- package/dist/lexicon/types/app/bsky/graph/getActorStarterPacks.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/graph/getActorStarterPacks.js +3 -0
- package/dist/lexicon/types/app/bsky/graph/getActorStarterPacks.js.map +1 -0
- package/dist/lexicon/types/app/bsky/graph/getStarterPack.d.ts +37 -0
- package/dist/lexicon/types/app/bsky/graph/getStarterPack.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/graph/getStarterPack.js +3 -0
- package/dist/lexicon/types/app/bsky/graph/getStarterPack.js.map +1 -0
- package/dist/lexicon/types/app/bsky/graph/getStarterPacks.d.ts +36 -0
- package/dist/lexicon/types/app/bsky/graph/getStarterPacks.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/graph/getStarterPacks.js +3 -0
- package/dist/lexicon/types/app/bsky/graph/getStarterPacks.js.map +1 -0
- package/dist/lexicon/types/app/bsky/graph/starterpack.d.ts +25 -0
- package/dist/lexicon/types/app/bsky/graph/starterpack.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/graph/starterpack.js +27 -0
- package/dist/lexicon/types/app/bsky/graph/starterpack.js.map +1 -0
- package/dist/lexicon/types/app/bsky/notification/listNotifications.d.ts +2 -2
- package/dist/lexicon/types/app/bsky/notification/listNotifications.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/notification/listNotifications.js.map +1 -1
- package/dist/lexicon/types/tools/ozone/team/deleteMember.d.ts +1 -1
- package/dist/lexicon/types/tools/ozone/team/deleteMember.d.ts.map +1 -1
- package/dist/repo/prepare.d.ts.map +1 -1
- package/dist/repo/prepare.js +4 -0
- package/dist/repo/prepare.js.map +1 -1
- package/example.env +5 -5
- package/package.json +5 -5
- package/src/lexicon/index.ts +37 -0
- package/src/lexicon/lexicons.ts +376 -2
- package/src/lexicon/types/app/bsky/actor/defs.ts +44 -0
- package/src/lexicon/types/app/bsky/actor/profile.ts +3 -0
- package/src/lexicon/types/app/bsky/graph/defs.ts +58 -0
- package/src/lexicon/types/app/bsky/graph/getActorStarterPacks.ts +49 -0
- package/src/lexicon/types/app/bsky/graph/getStarterPack.ts +47 -0
- package/src/lexicon/types/app/bsky/graph/getStarterPacks.ts +46 -0
- package/src/lexicon/types/app/bsky/graph/starterpack.ts +50 -0
- package/src/lexicon/types/app/bsky/notification/listNotifications.ts +2 -1
- package/src/lexicon/types/tools/ozone/team/deleteMember.ts +1 -1
- package/src/repo/prepare.ts +3 -0
- package/tests/proxied/__snapshots__/admin.test.ts.snap +3 -0
- package/tests/proxied/__snapshots__/feedgen.test.ts.snap +2 -0
- package/tests/proxied/__snapshots__/views.test.ts.snap +141 -2
@@ -12,6 +12,7 @@ export interface ProfileViewBasic {
|
|
12
12
|
associated?: ProfileAssociated;
|
13
13
|
viewer?: ViewerState;
|
14
14
|
labels?: ComAtprotoLabelDefs.Label[];
|
15
|
+
createdAt?: string;
|
15
16
|
[k: string]: unknown;
|
16
17
|
}
|
17
18
|
export declare function isProfileViewBasic(v: unknown): v is ProfileViewBasic;
|
@@ -24,6 +25,7 @@ export interface ProfileView {
|
|
24
25
|
avatar?: string;
|
25
26
|
associated?: ProfileAssociated;
|
26
27
|
indexedAt?: string;
|
28
|
+
createdAt?: string;
|
27
29
|
viewer?: ViewerState;
|
28
30
|
labels?: ComAtprotoLabelDefs.Label[];
|
29
31
|
[k: string]: unknown;
|
@@ -41,7 +43,9 @@ export interface ProfileViewDetailed {
|
|
41
43
|
followsCount?: number;
|
42
44
|
postsCount?: number;
|
43
45
|
associated?: ProfileAssociated;
|
46
|
+
joinedViaStarterPack?: AppBskyGraphDefs.StarterPackViewBasic;
|
44
47
|
indexedAt?: string;
|
48
|
+
createdAt?: string;
|
45
49
|
viewer?: ViewerState;
|
46
50
|
labels?: ComAtprotoLabelDefs.Label[];
|
47
51
|
[k: string]: unknown;
|
@@ -51,6 +55,7 @@ export declare function validateProfileViewDetailed(v: unknown): ValidationResul
|
|
51
55
|
export interface ProfileAssociated {
|
52
56
|
lists?: number;
|
53
57
|
feedgens?: number;
|
58
|
+
starterPacks?: number;
|
54
59
|
labeler?: boolean;
|
55
60
|
chat?: ProfileAssociatedChat;
|
56
61
|
[k: string]: unknown;
|
@@ -85,7 +90,7 @@ export interface KnownFollowers {
|
|
85
90
|
}
|
86
91
|
export declare function isKnownFollowers(v: unknown): v is KnownFollowers;
|
87
92
|
export declare function validateKnownFollowers(v: unknown): ValidationResult;
|
88
|
-
export type Preferences = (AdultContentPref | ContentLabelPref | SavedFeedsPref | SavedFeedsPrefV2 | PersonalDetailsPref | FeedViewPref | ThreadViewPref | InterestsPref | MutedWordsPref | HiddenPostsPref | {
|
93
|
+
export type Preferences = (AdultContentPref | ContentLabelPref | SavedFeedsPref | SavedFeedsPrefV2 | PersonalDetailsPref | FeedViewPref | ThreadViewPref | InterestsPref | MutedWordsPref | HiddenPostsPref | BskyAppStatePref | {
|
89
94
|
$type: string;
|
90
95
|
[k: string]: unknown;
|
91
96
|
})[];
|
@@ -204,4 +209,20 @@ export interface LabelerPrefItem {
|
|
204
209
|
}
|
205
210
|
export declare function isLabelerPrefItem(v: unknown): v is LabelerPrefItem;
|
206
211
|
export declare function validateLabelerPrefItem(v: unknown): ValidationResult;
|
212
|
+
/** A grab bag of state that's specific to the bsky.app program. Third-party apps shouldn't use this. */
|
213
|
+
export interface BskyAppStatePref {
|
214
|
+
activeProgressGuide?: BskyAppProgressGuide;
|
215
|
+
/** An array of tokens which identify nudges (modals, popups, tours, highlight dots) that should be shown to the user. */
|
216
|
+
queuedNudges?: string[];
|
217
|
+
[k: string]: unknown;
|
218
|
+
}
|
219
|
+
export declare function isBskyAppStatePref(v: unknown): v is BskyAppStatePref;
|
220
|
+
export declare function validateBskyAppStatePref(v: unknown): ValidationResult;
|
221
|
+
/** If set, an active progress guide. Once completed, can be set to undefined. Should have unspecced fields tracking progress. */
|
222
|
+
export interface BskyAppProgressGuide {
|
223
|
+
guide: string;
|
224
|
+
[k: string]: unknown;
|
225
|
+
}
|
226
|
+
export declare function isBskyAppProgressGuide(v: unknown): v is BskyAppProgressGuide;
|
227
|
+
export declare function validateBskyAppProgressGuide(v: unknown): ValidationResult;
|
207
228
|
//# sourceMappingURL=defs.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/actor/defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAI5D,OAAO,KAAK,mBAAmB,MAAM,iCAAiC,CAAA;AACtE,OAAO,KAAK,gBAAgB,MAAM,eAAe,CAAA;AAEjD,MAAM,WAAW,gBAAgB;IAC/B,GA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EAAE,OAAO,GAAG,CAAC,IAAI,oBAAoB,CAM5E;AAED,wBAAgB,4BAA4B,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAEzE"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.validateLabelerPrefItem = exports.isLabelerPrefItem = exports.validateLabelersPref = exports.isLabelersPref = exports.validateHiddenPostsPref = exports.isHiddenPostsPref = exports.validateMutedWordsPref = exports.isMutedWordsPref = exports.validateMutedWord = exports.isMutedWord = exports.validateInterestsPref = exports.isInterestsPref = exports.validateThreadViewPref = exports.isThreadViewPref = exports.validateFeedViewPref = exports.isFeedViewPref = exports.validatePersonalDetailsPref = exports.isPersonalDetailsPref = exports.validateSavedFeedsPref = exports.isSavedFeedsPref = exports.validateSavedFeedsPrefV2 = exports.isSavedFeedsPrefV2 = exports.validateSavedFeed = exports.isSavedFeed = exports.validateContentLabelPref = exports.isContentLabelPref = exports.validateAdultContentPref = exports.isAdultContentPref = exports.validateKnownFollowers = exports.isKnownFollowers = exports.validateViewerState = exports.isViewerState = exports.validateProfileAssociatedChat = exports.isProfileAssociatedChat = exports.validateProfileAssociated = exports.isProfileAssociated = exports.validateProfileViewDetailed = exports.isProfileViewDetailed = exports.validateProfileView = exports.isProfileView = exports.validateProfileViewBasic = exports.isProfileViewBasic = void 0;
|
3
|
+
exports.validateBskyAppProgressGuide = exports.isBskyAppProgressGuide = exports.validateBskyAppStatePref = exports.isBskyAppStatePref = exports.validateLabelerPrefItem = exports.isLabelerPrefItem = exports.validateLabelersPref = exports.isLabelersPref = exports.validateHiddenPostsPref = exports.isHiddenPostsPref = exports.validateMutedWordsPref = exports.isMutedWordsPref = exports.validateMutedWord = exports.isMutedWord = exports.validateInterestsPref = exports.isInterestsPref = exports.validateThreadViewPref = exports.isThreadViewPref = exports.validateFeedViewPref = exports.isFeedViewPref = exports.validatePersonalDetailsPref = exports.isPersonalDetailsPref = exports.validateSavedFeedsPref = exports.isSavedFeedsPref = exports.validateSavedFeedsPrefV2 = exports.isSavedFeedsPrefV2 = exports.validateSavedFeed = exports.isSavedFeed = exports.validateContentLabelPref = exports.isContentLabelPref = exports.validateAdultContentPref = exports.isAdultContentPref = exports.validateKnownFollowers = exports.isKnownFollowers = exports.validateViewerState = exports.isViewerState = exports.validateProfileAssociatedChat = exports.isProfileAssociatedChat = exports.validateProfileAssociated = exports.isProfileAssociated = exports.validateProfileViewDetailed = exports.isProfileViewDetailed = exports.validateProfileView = exports.isProfileView = exports.validateProfileViewBasic = exports.isProfileViewBasic = void 0;
|
4
4
|
const lexicons_1 = require("../../../../lexicons");
|
5
5
|
const util_1 = require("../../../../util");
|
6
6
|
function isProfileViewBasic(v) {
|
@@ -213,4 +213,24 @@ function validateLabelerPrefItem(v) {
|
|
213
213
|
return lexicons_1.lexicons.validate('app.bsky.actor.defs#labelerPrefItem', v);
|
214
214
|
}
|
215
215
|
exports.validateLabelerPrefItem = validateLabelerPrefItem;
|
216
|
+
function isBskyAppStatePref(v) {
|
217
|
+
return ((0, util_1.isObj)(v) &&
|
218
|
+
(0, util_1.hasProp)(v, '$type') &&
|
219
|
+
v.$type === 'app.bsky.actor.defs#bskyAppStatePref');
|
220
|
+
}
|
221
|
+
exports.isBskyAppStatePref = isBskyAppStatePref;
|
222
|
+
function validateBskyAppStatePref(v) {
|
223
|
+
return lexicons_1.lexicons.validate('app.bsky.actor.defs#bskyAppStatePref', v);
|
224
|
+
}
|
225
|
+
exports.validateBskyAppStatePref = validateBskyAppStatePref;
|
226
|
+
function isBskyAppProgressGuide(v) {
|
227
|
+
return ((0, util_1.isObj)(v) &&
|
228
|
+
(0, util_1.hasProp)(v, '$type') &&
|
229
|
+
v.$type === 'app.bsky.actor.defs#bskyAppProgressGuide');
|
230
|
+
}
|
231
|
+
exports.isBskyAppProgressGuide = isBskyAppProgressGuide;
|
232
|
+
function validateBskyAppProgressGuide(v) {
|
233
|
+
return lexicons_1.lexicons.validate('app.bsky.actor.defs#bskyAppProgressGuide', v);
|
234
|
+
}
|
235
|
+
exports.validateBskyAppProgressGuide = validateBskyAppProgressGuide;
|
216
236
|
//# sourceMappingURL=defs.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/actor/defs.ts"],"names":[],"mappings":";;;AAIA,mDAA+C;AAC/C,2CAAiD;
|
1
|
+
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/actor/defs.ts"],"names":[],"mappings":";;;AAIA,mDAA+C;AAC/C,2CAAiD;AAiBjD,SAAgB,kBAAkB,CAAC,CAAU;IAC3C,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,sCAAsC,CACnD,CAAA;AACH,CAAC;AAND,gDAMC;AAED,SAAgB,wBAAwB,CAAC,CAAU;IACjD,OAAO,mBAAQ,CAAC,QAAQ,CAAC,sCAAsC,EAAE,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,4DAEC;AAgBD,SAAgB,aAAa,CAAC,CAAU;IACtC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,iCAAiC,CAC9C,CAAA;AACH,CAAC;AAND,sCAMC;AAED,SAAgB,mBAAmB,CAAC,CAAU;IAC5C,OAAO,mBAAQ,CAAC,QAAQ,CAAC,iCAAiC,EAAE,CAAC,CAAC,CAAA;AAChE,CAAC;AAFD,kDAEC;AAqBD,SAAgB,qBAAqB,CAAC,CAAU;IAC9C,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,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AAkB,CAAC,CAAU;IAC3C,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,sCAAsC,CACnD,CAAA;AACH,CAAC;AAND,gDAMC;AAED,SAAgB,wBAAwB,CAAC,CAAU;IACjD,OAAO,mBAAQ,CAAC,QAAQ,CAAC,sCAAsC,EAAE,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,4DAEC;AAQD,SAAgB,sBAAsB,CAAC,CAAU;IAC/C,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,0CAA0C,CACvD,CAAA;AACH,CAAC;AAND,wDAMC;AAED,SAAgB,4BAA4B,CAAC,CAAU;IACrD,OAAO,mBAAQ,CAAC,QAAQ,CAAC,0CAA0C,EAAE,CAAC,CAAC,CAAA;AACzE,CAAC;AAFD,oEAEC"}
|
@@ -3,6 +3,7 @@
|
|
3
3
|
*/
|
4
4
|
import { ValidationResult, BlobRef } from '@atproto/lexicon';
|
5
5
|
import * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs';
|
6
|
+
import * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef';
|
6
7
|
export interface Record {
|
7
8
|
displayName?: string;
|
8
9
|
/** Free-form profile description text. */
|
@@ -15,6 +16,8 @@ export interface Record {
|
|
15
16
|
$type: string;
|
16
17
|
[k: string]: unknown;
|
17
18
|
};
|
19
|
+
joinedViaStarterPack?: ComAtprotoRepoStrongRef.Main;
|
20
|
+
createdAt?: string;
|
18
21
|
[k: string]: unknown;
|
19
22
|
}
|
20
23
|
export declare function isRecord(v: unknown): v is Record;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"profile.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/actor/profile.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAI5D,OAAO,KAAK,mBAAmB,MAAM,iCAAiC,CAAA;
|
1
|
+
{"version":3,"file":"profile.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/actor/profile.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAI5D,OAAO,KAAK,mBAAmB,MAAM,iCAAiC,CAAA;AACtE,OAAO,KAAK,uBAAuB,MAAM,qCAAqC,CAAA;AAE9E,MAAM,WAAW,MAAM;IACrB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,0CAA0C;IAC1C,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,qFAAqF;IACrF,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,8DAA8D;IAC9D,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,MAAM,CAAC,EACH,mBAAmB,CAAC,UAAU,GAC9B;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAA;IAC3C,oBAAoB,CAAC,EAAE,uBAAuB,CAAC,IAAI,CAAA;IACnD,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,QAAQ,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,MAAM,CAOhD;AAED,wBAAgB,cAAc,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAE3D"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"profile.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/actor/profile.ts"],"names":[],"mappings":";;;AAIA,mDAA+C;AAC/C,2CAAiD;
|
1
|
+
{"version":3,"file":"profile.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/actor/profile.ts"],"names":[],"mappings":";;;AAIA,mDAA+C;AAC/C,2CAAiD;AAqBjD,SAAgB,QAAQ,CAAC,CAAU;IACjC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,CAAC,KAAK,KAAK,6BAA6B;YACxC,CAAC,CAAC,KAAK,KAAK,wBAAwB,CAAC,CACxC,CAAA;AACH,CAAC;AAPD,4BAOC;AAED,SAAgB,cAAc,CAAC,CAAU;IACvC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,6BAA6B,EAAE,CAAC,CAAC,CAAA;AAC5D,CAAC;AAFD,wCAEC"}
|
@@ -5,12 +5,14 @@ import { ValidationResult } from '@atproto/lexicon';
|
|
5
5
|
import * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs';
|
6
6
|
import * as AppBskyActorDefs from '../actor/defs';
|
7
7
|
import * as AppBskyRichtextFacet from '../richtext/facet';
|
8
|
+
import * as AppBskyFeedDefs from '../feed/defs';
|
8
9
|
export interface ListViewBasic {
|
9
10
|
uri: string;
|
10
11
|
cid: string;
|
11
12
|
name: string;
|
12
13
|
purpose: ListPurpose;
|
13
14
|
avatar?: string;
|
15
|
+
listItemCount?: number;
|
14
16
|
labels?: ComAtprotoLabelDefs.Label[];
|
15
17
|
viewer?: ListViewerState;
|
16
18
|
indexedAt?: string;
|
@@ -27,6 +29,7 @@ export interface ListView {
|
|
27
29
|
description?: string;
|
28
30
|
descriptionFacets?: AppBskyRichtextFacet.Main[];
|
29
31
|
avatar?: string;
|
32
|
+
listItemCount?: number;
|
30
33
|
labels?: ComAtprotoLabelDefs.Label[];
|
31
34
|
viewer?: ListViewerState;
|
32
35
|
indexedAt: string;
|
@@ -41,11 +44,43 @@ export interface ListItemView {
|
|
41
44
|
}
|
42
45
|
export declare function isListItemView(v: unknown): v is ListItemView;
|
43
46
|
export declare function validateListItemView(v: unknown): ValidationResult;
|
44
|
-
export
|
47
|
+
export interface StarterPackView {
|
48
|
+
uri: string;
|
49
|
+
cid: string;
|
50
|
+
record: {};
|
51
|
+
creator: AppBskyActorDefs.ProfileViewBasic;
|
52
|
+
list?: ListViewBasic;
|
53
|
+
listItemsSample?: ListItemView[];
|
54
|
+
feeds?: AppBskyFeedDefs.GeneratorView[];
|
55
|
+
joinedWeekCount?: number;
|
56
|
+
joinedAllTimeCount?: number;
|
57
|
+
labels?: ComAtprotoLabelDefs.Label[];
|
58
|
+
indexedAt: string;
|
59
|
+
[k: string]: unknown;
|
60
|
+
}
|
61
|
+
export declare function isStarterPackView(v: unknown): v is StarterPackView;
|
62
|
+
export declare function validateStarterPackView(v: unknown): ValidationResult;
|
63
|
+
export interface StarterPackViewBasic {
|
64
|
+
uri: string;
|
65
|
+
cid: string;
|
66
|
+
record: {};
|
67
|
+
creator: AppBskyActorDefs.ProfileViewBasic;
|
68
|
+
listItemCount?: number;
|
69
|
+
joinedWeekCount?: number;
|
70
|
+
joinedAllTimeCount?: number;
|
71
|
+
labels?: ComAtprotoLabelDefs.Label[];
|
72
|
+
indexedAt: string;
|
73
|
+
[k: string]: unknown;
|
74
|
+
}
|
75
|
+
export declare function isStarterPackViewBasic(v: unknown): v is StarterPackViewBasic;
|
76
|
+
export declare function validateStarterPackViewBasic(v: unknown): ValidationResult;
|
77
|
+
export type ListPurpose = 'app.bsky.graph.defs#modlist' | 'app.bsky.graph.defs#curatelist' | 'app.bsky.graph.defs#referencelist' | (string & {});
|
45
78
|
/** A list of actors to apply an aggregate moderation action (mute/block) on. */
|
46
79
|
export declare const MODLIST = "app.bsky.graph.defs#modlist";
|
47
80
|
/** A list of actors used for curation purposes such as list feeds or interaction gating. */
|
48
81
|
export declare const CURATELIST = "app.bsky.graph.defs#curatelist";
|
82
|
+
/** A list of actors used for only for reference purposes such as within a starter pack. */
|
83
|
+
export declare const REFERENCELIST = "app.bsky.graph.defs#referencelist";
|
49
84
|
export interface ListViewerState {
|
50
85
|
muted?: boolean;
|
51
86
|
blocked?: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/graph/defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAI5D,OAAO,KAAK,mBAAmB,MAAM,iCAAiC,CAAA;AACtE,OAAO,KAAK,gBAAgB,MAAM,eAAe,CAAA;AACjD,OAAO,KAAK,oBAAoB,MAAM,mBAAmB,CAAA;
|
1
|
+
{"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/graph/defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAI5D,OAAO,KAAK,mBAAmB,MAAM,iCAAiC,CAAA;AACtE,OAAO,KAAK,gBAAgB,MAAM,eAAe,CAAA;AACjD,OAAO,KAAK,oBAAoB,MAAM,mBAAmB,CAAA;AACzD,OAAO,KAAK,eAAe,MAAM,cAAc,CAAA;AAE/C,MAAM,WAAW,aAAa;IAC5B,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,WAAW,CAAA;IACpB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,MAAM,CAAC,EAAE,mBAAmB,CAAC,KAAK,EAAE,CAAA;IACpC,MAAM,CAAC,EAAE,eAAe,CAAA;IACxB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,eAAe,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,aAAa,CAM9D;AAED,wBAAgB,qBAAqB,CAAC,CAAC,EAAE,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sCAAsC,CAAA;AAEhE,MAAM,WAAW,eAAe;IAC9B,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,eAAe,CAMlE;AAED,wBAAgB,uBAAuB,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAEpE;AAED,2DAA2D;AAC3D,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,IAAI,CAAA;IACd,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,eAAe,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,aAAa,CAM9D;AAED,wBAAgB,qBAAqB,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAElE;AAED,2JAA2J;AAC3J,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,MAAM,CAAA;IACX,6EAA6E;IAC7E,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,qFAAqF;IACrF,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,cAAc,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,YAAY,CAM5D;AAED,wBAAgB,oBAAoB,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAEjE"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.validateRelationship = exports.isRelationship = exports.validateNotFoundActor = exports.isNotFoundActor = exports.validateListViewerState = exports.isListViewerState = exports.CURATELIST = exports.MODLIST = exports.validateListItemView = exports.isListItemView = exports.validateListView = exports.isListView = exports.validateListViewBasic = exports.isListViewBasic = void 0;
|
3
|
+
exports.validateRelationship = exports.isRelationship = exports.validateNotFoundActor = exports.isNotFoundActor = exports.validateListViewerState = exports.isListViewerState = exports.REFERENCELIST = exports.CURATELIST = exports.MODLIST = exports.validateStarterPackViewBasic = exports.isStarterPackViewBasic = exports.validateStarterPackView = exports.isStarterPackView = exports.validateListItemView = exports.isListItemView = exports.validateListView = exports.isListView = exports.validateListViewBasic = exports.isListViewBasic = void 0;
|
4
4
|
const lexicons_1 = require("../../../../lexicons");
|
5
5
|
const util_1 = require("../../../../util");
|
6
6
|
function isListViewBasic(v) {
|
@@ -33,10 +33,32 @@ function validateListItemView(v) {
|
|
33
33
|
return lexicons_1.lexicons.validate('app.bsky.graph.defs#listItemView', v);
|
34
34
|
}
|
35
35
|
exports.validateListItemView = validateListItemView;
|
36
|
+
function isStarterPackView(v) {
|
37
|
+
return ((0, util_1.isObj)(v) &&
|
38
|
+
(0, util_1.hasProp)(v, '$type') &&
|
39
|
+
v.$type === 'app.bsky.graph.defs#starterPackView');
|
40
|
+
}
|
41
|
+
exports.isStarterPackView = isStarterPackView;
|
42
|
+
function validateStarterPackView(v) {
|
43
|
+
return lexicons_1.lexicons.validate('app.bsky.graph.defs#starterPackView', v);
|
44
|
+
}
|
45
|
+
exports.validateStarterPackView = validateStarterPackView;
|
46
|
+
function isStarterPackViewBasic(v) {
|
47
|
+
return ((0, util_1.isObj)(v) &&
|
48
|
+
(0, util_1.hasProp)(v, '$type') &&
|
49
|
+
v.$type === 'app.bsky.graph.defs#starterPackViewBasic');
|
50
|
+
}
|
51
|
+
exports.isStarterPackViewBasic = isStarterPackViewBasic;
|
52
|
+
function validateStarterPackViewBasic(v) {
|
53
|
+
return lexicons_1.lexicons.validate('app.bsky.graph.defs#starterPackViewBasic', v);
|
54
|
+
}
|
55
|
+
exports.validateStarterPackViewBasic = validateStarterPackViewBasic;
|
36
56
|
/** A list of actors to apply an aggregate moderation action (mute/block) on. */
|
37
57
|
exports.MODLIST = 'app.bsky.graph.defs#modlist';
|
38
58
|
/** A list of actors used for curation purposes such as list feeds or interaction gating. */
|
39
59
|
exports.CURATELIST = 'app.bsky.graph.defs#curatelist';
|
60
|
+
/** A list of actors used for only for reference purposes such as within a starter pack. */
|
61
|
+
exports.REFERENCELIST = 'app.bsky.graph.defs#referencelist';
|
40
62
|
function isListViewerState(v) {
|
41
63
|
return ((0, util_1.isObj)(v) &&
|
42
64
|
(0, util_1.hasProp)(v, '$type') &&
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/graph/defs.ts"],"names":[],"mappings":";;;AAIA,mDAA+C;AAC/C,2CAAiD;
|
1
|
+
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/graph/defs.ts"],"names":[],"mappings":";;;AAIA,mDAA+C;AAC/C,2CAAiD;AAoBjD,SAAgB,eAAe,CAAC,CAAU;IACxC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,mCAAmC,CAChD,CAAA;AACH,CAAC;AAND,0CAMC;AAED,SAAgB,qBAAqB,CAAC,CAAU;IAC9C,OAAO,mBAAQ,CAAC,QAAQ,CAAC,mCAAmC,EAAE,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,sDAEC;AAkBD,SAAgB,UAAU,CAAC,CAAU;IACnC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,8BAA8B,CAC3C,CAAA;AACH,CAAC;AAND,gCAMC;AAED,SAAgB,gBAAgB,CAAC,CAAU;IACzC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,8BAA8B,EAAE,CAAC,CAAC,CAAA;AAC7D,CAAC;AAFD,4CAEC;AAQD,SAAgB,cA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AAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,qCAAqC,CAClD,CAAA;AACH,CAAC;AAND,8CAMC;AAED,SAAgB,uBAAuB,CAAC,CAAU;IAChD,OAAO,mBAAQ,CAAC,QAAQ,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,0DAEC;AASD,SAAgB,eAAe,CAAC,CAAU;IACxC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,mCAAmC,CAChD,CAAA;AACH,CAAC;AAND,0CAMC;AAED,SAAgB,qBAAqB,CAAC,CAAU;IAC9C,OAAO,mBAAQ,CAAC,QAAQ,CAAC,mCAAmC,EAAE,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,sDAEC;AAYD,SAAgB,cAAc,CAAC,CAAU;IACvC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,kCAAkC,CAC/C,CAAA;AACH,CAAC;AAND,wCAMC;AAED,SAAgB,oBAAoB,CAAC,CAAU;IAC7C,OAAO,mBAAQ,CAAC,QAAQ,CAAC,kCAAkC,EAAE,CAAC,CAAC,CAAA;AACjE,CAAC;AAFD,oDAEC"}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
/**
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
3
|
+
*/
|
4
|
+
import express from 'express';
|
5
|
+
import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server';
|
6
|
+
import * as AppBskyGraphDefs from './defs';
|
7
|
+
export interface QueryParams {
|
8
|
+
actor: string;
|
9
|
+
limit: number;
|
10
|
+
cursor?: string;
|
11
|
+
}
|
12
|
+
export type InputSchema = undefined;
|
13
|
+
export interface OutputSchema {
|
14
|
+
cursor?: string;
|
15
|
+
starterPacks: AppBskyGraphDefs.StarterPackViewBasic[];
|
16
|
+
[k: string]: unknown;
|
17
|
+
}
|
18
|
+
export type HandlerInput = undefined;
|
19
|
+
export interface HandlerSuccess {
|
20
|
+
encoding: 'application/json';
|
21
|
+
body: OutputSchema;
|
22
|
+
headers?: {
|
23
|
+
[key: string]: string;
|
24
|
+
};
|
25
|
+
}
|
26
|
+
export interface HandlerError {
|
27
|
+
status: number;
|
28
|
+
message?: string;
|
29
|
+
}
|
30
|
+
export type HandlerOutput = HandlerError | HandlerSuccess | HandlerPipeThrough;
|
31
|
+
export type HandlerReqCtx<HA extends HandlerAuth = never> = {
|
32
|
+
auth: HA;
|
33
|
+
params: QueryParams;
|
34
|
+
input: HandlerInput;
|
35
|
+
req: express.Request;
|
36
|
+
res: express.Response;
|
37
|
+
};
|
38
|
+
export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
|
39
|
+
//# sourceMappingURL=getActorStarterPacks.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"getActorStarterPacks.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/graph/getActorStarterPacks.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAK7B,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACtE,OAAO,KAAK,gBAAgB,MAAM,QAAQ,CAAA;AAE1C,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,YAAY,EAAE,gBAAgB,CAAC,oBAAoB,EAAE,CAAA;IACrD,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,MAAM,MAAM,YAAY,GAAG,SAAS,CAAA;AAEpC,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,YAAY,CAAA;IAClB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,GAAG,kBAAkB,CAAA;AAC9E,MAAM,MAAM,aAAa,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI;IAC1D,IAAI,EAAE,EAAE,CAAA;IACR,MAAM,EAAE,WAAW,CAAA;IACnB,KAAK,EAAE,YAAY,CAAA;IACnB,GAAG,EAAE,OAAO,CAAC,OAAO,CAAA;IACpB,GAAG,EAAE,OAAO,CAAC,QAAQ,CAAA;CACtB,CAAA;AACD,MAAM,MAAM,OAAO,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI,CACpD,GAAG,EAAE,aAAa,CAAC,EAAE,CAAC,KACnB,OAAO,CAAC,aAAa,CAAC,GAAG,aAAa,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"getActorStarterPacks.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/graph/getActorStarterPacks.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
/**
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
3
|
+
*/
|
4
|
+
import express from 'express';
|
5
|
+
import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server';
|
6
|
+
import * as AppBskyGraphDefs from './defs';
|
7
|
+
export interface QueryParams {
|
8
|
+
/** Reference (AT-URI) of the starter pack record. */
|
9
|
+
starterPack: string;
|
10
|
+
}
|
11
|
+
export type InputSchema = undefined;
|
12
|
+
export interface OutputSchema {
|
13
|
+
starterPack: AppBskyGraphDefs.StarterPackView;
|
14
|
+
[k: string]: unknown;
|
15
|
+
}
|
16
|
+
export type HandlerInput = undefined;
|
17
|
+
export interface HandlerSuccess {
|
18
|
+
encoding: 'application/json';
|
19
|
+
body: OutputSchema;
|
20
|
+
headers?: {
|
21
|
+
[key: string]: string;
|
22
|
+
};
|
23
|
+
}
|
24
|
+
export interface HandlerError {
|
25
|
+
status: number;
|
26
|
+
message?: string;
|
27
|
+
}
|
28
|
+
export type HandlerOutput = HandlerError | HandlerSuccess | HandlerPipeThrough;
|
29
|
+
export type HandlerReqCtx<HA extends HandlerAuth = never> = {
|
30
|
+
auth: HA;
|
31
|
+
params: QueryParams;
|
32
|
+
input: HandlerInput;
|
33
|
+
req: express.Request;
|
34
|
+
res: express.Response;
|
35
|
+
};
|
36
|
+
export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
|
37
|
+
//# sourceMappingURL=getStarterPack.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"getStarterPack.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/graph/getStarterPack.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAK7B,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACtE,OAAO,KAAK,gBAAgB,MAAM,QAAQ,CAAA;AAE1C,MAAM,WAAW,WAAW;IAC1B,qDAAqD;IACrD,WAAW,EAAE,MAAM,CAAA;CACpB;AAED,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,WAAW,EAAE,gBAAgB,CAAC,eAAe,CAAA;IAC7C,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,MAAM,MAAM,YAAY,GAAG,SAAS,CAAA;AAEpC,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,YAAY,CAAA;IAClB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,GAAG,kBAAkB,CAAA;AAC9E,MAAM,MAAM,aAAa,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI;IAC1D,IAAI,EAAE,EAAE,CAAA;IACR,MAAM,EAAE,WAAW,CAAA;IACnB,KAAK,EAAE,YAAY,CAAA;IACnB,GAAG,EAAE,OAAO,CAAC,OAAO,CAAA;IACpB,GAAG,EAAE,OAAO,CAAC,QAAQ,CAAA;CACtB,CAAA;AACD,MAAM,MAAM,OAAO,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI,CACpD,GAAG,EAAE,aAAa,CAAC,EAAE,CAAC,KACnB,OAAO,CAAC,aAAa,CAAC,GAAG,aAAa,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"getStarterPack.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/graph/getStarterPack.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
/**
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
3
|
+
*/
|
4
|
+
import express from 'express';
|
5
|
+
import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server';
|
6
|
+
import * as AppBskyGraphDefs from './defs';
|
7
|
+
export interface QueryParams {
|
8
|
+
uris: string[];
|
9
|
+
}
|
10
|
+
export type InputSchema = undefined;
|
11
|
+
export interface OutputSchema {
|
12
|
+
starterPacks: AppBskyGraphDefs.StarterPackViewBasic[];
|
13
|
+
[k: string]: unknown;
|
14
|
+
}
|
15
|
+
export type HandlerInput = undefined;
|
16
|
+
export interface HandlerSuccess {
|
17
|
+
encoding: 'application/json';
|
18
|
+
body: OutputSchema;
|
19
|
+
headers?: {
|
20
|
+
[key: string]: string;
|
21
|
+
};
|
22
|
+
}
|
23
|
+
export interface HandlerError {
|
24
|
+
status: number;
|
25
|
+
message?: string;
|
26
|
+
}
|
27
|
+
export type HandlerOutput = HandlerError | HandlerSuccess | HandlerPipeThrough;
|
28
|
+
export type HandlerReqCtx<HA extends HandlerAuth = never> = {
|
29
|
+
auth: HA;
|
30
|
+
params: QueryParams;
|
31
|
+
input: HandlerInput;
|
32
|
+
req: express.Request;
|
33
|
+
res: express.Response;
|
34
|
+
};
|
35
|
+
export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
|
36
|
+
//# sourceMappingURL=getStarterPacks.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"getStarterPacks.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/graph/getStarterPacks.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAK7B,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACtE,OAAO,KAAK,gBAAgB,MAAM,QAAQ,CAAA;AAE1C,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,EAAE,CAAA;CACf;AAED,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,YAAY,EAAE,gBAAgB,CAAC,oBAAoB,EAAE,CAAA;IACrD,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,MAAM,MAAM,YAAY,GAAG,SAAS,CAAA;AAEpC,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,YAAY,CAAA;IAClB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,GAAG,kBAAkB,CAAA;AAC9E,MAAM,MAAM,aAAa,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI;IAC1D,IAAI,EAAE,EAAE,CAAA;IACR,MAAM,EAAE,WAAW,CAAA;IACnB,KAAK,EAAE,YAAY,CAAA;IACnB,GAAG,EAAE,OAAO,CAAC,OAAO,CAAA;IACpB,GAAG,EAAE,OAAO,CAAC,QAAQ,CAAA;CACtB,CAAA;AACD,MAAM,MAAM,OAAO,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI,CACpD,GAAG,EAAE,aAAa,CAAC,EAAE,CAAC,KACnB,OAAO,CAAC,aAAa,CAAC,GAAG,aAAa,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"getStarterPacks.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/graph/getStarterPacks.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
/**
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
3
|
+
*/
|
4
|
+
import { ValidationResult } from '@atproto/lexicon';
|
5
|
+
import * as AppBskyRichtextFacet from '../richtext/facet';
|
6
|
+
export interface Record {
|
7
|
+
/** Display name for starter pack; can not be empty. */
|
8
|
+
name: string;
|
9
|
+
description?: string;
|
10
|
+
descriptionFacets?: AppBskyRichtextFacet.Main[];
|
11
|
+
/** Reference (AT-URI) to the list record. */
|
12
|
+
list: string;
|
13
|
+
feeds?: FeedItem[];
|
14
|
+
createdAt: string;
|
15
|
+
[k: string]: unknown;
|
16
|
+
}
|
17
|
+
export declare function isRecord(v: unknown): v is Record;
|
18
|
+
export declare function validateRecord(v: unknown): ValidationResult;
|
19
|
+
export interface FeedItem {
|
20
|
+
uri: string;
|
21
|
+
[k: string]: unknown;
|
22
|
+
}
|
23
|
+
export declare function isFeedItem(v: unknown): v is FeedItem;
|
24
|
+
export declare function validateFeedItem(v: unknown): ValidationResult;
|
25
|
+
//# sourceMappingURL=starterpack.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"starterpack.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/graph/starterpack.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAI5D,OAAO,KAAK,oBAAoB,MAAM,mBAAmB,CAAA;AAEzD,MAAM,WAAW,MAAM;IACrB,uDAAuD;IACvD,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,iBAAiB,CAAC,EAAE,oBAAoB,CAAC,IAAI,EAAE,CAAA;IAC/C,6CAA6C;IAC7C,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,QAAQ,EAAE,CAAA;IAClB,SAAS,EAAE,MAAM,CAAA;IACjB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,QAAQ,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,MAAM,CAOhD;AAED,wBAAgB,cAAc,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAE3D;AAED,MAAM,WAAW,QAAQ;IACvB,GAAG,EAAE,MAAM,CAAA;IACX,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,QAAQ,CAMpD;AAED,wBAAgB,gBAAgB,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAE7D"}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.validateFeedItem = exports.isFeedItem = exports.validateRecord = exports.isRecord = void 0;
|
4
|
+
const lexicons_1 = require("../../../../lexicons");
|
5
|
+
const util_1 = require("../../../../util");
|
6
|
+
function isRecord(v) {
|
7
|
+
return ((0, util_1.isObj)(v) &&
|
8
|
+
(0, util_1.hasProp)(v, '$type') &&
|
9
|
+
(v.$type === 'app.bsky.graph.starterpack#main' ||
|
10
|
+
v.$type === 'app.bsky.graph.starterpack'));
|
11
|
+
}
|
12
|
+
exports.isRecord = isRecord;
|
13
|
+
function validateRecord(v) {
|
14
|
+
return lexicons_1.lexicons.validate('app.bsky.graph.starterpack#main', v);
|
15
|
+
}
|
16
|
+
exports.validateRecord = validateRecord;
|
17
|
+
function isFeedItem(v) {
|
18
|
+
return ((0, util_1.isObj)(v) &&
|
19
|
+
(0, util_1.hasProp)(v, '$type') &&
|
20
|
+
v.$type === 'app.bsky.graph.starterpack#feedItem');
|
21
|
+
}
|
22
|
+
exports.isFeedItem = isFeedItem;
|
23
|
+
function validateFeedItem(v) {
|
24
|
+
return lexicons_1.lexicons.validate('app.bsky.graph.starterpack#feedItem', v);
|
25
|
+
}
|
26
|
+
exports.validateFeedItem = validateFeedItem;
|
27
|
+
//# sourceMappingURL=starterpack.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"starterpack.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/graph/starterpack.ts"],"names":[],"mappings":";;;AAIA,mDAA+C;AAC/C,2CAAiD;AAgBjD,SAAgB,QAAQ,CAAC,CAAU;IACjC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,CAAC,KAAK,KAAK,iCAAiC;YAC5C,CAAC,CAAC,KAAK,KAAK,4BAA4B,CAAC,CAC5C,CAAA;AACH,CAAC;AAPD,4BAOC;AAED,SAAgB,cAAc,CAAC,CAAU;IACvC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,iCAAiC,EAAE,CAAC,CAAC,CAAA;AAChE,CAAC;AAFD,wCAEC;AAOD,SAAgB,UAAU,CAAC,CAAU;IACnC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,qCAAqC,CAClD,CAAA;AACH,CAAC;AAND,gCAMC;AAED,SAAgB,gBAAgB,CAAC,CAAU;IACzC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,4CAEC"}
|
@@ -43,8 +43,8 @@ export interface Notification {
|
|
43
43
|
uri: string;
|
44
44
|
cid: string;
|
45
45
|
author: AppBskyActorDefs.ProfileView;
|
46
|
-
/** Expected values are 'like', 'repost', 'follow', 'mention', 'reply', and '
|
47
|
-
reason: 'like' | 'repost' | 'follow' | 'mention' | 'reply' | 'quote' | (string & {});
|
46
|
+
/** Expected values are 'like', 'repost', 'follow', 'mention', 'reply', 'quote', and 'starterpack-joined'. */
|
47
|
+
reason: 'like' | 'repost' | 'follow' | 'mention' | 'reply' | 'quote' | 'starterpack-joined' | (string & {});
|
48
48
|
reasonSubject?: string;
|
49
49
|
record: {};
|
50
50
|
isRead: boolean;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"listNotifications.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/notification/listNotifications.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAC7B,OAAO,EAAE,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAI5D,OAAO,EAAE,W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,EAAE,CAAC,KACnB,OAAO,CAAC,aAAa,CAAC,GAAG,aAAa,CAAA;AAE3C,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;IACX,MAAM,EAAE,gBAAgB,CAAC,WAAW,CAAA;IACpC,
|
1
|
+
{"version":3,"file":"listNotifications.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/notification/listNotifications.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAC7B,OAAO,EAAE,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAI5D,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACtE,OAAO,KAAK,gBAAgB,MAAM,eAAe,CAAA;AACjD,OAAO,KAAK,mBAAmB,MAAM,iCAAiC,CAAA;AAEtE,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,aAAa,EAAE,YAAY,EAAE,CAAA;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,MAAM,MAAM,YAAY,GAAG,SAAS,CAAA;AAEpC,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,YAAY,CAAA;IAClB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAA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sky/notification/listNotifications.ts"],"names":[],"mappings":";;;AAKA,mDAA+C;AAC/C,2CAAiD;
|
1
|
+
{"version":3,"file":"listNotifications.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/notification/listNotifications.ts"],"names":[],"mappings":";;;AAKA,mDAA+C;AAC/C,2CAAiD;AAoEjD,SAAgB,cAAc,CAAC,CAAU;IACvC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,sDAAsD,CACnE,CAAA;AACH,CAAC;AAND,wCAMC;AAED,SAAgB,oBAAoB,CAAC,CAAU;IAC7C,OAAO,mBAAQ,CAAC,QAAQ,CACtB,sDAAsD,EACtD,CAAC,CACF,CAAA;AACH,CAAC;AALD,oDAKC"}
|
@@ -16,7 +16,7 @@ export interface HandlerInput {
|
|
16
16
|
export interface HandlerError {
|
17
17
|
status: number;
|
18
18
|
message?: string;
|
19
|
-
error?: 'MemberNotFound';
|
19
|
+
error?: 'MemberNotFound' | 'CannotDeleteSelf';
|
20
20
|
}
|
21
21
|
export type HandlerOutput = HandlerError | void;
|
22
22
|
export type HandlerReqCtx<HA extends HandlerAuth = never> = {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"deleteMember.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/tools/ozone/team/deleteMember.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAK7B,OAAO,EAAE,WAAW,EAAsB,MAAM,sBAAsB,CAAA;AAEtE,MAAM,WAAW,WAAW;CAAG;AAE/B,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE,MAAM,CAAA;IACX,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,WAAW,CA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