@atproto/bsky 0.0.264 → 0.0.266

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.
Files changed (29) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/api/age-assurance/const.d.ts.map +1 -1
  3. package/dist/api/age-assurance/const.js +1 -0
  4. package/dist/api/age-assurance/const.js.map +1 -1
  5. package/dist/api/app/bsky/graph/getFollowers.js +1 -0
  6. package/dist/api/app/bsky/graph/getFollowers.js.map +1 -1
  7. package/dist/api/app/bsky/graph/getFollows.js +1 -0
  8. package/dist/api/app/bsky/graph/getFollows.js.map +1 -1
  9. package/dist/hydration/graph.d.ts +2 -0
  10. package/dist/hydration/graph.d.ts.map +1 -1
  11. package/dist/hydration/graph.js +4 -2
  12. package/dist/hydration/graph.js.map +1 -1
  13. package/dist/lexicons/app/bsky/ageassurance/defs.defs.d.ts +4 -0
  14. package/dist/lexicons/app/bsky/ageassurance/defs.defs.d.ts.map +1 -1
  15. package/dist/lexicons/app/bsky/ageassurance/defs.defs.js +3 -0
  16. package/dist/lexicons/app/bsky/ageassurance/defs.defs.js.map +1 -1
  17. package/dist/lexicons/app/bsky/graph/getFollowers.defs.d.ts +6 -0
  18. package/dist/lexicons/app/bsky/graph/getFollowers.defs.d.ts.map +1 -1
  19. package/dist/lexicons/app/bsky/graph/getFollowers.defs.js +2 -0
  20. package/dist/lexicons/app/bsky/graph/getFollowers.defs.js.map +1 -1
  21. package/dist/lexicons/app/bsky/graph/getFollows.defs.d.ts +6 -0
  22. package/dist/lexicons/app/bsky/graph/getFollows.defs.d.ts.map +1 -1
  23. package/dist/lexicons/app/bsky/graph/getFollows.defs.js +2 -0
  24. package/dist/lexicons/app/bsky/graph/getFollows.defs.js.map +1 -1
  25. package/dist/proto/bsky_pb.d.ts +8 -0
  26. package/dist/proto/bsky_pb.d.ts.map +1 -1
  27. package/dist/proto/bsky_pb.js +10 -0
  28. package/dist/proto/bsky_pb.js.map +1 -1
  29. package/package.json +6 -6
@@ -11,6 +11,8 @@ 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
+ sort: /*#__PURE__*/ l.optional(
15
+ /*#__PURE__*/ l.string()),
14
16
  });
15
17
  export const $output = /*#__PURE__*/ l.jsonPayload({
16
18
  subject: /*#__PURE__*/ l.ref((() => ActorDefs.profileView)),
@@ -1 +1 @@
1
- {"version":3,"file":"getFollows.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/graph/getFollows.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,SAAS,MAAM,uBAAuB,CAAA;AAElD,MAAM,KAAK,GAAG,2BAA2B,CAAA;AAEzC,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IAC5C,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,eAAe,EAAE,CAAC;IAC1D,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;CAC3D,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC;IACjD,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,GAAG,CAC1B,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,WAAW,CAAQ,CACrC;IACD,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC1D,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,KAAK;IAC5B,aAAa,CAAC,CAAC,CAAC,GAAG,CACjB,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,WAAW,CAAQ,CACrC,CACF;CACF,CAAC,CAAA;AAQF,qEAAqE;AACrE,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,CAAC,CAAA;AAE3D,OAAO,EAAE,IAAI,EAAE,CAAA;AAEf,MAAM,CAAC,MAAM,IAAI,GAAG,KAAK,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'\n\nconst $nsid = 'app.bsky.graph.getFollows'\n\nexport { $nsid }\n\nexport const $params = /*#__PURE__*/ l.params({\n actor: /*#__PURE__*/ l.string({ format: 'at-identifier' }),\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})\n\nexport type $Params = l.InferOutput<typeof $params>\n\nexport const $output = /*#__PURE__*/ l.jsonPayload({\n subject: /*#__PURE__*/ l.ref<ActorDefs.ProfileView>(\n (() => ActorDefs.profileView) as any,\n ),\n cursor: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),\n follows: /*#__PURE__*/ l.array(\n /*#__PURE__*/ l.ref<ActorDefs.ProfileView>(\n (() => ActorDefs.profileView) 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/** Enumerates accounts which a specified account (actor) follows. */\nconst main = /*#__PURE__*/ l.query($nsid, $params, $output)\n\nexport { main }\n\nexport const $lxm = $nsid\n"]}
1
+ {"version":3,"file":"getFollows.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/graph/getFollows.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,SAAS,MAAM,uBAAuB,CAAA;AAElD,MAAM,KAAK,GAAG,2BAA2B,CAAA;AAEzC,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IAC5C,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,eAAe,EAAE,CAAC;IAC1D,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;IAC1D,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IAC5B,aAAa,CAAC,CAAC,CAAC,MAAM,EAAsC,CAC7D;CACF,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC;IACjD,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,GAAG,CAC1B,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,WAAW,CAAQ,CACrC;IACD,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC1D,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,KAAK;IAC5B,aAAa,CAAC,CAAC,CAAC,GAAG,CACjB,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,WAAW,CAAQ,CACrC,CACF;CACF,CAAC,CAAA;AAQF,qEAAqE;AACrE,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,CAAC,CAAA;AAE3D,OAAO,EAAE,IAAI,EAAE,CAAA;AAEf,MAAM,CAAC,MAAM,IAAI,GAAG,KAAK,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'\n\nconst $nsid = 'app.bsky.graph.getFollows'\n\nexport { $nsid }\n\nexport const $params = /*#__PURE__*/ l.params({\n actor: /*#__PURE__*/ l.string({ format: 'at-identifier' }),\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 sort: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.string<{ knownValues: ['latest', 'top'] }>(),\n ),\n})\n\nexport type $Params = l.InferOutput<typeof $params>\n\nexport const $output = /*#__PURE__*/ l.jsonPayload({\n subject: /*#__PURE__*/ l.ref<ActorDefs.ProfileView>(\n (() => ActorDefs.profileView) as any,\n ),\n cursor: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),\n follows: /*#__PURE__*/ l.array(\n /*#__PURE__*/ l.ref<ActorDefs.ProfileView>(\n (() => ActorDefs.profileView) 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/** Enumerates accounts which a specified account (actor) follows. */\nconst main = /*#__PURE__*/ l.query($nsid, $params, $output)\n\nexport { main }\n\nexport const $lxm = $nsid\n"]}
@@ -915,6 +915,10 @@ export declare class GetFollowersRequest extends Message<GetFollowersRequest> {
915
915
  * @generated from field: string cursor = 3;
916
916
  */
917
917
  cursor: string;
918
+ /**
919
+ * @generated from field: string sort = 4;
920
+ */
921
+ sort: string;
918
922
  constructor(data?: PartialMessage<GetFollowersRequest>);
919
923
  static readonly runtime: typeof proto3;
920
924
  static readonly typeName = "bsky.GetFollowersRequest";
@@ -989,6 +993,10 @@ export declare class GetFollowsRequest extends Message<GetFollowsRequest> {
989
993
  * @generated from field: string cursor = 3;
990
994
  */
991
995
  cursor: string;
996
+ /**
997
+ * @generated from field: string sort = 4;
998
+ */
999
+ sort: string;
992
1000
  constructor(data?: PartialMessage<GetFollowsRequest>);
993
1001
  static readonly runtime: typeof proto3;
994
1002
  static readonly typeName = "bsky.GetFollowsRequest";