@atcute/bluesky 3.1.3 → 3.1.5
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 +5 -0
- package/dist/lexicons/index.js +5 -0
- package/dist/lexicons/index.js.map +1 -1
- package/dist/lexicons/types/app/bsky/actor/defs.d.ts +13 -0
- package/dist/lexicons/types/app/bsky/actor/defs.js +13 -0
- package/dist/lexicons/types/app/bsky/actor/defs.js.map +1 -1
- package/dist/lexicons/types/app/bsky/notification/declaration.d.ts +17 -0
- package/dist/lexicons/types/app/bsky/notification/declaration.js +9 -0
- package/dist/lexicons/types/app/bsky/notification/declaration.js.map +1 -0
- package/dist/lexicons/types/app/bsky/notification/defs.d.ts +23 -1
- package/dist/lexicons/types/app/bsky/notification/defs.js +15 -0
- package/dist/lexicons/types/app/bsky/notification/defs.js.map +1 -1
- package/dist/lexicons/types/app/bsky/notification/listActivitySubscriptions.d.ts +26 -0
- package/dist/lexicons/types/app/bsky/notification/listActivitySubscriptions.js +20 -0
- package/dist/lexicons/types/app/bsky/notification/listActivitySubscriptions.js.map +1 -0
- package/dist/lexicons/types/app/bsky/notification/listNotifications.d.ts +1 -1
- package/dist/lexicons/types/app/bsky/notification/listNotifications.js.map +1 -1
- package/dist/lexicons/types/app/bsky/notification/putActivitySubscription.d.ts +31 -0
- package/dist/lexicons/types/app/bsky/notification/putActivitySubscription.js +25 -0
- package/dist/lexicons/types/app/bsky/notification/putActivitySubscription.js.map +1 -0
- package/dist/lexicons/types/app/bsky/notification/registerPush.d.ts +1 -0
- package/dist/lexicons/types/app/bsky/notification/registerPush.js +1 -0
- package/dist/lexicons/types/app/bsky/notification/registerPush.js.map +1 -1
- package/dist/lexicons/types/app/bsky/unspecced/defs.d.ts +28 -0
- package/dist/lexicons/types/app/bsky/unspecced/defs.js +18 -0
- package/dist/lexicons/types/app/bsky/unspecced/defs.js.map +1 -1
- package/dist/lexicons/types/app/bsky/unspecced/getAgeAssuranceState.d.ts +19 -0
- package/dist/lexicons/types/app/bsky/unspecced/getAgeAssuranceState.js +13 -0
- package/dist/lexicons/types/app/bsky/unspecced/getAgeAssuranceState.js.map +1 -0
- package/dist/lexicons/types/app/bsky/unspecced/initAgeAssurance.d.ts +28 -0
- package/dist/lexicons/types/app/bsky/unspecced/initAgeAssurance.js +21 -0
- package/dist/lexicons/types/app/bsky/unspecced/initAgeAssurance.js.map +1 -0
- package/lib/lexicons/index.ts +5 -0
- package/lib/lexicons/types/app/bsky/actor/defs.ts +20 -0
- package/lib/lexicons/types/app/bsky/notification/declaration.ts +25 -0
- package/lib/lexicons/types/app/bsky/notification/defs.ts +23 -0
- package/lib/lexicons/types/app/bsky/notification/listActivitySubscriptions.ts +38 -0
- package/lib/lexicons/types/app/bsky/notification/listNotifications.ts +1 -0
- package/lib/lexicons/types/app/bsky/notification/putActivitySubscription.ts +42 -0
- package/lib/lexicons/types/app/bsky/notification/registerPush.ts +1 -0
- package/lib/lexicons/types/app/bsky/unspecced/defs.ts +24 -0
- package/lib/lexicons/types/app/bsky/unspecced/getAgeAssuranceState.ts +29 -0
- package/lib/lexicons/types/app/bsky/unspecced/initAgeAssurance.ts +38 -0
- package/package.json +3 -3
|
@@ -1,6 +1,22 @@
|
|
|
1
1
|
import * as v from '@atcute/lexicons/validations';
|
|
2
2
|
import * as AppBskyActorDefs from '../actor/defs.js';
|
|
3
3
|
import * as AppBskyFeedDefs from '../feed/defs.js';
|
|
4
|
+
declare const _ageAssuranceEventSchema: v.ObjectSchema<{
|
|
5
|
+
$type: v.OptionalSchema<v.LiteralSchema<"app.bsky.unspecced.defs#ageAssuranceEvent">, undefined>;
|
|
6
|
+
attemptId: v.StringSchema<string>;
|
|
7
|
+
completeIp: v.OptionalSchema<v.StringSchema<string>, undefined>;
|
|
8
|
+
completeUa: v.OptionalSchema<v.StringSchema<string>, undefined>;
|
|
9
|
+
createdAt: v.FormattedStringSchema<"datetime">;
|
|
10
|
+
email: v.OptionalSchema<v.StringSchema<string>, undefined>;
|
|
11
|
+
initIp: v.OptionalSchema<v.StringSchema<string>, undefined>;
|
|
12
|
+
initUa: v.OptionalSchema<v.StringSchema<string>, undefined>;
|
|
13
|
+
status: v.StringSchema<(string & {}) | "unknown" | "assured" | "pending">;
|
|
14
|
+
}>;
|
|
15
|
+
declare const _ageAssuranceStateSchema: v.ObjectSchema<{
|
|
16
|
+
$type: v.OptionalSchema<v.LiteralSchema<"app.bsky.unspecced.defs#ageAssuranceState">, undefined>;
|
|
17
|
+
lastInitiatedAt: v.OptionalSchema<v.FormattedStringSchema<"datetime">, undefined>;
|
|
18
|
+
status: v.StringSchema<(string & {}) | "blocked" | "unknown" | "assured" | "pending">;
|
|
19
|
+
}>;
|
|
4
20
|
declare const _skeletonSearchActorSchema: v.ObjectSchema<{
|
|
5
21
|
$type: v.OptionalSchema<v.LiteralSchema<"app.bsky.unspecced.defs#skeletonSearchActor">, undefined>;
|
|
6
22
|
did: v.FormattedStringSchema<"did">;
|
|
@@ -61,6 +77,8 @@ declare const _trendingTopicSchema: v.ObjectSchema<{
|
|
|
61
77
|
link: v.StringSchema<string>;
|
|
62
78
|
topic: v.StringSchema<string>;
|
|
63
79
|
}>;
|
|
80
|
+
type ageAssuranceEvent$schematype = typeof _ageAssuranceEventSchema;
|
|
81
|
+
type ageAssuranceState$schematype = typeof _ageAssuranceStateSchema;
|
|
64
82
|
type skeletonSearchActor$schematype = typeof _skeletonSearchActorSchema;
|
|
65
83
|
type skeletonSearchPost$schematype = typeof _skeletonSearchPostSchema;
|
|
66
84
|
type skeletonSearchStarterPack$schematype = typeof _skeletonSearchStarterPackSchema;
|
|
@@ -71,6 +89,10 @@ type threadItemNotFound$schematype = typeof _threadItemNotFoundSchema;
|
|
|
71
89
|
type threadItemPost$schematype = typeof _threadItemPostSchema;
|
|
72
90
|
type trendView$schematype = typeof _trendViewSchema;
|
|
73
91
|
type trendingTopic$schematype = typeof _trendingTopicSchema;
|
|
92
|
+
export interface ageAssuranceEventSchema extends ageAssuranceEvent$schematype {
|
|
93
|
+
}
|
|
94
|
+
export interface ageAssuranceStateSchema extends ageAssuranceState$schematype {
|
|
95
|
+
}
|
|
74
96
|
export interface skeletonSearchActorSchema extends skeletonSearchActor$schematype {
|
|
75
97
|
}
|
|
76
98
|
export interface skeletonSearchPostSchema extends skeletonSearchPost$schematype {
|
|
@@ -91,6 +113,8 @@ export interface trendViewSchema extends trendView$schematype {
|
|
|
91
113
|
}
|
|
92
114
|
export interface trendingTopicSchema extends trendingTopic$schematype {
|
|
93
115
|
}
|
|
116
|
+
export declare const ageAssuranceEventSchema: ageAssuranceEventSchema;
|
|
117
|
+
export declare const ageAssuranceStateSchema: ageAssuranceStateSchema;
|
|
94
118
|
export declare const skeletonSearchActorSchema: skeletonSearchActorSchema;
|
|
95
119
|
export declare const skeletonSearchPostSchema: skeletonSearchPostSchema;
|
|
96
120
|
export declare const skeletonSearchStarterPackSchema: skeletonSearchStarterPackSchema;
|
|
@@ -101,6 +125,10 @@ export declare const threadItemNotFoundSchema: threadItemNotFoundSchema;
|
|
|
101
125
|
export declare const threadItemPostSchema: threadItemPostSchema;
|
|
102
126
|
export declare const trendViewSchema: trendViewSchema;
|
|
103
127
|
export declare const trendingTopicSchema: trendingTopicSchema;
|
|
128
|
+
export interface AgeAssuranceEvent extends v.InferInput<typeof ageAssuranceEventSchema> {
|
|
129
|
+
}
|
|
130
|
+
export interface AgeAssuranceState extends v.InferInput<typeof ageAssuranceStateSchema> {
|
|
131
|
+
}
|
|
104
132
|
export interface SkeletonSearchActor extends v.InferInput<typeof skeletonSearchActorSchema> {
|
|
105
133
|
}
|
|
106
134
|
export interface SkeletonSearchPost extends v.InferInput<typeof skeletonSearchPostSchema> {
|
|
@@ -1,6 +1,22 @@
|
|
|
1
1
|
import * as v from '@atcute/lexicons/validations';
|
|
2
2
|
import * as AppBskyActorDefs from '../actor/defs.js';
|
|
3
3
|
import * as AppBskyFeedDefs from '../feed/defs.js';
|
|
4
|
+
const _ageAssuranceEventSchema = /*#__PURE__*/ v.object({
|
|
5
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.unspecced.defs#ageAssuranceEvent')),
|
|
6
|
+
attemptId: /*#__PURE__*/ v.string(),
|
|
7
|
+
completeIp: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
8
|
+
completeUa: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
9
|
+
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
10
|
+
email: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
11
|
+
initIp: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
12
|
+
initUa: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
13
|
+
status: /*#__PURE__*/ v.string(),
|
|
14
|
+
});
|
|
15
|
+
const _ageAssuranceStateSchema = /*#__PURE__*/ v.object({
|
|
16
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.unspecced.defs#ageAssuranceState')),
|
|
17
|
+
lastInitiatedAt: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.datetimeString()),
|
|
18
|
+
status: /*#__PURE__*/ v.string(),
|
|
19
|
+
});
|
|
4
20
|
const _skeletonSearchActorSchema = /*#__PURE__*/ v.object({
|
|
5
21
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.unspecced.defs#skeletonSearchActor')),
|
|
6
22
|
did: /*#__PURE__*/ v.didString(),
|
|
@@ -69,6 +85,8 @@ const _trendingTopicSchema = /*#__PURE__*/ v.object({
|
|
|
69
85
|
link: /*#__PURE__*/ v.string(),
|
|
70
86
|
topic: /*#__PURE__*/ v.string(),
|
|
71
87
|
});
|
|
88
|
+
export const ageAssuranceEventSchema = _ageAssuranceEventSchema;
|
|
89
|
+
export const ageAssuranceStateSchema = _ageAssuranceStateSchema;
|
|
72
90
|
export const skeletonSearchActorSchema = _skeletonSearchActorSchema;
|
|
73
91
|
export const skeletonSearchPostSchema = _skeletonSearchPostSchema;
|
|
74
92
|
export const skeletonSearchStarterPackSchema = _skeletonSearchStarterPackSchema;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/app/bsky/unspecced/defs.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAClD,OAAO,KAAK,gBAAgB,MAAM,kBAAkB,CAAC;AACrD,OAAO,KAAK,eAAe,MAAM,iBAAiB,CAAC;AAEnD,MAAM,0BAA0B,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IACzD,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,6CAA6C,CAAC,CAAC;IACvG,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,SAAS,EAAE;CAChC,CAAC,CAAC;AACH,MAAM,yBAAyB,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IACxD,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,4CAA4C,CAAC,CAAC;IACtG,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,iBAAiB,EAAE;CACxC,CAAC,CAAC;AACH,MAAM,gCAAgC,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IAC/D,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IAC9B,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,mDAAmD,CAAC,CAC5E;IACD,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,iBAAiB,EAAE;CACxC,CAAC,CAAC;AACH,MAAM,oBAAoB,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IACnD,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,C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B,GAAG,0BAAuD,CAAC;AACjG,MAAM,CAAC,MAAM,wBAAwB,GAAG,yBAAqD,CAAC;AAC9F,MAAM,CAAC,MAAM,+BAA+B,GAC3C,gCAAmE,CAAC;AACrE,MAAM,CAAC,MAAM,mBAAmB,GAAG,oBAA2C,CAAC;AAC/E,MAAM,CAAC,MAAM,uBAAuB,GAAG,wBAAmD,CAAC;AAC3F,MAAM,CAAC,MAAM,iCAAiC,GAC7C,kCAAuE,CAAC;AACzE,MAAM,CAAC,MAAM,wBAAwB,GAAG,yBAAqD,CAAC;AAC9F,MAAM,CAAC,MAAM,oBAAoB,GAAG,qBAA6C,CAAC;AAClF,MAAM,CAAC,MAAM,eAAe,GAAG,gBAAmC,CAAC;AACnE,MAAM,CAAC,MAAM,mBAAmB,GAAG,oBAA2C,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
import * as AppBskyUnspeccedDefs from './defs.js';
|
|
3
|
+
declare const _mainSchema: v.XRPCQueryMetadata<null, {
|
|
4
|
+
type: "lex";
|
|
5
|
+
readonly schema: AppBskyUnspeccedDefs.ageAssuranceStateSchema;
|
|
6
|
+
}, "app.bsky.unspecced.getAgeAssuranceState">;
|
|
7
|
+
type main$schematype = typeof _mainSchema;
|
|
8
|
+
export interface mainSchema extends main$schematype {
|
|
9
|
+
}
|
|
10
|
+
export declare const mainSchema: mainSchema;
|
|
11
|
+
export interface $params {
|
|
12
|
+
}
|
|
13
|
+
export type $output = v.InferXRPCBodyInput<mainSchema['output']>;
|
|
14
|
+
declare module '@atcute/lexicons/ambient' {
|
|
15
|
+
interface XRPCQueries {
|
|
16
|
+
'app.bsky.unspecced.getAgeAssuranceState': mainSchema;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
import * as AppBskyUnspeccedDefs from './defs.js';
|
|
3
|
+
const _mainSchema = /*#__PURE__*/ v.query('app.bsky.unspecced.getAgeAssuranceState', {
|
|
4
|
+
params: null,
|
|
5
|
+
output: {
|
|
6
|
+
type: 'lex',
|
|
7
|
+
get schema() {
|
|
8
|
+
return AppBskyUnspeccedDefs.ageAssuranceStateSchema;
|
|
9
|
+
},
|
|
10
|
+
},
|
|
11
|
+
});
|
|
12
|
+
export const mainSchema = _mainSchema;
|
|
13
|
+
//# sourceMappingURL=getAgeAssuranceState.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAgeAssuranceState.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/app/bsky/unspecced/getAgeAssuranceState.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,IAAI;IACZ,MAAM,EAAE;QACP,IAAI,EAAE,KAAK;QACX,IAAI,MAAM;YACT,OAAO,oBAAoB,CAAC,uBAAuB,CAAC;QACrD,CAAC;KACD;CACD,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
import * as AppBskyUnspeccedDefs from './defs.js';
|
|
3
|
+
declare const _mainSchema: v.XRPCProcedureMetadata<null, {
|
|
4
|
+
type: "lex";
|
|
5
|
+
schema: v.ObjectSchema<{
|
|
6
|
+
countryCode: v.StringSchema<string>;
|
|
7
|
+
email: v.StringSchema<string>;
|
|
8
|
+
language: v.StringSchema<string>;
|
|
9
|
+
}>;
|
|
10
|
+
}, {
|
|
11
|
+
type: "lex";
|
|
12
|
+
readonly schema: AppBskyUnspeccedDefs.ageAssuranceStateSchema;
|
|
13
|
+
}, "app.bsky.unspecced.initAgeAssurance">;
|
|
14
|
+
type main$schematype = typeof _mainSchema;
|
|
15
|
+
export interface mainSchema extends main$schematype {
|
|
16
|
+
}
|
|
17
|
+
export declare const mainSchema: mainSchema;
|
|
18
|
+
export interface $params {
|
|
19
|
+
}
|
|
20
|
+
export interface $input extends v.InferXRPCBodyInput<mainSchema['input']> {
|
|
21
|
+
}
|
|
22
|
+
export type $output = v.InferXRPCBodyInput<mainSchema['output']>;
|
|
23
|
+
declare module '@atcute/lexicons/ambient' {
|
|
24
|
+
interface XRPCProcedures {
|
|
25
|
+
'app.bsky.unspecced.initAgeAssurance': mainSchema;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
import * as AppBskyUnspeccedDefs from './defs.js';
|
|
3
|
+
const _mainSchema = /*#__PURE__*/ v.procedure('app.bsky.unspecced.initAgeAssurance', {
|
|
4
|
+
params: null,
|
|
5
|
+
input: {
|
|
6
|
+
type: 'lex',
|
|
7
|
+
schema: /*#__PURE__*/ v.object({
|
|
8
|
+
countryCode: /*#__PURE__*/ v.string(),
|
|
9
|
+
email: /*#__PURE__*/ v.string(),
|
|
10
|
+
language: /*#__PURE__*/ v.string(),
|
|
11
|
+
}),
|
|
12
|
+
},
|
|
13
|
+
output: {
|
|
14
|
+
type: 'lex',
|
|
15
|
+
get schema() {
|
|
16
|
+
return AppBskyUnspeccedDefs.ageAssuranceStateSchema;
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
});
|
|
20
|
+
export const mainSchema = _mainSchema;
|
|
21
|
+
//# sourceMappingURL=initAgeAssurance.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"initAgeAssurance.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/app/bsky/unspecced/initAgeAssurance.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,SAAS,CAAC,qCAAqC,EAAE;IACpF,MAAM,EAAE,IAAI;IACZ,KAAK,EAAE;QACN,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B,WAAW,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;YACrC,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;YAC/B,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;SAClC,CAAC;KACF;IACD,MAAM,EAAE;QACP,IAAI,EAAE,KAAK;QACX,IAAI,MAAM;YACT,OAAO,oBAAoB,CAAC,uBAAuB,CAAC;QACrD,CAAC;KACD;CACD,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
package/lib/lexicons/index.ts
CHANGED
|
@@ -71,16 +71,20 @@ export * as AppBskyGraphVerification from './types/app/bsky/graph/verification.j
|
|
|
71
71
|
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
|
+
export * as AppBskyNotificationDeclaration from './types/app/bsky/notification/declaration.js';
|
|
74
75
|
export * as AppBskyNotificationDefs from './types/app/bsky/notification/defs.js';
|
|
75
76
|
export * as AppBskyNotificationGetPreferences from './types/app/bsky/notification/getPreferences.js';
|
|
76
77
|
export * as AppBskyNotificationGetUnreadCount from './types/app/bsky/notification/getUnreadCount.js';
|
|
78
|
+
export * as AppBskyNotificationListActivitySubscriptions from './types/app/bsky/notification/listActivitySubscriptions.js';
|
|
77
79
|
export * as AppBskyNotificationListNotifications from './types/app/bsky/notification/listNotifications.js';
|
|
80
|
+
export * as AppBskyNotificationPutActivitySubscription from './types/app/bsky/notification/putActivitySubscription.js';
|
|
78
81
|
export * as AppBskyNotificationPutPreferences from './types/app/bsky/notification/putPreferences.js';
|
|
79
82
|
export * as AppBskyNotificationPutPreferencesV2 from './types/app/bsky/notification/putPreferencesV2.js';
|
|
80
83
|
export * as AppBskyNotificationRegisterPush from './types/app/bsky/notification/registerPush.js';
|
|
81
84
|
export * as AppBskyNotificationUpdateSeen from './types/app/bsky/notification/updateSeen.js';
|
|
82
85
|
export * as AppBskyRichtextFacet from './types/app/bsky/richtext/facet.js';
|
|
83
86
|
export * as AppBskyUnspeccedDefs from './types/app/bsky/unspecced/defs.js';
|
|
87
|
+
export * as AppBskyUnspeccedGetAgeAssuranceState from './types/app/bsky/unspecced/getAgeAssuranceState.js';
|
|
84
88
|
export * as AppBskyUnspeccedGetConfig from './types/app/bsky/unspecced/getConfig.js';
|
|
85
89
|
export * as AppBskyUnspeccedGetPopularFeedGenerators from './types/app/bsky/unspecced/getPopularFeedGenerators.js';
|
|
86
90
|
export * as AppBskyUnspeccedGetPostThreadOtherV2 from './types/app/bsky/unspecced/getPostThreadOtherV2.js';
|
|
@@ -96,6 +100,7 @@ export * as AppBskyUnspeccedGetTaggedSuggestions from './types/app/bsky/unspecce
|
|
|
96
100
|
export * as AppBskyUnspeccedGetTrendingTopics from './types/app/bsky/unspecced/getTrendingTopics.js';
|
|
97
101
|
export * as AppBskyUnspeccedGetTrends from './types/app/bsky/unspecced/getTrends.js';
|
|
98
102
|
export * as AppBskyUnspeccedGetTrendsSkeleton from './types/app/bsky/unspecced/getTrendsSkeleton.js';
|
|
103
|
+
export * as AppBskyUnspeccedInitAgeAssurance from './types/app/bsky/unspecced/initAgeAssurance.js';
|
|
99
104
|
export * as AppBskyUnspeccedSearchActorsSkeleton from './types/app/bsky/unspecced/searchActorsSkeleton.js';
|
|
100
105
|
export * as AppBskyUnspeccedSearchPostsSkeleton from './types/app/bsky/unspecced/searchPostsSkeleton.js';
|
|
101
106
|
export * as AppBskyUnspeccedSearchStarterPacksSkeleton from './types/app/bsky/unspecced/searchStarterPacksSkeleton.js';
|
|
@@ -4,6 +4,7 @@ import * as AppBskyEmbedExternal from '../embed/external.js';
|
|
|
4
4
|
import * as AppBskyFeedPostgate from '../feed/postgate.js';
|
|
5
5
|
import * as AppBskyFeedThreadgate from '../feed/threadgate.js';
|
|
6
6
|
import * as AppBskyGraphDefs from '../graph/defs.js';
|
|
7
|
+
import * as AppBskyNotificationDefs from '../notification/defs.js';
|
|
7
8
|
import * as ComAtprotoLabelDefs from '@atcute/atproto/types/label/defs';
|
|
8
9
|
import * as ComAtprotoRepoStrongRef from '@atcute/atproto/types/repo/strongRef';
|
|
9
10
|
|
|
@@ -172,6 +173,9 @@ const _preferencesSchema = /*#__PURE__*/ v.array(() => {
|
|
|
172
173
|
});
|
|
173
174
|
const _profileAssociatedSchema = /*#__PURE__*/ v.object({
|
|
174
175
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.actor.defs#profileAssociated')),
|
|
176
|
+
get activitySubscription() {
|
|
177
|
+
return /*#__PURE__*/ v.optional(profileAssociatedActivitySubscriptionSchema);
|
|
178
|
+
},
|
|
175
179
|
get chat() {
|
|
176
180
|
return /*#__PURE__*/ v.optional(profileAssociatedChatSchema);
|
|
177
181
|
},
|
|
@@ -180,6 +184,12 @@ const _profileAssociatedSchema = /*#__PURE__*/ v.object({
|
|
|
180
184
|
lists: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
181
185
|
starterPacks: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
182
186
|
});
|
|
187
|
+
const _profileAssociatedActivitySubscriptionSchema = /*#__PURE__*/ v.object({
|
|
188
|
+
$type: /*#__PURE__*/ v.optional(
|
|
189
|
+
/*#__PURE__*/ v.literal('app.bsky.actor.defs#profileAssociatedActivitySubscription'),
|
|
190
|
+
),
|
|
191
|
+
allowSubscriptions: /*#__PURE__*/ v.string<'followers' | 'mutuals' | 'none' | (string & {})>(),
|
|
192
|
+
});
|
|
183
193
|
const _profileAssociatedChatSchema = /*#__PURE__*/ v.object({
|
|
184
194
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.actor.defs#profileAssociatedChat')),
|
|
185
195
|
allowIncoming: /*#__PURE__*/ v.string<'all' | 'following' | 'none' | (string & {})>(),
|
|
@@ -349,6 +359,9 @@ const _verificationViewSchema = /*#__PURE__*/ v.object({
|
|
|
349
359
|
});
|
|
350
360
|
const _viewerStateSchema = /*#__PURE__*/ v.object({
|
|
351
361
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.actor.defs#viewerState')),
|
|
362
|
+
get activitySubscription() {
|
|
363
|
+
return /*#__PURE__*/ v.optional(AppBskyNotificationDefs.activitySubscriptionSchema);
|
|
364
|
+
},
|
|
352
365
|
blockedBy: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
353
366
|
blocking: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.resourceUriString()),
|
|
354
367
|
get blockingByList() {
|
|
@@ -383,6 +396,7 @@ type personalDetailsPref$schematype = typeof _personalDetailsPrefSchema;
|
|
|
383
396
|
type postInteractionSettingsPref$schematype = typeof _postInteractionSettingsPrefSchema;
|
|
384
397
|
type preferences$schematype = typeof _preferencesSchema;
|
|
385
398
|
type profileAssociated$schematype = typeof _profileAssociatedSchema;
|
|
399
|
+
type profileAssociatedActivitySubscription$schematype = typeof _profileAssociatedActivitySubscriptionSchema;
|
|
386
400
|
type profileAssociatedChat$schematype = typeof _profileAssociatedChatSchema;
|
|
387
401
|
type profileView$schematype = typeof _profileViewSchema;
|
|
388
402
|
type profileViewBasic$schematype = typeof _profileViewBasicSchema;
|
|
@@ -415,6 +429,8 @@ export interface personalDetailsPrefSchema extends personalDetailsPref$schematyp
|
|
|
415
429
|
export interface postInteractionSettingsPrefSchema extends postInteractionSettingsPref$schematype {}
|
|
416
430
|
export interface preferencesSchema extends preferences$schematype {}
|
|
417
431
|
export interface profileAssociatedSchema extends profileAssociated$schematype {}
|
|
432
|
+
export interface profileAssociatedActivitySubscriptionSchema
|
|
433
|
+
extends profileAssociatedActivitySubscription$schematype {}
|
|
418
434
|
export interface profileAssociatedChatSchema extends profileAssociatedChat$schematype {}
|
|
419
435
|
export interface profileViewSchema extends profileView$schematype {}
|
|
420
436
|
export interface profileViewBasicSchema extends profileViewBasic$schematype {}
|
|
@@ -448,6 +464,8 @@ export const postInteractionSettingsPrefSchema =
|
|
|
448
464
|
_postInteractionSettingsPrefSchema as postInteractionSettingsPrefSchema;
|
|
449
465
|
export const preferencesSchema = _preferencesSchema as preferencesSchema;
|
|
450
466
|
export const profileAssociatedSchema = _profileAssociatedSchema as profileAssociatedSchema;
|
|
467
|
+
export const profileAssociatedActivitySubscriptionSchema =
|
|
468
|
+
_profileAssociatedActivitySubscriptionSchema as profileAssociatedActivitySubscriptionSchema;
|
|
451
469
|
export const profileAssociatedChatSchema = _profileAssociatedChatSchema as profileAssociatedChatSchema;
|
|
452
470
|
export const profileViewSchema = _profileViewSchema as profileViewSchema;
|
|
453
471
|
export const profileViewBasicSchema = _profileViewBasicSchema as profileViewBasicSchema;
|
|
@@ -480,6 +498,8 @@ export interface PersonalDetailsPref extends v.InferInput<typeof personalDetails
|
|
|
480
498
|
export interface PostInteractionSettingsPref extends v.InferInput<typeof postInteractionSettingsPrefSchema> {}
|
|
481
499
|
export interface Preferences extends v.InferInput<typeof preferencesSchema> {}
|
|
482
500
|
export interface ProfileAssociated extends v.InferInput<typeof profileAssociatedSchema> {}
|
|
501
|
+
export interface ProfileAssociatedActivitySubscription
|
|
502
|
+
extends v.InferInput<typeof profileAssociatedActivitySubscriptionSchema> {}
|
|
483
503
|
export interface ProfileAssociatedChat extends v.InferInput<typeof profileAssociatedChatSchema> {}
|
|
484
504
|
export interface ProfileView extends v.InferInput<typeof profileViewSchema> {}
|
|
485
505
|
export interface ProfileViewBasic extends v.InferInput<typeof profileViewBasicSchema> {}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
import type {} from '@atcute/lexicons/ambient';
|
|
4
|
+
|
|
5
|
+
const _mainSchema = /*#__PURE__*/ v.record(
|
|
6
|
+
/*#__PURE__*/ v.literal('self'),
|
|
7
|
+
/*#__PURE__*/ v.object({
|
|
8
|
+
$type: /*#__PURE__*/ v.literal('app.bsky.notification.declaration'),
|
|
9
|
+
allowSubscriptions: /*#__PURE__*/ v.string<'followers' | 'mutuals' | 'none' | (string & {})>(),
|
|
10
|
+
}),
|
|
11
|
+
);
|
|
12
|
+
|
|
13
|
+
type main$schematype = typeof _mainSchema;
|
|
14
|
+
|
|
15
|
+
export interface mainSchema extends main$schematype {}
|
|
16
|
+
|
|
17
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
18
|
+
|
|
19
|
+
export interface Main extends v.InferInput<typeof mainSchema> {}
|
|
20
|
+
|
|
21
|
+
declare module '@atcute/lexicons/ambient' {
|
|
22
|
+
interface Records {
|
|
23
|
+
'app.bsky.notification.declaration': mainSchema;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import type {} from '@atcute/lexicons';
|
|
2
2
|
import * as v from '@atcute/lexicons/validations';
|
|
3
3
|
|
|
4
|
+
const _activitySubscriptionSchema = /*#__PURE__*/ v.object({
|
|
5
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.notification.defs#activitySubscription')),
|
|
6
|
+
post: /*#__PURE__*/ v.boolean(),
|
|
7
|
+
reply: /*#__PURE__*/ v.boolean(),
|
|
8
|
+
});
|
|
4
9
|
const _chatPreferenceSchema = /*#__PURE__*/ v.object({
|
|
5
10
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.notification.defs#chatPreference')),
|
|
6
11
|
include: /*#__PURE__*/ v.string<'accepted' | 'all' | (string & {})>(),
|
|
@@ -62,27 +67,45 @@ const _preferencesSchema = /*#__PURE__*/ v.object({
|
|
|
62
67
|
const _recordDeletedSchema = /*#__PURE__*/ v.object({
|
|
63
68
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.notification.defs#recordDeleted')),
|
|
64
69
|
});
|
|
70
|
+
const _subjectActivitySubscriptionSchema = /*#__PURE__*/ v.object({
|
|
71
|
+
$type: /*#__PURE__*/ v.optional(
|
|
72
|
+
/*#__PURE__*/ v.literal('app.bsky.notification.defs#subjectActivitySubscription'),
|
|
73
|
+
),
|
|
74
|
+
get activitySubscription() {
|
|
75
|
+
return activitySubscriptionSchema;
|
|
76
|
+
},
|
|
77
|
+
subject: /*#__PURE__*/ v.didString(),
|
|
78
|
+
});
|
|
65
79
|
|
|
80
|
+
type activitySubscription$schematype = typeof _activitySubscriptionSchema;
|
|
66
81
|
type chatPreference$schematype = typeof _chatPreferenceSchema;
|
|
67
82
|
type filterablePreference$schematype = typeof _filterablePreferenceSchema;
|
|
68
83
|
type preference$schematype = typeof _preferenceSchema;
|
|
69
84
|
type preferences$schematype = typeof _preferencesSchema;
|
|
70
85
|
type recordDeleted$schematype = typeof _recordDeletedSchema;
|
|
86
|
+
type subjectActivitySubscription$schematype = typeof _subjectActivitySubscriptionSchema;
|
|
71
87
|
|
|
88
|
+
export interface activitySubscriptionSchema extends activitySubscription$schematype {}
|
|
72
89
|
export interface chatPreferenceSchema extends chatPreference$schematype {}
|
|
73
90
|
export interface filterablePreferenceSchema extends filterablePreference$schematype {}
|
|
74
91
|
export interface preferenceSchema extends preference$schematype {}
|
|
75
92
|
export interface preferencesSchema extends preferences$schematype {}
|
|
76
93
|
export interface recordDeletedSchema extends recordDeleted$schematype {}
|
|
94
|
+
export interface subjectActivitySubscriptionSchema extends subjectActivitySubscription$schematype {}
|
|
77
95
|
|
|
96
|
+
export const activitySubscriptionSchema = _activitySubscriptionSchema as activitySubscriptionSchema;
|
|
78
97
|
export const chatPreferenceSchema = _chatPreferenceSchema as chatPreferenceSchema;
|
|
79
98
|
export const filterablePreferenceSchema = _filterablePreferenceSchema as filterablePreferenceSchema;
|
|
80
99
|
export const preferenceSchema = _preferenceSchema as preferenceSchema;
|
|
81
100
|
export const preferencesSchema = _preferencesSchema as preferencesSchema;
|
|
82
101
|
export const recordDeletedSchema = _recordDeletedSchema as recordDeletedSchema;
|
|
102
|
+
export const subjectActivitySubscriptionSchema =
|
|
103
|
+
_subjectActivitySubscriptionSchema as subjectActivitySubscriptionSchema;
|
|
83
104
|
|
|
105
|
+
export interface ActivitySubscription extends v.InferInput<typeof activitySubscriptionSchema> {}
|
|
84
106
|
export interface ChatPreference extends v.InferInput<typeof chatPreferenceSchema> {}
|
|
85
107
|
export interface FilterablePreference extends v.InferInput<typeof filterablePreferenceSchema> {}
|
|
86
108
|
export interface Preference extends v.InferInput<typeof preferenceSchema> {}
|
|
87
109
|
export interface Preferences extends v.InferInput<typeof preferencesSchema> {}
|
|
88
110
|
export interface RecordDeleted extends v.InferInput<typeof recordDeletedSchema> {}
|
|
111
|
+
export interface SubjectActivitySubscription extends v.InferInput<typeof subjectActivitySubscriptionSchema> {}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
import type {} from '@atcute/lexicons/ambient';
|
|
4
|
+
import * as AppBskyActorDefs from '../actor/defs.js';
|
|
5
|
+
|
|
6
|
+
const _mainSchema = /*#__PURE__*/ v.query('app.bsky.notification.listActivitySubscriptions', {
|
|
7
|
+
params: /*#__PURE__*/ v.object({
|
|
8
|
+
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
9
|
+
limit: /*#__PURE__*/ v.optional(
|
|
10
|
+
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1, 100)]),
|
|
11
|
+
50,
|
|
12
|
+
),
|
|
13
|
+
}),
|
|
14
|
+
output: {
|
|
15
|
+
type: 'lex',
|
|
16
|
+
schema: /*#__PURE__*/ v.object({
|
|
17
|
+
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
18
|
+
get subscriptions() {
|
|
19
|
+
return /*#__PURE__*/ v.array(AppBskyActorDefs.profileViewSchema);
|
|
20
|
+
},
|
|
21
|
+
}),
|
|
22
|
+
},
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
type main$schematype = typeof _mainSchema;
|
|
26
|
+
|
|
27
|
+
export interface mainSchema extends main$schematype {}
|
|
28
|
+
|
|
29
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
30
|
+
|
|
31
|
+
export interface $params extends v.InferInput<mainSchema['params']> {}
|
|
32
|
+
export interface $output extends v.InferXRPCBodyInput<mainSchema['output']> {}
|
|
33
|
+
|
|
34
|
+
declare module '@atcute/lexicons/ambient' {
|
|
35
|
+
interface XRPCQueries {
|
|
36
|
+
'app.bsky.notification.listActivitySubscriptions': mainSchema;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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.putActivitySubscription', {
|
|
7
|
+
params: null,
|
|
8
|
+
input: {
|
|
9
|
+
type: 'lex',
|
|
10
|
+
schema: /*#__PURE__*/ v.object({
|
|
11
|
+
get activitySubscription() {
|
|
12
|
+
return AppBskyNotificationDefs.activitySubscriptionSchema;
|
|
13
|
+
},
|
|
14
|
+
subject: /*#__PURE__*/ v.didString(),
|
|
15
|
+
}),
|
|
16
|
+
},
|
|
17
|
+
output: {
|
|
18
|
+
type: 'lex',
|
|
19
|
+
schema: /*#__PURE__*/ v.object({
|
|
20
|
+
get activitySubscription() {
|
|
21
|
+
return /*#__PURE__*/ v.optional(AppBskyNotificationDefs.activitySubscriptionSchema);
|
|
22
|
+
},
|
|
23
|
+
subject: /*#__PURE__*/ v.didString(),
|
|
24
|
+
}),
|
|
25
|
+
},
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
type main$schematype = typeof _mainSchema;
|
|
29
|
+
|
|
30
|
+
export interface mainSchema extends main$schematype {}
|
|
31
|
+
|
|
32
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
33
|
+
|
|
34
|
+
export interface $params {}
|
|
35
|
+
export interface $input extends v.InferXRPCBodyInput<mainSchema['input']> {}
|
|
36
|
+
export interface $output extends v.InferXRPCBodyInput<mainSchema['output']> {}
|
|
37
|
+
|
|
38
|
+
declare module '@atcute/lexicons/ambient' {
|
|
39
|
+
interface XRPCProcedures {
|
|
40
|
+
'app.bsky.notification.putActivitySubscription': mainSchema;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -7,6 +7,7 @@ const _mainSchema = /*#__PURE__*/ v.procedure('app.bsky.notification.registerPus
|
|
|
7
7
|
input: {
|
|
8
8
|
type: 'lex',
|
|
9
9
|
schema: /*#__PURE__*/ v.object({
|
|
10
|
+
ageRestricted: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
10
11
|
appId: /*#__PURE__*/ v.string(),
|
|
11
12
|
platform: /*#__PURE__*/ v.string<'android' | 'ios' | 'web' | (string & {})>(),
|
|
12
13
|
serviceDid: /*#__PURE__*/ v.didString(),
|
|
@@ -3,6 +3,22 @@ import * as v from '@atcute/lexicons/validations';
|
|
|
3
3
|
import * as AppBskyActorDefs from '../actor/defs.js';
|
|
4
4
|
import * as AppBskyFeedDefs from '../feed/defs.js';
|
|
5
5
|
|
|
6
|
+
const _ageAssuranceEventSchema = /*#__PURE__*/ v.object({
|
|
7
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.unspecced.defs#ageAssuranceEvent')),
|
|
8
|
+
attemptId: /*#__PURE__*/ v.string(),
|
|
9
|
+
completeIp: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
10
|
+
completeUa: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
11
|
+
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
12
|
+
email: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
13
|
+
initIp: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
14
|
+
initUa: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
15
|
+
status: /*#__PURE__*/ v.string<'assured' | 'pending' | 'unknown' | (string & {})>(),
|
|
16
|
+
});
|
|
17
|
+
const _ageAssuranceStateSchema = /*#__PURE__*/ v.object({
|
|
18
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.unspecced.defs#ageAssuranceState')),
|
|
19
|
+
lastInitiatedAt: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.datetimeString()),
|
|
20
|
+
status: /*#__PURE__*/ v.string<'assured' | 'blocked' | 'pending' | 'unknown' | (string & {})>(),
|
|
21
|
+
});
|
|
6
22
|
const _skeletonSearchActorSchema = /*#__PURE__*/ v.object({
|
|
7
23
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.unspecced.defs#skeletonSearchActor')),
|
|
8
24
|
did: /*#__PURE__*/ v.didString(),
|
|
@@ -74,6 +90,8 @@ const _trendingTopicSchema = /*#__PURE__*/ v.object({
|
|
|
74
90
|
topic: /*#__PURE__*/ v.string(),
|
|
75
91
|
});
|
|
76
92
|
|
|
93
|
+
type ageAssuranceEvent$schematype = typeof _ageAssuranceEventSchema;
|
|
94
|
+
type ageAssuranceState$schematype = typeof _ageAssuranceStateSchema;
|
|
77
95
|
type skeletonSearchActor$schematype = typeof _skeletonSearchActorSchema;
|
|
78
96
|
type skeletonSearchPost$schematype = typeof _skeletonSearchPostSchema;
|
|
79
97
|
type skeletonSearchStarterPack$schematype = typeof _skeletonSearchStarterPackSchema;
|
|
@@ -85,6 +103,8 @@ type threadItemPost$schematype = typeof _threadItemPostSchema;
|
|
|
85
103
|
type trendView$schematype = typeof _trendViewSchema;
|
|
86
104
|
type trendingTopic$schematype = typeof _trendingTopicSchema;
|
|
87
105
|
|
|
106
|
+
export interface ageAssuranceEventSchema extends ageAssuranceEvent$schematype {}
|
|
107
|
+
export interface ageAssuranceStateSchema extends ageAssuranceState$schematype {}
|
|
88
108
|
export interface skeletonSearchActorSchema extends skeletonSearchActor$schematype {}
|
|
89
109
|
export interface skeletonSearchPostSchema extends skeletonSearchPost$schematype {}
|
|
90
110
|
export interface skeletonSearchStarterPackSchema extends skeletonSearchStarterPack$schematype {}
|
|
@@ -96,6 +116,8 @@ export interface threadItemPostSchema extends threadItemPost$schematype {}
|
|
|
96
116
|
export interface trendViewSchema extends trendView$schematype {}
|
|
97
117
|
export interface trendingTopicSchema extends trendingTopic$schematype {}
|
|
98
118
|
|
|
119
|
+
export const ageAssuranceEventSchema = _ageAssuranceEventSchema as ageAssuranceEventSchema;
|
|
120
|
+
export const ageAssuranceStateSchema = _ageAssuranceStateSchema as ageAssuranceStateSchema;
|
|
99
121
|
export const skeletonSearchActorSchema = _skeletonSearchActorSchema as skeletonSearchActorSchema;
|
|
100
122
|
export const skeletonSearchPostSchema = _skeletonSearchPostSchema as skeletonSearchPostSchema;
|
|
101
123
|
export const skeletonSearchStarterPackSchema =
|
|
@@ -109,6 +131,8 @@ export const threadItemPostSchema = _threadItemPostSchema as threadItemPostSchem
|
|
|
109
131
|
export const trendViewSchema = _trendViewSchema as trendViewSchema;
|
|
110
132
|
export const trendingTopicSchema = _trendingTopicSchema as trendingTopicSchema;
|
|
111
133
|
|
|
134
|
+
export interface AgeAssuranceEvent extends v.InferInput<typeof ageAssuranceEventSchema> {}
|
|
135
|
+
export interface AgeAssuranceState extends v.InferInput<typeof ageAssuranceStateSchema> {}
|
|
112
136
|
export interface SkeletonSearchActor extends v.InferInput<typeof skeletonSearchActorSchema> {}
|
|
113
137
|
export interface SkeletonSearchPost extends v.InferInput<typeof skeletonSearchPostSchema> {}
|
|
114
138
|
export interface SkeletonSearchStarterPack extends v.InferInput<typeof skeletonSearchStarterPackSchema> {}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
import type {} from '@atcute/lexicons/ambient';
|
|
4
|
+
import * as AppBskyUnspeccedDefs from './defs.js';
|
|
5
|
+
|
|
6
|
+
const _mainSchema = /*#__PURE__*/ v.query('app.bsky.unspecced.getAgeAssuranceState', {
|
|
7
|
+
params: null,
|
|
8
|
+
output: {
|
|
9
|
+
type: 'lex',
|
|
10
|
+
get schema() {
|
|
11
|
+
return AppBskyUnspeccedDefs.ageAssuranceStateSchema;
|
|
12
|
+
},
|
|
13
|
+
},
|
|
14
|
+
});
|
|
15
|
+
|
|
16
|
+
type main$schematype = typeof _mainSchema;
|
|
17
|
+
|
|
18
|
+
export interface mainSchema extends main$schematype {}
|
|
19
|
+
|
|
20
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
21
|
+
|
|
22
|
+
export interface $params {}
|
|
23
|
+
export type $output = v.InferXRPCBodyInput<mainSchema['output']>;
|
|
24
|
+
|
|
25
|
+
declare module '@atcute/lexicons/ambient' {
|
|
26
|
+
interface XRPCQueries {
|
|
27
|
+
'app.bsky.unspecced.getAgeAssuranceState': mainSchema;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
import type {} from '@atcute/lexicons/ambient';
|
|
4
|
+
import * as AppBskyUnspeccedDefs from './defs.js';
|
|
5
|
+
|
|
6
|
+
const _mainSchema = /*#__PURE__*/ v.procedure('app.bsky.unspecced.initAgeAssurance', {
|
|
7
|
+
params: null,
|
|
8
|
+
input: {
|
|
9
|
+
type: 'lex',
|
|
10
|
+
schema: /*#__PURE__*/ v.object({
|
|
11
|
+
countryCode: /*#__PURE__*/ v.string(),
|
|
12
|
+
email: /*#__PURE__*/ v.string(),
|
|
13
|
+
language: /*#__PURE__*/ v.string(),
|
|
14
|
+
}),
|
|
15
|
+
},
|
|
16
|
+
output: {
|
|
17
|
+
type: 'lex',
|
|
18
|
+
get schema() {
|
|
19
|
+
return AppBskyUnspeccedDefs.ageAssuranceStateSchema;
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
type main$schematype = typeof _mainSchema;
|
|
25
|
+
|
|
26
|
+
export interface mainSchema extends main$schematype {}
|
|
27
|
+
|
|
28
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
29
|
+
|
|
30
|
+
export interface $params {}
|
|
31
|
+
export interface $input extends v.InferXRPCBodyInput<mainSchema['input']> {}
|
|
32
|
+
export type $output = v.InferXRPCBodyInput<mainSchema['output']>;
|
|
33
|
+
|
|
34
|
+
declare module '@atcute/lexicons/ambient' {
|
|
35
|
+
interface XRPCProcedures {
|
|
36
|
+
'app.bsky.unspecced.initAgeAssurance': mainSchema;
|
|
37
|
+
}
|
|
38
|
+
}
|