this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

update to new BGS etc

alice 7fde0ac7 6f0b0a53

+3752 -1100
+1
.gitignore
··· 131 131 .vercel 132 132 133 133 vps-setup.txt 134 + *.sql
+13 -14
package.json
··· 13 13 "build": "tsc" 14 14 }, 15 15 "dependencies": { 16 - "@atproto/api": "^0.3.8", 16 + "@atproto/api": "^0.6.20", 17 17 "@atproto/did-resolver": "^0.1.0", 18 - "@atproto/lexicon": "^0.1.0", 19 - "@atproto/repo": "^0.1.0", 20 - "@atproto/xrpc-server": "^0.2.0", 21 - "dotenv": "^16.0.3", 18 + "@atproto/lexicon": "^0.2.2", 19 + "@atproto/repo": "^0.3.2", 20 + "@atproto/xrpc-server": "^0.3.2", 21 + "dotenv": "^16.3.1", 22 22 "express": "^4.18.2", 23 23 "kysely": "^0.22.0", 24 24 "multiformats": "^9.9.0", 25 - "pg": "^8.11.0" 25 + "pg": "^8.11.3" 26 26 }, 27 27 "devDependencies": { 28 - "@flydotio/dockerfile": "^0.2.7", 29 - "@types/express": "^4.17.17", 30 - "@types/node": "^20.2.4", 31 - "@types/pg": "^8.10.1", 32 - "@typescript-eslint/eslint-plugin": "^5.59.7", 33 - "@typescript-eslint/parser": "^5.59.7", 34 - "eslint": "^8.41.0", 28 + "@types/express": "^4.17.18", 29 + "@types/node": "^20.8.2", 30 + "@types/pg": "^8.10.3", 31 + "@typescript-eslint/eslint-plugin": "^6.7.4", 32 + "@typescript-eslint/parser": "^6.7.4", 33 + "eslint": "^8.50.0", 35 34 "ts-node": "^10.9.1", 36 - "typescript": "^5.0.4" 35 + "typescript": "^5.2.2" 37 36 } 38 37 }
+377 -513
pnpm-lock.yaml
··· 1 1 lockfileVersion: '6.0' 2 2 3 + settings: 4 + autoInstallPeers: true 5 + excludeLinksFromLockfile: false 6 + 3 7 dependencies: 4 8 '@atproto/api': 5 - specifier: ^0.3.8 6 - version: 0.3.8 9 + specifier: ^0.6.20 10 + version: 0.6.20 7 11 '@atproto/did-resolver': 8 12 specifier: ^0.1.0 9 13 version: 0.1.0 10 14 '@atproto/lexicon': 11 - specifier: ^0.1.0 12 - version: 0.1.0 15 + specifier: ^0.2.2 16 + version: 0.2.2 13 17 '@atproto/repo': 14 - specifier: ^0.1.0 15 - version: 0.1.0 18 + specifier: ^0.3.2 19 + version: 0.3.2 16 20 '@atproto/xrpc-server': 17 - specifier: ^0.2.0 18 - version: 0.2.0 21 + specifier: ^0.3.2 22 + version: 0.3.2 19 23 dotenv: 20 - specifier: ^16.0.3 21 - version: 16.0.3 24 + specifier: ^16.3.1 25 + version: 16.3.1 22 26 express: 23 27 specifier: ^4.18.2 24 28 version: 4.18.2 ··· 29 33 specifier: ^9.9.0 30 34 version: 9.9.0 31 35 pg: 32 - specifier: ^8.11.0 33 - version: 8.11.0 36 + specifier: ^8.11.3 37 + version: 8.11.3 34 38 35 39 devDependencies: 36 - '@flydotio/dockerfile': 37 - specifier: ^0.2.7 38 - version: 0.2.7 39 40 '@types/express': 40 - specifier: ^4.17.17 41 - version: 4.17.17 41 + specifier: ^4.17.18 42 + version: 4.17.18 42 43 '@types/node': 43 - specifier: ^20.2.4 44 - version: 20.2.4 44 + specifier: ^20.8.2 45 + version: 20.8.2 45 46 '@types/pg': 46 - specifier: ^8.10.1 47 - version: 8.10.1 47 + specifier: ^8.10.3 48 + version: 8.10.3 48 49 '@typescript-eslint/eslint-plugin': 49 - specifier: ^5.59.7 50 - version: 5.59.7(@typescript-eslint/parser@5.59.7)(eslint@8.41.0)(typescript@5.0.4) 50 + specifier: ^6.7.4 51 + version: 6.7.4(@typescript-eslint/parser@6.7.4)(eslint@8.50.0)(typescript@5.2.2) 51 52 '@typescript-eslint/parser': 52 - specifier: ^5.59.7 53 - version: 5.59.7(eslint@8.41.0)(typescript@5.0.4) 53 + specifier: ^6.7.4 54 + version: 6.7.4(eslint@8.50.0)(typescript@5.2.2) 54 55 eslint: 55 - specifier: ^8.41.0 56 - version: 8.41.0 56 + specifier: ^8.50.0 57 + version: 8.50.0 57 58 ts-node: 58 59 specifier: ^10.9.1 59 - version: 10.9.1(@types/node@20.2.4)(typescript@5.0.4) 60 + version: 10.9.1(@types/node@20.8.2)(typescript@5.2.2) 60 61 typescript: 61 - specifier: ^5.0.4 62 - version: 5.0.4 62 + specifier: ^5.2.2 63 + version: 5.2.2 63 64 64 65 packages: 65 66 66 - /@atproto/api@0.3.8: 67 - resolution: {integrity: sha512-7qaIZGEP5J9FW4z8bXezzAmLRzHSXXHo6bWP9Jyu5MLp8tYt9vG6yR2N0QA7GvO0xSYqP87Q5vblPjYXGqtDKg==} 67 + /@aashutoshrathi/word-wrap@1.2.6: 68 + resolution: {integrity: sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==} 69 + engines: {node: '>=0.10.0'} 70 + dev: true 71 + 72 + /@atproto/api@0.6.20: 73 + resolution: {integrity: sha512-+peoKgkaxbglXQg9qEZcZIvyWm39yj0+syV3TBDrz5cWK4OIsdOyYBg2iISy+jvB5RzEUMe2WvOojP6Nq34mOg==} 68 74 dependencies: 69 - '@atproto/common-web': 0.1.0 70 - '@atproto/uri': 0.0.2 71 - '@atproto/xrpc': 0.1.0 72 - tlds: 1.238.0 75 + '@atproto/common-web': 0.2.1 76 + '@atproto/lexicon': 0.2.2 77 + '@atproto/syntax': 0.1.2 78 + '@atproto/xrpc': 0.3.2 79 + multiformats: 9.9.0 80 + tlds: 1.242.0 73 81 typed-emitter: 2.1.0 74 82 dev: false 75 83 76 - /@atproto/common-web@0.1.0: 77 - resolution: {integrity: sha512-qD6xF60hvH+cP++fk/mt+0S9cxs94KsK+rNWypNlgnlp7r9By4ltXwtDSR/DNTA8mwDeularUno4VbTd2IWIzA==} 84 + /@atproto/common-web@0.2.1: 85 + resolution: {integrity: sha512-5AoDKkKz7JhXSiicjhPihA/MJMlSuTQ9Aed9fflPuoTuT6C3aXbxaUZEcqqipSwlCfGpOzPmJmWJjMWWsYr2ew==} 78 86 dependencies: 87 + graphemer: 1.4.0 79 88 multiformats: 9.9.0 80 89 uint8arrays: 3.0.0 81 - zod: 3.21.4 90 + zod: 3.22.4 82 91 dev: false 83 92 84 - /@atproto/common@0.2.0: 85 - resolution: {integrity: sha512-PVYSC30pyonz2MOxuBLk27uGdwyZQ42gJfCA/NE9jLeuenVDmZnVrK5WqJ7eGg+F88rZj7NcGfRsZdP0GMykEQ==} 93 + /@atproto/common@0.3.1: 94 + resolution: {integrity: sha512-+YC+RG87K3Iu1oR8I6lLzeN3tH2vpkxC4MwfNFIjDiHR9N7bEma2kn1B+yvU1JoMBXc56dV91yyeWqzg6L6eGg==} 86 95 dependencies: 87 - '@atproto/common-web': 0.1.0 96 + '@atproto/common-web': 0.2.1 88 97 '@ipld/dag-cbor': 7.0.3 89 - cbor-x: 1.5.3 98 + cbor-x: 1.5.4 99 + iso-datestring-validator: 2.2.2 90 100 multiformats: 9.9.0 91 - pino: 8.14.1 101 + pino: 8.15.6 102 + zod: 3.21.4 92 103 dev: false 93 104 94 - /@atproto/crypto@0.1.1: 95 - resolution: {integrity: sha512-/7Ntn55dRZPtCnOd6dVo1IvZzpVut6YTAkZ8iFry9JW29l7ZeNkJd+NTnmWRz3aGQody10jngb4SNxQNi/f3+A==} 105 + /@atproto/crypto@0.2.2: 106 + resolution: {integrity: sha512-yepwM6pLPw/bT7Nl0nfDw251yVDpuhc0llOgD8YdCapUAH7pIn4dBcMgXiA9UzQaHA7OC9ByO5IdGPrMN/DmZw==} 96 107 dependencies: 97 - '@noble/secp256k1': 1.7.1 98 - big-integer: 1.6.51 99 - multiformats: 9.9.0 100 - one-webcrypto: 1.0.3 108 + '@noble/curves': 1.2.0 109 + '@noble/hashes': 1.3.2 101 110 uint8arrays: 3.0.0 102 111 dev: false 103 112 104 113 /@atproto/did-resolver@0.1.0: 105 114 resolution: {integrity: sha512-ztljyMMCqXvJSi/Qqa2zEQFvOm1AUUR7Bybr3cM1BCddbhW46gk6/g8BgdZeDt2sMBdye37qTctR9O/FjhigvQ==} 106 115 dependencies: 107 - '@atproto/common-web': 0.1.0 108 - '@atproto/crypto': 0.1.1 116 + '@atproto/common-web': 0.2.1 117 + '@atproto/crypto': 0.2.2 109 118 axios: 0.27.2 110 - zod: 3.21.4 119 + zod: 3.22.4 111 120 transitivePeerDependencies: 112 121 - debug 113 122 dev: false 114 123 115 - /@atproto/identifier@0.1.0: 116 - resolution: {integrity: sha512-3LV7+4E6S0k8Rru7NBkyDF6Zf6NHVUXVS9d4l9fiXWMC49ghZMjq0vPmz80xjG1rRuFdJFbpRf4ApFciGxLIyQ==} 124 + /@atproto/identity@0.2.1: 125 + resolution: {integrity: sha512-daLEYCSOrEaXpsoSAZ1G5mlDs3qT9ZHTFIBip14yHUWB0gVb+/KI9lU+DGSo+RGPlzYF+A5Y+Nni4j3IRVVlSA==} 117 126 dependencies: 118 - '@atproto/common-web': 0.1.0 127 + '@atproto/common-web': 0.2.1 128 + '@atproto/crypto': 0.2.2 129 + axios: 0.27.2 130 + zod: 3.22.4 131 + transitivePeerDependencies: 132 + - debug 119 133 dev: false 120 134 121 - /@atproto/lexicon@0.1.0: 122 - resolution: {integrity: sha512-Iy+gV9w42xLhrZrmcbZh7VFoHjXuzWvecGHIfz44owNjjv7aE/d2P5BbOX/XicSkmQ8Qkpg0BqwYDD1XBVS+DQ==} 135 + /@atproto/lexicon@0.2.2: 136 + resolution: {integrity: sha512-CvmjaSDavHMOJTuNYE8VjYhL7TVxBYV8QSWh2jHCpzfmj02DvVD9UBIfnoVv67POJkEtWXddjoV9beaIbaq/Xg==} 123 137 dependencies: 124 - '@atproto/common-web': 0.1.0 125 - '@atproto/identifier': 0.1.0 126 - '@atproto/nsid': 0.0.1 127 - '@atproto/uri': 0.0.2 138 + '@atproto/common-web': 0.2.1 139 + '@atproto/syntax': 0.1.2 128 140 iso-datestring-validator: 2.2.2 129 141 multiformats: 9.9.0 130 - zod: 3.21.4 131 - dev: false 132 - 133 - /@atproto/nsid@0.0.1: 134 - resolution: {integrity: sha512-t5M6/CzWBVYoBbIvfKDpqPj/+ZmyoK9ydZSStcTXosJ27XXwOPhz0VDUGKK2SM9G5Y7TPes8S5KTAU0UdVYFCw==} 142 + zod: 3.22.4 135 143 dev: false 136 144 137 - /@atproto/repo@0.1.0: 138 - resolution: {integrity: sha512-O4qs5WfSjEFvUtpOTB4n9cLcK6YP/w/ly6Qxc3S8IFevLGYX58NPPr5zlg3dxs64uLKbWWjzhQM7JAqO44MEKw==} 145 + /@atproto/repo@0.3.2: 146 + resolution: {integrity: sha512-J8RD168I3+IpkOU4M4+OBL2uX4HtBD+AYntZ7yjL8i4qHyhZU3PTERQNz908sH3hgQXGU1ueeNJOqhgXbLFD8w==} 139 147 dependencies: 140 - '@atproto/common': 0.2.0 141 - '@atproto/crypto': 0.1.1 142 - '@atproto/did-resolver': 0.1.0 143 - '@atproto/lexicon': 0.1.0 144 - '@atproto/nsid': 0.0.1 148 + '@atproto/common': 0.3.1 149 + '@atproto/common-web': 0.2.1 150 + '@atproto/crypto': 0.2.2 151 + '@atproto/identity': 0.2.1 152 + '@atproto/lexicon': 0.2.2 153 + '@atproto/syntax': 0.1.2 145 154 '@ipld/car': 3.2.4 146 155 '@ipld/dag-cbor': 7.0.3 147 156 multiformats: 9.9.0 148 157 uint8arrays: 3.0.0 149 - zod: 3.21.4 158 + zod: 3.22.4 150 159 transitivePeerDependencies: 151 160 - debug 152 161 dev: false 153 162 154 - /@atproto/uri@0.0.2: 155 - resolution: {integrity: sha512-/6otLZF7BLpT9suSdHuXLbL12nINcWPsLmcOI+dctqovWUjH+XIRVNXDQgBYSrPVetxMiknuEwWelmnA33AEXg==} 163 + /@atproto/syntax@0.1.2: 164 + resolution: {integrity: sha512-n6VSuccMGouwftCvZBq9WNwI0qYCMOH/lTHSV+/dT232lX7pIrqisOlErUSBoOJ49B1Wxy1DjeeBS26ap9SsGQ==} 156 165 dependencies: 157 - '@atproto/identifier': 0.1.0 158 - '@atproto/nsid': 0.0.1 166 + '@atproto/common-web': 0.2.1 159 167 dev: false 160 168 161 - /@atproto/xrpc-server@0.2.0: 162 - resolution: {integrity: sha512-sCJuVUIb1tDIlKCFwHPRHbAgEy0HYGlQ7XhpNqMRKXECh8Z+DRICEne3gLDVaXhyNaC/N7OjHcsyuofDDbuGFQ==} 169 + /@atproto/xrpc-server@0.3.2: 170 + resolution: {integrity: sha512-aracV1+1t88AU+zN/RTmZGvvjlMiNIooLotz23FvD4qoiUSx6KxrTwttHZdw5ZJE14XTDR1D9brpyvdCJHsKNA==} 163 171 dependencies: 164 - '@atproto/common': 0.2.0 165 - '@atproto/crypto': 0.1.1 166 - '@atproto/lexicon': 0.1.0 167 - cbor-x: 1.5.3 172 + '@atproto/common': 0.3.1 173 + '@atproto/crypto': 0.2.2 174 + '@atproto/lexicon': 0.2.2 175 + cbor-x: 1.5.4 168 176 express: 4.18.2 169 177 http-errors: 2.0.0 170 178 mime-types: 2.1.35 179 + rate-limiter-flexible: 2.4.2 171 180 uint8arrays: 3.0.0 172 - ws: 8.13.0 173 - zod: 3.21.4 181 + ws: 8.14.2 182 + zod: 3.22.4 174 183 transitivePeerDependencies: 175 184 - bufferutil 176 185 - supports-color 177 186 - utf-8-validate 178 187 dev: false 179 188 180 - /@atproto/xrpc@0.1.0: 181 - resolution: {integrity: sha512-LhBeZkQwPezjEtricGYnG62udFglOqlnmMSS0KyWgEAPi4KMp4H2F4jNoXcf5NPtZ9S4N4hJaErHX4PJYv2lfA==} 189 + /@atproto/xrpc@0.3.2: 190 + resolution: {integrity: sha512-D9jGjcFnEMHuGQ56v6+78uX3RiytKLrA5ITLq6shy0Qj6Zvt5MqV+/cTFuNPKrNCrnWOtHFeRQwMqyGhNS9qZQ==} 182 191 dependencies: 183 - '@atproto/lexicon': 0.1.0 184 - zod: 3.21.4 192 + '@atproto/lexicon': 0.2.2 193 + zod: 3.22.4 185 194 dev: false 186 195 187 196 /@cbor-extract/cbor-extract-darwin-arm64@2.1.1: ··· 239 248 '@jridgewell/trace-mapping': 0.3.9 240 249 dev: true 241 250 242 - /@eslint-community/eslint-utils@4.4.0(eslint@8.41.0): 251 + /@eslint-community/eslint-utils@4.4.0(eslint@8.50.0): 243 252 resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==} 244 253 engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} 245 254 peerDependencies: 246 255 eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 247 256 dependencies: 248 - eslint: 8.41.0 249 - eslint-visitor-keys: 3.4.1 257 + eslint: 8.50.0 258 + eslint-visitor-keys: 3.4.3 250 259 dev: true 251 260 252 - /@eslint-community/regexpp@4.5.1: 253 - resolution: {integrity: sha512-Z5ba73P98O1KUYCCJTUeVpja9RcGoMdncZ6T49FCUl2lN38JtCJ+3WgIDBv0AuY4WChU5PmtJmOCTlN6FZTFKQ==} 261 + /@eslint-community/regexpp@4.9.1: 262 + resolution: {integrity: sha512-Y27x+MBLjXa+0JWDhykM3+JE+il3kHKAEqabfEWq3SDhZjLYb6/BHL/JKFnH3fe207JaXkyDo685Oc2Glt6ifA==} 254 263 engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} 255 264 dev: true 256 265 257 - /@eslint/eslintrc@2.0.3: 258 - resolution: {integrity: sha512-+5gy6OQfk+xx3q0d6jGZZC3f3KzAkXc/IanVxd1is/VIIziRqqt3ongQz0FiTUXqTk0c7aDB3OaFuKnuSoJicQ==} 266 + /@eslint/eslintrc@2.1.2: 267 + resolution: {integrity: sha512-+wvgpDsrB1YqAMdEUCcnTlpfVBH7Vqn6A/NT3D8WVXFIaKMlErPIZT3oCIAVCOtarRpMtelZLqJeU3t7WY6X6g==} 259 268 engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} 260 269 dependencies: 261 270 ajv: 6.12.6 262 271 debug: 4.3.4 263 - espree: 9.5.2 264 - globals: 13.20.0 272 + espree: 9.6.1 273 + globals: 13.23.0 265 274 ignore: 5.2.4 266 275 import-fresh: 3.3.0 267 276 js-yaml: 4.1.0 ··· 271 280 - supports-color 272 281 dev: true 273 282 274 - /@eslint/js@8.41.0: 275 - resolution: {integrity: sha512-LxcyMGxwmTh2lY9FwHPGWOHmYFCZvbrFCBZL4FzSSsxsRPuhrYUg/49/0KDfW8tnIEaEHtfmn6+NPN+1DqaNmA==} 283 + /@eslint/js@8.50.0: 284 + resolution: {integrity: sha512-NCC3zz2+nvYd+Ckfh87rA47zfu2QsQpvc6k1yzTk+b9KzRj0wkGa8LSoGOXN6Zv4lRf/EIoZ80biDh9HOI+RNQ==} 276 285 engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} 277 286 dev: true 278 287 279 - /@flydotio/dockerfile@0.2.7: 280 - resolution: {integrity: sha512-zyDKhwjKfgFfrLgKrty1yrD6fU+YMJgUys9DcyCdIE9Ceg1A3IdZ/TiU6OsCh87RNEFEpRpZEI3aSXKQv+KJyw==} 281 - engines: {node: '>=16.0.0'} 282 - hasBin: true 283 - dependencies: 284 - chalk: 5.2.0 285 - diff: 5.1.0 286 - ejs: 3.1.9 287 - shell-quote: 1.8.1 288 - yargs: 17.7.2 289 - dev: true 290 - 291 - /@humanwhocodes/config-array@0.11.8: 292 - resolution: {integrity: sha512-UybHIJzJnR5Qc/MsD9Kr+RpO2h+/P1GhOwdiLPXK5TWk5sgTdu88bTD9UP+CKbPPh5Rni1u0GjAdYQLemG8g+g==} 288 + /@humanwhocodes/config-array@0.11.11: 289 + resolution: {integrity: sha512-N2brEuAadi0CcdeMXUkhbZB84eskAc8MEX1By6qEchoVywSgXPIjou4rYsl0V3Hj0ZnuGycGCjdNgockbzeWNA==} 293 290 engines: {node: '>=10.10.0'} 294 291 dependencies: 295 292 '@humanwhocodes/object-schema': 1.2.1 ··· 339 336 '@jridgewell/sourcemap-codec': 1.4.15 340 337 dev: true 341 338 342 - /@noble/secp256k1@1.7.1: 343 - resolution: {integrity: sha512-hOUk6AyBFmqVrv7k5WAw/LpszxVbj9gGN4JRkIX52fdFAj1UA61KXmZDvqVEm+pOyec3+fIeZB02LYa/pWOArw==} 339 + /@noble/curves@1.2.0: 340 + resolution: {integrity: sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==} 341 + dependencies: 342 + '@noble/hashes': 1.3.2 343 + dev: false 344 + 345 + /@noble/hashes@1.3.2: 346 + resolution: {integrity: sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==} 347 + engines: {node: '>= 16'} 344 348 dev: false 345 349 346 350 /@nodelib/fs.scandir@2.1.5: ··· 380 384 resolution: {integrity: sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==} 381 385 dev: true 382 386 383 - /@types/body-parser@1.19.2: 384 - resolution: {integrity: sha512-ALYone6pm6QmwZoAgeyNksccT9Q4AWZQ6PvfwR37GT6r6FWUPguq6sUmNGSMV2Wr761oQoBxwGGa6DR5o1DC9g==} 387 + /@types/body-parser@1.19.3: 388 + resolution: {integrity: sha512-oyl4jvAfTGX9Bt6Or4H9ni1Z447/tQuxnZsytsCaExKlmJiU8sFgnIBRzJUpKwB5eWn9HuBYlUlVA74q/yN0eQ==} 385 389 dependencies: 386 - '@types/connect': 3.4.35 387 - '@types/node': 20.2.4 390 + '@types/connect': 3.4.36 391 + '@types/node': 20.8.2 388 392 dev: true 389 393 390 - /@types/connect@3.4.35: 391 - resolution: {integrity: sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ==} 394 + /@types/connect@3.4.36: 395 + resolution: {integrity: sha512-P63Zd/JUGq+PdrM1lv0Wv5SBYeA2+CORvbrXbngriYY0jzLUWfQMQQxOhjONEz/wlHOAxOdY7CY65rgQdTjq2w==} 392 396 dependencies: 393 - '@types/node': 20.2.4 397 + '@types/node': 20.8.2 394 398 dev: true 395 399 396 - /@types/express-serve-static-core@4.17.35: 397 - resolution: {integrity: sha512-wALWQwrgiB2AWTT91CB62b6Yt0sNHpznUXeZEcnPU3DRdlDIz74x8Qg1UUYKSVFi+va5vKOLYRBI1bRKiLLKIg==} 400 + /@types/express-serve-static-core@4.17.37: 401 + resolution: {integrity: sha512-ZohaCYTgGFcOP7u6aJOhY9uIZQgZ2vxC2yWoArY+FeDXlqeH66ZVBjgvg+RLVAS/DWNq4Ap9ZXu1+SUQiiWYMg==} 398 402 dependencies: 399 - '@types/node': 20.2.4 400 - '@types/qs': 6.9.7 401 - '@types/range-parser': 1.2.4 402 - '@types/send': 0.17.1 403 + '@types/node': 20.8.2 404 + '@types/qs': 6.9.8 405 + '@types/range-parser': 1.2.5 406 + '@types/send': 0.17.2 403 407 dev: true 404 408 405 - /@types/express@4.17.17: 406 - resolution: {integrity: sha512-Q4FmmuLGBG58btUnfS1c1r/NQdlp3DMfGDGig8WhfpA2YRUtEkxAjkZb0yvplJGYdF1fsQ81iMDcH24sSCNC/Q==} 409 + /@types/express@4.17.18: 410 + resolution: {integrity: sha512-Sxv8BSLLgsBYmcnGdGjjEjqET2U+AKAdCRODmMiq02FgjwuV75Ut85DRpvFjyw/Mk0vgUOliGRU0UUmuuZHByQ==} 407 411 dependencies: 408 - '@types/body-parser': 1.19.2 409 - '@types/express-serve-static-core': 4.17.35 410 - '@types/qs': 6.9.7 411 - '@types/serve-static': 1.15.1 412 + '@types/body-parser': 1.19.3 413 + '@types/express-serve-static-core': 4.17.37 414 + '@types/qs': 6.9.8 415 + '@types/serve-static': 1.15.3 416 + dev: true 417 + 418 + /@types/http-errors@2.0.2: 419 + resolution: {integrity: sha512-lPG6KlZs88gef6aD85z3HNkztpj7w2R7HmR3gygjfXCQmsLloWNARFkMuzKiiY8FGdh1XDpgBdrSf4aKDiA7Kg==} 412 420 dev: true 413 421 414 - /@types/json-schema@7.0.12: 415 - resolution: {integrity: sha512-Hr5Jfhc9eYOQNPYO5WLDq/n4jqijdHNlDXjuAQkkt+mWdQR+XJToOHrsD4cPaMXpn6KO7y2+wM8AZEs8VpBLVA==} 422 + /@types/json-schema@7.0.13: 423 + resolution: {integrity: sha512-RbSSoHliUbnXj3ny0CNFOoxrIDV6SUGyStHsvDqosw6CkdPV8TtWGlfecuK4ToyMEAql6pzNxgCFKanovUzlgQ==} 416 424 dev: true 417 425 418 - /@types/mime@1.3.2: 419 - resolution: {integrity: sha512-YATxVxgRqNH6nHEIsvg6k2Boc1JHI9ZbH5iWFFv/MTkchz3b1ieGDa5T0a9RznNdI0KhVbdbWSN+KWWrQZRxTw==} 426 + /@types/mime@1.3.3: 427 + resolution: {integrity: sha512-Ys+/St+2VF4+xuY6+kDIXGxbNRO0mesVg0bbxEfB97Od1Vjpjx9KD1qxs64Gcb3CWPirk9Xe+PT4YiiHQ9T+eg==} 420 428 dev: true 421 429 422 - /@types/mime@3.0.1: 423 - resolution: {integrity: sha512-Y4XFY5VJAuw0FgAqPNd6NNoV44jbq9Bz2L7Rh/J6jLTiHBSBJa9fxqQIvkIld4GsoDOcCbvzOUAbLPsSKKg+uA==} 430 + /@types/mime@3.0.2: 431 + resolution: {integrity: sha512-Wj+fqpTLtTbG7c0tH47dkahefpLKEbB+xAZuLq7b4/IDHPl/n6VoXcyUQ2bypFlbSwvCr0y+bD4euTTqTJsPxQ==} 424 432 dev: true 425 433 426 - /@types/node@20.2.4: 427 - resolution: {integrity: sha512-ni5f8Xlf4PwnT/Z3f0HURc3ZSw8UyrqMqmM3L5ysa7VjHu8c3FOmIo1nKCcLrV/OAmtf3N4kFna/aJqxsfEtnA==} 434 + /@types/node@20.8.2: 435 + resolution: {integrity: sha512-Vvycsc9FQdwhxE3y3DzeIxuEJbWGDsnrxvMADzTDF/lcdR9/K+AQIeAghTQsHtotg/q0j3WEOYS/jQgSdWue3w==} 428 436 dev: true 429 437 430 - /@types/pg@8.10.1: 431 - resolution: {integrity: sha512-AmEHA/XxMxemQom5iDwP62FYNkv+gDDnetRG7v2N2dPtju7UKI7FknUimcZo7SodKTHtckYPzaTqUEvUKbVJEA==} 438 + /@types/pg@8.10.3: 439 + resolution: {integrity: sha512-BACzsw64lCZesclRpZGu55tnqgFAYcrCBP92xLh1KLypZLCOsvJTSTgaoFVTy3lCys/aZTQzfeDxtjwrvdzL2g==} 432 440 dependencies: 433 - '@types/node': 20.2.4 441 + '@types/node': 20.8.2 434 442 pg-protocol: 1.6.0 435 443 pg-types: 4.0.1 436 444 dev: true 437 445 438 - /@types/qs@6.9.7: 439 - resolution: {integrity: sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw==} 446 + /@types/qs@6.9.8: 447 + resolution: {integrity: sha512-u95svzDlTysU5xecFNTgfFG5RUWu1A9P0VzgpcIiGZA9iraHOdSzcxMxQ55DyeRaGCSxQi7LxXDI4rzq/MYfdg==} 440 448 dev: true 441 449 442 - /@types/range-parser@1.2.4: 443 - resolution: {integrity: sha512-EEhsLsD6UsDM1yFhAvy0Cjr6VwmpMWqFBCb9w07wVugF7w9nfajxLuVmngTIpgS6svCnm6Vaw+MZhoDCKnOfsw==} 450 + /@types/range-parser@1.2.5: 451 + resolution: {integrity: sha512-xrO9OoVPqFuYyR/loIHjnbvvyRZREYKLjxV4+dY6v3FQR3stQ9ZxIGkaclF7YhI9hfjpuTbu14hZEy94qKLtOA==} 444 452 dev: true 445 453 446 - /@types/semver@7.5.0: 447 - resolution: {integrity: sha512-G8hZ6XJiHnuhQKR7ZmysCeJWE08o8T0AXtk5darsCaTVsYZhhgUrq53jizaR2FvsoeCwJhlmwTjkXBY5Pn/ZHw==} 454 + /@types/semver@7.5.3: 455 + resolution: {integrity: sha512-OxepLK9EuNEIPxWNME+C6WwbRAOOI2o2BaQEGzz5Lu2e4Z5eDnEo+/aVEDMIXywoJitJ7xWd641wrGLZdtwRyw==} 448 456 dev: true 449 457 450 - /@types/send@0.17.1: 451 - resolution: {integrity: sha512-Cwo8LE/0rnvX7kIIa3QHCkcuF21c05Ayb0ZfxPiv0W8VRiZiNW/WuRupHKpqqGVGf7SUA44QSOUKaEd9lIrd/Q==} 458 + /@types/send@0.17.2: 459 + resolution: {integrity: sha512-aAG6yRf6r0wQ29bkS+x97BIs64ZLxeE/ARwyS6wrldMm3C1MdKwCcnnEwMC1slI8wuxJOpiUH9MioC0A0i+GJw==} 452 460 dependencies: 453 - '@types/mime': 1.3.2 454 - '@types/node': 20.2.4 461 + '@types/mime': 1.3.3 462 + '@types/node': 20.8.2 455 463 dev: true 456 464 457 - /@types/serve-static@1.15.1: 458 - resolution: {integrity: sha512-NUo5XNiAdULrJENtJXZZ3fHtfMolzZwczzBbnAeBbqBwG+LaG6YaJtuwzwGSQZ2wsCrxjEhNNjAkKigy3n8teQ==} 465 + /@types/serve-static@1.15.3: 466 + resolution: {integrity: sha512-yVRvFsEMrv7s0lGhzrggJjNOSmZCdgCjw9xWrPr/kNNLp6FaDfMC1KaYl3TSJ0c58bECwNBMoQrZJ8hA8E1eFg==} 459 467 dependencies: 460 - '@types/mime': 3.0.1 461 - '@types/node': 20.2.4 468 + '@types/http-errors': 2.0.2 469 + '@types/mime': 3.0.2 470 + '@types/node': 20.8.2 462 471 dev: true 463 472 464 - /@typescript-eslint/eslint-plugin@5.59.7(@typescript-eslint/parser@5.59.7)(eslint@8.41.0)(typescript@5.0.4): 465 - resolution: {integrity: sha512-BL+jYxUFIbuYwy+4fF86k5vdT9lT0CNJ6HtwrIvGh0PhH8s0yy5rjaKH2fDCrz5ITHy07WCzVGNvAmjJh4IJFA==} 466 - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} 473 + /@typescript-eslint/eslint-plugin@6.7.4(@typescript-eslint/parser@6.7.4)(eslint@8.50.0)(typescript@5.2.2): 474 + resolution: {integrity: sha512-DAbgDXwtX+pDkAHwiGhqP3zWUGpW49B7eqmgpPtg+BKJXwdct79ut9+ifqOFPJGClGKSHXn2PTBatCnldJRUoA==} 475 + engines: {node: ^16.0.0 || >=18.0.0} 467 476 peerDependencies: 468 - '@typescript-eslint/parser': ^5.0.0 469 - eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 477 + '@typescript-eslint/parser': ^6.0.0 || ^6.0.0-alpha 478 + eslint: ^7.0.0 || ^8.0.0 470 479 typescript: '*' 471 480 peerDependenciesMeta: 472 481 typescript: 473 482 optional: true 474 483 dependencies: 475 - '@eslint-community/regexpp': 4.5.1 476 - '@typescript-eslint/parser': 5.59.7(eslint@8.41.0)(typescript@5.0.4) 477 - '@typescript-eslint/scope-manager': 5.59.7 478 - '@typescript-eslint/type-utils': 5.59.7(eslint@8.41.0)(typescript@5.0.4) 479 - '@typescript-eslint/utils': 5.59.7(eslint@8.41.0)(typescript@5.0.4) 484 + '@eslint-community/regexpp': 4.9.1 485 + '@typescript-eslint/parser': 6.7.4(eslint@8.50.0)(typescript@5.2.2) 486 + '@typescript-eslint/scope-manager': 6.7.4 487 + '@typescript-eslint/type-utils': 6.7.4(eslint@8.50.0)(typescript@5.2.2) 488 + '@typescript-eslint/utils': 6.7.4(eslint@8.50.0)(typescript@5.2.2) 489 + '@typescript-eslint/visitor-keys': 6.7.4 480 490 debug: 4.3.4 481 - eslint: 8.41.0 482 - grapheme-splitter: 1.0.4 491 + eslint: 8.50.0 492 + graphemer: 1.4.0 483 493 ignore: 5.2.4 484 - natural-compare-lite: 1.4.0 485 - semver: 7.5.1 486 - tsutils: 3.21.0(typescript@5.0.4) 487 - typescript: 5.0.4 494 + natural-compare: 1.4.0 495 + semver: 7.5.4 496 + ts-api-utils: 1.0.3(typescript@5.2.2) 497 + typescript: 5.2.2 488 498 transitivePeerDependencies: 489 499 - supports-color 490 500 dev: true 491 501 492 - /@typescript-eslint/parser@5.59.7(eslint@8.41.0)(typescript@5.0.4): 493 - resolution: {integrity: sha512-VhpsIEuq/8i5SF+mPg9jSdIwgMBBp0z9XqjiEay+81PYLJuroN+ET1hM5IhkiYMJd9MkTz8iJLt7aaGAgzWUbQ==} 494 - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} 502 + /@typescript-eslint/parser@6.7.4(eslint@8.50.0)(typescript@5.2.2): 503 + resolution: {integrity: sha512-I5zVZFY+cw4IMZUeNCU7Sh2PO5O57F7Lr0uyhgCJmhN/BuTlnc55KxPonR4+EM3GBdfiCyGZye6DgMjtubQkmA==} 504 + engines: {node: ^16.0.0 || >=18.0.0} 495 505 peerDependencies: 496 - eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 506 + eslint: ^7.0.0 || ^8.0.0 497 507 typescript: '*' 498 508 peerDependenciesMeta: 499 509 typescript: 500 510 optional: true 501 511 dependencies: 502 - '@typescript-eslint/scope-manager': 5.59.7 503 - '@typescript-eslint/types': 5.59.7 504 - '@typescript-eslint/typescript-estree': 5.59.7(typescript@5.0.4) 512 + '@typescript-eslint/scope-manager': 6.7.4 513 + '@typescript-eslint/types': 6.7.4 514 + '@typescript-eslint/typescript-estree': 6.7.4(typescript@5.2.2) 515 + '@typescript-eslint/visitor-keys': 6.7.4 505 516 debug: 4.3.4 506 - eslint: 8.41.0 507 - typescript: 5.0.4 517 + eslint: 8.50.0 518 + typescript: 5.2.2 508 519 transitivePeerDependencies: 509 520 - supports-color 510 521 dev: true 511 522 512 - /@typescript-eslint/scope-manager@5.59.7: 513 - resolution: {integrity: sha512-FL6hkYWK9zBGdxT2wWEd2W8ocXMu3K94i3gvMrjXpx+koFYdYV7KprKfirpgY34vTGzEPPuKoERpP8kD5h7vZQ==} 514 - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} 523 + /@typescript-eslint/scope-manager@6.7.4: 524 + resolution: {integrity: sha512-SdGqSLUPTXAXi7c3Ob7peAGVnmMoGzZ361VswK2Mqf8UOYcODiYvs8rs5ILqEdfvX1lE7wEZbLyELCW+Yrql1A==} 525 + engines: {node: ^16.0.0 || >=18.0.0} 515 526 dependencies: 516 - '@typescript-eslint/types': 5.59.7 517 - '@typescript-eslint/visitor-keys': 5.59.7 527 + '@typescript-eslint/types': 6.7.4 528 + '@typescript-eslint/visitor-keys': 6.7.4 518 529 dev: true 519 530 520 - /@typescript-eslint/type-utils@5.59.7(eslint@8.41.0)(typescript@5.0.4): 521 - resolution: {integrity: sha512-ozuz/GILuYG7osdY5O5yg0QxXUAEoI4Go3Do5xeu+ERH9PorHBPSdvD3Tjp2NN2bNLh1NJQSsQu2TPu/Ly+HaQ==} 522 - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} 531 + /@typescript-eslint/type-utils@6.7.4(eslint@8.50.0)(typescript@5.2.2): 532 + resolution: {integrity: sha512-n+g3zi1QzpcAdHFP9KQF+rEFxMb2KxtnJGID3teA/nxKHOVi3ylKovaqEzGBbVY2pBttU6z85gp0D00ufLzViQ==} 533 + engines: {node: ^16.0.0 || >=18.0.0} 523 534 peerDependencies: 524 - eslint: '*' 535 + eslint: ^7.0.0 || ^8.0.0 525 536 typescript: '*' 526 537 peerDependenciesMeta: 527 538 typescript: 528 539 optional: true 529 540 dependencies: 530 - '@typescript-eslint/typescript-estree': 5.59.7(typescript@5.0.4) 531 - '@typescript-eslint/utils': 5.59.7(eslint@8.41.0)(typescript@5.0.4) 541 + '@typescript-eslint/typescript-estree': 6.7.4(typescript@5.2.2) 542 + '@typescript-eslint/utils': 6.7.4(eslint@8.50.0)(typescript@5.2.2) 532 543 debug: 4.3.4 533 - eslint: 8.41.0 534 - tsutils: 3.21.0(typescript@5.0.4) 535 - typescript: 5.0.4 544 + eslint: 8.50.0 545 + ts-api-utils: 1.0.3(typescript@5.2.2) 546 + typescript: 5.2.2 536 547 transitivePeerDependencies: 537 548 - supports-color 538 549 dev: true 539 550 540 - /@typescript-eslint/types@5.59.7: 541 - resolution: {integrity: sha512-UnVS2MRRg6p7xOSATscWkKjlf/NDKuqo5TdbWck6rIRZbmKpVNTLALzNvcjIfHBE7736kZOFc/4Z3VcZwuOM/A==} 542 - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} 551 + /@typescript-eslint/types@6.7.4: 552 + resolution: {integrity: sha512-o9XWK2FLW6eSS/0r/tgjAGsYasLAnOWg7hvZ/dGYSSNjCh+49k5ocPN8OmG5aZcSJ8pclSOyVKP2x03Sj+RrCA==} 553 + engines: {node: ^16.0.0 || >=18.0.0} 543 554 dev: true 544 555 545 - /@typescript-eslint/typescript-estree@5.59.7(typescript@5.0.4): 546 - resolution: {integrity: sha512-4A1NtZ1I3wMN2UGDkU9HMBL+TIQfbrh4uS0WDMMpf3xMRursDbqEf1ahh6vAAe3mObt8k3ZATnezwG4pdtWuUQ==} 547 - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} 556 + /@typescript-eslint/typescript-estree@6.7.4(typescript@5.2.2): 557 + resolution: {integrity: sha512-ty8b5qHKatlNYd9vmpHooQz3Vki3gG+3PchmtsA4TgrZBKWHNjWfkQid7K7xQogBqqc7/BhGazxMD5vr6Ha+iQ==} 558 + engines: {node: ^16.0.0 || >=18.0.0} 548 559 peerDependencies: 549 560 typescript: '*' 550 561 peerDependenciesMeta: 551 562 typescript: 552 563 optional: true 553 564 dependencies: 554 - '@typescript-eslint/types': 5.59.7 555 - '@typescript-eslint/visitor-keys': 5.59.7 565 + '@typescript-eslint/types': 6.7.4 566 + '@typescript-eslint/visitor-keys': 6.7.4 556 567 debug: 4.3.4 557 568 globby: 11.1.0 558 569 is-glob: 4.0.3 559 - semver: 7.5.1 560 - tsutils: 3.21.0(typescript@5.0.4) 561 - typescript: 5.0.4 570 + semver: 7.5.4 571 + ts-api-utils: 1.0.3(typescript@5.2.2) 572 + typescript: 5.2.2 562 573 transitivePeerDependencies: 563 574 - supports-color 564 575 dev: true 565 576 566 - /@typescript-eslint/utils@5.59.7(eslint@8.41.0)(typescript@5.0.4): 567 - resolution: {integrity: sha512-yCX9WpdQKaLufz5luG4aJbOpdXf/fjwGMcLFXZVPUz3QqLirG5QcwwnIHNf8cjLjxK4qtzTO8udUtMQSAToQnQ==} 568 - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} 577 + /@typescript-eslint/utils@6.7.4(eslint@8.50.0)(typescript@5.2.2): 578 + resolution: {integrity: sha512-PRQAs+HUn85Qdk+khAxsVV+oULy3VkbH3hQ8hxLRJXWBEd7iI+GbQxH5SEUSH7kbEoTp6oT1bOwyga24ELALTA==} 579 + engines: {node: ^16.0.0 || >=18.0.0} 569 580 peerDependencies: 570 - eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 581 + eslint: ^7.0.0 || ^8.0.0 571 582 dependencies: 572 - '@eslint-community/eslint-utils': 4.4.0(eslint@8.41.0) 573 - '@types/json-schema': 7.0.12 574 - '@types/semver': 7.5.0 575 - '@typescript-eslint/scope-manager': 5.59.7 576 - '@typescript-eslint/types': 5.59.7 577 - '@typescript-eslint/typescript-estree': 5.59.7(typescript@5.0.4) 578 - eslint: 8.41.0 579 - eslint-scope: 5.1.1 580 - semver: 7.5.1 583 + '@eslint-community/eslint-utils': 4.4.0(eslint@8.50.0) 584 + '@types/json-schema': 7.0.13 585 + '@types/semver': 7.5.3 586 + '@typescript-eslint/scope-manager': 6.7.4 587 + '@typescript-eslint/types': 6.7.4 588 + '@typescript-eslint/typescript-estree': 6.7.4(typescript@5.2.2) 589 + eslint: 8.50.0 590 + semver: 7.5.4 581 591 transitivePeerDependencies: 582 592 - supports-color 583 593 - typescript 584 594 dev: true 585 595 586 - /@typescript-eslint/visitor-keys@5.59.7: 587 - resolution: {integrity: sha512-tyN+X2jvMslUszIiYbF0ZleP+RqQsFVpGrKI6e0Eet1w8WmhsAtmzaqm8oM8WJQ1ysLwhnsK/4hYHJjOgJVfQQ==} 588 - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} 596 + /@typescript-eslint/visitor-keys@6.7.4: 597 + resolution: {integrity: sha512-pOW37DUhlTZbvph50x5zZCkFn3xzwkGtNoJHzIM3svpiSkJzwOYr/kVBaXmf+RAQiUDs1AHEZVNPg6UJCJpwRA==} 598 + engines: {node: ^16.0.0 || >=18.0.0} 589 599 dependencies: 590 - '@typescript-eslint/types': 5.59.7 591 - eslint-visitor-keys: 3.4.1 600 + '@typescript-eslint/types': 6.7.4 601 + eslint-visitor-keys: 3.4.3 592 602 dev: true 593 603 594 604 /abort-controller@3.0.0: ··· 606 616 negotiator: 0.6.3 607 617 dev: false 608 618 609 - /acorn-jsx@5.3.2(acorn@8.8.2): 619 + /acorn-jsx@5.3.2(acorn@8.10.0): 610 620 resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} 611 621 peerDependencies: 612 622 acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 613 623 dependencies: 614 - acorn: 8.8.2 624 + acorn: 8.10.0 615 625 dev: true 616 626 617 627 /acorn-walk@8.2.0: ··· 619 629 engines: {node: '>=0.4.0'} 620 630 dev: true 621 631 622 - /acorn@8.8.2: 623 - resolution: {integrity: sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw==} 632 + /acorn@8.10.0: 633 + resolution: {integrity: sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw==} 624 634 engines: {node: '>=0.4.0'} 625 635 hasBin: true 626 636 dev: true ··· 663 673 engines: {node: '>=8'} 664 674 dev: true 665 675 666 - /async@3.2.4: 667 - resolution: {integrity: sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ==} 668 - dev: true 669 - 670 676 /asynckit@0.4.0: 671 677 resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==} 672 678 dev: false ··· 679 685 /axios@0.27.2: 680 686 resolution: {integrity: sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==} 681 687 dependencies: 682 - follow-redirects: 1.15.2 688 + follow-redirects: 1.15.3 683 689 form-data: 4.0.0 684 690 transitivePeerDependencies: 685 691 - debug ··· 693 699 resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==} 694 700 dev: false 695 701 696 - /big-integer@1.6.51: 697 - resolution: {integrity: sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg==} 698 - engines: {node: '>=0.6'} 699 - dev: false 700 - 701 702 /body-parser@1.20.1: 702 703 resolution: {integrity: sha512-jWi7abTbYwajOytWCQc37VulmWiRae5RyTpaCyDcS5/lMdtwSz5lOpDE67srw/HYe35f1z3fDQw+3txg7gNtWw==} 703 704 engines: {node: '>= 0.8', npm: 1.2.8000 || >= 1.4.16} ··· 723 724 dependencies: 724 725 balanced-match: 1.0.2 725 726 concat-map: 0.0.1 726 - dev: true 727 - 728 - /brace-expansion@2.0.1: 729 - resolution: {integrity: sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==} 730 - dependencies: 731 - balanced-match: 1.0.2 732 727 dev: true 733 728 734 729 /braces@3.0.2: ··· 783 778 dev: false 784 779 optional: true 785 780 786 - /cbor-x@1.5.3: 787 - resolution: {integrity: sha512-adrN0S67C7jY2hgqeGcw+Uj6iEGLQa5D/p6/9YNl5AaVIYJaJz/bARfWsP8UikBZWbhS27LN0DJK4531vo9ODw==} 781 + /cbor-x@1.5.4: 782 + resolution: {integrity: sha512-PVKILDn+Rf6MRhhcyzGXi5eizn1i0i3F8Fe6UMMxXBnWkalq9+C5+VTmlIjAYM4iF2IYF2N+zToqAfYOp+3rfw==} 788 783 optionalDependencies: 789 784 cbor-extract: 2.1.1 790 785 dev: false ··· 802 797 supports-color: 7.2.0 803 798 dev: true 804 799 805 - /chalk@5.2.0: 806 - resolution: {integrity: sha512-ree3Gqw/nazQAPuJJEy+avdl7QfZMcUvmHIKgEZkGL+xOBzRvup5Hxo6LHuMceSxOabuJLJm5Yp/92R9eMmMvA==} 807 - engines: {node: ^12.17.0 || ^14.13 || >=16.0.0} 808 - dev: true 809 - 810 - /cliui@8.0.1: 811 - resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==} 812 - engines: {node: '>=12'} 813 - dependencies: 814 - string-width: 4.2.3 815 - strip-ansi: 6.0.1 816 - wrap-ansi: 7.0.0 817 - dev: true 818 - 819 800 /color-convert@2.0.1: 820 801 resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==} 821 802 engines: {node: '>=7.0.0'} ··· 919 900 engines: {node: '>=0.3.1'} 920 901 dev: true 921 902 922 - /diff@5.1.0: 923 - resolution: {integrity: sha512-D+mk+qE8VC/PAUrlAU34N+VfXev0ghe5ywmpqrawphmVZc1bEfn56uo9qpyGp1p4xpzOHkSW4ztBd6L7Xx4ACw==} 924 - engines: {node: '>=0.3.1'} 925 - dev: true 926 - 927 903 /dir-glob@3.0.1: 928 904 resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==} 929 905 engines: {node: '>=8'} ··· 938 914 esutils: 2.0.3 939 915 dev: true 940 916 941 - /dotenv@16.0.3: 942 - resolution: {integrity: sha512-7GO6HghkA5fYG9TYnNxi14/7K9f5occMlp3zXAuSxn7CKCxt9xbNWG7yF8hTCSUchlfWSe3uLmlPfigevRItzQ==} 917 + /dotenv@16.3.1: 918 + resolution: {integrity: sha512-IPzF4w4/Rd94bA9imS68tZBaYyBWSCE47V1RGuMrB94iyTOIEwRmVL2x/4An+6mETpLrKJ5hQkB8W4kFAadeIQ==} 943 919 engines: {node: '>=12'} 944 920 dev: false 945 921 ··· 947 923 resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} 948 924 dev: false 949 925 950 - /ejs@3.1.9: 951 - resolution: {integrity: sha512-rC+QVNMJWv+MtPgkt0y+0rVEIdbtxVADApW9JXrUVlzHetgcyczP/E7DJmWJ4fJCZF2cPcBk0laWO9ZHMG3DmQ==} 952 - engines: {node: '>=0.10.0'} 953 - hasBin: true 954 - dependencies: 955 - jake: 10.8.6 956 - dev: true 957 - 958 - /emoji-regex@8.0.0: 959 - resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} 960 - dev: true 961 - 962 926 /encodeurl@1.0.2: 963 927 resolution: {integrity: sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==} 964 928 engines: {node: '>= 0.8'} 965 929 dev: false 966 930 967 - /escalade@3.1.1: 968 - resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==} 969 - engines: {node: '>=6'} 970 - dev: true 971 - 972 931 /escape-html@1.0.3: 973 932 resolution: {integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==} 974 933 dev: false ··· 978 937 engines: {node: '>=10'} 979 938 dev: true 980 939 981 - /eslint-scope@5.1.1: 982 - resolution: {integrity: sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==} 983 - engines: {node: '>=8.0.0'} 984 - dependencies: 985 - esrecurse: 4.3.0 986 - estraverse: 4.3.0 987 - dev: true 988 - 989 - /eslint-scope@7.2.0: 990 - resolution: {integrity: sha512-DYj5deGlHBfMt15J7rdtyKNq/Nqlv5KfU4iodrQ019XESsRnwXH9KAE0y3cwtUHDo2ob7CypAnCqefh6vioWRw==} 940 + /eslint-scope@7.2.2: 941 + resolution: {integrity: sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==} 991 942 engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} 992 943 dependencies: 993 944 esrecurse: 4.3.0 994 945 estraverse: 5.3.0 995 946 dev: true 996 947 997 - /eslint-visitor-keys@3.4.1: 998 - resolution: {integrity: sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA==} 948 + /eslint-visitor-keys@3.4.3: 949 + resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==} 999 950 engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} 1000 951 dev: true 1001 952 1002 - /eslint@8.41.0: 1003 - resolution: {integrity: sha512-WQDQpzGBOP5IrXPo4Hc0814r4/v2rrIsB0rhT7jtunIalgg6gYXWhRMOejVO8yH21T/FGaxjmFjBMNqcIlmH1Q==} 953 + /eslint@8.50.0: 954 + resolution: {integrity: sha512-FOnOGSuFuFLv/Sa+FDVRZl4GGVAAFFi8LecRsI5a1tMO5HIE8nCm4ivAlzt4dT3ol/PaaGC0rJEEXQmHJBGoOg==} 1004 955 engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} 1005 956 hasBin: true 1006 957 dependencies: 1007 - '@eslint-community/eslint-utils': 4.4.0(eslint@8.41.0) 1008 - '@eslint-community/regexpp': 4.5.1 1009 - '@eslint/eslintrc': 2.0.3 1010 - '@eslint/js': 8.41.0 1011 - '@humanwhocodes/config-array': 0.11.8 958 + '@eslint-community/eslint-utils': 4.4.0(eslint@8.50.0) 959 + '@eslint-community/regexpp': 4.9.1 960 + '@eslint/eslintrc': 2.1.2 961 + '@eslint/js': 8.50.0 962 + '@humanwhocodes/config-array': 0.11.11 1012 963 '@humanwhocodes/module-importer': 1.0.1 1013 964 '@nodelib/fs.walk': 1.2.8 1014 965 ajv: 6.12.6 ··· 1017 968 debug: 4.3.4 1018 969 doctrine: 3.0.0 1019 970 escape-string-regexp: 4.0.0 1020 - eslint-scope: 7.2.0 1021 - eslint-visitor-keys: 3.4.1 1022 - espree: 9.5.2 971 + eslint-scope: 7.2.2 972 + eslint-visitor-keys: 3.4.3 973 + espree: 9.6.1 1023 974 esquery: 1.5.0 1024 975 esutils: 2.0.3 1025 976 fast-deep-equal: 3.1.3 1026 977 file-entry-cache: 6.0.1 1027 978 find-up: 5.0.0 1028 979 glob-parent: 6.0.2 1029 - globals: 13.20.0 980 + globals: 13.23.0 1030 981 graphemer: 1.4.0 1031 982 ignore: 5.2.4 1032 - import-fresh: 3.3.0 1033 983 imurmurhash: 0.1.4 1034 984 is-glob: 4.0.3 1035 985 is-path-inside: 3.0.3 ··· 1039 989 lodash.merge: 4.6.2 1040 990 minimatch: 3.1.2 1041 991 natural-compare: 1.4.0 1042 - optionator: 0.9.1 992 + optionator: 0.9.3 1043 993 strip-ansi: 6.0.1 1044 - strip-json-comments: 3.1.1 1045 994 text-table: 0.2.0 1046 995 transitivePeerDependencies: 1047 996 - supports-color 1048 997 dev: true 1049 998 1050 - /espree@9.5.2: 1051 - resolution: {integrity: sha512-7OASN1Wma5fum5SrNhFMAMJxOUAbhyfQ8dQ//PJaJbNw0URTPWqIghHWt1MmAANKhHZIYOHruW4Kw4ruUWOdGw==} 999 + /espree@9.6.1: 1000 + resolution: {integrity: sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==} 1052 1001 engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} 1053 1002 dependencies: 1054 - acorn: 8.8.2 1055 - acorn-jsx: 5.3.2(acorn@8.8.2) 1056 - eslint-visitor-keys: 3.4.1 1003 + acorn: 8.10.0 1004 + acorn-jsx: 5.3.2(acorn@8.10.0) 1005 + eslint-visitor-keys: 3.4.3 1057 1006 dev: true 1058 1007 1059 1008 /esquery@1.5.0: ··· 1068 1017 engines: {node: '>=4.0'} 1069 1018 dependencies: 1070 1019 estraverse: 5.3.0 1071 - dev: true 1072 - 1073 - /estraverse@4.3.0: 1074 - resolution: {integrity: sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==} 1075 - engines: {node: '>=4.0'} 1076 1020 dev: true 1077 1021 1078 1022 /estraverse@5.3.0: ··· 1143 1087 resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} 1144 1088 dev: true 1145 1089 1146 - /fast-glob@3.2.12: 1147 - resolution: {integrity: sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==} 1090 + /fast-glob@3.3.1: 1091 + resolution: {integrity: sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg==} 1148 1092 engines: {node: '>=8.6.0'} 1149 1093 dependencies: 1150 1094 '@nodelib/fs.stat': 2.0.5 ··· 1162 1106 resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==} 1163 1107 dev: true 1164 1108 1165 - /fast-redact@3.2.0: 1166 - resolution: {integrity: sha512-zaTadChr+NekyzallAMXATXLOR8MNx3zqpZ0MUF2aGf4EathnG0f32VLODNlY8IuGY3HoRO2L6/6fSzNsLaHIw==} 1109 + /fast-redact@3.3.0: 1110 + resolution: {integrity: sha512-6T5V1QK1u4oF+ATxs1lWUmlEk6P2T9HqJG3e2DnHOdVgZy2rFJBoEnrIedcTXlkAHU/zKC+7KETJ+KGGKwxgMQ==} 1167 1111 engines: {node: '>=6'} 1168 1112 dev: false 1169 1113 ··· 1177 1121 resolution: {integrity: sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==} 1178 1122 engines: {node: ^10.12.0 || >=12.0.0} 1179 1123 dependencies: 1180 - flat-cache: 3.0.4 1181 - dev: true 1182 - 1183 - /filelist@1.0.4: 1184 - resolution: {integrity: sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q==} 1185 - dependencies: 1186 - minimatch: 5.1.6 1124 + flat-cache: 3.1.0 1187 1125 dev: true 1188 1126 1189 1127 /fill-range@7.0.1: ··· 1216 1154 path-exists: 4.0.0 1217 1155 dev: true 1218 1156 1219 - /flat-cache@3.0.4: 1220 - resolution: {integrity: sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==} 1221 - engines: {node: ^10.12.0 || >=12.0.0} 1157 + /flat-cache@3.1.0: 1158 + resolution: {integrity: sha512-OHx4Qwrrt0E4jEIcI5/Xb+f+QmJYNj2rrK8wiIdQOIrB9WrrJL8cjZvXdXuBTkkEwEqLycb5BeZDV1o2i9bTew==} 1159 + engines: {node: '>=12.0.0'} 1222 1160 dependencies: 1223 - flatted: 3.2.7 1161 + flatted: 3.2.9 1162 + keyv: 4.5.3 1224 1163 rimraf: 3.0.2 1225 1164 dev: true 1226 1165 1227 - /flatted@3.2.7: 1228 - resolution: {integrity: sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==} 1166 + /flatted@3.2.9: 1167 + resolution: {integrity: sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ==} 1229 1168 dev: true 1230 1169 1231 - /follow-redirects@1.15.2: 1232 - resolution: {integrity: sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==} 1170 + /follow-redirects@1.15.3: 1171 + resolution: {integrity: sha512-1VzOtuEM8pC9SFU1E+8KfTjZyMztRsgEfwQl44z8A25uy13jSzTj6dyK2Df52iV0vgHCfBwLhDWevLn95w5v6Q==} 1233 1172 engines: {node: '>=4.0'} 1234 1173 peerDependencies: 1235 1174 debug: '*' ··· 1264 1203 /function-bind@1.1.1: 1265 1204 resolution: {integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==} 1266 1205 dev: false 1267 - 1268 - /get-caller-file@2.0.5: 1269 - resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==} 1270 - engines: {node: 6.* || 8.* || >= 10.*} 1271 - dev: true 1272 1206 1273 1207 /get-intrinsic@1.2.1: 1274 1208 resolution: {integrity: sha512-2DcsyfABl+gVHEfCOaTrWgyt+tb6MSEGmKq+kI5HwLbIYgjgmMcV8KQ41uaKz1xxUcn9tJtgFbQUEVcEbd0FYw==} 1275 1209 dependencies: 1276 1210 function-bind: 1.1.1 1277 - has: 1.0.3 1211 + has: 1.0.4 1278 1212 has-proto: 1.0.1 1279 1213 has-symbols: 1.0.3 1280 1214 dev: false ··· 1304 1238 path-is-absolute: 1.0.1 1305 1239 dev: true 1306 1240 1307 - /globals@13.20.0: 1308 - resolution: {integrity: sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==} 1241 + /globals@13.23.0: 1242 + resolution: {integrity: sha512-XAmF0RjlrjY23MA51q3HltdlGxUpXPvg0GioKiD9X6HD28iMjo2dKC8Vqwm7lne4GNr78+RHTfliktR6ZH09wA==} 1309 1243 engines: {node: '>=8'} 1310 1244 dependencies: 1311 1245 type-fest: 0.20.2 ··· 1317 1251 dependencies: 1318 1252 array-union: 2.1.0 1319 1253 dir-glob: 3.0.1 1320 - fast-glob: 3.2.12 1254 + fast-glob: 3.3.1 1321 1255 ignore: 5.2.4 1322 1256 merge2: 1.4.1 1323 1257 slash: 3.0.0 1324 1258 dev: true 1325 1259 1326 - /grapheme-splitter@1.0.4: 1327 - resolution: {integrity: sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==} 1328 - dev: true 1329 - 1330 1260 /graphemer@1.4.0: 1331 1261 resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==} 1332 - dev: true 1333 1262 1334 1263 /has-flag@4.0.0: 1335 1264 resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==} ··· 1346 1275 engines: {node: '>= 0.4'} 1347 1276 dev: false 1348 1277 1349 - /has@1.0.3: 1350 - resolution: {integrity: sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==} 1278 + /has@1.0.4: 1279 + resolution: {integrity: sha512-qdSAmqLF6209RFj4VVItywPMbm3vWylknmB3nvNiUIs72xAimcM8nVYxYr7ncvZq5qzk9MKIZR8ijqD/1QuYjQ==} 1351 1280 engines: {node: '>= 0.4.0'} 1352 - dependencies: 1353 - function-bind: 1.1.1 1354 1281 dev: false 1355 1282 1356 1283 /http-errors@2.0.0: ··· 1413 1340 engines: {node: '>=0.10.0'} 1414 1341 dev: true 1415 1342 1416 - /is-fullwidth-code-point@3.0.0: 1417 - resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==} 1418 - engines: {node: '>=8'} 1419 - dev: true 1420 - 1421 1343 /is-glob@4.0.3: 1422 1344 resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==} 1423 1345 engines: {node: '>=0.10.0'} ··· 1443 1365 resolution: {integrity: sha512-yLEMkBbLZTlVQqOnQ4FiMujR6T4DEcCb1xizmvXS+OxuhwcbtynoosRzdMA69zZCShCNAbi+gJ71FxZBBXx1SA==} 1444 1366 dev: false 1445 1367 1446 - /jake@10.8.6: 1447 - resolution: {integrity: sha512-G43Ub9IYEFfu72sua6rzooi8V8Gz2lkfk48rW20vEWCGizeaEPlKB1Kh8JIA84yQbiAEfqlPmSpGgCKKxH3rDA==} 1448 - engines: {node: '>=10'} 1449 - hasBin: true 1450 - dependencies: 1451 - async: 3.2.4 1452 - chalk: 4.1.2 1453 - filelist: 1.0.4 1454 - minimatch: 3.1.2 1455 - dev: true 1456 - 1457 1368 /js-yaml@4.1.0: 1458 1369 resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==} 1459 1370 hasBin: true ··· 1461 1372 argparse: 2.0.1 1462 1373 dev: true 1463 1374 1375 + /json-buffer@3.0.1: 1376 + resolution: {integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==} 1377 + dev: true 1378 + 1464 1379 /json-schema-traverse@0.4.1: 1465 1380 resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==} 1466 1381 dev: true 1467 1382 1468 1383 /json-stable-stringify-without-jsonify@1.0.1: 1469 1384 resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==} 1385 + dev: true 1386 + 1387 + /keyv@4.5.3: 1388 + resolution: {integrity: sha512-QCiSav9WaX1PgETJ+SpNnx2PRRapJ/oRSXM4VO5OGYGSjrxbKPVFVhB3l2OCbLCk329N8qyAtsJjSjvVBWzEug==} 1389 + dependencies: 1390 + json-buffer: 3.0.1 1470 1391 dev: true 1471 1392 1472 1393 /kysely@0.22.0: ··· 1555 1476 brace-expansion: 1.1.11 1556 1477 dev: true 1557 1478 1558 - /minimatch@5.1.6: 1559 - resolution: {integrity: sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==} 1560 - engines: {node: '>=10'} 1561 - dependencies: 1562 - brace-expansion: 2.0.1 1563 - dev: true 1564 - 1565 1479 /ms@2.0.0: 1566 1480 resolution: {integrity: sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==} 1567 1481 dev: false ··· 1578 1492 resolution: {integrity: sha512-HoMUjhH9T8DDBNT+6xzkrd9ga/XiBI4xLr58LJACwK6G3HTOPeMz4nB4KJs33L2BelrIJa7P0VuNaVF3hMYfjg==} 1579 1493 dev: false 1580 1494 1581 - /natural-compare-lite@1.4.0: 1582 - resolution: {integrity: sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==} 1583 - dev: true 1584 - 1585 1495 /natural-compare@1.4.0: 1586 1496 resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} 1587 1497 dev: true ··· 1594 1504 /node-gyp-build-optional-packages@5.0.3: 1595 1505 resolution: {integrity: sha512-k75jcVzk5wnnc/FMxsf4udAoTEUv2jY3ycfdSd3yWu6Cnd1oee6/CfZJApyscA4FJOmdoixWwiwOyf16RzD5JA==} 1596 1506 hasBin: true 1507 + requiresBuild: true 1597 1508 dev: false 1598 1509 optional: true 1599 1510 ··· 1605 1516 resolution: {integrity: sha512-PX1wu0AmAdPqOL1mWhqmlOd8kOIZQwGZw6rh7uby9fTc5lhaOWFLX3I6R1hrF9k3zUY40e6igsLGkDXK92LJNg==} 1606 1517 dev: true 1607 1518 1608 - /on-exit-leak-free@2.1.0: 1609 - resolution: {integrity: sha512-VuCaZZAjReZ3vUwgOB8LxAosIurDiAW0s13rI1YwmaP++jvcxP77AWoQvenZebpCA2m8WC1/EosPYPMjnRAp/w==} 1519 + /on-exit-leak-free@2.1.2: 1520 + resolution: {integrity: sha512-0eJJY6hXLGf1udHwfNftBqH+g73EU4B504nZeKpz1sYRKafAghwxEJunB2O7rDZkL4PGfsMVnTXZ2EjibbqcsA==} 1521 + engines: {node: '>=14.0.0'} 1610 1522 dev: false 1611 1523 1612 1524 /on-finished@2.4.1: ··· 1622 1534 wrappy: 1.0.2 1623 1535 dev: true 1624 1536 1625 - /one-webcrypto@1.0.3: 1626 - resolution: {integrity: sha512-fu9ywBVBPx0gS9K0etIROTiCkvI5S1TDjFsYFb3rC1ewFxeOqsbzq7aIMBHsYfrTHBcGXJaONXXjTl8B01cW1Q==} 1627 - dev: false 1628 - 1629 - /optionator@0.9.1: 1630 - resolution: {integrity: sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==} 1537 + /optionator@0.9.3: 1538 + resolution: {integrity: sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==} 1631 1539 engines: {node: '>= 0.8.0'} 1632 1540 dependencies: 1541 + '@aashutoshrathi/word-wrap': 1.2.6 1633 1542 deep-is: 0.1.4 1634 1543 fast-levenshtein: 2.0.6 1635 1544 levn: 0.4.1 1636 1545 prelude-ls: 1.2.1 1637 1546 type-check: 0.4.0 1638 - word-wrap: 1.2.3 1639 1547 dev: true 1640 1548 1641 1549 /p-limit@3.1.0: ··· 1692 1600 engines: {node: '>=8'} 1693 1601 dev: true 1694 1602 1695 - /pg-cloudflare@1.1.0: 1696 - resolution: {integrity: sha512-tGM8/s6frwuAIyRcJ6nWcIvd3+3NmUKIs6OjviIm1HPPFEt5MzQDOTBQyhPWg/m0kCl95M6gA1JaIXtS8KovOA==} 1603 + /pg-cloudflare@1.1.1: 1604 + resolution: {integrity: sha512-xWPagP/4B6BgFO+EKz3JONXv3YDgvkbVrGw2mTo3D6tVDQRh1e7cqVGvyR3BE+eQgAvx1XhW/iEASj4/jCWl3Q==} 1697 1605 requiresBuild: true 1698 1606 dev: false 1699 1607 optional: true 1700 1608 1701 - /pg-connection-string@2.6.0: 1702 - resolution: {integrity: sha512-x14ibktcwlHKoHxx9X3uTVW9zIGR41ZB6QNhHb21OPNdCCO3NaRnpJuwKIQSR4u+Yqjx4HCvy7Hh7VSy1U4dGg==} 1609 + /pg-connection-string@2.6.2: 1610 + resolution: {integrity: sha512-ch6OwaeaPYcova4kKZ15sbJ2hKb/VP48ZD2gE7i1J+L4MspCtBMAx8nMgz7bksc7IojCIIWuEhHibSMFH8m8oA==} 1703 1611 dev: false 1704 1612 1705 1613 /pg-int8@1.0.1: ··· 1711 1619 engines: {node: '>=4'} 1712 1620 dev: true 1713 1621 1714 - /pg-pool@3.6.0(pg@8.11.0): 1715 - resolution: {integrity: sha512-clFRf2ksqd+F497kWFyM21tMjeikn60oGDmqMT8UBrynEwVEX/5R5xd2sdvdo1cZCFlguORNpVuqxIj+aK4cfQ==} 1622 + /pg-pool@3.6.1(pg@8.11.3): 1623 + resolution: {integrity: sha512-jizsIzhkIitxCGfPRzJn1ZdcosIt3pz9Sh3V01fm1vZnbnCMgmGl5wvGGdNN2EL9Rmb0EcFoCkixH4Pu+sP9Og==} 1716 1624 peerDependencies: 1717 1625 pg: '>=8.0' 1718 1626 dependencies: 1719 - pg: 8.11.0 1627 + pg: 8.11.3 1720 1628 dev: false 1721 1629 1722 1630 /pg-protocol@1.6.0: ··· 1746 1654 postgres-range: 1.1.3 1747 1655 dev: true 1748 1656 1749 - /pg@8.11.0: 1750 - resolution: {integrity: sha512-meLUVPn2TWgJyLmy7el3fQQVwft4gU5NGyvV0XbD41iU9Jbg8lCH4zexhIkihDzVHJStlt6r088G6/fWeNjhXA==} 1657 + /pg@8.11.3: 1658 + resolution: {integrity: sha512-+9iuvG8QfaaUrrph+kpF24cXkH1YOOUeArRNYIxq1viYHZagBxrTno7cecY1Fa44tJeZvaoG+Djpkc3JwehN5g==} 1751 1659 engines: {node: '>= 8.0.0'} 1752 1660 peerDependencies: 1753 1661 pg-native: '>=3.0.1' ··· 1757 1665 dependencies: 1758 1666 buffer-writer: 2.0.0 1759 1667 packet-reader: 1.0.0 1760 - pg-connection-string: 2.6.0 1761 - pg-pool: 3.6.0(pg@8.11.0) 1668 + pg-connection-string: 2.6.2 1669 + pg-pool: 3.6.1(pg@8.11.3) 1762 1670 pg-protocol: 1.6.0 1763 1671 pg-types: 2.2.0 1764 1672 pgpass: 1.0.5 1765 1673 optionalDependencies: 1766 - pg-cloudflare: 1.1.0 1674 + pg-cloudflare: 1.1.1 1767 1675 dev: false 1768 1676 1769 1677 /pgpass@1.0.5: ··· 1777 1685 engines: {node: '>=8.6'} 1778 1686 dev: true 1779 1687 1780 - /pino-abstract-transport@1.0.0: 1781 - resolution: {integrity: sha512-c7vo5OpW4wIS42hUVcT5REsL8ZljsUfBjqV/e2sFxmFEFZiq1XLUp5EYLtuDH6PEHq9W1egWqRbnLUP5FuZmOA==} 1688 + /pino-abstract-transport@1.1.0: 1689 + resolution: {integrity: sha512-lsleG3/2a/JIWUtf9Q5gUNErBqwIu1tUKTT3dUzaf5DySw9ra1wcqKjJjLX1VTY64Wk1eEOYsVGSaGfCK85ekA==} 1782 1690 dependencies: 1783 - readable-stream: 4.4.0 1691 + readable-stream: 4.4.2 1784 1692 split2: 4.2.0 1785 1693 dev: false 1786 1694 1787 - /pino-std-serializers@6.2.1: 1788 - resolution: {integrity: sha512-wHuWB+CvSVb2XqXM0W/WOYUkVSPbiJb9S5fNB7TBhd8s892Xq910bRxwHtC4l71hgztObTjXL6ZheZXFjhDrDQ==} 1695 + /pino-std-serializers@6.2.2: 1696 + resolution: {integrity: sha512-cHjPPsE+vhj/tnhCy/wiMh3M3z3h/j15zHQX+S9GkTBgqJuTuJzYJ4gUyACLhDaJ7kk9ba9iRDmbH2tJU03OiA==} 1789 1697 dev: false 1790 1698 1791 - /pino@8.14.1: 1792 - resolution: {integrity: sha512-8LYNv7BKWXSfS+k6oEc6occy5La+q2sPwU3q2ljTX5AZk7v+5kND2o5W794FyRaqha6DJajmkNRsWtPpFyMUdw==} 1699 + /pino@8.15.6: 1700 + resolution: {integrity: sha512-GuxHr61R0ZFD1npu58tB3a3FSVjuy21OwN/haw4OuKiZBL63Pg11Y51WWeD52RENS2mjwPZOwt+2OQOSkck6kQ==} 1793 1701 hasBin: true 1794 1702 dependencies: 1795 1703 atomic-sleep: 1.0.0 1796 - fast-redact: 3.2.0 1797 - on-exit-leak-free: 2.1.0 1798 - pino-abstract-transport: 1.0.0 1799 - pino-std-serializers: 6.2.1 1704 + fast-redact: 3.3.0 1705 + on-exit-leak-free: 2.1.2 1706 + pino-abstract-transport: 1.1.0 1707 + pino-std-serializers: 6.2.2 1800 1708 process-warning: 2.2.0 1801 1709 quick-format-unescaped: 4.0.4 1802 1710 real-require: 0.2.0 1803 1711 safe-stable-stringify: 2.4.3 1804 - sonic-boom: 3.3.0 1805 - thread-stream: 2.3.0 1712 + sonic-boom: 3.6.0 1713 + thread-stream: 2.4.1 1806 1714 dev: false 1807 1715 1808 1716 /postgres-array@2.0.0: ··· 1900 1808 engines: {node: '>= 0.6'} 1901 1809 dev: false 1902 1810 1811 + /rate-limiter-flexible@2.4.2: 1812 + resolution: {integrity: sha512-rMATGGOdO1suFyf/mI5LYhts71g1sbdhmd6YvdiXO2gJnd42Tt6QS4JUKJKSWVVkMtBacm6l40FR7Trjo6Iruw==} 1813 + dev: false 1814 + 1903 1815 /raw-body@2.5.1: 1904 1816 resolution: {integrity: sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig==} 1905 1817 engines: {node: '>= 0.8'} ··· 1910 1822 unpipe: 1.0.0 1911 1823 dev: false 1912 1824 1913 - /readable-stream@4.4.0: 1914 - resolution: {integrity: sha512-kDMOq0qLtxV9f/SQv522h8cxZBqNZXuXNyjyezmfAAuribMyVXziljpQ/uQhfE1XLg2/TLTW2DsnoE4VAi/krg==} 1825 + /readable-stream@4.4.2: 1826 + resolution: {integrity: sha512-Lk/fICSyIhodxy1IDK2HazkeGjSmezAWX2egdtJnYhtzKEsBPJowlI6F6LPb5tqIQILrMbx22S5o3GuJavPusA==} 1915 1827 engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} 1916 1828 dependencies: 1917 1829 abort-controller: 3.0.0 1918 1830 buffer: 6.0.3 1919 1831 events: 3.3.0 1920 1832 process: 0.11.10 1833 + string_decoder: 1.3.0 1921 1834 dev: false 1922 1835 1923 1836 /real-require@0.2.0: ··· 1925 1838 engines: {node: '>= 12.13.0'} 1926 1839 dev: false 1927 1840 1928 - /require-directory@2.1.1: 1929 - resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==} 1930 - engines: {node: '>=0.10.0'} 1931 - dev: true 1932 - 1933 1841 /resolve-from@4.0.0: 1934 1842 resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==} 1935 1843 engines: {node: '>=4'} ··· 1957 1865 resolution: {integrity: sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==} 1958 1866 requiresBuild: true 1959 1867 dependencies: 1960 - tslib: 2.5.2 1868 + tslib: 2.6.2 1961 1869 dev: false 1962 1870 optional: true 1963 1871 ··· 1974 1882 resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} 1975 1883 dev: false 1976 1884 1977 - /semver@7.5.1: 1978 - resolution: {integrity: sha512-Wvss5ivl8TMRZXXESstBA4uR5iXgEN/VC5/sOcuXdVLzcdkz4HWetIoRfG5gb5X+ij/G9rw9YoGn3QoQ8OCSpw==} 1885 + /semver@7.5.4: 1886 + resolution: {integrity: sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==} 1979 1887 engines: {node: '>=10'} 1980 1888 hasBin: true 1981 1889 dependencies: ··· 2031 1939 engines: {node: '>=8'} 2032 1940 dev: true 2033 1941 2034 - /shell-quote@1.8.1: 2035 - resolution: {integrity: sha512-6j1W9l1iAs/4xYBI1SYOVZyFcCis9b4KCLQ8fgAGG07QvzaRLVVRQvAy85yNmmZSjYjg4MWh4gNvlPujU/5LpA==} 2036 - dev: true 2037 - 2038 1942 /side-channel@1.0.4: 2039 1943 resolution: {integrity: sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==} 2040 1944 dependencies: ··· 2048 1952 engines: {node: '>=8'} 2049 1953 dev: true 2050 1954 2051 - /sonic-boom@3.3.0: 2052 - resolution: {integrity: sha512-LYxp34KlZ1a2Jb8ZQgFCK3niIHzibdwtwNUWKg0qQRzsDoJ3Gfgkf8KdBTFU3SkejDEIlWwnSnpVdOZIhFMl/g==} 1955 + /sonic-boom@3.6.0: 1956 + resolution: {integrity: sha512-5Rs7m4IO/mW1WHouC6q6PGJsXO6hSAduwB3ltTsKaDU0Bd7sc5QEUK/jF0YL583g3BG7QV0Dg0rQNZrwZhY6Xg==} 2053 1957 dependencies: 2054 1958 atomic-sleep: 1.0.0 2055 1959 dev: false ··· 2064 1968 engines: {node: '>= 0.8'} 2065 1969 dev: false 2066 1970 2067 - /string-width@4.2.3: 2068 - resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==} 2069 - engines: {node: '>=8'} 1971 + /string_decoder@1.3.0: 1972 + resolution: {integrity: sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==} 2070 1973 dependencies: 2071 - emoji-regex: 8.0.0 2072 - is-fullwidth-code-point: 3.0.0 2073 - strip-ansi: 6.0.1 2074 - dev: true 1974 + safe-buffer: 5.2.1 1975 + dev: false 2075 1976 2076 1977 /strip-ansi@6.0.1: 2077 1978 resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==} ··· 2096 1997 resolution: {integrity: sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==} 2097 1998 dev: true 2098 1999 2099 - /thread-stream@2.3.0: 2100 - resolution: {integrity: sha512-kaDqm1DET9pp3NXwR8382WHbnpXnRkN9xGN9dQt3B2+dmXiW8X1SOwmFOxAErEQ47ObhZ96J6yhZNXuyCOL7KA==} 2000 + /thread-stream@2.4.1: 2001 + resolution: {integrity: sha512-d/Ex2iWd1whipbT681JmTINKw0ZwOUBZm7+Gjs64DHuX34mmw8vJL2bFAaNacaW72zYiTJxSHi5abUuOi5nsfg==} 2101 2002 dependencies: 2102 2003 real-require: 0.2.0 2103 2004 dev: false 2104 2005 2105 - /tlds@1.238.0: 2106 - resolution: {integrity: sha512-lFPF9pZFhLrPodaJ0wt9QIN0l8jOxqmUezGZnm7BfkDSVd9q667oVIJukLVzhF+4oW7uDlrLlfJrL5yu9RWwew==} 2006 + /tlds@1.242.0: 2007 + resolution: {integrity: sha512-aP3dXawgmbfU94mA32CJGHmJUE1E58HCB1KmlKRhBNtqBL27mSQcAEmcaMaQ1Za9kIVvOdbxJD3U5ycDy7nJ3w==} 2107 2008 hasBin: true 2108 2009 dev: false 2109 2010 ··· 2119 2020 engines: {node: '>=0.6'} 2120 2021 dev: false 2121 2022 2122 - /ts-node@10.9.1(@types/node@20.2.4)(typescript@5.0.4): 2023 + /ts-api-utils@1.0.3(typescript@5.2.2): 2024 + resolution: {integrity: sha512-wNMeqtMz5NtwpT/UZGY5alT+VoKdSsOOP/kqHFcUW1P/VRhH2wJ48+DN2WwUliNbQ976ETwDL0Ifd2VVvgonvg==} 2025 + engines: {node: '>=16.13.0'} 2026 + peerDependencies: 2027 + typescript: '>=4.2.0' 2028 + dependencies: 2029 + typescript: 5.2.2 2030 + dev: true 2031 + 2032 + /ts-node@10.9.1(@types/node@20.8.2)(typescript@5.2.2): 2123 2033 resolution: {integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==} 2124 2034 hasBin: true 2125 2035 peerDependencies: ··· 2138 2048 '@tsconfig/node12': 1.0.11 2139 2049 '@tsconfig/node14': 1.0.3 2140 2050 '@tsconfig/node16': 1.0.4 2141 - '@types/node': 20.2.4 2142 - acorn: 8.8.2 2051 + '@types/node': 20.8.2 2052 + acorn: 8.10.0 2143 2053 acorn-walk: 8.2.0 2144 2054 arg: 4.1.3 2145 2055 create-require: 1.1.1 2146 2056 diff: 4.0.2 2147 2057 make-error: 1.3.6 2148 - typescript: 5.0.4 2058 + typescript: 5.2.2 2149 2059 v8-compile-cache-lib: 3.0.1 2150 2060 yn: 3.1.1 2151 2061 dev: true 2152 2062 2153 - /tslib@1.14.1: 2154 - resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==} 2155 - dev: true 2156 - 2157 - /tslib@2.5.2: 2158 - resolution: {integrity: sha512-5svOrSA2w3iGFDs1HibEVBGbDrAY82bFQ3HZ3ixB+88nsbsWQoKqDRb5UBYAUPEzbBn6dAp5gRNXglySbx1MlA==} 2063 + /tslib@2.6.2: 2064 + resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==} 2065 + requiresBuild: true 2159 2066 dev: false 2160 2067 optional: true 2161 2068 2162 - /tsutils@3.21.0(typescript@5.0.4): 2163 - resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==} 2164 - engines: {node: '>= 6'} 2165 - peerDependencies: 2166 - typescript: '>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta' 2167 - dependencies: 2168 - tslib: 1.14.1 2169 - typescript: 5.0.4 2170 - dev: true 2171 - 2172 2069 /type-check@0.4.0: 2173 2070 resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==} 2174 2071 engines: {node: '>= 0.8.0'} ··· 2195 2092 rxjs: 7.8.1 2196 2093 dev: false 2197 2094 2198 - /typescript@5.0.4: 2199 - resolution: {integrity: sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw==} 2200 - engines: {node: '>=12.20'} 2095 + /typescript@5.2.2: 2096 + resolution: {integrity: sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==} 2097 + engines: {node: '>=14.17'} 2201 2098 hasBin: true 2202 2099 dev: true 2203 2100 ··· 2244 2141 isexe: 2.0.0 2245 2142 dev: true 2246 2143 2247 - /word-wrap@1.2.3: 2248 - resolution: {integrity: sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==} 2249 - engines: {node: '>=0.10.0'} 2250 - dev: true 2251 - 2252 - /wrap-ansi@7.0.0: 2253 - resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==} 2254 - engines: {node: '>=10'} 2255 - dependencies: 2256 - ansi-styles: 4.3.0 2257 - string-width: 4.2.3 2258 - strip-ansi: 6.0.1 2259 - dev: true 2260 - 2261 2144 /wrappy@1.0.2: 2262 2145 resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} 2263 2146 dev: true 2264 2147 2265 - /ws@8.13.0: 2266 - resolution: {integrity: sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==} 2148 + /ws@8.14.2: 2149 + resolution: {integrity: sha512-wEBG1ftX4jcglPxgFCMJmZ2PLtSbJ2Peg6TmpJFTbe9GZYOQCDPdMYu/Tm0/bGZkw8paZnJY45J4K2PZrLYq8g==} 2267 2150 engines: {node: '>=10.0.0'} 2268 2151 peerDependencies: 2269 2152 bufferutil: ^4.0.1 ··· 2280 2163 engines: {node: '>=0.4'} 2281 2164 dev: false 2282 2165 2283 - /y18n@5.0.8: 2284 - resolution: {integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==} 2285 - engines: {node: '>=10'} 2286 - dev: true 2287 - 2288 2166 /yallist@4.0.0: 2289 2167 resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==} 2290 2168 dev: true 2291 2169 2292 - /yargs-parser@21.1.1: 2293 - resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==} 2294 - engines: {node: '>=12'} 2295 - dev: true 2296 - 2297 - /yargs@17.7.2: 2298 - resolution: {integrity: sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==} 2299 - engines: {node: '>=12'} 2300 - dependencies: 2301 - cliui: 8.0.1 2302 - escalade: 3.1.1 2303 - get-caller-file: 2.0.5 2304 - require-directory: 2.1.1 2305 - string-width: 4.2.3 2306 - y18n: 5.0.8 2307 - yargs-parser: 21.1.1 2308 - dev: true 2309 - 2310 2170 /yn@3.1.1: 2311 2171 resolution: {integrity: sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==} 2312 2172 engines: {node: '>=6'} ··· 2320 2180 /zod@3.21.4: 2321 2181 resolution: {integrity: sha512-m46AKbrzKVzOzs/DZgVnG5H55N1sv1M8qZU3A8RIKbs3mrACDNeIOeilDymVb2HdmP8uwshOCF4uJ8uM9rCqJw==} 2322 2182 dev: false 2183 + 2184 + /zod@3.22.4: 2185 + resolution: {integrity: sha512-iC+8Io04lddc+mVqQ9AZ7OQ2MrUKGN+oIQyq1vemgt46jwCwLfhq7/pwnBnNXXXZb8VTVLKwp9EDkx+ryxIWmg==} 2186 + dev: false
+1 -1
src/index.ts
··· 12 12 postgresConnectionString: process.env.DATABASE_URL!, 13 13 subscriptionEndpoint: 14 14 maybeStr(process.env.FEEDGEN_SUBSCRIPTION_ENDPOINT) ?? 15 - 'wss://bsky.social', 15 + 'wss://bsky.network', 16 16 hostname, 17 17 serviceDid, 18 18 })
+543 -120
src/lexicon/index.ts
··· 22 22 import * as ComAtprotoAdminResolveModerationReports from './types/com/atproto/admin/resolveModerationReports' 23 23 import * as ComAtprotoAdminReverseModerationAction from './types/com/atproto/admin/reverseModerationAction' 24 24 import * as ComAtprotoAdminSearchRepos from './types/com/atproto/admin/searchRepos' 25 + import * as ComAtprotoAdminSendEmail from './types/com/atproto/admin/sendEmail' 25 26 import * as ComAtprotoAdminTakeModerationAction from './types/com/atproto/admin/takeModerationAction' 26 27 import * as ComAtprotoAdminUpdateAccountEmail from './types/com/atproto/admin/updateAccountEmail' 27 28 import * as ComAtprotoAdminUpdateAccountHandle from './types/com/atproto/admin/updateAccountHandle' ··· 37 38 import * as ComAtprotoRepoGetRecord from './types/com/atproto/repo/getRecord' 38 39 import * as ComAtprotoRepoListRecords from './types/com/atproto/repo/listRecords' 39 40 import * as ComAtprotoRepoPutRecord from './types/com/atproto/repo/putRecord' 40 - import * as ComAtprotoRepoRebaseRepo from './types/com/atproto/repo/rebaseRepo' 41 41 import * as ComAtprotoRepoUploadBlob from './types/com/atproto/repo/uploadBlob' 42 42 import * as ComAtprotoServerCreateAccount from './types/com/atproto/server/createAccount' 43 43 import * as ComAtprotoServerCreateAppPassword from './types/com/atproto/server/createAppPassword' ··· 58 58 import * as ComAtprotoSyncGetBlob from './types/com/atproto/sync/getBlob' 59 59 import * as ComAtprotoSyncGetBlocks from './types/com/atproto/sync/getBlocks' 60 60 import * as ComAtprotoSyncGetCheckout from './types/com/atproto/sync/getCheckout' 61 - import * as ComAtprotoSyncGetCommitPath from './types/com/atproto/sync/getCommitPath' 62 61 import * as ComAtprotoSyncGetHead from './types/com/atproto/sync/getHead' 62 + import * as ComAtprotoSyncGetLatestCommit from './types/com/atproto/sync/getLatestCommit' 63 63 import * as ComAtprotoSyncGetRecord from './types/com/atproto/sync/getRecord' 64 64 import * as ComAtprotoSyncGetRepo from './types/com/atproto/sync/getRepo' 65 65 import * as ComAtprotoSyncListBlobs from './types/com/atproto/sync/listBlobs' ··· 76 76 import * as AppBskyActorSearchActorsTypeahead from './types/app/bsky/actor/searchActorsTypeahead' 77 77 import * as AppBskyFeedDescribeFeedGenerator from './types/app/bsky/feed/describeFeedGenerator' 78 78 import * as AppBskyFeedGetActorFeeds from './types/app/bsky/feed/getActorFeeds' 79 + import * as AppBskyFeedGetActorLikes from './types/app/bsky/feed/getActorLikes' 79 80 import * as AppBskyFeedGetAuthorFeed from './types/app/bsky/feed/getAuthorFeed' 80 81 import * as AppBskyFeedGetFeed from './types/app/bsky/feed/getFeed' 81 82 import * as AppBskyFeedGetFeedGenerator from './types/app/bsky/feed/getFeedGenerator' 83 + import * as AppBskyFeedGetFeedGenerators from './types/app/bsky/feed/getFeedGenerators' 82 84 import * as AppBskyFeedGetFeedSkeleton from './types/app/bsky/feed/getFeedSkeleton' 83 85 import * as AppBskyFeedGetLikes from './types/app/bsky/feed/getLikes' 86 + import * as AppBskyFeedGetListFeed from './types/app/bsky/feed/getListFeed' 84 87 import * as AppBskyFeedGetPostThread from './types/app/bsky/feed/getPostThread' 85 88 import * as AppBskyFeedGetPosts from './types/app/bsky/feed/getPosts' 86 89 import * as AppBskyFeedGetRepostedBy from './types/app/bsky/feed/getRepostedBy' 87 - import * as AppBskyFeedGetSavedFeeds from './types/app/bsky/feed/getSavedFeeds' 90 + import * as AppBskyFeedGetSuggestedFeeds from './types/app/bsky/feed/getSuggestedFeeds' 88 91 import * as AppBskyFeedGetTimeline from './types/app/bsky/feed/getTimeline' 89 - import * as AppBskyFeedSaveFeed from './types/app/bsky/feed/saveFeed' 90 - import * as AppBskyFeedUnsaveFeed from './types/app/bsky/feed/unsaveFeed' 92 + import * as AppBskyFeedSearchPosts from './types/app/bsky/feed/searchPosts' 91 93 import * as AppBskyGraphGetBlocks from './types/app/bsky/graph/getBlocks' 92 94 import * as AppBskyGraphGetFollowers from './types/app/bsky/graph/getFollowers' 93 95 import * as AppBskyGraphGetFollows from './types/app/bsky/graph/getFollows' 94 96 import * as AppBskyGraphGetList from './types/app/bsky/graph/getList' 97 + import * as AppBskyGraphGetListBlocks from './types/app/bsky/graph/getListBlocks' 95 98 import * as AppBskyGraphGetListMutes from './types/app/bsky/graph/getListMutes' 96 99 import * as AppBskyGraphGetLists from './types/app/bsky/graph/getLists' 97 100 import * as AppBskyGraphGetMutes from './types/app/bsky/graph/getMutes' 101 + import * as AppBskyGraphGetSuggestedFollowsByActor from './types/app/bsky/graph/getSuggestedFollowsByActor' 98 102 import * as AppBskyGraphMuteActor from './types/app/bsky/graph/muteActor' 99 103 import * as AppBskyGraphMuteActorList from './types/app/bsky/graph/muteActorList' 100 104 import * as AppBskyGraphUnmuteActor from './types/app/bsky/graph/unmuteActor' 101 105 import * as AppBskyGraphUnmuteActorList from './types/app/bsky/graph/unmuteActorList' 102 106 import * as AppBskyNotificationGetUnreadCount from './types/app/bsky/notification/getUnreadCount' 103 107 import * as AppBskyNotificationListNotifications from './types/app/bsky/notification/listNotifications' 108 + import * as AppBskyNotificationRegisterPush from './types/app/bsky/notification/registerPush' 104 109 import * as AppBskyNotificationUpdateSeen from './types/app/bsky/notification/updateSeen' 105 110 import * as AppBskyUnspeccedGetPopular from './types/app/bsky/unspecced/getPopular' 111 + import * as AppBskyUnspeccedGetPopularFeedGenerators from './types/app/bsky/unspecced/getPopularFeedGenerators' 112 + import * as AppBskyUnspeccedGetTimelineSkeleton from './types/app/bsky/unspecced/getTimelineSkeleton' 113 + import * as AppBskyUnspeccedSearchActorsSkeleton from './types/app/bsky/unspecced/searchActorsSkeleton' 114 + import * as AppBskyUnspeccedSearchPostsSkeleton from './types/app/bsky/unspecced/searchPostsSkeleton' 106 115 107 116 export const COM_ATPROTO_ADMIN = { 108 117 DefsTakedown: 'com.atproto.admin.defs#takedown', ··· 120 129 } 121 130 export const APP_BSKY_GRAPH = { 122 131 DefsModlist: 'app.bsky.graph.defs#modlist', 132 + DefsCuratelist: 'app.bsky.graph.defs#curatelist', 123 133 } 124 134 125 135 export function createServer(options?: XrpcOptions): Server { ··· 180 190 disableAccountInvites<AV extends AuthVerifier>( 181 191 cfg: ConfigOf< 182 192 AV, 183 - ComAtprotoAdminDisableAccountInvites.Handler<ExtractAuth<AV>> 193 + ComAtprotoAdminDisableAccountInvites.Handler<ExtractAuth<AV>>, 194 + ComAtprotoAdminDisableAccountInvites.HandlerReqCtx<ExtractAuth<AV>> 184 195 >, 185 196 ) { 186 197 const nsid = 'com.atproto.admin.disableAccountInvites' // @ts-ignore ··· 190 201 disableInviteCodes<AV extends AuthVerifier>( 191 202 cfg: ConfigOf< 192 203 AV, 193 - ComAtprotoAdminDisableInviteCodes.Handler<ExtractAuth<AV>> 204 + ComAtprotoAdminDisableInviteCodes.Handler<ExtractAuth<AV>>, 205 + ComAtprotoAdminDisableInviteCodes.HandlerReqCtx<ExtractAuth<AV>> 194 206 >, 195 207 ) { 196 208 const nsid = 'com.atproto.admin.disableInviteCodes' // @ts-ignore ··· 200 212 enableAccountInvites<AV extends AuthVerifier>( 201 213 cfg: ConfigOf< 202 214 AV, 203 - ComAtprotoAdminEnableAccountInvites.Handler<ExtractAuth<AV>> 215 + ComAtprotoAdminEnableAccountInvites.Handler<ExtractAuth<AV>>, 216 + ComAtprotoAdminEnableAccountInvites.HandlerReqCtx<ExtractAuth<AV>> 204 217 >, 205 218 ) { 206 219 const nsid = 'com.atproto.admin.enableAccountInvites' // @ts-ignore ··· 208 221 } 209 222 210 223 getInviteCodes<AV extends AuthVerifier>( 211 - cfg: ConfigOf<AV, ComAtprotoAdminGetInviteCodes.Handler<ExtractAuth<AV>>>, 224 + cfg: ConfigOf< 225 + AV, 226 + ComAtprotoAdminGetInviteCodes.Handler<ExtractAuth<AV>>, 227 + ComAtprotoAdminGetInviteCodes.HandlerReqCtx<ExtractAuth<AV>> 228 + >, 212 229 ) { 213 230 const nsid = 'com.atproto.admin.getInviteCodes' // @ts-ignore 214 231 return this._server.xrpc.method(nsid, cfg) ··· 217 234 getModerationAction<AV extends AuthVerifier>( 218 235 cfg: ConfigOf< 219 236 AV, 220 - ComAtprotoAdminGetModerationAction.Handler<ExtractAuth<AV>> 237 + ComAtprotoAdminGetModerationAction.Handler<ExtractAuth<AV>>, 238 + ComAtprotoAdminGetModerationAction.HandlerReqCtx<ExtractAuth<AV>> 221 239 >, 222 240 ) { 223 241 const nsid = 'com.atproto.admin.getModerationAction' // @ts-ignore ··· 227 245 getModerationActions<AV extends AuthVerifier>( 228 246 cfg: ConfigOf< 229 247 AV, 230 - ComAtprotoAdminGetModerationActions.Handler<ExtractAuth<AV>> 248 + ComAtprotoAdminGetModerationActions.Handler<ExtractAuth<AV>>, 249 + ComAtprotoAdminGetModerationActions.HandlerReqCtx<ExtractAuth<AV>> 231 250 >, 232 251 ) { 233 252 const nsid = 'com.atproto.admin.getModerationActions' // @ts-ignore ··· 237 256 getModerationReport<AV extends AuthVerifier>( 238 257 cfg: ConfigOf< 239 258 AV, 240 - ComAtprotoAdminGetModerationReport.Handler<ExtractAuth<AV>> 259 + ComAtprotoAdminGetModerationReport.Handler<ExtractAuth<AV>>, 260 + ComAtprotoAdminGetModerationReport.HandlerReqCtx<ExtractAuth<AV>> 241 261 >, 242 262 ) { 243 263 const nsid = 'com.atproto.admin.getModerationReport' // @ts-ignore ··· 247 267 getModerationReports<AV extends AuthVerifier>( 248 268 cfg: ConfigOf< 249 269 AV, 250 - ComAtprotoAdminGetModerationReports.Handler<ExtractAuth<AV>> 270 + ComAtprotoAdminGetModerationReports.Handler<ExtractAuth<AV>>, 271 + ComAtprotoAdminGetModerationReports.HandlerReqCtx<ExtractAuth<AV>> 251 272 >, 252 273 ) { 253 274 const nsid = 'com.atproto.admin.getModerationReports' // @ts-ignore ··· 255 276 } 256 277 257 278 getRecord<AV extends AuthVerifier>( 258 - cfg: ConfigOf<AV, ComAtprotoAdminGetRecord.Handler<ExtractAuth<AV>>>, 279 + cfg: ConfigOf< 280 + AV, 281 + ComAtprotoAdminGetRecord.Handler<ExtractAuth<AV>>, 282 + ComAtprotoAdminGetRecord.HandlerReqCtx<ExtractAuth<AV>> 283 + >, 259 284 ) { 260 285 const nsid = 'com.atproto.admin.getRecord' // @ts-ignore 261 286 return this._server.xrpc.method(nsid, cfg) 262 287 } 263 288 264 289 getRepo<AV extends AuthVerifier>( 265 - cfg: ConfigOf<AV, ComAtprotoAdminGetRepo.Handler<ExtractAuth<AV>>>, 290 + cfg: ConfigOf< 291 + AV, 292 + ComAtprotoAdminGetRepo.Handler<ExtractAuth<AV>>, 293 + ComAtprotoAdminGetRepo.HandlerReqCtx<ExtractAuth<AV>> 294 + >, 266 295 ) { 267 296 const nsid = 'com.atproto.admin.getRepo' // @ts-ignore 268 297 return this._server.xrpc.method(nsid, cfg) ··· 271 300 resolveModerationReports<AV extends AuthVerifier>( 272 301 cfg: ConfigOf< 273 302 AV, 274 - ComAtprotoAdminResolveModerationReports.Handler<ExtractAuth<AV>> 303 + ComAtprotoAdminResolveModerationReports.Handler<ExtractAuth<AV>>, 304 + ComAtprotoAdminResolveModerationReports.HandlerReqCtx<ExtractAuth<AV>> 275 305 >, 276 306 ) { 277 307 const nsid = 'com.atproto.admin.resolveModerationReports' // @ts-ignore ··· 281 311 reverseModerationAction<AV extends AuthVerifier>( 282 312 cfg: ConfigOf< 283 313 AV, 284 - ComAtprotoAdminReverseModerationAction.Handler<ExtractAuth<AV>> 314 + ComAtprotoAdminReverseModerationAction.Handler<ExtractAuth<AV>>, 315 + ComAtprotoAdminReverseModerationAction.HandlerReqCtx<ExtractAuth<AV>> 285 316 >, 286 317 ) { 287 318 const nsid = 'com.atproto.admin.reverseModerationAction' // @ts-ignore ··· 289 320 } 290 321 291 322 searchRepos<AV extends AuthVerifier>( 292 - cfg: ConfigOf<AV, ComAtprotoAdminSearchRepos.Handler<ExtractAuth<AV>>>, 323 + cfg: ConfigOf< 324 + AV, 325 + ComAtprotoAdminSearchRepos.Handler<ExtractAuth<AV>>, 326 + ComAtprotoAdminSearchRepos.HandlerReqCtx<ExtractAuth<AV>> 327 + >, 293 328 ) { 294 329 const nsid = 'com.atproto.admin.searchRepos' // @ts-ignore 295 330 return this._server.xrpc.method(nsid, cfg) 296 331 } 297 332 333 + sendEmail<AV extends AuthVerifier>( 334 + cfg: ConfigOf< 335 + AV, 336 + ComAtprotoAdminSendEmail.Handler<ExtractAuth<AV>>, 337 + ComAtprotoAdminSendEmail.HandlerReqCtx<ExtractAuth<AV>> 338 + >, 339 + ) { 340 + const nsid = 'com.atproto.admin.sendEmail' // @ts-ignore 341 + return this._server.xrpc.method(nsid, cfg) 342 + } 343 + 298 344 takeModerationAction<AV extends AuthVerifier>( 299 345 cfg: ConfigOf< 300 346 AV, 301 - ComAtprotoAdminTakeModerationAction.Handler<ExtractAuth<AV>> 347 + ComAtprotoAdminTakeModerationAction.Handler<ExtractAuth<AV>>, 348 + ComAtprotoAdminTakeModerationAction.HandlerReqCtx<ExtractAuth<AV>> 302 349 >, 303 350 ) { 304 351 const nsid = 'com.atproto.admin.takeModerationAction' // @ts-ignore ··· 308 355 updateAccountEmail<AV extends AuthVerifier>( 309 356 cfg: ConfigOf< 310 357 AV, 311 - ComAtprotoAdminUpdateAccountEmail.Handler<ExtractAuth<AV>> 358 + ComAtprotoAdminUpdateAccountEmail.Handler<ExtractAuth<AV>>, 359 + ComAtprotoAdminUpdateAccountEmail.HandlerReqCtx<ExtractAuth<AV>> 312 360 >, 313 361 ) { 314 362 const nsid = 'com.atproto.admin.updateAccountEmail' // @ts-ignore ··· 318 366 updateAccountHandle<AV extends AuthVerifier>( 319 367 cfg: ConfigOf< 320 368 AV, 321 - ComAtprotoAdminUpdateAccountHandle.Handler<ExtractAuth<AV>> 369 + ComAtprotoAdminUpdateAccountHandle.Handler<ExtractAuth<AV>>, 370 + ComAtprotoAdminUpdateAccountHandle.HandlerReqCtx<ExtractAuth<AV>> 322 371 >, 323 372 ) { 324 373 const nsid = 'com.atproto.admin.updateAccountHandle' // @ts-ignore ··· 334 383 } 335 384 336 385 resolveHandle<AV extends AuthVerifier>( 337 - cfg: ConfigOf<AV, ComAtprotoIdentityResolveHandle.Handler<ExtractAuth<AV>>>, 386 + cfg: ConfigOf< 387 + AV, 388 + ComAtprotoIdentityResolveHandle.Handler<ExtractAuth<AV>>, 389 + ComAtprotoIdentityResolveHandle.HandlerReqCtx<ExtractAuth<AV>> 390 + >, 338 391 ) { 339 392 const nsid = 'com.atproto.identity.resolveHandle' // @ts-ignore 340 393 return this._server.xrpc.method(nsid, cfg) 341 394 } 342 395 343 396 updateHandle<AV extends AuthVerifier>( 344 - cfg: ConfigOf<AV, ComAtprotoIdentityUpdateHandle.Handler<ExtractAuth<AV>>>, 397 + cfg: ConfigOf< 398 + AV, 399 + ComAtprotoIdentityUpdateHandle.Handler<ExtractAuth<AV>>, 400 + ComAtprotoIdentityUpdateHandle.HandlerReqCtx<ExtractAuth<AV>> 401 + >, 345 402 ) { 346 403 const nsid = 'com.atproto.identity.updateHandle' // @ts-ignore 347 404 return this._server.xrpc.method(nsid, cfg) ··· 356 413 } 357 414 358 415 queryLabels<AV extends AuthVerifier>( 359 - cfg: ConfigOf<AV, ComAtprotoLabelQueryLabels.Handler<ExtractAuth<AV>>>, 416 + cfg: ConfigOf< 417 + AV, 418 + ComAtprotoLabelQueryLabels.Handler<ExtractAuth<AV>>, 419 + ComAtprotoLabelQueryLabels.HandlerReqCtx<ExtractAuth<AV>> 420 + >, 360 421 ) { 361 422 const nsid = 'com.atproto.label.queryLabels' // @ts-ignore 362 423 return this._server.xrpc.method(nsid, cfg) 363 424 } 364 425 365 426 subscribeLabels<AV extends StreamAuthVerifier>( 366 - cfg: ConfigOf<AV, ComAtprotoLabelSubscribeLabels.Handler<ExtractAuth<AV>>>, 427 + cfg: ConfigOf< 428 + AV, 429 + ComAtprotoLabelSubscribeLabels.Handler<ExtractAuth<AV>>, 430 + ComAtprotoLabelSubscribeLabels.HandlerReqCtx<ExtractAuth<AV>> 431 + >, 367 432 ) { 368 433 const nsid = 'com.atproto.label.subscribeLabels' // @ts-ignore 369 434 return this._server.xrpc.streamMethod(nsid, cfg) ··· 380 445 createReport<AV extends AuthVerifier>( 381 446 cfg: ConfigOf< 382 447 AV, 383 - ComAtprotoModerationCreateReport.Handler<ExtractAuth<AV>> 448 + ComAtprotoModerationCreateReport.Handler<ExtractAuth<AV>>, 449 + ComAtprotoModerationCreateReport.HandlerReqCtx<ExtractAuth<AV>> 384 450 >, 385 451 ) { 386 452 const nsid = 'com.atproto.moderation.createReport' // @ts-ignore ··· 396 462 } 397 463 398 464 applyWrites<AV extends AuthVerifier>( 399 - cfg: ConfigOf<AV, ComAtprotoRepoApplyWrites.Handler<ExtractAuth<AV>>>, 465 + cfg: ConfigOf< 466 + AV, 467 + ComAtprotoRepoApplyWrites.Handler<ExtractAuth<AV>>, 468 + ComAtprotoRepoApplyWrites.HandlerReqCtx<ExtractAuth<AV>> 469 + >, 400 470 ) { 401 471 const nsid = 'com.atproto.repo.applyWrites' // @ts-ignore 402 472 return this._server.xrpc.method(nsid, cfg) 403 473 } 404 474 405 475 createRecord<AV extends AuthVerifier>( 406 - cfg: ConfigOf<AV, ComAtprotoRepoCreateRecord.Handler<ExtractAuth<AV>>>, 476 + cfg: ConfigOf< 477 + AV, 478 + ComAtprotoRepoCreateRecord.Handler<ExtractAuth<AV>>, 479 + ComAtprotoRepoCreateRecord.HandlerReqCtx<ExtractAuth<AV>> 480 + >, 407 481 ) { 408 482 const nsid = 'com.atproto.repo.createRecord' // @ts-ignore 409 483 return this._server.xrpc.method(nsid, cfg) 410 484 } 411 485 412 486 deleteRecord<AV extends AuthVerifier>( 413 - cfg: ConfigOf<AV, ComAtprotoRepoDeleteRecord.Handler<ExtractAuth<AV>>>, 487 + cfg: ConfigOf< 488 + AV, 489 + ComAtprotoRepoDeleteRecord.Handler<ExtractAuth<AV>>, 490 + ComAtprotoRepoDeleteRecord.HandlerReqCtx<ExtractAuth<AV>> 491 + >, 414 492 ) { 415 493 const nsid = 'com.atproto.repo.deleteRecord' // @ts-ignore 416 494 return this._server.xrpc.method(nsid, cfg) 417 495 } 418 496 419 497 describeRepo<AV extends AuthVerifier>( 420 - cfg: ConfigOf<AV, ComAtprotoRepoDescribeRepo.Handler<ExtractAuth<AV>>>, 498 + cfg: ConfigOf< 499 + AV, 500 + ComAtprotoRepoDescribeRepo.Handler<ExtractAuth<AV>>, 501 + ComAtprotoRepoDescribeRepo.HandlerReqCtx<ExtractAuth<AV>> 502 + >, 421 503 ) { 422 504 const nsid = 'com.atproto.repo.describeRepo' // @ts-ignore 423 505 return this._server.xrpc.method(nsid, cfg) 424 506 } 425 507 426 508 getRecord<AV extends AuthVerifier>( 427 - cfg: ConfigOf<AV, ComAtprotoRepoGetRecord.Handler<ExtractAuth<AV>>>, 509 + cfg: ConfigOf< 510 + AV, 511 + ComAtprotoRepoGetRecord.Handler<ExtractAuth<AV>>, 512 + ComAtprotoRepoGetRecord.HandlerReqCtx<ExtractAuth<AV>> 513 + >, 428 514 ) { 429 515 const nsid = 'com.atproto.repo.getRecord' // @ts-ignore 430 516 return this._server.xrpc.method(nsid, cfg) 431 517 } 432 518 433 519 listRecords<AV extends AuthVerifier>( 434 - cfg: ConfigOf<AV, ComAtprotoRepoListRecords.Handler<ExtractAuth<AV>>>, 520 + cfg: ConfigOf< 521 + AV, 522 + ComAtprotoRepoListRecords.Handler<ExtractAuth<AV>>, 523 + ComAtprotoRepoListRecords.HandlerReqCtx<ExtractAuth<AV>> 524 + >, 435 525 ) { 436 526 const nsid = 'com.atproto.repo.listRecords' // @ts-ignore 437 527 return this._server.xrpc.method(nsid, cfg) 438 528 } 439 529 440 530 putRecord<AV extends AuthVerifier>( 441 - cfg: ConfigOf<AV, ComAtprotoRepoPutRecord.Handler<ExtractAuth<AV>>>, 531 + cfg: ConfigOf< 532 + AV, 533 + ComAtprotoRepoPutRecord.Handler<ExtractAuth<AV>>, 534 + ComAtprotoRepoPutRecord.HandlerReqCtx<ExtractAuth<AV>> 535 + >, 442 536 ) { 443 537 const nsid = 'com.atproto.repo.putRecord' // @ts-ignore 444 538 return this._server.xrpc.method(nsid, cfg) 445 539 } 446 540 447 - rebaseRepo<AV extends AuthVerifier>( 448 - cfg: ConfigOf<AV, ComAtprotoRepoRebaseRepo.Handler<ExtractAuth<AV>>>, 449 - ) { 450 - const nsid = 'com.atproto.repo.rebaseRepo' // @ts-ignore 451 - return this._server.xrpc.method(nsid, cfg) 452 - } 453 - 454 541 uploadBlob<AV extends AuthVerifier>( 455 - cfg: ConfigOf<AV, ComAtprotoRepoUploadBlob.Handler<ExtractAuth<AV>>>, 542 + cfg: ConfigOf< 543 + AV, 544 + ComAtprotoRepoUploadBlob.Handler<ExtractAuth<AV>>, 545 + ComAtprotoRepoUploadBlob.HandlerReqCtx<ExtractAuth<AV>> 546 + >, 456 547 ) { 457 548 const nsid = 'com.atproto.repo.uploadBlob' // @ts-ignore 458 549 return this._server.xrpc.method(nsid, cfg) ··· 467 558 } 468 559 469 560 createAccount<AV extends AuthVerifier>( 470 - cfg: ConfigOf<AV, ComAtprotoServerCreateAccount.Handler<ExtractAuth<AV>>>, 561 + cfg: ConfigOf< 562 + AV, 563 + ComAtprotoServerCreateAccount.Handler<ExtractAuth<AV>>, 564 + ComAtprotoServerCreateAccount.HandlerReqCtx<ExtractAuth<AV>> 565 + >, 471 566 ) { 472 567 const nsid = 'com.atproto.server.createAccount' // @ts-ignore 473 568 return this._server.xrpc.method(nsid, cfg) ··· 476 571 createAppPassword<AV extends AuthVerifier>( 477 572 cfg: ConfigOf< 478 573 AV, 479 - ComAtprotoServerCreateAppPassword.Handler<ExtractAuth<AV>> 574 + ComAtprotoServerCreateAppPassword.Handler<ExtractAuth<AV>>, 575 + ComAtprotoServerCreateAppPassword.HandlerReqCtx<ExtractAuth<AV>> 480 576 >, 481 577 ) { 482 578 const nsid = 'com.atproto.server.createAppPassword' // @ts-ignore ··· 486 582 createInviteCode<AV extends AuthVerifier>( 487 583 cfg: ConfigOf< 488 584 AV, 489 - ComAtprotoServerCreateInviteCode.Handler<ExtractAuth<AV>> 585 + ComAtprotoServerCreateInviteCode.Handler<ExtractAuth<AV>>, 586 + ComAtprotoServerCreateInviteCode.HandlerReqCtx<ExtractAuth<AV>> 490 587 >, 491 588 ) { 492 589 const nsid = 'com.atproto.server.createInviteCode' // @ts-ignore ··· 496 593 createInviteCodes<AV extends AuthVerifier>( 497 594 cfg: ConfigOf< 498 595 AV, 499 - ComAtprotoServerCreateInviteCodes.Handler<ExtractAuth<AV>> 596 + ComAtprotoServerCreateInviteCodes.Handler<ExtractAuth<AV>>, 597 + ComAtprotoServerCreateInviteCodes.HandlerReqCtx<ExtractAuth<AV>> 500 598 >, 501 599 ) { 502 600 const nsid = 'com.atproto.server.createInviteCodes' // @ts-ignore ··· 504 602 } 505 603 506 604 createSession<AV extends AuthVerifier>( 507 - cfg: ConfigOf<AV, ComAtprotoServerCreateSession.Handler<ExtractAuth<AV>>>, 605 + cfg: ConfigOf< 606 + AV, 607 + ComAtprotoServerCreateSession.Handler<ExtractAuth<AV>>, 608 + ComAtprotoServerCreateSession.HandlerReqCtx<ExtractAuth<AV>> 609 + >, 508 610 ) { 509 611 const nsid = 'com.atproto.server.createSession' // @ts-ignore 510 612 return this._server.xrpc.method(nsid, cfg) 511 613 } 512 614 513 615 deleteAccount<AV extends AuthVerifier>( 514 - cfg: ConfigOf<AV, ComAtprotoServerDeleteAccount.Handler<ExtractAuth<AV>>>, 616 + cfg: ConfigOf< 617 + AV, 618 + ComAtprotoServerDeleteAccount.Handler<ExtractAuth<AV>>, 619 + ComAtprotoServerDeleteAccount.HandlerReqCtx<ExtractAuth<AV>> 620 + >, 515 621 ) { 516 622 const nsid = 'com.atproto.server.deleteAccount' // @ts-ignore 517 623 return this._server.xrpc.method(nsid, cfg) 518 624 } 519 625 520 626 deleteSession<AV extends AuthVerifier>( 521 - cfg: ConfigOf<AV, ComAtprotoServerDeleteSession.Handler<ExtractAuth<AV>>>, 627 + cfg: ConfigOf< 628 + AV, 629 + ComAtprotoServerDeleteSession.Handler<ExtractAuth<AV>>, 630 + ComAtprotoServerDeleteSession.HandlerReqCtx<ExtractAuth<AV>> 631 + >, 522 632 ) { 523 633 const nsid = 'com.atproto.server.deleteSession' // @ts-ignore 524 634 return this._server.xrpc.method(nsid, cfg) 525 635 } 526 636 527 637 describeServer<AV extends AuthVerifier>( 528 - cfg: ConfigOf<AV, ComAtprotoServerDescribeServer.Handler<ExtractAuth<AV>>>, 638 + cfg: ConfigOf< 639 + AV, 640 + ComAtprotoServerDescribeServer.Handler<ExtractAuth<AV>>, 641 + ComAtprotoServerDescribeServer.HandlerReqCtx<ExtractAuth<AV>> 642 + >, 529 643 ) { 530 644 const nsid = 'com.atproto.server.describeServer' // @ts-ignore 531 645 return this._server.xrpc.method(nsid, cfg) ··· 534 648 getAccountInviteCodes<AV extends AuthVerifier>( 535 649 cfg: ConfigOf< 536 650 AV, 537 - ComAtprotoServerGetAccountInviteCodes.Handler<ExtractAuth<AV>> 651 + ComAtprotoServerGetAccountInviteCodes.Handler<ExtractAuth<AV>>, 652 + ComAtprotoServerGetAccountInviteCodes.HandlerReqCtx<ExtractAuth<AV>> 538 653 >, 539 654 ) { 540 655 const nsid = 'com.atproto.server.getAccountInviteCodes' // @ts-ignore ··· 542 657 } 543 658 544 659 getSession<AV extends AuthVerifier>( 545 - cfg: ConfigOf<AV, ComAtprotoServerGetSession.Handler<ExtractAuth<AV>>>, 660 + cfg: ConfigOf< 661 + AV, 662 + ComAtprotoServerGetSession.Handler<ExtractAuth<AV>>, 663 + ComAtprotoServerGetSession.HandlerReqCtx<ExtractAuth<AV>> 664 + >, 546 665 ) { 547 666 const nsid = 'com.atproto.server.getSession' // @ts-ignore 548 667 return this._server.xrpc.method(nsid, cfg) ··· 551 670 listAppPasswords<AV extends AuthVerifier>( 552 671 cfg: ConfigOf< 553 672 AV, 554 - ComAtprotoServerListAppPasswords.Handler<ExtractAuth<AV>> 673 + ComAtprotoServerListAppPasswords.Handler<ExtractAuth<AV>>, 674 + ComAtprotoServerListAppPasswords.HandlerReqCtx<ExtractAuth<AV>> 555 675 >, 556 676 ) { 557 677 const nsid = 'com.atproto.server.listAppPasswords' // @ts-ignore ··· 559 679 } 560 680 561 681 refreshSession<AV extends AuthVerifier>( 562 - cfg: ConfigOf<AV, ComAtprotoServerRefreshSession.Handler<ExtractAuth<AV>>>, 682 + cfg: ConfigOf< 683 + AV, 684 + ComAtprotoServerRefreshSession.Handler<ExtractAuth<AV>>, 685 + ComAtprotoServerRefreshSession.HandlerReqCtx<ExtractAuth<AV>> 686 + >, 563 687 ) { 564 688 const nsid = 'com.atproto.server.refreshSession' // @ts-ignore 565 689 return this._server.xrpc.method(nsid, cfg) ··· 568 692 requestAccountDelete<AV extends AuthVerifier>( 569 693 cfg: ConfigOf< 570 694 AV, 571 - ComAtprotoServerRequestAccountDelete.Handler<ExtractAuth<AV>> 695 + ComAtprotoServerRequestAccountDelete.Handler<ExtractAuth<AV>>, 696 + ComAtprotoServerRequestAccountDelete.HandlerReqCtx<ExtractAuth<AV>> 572 697 >, 573 698 ) { 574 699 const nsid = 'com.atproto.server.requestAccountDelete' // @ts-ignore ··· 578 703 requestPasswordReset<AV extends AuthVerifier>( 579 704 cfg: ConfigOf< 580 705 AV, 581 - ComAtprotoServerRequestPasswordReset.Handler<ExtractAuth<AV>> 706 + ComAtprotoServerRequestPasswordReset.Handler<ExtractAuth<AV>>, 707 + ComAtprotoServerRequestPasswordReset.HandlerReqCtx<ExtractAuth<AV>> 582 708 >, 583 709 ) { 584 710 const nsid = 'com.atproto.server.requestPasswordReset' // @ts-ignore ··· 586 712 } 587 713 588 714 resetPassword<AV extends AuthVerifier>( 589 - cfg: ConfigOf<AV, ComAtprotoServerResetPassword.Handler<ExtractAuth<AV>>>, 715 + cfg: ConfigOf< 716 + AV, 717 + ComAtprotoServerResetPassword.Handler<ExtractAuth<AV>>, 718 + ComAtprotoServerResetPassword.HandlerReqCtx<ExtractAuth<AV>> 719 + >, 590 720 ) { 591 721 const nsid = 'com.atproto.server.resetPassword' // @ts-ignore 592 722 return this._server.xrpc.method(nsid, cfg) ··· 595 725 revokeAppPassword<AV extends AuthVerifier>( 596 726 cfg: ConfigOf< 597 727 AV, 598 - ComAtprotoServerRevokeAppPassword.Handler<ExtractAuth<AV>> 728 + ComAtprotoServerRevokeAppPassword.Handler<ExtractAuth<AV>>, 729 + ComAtprotoServerRevokeAppPassword.HandlerReqCtx<ExtractAuth<AV>> 599 730 >, 600 731 ) { 601 732 const nsid = 'com.atproto.server.revokeAppPassword' // @ts-ignore ··· 611 742 } 612 743 613 744 getBlob<AV extends AuthVerifier>( 614 - cfg: ConfigOf<AV, ComAtprotoSyncGetBlob.Handler<ExtractAuth<AV>>>, 745 + cfg: ConfigOf< 746 + AV, 747 + ComAtprotoSyncGetBlob.Handler<ExtractAuth<AV>>, 748 + ComAtprotoSyncGetBlob.HandlerReqCtx<ExtractAuth<AV>> 749 + >, 615 750 ) { 616 751 const nsid = 'com.atproto.sync.getBlob' // @ts-ignore 617 752 return this._server.xrpc.method(nsid, cfg) 618 753 } 619 754 620 755 getBlocks<AV extends AuthVerifier>( 621 - cfg: ConfigOf<AV, ComAtprotoSyncGetBlocks.Handler<ExtractAuth<AV>>>, 756 + cfg: ConfigOf< 757 + AV, 758 + ComAtprotoSyncGetBlocks.Handler<ExtractAuth<AV>>, 759 + ComAtprotoSyncGetBlocks.HandlerReqCtx<ExtractAuth<AV>> 760 + >, 622 761 ) { 623 762 const nsid = 'com.atproto.sync.getBlocks' // @ts-ignore 624 763 return this._server.xrpc.method(nsid, cfg) 625 764 } 626 765 627 766 getCheckout<AV extends AuthVerifier>( 628 - cfg: ConfigOf<AV, ComAtprotoSyncGetCheckout.Handler<ExtractAuth<AV>>>, 767 + cfg: ConfigOf< 768 + AV, 769 + ComAtprotoSyncGetCheckout.Handler<ExtractAuth<AV>>, 770 + ComAtprotoSyncGetCheckout.HandlerReqCtx<ExtractAuth<AV>> 771 + >, 629 772 ) { 630 773 const nsid = 'com.atproto.sync.getCheckout' // @ts-ignore 631 774 return this._server.xrpc.method(nsid, cfg) 632 775 } 633 776 634 - getCommitPath<AV extends AuthVerifier>( 635 - cfg: ConfigOf<AV, ComAtprotoSyncGetCommitPath.Handler<ExtractAuth<AV>>>, 777 + getHead<AV extends AuthVerifier>( 778 + cfg: ConfigOf< 779 + AV, 780 + ComAtprotoSyncGetHead.Handler<ExtractAuth<AV>>, 781 + ComAtprotoSyncGetHead.HandlerReqCtx<ExtractAuth<AV>> 782 + >, 636 783 ) { 637 - const nsid = 'com.atproto.sync.getCommitPath' // @ts-ignore 784 + const nsid = 'com.atproto.sync.getHead' // @ts-ignore 638 785 return this._server.xrpc.method(nsid, cfg) 639 786 } 640 787 641 - getHead<AV extends AuthVerifier>( 642 - cfg: ConfigOf<AV, ComAtprotoSyncGetHead.Handler<ExtractAuth<AV>>>, 788 + getLatestCommit<AV extends AuthVerifier>( 789 + cfg: ConfigOf< 790 + AV, 791 + ComAtprotoSyncGetLatestCommit.Handler<ExtractAuth<AV>>, 792 + ComAtprotoSyncGetLatestCommit.HandlerReqCtx<ExtractAuth<AV>> 793 + >, 643 794 ) { 644 - const nsid = 'com.atproto.sync.getHead' // @ts-ignore 795 + const nsid = 'com.atproto.sync.getLatestCommit' // @ts-ignore 645 796 return this._server.xrpc.method(nsid, cfg) 646 797 } 647 798 648 799 getRecord<AV extends AuthVerifier>( 649 - cfg: ConfigOf<AV, ComAtprotoSyncGetRecord.Handler<ExtractAuth<AV>>>, 800 + cfg: ConfigOf< 801 + AV, 802 + ComAtprotoSyncGetRecord.Handler<ExtractAuth<AV>>, 803 + ComAtprotoSyncGetRecord.HandlerReqCtx<ExtractAuth<AV>> 804 + >, 650 805 ) { 651 806 const nsid = 'com.atproto.sync.getRecord' // @ts-ignore 652 807 return this._server.xrpc.method(nsid, cfg) 653 808 } 654 809 655 810 getRepo<AV extends AuthVerifier>( 656 - cfg: ConfigOf<AV, ComAtprotoSyncGetRepo.Handler<ExtractAuth<AV>>>, 811 + cfg: ConfigOf< 812 + AV, 813 + ComAtprotoSyncGetRepo.Handler<ExtractAuth<AV>>, 814 + ComAtprotoSyncGetRepo.HandlerReqCtx<ExtractAuth<AV>> 815 + >, 657 816 ) { 658 817 const nsid = 'com.atproto.sync.getRepo' // @ts-ignore 659 818 return this._server.xrpc.method(nsid, cfg) 660 819 } 661 820 662 821 listBlobs<AV extends AuthVerifier>( 663 - cfg: ConfigOf<AV, ComAtprotoSyncListBlobs.Handler<ExtractAuth<AV>>>, 822 + cfg: ConfigOf< 823 + AV, 824 + ComAtprotoSyncListBlobs.Handler<ExtractAuth<AV>>, 825 + ComAtprotoSyncListBlobs.HandlerReqCtx<ExtractAuth<AV>> 826 + >, 664 827 ) { 665 828 const nsid = 'com.atproto.sync.listBlobs' // @ts-ignore 666 829 return this._server.xrpc.method(nsid, cfg) 667 830 } 668 831 669 832 listRepos<AV extends AuthVerifier>( 670 - cfg: ConfigOf<AV, ComAtprotoSyncListRepos.Handler<ExtractAuth<AV>>>, 833 + cfg: ConfigOf< 834 + AV, 835 + ComAtprotoSyncListRepos.Handler<ExtractAuth<AV>>, 836 + ComAtprotoSyncListRepos.HandlerReqCtx<ExtractAuth<AV>> 837 + >, 671 838 ) { 672 839 const nsid = 'com.atproto.sync.listRepos' // @ts-ignore 673 840 return this._server.xrpc.method(nsid, cfg) 674 841 } 675 842 676 843 notifyOfUpdate<AV extends AuthVerifier>( 677 - cfg: ConfigOf<AV, ComAtprotoSyncNotifyOfUpdate.Handler<ExtractAuth<AV>>>, 844 + cfg: ConfigOf< 845 + AV, 846 + ComAtprotoSyncNotifyOfUpdate.Handler<ExtractAuth<AV>>, 847 + ComAtprotoSyncNotifyOfUpdate.HandlerReqCtx<ExtractAuth<AV>> 848 + >, 678 849 ) { 679 850 const nsid = 'com.atproto.sync.notifyOfUpdate' // @ts-ignore 680 851 return this._server.xrpc.method(nsid, cfg) 681 852 } 682 853 683 854 requestCrawl<AV extends AuthVerifier>( 684 - cfg: ConfigOf<AV, ComAtprotoSyncRequestCrawl.Handler<ExtractAuth<AV>>>, 855 + cfg: ConfigOf< 856 + AV, 857 + ComAtprotoSyncRequestCrawl.Handler<ExtractAuth<AV>>, 858 + ComAtprotoSyncRequestCrawl.HandlerReqCtx<ExtractAuth<AV>> 859 + >, 685 860 ) { 686 861 const nsid = 'com.atproto.sync.requestCrawl' // @ts-ignore 687 862 return this._server.xrpc.method(nsid, cfg) 688 863 } 689 864 690 865 subscribeRepos<AV extends StreamAuthVerifier>( 691 - cfg: ConfigOf<AV, ComAtprotoSyncSubscribeRepos.Handler<ExtractAuth<AV>>>, 866 + cfg: ConfigOf< 867 + AV, 868 + ComAtprotoSyncSubscribeRepos.Handler<ExtractAuth<AV>>, 869 + ComAtprotoSyncSubscribeRepos.HandlerReqCtx<ExtractAuth<AV>> 870 + >, 692 871 ) { 693 872 const nsid = 'com.atproto.sync.subscribeRepos' // @ts-ignore 694 873 return this._server.xrpc.streamMethod(nsid, cfg) ··· 735 914 } 736 915 737 916 getPreferences<AV extends AuthVerifier>( 738 - cfg: ConfigOf<AV, AppBskyActorGetPreferences.Handler<ExtractAuth<AV>>>, 917 + cfg: ConfigOf< 918 + AV, 919 + AppBskyActorGetPreferences.Handler<ExtractAuth<AV>>, 920 + AppBskyActorGetPreferences.HandlerReqCtx<ExtractAuth<AV>> 921 + >, 739 922 ) { 740 923 const nsid = 'app.bsky.actor.getPreferences' // @ts-ignore 741 924 return this._server.xrpc.method(nsid, cfg) 742 925 } 743 926 744 927 getProfile<AV extends AuthVerifier>( 745 - cfg: ConfigOf<AV, AppBskyActorGetProfile.Handler<ExtractAuth<AV>>>, 928 + cfg: ConfigOf< 929 + AV, 930 + AppBskyActorGetProfile.Handler<ExtractAuth<AV>>, 931 + AppBskyActorGetProfile.HandlerReqCtx<ExtractAuth<AV>> 932 + >, 746 933 ) { 747 934 const nsid = 'app.bsky.actor.getProfile' // @ts-ignore 748 935 return this._server.xrpc.method(nsid, cfg) 749 936 } 750 937 751 938 getProfiles<AV extends AuthVerifier>( 752 - cfg: ConfigOf<AV, AppBskyActorGetProfiles.Handler<ExtractAuth<AV>>>, 939 + cfg: ConfigOf< 940 + AV, 941 + AppBskyActorGetProfiles.Handler<ExtractAuth<AV>>, 942 + AppBskyActorGetProfiles.HandlerReqCtx<ExtractAuth<AV>> 943 + >, 753 944 ) { 754 945 const nsid = 'app.bsky.actor.getProfiles' // @ts-ignore 755 946 return this._server.xrpc.method(nsid, cfg) 756 947 } 757 948 758 949 getSuggestions<AV extends AuthVerifier>( 759 - cfg: ConfigOf<AV, AppBskyActorGetSuggestions.Handler<ExtractAuth<AV>>>, 950 + cfg: ConfigOf< 951 + AV, 952 + AppBskyActorGetSuggestions.Handler<ExtractAuth<AV>>, 953 + AppBskyActorGetSuggestions.HandlerReqCtx<ExtractAuth<AV>> 954 + >, 760 955 ) { 761 956 const nsid = 'app.bsky.actor.getSuggestions' // @ts-ignore 762 957 return this._server.xrpc.method(nsid, cfg) 763 958 } 764 959 765 960 putPreferences<AV extends AuthVerifier>( 766 - cfg: ConfigOf<AV, AppBskyActorPutPreferences.Handler<ExtractAuth<AV>>>, 961 + cfg: ConfigOf< 962 + AV, 963 + AppBskyActorPutPreferences.Handler<ExtractAuth<AV>>, 964 + AppBskyActorPutPreferences.HandlerReqCtx<ExtractAuth<AV>> 965 + >, 767 966 ) { 768 967 const nsid = 'app.bsky.actor.putPreferences' // @ts-ignore 769 968 return this._server.xrpc.method(nsid, cfg) 770 969 } 771 970 772 971 searchActors<AV extends AuthVerifier>( 773 - cfg: ConfigOf<AV, AppBskyActorSearchActors.Handler<ExtractAuth<AV>>>, 972 + cfg: ConfigOf< 973 + AV, 974 + AppBskyActorSearchActors.Handler<ExtractAuth<AV>>, 975 + AppBskyActorSearchActors.HandlerReqCtx<ExtractAuth<AV>> 976 + >, 774 977 ) { 775 978 const nsid = 'app.bsky.actor.searchActors' // @ts-ignore 776 979 return this._server.xrpc.method(nsid, cfg) ··· 779 982 searchActorsTypeahead<AV extends AuthVerifier>( 780 983 cfg: ConfigOf< 781 984 AV, 782 - AppBskyActorSearchActorsTypeahead.Handler<ExtractAuth<AV>> 985 + AppBskyActorSearchActorsTypeahead.Handler<ExtractAuth<AV>>, 986 + AppBskyActorSearchActorsTypeahead.HandlerReqCtx<ExtractAuth<AV>> 783 987 >, 784 988 ) { 785 989 const nsid = 'app.bsky.actor.searchActorsTypeahead' // @ts-ignore ··· 805 1009 describeFeedGenerator<AV extends AuthVerifier>( 806 1010 cfg: ConfigOf< 807 1011 AV, 808 - AppBskyFeedDescribeFeedGenerator.Handler<ExtractAuth<AV>> 1012 + AppBskyFeedDescribeFeedGenerator.Handler<ExtractAuth<AV>>, 1013 + AppBskyFeedDescribeFeedGenerator.HandlerReqCtx<ExtractAuth<AV>> 809 1014 >, 810 1015 ) { 811 1016 const nsid = 'app.bsky.feed.describeFeedGenerator' // @ts-ignore ··· 813 1018 } 814 1019 815 1020 getActorFeeds<AV extends AuthVerifier>( 816 - cfg: ConfigOf<AV, AppBskyFeedGetActorFeeds.Handler<ExtractAuth<AV>>>, 1021 + cfg: ConfigOf< 1022 + AV, 1023 + AppBskyFeedGetActorFeeds.Handler<ExtractAuth<AV>>, 1024 + AppBskyFeedGetActorFeeds.HandlerReqCtx<ExtractAuth<AV>> 1025 + >, 817 1026 ) { 818 1027 const nsid = 'app.bsky.feed.getActorFeeds' // @ts-ignore 819 1028 return this._server.xrpc.method(nsid, cfg) 820 1029 } 821 1030 1031 + getActorLikes<AV extends AuthVerifier>( 1032 + cfg: ConfigOf< 1033 + AV, 1034 + AppBskyFeedGetActorLikes.Handler<ExtractAuth<AV>>, 1035 + AppBskyFeedGetActorLikes.HandlerReqCtx<ExtractAuth<AV>> 1036 + >, 1037 + ) { 1038 + const nsid = 'app.bsky.feed.getActorLikes' // @ts-ignore 1039 + return this._server.xrpc.method(nsid, cfg) 1040 + } 1041 + 822 1042 getAuthorFeed<AV extends AuthVerifier>( 823 - cfg: ConfigOf<AV, AppBskyFeedGetAuthorFeed.Handler<ExtractAuth<AV>>>, 1043 + cfg: ConfigOf< 1044 + AV, 1045 + AppBskyFeedGetAuthorFeed.Handler<ExtractAuth<AV>>, 1046 + AppBskyFeedGetAuthorFeed.HandlerReqCtx<ExtractAuth<AV>> 1047 + >, 824 1048 ) { 825 1049 const nsid = 'app.bsky.feed.getAuthorFeed' // @ts-ignore 826 1050 return this._server.xrpc.method(nsid, cfg) 827 1051 } 828 1052 829 1053 getFeed<AV extends AuthVerifier>( 830 - cfg: ConfigOf<AV, AppBskyFeedGetFeed.Handler<ExtractAuth<AV>>>, 1054 + cfg: ConfigOf< 1055 + AV, 1056 + AppBskyFeedGetFeed.Handler<ExtractAuth<AV>>, 1057 + AppBskyFeedGetFeed.HandlerReqCtx<ExtractAuth<AV>> 1058 + >, 831 1059 ) { 832 1060 const nsid = 'app.bsky.feed.getFeed' // @ts-ignore 833 1061 return this._server.xrpc.method(nsid, cfg) 834 1062 } 835 1063 836 1064 getFeedGenerator<AV extends AuthVerifier>( 837 - cfg: ConfigOf<AV, AppBskyFeedGetFeedGenerator.Handler<ExtractAuth<AV>>>, 1065 + cfg: ConfigOf< 1066 + AV, 1067 + AppBskyFeedGetFeedGenerator.Handler<ExtractAuth<AV>>, 1068 + AppBskyFeedGetFeedGenerator.HandlerReqCtx<ExtractAuth<AV>> 1069 + >, 838 1070 ) { 839 1071 const nsid = 'app.bsky.feed.getFeedGenerator' // @ts-ignore 840 1072 return this._server.xrpc.method(nsid, cfg) 841 1073 } 842 1074 1075 + getFeedGenerators<AV extends AuthVerifier>( 1076 + cfg: ConfigOf< 1077 + AV, 1078 + AppBskyFeedGetFeedGenerators.Handler<ExtractAuth<AV>>, 1079 + AppBskyFeedGetFeedGenerators.HandlerReqCtx<ExtractAuth<AV>> 1080 + >, 1081 + ) { 1082 + const nsid = 'app.bsky.feed.getFeedGenerators' // @ts-ignore 1083 + return this._server.xrpc.method(nsid, cfg) 1084 + } 1085 + 843 1086 getFeedSkeleton<AV extends AuthVerifier>( 844 - cfg: ConfigOf<AV, AppBskyFeedGetFeedSkeleton.Handler<ExtractAuth<AV>>>, 1087 + cfg: ConfigOf< 1088 + AV, 1089 + AppBskyFeedGetFeedSkeleton.Handler<ExtractAuth<AV>>, 1090 + AppBskyFeedGetFeedSkeleton.HandlerReqCtx<ExtractAuth<AV>> 1091 + >, 845 1092 ) { 846 1093 const nsid = 'app.bsky.feed.getFeedSkeleton' // @ts-ignore 847 1094 return this._server.xrpc.method(nsid, cfg) 848 1095 } 849 1096 850 1097 getLikes<AV extends AuthVerifier>( 851 - cfg: ConfigOf<AV, AppBskyFeedGetLikes.Handler<ExtractAuth<AV>>>, 1098 + cfg: ConfigOf< 1099 + AV, 1100 + AppBskyFeedGetLikes.Handler<ExtractAuth<AV>>, 1101 + AppBskyFeedGetLikes.HandlerReqCtx<ExtractAuth<AV>> 1102 + >, 852 1103 ) { 853 1104 const nsid = 'app.bsky.feed.getLikes' // @ts-ignore 1105 + return this._server.xrpc.method(nsid, cfg) 1106 + } 1107 + 1108 + getListFeed<AV extends AuthVerifier>( 1109 + cfg: ConfigOf< 1110 + AV, 1111 + AppBskyFeedGetListFeed.Handler<ExtractAuth<AV>>, 1112 + AppBskyFeedGetListFeed.HandlerReqCtx<ExtractAuth<AV>> 1113 + >, 1114 + ) { 1115 + const nsid = 'app.bsky.feed.getListFeed' // @ts-ignore 854 1116 return this._server.xrpc.method(nsid, cfg) 855 1117 } 856 1118 857 1119 getPostThread<AV extends AuthVerifier>( 858 - cfg: ConfigOf<AV, AppBskyFeedGetPostThread.Handler<ExtractAuth<AV>>>, 1120 + cfg: ConfigOf< 1121 + AV, 1122 + AppBskyFeedGetPostThread.Handler<ExtractAuth<AV>>, 1123 + AppBskyFeedGetPostThread.HandlerReqCtx<ExtractAuth<AV>> 1124 + >, 859 1125 ) { 860 1126 const nsid = 'app.bsky.feed.getPostThread' // @ts-ignore 861 1127 return this._server.xrpc.method(nsid, cfg) 862 1128 } 863 1129 864 1130 getPosts<AV extends AuthVerifier>( 865 - cfg: ConfigOf<AV, AppBskyFeedGetPosts.Handler<ExtractAuth<AV>>>, 1131 + cfg: ConfigOf< 1132 + AV, 1133 + AppBskyFeedGetPosts.Handler<ExtractAuth<AV>>, 1134 + AppBskyFeedGetPosts.HandlerReqCtx<ExtractAuth<AV>> 1135 + >, 866 1136 ) { 867 1137 const nsid = 'app.bsky.feed.getPosts' // @ts-ignore 868 1138 return this._server.xrpc.method(nsid, cfg) 869 1139 } 870 1140 871 1141 getRepostedBy<AV extends AuthVerifier>( 872 - cfg: ConfigOf<AV, AppBskyFeedGetRepostedBy.Handler<ExtractAuth<AV>>>, 1142 + cfg: ConfigOf< 1143 + AV, 1144 + AppBskyFeedGetRepostedBy.Handler<ExtractAuth<AV>>, 1145 + AppBskyFeedGetRepostedBy.HandlerReqCtx<ExtractAuth<AV>> 1146 + >, 873 1147 ) { 874 1148 const nsid = 'app.bsky.feed.getRepostedBy' // @ts-ignore 875 1149 return this._server.xrpc.method(nsid, cfg) 876 1150 } 877 1151 878 - getSavedFeeds<AV extends AuthVerifier>( 879 - cfg: ConfigOf<AV, AppBskyFeedGetSavedFeeds.Handler<ExtractAuth<AV>>>, 1152 + getSuggestedFeeds<AV extends AuthVerifier>( 1153 + cfg: ConfigOf< 1154 + AV, 1155 + AppBskyFeedGetSuggestedFeeds.Handler<ExtractAuth<AV>>, 1156 + AppBskyFeedGetSuggestedFeeds.HandlerReqCtx<ExtractAuth<AV>> 1157 + >, 880 1158 ) { 881 - const nsid = 'app.bsky.feed.getSavedFeeds' // @ts-ignore 1159 + const nsid = 'app.bsky.feed.getSuggestedFeeds' // @ts-ignore 882 1160 return this._server.xrpc.method(nsid, cfg) 883 1161 } 884 1162 885 1163 getTimeline<AV extends AuthVerifier>( 886 - cfg: ConfigOf<AV, AppBskyFeedGetTimeline.Handler<ExtractAuth<AV>>>, 1164 + cfg: ConfigOf< 1165 + AV, 1166 + AppBskyFeedGetTimeline.Handler<ExtractAuth<AV>>, 1167 + AppBskyFeedGetTimeline.HandlerReqCtx<ExtractAuth<AV>> 1168 + >, 887 1169 ) { 888 1170 const nsid = 'app.bsky.feed.getTimeline' // @ts-ignore 889 1171 return this._server.xrpc.method(nsid, cfg) 890 1172 } 891 1173 892 - saveFeed<AV extends AuthVerifier>( 893 - cfg: ConfigOf<AV, AppBskyFeedSaveFeed.Handler<ExtractAuth<AV>>>, 1174 + searchPosts<AV extends AuthVerifier>( 1175 + cfg: ConfigOf< 1176 + AV, 1177 + AppBskyFeedSearchPosts.Handler<ExtractAuth<AV>>, 1178 + AppBskyFeedSearchPosts.HandlerReqCtx<ExtractAuth<AV>> 1179 + >, 894 1180 ) { 895 - const nsid = 'app.bsky.feed.saveFeed' // @ts-ignore 896 - return this._server.xrpc.method(nsid, cfg) 897 - } 898 - 899 - unsaveFeed<AV extends AuthVerifier>( 900 - cfg: ConfigOf<AV, AppBskyFeedUnsaveFeed.Handler<ExtractAuth<AV>>>, 901 - ) { 902 - const nsid = 'app.bsky.feed.unsaveFeed' // @ts-ignore 1181 + const nsid = 'app.bsky.feed.searchPosts' // @ts-ignore 903 1182 return this._server.xrpc.method(nsid, cfg) 904 1183 } 905 1184 } ··· 912 1191 } 913 1192 914 1193 getBlocks<AV extends AuthVerifier>( 915 - cfg: ConfigOf<AV, AppBskyGraphGetBlocks.Handler<ExtractAuth<AV>>>, 1194 + cfg: ConfigOf< 1195 + AV, 1196 + AppBskyGraphGetBlocks.Handler<ExtractAuth<AV>>, 1197 + AppBskyGraphGetBlocks.HandlerReqCtx<ExtractAuth<AV>> 1198 + >, 916 1199 ) { 917 1200 const nsid = 'app.bsky.graph.getBlocks' // @ts-ignore 918 1201 return this._server.xrpc.method(nsid, cfg) 919 1202 } 920 1203 921 1204 getFollowers<AV extends AuthVerifier>( 922 - cfg: ConfigOf<AV, AppBskyGraphGetFollowers.Handler<ExtractAuth<AV>>>, 1205 + cfg: ConfigOf< 1206 + AV, 1207 + AppBskyGraphGetFollowers.Handler<ExtractAuth<AV>>, 1208 + AppBskyGraphGetFollowers.HandlerReqCtx<ExtractAuth<AV>> 1209 + >, 923 1210 ) { 924 1211 const nsid = 'app.bsky.graph.getFollowers' // @ts-ignore 925 1212 return this._server.xrpc.method(nsid, cfg) 926 1213 } 927 1214 928 1215 getFollows<AV extends AuthVerifier>( 929 - cfg: ConfigOf<AV, AppBskyGraphGetFollows.Handler<ExtractAuth<AV>>>, 1216 + cfg: ConfigOf< 1217 + AV, 1218 + AppBskyGraphGetFollows.Handler<ExtractAuth<AV>>, 1219 + AppBskyGraphGetFollows.HandlerReqCtx<ExtractAuth<AV>> 1220 + >, 930 1221 ) { 931 1222 const nsid = 'app.bsky.graph.getFollows' // @ts-ignore 932 1223 return this._server.xrpc.method(nsid, cfg) 933 1224 } 934 1225 935 1226 getList<AV extends AuthVerifier>( 936 - cfg: ConfigOf<AV, AppBskyGraphGetList.Handler<ExtractAuth<AV>>>, 1227 + cfg: ConfigOf< 1228 + AV, 1229 + AppBskyGraphGetList.Handler<ExtractAuth<AV>>, 1230 + AppBskyGraphGetList.HandlerReqCtx<ExtractAuth<AV>> 1231 + >, 937 1232 ) { 938 1233 const nsid = 'app.bsky.graph.getList' // @ts-ignore 939 1234 return this._server.xrpc.method(nsid, cfg) 940 1235 } 941 1236 1237 + getListBlocks<AV extends AuthVerifier>( 1238 + cfg: ConfigOf< 1239 + AV, 1240 + AppBskyGraphGetListBlocks.Handler<ExtractAuth<AV>>, 1241 + AppBskyGraphGetListBlocks.HandlerReqCtx<ExtractAuth<AV>> 1242 + >, 1243 + ) { 1244 + const nsid = 'app.bsky.graph.getListBlocks' // @ts-ignore 1245 + return this._server.xrpc.method(nsid, cfg) 1246 + } 1247 + 942 1248 getListMutes<AV extends AuthVerifier>( 943 - cfg: ConfigOf<AV, AppBskyGraphGetListMutes.Handler<ExtractAuth<AV>>>, 1249 + cfg: ConfigOf< 1250 + AV, 1251 + AppBskyGraphGetListMutes.Handler<ExtractAuth<AV>>, 1252 + AppBskyGraphGetListMutes.HandlerReqCtx<ExtractAuth<AV>> 1253 + >, 944 1254 ) { 945 1255 const nsid = 'app.bsky.graph.getListMutes' // @ts-ignore 946 1256 return this._server.xrpc.method(nsid, cfg) 947 1257 } 948 1258 949 1259 getLists<AV extends AuthVerifier>( 950 - cfg: ConfigOf<AV, AppBskyGraphGetLists.Handler<ExtractAuth<AV>>>, 1260 + cfg: ConfigOf< 1261 + AV, 1262 + AppBskyGraphGetLists.Handler<ExtractAuth<AV>>, 1263 + AppBskyGraphGetLists.HandlerReqCtx<ExtractAuth<AV>> 1264 + >, 951 1265 ) { 952 1266 const nsid = 'app.bsky.graph.getLists' // @ts-ignore 953 1267 return this._server.xrpc.method(nsid, cfg) 954 1268 } 955 1269 956 1270 getMutes<AV extends AuthVerifier>( 957 - cfg: ConfigOf<AV, AppBskyGraphGetMutes.Handler<ExtractAuth<AV>>>, 1271 + cfg: ConfigOf< 1272 + AV, 1273 + AppBskyGraphGetMutes.Handler<ExtractAuth<AV>>, 1274 + AppBskyGraphGetMutes.HandlerReqCtx<ExtractAuth<AV>> 1275 + >, 958 1276 ) { 959 1277 const nsid = 'app.bsky.graph.getMutes' // @ts-ignore 960 1278 return this._server.xrpc.method(nsid, cfg) 961 1279 } 962 1280 1281 + getSuggestedFollowsByActor<AV extends AuthVerifier>( 1282 + cfg: ConfigOf< 1283 + AV, 1284 + AppBskyGraphGetSuggestedFollowsByActor.Handler<ExtractAuth<AV>>, 1285 + AppBskyGraphGetSuggestedFollowsByActor.HandlerReqCtx<ExtractAuth<AV>> 1286 + >, 1287 + ) { 1288 + const nsid = 'app.bsky.graph.getSuggestedFollowsByActor' // @ts-ignore 1289 + return this._server.xrpc.method(nsid, cfg) 1290 + } 1291 + 963 1292 muteActor<AV extends AuthVerifier>( 964 - cfg: ConfigOf<AV, AppBskyGraphMuteActor.Handler<ExtractAuth<AV>>>, 1293 + cfg: ConfigOf< 1294 + AV, 1295 + AppBskyGraphMuteActor.Handler<ExtractAuth<AV>>, 1296 + AppBskyGraphMuteActor.HandlerReqCtx<ExtractAuth<AV>> 1297 + >, 965 1298 ) { 966 1299 const nsid = 'app.bsky.graph.muteActor' // @ts-ignore 967 1300 return this._server.xrpc.method(nsid, cfg) 968 1301 } 969 1302 970 1303 muteActorList<AV extends AuthVerifier>( 971 - cfg: ConfigOf<AV, AppBskyGraphMuteActorList.Handler<ExtractAuth<AV>>>, 1304 + cfg: ConfigOf< 1305 + AV, 1306 + AppBskyGraphMuteActorList.Handler<ExtractAuth<AV>>, 1307 + AppBskyGraphMuteActorList.HandlerReqCtx<ExtractAuth<AV>> 1308 + >, 972 1309 ) { 973 1310 const nsid = 'app.bsky.graph.muteActorList' // @ts-ignore 974 1311 return this._server.xrpc.method(nsid, cfg) 975 1312 } 976 1313 977 1314 unmuteActor<AV extends AuthVerifier>( 978 - cfg: ConfigOf<AV, AppBskyGraphUnmuteActor.Handler<ExtractAuth<AV>>>, 1315 + cfg: ConfigOf< 1316 + AV, 1317 + AppBskyGraphUnmuteActor.Handler<ExtractAuth<AV>>, 1318 + AppBskyGraphUnmuteActor.HandlerReqCtx<ExtractAuth<AV>> 1319 + >, 979 1320 ) { 980 1321 const nsid = 'app.bsky.graph.unmuteActor' // @ts-ignore 981 1322 return this._server.xrpc.method(nsid, cfg) 982 1323 } 983 1324 984 1325 unmuteActorList<AV extends AuthVerifier>( 985 - cfg: ConfigOf<AV, AppBskyGraphUnmuteActorList.Handler<ExtractAuth<AV>>>, 1326 + cfg: ConfigOf< 1327 + AV, 1328 + AppBskyGraphUnmuteActorList.Handler<ExtractAuth<AV>>, 1329 + AppBskyGraphUnmuteActorList.HandlerReqCtx<ExtractAuth<AV>> 1330 + >, 986 1331 ) { 987 1332 const nsid = 'app.bsky.graph.unmuteActorList' // @ts-ignore 988 1333 return this._server.xrpc.method(nsid, cfg) ··· 999 1344 getUnreadCount<AV extends AuthVerifier>( 1000 1345 cfg: ConfigOf< 1001 1346 AV, 1002 - AppBskyNotificationGetUnreadCount.Handler<ExtractAuth<AV>> 1347 + AppBskyNotificationGetUnreadCount.Handler<ExtractAuth<AV>>, 1348 + AppBskyNotificationGetUnreadCount.HandlerReqCtx<ExtractAuth<AV>> 1003 1349 >, 1004 1350 ) { 1005 1351 const nsid = 'app.bsky.notification.getUnreadCount' // @ts-ignore ··· 1009 1355 listNotifications<AV extends AuthVerifier>( 1010 1356 cfg: ConfigOf< 1011 1357 AV, 1012 - AppBskyNotificationListNotifications.Handler<ExtractAuth<AV>> 1358 + AppBskyNotificationListNotifications.Handler<ExtractAuth<AV>>, 1359 + AppBskyNotificationListNotifications.HandlerReqCtx<ExtractAuth<AV>> 1013 1360 >, 1014 1361 ) { 1015 1362 const nsid = 'app.bsky.notification.listNotifications' // @ts-ignore 1016 1363 return this._server.xrpc.method(nsid, cfg) 1017 1364 } 1018 1365 1366 + registerPush<AV extends AuthVerifier>( 1367 + cfg: ConfigOf< 1368 + AV, 1369 + AppBskyNotificationRegisterPush.Handler<ExtractAuth<AV>>, 1370 + AppBskyNotificationRegisterPush.HandlerReqCtx<ExtractAuth<AV>> 1371 + >, 1372 + ) { 1373 + const nsid = 'app.bsky.notification.registerPush' // @ts-ignore 1374 + return this._server.xrpc.method(nsid, cfg) 1375 + } 1376 + 1019 1377 updateSeen<AV extends AuthVerifier>( 1020 - cfg: ConfigOf<AV, AppBskyNotificationUpdateSeen.Handler<ExtractAuth<AV>>>, 1378 + cfg: ConfigOf< 1379 + AV, 1380 + AppBskyNotificationUpdateSeen.Handler<ExtractAuth<AV>>, 1381 + AppBskyNotificationUpdateSeen.HandlerReqCtx<ExtractAuth<AV>> 1382 + >, 1021 1383 ) { 1022 1384 const nsid = 'app.bsky.notification.updateSeen' // @ts-ignore 1023 1385 return this._server.xrpc.method(nsid, cfg) ··· 1040 1402 } 1041 1403 1042 1404 getPopular<AV extends AuthVerifier>( 1043 - cfg: ConfigOf<AV, AppBskyUnspeccedGetPopular.Handler<ExtractAuth<AV>>>, 1405 + cfg: ConfigOf< 1406 + AV, 1407 + AppBskyUnspeccedGetPopular.Handler<ExtractAuth<AV>>, 1408 + AppBskyUnspeccedGetPopular.HandlerReqCtx<ExtractAuth<AV>> 1409 + >, 1044 1410 ) { 1045 1411 const nsid = 'app.bsky.unspecced.getPopular' // @ts-ignore 1046 1412 return this._server.xrpc.method(nsid, cfg) 1047 1413 } 1414 + 1415 + getPopularFeedGenerators<AV extends AuthVerifier>( 1416 + cfg: ConfigOf< 1417 + AV, 1418 + AppBskyUnspeccedGetPopularFeedGenerators.Handler<ExtractAuth<AV>>, 1419 + AppBskyUnspeccedGetPopularFeedGenerators.HandlerReqCtx<ExtractAuth<AV>> 1420 + >, 1421 + ) { 1422 + const nsid = 'app.bsky.unspecced.getPopularFeedGenerators' // @ts-ignore 1423 + return this._server.xrpc.method(nsid, cfg) 1424 + } 1425 + 1426 + getTimelineSkeleton<AV extends AuthVerifier>( 1427 + cfg: ConfigOf< 1428 + AV, 1429 + AppBskyUnspeccedGetTimelineSkeleton.Handler<ExtractAuth<AV>>, 1430 + AppBskyUnspeccedGetTimelineSkeleton.HandlerReqCtx<ExtractAuth<AV>> 1431 + >, 1432 + ) { 1433 + const nsid = 'app.bsky.unspecced.getTimelineSkeleton' // @ts-ignore 1434 + return this._server.xrpc.method(nsid, cfg) 1435 + } 1436 + 1437 + searchActorsSkeleton<AV extends AuthVerifier>( 1438 + cfg: ConfigOf< 1439 + AV, 1440 + AppBskyUnspeccedSearchActorsSkeleton.Handler<ExtractAuth<AV>>, 1441 + AppBskyUnspeccedSearchActorsSkeleton.HandlerReqCtx<ExtractAuth<AV>> 1442 + >, 1443 + ) { 1444 + const nsid = 'app.bsky.unspecced.searchActorsSkeleton' // @ts-ignore 1445 + return this._server.xrpc.method(nsid, cfg) 1446 + } 1447 + 1448 + searchPostsSkeleton<AV extends AuthVerifier>( 1449 + cfg: ConfigOf< 1450 + AV, 1451 + AppBskyUnspeccedSearchPostsSkeleton.Handler<ExtractAuth<AV>>, 1452 + AppBskyUnspeccedSearchPostsSkeleton.HandlerReqCtx<ExtractAuth<AV>> 1453 + >, 1454 + ) { 1455 + const nsid = 'app.bsky.unspecced.searchPostsSkeleton' // @ts-ignore 1456 + return this._server.xrpc.method(nsid, cfg) 1457 + } 1048 1458 } 1049 1459 1050 - type ConfigOf<Auth, Handler> = 1460 + type SharedRateLimitOpts<T> = { 1461 + name: string 1462 + calcKey?: (ctx: T) => string 1463 + calcPoints?: (ctx: T) => number 1464 + } 1465 + type RouteRateLimitOpts<T> = { 1466 + durationMs: number 1467 + points: number 1468 + calcKey?: (ctx: T) => string 1469 + calcPoints?: (ctx: T) => number 1470 + } 1471 + type HandlerRateLimitOpts<T> = SharedRateLimitOpts<T> | RouteRateLimitOpts<T> 1472 + type ConfigOf<Auth, Handler, ReqCtx> = 1051 1473 | Handler 1052 1474 | { 1053 1475 auth?: Auth 1476 + rateLimit?: HandlerRateLimitOpts<ReqCtx> | HandlerRateLimitOpts<ReqCtx>[] 1054 1477 handler: Handler 1055 1478 } 1056 1479 type ExtractAuth<AV extends AuthVerifier | StreamAuthVerifier> = Extract<
+1201 -158
src/lexicon/lexicons.ts
··· 28 28 type: 'ref', 29 29 ref: 'lex:com.atproto.admin.defs#actionType', 30 30 }, 31 + durationInHours: { 32 + type: 'integer', 33 + description: 34 + 'Indicates how long this action was meant to be in effect before automatically expiring.', 35 + }, 31 36 subject: { 32 37 type: 'union', 33 38 refs: [ ··· 96 101 type: 'ref', 97 102 ref: 'lex:com.atproto.admin.defs#actionType', 98 103 }, 104 + durationInHours: { 105 + type: 'integer', 106 + description: 107 + 'Indicates how long this action was meant to be in effect before automatically expiring.', 108 + }, 99 109 subject: { 100 110 type: 'union', 101 111 refs: [ 102 112 'lex:com.atproto.admin.defs#repoView', 113 + 'lex:com.atproto.admin.defs#repoViewNotFound', 103 114 'lex:com.atproto.admin.defs#recordView', 115 + 'lex:com.atproto.admin.defs#recordViewNotFound', 104 116 ], 105 117 }, 106 118 subjectBlobs: { ··· 156 168 action: { 157 169 type: 'ref', 158 170 ref: 'lex:com.atproto.admin.defs#actionType', 171 + }, 172 + durationInHours: { 173 + type: 'integer', 174 + description: 175 + 'Indicates how long this action was meant to be in effect before automatically expiring.', 159 176 }, 160 177 }, 161 178 }, ··· 226 243 reason: { 227 244 type: 'string', 228 245 }, 246 + subjectRepoHandle: { 247 + type: 'string', 248 + }, 229 249 subject: { 230 250 type: 'union', 231 251 refs: [ ··· 274 294 type: 'union', 275 295 refs: [ 276 296 'lex:com.atproto.admin.defs#repoView', 297 + 'lex:com.atproto.admin.defs#repoViewNotFound', 277 298 'lex:com.atproto.admin.defs#recordView', 299 + 'lex:com.atproto.admin.defs#recordViewNotFound', 278 300 ], 279 301 }, 280 302 reportedBy: { ··· 336 358 invitesDisabled: { 337 359 type: 'boolean', 338 360 }, 361 + inviteNote: { 362 + type: 'string', 363 + }, 339 364 }, 340 365 }, 341 366 repoViewDetail: { ··· 393 418 }, 394 419 invitesDisabled: { 395 420 type: 'boolean', 421 + }, 422 + inviteNote: { 423 + type: 'string', 424 + }, 425 + }, 426 + }, 427 + repoViewNotFound: { 428 + type: 'object', 429 + required: ['did'], 430 + properties: { 431 + did: { 432 + type: 'string', 433 + format: 'did', 396 434 }, 397 435 }, 398 436 }, ··· 501 539 }, 502 540 }, 503 541 }, 542 + recordViewNotFound: { 543 + type: 'object', 544 + required: ['uri'], 545 + properties: { 546 + uri: { 547 + type: 'string', 548 + format: 'at-uri', 549 + }, 550 + }, 551 + }, 504 552 moderation: { 505 553 type: 'object', 506 - required: [], 507 554 properties: { 508 555 currentAction: { 509 556 type: 'ref', ··· 612 659 account: { 613 660 type: 'string', 614 661 format: 'did', 662 + }, 663 + note: { 664 + type: 'string', 665 + description: 666 + 'Additionally add a note describing why the invites were disabled', 615 667 }, 616 668 }, 617 669 }, ··· 667 719 type: 'string', 668 720 format: 'did', 669 721 }, 722 + note: { 723 + type: 'string', 724 + description: 725 + 'Additionally add a note describing why the invites were enabled', 726 + }, 670 727 }, 671 728 }, 672 729 }, ··· 832 889 subject: { 833 890 type: 'string', 834 891 }, 892 + ignoreSubjects: { 893 + type: 'array', 894 + items: { 895 + type: 'string', 896 + }, 897 + }, 898 + actionedBy: { 899 + type: 'string', 900 + format: 'did', 901 + description: 902 + 'Get all reports that were actioned by a specific moderator', 903 + }, 904 + reporters: { 905 + type: 'array', 906 + items: { 907 + type: 'string', 908 + }, 909 + description: 'Filter reports made by one or more DIDs', 910 + }, 835 911 resolved: { 836 912 type: 'boolean', 837 913 }, ··· 852 928 }, 853 929 cursor: { 854 930 type: 'string', 931 + }, 932 + reverse: { 933 + type: 'boolean', 934 + description: 935 + 'Reverse the order of the returned records? when true, returns reports in chronological order', 855 936 }, 856 937 }, 857 938 }, ··· 905 986 ref: 'lex:com.atproto.admin.defs#recordViewDetail', 906 987 }, 907 988 }, 989 + errors: [ 990 + { 991 + name: 'RecordNotFound', 992 + }, 993 + ], 908 994 }, 909 995 }, 910 996 }, ··· 932 1018 ref: 'lex:com.atproto.admin.defs#repoViewDetail', 933 1019 }, 934 1020 }, 1021 + errors: [ 1022 + { 1023 + name: 'RepoNotFound', 1024 + }, 1025 + ], 935 1026 }, 936 1027 }, 937 1028 }, ··· 1022 1113 properties: { 1023 1114 term: { 1024 1115 type: 'string', 1116 + description: "DEPRECATED: use 'q' instead", 1117 + }, 1118 + q: { 1119 + type: 'string', 1025 1120 }, 1026 1121 invitedBy: { 1027 1122 type: 'string', ··· 1059 1154 }, 1060 1155 }, 1061 1156 }, 1157 + ComAtprotoAdminSendEmail: { 1158 + lexicon: 1, 1159 + id: 'com.atproto.admin.sendEmail', 1160 + defs: { 1161 + main: { 1162 + type: 'procedure', 1163 + description: "Send email to a user's primary email address", 1164 + input: { 1165 + encoding: 'application/json', 1166 + schema: { 1167 + type: 'object', 1168 + required: ['recipientDid', 'content'], 1169 + properties: { 1170 + recipientDid: { 1171 + type: 'string', 1172 + format: 'did', 1173 + }, 1174 + content: { 1175 + type: 'string', 1176 + }, 1177 + subject: { 1178 + type: 'string', 1179 + }, 1180 + }, 1181 + }, 1182 + }, 1183 + output: { 1184 + encoding: 'application/json', 1185 + schema: { 1186 + type: 'object', 1187 + required: ['sent'], 1188 + properties: { 1189 + sent: { 1190 + type: 'boolean', 1191 + }, 1192 + }, 1193 + }, 1194 + }, 1195 + }, 1196 + }, 1197 + }, 1062 1198 ComAtprotoAdminTakeModerationAction: { 1063 1199 lexicon: 1, 1064 1200 id: 'com.atproto.admin.takeModerationAction', ··· 1109 1245 reason: { 1110 1246 type: 'string', 1111 1247 }, 1248 + durationInHours: { 1249 + type: 'integer', 1250 + description: 1251 + 'Indicates how long this action was meant to be in effect before automatically expiring.', 1252 + }, 1112 1253 createdBy: { 1113 1254 type: 'string', 1114 1255 format: 'did', ··· 1194 1335 description: 'Provides the DID of a repo.', 1195 1336 parameters: { 1196 1337 type: 'params', 1338 + required: ['handle'], 1197 1339 properties: { 1198 1340 handle: { 1199 1341 type: 'string', 1200 1342 format: 'handle', 1201 - description: 1202 - "The handle to resolve. If not supplied, will resolve the host's own handle.", 1343 + description: 'The handle to resolve.', 1203 1344 }, 1204 1345 }, 1205 1346 }, ··· 1286 1427 }, 1287 1428 }, 1288 1429 }, 1430 + selfLabels: { 1431 + type: 'object', 1432 + description: 1433 + 'Metadata tags on an atproto record, published by the author within the record.', 1434 + required: ['values'], 1435 + properties: { 1436 + values: { 1437 + type: 'array', 1438 + items: { 1439 + type: 'ref', 1440 + ref: 'lex:com.atproto.label.defs#selfLabel', 1441 + }, 1442 + maxLength: 10, 1443 + }, 1444 + }, 1445 + }, 1446 + selfLabel: { 1447 + type: 'object', 1448 + description: 1449 + 'Metadata tag on an atproto record, published by the author within the record. Note -- schemas should use #selfLabels, not #selfLabel.', 1450 + required: ['val'], 1451 + properties: { 1452 + val: { 1453 + type: 'string', 1454 + maxLength: 128, 1455 + description: 1456 + 'the short string name of the value or type of this label', 1457 + }, 1458 + }, 1459 + }, 1289 1460 }, 1290 1461 }, 1291 1462 ComAtprotoLabelQueryLabels: { ··· 1512 1683 }, 1513 1684 reasonSexual: { 1514 1685 type: 'token', 1515 - description: 'Unwanted or mis-labeled sexual content', 1686 + description: 'Unwanted or mislabeled sexual content', 1516 1687 }, 1517 1688 reasonRude: { 1518 1689 type: 'token', ··· 1577 1748 create: { 1578 1749 type: 'object', 1579 1750 description: 'Create a new record.', 1580 - required: ['action', 'collection', 'value'], 1751 + required: ['collection', 'value'], 1581 1752 properties: { 1582 1753 collection: { 1583 1754 type: 'string', ··· 1585 1756 }, 1586 1757 rkey: { 1587 1758 type: 'string', 1759 + maxLength: 15, 1588 1760 }, 1589 1761 value: { 1590 1762 type: 'unknown', ··· 1594 1766 update: { 1595 1767 type: 'object', 1596 1768 description: 'Update an existing record.', 1597 - required: ['action', 'collection', 'rkey', 'value'], 1769 + required: ['collection', 'rkey', 'value'], 1598 1770 properties: { 1599 1771 collection: { 1600 1772 type: 'string', ··· 1611 1783 delete: { 1612 1784 type: 'object', 1613 1785 description: 'Delete an existing record.', 1614 - required: ['action', 'collection', 'rkey'], 1786 + required: ['collection', 'rkey'], 1615 1787 properties: { 1616 1788 collection: { 1617 1789 type: 'string', ··· 1650 1822 rkey: { 1651 1823 type: 'string', 1652 1824 description: 'The key of the record.', 1825 + maxLength: 15, 1653 1826 }, 1654 1827 validate: { 1655 1828 type: 'boolean', ··· 1971 2144 rkey: { 1972 2145 type: 'string', 1973 2146 description: 'The key of the record.', 2147 + maxLength: 15, 1974 2148 }, 1975 2149 validate: { 1976 2150 type: 'boolean', ··· 2021 2195 }, 2022 2196 }, 2023 2197 }, 2024 - ComAtprotoRepoRebaseRepo: { 2025 - lexicon: 1, 2026 - id: 'com.atproto.repo.rebaseRepo', 2027 - defs: { 2028 - main: { 2029 - type: 'procedure', 2030 - description: 'Simple rebase of repo that deletes history', 2031 - input: { 2032 - encoding: 'application/json', 2033 - schema: { 2034 - type: 'object', 2035 - required: ['repo'], 2036 - properties: { 2037 - repo: { 2038 - type: 'string', 2039 - format: 'at-identifier', 2040 - description: 'The handle or DID of the repo.', 2041 - }, 2042 - swapCommit: { 2043 - type: 'string', 2044 - format: 'cid', 2045 - description: 2046 - 'Compare and swap with the previous commit by cid.', 2047 - }, 2048 - }, 2049 - }, 2050 - }, 2051 - errors: [ 2052 - { 2053 - name: 'InvalidSwap', 2054 - }, 2055 - ], 2056 - }, 2057 - }, 2058 - }, 2059 2198 ComAtprotoRepoStrongRef: { 2060 2199 lexicon: 1, 2061 2200 id: 'com.atproto.repo.strongRef', ··· 2858 2997 defs: { 2859 2998 main: { 2860 2999 type: 'query', 2861 - description: 'Gets the repo state.', 3000 + description: 'DEPRECATED - please use com.atproto.sync.getRepo instead', 2862 3001 parameters: { 2863 3002 type: 'params', 2864 3003 required: ['did'], ··· 2867 3006 type: 'string', 2868 3007 format: 'did', 2869 3008 description: 'The DID of the repo.', 2870 - }, 2871 - commit: { 2872 - type: 'string', 2873 - format: 'cid', 2874 - description: 2875 - 'The commit to get the checkout from. Defaults to current HEAD.', 2876 3009 }, 2877 3010 }, 2878 3011 }, ··· 2882 3015 }, 2883 3016 }, 2884 3017 }, 2885 - ComAtprotoSyncGetCommitPath: { 3018 + ComAtprotoSyncGetHead: { 2886 3019 lexicon: 1, 2887 - id: 'com.atproto.sync.getCommitPath', 3020 + id: 'com.atproto.sync.getHead', 2888 3021 defs: { 2889 3022 main: { 2890 3023 type: 'query', 2891 - description: 'Gets the path of repo commits', 3024 + description: 3025 + 'DEPRECATED - please use com.atproto.sync.getLatestCommit instead', 2892 3026 parameters: { 2893 3027 type: 'params', 2894 3028 required: ['did'], ··· 2898 3032 format: 'did', 2899 3033 description: 'The DID of the repo.', 2900 3034 }, 2901 - latest: { 2902 - type: 'string', 2903 - format: 'cid', 2904 - description: 'The most recent commit', 2905 - }, 2906 - earliest: { 2907 - type: 'string', 2908 - format: 'cid', 2909 - description: 'The earliest commit to start from', 2910 - }, 2911 3035 }, 2912 3036 }, 2913 3037 output: { 2914 3038 encoding: 'application/json', 2915 3039 schema: { 2916 3040 type: 'object', 2917 - required: ['commits'], 3041 + required: ['root'], 2918 3042 properties: { 2919 - commits: { 2920 - type: 'array', 2921 - items: { 2922 - type: 'string', 2923 - format: 'cid', 2924 - }, 3043 + root: { 3044 + type: 'string', 3045 + format: 'cid', 2925 3046 }, 2926 3047 }, 2927 3048 }, 2928 3049 }, 3050 + errors: [ 3051 + { 3052 + name: 'HeadNotFound', 3053 + }, 3054 + ], 2929 3055 }, 2930 3056 }, 2931 3057 }, 2932 - ComAtprotoSyncGetHead: { 3058 + ComAtprotoSyncGetLatestCommit: { 2933 3059 lexicon: 1, 2934 - id: 'com.atproto.sync.getHead', 3060 + id: 'com.atproto.sync.getLatestCommit', 2935 3061 defs: { 2936 3062 main: { 2937 3063 type: 'query', 2938 - description: 'Gets the current HEAD CID of a repo.', 3064 + description: 'Gets the current commit CID & revision of the repo.', 2939 3065 parameters: { 2940 3066 type: 'params', 2941 3067 required: ['did'], ··· 2951 3077 encoding: 'application/json', 2952 3078 schema: { 2953 3079 type: 'object', 2954 - required: ['root'], 3080 + required: ['cid', 'rev'], 2955 3081 properties: { 2956 - root: { 3082 + cid: { 2957 3083 type: 'string', 2958 3084 format: 'cid', 3085 + }, 3086 + rev: { 3087 + type: 'string', 2959 3088 }, 2960 3089 }, 2961 3090 }, 2962 3091 }, 3092 + errors: [ 3093 + { 3094 + name: 'RepoNotFound', 3095 + }, 3096 + ], 2963 3097 }, 2964 3098 }, 2965 3099 }, ··· 3006 3140 defs: { 3007 3141 main: { 3008 3142 type: 'query', 3009 - description: 'Gets the repo state.', 3143 + description: 3144 + "Gets the did's repo, optionally catching up from a specific revision.", 3010 3145 parameters: { 3011 3146 type: 'params', 3012 3147 required: ['did'], ··· 3016 3151 format: 'did', 3017 3152 description: 'The DID of the repo.', 3018 3153 }, 3019 - earliest: { 3020 - type: 'string', 3021 - format: 'cid', 3022 - description: 3023 - 'The earliest commit in the commit range (not inclusive)', 3024 - }, 3025 - latest: { 3154 + since: { 3026 3155 type: 'string', 3027 - format: 'cid', 3028 - description: 'The latest commit in the commit range (inclusive)', 3156 + description: 'The revision of the repo to catch up from.', 3029 3157 }, 3030 3158 }, 3031 3159 }, ··· 3041 3169 defs: { 3042 3170 main: { 3043 3171 type: 'query', 3044 - description: 'List blob cids for some range of commits', 3172 + description: 'List blob cids since some revision', 3045 3173 parameters: { 3046 3174 type: 'params', 3047 3175 required: ['did'], ··· 3051 3179 format: 'did', 3052 3180 description: 'The DID of the repo.', 3053 3181 }, 3054 - latest: { 3182 + since: { 3055 3183 type: 'string', 3056 - format: 'cid', 3057 - description: 'The most recent commit', 3184 + description: 'Optional revision of the repo to list blobs since', 3058 3185 }, 3059 - earliest: { 3186 + limit: { 3187 + type: 'integer', 3188 + minimum: 1, 3189 + maximum: 1000, 3190 + default: 500, 3191 + }, 3192 + cursor: { 3060 3193 type: 'string', 3061 - format: 'cid', 3062 - description: 'The earliest commit to start from', 3063 3194 }, 3064 3195 }, 3065 3196 }, ··· 3069 3200 type: 'object', 3070 3201 required: ['cids'], 3071 3202 properties: { 3203 + cursor: { 3204 + type: 'string', 3205 + }, 3072 3206 cids: { 3073 3207 type: 'array', 3074 3208 items: { ··· 3144 3278 id: 'com.atproto.sync.notifyOfUpdate', 3145 3279 defs: { 3146 3280 main: { 3147 - type: 'query', 3281 + type: 'procedure', 3148 3282 description: 3149 3283 'Notify a crawling service of a recent update. Often when a long break between updates causes the connection with the crawling service to break.', 3150 - parameters: { 3151 - type: 'params', 3152 - required: ['hostname'], 3153 - properties: { 3154 - hostname: { 3155 - type: 'string', 3156 - description: 3157 - 'Hostname of the service that is notifying of update.', 3284 + input: { 3285 + encoding: 'application/json', 3286 + schema: { 3287 + type: 'object', 3288 + required: ['hostname'], 3289 + properties: { 3290 + hostname: { 3291 + type: 'string', 3292 + description: 3293 + 'Hostname of the service that is notifying of update.', 3294 + }, 3158 3295 }, 3159 3296 }, 3160 3297 }, ··· 3166 3303 id: 'com.atproto.sync.requestCrawl', 3167 3304 defs: { 3168 3305 main: { 3169 - type: 'query', 3306 + type: 'procedure', 3170 3307 description: 'Request a service to persistently crawl hosted repos.', 3171 - parameters: { 3172 - type: 'params', 3173 - required: ['hostname'], 3174 - properties: { 3175 - hostname: { 3176 - type: 'string', 3177 - description: 3178 - 'Hostname of the service that is requesting to be crawled.', 3308 + input: { 3309 + encoding: 'application/json', 3310 + schema: { 3311 + type: 'object', 3312 + required: ['hostname'], 3313 + properties: { 3314 + hostname: { 3315 + type: 'string', 3316 + description: 3317 + 'Hostname of the service that is requesting to be crawled.', 3318 + }, 3179 3319 }, 3180 3320 }, 3181 3321 }, ··· 3214 3354 { 3215 3355 name: 'FutureCursor', 3216 3356 }, 3357 + { 3358 + name: 'ConsumerTooSlow', 3359 + }, 3217 3360 ], 3218 3361 }, 3219 3362 commit: { ··· 3224 3367 'tooBig', 3225 3368 'repo', 3226 3369 'commit', 3227 - 'prev', 3370 + 'rev', 3371 + 'since', 3228 3372 'blocks', 3229 3373 'ops', 3230 3374 'blobs', 3231 3375 'time', 3232 3376 ], 3233 - nullable: ['prev'], 3377 + nullable: ['prev', 'since'], 3234 3378 properties: { 3235 3379 seq: { 3236 3380 type: 'integer', ··· 3250 3394 }, 3251 3395 prev: { 3252 3396 type: 'cid-link', 3397 + }, 3398 + rev: { 3399 + type: 'string', 3400 + description: 'The rev of the emitted commit', 3401 + }, 3402 + since: { 3403 + type: 'string', 3404 + description: 'The rev of the last emitted commit from this repo', 3253 3405 }, 3254 3406 blocks: { 3255 3407 type: 'bytes', ··· 3350 3502 }, 3351 3503 repoOp: { 3352 3504 type: 'object', 3505 + description: 3506 + "A repo operation, ie a write of a single record. For creates and updates, cid is the record's CID as of this operation. For deletes, it's null.", 3353 3507 required: ['action', 'path', 'cid'], 3354 3508 nullable: ['cid'], 3355 3509 properties: { ··· 3535 3689 refs: [ 3536 3690 'lex:app.bsky.actor.defs#adultContentPref', 3537 3691 'lex:app.bsky.actor.defs#contentLabelPref', 3692 + 'lex:app.bsky.actor.defs#savedFeedsPref', 3693 + 'lex:app.bsky.actor.defs#personalDetailsPref', 3694 + 'lex:app.bsky.actor.defs#feedViewPref', 3695 + 'lex:app.bsky.actor.defs#threadViewPref', 3538 3696 ], 3539 3697 }, 3540 3698 }, ··· 3561 3719 }, 3562 3720 }, 3563 3721 }, 3722 + savedFeedsPref: { 3723 + type: 'object', 3724 + required: ['pinned', 'saved'], 3725 + properties: { 3726 + pinned: { 3727 + type: 'array', 3728 + items: { 3729 + type: 'string', 3730 + format: 'at-uri', 3731 + }, 3732 + }, 3733 + saved: { 3734 + type: 'array', 3735 + items: { 3736 + type: 'string', 3737 + format: 'at-uri', 3738 + }, 3739 + }, 3740 + }, 3741 + }, 3742 + personalDetailsPref: { 3743 + type: 'object', 3744 + properties: { 3745 + birthDate: { 3746 + type: 'string', 3747 + format: 'datetime', 3748 + description: 'The birth date of the owner of the account.', 3749 + }, 3750 + }, 3751 + }, 3752 + feedViewPref: { 3753 + type: 'object', 3754 + required: ['feed'], 3755 + properties: { 3756 + feed: { 3757 + type: 'string', 3758 + description: 3759 + 'The URI of the feed, or an identifier which describes the feed.', 3760 + }, 3761 + hideReplies: { 3762 + type: 'boolean', 3763 + description: 'Hide replies in the feed.', 3764 + }, 3765 + hideRepliesByUnfollowed: { 3766 + type: 'boolean', 3767 + description: 3768 + 'Hide replies in the feed if they are not by followed users.', 3769 + }, 3770 + hideRepliesByLikeCount: { 3771 + type: 'integer', 3772 + description: 3773 + 'Hide replies in the feed if they do not have this number of likes.', 3774 + }, 3775 + hideReposts: { 3776 + type: 'boolean', 3777 + description: 'Hide reposts in the feed.', 3778 + }, 3779 + hideQuotePosts: { 3780 + type: 'boolean', 3781 + description: 'Hide quote posts in the feed.', 3782 + }, 3783 + }, 3784 + }, 3785 + threadViewPref: { 3786 + type: 'object', 3787 + properties: { 3788 + sort: { 3789 + type: 'string', 3790 + description: 'Sorting mode.', 3791 + knownValues: ['oldest', 'newest', 'most-likes', 'random'], 3792 + }, 3793 + prioritizeFollowedUsers: { 3794 + type: 'boolean', 3795 + description: 'Show followed users at the top of all replies.', 3796 + }, 3797 + }, 3798 + }, 3564 3799 }, 3565 3800 }, 3566 3801 AppBskyActorGetPreferences: { ··· 3729 3964 accept: ['image/png', 'image/jpeg'], 3730 3965 maxSize: 1000000, 3731 3966 }, 3967 + labels: { 3968 + type: 'union', 3969 + refs: ['lex:com.atproto.label.defs#selfLabels'], 3970 + }, 3732 3971 }, 3733 3972 }, 3734 3973 }, ··· 3763 4002 defs: { 3764 4003 main: { 3765 4004 type: 'query', 3766 - description: 'Find actors matching search criteria.', 4005 + description: 'Find actors (profiles) matching search criteria.', 3767 4006 parameters: { 3768 4007 type: 'params', 3769 4008 properties: { 3770 4009 term: { 3771 4010 type: 'string', 4011 + description: "DEPRECATED: use 'q' instead", 4012 + }, 4013 + q: { 4014 + type: 'string', 4015 + description: 4016 + 'search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended', 3772 4017 }, 3773 4018 limit: { 3774 4019 type: 'integer', 3775 4020 minimum: 1, 3776 4021 maximum: 100, 3777 - default: 50, 4022 + default: 25, 3778 4023 }, 3779 4024 cursor: { 3780 4025 type: 'string', ··· 3815 4060 properties: { 3816 4061 term: { 3817 4062 type: 'string', 4063 + description: "DEPRECATED: use 'q' instead", 4064 + }, 4065 + q: { 4066 + type: 'string', 4067 + description: 'search query prefix; not a full query string', 3818 4068 }, 3819 4069 limit: { 3820 4070 type: 'integer', 3821 4071 minimum: 1, 3822 4072 maximum: 100, 3823 - default: 50, 4073 + default: 10, 3824 4074 }, 3825 4075 }, 3826 4076 }, ··· 3942 4192 alt: { 3943 4193 type: 'string', 3944 4194 }, 4195 + aspectRatio: { 4196 + type: 'ref', 4197 + ref: 'lex:app.bsky.embed.images#aspectRatio', 4198 + }, 4199 + }, 4200 + }, 4201 + aspectRatio: { 4202 + type: 'object', 4203 + description: 4204 + 'width:height represents an aspect ratio. It may be approximate, and may not correspond to absolute dimensions in any given unit.', 4205 + required: ['width', 'height'], 4206 + properties: { 4207 + width: { 4208 + type: 'integer', 4209 + minimum: 1, 4210 + }, 4211 + height: { 4212 + type: 'integer', 4213 + minimum: 1, 4214 + }, 3945 4215 }, 3946 4216 }, 3947 4217 view: { ··· 3971 4241 alt: { 3972 4242 type: 'string', 3973 4243 }, 4244 + aspectRatio: { 4245 + type: 'ref', 4246 + ref: 'lex:app.bsky.embed.images#aspectRatio', 4247 + }, 3974 4248 }, 3975 4249 }, 3976 4250 }, ··· 4002 4276 'lex:app.bsky.embed.record#viewNotFound', 4003 4277 'lex:app.bsky.embed.record#viewBlocked', 4004 4278 'lex:app.bsky.feed.defs#generatorView', 4279 + 'lex:app.bsky.graph.defs#listView', 4005 4280 ], 4006 4281 }, 4007 4282 }, ··· 4052 4327 }, 4053 4328 viewNotFound: { 4054 4329 type: 'object', 4055 - required: ['uri'], 4330 + required: ['uri', 'notFound'], 4056 4331 properties: { 4057 4332 uri: { 4058 4333 type: 'string', 4059 4334 format: 'at-uri', 4060 4335 }, 4336 + notFound: { 4337 + type: 'boolean', 4338 + const: true, 4339 + }, 4061 4340 }, 4062 4341 }, 4063 4342 viewBlocked: { 4064 4343 type: 'object', 4065 - required: ['uri'], 4344 + required: ['uri', 'blocked', 'author'], 4066 4345 properties: { 4067 4346 uri: { 4068 4347 type: 'string', 4069 4348 format: 'at-uri', 4349 + }, 4350 + blocked: { 4351 + type: 'boolean', 4352 + const: true, 4353 + }, 4354 + author: { 4355 + type: 'ref', 4356 + ref: 'lex:app.bsky.feed.defs#blockedAuthor', 4070 4357 }, 4071 4358 }, 4072 4359 }, ··· 4167 4454 ref: 'lex:com.atproto.label.defs#label', 4168 4455 }, 4169 4456 }, 4457 + threadgate: { 4458 + type: 'ref', 4459 + ref: 'lex:app.bsky.feed.defs#threadgateView', 4460 + }, 4170 4461 }, 4171 4462 }, 4172 4463 viewerState: { ··· 4263 4554 ], 4264 4555 }, 4265 4556 }, 4557 + viewer: { 4558 + type: 'ref', 4559 + ref: 'lex:app.bsky.feed.defs#viewerThreadState', 4560 + }, 4266 4561 }, 4267 4562 }, 4268 4563 notFoundPost: { ··· 4281 4576 }, 4282 4577 blockedPost: { 4283 4578 type: 'object', 4284 - required: ['uri', 'blocked'], 4579 + required: ['uri', 'blocked', 'author'], 4285 4580 properties: { 4286 4581 uri: { 4287 4582 type: 'string', ··· 4291 4586 type: 'boolean', 4292 4587 const: true, 4293 4588 }, 4589 + author: { 4590 + type: 'ref', 4591 + ref: 'lex:app.bsky.feed.defs#blockedAuthor', 4592 + }, 4593 + }, 4594 + }, 4595 + blockedAuthor: { 4596 + type: 'object', 4597 + required: ['did'], 4598 + properties: { 4599 + did: { 4600 + type: 'string', 4601 + format: 'did', 4602 + }, 4603 + viewer: { 4604 + type: 'ref', 4605 + ref: 'lex:app.bsky.actor.defs#viewerState', 4606 + }, 4607 + }, 4608 + }, 4609 + viewerThreadState: { 4610 + type: 'object', 4611 + properties: { 4612 + canReply: { 4613 + type: 'boolean', 4614 + }, 4294 4615 }, 4295 4616 }, 4296 4617 generatorView: { 4297 4618 type: 'object', 4298 - required: ['uri', 'cid', 'creator', 'indexedAt'], 4619 + required: ['uri', 'cid', 'did', 'creator', 'displayName', 'indexedAt'], 4299 4620 properties: { 4300 4621 uri: { 4301 4622 type: 'string', ··· 4348 4669 generatorViewerState: { 4349 4670 type: 'object', 4350 4671 properties: { 4351 - saved: { 4352 - type: 'boolean', 4353 - }, 4354 4672 like: { 4355 4673 type: 'string', 4356 4674 format: 'at-uri', ··· 4377 4695 properties: { 4378 4696 repost: { 4379 4697 type: 'string', 4380 - ref: 'at-uri', 4698 + format: 'at-uri', 4699 + }, 4700 + }, 4701 + }, 4702 + threadgateView: { 4703 + type: 'object', 4704 + properties: { 4705 + uri: { 4706 + type: 'string', 4707 + format: 'at-uri', 4708 + }, 4709 + cid: { 4710 + type: 'string', 4711 + format: 'cid', 4712 + }, 4713 + record: { 4714 + type: 'unknown', 4715 + }, 4716 + lists: { 4717 + type: 'array', 4718 + items: { 4719 + type: 'ref', 4720 + ref: 'lex:app.bsky.graph.defs#listViewBasic', 4721 + }, 4381 4722 }, 4382 4723 }, 4383 4724 }, ··· 4449 4790 key: 'any', 4450 4791 record: { 4451 4792 type: 'object', 4452 - required: ['did', 'createdAt'], 4793 + required: ['did', 'displayName', 'createdAt'], 4453 4794 properties: { 4454 4795 did: { 4455 4796 type: 'string', ··· 4457 4798 }, 4458 4799 displayName: { 4459 4800 type: 'string', 4460 - maxGraphemes: 64, 4461 - maxLength: 640, 4801 + maxGraphemes: 24, 4802 + maxLength: 240, 4462 4803 }, 4463 4804 description: { 4464 4805 type: 'string', ··· 4476 4817 type: 'blob', 4477 4818 accept: ['image/png', 'image/jpeg'], 4478 4819 maxSize: 1000000, 4820 + }, 4821 + labels: { 4822 + type: 'union', 4823 + refs: ['lex:com.atproto.label.defs#selfLabels'], 4479 4824 }, 4480 4825 createdAt: { 4481 4826 type: 'string', ··· 4534 4879 }, 4535 4880 }, 4536 4881 }, 4882 + AppBskyFeedGetActorLikes: { 4883 + lexicon: 1, 4884 + id: 'app.bsky.feed.getActorLikes', 4885 + defs: { 4886 + main: { 4887 + type: 'query', 4888 + description: 'A view of the posts liked by an actor.', 4889 + parameters: { 4890 + type: 'params', 4891 + required: ['actor'], 4892 + properties: { 4893 + actor: { 4894 + type: 'string', 4895 + format: 'at-identifier', 4896 + }, 4897 + limit: { 4898 + type: 'integer', 4899 + minimum: 1, 4900 + maximum: 100, 4901 + default: 50, 4902 + }, 4903 + cursor: { 4904 + type: 'string', 4905 + }, 4906 + }, 4907 + }, 4908 + output: { 4909 + encoding: 'application/json', 4910 + schema: { 4911 + type: 'object', 4912 + required: ['feed'], 4913 + properties: { 4914 + cursor: { 4915 + type: 'string', 4916 + }, 4917 + feed: { 4918 + type: 'array', 4919 + items: { 4920 + type: 'ref', 4921 + ref: 'lex:app.bsky.feed.defs#feedViewPost', 4922 + }, 4923 + }, 4924 + }, 4925 + }, 4926 + }, 4927 + errors: [ 4928 + { 4929 + name: 'BlockedActor', 4930 + }, 4931 + { 4932 + name: 'BlockedByActor', 4933 + }, 4934 + ], 4935 + }, 4936 + }, 4937 + }, 4537 4938 AppBskyFeedGetAuthorFeed: { 4538 4939 lexicon: 1, 4539 4940 id: 'app.bsky.feed.getAuthorFeed', ··· 4557 4958 }, 4558 4959 cursor: { 4559 4960 type: 'string', 4961 + }, 4962 + filter: { 4963 + type: 'string', 4964 + knownValues: [ 4965 + 'posts_with_replies', 4966 + 'posts_no_replies', 4967 + 'posts_with_media', 4968 + ], 4969 + default: 'posts_with_replies', 4560 4970 }, 4561 4971 }, 4562 4972 }, ··· 4684 5094 }, 4685 5095 }, 4686 5096 }, 5097 + AppBskyFeedGetFeedGenerators: { 5098 + lexicon: 1, 5099 + id: 'app.bsky.feed.getFeedGenerators', 5100 + defs: { 5101 + main: { 5102 + type: 'query', 5103 + description: 'Get information about a list of feed generators', 5104 + parameters: { 5105 + type: 'params', 5106 + required: ['feeds'], 5107 + properties: { 5108 + feeds: { 5109 + type: 'array', 5110 + items: { 5111 + type: 'string', 5112 + format: 'at-uri', 5113 + }, 5114 + }, 5115 + }, 5116 + }, 5117 + output: { 5118 + encoding: 'application/json', 5119 + schema: { 5120 + type: 'object', 5121 + required: ['feeds'], 5122 + properties: { 5123 + feeds: { 5124 + type: 'array', 5125 + items: { 5126 + type: 'ref', 5127 + ref: 'lex:app.bsky.feed.defs#generatorView', 5128 + }, 5129 + }, 5130 + }, 5131 + }, 5132 + }, 5133 + }, 5134 + }, 5135 + }, 4687 5136 AppBskyFeedGetFeedSkeleton: { 4688 5137 lexicon: 1, 4689 5138 id: 'app.bsky.feed.getFeedSkeleton', ··· 4814 5263 }, 4815 5264 }, 4816 5265 }, 5266 + AppBskyFeedGetListFeed: { 5267 + lexicon: 1, 5268 + id: 'app.bsky.feed.getListFeed', 5269 + defs: { 5270 + main: { 5271 + type: 'query', 5272 + description: 'A view of a recent posts from actors in a list', 5273 + parameters: { 5274 + type: 'params', 5275 + required: ['list'], 5276 + properties: { 5277 + list: { 5278 + type: 'string', 5279 + format: 'at-uri', 5280 + }, 5281 + limit: { 5282 + type: 'integer', 5283 + minimum: 1, 5284 + maximum: 100, 5285 + default: 50, 5286 + }, 5287 + cursor: { 5288 + type: 'string', 5289 + }, 5290 + }, 5291 + }, 5292 + output: { 5293 + encoding: 'application/json', 5294 + schema: { 5295 + type: 'object', 5296 + required: ['feed'], 5297 + properties: { 5298 + cursor: { 5299 + type: 'string', 5300 + }, 5301 + feed: { 5302 + type: 'array', 5303 + items: { 5304 + type: 'ref', 5305 + ref: 'lex:app.bsky.feed.defs#feedViewPost', 5306 + }, 5307 + }, 5308 + }, 5309 + }, 5310 + }, 5311 + errors: [ 5312 + { 5313 + name: 'UnknownList', 5314 + }, 5315 + ], 5316 + }, 5317 + }, 5318 + }, 4817 5319 AppBskyFeedGetPostThread: { 4818 5320 lexicon: 1, 4819 5321 id: 'app.bsky.feed.getPostThread', ··· 4830 5332 }, 4831 5333 depth: { 4832 5334 type: 'integer', 5335 + default: 6, 5336 + minimum: 0, 5337 + maximum: 1000, 5338 + }, 5339 + parentHeight: { 5340 + type: 'integer', 5341 + default: 80, 5342 + minimum: 0, 5343 + maximum: 1000, 4833 5344 }, 4834 5345 }, 4835 5346 }, ··· 4957 5468 }, 4958 5469 }, 4959 5470 }, 4960 - AppBskyFeedGetSavedFeeds: { 5471 + AppBskyFeedGetSuggestedFeeds: { 4961 5472 lexicon: 1, 4962 - id: 'app.bsky.feed.getSavedFeeds', 5473 + id: 'app.bsky.feed.getSuggestedFeeds', 4963 5474 defs: { 4964 5475 main: { 4965 5476 type: 'query', 4966 - description: "Retrieve a list of the authenticated user's saved feeds", 5477 + description: 'Get a list of suggested feeds for the viewer.', 4967 5478 parameters: { 4968 5479 type: 'params', 4969 5480 properties: { ··· 5114 5625 'lex:app.bsky.embed.recordWithMedia', 5115 5626 ], 5116 5627 }, 5628 + langs: { 5629 + type: 'array', 5630 + maxLength: 3, 5631 + items: { 5632 + type: 'string', 5633 + format: 'language', 5634 + }, 5635 + }, 5636 + labels: { 5637 + type: 'union', 5638 + refs: ['lex:com.atproto.label.defs#selfLabels'], 5639 + }, 5640 + tags: { 5641 + type: 'array', 5642 + maxLength: 8, 5643 + items: { 5644 + type: 'string', 5645 + maxLength: 640, 5646 + maxGraphemes: 64, 5647 + }, 5648 + description: 'Additional non-inline tags describing this post.', 5649 + }, 5117 5650 createdAt: { 5118 5651 type: 'string', 5119 5652 format: 'datetime', ··· 5195 5728 }, 5196 5729 }, 5197 5730 }, 5198 - AppBskyFeedSaveFeed: { 5731 + AppBskyFeedSearchPosts: { 5199 5732 lexicon: 1, 5200 - id: 'app.bsky.feed.saveFeed', 5733 + id: 'app.bsky.feed.searchPosts', 5201 5734 defs: { 5202 5735 main: { 5203 - type: 'procedure', 5204 - description: 'Save a 3rd party feed for use across clients', 5205 - input: { 5736 + type: 'query', 5737 + description: 'Find posts matching search criteria', 5738 + parameters: { 5739 + type: 'params', 5740 + required: ['q'], 5741 + properties: { 5742 + q: { 5743 + type: 'string', 5744 + description: 5745 + 'search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended', 5746 + }, 5747 + limit: { 5748 + type: 'integer', 5749 + minimum: 1, 5750 + maximum: 100, 5751 + default: 25, 5752 + }, 5753 + cursor: { 5754 + type: 'string', 5755 + description: 5756 + 'optional pagination mechanism; may not necessarily allow scrolling through entire result set', 5757 + }, 5758 + }, 5759 + }, 5760 + output: { 5206 5761 encoding: 'application/json', 5207 5762 schema: { 5208 5763 type: 'object', 5209 - required: ['feed'], 5764 + required: ['posts'], 5210 5765 properties: { 5211 - feed: { 5766 + cursor: { 5212 5767 type: 'string', 5213 - format: 'at-uri', 5768 + }, 5769 + hitsTotal: { 5770 + type: 'integer', 5771 + description: 5772 + 'count of search hits. optional, may be rounded/truncated, and may not be possible to paginate through all hits', 5773 + }, 5774 + posts: { 5775 + type: 'array', 5776 + items: { 5777 + type: 'ref', 5778 + ref: 'lex:app.bsky.feed.defs#postView', 5779 + }, 5214 5780 }, 5215 5781 }, 5216 5782 }, 5217 5783 }, 5784 + errors: [ 5785 + { 5786 + name: 'BadQueryString', 5787 + }, 5788 + ], 5218 5789 }, 5219 5790 }, 5220 5791 }, 5221 - AppBskyFeedUnsaveFeed: { 5792 + AppBskyFeedThreadgate: { 5222 5793 lexicon: 1, 5223 - id: 'app.bsky.feed.unsaveFeed', 5794 + id: 'app.bsky.feed.threadgate', 5224 5795 defs: { 5225 5796 main: { 5226 - type: 'procedure', 5227 - description: 'Unsave a 3rd party feed', 5228 - input: { 5229 - encoding: 'application/json', 5230 - schema: { 5231 - type: 'object', 5232 - required: ['feed'], 5233 - properties: { 5234 - feed: { 5235 - type: 'string', 5236 - format: 'at-uri', 5797 + type: 'record', 5798 + key: 'tid', 5799 + description: 5800 + "Defines interaction gating rules for a thread. The rkey of the threadgate record should match the rkey of the thread's root post.", 5801 + record: { 5802 + type: 'object', 5803 + required: ['post', 'createdAt'], 5804 + properties: { 5805 + post: { 5806 + type: 'string', 5807 + format: 'at-uri', 5808 + }, 5809 + allow: { 5810 + type: 'array', 5811 + maxLength: 5, 5812 + items: { 5813 + type: 'union', 5814 + refs: [ 5815 + 'lex:app.bsky.feed.threadgate#mentionRule', 5816 + 'lex:app.bsky.feed.threadgate#followingRule', 5817 + 'lex:app.bsky.feed.threadgate#listRule', 5818 + ], 5237 5819 }, 5238 5820 }, 5821 + createdAt: { 5822 + type: 'string', 5823 + format: 'datetime', 5824 + }, 5825 + }, 5826 + }, 5827 + }, 5828 + mentionRule: { 5829 + type: 'object', 5830 + description: 'Allow replies from actors mentioned in your post.', 5831 + properties: {}, 5832 + }, 5833 + followingRule: { 5834 + type: 'object', 5835 + description: 'Allow replies from actors you follow.', 5836 + properties: {}, 5837 + }, 5838 + listRule: { 5839 + type: 'object', 5840 + description: 'Allow replies from actors on a list.', 5841 + required: ['list'], 5842 + properties: { 5843 + list: { 5844 + type: 'string', 5845 + format: 'at-uri', 5239 5846 }, 5240 5847 }, 5241 5848 }, ··· 5272 5879 defs: { 5273 5880 listViewBasic: { 5274 5881 type: 'object', 5275 - required: ['uri', 'creator', 'name', 'purpose'], 5882 + required: ['uri', 'cid', 'name', 'purpose'], 5276 5883 properties: { 5277 5884 uri: { 5278 5885 type: 'string', 5279 5886 format: 'at-uri', 5887 + }, 5888 + cid: { 5889 + type: 'string', 5890 + format: 'cid', 5280 5891 }, 5281 5892 name: { 5282 5893 type: 'string', ··· 5302 5913 }, 5303 5914 listView: { 5304 5915 type: 'object', 5305 - required: ['uri', 'creator', 'name', 'purpose', 'indexedAt'], 5916 + required: ['uri', 'cid', 'creator', 'name', 'purpose', 'indexedAt'], 5306 5917 properties: { 5307 5918 uri: { 5308 5919 type: 'string', 5309 5920 format: 'at-uri', 5921 + }, 5922 + cid: { 5923 + type: 'string', 5924 + format: 'cid', 5310 5925 }, 5311 5926 creator: { 5312 5927 type: 'ref', ··· 5358 5973 }, 5359 5974 listPurpose: { 5360 5975 type: 'string', 5361 - knownValues: ['app.bsky.graph.defs#modlist'], 5976 + knownValues: [ 5977 + 'app.bsky.graph.defs#modlist', 5978 + 'app.bsky.graph.defs#curatelist', 5979 + ], 5362 5980 }, 5363 5981 modlist: { 5364 5982 type: 'token', 5365 5983 description: 5366 5984 'A list of actors to apply an aggregate moderation action (mute/block) on', 5367 5985 }, 5986 + curatelist: { 5987 + type: 'token', 5988 + description: 5989 + 'A list of actors used for curation purposes such as list feeds or interaction gating', 5990 + }, 5368 5991 listViewerState: { 5369 5992 type: 'object', 5370 5993 properties: { 5371 5994 muted: { 5372 5995 type: 'boolean', 5996 + }, 5997 + blocked: { 5998 + type: 'string', 5999 + format: 'at-uri', 5373 6000 }, 5374 6001 }, 5375 6002 }, ··· 5599 6226 }, 5600 6227 }, 5601 6228 }, 6229 + AppBskyGraphGetListBlocks: { 6230 + lexicon: 1, 6231 + id: 'app.bsky.graph.getListBlocks', 6232 + defs: { 6233 + main: { 6234 + type: 'query', 6235 + description: "Which lists is the requester's account blocking?", 6236 + parameters: { 6237 + type: 'params', 6238 + properties: { 6239 + limit: { 6240 + type: 'integer', 6241 + minimum: 1, 6242 + maximum: 100, 6243 + default: 50, 6244 + }, 6245 + cursor: { 6246 + type: 'string', 6247 + }, 6248 + }, 6249 + }, 6250 + output: { 6251 + encoding: 'application/json', 6252 + schema: { 6253 + type: 'object', 6254 + required: ['lists'], 6255 + properties: { 6256 + cursor: { 6257 + type: 'string', 6258 + }, 6259 + lists: { 6260 + type: 'array', 6261 + items: { 6262 + type: 'ref', 6263 + ref: 'lex:app.bsky.graph.defs#listView', 6264 + }, 6265 + }, 6266 + }, 6267 + }, 6268 + }, 6269 + }, 6270 + }, 6271 + }, 5602 6272 AppBskyGraphGetListMutes: { 5603 6273 lexicon: 1, 5604 6274 id: 'app.bsky.graph.getListMutes', ··· 5733 6403 }, 5734 6404 }, 5735 6405 }, 6406 + AppBskyGraphGetSuggestedFollowsByActor: { 6407 + lexicon: 1, 6408 + id: 'app.bsky.graph.getSuggestedFollowsByActor', 6409 + defs: { 6410 + main: { 6411 + type: 'query', 6412 + description: 'Get suggested follows related to a given actor.', 6413 + parameters: { 6414 + type: 'params', 6415 + required: ['actor'], 6416 + properties: { 6417 + actor: { 6418 + type: 'string', 6419 + format: 'at-identifier', 6420 + }, 6421 + }, 6422 + }, 6423 + output: { 6424 + encoding: 'application/json', 6425 + schema: { 6426 + type: 'object', 6427 + required: ['suggestions'], 6428 + properties: { 6429 + suggestions: { 6430 + type: 'array', 6431 + items: { 6432 + type: 'ref', 6433 + ref: 'lex:app.bsky.actor.defs#profileView', 6434 + }, 6435 + }, 6436 + }, 6437 + }, 6438 + }, 6439 + }, 6440 + }, 6441 + }, 5736 6442 AppBskyGraphList: { 5737 6443 lexicon: 1, 5738 6444 id: 'app.bsky.graph.list', ··· 5771 6477 accept: ['image/png', 'image/jpeg'], 5772 6478 maxSize: 1000000, 5773 6479 }, 6480 + labels: { 6481 + type: 'union', 6482 + refs: ['lex:com.atproto.label.defs#selfLabels'], 6483 + }, 6484 + createdAt: { 6485 + type: 'string', 6486 + format: 'datetime', 6487 + }, 6488 + }, 6489 + }, 6490 + }, 6491 + }, 6492 + }, 6493 + AppBskyGraphListblock: { 6494 + lexicon: 1, 6495 + id: 'app.bsky.graph.listblock', 6496 + defs: { 6497 + main: { 6498 + type: 'record', 6499 + description: 'A block of an entire list of actors.', 6500 + key: 'tid', 6501 + record: { 6502 + type: 'object', 6503 + required: ['subject', 'createdAt'], 6504 + properties: { 6505 + subject: { 6506 + type: 'string', 6507 + format: 'at-uri', 6508 + }, 5774 6509 createdAt: { 5775 6510 type: 'string', 5776 6511 format: 'datetime', ··· 6037 6772 }, 6038 6773 }, 6039 6774 }, 6775 + AppBskyNotificationRegisterPush: { 6776 + lexicon: 1, 6777 + id: 'app.bsky.notification.registerPush', 6778 + defs: { 6779 + main: { 6780 + type: 'procedure', 6781 + description: 'Register for push notifications with a service', 6782 + input: { 6783 + encoding: 'application/json', 6784 + schema: { 6785 + type: 'object', 6786 + required: ['serviceDid', 'token', 'platform', 'appId'], 6787 + properties: { 6788 + serviceDid: { 6789 + type: 'string', 6790 + format: 'did', 6791 + }, 6792 + token: { 6793 + type: 'string', 6794 + }, 6795 + platform: { 6796 + type: 'string', 6797 + knownValues: ['ios', 'android', 'web'], 6798 + }, 6799 + appId: { 6800 + type: 'string', 6801 + }, 6802 + }, 6803 + }, 6804 + }, 6805 + }, 6806 + }, 6807 + }, 6040 6808 AppBskyNotificationUpdateSeen: { 6041 6809 lexicon: 1, 6042 6810 id: 'app.bsky.notification.updateSeen', ··· 6079 6847 refs: [ 6080 6848 'lex:app.bsky.richtext.facet#mention', 6081 6849 'lex:app.bsky.richtext.facet#link', 6850 + 'lex:app.bsky.richtext.facet#tag', 6082 6851 ], 6083 6852 }, 6084 6853 }, ··· 6106 6875 }, 6107 6876 }, 6108 6877 }, 6878 + tag: { 6879 + type: 'object', 6880 + description: 'A hashtag.', 6881 + required: ['tag'], 6882 + properties: { 6883 + tag: { 6884 + type: 'string', 6885 + maxLength: 640, 6886 + maxGraphemes: 64, 6887 + }, 6888 + }, 6889 + }, 6109 6890 byteSlice: { 6110 6891 type: 'object', 6111 6892 description: ··· 6124 6905 }, 6125 6906 }, 6126 6907 }, 6908 + AppBskyUnspeccedDefs: { 6909 + lexicon: 1, 6910 + id: 'app.bsky.unspecced.defs', 6911 + defs: { 6912 + skeletonSearchPost: { 6913 + type: 'object', 6914 + required: ['uri'], 6915 + properties: { 6916 + uri: { 6917 + type: 'string', 6918 + format: 'at-uri', 6919 + }, 6920 + }, 6921 + }, 6922 + skeletonSearchActor: { 6923 + type: 'object', 6924 + required: ['did'], 6925 + properties: { 6926 + did: { 6927 + type: 'string', 6928 + format: 'did', 6929 + }, 6930 + }, 6931 + }, 6932 + }, 6933 + }, 6127 6934 AppBskyUnspeccedGetPopular: { 6128 6935 lexicon: 1, 6129 6936 id: 'app.bsky.unspecced.getPopular', 6130 6937 defs: { 6131 6938 main: { 6132 6939 type: 'query', 6133 - description: 'An unspecced view of globally popular items', 6940 + description: 6941 + 'DEPRECATED: will be removed soon, please find a feed generator alternative', 6134 6942 parameters: { 6135 6943 type: 'params', 6136 6944 properties: { ··· 6171 6979 }, 6172 6980 }, 6173 6981 }, 6982 + AppBskyUnspeccedGetPopularFeedGenerators: { 6983 + lexicon: 1, 6984 + id: 'app.bsky.unspecced.getPopularFeedGenerators', 6985 + defs: { 6986 + main: { 6987 + type: 'query', 6988 + description: 'An unspecced view of globally popular feed generators', 6989 + parameters: { 6990 + type: 'params', 6991 + properties: { 6992 + limit: { 6993 + type: 'integer', 6994 + minimum: 1, 6995 + maximum: 100, 6996 + default: 50, 6997 + }, 6998 + cursor: { 6999 + type: 'string', 7000 + }, 7001 + query: { 7002 + type: 'string', 7003 + }, 7004 + }, 7005 + }, 7006 + output: { 7007 + encoding: 'application/json', 7008 + schema: { 7009 + type: 'object', 7010 + required: ['feeds'], 7011 + properties: { 7012 + cursor: { 7013 + type: 'string', 7014 + }, 7015 + feeds: { 7016 + type: 'array', 7017 + items: { 7018 + type: 'ref', 7019 + ref: 'lex:app.bsky.feed.defs#generatorView', 7020 + }, 7021 + }, 7022 + }, 7023 + }, 7024 + }, 7025 + }, 7026 + }, 7027 + }, 7028 + AppBskyUnspeccedGetTimelineSkeleton: { 7029 + lexicon: 1, 7030 + id: 'app.bsky.unspecced.getTimelineSkeleton', 7031 + defs: { 7032 + main: { 7033 + type: 'query', 7034 + description: 'A skeleton of a timeline - UNSPECCED & WILL GO AWAY SOON', 7035 + parameters: { 7036 + type: 'params', 7037 + properties: { 7038 + limit: { 7039 + type: 'integer', 7040 + minimum: 1, 7041 + maximum: 100, 7042 + default: 50, 7043 + }, 7044 + cursor: { 7045 + type: 'string', 7046 + }, 7047 + }, 7048 + }, 7049 + output: { 7050 + encoding: 'application/json', 7051 + schema: { 7052 + type: 'object', 7053 + required: ['feed'], 7054 + properties: { 7055 + cursor: { 7056 + type: 'string', 7057 + }, 7058 + feed: { 7059 + type: 'array', 7060 + items: { 7061 + type: 'ref', 7062 + ref: 'lex:app.bsky.feed.defs#skeletonFeedPost', 7063 + }, 7064 + }, 7065 + }, 7066 + }, 7067 + }, 7068 + errors: [ 7069 + { 7070 + name: 'UnknownFeed', 7071 + }, 7072 + ], 7073 + }, 7074 + }, 7075 + }, 7076 + AppBskyUnspeccedSearchActorsSkeleton: { 7077 + lexicon: 1, 7078 + id: 'app.bsky.unspecced.searchActorsSkeleton', 7079 + defs: { 7080 + main: { 7081 + type: 'query', 7082 + description: 'Backend Actors (profile) search, returning only skeleton', 7083 + parameters: { 7084 + type: 'params', 7085 + required: ['q'], 7086 + properties: { 7087 + q: { 7088 + type: 'string', 7089 + description: 7090 + 'search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended. For typeahead search, only simple term match is supported, not full syntax', 7091 + }, 7092 + typeahead: { 7093 + type: 'boolean', 7094 + description: "if true, acts as fast/simple 'typeahead' query", 7095 + }, 7096 + limit: { 7097 + type: 'integer', 7098 + minimum: 1, 7099 + maximum: 100, 7100 + default: 25, 7101 + }, 7102 + cursor: { 7103 + type: 'string', 7104 + description: 7105 + 'optional pagination mechanism; may not necessarily allow scrolling through entire result set', 7106 + }, 7107 + }, 7108 + }, 7109 + output: { 7110 + encoding: 'application/json', 7111 + schema: { 7112 + type: 'object', 7113 + required: ['actors'], 7114 + properties: { 7115 + cursor: { 7116 + type: 'string', 7117 + }, 7118 + hitsTotal: { 7119 + type: 'integer', 7120 + description: 7121 + 'count of search hits. optional, may be rounded/truncated, and may not be possible to paginate through all hits', 7122 + }, 7123 + actors: { 7124 + type: 'array', 7125 + items: { 7126 + type: 'ref', 7127 + ref: 'lex:app.bsky.unspecced.defs#skeletonSearchActor', 7128 + }, 7129 + }, 7130 + }, 7131 + }, 7132 + }, 7133 + errors: [ 7134 + { 7135 + name: 'BadQueryString', 7136 + }, 7137 + ], 7138 + }, 7139 + }, 7140 + }, 7141 + AppBskyUnspeccedSearchPostsSkeleton: { 7142 + lexicon: 1, 7143 + id: 'app.bsky.unspecced.searchPostsSkeleton', 7144 + defs: { 7145 + main: { 7146 + type: 'query', 7147 + description: 'Backend Posts search, returning only skeleton', 7148 + parameters: { 7149 + type: 'params', 7150 + required: ['q'], 7151 + properties: { 7152 + q: { 7153 + type: 'string', 7154 + description: 7155 + 'search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended', 7156 + }, 7157 + limit: { 7158 + type: 'integer', 7159 + minimum: 1, 7160 + maximum: 100, 7161 + default: 25, 7162 + }, 7163 + cursor: { 7164 + type: 'string', 7165 + description: 7166 + 'optional pagination mechanism; may not necessarily allow scrolling through entire result set', 7167 + }, 7168 + }, 7169 + }, 7170 + output: { 7171 + encoding: 'application/json', 7172 + schema: { 7173 + type: 'object', 7174 + required: ['posts'], 7175 + properties: { 7176 + cursor: { 7177 + type: 'string', 7178 + }, 7179 + hitsTotal: { 7180 + type: 'integer', 7181 + description: 7182 + 'count of search hits. optional, may be rounded/truncated, and may not be possible to paginate through all hits', 7183 + }, 7184 + posts: { 7185 + type: 'array', 7186 + items: { 7187 + type: 'ref', 7188 + ref: 'lex:app.bsky.unspecced.defs#skeletonSearchPost', 7189 + }, 7190 + }, 7191 + }, 7192 + }, 7193 + }, 7194 + errors: [ 7195 + { 7196 + name: 'BadQueryString', 7197 + }, 7198 + ], 7199 + }, 7200 + }, 7201 + }, 6174 7202 } 6175 7203 export const schemas: LexiconDoc[] = Object.values(schemaDict) as LexiconDoc[] 6176 7204 export const lexicons: Lexicons = new Lexicons(schemas) ··· 6192 7220 ComAtprotoAdminReverseModerationAction: 6193 7221 'com.atproto.admin.reverseModerationAction', 6194 7222 ComAtprotoAdminSearchRepos: 'com.atproto.admin.searchRepos', 7223 + ComAtprotoAdminSendEmail: 'com.atproto.admin.sendEmail', 6195 7224 ComAtprotoAdminTakeModerationAction: 'com.atproto.admin.takeModerationAction', 6196 7225 ComAtprotoAdminUpdateAccountEmail: 'com.atproto.admin.updateAccountEmail', 6197 7226 ComAtprotoAdminUpdateAccountHandle: 'com.atproto.admin.updateAccountHandle', ··· 6209 7238 ComAtprotoRepoGetRecord: 'com.atproto.repo.getRecord', 6210 7239 ComAtprotoRepoListRecords: 'com.atproto.repo.listRecords', 6211 7240 ComAtprotoRepoPutRecord: 'com.atproto.repo.putRecord', 6212 - ComAtprotoRepoRebaseRepo: 'com.atproto.repo.rebaseRepo', 6213 7241 ComAtprotoRepoStrongRef: 'com.atproto.repo.strongRef', 6214 7242 ComAtprotoRepoUploadBlob: 'com.atproto.repo.uploadBlob', 6215 7243 ComAtprotoServerCreateAccount: 'com.atproto.server.createAccount', ··· 6235 7263 ComAtprotoSyncGetBlob: 'com.atproto.sync.getBlob', 6236 7264 ComAtprotoSyncGetBlocks: 'com.atproto.sync.getBlocks', 6237 7265 ComAtprotoSyncGetCheckout: 'com.atproto.sync.getCheckout', 6238 - ComAtprotoSyncGetCommitPath: 'com.atproto.sync.getCommitPath', 6239 7266 ComAtprotoSyncGetHead: 'com.atproto.sync.getHead', 7267 + ComAtprotoSyncGetLatestCommit: 'com.atproto.sync.getLatestCommit', 6240 7268 ComAtprotoSyncGetRecord: 'com.atproto.sync.getRecord', 6241 7269 ComAtprotoSyncGetRepo: 'com.atproto.sync.getRepo', 6242 7270 ComAtprotoSyncListBlobs: 'com.atproto.sync.listBlobs', ··· 6261 7289 AppBskyFeedDescribeFeedGenerator: 'app.bsky.feed.describeFeedGenerator', 6262 7290 AppBskyFeedGenerator: 'app.bsky.feed.generator', 6263 7291 AppBskyFeedGetActorFeeds: 'app.bsky.feed.getActorFeeds', 7292 + AppBskyFeedGetActorLikes: 'app.bsky.feed.getActorLikes', 6264 7293 AppBskyFeedGetAuthorFeed: 'app.bsky.feed.getAuthorFeed', 6265 7294 AppBskyFeedGetFeed: 'app.bsky.feed.getFeed', 6266 7295 AppBskyFeedGetFeedGenerator: 'app.bsky.feed.getFeedGenerator', 7296 + AppBskyFeedGetFeedGenerators: 'app.bsky.feed.getFeedGenerators', 6267 7297 AppBskyFeedGetFeedSkeleton: 'app.bsky.feed.getFeedSkeleton', 6268 7298 AppBskyFeedGetLikes: 'app.bsky.feed.getLikes', 7299 + AppBskyFeedGetListFeed: 'app.bsky.feed.getListFeed', 6269 7300 AppBskyFeedGetPostThread: 'app.bsky.feed.getPostThread', 6270 7301 AppBskyFeedGetPosts: 'app.bsky.feed.getPosts', 6271 7302 AppBskyFeedGetRepostedBy: 'app.bsky.feed.getRepostedBy', 6272 - AppBskyFeedGetSavedFeeds: 'app.bsky.feed.getSavedFeeds', 7303 + AppBskyFeedGetSuggestedFeeds: 'app.bsky.feed.getSuggestedFeeds', 6273 7304 AppBskyFeedGetTimeline: 'app.bsky.feed.getTimeline', 6274 7305 AppBskyFeedLike: 'app.bsky.feed.like', 6275 7306 AppBskyFeedPost: 'app.bsky.feed.post', 6276 7307 AppBskyFeedRepost: 'app.bsky.feed.repost', 6277 - AppBskyFeedSaveFeed: 'app.bsky.feed.saveFeed', 6278 - AppBskyFeedUnsaveFeed: 'app.bsky.feed.unsaveFeed', 7308 + AppBskyFeedSearchPosts: 'app.bsky.feed.searchPosts', 7309 + AppBskyFeedThreadgate: 'app.bsky.feed.threadgate', 6279 7310 AppBskyGraphBlock: 'app.bsky.graph.block', 6280 7311 AppBskyGraphDefs: 'app.bsky.graph.defs', 6281 7312 AppBskyGraphFollow: 'app.bsky.graph.follow', ··· 6283 7314 AppBskyGraphGetFollowers: 'app.bsky.graph.getFollowers', 6284 7315 AppBskyGraphGetFollows: 'app.bsky.graph.getFollows', 6285 7316 AppBskyGraphGetList: 'app.bsky.graph.getList', 7317 + AppBskyGraphGetListBlocks: 'app.bsky.graph.getListBlocks', 6286 7318 AppBskyGraphGetListMutes: 'app.bsky.graph.getListMutes', 6287 7319 AppBskyGraphGetLists: 'app.bsky.graph.getLists', 6288 7320 AppBskyGraphGetMutes: 'app.bsky.graph.getMutes', 7321 + AppBskyGraphGetSuggestedFollowsByActor: 7322 + 'app.bsky.graph.getSuggestedFollowsByActor', 6289 7323 AppBskyGraphList: 'app.bsky.graph.list', 7324 + AppBskyGraphListblock: 'app.bsky.graph.listblock', 6290 7325 AppBskyGraphListitem: 'app.bsky.graph.listitem', 6291 7326 AppBskyGraphMuteActor: 'app.bsky.graph.muteActor', 6292 7327 AppBskyGraphMuteActorList: 'app.bsky.graph.muteActorList', ··· 6295 7330 AppBskyNotificationGetUnreadCount: 'app.bsky.notification.getUnreadCount', 6296 7331 AppBskyNotificationListNotifications: 6297 7332 'app.bsky.notification.listNotifications', 7333 + AppBskyNotificationRegisterPush: 'app.bsky.notification.registerPush', 6298 7334 AppBskyNotificationUpdateSeen: 'app.bsky.notification.updateSeen', 6299 7335 AppBskyRichtextFacet: 'app.bsky.richtext.facet', 7336 + AppBskyUnspeccedDefs: 'app.bsky.unspecced.defs', 6300 7337 AppBskyUnspeccedGetPopular: 'app.bsky.unspecced.getPopular', 7338 + AppBskyUnspeccedGetPopularFeedGenerators: 7339 + 'app.bsky.unspecced.getPopularFeedGenerators', 7340 + AppBskyUnspeccedGetTimelineSkeleton: 'app.bsky.unspecced.getTimelineSkeleton', 7341 + AppBskyUnspeccedSearchActorsSkeleton: 7342 + 'app.bsky.unspecced.searchActorsSkeleton', 7343 + AppBskyUnspeccedSearchPostsSkeleton: 'app.bsky.unspecced.searchPostsSkeleton', 6301 7344 }
+88
src/lexicon/types/app/bsky/actor/defs.ts
··· 107 107 export type Preferences = ( 108 108 | AdultContentPref 109 109 | ContentLabelPref 110 + | SavedFeedsPref 111 + | PersonalDetailsPref 112 + | FeedViewPref 113 + | ThreadViewPref 110 114 | { $type: string; [k: string]: unknown } 111 115 )[] 112 116 ··· 144 148 export function validateContentLabelPref(v: unknown): ValidationResult { 145 149 return lexicons.validate('app.bsky.actor.defs#contentLabelPref', v) 146 150 } 151 + 152 + export interface SavedFeedsPref { 153 + pinned: string[] 154 + saved: string[] 155 + [k: string]: unknown 156 + } 157 + 158 + export function isSavedFeedsPref(v: unknown): v is SavedFeedsPref { 159 + return ( 160 + isObj(v) && 161 + hasProp(v, '$type') && 162 + v.$type === 'app.bsky.actor.defs#savedFeedsPref' 163 + ) 164 + } 165 + 166 + export function validateSavedFeedsPref(v: unknown): ValidationResult { 167 + return lexicons.validate('app.bsky.actor.defs#savedFeedsPref', v) 168 + } 169 + 170 + export interface PersonalDetailsPref { 171 + /** The birth date of the owner of the account. */ 172 + birthDate?: string 173 + [k: string]: unknown 174 + } 175 + 176 + export function isPersonalDetailsPref(v: unknown): v is PersonalDetailsPref { 177 + return ( 178 + isObj(v) && 179 + hasProp(v, '$type') && 180 + v.$type === 'app.bsky.actor.defs#personalDetailsPref' 181 + ) 182 + } 183 + 184 + export function validatePersonalDetailsPref(v: unknown): ValidationResult { 185 + return lexicons.validate('app.bsky.actor.defs#personalDetailsPref', v) 186 + } 187 + 188 + export interface FeedViewPref { 189 + /** The URI of the feed, or an identifier which describes the feed. */ 190 + feed: string 191 + /** Hide replies in the feed. */ 192 + hideReplies?: boolean 193 + /** Hide replies in the feed if they are not by followed users. */ 194 + hideRepliesByUnfollowed?: boolean 195 + /** Hide replies in the feed if they do not have this number of likes. */ 196 + hideRepliesByLikeCount?: number 197 + /** Hide reposts in the feed. */ 198 + hideReposts?: boolean 199 + /** Hide quote posts in the feed. */ 200 + hideQuotePosts?: boolean 201 + [k: string]: unknown 202 + } 203 + 204 + export function isFeedViewPref(v: unknown): v is FeedViewPref { 205 + return ( 206 + isObj(v) && 207 + hasProp(v, '$type') && 208 + v.$type === 'app.bsky.actor.defs#feedViewPref' 209 + ) 210 + } 211 + 212 + export function validateFeedViewPref(v: unknown): ValidationResult { 213 + return lexicons.validate('app.bsky.actor.defs#feedViewPref', v) 214 + } 215 + 216 + export interface ThreadViewPref { 217 + /** Sorting mode. */ 218 + sort?: 'oldest' | 'newest' | 'most-likes' | 'random' | (string & {}) 219 + /** Show followed users at the top of all replies. */ 220 + prioritizeFollowedUsers?: boolean 221 + [k: string]: unknown 222 + } 223 + 224 + export function isThreadViewPref(v: unknown): v is ThreadViewPref { 225 + return ( 226 + isObj(v) && 227 + hasProp(v, '$type') && 228 + v.$type === 'app.bsky.actor.defs#threadViewPref' 229 + ) 230 + } 231 + 232 + export function validateThreadViewPref(v: unknown): ValidationResult { 233 + return lexicons.validate('app.bsky.actor.defs#threadViewPref', v) 234 + }
+6 -2
src/lexicon/types/app/bsky/actor/getPreferences.ts
··· 23 23 export interface HandlerSuccess { 24 24 encoding: 'application/json' 25 25 body: OutputSchema 26 + headers?: { [key: string]: string } 26 27 } 27 28 28 29 export interface HandlerError { ··· 31 32 } 32 33 33 34 export type HandlerOutput = HandlerError | HandlerSuccess 34 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 35 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 35 36 auth: HA 36 37 params: QueryParams 37 38 input: HandlerInput 38 39 req: express.Request 39 40 res: express.Response 40 - }) => Promise<HandlerOutput> | HandlerOutput 41 + } 42 + export type Handler<HA extends HandlerAuth = never> = ( 43 + ctx: HandlerReqCtx<HA>, 44 + ) => Promise<HandlerOutput> | HandlerOutput
+6 -2
src/lexicon/types/app/bsky/actor/getProfile.ts
··· 20 20 export interface HandlerSuccess { 21 21 encoding: 'application/json' 22 22 body: OutputSchema 23 + headers?: { [key: string]: string } 23 24 } 24 25 25 26 export interface HandlerError { ··· 28 29 } 29 30 30 31 export type HandlerOutput = HandlerError | HandlerSuccess 31 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 32 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 32 33 auth: HA 33 34 params: QueryParams 34 35 input: HandlerInput 35 36 req: express.Request 36 37 res: express.Response 37 - }) => Promise<HandlerOutput> | HandlerOutput 38 + } 39 + export type Handler<HA extends HandlerAuth = never> = ( 40 + ctx: HandlerReqCtx<HA>, 41 + ) => Promise<HandlerOutput> | HandlerOutput
+6 -2
src/lexicon/types/app/bsky/actor/getProfiles.ts
··· 25 25 export interface HandlerSuccess { 26 26 encoding: 'application/json' 27 27 body: OutputSchema 28 + headers?: { [key: string]: string } 28 29 } 29 30 30 31 export interface HandlerError { ··· 33 34 } 34 35 35 36 export type HandlerOutput = HandlerError | HandlerSuccess 36 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 37 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 37 38 auth: HA 38 39 params: QueryParams 39 40 input: HandlerInput 40 41 req: express.Request 41 42 res: express.Response 42 - }) => Promise<HandlerOutput> | HandlerOutput 43 + } 44 + export type Handler<HA extends HandlerAuth = never> = ( 45 + ctx: HandlerReqCtx<HA>, 46 + ) => Promise<HandlerOutput> | HandlerOutput
+6 -2
src/lexicon/types/app/bsky/actor/getSuggestions.ts
··· 27 27 export interface HandlerSuccess { 28 28 encoding: 'application/json' 29 29 body: OutputSchema 30 + headers?: { [key: string]: string } 30 31 } 31 32 32 33 export interface HandlerError { ··· 35 36 } 36 37 37 38 export type HandlerOutput = HandlerError | HandlerSuccess 38 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 39 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 39 40 auth: HA 40 41 params: QueryParams 41 42 input: HandlerInput 42 43 req: express.Request 43 44 res: express.Response 44 - }) => Promise<HandlerOutput> | HandlerOutput 45 + } 46 + export type Handler<HA extends HandlerAuth = never> = ( 47 + ctx: HandlerReqCtx<HA>, 48 + ) => Promise<HandlerOutput> | HandlerOutput
+4
src/lexicon/types/app/bsky/actor/profile.ts
··· 5 5 import { lexicons } from '../../../../lexicons' 6 6 import { isObj, hasProp } from '../../../../util' 7 7 import { CID } from 'multiformats/cid' 8 + import * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs' 8 9 9 10 export interface Record { 10 11 displayName?: string 11 12 description?: string 12 13 avatar?: BlobRef 13 14 banner?: BlobRef 15 + labels?: 16 + | ComAtprotoLabelDefs.SelfLabels 17 + | { $type: string; [k: string]: unknown } 14 18 [k: string]: unknown 15 19 } 16 20
+5 -2
src/lexicon/types/app/bsky/actor/putPreferences.ts
··· 27 27 } 28 28 29 29 export type HandlerOutput = HandlerError | void 30 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 30 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 31 31 auth: HA 32 32 params: QueryParams 33 33 input: HandlerInput 34 34 req: express.Request 35 35 res: express.Response 36 - }) => Promise<HandlerOutput> | HandlerOutput 36 + } 37 + export type Handler<HA extends HandlerAuth = never> = ( 38 + ctx: HandlerReqCtx<HA>, 39 + ) => Promise<HandlerOutput> | HandlerOutput
+9 -2
src/lexicon/types/app/bsky/actor/searchActors.ts
··· 10 10 import * as AppBskyActorDefs from './defs' 11 11 12 12 export interface QueryParams { 13 + /** DEPRECATED: use 'q' instead */ 13 14 term?: string 15 + /** search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended */ 16 + q?: string 14 17 limit: number 15 18 cursor?: string 16 19 } ··· 28 31 export interface HandlerSuccess { 29 32 encoding: 'application/json' 30 33 body: OutputSchema 34 + headers?: { [key: string]: string } 31 35 } 32 36 33 37 export interface HandlerError { ··· 36 40 } 37 41 38 42 export type HandlerOutput = HandlerError | HandlerSuccess 39 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 43 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 40 44 auth: HA 41 45 params: QueryParams 42 46 input: HandlerInput 43 47 req: express.Request 44 48 res: express.Response 45 - }) => Promise<HandlerOutput> | HandlerOutput 49 + } 50 + export type Handler<HA extends HandlerAuth = never> = ( 51 + ctx: HandlerReqCtx<HA>, 52 + ) => Promise<HandlerOutput> | HandlerOutput
+9 -2
src/lexicon/types/app/bsky/actor/searchActorsTypeahead.ts
··· 10 10 import * as AppBskyActorDefs from './defs' 11 11 12 12 export interface QueryParams { 13 + /** DEPRECATED: use 'q' instead */ 13 14 term?: string 15 + /** search query prefix; not a full query string */ 16 + q?: string 14 17 limit: number 15 18 } 16 19 ··· 26 29 export interface HandlerSuccess { 27 30 encoding: 'application/json' 28 31 body: OutputSchema 32 + headers?: { [key: string]: string } 29 33 } 30 34 31 35 export interface HandlerError { ··· 34 38 } 35 39 36 40 export type HandlerOutput = HandlerError | HandlerSuccess 37 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 41 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 38 42 auth: HA 39 43 params: QueryParams 40 44 input: HandlerInput 41 45 req: express.Request 42 46 res: express.Response 43 - }) => Promise<HandlerOutput> | HandlerOutput 47 + } 48 + export type Handler<HA extends HandlerAuth = never> = ( 49 + ctx: HandlerReqCtx<HA>, 50 + ) => Promise<HandlerOutput> | HandlerOutput
+21
src/lexicon/types/app/bsky/embed/images.ts
··· 27 27 export interface Image { 28 28 image: BlobRef 29 29 alt: string 30 + aspectRatio?: AspectRatio 30 31 [k: string]: unknown 31 32 } 32 33 ··· 40 41 return lexicons.validate('app.bsky.embed.images#image', v) 41 42 } 42 43 44 + /** width:height represents an aspect ratio. It may be approximate, and may not correspond to absolute dimensions in any given unit. */ 45 + export interface AspectRatio { 46 + width: number 47 + height: number 48 + [k: string]: unknown 49 + } 50 + 51 + export function isAspectRatio(v: unknown): v is AspectRatio { 52 + return ( 53 + isObj(v) && 54 + hasProp(v, '$type') && 55 + v.$type === 'app.bsky.embed.images#aspectRatio' 56 + ) 57 + } 58 + 59 + export function validateAspectRatio(v: unknown): ValidationResult { 60 + return lexicons.validate('app.bsky.embed.images#aspectRatio', v) 61 + } 62 + 43 63 export interface View { 44 64 images: ViewImage[] 45 65 [k: string]: unknown ··· 59 79 thumb: string 60 80 fullsize: string 61 81 alt: string 82 + aspectRatio?: AspectRatio 62 83 [k: string]: unknown 63 84 } 64 85
+5
src/lexicon/types/app/bsky/embed/record.ts
··· 7 7 import { CID } from 'multiformats/cid' 8 8 import * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef' 9 9 import * as AppBskyFeedDefs from '../feed/defs' 10 + import * as AppBskyGraphDefs from '../graph/defs' 10 11 import * as AppBskyActorDefs from '../actor/defs' 11 12 import * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs' 12 13 import * as AppBskyEmbedImages from './images' ··· 37 38 | ViewNotFound 38 39 | ViewBlocked 39 40 | AppBskyFeedDefs.GeneratorView 41 + | AppBskyGraphDefs.ListView 40 42 | { $type: string; [k: string]: unknown } 41 43 [k: string]: unknown 42 44 } ··· 82 84 83 85 export interface ViewNotFound { 84 86 uri: string 87 + notFound: true 85 88 [k: string]: unknown 86 89 } 87 90 ··· 99 102 100 103 export interface ViewBlocked { 101 104 uri: string 105 + blocked: true 106 + author: AppBskyFeedDefs.BlockedAuthor 102 107 [k: string]: unknown 103 108 } 104 109
+61 -3
src/lexicon/types/app/bsky/feed/defs.ts
··· 12 12 import * as AppBskyEmbedRecordWithMedia from '../embed/recordWithMedia' 13 13 import * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs' 14 14 import * as AppBskyRichtextFacet from '../richtext/facet' 15 + import * as AppBskyGraphDefs from '../graph/defs' 15 16 16 17 export interface PostView { 17 18 uri: string ··· 30 31 indexedAt: string 31 32 viewer?: ViewerState 32 33 labels?: ComAtprotoLabelDefs.Label[] 34 + threadgate?: ThreadgateView 33 35 [k: string]: unknown 34 36 } 35 37 ··· 135 137 | BlockedPost 136 138 | { $type: string; [k: string]: unknown } 137 139 )[] 140 + viewer?: ViewerThreadState 138 141 [k: string]: unknown 139 142 } 140 143 ··· 171 174 export interface BlockedPost { 172 175 uri: string 173 176 blocked: true 177 + author: BlockedAuthor 174 178 [k: string]: unknown 175 179 } 176 180 ··· 186 190 return lexicons.validate('app.bsky.feed.defs#blockedPost', v) 187 191 } 188 192 193 + export interface BlockedAuthor { 194 + did: string 195 + viewer?: AppBskyActorDefs.ViewerState 196 + [k: string]: unknown 197 + } 198 + 199 + export function isBlockedAuthor(v: unknown): v is BlockedAuthor { 200 + return ( 201 + isObj(v) && 202 + hasProp(v, '$type') && 203 + v.$type === 'app.bsky.feed.defs#blockedAuthor' 204 + ) 205 + } 206 + 207 + export function validateBlockedAuthor(v: unknown): ValidationResult { 208 + return lexicons.validate('app.bsky.feed.defs#blockedAuthor', v) 209 + } 210 + 211 + export interface ViewerThreadState { 212 + canReply?: boolean 213 + [k: string]: unknown 214 + } 215 + 216 + export function isViewerThreadState(v: unknown): v is ViewerThreadState { 217 + return ( 218 + isObj(v) && 219 + hasProp(v, '$type') && 220 + v.$type === 'app.bsky.feed.defs#viewerThreadState' 221 + ) 222 + } 223 + 224 + export function validateViewerThreadState(v: unknown): ValidationResult { 225 + return lexicons.validate('app.bsky.feed.defs#viewerThreadState', v) 226 + } 227 + 189 228 export interface GeneratorView { 190 229 uri: string 191 230 cid: string 192 - did?: string 231 + did: string 193 232 creator: AppBskyActorDefs.ProfileView 194 - displayName?: string 233 + displayName: string 195 234 description?: string 196 235 descriptionFacets?: AppBskyRichtextFacet.Main[] 197 236 avatar?: string ··· 214 253 } 215 254 216 255 export interface GeneratorViewerState { 217 - saved?: boolean 218 256 like?: string 219 257 [k: string]: unknown 220 258 } ··· 265 303 export function validateSkeletonReasonRepost(v: unknown): ValidationResult { 266 304 return lexicons.validate('app.bsky.feed.defs#skeletonReasonRepost', v) 267 305 } 306 + 307 + export interface ThreadgateView { 308 + uri?: string 309 + cid?: string 310 + record?: {} 311 + lists?: AppBskyGraphDefs.ListViewBasic[] 312 + [k: string]: unknown 313 + } 314 + 315 + export function isThreadgateView(v: unknown): v is ThreadgateView { 316 + return ( 317 + isObj(v) && 318 + hasProp(v, '$type') && 319 + v.$type === 'app.bsky.feed.defs#threadgateView' 320 + ) 321 + } 322 + 323 + export function validateThreadgateView(v: unknown): ValidationResult { 324 + return lexicons.validate('app.bsky.feed.defs#threadgateView', v) 325 + }
+6 -2
src/lexicon/types/app/bsky/feed/describeFeedGenerator.ts
··· 24 24 export interface HandlerSuccess { 25 25 encoding: 'application/json' 26 26 body: OutputSchema 27 + headers?: { [key: string]: string } 27 28 } 28 29 29 30 export interface HandlerError { ··· 32 33 } 33 34 34 35 export type HandlerOutput = HandlerError | HandlerSuccess 35 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 36 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 36 37 auth: HA 37 38 params: QueryParams 38 39 input: HandlerInput 39 40 req: express.Request 40 41 res: express.Response 41 - }) => Promise<HandlerOutput> | HandlerOutput 42 + } 43 + export type Handler<HA extends HandlerAuth = never> = ( 44 + ctx: HandlerReqCtx<HA>, 45 + ) => Promise<HandlerOutput> | HandlerOutput 42 46 43 47 export interface Feed { 44 48 uri: string
+5 -1
src/lexicon/types/app/bsky/feed/generator.ts
··· 6 6 import { isObj, hasProp } from '../../../../util' 7 7 import { CID } from 'multiformats/cid' 8 8 import * as AppBskyRichtextFacet from '../richtext/facet' 9 + import * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs' 9 10 10 11 export interface Record { 11 12 did: string 12 - displayName?: string 13 + displayName: string 13 14 description?: string 14 15 descriptionFacets?: AppBskyRichtextFacet.Main[] 15 16 avatar?: BlobRef 17 + labels?: 18 + | ComAtprotoLabelDefs.SelfLabels 19 + | { $type: string; [k: string]: unknown } 16 20 createdAt: string 17 21 [k: string]: unknown 18 22 }
+6 -2
src/lexicon/types/app/bsky/feed/getActorFeeds.ts
··· 28 28 export interface HandlerSuccess { 29 29 encoding: 'application/json' 30 30 body: OutputSchema 31 + headers?: { [key: string]: string } 31 32 } 32 33 33 34 export interface HandlerError { ··· 36 37 } 37 38 38 39 export type HandlerOutput = HandlerError | HandlerSuccess 39 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 40 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 40 41 auth: HA 41 42 params: QueryParams 42 43 input: HandlerInput 43 44 req: express.Request 44 45 res: express.Response 45 - }) => Promise<HandlerOutput> | HandlerOutput 46 + } 47 + export type Handler<HA extends HandlerAuth = never> = ( 48 + ctx: HandlerReqCtx<HA>, 49 + ) => Promise<HandlerOutput> | HandlerOutput
+50
src/lexicon/types/app/bsky/feed/getActorLikes.ts
··· 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 } from '@atproto/xrpc-server' 10 + import * as AppBskyFeedDefs from './defs' 11 + 12 + export interface QueryParams { 13 + actor: string 14 + limit: number 15 + cursor?: string 16 + } 17 + 18 + export type InputSchema = undefined 19 + 20 + export interface OutputSchema { 21 + cursor?: string 22 + feed: AppBskyFeedDefs.FeedViewPost[] 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 + error?: 'BlockedActor' | 'BlockedByActor' 38 + } 39 + 40 + export type HandlerOutput = HandlerError | HandlerSuccess 41 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 42 + auth: HA 43 + params: QueryParams 44 + input: HandlerInput 45 + req: express.Request 46 + res: express.Response 47 + } 48 + export type Handler<HA extends HandlerAuth = never> = ( 49 + ctx: HandlerReqCtx<HA>, 50 + ) => Promise<HandlerOutput> | HandlerOutput
+11 -2
src/lexicon/types/app/bsky/feed/getAuthorFeed.ts
··· 13 13 actor: string 14 14 limit: number 15 15 cursor?: string 16 + filter: 17 + | 'posts_with_replies' 18 + | 'posts_no_replies' 19 + | 'posts_with_media' 20 + | (string & {}) 16 21 } 17 22 18 23 export type InputSchema = undefined ··· 28 33 export interface HandlerSuccess { 29 34 encoding: 'application/json' 30 35 body: OutputSchema 36 + headers?: { [key: string]: string } 31 37 } 32 38 33 39 export interface HandlerError { ··· 37 43 } 38 44 39 45 export type HandlerOutput = HandlerError | HandlerSuccess 40 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 46 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 41 47 auth: HA 42 48 params: QueryParams 43 49 input: HandlerInput 44 50 req: express.Request 45 51 res: express.Response 46 - }) => Promise<HandlerOutput> | HandlerOutput 52 + } 53 + export type Handler<HA extends HandlerAuth = never> = ( 54 + ctx: HandlerReqCtx<HA>, 55 + ) => Promise<HandlerOutput> | HandlerOutput
+6 -2
src/lexicon/types/app/bsky/feed/getFeed.ts
··· 28 28 export interface HandlerSuccess { 29 29 encoding: 'application/json' 30 30 body: OutputSchema 31 + headers?: { [key: string]: string } 31 32 } 32 33 33 34 export interface HandlerError { ··· 37 38 } 38 39 39 40 export type HandlerOutput = HandlerError | HandlerSuccess 40 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 41 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 41 42 auth: HA 42 43 params: QueryParams 43 44 input: HandlerInput 44 45 req: express.Request 45 46 res: express.Response 46 - }) => Promise<HandlerOutput> | HandlerOutput 47 + } 48 + export type Handler<HA extends HandlerAuth = never> = ( 49 + ctx: HandlerReqCtx<HA>, 50 + ) => Promise<HandlerOutput> | HandlerOutput
+6 -2
src/lexicon/types/app/bsky/feed/getFeedGenerator.ts
··· 27 27 export interface HandlerSuccess { 28 28 encoding: 'application/json' 29 29 body: OutputSchema 30 + headers?: { [key: string]: string } 30 31 } 31 32 32 33 export interface HandlerError { ··· 35 36 } 36 37 37 38 export type HandlerOutput = HandlerError | HandlerSuccess 38 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 39 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 39 40 auth: HA 40 41 params: QueryParams 41 42 input: HandlerInput 42 43 req: express.Request 43 44 res: express.Response 44 - }) => Promise<HandlerOutput> | HandlerOutput 45 + } 46 + export type Handler<HA extends HandlerAuth = never> = ( 47 + ctx: HandlerReqCtx<HA>, 48 + ) => Promise<HandlerOutput> | HandlerOutput
+46
src/lexicon/types/app/bsky/feed/getFeedGenerators.ts
··· 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 } from '@atproto/xrpc-server' 10 + import * as AppBskyFeedDefs from './defs' 11 + 12 + export interface QueryParams { 13 + feeds: string[] 14 + } 15 + 16 + export type InputSchema = undefined 17 + 18 + export interface OutputSchema { 19 + feeds: AppBskyFeedDefs.GeneratorView[] 20 + [k: string]: unknown 21 + } 22 + 23 + export type HandlerInput = undefined 24 + 25 + export interface HandlerSuccess { 26 + encoding: 'application/json' 27 + body: OutputSchema 28 + headers?: { [key: string]: string } 29 + } 30 + 31 + export interface HandlerError { 32 + status: number 33 + message?: string 34 + } 35 + 36 + export type HandlerOutput = HandlerError | HandlerSuccess 37 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 38 + auth: HA 39 + params: QueryParams 40 + input: HandlerInput 41 + req: express.Request 42 + res: express.Response 43 + } 44 + export type Handler<HA extends HandlerAuth = never> = ( 45 + ctx: HandlerReqCtx<HA>, 46 + ) => Promise<HandlerOutput> | HandlerOutput
+6 -2
src/lexicon/types/app/bsky/feed/getFeedSkeleton.ts
··· 28 28 export interface HandlerSuccess { 29 29 encoding: 'application/json' 30 30 body: OutputSchema 31 + headers?: { [key: string]: string } 31 32 } 32 33 33 34 export interface HandlerError { ··· 37 38 } 38 39 39 40 export type HandlerOutput = HandlerError | HandlerSuccess 40 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 41 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 41 42 auth: HA 42 43 params: QueryParams 43 44 input: HandlerInput 44 45 req: express.Request 45 46 res: express.Response 46 - }) => Promise<HandlerOutput> | HandlerOutput 47 + } 48 + export type Handler<HA extends HandlerAuth = never> = ( 49 + ctx: HandlerReqCtx<HA>, 50 + ) => Promise<HandlerOutput> | HandlerOutput
+6 -2
src/lexicon/types/app/bsky/feed/getLikes.ts
··· 31 31 export interface HandlerSuccess { 32 32 encoding: 'application/json' 33 33 body: OutputSchema 34 + headers?: { [key: string]: string } 34 35 } 35 36 36 37 export interface HandlerError { ··· 39 40 } 40 41 41 42 export type HandlerOutput = HandlerError | HandlerSuccess 42 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 43 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 43 44 auth: HA 44 45 params: QueryParams 45 46 input: HandlerInput 46 47 req: express.Request 47 48 res: express.Response 48 - }) => Promise<HandlerOutput> | HandlerOutput 49 + } 50 + export type Handler<HA extends HandlerAuth = never> = ( 51 + ctx: HandlerReqCtx<HA>, 52 + ) => Promise<HandlerOutput> | HandlerOutput 49 53 50 54 export interface Like { 51 55 indexedAt: string
+50
src/lexicon/types/app/bsky/feed/getListFeed.ts
··· 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 } from '@atproto/xrpc-server' 10 + import * as AppBskyFeedDefs from './defs' 11 + 12 + export interface QueryParams { 13 + list: string 14 + limit: number 15 + cursor?: string 16 + } 17 + 18 + export type InputSchema = undefined 19 + 20 + export interface OutputSchema { 21 + cursor?: string 22 + feed: AppBskyFeedDefs.FeedViewPost[] 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 + error?: 'UnknownList' 38 + } 39 + 40 + export type HandlerOutput = HandlerError | HandlerSuccess 41 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 42 + auth: HA 43 + params: QueryParams 44 + input: HandlerInput 45 + req: express.Request 46 + res: express.Response 47 + } 48 + export type Handler<HA extends HandlerAuth = never> = ( 49 + ctx: HandlerReqCtx<HA>, 50 + ) => Promise<HandlerOutput> | HandlerOutput
+8 -3
src/lexicon/types/app/bsky/feed/getPostThread.ts
··· 11 11 12 12 export interface QueryParams { 13 13 uri: string 14 - depth?: number 14 + depth: number 15 + parentHeight: number 15 16 } 16 17 17 18 export type InputSchema = undefined ··· 30 31 export interface HandlerSuccess { 31 32 encoding: 'application/json' 32 33 body: OutputSchema 34 + headers?: { [key: string]: string } 33 35 } 34 36 35 37 export interface HandlerError { ··· 39 41 } 40 42 41 43 export type HandlerOutput = HandlerError | HandlerSuccess 42 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 44 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 43 45 auth: HA 44 46 params: QueryParams 45 47 input: HandlerInput 46 48 req: express.Request 47 49 res: express.Response 48 - }) => Promise<HandlerOutput> | HandlerOutput 50 + } 51 + export type Handler<HA extends HandlerAuth = never> = ( 52 + ctx: HandlerReqCtx<HA>, 53 + ) => Promise<HandlerOutput> | HandlerOutput
+6 -2
src/lexicon/types/app/bsky/feed/getPosts.ts
··· 25 25 export interface HandlerSuccess { 26 26 encoding: 'application/json' 27 27 body: OutputSchema 28 + headers?: { [key: string]: string } 28 29 } 29 30 30 31 export interface HandlerError { ··· 33 34 } 34 35 35 36 export type HandlerOutput = HandlerError | HandlerSuccess 36 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 37 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 37 38 auth: HA 38 39 params: QueryParams 39 40 input: HandlerInput 40 41 req: express.Request 41 42 res: express.Response 42 - }) => Promise<HandlerOutput> | HandlerOutput 43 + } 44 + export type Handler<HA extends HandlerAuth = never> = ( 45 + ctx: HandlerReqCtx<HA>, 46 + ) => Promise<HandlerOutput> | HandlerOutput
+6 -2
src/lexicon/types/app/bsky/feed/getRepostedBy.ts
··· 31 31 export interface HandlerSuccess { 32 32 encoding: 'application/json' 33 33 body: OutputSchema 34 + headers?: { [key: string]: string } 34 35 } 35 36 36 37 export interface HandlerError { ··· 39 40 } 40 41 41 42 export type HandlerOutput = HandlerError | HandlerSuccess 42 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 43 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 43 44 auth: HA 44 45 params: QueryParams 45 46 input: HandlerInput 46 47 req: express.Request 47 48 res: express.Response 48 - }) => Promise<HandlerOutput> | HandlerOutput 49 + } 50 + export type Handler<HA extends HandlerAuth = never> = ( 51 + ctx: HandlerReqCtx<HA>, 52 + ) => Promise<HandlerOutput> | HandlerOutput
+6 -2
src/lexicon/types/app/bsky/feed/getSavedFeeds.ts src/lexicon/types/app/bsky/feed/getSuggestedFeeds.ts
··· 27 27 export interface HandlerSuccess { 28 28 encoding: 'application/json' 29 29 body: OutputSchema 30 + headers?: { [key: string]: string } 30 31 } 31 32 32 33 export interface HandlerError { ··· 35 36 } 36 37 37 38 export type HandlerOutput = HandlerError | HandlerSuccess 38 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 39 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 39 40 auth: HA 40 41 params: QueryParams 41 42 input: HandlerInput 42 43 req: express.Request 43 44 res: express.Response 44 - }) => Promise<HandlerOutput> | HandlerOutput 45 + } 46 + export type Handler<HA extends HandlerAuth = never> = ( 47 + ctx: HandlerReqCtx<HA>, 48 + ) => Promise<HandlerOutput> | HandlerOutput
+6 -2
src/lexicon/types/app/bsky/feed/getTimeline.ts
··· 28 28 export interface HandlerSuccess { 29 29 encoding: 'application/json' 30 30 body: OutputSchema 31 + headers?: { [key: string]: string } 31 32 } 32 33 33 34 export interface HandlerError { ··· 36 37 } 37 38 38 39 export type HandlerOutput = HandlerError | HandlerSuccess 39 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 40 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 40 41 auth: HA 41 42 params: QueryParams 42 43 input: HandlerInput 43 44 req: express.Request 44 45 res: express.Response 45 - }) => Promise<HandlerOutput> | HandlerOutput 46 + } 47 + export type Handler<HA extends HandlerAuth = never> = ( 48 + ctx: HandlerReqCtx<HA>, 49 + ) => Promise<HandlerOutput> | HandlerOutput
+7
src/lexicon/types/app/bsky/feed/post.ts
··· 10 10 import * as AppBskyEmbedExternal from '../embed/external' 11 11 import * as AppBskyEmbedRecord from '../embed/record' 12 12 import * as AppBskyEmbedRecordWithMedia from '../embed/recordWithMedia' 13 + import * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs' 13 14 import * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef' 14 15 15 16 export interface Record { ··· 24 25 | AppBskyEmbedRecord.Main 25 26 | AppBskyEmbedRecordWithMedia.Main 26 27 | { $type: string; [k: string]: unknown } 28 + langs?: string[] 29 + labels?: 30 + | ComAtprotoLabelDefs.SelfLabels 31 + | { $type: string; [k: string]: unknown } 32 + /** Additional non-inline tags describing this post. */ 33 + tags?: string[] 27 34 createdAt: string 28 35 [k: string]: unknown 29 36 }
-35
src/lexicon/types/app/bsky/feed/saveFeed.ts
··· 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 } from '@atproto/xrpc-server' 10 - 11 - export interface QueryParams {} 12 - 13 - export interface InputSchema { 14 - feed: string 15 - [k: string]: unknown 16 - } 17 - 18 - export interface HandlerInput { 19 - encoding: 'application/json' 20 - body: InputSchema 21 - } 22 - 23 - export interface HandlerError { 24 - status: number 25 - message?: string 26 - } 27 - 28 - export type HandlerOutput = HandlerError | void 29 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 30 - auth: HA 31 - params: QueryParams 32 - input: HandlerInput 33 - req: express.Request 34 - res: express.Response 35 - }) => Promise<HandlerOutput> | HandlerOutput
+54
src/lexicon/types/app/bsky/feed/searchPosts.ts
··· 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 } from '@atproto/xrpc-server' 10 + import * as AppBskyFeedDefs from './defs' 11 + 12 + export interface QueryParams { 13 + /** search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended */ 14 + q: string 15 + limit: number 16 + /** optional pagination mechanism; may not necessarily allow scrolling through entire result set */ 17 + cursor?: string 18 + } 19 + 20 + export type InputSchema = undefined 21 + 22 + export interface OutputSchema { 23 + cursor?: string 24 + /** count of search hits. optional, may be rounded/truncated, and may not be possible to paginate through all hits */ 25 + hitsTotal?: number 26 + posts: AppBskyFeedDefs.PostView[] 27 + [k: string]: unknown 28 + } 29 + 30 + export type HandlerInput = undefined 31 + 32 + export interface HandlerSuccess { 33 + encoding: 'application/json' 34 + body: OutputSchema 35 + headers?: { [key: string]: string } 36 + } 37 + 38 + export interface HandlerError { 39 + status: number 40 + message?: string 41 + error?: 'BadQueryString' 42 + } 43 + 44 + export type HandlerOutput = HandlerError | HandlerSuccess 45 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 46 + auth: HA 47 + params: QueryParams 48 + input: HandlerInput 49 + req: express.Request 50 + res: express.Response 51 + } 52 + export type Handler<HA extends HandlerAuth = never> = ( 53 + ctx: HandlerReqCtx<HA>, 54 + ) => Promise<HandlerOutput> | HandlerOutput
+84
src/lexicon/types/app/bsky/feed/threadgate.ts
··· 1 + /** 2 + * GENERATED CODE - DO NOT MODIFY 3 + */ 4 + import { ValidationResult, BlobRef } from '@atproto/lexicon' 5 + import { lexicons } from '../../../../lexicons' 6 + import { isObj, hasProp } from '../../../../util' 7 + import { CID } from 'multiformats/cid' 8 + 9 + export interface Record { 10 + post: string 11 + allow?: ( 12 + | MentionRule 13 + | FollowingRule 14 + | ListRule 15 + | { $type: string; [k: string]: unknown } 16 + )[] 17 + createdAt: string 18 + [k: string]: unknown 19 + } 20 + 21 + export function isRecord(v: unknown): v is Record { 22 + return ( 23 + isObj(v) && 24 + hasProp(v, '$type') && 25 + (v.$type === 'app.bsky.feed.threadgate#main' || 26 + v.$type === 'app.bsky.feed.threadgate') 27 + ) 28 + } 29 + 30 + export function validateRecord(v: unknown): ValidationResult { 31 + return lexicons.validate('app.bsky.feed.threadgate#main', v) 32 + } 33 + 34 + /** Allow replies from actors mentioned in your post. */ 35 + export interface MentionRule { 36 + [k: string]: unknown 37 + } 38 + 39 + export function isMentionRule(v: unknown): v is MentionRule { 40 + return ( 41 + isObj(v) && 42 + hasProp(v, '$type') && 43 + v.$type === 'app.bsky.feed.threadgate#mentionRule' 44 + ) 45 + } 46 + 47 + export function validateMentionRule(v: unknown): ValidationResult { 48 + return lexicons.validate('app.bsky.feed.threadgate#mentionRule', v) 49 + } 50 + 51 + /** Allow replies from actors you follow. */ 52 + export interface FollowingRule { 53 + [k: string]: unknown 54 + } 55 + 56 + export function isFollowingRule(v: unknown): v is FollowingRule { 57 + return ( 58 + isObj(v) && 59 + hasProp(v, '$type') && 60 + v.$type === 'app.bsky.feed.threadgate#followingRule' 61 + ) 62 + } 63 + 64 + export function validateFollowingRule(v: unknown): ValidationResult { 65 + return lexicons.validate('app.bsky.feed.threadgate#followingRule', v) 66 + } 67 + 68 + /** Allow replies from actors on a list. */ 69 + export interface ListRule { 70 + list: string 71 + [k: string]: unknown 72 + } 73 + 74 + export function isListRule(v: unknown): v is ListRule { 75 + return ( 76 + isObj(v) && 77 + hasProp(v, '$type') && 78 + v.$type === 'app.bsky.feed.threadgate#listRule' 79 + ) 80 + } 81 + 82 + export function validateListRule(v: unknown): ValidationResult { 83 + return lexicons.validate('app.bsky.feed.threadgate#listRule', v) 84 + }
-35
src/lexicon/types/app/bsky/feed/unsaveFeed.ts
··· 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 } from '@atproto/xrpc-server' 10 - 11 - export interface QueryParams {} 12 - 13 - export interface InputSchema { 14 - feed: string 15 - [k: string]: unknown 16 - } 17 - 18 - export interface HandlerInput { 19 - encoding: 'application/json' 20 - body: InputSchema 21 - } 22 - 23 - export interface HandlerError { 24 - status: number 25 - message?: string 26 - } 27 - 28 - export type HandlerOutput = HandlerError | void 29 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 30 - auth: HA 31 - params: QueryParams 32 - input: HandlerInput 33 - req: express.Request 34 - res: express.Response 35 - }) => Promise<HandlerOutput> | HandlerOutput
+9 -1
src/lexicon/types/app/bsky/graph/defs.ts
··· 10 10 11 11 export interface ListViewBasic { 12 12 uri: string 13 + cid: string 13 14 name: string 14 15 purpose: ListPurpose 15 16 avatar?: string ··· 32 33 33 34 export interface ListView { 34 35 uri: string 36 + cid: string 35 37 creator: AppBskyActorDefs.ProfileView 36 38 name: string 37 39 purpose: ListPurpose ··· 72 74 return lexicons.validate('app.bsky.graph.defs#listItemView', v) 73 75 } 74 76 75 - export type ListPurpose = 'app.bsky.graph.defs#modlist' | (string & {}) 77 + export type ListPurpose = 78 + | 'app.bsky.graph.defs#modlist' 79 + | 'app.bsky.graph.defs#curatelist' 80 + | (string & {}) 76 81 77 82 /** A list of actors to apply an aggregate moderation action (mute/block) on */ 78 83 export const MODLIST = 'app.bsky.graph.defs#modlist' 84 + /** A list of actors used for curation purposes such as list feeds or interaction gating */ 85 + export const CURATELIST = 'app.bsky.graph.defs#curatelist' 79 86 80 87 export interface ListViewerState { 81 88 muted?: boolean 89 + blocked?: string 82 90 [k: string]: unknown 83 91 } 84 92
+6 -2
src/lexicon/types/app/bsky/graph/getBlocks.ts
··· 27 27 export interface HandlerSuccess { 28 28 encoding: 'application/json' 29 29 body: OutputSchema 30 + headers?: { [key: string]: string } 30 31 } 31 32 32 33 export interface HandlerError { ··· 35 36 } 36 37 37 38 export type HandlerOutput = HandlerError | HandlerSuccess 38 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 39 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 39 40 auth: HA 40 41 params: QueryParams 41 42 input: HandlerInput 42 43 req: express.Request 43 44 res: express.Response 44 - }) => Promise<HandlerOutput> | HandlerOutput 45 + } 46 + export type Handler<HA extends HandlerAuth = never> = ( 47 + ctx: HandlerReqCtx<HA>, 48 + ) => Promise<HandlerOutput> | HandlerOutput
+6 -2
src/lexicon/types/app/bsky/graph/getFollowers.ts
··· 29 29 export interface HandlerSuccess { 30 30 encoding: 'application/json' 31 31 body: OutputSchema 32 + headers?: { [key: string]: string } 32 33 } 33 34 34 35 export interface HandlerError { ··· 37 38 } 38 39 39 40 export type HandlerOutput = HandlerError | HandlerSuccess 40 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 41 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 41 42 auth: HA 42 43 params: QueryParams 43 44 input: HandlerInput 44 45 req: express.Request 45 46 res: express.Response 46 - }) => Promise<HandlerOutput> | HandlerOutput 47 + } 48 + export type Handler<HA extends HandlerAuth = never> = ( 49 + ctx: HandlerReqCtx<HA>, 50 + ) => Promise<HandlerOutput> | HandlerOutput
+6 -2
src/lexicon/types/app/bsky/graph/getFollows.ts
··· 29 29 export interface HandlerSuccess { 30 30 encoding: 'application/json' 31 31 body: OutputSchema 32 + headers?: { [key: string]: string } 32 33 } 33 34 34 35 export interface HandlerError { ··· 37 38 } 38 39 39 40 export type HandlerOutput = HandlerError | HandlerSuccess 40 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 41 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 41 42 auth: HA 42 43 params: QueryParams 43 44 input: HandlerInput 44 45 req: express.Request 45 46 res: express.Response 46 - }) => Promise<HandlerOutput> | HandlerOutput 47 + } 48 + export type Handler<HA extends HandlerAuth = never> = ( 49 + ctx: HandlerReqCtx<HA>, 50 + ) => Promise<HandlerOutput> | HandlerOutput
+6 -2
src/lexicon/types/app/bsky/graph/getList.ts
··· 29 29 export interface HandlerSuccess { 30 30 encoding: 'application/json' 31 31 body: OutputSchema 32 + headers?: { [key: string]: string } 32 33 } 33 34 34 35 export interface HandlerError { ··· 37 38 } 38 39 39 40 export type HandlerOutput = HandlerError | HandlerSuccess 40 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 41 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 41 42 auth: HA 42 43 params: QueryParams 43 44 input: HandlerInput 44 45 req: express.Request 45 46 res: express.Response 46 - }) => Promise<HandlerOutput> | HandlerOutput 47 + } 48 + export type Handler<HA extends HandlerAuth = never> = ( 49 + ctx: HandlerReqCtx<HA>, 50 + ) => Promise<HandlerOutput> | HandlerOutput
+48
src/lexicon/types/app/bsky/graph/getListBlocks.ts
··· 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 } from '@atproto/xrpc-server' 10 + import * as AppBskyGraphDefs from './defs' 11 + 12 + export interface QueryParams { 13 + limit: number 14 + cursor?: string 15 + } 16 + 17 + export type InputSchema = undefined 18 + 19 + export interface OutputSchema { 20 + cursor?: string 21 + lists: AppBskyGraphDefs.ListView[] 22 + [k: string]: unknown 23 + } 24 + 25 + export type HandlerInput = undefined 26 + 27 + export interface HandlerSuccess { 28 + encoding: 'application/json' 29 + body: OutputSchema 30 + headers?: { [key: string]: string } 31 + } 32 + 33 + export interface HandlerError { 34 + status: number 35 + message?: string 36 + } 37 + 38 + export type HandlerOutput = HandlerError | HandlerSuccess 39 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 40 + auth: HA 41 + params: QueryParams 42 + input: HandlerInput 43 + req: express.Request 44 + res: express.Response 45 + } 46 + export type Handler<HA extends HandlerAuth = never> = ( 47 + ctx: HandlerReqCtx<HA>, 48 + ) => Promise<HandlerOutput> | HandlerOutput
+6 -2
src/lexicon/types/app/bsky/graph/getListMutes.ts
··· 27 27 export interface HandlerSuccess { 28 28 encoding: 'application/json' 29 29 body: OutputSchema 30 + headers?: { [key: string]: string } 30 31 } 31 32 32 33 export interface HandlerError { ··· 35 36 } 36 37 37 38 export type HandlerOutput = HandlerError | HandlerSuccess 38 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 39 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 39 40 auth: HA 40 41 params: QueryParams 41 42 input: HandlerInput 42 43 req: express.Request 43 44 res: express.Response 44 - }) => Promise<HandlerOutput> | HandlerOutput 45 + } 46 + export type Handler<HA extends HandlerAuth = never> = ( 47 + ctx: HandlerReqCtx<HA>, 48 + ) => Promise<HandlerOutput> | HandlerOutput
+6 -2
src/lexicon/types/app/bsky/graph/getLists.ts
··· 28 28 export interface HandlerSuccess { 29 29 encoding: 'application/json' 30 30 body: OutputSchema 31 + headers?: { [key: string]: string } 31 32 } 32 33 33 34 export interface HandlerError { ··· 36 37 } 37 38 38 39 export type HandlerOutput = HandlerError | HandlerSuccess 39 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 40 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 40 41 auth: HA 41 42 params: QueryParams 42 43 input: HandlerInput 43 44 req: express.Request 44 45 res: express.Response 45 - }) => Promise<HandlerOutput> | HandlerOutput 46 + } 47 + export type Handler<HA extends HandlerAuth = never> = ( 48 + ctx: HandlerReqCtx<HA>, 49 + ) => Promise<HandlerOutput> | HandlerOutput
+6 -2
src/lexicon/types/app/bsky/graph/getMutes.ts
··· 27 27 export interface HandlerSuccess { 28 28 encoding: 'application/json' 29 29 body: OutputSchema 30 + headers?: { [key: string]: string } 30 31 } 31 32 32 33 export interface HandlerError { ··· 35 36 } 36 37 37 38 export type HandlerOutput = HandlerError | HandlerSuccess 38 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 39 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 39 40 auth: HA 40 41 params: QueryParams 41 42 input: HandlerInput 42 43 req: express.Request 43 44 res: express.Response 44 - }) => Promise<HandlerOutput> | HandlerOutput 45 + } 46 + export type Handler<HA extends HandlerAuth = never> = ( 47 + ctx: HandlerReqCtx<HA>, 48 + ) => Promise<HandlerOutput> | HandlerOutput
+46
src/lexicon/types/app/bsky/graph/getSuggestedFollowsByActor.ts
··· 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 } from '@atproto/xrpc-server' 10 + import * as AppBskyActorDefs from '../actor/defs' 11 + 12 + export interface QueryParams { 13 + actor: string 14 + } 15 + 16 + export type InputSchema = undefined 17 + 18 + export interface OutputSchema { 19 + suggestions: AppBskyActorDefs.ProfileView[] 20 + [k: string]: unknown 21 + } 22 + 23 + export type HandlerInput = undefined 24 + 25 + export interface HandlerSuccess { 26 + encoding: 'application/json' 27 + body: OutputSchema 28 + headers?: { [key: string]: string } 29 + } 30 + 31 + export interface HandlerError { 32 + status: number 33 + message?: string 34 + } 35 + 36 + export type HandlerOutput = HandlerError | HandlerSuccess 37 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 38 + auth: HA 39 + params: QueryParams 40 + input: HandlerInput 41 + req: express.Request 42 + res: express.Response 43 + } 44 + export type Handler<HA extends HandlerAuth = never> = ( 45 + ctx: HandlerReqCtx<HA>, 46 + ) => Promise<HandlerOutput> | HandlerOutput
+4
src/lexicon/types/app/bsky/graph/list.ts
··· 7 7 import { CID } from 'multiformats/cid' 8 8 import * as AppBskyGraphDefs from './defs' 9 9 import * as AppBskyRichtextFacet from '../richtext/facet' 10 + import * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs' 10 11 11 12 export interface Record { 12 13 purpose: AppBskyGraphDefs.ListPurpose ··· 14 15 description?: string 15 16 descriptionFacets?: AppBskyRichtextFacet.Main[] 16 17 avatar?: BlobRef 18 + labels?: 19 + | ComAtprotoLabelDefs.SelfLabels 20 + | { $type: string; [k: string]: unknown } 17 21 createdAt: string 18 22 [k: string]: unknown 19 23 }
+26
src/lexicon/types/app/bsky/graph/listblock.ts
··· 1 + /** 2 + * GENERATED CODE - DO NOT MODIFY 3 + */ 4 + import { ValidationResult, BlobRef } from '@atproto/lexicon' 5 + import { lexicons } from '../../../../lexicons' 6 + import { isObj, hasProp } from '../../../../util' 7 + import { CID } from 'multiformats/cid' 8 + 9 + export interface Record { 10 + subject: string 11 + createdAt: string 12 + [k: string]: unknown 13 + } 14 + 15 + export function isRecord(v: unknown): v is Record { 16 + return ( 17 + isObj(v) && 18 + hasProp(v, '$type') && 19 + (v.$type === 'app.bsky.graph.listblock#main' || 20 + v.$type === 'app.bsky.graph.listblock') 21 + ) 22 + } 23 + 24 + export function validateRecord(v: unknown): ValidationResult { 25 + return lexicons.validate('app.bsky.graph.listblock#main', v) 26 + }
+5 -2
src/lexicon/types/app/bsky/graph/muteActor.ts
··· 26 26 } 27 27 28 28 export type HandlerOutput = HandlerError | void 29 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 29 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 30 30 auth: HA 31 31 params: QueryParams 32 32 input: HandlerInput 33 33 req: express.Request 34 34 res: express.Response 35 - }) => Promise<HandlerOutput> | HandlerOutput 35 + } 36 + export type Handler<HA extends HandlerAuth = never> = ( 37 + ctx: HandlerReqCtx<HA>, 38 + ) => Promise<HandlerOutput> | HandlerOutput
+5 -2
src/lexicon/types/app/bsky/graph/muteActorList.ts
··· 26 26 } 27 27 28 28 export type HandlerOutput = HandlerError | void 29 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 29 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 30 30 auth: HA 31 31 params: QueryParams 32 32 input: HandlerInput 33 33 req: express.Request 34 34 res: express.Response 35 - }) => Promise<HandlerOutput> | HandlerOutput 35 + } 36 + export type Handler<HA extends HandlerAuth = never> = ( 37 + ctx: HandlerReqCtx<HA>, 38 + ) => Promise<HandlerOutput> | HandlerOutput
+5 -2
src/lexicon/types/app/bsky/graph/unmuteActor.ts
··· 26 26 } 27 27 28 28 export type HandlerOutput = HandlerError | void 29 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 29 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 30 30 auth: HA 31 31 params: QueryParams 32 32 input: HandlerInput 33 33 req: express.Request 34 34 res: express.Response 35 - }) => Promise<HandlerOutput> | HandlerOutput 35 + } 36 + export type Handler<HA extends HandlerAuth = never> = ( 37 + ctx: HandlerReqCtx<HA>, 38 + ) => Promise<HandlerOutput> | HandlerOutput
+5 -2
src/lexicon/types/app/bsky/graph/unmuteActorList.ts
··· 26 26 } 27 27 28 28 export type HandlerOutput = HandlerError | void 29 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 29 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 30 30 auth: HA 31 31 params: QueryParams 32 32 input: HandlerInput 33 33 req: express.Request 34 34 res: express.Response 35 - }) => Promise<HandlerOutput> | HandlerOutput 35 + } 36 + export type Handler<HA extends HandlerAuth = never> = ( 37 + ctx: HandlerReqCtx<HA>, 38 + ) => Promise<HandlerOutput> | HandlerOutput
+6 -2
src/lexicon/types/app/bsky/notification/getUnreadCount.ts
··· 24 24 export interface HandlerSuccess { 25 25 encoding: 'application/json' 26 26 body: OutputSchema 27 + headers?: { [key: string]: string } 27 28 } 28 29 29 30 export interface HandlerError { ··· 32 33 } 33 34 34 35 export type HandlerOutput = HandlerError | HandlerSuccess 35 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 36 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 36 37 auth: HA 37 38 params: QueryParams 38 39 input: HandlerInput 39 40 req: express.Request 40 41 res: express.Response 41 - }) => Promise<HandlerOutput> | HandlerOutput 42 + } 43 + export type Handler<HA extends HandlerAuth = never> = ( 44 + ctx: HandlerReqCtx<HA>, 45 + ) => Promise<HandlerOutput> | HandlerOutput
+6 -2
src/lexicon/types/app/bsky/notification/listNotifications.ts
··· 29 29 export interface HandlerSuccess { 30 30 encoding: 'application/json' 31 31 body: OutputSchema 32 + headers?: { [key: string]: string } 32 33 } 33 34 34 35 export interface HandlerError { ··· 37 38 } 38 39 39 40 export type HandlerOutput = HandlerError | HandlerSuccess 40 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 41 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 41 42 auth: HA 42 43 params: QueryParams 43 44 input: HandlerInput 44 45 req: express.Request 45 46 res: express.Response 46 - }) => Promise<HandlerOutput> | HandlerOutput 47 + } 48 + export type Handler<HA extends HandlerAuth = never> = ( 49 + ctx: HandlerReqCtx<HA>, 50 + ) => Promise<HandlerOutput> | HandlerOutput 47 51 48 52 export interface Notification { 49 53 uri: string
+5 -2
src/lexicon/types/app/bsky/notification/updateSeen.ts
··· 26 26 } 27 27 28 28 export type HandlerOutput = HandlerError | void 29 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 29 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 30 30 auth: HA 31 31 params: QueryParams 32 32 input: HandlerInput 33 33 req: express.Request 34 34 res: express.Response 35 - }) => Promise<HandlerOutput> | HandlerOutput 35 + } 36 + export type Handler<HA extends HandlerAuth = never> = ( 37 + ctx: HandlerReqCtx<HA>, 38 + ) => Promise<HandlerOutput> | HandlerOutput
+17 -1
src/lexicon/types/app/bsky/richtext/facet.ts
··· 8 8 9 9 export interface Main { 10 10 index: ByteSlice 11 - features: (Mention | Link | { $type: string; [k: string]: unknown })[] 11 + features: (Mention | Link | Tag | { $type: string; [k: string]: unknown })[] 12 12 [k: string]: unknown 13 13 } 14 14 ··· 59 59 60 60 export function validateLink(v: unknown): ValidationResult { 61 61 return lexicons.validate('app.bsky.richtext.facet#link', v) 62 + } 63 + 64 + /** A hashtag. */ 65 + export interface Tag { 66 + tag: string 67 + [k: string]: unknown 68 + } 69 + 70 + export function isTag(v: unknown): v is Tag { 71 + return ( 72 + isObj(v) && hasProp(v, '$type') && v.$type === 'app.bsky.richtext.facet#tag' 73 + ) 74 + } 75 + 76 + export function validateTag(v: unknown): ValidationResult { 77 + return lexicons.validate('app.bsky.richtext.facet#tag', v) 62 78 } 63 79 64 80 /** A text segment. Start is inclusive, end is exclusive. Indices are for utf8-encoded strings. */
+41
src/lexicon/types/app/bsky/unspecced/defs.ts
··· 1 + /** 2 + * GENERATED CODE - DO NOT MODIFY 3 + */ 4 + import { ValidationResult, BlobRef } from '@atproto/lexicon' 5 + import { lexicons } from '../../../../lexicons' 6 + import { isObj, hasProp } from '../../../../util' 7 + import { CID } from 'multiformats/cid' 8 + 9 + export interface SkeletonSearchPost { 10 + uri: string 11 + [k: string]: unknown 12 + } 13 + 14 + export function isSkeletonSearchPost(v: unknown): v is SkeletonSearchPost { 15 + return ( 16 + isObj(v) && 17 + hasProp(v, '$type') && 18 + v.$type === 'app.bsky.unspecced.defs#skeletonSearchPost' 19 + ) 20 + } 21 + 22 + export function validateSkeletonSearchPost(v: unknown): ValidationResult { 23 + return lexicons.validate('app.bsky.unspecced.defs#skeletonSearchPost', v) 24 + } 25 + 26 + export interface SkeletonSearchActor { 27 + did: string 28 + [k: string]: unknown 29 + } 30 + 31 + export function isSkeletonSearchActor(v: unknown): v is SkeletonSearchActor { 32 + return ( 33 + isObj(v) && 34 + hasProp(v, '$type') && 35 + v.$type === 'app.bsky.unspecced.defs#skeletonSearchActor' 36 + ) 37 + } 38 + 39 + export function validateSkeletonSearchActor(v: unknown): ValidationResult { 40 + return lexicons.validate('app.bsky.unspecced.defs#skeletonSearchActor', v) 41 + }
+6 -2
src/lexicon/types/app/bsky/unspecced/getPopular.ts
··· 28 28 export interface HandlerSuccess { 29 29 encoding: 'application/json' 30 30 body: OutputSchema 31 + headers?: { [key: string]: string } 31 32 } 32 33 33 34 export interface HandlerError { ··· 36 37 } 37 38 38 39 export type HandlerOutput = HandlerError | HandlerSuccess 39 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 40 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 40 41 auth: HA 41 42 params: QueryParams 42 43 input: HandlerInput 43 44 req: express.Request 44 45 res: express.Response 45 - }) => Promise<HandlerOutput> | HandlerOutput 46 + } 47 + export type Handler<HA extends HandlerAuth = never> = ( 48 + ctx: HandlerReqCtx<HA>, 49 + ) => Promise<HandlerOutput> | HandlerOutput
+49
src/lexicon/types/app/bsky/unspecced/getPopularFeedGenerators.ts
··· 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 } from '@atproto/xrpc-server' 10 + import * as AppBskyFeedDefs from '../feed/defs' 11 + 12 + export interface QueryParams { 13 + limit: number 14 + cursor?: string 15 + query?: string 16 + } 17 + 18 + export type InputSchema = undefined 19 + 20 + export interface OutputSchema { 21 + cursor?: string 22 + feeds: AppBskyFeedDefs.GeneratorView[] 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 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
+49
src/lexicon/types/app/bsky/unspecced/getTimelineSkeleton.ts
··· 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 } from '@atproto/xrpc-server' 10 + import * as AppBskyFeedDefs from '../feed/defs' 11 + 12 + export interface QueryParams { 13 + limit: number 14 + cursor?: string 15 + } 16 + 17 + export type InputSchema = undefined 18 + 19 + export interface OutputSchema { 20 + cursor?: string 21 + feed: AppBskyFeedDefs.SkeletonFeedPost[] 22 + [k: string]: unknown 23 + } 24 + 25 + export type HandlerInput = undefined 26 + 27 + export interface HandlerSuccess { 28 + encoding: 'application/json' 29 + body: OutputSchema 30 + headers?: { [key: string]: string } 31 + } 32 + 33 + export interface HandlerError { 34 + status: number 35 + message?: string 36 + error?: 'UnknownFeed' 37 + } 38 + 39 + export type HandlerOutput = HandlerError | HandlerSuccess 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
+56
src/lexicon/types/app/bsky/unspecced/searchActorsSkeleton.ts
··· 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 } from '@atproto/xrpc-server' 10 + import * as AppBskyUnspeccedDefs from './defs' 11 + 12 + export interface QueryParams { 13 + /** search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended. For typeahead search, only simple term match is supported, not full syntax */ 14 + q: string 15 + /** if true, acts as fast/simple 'typeahead' query */ 16 + typeahead?: boolean 17 + limit: number 18 + /** optional pagination mechanism; may not necessarily allow scrolling through entire result set */ 19 + cursor?: string 20 + } 21 + 22 + export type InputSchema = undefined 23 + 24 + export interface OutputSchema { 25 + cursor?: string 26 + /** count of search hits. optional, may be rounded/truncated, and may not be possible to paginate through all hits */ 27 + hitsTotal?: number 28 + actors: AppBskyUnspeccedDefs.SkeletonSearchActor[] 29 + [k: string]: unknown 30 + } 31 + 32 + export type HandlerInput = undefined 33 + 34 + export interface HandlerSuccess { 35 + encoding: 'application/json' 36 + body: OutputSchema 37 + headers?: { [key: string]: string } 38 + } 39 + 40 + export interface HandlerError { 41 + status: number 42 + message?: string 43 + error?: 'BadQueryString' 44 + } 45 + 46 + export type HandlerOutput = HandlerError | HandlerSuccess 47 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 48 + auth: HA 49 + params: QueryParams 50 + input: HandlerInput 51 + req: express.Request 52 + res: express.Response 53 + } 54 + export type Handler<HA extends HandlerAuth = never> = ( 55 + ctx: HandlerReqCtx<HA>, 56 + ) => Promise<HandlerOutput> | HandlerOutput
+54
src/lexicon/types/app/bsky/unspecced/searchPostsSkeleton.ts
··· 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 } from '@atproto/xrpc-server' 10 + import * as AppBskyUnspeccedDefs from './defs' 11 + 12 + export interface QueryParams { 13 + /** search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended */ 14 + q: string 15 + limit: number 16 + /** optional pagination mechanism; may not necessarily allow scrolling through entire result set */ 17 + cursor?: string 18 + } 19 + 20 + export type InputSchema = undefined 21 + 22 + export interface OutputSchema { 23 + cursor?: string 24 + /** count of search hits. optional, may be rounded/truncated, and may not be possible to paginate through all hits */ 25 + hitsTotal?: number 26 + posts: AppBskyUnspeccedDefs.SkeletonSearchPost[] 27 + [k: string]: unknown 28 + } 29 + 30 + export type HandlerInput = undefined 31 + 32 + export interface HandlerSuccess { 33 + encoding: 'application/json' 34 + body: OutputSchema 35 + headers?: { [key: string]: string } 36 + } 37 + 38 + export interface HandlerError { 39 + status: number 40 + message?: string 41 + error?: 'BadQueryString' 42 + } 43 + 44 + export type HandlerOutput = HandlerError | HandlerSuccess 45 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 46 + auth: HA 47 + params: QueryParams 48 + input: HandlerInput 49 + req: express.Request 50 + res: express.Response 51 + } 52 + export type Handler<HA extends HandlerAuth = never> = ( 53 + ctx: HandlerReqCtx<HA>, 54 + ) => Promise<HandlerOutput> | HandlerOutput
+55 -2
src/lexicon/types/com/atproto/admin/defs.ts
··· 13 13 export interface ActionView { 14 14 id: number 15 15 action: ActionType 16 + /** Indicates how long this action was meant to be in effect before automatically expiring. */ 17 + durationInHours?: number 16 18 subject: 17 19 | RepoRef 18 20 | ComAtprotoRepoStrongRef.Main ··· 43 45 export interface ActionViewDetail { 44 46 id: number 45 47 action: ActionType 46 - subject: RepoView | RecordView | { $type: string; [k: string]: unknown } 48 + /** Indicates how long this action was meant to be in effect before automatically expiring. */ 49 + durationInHours?: number 50 + subject: 51 + | RepoView 52 + | RepoViewNotFound 53 + | RecordView 54 + | RecordViewNotFound 55 + | { $type: string; [k: string]: unknown } 47 56 subjectBlobs: BlobView[] 48 57 createLabelVals?: string[] 49 58 negateLabelVals?: string[] ··· 70 79 export interface ActionViewCurrent { 71 80 id: number 72 81 action: ActionType 82 + /** Indicates how long this action was meant to be in effect before automatically expiring. */ 83 + durationInHours?: number 73 84 [k: string]: unknown 74 85 } 75 86 ··· 124 135 id: number 125 136 reasonType: ComAtprotoModerationDefs.ReasonType 126 137 reason?: string 138 + subjectRepoHandle?: string 127 139 subject: 128 140 | RepoRef 129 141 | ComAtprotoRepoStrongRef.Main ··· 150 162 id: number 151 163 reasonType: ComAtprotoModerationDefs.ReasonType 152 164 reason?: string 153 - subject: RepoView | RecordView | { $type: string; [k: string]: unknown } 165 + subject: 166 + | RepoView 167 + | RepoViewNotFound 168 + | RecordView 169 + | RecordViewNotFound 170 + | { $type: string; [k: string]: unknown } 154 171 reportedBy: string 155 172 createdAt: string 156 173 resolvedByActions: ActionView[] ··· 178 195 moderation: Moderation 179 196 invitedBy?: ComAtprotoServerDefs.InviteCode 180 197 invitesDisabled?: boolean 198 + inviteNote?: string 181 199 [k: string]: unknown 182 200 } 183 201 ··· 204 222 invitedBy?: ComAtprotoServerDefs.InviteCode 205 223 invites?: ComAtprotoServerDefs.InviteCode[] 206 224 invitesDisabled?: boolean 225 + inviteNote?: string 207 226 [k: string]: unknown 208 227 } 209 228 ··· 219 238 return lexicons.validate('com.atproto.admin.defs#repoViewDetail', v) 220 239 } 221 240 241 + export interface RepoViewNotFound { 242 + did: string 243 + [k: string]: unknown 244 + } 245 + 246 + export function isRepoViewNotFound(v: unknown): v is RepoViewNotFound { 247 + return ( 248 + isObj(v) && 249 + hasProp(v, '$type') && 250 + v.$type === 'com.atproto.admin.defs#repoViewNotFound' 251 + ) 252 + } 253 + 254 + export function validateRepoViewNotFound(v: unknown): ValidationResult { 255 + return lexicons.validate('com.atproto.admin.defs#repoViewNotFound', v) 256 + } 257 + 222 258 export interface RepoRef { 223 259 did: string 224 260 [k: string]: unknown ··· 281 317 282 318 export function validateRecordViewDetail(v: unknown): ValidationResult { 283 319 return lexicons.validate('com.atproto.admin.defs#recordViewDetail', v) 320 + } 321 + 322 + export interface RecordViewNotFound { 323 + uri: string 324 + [k: string]: unknown 325 + } 326 + 327 + export function isRecordViewNotFound(v: unknown): v is RecordViewNotFound { 328 + return ( 329 + isObj(v) && 330 + hasProp(v, '$type') && 331 + v.$type === 'com.atproto.admin.defs#recordViewNotFound' 332 + ) 333 + } 334 + 335 + export function validateRecordViewNotFound(v: unknown): ValidationResult { 336 + return lexicons.validate('com.atproto.admin.defs#recordViewNotFound', v) 284 337 } 285 338 286 339 export interface Moderation {
+7 -2
src/lexicon/types/com/atproto/admin/disableAccountInvites.ts
··· 12 12 13 13 export interface InputSchema { 14 14 account: string 15 + /** Additionally add a note describing why the invites were disabled */ 16 + note?: string 15 17 [k: string]: unknown 16 18 } 17 19 ··· 26 28 } 27 29 28 30 export type HandlerOutput = HandlerError | void 29 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 31 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 30 32 auth: HA 31 33 params: QueryParams 32 34 input: HandlerInput 33 35 req: express.Request 34 36 res: express.Response 35 - }) => Promise<HandlerOutput> | HandlerOutput 37 + } 38 + export type Handler<HA extends HandlerAuth = never> = ( 39 + ctx: HandlerReqCtx<HA>, 40 + ) => Promise<HandlerOutput> | HandlerOutput
+5 -2
src/lexicon/types/com/atproto/admin/disableInviteCodes.ts
··· 27 27 } 28 28 29 29 export type HandlerOutput = HandlerError | void 30 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 30 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 31 31 auth: HA 32 32 params: QueryParams 33 33 input: HandlerInput 34 34 req: express.Request 35 35 res: express.Response 36 - }) => Promise<HandlerOutput> | HandlerOutput 36 + } 37 + export type Handler<HA extends HandlerAuth = never> = ( 38 + ctx: HandlerReqCtx<HA>, 39 + ) => Promise<HandlerOutput> | HandlerOutput
+7 -2
src/lexicon/types/com/atproto/admin/enableAccountInvites.ts
··· 12 12 13 13 export interface InputSchema { 14 14 account: string 15 + /** Additionally add a note describing why the invites were enabled */ 16 + note?: string 15 17 [k: string]: unknown 16 18 } 17 19 ··· 26 28 } 27 29 28 30 export type HandlerOutput = HandlerError | void 29 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 31 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 30 32 auth: HA 31 33 params: QueryParams 32 34 input: HandlerInput 33 35 req: express.Request 34 36 res: express.Response 35 - }) => Promise<HandlerOutput> | HandlerOutput 37 + } 38 + export type Handler<HA extends HandlerAuth = never> = ( 39 + ctx: HandlerReqCtx<HA>, 40 + ) => Promise<HandlerOutput> | HandlerOutput
+6 -2
src/lexicon/types/com/atproto/admin/getInviteCodes.ts
··· 28 28 export interface HandlerSuccess { 29 29 encoding: 'application/json' 30 30 body: OutputSchema 31 + headers?: { [key: string]: string } 31 32 } 32 33 33 34 export interface HandlerError { ··· 36 37 } 37 38 38 39 export type HandlerOutput = HandlerError | HandlerSuccess 39 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 40 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 40 41 auth: HA 41 42 params: QueryParams 42 43 input: HandlerInput 43 44 req: express.Request 44 45 res: express.Response 45 - }) => Promise<HandlerOutput> | HandlerOutput 46 + } 47 + export type Handler<HA extends HandlerAuth = never> = ( 48 + ctx: HandlerReqCtx<HA>, 49 + ) => Promise<HandlerOutput> | HandlerOutput
+6 -2
src/lexicon/types/com/atproto/admin/getModerationAction.ts
··· 20 20 export interface HandlerSuccess { 21 21 encoding: 'application/json' 22 22 body: OutputSchema 23 + headers?: { [key: string]: string } 23 24 } 24 25 25 26 export interface HandlerError { ··· 28 29 } 29 30 30 31 export type HandlerOutput = HandlerError | HandlerSuccess 31 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 32 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 32 33 auth: HA 33 34 params: QueryParams 34 35 input: HandlerInput 35 36 req: express.Request 36 37 res: express.Response 37 - }) => Promise<HandlerOutput> | HandlerOutput 38 + } 39 + export type Handler<HA extends HandlerAuth = never> = ( 40 + ctx: HandlerReqCtx<HA>, 41 + ) => Promise<HandlerOutput> | HandlerOutput
+6 -2
src/lexicon/types/com/atproto/admin/getModerationActions.ts
··· 28 28 export interface HandlerSuccess { 29 29 encoding: 'application/json' 30 30 body: OutputSchema 31 + headers?: { [key: string]: string } 31 32 } 32 33 33 34 export interface HandlerError { ··· 36 37 } 37 38 38 39 export type HandlerOutput = HandlerError | HandlerSuccess 39 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 40 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 40 41 auth: HA 41 42 params: QueryParams 42 43 input: HandlerInput 43 44 req: express.Request 44 45 res: express.Response 45 - }) => Promise<HandlerOutput> | HandlerOutput 46 + } 47 + export type Handler<HA extends HandlerAuth = never> = ( 48 + ctx: HandlerReqCtx<HA>, 49 + ) => Promise<HandlerOutput> | HandlerOutput
+6 -2
src/lexicon/types/com/atproto/admin/getModerationReport.ts
··· 20 20 export interface HandlerSuccess { 21 21 encoding: 'application/json' 22 22 body: OutputSchema 23 + headers?: { [key: string]: string } 23 24 } 24 25 25 26 export interface HandlerError { ··· 28 29 } 29 30 30 31 export type HandlerOutput = HandlerError | HandlerSuccess 31 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 32 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 32 33 auth: HA 33 34 params: QueryParams 34 35 input: HandlerInput 35 36 req: express.Request 36 37 res: express.Response 37 - }) => Promise<HandlerOutput> | HandlerOutput 38 + } 39 + export type Handler<HA extends HandlerAuth = never> = ( 40 + ctx: HandlerReqCtx<HA>, 41 + ) => Promise<HandlerOutput> | HandlerOutput
+13 -2
src/lexicon/types/com/atproto/admin/getModerationReports.ts
··· 11 11 12 12 export interface QueryParams { 13 13 subject?: string 14 + ignoreSubjects?: string[] 15 + /** Get all reports that were actioned by a specific moderator */ 16 + actionedBy?: string 17 + /** Filter reports made by one or more DIDs */ 18 + reporters?: string[] 14 19 resolved?: boolean 15 20 actionType?: 16 21 | 'com.atproto.admin.defs#takedown' ··· 20 25 | (string & {}) 21 26 limit: number 22 27 cursor?: string 28 + /** Reverse the order of the returned records? when true, returns reports in chronological order */ 29 + reverse?: boolean 23 30 } 24 31 25 32 export type InputSchema = undefined ··· 35 42 export interface HandlerSuccess { 36 43 encoding: 'application/json' 37 44 body: OutputSchema 45 + headers?: { [key: string]: string } 38 46 } 39 47 40 48 export interface HandlerError { ··· 43 51 } 44 52 45 53 export type HandlerOutput = HandlerError | HandlerSuccess 46 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 54 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 47 55 auth: HA 48 56 params: QueryParams 49 57 input: HandlerInput 50 58 req: express.Request 51 59 res: express.Response 52 - }) => Promise<HandlerOutput> | HandlerOutput 60 + } 61 + export type Handler<HA extends HandlerAuth = never> = ( 62 + ctx: HandlerReqCtx<HA>, 63 + ) => Promise<HandlerOutput> | HandlerOutput
+7 -2
src/lexicon/types/com/atproto/admin/getRecord.ts
··· 21 21 export interface HandlerSuccess { 22 22 encoding: 'application/json' 23 23 body: OutputSchema 24 + headers?: { [key: string]: string } 24 25 } 25 26 26 27 export interface HandlerError { 27 28 status: number 28 29 message?: string 30 + error?: 'RecordNotFound' 29 31 } 30 32 31 33 export type HandlerOutput = HandlerError | HandlerSuccess 32 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 34 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 33 35 auth: HA 34 36 params: QueryParams 35 37 input: HandlerInput 36 38 req: express.Request 37 39 res: express.Response 38 - }) => Promise<HandlerOutput> | HandlerOutput 40 + } 41 + export type Handler<HA extends HandlerAuth = never> = ( 42 + ctx: HandlerReqCtx<HA>, 43 + ) => Promise<HandlerOutput> | HandlerOutput
+7 -2
src/lexicon/types/com/atproto/admin/getRepo.ts
··· 20 20 export interface HandlerSuccess { 21 21 encoding: 'application/json' 22 22 body: OutputSchema 23 + headers?: { [key: string]: string } 23 24 } 24 25 25 26 export interface HandlerError { 26 27 status: number 27 28 message?: string 29 + error?: 'RepoNotFound' 28 30 } 29 31 30 32 export type HandlerOutput = HandlerError | HandlerSuccess 31 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 33 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 32 34 auth: HA 33 35 params: QueryParams 34 36 input: HandlerInput 35 37 req: express.Request 36 38 res: express.Response 37 - }) => Promise<HandlerOutput> | HandlerOutput 39 + } 40 + export type Handler<HA extends HandlerAuth = never> = ( 41 + ctx: HandlerReqCtx<HA>, 42 + ) => Promise<HandlerOutput> | HandlerOutput
+6 -2
src/lexicon/types/com/atproto/admin/resolveModerationReports.ts
··· 28 28 export interface HandlerSuccess { 29 29 encoding: 'application/json' 30 30 body: OutputSchema 31 + headers?: { [key: string]: string } 31 32 } 32 33 33 34 export interface HandlerError { ··· 36 37 } 37 38 38 39 export type HandlerOutput = HandlerError | HandlerSuccess 39 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 40 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 40 41 auth: HA 41 42 params: QueryParams 42 43 input: HandlerInput 43 44 req: express.Request 44 45 res: express.Response 45 - }) => Promise<HandlerOutput> | HandlerOutput 46 + } 47 + export type Handler<HA extends HandlerAuth = never> = ( 48 + ctx: HandlerReqCtx<HA>, 49 + ) => Promise<HandlerOutput> | HandlerOutput
+6 -2
src/lexicon/types/com/atproto/admin/reverseModerationAction.ts
··· 28 28 export interface HandlerSuccess { 29 29 encoding: 'application/json' 30 30 body: OutputSchema 31 + headers?: { [key: string]: string } 31 32 } 32 33 33 34 export interface HandlerError { ··· 36 37 } 37 38 38 39 export type HandlerOutput = HandlerError | HandlerSuccess 39 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 40 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 40 41 auth: HA 41 42 params: QueryParams 42 43 input: HandlerInput 43 44 req: express.Request 44 45 res: express.Response 45 - }) => Promise<HandlerOutput> | HandlerOutput 46 + } 47 + export type Handler<HA extends HandlerAuth = never> = ( 48 + ctx: HandlerReqCtx<HA>, 49 + ) => Promise<HandlerOutput> | HandlerOutput
+8 -2
src/lexicon/types/com/atproto/admin/searchRepos.ts
··· 10 10 import * as ComAtprotoAdminDefs from './defs' 11 11 12 12 export interface QueryParams { 13 + /** DEPRECATED: use 'q' instead */ 13 14 term?: string 15 + q?: string 14 16 invitedBy?: string 15 17 limit: number 16 18 cursor?: string ··· 29 31 export interface HandlerSuccess { 30 32 encoding: 'application/json' 31 33 body: OutputSchema 34 + headers?: { [key: string]: string } 32 35 } 33 36 34 37 export interface HandlerError { ··· 37 40 } 38 41 39 42 export type HandlerOutput = HandlerError | HandlerSuccess 40 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 43 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 41 44 auth: HA 42 45 params: QueryParams 43 46 input: HandlerInput 44 47 req: express.Request 45 48 res: express.Response 46 - }) => Promise<HandlerOutput> | HandlerOutput 49 + } 50 + export type Handler<HA extends HandlerAuth = never> = ( 51 + ctx: HandlerReqCtx<HA>, 52 + ) => Promise<HandlerOutput> | HandlerOutput
+51
src/lexicon/types/com/atproto/admin/sendEmail.ts
··· 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 } from '@atproto/xrpc-server' 10 + 11 + export interface QueryParams {} 12 + 13 + export interface InputSchema { 14 + recipientDid: string 15 + content: string 16 + subject?: string 17 + [k: string]: unknown 18 + } 19 + 20 + export interface OutputSchema { 21 + sent: boolean 22 + [k: string]: unknown 23 + } 24 + 25 + export interface HandlerInput { 26 + encoding: 'application/json' 27 + body: InputSchema 28 + } 29 + 30 + export interface HandlerSuccess { 31 + encoding: 'application/json' 32 + body: OutputSchema 33 + headers?: { [key: string]: string } 34 + } 35 + 36 + export interface HandlerError { 37 + status: number 38 + message?: string 39 + } 40 + 41 + export type HandlerOutput = HandlerError | HandlerSuccess 42 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 43 + auth: HA 44 + params: QueryParams 45 + input: HandlerInput 46 + req: express.Request 47 + res: express.Response 48 + } 49 + export type Handler<HA extends HandlerAuth = never> = ( 50 + ctx: HandlerReqCtx<HA>, 51 + ) => Promise<HandlerOutput> | HandlerOutput
+8 -2
src/lexicon/types/com/atproto/admin/takeModerationAction.ts
··· 26 26 createLabelVals?: string[] 27 27 negateLabelVals?: string[] 28 28 reason: string 29 + /** Indicates how long this action was meant to be in effect before automatically expiring. */ 30 + durationInHours?: number 29 31 createdBy: string 30 32 [k: string]: unknown 31 33 } ··· 40 42 export interface HandlerSuccess { 41 43 encoding: 'application/json' 42 44 body: OutputSchema 45 + headers?: { [key: string]: string } 43 46 } 44 47 45 48 export interface HandlerError { ··· 49 52 } 50 53 51 54 export type HandlerOutput = HandlerError | HandlerSuccess 52 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 55 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 53 56 auth: HA 54 57 params: QueryParams 55 58 input: HandlerInput 56 59 req: express.Request 57 60 res: express.Response 58 - }) => Promise<HandlerOutput> | HandlerOutput 61 + } 62 + export type Handler<HA extends HandlerAuth = never> = ( 63 + ctx: HandlerReqCtx<HA>, 64 + ) => Promise<HandlerOutput> | HandlerOutput
+5 -2
src/lexicon/types/com/atproto/admin/updateAccountEmail.ts
··· 28 28 } 29 29 30 30 export type HandlerOutput = HandlerError | void 31 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 31 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 32 32 auth: HA 33 33 params: QueryParams 34 34 input: HandlerInput 35 35 req: express.Request 36 36 res: express.Response 37 - }) => Promise<HandlerOutput> | HandlerOutput 37 + } 38 + export type Handler<HA extends HandlerAuth = never> = ( 39 + ctx: HandlerReqCtx<HA>, 40 + ) => Promise<HandlerOutput> | HandlerOutput
+5 -2
src/lexicon/types/com/atproto/admin/updateAccountHandle.ts
··· 27 27 } 28 28 29 29 export type HandlerOutput = HandlerError | void 30 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 30 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 31 31 auth: HA 32 32 params: QueryParams 33 33 input: HandlerInput 34 34 req: express.Request 35 35 res: express.Response 36 - }) => Promise<HandlerOutput> | HandlerOutput 36 + } 37 + export type Handler<HA extends HandlerAuth = never> = ( 38 + ctx: HandlerReqCtx<HA>, 39 + ) => Promise<HandlerOutput> | HandlerOutput
+8 -4
src/lexicon/types/com/atproto/identity/resolveHandle.ts
··· 9 9 import { HandlerAuth } from '@atproto/xrpc-server' 10 10 11 11 export interface QueryParams { 12 - /** The handle to resolve. If not supplied, will resolve the host's own handle. */ 13 - handle?: string 12 + /** The handle to resolve. */ 13 + handle: string 14 14 } 15 15 16 16 export type InputSchema = undefined ··· 25 25 export interface HandlerSuccess { 26 26 encoding: 'application/json' 27 27 body: OutputSchema 28 + headers?: { [key: string]: string } 28 29 } 29 30 30 31 export interface HandlerError { ··· 33 34 } 34 35 35 36 export type HandlerOutput = HandlerError | HandlerSuccess 36 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 37 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 37 38 auth: HA 38 39 params: QueryParams 39 40 input: HandlerInput 40 41 req: express.Request 41 42 res: express.Response 42 - }) => Promise<HandlerOutput> | HandlerOutput 43 + } 44 + export type Handler<HA extends HandlerAuth = never> = ( 45 + ctx: HandlerReqCtx<HA>, 46 + ) => Promise<HandlerOutput> | HandlerOutput
+5 -2
src/lexicon/types/com/atproto/identity/updateHandle.ts
··· 26 26 } 27 27 28 28 export type HandlerOutput = HandlerError | void 29 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 29 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 30 30 auth: HA 31 31 params: QueryParams 32 32 input: HandlerInput 33 33 req: express.Request 34 34 res: express.Response 35 - }) => Promise<HandlerOutput> | HandlerOutput 35 + } 36 + export type Handler<HA extends HandlerAuth = never> = ( 37 + ctx: HandlerReqCtx<HA>, 38 + ) => Promise<HandlerOutput> | HandlerOutput
+37
src/lexicon/types/com/atproto/label/defs.ts
··· 34 34 export function validateLabel(v: unknown): ValidationResult { 35 35 return lexicons.validate('com.atproto.label.defs#label', v) 36 36 } 37 + 38 + /** Metadata tags on an atproto record, published by the author within the record. */ 39 + export interface SelfLabels { 40 + values: SelfLabel[] 41 + [k: string]: unknown 42 + } 43 + 44 + export function isSelfLabels(v: unknown): v is SelfLabels { 45 + return ( 46 + isObj(v) && 47 + hasProp(v, '$type') && 48 + v.$type === 'com.atproto.label.defs#selfLabels' 49 + ) 50 + } 51 + 52 + export function validateSelfLabels(v: unknown): ValidationResult { 53 + return lexicons.validate('com.atproto.label.defs#selfLabels', v) 54 + } 55 + 56 + /** Metadata tag on an atproto record, published by the author within the record. Note -- schemas should use #selfLabels, not #selfLabel. */ 57 + export interface SelfLabel { 58 + /** the short string name of the value or type of this label */ 59 + val: string 60 + [k: string]: unknown 61 + } 62 + 63 + export function isSelfLabel(v: unknown): v is SelfLabel { 64 + return ( 65 + isObj(v) && 66 + hasProp(v, '$type') && 67 + v.$type === 'com.atproto.label.defs#selfLabel' 68 + ) 69 + } 70 + 71 + export function validateSelfLabel(v: unknown): ValidationResult { 72 + return lexicons.validate('com.atproto.label.defs#selfLabel', v) 73 + }
+6 -2
src/lexicon/types/com/atproto/label/queryLabels.ts
··· 31 31 export interface HandlerSuccess { 32 32 encoding: 'application/json' 33 33 body: OutputSchema 34 + headers?: { [key: string]: string } 34 35 } 35 36 36 37 export interface HandlerError { ··· 39 40 } 40 41 41 42 export type HandlerOutput = HandlerError | HandlerSuccess 42 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 43 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 43 44 auth: HA 44 45 params: QueryParams 45 46 input: HandlerInput 46 47 req: express.Request 47 48 res: express.Response 48 - }) => Promise<HandlerOutput> | HandlerOutput 49 + } 50 + export type Handler<HA extends HandlerAuth = never> = ( 51 + ctx: HandlerReqCtx<HA>, 52 + ) => Promise<HandlerOutput> | HandlerOutput
+5 -2
src/lexicon/types/com/atproto/label/subscribeLabels.ts
··· 20 20 | { $type: string; [k: string]: unknown } 21 21 export type HandlerError = ErrorFrame<'FutureCursor'> 22 22 export type HandlerOutput = HandlerError | OutputSchema 23 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 23 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 24 24 auth: HA 25 25 params: QueryParams 26 26 req: IncomingMessage 27 27 signal: AbortSignal 28 - }) => AsyncIterable<HandlerOutput> 28 + } 29 + export type Handler<HA extends HandlerAuth = never> = ( 30 + ctx: HandlerReqCtx<HA>, 31 + ) => AsyncIterable<HandlerOutput> 29 32 30 33 export interface Labels { 31 34 seq: number
+6 -2
src/lexicon/types/com/atproto/moderation/createReport.ts
··· 44 44 export interface HandlerSuccess { 45 45 encoding: 'application/json' 46 46 body: OutputSchema 47 + headers?: { [key: string]: string } 47 48 } 48 49 49 50 export interface HandlerError { ··· 52 53 } 53 54 54 55 export type HandlerOutput = HandlerError | HandlerSuccess 55 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 56 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 56 57 auth: HA 57 58 params: QueryParams 58 59 input: HandlerInput 59 60 req: express.Request 60 61 res: express.Response 61 - }) => Promise<HandlerOutput> | HandlerOutput 62 + } 63 + export type Handler<HA extends HandlerAuth = never> = ( 64 + ctx: HandlerReqCtx<HA>, 65 + ) => Promise<HandlerOutput> | HandlerOutput
+1 -1
src/lexicon/types/com/atproto/moderation/defs.ts
··· 21 21 export const REASONVIOLATION = 'com.atproto.moderation.defs#reasonViolation' 22 22 /** Misleading identity, affiliation, or content */ 23 23 export const REASONMISLEADING = 'com.atproto.moderation.defs#reasonMisleading' 24 - /** Unwanted or mis-labeled sexual content */ 24 + /** Unwanted or mislabeled sexual content */ 25 25 export const REASONSEXUAL = 'com.atproto.moderation.defs#reasonSexual' 26 26 /** Rude, harassing, explicit, or otherwise unwelcoming behavior */ 27 27 export const REASONRUDE = 'com.atproto.moderation.defs#reasonRude'
+5 -2
src/lexicon/types/com/atproto/repo/applyWrites.ts
··· 32 32 } 33 33 34 34 export type HandlerOutput = HandlerError | void 35 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 35 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 36 36 auth: HA 37 37 params: QueryParams 38 38 input: HandlerInput 39 39 req: express.Request 40 40 res: express.Response 41 - }) => Promise<HandlerOutput> | HandlerOutput 41 + } 42 + export type Handler<HA extends HandlerAuth = never> = ( 43 + ctx: HandlerReqCtx<HA>, 44 + ) => Promise<HandlerOutput> | HandlerOutput 42 45 43 46 /** Create a new record. */ 44 47 export interface Create {
+6 -2
src/lexicon/types/com/atproto/repo/createRecord.ts
··· 40 40 export interface HandlerSuccess { 41 41 encoding: 'application/json' 42 42 body: OutputSchema 43 + headers?: { [key: string]: string } 43 44 } 44 45 45 46 export interface HandlerError { ··· 49 50 } 50 51 51 52 export type HandlerOutput = HandlerError | HandlerSuccess 52 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 53 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 53 54 auth: HA 54 55 params: QueryParams 55 56 input: HandlerInput 56 57 req: express.Request 57 58 res: express.Response 58 - }) => Promise<HandlerOutput> | HandlerOutput 59 + } 60 + export type Handler<HA extends HandlerAuth = never> = ( 61 + ctx: HandlerReqCtx<HA>, 62 + ) => Promise<HandlerOutput> | HandlerOutput
+5 -2
src/lexicon/types/com/atproto/repo/deleteRecord.ts
··· 36 36 } 37 37 38 38 export type HandlerOutput = HandlerError | void 39 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 39 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 40 40 auth: HA 41 41 params: QueryParams 42 42 input: HandlerInput 43 43 req: express.Request 44 44 res: express.Response 45 - }) => Promise<HandlerOutput> | HandlerOutput 45 + } 46 + export type Handler<HA extends HandlerAuth = never> = ( 47 + ctx: HandlerReqCtx<HA>, 48 + ) => Promise<HandlerOutput> | HandlerOutput
+6 -2
src/lexicon/types/com/atproto/repo/describeRepo.ts
··· 29 29 export interface HandlerSuccess { 30 30 encoding: 'application/json' 31 31 body: OutputSchema 32 + headers?: { [key: string]: string } 32 33 } 33 34 34 35 export interface HandlerError { ··· 37 38 } 38 39 39 40 export type HandlerOutput = HandlerError | HandlerSuccess 40 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 41 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 41 42 auth: HA 42 43 params: QueryParams 43 44 input: HandlerInput 44 45 req: express.Request 45 46 res: express.Response 46 - }) => Promise<HandlerOutput> | HandlerOutput 47 + } 48 + export type Handler<HA extends HandlerAuth = never> = ( 49 + ctx: HandlerReqCtx<HA>, 50 + ) => Promise<HandlerOutput> | HandlerOutput
+6 -2
src/lexicon/types/com/atproto/repo/getRecord.ts
··· 33 33 export interface HandlerSuccess { 34 34 encoding: 'application/json' 35 35 body: OutputSchema 36 + headers?: { [key: string]: string } 36 37 } 37 38 38 39 export interface HandlerError { ··· 41 42 } 42 43 43 44 export type HandlerOutput = HandlerError | HandlerSuccess 44 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 45 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 45 46 auth: HA 46 47 params: QueryParams 47 48 input: HandlerInput 48 49 req: express.Request 49 50 res: express.Response 50 - }) => Promise<HandlerOutput> | HandlerOutput 51 + } 52 + export type Handler<HA extends HandlerAuth = never> = ( 53 + ctx: HandlerReqCtx<HA>, 54 + ) => Promise<HandlerOutput> | HandlerOutput
+6 -2
src/lexicon/types/com/atproto/repo/listRecords.ts
··· 37 37 export interface HandlerSuccess { 38 38 encoding: 'application/json' 39 39 body: OutputSchema 40 + headers?: { [key: string]: string } 40 41 } 41 42 42 43 export interface HandlerError { ··· 45 46 } 46 47 47 48 export type HandlerOutput = HandlerError | HandlerSuccess 48 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 49 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 49 50 auth: HA 50 51 params: QueryParams 51 52 input: HandlerInput 52 53 req: express.Request 53 54 res: express.Response 54 - }) => Promise<HandlerOutput> | HandlerOutput 55 + } 56 + export type Handler<HA extends HandlerAuth = never> = ( 57 + ctx: HandlerReqCtx<HA>, 58 + ) => Promise<HandlerOutput> | HandlerOutput 55 59 56 60 export interface Record { 57 61 uri: string
+6 -2
src/lexicon/types/com/atproto/repo/putRecord.ts
··· 42 42 export interface HandlerSuccess { 43 43 encoding: 'application/json' 44 44 body: OutputSchema 45 + headers?: { [key: string]: string } 45 46 } 46 47 47 48 export interface HandlerError { ··· 51 52 } 52 53 53 54 export type HandlerOutput = HandlerError | HandlerSuccess 54 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 55 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 55 56 auth: HA 56 57 params: QueryParams 57 58 input: HandlerInput 58 59 req: express.Request 59 60 res: express.Response 60 - }) => Promise<HandlerOutput> | HandlerOutput 61 + } 62 + export type Handler<HA extends HandlerAuth = never> = ( 63 + ctx: HandlerReqCtx<HA>, 64 + ) => Promise<HandlerOutput> | HandlerOutput
+9 -7
src/lexicon/types/com/atproto/repo/rebaseRepo.ts src/lexicon/types/app/bsky/notification/registerPush.ts
··· 11 11 export interface QueryParams {} 12 12 13 13 export interface InputSchema { 14 - /** The handle or DID of the repo. */ 15 - repo: string 16 - /** Compare and swap with the previous commit by cid. */ 17 - swapCommit?: string 14 + serviceDid: string 15 + token: string 16 + platform: 'ios' | 'android' | 'web' | (string & {}) 17 + appId: string 18 18 [k: string]: unknown 19 19 } 20 20 ··· 26 26 export interface HandlerError { 27 27 status: number 28 28 message?: string 29 - error?: 'InvalidSwap' 30 29 } 31 30 32 31 export type HandlerOutput = HandlerError | void 33 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 32 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 34 33 auth: HA 35 34 params: QueryParams 36 35 input: HandlerInput 37 36 req: express.Request 38 37 res: express.Response 39 - }) => Promise<HandlerOutput> | HandlerOutput 38 + } 39 + export type Handler<HA extends HandlerAuth = never> = ( 40 + ctx: HandlerReqCtx<HA>, 41 + ) => Promise<HandlerOutput> | HandlerOutput
+6 -2
src/lexicon/types/com/atproto/repo/uploadBlob.ts
··· 26 26 export interface HandlerSuccess { 27 27 encoding: 'application/json' 28 28 body: OutputSchema 29 + headers?: { [key: string]: string } 29 30 } 30 31 31 32 export interface HandlerError { ··· 34 35 } 35 36 36 37 export type HandlerOutput = HandlerError | HandlerSuccess 37 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 38 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 38 39 auth: HA 39 40 params: QueryParams 40 41 input: HandlerInput 41 42 req: express.Request 42 43 res: express.Response 43 - }) => Promise<HandlerOutput> | HandlerOutput 44 + } 45 + export type Handler<HA extends HandlerAuth = never> = ( 46 + ctx: HandlerReqCtx<HA>, 47 + ) => Promise<HandlerOutput> | HandlerOutput
+6 -2
src/lexicon/types/com/atproto/server/createAccount.ts
··· 36 36 export interface HandlerSuccess { 37 37 encoding: 'application/json' 38 38 body: OutputSchema 39 + headers?: { [key: string]: string } 39 40 } 40 41 41 42 export interface HandlerError { ··· 52 53 } 53 54 54 55 export type HandlerOutput = HandlerError | HandlerSuccess 55 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 56 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 56 57 auth: HA 57 58 params: QueryParams 58 59 input: HandlerInput 59 60 req: express.Request 60 61 res: express.Response 61 - }) => Promise<HandlerOutput> | HandlerOutput 62 + } 63 + export type Handler<HA extends HandlerAuth = never> = ( 64 + ctx: HandlerReqCtx<HA>, 65 + ) => Promise<HandlerOutput> | HandlerOutput
+6 -2
src/lexicon/types/com/atproto/server/createAppPassword.ts
··· 25 25 export interface HandlerSuccess { 26 26 encoding: 'application/json' 27 27 body: OutputSchema 28 + headers?: { [key: string]: string } 28 29 } 29 30 30 31 export interface HandlerError { ··· 34 35 } 35 36 36 37 export type HandlerOutput = HandlerError | HandlerSuccess 37 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 38 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 38 39 auth: HA 39 40 params: QueryParams 40 41 input: HandlerInput 41 42 req: express.Request 42 43 res: express.Response 43 - }) => Promise<HandlerOutput> | HandlerOutput 44 + } 45 + export type Handler<HA extends HandlerAuth = never> = ( 46 + ctx: HandlerReqCtx<HA>, 47 + ) => Promise<HandlerOutput> | HandlerOutput 44 48 45 49 export interface AppPassword { 46 50 name: string
+6 -2
src/lexicon/types/com/atproto/server/createInviteCode.ts
··· 29 29 export interface HandlerSuccess { 30 30 encoding: 'application/json' 31 31 body: OutputSchema 32 + headers?: { [key: string]: string } 32 33 } 33 34 34 35 export interface HandlerError { ··· 37 38 } 38 39 39 40 export type HandlerOutput = HandlerError | HandlerSuccess 40 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 41 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 41 42 auth: HA 42 43 params: QueryParams 43 44 input: HandlerInput 44 45 req: express.Request 45 46 res: express.Response 46 - }) => Promise<HandlerOutput> | HandlerOutput 47 + } 48 + export type Handler<HA extends HandlerAuth = never> = ( 49 + ctx: HandlerReqCtx<HA>, 50 + ) => Promise<HandlerOutput> | HandlerOutput
+6 -2
src/lexicon/types/com/atproto/server/createInviteCodes.ts
··· 30 30 export interface HandlerSuccess { 31 31 encoding: 'application/json' 32 32 body: OutputSchema 33 + headers?: { [key: string]: string } 33 34 } 34 35 35 36 export interface HandlerError { ··· 38 39 } 39 40 40 41 export type HandlerOutput = HandlerError | HandlerSuccess 41 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 42 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 42 43 auth: HA 43 44 params: QueryParams 44 45 input: HandlerInput 45 46 req: express.Request 46 47 res: express.Response 47 - }) => Promise<HandlerOutput> | HandlerOutput 48 + } 49 + export type Handler<HA extends HandlerAuth = never> = ( 50 + ctx: HandlerReqCtx<HA>, 51 + ) => Promise<HandlerOutput> | HandlerOutput 48 52 49 53 export interface AccountCodes { 50 54 account: string
+6 -2
src/lexicon/types/com/atproto/server/createSession.ts
··· 34 34 export interface HandlerSuccess { 35 35 encoding: 'application/json' 36 36 body: OutputSchema 37 + headers?: { [key: string]: string } 37 38 } 38 39 39 40 export interface HandlerError { ··· 43 44 } 44 45 45 46 export type HandlerOutput = HandlerError | HandlerSuccess 46 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 47 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 47 48 auth: HA 48 49 params: QueryParams 49 50 input: HandlerInput 50 51 req: express.Request 51 52 res: express.Response 52 - }) => Promise<HandlerOutput> | HandlerOutput 53 + } 54 + export type Handler<HA extends HandlerAuth = never> = ( 55 + ctx: HandlerReqCtx<HA>, 56 + ) => Promise<HandlerOutput> | HandlerOutput
+5 -2
src/lexicon/types/com/atproto/server/deleteAccount.ts
··· 29 29 } 30 30 31 31 export type HandlerOutput = HandlerError | void 32 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 32 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 33 33 auth: HA 34 34 params: QueryParams 35 35 input: HandlerInput 36 36 req: express.Request 37 37 res: express.Response 38 - }) => Promise<HandlerOutput> | HandlerOutput 38 + } 39 + export type Handler<HA extends HandlerAuth = never> = ( 40 + ctx: HandlerReqCtx<HA>, 41 + ) => Promise<HandlerOutput> | HandlerOutput
+5 -2
src/lexicon/types/com/atproto/server/deleteSession.ts
··· 19 19 } 20 20 21 21 export type HandlerOutput = HandlerError | void 22 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 22 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 23 23 auth: HA 24 24 params: QueryParams 25 25 input: HandlerInput 26 26 req: express.Request 27 27 res: express.Response 28 - }) => Promise<HandlerOutput> | HandlerOutput 28 + } 29 + export type Handler<HA extends HandlerAuth = never> = ( 30 + ctx: HandlerReqCtx<HA>, 31 + ) => Promise<HandlerOutput> | HandlerOutput
+6 -2
src/lexicon/types/com/atproto/server/describeServer.ts
··· 24 24 export interface HandlerSuccess { 25 25 encoding: 'application/json' 26 26 body: OutputSchema 27 + headers?: { [key: string]: string } 27 28 } 28 29 29 30 export interface HandlerError { ··· 32 33 } 33 34 34 35 export type HandlerOutput = HandlerError | HandlerSuccess 35 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 36 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 36 37 auth: HA 37 38 params: QueryParams 38 39 input: HandlerInput 39 40 req: express.Request 40 41 res: express.Response 41 - }) => Promise<HandlerOutput> | HandlerOutput 42 + } 43 + export type Handler<HA extends HandlerAuth = never> = ( 44 + ctx: HandlerReqCtx<HA>, 45 + ) => Promise<HandlerOutput> | HandlerOutput 42 46 43 47 export interface Links { 44 48 privacyPolicy?: string
+6 -2
src/lexicon/types/com/atproto/server/getAccountInviteCodes.ts
··· 26 26 export interface HandlerSuccess { 27 27 encoding: 'application/json' 28 28 body: OutputSchema 29 + headers?: { [key: string]: string } 29 30 } 30 31 31 32 export interface HandlerError { ··· 35 36 } 36 37 37 38 export type HandlerOutput = HandlerError | HandlerSuccess 38 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 39 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 39 40 auth: HA 40 41 params: QueryParams 41 42 input: HandlerInput 42 43 req: express.Request 43 44 res: express.Response 44 - }) => Promise<HandlerOutput> | HandlerOutput 45 + } 46 + export type Handler<HA extends HandlerAuth = never> = ( 47 + ctx: HandlerReqCtx<HA>, 48 + ) => Promise<HandlerOutput> | HandlerOutput
+6 -2
src/lexicon/types/com/atproto/server/getSession.ts
··· 24 24 export interface HandlerSuccess { 25 25 encoding: 'application/json' 26 26 body: OutputSchema 27 + headers?: { [key: string]: string } 27 28 } 28 29 29 30 export interface HandlerError { ··· 32 33 } 33 34 34 35 export type HandlerOutput = HandlerError | HandlerSuccess 35 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 36 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 36 37 auth: HA 37 38 params: QueryParams 38 39 input: HandlerInput 39 40 req: express.Request 40 41 res: express.Response 41 - }) => Promise<HandlerOutput> | HandlerOutput 42 + } 43 + export type Handler<HA extends HandlerAuth = never> = ( 44 + ctx: HandlerReqCtx<HA>, 45 + ) => Promise<HandlerOutput> | HandlerOutput
+6 -2
src/lexicon/types/com/atproto/server/listAppPasswords.ts
··· 22 22 export interface HandlerSuccess { 23 23 encoding: 'application/json' 24 24 body: OutputSchema 25 + headers?: { [key: string]: string } 25 26 } 26 27 27 28 export interface HandlerError { ··· 31 32 } 32 33 33 34 export type HandlerOutput = HandlerError | HandlerSuccess 34 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 35 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 35 36 auth: HA 36 37 params: QueryParams 37 38 input: HandlerInput 38 39 req: express.Request 39 40 res: express.Response 40 - }) => Promise<HandlerOutput> | HandlerOutput 41 + } 42 + export type Handler<HA extends HandlerAuth = never> = ( 43 + ctx: HandlerReqCtx<HA>, 44 + ) => Promise<HandlerOutput> | HandlerOutput 41 45 42 46 export interface AppPassword { 43 47 name: string
+6 -2
src/lexicon/types/com/atproto/server/refreshSession.ts
··· 25 25 export interface HandlerSuccess { 26 26 encoding: 'application/json' 27 27 body: OutputSchema 28 + headers?: { [key: string]: string } 28 29 } 29 30 30 31 export interface HandlerError { ··· 34 35 } 35 36 36 37 export type HandlerOutput = HandlerError | HandlerSuccess 37 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 38 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 38 39 auth: HA 39 40 params: QueryParams 40 41 input: HandlerInput 41 42 req: express.Request 42 43 res: express.Response 43 - }) => Promise<HandlerOutput> | HandlerOutput 44 + } 45 + export type Handler<HA extends HandlerAuth = never> = ( 46 + ctx: HandlerReqCtx<HA>, 47 + ) => Promise<HandlerOutput> | HandlerOutput
+5 -2
src/lexicon/types/com/atproto/server/requestAccountDelete.ts
··· 19 19 } 20 20 21 21 export type HandlerOutput = HandlerError | void 22 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 22 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 23 23 auth: HA 24 24 params: QueryParams 25 25 input: HandlerInput 26 26 req: express.Request 27 27 res: express.Response 28 - }) => Promise<HandlerOutput> | HandlerOutput 28 + } 29 + export type Handler<HA extends HandlerAuth = never> = ( 30 + ctx: HandlerReqCtx<HA>, 31 + ) => Promise<HandlerOutput> | HandlerOutput
+5 -2
src/lexicon/types/com/atproto/server/requestPasswordReset.ts
··· 26 26 } 27 27 28 28 export type HandlerOutput = HandlerError | void 29 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 29 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 30 30 auth: HA 31 31 params: QueryParams 32 32 input: HandlerInput 33 33 req: express.Request 34 34 res: express.Response 35 - }) => Promise<HandlerOutput> | HandlerOutput 35 + } 36 + export type Handler<HA extends HandlerAuth = never> = ( 37 + ctx: HandlerReqCtx<HA>, 38 + ) => Promise<HandlerOutput> | HandlerOutput
+5 -2
src/lexicon/types/com/atproto/server/resetPassword.ts
··· 28 28 } 29 29 30 30 export type HandlerOutput = HandlerError | void 31 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 31 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 32 32 auth: HA 33 33 params: QueryParams 34 34 input: HandlerInput 35 35 req: express.Request 36 36 res: express.Response 37 - }) => Promise<HandlerOutput> | HandlerOutput 37 + } 38 + export type Handler<HA extends HandlerAuth = never> = ( 39 + ctx: HandlerReqCtx<HA>, 40 + ) => Promise<HandlerOutput> | HandlerOutput
+5 -2
src/lexicon/types/com/atproto/server/revokeAppPassword.ts
··· 26 26 } 27 27 28 28 export type HandlerOutput = HandlerError | void 29 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 29 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 30 30 auth: HA 31 31 params: QueryParams 32 32 input: HandlerInput 33 33 req: express.Request 34 34 res: express.Response 35 - }) => Promise<HandlerOutput> | HandlerOutput 35 + } 36 + export type Handler<HA extends HandlerAuth = never> = ( 37 + ctx: HandlerReqCtx<HA>, 38 + ) => Promise<HandlerOutput> | HandlerOutput
+6 -2
src/lexicon/types/com/atproto/sync/getBlob.ts
··· 22 22 export interface HandlerSuccess { 23 23 encoding: '*/*' 24 24 body: Uint8Array | stream.Readable 25 + headers?: { [key: string]: string } 25 26 } 26 27 27 28 export interface HandlerError { ··· 30 31 } 31 32 32 33 export type HandlerOutput = HandlerError | HandlerSuccess 33 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 34 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 34 35 auth: HA 35 36 params: QueryParams 36 37 input: HandlerInput 37 38 req: express.Request 38 39 res: express.Response 39 - }) => Promise<HandlerOutput> | HandlerOutput 40 + } 41 + export type Handler<HA extends HandlerAuth = never> = ( 42 + ctx: HandlerReqCtx<HA>, 43 + ) => Promise<HandlerOutput> | HandlerOutput
+6 -2
src/lexicon/types/com/atproto/sync/getBlocks.ts
··· 21 21 export interface HandlerSuccess { 22 22 encoding: 'application/vnd.ipld.car' 23 23 body: Uint8Array | stream.Readable 24 + headers?: { [key: string]: string } 24 25 } 25 26 26 27 export interface HandlerError { ··· 29 30 } 30 31 31 32 export type HandlerOutput = HandlerError | HandlerSuccess 32 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 33 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 33 34 auth: HA 34 35 params: QueryParams 35 36 input: HandlerInput 36 37 req: express.Request 37 38 res: express.Response 38 - }) => Promise<HandlerOutput> | HandlerOutput 39 + } 40 + export type Handler<HA extends HandlerAuth = never> = ( 41 + ctx: HandlerReqCtx<HA>, 42 + ) => Promise<HandlerOutput> | HandlerOutput
+6 -4
src/lexicon/types/com/atproto/sync/getCheckout.ts
··· 12 12 export interface QueryParams { 13 13 /** The DID of the repo. */ 14 14 did: string 15 - /** The commit to get the checkout from. Defaults to current HEAD. */ 16 - commit?: string 17 15 } 18 16 19 17 export type InputSchema = undefined ··· 22 20 export interface HandlerSuccess { 23 21 encoding: 'application/vnd.ipld.car' 24 22 body: Uint8Array | stream.Readable 23 + headers?: { [key: string]: string } 25 24 } 26 25 27 26 export interface HandlerError { ··· 30 29 } 31 30 32 31 export type HandlerOutput = HandlerError | HandlerSuccess 33 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 32 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 34 33 auth: HA 35 34 params: QueryParams 36 35 input: HandlerInput 37 36 req: express.Request 38 37 res: express.Response 39 - }) => Promise<HandlerOutput> | HandlerOutput 38 + } 39 + export type Handler<HA extends HandlerAuth = never> = ( 40 + ctx: HandlerReqCtx<HA>, 41 + ) => Promise<HandlerOutput> | HandlerOutput
+9 -7
src/lexicon/types/com/atproto/sync/getCommitPath.ts src/lexicon/types/com/atproto/sync/getLatestCommit.ts
··· 11 11 export interface QueryParams { 12 12 /** The DID of the repo. */ 13 13 did: string 14 - /** The most recent commit */ 15 - latest?: string 16 - /** The earliest commit to start from */ 17 - earliest?: string 18 14 } 19 15 20 16 export type InputSchema = undefined 21 17 22 18 export interface OutputSchema { 23 - commits: string[] 19 + cid: string 20 + rev: string 24 21 [k: string]: unknown 25 22 } 26 23 ··· 29 26 export interface HandlerSuccess { 30 27 encoding: 'application/json' 31 28 body: OutputSchema 29 + headers?: { [key: string]: string } 32 30 } 33 31 34 32 export interface HandlerError { 35 33 status: number 36 34 message?: string 35 + error?: 'RepoNotFound' 37 36 } 38 37 39 38 export type HandlerOutput = HandlerError | HandlerSuccess 40 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 39 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 41 40 auth: HA 42 41 params: QueryParams 43 42 input: HandlerInput 44 43 req: express.Request 45 44 res: express.Response 46 - }) => Promise<HandlerOutput> | HandlerOutput 45 + } 46 + export type Handler<HA extends HandlerAuth = never> = ( 47 + ctx: HandlerReqCtx<HA>, 48 + ) => Promise<HandlerOutput> | HandlerOutput
+7 -2
src/lexicon/types/com/atproto/sync/getHead.ts
··· 25 25 export interface HandlerSuccess { 26 26 encoding: 'application/json' 27 27 body: OutputSchema 28 + headers?: { [key: string]: string } 28 29 } 29 30 30 31 export interface HandlerError { 31 32 status: number 32 33 message?: string 34 + error?: 'HeadNotFound' 33 35 } 34 36 35 37 export type HandlerOutput = HandlerError | HandlerSuccess 36 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 38 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 37 39 auth: HA 38 40 params: QueryParams 39 41 input: HandlerInput 40 42 req: express.Request 41 43 res: express.Response 42 - }) => Promise<HandlerOutput> | HandlerOutput 44 + } 45 + export type Handler<HA extends HandlerAuth = never> = ( 46 + ctx: HandlerReqCtx<HA>, 47 + ) => Promise<HandlerOutput> | HandlerOutput
+6 -2
src/lexicon/types/com/atproto/sync/getRecord.ts
··· 24 24 export interface HandlerSuccess { 25 25 encoding: 'application/vnd.ipld.car' 26 26 body: Uint8Array | stream.Readable 27 + headers?: { [key: string]: string } 27 28 } 28 29 29 30 export interface HandlerError { ··· 32 33 } 33 34 34 35 export type HandlerOutput = HandlerError | HandlerSuccess 35 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 36 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 36 37 auth: HA 37 38 params: QueryParams 38 39 input: HandlerInput 39 40 req: express.Request 40 41 res: express.Response 41 - }) => Promise<HandlerOutput> | HandlerOutput 42 + } 43 + export type Handler<HA extends HandlerAuth = never> = ( 44 + ctx: HandlerReqCtx<HA>, 45 + ) => Promise<HandlerOutput> | HandlerOutput
+8 -6
src/lexicon/types/com/atproto/sync/getRepo.ts
··· 12 12 export interface QueryParams { 13 13 /** The DID of the repo. */ 14 14 did: string 15 - /** The earliest commit in the commit range (not inclusive) */ 16 - earliest?: string 17 - /** The latest commit in the commit range (inclusive) */ 18 - latest?: string 15 + /** The revision of the repo to catch up from. */ 16 + since?: string 19 17 } 20 18 21 19 export type InputSchema = undefined ··· 24 22 export interface HandlerSuccess { 25 23 encoding: 'application/vnd.ipld.car' 26 24 body: Uint8Array | stream.Readable 25 + headers?: { [key: string]: string } 27 26 } 28 27 29 28 export interface HandlerError { ··· 32 31 } 33 32 34 33 export type HandlerOutput = HandlerError | HandlerSuccess 35 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 34 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 36 35 auth: HA 37 36 params: QueryParams 38 37 input: HandlerInput 39 38 req: express.Request 40 39 res: express.Response 41 - }) => Promise<HandlerOutput> | HandlerOutput 40 + } 41 + export type Handler<HA extends HandlerAuth = never> = ( 42 + ctx: HandlerReqCtx<HA>, 43 + ) => Promise<HandlerOutput> | HandlerOutput
+11 -6
src/lexicon/types/com/atproto/sync/listBlobs.ts
··· 11 11 export interface QueryParams { 12 12 /** The DID of the repo. */ 13 13 did: string 14 - /** The most recent commit */ 15 - latest?: string 16 - /** The earliest commit to start from */ 17 - earliest?: string 14 + /** Optional revision of the repo to list blobs since */ 15 + since?: string 16 + limit: number 17 + cursor?: string 18 18 } 19 19 20 20 export type InputSchema = undefined 21 21 22 22 export interface OutputSchema { 23 + cursor?: string 23 24 cids: string[] 24 25 [k: string]: unknown 25 26 } ··· 29 30 export interface HandlerSuccess { 30 31 encoding: 'application/json' 31 32 body: OutputSchema 33 + headers?: { [key: string]: string } 32 34 } 33 35 34 36 export interface HandlerError { ··· 37 39 } 38 40 39 41 export type HandlerOutput = HandlerError | HandlerSuccess 40 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 42 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 41 43 auth: HA 42 44 params: QueryParams 43 45 input: HandlerInput 44 46 req: express.Request 45 47 res: express.Response 46 - }) => Promise<HandlerOutput> | HandlerOutput 48 + } 49 + export type Handler<HA extends HandlerAuth = never> = ( 50 + ctx: HandlerReqCtx<HA>, 51 + ) => Promise<HandlerOutput> | HandlerOutput
+6 -2
src/lexicon/types/com/atproto/sync/listRepos.ts
··· 26 26 export interface HandlerSuccess { 27 27 encoding: 'application/json' 28 28 body: OutputSchema 29 + headers?: { [key: string]: string } 29 30 } 30 31 31 32 export interface HandlerError { ··· 34 35 } 35 36 36 37 export type HandlerOutput = HandlerError | HandlerSuccess 37 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 38 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 38 39 auth: HA 39 40 params: QueryParams 40 41 input: HandlerInput 41 42 req: express.Request 42 43 res: express.Response 43 - }) => Promise<HandlerOutput> | HandlerOutput 44 + } 45 + export type Handler<HA extends HandlerAuth = never> = ( 46 + ctx: HandlerReqCtx<HA>, 47 + ) => Promise<HandlerOutput> | HandlerOutput 44 48 45 49 export interface Repo { 46 50 did: string
+13 -5
src/lexicon/types/com/atproto/sync/notifyOfUpdate.ts
··· 8 8 import { CID } from 'multiformats/cid' 9 9 import { HandlerAuth } from '@atproto/xrpc-server' 10 10 11 - export interface QueryParams { 11 + export interface QueryParams {} 12 + 13 + export interface InputSchema { 12 14 /** Hostname of the service that is notifying of update. */ 13 15 hostname: string 16 + [k: string]: unknown 14 17 } 15 18 16 - export type InputSchema = undefined 17 - export type HandlerInput = undefined 19 + export interface HandlerInput { 20 + encoding: 'application/json' 21 + body: InputSchema 22 + } 18 23 19 24 export interface HandlerError { 20 25 status: number ··· 22 27 } 23 28 24 29 export type HandlerOutput = HandlerError | void 25 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 30 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 26 31 auth: HA 27 32 params: QueryParams 28 33 input: HandlerInput 29 34 req: express.Request 30 35 res: express.Response 31 - }) => Promise<HandlerOutput> | HandlerOutput 36 + } 37 + export type Handler<HA extends HandlerAuth = never> = ( 38 + ctx: HandlerReqCtx<HA>, 39 + ) => Promise<HandlerOutput> | HandlerOutput
+13 -5
src/lexicon/types/com/atproto/sync/requestCrawl.ts
··· 8 8 import { CID } from 'multiformats/cid' 9 9 import { HandlerAuth } from '@atproto/xrpc-server' 10 10 11 - export interface QueryParams { 11 + export interface QueryParams {} 12 + 13 + export interface InputSchema { 12 14 /** Hostname of the service that is requesting to be crawled. */ 13 15 hostname: string 16 + [k: string]: unknown 14 17 } 15 18 16 - export type InputSchema = undefined 17 - export type HandlerInput = undefined 19 + export interface HandlerInput { 20 + encoding: 'application/json' 21 + body: InputSchema 22 + } 18 23 19 24 export interface HandlerError { 20 25 status: number ··· 22 27 } 23 28 24 29 export type HandlerOutput = HandlerError | void 25 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 30 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 26 31 auth: HA 27 32 params: QueryParams 28 33 input: HandlerInput 29 34 req: express.Request 30 35 res: express.Response 31 - }) => Promise<HandlerOutput> | HandlerOutput 36 + } 37 + export type Handler<HA extends HandlerAuth = never> = ( 38 + ctx: HandlerReqCtx<HA>, 39 + ) => Promise<HandlerOutput> | HandlerOutput
+12 -4
src/lexicon/types/com/atproto/sync/subscribeRepos.ts
··· 20 20 | Tombstone 21 21 | Info 22 22 | { $type: string; [k: string]: unknown } 23 - export type HandlerError = ErrorFrame<'FutureCursor'> 23 + export type HandlerError = ErrorFrame<'FutureCursor' | 'ConsumerTooSlow'> 24 24 export type HandlerOutput = HandlerError | OutputSchema 25 - export type Handler<HA extends HandlerAuth = never> = (ctx: { 25 + export type HandlerReqCtx<HA extends HandlerAuth = never> = { 26 26 auth: HA 27 27 params: QueryParams 28 28 req: IncomingMessage 29 29 signal: AbortSignal 30 - }) => AsyncIterable<HandlerOutput> 30 + } 31 + export type Handler<HA extends HandlerAuth = never> = ( 32 + ctx: HandlerReqCtx<HA>, 33 + ) => AsyncIterable<HandlerOutput> 31 34 32 35 export interface Commit { 33 36 seq: number ··· 35 38 tooBig: boolean 36 39 repo: string 37 40 commit: CID 38 - prev: CID | null 41 + prev?: CID | null 42 + /** The rev of the emitted commit */ 43 + rev: string 44 + /** The rev of the last emitted commit from this repo */ 45 + since: string | null 39 46 /** CAR file containing relevant blocks */ 40 47 blocks: Uint8Array 41 48 ops: RepoOp[] ··· 133 140 return lexicons.validate('com.atproto.sync.subscribeRepos#info', v) 134 141 } 135 142 143 + /** A repo operation, ie a write of a single record. For creates and updates, cid is the record's CID as of this operation. For deletes, it's null. */ 136 144 export interface RepoOp { 137 145 action: 'create' | 'update' | 'delete' | (string & {}) 138 146 path: string
+1
src/subscription.ts
··· 55 55 .selectFrom('atproto_user') 56 56 .select('did') 57 57 .where('did', '=', create.author) 58 + .where('indexedAt', '<=', 'CURRENT_TIMESTAMP - INTERVAL \'3 months\'') 58 59 .execute() 59 60 if (user.length === 0) { 60 61 console.log(`!!!!! fetching profile for ${create.author}`)