@atproto/ozone 0.5.0 → 0.5.1
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/CHANGELOG.md +14 -0
- package/dist/lexicons/app/bsky/authManageNotifications.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/authManageNotifications.defs.js +1 -0
- package/dist/lexicons/app/bsky/authManageNotifications.defs.js.map +1 -1
- package/dist/lexicons/app/bsky/feed/getListFeed.defs.d.ts +4 -0
- package/dist/lexicons/app/bsky/feed/getListFeed.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/feed/getListFeed.defs.js +2 -0
- package/dist/lexicons/app/bsky/feed/getListFeed.defs.js.map +1 -1
- package/dist/lexicons/app/bsky/feed/getTimeline.defs.d.ts +4 -0
- package/dist/lexicons/app/bsky/feed/getTimeline.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/feed/getTimeline.defs.js +2 -0
- package/dist/lexicons/app/bsky/feed/getTimeline.defs.js.map +1 -1
- package/dist/lexicons/app/bsky/notification/getGroupedNotifications.d.ts +3 -0
- package/dist/lexicons/app/bsky/notification/getGroupedNotifications.d.ts.map +1 -0
- package/dist/lexicons/app/bsky/notification/getGroupedNotifications.defs.d.ts +299 -0
- package/dist/lexicons/app/bsky/notification/getGroupedNotifications.defs.d.ts.map +1 -0
- package/dist/lexicons/app/bsky/notification/getGroupedNotifications.defs.js +231 -0
- package/dist/lexicons/app/bsky/notification/getGroupedNotifications.defs.js.map +1 -0
- package/dist/lexicons/app/bsky/notification/getGroupedNotifications.js +6 -0
- package/dist/lexicons/app/bsky/notification/getGroupedNotifications.js.map +1 -0
- package/dist/lexicons/app/bsky/notification.d.ts +1 -0
- package/dist/lexicons/app/bsky/notification.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/notification.js +1 -0
- package/dist/lexicons/app/bsky/notification.js.map +1 -1
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atproto/ozone
|
|
2
2
|
|
|
3
|
+
## 0.5.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#5493](https://github.com/bluesky-social/atproto/pull/5493) [`cd736b3`](https://github.com/bluesky-social/atproto/commit/cd736b3dbbec957cf4eaa7e67fa5b8be8f8ae04e) Thanks [@mozzius](https://github.com/mozzius)! - Add `since` and `startCursor` to `getTimeline` and `getListFeed`, for reading everything strictly newer than a previously returned position.
|
|
8
|
+
- Updated dependencies [[`f8ed258`](https://github.com/bluesky-social/atproto/commit/f8ed25853dc91a16639decfaee2e0dcbb60808cd), [`0593d81`](https://github.com/bluesky-social/atproto/commit/0593d818bc2b7f8a40c9d0fe036bf39c7a4eecda)]:
|
|
9
|
+
- @atproto/crypto@0.5.7
|
|
10
|
+
- @atproto-labs/opentelemetry-node@0.3.0
|
|
11
|
+
- @atproto/identity@0.5.16
|
|
12
|
+
- @atproto/xrpc-server@0.13.4
|
|
13
|
+
- @atproto/common@0.8.5
|
|
14
|
+
- @atproto/lex@0.3.14
|
|
15
|
+
- @atproto/lex-password-session@0.2.4
|
|
16
|
+
|
|
3
17
|
## 0.5.0
|
|
4
18
|
|
|
5
19
|
### Minor Changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authManageNotifications.defs.d.ts","sourceRoot":"","sources":["../../../../src/lexicons/app/bsky/authManageNotifications.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAEhC,QAAA,MAAM,KAAK,qCAAqC,CAAA;AAEhD,KAAK,KAAK,GAAG,OAAO,KAAK,CAAA;AAEzB,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,QAAA,MAAM,IAAI,+
|
|
1
|
+
{"version":3,"file":"authManageNotifications.defs.d.ts","sourceRoot":"","sources":["../../../../src/lexicons/app/bsky/authManageNotifications.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAEhC,QAAA,MAAM,KAAK,qCAAqC,CAAA;AAEhD,KAAK,KAAK,GAAG,OAAO,KAAK,CAAA;AAEzB,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,QAAA,MAAM,IAAI,+FA0BT,CAAA;AAED,OAAO,EAAE,IAAI,EAAE,CAAA"}
|
|
@@ -9,6 +9,7 @@ const main = /*#__PURE__*/ l.permissionSet($nsid, [
|
|
|
9
9
|
inheritAud: true,
|
|
10
10
|
lxm: [
|
|
11
11
|
'app.bsky.notification.getPreferences',
|
|
12
|
+
'app.bsky.notification.getGroupedNotifications',
|
|
12
13
|
'app.bsky.notification.getUnreadCount',
|
|
13
14
|
'app.bsky.notification.listActivitySubscriptions',
|
|
14
15
|
'app.bsky.notification.listNotifications',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authManageNotifications.defs.js","sourceRoot":"","sources":["../../../../src/lexicons/app/bsky/authManageNotifications.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAEhC,MAAM,KAAK,GAAG,kCAAkC,CAAA;AAIhD,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,aAAa,CACxC,KAAK,EACL;IACE,aAAa,CAAC,CAAC,CAAC,UAAU,CAAC,KAAK,EAAE;QAChC,UAAU,EAAE,IAAI;QAChB,GAAG,EAAE;YACH,sCAAsC;YACtC,sCAAsC;YACtC,iDAAiD;YACjD,yCAAyC;YACzC,+CAA+C;YAC/C,sCAAsC;YACtC,wCAAwC;YACxC,oCAAoC;YACpC,sCAAsC;YACtC,kCAAkC;SACnC;KACF,CAAC;CACH,EACD;IACE,KAAK,EAAE,8BAA8B;IACrC,YAAY,EAAE,EAAE;IAChB,MAAM,EAAE,uDAAuD;IAC/D,aAAa,EAAE,EAAE;CAClB,CACF,CAAA;AAED,OAAO,EAAE,IAAI,EAAE,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\n\nconst $nsid = 'app.bsky.authManageNotifications'\n\ntype $nsid = typeof $nsid\n\nexport { $nsid }\n\nconst main = /*#__PURE__*/ l.permissionSet(\n $nsid,\n [\n /*#__PURE__*/ l.permission('rpc', {\n inheritAud: true,\n lxm: [\n 'app.bsky.notification.getPreferences',\n 'app.bsky.notification.getUnreadCount',\n 'app.bsky.notification.listActivitySubscriptions',\n 'app.bsky.notification.listNotifications',\n 'app.bsky.notification.putActivitySubscription',\n 'app.bsky.notification.putPreferences',\n 'app.bsky.notification.putPreferencesV2',\n 'app.bsky.notification.registerPush',\n 'app.bsky.notification.unregisterPush',\n 'app.bsky.notification.updateSeen',\n ],\n }),\n ],\n {\n title: 'Manage Bluesky Notifications',\n 'title:lang': {},\n detail: 'View and configure notifications for the Bluesky app.',\n 'detail:lang': {},\n },\n)\n\nexport { main }\n"]}
|
|
1
|
+
{"version":3,"file":"authManageNotifications.defs.js","sourceRoot":"","sources":["../../../../src/lexicons/app/bsky/authManageNotifications.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAEhC,MAAM,KAAK,GAAG,kCAAkC,CAAA;AAIhD,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,aAAa,CACxC,KAAK,EACL;IACE,aAAa,CAAC,CAAC,CAAC,UAAU,CAAC,KAAK,EAAE;QAChC,UAAU,EAAE,IAAI;QAChB,GAAG,EAAE;YACH,sCAAsC;YACtC,+CAA+C;YAC/C,sCAAsC;YACtC,iDAAiD;YACjD,yCAAyC;YACzC,+CAA+C;YAC/C,sCAAsC;YACtC,wCAAwC;YACxC,oCAAoC;YACpC,sCAAsC;YACtC,kCAAkC;SACnC;KACF,CAAC;CACH,EACD;IACE,KAAK,EAAE,8BAA8B;IACrC,YAAY,EAAE,EAAE;IAChB,MAAM,EAAE,uDAAuD;IAC/D,aAAa,EAAE,EAAE;CAClB,CACF,CAAA;AAED,OAAO,EAAE,IAAI,EAAE,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\n\nconst $nsid = 'app.bsky.authManageNotifications'\n\ntype $nsid = typeof $nsid\n\nexport { $nsid }\n\nconst main = /*#__PURE__*/ l.permissionSet(\n $nsid,\n [\n /*#__PURE__*/ l.permission('rpc', {\n inheritAud: true,\n lxm: [\n 'app.bsky.notification.getPreferences',\n 'app.bsky.notification.getGroupedNotifications',\n 'app.bsky.notification.getUnreadCount',\n 'app.bsky.notification.listActivitySubscriptions',\n 'app.bsky.notification.listNotifications',\n 'app.bsky.notification.putActivitySubscription',\n 'app.bsky.notification.putPreferences',\n 'app.bsky.notification.putPreferencesV2',\n 'app.bsky.notification.registerPush',\n 'app.bsky.notification.unregisterPush',\n 'app.bsky.notification.updateSeen',\n ],\n }),\n ],\n {\n title: 'Manage Bluesky Notifications',\n 'title:lang': {},\n detail: 'View and configure notifications for the Bluesky app.',\n 'detail:lang': {},\n },\n)\n\nexport { main }\n"]}
|
|
@@ -9,10 +9,12 @@ export declare const $params: l.ParamsSchema<{
|
|
|
9
9
|
}>;
|
|
10
10
|
readonly limit: l.OptionalSchema<l.WithDefaultSchema<l.IntegerSchema>>;
|
|
11
11
|
readonly cursor: l.OptionalSchema<l.StringSchema<{}>>;
|
|
12
|
+
readonly since: l.OptionalSchema<l.StringSchema<{}>>;
|
|
12
13
|
}>;
|
|
13
14
|
export type $Params = l.InferOutput<typeof $params>;
|
|
14
15
|
export declare const $output: l.Payload<"application/json", l.ObjectSchema<{
|
|
15
16
|
cursor: l.OptionalSchema<l.StringSchema<{}>>;
|
|
17
|
+
startCursor: l.OptionalSchema<l.StringSchema<{}>>;
|
|
16
18
|
feed: l.ArraySchema<l.RefSchema<l.Validator<FeedDefs.FeedViewPost, FeedDefs.FeedViewPost>>>;
|
|
17
19
|
}>>;
|
|
18
20
|
export type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>;
|
|
@@ -24,8 +26,10 @@ declare const main: l.Query<"app.bsky.feed.getListFeed", l.ParamsSchema<{
|
|
|
24
26
|
}>;
|
|
25
27
|
readonly limit: l.OptionalSchema<l.WithDefaultSchema<l.IntegerSchema>>;
|
|
26
28
|
readonly cursor: l.OptionalSchema<l.StringSchema<{}>>;
|
|
29
|
+
readonly since: l.OptionalSchema<l.StringSchema<{}>>;
|
|
27
30
|
}>, l.Payload<"application/json", l.ObjectSchema<{
|
|
28
31
|
cursor: l.OptionalSchema<l.StringSchema<{}>>;
|
|
32
|
+
startCursor: l.OptionalSchema<l.StringSchema<{}>>;
|
|
29
33
|
feed: l.ArraySchema<l.RefSchema<l.Validator<FeedDefs.FeedViewPost, FeedDefs.FeedViewPost>>>;
|
|
30
34
|
}>>, readonly ["UnknownList"]>;
|
|
31
35
|
export { main };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getListFeed.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/feed/getListFeed.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,QAAQ,MAAM,gBAAgB,CAAA;AAE1C,QAAA,MAAM,KAAK,8BAA8B,CAAA;AAEzC,KAAK,KAAK,GAAG,OAAO,KAAK,CAAA;AAEzB,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"getListFeed.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/feed/getListFeed.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,QAAQ,MAAM,gBAAgB,CAAA;AAE1C,QAAA,MAAM,KAAK,8BAA8B,CAAA;AAEzC,KAAK,KAAK,GAAG,OAAO,KAAK,CAAA;AAEzB,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,eAAO,MAAM,OAAO;;;;;;;EAUlB,CAAA;AAEF,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,OAAO,CAAC,CAAA;AAEnD,eAAO,MAAM,OAAO;;;;GAQlB,CAAA;AAEF,MAAM,MAAM,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,YAAY,CAAC,OAAO,OAAO,EAAE,CAAC,CAAC,CAAA;AACzE,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAC5D,OAAO,OAAO,EACd,CAAC,CACF,CAAA;AAED,qHAAqH;AACrH,QAAA,MAAM,IAAI;;;;;;;;;;;8BAAkE,CAAA;AAE5E,OAAO,EAAE,IAAI,EAAE,CAAA;AAEf,QAAA,MAAM,IAAI,8BAAQ,CAAA;AAElB,KAAK,IAAI,GAAG,OAAO,IAAI,CAAA;AAEvB,OAAO,EAAE,IAAI,EAAE,CAAA"}
|
|
@@ -11,9 +11,11 @@ export const $params = /*#__PURE__*/ l.params({
|
|
|
11
11
|
/*#__PURE__*/ l.withDefault(
|
|
12
12
|
/*#__PURE__*/ l.integer({ minimum: 1, maximum: 100 }), 50)),
|
|
13
13
|
cursor: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),
|
|
14
|
+
since: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),
|
|
14
15
|
});
|
|
15
16
|
export const $output = /*#__PURE__*/ l.jsonPayload({
|
|
16
17
|
cursor: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),
|
|
18
|
+
startCursor: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),
|
|
17
19
|
feed: /*#__PURE__*/ l.array(
|
|
18
20
|
/*#__PURE__*/ l.ref((() => FeedDefs.feedViewPost))),
|
|
19
21
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getListFeed.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/feed/getListFeed.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,QAAQ,MAAM,gBAAgB,CAAA;AAE1C,MAAM,KAAK,GAAG,2BAA2B,CAAA;AAIzC,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IAC5C,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;IAClD,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IAC7B,aAAa,CAAC,CAAC,CAAC,WAAW;IACzB,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,EACrD,EAAE,CACH,CACF;IACD,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"getListFeed.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/feed/getListFeed.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,QAAQ,MAAM,gBAAgB,CAAA;AAE1C,MAAM,KAAK,GAAG,2BAA2B,CAAA;AAIzC,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;I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GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as FeedDefs from './defs.defs.js'\n\nconst $nsid = 'app.bsky.feed.getListFeed'\n\ntype $nsid = typeof $nsid\n\nexport { $nsid }\n\nexport const $params = /*#__PURE__*/ l.params({\n list: /*#__PURE__*/ l.string({ format: 'at-uri' }),\n limit: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.withDefault(\n /*#__PURE__*/ l.integer({ minimum: 1, maximum: 100 }),\n 50,\n ),\n ),\n cursor: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),\n since: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),\n})\n\nexport type $Params = l.InferOutput<typeof $params>\n\nexport const $output = /*#__PURE__*/ l.jsonPayload({\n cursor: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),\n startCursor: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),\n feed: /*#__PURE__*/ l.array(\n /*#__PURE__*/ l.ref<FeedDefs.FeedViewPost>(\n (() => FeedDefs.feedViewPost) as any,\n ),\n ),\n})\n\nexport type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<\n typeof $output,\n B\n>\n\n/** Get a feed of recent posts from a list (posts and reposts from any actors on the list). Does not require auth. */\nconst main = /*#__PURE__*/ l.query($nsid, $params, $output, ['UnknownList'])\n\nexport { main }\n\nconst $lxm = $nsid\n\ntype $lxm = typeof $lxm\n\nexport { $lxm }\n"]}
|
|
@@ -7,10 +7,12 @@ export declare const $params: l.ParamsSchema<{
|
|
|
7
7
|
readonly algorithm: l.OptionalSchema<l.StringSchema<{}>>;
|
|
8
8
|
readonly limit: l.OptionalSchema<l.WithDefaultSchema<l.IntegerSchema>>;
|
|
9
9
|
readonly cursor: l.OptionalSchema<l.StringSchema<{}>>;
|
|
10
|
+
readonly since: l.OptionalSchema<l.StringSchema<{}>>;
|
|
10
11
|
}>;
|
|
11
12
|
export type $Params = l.InferOutput<typeof $params>;
|
|
12
13
|
export declare const $output: l.Payload<"application/json", l.ObjectSchema<{
|
|
13
14
|
cursor: l.OptionalSchema<l.StringSchema<{}>>;
|
|
15
|
+
startCursor: l.OptionalSchema<l.StringSchema<{}>>;
|
|
14
16
|
feed: l.ArraySchema<l.RefSchema<l.Validator<FeedDefs.FeedViewPost, FeedDefs.FeedViewPost>>>;
|
|
15
17
|
}>>;
|
|
16
18
|
export type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>;
|
|
@@ -20,8 +22,10 @@ declare const main: l.Query<"app.bsky.feed.getTimeline", l.ParamsSchema<{
|
|
|
20
22
|
readonly algorithm: l.OptionalSchema<l.StringSchema<{}>>;
|
|
21
23
|
readonly limit: l.OptionalSchema<l.WithDefaultSchema<l.IntegerSchema>>;
|
|
22
24
|
readonly cursor: l.OptionalSchema<l.StringSchema<{}>>;
|
|
25
|
+
readonly since: l.OptionalSchema<l.StringSchema<{}>>;
|
|
23
26
|
}>, l.Payload<"application/json", l.ObjectSchema<{
|
|
24
27
|
cursor: l.OptionalSchema<l.StringSchema<{}>>;
|
|
28
|
+
startCursor: l.OptionalSchema<l.StringSchema<{}>>;
|
|
25
29
|
feed: l.ArraySchema<l.RefSchema<l.Validator<FeedDefs.FeedViewPost, FeedDefs.FeedViewPost>>>;
|
|
26
30
|
}>>, undefined>;
|
|
27
31
|
export { main };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getTimeline.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/feed/getTimeline.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,QAAQ,MAAM,gBAAgB,CAAA;AAE1C,QAAA,MAAM,KAAK,8BAA8B,CAAA;AAEzC,KAAK,KAAK,GAAG,OAAO,KAAK,CAAA;AAEzB,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"getTimeline.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/feed/getTimeline.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,QAAQ,MAAM,gBAAgB,CAAA;AAE1C,QAAA,MAAM,KAAK,8BAA8B,CAAA;AAEzC,KAAK,KAAK,GAAG,OAAO,KAAK,CAAA;AAEzB,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,eAAO,MAAM,OAAO;;;;;EAUlB,CAAA;AAEF,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,OAAO,CAAC,CAAA;AAEnD,eAAO,MAAM,OAAO;;;;GAQlB,CAAA;AAEF,MAAM,MAAM,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,YAAY,CAAC,OAAO,OAAO,EAAE,CAAC,CAAC,CAAA;AACzE,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAC5D,OAAO,OAAO,EACd,CAAC,CACF,CAAA;AAED,4HAA4H;AAC5H,QAAA,MAAM,IAAI;;;;;;;;;eAAiD,CAAA;AAE3D,OAAO,EAAE,IAAI,EAAE,CAAA;AAEf,QAAA,MAAM,IAAI,8BAAQ,CAAA;AAElB,KAAK,IAAI,GAAG,OAAO,IAAI,CAAA;AAEvB,OAAO,EAAE,IAAI,EAAE,CAAA"}
|
|
@@ -11,9 +11,11 @@ export const $params = /*#__PURE__*/ l.params({
|
|
|
11
11
|
/*#__PURE__*/ l.withDefault(
|
|
12
12
|
/*#__PURE__*/ l.integer({ minimum: 1, maximum: 100 }), 50)),
|
|
13
13
|
cursor: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),
|
|
14
|
+
since: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),
|
|
14
15
|
});
|
|
15
16
|
export const $output = /*#__PURE__*/ l.jsonPayload({
|
|
16
17
|
cursor: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),
|
|
18
|
+
startCursor: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),
|
|
17
19
|
feed: /*#__PURE__*/ l.array(
|
|
18
20
|
/*#__PURE__*/ l.ref((() => FeedDefs.feedViewPost))),
|
|
19
21
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getTimeline.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/feed/getTimeline.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,QAAQ,MAAM,gBAAgB,CAAA;AAE1C,MAAM,KAAK,GAAG,2BAA2B,CAAA;AAIzC,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IAC5C,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC7D,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IAC7B,aAAa,CAAC,CAAC,CAAC,WAAW;IACzB,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,EACrD,EAAE,CACH,CACF;IACD,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"getTimeline.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/feed/getTimeline.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,c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,KAAK,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,CAAC,CAAA;AAE3D,OAAO,EAAE,IAAI,EAAE,CAAA;AAEf,MAAM,IAAI,GAAG,KAAK,CAAA;AAIlB,OAAO,EAAE,IAAI,EAAE,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as FeedDefs from './defs.defs.js'\n\nconst $nsid = 'app.bsky.feed.getTimeline'\n\ntype $nsid = typeof $nsid\n\nexport { $nsid }\n\nexport const $params = /*#__PURE__*/ l.params({\n algorithm: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),\n limit: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.withDefault(\n /*#__PURE__*/ l.integer({ minimum: 1, maximum: 100 }),\n 50,\n ),\n ),\n cursor: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),\n since: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),\n})\n\nexport type $Params = l.InferOutput<typeof $params>\n\nexport const $output = /*#__PURE__*/ l.jsonPayload({\n cursor: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),\n startCursor: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),\n feed: /*#__PURE__*/ l.array(\n /*#__PURE__*/ l.ref<FeedDefs.FeedViewPost>(\n (() => FeedDefs.feedViewPost) as any,\n ),\n ),\n})\n\nexport type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<\n typeof $output,\n B\n>\n\n/** Get a view of the requesting account's home timeline. This is expected to be some form of reverse-chronological feed. */\nconst main = /*#__PURE__*/ l.query($nsid, $params, $output)\n\nexport { main }\n\nconst $lxm = $nsid\n\ntype $lxm = typeof $lxm\n\nexport { $lxm }\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getGroupedNotifications.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/notification/getGroupedNotifications.ts"],"names":[],"mappings":"AAIA,cAAc,mCAAmC,CAAA;AACjD,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,mCAAmC,CAAA"}
|
|
@@ -0,0 +1,299 @@
|
|
|
1
|
+
import { l } from '@atproto/lex';
|
|
2
|
+
import * as ActorDefs from '../actor/defs.defs.js';
|
|
3
|
+
import * as FeedDefs from '../feed/defs.defs.js';
|
|
4
|
+
import * as GraphDefs from '../graph/defs.defs.js';
|
|
5
|
+
declare const $nsid = "app.bsky.notification.getGroupedNotifications";
|
|
6
|
+
type $nsid = typeof $nsid;
|
|
7
|
+
export { $nsid };
|
|
8
|
+
export declare const $params: l.ParamsSchema<{
|
|
9
|
+
readonly feed: l.OptionalSchema<l.WithDefaultSchema<l.StringSchema<{
|
|
10
|
+
maxLength: 32;
|
|
11
|
+
knownValues: ['all', 'people-i-follow', 'conversations', 'followers', 'activity'];
|
|
12
|
+
}>>>;
|
|
13
|
+
readonly limit: l.OptionalSchema<l.WithDefaultSchema<l.IntegerSchema>>;
|
|
14
|
+
readonly cursor: l.OptionalSchema<l.StringSchema<{
|
|
15
|
+
readonly maxLength: 1024;
|
|
16
|
+
}>>;
|
|
17
|
+
}>;
|
|
18
|
+
export type $Params = l.InferOutput<typeof $params>;
|
|
19
|
+
export declare const $output: l.Payload<"application/json", l.ObjectSchema<{
|
|
20
|
+
cursor: l.OptionalSchema<l.StringSchema<{
|
|
21
|
+
readonly maxLength: 1024;
|
|
22
|
+
}>>;
|
|
23
|
+
groups: l.ArraySchema<l.RefSchema<l.Validator<Group, Group>>>;
|
|
24
|
+
seenAt: l.OptionalSchema<l.StringSchema<{
|
|
25
|
+
readonly format: "datetime";
|
|
26
|
+
}>>;
|
|
27
|
+
relatedViews: l.OptionalSchema<l.ArraySchema<l.TypedUnionSchema<readonly [l.TypedRefSchema<l.TypedObjectValidator<ActorDefs.ProfileViewDetailed, ActorDefs.ProfileViewDetailed>>, l.TypedRefSchema<l.TypedObjectValidator<FeedDefs.BlockedPost, FeedDefs.BlockedPost>>, l.TypedRefSchema<l.TypedObjectValidator<FeedDefs.GeneratorView, FeedDefs.GeneratorView>>, l.TypedRefSchema<l.TypedObjectValidator<FeedDefs.NotFoundPost, FeedDefs.NotFoundPost>>, l.TypedRefSchema<l.TypedObjectValidator<FeedDefs.PostView, FeedDefs.PostView>>, l.TypedRefSchema<l.TypedObjectValidator<GraphDefs.StarterPackView, GraphDefs.StarterPackView>>], false>>>;
|
|
28
|
+
}>>;
|
|
29
|
+
export type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>;
|
|
30
|
+
export type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $output, B>;
|
|
31
|
+
/** [UNSTABLE - DO NOT USE THIS ENDPOINT WHILE THIS NOTE IS HERE] Enumerate notifications for the requesting account, pre-grouped for rendering. Supersedes listNotifications. Requires auth. */
|
|
32
|
+
declare const main: l.Query<"app.bsky.notification.getGroupedNotifications", l.ParamsSchema<{
|
|
33
|
+
readonly feed: l.OptionalSchema<l.WithDefaultSchema<l.StringSchema<{
|
|
34
|
+
maxLength: 32;
|
|
35
|
+
knownValues: ['all', 'people-i-follow', 'conversations', 'followers', 'activity'];
|
|
36
|
+
}>>>;
|
|
37
|
+
readonly limit: l.OptionalSchema<l.WithDefaultSchema<l.IntegerSchema>>;
|
|
38
|
+
readonly cursor: l.OptionalSchema<l.StringSchema<{
|
|
39
|
+
readonly maxLength: 1024;
|
|
40
|
+
}>>;
|
|
41
|
+
}>, l.Payload<"application/json", l.ObjectSchema<{
|
|
42
|
+
cursor: l.OptionalSchema<l.StringSchema<{
|
|
43
|
+
readonly maxLength: 1024;
|
|
44
|
+
}>>;
|
|
45
|
+
groups: l.ArraySchema<l.RefSchema<l.Validator<Group, Group>>>;
|
|
46
|
+
seenAt: l.OptionalSchema<l.StringSchema<{
|
|
47
|
+
readonly format: "datetime";
|
|
48
|
+
}>>;
|
|
49
|
+
relatedViews: l.OptionalSchema<l.ArraySchema<l.TypedUnionSchema<readonly [l.TypedRefSchema<l.TypedObjectValidator<ActorDefs.ProfileViewDetailed, ActorDefs.ProfileViewDetailed>>, l.TypedRefSchema<l.TypedObjectValidator<FeedDefs.BlockedPost, FeedDefs.BlockedPost>>, l.TypedRefSchema<l.TypedObjectValidator<FeedDefs.GeneratorView, FeedDefs.GeneratorView>>, l.TypedRefSchema<l.TypedObjectValidator<FeedDefs.NotFoundPost, FeedDefs.NotFoundPost>>, l.TypedRefSchema<l.TypedObjectValidator<FeedDefs.PostView, FeedDefs.PostView>>, l.TypedRefSchema<l.TypedObjectValidator<GraphDefs.StarterPackView, GraphDefs.StarterPackView>>], false>>>;
|
|
50
|
+
}>>, undefined>;
|
|
51
|
+
export { main };
|
|
52
|
+
declare const $lxm = "app.bsky.notification.getGroupedNotifications";
|
|
53
|
+
type $lxm = typeof $lxm;
|
|
54
|
+
export { $lxm };
|
|
55
|
+
/** Contains common metadata and kind-specific data for a notification group or individual notification. */
|
|
56
|
+
type Group = {
|
|
57
|
+
$type?: 'app.bsky.notification.getGroupedNotifications#group';
|
|
58
|
+
id: string;
|
|
59
|
+
isRead: boolean;
|
|
60
|
+
indexedAt: l.DatetimeString;
|
|
61
|
+
count: number;
|
|
62
|
+
kind: l.$Typed<LikeGroup> | l.$Typed<MultiPostLikeGroup> | l.$Typed<RepostGroup> | l.$Typed<LikeViaRepostGroup> | l.$Typed<RepostViaRepostGroup> | l.$Typed<FollowGroup> | l.$Typed<SubscribedPostGroup> | l.$Typed<GeneratorLikeGroup> | l.$Typed<ReplyNotification> | l.$Typed<QuoteNotification> | l.$Typed<MentionNotification> | l.$Typed<FollowBackNotification> | l.$Typed<VerifiedNotification> | l.$Typed<UnverifiedNotification> | l.$Typed<StarterPackJoinedNotification> | l.$Typed<ContactMatchNotification> | l.Unknown$TypedObject;
|
|
63
|
+
};
|
|
64
|
+
export type { Group };
|
|
65
|
+
/** Contains common metadata and kind-specific data for a notification group or individual notification. */
|
|
66
|
+
declare const group: l.TypedObjectSchema<"app.bsky.notification.getGroupedNotifications#group", l.Validator<Group, Group>>;
|
|
67
|
+
export { group };
|
|
68
|
+
/** Group of likes by different actors on the same post. */
|
|
69
|
+
type LikeGroup = {
|
|
70
|
+
$type?: 'app.bsky.notification.getGroupedNotifications#likeGroup';
|
|
71
|
+
post: l.AtUriString;
|
|
72
|
+
items: LikeItem[];
|
|
73
|
+
};
|
|
74
|
+
export type { LikeGroup };
|
|
75
|
+
/** Group of likes by different actors on the same post. */
|
|
76
|
+
declare const likeGroup: l.TypedObjectSchema<"app.bsky.notification.getGroupedNotifications#likeGroup", l.Validator<LikeGroup, LikeGroup>>;
|
|
77
|
+
export { likeGroup };
|
|
78
|
+
/** One actor who liked the group's post. */
|
|
79
|
+
type LikeItem = {
|
|
80
|
+
$type?: 'app.bsky.notification.getGroupedNotifications#likeItem';
|
|
81
|
+
actor: l.DidString;
|
|
82
|
+
};
|
|
83
|
+
export type { LikeItem };
|
|
84
|
+
/** One actor who liked the group's post. */
|
|
85
|
+
declare const likeItem: l.TypedObjectSchema<"app.bsky.notification.getGroupedNotifications#likeItem", l.Validator<LikeItem, LikeItem>>;
|
|
86
|
+
export { likeItem };
|
|
87
|
+
/** Group of likes by the same actor on different posts. */
|
|
88
|
+
type MultiPostLikeGroup = {
|
|
89
|
+
$type?: 'app.bsky.notification.getGroupedNotifications#multiPostLikeGroup';
|
|
90
|
+
actor: l.DidString;
|
|
91
|
+
items: MultiPostLikeItem[];
|
|
92
|
+
};
|
|
93
|
+
export type { MultiPostLikeGroup };
|
|
94
|
+
/** Group of likes by the same actor on different posts. */
|
|
95
|
+
declare const multiPostLikeGroup: l.TypedObjectSchema<"app.bsky.notification.getGroupedNotifications#multiPostLikeGroup", l.Validator<MultiPostLikeGroup, MultiPostLikeGroup>>;
|
|
96
|
+
export { multiPostLikeGroup };
|
|
97
|
+
/** One post which was liked by the group's actor. */
|
|
98
|
+
type MultiPostLikeItem = {
|
|
99
|
+
$type?: 'app.bsky.notification.getGroupedNotifications#multiPostLikeItem';
|
|
100
|
+
post: l.AtUriString;
|
|
101
|
+
};
|
|
102
|
+
export type { MultiPostLikeItem };
|
|
103
|
+
/** One post which was liked by the group's actor. */
|
|
104
|
+
declare const multiPostLikeItem: l.TypedObjectSchema<"app.bsky.notification.getGroupedNotifications#multiPostLikeItem", l.Validator<MultiPostLikeItem, MultiPostLikeItem>>;
|
|
105
|
+
export { multiPostLikeItem };
|
|
106
|
+
/** Group of reposts by different actors of the same post. */
|
|
107
|
+
type RepostGroup = {
|
|
108
|
+
$type?: 'app.bsky.notification.getGroupedNotifications#repostGroup';
|
|
109
|
+
post: l.AtUriString;
|
|
110
|
+
items: RepostItem[];
|
|
111
|
+
};
|
|
112
|
+
export type { RepostGroup };
|
|
113
|
+
/** Group of reposts by different actors of the same post. */
|
|
114
|
+
declare const repostGroup: l.TypedObjectSchema<"app.bsky.notification.getGroupedNotifications#repostGroup", l.Validator<RepostGroup, RepostGroup>>;
|
|
115
|
+
export { repostGroup };
|
|
116
|
+
/** One actor who reposted the group's post. */
|
|
117
|
+
type RepostItem = {
|
|
118
|
+
$type?: 'app.bsky.notification.getGroupedNotifications#repostItem';
|
|
119
|
+
actor: l.DidString;
|
|
120
|
+
};
|
|
121
|
+
export type { RepostItem };
|
|
122
|
+
/** One actor who reposted the group's post. */
|
|
123
|
+
declare const repostItem: l.TypedObjectSchema<"app.bsky.notification.getGroupedNotifications#repostItem", l.Validator<RepostItem, RepostItem>>;
|
|
124
|
+
export { repostItem };
|
|
125
|
+
/** Group of likes by different actors on the same post via the requesting account's repost. */
|
|
126
|
+
type LikeViaRepostGroup = {
|
|
127
|
+
$type?: 'app.bsky.notification.getGroupedNotifications#likeViaRepostGroup';
|
|
128
|
+
post: l.AtUriString;
|
|
129
|
+
viaRepost: l.AtUriString;
|
|
130
|
+
items: LikeViaRepostItem[];
|
|
131
|
+
};
|
|
132
|
+
export type { LikeViaRepostGroup };
|
|
133
|
+
/** Group of likes by different actors on the same post via the requesting account's repost. */
|
|
134
|
+
declare const likeViaRepostGroup: l.TypedObjectSchema<"app.bsky.notification.getGroupedNotifications#likeViaRepostGroup", l.Validator<LikeViaRepostGroup, LikeViaRepostGroup>>;
|
|
135
|
+
export { likeViaRepostGroup };
|
|
136
|
+
/** One actor who liked the group's post via the requesting account's repost. */
|
|
137
|
+
type LikeViaRepostItem = {
|
|
138
|
+
$type?: 'app.bsky.notification.getGroupedNotifications#likeViaRepostItem';
|
|
139
|
+
actor: l.DidString;
|
|
140
|
+
};
|
|
141
|
+
export type { LikeViaRepostItem };
|
|
142
|
+
/** One actor who liked the group's post via the requesting account's repost. */
|
|
143
|
+
declare const likeViaRepostItem: l.TypedObjectSchema<"app.bsky.notification.getGroupedNotifications#likeViaRepostItem", l.Validator<LikeViaRepostItem, LikeViaRepostItem>>;
|
|
144
|
+
export { likeViaRepostItem };
|
|
145
|
+
/** Group of reposts by different actors of the same post via the requesting account's repost. */
|
|
146
|
+
type RepostViaRepostGroup = {
|
|
147
|
+
$type?: 'app.bsky.notification.getGroupedNotifications#repostViaRepostGroup';
|
|
148
|
+
post: l.AtUriString;
|
|
149
|
+
viaRepost: l.AtUriString;
|
|
150
|
+
items: RepostViaRepostItem[];
|
|
151
|
+
};
|
|
152
|
+
export type { RepostViaRepostGroup };
|
|
153
|
+
/** Group of reposts by different actors of the same post via the requesting account's repost. */
|
|
154
|
+
declare const repostViaRepostGroup: l.TypedObjectSchema<"app.bsky.notification.getGroupedNotifications#repostViaRepostGroup", l.Validator<RepostViaRepostGroup, RepostViaRepostGroup>>;
|
|
155
|
+
export { repostViaRepostGroup };
|
|
156
|
+
/** One actor who reposted the group's post via the requesting account's repost. */
|
|
157
|
+
type RepostViaRepostItem = {
|
|
158
|
+
$type?: 'app.bsky.notification.getGroupedNotifications#repostViaRepostItem';
|
|
159
|
+
actor: l.DidString;
|
|
160
|
+
};
|
|
161
|
+
export type { RepostViaRepostItem };
|
|
162
|
+
/** One actor who reposted the group's post via the requesting account's repost. */
|
|
163
|
+
declare const repostViaRepostItem: l.TypedObjectSchema<"app.bsky.notification.getGroupedNotifications#repostViaRepostItem", l.Validator<RepostViaRepostItem, RepostViaRepostItem>>;
|
|
164
|
+
export { repostViaRepostItem };
|
|
165
|
+
/** Group of actors who followed the requesting account. */
|
|
166
|
+
type FollowGroup = {
|
|
167
|
+
$type?: 'app.bsky.notification.getGroupedNotifications#followGroup';
|
|
168
|
+
items: FollowItem[];
|
|
169
|
+
};
|
|
170
|
+
export type { FollowGroup };
|
|
171
|
+
/** Group of actors who followed the requesting account. */
|
|
172
|
+
declare const followGroup: l.TypedObjectSchema<"app.bsky.notification.getGroupedNotifications#followGroup", l.Validator<FollowGroup, FollowGroup>>;
|
|
173
|
+
export { followGroup };
|
|
174
|
+
/** An actor who followed the requesting account, possibly via a starter pack. */
|
|
175
|
+
type FollowItem = {
|
|
176
|
+
$type?: 'app.bsky.notification.getGroupedNotifications#followItem';
|
|
177
|
+
actor: l.DidString;
|
|
178
|
+
starterPack?: l.AtUriString;
|
|
179
|
+
};
|
|
180
|
+
export type { FollowItem };
|
|
181
|
+
/** An actor who followed the requesting account, possibly via a starter pack. */
|
|
182
|
+
declare const followItem: l.TypedObjectSchema<"app.bsky.notification.getGroupedNotifications#followItem", l.Validator<FollowItem, FollowItem>>;
|
|
183
|
+
export { followItem };
|
|
184
|
+
/** Group of new posts by actors the requesting account subscribes to. */
|
|
185
|
+
type SubscribedPostGroup = {
|
|
186
|
+
$type?: 'app.bsky.notification.getGroupedNotifications#subscribedPostGroup';
|
|
187
|
+
items: SubscribedPostItem[];
|
|
188
|
+
};
|
|
189
|
+
export type { SubscribedPostGroup };
|
|
190
|
+
/** Group of new posts by actors the requesting account subscribes to. */
|
|
191
|
+
declare const subscribedPostGroup: l.TypedObjectSchema<"app.bsky.notification.getGroupedNotifications#subscribedPostGroup", l.Validator<SubscribedPostGroup, SubscribedPostGroup>>;
|
|
192
|
+
export { subscribedPostGroup };
|
|
193
|
+
/** One new post by an actor the requesting account subscribes to. */
|
|
194
|
+
type SubscribedPostItem = {
|
|
195
|
+
$type?: 'app.bsky.notification.getGroupedNotifications#subscribedPostItem';
|
|
196
|
+
actor: l.DidString;
|
|
197
|
+
post: l.AtUriString;
|
|
198
|
+
};
|
|
199
|
+
export type { SubscribedPostItem };
|
|
200
|
+
/** One new post by an actor the requesting account subscribes to. */
|
|
201
|
+
declare const subscribedPostItem: l.TypedObjectSchema<"app.bsky.notification.getGroupedNotifications#subscribedPostItem", l.Validator<SubscribedPostItem, SubscribedPostItem>>;
|
|
202
|
+
export { subscribedPostItem };
|
|
203
|
+
/** Group of likes by different actors on the same feed generator. */
|
|
204
|
+
type GeneratorLikeGroup = {
|
|
205
|
+
$type?: 'app.bsky.notification.getGroupedNotifications#generatorLikeGroup';
|
|
206
|
+
generator: l.AtUriString;
|
|
207
|
+
items: GeneratorLikeItem[];
|
|
208
|
+
};
|
|
209
|
+
export type { GeneratorLikeGroup };
|
|
210
|
+
/** Group of likes by different actors on the same feed generator. */
|
|
211
|
+
declare const generatorLikeGroup: l.TypedObjectSchema<"app.bsky.notification.getGroupedNotifications#generatorLikeGroup", l.Validator<GeneratorLikeGroup, GeneratorLikeGroup>>;
|
|
212
|
+
export { generatorLikeGroup };
|
|
213
|
+
/** One actor who liked the feed generator in the group. */
|
|
214
|
+
type GeneratorLikeItem = {
|
|
215
|
+
$type?: 'app.bsky.notification.getGroupedNotifications#generatorLikeItem';
|
|
216
|
+
actor: l.DidString;
|
|
217
|
+
};
|
|
218
|
+
export type { GeneratorLikeItem };
|
|
219
|
+
/** One actor who liked the feed generator in the group. */
|
|
220
|
+
declare const generatorLikeItem: l.TypedObjectSchema<"app.bsky.notification.getGroupedNotifications#generatorLikeItem", l.Validator<GeneratorLikeItem, GeneratorLikeItem>>;
|
|
221
|
+
export { generatorLikeItem };
|
|
222
|
+
/** A reply to a post by the requesting account or to a thread they are participating in. */
|
|
223
|
+
type ReplyNotification = {
|
|
224
|
+
$type?: 'app.bsky.notification.getGroupedNotifications#replyNotification';
|
|
225
|
+
post: l.AtUriString;
|
|
226
|
+
parent: l.AtUriString;
|
|
227
|
+
};
|
|
228
|
+
export type { ReplyNotification };
|
|
229
|
+
/** A reply to a post by the requesting account or to a thread they are participating in. */
|
|
230
|
+
declare const replyNotification: l.TypedObjectSchema<"app.bsky.notification.getGroupedNotifications#replyNotification", l.Validator<ReplyNotification, ReplyNotification>>;
|
|
231
|
+
export { replyNotification };
|
|
232
|
+
/** A post quoting a post by the requesting account. */
|
|
233
|
+
type QuoteNotification = {
|
|
234
|
+
$type?: 'app.bsky.notification.getGroupedNotifications#quoteNotification';
|
|
235
|
+
post: l.AtUriString;
|
|
236
|
+
parent?: l.AtUriString;
|
|
237
|
+
};
|
|
238
|
+
export type { QuoteNotification };
|
|
239
|
+
/** A post quoting a post by the requesting account. */
|
|
240
|
+
declare const quoteNotification: l.TypedObjectSchema<"app.bsky.notification.getGroupedNotifications#quoteNotification", l.Validator<QuoteNotification, QuoteNotification>>;
|
|
241
|
+
export { quoteNotification };
|
|
242
|
+
/** A post mentioning the requesting account. */
|
|
243
|
+
type MentionNotification = {
|
|
244
|
+
$type?: 'app.bsky.notification.getGroupedNotifications#mentionNotification';
|
|
245
|
+
post: l.AtUriString;
|
|
246
|
+
parent?: l.AtUriString;
|
|
247
|
+
};
|
|
248
|
+
export type { MentionNotification };
|
|
249
|
+
/** A post mentioning the requesting account. */
|
|
250
|
+
declare const mentionNotification: l.TypedObjectSchema<"app.bsky.notification.getGroupedNotifications#mentionNotification", l.Validator<MentionNotification, MentionNotification>>;
|
|
251
|
+
export { mentionNotification };
|
|
252
|
+
/** An actor followed the requesting account back, possibly via a starter pack. */
|
|
253
|
+
type FollowBackNotification = {
|
|
254
|
+
$type?: 'app.bsky.notification.getGroupedNotifications#followBackNotification';
|
|
255
|
+
actor: l.DidString;
|
|
256
|
+
starterPack?: l.AtUriString;
|
|
257
|
+
};
|
|
258
|
+
export type { FollowBackNotification };
|
|
259
|
+
/** An actor followed the requesting account back, possibly via a starter pack. */
|
|
260
|
+
declare const followBackNotification: l.TypedObjectSchema<"app.bsky.notification.getGroupedNotifications#followBackNotification", l.Validator<FollowBackNotification, FollowBackNotification>>;
|
|
261
|
+
export { followBackNotification };
|
|
262
|
+
/** An actor verified the requesting account. */
|
|
263
|
+
type VerifiedNotification = {
|
|
264
|
+
$type?: 'app.bsky.notification.getGroupedNotifications#verifiedNotification';
|
|
265
|
+
actor: l.DidString;
|
|
266
|
+
};
|
|
267
|
+
export type { VerifiedNotification };
|
|
268
|
+
/** An actor verified the requesting account. */
|
|
269
|
+
declare const verifiedNotification: l.TypedObjectSchema<"app.bsky.notification.getGroupedNotifications#verifiedNotification", l.Validator<VerifiedNotification, VerifiedNotification>>;
|
|
270
|
+
export { verifiedNotification };
|
|
271
|
+
/** A verification of the requesting account was removed. */
|
|
272
|
+
type UnverifiedNotification = {
|
|
273
|
+
$type?: 'app.bsky.notification.getGroupedNotifications#unverifiedNotification';
|
|
274
|
+
actor: l.DidString;
|
|
275
|
+
};
|
|
276
|
+
export type { UnverifiedNotification };
|
|
277
|
+
/** A verification of the requesting account was removed. */
|
|
278
|
+
declare const unverifiedNotification: l.TypedObjectSchema<"app.bsky.notification.getGroupedNotifications#unverifiedNotification", l.Validator<UnverifiedNotification, UnverifiedNotification>>;
|
|
279
|
+
export { unverifiedNotification };
|
|
280
|
+
/** An actor joined Bluesky via a starter pack created by the requesting account. */
|
|
281
|
+
type StarterPackJoinedNotification = {
|
|
282
|
+
$type?: 'app.bsky.notification.getGroupedNotifications#starterPackJoinedNotification';
|
|
283
|
+
actor: l.DidString;
|
|
284
|
+
starterPack: l.AtUriString;
|
|
285
|
+
};
|
|
286
|
+
export type { StarterPackJoinedNotification };
|
|
287
|
+
/** An actor joined Bluesky via a starter pack created by the requesting account. */
|
|
288
|
+
declare const starterPackJoinedNotification: l.TypedObjectSchema<"app.bsky.notification.getGroupedNotifications#starterPackJoinedNotification", l.Validator<StarterPackJoinedNotification, StarterPackJoinedNotification>>;
|
|
289
|
+
export { starterPackJoinedNotification };
|
|
290
|
+
/** A contact of the requesting account joined Bluesky. */
|
|
291
|
+
type ContactMatchNotification = {
|
|
292
|
+
$type?: 'app.bsky.notification.getGroupedNotifications#contactMatchNotification';
|
|
293
|
+
actor: l.DidString;
|
|
294
|
+
};
|
|
295
|
+
export type { ContactMatchNotification };
|
|
296
|
+
/** A contact of the requesting account joined Bluesky. */
|
|
297
|
+
declare const contactMatchNotification: l.TypedObjectSchema<"app.bsky.notification.getGroupedNotifications#contactMatchNotification", l.Validator<ContactMatchNotification, ContactMatchNotification>>;
|
|
298
|
+
export { contactMatchNotification };
|
|
299
|
+
//# sourceMappingURL=getGroupedNotifications.defs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getGroupedNotifications.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/notification/getGroupedNotifications.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,SAAS,MAAM,uBAAuB,CAAA;AAClD,OAAO,KAAK,QAAQ,MAAM,sBAAsB,CAAA;AAChD,OAAO,KAAK,SAAS,MAAM,uBAAuB,CAAA;AAElD,QAAA,MAAM,KAAK,kDAAkD,CAAA;AAE7D,KAAK,KAAK,GAAG,OAAO,KAAK,CAAA;AAEzB,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,eAAO,MAAM,OAAO;;mBAID,EAAE;qBACA,CACX,KAAK,EACL,iBAAiB,EACjB,eAAe,EACf,WAAW,EACX,UAAU,CACX;;;;;;EAYP,CAAA;AAEF,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,OAAO,CAAC,CAAA;AAEnD,eAAO,MAAM,OAAO;;;;;;;;;GAmClB,CAAA;AAEF,MAAM,MAAM,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,UAA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1
|
+
/*
|
|
2
|
+
* THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import { l } from '@atproto/lex';
|
|
5
|
+
import * as ActorDefs from '../actor/defs.defs.js';
|
|
6
|
+
import * as FeedDefs from '../feed/defs.defs.js';
|
|
7
|
+
import * as GraphDefs from '../graph/defs.defs.js';
|
|
8
|
+
const $nsid = 'app.bsky.notification.getGroupedNotifications';
|
|
9
|
+
export { $nsid };
|
|
10
|
+
export const $params = /*#__PURE__*/ l.params({
|
|
11
|
+
feed: /*#__PURE__*/ l.optional(
|
|
12
|
+
/*#__PURE__*/ l.withDefault(
|
|
13
|
+
/*#__PURE__*/ l.string({ maxLength: 32 }), 'all')),
|
|
14
|
+
limit: /*#__PURE__*/ l.optional(
|
|
15
|
+
/*#__PURE__*/ l.withDefault(
|
|
16
|
+
/*#__PURE__*/ l.integer({ minimum: 1, maximum: 50 }), 30)),
|
|
17
|
+
cursor: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ maxLength: 1024 })),
|
|
18
|
+
});
|
|
19
|
+
export const $output = /*#__PURE__*/ l.jsonPayload({
|
|
20
|
+
cursor: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ maxLength: 1024 })),
|
|
21
|
+
groups: /*#__PURE__*/ l.array(
|
|
22
|
+
/*#__PURE__*/ l.ref((() => group))),
|
|
23
|
+
seenAt: /*#__PURE__*/ l.optional(
|
|
24
|
+
/*#__PURE__*/ l.string({ format: 'datetime' })),
|
|
25
|
+
relatedViews: /*#__PURE__*/ l.optional(
|
|
26
|
+
/*#__PURE__*/ l.array(
|
|
27
|
+
/*#__PURE__*/ l.typedUnion([
|
|
28
|
+
/*#__PURE__*/ l.typedRef((() => ActorDefs.profileViewDetailed)),
|
|
29
|
+
/*#__PURE__*/ l.typedRef((() => FeedDefs.blockedPost)),
|
|
30
|
+
/*#__PURE__*/ l.typedRef((() => FeedDefs.generatorView)),
|
|
31
|
+
/*#__PURE__*/ l.typedRef((() => FeedDefs.notFoundPost)),
|
|
32
|
+
/*#__PURE__*/ l.typedRef((() => FeedDefs.postView)),
|
|
33
|
+
/*#__PURE__*/ l.typedRef((() => GraphDefs.starterPackView)),
|
|
34
|
+
], false))),
|
|
35
|
+
});
|
|
36
|
+
/** [UNSTABLE - DO NOT USE THIS ENDPOINT WHILE THIS NOTE IS HERE] Enumerate notifications for the requesting account, pre-grouped for rendering. Supersedes listNotifications. Requires auth. */
|
|
37
|
+
const main = /*#__PURE__*/ l.query($nsid, $params, $output);
|
|
38
|
+
export { main };
|
|
39
|
+
const $lxm = $nsid;
|
|
40
|
+
export { $lxm };
|
|
41
|
+
/** Contains common metadata and kind-specific data for a notification group or individual notification. */
|
|
42
|
+
const group = /*#__PURE__*/ l.typedObject($nsid, 'group',
|
|
43
|
+
/*#__PURE__*/ l.object({
|
|
44
|
+
id: /*#__PURE__*/ l.string({ maxLength: 256 }),
|
|
45
|
+
isRead: /*#__PURE__*/ l.boolean(),
|
|
46
|
+
indexedAt: /*#__PURE__*/ l.string({ format: 'datetime' }),
|
|
47
|
+
count: /*#__PURE__*/ l.integer({ minimum: 1 }),
|
|
48
|
+
kind: /*#__PURE__*/ l.typedUnion([
|
|
49
|
+
/*#__PURE__*/ l.typedRef((() => likeGroup)),
|
|
50
|
+
/*#__PURE__*/ l.typedRef((() => multiPostLikeGroup)),
|
|
51
|
+
/*#__PURE__*/ l.typedRef((() => repostGroup)),
|
|
52
|
+
/*#__PURE__*/ l.typedRef((() => likeViaRepostGroup)),
|
|
53
|
+
/*#__PURE__*/ l.typedRef((() => repostViaRepostGroup)),
|
|
54
|
+
/*#__PURE__*/ l.typedRef((() => followGroup)),
|
|
55
|
+
/*#__PURE__*/ l.typedRef((() => subscribedPostGroup)),
|
|
56
|
+
/*#__PURE__*/ l.typedRef((() => generatorLikeGroup)),
|
|
57
|
+
/*#__PURE__*/ l.typedRef((() => replyNotification)),
|
|
58
|
+
/*#__PURE__*/ l.typedRef((() => quoteNotification)),
|
|
59
|
+
/*#__PURE__*/ l.typedRef((() => mentionNotification)),
|
|
60
|
+
/*#__PURE__*/ l.typedRef((() => followBackNotification)),
|
|
61
|
+
/*#__PURE__*/ l.typedRef((() => verifiedNotification)),
|
|
62
|
+
/*#__PURE__*/ l.typedRef((() => unverifiedNotification)),
|
|
63
|
+
/*#__PURE__*/ l.typedRef((() => starterPackJoinedNotification)),
|
|
64
|
+
/*#__PURE__*/ l.typedRef((() => contactMatchNotification)),
|
|
65
|
+
], false),
|
|
66
|
+
}));
|
|
67
|
+
export { group };
|
|
68
|
+
/** Group of likes by different actors on the same post. */
|
|
69
|
+
const likeGroup = /*#__PURE__*/ l.typedObject($nsid, 'likeGroup',
|
|
70
|
+
/*#__PURE__*/ l.object({
|
|
71
|
+
post: /*#__PURE__*/ l.string({ format: 'at-uri' }),
|
|
72
|
+
items: /*#__PURE__*/ l.array(
|
|
73
|
+
/*#__PURE__*/ l.ref((() => likeItem)), { minLength: 1 }),
|
|
74
|
+
}));
|
|
75
|
+
export { likeGroup };
|
|
76
|
+
/** One actor who liked the group's post. */
|
|
77
|
+
const likeItem = /*#__PURE__*/ l.typedObject($nsid, 'likeItem',
|
|
78
|
+
/*#__PURE__*/ l.object({ actor: /*#__PURE__*/ l.string({ format: 'did' }) }));
|
|
79
|
+
export { likeItem };
|
|
80
|
+
/** Group of likes by the same actor on different posts. */
|
|
81
|
+
const multiPostLikeGroup = /*#__PURE__*/ l.typedObject($nsid, 'multiPostLikeGroup',
|
|
82
|
+
/*#__PURE__*/ l.object({
|
|
83
|
+
actor: /*#__PURE__*/ l.string({ format: 'did' }),
|
|
84
|
+
items: /*#__PURE__*/ l.array(
|
|
85
|
+
/*#__PURE__*/ l.ref((() => multiPostLikeItem)), { minLength: 2 }),
|
|
86
|
+
}));
|
|
87
|
+
export { multiPostLikeGroup };
|
|
88
|
+
/** One post which was liked by the group's actor. */
|
|
89
|
+
const multiPostLikeItem = /*#__PURE__*/ l.typedObject($nsid, 'multiPostLikeItem',
|
|
90
|
+
/*#__PURE__*/ l.object({
|
|
91
|
+
post: /*#__PURE__*/ l.string({ format: 'at-uri' }),
|
|
92
|
+
}));
|
|
93
|
+
export { multiPostLikeItem };
|
|
94
|
+
/** Group of reposts by different actors of the same post. */
|
|
95
|
+
const repostGroup = /*#__PURE__*/ l.typedObject($nsid, 'repostGroup',
|
|
96
|
+
/*#__PURE__*/ l.object({
|
|
97
|
+
post: /*#__PURE__*/ l.string({ format: 'at-uri' }),
|
|
98
|
+
items: /*#__PURE__*/ l.array(
|
|
99
|
+
/*#__PURE__*/ l.ref((() => repostItem)), { minLength: 1 }),
|
|
100
|
+
}));
|
|
101
|
+
export { repostGroup };
|
|
102
|
+
/** One actor who reposted the group's post. */
|
|
103
|
+
const repostItem = /*#__PURE__*/ l.typedObject($nsid, 'repostItem',
|
|
104
|
+
/*#__PURE__*/ l.object({ actor: /*#__PURE__*/ l.string({ format: 'did' }) }));
|
|
105
|
+
export { repostItem };
|
|
106
|
+
/** Group of likes by different actors on the same post via the requesting account's repost. */
|
|
107
|
+
const likeViaRepostGroup = /*#__PURE__*/ l.typedObject($nsid, 'likeViaRepostGroup',
|
|
108
|
+
/*#__PURE__*/ l.object({
|
|
109
|
+
post: /*#__PURE__*/ l.string({ format: 'at-uri' }),
|
|
110
|
+
viaRepost: /*#__PURE__*/ l.string({ format: 'at-uri' }),
|
|
111
|
+
items: /*#__PURE__*/ l.array(
|
|
112
|
+
/*#__PURE__*/ l.ref((() => likeViaRepostItem)), { minLength: 1 }),
|
|
113
|
+
}));
|
|
114
|
+
export { likeViaRepostGroup };
|
|
115
|
+
/** One actor who liked the group's post via the requesting account's repost. */
|
|
116
|
+
const likeViaRepostItem = /*#__PURE__*/ l.typedObject($nsid, 'likeViaRepostItem',
|
|
117
|
+
/*#__PURE__*/ l.object({ actor: /*#__PURE__*/ l.string({ format: 'did' }) }));
|
|
118
|
+
export { likeViaRepostItem };
|
|
119
|
+
/** Group of reposts by different actors of the same post via the requesting account's repost. */
|
|
120
|
+
const repostViaRepostGroup = /*#__PURE__*/ l.typedObject($nsid, 'repostViaRepostGroup',
|
|
121
|
+
/*#__PURE__*/ l.object({
|
|
122
|
+
post: /*#__PURE__*/ l.string({ format: 'at-uri' }),
|
|
123
|
+
viaRepost: /*#__PURE__*/ l.string({ format: 'at-uri' }),
|
|
124
|
+
items: /*#__PURE__*/ l.array(
|
|
125
|
+
/*#__PURE__*/ l.ref((() => repostViaRepostItem)), { minLength: 1 }),
|
|
126
|
+
}));
|
|
127
|
+
export { repostViaRepostGroup };
|
|
128
|
+
/** One actor who reposted the group's post via the requesting account's repost. */
|
|
129
|
+
const repostViaRepostItem = /*#__PURE__*/ l.typedObject($nsid, 'repostViaRepostItem',
|
|
130
|
+
/*#__PURE__*/ l.object({ actor: /*#__PURE__*/ l.string({ format: 'did' }) }));
|
|
131
|
+
export { repostViaRepostItem };
|
|
132
|
+
/** Group of actors who followed the requesting account. */
|
|
133
|
+
const followGroup = /*#__PURE__*/ l.typedObject($nsid, 'followGroup',
|
|
134
|
+
/*#__PURE__*/ l.object({
|
|
135
|
+
items: /*#__PURE__*/ l.array(
|
|
136
|
+
/*#__PURE__*/ l.ref((() => followItem)), { minLength: 1 }),
|
|
137
|
+
}));
|
|
138
|
+
export { followGroup };
|
|
139
|
+
/** An actor who followed the requesting account, possibly via a starter pack. */
|
|
140
|
+
const followItem = /*#__PURE__*/ l.typedObject($nsid, 'followItem',
|
|
141
|
+
/*#__PURE__*/ l.object({
|
|
142
|
+
actor: /*#__PURE__*/ l.string({ format: 'did' }),
|
|
143
|
+
starterPack: /*#__PURE__*/ l.optional(
|
|
144
|
+
/*#__PURE__*/ l.string({ format: 'at-uri' })),
|
|
145
|
+
}));
|
|
146
|
+
export { followItem };
|
|
147
|
+
/** Group of new posts by actors the requesting account subscribes to. */
|
|
148
|
+
const subscribedPostGroup = /*#__PURE__*/ l.typedObject($nsid, 'subscribedPostGroup',
|
|
149
|
+
/*#__PURE__*/ l.object({
|
|
150
|
+
items: /*#__PURE__*/ l.array(
|
|
151
|
+
/*#__PURE__*/ l.ref((() => subscribedPostItem)), { minLength: 1 }),
|
|
152
|
+
}));
|
|
153
|
+
export { subscribedPostGroup };
|
|
154
|
+
/** One new post by an actor the requesting account subscribes to. */
|
|
155
|
+
const subscribedPostItem = /*#__PURE__*/ l.typedObject($nsid, 'subscribedPostItem',
|
|
156
|
+
/*#__PURE__*/ l.object({
|
|
157
|
+
actor: /*#__PURE__*/ l.string({ format: 'did' }),
|
|
158
|
+
post: /*#__PURE__*/ l.string({ format: 'at-uri' }),
|
|
159
|
+
}));
|
|
160
|
+
export { subscribedPostItem };
|
|
161
|
+
/** Group of likes by different actors on the same feed generator. */
|
|
162
|
+
const generatorLikeGroup = /*#__PURE__*/ l.typedObject($nsid, 'generatorLikeGroup',
|
|
163
|
+
/*#__PURE__*/ l.object({
|
|
164
|
+
generator: /*#__PURE__*/ l.string({ format: 'at-uri' }),
|
|
165
|
+
items: /*#__PURE__*/ l.array(
|
|
166
|
+
/*#__PURE__*/ l.ref((() => generatorLikeItem)), { minLength: 1 }),
|
|
167
|
+
}));
|
|
168
|
+
export { generatorLikeGroup };
|
|
169
|
+
/** One actor who liked the feed generator in the group. */
|
|
170
|
+
const generatorLikeItem = /*#__PURE__*/ l.typedObject($nsid, 'generatorLikeItem',
|
|
171
|
+
/*#__PURE__*/ l.object({ actor: /*#__PURE__*/ l.string({ format: 'did' }) }));
|
|
172
|
+
export { generatorLikeItem };
|
|
173
|
+
/** A reply to a post by the requesting account or to a thread they are participating in. */
|
|
174
|
+
const replyNotification = /*#__PURE__*/ l.typedObject($nsid, 'replyNotification',
|
|
175
|
+
/*#__PURE__*/ l.object({
|
|
176
|
+
post: /*#__PURE__*/ l.string({ format: 'at-uri' }),
|
|
177
|
+
parent: /*#__PURE__*/ l.string({ format: 'at-uri' }),
|
|
178
|
+
}));
|
|
179
|
+
export { replyNotification };
|
|
180
|
+
/** A post quoting a post by the requesting account. */
|
|
181
|
+
const quoteNotification = /*#__PURE__*/ l.typedObject($nsid, 'quoteNotification',
|
|
182
|
+
/*#__PURE__*/ l.object({
|
|
183
|
+
post: /*#__PURE__*/ l.string({ format: 'at-uri' }),
|
|
184
|
+
parent: /*#__PURE__*/ l.optional(
|
|
185
|
+
/*#__PURE__*/ l.string({ format: 'at-uri' })),
|
|
186
|
+
}));
|
|
187
|
+
export { quoteNotification };
|
|
188
|
+
/** A post mentioning the requesting account. */
|
|
189
|
+
const mentionNotification = /*#__PURE__*/ l.typedObject($nsid, 'mentionNotification',
|
|
190
|
+
/*#__PURE__*/ l.object({
|
|
191
|
+
post: /*#__PURE__*/ l.string({ format: 'at-uri' }),
|
|
192
|
+
parent: /*#__PURE__*/ l.optional(
|
|
193
|
+
/*#__PURE__*/ l.string({ format: 'at-uri' })),
|
|
194
|
+
}));
|
|
195
|
+
export { mentionNotification };
|
|
196
|
+
/** An actor followed the requesting account back, possibly via a starter pack. */
|
|
197
|
+
const followBackNotification =
|
|
198
|
+
/*#__PURE__*/ l.typedObject($nsid, 'followBackNotification',
|
|
199
|
+
/*#__PURE__*/ l.object({
|
|
200
|
+
actor: /*#__PURE__*/ l.string({ format: 'did' }),
|
|
201
|
+
starterPack: /*#__PURE__*/ l.optional(
|
|
202
|
+
/*#__PURE__*/ l.string({ format: 'at-uri' })),
|
|
203
|
+
}));
|
|
204
|
+
export { followBackNotification };
|
|
205
|
+
/** An actor verified the requesting account. */
|
|
206
|
+
const verifiedNotification = /*#__PURE__*/ l.typedObject($nsid, 'verifiedNotification',
|
|
207
|
+
/*#__PURE__*/ l.object({ actor: /*#__PURE__*/ l.string({ format: 'did' }) }));
|
|
208
|
+
export { verifiedNotification };
|
|
209
|
+
/** A verification of the requesting account was removed. */
|
|
210
|
+
const unverifiedNotification =
|
|
211
|
+
/*#__PURE__*/ l.typedObject($nsid, 'unverifiedNotification',
|
|
212
|
+
/*#__PURE__*/ l.object({
|
|
213
|
+
actor: /*#__PURE__*/ l.string({ format: 'did' }),
|
|
214
|
+
}));
|
|
215
|
+
export { unverifiedNotification };
|
|
216
|
+
/** An actor joined Bluesky via a starter pack created by the requesting account. */
|
|
217
|
+
const starterPackJoinedNotification =
|
|
218
|
+
/*#__PURE__*/ l.typedObject($nsid, 'starterPackJoinedNotification',
|
|
219
|
+
/*#__PURE__*/ l.object({
|
|
220
|
+
actor: /*#__PURE__*/ l.string({ format: 'did' }),
|
|
221
|
+
starterPack: /*#__PURE__*/ l.string({ format: 'at-uri' }),
|
|
222
|
+
}));
|
|
223
|
+
export { starterPackJoinedNotification };
|
|
224
|
+
/** A contact of the requesting account joined Bluesky. */
|
|
225
|
+
const contactMatchNotification =
|
|
226
|
+
/*#__PURE__*/ l.typedObject($nsid, 'contactMatchNotification',
|
|
227
|
+
/*#__PURE__*/ l.object({
|
|
228
|
+
actor: /*#__PURE__*/ l.string({ format: 'did' }),
|
|
229
|
+
}));
|
|
230
|
+
export { contactMatchNotification };
|
|
231
|
+
//# sourceMappingURL=getGroupedNotifications.defs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getGroupedNotifications.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/notification/getGroupedNotifications.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,SAAS,MAAM,uBAAuB,CAAA;AAClD,OAAO,KAAK,QAAQ,MAAM,sBAAsB,CAAA;AAChD,OAAO,KAAK,SAAS,MAAM,uBAAuB,CAAA;AAElD,MAAM,KAAK,GAAG,+CAA+C,CAAA;AAI7D,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IAC5C,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IAC5B,aAAa,CAAC,CAAC,CAAC,WAAW;IACzB,aAAa,CAAC,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AAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC;CACjD,CAAC,CACH,CAAA;AAEH,OAAO,EAAE,sBAAsB,EAAE,CAAA;AAWjC,oFAAoF;AACpF,MAAM,6BAA6B;AACjC,aAAa,CAAC,CAAC,CAAC,WAAW,CACzB,KAAK,EACL,+BAA+B;AAC/B,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IACrB,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC;IAChD,WAAW,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;CAC1D,CAAC,CACH,CAAA;AAEH,OAAO,EAAE,6BAA6B,EAAE,CAAA;AAUxC,0DAA0D;AAC1D,MAAM,wBAAwB;AAC5B,aAAa,CAAC,CAAC,CAAC,WAAW,CACzB,KAAK,EACL,0BAA0B;AAC1B,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IACrB,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC;CACjD,CAAC,CACH,CAAA;AAEH,OAAO,EAAE,wBAAwB,EAAE,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as ActorDefs from '../actor/defs.defs.js'\nimport * as FeedDefs from '../feed/defs.defs.js'\nimport * as GraphDefs from '../graph/defs.defs.js'\n\nconst $nsid = 'app.bsky.notification.getGroupedNotifications'\n\ntype $nsid = typeof $nsid\n\nexport { $nsid }\n\nexport const $params = /*#__PURE__*/ l.params({\n feed: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.withDefault(\n /*#__PURE__*/ l.string<{\n maxLength: 32\n knownValues: [\n 'all',\n 'people-i-follow',\n 'conversations',\n 'followers',\n 'activity',\n ]\n }>({ maxLength: 32 }),\n 'all',\n ),\n ),\n limit: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.withDefault(\n /*#__PURE__*/ l.integer({ minimum: 1, maximum: 50 }),\n 30,\n ),\n ),\n cursor: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ maxLength: 1024 })),\n})\n\nexport type $Params = l.InferOutput<typeof $params>\n\nexport const $output = /*#__PURE__*/ l.jsonPayload({\n cursor: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ maxLength: 1024 })),\n groups: /*#__PURE__*/ l.array(\n /*#__PURE__*/ l.ref<Group>((() => group) as any),\n ),\n seenAt: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.string({ format: 'datetime' }),\n ),\n relatedViews: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.array(\n /*#__PURE__*/ l.typedUnion(\n [\n /*#__PURE__*/ l.typedRef<ActorDefs.ProfileViewDetailed>(\n (() => ActorDefs.profileViewDetailed) as any,\n ),\n /*#__PURE__*/ l.typedRef<FeedDefs.BlockedPost>(\n (() => FeedDefs.blockedPost) as any,\n ),\n /*#__PURE__*/ l.typedRef<FeedDefs.GeneratorView>(\n (() => FeedDefs.generatorView) as any,\n ),\n /*#__PURE__*/ l.typedRef<FeedDefs.NotFoundPost>(\n (() => FeedDefs.notFoundPost) as any,\n ),\n /*#__PURE__*/ l.typedRef<FeedDefs.PostView>(\n (() => FeedDefs.postView) as any,\n ),\n /*#__PURE__*/ l.typedRef<GraphDefs.StarterPackView>(\n (() => GraphDefs.starterPackView) as any,\n ),\n ],\n false,\n ),\n ),\n ),\n})\n\nexport type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<\n typeof $output,\n B\n>\n\n/** [UNSTABLE - DO NOT USE THIS ENDPOINT WHILE THIS NOTE IS HERE] Enumerate notifications for the requesting account, pre-grouped for rendering. Supersedes listNotifications. Requires auth. */\nconst main = /*#__PURE__*/ l.query($nsid, $params, $output)\n\nexport { main }\n\nconst $lxm = $nsid\n\ntype $lxm = typeof $lxm\n\nexport { $lxm }\n\n/** Contains common metadata and kind-specific data for a notification group or individual notification. */\ntype Group = {\n $type?: 'app.bsky.notification.getGroupedNotifications#group'\n id: string\n isRead: boolean\n indexedAt: l.DatetimeString\n count: number\n kind:\n | l.$Typed<LikeGroup>\n | l.$Typed<MultiPostLikeGroup>\n | l.$Typed<RepostGroup>\n | l.$Typed<LikeViaRepostGroup>\n | l.$Typed<RepostViaRepostGroup>\n | l.$Typed<FollowGroup>\n | l.$Typed<SubscribedPostGroup>\n | l.$Typed<GeneratorLikeGroup>\n | l.$Typed<ReplyNotification>\n | l.$Typed<QuoteNotification>\n | l.$Typed<MentionNotification>\n | l.$Typed<FollowBackNotification>\n | l.$Typed<VerifiedNotification>\n | l.$Typed<UnverifiedNotification>\n | l.$Typed<StarterPackJoinedNotification>\n | l.$Typed<ContactMatchNotification>\n | l.Unknown$TypedObject\n}\n\nexport type { Group }\n\n/** Contains common metadata and kind-specific data for a notification group or individual notification. */\nconst group = /*#__PURE__*/ l.typedObject<Group>(\n $nsid,\n 'group',\n /*#__PURE__*/ l.object({\n id: /*#__PURE__*/ l.string({ maxLength: 256 }),\n isRead: /*#__PURE__*/ l.boolean(),\n indexedAt: /*#__PURE__*/ l.string({ format: 'datetime' }),\n count: /*#__PURE__*/ l.integer({ minimum: 1 }),\n kind: /*#__PURE__*/ l.typedUnion(\n [\n /*#__PURE__*/ l.typedRef<LikeGroup>((() => likeGroup) as any),\n /*#__PURE__*/ l.typedRef<MultiPostLikeGroup>(\n (() => multiPostLikeGroup) as any,\n ),\n /*#__PURE__*/ l.typedRef<RepostGroup>((() => repostGroup) as any),\n /*#__PURE__*/ l.typedRef<LikeViaRepostGroup>(\n (() => likeViaRepostGroup) as any,\n ),\n /*#__PURE__*/ l.typedRef<RepostViaRepostGroup>(\n (() => repostViaRepostGroup) as any,\n ),\n /*#__PURE__*/ l.typedRef<FollowGroup>((() => followGroup) as any),\n /*#__PURE__*/ l.typedRef<SubscribedPostGroup>(\n (() => subscribedPostGroup) as any,\n ),\n /*#__PURE__*/ l.typedRef<GeneratorLikeGroup>(\n (() => generatorLikeGroup) as any,\n ),\n /*#__PURE__*/ l.typedRef<ReplyNotification>(\n (() => replyNotification) as any,\n ),\n /*#__PURE__*/ l.typedRef<QuoteNotification>(\n (() => quoteNotification) as any,\n ),\n /*#__PURE__*/ l.typedRef<MentionNotification>(\n (() => mentionNotification) as any,\n ),\n /*#__PURE__*/ l.typedRef<FollowBackNotification>(\n (() => followBackNotification) as any,\n ),\n /*#__PURE__*/ l.typedRef<VerifiedNotification>(\n (() => verifiedNotification) as any,\n ),\n /*#__PURE__*/ l.typedRef<UnverifiedNotification>(\n (() => unverifiedNotification) as any,\n ),\n /*#__PURE__*/ l.typedRef<StarterPackJoinedNotification>(\n (() => starterPackJoinedNotification) as any,\n ),\n /*#__PURE__*/ l.typedRef<ContactMatchNotification>(\n (() => contactMatchNotification) as any,\n ),\n ],\n false,\n ),\n }),\n)\n\nexport { group }\n\n/** Group of likes by different actors on the same post. */\ntype LikeGroup = {\n $type?: 'app.bsky.notification.getGroupedNotifications#likeGroup'\n post: l.AtUriString\n items: LikeItem[]\n}\n\nexport type { LikeGroup }\n\n/** Group of likes by different actors on the same post. */\nconst likeGroup = /*#__PURE__*/ l.typedObject<LikeGroup>(\n $nsid,\n 'likeGroup',\n /*#__PURE__*/ l.object({\n post: /*#__PURE__*/ l.string({ format: 'at-uri' }),\n items: /*#__PURE__*/ l.array(\n /*#__PURE__*/ l.ref<LikeItem>((() => likeItem) as any),\n { minLength: 1 },\n ),\n }),\n)\n\nexport { likeGroup }\n\n/** One actor who liked the group's post. */\ntype LikeItem = {\n $type?: 'app.bsky.notification.getGroupedNotifications#likeItem'\n actor: l.DidString\n}\n\nexport type { LikeItem }\n\n/** One actor who liked the group's post. */\nconst likeItem = /*#__PURE__*/ l.typedObject<LikeItem>(\n $nsid,\n 'likeItem',\n /*#__PURE__*/ l.object({ actor: /*#__PURE__*/ l.string({ format: 'did' }) }),\n)\n\nexport { likeItem }\n\n/** Group of likes by the same actor on different posts. */\ntype MultiPostLikeGroup = {\n $type?: 'app.bsky.notification.getGroupedNotifications#multiPostLikeGroup'\n actor: l.DidString\n items: MultiPostLikeItem[]\n}\n\nexport type { MultiPostLikeGroup }\n\n/** Group of likes by the same actor on different posts. */\nconst multiPostLikeGroup = /*#__PURE__*/ l.typedObject<MultiPostLikeGroup>(\n $nsid,\n 'multiPostLikeGroup',\n /*#__PURE__*/ l.object({\n actor: /*#__PURE__*/ l.string({ format: 'did' }),\n items: /*#__PURE__*/ l.array(\n /*#__PURE__*/ l.ref<MultiPostLikeItem>((() => multiPostLikeItem) as any),\n { minLength: 2 },\n ),\n }),\n)\n\nexport { multiPostLikeGroup }\n\n/** One post which was liked by the group's actor. */\ntype MultiPostLikeItem = {\n $type?: 'app.bsky.notification.getGroupedNotifications#multiPostLikeItem'\n post: l.AtUriString\n}\n\nexport type { MultiPostLikeItem }\n\n/** One post which was liked by the group's actor. */\nconst multiPostLikeItem = /*#__PURE__*/ l.typedObject<MultiPostLikeItem>(\n $nsid,\n 'multiPostLikeItem',\n /*#__PURE__*/ l.object({\n post: /*#__PURE__*/ l.string({ format: 'at-uri' }),\n }),\n)\n\nexport { multiPostLikeItem }\n\n/** Group of reposts by different actors of the same post. */\ntype RepostGroup = {\n $type?: 'app.bsky.notification.getGroupedNotifications#repostGroup'\n post: l.AtUriString\n items: RepostItem[]\n}\n\nexport type { RepostGroup }\n\n/** Group of reposts by different actors of the same post. */\nconst repostGroup = /*#__PURE__*/ l.typedObject<RepostGroup>(\n $nsid,\n 'repostGroup',\n /*#__PURE__*/ l.object({\n post: /*#__PURE__*/ l.string({ format: 'at-uri' }),\n items: /*#__PURE__*/ l.array(\n /*#__PURE__*/ l.ref<RepostItem>((() => repostItem) as any),\n { minLength: 1 },\n ),\n }),\n)\n\nexport { repostGroup }\n\n/** One actor who reposted the group's post. */\ntype RepostItem = {\n $type?: 'app.bsky.notification.getGroupedNotifications#repostItem'\n actor: l.DidString\n}\n\nexport type { RepostItem }\n\n/** One actor who reposted the group's post. */\nconst repostItem = /*#__PURE__*/ l.typedObject<RepostItem>(\n $nsid,\n 'repostItem',\n /*#__PURE__*/ l.object({ actor: /*#__PURE__*/ l.string({ format: 'did' }) }),\n)\n\nexport { repostItem }\n\n/** Group of likes by different actors on the same post via the requesting account's repost. */\ntype LikeViaRepostGroup = {\n $type?: 'app.bsky.notification.getGroupedNotifications#likeViaRepostGroup'\n post: l.AtUriString\n viaRepost: l.AtUriString\n items: LikeViaRepostItem[]\n}\n\nexport type { LikeViaRepostGroup }\n\n/** Group of likes by different actors on the same post via the requesting account's repost. */\nconst likeViaRepostGroup = /*#__PURE__*/ l.typedObject<LikeViaRepostGroup>(\n $nsid,\n 'likeViaRepostGroup',\n /*#__PURE__*/ l.object({\n post: /*#__PURE__*/ l.string({ format: 'at-uri' }),\n viaRepost: /*#__PURE__*/ l.string({ format: 'at-uri' }),\n items: /*#__PURE__*/ l.array(\n /*#__PURE__*/ l.ref<LikeViaRepostItem>((() => likeViaRepostItem) as any),\n { minLength: 1 },\n ),\n }),\n)\n\nexport { likeViaRepostGroup }\n\n/** One actor who liked the group's post via the requesting account's repost. */\ntype LikeViaRepostItem = {\n $type?: 'app.bsky.notification.getGroupedNotifications#likeViaRepostItem'\n actor: l.DidString\n}\n\nexport type { LikeViaRepostItem }\n\n/** One actor who liked the group's post via the requesting account's repost. */\nconst likeViaRepostItem = /*#__PURE__*/ l.typedObject<LikeViaRepostItem>(\n $nsid,\n 'likeViaRepostItem',\n /*#__PURE__*/ l.object({ actor: /*#__PURE__*/ l.string({ format: 'did' }) }),\n)\n\nexport { likeViaRepostItem }\n\n/** Group of reposts by different actors of the same post via the requesting account's repost. */\ntype RepostViaRepostGroup = {\n $type?: 'app.bsky.notification.getGroupedNotifications#repostViaRepostGroup'\n post: l.AtUriString\n viaRepost: l.AtUriString\n items: RepostViaRepostItem[]\n}\n\nexport type { RepostViaRepostGroup }\n\n/** Group of reposts by different actors of the same post via the requesting account's repost. */\nconst repostViaRepostGroup = /*#__PURE__*/ l.typedObject<RepostViaRepostGroup>(\n $nsid,\n 'repostViaRepostGroup',\n /*#__PURE__*/ l.object({\n post: /*#__PURE__*/ l.string({ format: 'at-uri' }),\n viaRepost: /*#__PURE__*/ l.string({ format: 'at-uri' }),\n items: /*#__PURE__*/ l.array(\n /*#__PURE__*/ l.ref<RepostViaRepostItem>(\n (() => repostViaRepostItem) as any,\n ),\n { minLength: 1 },\n ),\n }),\n)\n\nexport { repostViaRepostGroup }\n\n/** One actor who reposted the group's post via the requesting account's repost. */\ntype RepostViaRepostItem = {\n $type?: 'app.bsky.notification.getGroupedNotifications#repostViaRepostItem'\n actor: l.DidString\n}\n\nexport type { RepostViaRepostItem }\n\n/** One actor who reposted the group's post via the requesting account's repost. */\nconst repostViaRepostItem = /*#__PURE__*/ l.typedObject<RepostViaRepostItem>(\n $nsid,\n 'repostViaRepostItem',\n /*#__PURE__*/ l.object({ actor: /*#__PURE__*/ l.string({ format: 'did' }) }),\n)\n\nexport { repostViaRepostItem }\n\n/** Group of actors who followed the requesting account. */\ntype FollowGroup = {\n $type?: 'app.bsky.notification.getGroupedNotifications#followGroup'\n items: FollowItem[]\n}\n\nexport type { FollowGroup }\n\n/** Group of actors who followed the requesting account. */\nconst followGroup = /*#__PURE__*/ l.typedObject<FollowGroup>(\n $nsid,\n 'followGroup',\n /*#__PURE__*/ l.object({\n items: /*#__PURE__*/ l.array(\n /*#__PURE__*/ l.ref<FollowItem>((() => followItem) as any),\n { minLength: 1 },\n ),\n }),\n)\n\nexport { followGroup }\n\n/** An actor who followed the requesting account, possibly via a starter pack. */\ntype FollowItem = {\n $type?: 'app.bsky.notification.getGroupedNotifications#followItem'\n actor: l.DidString\n starterPack?: l.AtUriString\n}\n\nexport type { FollowItem }\n\n/** An actor who followed the requesting account, possibly via a starter pack. */\nconst followItem = /*#__PURE__*/ l.typedObject<FollowItem>(\n $nsid,\n 'followItem',\n /*#__PURE__*/ l.object({\n actor: /*#__PURE__*/ l.string({ format: 'did' }),\n starterPack: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.string({ format: 'at-uri' }),\n ),\n }),\n)\n\nexport { followItem }\n\n/** Group of new posts by actors the requesting account subscribes to. */\ntype SubscribedPostGroup = {\n $type?: 'app.bsky.notification.getGroupedNotifications#subscribedPostGroup'\n items: SubscribedPostItem[]\n}\n\nexport type { SubscribedPostGroup }\n\n/** Group of new posts by actors the requesting account subscribes to. */\nconst subscribedPostGroup = /*#__PURE__*/ l.typedObject<SubscribedPostGroup>(\n $nsid,\n 'subscribedPostGroup',\n /*#__PURE__*/ l.object({\n items: /*#__PURE__*/ l.array(\n /*#__PURE__*/ l.ref<SubscribedPostItem>(\n (() => subscribedPostItem) as any,\n ),\n { minLength: 1 },\n ),\n }),\n)\n\nexport { subscribedPostGroup }\n\n/** One new post by an actor the requesting account subscribes to. */\ntype SubscribedPostItem = {\n $type?: 'app.bsky.notification.getGroupedNotifications#subscribedPostItem'\n actor: l.DidString\n post: l.AtUriString\n}\n\nexport type { SubscribedPostItem }\n\n/** One new post by an actor the requesting account subscribes to. */\nconst subscribedPostItem = /*#__PURE__*/ l.typedObject<SubscribedPostItem>(\n $nsid,\n 'subscribedPostItem',\n /*#__PURE__*/ l.object({\n actor: /*#__PURE__*/ l.string({ format: 'did' }),\n post: /*#__PURE__*/ l.string({ format: 'at-uri' }),\n }),\n)\n\nexport { subscribedPostItem }\n\n/** Group of likes by different actors on the same feed generator. */\ntype GeneratorLikeGroup = {\n $type?: 'app.bsky.notification.getGroupedNotifications#generatorLikeGroup'\n generator: l.AtUriString\n items: GeneratorLikeItem[]\n}\n\nexport type { GeneratorLikeGroup }\n\n/** Group of likes by different actors on the same feed generator. */\nconst generatorLikeGroup = /*#__PURE__*/ l.typedObject<GeneratorLikeGroup>(\n $nsid,\n 'generatorLikeGroup',\n /*#__PURE__*/ l.object({\n generator: /*#__PURE__*/ l.string({ format: 'at-uri' }),\n items: /*#__PURE__*/ l.array(\n /*#__PURE__*/ l.ref<GeneratorLikeItem>((() => generatorLikeItem) as any),\n { minLength: 1 },\n ),\n }),\n)\n\nexport { generatorLikeGroup }\n\n/** One actor who liked the feed generator in the group. */\ntype GeneratorLikeItem = {\n $type?: 'app.bsky.notification.getGroupedNotifications#generatorLikeItem'\n actor: l.DidString\n}\n\nexport type { GeneratorLikeItem }\n\n/** One actor who liked the feed generator in the group. */\nconst generatorLikeItem = /*#__PURE__*/ l.typedObject<GeneratorLikeItem>(\n $nsid,\n 'generatorLikeItem',\n /*#__PURE__*/ l.object({ actor: /*#__PURE__*/ l.string({ format: 'did' }) }),\n)\n\nexport { generatorLikeItem }\n\n/** A reply to a post by the requesting account or to a thread they are participating in. */\ntype ReplyNotification = {\n $type?: 'app.bsky.notification.getGroupedNotifications#replyNotification'\n post: l.AtUriString\n parent: l.AtUriString\n}\n\nexport type { ReplyNotification }\n\n/** A reply to a post by the requesting account or to a thread they are participating in. */\nconst replyNotification = /*#__PURE__*/ l.typedObject<ReplyNotification>(\n $nsid,\n 'replyNotification',\n /*#__PURE__*/ l.object({\n post: /*#__PURE__*/ l.string({ format: 'at-uri' }),\n parent: /*#__PURE__*/ l.string({ format: 'at-uri' }),\n }),\n)\n\nexport { replyNotification }\n\n/** A post quoting a post by the requesting account. */\ntype QuoteNotification = {\n $type?: 'app.bsky.notification.getGroupedNotifications#quoteNotification'\n post: l.AtUriString\n parent?: l.AtUriString\n}\n\nexport type { QuoteNotification }\n\n/** A post quoting a post by the requesting account. */\nconst quoteNotification = /*#__PURE__*/ l.typedObject<QuoteNotification>(\n $nsid,\n 'quoteNotification',\n /*#__PURE__*/ l.object({\n post: /*#__PURE__*/ l.string({ format: 'at-uri' }),\n parent: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.string({ format: 'at-uri' }),\n ),\n }),\n)\n\nexport { quoteNotification }\n\n/** A post mentioning the requesting account. */\ntype MentionNotification = {\n $type?: 'app.bsky.notification.getGroupedNotifications#mentionNotification'\n post: l.AtUriString\n parent?: l.AtUriString\n}\n\nexport type { MentionNotification }\n\n/** A post mentioning the requesting account. */\nconst mentionNotification = /*#__PURE__*/ l.typedObject<MentionNotification>(\n $nsid,\n 'mentionNotification',\n /*#__PURE__*/ l.object({\n post: /*#__PURE__*/ l.string({ format: 'at-uri' }),\n parent: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.string({ format: 'at-uri' }),\n ),\n }),\n)\n\nexport { mentionNotification }\n\n/** An actor followed the requesting account back, possibly via a starter pack. */\ntype FollowBackNotification = {\n $type?: 'app.bsky.notification.getGroupedNotifications#followBackNotification'\n actor: l.DidString\n starterPack?: l.AtUriString\n}\n\nexport type { FollowBackNotification }\n\n/** An actor followed the requesting account back, possibly via a starter pack. */\nconst followBackNotification =\n /*#__PURE__*/ l.typedObject<FollowBackNotification>(\n $nsid,\n 'followBackNotification',\n /*#__PURE__*/ l.object({\n actor: /*#__PURE__*/ l.string({ format: 'did' }),\n starterPack: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.string({ format: 'at-uri' }),\n ),\n }),\n )\n\nexport { followBackNotification }\n\n/** An actor verified the requesting account. */\ntype VerifiedNotification = {\n $type?: 'app.bsky.notification.getGroupedNotifications#verifiedNotification'\n actor: l.DidString\n}\n\nexport type { VerifiedNotification }\n\n/** An actor verified the requesting account. */\nconst verifiedNotification = /*#__PURE__*/ l.typedObject<VerifiedNotification>(\n $nsid,\n 'verifiedNotification',\n /*#__PURE__*/ l.object({ actor: /*#__PURE__*/ l.string({ format: 'did' }) }),\n)\n\nexport { verifiedNotification }\n\n/** A verification of the requesting account was removed. */\ntype UnverifiedNotification = {\n $type?: 'app.bsky.notification.getGroupedNotifications#unverifiedNotification'\n actor: l.DidString\n}\n\nexport type { UnverifiedNotification }\n\n/** A verification of the requesting account was removed. */\nconst unverifiedNotification =\n /*#__PURE__*/ l.typedObject<UnverifiedNotification>(\n $nsid,\n 'unverifiedNotification',\n /*#__PURE__*/ l.object({\n actor: /*#__PURE__*/ l.string({ format: 'did' }),\n }),\n )\n\nexport { unverifiedNotification }\n\n/** An actor joined Bluesky via a starter pack created by the requesting account. */\ntype StarterPackJoinedNotification = {\n $type?: 'app.bsky.notification.getGroupedNotifications#starterPackJoinedNotification'\n actor: l.DidString\n starterPack: l.AtUriString\n}\n\nexport type { StarterPackJoinedNotification }\n\n/** An actor joined Bluesky via a starter pack created by the requesting account. */\nconst starterPackJoinedNotification =\n /*#__PURE__*/ l.typedObject<StarterPackJoinedNotification>(\n $nsid,\n 'starterPackJoinedNotification',\n /*#__PURE__*/ l.object({\n actor: /*#__PURE__*/ l.string({ format: 'did' }),\n starterPack: /*#__PURE__*/ l.string({ format: 'at-uri' }),\n }),\n )\n\nexport { starterPackJoinedNotification }\n\n/** A contact of the requesting account joined Bluesky. */\ntype ContactMatchNotification = {\n $type?: 'app.bsky.notification.getGroupedNotifications#contactMatchNotification'\n actor: l.DidString\n}\n\nexport type { ContactMatchNotification }\n\n/** A contact of the requesting account joined Bluesky. */\nconst contactMatchNotification =\n /*#__PURE__*/ l.typedObject<ContactMatchNotification>(\n $nsid,\n 'contactMatchNotification',\n /*#__PURE__*/ l.object({\n actor: /*#__PURE__*/ l.string({ format: 'did' }),\n }),\n )\n\nexport { contactMatchNotification }\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getGroupedNotifications.js","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/notification/getGroupedNotifications.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,mCAAmC,CAAA;AACjD,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,mCAAmC,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './getGroupedNotifications.defs.js'\nexport { main as default } from './getGroupedNotifications.defs.js'\n"]}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * as declaration from './notification/declaration.js';
|
|
2
2
|
export * as defs from './notification/defs.js';
|
|
3
|
+
export * as getGroupedNotifications from './notification/getGroupedNotifications.js';
|
|
3
4
|
export * as getPreferences from './notification/getPreferences.js';
|
|
4
5
|
export * as getUnreadCount from './notification/getUnreadCount.js';
|
|
5
6
|
export * as listActivitySubscriptions from './notification/listActivitySubscriptions.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notification.d.ts","sourceRoot":"","sources":["../../../../src/lexicons/app/bsky/notification.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,WAAW,MAAM,+BAA+B,CAAA;AAC5D,OAAO,KAAK,IAAI,MAAM,wBAAwB,CAAA;AAC9C,OAAO,KAAK,cAAc,MAAM,kCAAkC,CAAA;AAClE,OAAO,KAAK,cAAc,MAAM,kCAAkC,CAAA;AAClE,OAAO,KAAK,yBAAyB,MAAM,6CAA6C,CAAA;AACxF,OAAO,KAAK,iBAAiB,MAAM,qCAAqC,CAAA;AACxE,OAAO,KAAK,uBAAuB,MAAM,2CAA2C,CAAA;AACpF,OAAO,KAAK,cAAc,MAAM,kCAAkC,CAAA;AAClE,OAAO,KAAK,gBAAgB,MAAM,oCAAoC,CAAA;AACtE,OAAO,KAAK,YAAY,MAAM,gCAAgC,CAAA;AAC9D,OAAO,KAAK,cAAc,MAAM,kCAAkC,CAAA;AAClE,OAAO,KAAK,UAAU,MAAM,8BAA8B,CAAA"}
|
|
1
|
+
{"version":3,"file":"notification.d.ts","sourceRoot":"","sources":["../../../../src/lexicons/app/bsky/notification.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,WAAW,MAAM,+BAA+B,CAAA;AAC5D,OAAO,KAAK,IAAI,MAAM,wBAAwB,CAAA;AAC9C,OAAO,KAAK,uBAAuB,MAAM,2CAA2C,CAAA;AACpF,OAAO,KAAK,cAAc,MAAM,kCAAkC,CAAA;AAClE,OAAO,KAAK,cAAc,MAAM,kCAAkC,CAAA;AAClE,OAAO,KAAK,yBAAyB,MAAM,6CAA6C,CAAA;AACxF,OAAO,KAAK,iBAAiB,MAAM,qCAAqC,CAAA;AACxE,OAAO,KAAK,uBAAuB,MAAM,2CAA2C,CAAA;AACpF,OAAO,KAAK,cAAc,MAAM,kCAAkC,CAAA;AAClE,OAAO,KAAK,gBAAgB,MAAM,oCAAoC,CAAA;AACtE,OAAO,KAAK,YAAY,MAAM,gCAAgC,CAAA;AAC9D,OAAO,KAAK,cAAc,MAAM,kCAAkC,CAAA;AAClE,OAAO,KAAK,UAAU,MAAM,8BAA8B,CAAA"}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export * as declaration from './notification/declaration.js';
|
|
5
5
|
export * as defs from './notification/defs.js';
|
|
6
|
+
export * as getGroupedNotifications from './notification/getGroupedNotifications.js';
|
|
6
7
|
export * as getPreferences from './notification/getPreferences.js';
|
|
7
8
|
export * as getUnreadCount from './notification/getUnreadCount.js';
|
|
8
9
|
export * as listActivitySubscriptions from './notification/listActivitySubscriptions.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notification.js","sourceRoot":"","sources":["../../../../src/lexicons/app/bsky/notification.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,WAAW,MAAM,+BAA+B,CAAA;AAC5D,OAAO,KAAK,IAAI,MAAM,wBAAwB,CAAA;AAC9C,OAAO,KAAK,cAAc,MAAM,kCAAkC,CAAA;AAClE,OAAO,KAAK,cAAc,MAAM,kCAAkC,CAAA;AAClE,OAAO,KAAK,yBAAyB,MAAM,6CAA6C,CAAA;AACxF,OAAO,KAAK,iBAAiB,MAAM,qCAAqC,CAAA;AACxE,OAAO,KAAK,uBAAuB,MAAM,2CAA2C,CAAA;AACpF,OAAO,KAAK,cAAc,MAAM,kCAAkC,CAAA;AAClE,OAAO,KAAK,gBAAgB,MAAM,oCAAoC,CAAA;AACtE,OAAO,KAAK,YAAY,MAAM,gCAAgC,CAAA;AAC9D,OAAO,KAAK,cAAc,MAAM,kCAAkC,CAAA;AAClE,OAAO,KAAK,UAAU,MAAM,8BAA8B,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as declaration from './notification/declaration.js'\nexport * as defs from './notification/defs.js'\nexport * as getPreferences from './notification/getPreferences.js'\nexport * as getUnreadCount from './notification/getUnreadCount.js'\nexport * as listActivitySubscriptions from './notification/listActivitySubscriptions.js'\nexport * as listNotifications from './notification/listNotifications.js'\nexport * as putActivitySubscription from './notification/putActivitySubscription.js'\nexport * as putPreferences from './notification/putPreferences.js'\nexport * as putPreferencesV2 from './notification/putPreferencesV2.js'\nexport * as registerPush from './notification/registerPush.js'\nexport * as unregisterPush from './notification/unregisterPush.js'\nexport * as updateSeen from './notification/updateSeen.js'\n"]}
|
|
1
|
+
{"version":3,"file":"notification.js","sourceRoot":"","sources":["../../../../src/lexicons/app/bsky/notification.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,WAAW,MAAM,+BAA+B,CAAA;AAC5D,OAAO,KAAK,IAAI,MAAM,wBAAwB,CAAA;AAC9C,OAAO,KAAK,uBAAuB,MAAM,2CAA2C,CAAA;AACpF,OAAO,KAAK,cAAc,MAAM,kCAAkC,CAAA;AAClE,OAAO,KAAK,cAAc,MAAM,kCAAkC,CAAA;AAClE,OAAO,KAAK,yBAAyB,MAAM,6CAA6C,CAAA;AACxF,OAAO,KAAK,iBAAiB,MAAM,qCAAqC,CAAA;AACxE,OAAO,KAAK,uBAAuB,MAAM,2CAA2C,CAAA;AACpF,OAAO,KAAK,cAAc,MAAM,kCAAkC,CAAA;AAClE,OAAO,KAAK,gBAAgB,MAAM,oCAAoC,CAAA;AACtE,OAAO,KAAK,YAAY,MAAM,gCAAgC,CAAA;AAC9D,OAAO,KAAK,cAAc,MAAM,kCAAkC,CAAA;AAClE,OAAO,KAAK,UAAU,MAAM,8BAA8B,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as declaration from './notification/declaration.js'\nexport * as defs from './notification/defs.js'\nexport * as getGroupedNotifications from './notification/getGroupedNotifications.js'\nexport * as getPreferences from './notification/getPreferences.js'\nexport * as getUnreadCount from './notification/getUnreadCount.js'\nexport * as listActivitySubscriptions from './notification/listActivitySubscriptions.js'\nexport * as listNotifications from './notification/listNotifications.js'\nexport * as putActivitySubscription from './notification/putActivitySubscription.js'\nexport * as putPreferences from './notification/putPreferences.js'\nexport * as putPreferencesV2 from './notification/putPreferencesV2.js'\nexport * as registerPush from './notification/registerPush.js'\nexport * as unregisterPush from './notification/unregisterPush.js'\nexport * as updateSeen from './notification/updateSeen.js'\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atproto/ozone",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Backend service for moderating the Bluesky network.",
|
|
6
6
|
"keywords": [
|
|
@@ -56,15 +56,15 @@
|
|
|
56
56
|
"undici": "^8.5.0",
|
|
57
57
|
"ws": "^8.12.0",
|
|
58
58
|
"@atproto-labs/fetch-node": "^0.4.0",
|
|
59
|
-
"@atproto-labs/opentelemetry-node": "^0.
|
|
60
|
-
"@atproto/
|
|
61
|
-
"@atproto/
|
|
62
|
-
"@atproto/
|
|
63
|
-
"@atproto/
|
|
64
|
-
"@atproto/lex": "^0.
|
|
59
|
+
"@atproto-labs/opentelemetry-node": "^0.3.0",
|
|
60
|
+
"@atproto/identity": "^0.5.16",
|
|
61
|
+
"@atproto/common": "^0.8.5",
|
|
62
|
+
"@atproto/lex": "^0.3.14",
|
|
63
|
+
"@atproto/crypto": "^0.5.7",
|
|
64
|
+
"@atproto/lex-password-session": "^0.2.4",
|
|
65
65
|
"@atproto/syntax": "^0.7.6",
|
|
66
66
|
"@atproto/ws-client": "^0.2.1",
|
|
67
|
-
"@atproto/xrpc-server": "^0.13.
|
|
67
|
+
"@atproto/xrpc-server": "^0.13.4"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
70
|
"@did-plc/server": "^0.0.1",
|
|
@@ -76,9 +76,9 @@
|
|
|
76
76
|
"@types/qs": "^6.15.1",
|
|
77
77
|
"@types/ws": "^8.18.1",
|
|
78
78
|
"jest": "^30.5.2",
|
|
79
|
-
"@atproto/api": "^0.
|
|
80
|
-
"@atproto/
|
|
81
|
-
"@atproto/
|
|
79
|
+
"@atproto/api": "^0.23.0",
|
|
80
|
+
"@atproto/lexicon": "^0.7.16",
|
|
81
|
+
"@atproto/pds": "^0.5.37"
|
|
82
82
|
},
|
|
83
83
|
"scripts": {
|
|
84
84
|
"codegen:lex": "lex build --clear --indexFile --lexicons ../../lexicons",
|