@atproto/pds 0.4.61 → 0.4.63

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/account-manager/helpers/token.d.ts +16 -16
  3. package/dist/lexicon/index.d.ts +11 -0
  4. package/dist/lexicon/index.d.ts.map +1 -1
  5. package/dist/lexicon/index.js +32 -1
  6. package/dist/lexicon/index.js.map +1 -1
  7. package/dist/lexicon/lexicons.d.ts +176 -0
  8. package/dist/lexicon/lexicons.d.ts.map +1 -1
  9. package/dist/lexicon/lexicons.js +176 -0
  10. package/dist/lexicon/lexicons.js.map +1 -1
  11. package/dist/lexicon/types/tools/ozone/signature/defs.d.ts +12 -0
  12. package/dist/lexicon/types/tools/ozone/signature/defs.d.ts.map +1 -0
  13. package/dist/lexicon/types/tools/ozone/signature/defs.js +16 -0
  14. package/dist/lexicon/types/tools/ozone/signature/defs.js.map +1 -0
  15. package/dist/lexicon/types/tools/ozone/signature/findCorrelation.d.ts +36 -0
  16. package/dist/lexicon/types/tools/ozone/signature/findCorrelation.d.ts.map +1 -0
  17. package/dist/lexicon/types/tools/ozone/signature/findCorrelation.js +3 -0
  18. package/dist/lexicon/types/tools/ozone/signature/findCorrelation.js.map +1 -0
  19. package/dist/lexicon/types/tools/ozone/signature/findRelatedAccounts.d.ts +48 -0
  20. package/dist/lexicon/types/tools/ozone/signature/findRelatedAccounts.d.ts.map +1 -0
  21. package/dist/lexicon/types/tools/ozone/signature/findRelatedAccounts.js +16 -0
  22. package/dist/lexicon/types/tools/ozone/signature/findRelatedAccounts.js.map +1 -0
  23. package/dist/lexicon/types/tools/ozone/signature/searchAccounts.d.ts +39 -0
  24. package/dist/lexicon/types/tools/ozone/signature/searchAccounts.d.ts.map +1 -0
  25. package/dist/lexicon/types/tools/ozone/signature/searchAccounts.js +3 -0
  26. package/dist/lexicon/types/tools/ozone/signature/searchAccounts.js.map +1 -0
  27. package/package.json +6 -6
  28. package/src/lexicon/index.ts +46 -0
  29. package/src/lexicon/lexicons.ts +180 -0
  30. package/src/lexicon/types/tools/ozone/signature/defs.ts +25 -0
  31. package/src/lexicon/types/tools/ozone/signature/findCorrelation.ts +46 -0
  32. package/src/lexicon/types/tools/ozone/signature/findRelatedAccounts.ts +71 -0
  33. package/src/lexicon/types/tools/ozone/signature/searchAccounts.ts +49 -0
@@ -0,0 +1,49 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import express from 'express'
5
+ import { ValidationResult, BlobRef } from '@atproto/lexicon'
6
+ import { lexicons } from '../../../../lexicons'
7
+ import { isObj, hasProp } from '../../../../util'
8
+ import { CID } from 'multiformats/cid'
9
+ import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server'
10
+ import * as ComAtprotoAdminDefs from '../../../com/atproto/admin/defs'
11
+
12
+ export interface QueryParams {
13
+ values: string[]
14
+ cursor?: string
15
+ limit: number
16
+ }
17
+
18
+ export type InputSchema = undefined
19
+
20
+ export interface OutputSchema {
21
+ cursor?: string
22
+ accounts: ComAtprotoAdminDefs.AccountView[]
23
+ [k: string]: unknown
24
+ }
25
+
26
+ export type HandlerInput = undefined
27
+
28
+ export interface HandlerSuccess {
29
+ encoding: 'application/json'
30
+ body: OutputSchema
31
+ headers?: { [key: string]: string }
32
+ }
33
+
34
+ export interface HandlerError {
35
+ status: number
36
+ message?: string
37
+ }
38
+
39
+ export type HandlerOutput = HandlerError | HandlerSuccess | HandlerPipeThrough
40
+ export type HandlerReqCtx<HA extends HandlerAuth = never> = {
41
+ auth: HA
42
+ params: QueryParams
43
+ input: HandlerInput
44
+ req: express.Request
45
+ res: express.Response
46
+ }
47
+ export type Handler<HA extends HandlerAuth = never> = (
48
+ ctx: HandlerReqCtx<HA>,
49
+ ) => Promise<HandlerOutput> | HandlerOutput