@atproto/pds 0.4.217 → 0.4.218
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 +18 -0
- package/dist/account-manager/oauth-store.d.ts.map +1 -1
- package/dist/account-manager/oauth-store.js +1 -1
- package/dist/account-manager/oauth-store.js.map +1 -1
- package/dist/actor-store/blob/transactor.d.ts +6 -6
- package/dist/actor-store/blob/transactor.d.ts.map +1 -1
- package/dist/actor-store/blob/transactor.js +1 -4
- package/dist/actor-store/blob/transactor.js.map +1 -1
- package/dist/api/com/atproto/repo/importRepo.js +1 -1
- package/dist/api/com/atproto/repo/importRepo.js.map +1 -1
- package/dist/api/com/atproto/repo/putRecord.js.map +1 -1
- package/dist/lexicons/app/bsky/actor/defs.defs.d.ts +1 -0
- package/dist/lexicons/app/bsky/actor/defs.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/actor/defs.defs.js +1 -0
- package/dist/lexicons/app/bsky/actor/defs.defs.js.map +1 -1
- package/dist/lexicons/app/bsky/actor/profile.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/actor/profile.defs.js +2 -10
- package/dist/lexicons/app/bsky/actor/profile.defs.js.map +1 -1
- package/dist/lexicons/app/bsky/embed/external.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/embed/external.defs.js +1 -1
- package/dist/lexicons/app/bsky/embed/external.defs.js.map +1 -1
- package/dist/lexicons/app/bsky/embed/images.defs.d.ts +3 -0
- package/dist/lexicons/app/bsky/embed/images.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/embed/images.defs.js +1 -5
- package/dist/lexicons/app/bsky/embed/images.defs.js.map +1 -1
- package/dist/lexicons/app/bsky/embed/video.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/embed/video.defs.js +2 -6
- package/dist/lexicons/app/bsky/embed/video.defs.js.map +1 -1
- package/dist/lexicons/app/bsky/feed/generator.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/feed/generator.defs.js +1 -5
- package/dist/lexicons/app/bsky/feed/generator.defs.js.map +1 -1
- package/dist/lexicons/app/bsky/graph/list.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/graph/list.defs.js +1 -5
- package/dist/lexicons/app/bsky/graph/list.defs.js.map +1 -1
- package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForDiscover.d.ts +3 -0
- package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForDiscover.d.ts.map +1 -0
- package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForDiscover.defs.d.ts +22 -0
- package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForDiscover.defs.d.ts.map +1 -0
- package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForDiscover.defs.js +53 -0
- package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForDiscover.defs.js.map +1 -0
- package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForDiscover.js +45 -0
- package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForDiscover.js.map +1 -0
- package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForDiscoverSkeleton.d.ts +3 -0
- package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForDiscoverSkeleton.d.ts.map +1 -0
- package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForDiscoverSkeleton.defs.d.ts +31 -0
- package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForDiscoverSkeleton.defs.d.ts.map +1 -0
- package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForDiscoverSkeleton.defs.js +20 -0
- package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForDiscoverSkeleton.defs.js.map +1 -0
- package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForDiscoverSkeleton.js +45 -0
- package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForDiscoverSkeleton.js.map +1 -0
- package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForExplore.d.ts +3 -0
- package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForExplore.d.ts.map +1 -0
- package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForExplore.defs.d.ts +24 -0
- package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForExplore.defs.d.ts.map +1 -0
- package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForExplore.defs.js +54 -0
- package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForExplore.defs.js.map +1 -0
- package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForExplore.js +45 -0
- package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForExplore.js.map +1 -0
- package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForExploreSkeleton.d.ts +3 -0
- package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForExploreSkeleton.d.ts.map +1 -0
- package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForExploreSkeleton.defs.d.ts +33 -0
- package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForExploreSkeleton.defs.d.ts.map +1 -0
- package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForExploreSkeleton.defs.js +21 -0
- package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForExploreSkeleton.defs.js.map +1 -0
- package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForExploreSkeleton.js +45 -0
- package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForExploreSkeleton.js.map +1 -0
- package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForSeeMore.d.ts +3 -0
- package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForSeeMore.d.ts.map +1 -0
- package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForSeeMore.defs.d.ts +24 -0
- package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForSeeMore.defs.d.ts.map +1 -0
- package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForSeeMore.defs.js +54 -0
- package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForSeeMore.defs.js.map +1 -0
- package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForSeeMore.js +45 -0
- package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForSeeMore.js.map +1 -0
- package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForSeeMoreSkeleton.d.ts +3 -0
- package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForSeeMoreSkeleton.d.ts.map +1 -0
- package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForSeeMoreSkeleton.defs.d.ts +33 -0
- package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForSeeMoreSkeleton.defs.d.ts.map +1 -0
- package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForSeeMoreSkeleton.defs.js +21 -0
- package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForSeeMoreSkeleton.defs.js.map +1 -0
- package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForSeeMoreSkeleton.js +45 -0
- package/dist/lexicons/app/bsky/unspecced/getSuggestedUsersForSeeMoreSkeleton.js.map +1 -0
- package/dist/lexicons/app/bsky/unspecced.d.ts +6 -0
- package/dist/lexicons/app/bsky/unspecced.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/unspecced.js +7 -1
- package/dist/lexicons/app/bsky/unspecced.js.map +1 -1
- package/dist/lexicons/app/bsky/video/defs.defs.js +1 -1
- package/dist/lexicons/app/bsky/video/defs.defs.js.map +1 -1
- package/dist/lexicons/com/atproto/repo/uploadBlob.defs.d.ts +2 -6
- package/dist/lexicons/com/atproto/repo/uploadBlob.defs.d.ts.map +1 -1
- package/dist/lexicons/com/atproto/repo/uploadBlob.defs.js +1 -1
- package/dist/lexicons/com/atproto/repo/uploadBlob.defs.js.map +1 -1
- package/dist/read-after-write/viewer.d.ts.map +1 -1
- package/dist/read-after-write/viewer.js +7 -6
- package/dist/read-after-write/viewer.js.map +1 -1
- package/dist/repo/prepare.d.ts.map +1 -1
- package/dist/repo/prepare.js.map +1 -1
- package/dist/repo/types.d.ts +3 -3
- package/dist/repo/types.d.ts.map +1 -1
- package/dist/repo/types.js.map +1 -1
- package/package.json +14 -14
- package/src/account-manager/oauth-store.ts +2 -1
- package/src/actor-store/blob/transactor.ts +9 -15
- package/src/api/com/atproto/repo/importRepo.ts +1 -1
- package/src/api/com/atproto/repo/putRecord.ts +2 -2
- package/src/read-after-write/viewer.ts +10 -7
- package/src/repo/prepare.ts +2 -2
- package/src/repo/types.ts +3 -3
- package/tests/file-uploads.test.ts +17 -9
- package/tsconfig.build.tsbuildinfo +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/graph/list.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAA;AAC3C,OAAO,KAAK,aAAa,MAAM,2BAA2B,CAAA;AAC1D,OAAO,KAAK,SAAS,MAAM,yCAAyC,CAAA;AAEpE,QAAA,MAAM,KAAK,wBAAwB,CAAA;AAEnC,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,mIAAmI;AACnI,KAAK,IAAI,GAAG;IACV,KAAK,EAAE,qBAAqB,CAAA;IAE5B;;OAEG;IACH,OAAO,EAAE,SAAS,CAAC,WAAW,CAAA;IAE9B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,iBAAiB,CAAC,EAAE,aAAa,CAAC,IAAI,EAAE,CAAA;IACxC,MAAM,CAAC,EAAE,CAAC,CAAC,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,mBAAmB,CAAA;IAC/D,SAAS,EAAE,CAAC,CAAC,cAAc,CAAA;CAC5B,CAAA;AAED,YAAY,EAAE,IAAI,EAAE,CAAA;AAEpB,mIAAmI;AACnI,QAAA,MAAM,IAAI,
|
|
1
|
+
{"version":3,"file":"list.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/graph/list.defs.ts"],"names":[],"mappings":"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"}
|
|
@@ -49,11 +49,7 @@ const main = lex_1.l.record('tid', $nsid, lex_1.l.object({
|
|
|
49
49
|
name: lex_1.l.string({ maxLength: 64, minLength: 1 }),
|
|
50
50
|
description: lex_1.l.optional(lex_1.l.string({ maxGraphemes: 300, maxLength: 3000 })),
|
|
51
51
|
descriptionFacets: lex_1.l.optional(lex_1.l.array(lex_1.l.ref((() => RichtextFacet.main)))),
|
|
52
|
-
avatar: lex_1.l.optional(lex_1.l.blob({
|
|
53
|
-
accept: ['image/png', 'image/jpeg'],
|
|
54
|
-
maxSize: 1000000,
|
|
55
|
-
allowLegacy: false,
|
|
56
|
-
})),
|
|
52
|
+
avatar: lex_1.l.optional(lex_1.l.blob({ accept: ['image/png', 'image/jpeg'], maxSize: 1000000 })),
|
|
57
53
|
labels: lex_1.l.optional(lex_1.l.typedUnion([lex_1.l.typedRef((() => LabelDefs.selfLabels))], false)),
|
|
58
54
|
createdAt: lex_1.l.string({ format: 'datetime' }),
|
|
59
55
|
}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/graph/list.defs.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,sCAAgC;AAChC,0DAA2C;AAC3C,yEAA0D;AAC1D,mFAAoE;AAEpE,MAAM,KAAK,GAAG,qBAAqB,CAAA;AAE1B,sBAAK;AAwBd,mIAAmI;AACnI,MAAM,IAAI,GAAG,OAAC,CAAC,MAAM,CACnB,KAAK,EACL,KAAK,EACL,OAAC,CAAC,MAAM,CAAC;IACP,OAAO,EAAE,OAAC,CAAC,GAAG,CAAwB,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,WAAW,CAAQ,CAAC;IAC3E,IAAI,EAAE,OAAC,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC;IAC/C,WAAW,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,MAAM,CAAC,EAAE,YAAY,EAAE,GAAG,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;IACzE,iBAAiB,EAAE,OAAC,CAAC,QAAQ,CAC3B,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,GAAG,CAAqB,CAAC,GAAG,EAAE,CAAC,aAAa,CAAC,IAAI,CAAQ,CAAC,CAAC,CACtE;IACD,MAAM,EAAE,OAAC,CAAC,QAAQ,CAChB,OAAC,CAAC,IAAI,CAAC
|
|
1
|
+
{"version":3,"file":"list.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/graph/list.defs.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,sCAAgC;AAChC,0DAA2C;AAC3C,yEAA0D;AAC1D,mFAAoE;AAEpE,MAAM,KAAK,GAAG,qBAAqB,CAAA;AAE1B,sBAAK;AAwBd,mIAAmI;AACnI,MAAM,IAAI,GAAG,OAAC,CAAC,MAAM,CACnB,KAAK,EACL,KAAK,EACL,OAAC,CAAC,MAAM,CAAC;IACP,OAAO,EAAE,OAAC,CAAC,GAAG,CAAwB,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,WAAW,CAAQ,CAAC;IAC3E,IAAI,EAAE,OAAC,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC;IAC/C,WAAW,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,MAAM,CAAC,EAAE,YAAY,EAAE,GAAG,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;IACzE,iBAAiB,EAAE,OAAC,CAAC,QAAQ,CAC3B,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,GAAG,CAAqB,CAAC,GAAG,EAAE,CAAC,aAAa,CAAC,IAAI,CAAQ,CAAC,CAAC,CACtE;IACD,MAAM,EAAE,OAAC,CAAC,QAAQ,CAChB,OAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC,WAAW,EAAE,YAAY,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,CAClE;IACD,MAAM,EAAE,OAAC,CAAC,QAAQ,CAChB,OAAC,CAAC,UAAU,CACV,CAAC,OAAC,CAAC,QAAQ,CAAuB,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,UAAU,CAAQ,CAAC,CAAC,EACvE,KAAK,CACN,CACF;IACD,SAAS,EAAE,OAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC;CAC5C,CAAC,CACH,CAAA;AAEQ,oBAAI;AAEA,QAAA,SAAS,GAAiB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,EAC7D,QAAA,MAAM,GAAiB,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAC5C,QAAA,KAAK,GAAiB,IAAI,CAAC,KAAK,CAAA;AACrB,QAAA,OAAO,GAAiB,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,EACzD,QAAA,MAAM,GAAiB,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAC5C,QAAA,KAAK,GAAiB,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,EAC1C,QAAA,UAAU,GAAiB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,EACpD,QAAA,QAAQ,GAAiB,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAChD,QAAA,MAAM,GAAiB,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAC5C,QAAA,UAAU,GAAiB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,EACpD,QAAA,SAAS,GAAiB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,EAClD,QAAA,aAAa,GAAiB,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as GraphDefs from './defs.defs.js'\nimport * as RichtextFacet from '../richtext/facet.defs.js'\nimport * as LabelDefs from '../../../com/atproto/label/defs.defs.js'\n\nconst $nsid = 'app.bsky.graph.list'\n\nexport { $nsid }\n\n/** Record representing a list of accounts (actors). Scope includes both moderation-oriented lists and curration-oriented lists. */\ntype Main = {\n $type: 'app.bsky.graph.list'\n\n /**\n * Defines the purpose of the list (aka, moderation-oriented or curration-oriented)\n */\n purpose: GraphDefs.ListPurpose\n\n /**\n * Display name for list; can not be empty.\n */\n name: string\n description?: string\n descriptionFacets?: RichtextFacet.Main[]\n avatar?: l.BlobRef\n labels?: l.$Typed<LabelDefs.SelfLabels> | l.Unknown$TypedObject\n createdAt: l.DatetimeString\n}\n\nexport type { Main }\n\n/** Record representing a list of accounts (actors). Scope includes both moderation-oriented lists and curration-oriented lists. */\nconst main = l.record<'tid', Main>(\n 'tid',\n $nsid,\n l.object({\n purpose: l.ref<GraphDefs.ListPurpose>((() => GraphDefs.listPurpose) as any),\n name: l.string({ maxLength: 64, minLength: 1 }),\n description: l.optional(l.string({ maxGraphemes: 300, maxLength: 3000 })),\n descriptionFacets: l.optional(\n l.array(l.ref<RichtextFacet.Main>((() => RichtextFacet.main) as any)),\n ),\n avatar: l.optional(\n l.blob({ accept: ['image/png', 'image/jpeg'], maxSize: 1000000 }),\n ),\n labels: l.optional(\n l.typedUnion(\n [l.typedRef<LabelDefs.SelfLabels>((() => LabelDefs.selfLabels) as any)],\n false,\n ),\n ),\n createdAt: l.string({ format: 'datetime' }),\n }),\n)\n\nexport { main }\n\nexport const $isTypeOf = /*#__PURE__*/ main.isTypeOf.bind(main),\n $build = /*#__PURE__*/ main.build.bind(main),\n $type = /*#__PURE__*/ main.$type\nexport const $assert = /*#__PURE__*/ main.assert.bind(main),\n $check = /*#__PURE__*/ main.check.bind(main),\n $cast = /*#__PURE__*/ main.cast.bind(main),\n $ifMatches = /*#__PURE__*/ main.ifMatches.bind(main),\n $matches = /*#__PURE__*/ main.matches.bind(main),\n $parse = /*#__PURE__*/ main.parse.bind(main),\n $safeParse = /*#__PURE__*/ main.safeParse.bind(main),\n $validate = /*#__PURE__*/ main.validate.bind(main),\n $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main)\n"]}
|
|
@@ -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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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"]}
|