@atproto/ozone 0.1.167 → 0.1.169

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 (83) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/dist/api/report/createReport.d.ts.map +1 -1
  3. package/dist/api/report/createReport.js +2 -4
  4. package/dist/api/report/createReport.js.map +1 -1
  5. package/dist/lexicon/index.d.ts +12 -0
  6. package/dist/lexicon/index.d.ts.map +1 -1
  7. package/dist/lexicon/index.js +24 -0
  8. package/dist/lexicon/index.js.map +1 -1
  9. package/dist/lexicon/lexicons.d.ts +981 -427
  10. package/dist/lexicon/lexicons.d.ts.map +1 -1
  11. package/dist/lexicon/lexicons.js +290 -10
  12. package/dist/lexicon/lexicons.js.map +1 -1
  13. package/dist/lexicon/types/app/bsky/graph/getSuggestedFollowsByActor.d.ts +3 -3
  14. package/dist/lexicon/types/app/bsky/graph/getSuggestedFollowsByActor.d.ts.map +1 -1
  15. package/dist/lexicon/types/app/bsky/graph/getSuggestedFollowsByActor.js.map +1 -1
  16. package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersForDiscover.d.ts +24 -0
  17. package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersForDiscover.d.ts.map +1 -0
  18. package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersForDiscover.js +7 -0
  19. package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersForDiscover.js.map +1 -0
  20. package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersForDiscoverSkeleton.d.ts +25 -0
  21. package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersForDiscoverSkeleton.d.ts.map +1 -0
  22. package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersForDiscoverSkeleton.js +7 -0
  23. package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersForDiscoverSkeleton.js.map +1 -0
  24. package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersForExplore.d.ts +26 -0
  25. package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersForExplore.d.ts.map +1 -0
  26. package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersForExplore.js +7 -0
  27. package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersForExplore.js.map +1 -0
  28. package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersForExploreSkeleton.d.ts +27 -0
  29. package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersForExploreSkeleton.d.ts.map +1 -0
  30. package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersForExploreSkeleton.js +7 -0
  31. package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersForExploreSkeleton.js.map +1 -0
  32. package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersForSeeMore.d.ts +26 -0
  33. package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersForSeeMore.d.ts.map +1 -0
  34. package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersForSeeMore.js +7 -0
  35. package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersForSeeMore.js.map +1 -0
  36. package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersForSeeMoreSkeleton.d.ts +27 -0
  37. package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersForSeeMoreSkeleton.d.ts.map +1 -0
  38. package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersForSeeMoreSkeleton.js +7 -0
  39. package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersForSeeMoreSkeleton.js.map +1 -0
  40. package/dist/lexicon/types/com/atproto/label/defs.d.ts +1 -1
  41. package/dist/lexicon/types/com/atproto/label/defs.d.ts.map +1 -1
  42. package/dist/lexicon/types/com/atproto/label/defs.js.map +1 -1
  43. package/package.json +6 -6
  44. package/src/api/report/createReport.ts +2 -4
  45. package/src/lexicon/index.ts +78 -0
  46. package/src/lexicon/lexicons.ts +309 -11
  47. package/src/lexicon/types/app/bsky/graph/getSuggestedFollowsByActor.ts +3 -3
  48. package/src/lexicon/types/app/bsky/unspecced/getSuggestedUsersForDiscover.ts +42 -0
  49. package/src/lexicon/types/app/bsky/unspecced/getSuggestedUsersForDiscoverSkeleton.ts +43 -0
  50. package/src/lexicon/types/app/bsky/unspecced/getSuggestedUsersForExplore.ts +44 -0
  51. package/src/lexicon/types/app/bsky/unspecced/getSuggestedUsersForExploreSkeleton.ts +45 -0
  52. package/src/lexicon/types/app/bsky/unspecced/getSuggestedUsersForSeeMore.ts +44 -0
  53. package/src/lexicon/types/app/bsky/unspecced/getSuggestedUsersForSeeMoreSkeleton.ts +45 -0
  54. package/src/lexicon/types/com/atproto/label/defs.ts +2 -5
  55. package/tests/3p-labeler.test.ts +2 -2
  56. package/tests/account-strikes.test.ts +1 -1
  57. package/tests/communication-templates.test.ts +1 -1
  58. package/tests/expiring-label.test.ts +1 -1
  59. package/tests/get-account-timeline.test.ts +1 -1
  60. package/tests/get-config.test.ts +1 -1
  61. package/tests/get-lists.test.ts +2 -2
  62. package/tests/get-profiles.test.ts +1 -1
  63. package/tests/get-record.test.ts +1 -1
  64. package/tests/get-records.test.ts +1 -1
  65. package/tests/get-repo.test.ts +2 -2
  66. package/tests/get-repos.test.ts +2 -2
  67. package/tests/get-starter-pack.test.ts +2 -2
  68. package/tests/get-subjects.test.ts +1 -1
  69. package/tests/moderation.test.ts +3 -3
  70. package/tests/query-labels.test.ts +1 -1
  71. package/tests/repo-search.test.ts +1 -1
  72. package/tests/report-reason.test.ts +1 -1
  73. package/tests/safelink.test.ts +3 -3
  74. package/tests/scheduled-action-processor.test.ts +1 -1
  75. package/tests/scheduled-action.test.ts +3 -3
  76. package/tests/sets.test.ts +1 -1
  77. package/tests/settings.test.ts +1 -1
  78. package/tests/strike-expiry-processor.test.ts +1 -1
  79. package/tests/takedown.test.ts +2 -2
  80. package/tests/team.test.ts +2 -2
  81. package/tests/verification-listener.test.ts +1 -1
  82. package/tests/verification.test.ts +2 -2
  83. package/tsconfig.build.tsbuildinfo +1 -1
@@ -5,12 +5,12 @@ export type QueryParams = {
5
5
  export type InputSchema = undefined;
6
6
  export interface OutputSchema {
7
7
  suggestions: AppBskyActorDefs.ProfileView[];
8
- /** If true, response has fallen-back to generic results, and is not scoped using relativeToDid */
8
+ /** Snowflake for this recommendation, use when submitting recommendation events. */
9
+ recIdStr?: string;
10
+ /** DEPRECATED, unused. Previously: if true, response has fallen-back to generic results, and is not scoped using relativeToDid */
9
11
  isFallback?: boolean;
10
12
  /** DEPRECATED: use recIdStr instead. */
11
13
  recId?: number;
12
- /** Snowflake for this recommendation, use when submitting recommendation events. */
13
- recIdStr?: string;
14
14
  }
15
15
  export type HandlerInput = void;
16
16
  export interface HandlerSuccess {
@@ -1 +1 @@
1
- {"version":3,"file":"getSuggestedFollowsByActor.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/graph/getSuggestedFollowsByActor.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,KAAK,gBAAgB,MAAM,kBAAkB,CAAA;AAMzD,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AACD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,WAAW,EAAE,gBAAgB,CAAC,WAAW,EAAE,CAAA;IAC3C,kGAAkG;IAClG,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,wCAAwC;IACxC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,oFAAoF;IACpF,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,MAAM,YAAY,GAAG,IAAI,CAAA;AAE/B,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,YAAY,CAAA;IAClB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,CAAA"}
1
+ {"version":3,"file":"getSuggestedFollowsByActor.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/graph/getSuggestedFollowsByActor.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,KAAK,gBAAgB,MAAM,kBAAkB,CAAA;AAMzD,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AACD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,WAAW,EAAE,gBAAgB,CAAC,WAAW,EAAE,CAAA;IAC3C,oFAAoF;IACpF,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,kIAAkI;IAClI,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,wCAAwC;IACxC,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,MAAM,MAAM,YAAY,GAAG,IAAI,CAAA;AAE/B,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,YAAY,CAAA;IAClB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"getSuggestedFollowsByActor.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/graph/getSuggestedFollowsByActor.ts"],"names":[],"mappings":";;AAKA,mDAA4D;AAC5D,2CAIyB;AAGzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,2CAA2C,CAAA","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util'\nimport type * as AppBskyActorDefs from '../actor/defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.graph.getSuggestedFollowsByActor'\n\nexport type QueryParams = {\n actor: string\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n suggestions: AppBskyActorDefs.ProfileView[]\n /** If true, response has fallen-back to generic results, and is not scoped using relativeToDid */\n isFallback?: boolean\n /** DEPRECATED: use recIdStr instead. */\n recId?: number\n /** Snowflake for this recommendation, use when submitting recommendation events. */\n recIdStr?: string\n}\n\nexport type HandlerInput = void\n\nexport interface HandlerSuccess {\n encoding: 'application/json'\n body: OutputSchema\n headers?: { [key: string]: string }\n}\n\nexport interface HandlerError {\n status: number\n message?: string\n}\n\nexport type HandlerOutput = HandlerError | HandlerSuccess\n"]}
1
+ {"version":3,"file":"getSuggestedFollowsByActor.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/graph/getSuggestedFollowsByActor.ts"],"names":[],"mappings":";;AAKA,mDAA4D;AAC5D,2CAIyB;AAGzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,2CAA2C,CAAA","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util'\nimport type * as AppBskyActorDefs from '../actor/defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.graph.getSuggestedFollowsByActor'\n\nexport type QueryParams = {\n actor: string\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n suggestions: AppBskyActorDefs.ProfileView[]\n /** Snowflake for this recommendation, use when submitting recommendation events. */\n recIdStr?: string\n /** DEPRECATED, unused. Previously: if true, response has fallen-back to generic results, and is not scoped using relativeToDid */\n isFallback?: boolean\n /** DEPRECATED: use recIdStr instead. */\n recId?: number\n}\n\nexport type HandlerInput = void\n\nexport interface HandlerSuccess {\n encoding: 'application/json'\n body: OutputSchema\n headers?: { [key: string]: string }\n}\n\nexport interface HandlerError {\n status: number\n message?: string\n}\n\nexport type HandlerOutput = HandlerError | HandlerSuccess\n"]}
@@ -0,0 +1,24 @@
1
+ import type * as AppBskyActorDefs from '../actor/defs.js';
2
+ export type QueryParams = {
3
+ limit: number;
4
+ };
5
+ export type InputSchema = undefined;
6
+ export interface OutputSchema {
7
+ actors: AppBskyActorDefs.ProfileView[];
8
+ /** Snowflake for this recommendation, use when submitting recommendation events. */
9
+ recIdStr?: string;
10
+ }
11
+ export type HandlerInput = void;
12
+ export interface HandlerSuccess {
13
+ encoding: 'application/json';
14
+ body: OutputSchema;
15
+ headers?: {
16
+ [key: string]: string;
17
+ };
18
+ }
19
+ export interface HandlerError {
20
+ status: number;
21
+ message?: string;
22
+ }
23
+ export type HandlerOutput = HandlerError | HandlerSuccess;
24
+ //# sourceMappingURL=getSuggestedUsersForDiscover.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSuggestedUsersForDiscover.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/unspecced/getSuggestedUsersForDiscover.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,KAAK,gBAAgB,MAAM,kBAAkB,CAAA;AAMzD,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AACD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,gBAAgB,CAAC,WAAW,EAAE,CAAA;IACtC,oFAAoF;IACpF,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,MAAM,YAAY,GAAG,IAAI,CAAA;AAE/B,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,YAAY,CAAA;IAClB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,CAAA"}
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const lexicons_1 = require("../../../../lexicons");
4
+ const util_1 = require("../../../../util");
5
+ const is$typed = util_1.is$typed, validate = lexicons_1.validate;
6
+ const id = 'app.bsky.unspecced.getSuggestedUsersForDiscover';
7
+ //# sourceMappingURL=getSuggestedUsersForDiscover.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSuggestedUsersForDiscover.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/unspecced/getSuggestedUsersForDiscover.ts"],"names":[],"mappings":";;AAKA,mDAA4D;AAC5D,2CAIyB;AAGzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,iDAAiD,CAAA","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util'\nimport type * as AppBskyActorDefs from '../actor/defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.unspecced.getSuggestedUsersForDiscover'\n\nexport type QueryParams = {\n limit: number\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n actors: AppBskyActorDefs.ProfileView[]\n /** Snowflake for this recommendation, use when submitting recommendation events. */\n recIdStr?: string\n}\n\nexport type HandlerInput = void\n\nexport interface HandlerSuccess {\n encoding: 'application/json'\n body: OutputSchema\n headers?: { [key: string]: string }\n}\n\nexport interface HandlerError {\n status: number\n message?: string\n}\n\nexport type HandlerOutput = HandlerError | HandlerSuccess\n"]}
@@ -0,0 +1,25 @@
1
+ export type QueryParams = {
2
+ /** DID of the account making the request (not included for public/unauthenticated queries). */
3
+ viewer?: string;
4
+ limit: number;
5
+ };
6
+ export type InputSchema = undefined;
7
+ export interface OutputSchema {
8
+ dids: string[];
9
+ /** Snowflake for this recommendation, use when submitting recommendation events. */
10
+ recIdStr?: string;
11
+ }
12
+ export type HandlerInput = void;
13
+ export interface HandlerSuccess {
14
+ encoding: 'application/json';
15
+ body: OutputSchema;
16
+ headers?: {
17
+ [key: string]: string;
18
+ };
19
+ }
20
+ export interface HandlerError {
21
+ status: number;
22
+ message?: string;
23
+ }
24
+ export type HandlerOutput = HandlerError | HandlerSuccess;
25
+ //# sourceMappingURL=getSuggestedUsersForDiscoverSkeleton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSuggestedUsersForDiscoverSkeleton.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/unspecced/getSuggestedUsersForDiscoverSkeleton.ts"],"names":[],"mappings":"AAgBA,MAAM,MAAM,WAAW,GAAG;IACxB,+FAA+F;IAC/F,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AACD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,EAAE,CAAA;IACd,oFAAoF;IACpF,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,MAAM,YAAY,GAAG,IAAI,CAAA;AAE/B,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,YAAY,CAAA;IAClB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,CAAA"}
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const lexicons_1 = require("../../../../lexicons");
4
+ const util_1 = require("../../../../util");
5
+ const is$typed = util_1.is$typed, validate = lexicons_1.validate;
6
+ const id = 'app.bsky.unspecced.getSuggestedUsersForDiscoverSkeleton';
7
+ //# sourceMappingURL=getSuggestedUsersForDiscoverSkeleton.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSuggestedUsersForDiscoverSkeleton.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/unspecced/getSuggestedUsersForDiscoverSkeleton.ts"],"names":[],"mappings":";;AAKA,mDAA4D;AAC5D,2CAIyB;AAEzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,yDAAyD,CAAA","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.unspecced.getSuggestedUsersForDiscoverSkeleton'\n\nexport type QueryParams = {\n /** DID of the account making the request (not included for public/unauthenticated queries). */\n viewer?: string\n limit: number\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n dids: string[]\n /** Snowflake for this recommendation, use when submitting recommendation events. */\n recIdStr?: string\n}\n\nexport type HandlerInput = void\n\nexport interface HandlerSuccess {\n encoding: 'application/json'\n body: OutputSchema\n headers?: { [key: string]: string }\n}\n\nexport interface HandlerError {\n status: number\n message?: string\n}\n\nexport type HandlerOutput = HandlerError | HandlerSuccess\n"]}
@@ -0,0 +1,26 @@
1
+ import type * as AppBskyActorDefs from '../actor/defs.js';
2
+ export type QueryParams = {
3
+ /** Category of users to get suggestions for. */
4
+ category?: string;
5
+ limit: number;
6
+ };
7
+ export type InputSchema = undefined;
8
+ export interface OutputSchema {
9
+ actors: AppBskyActorDefs.ProfileView[];
10
+ /** Snowflake for this recommendation, use when submitting recommendation events. */
11
+ recIdStr?: string;
12
+ }
13
+ export type HandlerInput = void;
14
+ export interface HandlerSuccess {
15
+ encoding: 'application/json';
16
+ body: OutputSchema;
17
+ headers?: {
18
+ [key: string]: string;
19
+ };
20
+ }
21
+ export interface HandlerError {
22
+ status: number;
23
+ message?: string;
24
+ }
25
+ export type HandlerOutput = HandlerError | HandlerSuccess;
26
+ //# sourceMappingURL=getSuggestedUsersForExplore.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSuggestedUsersForExplore.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/unspecced/getSuggestedUsersForExplore.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,KAAK,gBAAgB,MAAM,kBAAkB,CAAA;AAMzD,MAAM,MAAM,WAAW,GAAG;IACxB,gDAAgD;IAChD,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AACD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,gBAAgB,CAAC,WAAW,EAAE,CAAA;IACtC,oFAAoF;IACpF,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,MAAM,YAAY,GAAG,IAAI,CAAA;AAE/B,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,YAAY,CAAA;IAClB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,CAAA"}
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const lexicons_1 = require("../../../../lexicons");
4
+ const util_1 = require("../../../../util");
5
+ const is$typed = util_1.is$typed, validate = lexicons_1.validate;
6
+ const id = 'app.bsky.unspecced.getSuggestedUsersForExplore';
7
+ //# sourceMappingURL=getSuggestedUsersForExplore.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSuggestedUsersForExplore.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/unspecced/getSuggestedUsersForExplore.ts"],"names":[],"mappings":";;AAKA,mDAA4D;AAC5D,2CAIyB;AAGzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,gDAAgD,CAAA","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util'\nimport type * as AppBskyActorDefs from '../actor/defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.unspecced.getSuggestedUsersForExplore'\n\nexport type QueryParams = {\n /** Category of users to get suggestions for. */\n category?: string\n limit: number\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n actors: AppBskyActorDefs.ProfileView[]\n /** Snowflake for this recommendation, use when submitting recommendation events. */\n recIdStr?: string\n}\n\nexport type HandlerInput = void\n\nexport interface HandlerSuccess {\n encoding: 'application/json'\n body: OutputSchema\n headers?: { [key: string]: string }\n}\n\nexport interface HandlerError {\n status: number\n message?: string\n}\n\nexport type HandlerOutput = HandlerError | HandlerSuccess\n"]}
@@ -0,0 +1,27 @@
1
+ export type QueryParams = {
2
+ /** DID of the account making the request (not included for public/unauthenticated queries). */
3
+ viewer?: string;
4
+ /** Category of users to get suggestions for. */
5
+ category?: string;
6
+ limit: number;
7
+ };
8
+ export type InputSchema = undefined;
9
+ export interface OutputSchema {
10
+ dids: string[];
11
+ /** Snowflake for this recommendation, use when submitting recommendation events. */
12
+ recIdStr?: string;
13
+ }
14
+ export type HandlerInput = void;
15
+ export interface HandlerSuccess {
16
+ encoding: 'application/json';
17
+ body: OutputSchema;
18
+ headers?: {
19
+ [key: string]: string;
20
+ };
21
+ }
22
+ export interface HandlerError {
23
+ status: number;
24
+ message?: string;
25
+ }
26
+ export type HandlerOutput = HandlerError | HandlerSuccess;
27
+ //# sourceMappingURL=getSuggestedUsersForExploreSkeleton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSuggestedUsersForExploreSkeleton.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/unspecced/getSuggestedUsersForExploreSkeleton.ts"],"names":[],"mappings":"AAgBA,MAAM,MAAM,WAAW,GAAG;IACxB,+FAA+F;IAC/F,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,gDAAgD;IAChD,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AACD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,EAAE,CAAA;IACd,oFAAoF;IACpF,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,MAAM,YAAY,GAAG,IAAI,CAAA;AAE/B,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,YAAY,CAAA;IAClB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,CAAA"}
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const lexicons_1 = require("../../../../lexicons");
4
+ const util_1 = require("../../../../util");
5
+ const is$typed = util_1.is$typed, validate = lexicons_1.validate;
6
+ const id = 'app.bsky.unspecced.getSuggestedUsersForExploreSkeleton';
7
+ //# sourceMappingURL=getSuggestedUsersForExploreSkeleton.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSuggestedUsersForExploreSkeleton.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/unspecced/getSuggestedUsersForExploreSkeleton.ts"],"names":[],"mappings":";;AAKA,mDAA4D;AAC5D,2CAIyB;AAEzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,wDAAwD,CAAA","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.unspecced.getSuggestedUsersForExploreSkeleton'\n\nexport type QueryParams = {\n /** DID of the account making the request (not included for public/unauthenticated queries). */\n viewer?: string\n /** Category of users to get suggestions for. */\n category?: string\n limit: number\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n dids: string[]\n /** Snowflake for this recommendation, use when submitting recommendation events. */\n recIdStr?: string\n}\n\nexport type HandlerInput = void\n\nexport interface HandlerSuccess {\n encoding: 'application/json'\n body: OutputSchema\n headers?: { [key: string]: string }\n}\n\nexport interface HandlerError {\n status: number\n message?: string\n}\n\nexport type HandlerOutput = HandlerError | HandlerSuccess\n"]}
@@ -0,0 +1,26 @@
1
+ import type * as AppBskyActorDefs from '../actor/defs.js';
2
+ export type QueryParams = {
3
+ /** Category of users to get suggestions for. */
4
+ category?: string;
5
+ limit: number;
6
+ };
7
+ export type InputSchema = undefined;
8
+ export interface OutputSchema {
9
+ actors: AppBskyActorDefs.ProfileView[];
10
+ /** Snowflake for this recommendation, use when submitting recommendation events. */
11
+ recIdStr?: string;
12
+ }
13
+ export type HandlerInput = void;
14
+ export interface HandlerSuccess {
15
+ encoding: 'application/json';
16
+ body: OutputSchema;
17
+ headers?: {
18
+ [key: string]: string;
19
+ };
20
+ }
21
+ export interface HandlerError {
22
+ status: number;
23
+ message?: string;
24
+ }
25
+ export type HandlerOutput = HandlerError | HandlerSuccess;
26
+ //# sourceMappingURL=getSuggestedUsersForSeeMore.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSuggestedUsersForSeeMore.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/unspecced/getSuggestedUsersForSeeMore.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,KAAK,gBAAgB,MAAM,kBAAkB,CAAA;AAMzD,MAAM,MAAM,WAAW,GAAG;IACxB,gDAAgD;IAChD,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AACD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,gBAAgB,CAAC,WAAW,EAAE,CAAA;IACtC,oFAAoF;IACpF,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,MAAM,YAAY,GAAG,IAAI,CAAA;AAE/B,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,YAAY,CAAA;IAClB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,CAAA"}
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const lexicons_1 = require("../../../../lexicons");
4
+ const util_1 = require("../../../../util");
5
+ const is$typed = util_1.is$typed, validate = lexicons_1.validate;
6
+ const id = 'app.bsky.unspecced.getSuggestedUsersForSeeMore';
7
+ //# sourceMappingURL=getSuggestedUsersForSeeMore.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSuggestedUsersForSeeMore.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/unspecced/getSuggestedUsersForSeeMore.ts"],"names":[],"mappings":";;AAKA,mDAA4D;AAC5D,2CAIyB;AAGzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,gDAAgD,CAAA","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util'\nimport type * as AppBskyActorDefs from '../actor/defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.unspecced.getSuggestedUsersForSeeMore'\n\nexport type QueryParams = {\n /** Category of users to get suggestions for. */\n category?: string\n limit: number\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n actors: AppBskyActorDefs.ProfileView[]\n /** Snowflake for this recommendation, use when submitting recommendation events. */\n recIdStr?: string\n}\n\nexport type HandlerInput = void\n\nexport interface HandlerSuccess {\n encoding: 'application/json'\n body: OutputSchema\n headers?: { [key: string]: string }\n}\n\nexport interface HandlerError {\n status: number\n message?: string\n}\n\nexport type HandlerOutput = HandlerError | HandlerSuccess\n"]}
@@ -0,0 +1,27 @@
1
+ export type QueryParams = {
2
+ /** DID of the account making the request (not included for public/unauthenticated queries). */
3
+ viewer?: string;
4
+ /** Category of users to get suggestions for. */
5
+ category?: string;
6
+ limit: number;
7
+ };
8
+ export type InputSchema = undefined;
9
+ export interface OutputSchema {
10
+ dids: string[];
11
+ /** Snowflake for this recommendation, use when submitting recommendation events. */
12
+ recIdStr?: string;
13
+ }
14
+ export type HandlerInput = void;
15
+ export interface HandlerSuccess {
16
+ encoding: 'application/json';
17
+ body: OutputSchema;
18
+ headers?: {
19
+ [key: string]: string;
20
+ };
21
+ }
22
+ export interface HandlerError {
23
+ status: number;
24
+ message?: string;
25
+ }
26
+ export type HandlerOutput = HandlerError | HandlerSuccess;
27
+ //# sourceMappingURL=getSuggestedUsersForSeeMoreSkeleton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSuggestedUsersForSeeMoreSkeleton.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/unspecced/getSuggestedUsersForSeeMoreSkeleton.ts"],"names":[],"mappings":"AAgBA,MAAM,MAAM,WAAW,GAAG;IACxB,+FAA+F;IAC/F,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,gDAAgD;IAChD,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AACD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,EAAE,CAAA;IACd,oFAAoF;IACpF,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,MAAM,YAAY,GAAG,IAAI,CAAA;AAE/B,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,YAAY,CAAA;IAClB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,CAAA"}
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const lexicons_1 = require("../../../../lexicons");
4
+ const util_1 = require("../../../../util");
5
+ const is$typed = util_1.is$typed, validate = lexicons_1.validate;
6
+ const id = 'app.bsky.unspecced.getSuggestedUsersForSeeMoreSkeleton';
7
+ //# sourceMappingURL=getSuggestedUsersForSeeMoreSkeleton.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSuggestedUsersForSeeMoreSkeleton.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/unspecced/getSuggestedUsersForSeeMoreSkeleton.ts"],"names":[],"mappings":";;AAKA,mDAA4D;AAC5D,2CAIyB;AAEzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,wDAAwD,CAAA","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.unspecced.getSuggestedUsersForSeeMoreSkeleton'\n\nexport type QueryParams = {\n /** DID of the account making the request (not included for public/unauthenticated queries). */\n viewer?: string\n /** Category of users to get suggestions for. */\n category?: string\n limit: number\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n dids: string[]\n /** Snowflake for this recommendation, use when submitting recommendation events. */\n recIdStr?: string\n}\n\nexport type HandlerInput = void\n\nexport interface HandlerSuccess {\n encoding: 'application/json'\n body: OutputSchema\n headers?: { [key: string]: string }\n}\n\nexport interface HandlerError {\n status: number\n message?: string\n}\n\nexport type HandlerOutput = HandlerError | HandlerSuccess\n"]}
@@ -70,5 +70,5 @@ export interface LabelValueDefinitionStrings {
70
70
  }
71
71
  export declare function isLabelValueDefinitionStrings<V>(v: V): v is import("../../../../util").$TypedObject<V, "com.atproto.label.defs", "labelValueDefinitionStrings">;
72
72
  export declare function validateLabelValueDefinitionStrings<V>(v: V): ValidationResult<LabelValueDefinitionStrings & V>;
73
- export type LabelValue = '!hide' | '!no-promote' | '!warn' | '!no-unauthenticated' | 'dmca-violation' | 'doxxing' | 'porn' | 'sexual' | 'nudity' | 'nsfl' | 'gore' | (string & {});
73
+ export type LabelValue = '!hide' | '!warn' | '!no-unauthenticated' | 'porn' | 'sexual' | 'nudity' | 'graphic-media' | 'bot' | (string & {});
74
74
  //# sourceMappingURL=defs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/com/atproto/label/defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAajE,gEAAgE;AAChE,MAAM,WAAW,KAAK;IACpB,KAAK,CAAC,EAAE,8BAA8B,CAA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B,CAAC,EAAE,EAAE,EAAE,wBAAwB,CAAC,CAAA;AAC5E,CAAC;AAaD,MAAM,+BAA+B,GAAG,6BAA6B,CAAA;AAErE,SAAgB,6BAA6B,CAAI,CAAI;IACnD,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,+BAA+B,CAAC,CAAA;AACzD,CAAC;AAED,SAAgB,mCAAmC,CAAI,CAAI;IACzD,OAAO,QAAQ,CACb,CAAC,EACD,EAAE,EACF,+BAA+B,CAChC,CAAA;AACH,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'com.atproto.label.defs'\n\n/** Metadata tag on an atproto resource (eg, repo or record). */\nexport interface Label {\n $type?: 'com.atproto.label.defs#label'\n /** The AT Protocol version of the label object. */\n ver?: number\n /** DID of the actor who created this label. */\n src: string\n /** AT URI of the record, repository (account), or other resource that this label applies to. */\n uri: string\n /** Optionally, CID specifying the specific version of 'uri' resource this label applies to. */\n cid?: string\n /** The short string name of the value or type of this label. */\n val: string\n /** If true, this is a negation label, overwriting a previous label. */\n neg?: boolean\n /** Timestamp when this label was created. */\n cts: string\n /** Timestamp at which this label expires (no longer applies). */\n exp?: string\n /** Signature of dag-cbor encoded label. */\n sig?: Uint8Array\n}\n\nconst hashLabel = 'label'\n\nexport function isLabel<V>(v: V) {\n return is$typed(v, id, hashLabel)\n}\n\nexport function validateLabel<V>(v: V) {\n return validate<Label & V>(v, id, hashLabel)\n}\n\n/** Metadata tags on an atproto record, published by the author within the record. */\nexport interface SelfLabels {\n $type?: 'com.atproto.label.defs#selfLabels'\n values: SelfLabel[]\n}\n\nconst hashSelfLabels = 'selfLabels'\n\nexport function isSelfLabels<V>(v: V) {\n return is$typed(v, id, hashSelfLabels)\n}\n\nexport function validateSelfLabels<V>(v: V) {\n return validate<SelfLabels & V>(v, id, hashSelfLabels)\n}\n\n/** Metadata tag on an atproto record, published by the author within the record. Note that schemas should use #selfLabels, not #selfLabel. */\nexport interface SelfLabel {\n $type?: 'com.atproto.label.defs#selfLabel'\n /** The short string name of the value or type of this label. */\n val: string\n}\n\nconst hashSelfLabel = 'selfLabel'\n\nexport function isSelfLabel<V>(v: V) {\n return is$typed(v, id, hashSelfLabel)\n}\n\nexport function validateSelfLabel<V>(v: V) {\n return validate<SelfLabel & V>(v, id, hashSelfLabel)\n}\n\n/** Declares a label value and its expected interpretations and behaviors. */\nexport interface LabelValueDefinition {\n $type?: 'com.atproto.label.defs#labelValueDefinition'\n /** The value of the label being defined. Must only include lowercase ascii and the '-' character ([a-z-]+). */\n identifier: string\n /** How should a client visually convey this label? 'inform' means neutral and informational; 'alert' means negative and warning; 'none' means show nothing. */\n severity: 'inform' | 'alert' | 'none' | (string & {})\n /** What should this label hide in the UI, if applied? 'content' hides all of the target; 'media' hides the images/video/audio; 'none' hides nothing. */\n blurs: 'content' | 'media' | 'none' | (string & {})\n /** The default setting for this label. */\n defaultSetting: 'ignore' | 'warn' | 'hide' | (string & {})\n /** Does the user need to have adult content enabled in order to configure this label? */\n adultOnly?: boolean\n locales: LabelValueDefinitionStrings[]\n}\n\nconst hashLabelValueDefinition = 'labelValueDefinition'\n\nexport function isLabelValueDefinition<V>(v: V) {\n return is$typed(v, id, hashLabelValueDefinition)\n}\n\nexport function validateLabelValueDefinition<V>(v: V) {\n return validate<LabelValueDefinition & V>(v, id, hashLabelValueDefinition)\n}\n\n/** Strings which describe the label in the UI, localized into a specific language. */\nexport interface LabelValueDefinitionStrings {\n $type?: 'com.atproto.label.defs#labelValueDefinitionStrings'\n /** The code of the language these strings are written in. */\n lang: string\n /** A short human-readable name for the label. */\n name: string\n /** A longer description of what the label means and why it might be applied. */\n description: string\n}\n\nconst hashLabelValueDefinitionStrings = 'labelValueDefinitionStrings'\n\nexport function isLabelValueDefinitionStrings<V>(v: V) {\n return is$typed(v, id, hashLabelValueDefinitionStrings)\n}\n\nexport function validateLabelValueDefinitionStrings<V>(v: V) {\n return validate<LabelValueDefinitionStrings & V>(\n v,\n id,\n hashLabelValueDefinitionStrings,\n )\n}\n\nexport type LabelValue =\n | '!hide'\n | '!no-promote'\n | '!warn'\n | '!no-unauthenticated'\n | 'dmca-violation'\n | 'doxxing'\n | 'porn'\n | 'sexual'\n | 'nudity'\n | 'nsfl'\n | 'gore'\n | (string & {})\n"]}
1
+ {"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/com/atproto/label/defs.ts"],"names":[],"mappings":";;AAyCA,0BAEC;AAED,sCAEC;AAUD,oCAEC;AAED,gDAEC;AAWD,kCAEC;AAED,8CAEC;AAoBD,wDAEC;AAED,oEAEC;AAeD,sEAEC;AAED,kFAMC;AA9HD,mDAA4D;AAC5D,2CAIyB;AAEzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,wBAAwB,CAAA;AAyBnC,MAAM,SAAS,GAAG,OAAO,CAAA;AAEzB,SAAgB,OAAO,CAAI,CAAI;IAC7B,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,SAAS,CAAC,CAAA;AACnC,CAAC;AAED,SAAgB,aAAa,CAAI,CAAI;IACnC,OAAO,QAAQ,CAAY,CAAC,EAAE,EAAE,EAAE,SAAS,CAAC,CAAA;AAC9C,CAAC;AAQD,MAAM,cAAc,GAAG,YAAY,CAAA;AAEnC,SAAgB,YAAY,CAAI,CAAI;IAClC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,cAAc,CAAC,CAAA;AACxC,CAAC;AAED,SAAgB,kBAAkB,CAAI,CAAI;IACxC,OAAO,QAAQ,CAAiB,CAAC,EAAE,EAAE,EAAE,cAAc,CAAC,CAAA;AACxD,CAAC;AASD,MAAM,aAAa,GAAG,WAAW,CAAA;AAEjC,SAAgB,WAAW,CAAI,CAAI;IACjC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,aAAa,CAAC,CAAA;AACvC,CAAC;AAED,SAAgB,iBAAiB,CAAI,CAAI;IACvC,OAAO,QAAQ,CAAgB,CAAC,EAAE,EAAE,EAAE,aAAa,CAAC,CAAA;AACtD,CAAC;AAkBD,MAAM,wBAAwB,GAAG,sBAAsB,CAAA;AAEvD,SAAgB,sBAAsB,CAAI,CAAI;IAC5C,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,wBAAwB,CAAC,CAAA;AAClD,CAAC;AAED,SAAgB,4BAA4B,CAAI,CAAI;IAClD,OAAO,QAAQ,CAA2B,CAAC,EAAE,EAAE,EAAE,wBAAwB,CAAC,CAAA;AAC5E,CAAC;AAaD,MAAM,+BAA+B,GAAG,6BAA6B,CAAA;AAErE,SAAgB,6BAA6B,CAAI,CAAI;IACnD,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,+BAA+B,CAAC,CAAA;AACzD,CAAC;AAED,SAAgB,mCAAmC,CAAI,CAAI;IACzD,OAAO,QAAQ,CACb,CAAC,EACD,EAAE,EACF,+BAA+B,CAChC,CAAA;AACH,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'com.atproto.label.defs'\n\n/** Metadata tag on an atproto resource (eg, repo or record). */\nexport interface Label {\n $type?: 'com.atproto.label.defs#label'\n /** The AT Protocol version of the label object. */\n ver?: number\n /** DID of the actor who created this label. */\n src: string\n /** AT URI of the record, repository (account), or other resource that this label applies to. */\n uri: string\n /** Optionally, CID specifying the specific version of 'uri' resource this label applies to. */\n cid?: string\n /** The short string name of the value or type of this label. */\n val: string\n /** If true, this is a negation label, overwriting a previous label. */\n neg?: boolean\n /** Timestamp when this label was created. */\n cts: string\n /** Timestamp at which this label expires (no longer applies). */\n exp?: string\n /** Signature of dag-cbor encoded label. */\n sig?: Uint8Array\n}\n\nconst hashLabel = 'label'\n\nexport function isLabel<V>(v: V) {\n return is$typed(v, id, hashLabel)\n}\n\nexport function validateLabel<V>(v: V) {\n return validate<Label & V>(v, id, hashLabel)\n}\n\n/** Metadata tags on an atproto record, published by the author within the record. */\nexport interface SelfLabels {\n $type?: 'com.atproto.label.defs#selfLabels'\n values: SelfLabel[]\n}\n\nconst hashSelfLabels = 'selfLabels'\n\nexport function isSelfLabels<V>(v: V) {\n return is$typed(v, id, hashSelfLabels)\n}\n\nexport function validateSelfLabels<V>(v: V) {\n return validate<SelfLabels & V>(v, id, hashSelfLabels)\n}\n\n/** Metadata tag on an atproto record, published by the author within the record. Note that schemas should use #selfLabels, not #selfLabel. */\nexport interface SelfLabel {\n $type?: 'com.atproto.label.defs#selfLabel'\n /** The short string name of the value or type of this label. */\n val: string\n}\n\nconst hashSelfLabel = 'selfLabel'\n\nexport function isSelfLabel<V>(v: V) {\n return is$typed(v, id, hashSelfLabel)\n}\n\nexport function validateSelfLabel<V>(v: V) {\n return validate<SelfLabel & V>(v, id, hashSelfLabel)\n}\n\n/** Declares a label value and its expected interpretations and behaviors. */\nexport interface LabelValueDefinition {\n $type?: 'com.atproto.label.defs#labelValueDefinition'\n /** The value of the label being defined. Must only include lowercase ascii and the '-' character ([a-z-]+). */\n identifier: string\n /** How should a client visually convey this label? 'inform' means neutral and informational; 'alert' means negative and warning; 'none' means show nothing. */\n severity: 'inform' | 'alert' | 'none' | (string & {})\n /** What should this label hide in the UI, if applied? 'content' hides all of the target; 'media' hides the images/video/audio; 'none' hides nothing. */\n blurs: 'content' | 'media' | 'none' | (string & {})\n /** The default setting for this label. */\n defaultSetting: 'ignore' | 'warn' | 'hide' | (string & {})\n /** Does the user need to have adult content enabled in order to configure this label? */\n adultOnly?: boolean\n locales: LabelValueDefinitionStrings[]\n}\n\nconst hashLabelValueDefinition = 'labelValueDefinition'\n\nexport function isLabelValueDefinition<V>(v: V) {\n return is$typed(v, id, hashLabelValueDefinition)\n}\n\nexport function validateLabelValueDefinition<V>(v: V) {\n return validate<LabelValueDefinition & V>(v, id, hashLabelValueDefinition)\n}\n\n/** Strings which describe the label in the UI, localized into a specific language. */\nexport interface LabelValueDefinitionStrings {\n $type?: 'com.atproto.label.defs#labelValueDefinitionStrings'\n /** The code of the language these strings are written in. */\n lang: string\n /** A short human-readable name for the label. */\n name: string\n /** A longer description of what the label means and why it might be applied. */\n description: string\n}\n\nconst hashLabelValueDefinitionStrings = 'labelValueDefinitionStrings'\n\nexport function isLabelValueDefinitionStrings<V>(v: V) {\n return is$typed(v, id, hashLabelValueDefinitionStrings)\n}\n\nexport function validateLabelValueDefinitionStrings<V>(v: V) {\n return validate<LabelValueDefinitionStrings & V>(\n v,\n id,\n hashLabelValueDefinitionStrings,\n )\n}\n\nexport type LabelValue =\n | '!hide'\n | '!warn'\n | '!no-unauthenticated'\n | 'porn'\n | 'sexual'\n | 'nudity'\n | 'graphic-media'\n | 'bot'\n | (string & {})\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atproto/ozone",
3
- "version": "0.1.167",
3
+ "version": "0.1.169",
4
4
  "license": "MIT",
5
5
  "description": "Backend service for moderating the Bluesky network.",
6
6
  "keywords": [
@@ -35,15 +35,15 @@
35
35
  "uint8arrays": "3.0.0",
36
36
  "undici": "^6.14.1",
37
37
  "ws": "^8.12.0",
38
- "@atproto/api": "^0.19.4",
39
- "@atproto/common": "^0.5.14",
38
+ "@atproto/api": "^0.19.6",
39
+ "@atproto/common": "^0.5.15",
40
40
  "@atproto/crypto": "^0.4.5",
41
41
  "@atproto/identity": "^0.4.12",
42
42
  "@atproto/lexicon": "^0.6.2",
43
- "@atproto/syntax": "^0.5.1",
43
+ "@atproto/syntax": "^0.5.3",
44
44
  "@atproto/ws-client": "^0.0.4",
45
45
  "@atproto/xrpc": "^0.7.7",
46
- "@atproto/xrpc-server": "^0.10.16"
46
+ "@atproto/xrpc-server": "^0.10.18"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@did-plc/server": "^0.0.1",
@@ -56,7 +56,7 @@
56
56
  "ts-node": "^10.8.2",
57
57
  "typescript": "^5.6.3",
58
58
  "@atproto/lex-cli": "^0.9.9",
59
- "@atproto/pds": "^0.4.215"
59
+ "@atproto/pds": "^0.4.217"
60
60
  },
61
61
  "scripts": {
62
62
  "codegen": "lex gen-server --yes ./src/lexicon ../../lexicons/com/atproto/*/* ../../lexicons/app/bsky/*/* ../../lexicons/chat/bsky/*/* ../../lexicons/tools/ozone/*/*",
@@ -24,10 +24,8 @@ export default function (server: Server, ctx: AppContext) {
24
24
 
25
25
  const db = ctx.db
26
26
 
27
- await Promise.all([
28
- assertValidReporter(ctx.modService(db), reasonType, requester),
29
- ctx.moderationServiceProfile().validateReasonType(reasonType),
30
- ])
27
+ await ctx.moderationServiceProfile().validateReasonType(reasonType)
28
+ await assertValidReporter(ctx.modService(db), reasonType, requester)
31
29
 
32
30
  const report = await db.transaction(async (dbTxn) => {
33
31
  const moderationTxn = ctx.modService(dbTxn)
@@ -101,6 +101,12 @@ import * as AppBskyUnspeccedGetSuggestedOnboardingUsers from './types/app/bsky/u
101
101
  import * as AppBskyUnspeccedGetSuggestedStarterPacks from './types/app/bsky/unspecced/getSuggestedStarterPacks.js'
102
102
  import * as AppBskyUnspeccedGetSuggestedStarterPacksSkeleton from './types/app/bsky/unspecced/getSuggestedStarterPacksSkeleton.js'
103
103
  import * as AppBskyUnspeccedGetSuggestedUsers from './types/app/bsky/unspecced/getSuggestedUsers.js'
104
+ import * as AppBskyUnspeccedGetSuggestedUsersForDiscover from './types/app/bsky/unspecced/getSuggestedUsersForDiscover.js'
105
+ import * as AppBskyUnspeccedGetSuggestedUsersForDiscoverSkeleton from './types/app/bsky/unspecced/getSuggestedUsersForDiscoverSkeleton.js'
106
+ import * as AppBskyUnspeccedGetSuggestedUsersForExplore from './types/app/bsky/unspecced/getSuggestedUsersForExplore.js'
107
+ import * as AppBskyUnspeccedGetSuggestedUsersForExploreSkeleton from './types/app/bsky/unspecced/getSuggestedUsersForExploreSkeleton.js'
108
+ import * as AppBskyUnspeccedGetSuggestedUsersForSeeMore from './types/app/bsky/unspecced/getSuggestedUsersForSeeMore.js'
109
+ import * as AppBskyUnspeccedGetSuggestedUsersForSeeMoreSkeleton from './types/app/bsky/unspecced/getSuggestedUsersForSeeMoreSkeleton.js'
104
110
  import * as AppBskyUnspeccedGetSuggestedUsersSkeleton from './types/app/bsky/unspecced/getSuggestedUsersSkeleton.js'
105
111
  import * as AppBskyUnspeccedGetSuggestionsSkeleton from './types/app/bsky/unspecced/getSuggestionsSkeleton.js'
106
112
  import * as AppBskyUnspeccedGetTaggedSuggestions from './types/app/bsky/unspecced/getTaggedSuggestions.js'
@@ -1627,6 +1633,78 @@ export class AppBskyUnspeccedNS {
1627
1633
  return this._server.xrpc.method(nsid, cfg)
1628
1634
  }
1629
1635
 
1636
+ getSuggestedUsersForDiscover<A extends Auth = void>(
1637
+ cfg: MethodConfigOrHandler<
1638
+ A,
1639
+ AppBskyUnspeccedGetSuggestedUsersForDiscover.QueryParams,
1640
+ AppBskyUnspeccedGetSuggestedUsersForDiscover.HandlerInput,
1641
+ AppBskyUnspeccedGetSuggestedUsersForDiscover.HandlerOutput
1642
+ >,
1643
+ ) {
1644
+ const nsid = 'app.bsky.unspecced.getSuggestedUsersForDiscover' // @ts-ignore
1645
+ return this._server.xrpc.method(nsid, cfg)
1646
+ }
1647
+
1648
+ getSuggestedUsersForDiscoverSkeleton<A extends Auth = void>(
1649
+ cfg: MethodConfigOrHandler<
1650
+ A,
1651
+ AppBskyUnspeccedGetSuggestedUsersForDiscoverSkeleton.QueryParams,
1652
+ AppBskyUnspeccedGetSuggestedUsersForDiscoverSkeleton.HandlerInput,
1653
+ AppBskyUnspeccedGetSuggestedUsersForDiscoverSkeleton.HandlerOutput
1654
+ >,
1655
+ ) {
1656
+ const nsid = 'app.bsky.unspecced.getSuggestedUsersForDiscoverSkeleton' // @ts-ignore
1657
+ return this._server.xrpc.method(nsid, cfg)
1658
+ }
1659
+
1660
+ getSuggestedUsersForExplore<A extends Auth = void>(
1661
+ cfg: MethodConfigOrHandler<
1662
+ A,
1663
+ AppBskyUnspeccedGetSuggestedUsersForExplore.QueryParams,
1664
+ AppBskyUnspeccedGetSuggestedUsersForExplore.HandlerInput,
1665
+ AppBskyUnspeccedGetSuggestedUsersForExplore.HandlerOutput
1666
+ >,
1667
+ ) {
1668
+ const nsid = 'app.bsky.unspecced.getSuggestedUsersForExplore' // @ts-ignore
1669
+ return this._server.xrpc.method(nsid, cfg)
1670
+ }
1671
+
1672
+ getSuggestedUsersForExploreSkeleton<A extends Auth = void>(
1673
+ cfg: MethodConfigOrHandler<
1674
+ A,
1675
+ AppBskyUnspeccedGetSuggestedUsersForExploreSkeleton.QueryParams,
1676
+ AppBskyUnspeccedGetSuggestedUsersForExploreSkeleton.HandlerInput,
1677
+ AppBskyUnspeccedGetSuggestedUsersForExploreSkeleton.HandlerOutput
1678
+ >,
1679
+ ) {
1680
+ const nsid = 'app.bsky.unspecced.getSuggestedUsersForExploreSkeleton' // @ts-ignore
1681
+ return this._server.xrpc.method(nsid, cfg)
1682
+ }
1683
+
1684
+ getSuggestedUsersForSeeMore<A extends Auth = void>(
1685
+ cfg: MethodConfigOrHandler<
1686
+ A,
1687
+ AppBskyUnspeccedGetSuggestedUsersForSeeMore.QueryParams,
1688
+ AppBskyUnspeccedGetSuggestedUsersForSeeMore.HandlerInput,
1689
+ AppBskyUnspeccedGetSuggestedUsersForSeeMore.HandlerOutput
1690
+ >,
1691
+ ) {
1692
+ const nsid = 'app.bsky.unspecced.getSuggestedUsersForSeeMore' // @ts-ignore
1693
+ return this._server.xrpc.method(nsid, cfg)
1694
+ }
1695
+
1696
+ getSuggestedUsersForSeeMoreSkeleton<A extends Auth = void>(
1697
+ cfg: MethodConfigOrHandler<
1698
+ A,
1699
+ AppBskyUnspeccedGetSuggestedUsersForSeeMoreSkeleton.QueryParams,
1700
+ AppBskyUnspeccedGetSuggestedUsersForSeeMoreSkeleton.HandlerInput,
1701
+ AppBskyUnspeccedGetSuggestedUsersForSeeMoreSkeleton.HandlerOutput
1702
+ >,
1703
+ ) {
1704
+ const nsid = 'app.bsky.unspecced.getSuggestedUsersForSeeMoreSkeleton' // @ts-ignore
1705
+ return this._server.xrpc.method(nsid, cfg)
1706
+ }
1707
+
1630
1708
  getSuggestedUsersSkeleton<A extends Auth = void>(
1631
1709
  cfg: MethodConfigOrHandler<
1632
1710
  A,