@atproto/bsky 0.0.222 → 0.0.224

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 (82) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/api/app/bsky/graph/getSuggestedFollowsByActor.js +1 -1
  3. package/dist/api/app/bsky/graph/getSuggestedFollowsByActor.js.map +1 -1
  4. package/dist/api/app/bsky/unspecced/getSuggestedUsersForDiscover.d.ts +4 -0
  5. package/dist/api/app/bsky/unspecced/getSuggestedUsersForDiscover.d.ts.map +1 -0
  6. package/dist/api/app/bsky/unspecced/getSuggestedUsersForDiscover.js +107 -0
  7. package/dist/api/app/bsky/unspecced/getSuggestedUsersForDiscover.js.map +1 -0
  8. package/dist/api/app/bsky/unspecced/getSuggestedUsersForExplore.d.ts +4 -0
  9. package/dist/api/app/bsky/unspecced/getSuggestedUsersForExplore.d.ts.map +1 -0
  10. package/dist/api/app/bsky/unspecced/getSuggestedUsersForExplore.js +109 -0
  11. package/dist/api/app/bsky/unspecced/getSuggestedUsersForExplore.js.map +1 -0
  12. package/dist/api/app/bsky/unspecced/getSuggestedUsersForSeeMore.d.ts +4 -0
  13. package/dist/api/app/bsky/unspecced/getSuggestedUsersForSeeMore.d.ts.map +1 -0
  14. package/dist/api/app/bsky/unspecced/getSuggestedUsersForSeeMore.js +109 -0
  15. package/dist/api/app/bsky/unspecced/getSuggestedUsersForSeeMore.js.map +1 -0
  16. package/dist/api/index.d.ts.map +1 -1
  17. package/dist/api/index.js +6 -0
  18. package/dist/api/index.js.map +1 -1
  19. package/dist/feature-gates/gates.d.ts +3 -0
  20. package/dist/feature-gates/gates.d.ts.map +1 -1
  21. package/dist/feature-gates/gates.js +3 -0
  22. package/dist/feature-gates/gates.js.map +1 -1
  23. package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForDiscover.d.ts +3 -0
  24. package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForDiscover.d.ts.map +1 -0
  25. package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForDiscover.defs.d.ts +22 -0
  26. package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForDiscover.defs.d.ts.map +1 -0
  27. package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForDiscover.defs.js +53 -0
  28. package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForDiscover.defs.js.map +1 -0
  29. package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForDiscover.js +45 -0
  30. package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForDiscover.js.map +1 -0
  31. package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForDiscoverSkeleton.d.ts +3 -0
  32. package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForDiscoverSkeleton.d.ts.map +1 -0
  33. package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForDiscoverSkeleton.defs.d.ts +31 -0
  34. package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForDiscoverSkeleton.defs.d.ts.map +1 -0
  35. package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForDiscoverSkeleton.defs.js +20 -0
  36. package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForDiscoverSkeleton.defs.js.map +1 -0
  37. package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForDiscoverSkeleton.js +45 -0
  38. package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForDiscoverSkeleton.js.map +1 -0
  39. package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForExplore.d.ts +3 -0
  40. package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForExplore.d.ts.map +1 -0
  41. package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForExplore.defs.d.ts +24 -0
  42. package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForExplore.defs.d.ts.map +1 -0
  43. package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForExplore.defs.js +54 -0
  44. package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForExplore.defs.js.map +1 -0
  45. package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForExplore.js +45 -0
  46. package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForExplore.js.map +1 -0
  47. package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForExploreSkeleton.d.ts +3 -0
  48. package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForExploreSkeleton.d.ts.map +1 -0
  49. package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForExploreSkeleton.defs.d.ts +33 -0
  50. package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForExploreSkeleton.defs.d.ts.map +1 -0
  51. package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForExploreSkeleton.defs.js +21 -0
  52. package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForExploreSkeleton.defs.js.map +1 -0
  53. package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForExploreSkeleton.js +45 -0
  54. package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForExploreSkeleton.js.map +1 -0
  55. package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForSeeMore.d.ts +3 -0
  56. package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForSeeMore.d.ts.map +1 -0
  57. package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForSeeMore.defs.d.ts +24 -0
  58. package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForSeeMore.defs.d.ts.map +1 -0
  59. package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForSeeMore.defs.js +54 -0
  60. package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForSeeMore.defs.js.map +1 -0
  61. package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForSeeMore.js +45 -0
  62. package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForSeeMore.js.map +1 -0
  63. package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForSeeMoreSkeleton.d.ts +3 -0
  64. package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForSeeMoreSkeleton.d.ts.map +1 -0
  65. package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForSeeMoreSkeleton.defs.d.ts +33 -0
  66. package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForSeeMoreSkeleton.defs.d.ts.map +1 -0
  67. package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForSeeMoreSkeleton.defs.js +21 -0
  68. package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForSeeMoreSkeleton.defs.js.map +1 -0
  69. package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForSeeMoreSkeleton.js +45 -0
  70. package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForSeeMoreSkeleton.js.map +1 -0
  71. package/dist/lexicons/app/bsky/unspecced.d.ts +6 -0
  72. package/dist/lexicons/app/bsky/unspecced.d.ts.map +1 -1
  73. package/dist/lexicons/app/bsky/unspecced.js +7 -1
  74. package/dist/lexicons/app/bsky/unspecced.js.map +1 -1
  75. package/package.json +7 -7
  76. package/src/api/app/bsky/graph/getSuggestedFollowsByActor.ts +2 -2
  77. package/src/api/app/bsky/unspecced/getSuggestedUsersForDiscover.ts +175 -0
  78. package/src/api/app/bsky/unspecced/getSuggestedUsersForExplore.ts +178 -0
  79. package/src/api/app/bsky/unspecced/getSuggestedUsersForSeeMore.ts +178 -0
  80. package/src/api/index.ts +6 -0
  81. package/src/feature-gates/gates.ts +3 -0
  82. package/tsconfig.build.tsbuildinfo +1 -1
@@ -8,6 +8,9 @@ export declare enum Gate {
8
8
  SuggestedUsersSocialProofEnable = "suggested_users:social_proof:enable",
9
9
  ThreadsReplyRankingExplorationEnable = "threads:reply_ranking_exploration:enable",
10
10
  SearchFilteringExplorationEnable = "search:filtering_exploration:enable",
11
+ SuggestedUsersForExploreEnable = "suggested_users:for_explore:enable",
12
+ SuggestedUsersForDiscoverEnable = "suggested_users:for_discover:enable",
13
+ SuggestedUsersForSeeMoreEnable = "suggested_users:for_see_more:enable",
11
14
  AATest = "aa-test-appview"
12
15
  }
13
16
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"gates.d.ts","sourceRoot":"","sources":["../../src/feature-gates/gates.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,oBAAY,IAAI;IACd,4BAA4B,0CAA0C;IACtE,+BAA+B,wCAAwC;IACvE,oCAAoC,6CAA6C;IACjF,gCAAgC,wCAAwC;IAGxE,MAAM,oBAAoB;CAC3B;AAED;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,EAAE,GAAG,CAAC,IAAI,CAAe,CAAA"}
1
+ {"version":3,"file":"gates.d.ts","sourceRoot":"","sources":["../../src/feature-gates/gates.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,oBAAY,IAAI;IACd,4BAA4B,0CAA0C;IACtE,+BAA+B,wCAAwC;IACvE,oCAAoC,6CAA6C;IACjF,gCAAgC,wCAAwC;IACxE,8BAA8B,uCAAuC;IACrE,+BAA+B,wCAAwC;IACvE,8BAA8B,wCAAwC;IAGtE,MAAM,oBAAoB;CAC3B;AAED;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,EAAE,GAAG,CAAC,IAAI,CAAe,CAAA"}
@@ -12,6 +12,9 @@ var Gate;
12
12
  Gate["SuggestedUsersSocialProofEnable"] = "suggested_users:social_proof:enable";
13
13
  Gate["ThreadsReplyRankingExplorationEnable"] = "threads:reply_ranking_exploration:enable";
14
14
  Gate["SearchFilteringExplorationEnable"] = "search:filtering_exploration:enable";
15
+ Gate["SuggestedUsersForExploreEnable"] = "suggested_users:for_explore:enable";
16
+ Gate["SuggestedUsersForDiscoverEnable"] = "suggested_users:for_discover:enable";
17
+ Gate["SuggestedUsersForSeeMoreEnable"] = "suggested_users:for_see_more:enable";
15
18
  // temp
16
19
  Gate["AATest"] = "aa-test-appview";
17
20
  })(Gate || (exports.Gate = Gate = {}));
@@ -1 +1 @@
1
- {"version":3,"file":"gates.js","sourceRoot":"","sources":["../../src/feature-gates/gates.ts"],"names":[],"mappings":";;;AAAA;;;;GAIG;AACH,IAAY,IAQX;AARD,WAAY,IAAI;IACd,8EAAsE,CAAA;IACtE,+EAAuE,CAAA;IACvE,yFAAiF,CAAA;IACjF,gFAAwE,CAAA;IAExE,OAAO;IACP,kCAA0B,CAAA;AAC5B,CAAC,EARW,IAAI,oBAAJ,IAAI,QAQf;AAED;;;;GAIG;AACU,QAAA,wBAAwB,GAAc,IAAI,GAAG,CAAC,EAAE,CAAC,CAAA","sourcesContent":["/**\n * Enum of all gates in the system. This should be the single source of truth\n * for all gates, and should be used in all places where gates are checked or\n * defined.\n */\nexport enum Gate {\n SuggestedUsersDiscoverEnable = 'suggested_users:discover_agent:enable',\n SuggestedUsersSocialProofEnable = 'suggested_users:social_proof:enable',\n ThreadsReplyRankingExplorationEnable = 'threads:reply_ranking_exploration:enable',\n SearchFilteringExplorationEnable = 'search:filtering_exploration:enable',\n\n // temp\n AATest = 'aa-test-appview',\n}\n\n/**\n * Set of gates that should be ignored when tracking gate evaluations for\n * analytics purposes. This is useful for gates that are not user-facing or are\n * overly noisy.\n */\nexport const IGNORE_METRICS_FOR_GATES: Set<Gate> = new Set([])\n"]}
1
+ {"version":3,"file":"gates.js","sourceRoot":"","sources":["../../src/feature-gates/gates.ts"],"names":[],"mappings":";;;AAAA;;;;GAIG;AACH,IAAY,IAWX;AAXD,WAAY,IAAI;IACd,8EAAsE,CAAA;IACtE,+EAAuE,CAAA;IACvE,yFAAiF,CAAA;IACjF,gFAAwE,CAAA;IACxE,6EAAqE,CAAA;IACrE,+EAAuE,CAAA;IACvE,8EAAsE,CAAA;IAEtE,OAAO;IACP,kCAA0B,CAAA;AAC5B,CAAC,EAXW,IAAI,oBAAJ,IAAI,QAWf;AAED;;;;GAIG;AACU,QAAA,wBAAwB,GAAc,IAAI,GAAG,CAAC,EAAE,CAAC,CAAA","sourcesContent":["/**\n * Enum of all gates in the system. This should be the single source of truth\n * for all gates, and should be used in all places where gates are checked or\n * defined.\n */\nexport enum Gate {\n SuggestedUsersDiscoverEnable = 'suggested_users:discover_agent:enable',\n SuggestedUsersSocialProofEnable = 'suggested_users:social_proof:enable',\n ThreadsReplyRankingExplorationEnable = 'threads:reply_ranking_exploration:enable',\n SearchFilteringExplorationEnable = 'search:filtering_exploration:enable',\n SuggestedUsersForExploreEnable = 'suggested_users:for_explore:enable',\n SuggestedUsersForDiscoverEnable = 'suggested_users:for_discover:enable',\n SuggestedUsersForSeeMoreEnable = 'suggested_users:for_see_more:enable',\n\n // temp\n AATest = 'aa-test-appview',\n}\n\n/**\n * Set of gates that should be ignored when tracking gate evaluations for\n * analytics purposes. This is useful for gates that are not user-facing or are\n * overly noisy.\n */\nexport const IGNORE_METRICS_FOR_GATES: Set<Gate> = new Set([])\n"]}
@@ -0,0 +1,3 @@
1
+ export * from './getSuggestedUsersForDiscover.defs.js';
2
+ export * as $defs from './getSuggestedUsersForDiscover.defs.js';
3
+ //# sourceMappingURL=getSuggestedUsersForDiscover.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSuggestedUsersForDiscover.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/unspecced/getSuggestedUsersForDiscover.ts"],"names":[],"mappings":"AAIA,cAAc,wCAAwC,CAAA;AACtD,OAAO,KAAK,KAAK,MAAM,wCAAwC,CAAA"}
@@ -0,0 +1,22 @@
1
+ import { l } from '@atproto/lex';
2
+ import * as ActorDefs from '../actor/defs.defs.js';
3
+ declare const $nsid = "app.bsky.unspecced.getSuggestedUsersForDiscover";
4
+ export { $nsid };
5
+ /** Get a list of suggested users for the Discover page */
6
+ declare const main: l.Query<"app.bsky.unspecced.getSuggestedUsersForDiscover", l.ParamsSchema<{
7
+ readonly limit: l.OptionalSchema<l.WithDefaultSchema<l.IntegerSchema>>;
8
+ }>, l.Payload<"application/json", l.ObjectSchema<{
9
+ actors: l.ArraySchema<l.RefSchema<l.Validator<ActorDefs.ProfileView, ActorDefs.ProfileView>>>;
10
+ recIdStr: l.OptionalSchema<l.StringSchema<{}>>;
11
+ }>>, undefined>;
12
+ export { main };
13
+ export type $Params = l.InferMethodParams<typeof main>;
14
+ export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
15
+ export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
16
+ export declare const $lxm: "app.bsky.unspecced.getSuggestedUsersForDiscover", $params: l.ParamsSchema<{
17
+ readonly limit: l.OptionalSchema<l.WithDefaultSchema<l.IntegerSchema>>;
18
+ }>, $output: l.Payload<"application/json", l.ObjectSchema<{
19
+ actors: l.ArraySchema<l.RefSchema<l.Validator<ActorDefs.ProfileView, ActorDefs.ProfileView>>>;
20
+ recIdStr: l.OptionalSchema<l.StringSchema<{}>>;
21
+ }>>;
22
+ //# sourceMappingURL=getSuggestedUsersForDiscover.defs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSuggestedUsersForDiscover.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/unspecced/getSuggestedUsersForDiscover.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,SAAS,MAAM,uBAAuB,CAAA;AAElD,QAAA,MAAM,KAAK,oDAAoD,CAAA;AAE/D,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,0DAA0D;AAC1D,QAAA,MAAM,IAAI;;;;;eAaT,CAAA;AACD,OAAO,EAAE,IAAI,EAAE,CAAA;AAEf,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,iBAAiB,CAAC,OAAO,IAAI,CAAC,CAAA;AACtD,MAAM,MAAM,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,iBAAiB,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC,CAAA;AAC3E,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,qBAAqB,CACjE,OAAO,IAAI,EACX,CAAC,CACF,CAAA;AAED,eAAO,MAAM,IAAI,mDAAY,EAC3B,OAAO;;EAAkB,EACzB,OAAO;;;GAAc,CAAA"}
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+ /*
3
+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.$output = exports.$params = exports.$lxm = exports.main = exports.$nsid = void 0;
40
+ const lex_1 = require("@atproto/lex");
41
+ const ActorDefs = __importStar(require("../actor/defs.defs.js"));
42
+ const $nsid = 'app.bsky.unspecced.getSuggestedUsersForDiscover';
43
+ exports.$nsid = $nsid;
44
+ /** Get a list of suggested users for the Discover page */
45
+ const main = lex_1.l.query($nsid, lex_1.l.params({
46
+ limit: lex_1.l.optional(lex_1.l.withDefault(lex_1.l.integer({ minimum: 1, maximum: 50 }), 25)),
47
+ }), lex_1.l.jsonPayload({
48
+ actors: lex_1.l.array(lex_1.l.ref((() => ActorDefs.profileView))),
49
+ recIdStr: lex_1.l.optional(lex_1.l.string()),
50
+ }));
51
+ exports.main = main;
52
+ exports.$lxm = main.nsid, exports.$params = main.parameters, exports.$output = main.output;
53
+ //# sourceMappingURL=getSuggestedUsersForDiscover.defs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSuggestedUsersForDiscover.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/unspecced/getSuggestedUsersForDiscover.defs.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,sCAAgC;AAChC,iEAAkD;AAElD,MAAM,KAAK,GAAG,iDAAiD,CAAA;AAEtD,sBAAK;AAEd,0DAA0D;AAC1D,MAAM,IAAI,GAAG,OAAC,CAAC,KAAK,CAClB,KAAK,EACL,OAAC,CAAC,MAAM,CAAC;IACP,KAAK,EAAE,OAAC,CAAC,QAAQ,CACf,OAAC,CAAC,WAAW,CAAC,OAAC,CAAC,OAAO,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC,CAC1D;CACF,CAAC,EACF,OAAC,CAAC,WAAW,CAAC;IACZ,MAAM,EAAE,OAAC,CAAC,KAAK,CACb,OAAC,CAAC,GAAG,CAAwB,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,WAAW,CAAQ,CAAC,CACnE;IACD,QAAQ,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;CACjC,CAAC,CACH,CAAA;AACQ,oBAAI;AASA,QAAA,IAAI,GAAG,IAAI,CAAC,IAAI,EAC3B,QAAA,OAAO,GAAG,IAAI,CAAC,UAAU,EACzB,QAAA,OAAO,GAAG,IAAI,CAAC,MAAM,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.unspecced.getSuggestedUsersForDiscover'\n\nexport { $nsid }\n\n/** Get a list of suggested users for the Discover page */\nconst main = l.query(\n $nsid,\n l.params({\n limit: l.optional(\n l.withDefault(l.integer({ minimum: 1, maximum: 50 }), 25),\n ),\n }),\n l.jsonPayload({\n actors: l.array(\n l.ref<ActorDefs.ProfileView>((() => ActorDefs.profileView) as any),\n ),\n recIdStr: l.optional(l.string()),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $output = main.output\n"]}
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ /*
3
+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
22
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
23
+ };
24
+ var __importStar = (this && this.__importStar) || (function () {
25
+ var ownKeys = function(o) {
26
+ ownKeys = Object.getOwnPropertyNames || function (o) {
27
+ var ar = [];
28
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
29
+ return ar;
30
+ };
31
+ return ownKeys(o);
32
+ };
33
+ return function (mod) {
34
+ if (mod && mod.__esModule) return mod;
35
+ var result = {};
36
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
37
+ __setModuleDefault(result, mod);
38
+ return result;
39
+ };
40
+ })();
41
+ Object.defineProperty(exports, "__esModule", { value: true });
42
+ exports.$defs = void 0;
43
+ __exportStar(require("./getSuggestedUsersForDiscover.defs.js"), exports);
44
+ exports.$defs = __importStar(require("./getSuggestedUsersForDiscover.defs.js"));
45
+ //# sourceMappingURL=getSuggestedUsersForDiscover.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSuggestedUsersForDiscover.js","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/unspecced/getSuggestedUsersForDiscover.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,yEAAsD;AACtD,gFAA+D","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './getSuggestedUsersForDiscover.defs.js'\nexport * as $defs from './getSuggestedUsersForDiscover.defs.js'\n"]}
@@ -0,0 +1,3 @@
1
+ export * from './getSuggestedUsersForDiscoverSkeleton.defs.js';
2
+ export * as $defs from './getSuggestedUsersForDiscoverSkeleton.defs.js';
3
+ //# sourceMappingURL=getSuggestedUsersForDiscoverSkeleton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSuggestedUsersForDiscoverSkeleton.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/unspecced/getSuggestedUsersForDiscoverSkeleton.ts"],"names":[],"mappings":"AAIA,cAAc,gDAAgD,CAAA;AAC9D,OAAO,KAAK,KAAK,MAAM,gDAAgD,CAAA"}
@@ -0,0 +1,31 @@
1
+ import { l } from '@atproto/lex';
2
+ declare const $nsid = "app.bsky.unspecced.getSuggestedUsersForDiscoverSkeleton";
3
+ export { $nsid };
4
+ /** Get a skeleton of suggested users for the Discover page. Intended to be called and hydrated by app.bsky.unspecced.getSuggestedUsersForDiscover */
5
+ declare const main: l.Query<"app.bsky.unspecced.getSuggestedUsersForDiscoverSkeleton", l.ParamsSchema<{
6
+ readonly viewer: l.OptionalSchema<l.StringSchema<{
7
+ readonly format: "did";
8
+ }>>;
9
+ readonly limit: l.OptionalSchema<l.WithDefaultSchema<l.IntegerSchema>>;
10
+ }>, l.Payload<"application/json", l.ObjectSchema<{
11
+ dids: l.ArraySchema<l.StringSchema<{
12
+ readonly format: "did";
13
+ }>>;
14
+ recIdStr: l.OptionalSchema<l.StringSchema<{}>>;
15
+ }>>, undefined>;
16
+ export { main };
17
+ export type $Params = l.InferMethodParams<typeof main>;
18
+ export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
19
+ export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
20
+ export declare const $lxm: "app.bsky.unspecced.getSuggestedUsersForDiscoverSkeleton", $params: l.ParamsSchema<{
21
+ readonly viewer: l.OptionalSchema<l.StringSchema<{
22
+ readonly format: "did";
23
+ }>>;
24
+ readonly limit: l.OptionalSchema<l.WithDefaultSchema<l.IntegerSchema>>;
25
+ }>, $output: l.Payload<"application/json", l.ObjectSchema<{
26
+ dids: l.ArraySchema<l.StringSchema<{
27
+ readonly format: "did";
28
+ }>>;
29
+ recIdStr: l.OptionalSchema<l.StringSchema<{}>>;
30
+ }>>;
31
+ //# sourceMappingURL=getSuggestedUsersForDiscoverSkeleton.defs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSuggestedUsersForDiscoverSkeleton.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/unspecced/getSuggestedUsersForDiscoverSkeleton.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAEhC,QAAA,MAAM,KAAK,4DAA4D,CAAA;AAEvE,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,qJAAqJ;AACrJ,QAAA,MAAM,IAAI;;;;;;;;;;eAYT,CAAA;AACD,OAAO,EAAE,IAAI,EAAE,CAAA;AAEf,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,iBAAiB,CAAC,OAAO,IAAI,CAAC,CAAA;AACtD,MAAM,MAAM,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,iBAAiB,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC,CAAA;AAC3E,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,qBAAqB,CACjE,OAAO,IAAI,EACX,CAAC,CACF,CAAA;AAED,eAAO,MAAM,IAAI,2DAAY,EAC3B,OAAO;;;;;EAAkB,EACzB,OAAO;;;;;GAAc,CAAA"}
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ /*
3
+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.$output = exports.$params = exports.$lxm = exports.main = exports.$nsid = void 0;
7
+ const lex_1 = require("@atproto/lex");
8
+ const $nsid = 'app.bsky.unspecced.getSuggestedUsersForDiscoverSkeleton';
9
+ exports.$nsid = $nsid;
10
+ /** Get a skeleton of suggested users for the Discover page. Intended to be called and hydrated by app.bsky.unspecced.getSuggestedUsersForDiscover */
11
+ const main = lex_1.l.query($nsid, lex_1.l.params({
12
+ viewer: lex_1.l.optional(lex_1.l.string({ format: 'did' })),
13
+ limit: lex_1.l.optional(lex_1.l.withDefault(lex_1.l.integer({ minimum: 1, maximum: 50 }), 25)),
14
+ }), lex_1.l.jsonPayload({
15
+ dids: lex_1.l.array(lex_1.l.string({ format: 'did' })),
16
+ recIdStr: lex_1.l.optional(lex_1.l.string()),
17
+ }));
18
+ exports.main = main;
19
+ exports.$lxm = main.nsid, exports.$params = main.parameters, exports.$output = main.output;
20
+ //# sourceMappingURL=getSuggestedUsersForDiscoverSkeleton.defs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSuggestedUsersForDiscoverSkeleton.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/unspecced/getSuggestedUsersForDiscoverSkeleton.defs.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,sCAAgC;AAEhC,MAAM,KAAK,GAAG,yDAAyD,CAAA;AAE9D,sBAAK;AAEd,qJAAqJ;AACrJ,MAAM,IAAI,GAAG,OAAC,CAAC,KAAK,CAClB,KAAK,EACL,OAAC,CAAC,MAAM,CAAC;IACP,MAAM,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC;IAC/C,KAAK,EAAE,OAAC,CAAC,QAAQ,CACf,OAAC,CAAC,WAAW,CAAC,OAAC,CAAC,OAAO,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC,CAC1D;CACF,CAAC,EACF,OAAC,CAAC,WAAW,CAAC;IACZ,IAAI,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC;IAC1C,QAAQ,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;CACjC,CAAC,CACH,CAAA;AACQ,oBAAI;AASA,QAAA,IAAI,GAAG,IAAI,CAAC,IAAI,EAC3B,QAAA,OAAO,GAAG,IAAI,CAAC,UAAU,EACzB,QAAA,OAAO,GAAG,IAAI,CAAC,MAAM,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.unspecced.getSuggestedUsersForDiscoverSkeleton'\n\nexport { $nsid }\n\n/** Get a skeleton of suggested users for the Discover page. Intended to be called and hydrated by app.bsky.unspecced.getSuggestedUsersForDiscover */\nconst main = l.query(\n $nsid,\n l.params({\n viewer: l.optional(l.string({ format: 'did' })),\n limit: l.optional(\n l.withDefault(l.integer({ minimum: 1, maximum: 50 }), 25),\n ),\n }),\n l.jsonPayload({\n dids: l.array(l.string({ format: 'did' })),\n recIdStr: l.optional(l.string()),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $output = main.output\n"]}
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ /*
3
+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
22
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
23
+ };
24
+ var __importStar = (this && this.__importStar) || (function () {
25
+ var ownKeys = function(o) {
26
+ ownKeys = Object.getOwnPropertyNames || function (o) {
27
+ var ar = [];
28
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
29
+ return ar;
30
+ };
31
+ return ownKeys(o);
32
+ };
33
+ return function (mod) {
34
+ if (mod && mod.__esModule) return mod;
35
+ var result = {};
36
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
37
+ __setModuleDefault(result, mod);
38
+ return result;
39
+ };
40
+ })();
41
+ Object.defineProperty(exports, "__esModule", { value: true });
42
+ exports.$defs = void 0;
43
+ __exportStar(require("./getSuggestedUsersForDiscoverSkeleton.defs.js"), exports);
44
+ exports.$defs = __importStar(require("./getSuggestedUsersForDiscoverSkeleton.defs.js"));
45
+ //# sourceMappingURL=getSuggestedUsersForDiscoverSkeleton.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSuggestedUsersForDiscoverSkeleton.js","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/unspecced/getSuggestedUsersForDiscoverSkeleton.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,iFAA8D;AAC9D,wFAAuE","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './getSuggestedUsersForDiscoverSkeleton.defs.js'\nexport * as $defs from './getSuggestedUsersForDiscoverSkeleton.defs.js'\n"]}
@@ -0,0 +1,3 @@
1
+ export * from './getSuggestedUsersForExplore.defs.js';
2
+ export * as $defs from './getSuggestedUsersForExplore.defs.js';
3
+ //# sourceMappingURL=getSuggestedUsersForExplore.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSuggestedUsersForExplore.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/unspecced/getSuggestedUsersForExplore.ts"],"names":[],"mappings":"AAIA,cAAc,uCAAuC,CAAA;AACrD,OAAO,KAAK,KAAK,MAAM,uCAAuC,CAAA"}
@@ -0,0 +1,24 @@
1
+ import { l } from '@atproto/lex';
2
+ import * as ActorDefs from '../actor/defs.defs.js';
3
+ declare const $nsid = "app.bsky.unspecced.getSuggestedUsersForExplore";
4
+ export { $nsid };
5
+ /** Get a list of suggested users for the Explore page */
6
+ declare const main: l.Query<"app.bsky.unspecced.getSuggestedUsersForExplore", l.ParamsSchema<{
7
+ readonly category: l.OptionalSchema<l.StringSchema<{}>>;
8
+ readonly limit: l.OptionalSchema<l.WithDefaultSchema<l.IntegerSchema>>;
9
+ }>, l.Payload<"application/json", l.ObjectSchema<{
10
+ actors: l.ArraySchema<l.RefSchema<l.Validator<ActorDefs.ProfileView, ActorDefs.ProfileView>>>;
11
+ recIdStr: l.OptionalSchema<l.StringSchema<{}>>;
12
+ }>>, undefined>;
13
+ export { main };
14
+ export type $Params = l.InferMethodParams<typeof main>;
15
+ export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
16
+ export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
17
+ export declare const $lxm: "app.bsky.unspecced.getSuggestedUsersForExplore", $params: l.ParamsSchema<{
18
+ readonly category: l.OptionalSchema<l.StringSchema<{}>>;
19
+ readonly limit: l.OptionalSchema<l.WithDefaultSchema<l.IntegerSchema>>;
20
+ }>, $output: l.Payload<"application/json", l.ObjectSchema<{
21
+ actors: l.ArraySchema<l.RefSchema<l.Validator<ActorDefs.ProfileView, ActorDefs.ProfileView>>>;
22
+ recIdStr: l.OptionalSchema<l.StringSchema<{}>>;
23
+ }>>;
24
+ //# sourceMappingURL=getSuggestedUsersForExplore.defs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSuggestedUsersForExplore.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/unspecced/getSuggestedUsersForExplore.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,SAAS,MAAM,uBAAuB,CAAA;AAElD,QAAA,MAAM,KAAK,mDAAmD,CAAA;AAE9D,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,yDAAyD;AACzD,QAAA,MAAM,IAAI;;;;;;eAcT,CAAA;AACD,OAAO,EAAE,IAAI,EAAE,CAAA;AAEf,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,iBAAiB,CAAC,OAAO,IAAI,CAAC,CAAA;AACtD,MAAM,MAAM,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,iBAAiB,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC,CAAA;AAC3E,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,qBAAqB,CACjE,OAAO,IAAI,EACX,CAAC,CACF,CAAA;AAED,eAAO,MAAM,IAAI,kDAAY,EAC3B,OAAO;;;EAAkB,EACzB,OAAO;;;GAAc,CAAA"}
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ /*
3
+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.$output = exports.$params = exports.$lxm = exports.main = exports.$nsid = void 0;
40
+ const lex_1 = require("@atproto/lex");
41
+ const ActorDefs = __importStar(require("../actor/defs.defs.js"));
42
+ const $nsid = 'app.bsky.unspecced.getSuggestedUsersForExplore';
43
+ exports.$nsid = $nsid;
44
+ /** Get a list of suggested users for the Explore page */
45
+ const main = lex_1.l.query($nsid, lex_1.l.params({
46
+ category: lex_1.l.optional(lex_1.l.string()),
47
+ limit: lex_1.l.optional(lex_1.l.withDefault(lex_1.l.integer({ minimum: 1, maximum: 50 }), 25)),
48
+ }), lex_1.l.jsonPayload({
49
+ actors: lex_1.l.array(lex_1.l.ref((() => ActorDefs.profileView))),
50
+ recIdStr: lex_1.l.optional(lex_1.l.string()),
51
+ }));
52
+ exports.main = main;
53
+ exports.$lxm = main.nsid, exports.$params = main.parameters, exports.$output = main.output;
54
+ //# sourceMappingURL=getSuggestedUsersForExplore.defs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSuggestedUsersForExplore.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/unspecced/getSuggestedUsersForExplore.defs.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,sCAAgC;AAChC,iEAAkD;AAElD,MAAM,KAAK,GAAG,gDAAgD,CAAA;AAErD,sBAAK;AAEd,yDAAyD;AACzD,MAAM,IAAI,GAAG,OAAC,CAAC,KAAK,CAClB,KAAK,EACL,OAAC,CAAC,MAAM,CAAC;IACP,QAAQ,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;IAChC,KAAK,EAAE,OAAC,CAAC,QAAQ,CACf,OAAC,CAAC,WAAW,CAAC,OAAC,CAAC,OAAO,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC,CAC1D;CACF,CAAC,EACF,OAAC,CAAC,WAAW,CAAC;IACZ,MAAM,EAAE,OAAC,CAAC,KAAK,CACb,OAAC,CAAC,GAAG,CAAwB,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,WAAW,CAAQ,CAAC,CACnE;IACD,QAAQ,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;CACjC,CAAC,CACH,CAAA;AACQ,oBAAI;AASA,QAAA,IAAI,GAAG,IAAI,CAAC,IAAI,EAC3B,QAAA,OAAO,GAAG,IAAI,CAAC,UAAU,EACzB,QAAA,OAAO,GAAG,IAAI,CAAC,MAAM,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.unspecced.getSuggestedUsersForExplore'\n\nexport { $nsid }\n\n/** Get a list of suggested users for the Explore page */\nconst main = l.query(\n $nsid,\n l.params({\n category: l.optional(l.string()),\n limit: l.optional(\n l.withDefault(l.integer({ minimum: 1, maximum: 50 }), 25),\n ),\n }),\n l.jsonPayload({\n actors: l.array(\n l.ref<ActorDefs.ProfileView>((() => ActorDefs.profileView) as any),\n ),\n recIdStr: l.optional(l.string()),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $output = main.output\n"]}
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ /*
3
+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
22
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
23
+ };
24
+ var __importStar = (this && this.__importStar) || (function () {
25
+ var ownKeys = function(o) {
26
+ ownKeys = Object.getOwnPropertyNames || function (o) {
27
+ var ar = [];
28
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
29
+ return ar;
30
+ };
31
+ return ownKeys(o);
32
+ };
33
+ return function (mod) {
34
+ if (mod && mod.__esModule) return mod;
35
+ var result = {};
36
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
37
+ __setModuleDefault(result, mod);
38
+ return result;
39
+ };
40
+ })();
41
+ Object.defineProperty(exports, "__esModule", { value: true });
42
+ exports.$defs = void 0;
43
+ __exportStar(require("./getSuggestedUsersForExplore.defs.js"), exports);
44
+ exports.$defs = __importStar(require("./getSuggestedUsersForExplore.defs.js"));
45
+ //# sourceMappingURL=getSuggestedUsersForExplore.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSuggestedUsersForExplore.js","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/unspecced/getSuggestedUsersForExplore.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,wEAAqD;AACrD,+EAA8D","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './getSuggestedUsersForExplore.defs.js'\nexport * as $defs from './getSuggestedUsersForExplore.defs.js'\n"]}
@@ -0,0 +1,3 @@
1
+ export * from './getSuggestedUsersForExploreSkeleton.defs.js';
2
+ export * as $defs from './getSuggestedUsersForExploreSkeleton.defs.js';
3
+ //# sourceMappingURL=getSuggestedUsersForExploreSkeleton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSuggestedUsersForExploreSkeleton.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/unspecced/getSuggestedUsersForExploreSkeleton.ts"],"names":[],"mappings":"AAIA,cAAc,+CAA+C,CAAA;AAC7D,OAAO,KAAK,KAAK,MAAM,+CAA+C,CAAA"}
@@ -0,0 +1,33 @@
1
+ import { l } from '@atproto/lex';
2
+ declare const $nsid = "app.bsky.unspecced.getSuggestedUsersForExploreSkeleton";
3
+ export { $nsid };
4
+ /** Get a skeleton of suggested users for the Explore page. Intended to be called and hydrated by app.bsky.unspecced.getSuggestedUsersForExplore */
5
+ declare const main: l.Query<"app.bsky.unspecced.getSuggestedUsersForExploreSkeleton", l.ParamsSchema<{
6
+ readonly viewer: l.OptionalSchema<l.StringSchema<{
7
+ readonly format: "did";
8
+ }>>;
9
+ readonly category: l.OptionalSchema<l.StringSchema<{}>>;
10
+ readonly limit: l.OptionalSchema<l.WithDefaultSchema<l.IntegerSchema>>;
11
+ }>, l.Payload<"application/json", l.ObjectSchema<{
12
+ dids: l.ArraySchema<l.StringSchema<{
13
+ readonly format: "did";
14
+ }>>;
15
+ recIdStr: l.OptionalSchema<l.StringSchema<{}>>;
16
+ }>>, undefined>;
17
+ export { main };
18
+ export type $Params = l.InferMethodParams<typeof main>;
19
+ export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
20
+ export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
21
+ export declare const $lxm: "app.bsky.unspecced.getSuggestedUsersForExploreSkeleton", $params: l.ParamsSchema<{
22
+ readonly viewer: l.OptionalSchema<l.StringSchema<{
23
+ readonly format: "did";
24
+ }>>;
25
+ readonly category: l.OptionalSchema<l.StringSchema<{}>>;
26
+ readonly limit: l.OptionalSchema<l.WithDefaultSchema<l.IntegerSchema>>;
27
+ }>, $output: l.Payload<"application/json", l.ObjectSchema<{
28
+ dids: l.ArraySchema<l.StringSchema<{
29
+ readonly format: "did";
30
+ }>>;
31
+ recIdStr: l.OptionalSchema<l.StringSchema<{}>>;
32
+ }>>;
33
+ //# sourceMappingURL=getSuggestedUsersForExploreSkeleton.defs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSuggestedUsersForExploreSkeleton.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/unspecced/getSuggestedUsersForExploreSkeleton.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAEhC,QAAA,MAAM,KAAK,2DAA2D,CAAA;AAEtE,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,mJAAmJ;AACnJ,QAAA,MAAM,IAAI;;;;;;;;;;;eAaT,CAAA;AACD,OAAO,EAAE,IAAI,EAAE,CAAA;AAEf,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,iBAAiB,CAAC,OAAO,IAAI,CAAC,CAAA;AACtD,MAAM,MAAM,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,iBAAiB,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC,CAAA;AAC3E,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,qBAAqB,CACjE,OAAO,IAAI,EACX,CAAC,CACF,CAAA;AAED,eAAO,MAAM,IAAI,0DAAY,EAC3B,OAAO;;;;;;EAAkB,EACzB,OAAO;;;;;GAAc,CAAA"}
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ /*
3
+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.$output = exports.$params = exports.$lxm = exports.main = exports.$nsid = void 0;
7
+ const lex_1 = require("@atproto/lex");
8
+ const $nsid = 'app.bsky.unspecced.getSuggestedUsersForExploreSkeleton';
9
+ exports.$nsid = $nsid;
10
+ /** Get a skeleton of suggested users for the Explore page. Intended to be called and hydrated by app.bsky.unspecced.getSuggestedUsersForExplore */
11
+ const main = lex_1.l.query($nsid, lex_1.l.params({
12
+ viewer: lex_1.l.optional(lex_1.l.string({ format: 'did' })),
13
+ category: lex_1.l.optional(lex_1.l.string()),
14
+ limit: lex_1.l.optional(lex_1.l.withDefault(lex_1.l.integer({ minimum: 1, maximum: 50 }), 25)),
15
+ }), lex_1.l.jsonPayload({
16
+ dids: lex_1.l.array(lex_1.l.string({ format: 'did' })),
17
+ recIdStr: lex_1.l.optional(lex_1.l.string()),
18
+ }));
19
+ exports.main = main;
20
+ exports.$lxm = main.nsid, exports.$params = main.parameters, exports.$output = main.output;
21
+ //# sourceMappingURL=getSuggestedUsersForExploreSkeleton.defs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSuggestedUsersForExploreSkeleton.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/unspecced/getSuggestedUsersForExploreSkeleton.defs.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,sCAAgC;AAEhC,MAAM,KAAK,GAAG,wDAAwD,CAAA;AAE7D,sBAAK;AAEd,mJAAmJ;AACnJ,MAAM,IAAI,GAAG,OAAC,CAAC,KAAK,CAClB,KAAK,EACL,OAAC,CAAC,MAAM,CAAC;IACP,MAAM,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC;IAC/C,QAAQ,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;IAChC,KAAK,EAAE,OAAC,CAAC,QAAQ,CACf,OAAC,CAAC,WAAW,CAAC,OAAC,CAAC,OAAO,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC,CAC1D;CACF,CAAC,EACF,OAAC,CAAC,WAAW,CAAC;IACZ,IAAI,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC;IAC1C,QAAQ,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;CACjC,CAAC,CACH,CAAA;AACQ,oBAAI;AASA,QAAA,IAAI,GAAG,IAAI,CAAC,IAAI,EAC3B,QAAA,OAAO,GAAG,IAAI,CAAC,UAAU,EACzB,QAAA,OAAO,GAAG,IAAI,CAAC,MAAM,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.unspecced.getSuggestedUsersForExploreSkeleton'\n\nexport { $nsid }\n\n/** Get a skeleton of suggested users for the Explore page. Intended to be called and hydrated by app.bsky.unspecced.getSuggestedUsersForExplore */\nconst main = l.query(\n $nsid,\n l.params({\n viewer: l.optional(l.string({ format: 'did' })),\n category: l.optional(l.string()),\n limit: l.optional(\n l.withDefault(l.integer({ minimum: 1, maximum: 50 }), 25),\n ),\n }),\n l.jsonPayload({\n dids: l.array(l.string({ format: 'did' })),\n recIdStr: l.optional(l.string()),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $output = main.output\n"]}
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ /*
3
+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
22
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
23
+ };
24
+ var __importStar = (this && this.__importStar) || (function () {
25
+ var ownKeys = function(o) {
26
+ ownKeys = Object.getOwnPropertyNames || function (o) {
27
+ var ar = [];
28
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
29
+ return ar;
30
+ };
31
+ return ownKeys(o);
32
+ };
33
+ return function (mod) {
34
+ if (mod && mod.__esModule) return mod;
35
+ var result = {};
36
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
37
+ __setModuleDefault(result, mod);
38
+ return result;
39
+ };
40
+ })();
41
+ Object.defineProperty(exports, "__esModule", { value: true });
42
+ exports.$defs = void 0;
43
+ __exportStar(require("./getSuggestedUsersForExploreSkeleton.defs.js"), exports);
44
+ exports.$defs = __importStar(require("./getSuggestedUsersForExploreSkeleton.defs.js"));
45
+ //# sourceMappingURL=getSuggestedUsersForExploreSkeleton.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSuggestedUsersForExploreSkeleton.js","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/unspecced/getSuggestedUsersForExploreSkeleton.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,gFAA6D;AAC7D,uFAAsE","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './getSuggestedUsersForExploreSkeleton.defs.js'\nexport * as $defs from './getSuggestedUsersForExploreSkeleton.defs.js'\n"]}
@@ -0,0 +1,3 @@
1
+ export * from './getSuggestedUsersForSeeMore.defs.js';
2
+ export * as $defs from './getSuggestedUsersForSeeMore.defs.js';
3
+ //# sourceMappingURL=getSuggestedUsersForSeeMore.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSuggestedUsersForSeeMore.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/unspecced/getSuggestedUsersForSeeMore.ts"],"names":[],"mappings":"AAIA,cAAc,uCAAuC,CAAA;AACrD,OAAO,KAAK,KAAK,MAAM,uCAAuC,CAAA"}