@atcute/bluesky 3.1.1 → 3.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lexicons/index.d.ts +3 -1
- package/dist/lexicons/index.js +3 -1
- package/dist/lexicons/index.js.map +1 -1
- package/dist/lexicons/types/app/bsky/notification/defs.d.ts +56 -0
- package/dist/lexicons/types/app/bsky/notification/defs.js +62 -0
- package/dist/lexicons/types/app/bsky/notification/defs.js.map +1 -1
- package/dist/lexicons/types/app/bsky/notification/getPreferences.d.ts +22 -0
- package/dist/lexicons/types/app/bsky/notification/getPreferences.js +15 -0
- package/dist/lexicons/types/app/bsky/notification/getPreferences.js.map +1 -0
- package/dist/lexicons/types/app/bsky/notification/listNotifications.d.ts +1 -1
- package/dist/lexicons/types/app/bsky/notification/putPreferencesV2.d.ts +41 -0
- package/dist/lexicons/types/app/bsky/notification/putPreferencesV2.js +59 -0
- package/dist/lexicons/types/app/bsky/notification/putPreferencesV2.js.map +1 -0
- package/dist/lexicons/types/app/bsky/unspecced/{getPostThreadHiddenV2.d.ts → getPostThreadOtherV2.d.ts} +9 -9
- package/dist/lexicons/types/app/bsky/unspecced/{getPostThreadHiddenV2.js → getPostThreadOtherV2.js} +6 -6
- package/dist/lexicons/types/app/bsky/unspecced/getPostThreadOtherV2.js.map +1 -0
- package/dist/lexicons/types/app/bsky/unspecced/getPostThreadV2.d.ts +1 -1
- package/dist/lexicons/types/app/bsky/unspecced/getPostThreadV2.js +1 -1
- package/dist/lexicons/types/app/bsky/unspecced/getPostThreadV2.js.map +1 -1
- package/lib/lexicons/index.ts +3 -1
- package/lib/lexicons/types/app/bsky/notification/defs.ts +74 -0
- package/lib/lexicons/types/app/bsky/notification/getPreferences.ts +31 -0
- package/lib/lexicons/types/app/bsky/notification/putPreferencesV2.ts +76 -0
- package/lib/lexicons/types/app/bsky/unspecced/{getPostThreadHiddenV2.ts → getPostThreadOtherV2.ts} +9 -9
- package/lib/lexicons/types/app/bsky/unspecced/getPostThreadV2.ts +1 -1
- package/package.json +5 -5
- package/dist/lexicons/types/app/bsky/unspecced/getPostThreadHiddenV2.js.map +0 -1
package/dist/lexicons/index.d.ts
CHANGED
|
@@ -72,16 +72,18 @@ export * as AppBskyLabelerDefs from './types/app/bsky/labeler/defs.js';
|
|
|
72
72
|
export * as AppBskyLabelerGetServices from './types/app/bsky/labeler/getServices.js';
|
|
73
73
|
export * as AppBskyLabelerService from './types/app/bsky/labeler/service.js';
|
|
74
74
|
export * as AppBskyNotificationDefs from './types/app/bsky/notification/defs.js';
|
|
75
|
+
export * as AppBskyNotificationGetPreferences from './types/app/bsky/notification/getPreferences.js';
|
|
75
76
|
export * as AppBskyNotificationGetUnreadCount from './types/app/bsky/notification/getUnreadCount.js';
|
|
76
77
|
export * as AppBskyNotificationListNotifications from './types/app/bsky/notification/listNotifications.js';
|
|
77
78
|
export * as AppBskyNotificationPutPreferences from './types/app/bsky/notification/putPreferences.js';
|
|
79
|
+
export * as AppBskyNotificationPutPreferencesV2 from './types/app/bsky/notification/putPreferencesV2.js';
|
|
78
80
|
export * as AppBskyNotificationRegisterPush from './types/app/bsky/notification/registerPush.js';
|
|
79
81
|
export * as AppBskyNotificationUpdateSeen from './types/app/bsky/notification/updateSeen.js';
|
|
80
82
|
export * as AppBskyRichtextFacet from './types/app/bsky/richtext/facet.js';
|
|
81
83
|
export * as AppBskyUnspeccedDefs from './types/app/bsky/unspecced/defs.js';
|
|
82
84
|
export * as AppBskyUnspeccedGetConfig from './types/app/bsky/unspecced/getConfig.js';
|
|
83
85
|
export * as AppBskyUnspeccedGetPopularFeedGenerators from './types/app/bsky/unspecced/getPopularFeedGenerators.js';
|
|
84
|
-
export * as
|
|
86
|
+
export * as AppBskyUnspeccedGetPostThreadOtherV2 from './types/app/bsky/unspecced/getPostThreadOtherV2.js';
|
|
85
87
|
export * as AppBskyUnspeccedGetPostThreadV2 from './types/app/bsky/unspecced/getPostThreadV2.js';
|
|
86
88
|
export * as AppBskyUnspeccedGetSuggestedFeeds from './types/app/bsky/unspecced/getSuggestedFeeds.js';
|
|
87
89
|
export * as AppBskyUnspeccedGetSuggestedFeedsSkeleton from './types/app/bsky/unspecced/getSuggestedFeedsSkeleton.js';
|
package/dist/lexicons/index.js
CHANGED
|
@@ -72,16 +72,18 @@ export * as AppBskyLabelerDefs from './types/app/bsky/labeler/defs.js';
|
|
|
72
72
|
export * as AppBskyLabelerGetServices from './types/app/bsky/labeler/getServices.js';
|
|
73
73
|
export * as AppBskyLabelerService from './types/app/bsky/labeler/service.js';
|
|
74
74
|
export * as AppBskyNotificationDefs from './types/app/bsky/notification/defs.js';
|
|
75
|
+
export * as AppBskyNotificationGetPreferences from './types/app/bsky/notification/getPreferences.js';
|
|
75
76
|
export * as AppBskyNotificationGetUnreadCount from './types/app/bsky/notification/getUnreadCount.js';
|
|
76
77
|
export * as AppBskyNotificationListNotifications from './types/app/bsky/notification/listNotifications.js';
|
|
77
78
|
export * as AppBskyNotificationPutPreferences from './types/app/bsky/notification/putPreferences.js';
|
|
79
|
+
export * as AppBskyNotificationPutPreferencesV2 from './types/app/bsky/notification/putPreferencesV2.js';
|
|
78
80
|
export * as AppBskyNotificationRegisterPush from './types/app/bsky/notification/registerPush.js';
|
|
79
81
|
export * as AppBskyNotificationUpdateSeen from './types/app/bsky/notification/updateSeen.js';
|
|
80
82
|
export * as AppBskyRichtextFacet from './types/app/bsky/richtext/facet.js';
|
|
81
83
|
export * as AppBskyUnspeccedDefs from './types/app/bsky/unspecced/defs.js';
|
|
82
84
|
export * as AppBskyUnspeccedGetConfig from './types/app/bsky/unspecced/getConfig.js';
|
|
83
85
|
export * as AppBskyUnspeccedGetPopularFeedGenerators from './types/app/bsky/unspecced/getPopularFeedGenerators.js';
|
|
84
|
-
export * as
|
|
86
|
+
export * as AppBskyUnspeccedGetPostThreadOtherV2 from './types/app/bsky/unspecced/getPostThreadOtherV2.js';
|
|
85
87
|
export * as AppBskyUnspeccedGetPostThreadV2 from './types/app/bsky/unspecced/getPostThreadV2.js';
|
|
86
88
|
export * as AppBskyUnspeccedGetSuggestedFeeds from './types/app/bsky/unspecced/getSuggestedFeeds.js';
|
|
87
89
|
export * as AppBskyUnspeccedGetSuggestedFeedsSkeleton from './types/app/bsky/unspecced/getSuggestedFeedsSkeleton.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../lib/lexicons/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,gBAAgB,MAAM,gCAAgC,CAAC;AACnE,OAAO,KAAK,0BAA0B,MAAM,0CAA0C,CAAC;AACvF,OAAO,KAAK,sBAAsB,MAAM,sCAAsC,CAAC;AAC/E,OAAO,KAAK,uBAAuB,MAAM,uCAAuC,CAAC;AACjF,OAAO,KAAK,0BAA0B,MAAM,0CAA0C,CAAC;AACvF,OAAO,KAAK,mBAAmB,MAAM,mCAAmC,CAAC;AACzE,OAAO,KAAK,0BAA0B,MAAM,0CAA0C,CAAC;AACvF,OAAO,KAAK,wBAAwB,MAAM,wCAAwC,CAAC;AACnF,OAAO,KAAK,iCAAiC,MAAM,iDAAiD,CAAC;AACrG,OAAO,KAAK,kBAAkB,MAAM,kCAAkC,CAAC;AACvE,OAAO,KAAK,gBAAgB,MAAM,gCAAgC,CAAC;AACnE,OAAO,KAAK,oBAAoB,MAAM,oCAAoC,CAAC;AAC3E,OAAO,KAAK,kBAAkB,MAAM,kCAAkC,CAAC;AACvE,OAAO,KAAK,kBAAkB,MAAM,kCAAkC,CAAC;AACvE,OAAO,KAAK,2BAA2B,MAAM,2CAA2C,CAAC;AACzF,OAAO,KAAK,iBAAiB,MAAM,iCAAiC,CAAC;AACrE,OAAO,KAAK,eAAe,MAAM,+BAA+B,CAAC;AACjE,OAAO,KAAK,gCAAgC,MAAM,gDAAgD,CAAC;AACnG,OAAO,KAAK,oBAAoB,MAAM,oCAAoC,CAAC;AAC3E,OAAO,KAAK,wBAAwB,MAAM,wCAAwC,CAA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wB,MAAM,wCAAwC,CAAC;AACnF,OAAO,KAAK,uBAAuB,MAAM,uCAAuC,CAAC;AACjF,OAAO,KAAK,uBAAuB,MAAM,uCAAuC,CAAC;AACjF,OAAO,KAAK,sBAAsB,MAAM,sCAAsC,CAAC;AAC/E,OAAO,KAAK,2BAA2B,MAAM,2CAA2C,CAAC;AACzF,OAAO,KAAK,wBAAwB,MAAM,wCAAwC,CAAC;AACnF,OAAO,KAAK,6BAA6B,MAAM,6CAA6C,CAAC;AAC7F,OAAO,KAAK,wBAAwB,MAAM,wCAAwC,CAAC;AACnF,OAAO,KAAK,0BAA0B,MAAM,0CAA0C,CAAC;AACvF,OAAO,KAAK,uBAAuB,MAAM,uCAAuC,CAAC;AACjF,OAAO,KAAK,kCAAkC,MAAM,kDAAkD,CAAC;AACvG,OAAO,KAAK,mCAAmC,MAAM,mDAAmD,CAAC;AACzG,OAAO,KAAK,mCAAmC,MAAM,mDAAmD,CAAC"}
|
|
@@ -1,11 +1,67 @@
|
|
|
1
1
|
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
declare const _chatPreferenceSchema: v.ObjectSchema<{
|
|
3
|
+
$type: v.OptionalSchema<v.LiteralSchema<"app.bsky.notification.defs#chatPreference">, undefined>;
|
|
4
|
+
include: v.StringSchema<(string & {}) | "all" | "accepted">;
|
|
5
|
+
push: v.BooleanSchema;
|
|
6
|
+
}>;
|
|
7
|
+
declare const _filterablePreferenceSchema: v.ObjectSchema<{
|
|
8
|
+
$type: v.OptionalSchema<v.LiteralSchema<"app.bsky.notification.defs#filterablePreference">, undefined>;
|
|
9
|
+
include: v.StringSchema<(string & {}) | "all" | "follows">;
|
|
10
|
+
list: v.BooleanSchema;
|
|
11
|
+
push: v.BooleanSchema;
|
|
12
|
+
}>;
|
|
13
|
+
declare const _preferenceSchema: v.ObjectSchema<{
|
|
14
|
+
$type: v.OptionalSchema<v.LiteralSchema<"app.bsky.notification.defs#preference">, undefined>;
|
|
15
|
+
list: v.BooleanSchema;
|
|
16
|
+
push: v.BooleanSchema;
|
|
17
|
+
}>;
|
|
18
|
+
declare const _preferencesSchema: v.ObjectSchema<{
|
|
19
|
+
$type: v.OptionalSchema<v.LiteralSchema<"app.bsky.notification.defs#preferences">, undefined>;
|
|
20
|
+
readonly chat: chatPreferenceSchema;
|
|
21
|
+
readonly follow: filterablePreferenceSchema;
|
|
22
|
+
readonly like: filterablePreferenceSchema;
|
|
23
|
+
readonly likeViaRepost: filterablePreferenceSchema;
|
|
24
|
+
readonly mention: filterablePreferenceSchema;
|
|
25
|
+
readonly quote: filterablePreferenceSchema;
|
|
26
|
+
readonly reply: filterablePreferenceSchema;
|
|
27
|
+
readonly repost: filterablePreferenceSchema;
|
|
28
|
+
readonly repostViaRepost: filterablePreferenceSchema;
|
|
29
|
+
readonly starterpackJoined: preferenceSchema;
|
|
30
|
+
readonly subscribedPost: preferenceSchema;
|
|
31
|
+
readonly unverified: preferenceSchema;
|
|
32
|
+
readonly verified: preferenceSchema;
|
|
33
|
+
}>;
|
|
2
34
|
declare const _recordDeletedSchema: v.ObjectSchema<{
|
|
3
35
|
$type: v.OptionalSchema<v.LiteralSchema<"app.bsky.notification.defs#recordDeleted">, undefined>;
|
|
4
36
|
}>;
|
|
37
|
+
type chatPreference$schematype = typeof _chatPreferenceSchema;
|
|
38
|
+
type filterablePreference$schematype = typeof _filterablePreferenceSchema;
|
|
39
|
+
type preference$schematype = typeof _preferenceSchema;
|
|
40
|
+
type preferences$schematype = typeof _preferencesSchema;
|
|
5
41
|
type recordDeleted$schematype = typeof _recordDeletedSchema;
|
|
42
|
+
export interface chatPreferenceSchema extends chatPreference$schematype {
|
|
43
|
+
}
|
|
44
|
+
export interface filterablePreferenceSchema extends filterablePreference$schematype {
|
|
45
|
+
}
|
|
46
|
+
export interface preferenceSchema extends preference$schematype {
|
|
47
|
+
}
|
|
48
|
+
export interface preferencesSchema extends preferences$schematype {
|
|
49
|
+
}
|
|
6
50
|
export interface recordDeletedSchema extends recordDeleted$schematype {
|
|
7
51
|
}
|
|
52
|
+
export declare const chatPreferenceSchema: chatPreferenceSchema;
|
|
53
|
+
export declare const filterablePreferenceSchema: filterablePreferenceSchema;
|
|
54
|
+
export declare const preferenceSchema: preferenceSchema;
|
|
55
|
+
export declare const preferencesSchema: preferencesSchema;
|
|
8
56
|
export declare const recordDeletedSchema: recordDeletedSchema;
|
|
57
|
+
export interface ChatPreference extends v.InferInput<typeof chatPreferenceSchema> {
|
|
58
|
+
}
|
|
59
|
+
export interface FilterablePreference extends v.InferInput<typeof filterablePreferenceSchema> {
|
|
60
|
+
}
|
|
61
|
+
export interface Preference extends v.InferInput<typeof preferenceSchema> {
|
|
62
|
+
}
|
|
63
|
+
export interface Preferences extends v.InferInput<typeof preferencesSchema> {
|
|
64
|
+
}
|
|
9
65
|
export interface RecordDeleted extends v.InferInput<typeof recordDeletedSchema> {
|
|
10
66
|
}
|
|
11
67
|
export {};
|
|
@@ -1,6 +1,68 @@
|
|
|
1
1
|
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
const _chatPreferenceSchema = /*#__PURE__*/ v.object({
|
|
3
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.notification.defs#chatPreference')),
|
|
4
|
+
include: /*#__PURE__*/ v.string(),
|
|
5
|
+
push: /*#__PURE__*/ v.boolean(),
|
|
6
|
+
});
|
|
7
|
+
const _filterablePreferenceSchema = /*#__PURE__*/ v.object({
|
|
8
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.notification.defs#filterablePreference')),
|
|
9
|
+
include: /*#__PURE__*/ v.string(),
|
|
10
|
+
list: /*#__PURE__*/ v.boolean(),
|
|
11
|
+
push: /*#__PURE__*/ v.boolean(),
|
|
12
|
+
});
|
|
13
|
+
const _preferenceSchema = /*#__PURE__*/ v.object({
|
|
14
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.notification.defs#preference')),
|
|
15
|
+
list: /*#__PURE__*/ v.boolean(),
|
|
16
|
+
push: /*#__PURE__*/ v.boolean(),
|
|
17
|
+
});
|
|
18
|
+
const _preferencesSchema = /*#__PURE__*/ v.object({
|
|
19
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.notification.defs#preferences')),
|
|
20
|
+
get chat() {
|
|
21
|
+
return chatPreferenceSchema;
|
|
22
|
+
},
|
|
23
|
+
get follow() {
|
|
24
|
+
return filterablePreferenceSchema;
|
|
25
|
+
},
|
|
26
|
+
get like() {
|
|
27
|
+
return filterablePreferenceSchema;
|
|
28
|
+
},
|
|
29
|
+
get likeViaRepost() {
|
|
30
|
+
return filterablePreferenceSchema;
|
|
31
|
+
},
|
|
32
|
+
get mention() {
|
|
33
|
+
return filterablePreferenceSchema;
|
|
34
|
+
},
|
|
35
|
+
get quote() {
|
|
36
|
+
return filterablePreferenceSchema;
|
|
37
|
+
},
|
|
38
|
+
get reply() {
|
|
39
|
+
return filterablePreferenceSchema;
|
|
40
|
+
},
|
|
41
|
+
get repost() {
|
|
42
|
+
return filterablePreferenceSchema;
|
|
43
|
+
},
|
|
44
|
+
get repostViaRepost() {
|
|
45
|
+
return filterablePreferenceSchema;
|
|
46
|
+
},
|
|
47
|
+
get starterpackJoined() {
|
|
48
|
+
return preferenceSchema;
|
|
49
|
+
},
|
|
50
|
+
get subscribedPost() {
|
|
51
|
+
return preferenceSchema;
|
|
52
|
+
},
|
|
53
|
+
get unverified() {
|
|
54
|
+
return preferenceSchema;
|
|
55
|
+
},
|
|
56
|
+
get verified() {
|
|
57
|
+
return preferenceSchema;
|
|
58
|
+
},
|
|
59
|
+
});
|
|
2
60
|
const _recordDeletedSchema = /*#__PURE__*/ v.object({
|
|
3
61
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.notification.defs#recordDeleted')),
|
|
4
62
|
});
|
|
63
|
+
export const chatPreferenceSchema = _chatPreferenceSchema;
|
|
64
|
+
export const filterablePreferenceSchema = _filterablePreferenceSchema;
|
|
65
|
+
export const preferenceSchema = _preferenceSchema;
|
|
66
|
+
export const preferencesSchema = _preferencesSchema;
|
|
5
67
|
export const recordDeletedSchema = _recordDeletedSchema;
|
|
6
68
|
//# sourceMappingURL=defs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/app/bsky/notification/defs.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,MAAM,oBAAoB,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IACnD,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,0CAA0C,CAAC,CAAC;CACpG,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/app/bsky/notification/defs.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,MAAM,qBAAqB,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IACpD,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,2CAA2C,CAAC,CAAC;IACrG,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAsC;IACrE,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE;CAC/B,CAAC,CAAC;AACH,MAAM,2BAA2B,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IAC1D,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,iDAAiD,CAAC,CAAC;IAC3G,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAqC;IACpE,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC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,QAAQ;QACX,OAAO,gBAAgB,CAAC;IACzB,CAAC;CACD,CAAC,CAAC;AACH,MAAM,oBAAoB,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IACnD,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,0CAA0C,CAAC,CAAC;CACpG,CAAC,CAAC;AAcH,MAAM,CAAC,MAAM,oBAAoB,GAAG,qBAA6C,CAAC;AAClF,MAAM,CAAC,MAAM,0BAA0B,GAAG,2BAAyD,CAAC;AACpG,MAAM,CAAC,MAAM,gBAAgB,GAAG,iBAAqC,CAAC;AACtE,MAAM,CAAC,MAAM,iBAAiB,GAAG,kBAAuC,CAAC;AACzE,MAAM,CAAC,MAAM,mBAAmB,GAAG,oBAA2C,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
import * as AppBskyNotificationDefs from './defs.js';
|
|
3
|
+
declare const _mainSchema: v.XRPCQueryMetadata<v.ObjectSchema<{}>, {
|
|
4
|
+
type: "lex";
|
|
5
|
+
schema: v.ObjectSchema<{
|
|
6
|
+
readonly preferences: AppBskyNotificationDefs.preferencesSchema;
|
|
7
|
+
}>;
|
|
8
|
+
}, "app.bsky.notification.getPreferences">;
|
|
9
|
+
type main$schematype = typeof _mainSchema;
|
|
10
|
+
export interface mainSchema extends main$schematype {
|
|
11
|
+
}
|
|
12
|
+
export declare const mainSchema: mainSchema;
|
|
13
|
+
export interface $params extends v.InferInput<mainSchema['params']> {
|
|
14
|
+
}
|
|
15
|
+
export interface $output extends v.InferXRPCBodyInput<mainSchema['output']> {
|
|
16
|
+
}
|
|
17
|
+
declare module '@atcute/lexicons/ambient' {
|
|
18
|
+
interface XRPCQueries {
|
|
19
|
+
'app.bsky.notification.getPreferences': mainSchema;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
import * as AppBskyNotificationDefs from './defs.js';
|
|
3
|
+
const _mainSchema = /*#__PURE__*/ v.query('app.bsky.notification.getPreferences', {
|
|
4
|
+
params: /*#__PURE__*/ v.object({}),
|
|
5
|
+
output: {
|
|
6
|
+
type: 'lex',
|
|
7
|
+
schema: /*#__PURE__*/ v.object({
|
|
8
|
+
get preferences() {
|
|
9
|
+
return AppBskyNotificationDefs.preferencesSchema;
|
|
10
|
+
},
|
|
11
|
+
}),
|
|
12
|
+
},
|
|
13
|
+
});
|
|
14
|
+
export const mainSchema = _mainSchema;
|
|
15
|
+
//# sourceMappingURL=getPreferences.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getPreferences.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/app/bsky/notification/getPreferences.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,OAAO,KAAK,uBAAuB,MAAM,WAAW,CAAC;AAErD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,sCAAsC,EAAE;IACjF,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC;IAClC,MAAM,EAAE;QACP,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B,IAAI,WAAW;gBACd,OAAO,uBAAuB,CAAC,iBAAiB,CAAC;YAClD,CAAC;SACD,CAAC;KACF;CACD,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -23,7 +23,7 @@ declare const _notificationSchema: v.ObjectSchema<{
|
|
|
23
23
|
indexedAt: v.FormattedStringSchema<"datetime">;
|
|
24
24
|
isRead: v.BooleanSchema;
|
|
25
25
|
readonly labels: v.OptionalSchema<v.ArraySchema<ComAtprotoLabelDefs.labelSchema>, undefined>;
|
|
26
|
-
reason: v.StringSchema<"like" | (string & {}) | "repost" | "reply" | "follow" | "
|
|
26
|
+
reason: v.StringSchema<"like" | (string & {}) | "repost" | "reply" | "follow" | "mention" | "quote" | "unverified" | "verified" | "like-via-repost" | "repost-via-repost" | "starterpack-joined">;
|
|
27
27
|
reasonSubject: v.OptionalSchema<v.FormattedStringSchema<"at-uri">, undefined>;
|
|
28
28
|
record: v.UnknownSchema;
|
|
29
29
|
uri: v.FormattedStringSchema<"at-uri">;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
import * as AppBskyNotificationDefs from './defs.js';
|
|
3
|
+
declare const _mainSchema: v.XRPCProcedureMetadata<null, {
|
|
4
|
+
type: "lex";
|
|
5
|
+
schema: v.ObjectSchema<{
|
|
6
|
+
readonly chat: v.OptionalSchema<AppBskyNotificationDefs.chatPreferenceSchema, undefined>;
|
|
7
|
+
readonly follow: v.OptionalSchema<AppBskyNotificationDefs.filterablePreferenceSchema, undefined>;
|
|
8
|
+
readonly like: v.OptionalSchema<AppBskyNotificationDefs.filterablePreferenceSchema, undefined>;
|
|
9
|
+
readonly likeViaRepost: v.OptionalSchema<AppBskyNotificationDefs.filterablePreferenceSchema, undefined>;
|
|
10
|
+
readonly mention: v.OptionalSchema<AppBskyNotificationDefs.filterablePreferenceSchema, undefined>;
|
|
11
|
+
readonly quote: v.OptionalSchema<AppBskyNotificationDefs.filterablePreferenceSchema, undefined>;
|
|
12
|
+
readonly reply: v.OptionalSchema<AppBskyNotificationDefs.filterablePreferenceSchema, undefined>;
|
|
13
|
+
readonly repost: v.OptionalSchema<AppBskyNotificationDefs.filterablePreferenceSchema, undefined>;
|
|
14
|
+
readonly repostViaRepost: v.OptionalSchema<AppBskyNotificationDefs.filterablePreferenceSchema, undefined>;
|
|
15
|
+
readonly starterpackJoined: v.OptionalSchema<AppBskyNotificationDefs.preferenceSchema, undefined>;
|
|
16
|
+
readonly subscribedPost: v.OptionalSchema<AppBskyNotificationDefs.preferenceSchema, undefined>;
|
|
17
|
+
readonly unverified: v.OptionalSchema<AppBskyNotificationDefs.preferenceSchema, undefined>;
|
|
18
|
+
readonly verified: v.OptionalSchema<AppBskyNotificationDefs.preferenceSchema, undefined>;
|
|
19
|
+
}>;
|
|
20
|
+
}, {
|
|
21
|
+
type: "lex";
|
|
22
|
+
schema: v.ObjectSchema<{
|
|
23
|
+
readonly preferences: AppBskyNotificationDefs.preferencesSchema;
|
|
24
|
+
}>;
|
|
25
|
+
}, "app.bsky.notification.putPreferencesV2">;
|
|
26
|
+
type main$schematype = typeof _mainSchema;
|
|
27
|
+
export interface mainSchema extends main$schematype {
|
|
28
|
+
}
|
|
29
|
+
export declare const mainSchema: mainSchema;
|
|
30
|
+
export interface $params {
|
|
31
|
+
}
|
|
32
|
+
export interface $input extends v.InferXRPCBodyInput<mainSchema['input']> {
|
|
33
|
+
}
|
|
34
|
+
export interface $output extends v.InferXRPCBodyInput<mainSchema['output']> {
|
|
35
|
+
}
|
|
36
|
+
declare module '@atcute/lexicons/ambient' {
|
|
37
|
+
interface XRPCProcedures {
|
|
38
|
+
'app.bsky.notification.putPreferencesV2': mainSchema;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
export {};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
import * as AppBskyNotificationDefs from './defs.js';
|
|
3
|
+
const _mainSchema = /*#__PURE__*/ v.procedure('app.bsky.notification.putPreferencesV2', {
|
|
4
|
+
params: null,
|
|
5
|
+
input: {
|
|
6
|
+
type: 'lex',
|
|
7
|
+
schema: /*#__PURE__*/ v.object({
|
|
8
|
+
get chat() {
|
|
9
|
+
return /*#__PURE__*/ v.optional(AppBskyNotificationDefs.chatPreferenceSchema);
|
|
10
|
+
},
|
|
11
|
+
get follow() {
|
|
12
|
+
return /*#__PURE__*/ v.optional(AppBskyNotificationDefs.filterablePreferenceSchema);
|
|
13
|
+
},
|
|
14
|
+
get like() {
|
|
15
|
+
return /*#__PURE__*/ v.optional(AppBskyNotificationDefs.filterablePreferenceSchema);
|
|
16
|
+
},
|
|
17
|
+
get likeViaRepost() {
|
|
18
|
+
return /*#__PURE__*/ v.optional(AppBskyNotificationDefs.filterablePreferenceSchema);
|
|
19
|
+
},
|
|
20
|
+
get mention() {
|
|
21
|
+
return /*#__PURE__*/ v.optional(AppBskyNotificationDefs.filterablePreferenceSchema);
|
|
22
|
+
},
|
|
23
|
+
get quote() {
|
|
24
|
+
return /*#__PURE__*/ v.optional(AppBskyNotificationDefs.filterablePreferenceSchema);
|
|
25
|
+
},
|
|
26
|
+
get reply() {
|
|
27
|
+
return /*#__PURE__*/ v.optional(AppBskyNotificationDefs.filterablePreferenceSchema);
|
|
28
|
+
},
|
|
29
|
+
get repost() {
|
|
30
|
+
return /*#__PURE__*/ v.optional(AppBskyNotificationDefs.filterablePreferenceSchema);
|
|
31
|
+
},
|
|
32
|
+
get repostViaRepost() {
|
|
33
|
+
return /*#__PURE__*/ v.optional(AppBskyNotificationDefs.filterablePreferenceSchema);
|
|
34
|
+
},
|
|
35
|
+
get starterpackJoined() {
|
|
36
|
+
return /*#__PURE__*/ v.optional(AppBskyNotificationDefs.preferenceSchema);
|
|
37
|
+
},
|
|
38
|
+
get subscribedPost() {
|
|
39
|
+
return /*#__PURE__*/ v.optional(AppBskyNotificationDefs.preferenceSchema);
|
|
40
|
+
},
|
|
41
|
+
get unverified() {
|
|
42
|
+
return /*#__PURE__*/ v.optional(AppBskyNotificationDefs.preferenceSchema);
|
|
43
|
+
},
|
|
44
|
+
get verified() {
|
|
45
|
+
return /*#__PURE__*/ v.optional(AppBskyNotificationDefs.preferenceSchema);
|
|
46
|
+
},
|
|
47
|
+
}),
|
|
48
|
+
},
|
|
49
|
+
output: {
|
|
50
|
+
type: 'lex',
|
|
51
|
+
schema: /*#__PURE__*/ v.object({
|
|
52
|
+
get preferences() {
|
|
53
|
+
return AppBskyNotificationDefs.preferencesSchema;
|
|
54
|
+
},
|
|
55
|
+
}),
|
|
56
|
+
},
|
|
57
|
+
});
|
|
58
|
+
export const mainSchema = _mainSchema;
|
|
59
|
+
//# sourceMappingURL=putPreferencesV2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"putPreferencesV2.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/app/bsky/notification/putPreferencesV2.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,OAAO,KAAK,uBAAuB,MAAM,WAAW,CAAC;AAErD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,wCAAwC,EAAE;IACvF,MAAM,EAAE,IAAI;IACZ,KAAK,EAAE;QACN,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B,IAAI,IAAI;gBACP,OAAO,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,uBAAuB,CAAC,oBAAoB,CAAC,CAAC;YAC/E,CAAC;YACD,IAAI,MAAM;gBACT,OAAO,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,uBAAuB,CAAC,0BAA0B,CAAC,CAAC;YACrF,CAAC;YACD,IAAI,IAAI;gBACP,OAAO,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,uBAAuB,CAAC,0BAA0B,CAAC,CAAC;YACrF,CAAC;YACD,IAAI,aAAa;gBAChB,OAAO,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,uBAAuB,CAAC,0BAA0B,CAAC,CAAC;YACrF,CAAC;YACD,IAAI,OAAO;gBACV,OAAO,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,uBAAuB,CAAC,0BAA0B,CAAC,CAAC;YACrF,CAAC;YACD,IAAI,KAAK;gBACR,OAAO,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,uBAAuB,CAAC,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Schema<{
|
|
9
|
-
readonly thread: v.ArraySchema<
|
|
9
|
+
readonly thread: v.ArraySchema<threadItemSchema>;
|
|
10
10
|
}>;
|
|
11
|
-
}, "app.bsky.unspecced.
|
|
12
|
-
declare const
|
|
13
|
-
$type: v.OptionalSchema<v.LiteralSchema<"app.bsky.unspecced.
|
|
11
|
+
}, "app.bsky.unspecced.getPostThreadOtherV2">;
|
|
12
|
+
declare const _threadItemSchema: v.ObjectSchema<{
|
|
13
|
+
$type: v.OptionalSchema<v.LiteralSchema<"app.bsky.unspecced.getPostThreadOtherV2#threadItem">, undefined>;
|
|
14
14
|
depth: v.IntegerSchema;
|
|
15
15
|
uri: v.FormattedStringSchema<"at-uri">;
|
|
16
16
|
readonly value: v.VariantSchema<readonly [AppBskyUnspeccedDefs.threadItemPostSchema], boolean>;
|
|
17
17
|
}>;
|
|
18
18
|
type main$schematype = typeof _mainSchema;
|
|
19
|
-
type
|
|
19
|
+
type threadItem$schematype = typeof _threadItemSchema;
|
|
20
20
|
export interface mainSchema extends main$schematype {
|
|
21
21
|
}
|
|
22
|
-
export interface
|
|
22
|
+
export interface threadItemSchema extends threadItem$schematype {
|
|
23
23
|
}
|
|
24
24
|
export declare const mainSchema: mainSchema;
|
|
25
|
-
export declare const
|
|
26
|
-
export interface
|
|
25
|
+
export declare const threadItemSchema: threadItemSchema;
|
|
26
|
+
export interface ThreadItem extends v.InferInput<typeof threadItemSchema> {
|
|
27
27
|
}
|
|
28
28
|
export interface $params extends v.InferInput<mainSchema['params']> {
|
|
29
29
|
}
|
|
@@ -31,7 +31,7 @@ export interface $output extends v.InferXRPCBodyInput<mainSchema['output']> {
|
|
|
31
31
|
}
|
|
32
32
|
declare module '@atcute/lexicons/ambient' {
|
|
33
33
|
interface XRPCQueries {
|
|
34
|
-
'app.bsky.unspecced.
|
|
34
|
+
'app.bsky.unspecced.getPostThreadOtherV2': mainSchema;
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
export {};
|
package/dist/lexicons/types/app/bsky/unspecced/{getPostThreadHiddenV2.js → getPostThreadOtherV2.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as v from '@atcute/lexicons/validations';
|
|
2
2
|
import * as AppBskyUnspeccedDefs from './defs.js';
|
|
3
|
-
const _mainSchema = /*#__PURE__*/ v.query('app.bsky.unspecced.
|
|
3
|
+
const _mainSchema = /*#__PURE__*/ v.query('app.bsky.unspecced.getPostThreadOtherV2', {
|
|
4
4
|
params: /*#__PURE__*/ v.object({
|
|
5
5
|
anchor: /*#__PURE__*/ v.resourceUriString(),
|
|
6
6
|
prioritizeFollowedUsers: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean(), false),
|
|
@@ -9,14 +9,14 @@ const _mainSchema = /*#__PURE__*/ v.query('app.bsky.unspecced.getPostThreadHidde
|
|
|
9
9
|
type: 'lex',
|
|
10
10
|
schema: /*#__PURE__*/ v.object({
|
|
11
11
|
get thread() {
|
|
12
|
-
return /*#__PURE__*/ v.array(
|
|
12
|
+
return /*#__PURE__*/ v.array(threadItemSchema);
|
|
13
13
|
},
|
|
14
14
|
}),
|
|
15
15
|
},
|
|
16
16
|
});
|
|
17
|
-
const
|
|
17
|
+
const _threadItemSchema = /*#__PURE__*/ v.object({
|
|
18
18
|
$type: /*#__PURE__*/ v.optional(
|
|
19
|
-
/*#__PURE__*/ v.literal('app.bsky.unspecced.
|
|
19
|
+
/*#__PURE__*/ v.literal('app.bsky.unspecced.getPostThreadOtherV2#threadItem')),
|
|
20
20
|
depth: /*#__PURE__*/ v.integer(),
|
|
21
21
|
uri: /*#__PURE__*/ v.resourceUriString(),
|
|
22
22
|
get value() {
|
|
@@ -24,5 +24,5 @@ const _threadHiddenItemSchema = /*#__PURE__*/ v.object({
|
|
|
24
24
|
},
|
|
25
25
|
});
|
|
26
26
|
export const mainSchema = _mainSchema;
|
|
27
|
-
export const
|
|
28
|
-
//# sourceMappingURL=
|
|
27
|
+
export const threadItemSchema = _threadItemSchema;
|
|
28
|
+
//# sourceMappingURL=getPostThreadOtherV2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getPostThreadOtherV2.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/app/bsky/unspecced/getPostThreadOtherV2.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,OAAO,KAAK,oBAAoB,MAAM,WAAW,CAAC;AAElD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,yCAAyC,EAAE;IACpF,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;QAC9B,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,iBAAiB,EAAE;QAC3C,uBAAuB,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,EAAE,KAAK,CAAC;KACnF,CAAC;IACF,MAAM,EAAE;QACP,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B,IAAI,MAAM;gBACT,OAAO,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC;YAChD,CAAC;SACD,CAAC;KACF;CACD,CAAC,CAAC;AACH,MAAM,iBAAiB,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IAChD,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IAC9B,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,oDAAoD,CAAC,CAC7E;IACD,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE;IAChC,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,iBAAiB,EAAE;IACxC,IAAI,KAAK;QACR,OAAO,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,oBAAoB,CAAC,oBAAoB,CAAC,CAAC,CAAC;IAC7E,CAAC;CACD,CAAC,CAAC;AAQH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC;AACpD,MAAM,CAAC,MAAM,gBAAgB,GAAG,iBAAqC,CAAC"}
|
|
@@ -11,7 +11,7 @@ declare const _mainSchema: v.XRPCQueryMetadata<v.ObjectSchema<{
|
|
|
11
11
|
}>, {
|
|
12
12
|
type: "lex";
|
|
13
13
|
schema: v.ObjectSchema<{
|
|
14
|
-
|
|
14
|
+
hasOtherReplies: v.BooleanSchema;
|
|
15
15
|
readonly thread: v.ArraySchema<threadItemSchema>;
|
|
16
16
|
readonly threadgate: v.OptionalSchema<AppBskyFeedDefs.threadgateViewSchema, undefined>;
|
|
17
17
|
}>;
|
|
@@ -16,7 +16,7 @@ const _mainSchema = /*#__PURE__*/ v.query('app.bsky.unspecced.getPostThreadV2',
|
|
|
16
16
|
output: {
|
|
17
17
|
type: 'lex',
|
|
18
18
|
schema: /*#__PURE__*/ v.object({
|
|
19
|
-
|
|
19
|
+
hasOtherReplies: /*#__PURE__*/ v.boolean(),
|
|
20
20
|
get thread() {
|
|
21
21
|
return /*#__PURE__*/ v.array(threadItemSchema);
|
|
22
22
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getPostThreadV2.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/app/bsky/unspecced/getPostThreadV2.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,OAAO,KAAK,eAAe,MAAM,iBAAiB,CAAC;AACnD,OAAO,KAAK,oBAAoB,MAAM,WAAW,CAAC;AAElD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,oCAAoC,EAAE;IAC/E,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;QAC9B,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,EAAE,IAAI,CAAC;QAChE,MAAM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CAAC;AACH,MAAM,iBAAiB,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IAChD,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,+CAA+C,CAAC,CAAC;IACzG,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE;IAChC,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,iBAAiB,EAAE;IACxC,IAAI,KAAK;QACR,OAAO,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC;YAC9B,oBAAoB,CAAC,uBAAuB;YAC5C,oBAAoB,CAAC,iCAAiC;YACtD,oBAAoB,CAAC,wBAAwB;YAC7C,oBAAoB,CAAC,oBAAoB;SACzC,CAAC,CAAC;IACJ,CAAC;CACD,CAAC,CAAC;AAQH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC;AACpD,MAAM,CAAC,MAAM,gBAAgB,GAAG,iBAAqC,CAAC"}
|
package/lib/lexicons/index.ts
CHANGED
|
@@ -72,16 +72,18 @@ export * as AppBskyLabelerDefs from './types/app/bsky/labeler/defs.js';
|
|
|
72
72
|
export * as AppBskyLabelerGetServices from './types/app/bsky/labeler/getServices.js';
|
|
73
73
|
export * as AppBskyLabelerService from './types/app/bsky/labeler/service.js';
|
|
74
74
|
export * as AppBskyNotificationDefs from './types/app/bsky/notification/defs.js';
|
|
75
|
+
export * as AppBskyNotificationGetPreferences from './types/app/bsky/notification/getPreferences.js';
|
|
75
76
|
export * as AppBskyNotificationGetUnreadCount from './types/app/bsky/notification/getUnreadCount.js';
|
|
76
77
|
export * as AppBskyNotificationListNotifications from './types/app/bsky/notification/listNotifications.js';
|
|
77
78
|
export * as AppBskyNotificationPutPreferences from './types/app/bsky/notification/putPreferences.js';
|
|
79
|
+
export * as AppBskyNotificationPutPreferencesV2 from './types/app/bsky/notification/putPreferencesV2.js';
|
|
78
80
|
export * as AppBskyNotificationRegisterPush from './types/app/bsky/notification/registerPush.js';
|
|
79
81
|
export * as AppBskyNotificationUpdateSeen from './types/app/bsky/notification/updateSeen.js';
|
|
80
82
|
export * as AppBskyRichtextFacet from './types/app/bsky/richtext/facet.js';
|
|
81
83
|
export * as AppBskyUnspeccedDefs from './types/app/bsky/unspecced/defs.js';
|
|
82
84
|
export * as AppBskyUnspeccedGetConfig from './types/app/bsky/unspecced/getConfig.js';
|
|
83
85
|
export * as AppBskyUnspeccedGetPopularFeedGenerators from './types/app/bsky/unspecced/getPopularFeedGenerators.js';
|
|
84
|
-
export * as
|
|
86
|
+
export * as AppBskyUnspeccedGetPostThreadOtherV2 from './types/app/bsky/unspecced/getPostThreadOtherV2.js';
|
|
85
87
|
export * as AppBskyUnspeccedGetPostThreadV2 from './types/app/bsky/unspecced/getPostThreadV2.js';
|
|
86
88
|
export * as AppBskyUnspeccedGetSuggestedFeeds from './types/app/bsky/unspecced/getSuggestedFeeds.js';
|
|
87
89
|
export * as AppBskyUnspeccedGetSuggestedFeedsSkeleton from './types/app/bsky/unspecced/getSuggestedFeedsSkeleton.js';
|
|
@@ -1,14 +1,88 @@
|
|
|
1
1
|
import type {} from '@atcute/lexicons';
|
|
2
2
|
import * as v from '@atcute/lexicons/validations';
|
|
3
3
|
|
|
4
|
+
const _chatPreferenceSchema = /*#__PURE__*/ v.object({
|
|
5
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.notification.defs#chatPreference')),
|
|
6
|
+
include: /*#__PURE__*/ v.string<'accepted' | 'all' | (string & {})>(),
|
|
7
|
+
push: /*#__PURE__*/ v.boolean(),
|
|
8
|
+
});
|
|
9
|
+
const _filterablePreferenceSchema = /*#__PURE__*/ v.object({
|
|
10
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.notification.defs#filterablePreference')),
|
|
11
|
+
include: /*#__PURE__*/ v.string<'all' | 'follows' | (string & {})>(),
|
|
12
|
+
list: /*#__PURE__*/ v.boolean(),
|
|
13
|
+
push: /*#__PURE__*/ v.boolean(),
|
|
14
|
+
});
|
|
15
|
+
const _preferenceSchema = /*#__PURE__*/ v.object({
|
|
16
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.notification.defs#preference')),
|
|
17
|
+
list: /*#__PURE__*/ v.boolean(),
|
|
18
|
+
push: /*#__PURE__*/ v.boolean(),
|
|
19
|
+
});
|
|
20
|
+
const _preferencesSchema = /*#__PURE__*/ v.object({
|
|
21
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.notification.defs#preferences')),
|
|
22
|
+
get chat() {
|
|
23
|
+
return chatPreferenceSchema;
|
|
24
|
+
},
|
|
25
|
+
get follow() {
|
|
26
|
+
return filterablePreferenceSchema;
|
|
27
|
+
},
|
|
28
|
+
get like() {
|
|
29
|
+
return filterablePreferenceSchema;
|
|
30
|
+
},
|
|
31
|
+
get likeViaRepost() {
|
|
32
|
+
return filterablePreferenceSchema;
|
|
33
|
+
},
|
|
34
|
+
get mention() {
|
|
35
|
+
return filterablePreferenceSchema;
|
|
36
|
+
},
|
|
37
|
+
get quote() {
|
|
38
|
+
return filterablePreferenceSchema;
|
|
39
|
+
},
|
|
40
|
+
get reply() {
|
|
41
|
+
return filterablePreferenceSchema;
|
|
42
|
+
},
|
|
43
|
+
get repost() {
|
|
44
|
+
return filterablePreferenceSchema;
|
|
45
|
+
},
|
|
46
|
+
get repostViaRepost() {
|
|
47
|
+
return filterablePreferenceSchema;
|
|
48
|
+
},
|
|
49
|
+
get starterpackJoined() {
|
|
50
|
+
return preferenceSchema;
|
|
51
|
+
},
|
|
52
|
+
get subscribedPost() {
|
|
53
|
+
return preferenceSchema;
|
|
54
|
+
},
|
|
55
|
+
get unverified() {
|
|
56
|
+
return preferenceSchema;
|
|
57
|
+
},
|
|
58
|
+
get verified() {
|
|
59
|
+
return preferenceSchema;
|
|
60
|
+
},
|
|
61
|
+
});
|
|
4
62
|
const _recordDeletedSchema = /*#__PURE__*/ v.object({
|
|
5
63
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.notification.defs#recordDeleted')),
|
|
6
64
|
});
|
|
7
65
|
|
|
66
|
+
type chatPreference$schematype = typeof _chatPreferenceSchema;
|
|
67
|
+
type filterablePreference$schematype = typeof _filterablePreferenceSchema;
|
|
68
|
+
type preference$schematype = typeof _preferenceSchema;
|
|
69
|
+
type preferences$schematype = typeof _preferencesSchema;
|
|
8
70
|
type recordDeleted$schematype = typeof _recordDeletedSchema;
|
|
9
71
|
|
|
72
|
+
export interface chatPreferenceSchema extends chatPreference$schematype {}
|
|
73
|
+
export interface filterablePreferenceSchema extends filterablePreference$schematype {}
|
|
74
|
+
export interface preferenceSchema extends preference$schematype {}
|
|
75
|
+
export interface preferencesSchema extends preferences$schematype {}
|
|
10
76
|
export interface recordDeletedSchema extends recordDeleted$schematype {}
|
|
11
77
|
|
|
78
|
+
export const chatPreferenceSchema = _chatPreferenceSchema as chatPreferenceSchema;
|
|
79
|
+
export const filterablePreferenceSchema = _filterablePreferenceSchema as filterablePreferenceSchema;
|
|
80
|
+
export const preferenceSchema = _preferenceSchema as preferenceSchema;
|
|
81
|
+
export const preferencesSchema = _preferencesSchema as preferencesSchema;
|
|
12
82
|
export const recordDeletedSchema = _recordDeletedSchema as recordDeletedSchema;
|
|
13
83
|
|
|
84
|
+
export interface ChatPreference extends v.InferInput<typeof chatPreferenceSchema> {}
|
|
85
|
+
export interface FilterablePreference extends v.InferInput<typeof filterablePreferenceSchema> {}
|
|
86
|
+
export interface Preference extends v.InferInput<typeof preferenceSchema> {}
|
|
87
|
+
export interface Preferences extends v.InferInput<typeof preferencesSchema> {}
|
|
14
88
|
export interface RecordDeleted extends v.InferInput<typeof recordDeletedSchema> {}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
import type {} from '@atcute/lexicons/ambient';
|
|
4
|
+
import * as AppBskyNotificationDefs from './defs.js';
|
|
5
|
+
|
|
6
|
+
const _mainSchema = /*#__PURE__*/ v.query('app.bsky.notification.getPreferences', {
|
|
7
|
+
params: /*#__PURE__*/ v.object({}),
|
|
8
|
+
output: {
|
|
9
|
+
type: 'lex',
|
|
10
|
+
schema: /*#__PURE__*/ v.object({
|
|
11
|
+
get preferences() {
|
|
12
|
+
return AppBskyNotificationDefs.preferencesSchema;
|
|
13
|
+
},
|
|
14
|
+
}),
|
|
15
|
+
},
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
type main$schematype = typeof _mainSchema;
|
|
19
|
+
|
|
20
|
+
export interface mainSchema extends main$schematype {}
|
|
21
|
+
|
|
22
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
23
|
+
|
|
24
|
+
export interface $params extends v.InferInput<mainSchema['params']> {}
|
|
25
|
+
export interface $output extends v.InferXRPCBodyInput<mainSchema['output']> {}
|
|
26
|
+
|
|
27
|
+
declare module '@atcute/lexicons/ambient' {
|
|
28
|
+
interface XRPCQueries {
|
|
29
|
+
'app.bsky.notification.getPreferences': mainSchema;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
import type {} from '@atcute/lexicons/ambient';
|
|
4
|
+
import * as AppBskyNotificationDefs from './defs.js';
|
|
5
|
+
|
|
6
|
+
const _mainSchema = /*#__PURE__*/ v.procedure('app.bsky.notification.putPreferencesV2', {
|
|
7
|
+
params: null,
|
|
8
|
+
input: {
|
|
9
|
+
type: 'lex',
|
|
10
|
+
schema: /*#__PURE__*/ v.object({
|
|
11
|
+
get chat() {
|
|
12
|
+
return /*#__PURE__*/ v.optional(AppBskyNotificationDefs.chatPreferenceSchema);
|
|
13
|
+
},
|
|
14
|
+
get follow() {
|
|
15
|
+
return /*#__PURE__*/ v.optional(AppBskyNotificationDefs.filterablePreferenceSchema);
|
|
16
|
+
},
|
|
17
|
+
get like() {
|
|
18
|
+
return /*#__PURE__*/ v.optional(AppBskyNotificationDefs.filterablePreferenceSchema);
|
|
19
|
+
},
|
|
20
|
+
get likeViaRepost() {
|
|
21
|
+
return /*#__PURE__*/ v.optional(AppBskyNotificationDefs.filterablePreferenceSchema);
|
|
22
|
+
},
|
|
23
|
+
get mention() {
|
|
24
|
+
return /*#__PURE__*/ v.optional(AppBskyNotificationDefs.filterablePreferenceSchema);
|
|
25
|
+
},
|
|
26
|
+
get quote() {
|
|
27
|
+
return /*#__PURE__*/ v.optional(AppBskyNotificationDefs.filterablePreferenceSchema);
|
|
28
|
+
},
|
|
29
|
+
get reply() {
|
|
30
|
+
return /*#__PURE__*/ v.optional(AppBskyNotificationDefs.filterablePreferenceSchema);
|
|
31
|
+
},
|
|
32
|
+
get repost() {
|
|
33
|
+
return /*#__PURE__*/ v.optional(AppBskyNotificationDefs.filterablePreferenceSchema);
|
|
34
|
+
},
|
|
35
|
+
get repostViaRepost() {
|
|
36
|
+
return /*#__PURE__*/ v.optional(AppBskyNotificationDefs.filterablePreferenceSchema);
|
|
37
|
+
},
|
|
38
|
+
get starterpackJoined() {
|
|
39
|
+
return /*#__PURE__*/ v.optional(AppBskyNotificationDefs.preferenceSchema);
|
|
40
|
+
},
|
|
41
|
+
get subscribedPost() {
|
|
42
|
+
return /*#__PURE__*/ v.optional(AppBskyNotificationDefs.preferenceSchema);
|
|
43
|
+
},
|
|
44
|
+
get unverified() {
|
|
45
|
+
return /*#__PURE__*/ v.optional(AppBskyNotificationDefs.preferenceSchema);
|
|
46
|
+
},
|
|
47
|
+
get verified() {
|
|
48
|
+
return /*#__PURE__*/ v.optional(AppBskyNotificationDefs.preferenceSchema);
|
|
49
|
+
},
|
|
50
|
+
}),
|
|
51
|
+
},
|
|
52
|
+
output: {
|
|
53
|
+
type: 'lex',
|
|
54
|
+
schema: /*#__PURE__*/ v.object({
|
|
55
|
+
get preferences() {
|
|
56
|
+
return AppBskyNotificationDefs.preferencesSchema;
|
|
57
|
+
},
|
|
58
|
+
}),
|
|
59
|
+
},
|
|
60
|
+
});
|
|
61
|
+
|
|
62
|
+
type main$schematype = typeof _mainSchema;
|
|
63
|
+
|
|
64
|
+
export interface mainSchema extends main$schematype {}
|
|
65
|
+
|
|
66
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
67
|
+
|
|
68
|
+
export interface $params {}
|
|
69
|
+
export interface $input extends v.InferXRPCBodyInput<mainSchema['input']> {}
|
|
70
|
+
export interface $output extends v.InferXRPCBodyInput<mainSchema['output']> {}
|
|
71
|
+
|
|
72
|
+
declare module '@atcute/lexicons/ambient' {
|
|
73
|
+
interface XRPCProcedures {
|
|
74
|
+
'app.bsky.notification.putPreferencesV2': mainSchema;
|
|
75
|
+
}
|
|
76
|
+
}
|
package/lib/lexicons/types/app/bsky/unspecced/{getPostThreadHiddenV2.ts → getPostThreadOtherV2.ts}
RENAMED
|
@@ -3,7 +3,7 @@ import * as v from '@atcute/lexicons/validations';
|
|
|
3
3
|
import type {} from '@atcute/lexicons/ambient';
|
|
4
4
|
import * as AppBskyUnspeccedDefs from './defs.js';
|
|
5
5
|
|
|
6
|
-
const _mainSchema = /*#__PURE__*/ v.query('app.bsky.unspecced.
|
|
6
|
+
const _mainSchema = /*#__PURE__*/ v.query('app.bsky.unspecced.getPostThreadOtherV2', {
|
|
7
7
|
params: /*#__PURE__*/ v.object({
|
|
8
8
|
anchor: /*#__PURE__*/ v.resourceUriString(),
|
|
9
9
|
prioritizeFollowedUsers: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean(), false),
|
|
@@ -12,14 +12,14 @@ const _mainSchema = /*#__PURE__*/ v.query('app.bsky.unspecced.getPostThreadHidde
|
|
|
12
12
|
type: 'lex',
|
|
13
13
|
schema: /*#__PURE__*/ v.object({
|
|
14
14
|
get thread() {
|
|
15
|
-
return /*#__PURE__*/ v.array(
|
|
15
|
+
return /*#__PURE__*/ v.array(threadItemSchema);
|
|
16
16
|
},
|
|
17
17
|
}),
|
|
18
18
|
},
|
|
19
19
|
});
|
|
20
|
-
const
|
|
20
|
+
const _threadItemSchema = /*#__PURE__*/ v.object({
|
|
21
21
|
$type: /*#__PURE__*/ v.optional(
|
|
22
|
-
/*#__PURE__*/ v.literal('app.bsky.unspecced.
|
|
22
|
+
/*#__PURE__*/ v.literal('app.bsky.unspecced.getPostThreadOtherV2#threadItem'),
|
|
23
23
|
),
|
|
24
24
|
depth: /*#__PURE__*/ v.integer(),
|
|
25
25
|
uri: /*#__PURE__*/ v.resourceUriString(),
|
|
@@ -29,21 +29,21 @@ const _threadHiddenItemSchema = /*#__PURE__*/ v.object({
|
|
|
29
29
|
});
|
|
30
30
|
|
|
31
31
|
type main$schematype = typeof _mainSchema;
|
|
32
|
-
type
|
|
32
|
+
type threadItem$schematype = typeof _threadItemSchema;
|
|
33
33
|
|
|
34
34
|
export interface mainSchema extends main$schematype {}
|
|
35
|
-
export interface
|
|
35
|
+
export interface threadItemSchema extends threadItem$schematype {}
|
|
36
36
|
|
|
37
37
|
export const mainSchema = _mainSchema as mainSchema;
|
|
38
|
-
export const
|
|
38
|
+
export const threadItemSchema = _threadItemSchema as threadItemSchema;
|
|
39
39
|
|
|
40
|
-
export interface
|
|
40
|
+
export interface ThreadItem extends v.InferInput<typeof threadItemSchema> {}
|
|
41
41
|
|
|
42
42
|
export interface $params extends v.InferInput<mainSchema['params']> {}
|
|
43
43
|
export interface $output extends v.InferXRPCBodyInput<mainSchema['output']> {}
|
|
44
44
|
|
|
45
45
|
declare module '@atcute/lexicons/ambient' {
|
|
46
46
|
interface XRPCQueries {
|
|
47
|
-
'app.bsky.unspecced.
|
|
47
|
+
'app.bsky.unspecced.getPostThreadOtherV2': mainSchema;
|
|
48
48
|
}
|
|
49
49
|
}
|
|
@@ -25,7 +25,7 @@ const _mainSchema = /*#__PURE__*/ v.query('app.bsky.unspecced.getPostThreadV2',
|
|
|
25
25
|
output: {
|
|
26
26
|
type: 'lex',
|
|
27
27
|
schema: /*#__PURE__*/ v.object({
|
|
28
|
-
|
|
28
|
+
hasOtherReplies: /*#__PURE__*/ v.boolean(),
|
|
29
29
|
get thread() {
|
|
30
30
|
return /*#__PURE__*/ v.array(threadItemSchema);
|
|
31
31
|
},
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@atcute/bluesky",
|
|
4
|
-
"version": "3.1.
|
|
4
|
+
"version": "3.1.3",
|
|
5
5
|
"description": "Bluesky (app.bsky.* and chat.bsky.*) schema definitions",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"atcute",
|
|
@@ -26,13 +26,13 @@
|
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@atcute/atproto": "^3.1.0",
|
|
29
|
-
"@atcute/lexicons": "^1.0
|
|
29
|
+
"@atcute/lexicons": "^1.1.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@atcute/bluesky": "file:",
|
|
33
|
-
"@atproto/api": "^0.15.
|
|
34
|
-
"vitest": "^3.
|
|
35
|
-
"@atcute/lex-cli": "^2.1.
|
|
33
|
+
"@atproto/api": "^0.15.12",
|
|
34
|
+
"vitest": "^3.2.4",
|
|
35
|
+
"@atcute/lex-cli": "^2.1.1"
|
|
36
36
|
},
|
|
37
37
|
"scripts": {
|
|
38
38
|
"build": "tsc --project tsconfig.build.json",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getPostThreadHiddenV2.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/app/bsky/unspecced/getPostThreadHiddenV2.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,OAAO,KAAK,oBAAoB,MAAM,WAAW,CAAC;AAElD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,0C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