diff --git a/.forgejo/workflows/test-build.yaml b/.forgejo/workflows/test-build.yaml index 40a35e831..a0c521e56 100644 --- a/.forgejo/workflows/test-build.yaml +++ b/.forgejo/workflows/test-build.yaml @@ -1,5 +1,5 @@ on: - - push + push: jobs: test-build: runs-on: docker @@ -15,19 +15,15 @@ jobs: image: redis steps: - name: Clone repository - run: git clone https://iceshrimp.dev/iceshrimp/iceshrimp.git --branch=${{ github.ref_name }} --depth=1 /iceshrimp + run: git clone https://iceshrimp.dev/iceshrimp/iceshrimp.git --branch=${{ github.ref_name }} --depth=1 . - name: Install build dependencies run: | - cd /iceshrimp cp -Tr /iceshrimp-caches/yarn .yarn yarn --immutable rm -rf /iceshrimp-caches/yarn/* && cp -Tr .yarn /iceshrimp-caches/yarn - name: Build the shrimp - run: | - cd /iceshrimp - yarn build:debug + run: yarn build:debug - name: Test the shrimp run: | - cd /iceshrimp cp .config/ci.yml .config/default.yml yarn run migrate diff --git a/.pnp.cjs b/.pnp.cjs index 987feeaf9..32ba06000 100755 --- a/.pnp.cjs +++ b/.pnp.cjs @@ -1,5 +1,6 @@ #!/usr/bin/env node /* eslint-disable */ +// @ts-nocheck "use strict"; const RAW_RUNTIME_STATE = @@ -22,8 +23,8 @@ const RAW_RUNTIME_STATE = "reference": "workspace:packages/client"\ },\ {\ - "name": "iceshrimp-js",\ - "reference": "workspace:packages/iceshrimp-js"\ + "name": "iceshrimp-sdk",\ + "reference": "workspace:packages/iceshrimp-sdk"\ },\ {\ "name": "sw",\ @@ -36,7 +37,7 @@ const RAW_RUNTIME_STATE = ["backend", ["workspace:packages/backend"]],\ ["client", ["workspace:packages/client"]],\ ["iceshrimp", ["workspace:."]],\ - ["iceshrimp-js", ["workspace:packages/iceshrimp-js"]],\ + ["iceshrimp-sdk", ["workspace:packages/iceshrimp-sdk"]],\ ["sw", ["workspace:packages/sw"]]\ ],\ "fallbackPool": [\ @@ -382,10 +383,10 @@ const RAW_RUNTIME_STATE = ],\ "linkType": "SOFT"\ }],\ - ["virtual:a95ec55e88252fb8bb2a9f05ccc4f0e7a21e2222248f9e5ee7e36cd1e168a8129d8fa78dad601ce4e39edaab068261ca7d832685f1bb996f25b6f0ebb880e1fb#npm:7.8.4", {\ - "packageLocation": "./.yarn/__virtual__/@babel-plugin-syntax-async-generators-virtual-68eac2c106/0/cache/@babel-plugin-syntax-async-generators-npm-7.8.4-d10cf993c9-7ed1c1d9b9.zip/node_modules/@babel/plugin-syntax-async-generators/",\ + ["virtual:8eba799e51a5be9cf6a50fd6cf0aa9ac844f4afa85c897ba691ffba9868328c74a1c0de1023a9e10e6af027d419b151f71931a2852ba5b66d1b38a6becf03dc0#npm:7.8.4", {\ + "packageLocation": "./.yarn/__virtual__/@babel-plugin-syntax-async-generators-virtual-d64357d5ed/0/cache/@babel-plugin-syntax-async-generators-npm-7.8.4-d10cf993c9-7ed1c1d9b9.zip/node_modules/@babel/plugin-syntax-async-generators/",\ "packageDependencies": [\ - ["@babel/plugin-syntax-async-generators", "virtual:a95ec55e88252fb8bb2a9f05ccc4f0e7a21e2222248f9e5ee7e36cd1e168a8129d8fa78dad601ce4e39edaab068261ca7d832685f1bb996f25b6f0ebb880e1fb#npm:7.8.4"],\ + ["@babel/plugin-syntax-async-generators", "virtual:8eba799e51a5be9cf6a50fd6cf0aa9ac844f4afa85c897ba691ffba9868328c74a1c0de1023a9e10e6af027d419b151f71931a2852ba5b66d1b38a6becf03dc0#npm:7.8.4"],\ ["@babel/core", "npm:7.22.9"],\ ["@babel/helper-plugin-utils", "npm:7.22.5"],\ ["@types/babel__core", "npm:7.20.1"]\ @@ -419,10 +420,10 @@ const RAW_RUNTIME_STATE = ],\ "linkType": "SOFT"\ }],\ - ["virtual:a95ec55e88252fb8bb2a9f05ccc4f0e7a21e2222248f9e5ee7e36cd1e168a8129d8fa78dad601ce4e39edaab068261ca7d832685f1bb996f25b6f0ebb880e1fb#npm:7.8.3", {\ - "packageLocation": "./.yarn/__virtual__/@babel-plugin-syntax-bigint-virtual-eaec044562/0/cache/@babel-plugin-syntax-bigint-npm-7.8.3-b05d971e6c-3a10849d83.zip/node_modules/@babel/plugin-syntax-bigint/",\ + ["virtual:8eba799e51a5be9cf6a50fd6cf0aa9ac844f4afa85c897ba691ffba9868328c74a1c0de1023a9e10e6af027d419b151f71931a2852ba5b66d1b38a6becf03dc0#npm:7.8.3", {\ + "packageLocation": "./.yarn/__virtual__/@babel-plugin-syntax-bigint-virtual-9bffd419bc/0/cache/@babel-plugin-syntax-bigint-npm-7.8.3-b05d971e6c-3a10849d83.zip/node_modules/@babel/plugin-syntax-bigint/",\ "packageDependencies": [\ - ["@babel/plugin-syntax-bigint", "virtual:a95ec55e88252fb8bb2a9f05ccc4f0e7a21e2222248f9e5ee7e36cd1e168a8129d8fa78dad601ce4e39edaab068261ca7d832685f1bb996f25b6f0ebb880e1fb#npm:7.8.3"],\ + ["@babel/plugin-syntax-bigint", "virtual:8eba799e51a5be9cf6a50fd6cf0aa9ac844f4afa85c897ba691ffba9868328c74a1c0de1023a9e10e6af027d419b151f71931a2852ba5b66d1b38a6becf03dc0#npm:7.8.3"],\ ["@babel/core", "npm:7.22.9"],\ ["@babel/helper-plugin-utils", "npm:7.22.5"],\ ["@types/babel__core", "npm:7.20.1"]\ @@ -456,10 +457,10 @@ const RAW_RUNTIME_STATE = ],\ "linkType": "SOFT"\ }],\ - ["virtual:a95ec55e88252fb8bb2a9f05ccc4f0e7a21e2222248f9e5ee7e36cd1e168a8129d8fa78dad601ce4e39edaab068261ca7d832685f1bb996f25b6f0ebb880e1fb#npm:7.12.13", {\ - "packageLocation": "./.yarn/__virtual__/@babel-plugin-syntax-class-properties-virtual-97d47fc96a/0/cache/@babel-plugin-syntax-class-properties-npm-7.12.13-002ee9d930-24f34b196d.zip/node_modules/@babel/plugin-syntax-class-properties/",\ + ["virtual:8eba799e51a5be9cf6a50fd6cf0aa9ac844f4afa85c897ba691ffba9868328c74a1c0de1023a9e10e6af027d419b151f71931a2852ba5b66d1b38a6becf03dc0#npm:7.12.13", {\ + "packageLocation": "./.yarn/__virtual__/@babel-plugin-syntax-class-properties-virtual-d7a086fe3d/0/cache/@babel-plugin-syntax-class-properties-npm-7.12.13-002ee9d930-24f34b196d.zip/node_modules/@babel/plugin-syntax-class-properties/",\ "packageDependencies": [\ - ["@babel/plugin-syntax-class-properties", "virtual:a95ec55e88252fb8bb2a9f05ccc4f0e7a21e2222248f9e5ee7e36cd1e168a8129d8fa78dad601ce4e39edaab068261ca7d832685f1bb996f25b6f0ebb880e1fb#npm:7.12.13"],\ + ["@babel/plugin-syntax-class-properties", "virtual:8eba799e51a5be9cf6a50fd6cf0aa9ac844f4afa85c897ba691ffba9868328c74a1c0de1023a9e10e6af027d419b151f71931a2852ba5b66d1b38a6becf03dc0#npm:7.12.13"],\ ["@babel/core", "npm:7.22.9"],\ ["@babel/helper-plugin-utils", "npm:7.22.5"],\ ["@types/babel__core", "npm:7.20.1"]\ @@ -516,10 +517,10 @@ const RAW_RUNTIME_STATE = ],\ "linkType": "SOFT"\ }],\ - ["virtual:a95ec55e88252fb8bb2a9f05ccc4f0e7a21e2222248f9e5ee7e36cd1e168a8129d8fa78dad601ce4e39edaab068261ca7d832685f1bb996f25b6f0ebb880e1fb#npm:7.10.4", {\ - "packageLocation": "./.yarn/__virtual__/@babel-plugin-syntax-import-meta-virtual-a8990640ee/0/cache/@babel-plugin-syntax-import-meta-npm-7.10.4-4a0a0158bc-166ac1125d.zip/node_modules/@babel/plugin-syntax-import-meta/",\ + ["virtual:8eba799e51a5be9cf6a50fd6cf0aa9ac844f4afa85c897ba691ffba9868328c74a1c0de1023a9e10e6af027d419b151f71931a2852ba5b66d1b38a6becf03dc0#npm:7.10.4", {\ + "packageLocation": "./.yarn/__virtual__/@babel-plugin-syntax-import-meta-virtual-fbbc205d57/0/cache/@babel-plugin-syntax-import-meta-npm-7.10.4-4a0a0158bc-166ac1125d.zip/node_modules/@babel/plugin-syntax-import-meta/",\ "packageDependencies": [\ - ["@babel/plugin-syntax-import-meta", "virtual:a95ec55e88252fb8bb2a9f05ccc4f0e7a21e2222248f9e5ee7e36cd1e168a8129d8fa78dad601ce4e39edaab068261ca7d832685f1bb996f25b6f0ebb880e1fb#npm:7.10.4"],\ + ["@babel/plugin-syntax-import-meta", "virtual:8eba799e51a5be9cf6a50fd6cf0aa9ac844f4afa85c897ba691ffba9868328c74a1c0de1023a9e10e6af027d419b151f71931a2852ba5b66d1b38a6becf03dc0#npm:7.10.4"],\ ["@babel/core", "npm:7.22.9"],\ ["@babel/helper-plugin-utils", "npm:7.22.5"],\ ["@types/babel__core", "npm:7.20.1"]\ @@ -553,10 +554,10 @@ const RAW_RUNTIME_STATE = ],\ "linkType": "SOFT"\ }],\ - ["virtual:a95ec55e88252fb8bb2a9f05ccc4f0e7a21e2222248f9e5ee7e36cd1e168a8129d8fa78dad601ce4e39edaab068261ca7d832685f1bb996f25b6f0ebb880e1fb#npm:7.8.3", {\ - "packageLocation": "./.yarn/__virtual__/@babel-plugin-syntax-json-strings-virtual-5be2220c6c/0/cache/@babel-plugin-syntax-json-strings-npm-7.8.3-6dc7848179-bf5aea1f31.zip/node_modules/@babel/plugin-syntax-json-strings/",\ + ["virtual:8eba799e51a5be9cf6a50fd6cf0aa9ac844f4afa85c897ba691ffba9868328c74a1c0de1023a9e10e6af027d419b151f71931a2852ba5b66d1b38a6becf03dc0#npm:7.8.3", {\ + "packageLocation": "./.yarn/__virtual__/@babel-plugin-syntax-json-strings-virtual-e46663a974/0/cache/@babel-plugin-syntax-json-strings-npm-7.8.3-6dc7848179-bf5aea1f31.zip/node_modules/@babel/plugin-syntax-json-strings/",\ "packageDependencies": [\ - ["@babel/plugin-syntax-json-strings", "virtual:a95ec55e88252fb8bb2a9f05ccc4f0e7a21e2222248f9e5ee7e36cd1e168a8129d8fa78dad601ce4e39edaab068261ca7d832685f1bb996f25b6f0ebb880e1fb#npm:7.8.3"],\ + ["@babel/plugin-syntax-json-strings", "virtual:8eba799e51a5be9cf6a50fd6cf0aa9ac844f4afa85c897ba691ffba9868328c74a1c0de1023a9e10e6af027d419b151f71931a2852ba5b66d1b38a6becf03dc0#npm:7.8.3"],\ ["@babel/core", "npm:7.22.9"],\ ["@babel/helper-plugin-utils", "npm:7.22.5"],\ ["@types/babel__core", "npm:7.20.1"]\ @@ -590,10 +591,10 @@ const RAW_RUNTIME_STATE = ],\ "linkType": "SOFT"\ }],\ - ["virtual:a95ec55e88252fb8bb2a9f05ccc4f0e7a21e2222248f9e5ee7e36cd1e168a8129d8fa78dad601ce4e39edaab068261ca7d832685f1bb996f25b6f0ebb880e1fb#npm:7.10.4", {\ - "packageLocation": "./.yarn/__virtual__/@babel-plugin-syntax-logical-assignment-operators-virtual-ca3925695e/0/cache/@babel-plugin-syntax-logical-assignment-operators-npm-7.10.4-72ae00fdf6-aff3357703.zip/node_modules/@babel/plugin-syntax-logical-assignment-operators/",\ + ["virtual:8eba799e51a5be9cf6a50fd6cf0aa9ac844f4afa85c897ba691ffba9868328c74a1c0de1023a9e10e6af027d419b151f71931a2852ba5b66d1b38a6becf03dc0#npm:7.10.4", {\ + "packageLocation": "./.yarn/__virtual__/@babel-plugin-syntax-logical-assignment-operators-virtual-f49af3dec8/0/cache/@babel-plugin-syntax-logical-assignment-operators-npm-7.10.4-72ae00fdf6-aff3357703.zip/node_modules/@babel/plugin-syntax-logical-assignment-operators/",\ "packageDependencies": [\ - ["@babel/plugin-syntax-logical-assignment-operators", "virtual:a95ec55e88252fb8bb2a9f05ccc4f0e7a21e2222248f9e5ee7e36cd1e168a8129d8fa78dad601ce4e39edaab068261ca7d832685f1bb996f25b6f0ebb880e1fb#npm:7.10.4"],\ + ["@babel/plugin-syntax-logical-assignment-operators", "virtual:8eba799e51a5be9cf6a50fd6cf0aa9ac844f4afa85c897ba691ffba9868328c74a1c0de1023a9e10e6af027d419b151f71931a2852ba5b66d1b38a6becf03dc0#npm:7.10.4"],\ ["@babel/core", "npm:7.22.9"],\ ["@babel/helper-plugin-utils", "npm:7.22.5"],\ ["@types/babel__core", "npm:7.20.1"]\ @@ -627,10 +628,10 @@ const RAW_RUNTIME_STATE = ],\ "linkType": "SOFT"\ }],\ - ["virtual:a95ec55e88252fb8bb2a9f05ccc4f0e7a21e2222248f9e5ee7e36cd1e168a8129d8fa78dad601ce4e39edaab068261ca7d832685f1bb996f25b6f0ebb880e1fb#npm:7.8.3", {\ - "packageLocation": "./.yarn/__virtual__/@babel-plugin-syntax-nullish-coalescing-operator-virtual-10c3338f54/0/cache/@babel-plugin-syntax-nullish-coalescing-operator-npm-7.8.3-8a723173b5-87aca49189.zip/node_modules/@babel/plugin-syntax-nullish-coalescing-operator/",\ + ["virtual:8eba799e51a5be9cf6a50fd6cf0aa9ac844f4afa85c897ba691ffba9868328c74a1c0de1023a9e10e6af027d419b151f71931a2852ba5b66d1b38a6becf03dc0#npm:7.8.3", {\ + "packageLocation": "./.yarn/__virtual__/@babel-plugin-syntax-nullish-coalescing-operator-virtual-5145dd1c5e/0/cache/@babel-plugin-syntax-nullish-coalescing-operator-npm-7.8.3-8a723173b5-87aca49189.zip/node_modules/@babel/plugin-syntax-nullish-coalescing-operator/",\ "packageDependencies": [\ - ["@babel/plugin-syntax-nullish-coalescing-operator", "virtual:a95ec55e88252fb8bb2a9f05ccc4f0e7a21e2222248f9e5ee7e36cd1e168a8129d8fa78dad601ce4e39edaab068261ca7d832685f1bb996f25b6f0ebb880e1fb#npm:7.8.3"],\ + ["@babel/plugin-syntax-nullish-coalescing-operator", "virtual:8eba799e51a5be9cf6a50fd6cf0aa9ac844f4afa85c897ba691ffba9868328c74a1c0de1023a9e10e6af027d419b151f71931a2852ba5b66d1b38a6becf03dc0#npm:7.8.3"],\ ["@babel/core", "npm:7.22.9"],\ ["@babel/helper-plugin-utils", "npm:7.22.5"],\ ["@types/babel__core", "npm:7.20.1"]\ @@ -664,10 +665,10 @@ const RAW_RUNTIME_STATE = ],\ "linkType": "SOFT"\ }],\ - ["virtual:a95ec55e88252fb8bb2a9f05ccc4f0e7a21e2222248f9e5ee7e36cd1e168a8129d8fa78dad601ce4e39edaab068261ca7d832685f1bb996f25b6f0ebb880e1fb#npm:7.10.4", {\ - "packageLocation": "./.yarn/__virtual__/@babel-plugin-syntax-numeric-separator-virtual-320dde8b50/0/cache/@babel-plugin-syntax-numeric-separator-npm-7.10.4-81444be605-01ec5547bd.zip/node_modules/@babel/plugin-syntax-numeric-separator/",\ + ["virtual:8eba799e51a5be9cf6a50fd6cf0aa9ac844f4afa85c897ba691ffba9868328c74a1c0de1023a9e10e6af027d419b151f71931a2852ba5b66d1b38a6becf03dc0#npm:7.10.4", {\ + "packageLocation": "./.yarn/__virtual__/@babel-plugin-syntax-numeric-separator-virtual-85700d2f67/0/cache/@babel-plugin-syntax-numeric-separator-npm-7.10.4-81444be605-01ec5547bd.zip/node_modules/@babel/plugin-syntax-numeric-separator/",\ "packageDependencies": [\ - ["@babel/plugin-syntax-numeric-separator", "virtual:a95ec55e88252fb8bb2a9f05ccc4f0e7a21e2222248f9e5ee7e36cd1e168a8129d8fa78dad601ce4e39edaab068261ca7d832685f1bb996f25b6f0ebb880e1fb#npm:7.10.4"],\ + ["@babel/plugin-syntax-numeric-separator", "virtual:8eba799e51a5be9cf6a50fd6cf0aa9ac844f4afa85c897ba691ffba9868328c74a1c0de1023a9e10e6af027d419b151f71931a2852ba5b66d1b38a6becf03dc0#npm:7.10.4"],\ ["@babel/core", "npm:7.22.9"],\ ["@babel/helper-plugin-utils", "npm:7.22.5"],\ ["@types/babel__core", "npm:7.20.1"]\ @@ -701,10 +702,10 @@ const RAW_RUNTIME_STATE = ],\ "linkType": "SOFT"\ }],\ - ["virtual:a95ec55e88252fb8bb2a9f05ccc4f0e7a21e2222248f9e5ee7e36cd1e168a8129d8fa78dad601ce4e39edaab068261ca7d832685f1bb996f25b6f0ebb880e1fb#npm:7.8.3", {\ - "packageLocation": "./.yarn/__virtual__/@babel-plugin-syntax-object-rest-spread-virtual-f49a7c2567/0/cache/@babel-plugin-syntax-object-rest-spread-npm-7.8.3-60bd05b6ae-fddcf581a5.zip/node_modules/@babel/plugin-syntax-object-rest-spread/",\ + ["virtual:8eba799e51a5be9cf6a50fd6cf0aa9ac844f4afa85c897ba691ffba9868328c74a1c0de1023a9e10e6af027d419b151f71931a2852ba5b66d1b38a6becf03dc0#npm:7.8.3", {\ + "packageLocation": "./.yarn/__virtual__/@babel-plugin-syntax-object-rest-spread-virtual-d847650e60/0/cache/@babel-plugin-syntax-object-rest-spread-npm-7.8.3-60bd05b6ae-fddcf581a5.zip/node_modules/@babel/plugin-syntax-object-rest-spread/",\ "packageDependencies": [\ - ["@babel/plugin-syntax-object-rest-spread", "virtual:a95ec55e88252fb8bb2a9f05ccc4f0e7a21e2222248f9e5ee7e36cd1e168a8129d8fa78dad601ce4e39edaab068261ca7d832685f1bb996f25b6f0ebb880e1fb#npm:7.8.3"],\ + ["@babel/plugin-syntax-object-rest-spread", "virtual:8eba799e51a5be9cf6a50fd6cf0aa9ac844f4afa85c897ba691ffba9868328c74a1c0de1023a9e10e6af027d419b151f71931a2852ba5b66d1b38a6becf03dc0#npm:7.8.3"],\ ["@babel/core", "npm:7.22.9"],\ ["@babel/helper-plugin-utils", "npm:7.22.5"],\ ["@types/babel__core", "npm:7.20.1"]\ @@ -738,10 +739,10 @@ const RAW_RUNTIME_STATE = ],\ "linkType": "SOFT"\ }],\ - ["virtual:a95ec55e88252fb8bb2a9f05ccc4f0e7a21e2222248f9e5ee7e36cd1e168a8129d8fa78dad601ce4e39edaab068261ca7d832685f1bb996f25b6f0ebb880e1fb#npm:7.8.3", {\ - "packageLocation": "./.yarn/__virtual__/@babel-plugin-syntax-optional-catch-binding-virtual-cab0369327/0/cache/@babel-plugin-syntax-optional-catch-binding-npm-7.8.3-ce337427d8-910d90e72b.zip/node_modules/@babel/plugin-syntax-optional-catch-binding/",\ + ["virtual:8eba799e51a5be9cf6a50fd6cf0aa9ac844f4afa85c897ba691ffba9868328c74a1c0de1023a9e10e6af027d419b151f71931a2852ba5b66d1b38a6becf03dc0#npm:7.8.3", {\ + "packageLocation": "./.yarn/__virtual__/@babel-plugin-syntax-optional-catch-binding-virtual-37f2abdbb1/0/cache/@babel-plugin-syntax-optional-catch-binding-npm-7.8.3-ce337427d8-910d90e72b.zip/node_modules/@babel/plugin-syntax-optional-catch-binding/",\ "packageDependencies": [\ - ["@babel/plugin-syntax-optional-catch-binding", "virtual:a95ec55e88252fb8bb2a9f05ccc4f0e7a21e2222248f9e5ee7e36cd1e168a8129d8fa78dad601ce4e39edaab068261ca7d832685f1bb996f25b6f0ebb880e1fb#npm:7.8.3"],\ + ["@babel/plugin-syntax-optional-catch-binding", "virtual:8eba799e51a5be9cf6a50fd6cf0aa9ac844f4afa85c897ba691ffba9868328c74a1c0de1023a9e10e6af027d419b151f71931a2852ba5b66d1b38a6becf03dc0#npm:7.8.3"],\ ["@babel/core", "npm:7.22.9"],\ ["@babel/helper-plugin-utils", "npm:7.22.5"],\ ["@types/babel__core", "npm:7.20.1"]\ @@ -775,10 +776,10 @@ const RAW_RUNTIME_STATE = ],\ "linkType": "SOFT"\ }],\ - ["virtual:a95ec55e88252fb8bb2a9f05ccc4f0e7a21e2222248f9e5ee7e36cd1e168a8129d8fa78dad601ce4e39edaab068261ca7d832685f1bb996f25b6f0ebb880e1fb#npm:7.8.3", {\ - "packageLocation": "./.yarn/__virtual__/@babel-plugin-syntax-optional-chaining-virtual-02d69908b4/0/cache/@babel-plugin-syntax-optional-chaining-npm-7.8.3-f3f3c79579-eef94d53a1.zip/node_modules/@babel/plugin-syntax-optional-chaining/",\ + ["virtual:8eba799e51a5be9cf6a50fd6cf0aa9ac844f4afa85c897ba691ffba9868328c74a1c0de1023a9e10e6af027d419b151f71931a2852ba5b66d1b38a6becf03dc0#npm:7.8.3", {\ + "packageLocation": "./.yarn/__virtual__/@babel-plugin-syntax-optional-chaining-virtual-f5ea9531ae/0/cache/@babel-plugin-syntax-optional-chaining-npm-7.8.3-f3f3c79579-eef94d53a1.zip/node_modules/@babel/plugin-syntax-optional-chaining/",\ "packageDependencies": [\ - ["@babel/plugin-syntax-optional-chaining", "virtual:a95ec55e88252fb8bb2a9f05ccc4f0e7a21e2222248f9e5ee7e36cd1e168a8129d8fa78dad601ce4e39edaab068261ca7d832685f1bb996f25b6f0ebb880e1fb#npm:7.8.3"],\ + ["@babel/plugin-syntax-optional-chaining", "virtual:8eba799e51a5be9cf6a50fd6cf0aa9ac844f4afa85c897ba691ffba9868328c74a1c0de1023a9e10e6af027d419b151f71931a2852ba5b66d1b38a6becf03dc0#npm:7.8.3"],\ ["@babel/core", "npm:7.22.9"],\ ["@babel/helper-plugin-utils", "npm:7.22.5"],\ ["@types/babel__core", "npm:7.20.1"]\ @@ -812,10 +813,10 @@ const RAW_RUNTIME_STATE = ],\ "linkType": "SOFT"\ }],\ - ["virtual:a95ec55e88252fb8bb2a9f05ccc4f0e7a21e2222248f9e5ee7e36cd1e168a8129d8fa78dad601ce4e39edaab068261ca7d832685f1bb996f25b6f0ebb880e1fb#npm:7.14.5", {\ - "packageLocation": "./.yarn/__virtual__/@babel-plugin-syntax-top-level-await-virtual-7ecef97e27/0/cache/@babel-plugin-syntax-top-level-await-npm-7.14.5-60a0a2e83b-bbd1a56b09.zip/node_modules/@babel/plugin-syntax-top-level-await/",\ + ["virtual:8eba799e51a5be9cf6a50fd6cf0aa9ac844f4afa85c897ba691ffba9868328c74a1c0de1023a9e10e6af027d419b151f71931a2852ba5b66d1b38a6becf03dc0#npm:7.14.5", {\ + "packageLocation": "./.yarn/__virtual__/@babel-plugin-syntax-top-level-await-virtual-799b785a9b/0/cache/@babel-plugin-syntax-top-level-await-npm-7.14.5-60a0a2e83b-bbd1a56b09.zip/node_modules/@babel/plugin-syntax-top-level-await/",\ "packageDependencies": [\ - ["@babel/plugin-syntax-top-level-await", "virtual:a95ec55e88252fb8bb2a9f05ccc4f0e7a21e2222248f9e5ee7e36cd1e168a8129d8fa78dad601ce4e39edaab068261ca7d832685f1bb996f25b6f0ebb880e1fb#npm:7.14.5"],\ + ["@babel/plugin-syntax-top-level-await", "virtual:8eba799e51a5be9cf6a50fd6cf0aa9ac844f4afa85c897ba691ffba9868328c74a1c0de1023a9e10e6af027d419b151f71931a2852ba5b66d1b38a6becf03dc0#npm:7.14.5"],\ ["@babel/core", "npm:7.22.9"],\ ["@babel/helper-plugin-utils", "npm:7.22.5"],\ ["@types/babel__core", "npm:7.20.1"]\ @@ -1311,6 +1312,16 @@ const RAW_RUNTIME_STATE = "linkType": "HARD"\ }]\ ]],\ + ["@emnapi/runtime", [\ + ["npm:1.2.0", {\ + "packageLocation": "./.yarn/cache/@emnapi-runtime-npm-1.2.0-36d2203035-c954b36493.zip/node_modules/@emnapi/runtime/",\ + "packageDependencies": [\ + ["@emnapi/runtime", "npm:1.2.0"],\ + ["tslib", "npm:2.6.2"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ ["@es-joy/jsdoccomment", [\ ["npm:0.39.4", {\ "packageLocation": "./.yarn/cache/@es-joy-jsdoccomment-npm-0.39.4-48cba32ec8-10d18c2de8.zip/node_modules/@es-joy/jsdoccomment/",\ @@ -1868,6 +1879,205 @@ const RAW_RUNTIME_STATE = "linkType": "HARD"\ }]\ ]],\ + ["@iceshrimp/summaly", [\ + ["npm:2.7.2::__archiveUrl=https%3A%2F%2Ficeshrimp.dev%2Fapi%2Fpackages%2Ficeshrimp%2Fnpm%2F%2540iceshrimp%252Fsummaly%2F-%2F2.7.2%2Fsummaly-2.7.2.tgz", {\ + "packageLocation": "./.yarn/cache/@iceshrimp-summaly-npm-2.7.2-3842079977-242d994023.zip/node_modules/@iceshrimp/summaly/",\ + "packageDependencies": [\ + ["@iceshrimp/summaly", "npm:2.7.2::__archiveUrl=https%3A%2F%2Ficeshrimp.dev%2Fapi%2Fpackages%2Ficeshrimp%2Fnpm%2F%2540iceshrimp%252Fsummaly%2F-%2F2.7.2%2Fsummaly-2.7.2.tgz"],\ + ["cheerio", "npm:0.22.0"],\ + ["debug", "virtual:3842079977b21e3811a51e616ddaf23d3927a32b69dfe473ea35a592905c8bf76bbfb0449446b099423c9c3bdf1797a94c21fffec740e12897e7ae3cebb4521e#npm:4.3.3"],\ + ["escape-regexp", "npm:0.0.1"],\ + ["got", "npm:11.8.5"],\ + ["html-entities", "npm:2.3.2"],\ + ["iconv-lite", "npm:0.6.3"],\ + ["jschardet", "npm:3.0.0"],\ + ["koa", "npm:2.13.4"],\ + ["private-ip", "npm:2.3.3"],\ + ["require-all", "npm:3.0.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@img/sharp-darwin-arm64", [\ + ["npm:0.33.4", {\ + "packageLocation": "./.yarn/unplugged/@img-sharp-darwin-arm64-npm-0.33.4-061afc6886/node_modules/@img/sharp-darwin-arm64/",\ + "packageDependencies": [\ + ["@img/sharp-darwin-arm64", "npm:0.33.4"],\ + ["@img/sharp-libvips-darwin-arm64", "npm:1.0.2"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@img/sharp-darwin-x64", [\ + ["npm:0.33.4", {\ + "packageLocation": "./.yarn/unplugged/@img-sharp-darwin-x64-npm-0.33.4-6aac8de317/node_modules/@img/sharp-darwin-x64/",\ + "packageDependencies": [\ + ["@img/sharp-darwin-x64", "npm:0.33.4"],\ + ["@img/sharp-libvips-darwin-x64", "npm:1.0.2"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@img/sharp-libvips-darwin-arm64", [\ + ["npm:1.0.2", {\ + "packageLocation": "./.yarn/unplugged/@img-sharp-libvips-darwin-arm64-npm-1.0.2-6c9ede770e/node_modules/@img/sharp-libvips-darwin-arm64/",\ + "packageDependencies": [\ + ["@img/sharp-libvips-darwin-arm64", "npm:1.0.2"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@img/sharp-libvips-darwin-x64", [\ + ["npm:1.0.2", {\ + "packageLocation": "./.yarn/unplugged/@img-sharp-libvips-darwin-x64-npm-1.0.2-01b146c37d/node_modules/@img/sharp-libvips-darwin-x64/",\ + "packageDependencies": [\ + ["@img/sharp-libvips-darwin-x64", "npm:1.0.2"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@img/sharp-libvips-linux-arm", [\ + ["npm:1.0.2", {\ + "packageLocation": "./.yarn/unplugged/@img-sharp-libvips-linux-arm-npm-1.0.2-2f8e5af7fa/node_modules/@img/sharp-libvips-linux-arm/",\ + "packageDependencies": [\ + ["@img/sharp-libvips-linux-arm", "npm:1.0.2"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@img/sharp-libvips-linux-arm64", [\ + ["npm:1.0.2", {\ + "packageLocation": "./.yarn/unplugged/@img-sharp-libvips-linux-arm64-npm-1.0.2-a3a6e66f3b/node_modules/@img/sharp-libvips-linux-arm64/",\ + "packageDependencies": [\ + ["@img/sharp-libvips-linux-arm64", "npm:1.0.2"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@img/sharp-libvips-linux-s390x", [\ + ["npm:1.0.2", {\ + "packageLocation": "./.yarn/unplugged/@img-sharp-libvips-linux-s390x-npm-1.0.2-45978c229d/node_modules/@img/sharp-libvips-linux-s390x/",\ + "packageDependencies": [\ + ["@img/sharp-libvips-linux-s390x", "npm:1.0.2"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@img/sharp-libvips-linux-x64", [\ + ["npm:1.0.2", {\ + "packageLocation": "./.yarn/unplugged/@img-sharp-libvips-linux-x64-npm-1.0.2-69e740ab3d/node_modules/@img/sharp-libvips-linux-x64/",\ + "packageDependencies": [\ + ["@img/sharp-libvips-linux-x64", "npm:1.0.2"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@img/sharp-libvips-linuxmusl-arm64", [\ + ["npm:1.0.2", {\ + "packageLocation": "./.yarn/unplugged/@img-sharp-libvips-linuxmusl-arm64-npm-1.0.2-f787a79edb/node_modules/@img/sharp-libvips-linuxmusl-arm64/",\ + "packageDependencies": [\ + ["@img/sharp-libvips-linuxmusl-arm64", "npm:1.0.2"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@img/sharp-libvips-linuxmusl-x64", [\ + ["npm:1.0.2", {\ + "packageLocation": "./.yarn/unplugged/@img-sharp-libvips-linuxmusl-x64-npm-1.0.2-e4d5858946/node_modules/@img/sharp-libvips-linuxmusl-x64/",\ + "packageDependencies": [\ + ["@img/sharp-libvips-linuxmusl-x64", "npm:1.0.2"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@img/sharp-linux-arm", [\ + ["npm:0.33.4", {\ + "packageLocation": "./.yarn/unplugged/@img-sharp-linux-arm-npm-0.33.4-11716810a3/node_modules/@img/sharp-linux-arm/",\ + "packageDependencies": [\ + ["@img/sharp-linux-arm", "npm:0.33.4"],\ + ["@img/sharp-libvips-linux-arm", "npm:1.0.2"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@img/sharp-linux-arm64", [\ + ["npm:0.33.4", {\ + "packageLocation": "./.yarn/unplugged/@img-sharp-linux-arm64-npm-0.33.4-eee77af7d4/node_modules/@img/sharp-linux-arm64/",\ + "packageDependencies": [\ + ["@img/sharp-linux-arm64", "npm:0.33.4"],\ + ["@img/sharp-libvips-linux-arm64", "npm:1.0.2"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@img/sharp-linux-s390x", [\ + ["npm:0.33.4", {\ + "packageLocation": "./.yarn/unplugged/@img-sharp-linux-s390x-npm-0.33.4-d87dc58494/node_modules/@img/sharp-linux-s390x/",\ + "packageDependencies": [\ + ["@img/sharp-linux-s390x", "npm:0.33.4"],\ + ["@img/sharp-libvips-linux-s390x", "npm:1.0.2"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@img/sharp-linux-x64", [\ + ["npm:0.33.4", {\ + "packageLocation": "./.yarn/unplugged/@img-sharp-linux-x64-npm-0.33.4-e678be5de4/node_modules/@img/sharp-linux-x64/",\ + "packageDependencies": [\ + ["@img/sharp-linux-x64", "npm:0.33.4"],\ + ["@img/sharp-libvips-linux-x64", "npm:1.0.2"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@img/sharp-linuxmusl-arm64", [\ + ["npm:0.33.4", {\ + "packageLocation": "./.yarn/unplugged/@img-sharp-linuxmusl-arm64-npm-0.33.4-c98abb8a19/node_modules/@img/sharp-linuxmusl-arm64/",\ + "packageDependencies": [\ + ["@img/sharp-linuxmusl-arm64", "npm:0.33.4"],\ + ["@img/sharp-libvips-linuxmusl-arm64", "npm:1.0.2"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@img/sharp-linuxmusl-x64", [\ + ["npm:0.33.4", {\ + "packageLocation": "./.yarn/unplugged/@img-sharp-linuxmusl-x64-npm-0.33.4-6e3f28f5de/node_modules/@img/sharp-linuxmusl-x64/",\ + "packageDependencies": [\ + ["@img/sharp-linuxmusl-x64", "npm:0.33.4"],\ + ["@img/sharp-libvips-linuxmusl-x64", "npm:1.0.2"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@img/sharp-wasm32", [\ + ["npm:0.33.4", {\ + "packageLocation": "./.yarn/unplugged/@img-sharp-wasm32-npm-0.33.4-f2b467a25b/node_modules/@img/sharp-wasm32/",\ + "packageDependencies": [\ + ["@img/sharp-wasm32", "npm:0.33.4"],\ + ["@emnapi/runtime", "npm:1.2.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@img/sharp-win32-ia32", [\ + ["npm:0.33.4", {\ + "packageLocation": "./.yarn/unplugged/@img-sharp-win32-ia32-npm-0.33.4-ac639c6571/node_modules/@img/sharp-win32-ia32/",\ + "packageDependencies": [\ + ["@img/sharp-win32-ia32", "npm:0.33.4"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@img/sharp-win32-x64", [\ + ["npm:0.33.4", {\ + "packageLocation": "./.yarn/unplugged/@img-sharp-win32-x64-npm-0.33.4-0108695db5/node_modules/@img/sharp-win32-x64/",\ + "packageDependencies": [\ + ["@img/sharp-win32-x64", "npm:0.33.4"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ ["@ioredis/commands", [\ ["npm:1.2.0", {\ "packageLocation": "./.yarn/cache/@ioredis-commands-npm-1.2.0-47541de88b-a8253c9539.zip/node_modules/@ioredis/commands/",\ @@ -1947,12 +2157,12 @@ const RAW_RUNTIME_STATE = ],\ "linkType": "SOFT"\ }],\ - ["virtual:5bad70dae6965fedb709435a1f98f6068f949c0c05d437106a92a9193b3e730d8268e7515dad25f5905ae92236992ab8fbfc7410fd0235d954a384668ad19a1c#npm:27.5.1", {\ - "packageLocation": "./.yarn/__virtual__/@jest-core-virtual-055df65b40/0/cache/@jest-core-npm-27.5.1-b2d79816b3-79eb63c319.zip/node_modules/@jest/core/",\ + ["virtual:81227f80305668d3181a7ec43341f7ade14e129495535659497e0ce90d2f1630499dd88ccccec05be3b1a1f7a54282e9375653621e2bcff51f3b95817762e7b6#npm:27.5.1", {\ + "packageLocation": "./.yarn/__virtual__/@jest-core-virtual-a255ba0597/0/cache/@jest-core-npm-27.5.1-b2d79816b3-79eb63c319.zip/node_modules/@jest/core/",\ "packageDependencies": [\ - ["@jest/core", "virtual:5bad70dae6965fedb709435a1f98f6068f949c0c05d437106a92a9193b3e730d8268e7515dad25f5905ae92236992ab8fbfc7410fd0235d954a384668ad19a1c#npm:27.5.1"],\ + ["@jest/core", "virtual:81227f80305668d3181a7ec43341f7ade14e129495535659497e0ce90d2f1630499dd88ccccec05be3b1a1f7a54282e9375653621e2bcff51f3b95817762e7b6#npm:27.5.1"],\ ["@jest/console", "npm:27.5.1"],\ - ["@jest/reporters", "virtual:055df65b400bb3e4fa3657fa6f31b584e462c668e3360eba26d93c777dff436861f1ac977e7529e5b1c04a222ce4c589badeec22e2f87ac202495072a28ceb03#npm:27.5.1"],\ + ["@jest/reporters", "virtual:a255ba05979701bcdf3b1c98495a4eb9b128fdc5198bc258e7b137a1871b9e2573296916afa02e02b7dbbcdc0ec1005f45145f2b321f716ce27d28381df68d88#npm:27.5.1"],\ ["@jest/test-result", "npm:27.5.1"],\ ["@jest/transform", "npm:27.5.1"],\ ["@jest/types", "npm:27.5.1"],\ @@ -1964,7 +2174,7 @@ const RAW_RUNTIME_STATE = ["exit", "npm:0.1.2"],\ ["graceful-fs", "npm:4.2.11"],\ ["jest-changed-files", "npm:27.5.1"],\ - ["jest-config", "virtual:055df65b400bb3e4fa3657fa6f31b584e462c668e3360eba26d93c777dff436861f1ac977e7529e5b1c04a222ce4c589badeec22e2f87ac202495072a28ceb03#npm:27.5.1"],\ + ["jest-config", "virtual:a255ba05979701bcdf3b1c98495a4eb9b128fdc5198bc258e7b137a1871b9e2573296916afa02e02b7dbbcdc0ec1005f45145f2b321f716ce27d28381df68d88#npm:27.5.1"],\ ["jest-haste-map", "npm:27.5.1"],\ ["jest-message-util", "npm:27.5.1"],\ ["jest-regex-util", "npm:27.5.1"],\ @@ -2037,10 +2247,10 @@ const RAW_RUNTIME_STATE = ],\ "linkType": "SOFT"\ }],\ - ["virtual:055df65b400bb3e4fa3657fa6f31b584e462c668e3360eba26d93c777dff436861f1ac977e7529e5b1c04a222ce4c589badeec22e2f87ac202495072a28ceb03#npm:27.5.1", {\ - "packageLocation": "./.yarn/__virtual__/@jest-reporters-virtual-4daf0b0d91/0/cache/@jest-reporters-npm-27.5.1-a792fda73f-d49aea4e5b.zip/node_modules/@jest/reporters/",\ + ["virtual:a255ba05979701bcdf3b1c98495a4eb9b128fdc5198bc258e7b137a1871b9e2573296916afa02e02b7dbbcdc0ec1005f45145f2b321f716ce27d28381df68d88#npm:27.5.1", {\ + "packageLocation": "./.yarn/__virtual__/@jest-reporters-virtual-4b08fa273d/0/cache/@jest-reporters-npm-27.5.1-a792fda73f-d49aea4e5b.zip/node_modules/@jest/reporters/",\ "packageDependencies": [\ - ["@jest/reporters", "virtual:055df65b400bb3e4fa3657fa6f31b584e462c668e3360eba26d93c777dff436861f1ac977e7529e5b1c04a222ce4c589badeec22e2f87ac202495072a28ceb03#npm:27.5.1"],\ + ["@jest/reporters", "virtual:a255ba05979701bcdf3b1c98495a4eb9b128fdc5198bc258e7b137a1871b9e2573296916afa02e02b7dbbcdc0ec1005f45145f2b321f716ce27d28381df68d88#npm:27.5.1"],\ ["@bcoe/v8-coverage", "npm:0.2.3"],\ ["@jest/console", "npm:27.5.1"],\ ["@jest/test-result", "npm:27.5.1"],\ @@ -2540,7 +2750,7 @@ const RAW_RUNTIME_STATE = ]],\ ["@microsoft/api-documenter", [\ ["npm:7.22.30", {\ - "packageLocation": "./.yarn/cache/@microsoft-api-documenter-npm-7.22.30-6bd13d02bb-fb0f535e9a.zip/node_modules/@microsoft/api-documenter/",\ + "packageLocation": "./.yarn/unplugged/@microsoft-api-documenter-npm-7.22.30-6bd13d02bb/node_modules/@microsoft/api-documenter/",\ "packageDependencies": [\ ["@microsoft/api-documenter", "npm:7.22.30"],\ ["@microsoft/api-extractor-model", "npm:7.27.5"],\ @@ -2556,7 +2766,7 @@ const RAW_RUNTIME_STATE = ]],\ ["@microsoft/api-extractor", [\ ["npm:7.36.3", {\ - "packageLocation": "./.yarn/cache/@microsoft-api-extractor-npm-7.36.3-f34bd66ce7-12cd0b3fb7.zip/node_modules/@microsoft/api-extractor/",\ + "packageLocation": "./.yarn/unplugged/@microsoft-api-extractor-npm-7.36.3-f34bd66ce7/node_modules/@microsoft/api-extractor/",\ "packageDependencies": [\ ["@microsoft/api-extractor", "npm:7.36.3"],\ ["@microsoft/api-extractor-model", "npm:7.27.5"],\ @@ -2577,7 +2787,7 @@ const RAW_RUNTIME_STATE = ]],\ ["@microsoft/api-extractor-model", [\ ["npm:7.27.5", {\ - "packageLocation": "./.yarn/cache/@microsoft-api-extractor-model-npm-7.27.5-e07ffcf28e-785453dfba.zip/node_modules/@microsoft/api-extractor-model/",\ + "packageLocation": "./.yarn/unplugged/@microsoft-api-extractor-model-npm-7.27.5-e07ffcf28e/node_modules/@microsoft/api-extractor-model/",\ "packageDependencies": [\ ["@microsoft/api-extractor-model", "npm:7.27.5"],\ ["@microsoft/tsdoc", "npm:0.14.2"],\ @@ -3335,12 +3545,12 @@ const RAW_RUNTIME_STATE = ],\ "linkType": "SOFT"\ }],\ - ["virtual:21a30884d94fbf67bcf4a1714713cc91d32809a34424c4ce678841dfdc63b58647c5e18570d56e36b3c762ee72f81c251599477127a715978fa6e1d8b9e5d952#npm:0.1.62", {\ - "packageLocation": "./.yarn/__virtual__/@swc-cli-virtual-52ab497700/0/cache/@swc-cli-npm-0.1.62-a16e13398f-be1a44f8e9.zip/node_modules/@swc/cli/",\ + ["virtual:9edf5f93d67eba3c8380c148f92c9ef44d49ad903cc76cc912170574219df4f3782593d38e7624104e39c45acd9d7b6cc855f78d7141d92f15dca9bd39617c31#npm:0.1.62", {\ + "packageLocation": "./.yarn/__virtual__/@swc-cli-virtual-4c542d4769/0/cache/@swc-cli-npm-0.1.62-a16e13398f-be1a44f8e9.zip/node_modules/@swc/cli/",\ "packageDependencies": [\ - ["@swc/cli", "virtual:21a30884d94fbf67bcf4a1714713cc91d32809a34424c4ce678841dfdc63b58647c5e18570d56e36b3c762ee72f81c251599477127a715978fa6e1d8b9e5d952#npm:0.1.62"],\ + ["@swc/cli", "virtual:9edf5f93d67eba3c8380c148f92c9ef44d49ad903cc76cc912170574219df4f3782593d38e7624104e39c45acd9d7b6cc855f78d7141d92f15dca9bd39617c31#npm:0.1.62"],\ ["@mole-inc/bin-wrapper", "npm:8.0.1"],\ - ["@swc/core", "virtual:21a30884d94fbf67bcf4a1714713cc91d32809a34424c4ce678841dfdc63b58647c5e18570d56e36b3c762ee72f81c251599477127a715978fa6e1d8b9e5d952#npm:1.3.71"],\ + ["@swc/core", "virtual:9edf5f93d67eba3c8380c148f92c9ef44d49ad903cc76cc912170574219df4f3782593d38e7624104e39c45acd9d7b6cc855f78d7141d92f15dca9bd39617c31#npm:1.3.71"],\ ["@types/chokidar", null],\ ["@types/swc__core", null],\ ["chokidar", null],\ @@ -3363,7 +3573,7 @@ const RAW_RUNTIME_STATE = "packageDependencies": [\ ["@swc/cli", "virtual:aa59773ac87791c4813d53447077fcf8a847d6de5a301d34dc31286584b1dbb26d30d3adb5b4c41c1e8aea04371e926fda05c09c6253647c432e11d872a304ba#npm:0.1.62"],\ ["@mole-inc/bin-wrapper", "npm:8.0.1"],\ - ["@swc/core", "virtual:21a30884d94fbf67bcf4a1714713cc91d32809a34424c4ce678841dfdc63b58647c5e18570d56e36b3c762ee72f81c251599477127a715978fa6e1d8b9e5d952#npm:1.3.71"],\ + ["@swc/core", "virtual:9edf5f93d67eba3c8380c148f92c9ef44d49ad903cc76cc912170574219df4f3782593d38e7624104e39c45acd9d7b6cc855f78d7141d92f15dca9bd39617c31#npm:1.3.71"],\ ["@types/chokidar", null],\ ["@types/swc__core", null],\ ["chokidar", "npm:3.5.3"],\ @@ -3384,16 +3594,16 @@ const RAW_RUNTIME_STATE = ]],\ ["@swc/core", [\ ["npm:1.3.71", {\ - "packageLocation": "./.yarn/unplugged/@swc-core-virtual-908dbf465c/node_modules/@swc/core/",\ + "packageLocation": "./.yarn/unplugged/@swc-core-virtual-1227ab80b5/node_modules/@swc/core/",\ "packageDependencies": [\ ["@swc/core", "npm:1.3.71"]\ ],\ "linkType": "SOFT"\ }],\ - ["virtual:21a30884d94fbf67bcf4a1714713cc91d32809a34424c4ce678841dfdc63b58647c5e18570d56e36b3c762ee72f81c251599477127a715978fa6e1d8b9e5d952#npm:1.3.71", {\ - "packageLocation": "./.yarn/unplugged/@swc-core-virtual-908dbf465c/node_modules/@swc/core/",\ + ["virtual:9edf5f93d67eba3c8380c148f92c9ef44d49ad903cc76cc912170574219df4f3782593d38e7624104e39c45acd9d7b6cc855f78d7141d92f15dca9bd39617c31#npm:1.3.71", {\ + "packageLocation": "./.yarn/unplugged/@swc-core-virtual-1227ab80b5/node_modules/@swc/core/",\ "packageDependencies": [\ - ["@swc/core", "virtual:21a30884d94fbf67bcf4a1714713cc91d32809a34424c4ce678841dfdc63b58647c5e18570d56e36b3c762ee72f81c251599477127a715978fa6e1d8b9e5d952#npm:1.3.71"],\ + ["@swc/core", "virtual:9edf5f93d67eba3c8380c148f92c9ef44d49ad903cc76cc912170574219df4f3782593d38e7624104e39c45acd9d7b6cc855f78d7141d92f15dca9bd39617c31#npm:1.3.71"],\ ["@swc/core-darwin-arm64", "npm:1.3.71"],\ ["@swc/core-darwin-x64", "npm:1.3.71"],\ ["@swc/core-linux-arm-gnueabihf", "npm:1.3.71"],\ @@ -3524,15 +3734,13 @@ const RAW_RUNTIME_STATE = }]\ ]],\ ["@syuilo/aiscript", [\ - ["npm:0.11.1", {\ - "packageLocation": "./.yarn/cache/@syuilo-aiscript-npm-0.11.1-451b9d1a3f-4df4bb5a25.zip/node_modules/@syuilo/aiscript/",\ + ["npm:0.17.0", {\ + "packageLocation": "./.yarn/cache/@syuilo-aiscript-npm-0.17.0-005e068ae6-2a10b3d29a.zip/node_modules/@syuilo/aiscript/",\ "packageDependencies": [\ - ["@syuilo/aiscript", "npm:0.11.1"],\ - ["autobind-decorator", "npm:2.4.0"],\ - ["chalk", "npm:4.0.0"],\ + ["@syuilo/aiscript", "npm:0.17.0"],\ ["seedrandom", "npm:3.0.5"],\ ["stringz", "npm:2.1.0"],\ - ["uuid", "npm:7.0.3"]\ + ["uuid", "npm:9.0.1"]\ ],\ "linkType": "HARD"\ }]\ @@ -6793,16 +7001,16 @@ const RAW_RUNTIME_STATE = ],\ "linkType": "SOFT"\ }],\ - ["virtual:22a06fd2523d9a1c7ec843e303e5545630e46567c6023b7a0a724a1e23da515483816d12e5eb6cf98caaf6877afb4ce10ecb0a2a9a0c7eb4000f4c90978167ab#npm:27.5.1", {\ - "packageLocation": "./.yarn/__virtual__/babel-jest-virtual-cfd43a9d69/0/cache/babel-jest-npm-27.5.1-f9f56b9874-d032823796.zip/node_modules/babel-jest/",\ + ["virtual:eb610664e5b7f68ef3b54dc7c483973422c30c6f644ed269f8b9fcb02ae7792ae41e079a1494226b12598e4f3f3720f4207133d2a592610cd97c57f5b570933e#npm:27.5.1", {\ + "packageLocation": "./.yarn/__virtual__/babel-jest-virtual-c52d60175d/0/cache/babel-jest-npm-27.5.1-f9f56b9874-d032823796.zip/node_modules/babel-jest/",\ "packageDependencies": [\ - ["babel-jest", "virtual:22a06fd2523d9a1c7ec843e303e5545630e46567c6023b7a0a724a1e23da515483816d12e5eb6cf98caaf6877afb4ce10ecb0a2a9a0c7eb4000f4c90978167ab#npm:27.5.1"],\ + ["babel-jest", "virtual:eb610664e5b7f68ef3b54dc7c483973422c30c6f644ed269f8b9fcb02ae7792ae41e079a1494226b12598e4f3f3720f4207133d2a592610cd97c57f5b570933e#npm:27.5.1"],\ ["@babel/core", "npm:7.22.9"],\ ["@jest/transform", "npm:27.5.1"],\ ["@jest/types", "npm:27.5.1"],\ ["@types/babel__core", "npm:7.20.1"],\ ["babel-plugin-istanbul", "npm:6.1.1"],\ - ["babel-preset-jest", "virtual:cfd43a9d6960cc7645f06286e13ca12f4af1bd9aa2f0e8d416e14ca1591e5b1347db5f332cdebfcaebbdfd8792fc9c008f58f13134db2e20cfbcc79ca73760a9#npm:27.5.1"],\ + ["babel-preset-jest", "virtual:c52d60175db01db8cedeaa4d9f2f5c12bb4086ccc509c0cfcf8e5dfa89467682ef6ce616a544f5ab330d3e8174fc14b9c4480afd9b3b558ebb574c03d5f4a6f2#npm:27.5.1"],\ ["chalk", "npm:4.1.2"],\ ["graceful-fs", "npm:4.2.11"],\ ["slash", "npm:3.0.0"]\ @@ -6848,23 +7056,23 @@ const RAW_RUNTIME_STATE = ],\ "linkType": "SOFT"\ }],\ - ["virtual:741d833773476bafd42792c023ccf5972d67de9302c1316c40941f4cde29b308af46e1176be8d92bed5eeca2510337cc5340ad1a7724705b9066eaabdd07ce97#npm:1.0.1", {\ - "packageLocation": "./.yarn/__virtual__/babel-preset-current-node-syntax-virtual-a95ec55e88/0/cache/babel-preset-current-node-syntax-npm-1.0.1-849ec71e32-94561959cb.zip/node_modules/babel-preset-current-node-syntax/",\ + ["virtual:80c356581c3d21855cea3b1f28291284e9b5ea97ee58d4b9e631f82d736036087b5b20373b73a93ee5d38f4b63ede6a774feab94b30d76267adbd3e5843fd753#npm:1.0.1", {\ + "packageLocation": "./.yarn/__virtual__/babel-preset-current-node-syntax-virtual-8eba799e51/0/cache/babel-preset-current-node-syntax-npm-1.0.1-849ec71e32-94561959cb.zip/node_modules/babel-preset-current-node-syntax/",\ "packageDependencies": [\ - ["babel-preset-current-node-syntax", "virtual:741d833773476bafd42792c023ccf5972d67de9302c1316c40941f4cde29b308af46e1176be8d92bed5eeca2510337cc5340ad1a7724705b9066eaabdd07ce97#npm:1.0.1"],\ + ["babel-preset-current-node-syntax", "virtual:80c356581c3d21855cea3b1f28291284e9b5ea97ee58d4b9e631f82d736036087b5b20373b73a93ee5d38f4b63ede6a774feab94b30d76267adbd3e5843fd753#npm:1.0.1"],\ ["@babel/core", "npm:7.22.9"],\ - ["@babel/plugin-syntax-async-generators", "virtual:a95ec55e88252fb8bb2a9f05ccc4f0e7a21e2222248f9e5ee7e36cd1e168a8129d8fa78dad601ce4e39edaab068261ca7d832685f1bb996f25b6f0ebb880e1fb#npm:7.8.4"],\ - ["@babel/plugin-syntax-bigint", "virtual:a95ec55e88252fb8bb2a9f05ccc4f0e7a21e2222248f9e5ee7e36cd1e168a8129d8fa78dad601ce4e39edaab068261ca7d832685f1bb996f25b6f0ebb880e1fb#npm:7.8.3"],\ - ["@babel/plugin-syntax-class-properties", "virtual:a95ec55e88252fb8bb2a9f05ccc4f0e7a21e2222248f9e5ee7e36cd1e168a8129d8fa78dad601ce4e39edaab068261ca7d832685f1bb996f25b6f0ebb880e1fb#npm:7.12.13"],\ - ["@babel/plugin-syntax-import-meta", "virtual:a95ec55e88252fb8bb2a9f05ccc4f0e7a21e2222248f9e5ee7e36cd1e168a8129d8fa78dad601ce4e39edaab068261ca7d832685f1bb996f25b6f0ebb880e1fb#npm:7.10.4"],\ - ["@babel/plugin-syntax-json-strings", "virtual:a95ec55e88252fb8bb2a9f05ccc4f0e7a21e2222248f9e5ee7e36cd1e168a8129d8fa78dad601ce4e39edaab068261ca7d832685f1bb996f25b6f0ebb880e1fb#npm:7.8.3"],\ - ["@babel/plugin-syntax-logical-assignment-operators", "virtual:a95ec55e88252fb8bb2a9f05ccc4f0e7a21e2222248f9e5ee7e36cd1e168a8129d8fa78dad601ce4e39edaab068261ca7d832685f1bb996f25b6f0ebb880e1fb#npm:7.10.4"],\ - ["@babel/plugin-syntax-nullish-coalescing-operator", "virtual:a95ec55e88252fb8bb2a9f05ccc4f0e7a21e2222248f9e5ee7e36cd1e168a8129d8fa78dad601ce4e39edaab068261ca7d832685f1bb996f25b6f0ebb880e1fb#npm:7.8.3"],\ - ["@babel/plugin-syntax-numeric-separator", "virtual:a95ec55e88252fb8bb2a9f05ccc4f0e7a21e2222248f9e5ee7e36cd1e168a8129d8fa78dad601ce4e39edaab068261ca7d832685f1bb996f25b6f0ebb880e1fb#npm:7.10.4"],\ - ["@babel/plugin-syntax-object-rest-spread", "virtual:a95ec55e88252fb8bb2a9f05ccc4f0e7a21e2222248f9e5ee7e36cd1e168a8129d8fa78dad601ce4e39edaab068261ca7d832685f1bb996f25b6f0ebb880e1fb#npm:7.8.3"],\ - ["@babel/plugin-syntax-optional-catch-binding", "virtual:a95ec55e88252fb8bb2a9f05ccc4f0e7a21e2222248f9e5ee7e36cd1e168a8129d8fa78dad601ce4e39edaab068261ca7d832685f1bb996f25b6f0ebb880e1fb#npm:7.8.3"],\ - ["@babel/plugin-syntax-optional-chaining", "virtual:a95ec55e88252fb8bb2a9f05ccc4f0e7a21e2222248f9e5ee7e36cd1e168a8129d8fa78dad601ce4e39edaab068261ca7d832685f1bb996f25b6f0ebb880e1fb#npm:7.8.3"],\ - ["@babel/plugin-syntax-top-level-await", "virtual:a95ec55e88252fb8bb2a9f05ccc4f0e7a21e2222248f9e5ee7e36cd1e168a8129d8fa78dad601ce4e39edaab068261ca7d832685f1bb996f25b6f0ebb880e1fb#npm:7.14.5"],\ + ["@babel/plugin-syntax-async-generators", "virtual:8eba799e51a5be9cf6a50fd6cf0aa9ac844f4afa85c897ba691ffba9868328c74a1c0de1023a9e10e6af027d419b151f71931a2852ba5b66d1b38a6becf03dc0#npm:7.8.4"],\ + ["@babel/plugin-syntax-bigint", "virtual:8eba799e51a5be9cf6a50fd6cf0aa9ac844f4afa85c897ba691ffba9868328c74a1c0de1023a9e10e6af027d419b151f71931a2852ba5b66d1b38a6becf03dc0#npm:7.8.3"],\ + ["@babel/plugin-syntax-class-properties", "virtual:8eba799e51a5be9cf6a50fd6cf0aa9ac844f4afa85c897ba691ffba9868328c74a1c0de1023a9e10e6af027d419b151f71931a2852ba5b66d1b38a6becf03dc0#npm:7.12.13"],\ + ["@babel/plugin-syntax-import-meta", "virtual:8eba799e51a5be9cf6a50fd6cf0aa9ac844f4afa85c897ba691ffba9868328c74a1c0de1023a9e10e6af027d419b151f71931a2852ba5b66d1b38a6becf03dc0#npm:7.10.4"],\ + ["@babel/plugin-syntax-json-strings", "virtual:8eba799e51a5be9cf6a50fd6cf0aa9ac844f4afa85c897ba691ffba9868328c74a1c0de1023a9e10e6af027d419b151f71931a2852ba5b66d1b38a6becf03dc0#npm:7.8.3"],\ + ["@babel/plugin-syntax-logical-assignment-operators", "virtual:8eba799e51a5be9cf6a50fd6cf0aa9ac844f4afa85c897ba691ffba9868328c74a1c0de1023a9e10e6af027d419b151f71931a2852ba5b66d1b38a6becf03dc0#npm:7.10.4"],\ + ["@babel/plugin-syntax-nullish-coalescing-operator", "virtual:8eba799e51a5be9cf6a50fd6cf0aa9ac844f4afa85c897ba691ffba9868328c74a1c0de1023a9e10e6af027d419b151f71931a2852ba5b66d1b38a6becf03dc0#npm:7.8.3"],\ + ["@babel/plugin-syntax-numeric-separator", "virtual:8eba799e51a5be9cf6a50fd6cf0aa9ac844f4afa85c897ba691ffba9868328c74a1c0de1023a9e10e6af027d419b151f71931a2852ba5b66d1b38a6becf03dc0#npm:7.10.4"],\ + ["@babel/plugin-syntax-object-rest-spread", "virtual:8eba799e51a5be9cf6a50fd6cf0aa9ac844f4afa85c897ba691ffba9868328c74a1c0de1023a9e10e6af027d419b151f71931a2852ba5b66d1b38a6becf03dc0#npm:7.8.3"],\ + ["@babel/plugin-syntax-optional-catch-binding", "virtual:8eba799e51a5be9cf6a50fd6cf0aa9ac844f4afa85c897ba691ffba9868328c74a1c0de1023a9e10e6af027d419b151f71931a2852ba5b66d1b38a6becf03dc0#npm:7.8.3"],\ + ["@babel/plugin-syntax-optional-chaining", "virtual:8eba799e51a5be9cf6a50fd6cf0aa9ac844f4afa85c897ba691ffba9868328c74a1c0de1023a9e10e6af027d419b151f71931a2852ba5b66d1b38a6becf03dc0#npm:7.8.3"],\ + ["@babel/plugin-syntax-top-level-await", "virtual:8eba799e51a5be9cf6a50fd6cf0aa9ac844f4afa85c897ba691ffba9868328c74a1c0de1023a9e10e6af027d419b151f71931a2852ba5b66d1b38a6becf03dc0#npm:7.14.5"],\ ["@types/babel__core", "npm:7.20.1"]\ ],\ "packagePeers": [\ @@ -6907,14 +7115,14 @@ const RAW_RUNTIME_STATE = ],\ "linkType": "SOFT"\ }],\ - ["virtual:cfd43a9d6960cc7645f06286e13ca12f4af1bd9aa2f0e8d416e14ca1591e5b1347db5f332cdebfcaebbdfd8792fc9c008f58f13134db2e20cfbcc79ca73760a9#npm:27.5.1", {\ - "packageLocation": "./.yarn/__virtual__/babel-preset-jest-virtual-741d833773/0/cache/babel-preset-jest-npm-27.5.1-2c76f7f68c-251bcea11c.zip/node_modules/babel-preset-jest/",\ + ["virtual:c52d60175db01db8cedeaa4d9f2f5c12bb4086ccc509c0cfcf8e5dfa89467682ef6ce616a544f5ab330d3e8174fc14b9c4480afd9b3b558ebb574c03d5f4a6f2#npm:27.5.1", {\ + "packageLocation": "./.yarn/__virtual__/babel-preset-jest-virtual-80c356581c/0/cache/babel-preset-jest-npm-27.5.1-2c76f7f68c-251bcea11c.zip/node_modules/babel-preset-jest/",\ "packageDependencies": [\ - ["babel-preset-jest", "virtual:cfd43a9d6960cc7645f06286e13ca12f4af1bd9aa2f0e8d416e14ca1591e5b1347db5f332cdebfcaebbdfd8792fc9c008f58f13134db2e20cfbcc79ca73760a9#npm:27.5.1"],\ + ["babel-preset-jest", "virtual:c52d60175db01db8cedeaa4d9f2f5c12bb4086ccc509c0cfcf8e5dfa89467682ef6ce616a544f5ab330d3e8174fc14b9c4480afd9b3b558ebb574c03d5f4a6f2#npm:27.5.1"],\ ["@babel/core", "npm:7.22.9"],\ ["@types/babel__core", "npm:7.20.1"],\ ["babel-plugin-jest-hoist", "npm:27.5.1"],\ - ["babel-preset-current-node-syntax", "virtual:741d833773476bafd42792c023ccf5972d67de9302c1316c40941f4cde29b308af46e1176be8d92bed5eeca2510337cc5340ad1a7724705b9066eaabdd07ce97#npm:1.0.1"]\ + ["babel-preset-current-node-syntax", "virtual:80c356581c3d21855cea3b1f28291284e9b5ea97ee58d4b9e631f82d736036087b5b20373b73a93ee5d38f4b63ede6a774feab94b30d76267adbd3e5843fd753#npm:1.0.1"]\ ],\ "packagePeers": [\ "@babel/core",\ @@ -6960,6 +7168,7 @@ const RAW_RUNTIME_STATE = ["@bull-board/koa", "npm:5.6.0"],\ ["@bull-board/ui", "npm:5.6.0"],\ ["@discordapp/twemoji", "npm:14.1.2"],\ + ["@iceshrimp/summaly", "npm:2.7.2::__archiveUrl=https%3A%2F%2Ficeshrimp.dev%2Fapi%2Fpackages%2Ficeshrimp%2Fnpm%2F%2540iceshrimp%252Fsummaly%2F-%2F2.7.2%2Fsummaly-2.7.2.tgz"],\ ["@koa/cors", "npm:3.4.3"],\ ["@koa/multer", "virtual:aa59773ac87791c4813d53447077fcf8a847d6de5a301d34dc31286584b1dbb26d30d3adb5b4c41c1e8aea04371e926fda05c09c6253647c432e11d872a304ba#npm:3.0.2"],\ ["@koa/router", "npm:9.0.1"],\ @@ -6968,9 +7177,8 @@ const RAW_RUNTIME_STATE = ["@redocly/openapi-core", "npm:1.0.0-beta.131"],\ ["@sinonjs/fake-timers", "npm:9.1.2"],\ ["@swc/cli", "virtual:aa59773ac87791c4813d53447077fcf8a847d6de5a301d34dc31286584b1dbb26d30d3adb5b4c41c1e8aea04371e926fda05c09c6253647c432e11d872a304ba#npm:0.1.62"],\ - ["@swc/core", "virtual:21a30884d94fbf67bcf4a1714713cc91d32809a34424c4ce678841dfdc63b58647c5e18570d56e36b3c762ee72f81c251599477127a715978fa6e1d8b9e5d952#npm:1.3.71"],\ + ["@swc/core", "virtual:9edf5f93d67eba3c8380c148f92c9ef44d49ad903cc76cc912170574219df4f3782593d38e7624104e39c45acd9d7b6cc855f78d7141d92f15dca9bd39617c31#npm:1.3.71"],\ ["@swc/core-android-arm64", "npm:1.3.11"],\ - ["@syuilo/aiscript", "npm:0.11.1"],\ ["@transfem-org/sfm-js", "npm:0.24.5::__archiveUrl=https%3A%2F%2Factivitypub.software%2Fapi%2Fv4%2Fprojects%2F2%2Fpackages%2Fnpm%2F%40transfem-org%2Fsfm-js%2F-%2F%40transfem-org%2Fsfm-js-0.24.5.tgz"],\ ["@types/adm-zip", "npm:0.5.0"],\ ["@types/async-lock", "npm:1.4.0"],\ @@ -7054,7 +7262,7 @@ const RAW_RUNTIME_STATE = ["gunzip-maybe", "npm:1.4.2"],\ ["happy-dom", "npm:12.10.3"],\ ["hpagent", "npm:0.1.2"],\ - ["iceshrimp-js", "workspace:packages/iceshrimp-js"],\ + ["iceshrimp-sdk", "workspace:packages/iceshrimp-sdk"],\ ["ioredis", "npm:5.3.2"],\ ["ip-cidr", "npm:3.1.0"],\ ["is-svg", "npm:4.3.2"],\ @@ -7080,7 +7288,7 @@ const RAW_RUNTIME_STATE = ["msgpackr", "npm:1.9.5"],\ ["multer", "npm:1.4.4-lts.1"],\ ["nested-property", "npm:4.0.0"],\ - ["node-fetch", "npm:3.3.1"],\ + ["node-fetch", "npm:3.3.2"],\ ["nodemailer", "npm:6.9.3"],\ ["oauth", "npm:0.10.0"],\ ["os-utils", "npm:0.0.14"],\ @@ -7099,7 +7307,7 @@ const RAW_RUNTIME_STATE = ["qs", "npm:6.11.2"],\ ["random-seed", "npm:0.3.0"],\ ["ratelimiter", "npm:3.4.1"],\ - ["re2", "npm:1.20.9"],\ + ["re2", "npm:1.20.11"],\ ["redis-lock", "npm:0.1.4"],\ ["redis-semaphore", "virtual:aa59773ac87791c4813d53447077fcf8a847d6de5a301d34dc31286584b1dbb26d30d3adb5b4c41c1e8aea04371e926fda05c09c6253647c432e11d872a304ba#npm:5.3.1"],\ ["reflect-metadata", "npm:0.1.13"],\ @@ -7109,10 +7317,9 @@ const RAW_RUNTIME_STATE = ["sanitize-html", "npm:2.10.0"],\ ["seedrandom", "npm:3.0.5"],\ ["semver", "npm:7.5.4"],\ - ["sharp", "npm:0.32.1"],\ + ["sharp", "npm:0.33.4"],\ ["strict-event-emitter-types", "npm:2.0.0"],\ ["stringz", "npm:2.1.0"],\ - ["summaly", "npm:2.7.0"],\ ["swc-loader", "virtual:aa59773ac87791c4813d53447077fcf8a847d6de5a301d34dc31286584b1dbb26d30d3adb5b4c41c1e8aea04371e926fda05c09c6253647c432e11d872a304ba#npm:0.2.3"],\ ["syslog-pro", "npm:1.0.0"],\ ["systeminformation", "npm:5.21.12"],\ @@ -7949,15 +8156,6 @@ const RAW_RUNTIME_STATE = ],\ "linkType": "HARD"\ }],\ - ["npm:4.0.0", {\ - "packageLocation": "./.yarn/cache/chalk-npm-4.0.0-50e5418ea0-f8ae363f43.zip/node_modules/chalk/",\ - "packageDependencies": [\ - ["chalk", "npm:4.0.0"],\ - ["ansi-styles", "npm:4.3.0"],\ - ["supports-color", "npm:7.2.0"]\ - ],\ - "linkType": "HARD"\ - }],\ ["npm:4.1.2", {\ "packageLocation": "./.yarn/cache/chalk-npm-4.1.2-ba8b67ab80-cb3f3e5949.zip/node_modules/chalk/",\ "packageDependencies": [\ @@ -8195,13 +8393,6 @@ const RAW_RUNTIME_STATE = }]\ ]],\ ["chownr", [\ - ["npm:1.1.4", {\ - "packageLocation": "./.yarn/cache/chownr-npm-1.1.4-5bd400ab08-115648f8eb.zip/node_modules/chownr/",\ - "packageDependencies": [\ - ["chownr", "npm:1.1.4"]\ - ],\ - "linkType": "HARD"\ - }],\ ["npm:2.0.0", {\ "packageLocation": "./.yarn/cache/chownr-npm-2.0.0-638f1c9c61-c57cf9dd07.zip/node_modules/chownr/",\ "packageDependencies": [\ @@ -8358,8 +8549,8 @@ const RAW_RUNTIME_STATE = ["@rollup/plugin-alias", "virtual:658502eb4296e93abedc18b6aa9b26978f434f08d98e21ebb0e725354b8bb54b62db9c4a1893e460c694ff7500ff5cbafa4457b0dfd26b5838868666c861e990#npm:5.1.0"],\ ["@rollup/plugin-json", "virtual:658502eb4296e93abedc18b6aa9b26978f434f08d98e21ebb0e725354b8bb54b62db9c4a1893e460c694ff7500ff5cbafa4457b0dfd26b5838868666c861e990#npm:6.0.1"],\ ["@rollup/pluginutils", "virtual:658502eb4296e93abedc18b6aa9b26978f434f08d98e21ebb0e725354b8bb54b62db9c4a1893e460c694ff7500ff5cbafa4457b0dfd26b5838868666c861e990#npm:5.1.0"],\ - ["@syuilo/aiscript", "npm:0.11.1"],\ ["@transfem-org/sfm-js", "npm:0.24.5::__archiveUrl=https%3A%2F%2Factivitypub.software%2Fapi%2Fv4%2Fprojects%2F2%2Fpackages%2Fnpm%2F%40transfem-org%2Fsfm-js%2F-%2F%40transfem-org%2Fsfm-js-0.24.5.tgz"],\ + ["@syuilo/aiscript", "npm:0.17.0"],\ ["@types/escape-regexp", "npm:0.0.1"],\ ["@types/glob", "npm:8.1.0"],\ ["@types/gulp", "npm:4.0.13"],\ @@ -8399,7 +8590,7 @@ const RAW_RUNTIME_STATE = ["focus-trap", "npm:7.5.2"],\ ["focus-trap-vue", "virtual:658502eb4296e93abedc18b6aa9b26978f434f08d98e21ebb0e725354b8bb54b62db9c4a1893e460c694ff7500ff5cbafa4457b0dfd26b5838868666c861e990#npm:4.0.2"],\ ["gsap", "npm:3.12.2"],\ - ["iceshrimp-js", "workspace:packages/iceshrimp-js"],\ + ["iceshrimp-sdk", "workspace:packages/iceshrimp-sdk"],\ ["idb-keyval", "npm:6.2.1"],\ ["insert-text-at-cursor", "npm:0.3.0"],\ ["json5", "npm:2.2.3"],\ @@ -9703,6 +9894,19 @@ const RAW_RUNTIME_STATE = ],\ "linkType": "HARD"\ }],\ + ["virtual:3842079977b21e3811a51e616ddaf23d3927a32b69dfe473ea35a592905c8bf76bbfb0449446b099423c9c3bdf1797a94c21fffec740e12897e7ae3cebb4521e#npm:4.3.3", {\ + "packageLocation": "./.yarn/__virtual__/debug-virtual-6dc17d27fc/0/cache/debug-npm-4.3.3-710fd4cc7f-723a9570dc.zip/node_modules/debug/",\ + "packageDependencies": [\ + ["debug", "virtual:3842079977b21e3811a51e616ddaf23d3927a32b69dfe473ea35a592905c8bf76bbfb0449446b099423c9c3bdf1797a94c21fffec740e12897e7ae3cebb4521e#npm:4.3.3"],\ + ["@types/supports-color", null],\ + ["ms", "npm:2.1.2"],\ + ["supports-color", "npm:8.1.1"]\ + ],\ + "packagePeers": [\ + "@types/supports-color"\ + ],\ + "linkType": "HARD"\ + }],\ ["virtual:396a3691f7b25accf085fe2fff1f56eb7540eff3f2e928a7572ca1de9b831ff8f22136404f236aaed35d90369918dfc34392844d0f822a310563f34746dfb015#npm:3.2.7", {\ "packageLocation": "./.yarn/__virtual__/debug-virtual-507f12afb6/0/cache/debug-npm-3.2.7-754e818c7a-d86fd7be2b.zip/node_modules/debug/",\ "packageDependencies": [\ @@ -9728,19 +9932,6 @@ const RAW_RUNTIME_STATE = "@types/supports-color"\ ],\ "linkType": "HARD"\ - }],\ - ["virtual:e25bfbf6a21b48b0676f9feb450311244401d305a353e3f897116a12e8c3ea4290af8f75d82293d983ade94477e438f22bd5aef50106ca078894f6d12cb168a2#npm:4.3.3", {\ - "packageLocation": "./.yarn/__virtual__/debug-virtual-bcbb4855d3/0/cache/debug-npm-4.3.3-710fd4cc7f-723a9570dc.zip/node_modules/debug/",\ - "packageDependencies": [\ - ["debug", "virtual:e25bfbf6a21b48b0676f9feb450311244401d305a353e3f897116a12e8c3ea4290af8f75d82293d983ade94477e438f22bd5aef50106ca078894f6d12cb168a2#npm:4.3.3"],\ - ["@types/supports-color", null],\ - ["ms", "npm:2.1.2"],\ - ["supports-color", "npm:8.1.1"]\ - ],\ - "packagePeers": [\ - "@types/supports-color"\ - ],\ - "linkType": "HARD"\ }]\ ]],\ ["debuglog", [\ @@ -9906,15 +10097,6 @@ const RAW_RUNTIME_STATE = "linkType": "HARD"\ }]\ ]],\ - ["deep-extend", [\ - ["npm:0.6.0", {\ - "packageLocation": "./.yarn/cache/deep-extend-npm-0.6.0-e182924219-7be7e5a8d4.zip/node_modules/deep-extend/",\ - "packageDependencies": [\ - ["deep-extend", "npm:0.6.0"]\ - ],\ - "linkType": "HARD"\ - }]\ - ]],\ ["deep-is", [\ ["npm:0.1.4", {\ "packageLocation": "./.yarn/cache/deep-is-npm-0.1.4-88938b5a67-ec12d074ae.zip/node_modules/deep-is/",\ @@ -10119,6 +10301,13 @@ const RAW_RUNTIME_STATE = ["detect-libc", "npm:2.0.2"]\ ],\ "linkType": "HARD"\ + }],\ + ["npm:2.0.3", {\ + "packageLocation": "./.yarn/cache/detect-libc-npm-2.0.3-2ddae34945-b4ea018d62.zip/node_modules/detect-libc/",\ + "packageDependencies": [\ + ["detect-libc", "npm:2.0.3"]\ + ],\ + "linkType": "HARD"\ }]\ ]],\ ["detect-newline", [\ @@ -11767,7 +11956,7 @@ const RAW_RUNTIME_STATE = ]],\ ["eventemitter3", [\ ["npm:4.0.7", {\ - "packageLocation": "./.yarn/cache/eventemitter3-npm-4.0.7-7afcdd74ae-8030029382.zip/node_modules/eventemitter3/",\ + "packageLocation": "./.yarn/unplugged/eventemitter3-npm-4.0.7-7afcdd74ae/node_modules/eventemitter3/",\ "packageDependencies": [\ ["eventemitter3", "npm:4.0.7"]\ ],\ @@ -11922,15 +12111,6 @@ const RAW_RUNTIME_STATE = "linkType": "HARD"\ }]\ ]],\ - ["expand-template", [\ - ["npm:2.0.3", {\ - "packageLocation": "./.yarn/cache/expand-template-npm-2.0.3-80de959306-588c198472.zip/node_modules/expand-template/",\ - "packageDependencies": [\ - ["expand-template", "npm:2.0.3"]\ - ],\ - "linkType": "HARD"\ - }]\ - ]],\ ["expand-tilde", [\ ["npm:2.0.2", {\ "packageLocation": "./.yarn/cache/expand-tilde-npm-2.0.2-a4020a62f5-2efe6ed407.zip/node_modules/expand-tilde/",\ @@ -13033,15 +13213,6 @@ const RAW_RUNTIME_STATE = "linkType": "HARD"\ }]\ ]],\ - ["github-from-package", [\ - ["npm:0.0.0", {\ - "packageLocation": "./.yarn/cache/github-from-package-npm-0.0.0-519f80c9a1-2a091ba07f.zip/node_modules/github-from-package/",\ - "packageDependencies": [\ - ["github-from-package", "npm:0.0.0"]\ - ],\ - "linkType": "HARD"\ - }]\ - ]],\ ["glob", [\ ["npm:10.3.10", {\ "packageLocation": "./.yarn/cache/glob-npm-10.3.10-da1ef8b112-38bdb2c9ce.zip/node_modules/glob/",\ @@ -14019,27 +14190,27 @@ const RAW_RUNTIME_STATE = "linkType": "SOFT"\ }]\ ]],\ - ["iceshrimp-js", [\ - ["workspace:packages/iceshrimp-js", {\ - "packageLocation": "./packages/iceshrimp-js/",\ + ["iceshrimp-sdk", [\ + ["workspace:packages/iceshrimp-sdk", {\ + "packageLocation": "./packages/iceshrimp-sdk/",\ "packageDependencies": [\ - ["iceshrimp-js", "workspace:packages/iceshrimp-js"],\ + ["iceshrimp-sdk", "workspace:packages/iceshrimp-sdk"],\ ["@microsoft/api-documenter", "npm:7.22.30"],\ ["@microsoft/api-extractor", "npm:7.36.3"],\ - ["@swc/cli", "virtual:21a30884d94fbf67bcf4a1714713cc91d32809a34424c4ce678841dfdc63b58647c5e18570d56e36b3c762ee72f81c251599477127a715978fa6e1d8b9e5d952#npm:0.1.62"],\ - ["@swc/core", "virtual:21a30884d94fbf67bcf4a1714713cc91d32809a34424c4ce678841dfdc63b58647c5e18570d56e36b3c762ee72f81c251599477127a715978fa6e1d8b9e5d952#npm:1.3.71"],\ + ["@swc/cli", "virtual:9edf5f93d67eba3c8380c148f92c9ef44d49ad903cc76cc912170574219df4f3782593d38e7624104e39c45acd9d7b6cc855f78d7141d92f15dca9bd39617c31#npm:0.1.62"],\ + ["@swc/core", "virtual:9edf5f93d67eba3c8380c148f92c9ef44d49ad903cc76cc912170574219df4f3782593d38e7624104e39c45acd9d7b6cc855f78d7141d92f15dca9bd39617c31#npm:1.3.71"],\ ["@swc/core-android-arm64", "npm:1.3.11"],\ ["@types/jest", "npm:27.5.2"],\ ["@types/node", "npm:20.3.1"],\ ["eventemitter3", "npm:4.0.7"],\ - ["jest", "virtual:21a30884d94fbf67bcf4a1714713cc91d32809a34424c4ce678841dfdc63b58647c5e18570d56e36b3c762ee72f81c251599477127a715978fa6e1d8b9e5d952#npm:27.5.1"],\ + ["jest", "virtual:9edf5f93d67eba3c8380c148f92c9ef44d49ad903cc76cc912170574219df4f3782593d38e7624104e39c45acd9d7b6cc855f78d7141d92f15dca9bd39617c31#npm:27.5.1"],\ ["jest-fetch-mock", "npm:3.0.3"],\ ["jest-websocket-mock", "npm:2.4.0"],\ ["mock-socket", "npm:9.2.1"],\ ["reconnecting-websocket", "npm:4.4.0"],\ ["semver", "npm:7.5.4"],\ - ["ts-jest", "virtual:21a30884d94fbf67bcf4a1714713cc91d32809a34424c4ce678841dfdc63b58647c5e18570d56e36b3c762ee72f81c251599477127a715978fa6e1d8b9e5d952#npm:27.1.5"],\ - ["ts-node", "virtual:21a30884d94fbf67bcf4a1714713cc91d32809a34424c4ce678841dfdc63b58647c5e18570d56e36b3c762ee72f81c251599477127a715978fa6e1d8b9e5d952#npm:10.4.0"],\ + ["ts-jest", "virtual:9edf5f93d67eba3c8380c148f92c9ef44d49ad903cc76cc912170574219df4f3782593d38e7624104e39c45acd9d7b6cc855f78d7141d92f15dca9bd39617c31#npm:27.1.5"],\ + ["ts-node", "virtual:9edf5f93d67eba3c8380c148f92c9ef44d49ad903cc76cc912170574219df4f3782593d38e7624104e39c45acd9d7b6cc855f78d7141d92f15dca9bd39617c31#npm:10.4.0"],\ ["tsd", "npm:0.28.1"],\ ["typescript", "patch:typescript@npm%3A5.1.6#optional!builtin::version=5.1.6&hash=5da071"]\ ],\ @@ -15276,14 +15447,14 @@ const RAW_RUNTIME_STATE = ],\ "linkType": "SOFT"\ }],\ - ["virtual:21a30884d94fbf67bcf4a1714713cc91d32809a34424c4ce678841dfdc63b58647c5e18570d56e36b3c762ee72f81c251599477127a715978fa6e1d8b9e5d952#npm:27.5.1", {\ - "packageLocation": "./.yarn/__virtual__/jest-virtual-5bad70dae6/0/cache/jest-npm-27.5.1-bacad4fe2a-a1435098e1.zip/node_modules/jest/",\ + ["virtual:9edf5f93d67eba3c8380c148f92c9ef44d49ad903cc76cc912170574219df4f3782593d38e7624104e39c45acd9d7b6cc855f78d7141d92f15dca9bd39617c31#npm:27.5.1", {\ + "packageLocation": "./.yarn/__virtual__/jest-virtual-81227f8030/0/cache/jest-npm-27.5.1-bacad4fe2a-a1435098e1.zip/node_modules/jest/",\ "packageDependencies": [\ - ["jest", "virtual:21a30884d94fbf67bcf4a1714713cc91d32809a34424c4ce678841dfdc63b58647c5e18570d56e36b3c762ee72f81c251599477127a715978fa6e1d8b9e5d952#npm:27.5.1"],\ - ["@jest/core", "virtual:5bad70dae6965fedb709435a1f98f6068f949c0c05d437106a92a9193b3e730d8268e7515dad25f5905ae92236992ab8fbfc7410fd0235d954a384668ad19a1c#npm:27.5.1"],\ + ["jest", "virtual:9edf5f93d67eba3c8380c148f92c9ef44d49ad903cc76cc912170574219df4f3782593d38e7624104e39c45acd9d7b6cc855f78d7141d92f15dca9bd39617c31#npm:27.5.1"],\ + ["@jest/core", "virtual:81227f80305668d3181a7ec43341f7ade14e129495535659497e0ce90d2f1630499dd88ccccec05be3b1a1f7a54282e9375653621e2bcff51f3b95817762e7b6#npm:27.5.1"],\ ["@types/node-notifier", null],\ ["import-local", "npm:3.1.0"],\ - ["jest-cli", "virtual:5bad70dae6965fedb709435a1f98f6068f949c0c05d437106a92a9193b3e730d8268e7515dad25f5905ae92236992ab8fbfc7410fd0235d954a384668ad19a1c#npm:27.5.1"],\ + ["jest-cli", "virtual:81227f80305668d3181a7ec43341f7ade14e129495535659497e0ce90d2f1630499dd88ccccec05be3b1a1f7a54282e9375653621e2bcff51f3b95817762e7b6#npm:27.5.1"],\ ["node-notifier", null]\ ],\ "packagePeers": [\ @@ -15341,11 +15512,11 @@ const RAW_RUNTIME_STATE = ],\ "linkType": "SOFT"\ }],\ - ["virtual:5bad70dae6965fedb709435a1f98f6068f949c0c05d437106a92a9193b3e730d8268e7515dad25f5905ae92236992ab8fbfc7410fd0235d954a384668ad19a1c#npm:27.5.1", {\ - "packageLocation": "./.yarn/__virtual__/jest-cli-virtual-78157380f0/0/cache/jest-cli-npm-27.5.1-e801369688-527be16078.zip/node_modules/jest-cli/",\ + ["virtual:81227f80305668d3181a7ec43341f7ade14e129495535659497e0ce90d2f1630499dd88ccccec05be3b1a1f7a54282e9375653621e2bcff51f3b95817762e7b6#npm:27.5.1", {\ + "packageLocation": "./.yarn/__virtual__/jest-cli-virtual-1b1b9f9091/0/cache/jest-cli-npm-27.5.1-e801369688-527be16078.zip/node_modules/jest-cli/",\ "packageDependencies": [\ - ["jest-cli", "virtual:5bad70dae6965fedb709435a1f98f6068f949c0c05d437106a92a9193b3e730d8268e7515dad25f5905ae92236992ab8fbfc7410fd0235d954a384668ad19a1c#npm:27.5.1"],\ - ["@jest/core", "virtual:5bad70dae6965fedb709435a1f98f6068f949c0c05d437106a92a9193b3e730d8268e7515dad25f5905ae92236992ab8fbfc7410fd0235d954a384668ad19a1c#npm:27.5.1"],\ + ["jest-cli", "virtual:81227f80305668d3181a7ec43341f7ade14e129495535659497e0ce90d2f1630499dd88ccccec05be3b1a1f7a54282e9375653621e2bcff51f3b95817762e7b6#npm:27.5.1"],\ + ["@jest/core", "virtual:81227f80305668d3181a7ec43341f7ade14e129495535659497e0ce90d2f1630499dd88ccccec05be3b1a1f7a54282e9375653621e2bcff51f3b95817762e7b6#npm:27.5.1"],\ ["@jest/test-result", "npm:27.5.1"],\ ["@jest/types", "npm:27.5.1"],\ ["@types/node-notifier", null],\ @@ -15353,7 +15524,7 @@ const RAW_RUNTIME_STATE = ["exit", "npm:0.1.2"],\ ["graceful-fs", "npm:4.2.11"],\ ["import-local", "npm:3.1.0"],\ - ["jest-config", "virtual:055df65b400bb3e4fa3657fa6f31b584e462c668e3360eba26d93c777dff436861f1ac977e7529e5b1c04a222ce4c589badeec22e2f87ac202495072a28ceb03#npm:27.5.1"],\ + ["jest-config", "virtual:a255ba05979701bcdf3b1c98495a4eb9b128fdc5198bc258e7b137a1871b9e2573296916afa02e02b7dbbcdc0ec1005f45145f2b321f716ce27d28381df68d88#npm:27.5.1"],\ ["jest-util", "npm:27.5.1"],\ ["jest-validate", "npm:27.5.1"],\ ["node-notifier", null],\ @@ -15375,15 +15546,15 @@ const RAW_RUNTIME_STATE = ],\ "linkType": "SOFT"\ }],\ - ["virtual:055df65b400bb3e4fa3657fa6f31b584e462c668e3360eba26d93c777dff436861f1ac977e7529e5b1c04a222ce4c589badeec22e2f87ac202495072a28ceb03#npm:27.5.1", {\ - "packageLocation": "./.yarn/__virtual__/jest-config-virtual-22a06fd252/0/cache/jest-config-npm-27.5.1-e70d159078-63bc2dce50.zip/node_modules/jest-config/",\ + ["virtual:a255ba05979701bcdf3b1c98495a4eb9b128fdc5198bc258e7b137a1871b9e2573296916afa02e02b7dbbcdc0ec1005f45145f2b321f716ce27d28381df68d88#npm:27.5.1", {\ + "packageLocation": "./.yarn/__virtual__/jest-config-virtual-eb610664e5/0/cache/jest-config-npm-27.5.1-e70d159078-63bc2dce50.zip/node_modules/jest-config/",\ "packageDependencies": [\ - ["jest-config", "virtual:055df65b400bb3e4fa3657fa6f31b584e462c668e3360eba26d93c777dff436861f1ac977e7529e5b1c04a222ce4c589badeec22e2f87ac202495072a28ceb03#npm:27.5.1"],\ + ["jest-config", "virtual:a255ba05979701bcdf3b1c98495a4eb9b128fdc5198bc258e7b137a1871b9e2573296916afa02e02b7dbbcdc0ec1005f45145f2b321f716ce27d28381df68d88#npm:27.5.1"],\ ["@babel/core", "npm:7.22.9"],\ ["@jest/test-sequencer", "npm:27.5.1"],\ ["@jest/types", "npm:27.5.1"],\ ["@types/ts-node", null],\ - ["babel-jest", "virtual:22a06fd2523d9a1c7ec843e303e5545630e46567c6023b7a0a724a1e23da515483816d12e5eb6cf98caaf6877afb4ce10ecb0a2a9a0c7eb4000f4c90978167ab#npm:27.5.1"],\ + ["babel-jest", "virtual:eb610664e5b7f68ef3b54dc7c483973422c30c6f644ed269f8b9fcb02ae7792ae41e079a1494226b12598e4f3f3720f4207133d2a592610cd97c57f5b570933e#npm:27.5.1"],\ ["chalk", "npm:4.1.2"],\ ["ci-info", "npm:3.8.0"],\ ["deepmerge", "npm:4.3.1"],\ @@ -17892,15 +18063,6 @@ const RAW_RUNTIME_STATE = "linkType": "HARD"\ }]\ ]],\ - ["mkdirp-classic", [\ - ["npm:0.5.3", {\ - "packageLocation": "./.yarn/cache/mkdirp-classic-npm-0.5.3-3b5c991910-3f4e088208.zip/node_modules/mkdirp-classic/",\ - "packageDependencies": [\ - ["mkdirp-classic", "npm:0.5.3"]\ - ],\ - "linkType": "HARD"\ - }]\ - ]],\ ["mocha", [\ ["npm:10.2.0", {\ "packageLocation": "./.yarn/cache/mocha-npm-10.2.0-87db25c7c5-f7362898ae.zip/node_modules/mocha/",\ @@ -18046,10 +18208,10 @@ const RAW_RUNTIME_STATE = }]\ ]],\ ["nan", [\ - ["npm:2.18.0", {\ - "packageLocation": "./.yarn/unplugged/nan-npm-2.18.0-a51ed5bed5/node_modules/nan/",\ + ["npm:2.19.0", {\ + "packageLocation": "./.yarn/unplugged/nan-npm-2.19.0-2f5da4a528/node_modules/nan/",\ "packageDependencies": [\ - ["nan", "npm:2.18.0"],\ + ["nan", "npm:2.19.0"],\ ["node-gyp", "npm:9.4.0"]\ ],\ "linkType": "HARD"\ @@ -18091,15 +18253,6 @@ const RAW_RUNTIME_STATE = "linkType": "HARD"\ }]\ ]],\ - ["napi-build-utils", [\ - ["npm:1.0.2", {\ - "packageLocation": "./.yarn/cache/napi-build-utils-npm-1.0.2-892e4bba56-276feb8e30.zip/node_modules/napi-build-utils/",\ - "packageDependencies": [\ - ["napi-build-utils", "npm:1.0.2"]\ - ],\ - "linkType": "HARD"\ - }]\ - ]],\ ["natural-compare", [\ ["npm:1.4.0", {\ "packageLocation": "./.yarn/cache/natural-compare-npm-1.4.0-97b75b362d-23ad088b08.zip/node_modules/natural-compare/",\ @@ -18175,16 +18328,6 @@ const RAW_RUNTIME_STATE = "linkType": "HARD"\ }]\ ]],\ - ["node-abi", [\ - ["npm:3.45.0", {\ - "packageLocation": "./.yarn/cache/node-abi-npm-3.45.0-586bc5cf50-b59b49d515.zip/node_modules/node-abi/",\ - "packageDependencies": [\ - ["node-abi", "npm:3.45.0"],\ - ["semver", "npm:7.5.4"]\ - ],\ - "linkType": "HARD"\ - }]\ - ]],\ ["node-addon-api", [\ ["npm:5.1.0", {\ "packageLocation": "./.yarn/unplugged/node-addon-api-npm-5.1.0-b50d00f739/node_modules/node-addon-api/",\ @@ -18193,14 +18336,6 @@ const RAW_RUNTIME_STATE = ["node-gyp", "npm:9.4.0"]\ ],\ "linkType": "HARD"\ - }],\ - ["npm:6.1.0", {\ - "packageLocation": "./.yarn/unplugged/node-addon-api-npm-6.1.0-634c545b39/node_modules/node-addon-api/",\ - "packageDependencies": [\ - ["node-addon-api", "npm:6.1.0"],\ - ["node-gyp", "npm:9.4.0"]\ - ],\ - "linkType": "HARD"\ }]\ ]],\ ["node-domexception", [\ @@ -18220,16 +18355,6 @@ const RAW_RUNTIME_STATE = ],\ "linkType": "SOFT"\ }],\ - ["npm:3.3.1", {\ - "packageLocation": "./.yarn/cache/node-fetch-npm-3.3.1-576511fc5a-9fed9ed9ab.zip/node_modules/node-fetch/",\ - "packageDependencies": [\ - ["node-fetch", "npm:3.3.1"],\ - ["data-uri-to-buffer", "npm:4.0.1"],\ - ["fetch-blob", "npm:3.2.0"],\ - ["formdata-polyfill", "npm:4.0.10"]\ - ],\ - "linkType": "HARD"\ - }],\ ["npm:3.3.2", {\ "packageLocation": "./.yarn/cache/node-fetch-npm-3.3.2-5267e015f2-24207ca8c8.zip/node_modules/node-fetch/",\ "packageDependencies": [\ @@ -20131,27 +20256,6 @@ const RAW_RUNTIME_STATE = "linkType": "HARD"\ }]\ ]],\ - ["prebuild-install", [\ - ["npm:7.1.1", {\ - "packageLocation": "./.yarn/cache/prebuild-install-npm-7.1.1-cb9fc9d341-6c70a2f82f.zip/node_modules/prebuild-install/",\ - "packageDependencies": [\ - ["prebuild-install", "npm:7.1.1"],\ - ["detect-libc", "npm:2.0.2"],\ - ["expand-template", "npm:2.0.3"],\ - ["github-from-package", "npm:0.0.0"],\ - ["minimist", "npm:1.2.8"],\ - ["mkdirp-classic", "npm:0.5.3"],\ - ["napi-build-utils", "npm:1.0.2"],\ - ["node-abi", "npm:3.45.0"],\ - ["pump", "npm:3.0.0"],\ - ["rc", "npm:1.2.8"],\ - ["simple-get", "npm:4.0.1"],\ - ["tar-fs", "npm:2.1.1"],\ - ["tunnel-agent", "npm:0.6.0"]\ - ],\ - "linkType": "HARD"\ - }]\ - ]],\ ["prelude-ls", [\ ["npm:1.2.1", {\ "packageLocation": "./.yarn/cache/prelude-ls-npm-1.2.1-3e4d272a55-0b9d2c7680.zip/node_modules/prelude-ls/",\ @@ -20834,19 +20938,6 @@ const RAW_RUNTIME_STATE = "linkType": "HARD"\ }]\ ]],\ - ["rc", [\ - ["npm:1.2.8", {\ - "packageLocation": "./.yarn/cache/rc-npm-1.2.8-d6768ac936-5c4d72ae7e.zip/node_modules/rc/",\ - "packageDependencies": [\ - ["rc", "npm:1.2.8"],\ - ["deep-extend", "npm:0.6.0"],\ - ["ini", "npm:1.3.8"],\ - ["minimist", "npm:1.2.8"],\ - ["strip-json-comments", "npm:2.0.1"]\ - ],\ - "linkType": "HARD"\ - }]\ - ]],\ ["rdf-canonize", [\ ["npm:3.4.0", {\ "packageLocation": "./.yarn/cache/rdf-canonize-npm-3.4.0-87bb945794-4b77dad3ef.zip/node_modules/rdf-canonize/",\ @@ -20858,12 +20949,12 @@ const RAW_RUNTIME_STATE = }]\ ]],\ ["re2", [\ - ["npm:1.20.9", {\ - "packageLocation": "./.yarn/unplugged/re2-npm-1.20.9-65a014d791/node_modules/re2/",\ + ["npm:1.20.11", {\ + "packageLocation": "./.yarn/unplugged/re2-npm-1.20.11-ab65de125e/node_modules/re2/",\ "packageDependencies": [\ - ["re2", "npm:1.20.9"],\ + ["re2", "npm:1.20.11"],\ ["install-artifact-from-github", "npm:1.3.5"],\ - ["nan", "npm:2.18.0"],\ + ["nan", "npm:2.19.0"],\ ["node-gyp", "npm:10.0.1"]\ ],\ "linkType": "HARD"\ @@ -21808,6 +21899,13 @@ const RAW_RUNTIME_STATE = ["lru-cache", "npm:6.0.0"]\ ],\ "linkType": "HARD"\ + }],\ + ["npm:7.6.2", {\ + "packageLocation": "./.yarn/cache/semver-npm-7.6.2-0fec6944bb-296b17d027.zip/node_modules/semver/",\ + "packageDependencies": [\ + ["semver", "npm:7.6.2"]\ + ],\ + "linkType": "HARD"\ }]\ ]],\ ["semver-greatest-satisfied-range", [\ @@ -21937,19 +22035,32 @@ const RAW_RUNTIME_STATE = }]\ ]],\ ["sharp", [\ - ["npm:0.32.1", {\ - "packageLocation": "./.yarn/unplugged/sharp-npm-0.32.1-5af640fc49/node_modules/sharp/",\ + ["npm:0.33.4", {\ + "packageLocation": "./.yarn/unplugged/sharp-npm-0.33.4-afc15185a7/node_modules/sharp/",\ "packageDependencies": [\ - ["sharp", "npm:0.32.1"],\ + ["sharp", "npm:0.33.4"],\ + ["@img/sharp-darwin-arm64", "npm:0.33.4"],\ + ["@img/sharp-darwin-x64", "npm:0.33.4"],\ + ["@img/sharp-libvips-darwin-arm64", "npm:1.0.2"],\ + ["@img/sharp-libvips-darwin-x64", "npm:1.0.2"],\ + ["@img/sharp-libvips-linux-arm", "npm:1.0.2"],\ + ["@img/sharp-libvips-linux-arm64", "npm:1.0.2"],\ + ["@img/sharp-libvips-linux-s390x", "npm:1.0.2"],\ + ["@img/sharp-libvips-linux-x64", "npm:1.0.2"],\ + ["@img/sharp-libvips-linuxmusl-arm64", "npm:1.0.2"],\ + ["@img/sharp-libvips-linuxmusl-x64", "npm:1.0.2"],\ + ["@img/sharp-linux-arm", "npm:0.33.4"],\ + ["@img/sharp-linux-arm64", "npm:0.33.4"],\ + ["@img/sharp-linux-s390x", "npm:0.33.4"],\ + ["@img/sharp-linux-x64", "npm:0.33.4"],\ + ["@img/sharp-linuxmusl-arm64", "npm:0.33.4"],\ + ["@img/sharp-linuxmusl-x64", "npm:0.33.4"],\ + ["@img/sharp-wasm32", "npm:0.33.4"],\ + ["@img/sharp-win32-ia32", "npm:0.33.4"],\ + ["@img/sharp-win32-x64", "npm:0.33.4"],\ ["color", "npm:4.2.3"],\ - ["detect-libc", "npm:2.0.2"],\ - ["node-addon-api", "npm:6.1.0"],\ - ["node-gyp", "npm:9.4.0"],\ - ["prebuild-install", "npm:7.1.1"],\ - ["semver", "npm:7.5.4"],\ - ["simple-get", "npm:4.0.1"],\ - ["tar-fs", "npm:2.1.1"],\ - ["tunnel-agent", "npm:0.6.0"]\ + ["detect-libc", "npm:2.0.3"],\ + ["semver", "npm:7.6.2"]\ ],\ "linkType": "HARD"\ }]\ @@ -22016,27 +22127,6 @@ const RAW_RUNTIME_STATE = "linkType": "HARD"\ }]\ ]],\ - ["simple-concat", [\ - ["npm:1.0.1", {\ - "packageLocation": "./.yarn/cache/simple-concat-npm-1.0.1-48df70de29-4d211042cc.zip/node_modules/simple-concat/",\ - "packageDependencies": [\ - ["simple-concat", "npm:1.0.1"]\ - ],\ - "linkType": "HARD"\ - }]\ - ]],\ - ["simple-get", [\ - ["npm:4.0.1", {\ - "packageLocation": "./.yarn/cache/simple-get-npm-4.0.1-fa2a97645d-93f1b32319.zip/node_modules/simple-get/",\ - "packageDependencies": [\ - ["simple-get", "npm:4.0.1"],\ - ["decompress-response", "npm:6.0.0"],\ - ["once", "npm:1.4.0"],\ - ["simple-concat", "npm:1.0.1"]\ - ],\ - "linkType": "HARD"\ - }]\ - ]],\ ["simple-swizzle", [\ ["npm:0.2.2", {\ "packageLocation": "./.yarn/cache/simple-swizzle-npm-0.2.2-8dee37fad1-c6dffff17a.zip/node_modules/simple-swizzle/",\ @@ -22761,13 +22851,6 @@ const RAW_RUNTIME_STATE = }]\ ]],\ ["strip-json-comments", [\ - ["npm:2.0.1", {\ - "packageLocation": "./.yarn/cache/strip-json-comments-npm-2.0.1-e7883b2d04-1074ccb632.zip/node_modules/strip-json-comments/",\ - "packageDependencies": [\ - ["strip-json-comments", "npm:2.0.1"]\ - ],\ - "linkType": "HARD"\ - }],\ ["npm:3.1.1", {\ "packageLocation": "./.yarn/cache/strip-json-comments-npm-3.1.1-dcb2324823-492f73e272.zip/node_modules/strip-json-comments/",\ "packageDependencies": [\ @@ -22820,26 +22903,6 @@ const RAW_RUNTIME_STATE = "linkType": "HARD"\ }]\ ]],\ - ["summaly", [\ - ["npm:2.7.0", {\ - "packageLocation": "./.yarn/cache/summaly-npm-2.7.0-e25bfbf6a2-ce49173396.zip/node_modules/summaly/",\ - "packageDependencies": [\ - ["summaly", "npm:2.7.0"],\ - ["cheerio", "npm:0.22.0"],\ - ["debug", "virtual:e25bfbf6a21b48b0676f9feb450311244401d305a353e3f897116a12e8c3ea4290af8f75d82293d983ade94477e438f22bd5aef50106ca078894f6d12cb168a2#npm:4.3.3"],\ - ["escape-regexp", "npm:0.0.1"],\ - ["got", "npm:11.8.5"],\ - ["html-entities", "npm:2.3.2"],\ - ["iconv-lite", "npm:0.6.3"],\ - ["jschardet", "npm:3.0.0"],\ - ["koa", "npm:2.13.4"],\ - ["private-ip", "npm:2.3.3"],\ - ["require-all", "npm:3.0.0"],\ - ["trace-redirect", "npm:1.0.6"]\ - ],\ - "linkType": "HARD"\ - }]\ - ]],\ ["supports-color", [\ ["npm:2.0.0", {\ "packageLocation": "./.yarn/cache/supports-color-npm-2.0.0-22c0f0adbc-d2957d19e7.zip/node_modules/supports-color/",\ @@ -22933,10 +22996,10 @@ const RAW_RUNTIME_STATE = "packageLocation": "./packages/sw/",\ "packageDependencies": [\ ["sw", "workspace:packages/sw"],\ - ["@swc/cli", "virtual:21a30884d94fbf67bcf4a1714713cc91d32809a34424c4ce678841dfdc63b58647c5e18570d56e36b3c762ee72f81c251599477127a715978fa6e1d8b9e5d952#npm:0.1.62"],\ - ["@swc/core", "virtual:21a30884d94fbf67bcf4a1714713cc91d32809a34424c4ce678841dfdc63b58647c5e18570d56e36b3c762ee72f81c251599477127a715978fa6e1d8b9e5d952#npm:1.3.71"],\ + ["@swc/cli", "virtual:9edf5f93d67eba3c8380c148f92c9ef44d49ad903cc76cc912170574219df4f3782593d38e7624104e39c45acd9d7b6cc855f78d7141d92f15dca9bd39617c31#npm:0.1.62"],\ + ["@swc/core", "virtual:9edf5f93d67eba3c8380c148f92c9ef44d49ad903cc76cc912170574219df4f3782593d38e7624104e39c45acd9d7b6cc855f78d7141d92f15dca9bd39617c31#npm:1.3.71"],\ ["@swc/core-android-arm64", "npm:1.3.11"],\ - ["iceshrimp-js", "workspace:packages/iceshrimp-js"],\ + ["iceshrimp-sdk", "workspace:packages/iceshrimp-sdk"],\ ["idb-keyval", "npm:6.2.1"],\ ["swc-loader", "virtual:ca97bcf58b4df736e59aebf35e2726a99801473dc9e8d2e8b50d915881743bb290aff0829afda73eac01b177f0dbabc037ad0f5cab207f280afc6224bb84bfd8#npm:0.2.3"],\ ["webpack", "virtual:ca97bcf58b4df736e59aebf35e2726a99801473dc9e8d2e8b50d915881743bb290aff0829afda73eac01b177f0dbabc037ad0f5cab207f280afc6224bb84bfd8#npm:5.88.2"],\ @@ -22957,7 +23020,7 @@ const RAW_RUNTIME_STATE = "packageLocation": "./.yarn/__virtual__/swc-loader-virtual-93a0cf30c7/0/cache/swc-loader-npm-0.2.3-349484c9ea-010d84d399.zip/node_modules/swc-loader/",\ "packageDependencies": [\ ["swc-loader", "virtual:aa59773ac87791c4813d53447077fcf8a847d6de5a301d34dc31286584b1dbb26d30d3adb5b4c41c1e8aea04371e926fda05c09c6253647c432e11d872a304ba#npm:0.2.3"],\ - ["@swc/core", "virtual:21a30884d94fbf67bcf4a1714713cc91d32809a34424c4ce678841dfdc63b58647c5e18570d56e36b3c762ee72f81c251599477127a715978fa6e1d8b9e5d952#npm:1.3.71"],\ + ["@swc/core", "virtual:9edf5f93d67eba3c8380c148f92c9ef44d49ad903cc76cc912170574219df4f3782593d38e7624104e39c45acd9d7b6cc855f78d7141d92f15dca9bd39617c31#npm:1.3.71"],\ ["@types/swc__core", null],\ ["@types/webpack", null],\ ["webpack", "virtual:aa59773ac87791c4813d53447077fcf8a847d6de5a301d34dc31286584b1dbb26d30d3adb5b4c41c1e8aea04371e926fda05c09c6253647c432e11d872a304ba#npm:5.88.2"]\ @@ -22974,7 +23037,7 @@ const RAW_RUNTIME_STATE = "packageLocation": "./.yarn/__virtual__/swc-loader-virtual-cadbca2069/0/cache/swc-loader-npm-0.2.3-349484c9ea-010d84d399.zip/node_modules/swc-loader/",\ "packageDependencies": [\ ["swc-loader", "virtual:ca97bcf58b4df736e59aebf35e2726a99801473dc9e8d2e8b50d915881743bb290aff0829afda73eac01b177f0dbabc037ad0f5cab207f280afc6224bb84bfd8#npm:0.2.3"],\ - ["@swc/core", "virtual:21a30884d94fbf67bcf4a1714713cc91d32809a34424c4ce678841dfdc63b58647c5e18570d56e36b3c762ee72f81c251599477127a715978fa6e1d8b9e5d952#npm:1.3.71"],\ + ["@swc/core", "virtual:9edf5f93d67eba3c8380c148f92c9ef44d49ad903cc76cc912170574219df4f3782593d38e7624104e39c45acd9d7b6cc855f78d7141d92f15dca9bd39617c31#npm:1.3.71"],\ ["@types/swc__core", null],\ ["@types/webpack", null],\ ["webpack", "virtual:ca97bcf58b4df736e59aebf35e2726a99801473dc9e8d2e8b50d915881743bb290aff0829afda73eac01b177f0dbabc037ad0f5cab207f280afc6224bb84bfd8#npm:5.88.2"]\ @@ -23078,19 +23141,6 @@ const RAW_RUNTIME_STATE = "linkType": "HARD"\ }]\ ]],\ - ["tar-fs", [\ - ["npm:2.1.1", {\ - "packageLocation": "./.yarn/cache/tar-fs-npm-2.1.1-e374d3b7a2-526deae025.zip/node_modules/tar-fs/",\ - "packageDependencies": [\ - ["tar-fs", "npm:2.1.1"],\ - ["chownr", "npm:1.1.4"],\ - ["mkdirp-classic", "npm:0.5.3"],\ - ["pump", "npm:3.0.0"],\ - ["tar-stream", "npm:2.2.0"]\ - ],\ - "linkType": "HARD"\ - }]\ - ]],\ ["tar-stream", [\ ["npm:1.6.2", {\ "packageLocation": "./.yarn/cache/tar-stream-npm-1.6.2-f4a7fc08e2-ac9b850bd4.zip/node_modules/tar-stream/",\ @@ -23607,15 +23657,6 @@ const RAW_RUNTIME_STATE = "linkType": "HARD"\ }]\ ]],\ - ["trace-redirect", [\ - ["npm:1.0.6", {\ - "packageLocation": "./.yarn/cache/trace-redirect-npm-1.0.6-e4829a09f3-20429f8ed3.zip/node_modules/trace-redirect/",\ - "packageDependencies": [\ - ["trace-redirect", "npm:1.0.6"]\ - ],\ - "linkType": "HARD"\ - }]\ - ]],\ ["trim-newlines", [\ ["npm:3.0.1", {\ "packageLocation": "./.yarn/cache/trim-newlines-npm-3.0.1-22f1f216de-b530f3fadf.zip/node_modules/trim-newlines/",\ @@ -23678,10 +23719,10 @@ const RAW_RUNTIME_STATE = ],\ "linkType": "SOFT"\ }],\ - ["virtual:21a30884d94fbf67bcf4a1714713cc91d32809a34424c4ce678841dfdc63b58647c5e18570d56e36b3c762ee72f81c251599477127a715978fa6e1d8b9e5d952#npm:27.1.5", {\ - "packageLocation": "./.yarn/__virtual__/ts-jest-virtual-15e65b8c94/0/cache/ts-jest-npm-27.1.5-6f0b4fcb08-7675946cef.zip/node_modules/ts-jest/",\ + ["virtual:9edf5f93d67eba3c8380c148f92c9ef44d49ad903cc76cc912170574219df4f3782593d38e7624104e39c45acd9d7b6cc855f78d7141d92f15dca9bd39617c31#npm:27.1.5", {\ + "packageLocation": "./.yarn/__virtual__/ts-jest-virtual-68e9091f94/0/cache/ts-jest-npm-27.1.5-6f0b4fcb08-7675946cef.zip/node_modules/ts-jest/",\ "packageDependencies": [\ - ["ts-jest", "virtual:21a30884d94fbf67bcf4a1714713cc91d32809a34424c4ce678841dfdc63b58647c5e18570d56e36b3c762ee72f81c251599477127a715978fa6e1d8b9e5d952#npm:27.1.5"],\ + ["ts-jest", "virtual:9edf5f93d67eba3c8380c148f92c9ef44d49ad903cc76cc912170574219df4f3782593d38e7624104e39c45acd9d7b6cc855f78d7141d92f15dca9bd39617c31#npm:27.1.5"],\ ["@babel/core", null],\ ["@types/babel-jest", null],\ ["@types/babel__core", null],\ @@ -23692,7 +23733,7 @@ const RAW_RUNTIME_STATE = ["bs-logger", "npm:0.2.6"],\ ["esbuild", null],\ ["fast-json-stable-stringify", "npm:2.1.0"],\ - ["jest", "virtual:21a30884d94fbf67bcf4a1714713cc91d32809a34424c4ce678841dfdc63b58647c5e18570d56e36b3c762ee72f81c251599477127a715978fa6e1d8b9e5d952#npm:27.5.1"],\ + ["jest", "virtual:9edf5f93d67eba3c8380c148f92c9ef44d49ad903cc76cc912170574219df4f3782593d38e7624104e39c45acd9d7b6cc855f78d7141d92f15dca9bd39617c31#npm:27.5.1"],\ ["jest-util", "npm:27.5.1"],\ ["json5", "npm:2.2.3"],\ ["lodash.memoize", "npm:4.1.2"],\ @@ -23761,12 +23802,12 @@ const RAW_RUNTIME_STATE = ],\ "linkType": "SOFT"\ }],\ - ["virtual:21a30884d94fbf67bcf4a1714713cc91d32809a34424c4ce678841dfdc63b58647c5e18570d56e36b3c762ee72f81c251599477127a715978fa6e1d8b9e5d952#npm:10.4.0", {\ - "packageLocation": "./.yarn/__virtual__/ts-node-virtual-077029c9f5/0/cache/ts-node-npm-10.4.0-04cb6e2279-5874ac27f6.zip/node_modules/ts-node/",\ + ["virtual:9edf5f93d67eba3c8380c148f92c9ef44d49ad903cc76cc912170574219df4f3782593d38e7624104e39c45acd9d7b6cc855f78d7141d92f15dca9bd39617c31#npm:10.4.0", {\ + "packageLocation": "./.yarn/__virtual__/ts-node-virtual-290e5828a7/0/cache/ts-node-npm-10.4.0-04cb6e2279-5874ac27f6.zip/node_modules/ts-node/",\ "packageDependencies": [\ - ["ts-node", "virtual:21a30884d94fbf67bcf4a1714713cc91d32809a34424c4ce678841dfdc63b58647c5e18570d56e36b3c762ee72f81c251599477127a715978fa6e1d8b9e5d952#npm:10.4.0"],\ + ["ts-node", "virtual:9edf5f93d67eba3c8380c148f92c9ef44d49ad903cc76cc912170574219df4f3782593d38e7624104e39c45acd9d7b6cc855f78d7141d92f15dca9bd39617c31#npm:10.4.0"],\ ["@cspotcode/source-map-support", "npm:0.7.0"],\ - ["@swc/core", "virtual:21a30884d94fbf67bcf4a1714713cc91d32809a34424c4ce678841dfdc63b58647c5e18570d56e36b3c762ee72f81c251599477127a715978fa6e1d8b9e5d952#npm:1.3.71"],\ + ["@swc/core", "virtual:9edf5f93d67eba3c8380c148f92c9ef44d49ad903cc76cc912170574219df4f3782593d38e7624104e39c45acd9d7b6cc855f78d7141d92f15dca9bd39617c31#npm:1.3.71"],\ ["@swc/wasm", null],\ ["@tsconfig/node10", "npm:1.0.9"],\ ["@tsconfig/node12", "npm:1.0.11"],\ @@ -23801,7 +23842,7 @@ const RAW_RUNTIME_STATE = "packageDependencies": [\ ["ts-node", "virtual:aa59773ac87791c4813d53447077fcf8a847d6de5a301d34dc31286584b1dbb26d30d3adb5b4c41c1e8aea04371e926fda05c09c6253647c432e11d872a304ba#npm:10.9.1"],\ ["@cspotcode/source-map-support", "npm:0.8.1"],\ - ["@swc/core", "virtual:21a30884d94fbf67bcf4a1714713cc91d32809a34424c4ce678841dfdc63b58647c5e18570d56e36b3c762ee72f81c251599477127a715978fa6e1d8b9e5d952#npm:1.3.71"],\ + ["@swc/core", "virtual:9edf5f93d67eba3c8380c148f92c9ef44d49ad903cc76cc912170574219df4f3782593d38e7624104e39c45acd9d7b6cc855f78d7141d92f15dca9bd39617c31#npm:1.3.71"],\ ["@swc/wasm", null],\ ["@tsconfig/node10", "npm:1.0.9"],\ ["@tsconfig/node12", "npm:1.0.11"],\ @@ -24603,13 +24644,6 @@ const RAW_RUNTIME_STATE = }]\ ]],\ ["uuid", [\ - ["npm:7.0.3", {\ - "packageLocation": "./.yarn/cache/uuid-npm-7.0.3-2b088bd924-b2a4d30ecd.zip/node_modules/uuid/",\ - "packageDependencies": [\ - ["uuid", "npm:7.0.3"]\ - ],\ - "linkType": "HARD"\ - }],\ ["npm:8.0.0", {\ "packageLocation": "./.yarn/cache/uuid-npm-8.0.0-591e3a2e23-5086c43bbe.zip/node_modules/uuid/",\ "packageDependencies": [\ @@ -24630,6 +24664,13 @@ const RAW_RUNTIME_STATE = ["uuid", "npm:9.0.0"]\ ],\ "linkType": "HARD"\ + }],\ + ["npm:9.0.1", {\ + "packageLocation": "./.yarn/cache/uuid-npm-9.0.1-39a8442bc6-9d0b6adb72.zip/node_modules/uuid/",\ + "packageDependencies": [\ + ["uuid", "npm:9.0.1"]\ + ],\ + "linkType": "HARD"\ }]\ ]],\ ["v8-compile-cache-lib", [\ @@ -27330,6 +27371,12 @@ class ProxiedFS extends FakeFS { rmdirSync(p, opts) { return this.baseFs.rmdirSync(this.mapToBase(p), opts); } + async rmPromise(p, opts) { + return this.baseFs.rmPromise(this.mapToBase(p), opts); + } + rmSync(p, opts) { + return this.baseFs.rmSync(this.mapToBase(p), opts); + } async linkPromise(existingP, newP) { return this.baseFs.linkPromise(this.mapToBase(existingP), this.mapToBase(newP)); } @@ -27711,6 +27758,18 @@ class NodeFS extends BasePortableFakeFS { rmdirSync(p, opts) { return this.realFs.rmdirSync(npath.fromPortablePath(p), opts); } + async rmPromise(p, opts) { + return await new Promise((resolve, reject) => { + if (opts) { + this.realFs.rm(npath.fromPortablePath(p), opts, this.makeCallback(resolve, reject)); + } else { + this.realFs.rm(npath.fromPortablePath(p), this.makeCallback(resolve, reject)); + } + }); + } + rmSync(p, opts) { + return this.realFs.rmSync(npath.fromPortablePath(p), opts); + } async linkPromise(existingP, newP) { return await new Promise((resolve, reject) => { this.realFs.link(npath.fromPortablePath(existingP), npath.fromPortablePath(newP), this.makeCallback(resolve, reject)); @@ -28366,6 +28425,20 @@ class MountFS extends BasePortableFakeFS { return mountFs.rmdirSync(subPath, opts); }); } + async rmPromise(p, opts) { + return await this.makeCallPromise(p, async () => { + return await this.baseFs.rmPromise(p, opts); + }, async (mountFs, { subPath }) => { + return await mountFs.rmPromise(subPath, opts); + }); + } + rmSync(p, opts) { + return this.makeCallSync(p, () => { + return this.baseFs.rmSync(p, opts); + }, (mountFs, { subPath }) => { + return mountFs.rmSync(subPath, opts); + }); + } async linkPromise(existingP, newP) { return await this.makeCallPromise(newP, async () => { return await this.baseFs.linkPromise(existingP, newP); @@ -29004,6 +29077,7 @@ const SYNC_IMPLEMENTATIONS = /* @__PURE__ */ new Set([ `realpathSync`, `renameSync`, `rmdirSync`, + `rmSync`, `statSync`, `symlinkSync`, `truncateSync`, @@ -29039,6 +29113,7 @@ const ASYNC_IMPLEMENTATIONS = /* @__PURE__ */ new Set([ `readlinkPromise`, `renamePromise`, `rmdirPromise`, + `rmPromise`, `statPromise`, `symlinkPromise`, `truncatePromise`, @@ -31064,6 +31139,27 @@ class ZipFS extends BasePortableFakeFS { throw EINVAL(`rmdir '${p}'`); this.deleteEntry(p, index); } + async rmPromise(p, opts) { + return this.rmSync(p, opts); + } + rmSync(p, { recursive = false } = {}) { + if (this.readOnly) + throw EROFS(`rm '${p}'`); + if (recursive) { + this.removeSync(p); + return; + } + const resolvedP = this.resolveFilename(`rm '${p}'`, p); + const directoryListing = this.listings.get(resolvedP); + if (!directoryListing) + throw ENOTDIR(`rm '${p}'`); + if (directoryListing.size > 0) + throw ENOTEMPTY(`rm '${p}'`); + const index = this.entries.get(resolvedP); + if (typeof index === `undefined`) + throw EINVAL(`rm '${p}'`); + this.deleteEntry(p, index); + } hydrateDirectory(resolvedP) { const index = this.libzip.dir.add(this.zip, ppath.relative(PortablePath.root, resolvedP)); if (index === -1) diff --git a/.pnp.loader.mjs b/.pnp.loader.mjs index 81ae9a6b2..0d287915d 100644 --- a/.pnp.loader.mjs +++ b/.pnp.loader.mjs @@ -1,9 +1,12 @@ +/* eslint-disable */ +// @ts-nocheck + import fs from 'fs'; import { URL as URL$1, fileURLToPath, pathToFileURL } from 'url'; import path from 'path'; import { createHash } from 'crypto'; import { EOL } from 'os'; -import moduleExports, { isBuiltin } from 'module'; +import esmModule, { createRequire, isBuiltin } from 'module'; import assert from 'assert'; const SAFE_TIME = 456789e3; @@ -830,6 +833,12 @@ class ProxiedFS extends FakeFS { rmdirSync(p, opts) { return this.baseFs.rmdirSync(this.mapToBase(p), opts); } + async rmPromise(p, opts) { + return this.baseFs.rmPromise(this.mapToBase(p), opts); + } + rmSync(p, opts) { + return this.baseFs.rmSync(this.mapToBase(p), opts); + } async linkPromise(existingP, newP) { return this.baseFs.linkPromise(this.mapToBase(existingP), this.mapToBase(newP)); } @@ -1211,6 +1220,18 @@ class NodeFS extends BasePortableFakeFS { rmdirSync(p, opts) { return this.realFs.rmdirSync(npath.fromPortablePath(p), opts); } + async rmPromise(p, opts) { + return await new Promise((resolve, reject) => { + if (opts) { + this.realFs.rm(npath.fromPortablePath(p), opts, this.makeCallback(resolve, reject)); + } else { + this.realFs.rm(npath.fromPortablePath(p), this.makeCallback(resolve, reject)); + } + }); + } + rmSync(p, opts) { + return this.realFs.rmSync(npath.fromPortablePath(p), opts); + } async linkPromise(existingP, newP) { return await new Promise((resolve, reject) => { this.realFs.link(npath.fromPortablePath(existingP), npath.fromPortablePath(newP), this.makeCallback(resolve, reject)); @@ -1403,6 +1424,8 @@ const URL = Number(process.versions.node.split('.', 1)[0]) < 20 ? URL$1 : global const [major, minor] = process.versions.node.split(`.`).map((value) => parseInt(value, 10)); const WATCH_MODE_MESSAGE_USES_ARRAYS = major > 19 || major === 19 && minor >= 2 || major === 18 && minor >= 13; const HAS_LAZY_LOADED_TRANSLATORS = major === 20 && minor < 6 || major === 19 && minor >= 3; +const SUPPORTS_IMPORT_ATTRIBUTES = major >= 21 || major === 20 && minor >= 10 || major === 18 && minor >= 20; +const SUPPORTS_IMPORT_ATTRIBUTES_ONLY = major >= 22; function readPackageScope(checkPath) { const rootSeparatorIndex = checkPath.indexOf(npath.sep); @@ -1493,10 +1516,21 @@ async function load$1(urlString, context, nextLoad) { const format = getFileFormat(filePath); if (!format) return nextLoad(urlString, context, nextLoad); - if (format === `json` && context.importAssertions?.type !== `json`) { - const err = new TypeError(`[ERR_IMPORT_ASSERTION_TYPE_MISSING]: Module "${urlString}" needs an import assertion of type "json"`); - err.code = `ERR_IMPORT_ASSERTION_TYPE_MISSING`; - throw err; + if (format === `json`) { + if (SUPPORTS_IMPORT_ATTRIBUTES_ONLY) { + if (context.importAttributes?.type !== `json`) { + const err = new TypeError(`[ERR_IMPORT_ATTRIBUTE_MISSING]: Module "${urlString}" needs an import attribute of "type: json"`); + err.code = `ERR_IMPORT_ATTRIBUTE_MISSING`; + throw err; + } + } else { + const type = `importAttributes` in context ? context.importAttributes?.type : context.importAssertions?.type; + if (type !== `json`) { + const err = new TypeError(`[ERR_IMPORT_ASSERTION_TYPE_MISSING]: Module "${urlString}" needs an import ${SUPPORTS_IMPORT_ATTRIBUTES ? `attribute` : `assertion`} of type "json"`); + err.code = `ERR_IMPORT_ASSERTION_TYPE_MISSING`; + throw err; + } + } } if (process.env.WATCH_REPORT_DEPENDENCIES && process.send) { const pathToSend = pathToFileURL( @@ -1941,6 +1975,13 @@ function packageImportsResolve({ name, base, conditions, readFileSyncFn }) { throwImportNotDefined(name, packageJSONUrl, base); } +let findPnpApi = esmModule.findPnpApi; +if (!findPnpApi) { + const require = createRequire(import.meta.url); + const pnpApi = require(`./.pnp.cjs`); + pnpApi.setup(); + findPnpApi = esmModule.findPnpApi; +} const pathRegExp = /^(?![a-zA-Z]:[\\/]|\\\\|\.{0,2}(?:\/|$))((?:node:)?(?:@[^/]+\/)?[^/]+)\/*(.*|)$/; const isRelativeRegexp = /^\.{0,2}\//; function tryReadFile(filePath) { @@ -1968,7 +2009,6 @@ async function resolvePrivateRequest(specifier, issuer, context, nextResolve) { } } async function resolve$1(originalSpecifier, context, nextResolve) { - const { findPnpApi } = moduleExports; if (!findPnpApi || isBuiltin(originalSpecifier)) return nextResolve(originalSpecifier, context, nextResolve); let specifier = originalSpecifier; diff --git a/.yarn/cache/@emnapi-runtime-npm-1.2.0-36d2203035-c954b36493.zip b/.yarn/cache/@emnapi-runtime-npm-1.2.0-36d2203035-c954b36493.zip new file mode 100644 index 000000000..d3c4cbfc3 --- /dev/null +++ b/.yarn/cache/@emnapi-runtime-npm-1.2.0-36d2203035-c954b36493.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f55f261eeccf10a7439daaece365db141f635a7e9a1f9016e00ab8f28943399f +size 91230 diff --git a/.yarn/cache/@iceshrimp-summaly-npm-2.7.2-3842079977-242d994023.zip b/.yarn/cache/@iceshrimp-summaly-npm-2.7.2-3842079977-242d994023.zip new file mode 100644 index 000000000..634ef9b4f --- /dev/null +++ b/.yarn/cache/@iceshrimp-summaly-npm-2.7.2-3842079977-242d994023.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2813f320e458788fe0798d2ccfcda5761be9356459aead4956f33c948d3c488b +size 22555 diff --git a/.yarn/cache/@img-sharp-darwin-arm64-npm-0.33.4-061afc6886-10.zip b/.yarn/cache/@img-sharp-darwin-arm64-npm-0.33.4-061afc6886-10.zip new file mode 100644 index 000000000..02e4bdd75 --- /dev/null +++ b/.yarn/cache/@img-sharp-darwin-arm64-npm-0.33.4-061afc6886-10.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ac3a0b044e43091fa1f4bc6f3d5986f269dc8f93de6291426c9578674a38e2af +size 100906 diff --git a/.yarn/cache/@img-sharp-darwin-x64-npm-0.33.4-6aac8de317-10.zip b/.yarn/cache/@img-sharp-darwin-x64-npm-0.33.4-6aac8de317-10.zip new file mode 100644 index 000000000..a66ab6df0 --- /dev/null +++ b/.yarn/cache/@img-sharp-darwin-x64-npm-0.33.4-6aac8de317-10.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:723b51d409908aa6afafeca67892dc83b016696018d449e18a81d11bd1110b95 +size 106850 diff --git a/.yarn/cache/@img-sharp-libvips-darwin-arm64-npm-1.0.2-6c9ede770e-10.zip b/.yarn/cache/@img-sharp-libvips-darwin-arm64-npm-1.0.2-6c9ede770e-10.zip new file mode 100644 index 000000000..e26fe6327 --- /dev/null +++ b/.yarn/cache/@img-sharp-libvips-darwin-arm64-npm-1.0.2-6c9ede770e-10.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e00b4d72355e50af073adb1d02fcae5f858e91ab2323022f560b0fff36f3d5cb +size 7008013 diff --git a/.yarn/cache/@img-sharp-libvips-darwin-x64-npm-1.0.2-01b146c37d-10.zip b/.yarn/cache/@img-sharp-libvips-darwin-x64-npm-1.0.2-01b146c37d-10.zip new file mode 100644 index 000000000..d3a787820 --- /dev/null +++ b/.yarn/cache/@img-sharp-libvips-darwin-x64-npm-1.0.2-01b146c37d-10.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0ffccca8cd6273fcc7a24fc1ec2cc621247c31e6d69dfe6200190186653d8330 +size 7894090 diff --git a/.yarn/cache/@img-sharp-libvips-linux-arm64-npm-1.0.2-a3a6e66f3b-10.zip b/.yarn/cache/@img-sharp-libvips-linux-arm64-npm-1.0.2-a3a6e66f3b-10.zip new file mode 100644 index 000000000..147657197 --- /dev/null +++ b/.yarn/cache/@img-sharp-libvips-linux-arm64-npm-1.0.2-a3a6e66f3b-10.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:960c543ea58bd5b47db2712a57be4e8111c66143c12b365530dfa30aa2c94868 +size 7066434 diff --git a/.yarn/cache/@img-sharp-libvips-linux-x64-npm-1.0.2-69e740ab3d-10.zip b/.yarn/cache/@img-sharp-libvips-linux-x64-npm-1.0.2-69e740ab3d-10.zip new file mode 100644 index 000000000..303bf69ad --- /dev/null +++ b/.yarn/cache/@img-sharp-libvips-linux-x64-npm-1.0.2-69e740ab3d-10.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ea483f46badaa08e822c042624dfcf7c329449fb10df307ae8ea93c053bc109e +size 7060637 diff --git a/.yarn/cache/@img-sharp-libvips-linuxmusl-arm64-npm-1.0.2-f787a79edb-10.zip b/.yarn/cache/@img-sharp-libvips-linuxmusl-arm64-npm-1.0.2-f787a79edb-10.zip new file mode 100644 index 000000000..64d5aab96 --- /dev/null +++ b/.yarn/cache/@img-sharp-libvips-linuxmusl-arm64-npm-1.0.2-f787a79edb-10.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2bfedd5b2cfa0952e02cdd4d72f83e32df9de82db18cf5195e16f72891d815ac +size 7099479 diff --git a/.yarn/cache/@img-sharp-libvips-linuxmusl-x64-npm-1.0.2-e4d5858946-10.zip b/.yarn/cache/@img-sharp-libvips-linuxmusl-x64-npm-1.0.2-e4d5858946-10.zip new file mode 100644 index 000000000..bdcd86b43 --- /dev/null +++ b/.yarn/cache/@img-sharp-libvips-linuxmusl-x64-npm-1.0.2-e4d5858946-10.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:737651fc2b1963b06609484ac20fedd163bdd57b51ab4eb693cd506d5841695a +size 7204642 diff --git a/.yarn/cache/@img-sharp-linux-arm64-npm-0.33.4-eee77af7d4-10.zip b/.yarn/cache/@img-sharp-linux-arm64-npm-0.33.4-eee77af7d4-10.zip new file mode 100644 index 000000000..bdf21f3ca --- /dev/null +++ b/.yarn/cache/@img-sharp-linux-arm64-npm-0.33.4-eee77af7d4-10.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:80752717166479cd78d3a4477293e80d7d96de70a09785489f51b86bc177296e +size 107298 diff --git a/.yarn/cache/@img-sharp-linux-x64-npm-0.33.4-e678be5de4-10.zip b/.yarn/cache/@img-sharp-linux-x64-npm-0.33.4-e678be5de4-10.zip new file mode 100644 index 000000000..e29b15db2 --- /dev/null +++ b/.yarn/cache/@img-sharp-linux-x64-npm-0.33.4-e678be5de4-10.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:37df8739ba92bd891180a9fe4aa2a372cfd4ea92223bd14ccc5f0526661df978 +size 114780 diff --git a/.yarn/cache/@img-sharp-linuxmusl-arm64-npm-0.33.4-c98abb8a19-10.zip b/.yarn/cache/@img-sharp-linuxmusl-arm64-npm-0.33.4-c98abb8a19-10.zip new file mode 100644 index 000000000..d90b07634 --- /dev/null +++ b/.yarn/cache/@img-sharp-linuxmusl-arm64-npm-0.33.4-c98abb8a19-10.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:507a08f66569fb890d3459241a989b257ae758b7cec2014ee18d4574f4233a61 +size 111591 diff --git a/.yarn/cache/@img-sharp-linuxmusl-x64-npm-0.33.4-6e3f28f5de-10.zip b/.yarn/cache/@img-sharp-linuxmusl-x64-npm-0.33.4-6e3f28f5de-10.zip new file mode 100644 index 000000000..a0298c18d --- /dev/null +++ b/.yarn/cache/@img-sharp-linuxmusl-x64-npm-0.33.4-6e3f28f5de-10.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bb0ca07851c9935e2889d79d613591929b83d9274b8636e247665ca1a1c6f57f +size 118348 diff --git a/.yarn/cache/@syuilo-aiscript-npm-0.11.1-451b9d1a3f-4df4bb5a25.zip b/.yarn/cache/@syuilo-aiscript-npm-0.11.1-451b9d1a3f-4df4bb5a25.zip deleted file mode 100644 index 03a21f1a0..000000000 --- a/.yarn/cache/@syuilo-aiscript-npm-0.11.1-451b9d1a3f-4df4bb5a25.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3fa9222eb49fe8cb2b23d2910c82afdfc4d37c3af1b0a01c636bf5e91e7a369c -size 46113 diff --git a/.yarn/cache/@syuilo-aiscript-npm-0.17.0-005e068ae6-2a10b3d29a.zip b/.yarn/cache/@syuilo-aiscript-npm-0.17.0-005e068ae6-2a10b3d29a.zip new file mode 100644 index 000000000..c34dc778b --- /dev/null +++ b/.yarn/cache/@syuilo-aiscript-npm-0.17.0-005e068ae6-2a10b3d29a.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:efc418b0cc9ffe3683b1cf5f5c2be1f614a8babd885446b88111c9f2f8308379 +size 168922 diff --git a/.yarn/cache/chalk-npm-4.0.0-50e5418ea0-f8ae363f43.zip b/.yarn/cache/chalk-npm-4.0.0-50e5418ea0-f8ae363f43.zip deleted file mode 100644 index be67166cf..000000000 --- a/.yarn/cache/chalk-npm-4.0.0-50e5418ea0-f8ae363f43.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ab2429f73cdef64b4e43ef9648f4288162a51bf399d60f5365b7d9c19334a44a -size 13166 diff --git a/.yarn/cache/chownr-npm-1.1.4-5bd400ab08-115648f8eb.zip b/.yarn/cache/chownr-npm-1.1.4-5bd400ab08-115648f8eb.zip deleted file mode 100644 index 2e10cc78d..000000000 --- a/.yarn/cache/chownr-npm-1.1.4-5bd400ab08-115648f8eb.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:05b6a09af0916f441b36b2eeff975bf94e7dfa0e7bd447007214d3d0e611c70b -size 2841 diff --git a/.yarn/cache/deep-extend-npm-0.6.0-e182924219-7be7e5a8d4.zip b/.yarn/cache/deep-extend-npm-0.6.0-e182924219-7be7e5a8d4.zip deleted file mode 100644 index 12914e421..000000000 --- a/.yarn/cache/deep-extend-npm-0.6.0-e182924219-7be7e5a8d4.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d7c6cbe8c52803c77a54772f73389ecce8a55a2cd1751f30826f14d945fe4d75 -size 5505 diff --git a/.yarn/cache/detect-libc-npm-2.0.3-2ddae34945-b4ea018d62.zip b/.yarn/cache/detect-libc-npm-2.0.3-2ddae34945-b4ea018d62.zip new file mode 100644 index 000000000..b957cefeb --- /dev/null +++ b/.yarn/cache/detect-libc-npm-2.0.3-2ddae34945-b4ea018d62.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:23b86d525b50e2419c6def32d652247d834dac64ca9e61f89b7d893febfbca34 +size 9395 diff --git a/.yarn/cache/expand-template-npm-2.0.3-80de959306-588c198472.zip b/.yarn/cache/expand-template-npm-2.0.3-80de959306-588c198472.zip deleted file mode 100644 index a14edda63..000000000 --- a/.yarn/cache/expand-template-npm-2.0.3-80de959306-588c198472.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0dc63bdafc4ff6dc41de7e46dec6b24b2eafb986431a7d4b31773381e3af0834 -size 3435 diff --git a/.yarn/cache/github-from-package-npm-0.0.0-519f80c9a1-2a091ba07f.zip b/.yarn/cache/github-from-package-npm-0.0.0-519f80c9a1-2a091ba07f.zip deleted file mode 100644 index dbc6cff2d..000000000 --- a/.yarn/cache/github-from-package-npm-0.0.0-519f80c9a1-2a091ba07f.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6c5f78cfcf5d81c2d6f9c7c533dbd78c71fa3b453f855f0ef3a79d4bdbb28e48 -size 5216 diff --git a/.yarn/cache/mkdirp-classic-npm-0.5.3-3b5c991910-3f4e088208.zip b/.yarn/cache/mkdirp-classic-npm-0.5.3-3b5c991910-3f4e088208.zip deleted file mode 100644 index a39ef4b04..000000000 --- a/.yarn/cache/mkdirp-classic-npm-0.5.3-3b5c991910-3f4e088208.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b6a75adc9f8d6dee8d00505d6b5828bdba05563f377149450fe5cca845efb2e8 -size 2685 diff --git a/.yarn/cache/nan-npm-2.18.0-a51ed5bed5-5520e22c64.zip b/.yarn/cache/nan-npm-2.18.0-a51ed5bed5-5520e22c64.zip deleted file mode 100644 index 7a8538bc1..000000000 --- a/.yarn/cache/nan-npm-2.18.0-a51ed5bed5-5520e22c64.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:870f55abfb614870f3c40934a56d0a6023c820914cda133fbfe0837ca9478f0e -size 99501 diff --git a/.yarn/cache/nan-npm-2.19.0-2f5da4a528-b97f680753.zip b/.yarn/cache/nan-npm-2.19.0-2f5da4a528-b97f680753.zip new file mode 100644 index 000000000..4143ec163 --- /dev/null +++ b/.yarn/cache/nan-npm-2.19.0-2f5da4a528-b97f680753.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bb4ff42d414f1c2a732d520e2b25bedf23587ff4d22cf672519bf53b83ddc0dd +size 99593 diff --git a/.yarn/cache/napi-build-utils-npm-1.0.2-892e4bba56-276feb8e30.zip b/.yarn/cache/napi-build-utils-npm-1.0.2-892e4bba56-276feb8e30.zip deleted file mode 100644 index 64720f484..000000000 --- a/.yarn/cache/napi-build-utils-npm-1.0.2-892e4bba56-276feb8e30.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5c1f5518b11d4a9b08d0f14a6aee2d089102d0c25829cc52b46e2079068f4bb4 -size 6232 diff --git a/.yarn/cache/node-abi-npm-3.45.0-586bc5cf50-b59b49d515.zip b/.yarn/cache/node-abi-npm-3.45.0-586bc5cf50-b59b49d515.zip deleted file mode 100644 index 80f044fe0..000000000 --- a/.yarn/cache/node-abi-npm-3.45.0-586bc5cf50-b59b49d515.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d3cb7bfef0087ecdd7f1b43d40d650e6bf5c17cf09274a318b8a1524d55dfbef -size 13450 diff --git a/.yarn/cache/node-addon-api-npm-6.1.0-634c545b39-8eea1d4d96.zip b/.yarn/cache/node-addon-api-npm-6.1.0-634c545b39-8eea1d4d96.zip deleted file mode 100644 index 29d85691a..000000000 --- a/.yarn/cache/node-addon-api-npm-6.1.0-634c545b39-8eea1d4d96.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:77f7f87cbf0b689e8338adf5442ddbdd40af8c5bdf3b2057091cfd50ab566302 -size 65066 diff --git a/.yarn/cache/node-fetch-npm-3.3.1-576511fc5a-9fed9ed9ab.zip b/.yarn/cache/node-fetch-npm-3.3.1-576511fc5a-9fed9ed9ab.zip deleted file mode 100644 index bb8f1224d..000000000 --- a/.yarn/cache/node-fetch-npm-3.3.1-576511fc5a-9fed9ed9ab.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b784d6abd383b0368dbf9ed2cda53cdfad5fc40f9c48115af54729d7a6022982 -size 38615 diff --git a/.yarn/cache/prebuild-install-npm-7.1.1-cb9fc9d341-6c70a2f82f.zip b/.yarn/cache/prebuild-install-npm-7.1.1-cb9fc9d341-6c70a2f82f.zip deleted file mode 100644 index d9e3c0182..000000000 --- a/.yarn/cache/prebuild-install-npm-7.1.1-cb9fc9d341-6c70a2f82f.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b6b807a6b2a4b27cee124159b0d591428d040b5dddba47da7d17ed78509faeb7 -size 15090 diff --git a/.yarn/cache/rc-npm-1.2.8-d6768ac936-5c4d72ae7e.zip b/.yarn/cache/rc-npm-1.2.8-d6768ac936-5c4d72ae7e.zip deleted file mode 100644 index ee47bc263..000000000 --- a/.yarn/cache/rc-npm-1.2.8-d6768ac936-5c4d72ae7e.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bf239e909ca372beb42112cb7e51dbcd85cba5a0ca240645b51f32333a29b45f -size 9802 diff --git a/.yarn/cache/re2-npm-1.20.11-ab65de125e-a8665c861c.zip b/.yarn/cache/re2-npm-1.20.11-ab65de125e-a8665c861c.zip new file mode 100644 index 000000000..0aeeee346 --- /dev/null +++ b/.yarn/cache/re2-npm-1.20.11-ab65de125e-a8665c861c.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dd730daae349d8804e42069a82df2177c548618e71e096de3d7527f216750f01 +size 3524278 diff --git a/.yarn/cache/re2-npm-1.20.9-65a014d791-0ecd9f849b.zip b/.yarn/cache/re2-npm-1.20.9-65a014d791-0ecd9f849b.zip deleted file mode 100644 index 16218225b..000000000 --- a/.yarn/cache/re2-npm-1.20.9-65a014d791-0ecd9f849b.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3978f0ca811c4a8cbdff0d9a510d74d36facb8dc9591d7c762241588586dc543 -size 3557852 diff --git a/.yarn/cache/semver-npm-7.6.2-0fec6944bb-296b17d027.zip b/.yarn/cache/semver-npm-7.6.2-0fec6944bb-296b17d027.zip new file mode 100644 index 000000000..010ea921e --- /dev/null +++ b/.yarn/cache/semver-npm-7.6.2-0fec6944bb-296b17d027.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:88b2bade8e34e4c9240a2b5cf0cb0e03a0ff58874db716e372e078243b8c2642 +size 40755 diff --git a/.yarn/cache/sharp-npm-0.32.1-5af640fc49-07df854f3d.zip b/.yarn/cache/sharp-npm-0.32.1-5af640fc49-07df854f3d.zip deleted file mode 100644 index f9c68a091..000000000 --- a/.yarn/cache/sharp-npm-0.32.1-5af640fc49-07df854f3d.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ed3d339622e1f3c21b44a9ecd0c04d22416a7a1877bc5f71cc2b73a99d960141 -size 144090 diff --git a/.yarn/cache/sharp-npm-0.33.4-afc15185a7-f396d1363d.zip b/.yarn/cache/sharp-npm-0.33.4-afc15185a7-f396d1363d.zip new file mode 100644 index 000000000..290255a51 --- /dev/null +++ b/.yarn/cache/sharp-npm-0.33.4-afc15185a7-f396d1363d.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7f52cdd9cac5c6c9f693e54bf82cbee4870ed051ff9a586d23d79eb5f04e61c3 +size 129490 diff --git a/.yarn/cache/simple-concat-npm-1.0.1-48df70de29-4d211042cc.zip b/.yarn/cache/simple-concat-npm-1.0.1-48df70de29-4d211042cc.zip deleted file mode 100644 index 7b1082ec7..000000000 --- a/.yarn/cache/simple-concat-npm-1.0.1-48df70de29-4d211042cc.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:38ce8993546816d3d51045c79ab9e5c2721122ca02bcff89f68a166731d3bf9a -size 3416 diff --git a/.yarn/cache/simple-get-npm-4.0.1-fa2a97645d-93f1b32319.zip b/.yarn/cache/simple-get-npm-4.0.1-fa2a97645d-93f1b32319.zip deleted file mode 100644 index d12e4bf82..000000000 --- a/.yarn/cache/simple-get-npm-4.0.1-fa2a97645d-93f1b32319.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:206aaadbb95acb5a9956026c79afc7fe76a5998e3a0cee9148ed2f136495d282 -size 7148 diff --git a/.yarn/cache/strip-json-comments-npm-2.0.1-e7883b2d04-1074ccb632.zip b/.yarn/cache/strip-json-comments-npm-2.0.1-e7883b2d04-1074ccb632.zip deleted file mode 100644 index cddf70db3..000000000 --- a/.yarn/cache/strip-json-comments-npm-2.0.1-e7883b2d04-1074ccb632.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:eb9c3bf9e769a889ff51690780c480416341c9b14b1c6b0cb4e65ec42e757105 -size 3072 diff --git a/.yarn/cache/summaly-npm-2.7.0-e25bfbf6a2-ce49173396.zip b/.yarn/cache/summaly-npm-2.7.0-e25bfbf6a2-ce49173396.zip deleted file mode 100644 index 594d21c13..000000000 --- a/.yarn/cache/summaly-npm-2.7.0-e25bfbf6a2-ce49173396.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:de40cc2e0e31a4becbede073011913bbefc6d5f632d168c14f80a0618d305589 -size 20258 diff --git a/.yarn/cache/tar-fs-npm-2.1.1-e374d3b7a2-526deae025.zip b/.yarn/cache/tar-fs-npm-2.1.1-e374d3b7a2-526deae025.zip deleted file mode 100644 index 4577f15cb..000000000 --- a/.yarn/cache/tar-fs-npm-2.1.1-e374d3b7a2-526deae025.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:566de027f10129034b5ccf65ba338449aaaec55ba16635afb8db534e0802dcff -size 11668 diff --git a/.yarn/cache/trace-redirect-npm-1.0.6-e4829a09f3-20429f8ed3.zip b/.yarn/cache/trace-redirect-npm-1.0.6-e4829a09f3-20429f8ed3.zip deleted file mode 100644 index feec37e21..000000000 --- a/.yarn/cache/trace-redirect-npm-1.0.6-e4829a09f3-20429f8ed3.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d42f43ded29e0f8d77a2a6e058746a8e0f73f7bf2cc598fc90bfa4b8d3a29293 -size 5541 diff --git a/.yarn/cache/uuid-npm-7.0.3-2b088bd924-b2a4d30ecd.zip b/.yarn/cache/uuid-npm-7.0.3-2b088bd924-b2a4d30ecd.zip deleted file mode 100644 index 0895e9662..000000000 --- a/.yarn/cache/uuid-npm-7.0.3-2b088bd924-b2a4d30ecd.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:96655d1ba659598733dc27c4d783e48b20aff24182ee5ca08208484b1841767c -size 46227 diff --git a/.yarn/cache/uuid-npm-9.0.1-39a8442bc6-9d0b6adb72.zip b/.yarn/cache/uuid-npm-9.0.1-39a8442bc6-9d0b6adb72.zip new file mode 100644 index 000000000..196ca8b45 --- /dev/null +++ b/.yarn/cache/uuid-npm-9.0.1-39a8442bc6-9d0b6adb72.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:74f080b144165817c0dbf45fc9cf659b170800964efaebf6f6b49dc8b0eb7018 +size 60894 diff --git a/.yarn/corepack.tgz b/.yarn/corepack.tgz index 6aab5c972..6cc62af11 100644 --- a/.yarn/corepack.tgz +++ b/.yarn/corepack.tgz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d959daf507a8a46f1100da8fa970368fac7ecdacbf8a9ede0649163275999980 -size 985138 +oid sha256:3773ba20763c997734250f220d8dcdc0ab4f2f6e4c9526c5f5cdedc1d014f9e5 +size 985899 diff --git a/CHANGELOG.md b/CHANGELOG.md index 7648c565d..fcdedd361 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,61 @@ +## v2023.12.9 +This release contains a security patch, as well as minor fixes and improvements. Upgrading is strongly recommended for all server operators. + +### Highlights +- Several DoS vulnerabilities - allowing remote attackers to allocate arbitrary amounts of memory - were patched +- Corrupt jobs now get discarded instead of clogging up the failed queues + +### Backend +- Fetched JSON-LD contexts are now limited to 1MiB, resolving a DoS attack vector +- Fetched node-fetch responses are now limited to 1MiB/10MiB, resolving a DoS attack vector + +### Miscellaneous +- The docker images now use the bundled libvips version shipping with sharp instead of the system-wide one, reducing the image size by ~60MB +- The example docker-compose.yml file was updated +- The iceshrimp-js package was renamed to iceshrimp-sdk in order to prevent confusion should this repository be renamed to iceshrimp-js in the future (to distinguish it from Iceshrimp.NET) +- Various dependency updates +- Various translation updates + +### Attribution +This release was made possible by project contributors: AntoineÐ & Laura Hausmann + +## v2023.12.8 +This release contains minor fixes and improvements. Upgrading is recommended for all server operators. + +### Highlights +- AiScript has been updated to v0.17.0 +- Several new MFM functions have been added + +### Backend +- Pinned notes are rendered as links instead of objects, improving privacy +- Sporadic errors while scrolling through followers/following lists were fixed +- The link preview generator now sends a proper user agent instead of identifying itself as a generic bot +- The home timeline query heuristic now gets reset when follow lists are being imported, resolving a timeline performance edge case + +### Mastodon client API +- The verify_credentials response now includes the follow_requests_count property, improving compatibiltiy with certain Mastodon clients +- Attachments will now fall back to their full res version if they don't have a thumbnail, fixing a crash with the official Mastodon for Android app + +### Frontend +- The placeholder timetravel buttons have been removed +- The experiments page has been removed + +### Miscellaneous +- The helm chart was updated and now has more configuration options +- The yarn version was updated to v4.3.1 +- The README was updated to better reflect the current development situation in relation to the rewrite +- The project now builds against NodeJS 22 +- The dockerfile was updated & now builds against alpine 3.20 +- Backend dependencies have been updated +- The recommended key/value store was switched to valkey +- The CI configuration has been updated +- Various translation updates + +### Attribution +This release was made possible by project contributors: AverageDood, Gersonzao, Kopper, Laura Hausmann, Mae Dartmann, Pyrox, Tournesol, ari melody, limepotato, mia & zotan + +It also includes cherry-picked contributions from external contributors: naskya (firefish), ChaoticLeah (cutiekey) + ## v2023.12.7 This is a security release. Upgrading is therefore strongly recommended. @@ -718,4 +776,4 @@ It also includes cherry-picked contributions from external contributors: Namekuj --- -This file lists all major changes made since the fork from Firefish on 2023-07-21. For changes prior to that date, please reference the [Firefish](https://git.joinfirefish.org/firefish/firefish/-/tree/76ad0a19b3a64eaecb4da31f20c229e423ee2095/) repository. +This file lists all major changes made since the fork from Firefish on 2023-07-21. For changes prior to that date, please reference the [Firefish](https://firefish.dev/firefish/firefish/-/tree/76ad0a19b3a64eaecb4da31f20c229e423ee2095/) repository. diff --git a/Dockerfile b/Dockerfile index dda1fe090..d612c0851 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ # syntax = docker/dockerfile:1.2 ## Install dev and compilation dependencies, build files -FROM alpine:3.18 as build +FROM alpine:3.20 as build WORKDIR /iceshrimp # Install compilation dependencies -RUN apk add --no-cache --no-progress git alpine-sdk vips-dev python3 nodejs-current npm vips +RUN apk add --no-cache --no-progress git alpine-sdk python3 py3-setuptools nodejs-current npm # Copy in all files for the build COPY . ./ @@ -31,11 +31,11 @@ RUN yarn focus-production RUN --mount=type=cache,target=/iceshrimp/.yarncache_focused rm -rf .yarncache/* && cp -r .yarn/. .yarncache_focused ## Runtime container -FROM alpine:3.18 +FROM alpine:3.20 WORKDIR /iceshrimp # Install runtime dependencies -RUN apk add --no-cache --no-progress tini ffmpeg vips-dev zip unzip nodejs-current libheif-dev +RUN apk add --no-cache --no-progress tini ffmpeg zip unzip nodejs-current libheif-dev # Copy built files COPY --from=build /iceshrimp /iceshrimp diff --git a/README.md b/README.md index abcb1e50a..871f9e6ca 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ - Check out [FediDB](https://fedidb.org/software/iceshrimp) or [Fediverse Observer](https://iceshrimp.fediverse.observer/list) to get an overview of the instances that are out there. - Please note that we do not operate a "flagship instance", the only project-affiliated domain is `iceshrimp.dev`. - Want to donate to the project? - - Our backend lead dev (zotan) is in need of a better laptop, as their current one does not have enough memory. You can contribute [here](https://bunq.me/zotanlaptopcrowdfund). Any leftover money will be given to queers in need. + - Our frontend dev (Lilian) needs help paying for healthcare costs. You can contribute [here](https://bunq.me/lilianhealthcarefund). Money from the fund will be used for co-pays, and medical expenses not covered by insurance. - Need help or want to contribute? Join the [chat room](https://chat.iceshrimp.dev)! --- diff --git a/biome.json b/biome.json index 9ee0f1875..5918758eb 100644 --- a/biome.json +++ b/biome.json @@ -8,7 +8,7 @@ }, "formatter": { "ignore": [ - "packages/iceshrimp-js/api-extractor.json", + "packages/iceshrimp-sdk/api-extractor.json", "packages/*/tsconfig.json", "packages/*/built", "packages/*/package-lock.json", diff --git a/chart/Chart.yaml b/chart/Chart.yaml index ba688bcc8..29b6d9c1c 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.2 +version: 0.1.4 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/chart/README.md b/chart/README.md index 9738a5974..f41df6a37 100644 --- a/chart/README.md +++ b/chart/README.md @@ -31,6 +31,7 @@ A fun, new, open way to experience social media https://iceshrimp.dev | iceshrimp.libreTranslate.apiKey | string | `""` | | | iceshrimp.libreTranslate.apiUrl | string | `""` | | | iceshrimp.libreTranslate.managed | bool | `false` | | +| iceshrimp.maxNoteLength | integer | `3000` | Max note length | | iceshrimp.objectStorage.access_key | string | `""` | | | iceshrimp.objectStorage.access_secret | string | `""` | | | iceshrimp.objectStorage.baseUrl | string | `""` | | @@ -51,6 +52,7 @@ A fun, new, open way to experience social media https://iceshrimp.dev | iceshrimp.smtp.port | int | `587` | | | iceshrimp.smtp.server | string | `"smtp.mailgun.org"` | | | iceshrimp.smtp.useImplicitSslTls | bool | `false` | | +| iceshrimp.strategy | object | `{}` | Override DeploymentStrategy for Iceshrimp | | elasticsearch | object | `{"auth":{},"enabled":false,"hostname":"","port":9200,"ssl":false}` | https://github.com/bitnami/charts/tree/master/bitnami/elasticsearch#parameters | | fullnameOverride | string | `""` | | | image.pullPolicy | string | `"IfNotPresent"` | | diff --git a/chart/templates/_helpers.tpl b/chart/templates/_helpers.tpl index 7b7d35734..699d1e96d 100644 --- a/chart/templates/_helpers.tpl +++ b/chart/templates/_helpers.tpl @@ -211,7 +211,7 @@ id: 'aid' #───┘ Other configuration └───────────────────────────────────── # Max note length, should be < 8000. -#maxNoteLength: 3000 +maxNoteLength: {{ .Values.iceshrimp.maxNoteLength | default 3000 }} # Maximum lenght of an image caption or file comment (default 1500, max 8192) #maxCaptionLength: 1500 diff --git a/chart/templates/deployment.yaml b/chart/templates/deployment.yaml index 9485ae7c3..114f13daf 100644 --- a/chart/templates/deployment.yaml +++ b/chart/templates/deployment.yaml @@ -5,9 +5,15 @@ metadata: labels: {{- include "iceshrimp.labels" . | nindent 4 }} spec: - {{- if not .Values.autoscaling.enabled }} + {{- if not .Values.autoscaling.enabled }} replicas: {{ .Values.replicaCount }} {{- end }} + + {{- if .Values.iceshrimp.deploymentStrategy }} + strategy: + {{- toYaml .Values.iceshrimp.deploymentStrategy | nindent 4 }} + {{- end }} + selector: matchLabels: {{- include "iceshrimp.selectorLabels" . | nindent 6 }} diff --git a/chart/values.yaml b/chart/values.yaml index c705d3ee3..1046931e1 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -42,7 +42,7 @@ iceshrimp: prefix: files endpoint: "" # e.g. "nyc3.digitaloceanspaces.com:443" region: "" # e.g. "nyc3" - + localStorage: enabled: true claimName: null @@ -53,7 +53,14 @@ iceshrimp: annotations: helm.sh/resource-policy: keep size: 10Gi - + + # Deployment strategy (optional), see https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy + # deploymentStrategy: + # type: RollingUpdate + # rollingUpdate: + # maxUnavailable: 0 + # maxSurge: 1 + # -- If you want to allow iceshrimp to connect to private ips, enter the cidrs here. allowedPrivateNetworks: [] # - "10.0.0.0/8" @@ -68,6 +75,9 @@ iceshrimp: # Number of worker processes per replica clusterLimit: 1 + # Max note length + maxNoteLength: 3000 + # https://github.com/bitnami/charts/tree/master/bitnami/postgresql#parameters postgresql: # -- disable if you want to use an existing db; in which case the values below diff --git a/dev/docker-compose.yml.example b/dev/docker-compose.yml.example index 5858cbd28..fc5e2bd48 100644 --- a/dev/docker-compose.yml.example +++ b/dev/docker-compose.yml.example @@ -22,7 +22,7 @@ services: redis: restart: always container_name: iceshrimp_redis - image: docker.io/redis:7.0-alpine + image: docker.io/valkey/valkey:7-alpine networks: - network volumes: diff --git a/docs/api-doc.md b/docs/api-doc.md index 764fd9227..7540f0c8f 100644 --- a/docs/api-doc.md +++ b/docs/api-doc.md @@ -2,4 +2,4 @@ You can find interactive API documentation at any Iceshrimp instance. https://iceshrimp.social/api-doc -You can also find auto-generated documentation for iceshrimp-js [here](../packages/iceshrimp-js/markdown/iceshrimp-js.md). +You can also find auto-generated documentation for iceshrimp-sdk [here](../packages/iceshrimp-sdk/markdown/iceshrimp-sdk.md). diff --git a/docs/examples/docker-compose.yml b/docs/examples/docker-compose.yml index 1d4da7080..cae9880a6 100644 --- a/docs/examples/docker-compose.yml +++ b/docs/examples/docker-compose.yml @@ -28,7 +28,7 @@ services: redis: restart: unless-stopped - image: docker.io/redis:7.0-alpine + image: docker.io/valkey/valkey:7-alpine container_name: iceshrimp_redis networks: - ishnet @@ -37,7 +37,7 @@ services: db: restart: unless-stopped - image: docker.io/postgres:12.2-alpine + image: docker.io/postgres:16-alpine container_name: iceshrimp_db networks: - ishnet diff --git a/docs/install.md b/docs/install.md index cbe07bc5c..f4272bc71 100644 --- a/docs/install.md +++ b/docs/install.md @@ -14,7 +14,7 @@ This document will guide you through manual installation of Iceshrimp. We also p - [**Node.js**](https://nodejs.org) v18.16.0+ (v20 recommended) - [**PostgreSQL**](https://www.postgresql.org/) 12+ (including modules, usually packaged as postgresql-contrib) -- [**Redis**](https://redis.io/) 6+ +- [**Valkey**](https://valkey.io/) (or any other Redis 6 compatible fork) - [**libvips**](https://www.libvips.org/) - **Web proxy** - nginx diff --git a/locales/ca-ES.yml b/locales/ca-ES.yml index ee58c9c96..27ad20012 100644 --- a/locales/ca-ES.yml +++ b/locales/ca-ES.yml @@ -2092,15 +2092,6 @@ preventAiLearning: Evita l'indexació dels bots preventAiLearningDescription: Sol·liciteu que els models de llenguatge d'IA de tercers no estudiïn el contingut que pengeu, com ara publicacions i imatges. pwa: Instal·lar PWA -_experiments: - alpha: Alfa - beta: Beta - release: Publicà - title: Experiments - enablePostImports: Activar l'importació de publicacions - postImportsCaption: Permet els usuaris importar publicacions desde comptes a Iceshrimp, - Iceshrimp, Mastodon, Akkoma i Pleroma. Pot fer que el servidor vagi més lent durant - la càrrega si tens un coll d'ampolla a la cua. noGraze: Si us plau, desactiva l'extensió del navegador "Graze for Mastodon", ja que interfereix amb Iceshrimp. accessibility: Accessibilitat diff --git a/locales/de-DE.yml b/locales/de-DE.yml index a5f25e097..9b1051883 100644 --- a/locales/de-DE.yml +++ b/locales/de-DE.yml @@ -2101,12 +2101,6 @@ accessibility: Erreichbarkeit jumpToPrevious: Zum Vorherigen springen silencedWarning: Diese Meldung wird angezeigt, weil diese Nutzer von Servern stammen, die Ihr Administrator abgeschaltet hat, so dass es sich möglicherweise um Spam handelt. -_experiments: - title: Funktionstests - enablePostImports: Beitragsimporte aktivieren - postImportsCaption: Erlaubt es Nutzer:innen ihre Posts von alten Iceshrimp, Iceshrimp, - Mastodon, Akkoma und Pleroma Accounts zu importieren. Bei Engpässen in der Warteschlange - kann es zu Verlangsamungen beim Laden während des Imports kommen. noGraze: Bitte deaktivieren Sie die Browsererweiterung "Graze for Mastodon", da sie die Funktion von Iceshrimp stört. indexFrom: Indexieren ab Beitragskennung aufwärts diff --git a/locales/en-US.yml b/locales/en-US.yml index cbf9661a3..5c54235c7 100644 --- a/locales/en-US.yml +++ b/locales/en-US.yml @@ -1344,6 +1344,15 @@ _mfm: plain: "Plain" plainDescription: "Deactivates the effects of all MFM contained within this MFM effect." + border: "Border" + borderDescription: "Adds a border around content." + ruby: "Ruby" + rubyDescription: "Render a small annotation above text, Usually used for showing pronounciations of East Asian characters." + unixtime: "Unix Time" + unixtimeDescription: "Convert a number of seconds since 1st of January, 1970 to a readable date." + followmouse: "Follow Mouse" + followmouseDescription: "Make content follow the mouse cursor." + followmouseToggle: "Toggle preview" _instanceTicker: none: "Never show" remote: "Show for remote creatures" @@ -2148,12 +2157,6 @@ _deck: channel: "Channel" mentions: "Mentions" direct: "Direct messages" -_experiments: - title: "Experiments" - enablePostImports: "Enable beep imports" - postImportsCaption: "Allows creatures to import their beeps from past Jörmungandr, Misskey, - Mastodon, Akkoma, and Pleroma accounts. It may cause slowdowns during load if - your queue is bottlenecked." _dialog: charactersExceeded: "Max characters exceeded! Current: {current}/Limit: {max}" charactersBelow: "Not enough characters! Current: {current}/Limit: {min}" diff --git a/locales/es-ES.yml b/locales/es-ES.yml index 581cbe6dc..c623e7953 100644 --- a/locales/es-ES.yml +++ b/locales/es-ES.yml @@ -447,7 +447,7 @@ title: "Título" text: "Texto" enable: "Activar" next: "Siguiente" -retype: "Intentar de nuevo" +retype: "otra vez" noteOf: "Publicaciones de {user}" inviteToGroup: "Invitar al grupo" quoteAttached: "Cita añadida" @@ -468,9 +468,9 @@ weakPassword: "Contraseña débil" normalPassword: "Contraseña aceptable" strongPassword: "Contraseña fuerte" passwordMatched: "Coincide" -passwordNotMatched: "Las contraseñas no coinciden" +passwordNotMatched: "No coincide" signinWith: "Inicia sesión con {x}" -signinFailed: "Autenticación fallida. Asegúrate de haber usado el nombre de usuario +signinFailed: "Inicio de sesión fallido. Asegúrate de haber usado el nombre de usuario y contraseña correctos." tapSecurityKey: "Toque la clave de seguridad" or: "O" @@ -2188,12 +2188,6 @@ _feeds: copyFeed: Copiar feed rss: RSS atom: Atom -_experiments: - title: Experimentos - enablePostImports: Activar importaciones de publicaciones - postImportsCaption: Permite a los usuarios importar publicaciones de cuentas antiguas - de Iceshrimp, Misskey, Mastodon, Akkoma y Pleroma. Puede que cause ralentizaciones - durante la carga si sufres cuello de botella. _skinTones: mediumDark: Medio oscuro dark: Oscuro diff --git a/locales/fr-FR.yml b/locales/fr-FR.yml index 5190352e4..a0dbc3296 100644 --- a/locales/fr-FR.yml +++ b/locales/fr-FR.yml @@ -993,9 +993,9 @@ _registry: domain: "Domaine" createKey: "Créer une clé" _aboutIceshrimp: - about: "Iceshrimp est un média social décentralisé et fédéré utilisant ActivityPub.\n\ - C'est un fork de Calckey/Firefish (lui-même fork de Misskey) qui se concentre - sur la stabilité, les performances et la facilité d'utilisation plutôt que sur + about: "Iceshrimp est un média social décentralisé et fédéré utilisant ActivityPub.\n + C’est un fork de Calckey/Firefish (lui-même fork de Misskey) qui se concentre + sur la stabilité, les performances et la facilité d’utilisation plutôt que sur de nouvelles fonctionnalités." contributors: "Principaux contributeurs" allContributors: "Tous les contributeurs" @@ -1114,6 +1114,17 @@ _mfm: backgroundDescription: Changer la couleur d’arrière-plan d’un texte. background: Couleur d’arrière-plan plain: Simple + border: Bordure + rubyDescription: Affiche une petite annotation au-dessus du texte, généralement + utilisée pour afficher les prononciations des caractères d’Asie de l’Est. + borderDescription: Ajoute une bordure autour du contenu. + ruby: Rubis + unixtime: Heure Unix (Posix) + unixtimeDescription: Convertit un nombre de secondes depuis le 1er janvier 1970 + en une date lisible. + followmouse: Suivre la souris + followmouseDescription: Faire en sorte que le contenu suive le curseur de la souris. + followmouseToggle: Afficher/Masquer l’aperçu _instanceTicker: none: "Cacher" remote: "Montrer pour les utilisateur·ice·s distant·e·s" @@ -2103,15 +2114,6 @@ editNote: Modifier publication edited: "Modifié à {date} {time}" flagShowTimelineRepliesDescription: Si activé, affiche dans le fil les réponses des utilisatieur·rice·s aux publications des autres. -_experiments: - alpha: Alpha - beta: Beta - enablePostImports: Autoriser l’importation de publications - title: Expérimentations - postImportsCaption: Permet aux utilisateurs d’importer leurs publications à partir - de leurs anciens comptes Iceshrimp, Misskey, Mastodon, Akkoma et Pleroma. Cela - peut entraîner des ralentissements lors du chargement si votre file d’attente - est congestionnée. findOtherInstance: Trouver une autre instance userSaysSomethingReasonQuote: "{name} a cité une publication contenant {reason}" signupsDisabled: Les inscriptions sur cette instance sont actuellement désactivés, @@ -2215,7 +2217,7 @@ _filters: matchOptions: Modifier la sensibilité à la casse et/ou activer la correspondance exacte avec une suite de caractères info: Nomenclature - info2: Un tiret entre crochets [-] indique la possibilité d'inverser/négativer + info2: Un tiret entre crochets [-] indique la possibilité d’inverser/négativer un filtre avec le caractère tiret - infoEnd: Filtrer par aliases replyTo: En réponse à @@ -2263,10 +2265,10 @@ cwStyle: Apparence des «Avertissement de contenu» collapseAllCws: Cacher le contenu de toutes les réponses searchNotLoggedIn_1: Vous devez être authentifié pour pouvoir utiliser la recherche en texte intégral. -searchNotLoggedIn_2: Toutefois, vous pouvez effectuer des recherches à l'aide de hashtags +searchNotLoggedIn_2: Toutefois, vous pouvez effectuer des recherches à l’aide de hashtags et rechercher des utilisateurs. -antennaTimelineHint: Les antennes affichent les messages correspondants dans l'ordre - dans lequel ils ont été reçus, ce qui n'est pas nécessairement chronologique. +antennaTimelineHint: Les antennes affichent les messages correspondants dans l’ordre + dans lequel ils ont été reçus, ce qui n’est pas nécessairement chronologique. alwaysExpandCws: Toujours dérouler les messages avec des avertissements sur le contenu hideFromHome: Cacher de la timeline «Principal» _wellness: diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 0023c0f5b..cb27f6a83 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -1898,11 +1898,6 @@ noteId: 投稿のID hiddenTagsDescription: 'トレンドと「みつける」から除外したいハッシュタグを(先頭の # を除いて)改行区切りで入力してください。この設定はトレンドと「みつける」以外には影響しません。' hiddenTags: 非表示にするハッシュタグ apps: "アプリ" -_experiments: - title: 試験的な機能 - postImportsCaption: - ユーザーが過去の投稿をIceshrimp・Iceshrimp・Mastodon・Akkoma・Pleromaからインポートすることを許可します。キューが溜まっているときにインポートするとサーバーに負荷がかかる可能性があります。 - enablePostImports: 投稿のインポートを有効にする sendModMail: モデレーション通知を送る deleted: 削除済み editNote: 投稿を編集 diff --git a/locales/nl-NL.yml b/locales/nl-NL.yml index f42d11921..fc0945282 100644 --- a/locales/nl-NL.yml +++ b/locales/nl-NL.yml @@ -1257,11 +1257,6 @@ _aboutIceshrimp: de bovenstaande link om je naam hier te krijgen! contributors: Belangrijkste bijdragers allContributors: Alle bijdragers -_experiments: - postImportsCaption: Hiermee kunnen gebruikers hun posts van eerdere Iceshrimp, Misskey, - Mastodon, Akkoma en Pleroma-accounts importen. Dit kan tijdensh het laden voor - traagheid zorgen als de wachtrij vol zit. - enablePostImports: Post-importeren aanzetten hiddenTagsDescription: 'Geef de hashtags (zonder #) op die je uit Trending en Verkennen wilt verbergen. Verborgen hashtags zijn nog steeds ontdekbaar via andere manieren.' pinnedClipId: ID van de clip on vast te zetten diff --git a/locales/pl-PL.yml b/locales/pl-PL.yml index 51fd32289..254b06c66 100644 --- a/locales/pl-PL.yml +++ b/locales/pl-PL.yml @@ -2098,12 +2098,6 @@ preventAiLearningDescription: Zażądaj, by modele językowe AI osób trzecich n silencedWarning: Ta strona się pokazuje, ponieważ wymienieni użytkownicy są z serwerów które Twój admin wyciszył, więc mogą być oni potencjalnymi spamerami. verifiedLink: Zweryfikowany link -_experiments: - enablePostImports: Włącz import postów - postImportsCaption: Pozwala użytkownikom na zaimportowanie ich postów z poprzednich - kont Iceshrimp, Misskey, Mastodon, Akkomy czy Pleromy. Może to spowodować spowolnienia - podczas ładowania, jeśli twoja kolejka ma wąskie gardło. - title: Eksperymenty alwaysExpandCws: Zawsze rozwijaj posty z CW video: Film swipeOnMobile: Zezwól na przesuwanie palcem między stronami diff --git a/locales/pt-BR.yml b/locales/pt-BR.yml index bab6a4f0c..19a6e9772 100644 --- a/locales/pt-BR.yml +++ b/locales/pt-BR.yml @@ -57,7 +57,7 @@ login: Entrar loggingIn: Entrando logout: Sair signup: Criar conta -uploading: Enviando... +uploading: Enviando… users: Usuários addUser: Adicione um usuário addInstance: Adicionar um servidor @@ -95,7 +95,7 @@ alreadyFavorited: Já foi adicionado aos marcadores. download: Download pageLoadError: Ocorreu um erro ao carregar a página. pageLoadErrorDescription: Isso normalmente é causado por erros de rede ou pelo cache - do navegador. Tente limpar o cache e, depois de esperar um pouquinho, tente novamente. + do navegador. Tente limpar o cache ou esperar um pouquinho e recarregar a página. serverIsDead: Esse servidos não está respondendo. Por favor espere um pouco e tente novamente. youShouldUpgradeClient: Para visualizar essa página, favor reiniciar para atualizar @@ -110,3 +110,60 @@ followRequests: Pedidos de seguimento unfollow: Parar de seguir followRequestPending: Pedido de seguimento pendente enterEmoji: Insira um emoji +markAsSensitive: Marcar como sensível +unmarkAsSensitive: Desmarcar como sensível +processing: Processando… +renoted: Impulsionado. +blockConfirm: Tem certeza de que deseja bloquear esta conta? +unsuspendConfirm: Tem certeza de que deseja remover a suspensão desta conta? +flagAsBotDescription: Habilite esta opção se esta conta for controlada por um programa. + Se ativado, ela funcionará como um sinalizador para outros desenvolvedores, evitando + intermináveis cadeias de interação com outros bots e ajustando os sistemas internos + do Iceshrimp para tratar esta conta como um bot. +sendErrorReportsDescription: "Quando ativado, informações de erro detalhadas serão + compartilhadas com o Iceshrimp quando ocorrer um problema, ajudando a melhorar a + qualidade do Iceshrimp.\n Isso incluirá informações como a versão do seu sistema + operacional, qual navegador você está usando, sua atividade no Iceshrimp, etc." +general: Geral +federation: Federação +receiveFollowRequest: Pedido de seguidor recebido +followRequestAccepted: Pedido de seguidor aceito +pinned: Fixar no perfil +reaction: Reações +removeReaction: Remover sua reação +enableEmojiReactions: Ativar reações de emoji +showEmojisInReactionNotifications: Mostrar emojis em notificações de reação +reactionSetting: Reações a serem mostradas no seletor de reações +reactionSettingDescription2: Arraste para organizar, clique para excluir, aperte "+" + para adicionar. +attachCancel: Remover anexo +enterFileName: Insira nome de arquivo +suspend: Suspender +unsuspend: Remover suspensão +unblockConfirm: Tem certeza de que deseja desbloquear esta conta? +suspendConfirm: Tem certeza de que deseja suspender esta conta? +editWidgetsExit: Feito +sensitive: Sensível +block: Bloquear +unblock: Desbloquear +emoji: Emoji +emojis: Emoji +wallpaper: Plano de fundo +recipient: Destinatário(s) +annotation: Comentários +instances: Servidores +charts: Gráficos +operations: Operações +software: Programa +version: Versão +metadata: Metadados +network: Rede +disk: Disco +statistics: Estatísticas +done: Feito +default: Padrão +blocked: '' +migrationConfirm: "Você tem certeza absoluta de que deseja migrar sua conta para {account}? + Depois de fazer isso, você não poderá reverter e não poderá usar sua conta normalmente + novamente.\nAlém disso, certifique-se de definir esta conta atual como a conta da + qual você está migrando." diff --git a/locales/tr-TR.yml b/locales/tr-TR.yml index 3aade1a70..bd900aeab 100644 --- a/locales/tr-TR.yml +++ b/locales/tr-TR.yml @@ -1859,12 +1859,6 @@ _notification: youReceivedFollowRequest: Bir takip isteği geldi youGotPoll: '{name} anketinde oylama yaptı' youGotMessagingMessageFromUser: '{name} sana bir sohbet mesajı gönderdi' -_experiments: - title: Deneyler - postImportsCaption: Kullanıcıların geçmiş Iceshrimp, Iceshrimp, Mastodon, Akkoma ve - Pleroma hesaplarından gönderilerini içe aktarmalarına izin verir. Kuyruğunuz tıkanırsa - yükleme sırasında yavaşlamalara neden olabilir. - enablePostImports: Gönderi içeri aktarmasını aktif et _dialog: charactersExceeded: 'Maksimum karakter aşıldı! Geçerli: {current}/Sınır: {max}' charactersBelow: 'Yeterli karakter yok! Geçerli: {current}/Sınır: {min}' diff --git a/locales/uk-UA.yml b/locales/uk-UA.yml index 25ac46b41..9ea0d5f3f 100644 --- a/locales/uk-UA.yml +++ b/locales/uk-UA.yml @@ -1904,12 +1904,6 @@ _instanceMute: title: Приховує записи з перелічених серверів. instanceMuteDescription2: Розділити новими рядками heading: Список серверів для заглушення -_experiments: - enablePostImports: Ввімкнути імпорт записів - title: Експерименти - postImportsCaption: Дозволяє користувачам імпортувати свої публікації з минулих - облікових записів Iceshrimp, Misskey, Mastodon, Akkoma і Pleroma. Це може знизити - швидкість під час завантаження, якщо ваша черга перевантажена. _dialog: charactersExceeded: 'Перевищено максимальну кількість символів! Обмеження: {current}/{max}' charactersBelow: 'Недостатньо символів! Обмеження: {current}/{min}' diff --git a/locales/zh-CN.yml b/locales/zh-CN.yml index ad41598ac..f5c9394c4 100644 --- a/locales/zh-CN.yml +++ b/locales/zh-CN.yml @@ -1815,10 +1815,6 @@ _messaging: dms: 私信 groups: 群组 migration: 迁移 -_experiments: - title: 实验性功能 - postImportsCaption: 允许用户从过去的 Iceshrimp、Iceshrimp、Mastodon、Akkoma 和 Pleroma 账号导入帖子。如果您的队列出现拥堵,则可能会导致加载速度减慢。 - enablePostImports: 启用帖子导入 license: 许可证 flagSpeakAsCatDescription: 在猫模式下您的帖子会喵化 allowedInstances: 白名单服务器 diff --git a/locales/zh-TW.yml b/locales/zh-TW.yml index ec558ef92..512e1aabf 100644 --- a/locales/zh-TW.yml +++ b/locales/zh-TW.yml @@ -1823,8 +1823,6 @@ flagSpeakAsCat: 像貓一樣地說話 silenceThisInstance: 靜音此伺服器 silencedInstances: 已靜音的伺服器 silenced: 已靜音 -_experiments: - title: 試驗功能 findOtherInstance: 找找另一個伺服器 noGraze: 瀏覽器擴展 "Graze for Mastodon" 會與Iceshrimp發生衝突,請停用該擴展。 userSaysSomethingReasonRenote: '{name} 轉傳了包含 {reason} 的貼文' diff --git a/package.json b/package.json index 669c94296..36d118283 100644 --- a/package.json +++ b/package.json @@ -1,80 +1,82 @@ { - "name": "iceshrimp", - "version": "2023.12.7-jormungandr.18", - "repository": { - "type": "git", - "url": "https://iceshrimp.dev/limepotato/jormungandr-bite.git" - }, - "private": true, - "scripts": { - "rebuild": "clean && node ./scripts/build-greet.js && yarn workspace iceshrimp-js build && yarn workspaces foreach -Apitv run build && gulp", - "build": "node ./scripts/build-greet.js && yarn workspace iceshrimp-js run build && yarn workspaces foreach -Apitv run build && gulp", - "build:debug": "node ./scripts/build-greet.js && yarn workspace iceshrimp-js run build:debug && yarn workspaces foreach -Apitv run build:debug && gulp", - "start": "yarn workspace backend run start", - "start:debug": "yarn workspace backend run start:debug", - "start:test": "yarn workspace backend run start:test", - "init": "yarn migrate", - "migrate": "yarn workspace backend run migrate", - "revertmigration": "yarn workspace backend run revertmigration", - "migrateandstart": "yarn migrate && yarn start", - "gulp": "gulp build", - "watch": "yarn dev", - "dev": "node ./scripts/dev.js", - "dev:staging": "NODE_OPTIONS=--max_old_space_size=3072 NODE_ENV=development yarn build && yarn start", - "lint": "yarn workspaces foreach -Ap run lint", - "cy:open": "cypress open --browser --e2e --config-file=cypress.config.ts", - "cy:run": "cypress run", - "e2e": "start-server-and-test start:test http://localhost:61812 cy:run", - "mocha": "yarn workspace backend run mocha", - "test": "yarn mocha", - "format": "yarn workspaces foreach -Ap run format", - "clean": "node ./scripts/clean.js", - "clean-all": "node ./scripts/clean-all.js", - "cleanall": "yarn clean-all", - "focus-production": "node ./scripts/focus-production.js", - "regen-version": "node ./scripts/regen-version.js", - "pack-yarn": "corepack pack -o .yarn/corepack.tgz" - }, - "workspaces": [ - "packages/backend", - "packages/client", - "packages/sw", - "packages/iceshrimp-js" - ], - "resolutions": { - "chokidar": "^3.3.1" - }, - "dependencies": { - "@bull-board/api": "5.6.0", - "@bull-board/ui": "5.6.0", - "js-yaml": "4.1.0", - "seedrandom": "^3.0.5" - }, - "devDependencies": { - "@biomejs/biome": "1.4.1", - "@types/gulp": "4.0.13", - "@types/gulp-rename": "2.0.2", - "@types/node": "20.4.1", - "chalk": "4.1.2", - "chokidar": "^3.5.3", - "cross-env": "7.0.3", - "cypress": "10.11.0", - "execa": "5.1.1", - "glob": "^10.3.10", - "gulp": "4.0.2", - "gulp-cssnano": "2.1.3", - "gulp-rename": "2.0.0", - "gulp-replace": "1.1.4", - "gulp-terser": "2.1.0", - "install-peers": "^1.0.4", - "start-server-and-test": "1.15.2", - "typescript": "5.1.6", - "yaml": "^2.3.4" - }, - "packageManager": "yarn@4.1.1", - "dependenciesMeta": { - "@discordapp/twemoji@14.1.2": { - "unplugged": true - } - } + "name": "iceshrimp", + "version": "2023.12.9-jormungandr.18", + "repository": { + "type": "git", + "url": "https://iceshrimp.dev/limepotato/jormungandr-bite.git" + }, + "private": true, + "scripts": { + "rebuild": "clean && node ./scripts/build-greet.js && yarn workspace iceshrimp-sdk build && yarn workspaces foreach -Apitv run build && gulp", + "build": "node ./scripts/build-greet.js && yarn workspace iceshrimp-sdk run build && yarn workspaces foreach -Apitv run build && gulp", + "build:debug": "node ./scripts/build-greet.js && yarn workspace iceshrimp-sdk run build:debug && yarn workspaces foreach -Apitv run build:debug && gulp", + "start": "yarn workspace backend run start", + "start:debug": "yarn workspace backend run start:debug", + "start:test": "yarn workspace backend run start:test", + "init": "yarn migrate", + "migrate": "yarn workspace backend run migrate", + "revertmigration": "yarn workspace backend run revertmigration", + "migrateandstart": "yarn migrate && yarn start", + "gulp": "gulp build", + "watch": "yarn dev", + "dev": "node ./scripts/dev.js", + "dev:staging": "NODE_OPTIONS=--max_old_space_size=3072 NODE_ENV=development yarn build && yarn start", + "lint": "yarn workspaces foreach -Ap run lint", + "cy:open": "cypress open --browser --e2e --config-file=cypress.config.ts", + "cy:run": "cypress run", + "e2e": "start-server-and-test start:test http://localhost:61812 cy:run", + "mocha": "yarn workspace backend run mocha", + "test": "yarn mocha", + "format": "yarn workspaces foreach -Ap run format", + "clean": "node ./scripts/clean.js", + "clean-all": "node ./scripts/clean-all.js", + "cleanall": "yarn clean-all", + "focus-production": "node ./scripts/focus-production.js", + "regen-version": "node ./scripts/regen-version.js", + "pack-yarn": "corepack pack -o .yarn/corepack.tgz" + }, + "workspaces": [ + "packages/backend", + "packages/client", + "packages/sw", + "packages/iceshrimp-sdk" + ], + "resolutions": { + "chokidar": "^3.3.1" + }, + "dependencies": { + "@bull-board/api": "5.6.0", + "@bull-board/ui": "5.6.0", + "js-yaml": "4.1.0", + "seedrandom": "^3.0.5" + }, + "devDependencies": { + "@biomejs/biome": "1.4.1", + "@types/gulp": "4.0.13", + "@types/gulp-rename": "2.0.2", + "@types/node": "20.4.1", + "chalk": "4.1.2", + "chokidar": "^3.5.3", + "cross-env": "7.0.3", + "cypress": "10.11.0", + "execa": "5.1.1", + "glob": "^10.3.10", + "gulp": "4.0.2", + "gulp-cssnano": "2.1.3", + "gulp-rename": "2.0.0", + "gulp-replace": "1.1.4", + "gulp-terser": "2.1.0", + "install-peers": "^1.0.4", + "start-server-and-test": "1.15.2", + "typescript": "5.1.6", + "yaml": "^2.3.4" + }, + "packageManager": "yarn@4.3.1", + "dependenciesMeta": { + "@discordapp/twemoji@14.1.2": { "unplugged": true }, + "@microsoft/api-documenter@7.22.30": { "unplugged": true }, + "@microsoft/api-extractor@7.36.3": { "unplugged": true }, + "@microsoft/api-extractor-model@7.27.5": { "unplugged": true }, + "eventemitter3@4.0.7": { "unplugged": true } + } } diff --git a/packages/README.md b/packages/README.md index 670fd5a48..3b6f4bd46 100644 --- a/packages/README.md +++ b/packages/README.md @@ -5,4 +5,4 @@ This directory contains all of the packages Iceshrimp uses. - `backend`: Main backend code written in TypeScript for NodeJS - `client`: Web interface written in Vue3 and TypeScript - `sw`: Web [Service Worker](https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API) written in TypeScript -- `iceshrimp-js`: TypeScript SDK for both backend and client, also published on [NPM](https://www.npmjs.com/package/iceshrimp-js) for public use +- `iceshrimp-sdk`: TypeScript SDK for both backend and client diff --git a/packages/backend/package.json b/packages/backend/package.json index e01e923fa..2bafedaa2 100644 --- a/packages/backend/package.json +++ b/packages/backend/package.json @@ -27,6 +27,7 @@ "@bull-board/koa": "5.6.0", "@bull-board/ui": "5.6.0", "@discordapp/twemoji": "14.1.2", + "@iceshrimp/summaly": "2.7.2", "@koa/cors": "3.4.3", "@koa/multer": "3.0.2", "@koa/router": "9.0.1", @@ -34,7 +35,6 @@ "@peertube/http-signature": "1.7.0", "@redocly/openapi-core": "1.0.0-beta.131", "@sinonjs/fake-timers": "9.1.2", - "@syuilo/aiscript": "0.11.1", "@transfem-org/sfm-js": "^0.24.5", "adm-zip": "^0.5.10", "ajv": "8.12.0", @@ -69,7 +69,7 @@ "gunzip-maybe": "^1.4.2", "happy-dom": "^12.10.3", "hpagent": "0.1.2", - "iceshrimp-js": "workspace:*", + "iceshrimp-sdk": "workspace:*", "ioredis": "5.3.2", "ip-cidr": "3.1.0", "is-svg": "4.3.2", @@ -93,7 +93,7 @@ "msgpackr": "1.9.5", "multer": "1.4.4-lts.1", "nested-property": "4.0.0", - "node-fetch": "3.3.1", + "node-fetch": "3.3.2", "nodemailer": "6.9.3", "oauth": "^0.10.0", "os-utils": "0.0.14", @@ -111,7 +111,7 @@ "qs": "6.11.2", "random-seed": "0.3.0", "ratelimiter": "3.4.1", - "re2": "^1.20.9", + "re2": "^1.20.11", "redis-lock": "0.1.4", "redis-semaphore": "5.3.1", "reflect-metadata": "0.1.13", @@ -121,9 +121,8 @@ "sanitize-html": "2.10.0", "seedrandom": "^3.0.5", "semver": "7.5.4", - "sharp": "0.32.1", + "sharp": "0.33.4", "stringz": "2.1.0", - "summaly": "2.7.0", "syslog-pro": "1.0.0", "systeminformation": "^5.21.12", "tar-stream": "^3.1.6", diff --git a/packages/backend/src/migration/1705528046452-federated-bite.ts b/packages/backend/src/migration/1705528046452-federated-bite.ts index 90d31c5b0..dc954a166 100644 --- a/packages/backend/src/migration/1705528046452-federated-bite.ts +++ b/packages/backend/src/migration/1705528046452-federated-bite.ts @@ -24,6 +24,7 @@ export class FederatedBite1705528046452 implements MigrationInterface { } public async down(queryRunner: QueryRunner): Promise { + await queryRunner.query(`DELETE FROM "notification" WHERE "biteId" IS NOT NULL`); await queryRunner.query(`ALTER TABLE "notification" DROP CONSTRAINT "FK_c54844158c1eead7042e7ca4c83"`); await queryRunner.query(`ALTER TABLE "bite" DROP CONSTRAINT "FK_5d5f68610583f2e0b6785d3c0e9"`); await queryRunner.query(`ALTER TABLE "bite" DROP CONSTRAINT "FK_a646fbbeb6efa2531c75fec46b9"`); diff --git a/packages/backend/src/migration/1722204953558-bite-notification-index.ts b/packages/backend/src/migration/1722204953558-bite-notification-index.ts new file mode 100644 index 000000000..dbc90c9bf --- /dev/null +++ b/packages/backend/src/migration/1722204953558-bite-notification-index.ts @@ -0,0 +1,13 @@ +import { MigrationInterface, QueryRunner } from "typeorm"; + +export class BiteNotificationIndex1722204953558 implements MigrationInterface { + name = 'BiteNotificationIndex1722204953558' + + public async up(queryRunner: QueryRunner): Promise { + await queryRunner.query(`CREATE INDEX "IDX_c54844158c1eead7042e7ca4c8" ON "notification" ("biteId") `); + } + + public async down(queryRunner: QueryRunner): Promise { + await queryRunner.query(`DROP INDEX "public"."IDX_c54844158c1eead7042e7ca4c8"`); + } +} diff --git a/packages/backend/src/misc/fetch.ts b/packages/backend/src/misc/fetch.ts index 25dff6533..93197dc44 100644 --- a/packages/backend/src/misc/fetch.ts +++ b/packages/backend/src/misc/fetch.ts @@ -88,7 +88,6 @@ export async function getResponse(args: { body?: string; headers: Record; timeout?: number; - size?: number; redirect?: RequestRedirect; }) { const timeout = args.timeout || 10 * 1000; @@ -103,7 +102,7 @@ export async function getResponse(args: { headers: args.headers, body: args.body, timeout, - size: args.size || 10 * 1024 * 1024, + size: 10 * 1024 * 1024, agent: getAgentByUrl, signal: controller.signal, redirect: args.redirect diff --git a/packages/backend/src/models/entities/bite.ts b/packages/backend/src/models/entities/bite.ts index ee7e3aea1..f5cd34818 100644 --- a/packages/backend/src/models/entities/bite.ts +++ b/packages/backend/src/models/entities/bite.ts @@ -1,4 +1,4 @@ -import { Check, Column, Entity, ManyToOne, PrimaryColumn } from "typeorm"; +import { Check, Column, Entity, ManyToOne, PrimaryColumn, Index } from "typeorm"; import { id } from "../id.js"; import { User } from "./user.js"; diff --git a/packages/backend/src/models/entities/notification.ts b/packages/backend/src/models/entities/notification.ts index f8619a655..d4ec7791b 100644 --- a/packages/backend/src/models/entities/notification.ts +++ b/packages/backend/src/models/entities/notification.ts @@ -183,6 +183,7 @@ export class Notification { @JoinColumn() public appAccessToken: AccessToken | null; + @Index() @Column({ ...id(), nullable: true }) public biteId: Bite["id"] | null; diff --git a/packages/backend/src/models/repositories/user.ts b/packages/backend/src/models/repositories/user.ts index 37a84779a..963c0daa7 100644 --- a/packages/backend/src/models/repositories/user.ts +++ b/packages/backend/src/models/repositories/user.ts @@ -241,24 +241,29 @@ export const UserRepository = db.getRepository(User).extend({ }, async userFromURI(uri: string): Promise { - const dbResolver = new DbResolver(); - let local = await dbResolver.getUserFromApId(uri); - if (local) { - return local; + try { + const dbResolver = new DbResolver(); + let local = await dbResolver.getUserFromApId(uri); + if (local) { + return local; + } + + // fetching Object once from remote + const resolver = new Resolver(); + const object = (await resolver.resolve(uri)) as any; + + // /@user If a URI other than the id is specified, + // the URI is determined here + if (uri !== object.id) { + local = await dbResolver.getUserFromApId(object.id); + if (local != null) return local; + } + + return isActor(object) ? await createPerson(getApId(object)) : null; } - - // fetching Object once from remote - const resolver = new Resolver(); - const object = (await resolver.resolve(uri)) as any; - - // /@user If a URI other than the id is specified, - // the URI is determined here - if (uri !== object.id) { - local = await dbResolver.getUserFromApId(object.id); - if (local != null) return local; + catch { + return null; } - - return isActor(object) ? await createPerson(getApId(object)) : null; }, async getHasUnreadAntenna(userId: User["id"]): Promise { diff --git a/packages/backend/src/queue/processors/background/index.ts b/packages/backend/src/queue/processors/background/index.ts index 38b58680c..ac3d1d32e 100644 --- a/packages/backend/src/queue/processors/background/index.ts +++ b/packages/backend/src/queue/processors/background/index.ts @@ -1,4 +1,5 @@ import type Bull from "bull"; +import { noop } from "@/queue/processors/noop.js"; const jobs = {} as Record>>; @@ -6,4 +7,6 @@ export default function (q: Bull.Queue) { for (const [k, v] of Object.entries(jobs)) { q.process(k, 16, v); } + + q.process(noop); } diff --git a/packages/backend/src/queue/processors/db/import-following.ts b/packages/backend/src/queue/processors/db/import-following.ts index b1a7cd2c9..d58c71276 100644 --- a/packages/backend/src/queue/processors/db/import-following.ts +++ b/packages/backend/src/queue/processors/db/import-following.ts @@ -9,6 +9,7 @@ import { Users, DriveFiles } from "@/models/index.js"; import type { DbUserImportJobData } from "@/queue/types.js"; import { queueLogger } from "../../logger.js"; import type Bull from "bull"; +import { cache as heuristic } from "@/server/api/common/generate-following-query.js"; const logger = queueLogger.createSubLogger("import-following"); @@ -111,6 +112,7 @@ export async function importFollowing( } } + await heuristic.delete(user.id); logger.succ("Imported"); done(); } diff --git a/packages/backend/src/queue/processors/db/index.ts b/packages/backend/src/queue/processors/db/index.ts index d20fc2c71..9100d458f 100644 --- a/packages/backend/src/queue/processors/db/index.ts +++ b/packages/backend/src/queue/processors/db/index.ts @@ -16,6 +16,7 @@ import { importMastoPost } from "./import-masto-post.js"; import { importCkPost } from "./import-firefish-post.js"; import { importBlocking } from "./import-blocking.js"; import { importCustomEmojis } from "./import-custom-emojis.js"; +import { noop } from "@/queue/processors/noop.js"; const jobs = { deleteDriveFiles, @@ -44,4 +45,6 @@ export default function (dbQueue: Bull.Queue) { for (const [k, v] of Object.entries(jobs)) { dbQueue.process(k, v); } + + dbQueue.process(noop); } diff --git a/packages/backend/src/queue/processors/deliver.ts b/packages/backend/src/queue/processors/deliver.ts index f5d511ced..7518a3ca9 100644 --- a/packages/backend/src/queue/processors/deliver.ts +++ b/packages/backend/src/queue/processors/deliver.ts @@ -22,6 +22,10 @@ const logger = new Logger("deliver"); let latest: string | null = null; export default async (job: Bull.Job) => { + if (job.data == null || Object.keys(job.data).length === 0) { + job.opts.removeOnComplete = true; + return "Skip (data was null or empty)"; + } const { host } = new URL(job.data.to); const puny = toPuny(host); diff --git a/packages/backend/src/queue/processors/ended-poll-notification.ts b/packages/backend/src/queue/processors/ended-poll-notification.ts index c652d6216..dafa11719 100644 --- a/packages/backend/src/queue/processors/ended-poll-notification.ts +++ b/packages/backend/src/queue/processors/ended-poll-notification.ts @@ -11,6 +11,11 @@ export async function endedPollNotification( job: Bull.Job, done: any, ): Promise { + if (job.data == null || Object.keys(job.data).length === 0) { + job.opts.removeOnComplete = true; + done(); + return; + } const note = await Notes.findOneBy({ id: job.data.noteId }); if (note == null || !note.hasPoll) { done(); diff --git a/packages/backend/src/queue/processors/inbox.ts b/packages/backend/src/queue/processors/inbox.ts index e310c4760..c346c043f 100644 --- a/packages/backend/src/queue/processors/inbox.ts +++ b/packages/backend/src/queue/processors/inbox.ts @@ -29,6 +29,10 @@ const logger = new Logger("inbox"); // Processing when an activity arrives in the user's inbox export default async (job: Bull.Job): Promise => { + if (job.data == null || Object.keys(job.data).length === 0) { + job.opts.removeOnComplete = true; + return "Skip (data was null or empty)"; + } const signature = job.data.signature; // HTTP-signature let activity = job.data.activity; diff --git a/packages/backend/src/queue/processors/noop.ts b/packages/backend/src/queue/processors/noop.ts new file mode 100644 index 000000000..575a75209 --- /dev/null +++ b/packages/backend/src/queue/processors/noop.ts @@ -0,0 +1,7 @@ +import Bull from "bull"; + +// Processor to be registered for jobs with __default__ (unnamed) handlers in queues that only have named handlers +// Prevents sporadic bogus jobs from clogging up the queues +export async function noop(job: Bull.Job): Promise { + job.opts.removeOnComplete = true; +} diff --git a/packages/backend/src/queue/processors/object-storage/index.ts b/packages/backend/src/queue/processors/object-storage/index.ts index 5f90d4cd0..1c24f5244 100644 --- a/packages/backend/src/queue/processors/object-storage/index.ts +++ b/packages/backend/src/queue/processors/object-storage/index.ts @@ -2,6 +2,7 @@ import type Bull from "bull"; import type { ObjectStorageJobData } from "@/queue/types.js"; import deleteFile from "./delete-file.js"; import cleanRemoteFiles from "./clean-remote-files.js"; +import { noop } from "@/queue/processors/noop.js"; const jobs = { deleteFile, @@ -16,4 +17,6 @@ export default function (q: Bull.Queue) { for (const [k, v] of Object.entries(jobs)) { q.process(k, 16, v); } + + q.process(noop); } diff --git a/packages/backend/src/queue/processors/system/index.ts b/packages/backend/src/queue/processors/system/index.ts index 697d24d06..2ff2c636e 100644 --- a/packages/backend/src/queue/processors/system/index.ts +++ b/packages/backend/src/queue/processors/system/index.ts @@ -6,6 +6,7 @@ import { checkExpiredMutings } from "./check-expired-mutings.js"; import { clean } from "./clean.js"; import { setLocalEmojiSizes } from "./local-emoji-size.js"; import { verifyLinks } from "./verify-links.js"; +import { noop } from "@/queue/processors/noop.js"; const jobs = { tickCharts, @@ -25,4 +26,6 @@ export default function (dbQueue: Bull.Queue>) { for (const [k, v] of Object.entries(jobs)) { dbQueue.process(k, v); } + + dbQueue.process(noop); } diff --git a/packages/backend/src/queue/processors/webhook-deliver.ts b/packages/backend/src/queue/processors/webhook-deliver.ts index 904291da2..e821026dd 100644 --- a/packages/backend/src/queue/processors/webhook-deliver.ts +++ b/packages/backend/src/queue/processors/webhook-deliver.ts @@ -9,6 +9,10 @@ import config from "@/config/index.js"; const logger = new Logger("webhook"); export default async (job: Bull.Job) => { + if (job.data == null || Object.keys(job.data).length === 0) { + job.opts.removeOnComplete = true; + return "Skip (data was null or empty)"; + } try { logger.debug(`delivering ${job.data.webhookId}`); diff --git a/packages/backend/src/remote/activitypub/kernel/bite.ts b/packages/backend/src/remote/activitypub/kernel/bite.ts index 157d588ae..ecce5cc7e 100644 --- a/packages/backend/src/remote/activitypub/kernel/bite.ts +++ b/packages/backend/src/remote/activitypub/kernel/bite.ts @@ -6,7 +6,6 @@ import config from "@/config/index.js"; import { genId } from "@/misc/gen-id.js"; import { createBite } from "@/services/create-bite.js"; import { Bite } from "@/models/entities/bite.js"; -import { tickBiteIncoming } from "@/metrics.js"; export default async ( actor: CacheableRemoteUser, @@ -76,7 +75,5 @@ export default async ( bite.published ? new Date(bite.published) : null, ); - tickBiteIncoming(); - return "ok"; }; diff --git a/packages/backend/src/remote/activitypub/misc/ld-signature.ts b/packages/backend/src/remote/activitypub/misc/ld-signature.ts index 2d1e7ef6b..b654e8976 100644 --- a/packages/backend/src/remote/activitypub/misc/ld-signature.ts +++ b/packages/backend/src/remote/activitypub/misc/ld-signature.ts @@ -126,6 +126,7 @@ export class LdSignature { headers: { Accept: "application/ld+json, application/json", }, + size: 1024 * 1024, // 1MiB // TODO //timeout: this.loderTimeout, agent: (u) => (u.protocol === "http:" ? httpAgent : httpsAgent), diff --git a/packages/backend/src/remote/activitypub/models/note.ts b/packages/backend/src/remote/activitypub/models/note.ts index 6cbecb845..5e9cb826a 100644 --- a/packages/backend/src/remote/activitypub/models/note.ts +++ b/packages/backend/src/remote/activitypub/models/note.ts @@ -584,7 +584,7 @@ export async function updateNote(value: string | IObject, resolver?: Resolver) { text = await htmlToMfm(post.content, post.tag); } - const cw = post.sensitive && post.summary; + const cw = post.summary === "" ? null : post.summary; // File parsing const fileList = post.attachment diff --git a/packages/backend/src/remote/activitypub/models/person.ts b/packages/backend/src/remote/activitypub/models/person.ts index dc2670c4c..1d8913fb6 100644 --- a/packages/backend/src/remote/activitypub/models/person.ts +++ b/packages/backend/src/remote/activitypub/models/person.ts @@ -56,6 +56,8 @@ import { import { RecursionLimiter } from "@/models/repositories/user-profile.js"; import { UserConverter } from "@/server/api/mastodon/converters/user.js"; +import fetch from "node-fetch"; + const logger = apLogger; const nameLength = 128; @@ -271,6 +273,7 @@ export async function createPerson( try { let data = await fetch(person.followers, { headers: { Accept: "application/json" }, + size: 1024 * 1024 }); let json_data = JSON.parse(await data.text()); @@ -286,6 +289,7 @@ export async function createPerson( try { let data = await fetch(person.following, { headers: { Accept: "application/json" }, + size: 1024 * 1024 }); let json_data = JSON.parse(await data.text()); @@ -529,6 +533,7 @@ export async function updatePerson( try { let data = await fetch(person.followers, { headers: { Accept: "application/json" }, + size: 1024 * 1024 }); let json_data = JSON.parse(await data.text()); @@ -544,6 +549,7 @@ export async function updatePerson( try { let data = await fetch(person.following, { headers: { Accept: "application/json" }, + size: 1024 * 1024 }); let json_data = JSON.parse(await data.text()); diff --git a/packages/backend/src/remote/activitypub/renderer/ordered-collection.ts b/packages/backend/src/remote/activitypub/renderer/ordered-collection.ts index b975399b6..b5457553a 100644 --- a/packages/backend/src/remote/activitypub/renderer/ordered-collection.ts +++ b/packages/backend/src/remote/activitypub/renderer/ordered-collection.ts @@ -11,14 +11,14 @@ export default function ( totalItems: any, first?: string, last?: string, - orderedItems?: Record[], + orderedItems?: (Record | string)[], ): { id: string | null; type: "OrderedCollection"; totalItems: any; first?: string; last?: string; - orderedItems?: Record[]; + orderedItems?: (Record | string)[]; } { const page: any = { id, diff --git a/packages/backend/src/remote/activitypub/resolver.ts b/packages/backend/src/remote/activitypub/resolver.ts index a0b47778e..af1b25754 100644 --- a/packages/backend/src/remote/activitypub/resolver.ts +++ b/packages/backend/src/remote/activitypub/resolver.ts @@ -27,7 +27,6 @@ import { shouldBlockInstance } from "@/misc/should-block-instance.js"; import { apLogger } from "@/remote/activitypub/logger.js"; import { In, IsNull, Not } from "typeorm"; import renderBite from "@/remote/activitypub/renderer/bite.js"; -import { tickResolve } from "@/metrics.js"; export default class Resolver { private history: Set; diff --git a/packages/backend/src/server/activitypub.ts b/packages/backend/src/server/activitypub.ts index 3545b95c7..31a0cd898 100644 --- a/packages/backend/src/server/activitypub.ts +++ b/packages/backend/src/server/activitypub.ts @@ -37,7 +37,6 @@ import { serverLogger } from "./index.js"; import config from "@/config/index.js"; import Koa from "koa"; import renderBite from "@/remote/activitypub/renderer/bite.js"; -import { tickFetch } from "@/metrics.js"; // Init router const router = new Router(); diff --git a/packages/backend/src/server/activitypub/featured.ts b/packages/backend/src/server/activitypub/featured.ts index 91bad07b2..25d43e39d 100644 --- a/packages/backend/src/server/activitypub/featured.ts +++ b/packages/backend/src/server/activitypub/featured.ts @@ -37,9 +37,7 @@ export default async (ctx: Router.RouterContext) => { pinings.map((pining) => Notes.findOneByOrFail({ id: pining.noteId })), ); - const renderedNotes = await Promise.all( - pinnedNotes.map((note) => renderNote(note)), - ); + const renderedNotes = pinnedNotes.map((note) => `${config.url}/notes/${note.id}`); const rendered = renderOrderedCollection( `${config.url}/users/${userId}/collections/featured`, diff --git a/packages/backend/src/server/api/common/generate-following-query.ts b/packages/backend/src/server/api/common/generate-following-query.ts index 14835f7f5..c6a592d34 100644 --- a/packages/backend/src/server/api/common/generate-following-query.ts +++ b/packages/backend/src/server/api/common/generate-following-query.ts @@ -4,7 +4,7 @@ import { Followings, Notes } from "@/models/index.js"; import { Cache } from "@/misc/cache.js"; import { apiLogger } from "@/server/api/logger.js"; -const cache = new Cache("homeTlQueryData", 60 * 60 * 24); +export const cache = new Cache("homeTlQueryData", 60 * 60 * 24); const cutoff = 250; // 250 posts in the last 7 days, constant determined by comparing benchmarks for cutoff values between 100 and 2500 const logger = apiLogger.createSubLogger("heuristics"); diff --git a/packages/backend/src/server/api/endpoints/notes/translate.ts b/packages/backend/src/server/api/endpoints/notes/translate.ts index d86fc12a2..440fdfda6 100644 --- a/packages/backend/src/server/api/endpoints/notes/translate.ts +++ b/packages/backend/src/server/api/endpoints/notes/translate.ts @@ -81,6 +81,7 @@ export default define(meta, paramDef, async (ps, user) => { }, body: JSON.stringify(jsonBody), agent: getAgentByUrl, + size: 10 * 1024 * 1024 }); const json = (await res.json()) as { @@ -114,6 +115,7 @@ export default define(meta, paramDef, async (ps, user) => { Accept: "application/json, */*", }, body: params, + size: 10 * 1024 * 1024, // TODO //timeout: 10000, agent: getAgentByUrl, diff --git a/packages/backend/src/server/api/mastodon/converters/file.ts b/packages/backend/src/server/api/mastodon/converters/file.ts index 31a34b9ee..7cf064b5e 100644 --- a/packages/backend/src/server/api/mastodon/converters/file.ts +++ b/packages/backend/src/server/api/mastodon/converters/file.ts @@ -7,7 +7,7 @@ export class FileConverter { type: this.encodefileType(f.type), url: f.url ?? "", remote_url: f.url, - preview_url: f.thumbnailUrl, + preview_url: f.thumbnailUrl ?? f.url ?? "", text_url: f.url, meta: { width: f.properties.width, diff --git a/packages/backend/src/server/api/mastodon/entities/attachment.ts b/packages/backend/src/server/api/mastodon/entities/attachment.ts index 3cdc67b76..0945097f0 100644 --- a/packages/backend/src/server/api/mastodon/entities/attachment.ts +++ b/packages/backend/src/server/api/mastodon/entities/attachment.ts @@ -40,7 +40,7 @@ namespace MastodonEntity { type: "unknown" | "image" | "gifv" | "video" | "audio"; url: string; remote_url: string | null; - preview_url: string | null; + preview_url: string; text_url: string | null; meta: Meta | null; description: string | null; diff --git a/packages/backend/src/server/api/mastodon/helpers/user.ts b/packages/backend/src/server/api/mastodon/helpers/user.ts index 77dd6cce8..4cc52714a 100644 --- a/packages/backend/src/server/api/mastodon/helpers/user.ts +++ b/packages/backend/src/server/api/mastodon/helpers/user.ts @@ -215,6 +215,7 @@ export class UserHelpers { const user = ctx.user as ILocalUser; const acct = UserConverter.encode(user, ctx); const profile = UserProfiles.findOneByOrFail({ userId: user.id }); + const followRequests = FollowRequests.count({ where: { followeeId: user.id } }); const privacy = this.getDefaultNoteVisibility(ctx); const fields = profile.then(profile => profile.fields.map(field => { return { @@ -229,6 +230,7 @@ export class UserHelpers { privacy: privacy.then(p => VisibilityConverter.encode(p)), sensitive: profile.then(p => p.alwaysMarkNsfw), language: profile.then(p => p.lang ?? ''), + follow_requests_count: followRequests, }; const result = { diff --git a/packages/backend/src/server/web/manifest.ts b/packages/backend/src/server/web/manifest.ts index e1bee8aae..723458afb 100644 --- a/packages/backend/src/server/web/manifest.ts +++ b/packages/backend/src/server/web/manifest.ts @@ -1,12 +1,12 @@ import type Koa from "koa"; import { fetchMeta } from "@/misc/fetch-meta.js"; -import manifest from "./manifest.json" assert { type: "json" }; +import fs from "fs"; +import path from 'path'; + +const manifest = JSON.parse(fs.readFileSync(path.resolve('./src/server/web/manifest.json'), 'utf-8')); export const manifestHandler = async (ctx: Koa.Context) => { - // TODO - //const res = structuredClone(manifest); - const res = JSON.parse(JSON.stringify(manifest)); - + const res = manifest; const instance = await fetchMeta(true); res.short_name = instance.name || "Iceshrimp"; diff --git a/packages/backend/src/server/web/url-preview.ts b/packages/backend/src/server/web/url-preview.ts index c9f3b6cac..4acb12c08 100644 --- a/packages/backend/src/server/web/url-preview.ts +++ b/packages/backend/src/server/web/url-preview.ts @@ -1,5 +1,5 @@ import type Koa from "koa"; -import summaly from "summaly"; +import summaly from "@iceshrimp/summaly"; import { fetchMeta } from "@/misc/fetch-meta.js"; import Logger from "@/services/logger.js"; import config from "@/config/index.js"; @@ -40,6 +40,7 @@ export const urlPreviewHandler = async (ctx: Koa.Context) => { : await summaly.default(url, { followRedirects: false, lang: lang ?? "en-US", + userAgent: config.userAgent }); logger.succ(`Got preview of ${url}: ${summary.title}`); diff --git a/packages/backend/src/services/create-bite.ts b/packages/backend/src/services/create-bite.ts index 1c0f3b08c..dea96e20d 100644 --- a/packages/backend/src/services/create-bite.ts +++ b/packages/backend/src/services/create-bite.ts @@ -6,7 +6,6 @@ import { renderActivity } from "@/remote/activitypub/renderer/index.js"; import renderBite from "@/remote/activitypub/renderer/bite.js"; import { deliverToUser } from "@/remote/activitypub/deliver-manager.js"; import { createNotification } from "./create-notification.js"; -import { tickBiteLocal, tickBiteOutgoing } from "@/metrics.js"; export async function createBite( sender: User, @@ -62,8 +61,6 @@ export async function createBite( renderActivity(await renderBite(bite)), deliverTarget, ); - - tickBiteOutgoing(); } if (Users.isLocalUser(deliverTarget)) { @@ -71,8 +68,6 @@ export async function createBite( notifierId: sender.id, biteId: bite.id, }); - - if (Users.isLocalUser(sender)) tickBiteLocal(); } return id; diff --git a/packages/backend/src/services/fetch-instance-metadata.ts b/packages/backend/src/services/fetch-instance-metadata.ts index 79354448f..585d820d4 100644 --- a/packages/backend/src/services/fetch-instance-metadata.ts +++ b/packages/backend/src/services/fetch-instance-metadata.ts @@ -199,6 +199,7 @@ async function fetchFaviconUrl( // TODO //timeout: 10000, agent: getAgentByUrl, + size: 1024 * 1024 }); if (favicon.ok) { diff --git a/packages/backend/test/utils.ts b/packages/backend/test/utils.ts index 76f48dbb3..7b0307dd4 100644 --- a/packages/backend/test/utils.ts +++ b/packages/backend/test/utils.ts @@ -6,7 +6,7 @@ import * as childProcess from "child_process"; import * as http from "node:http"; import { SIGKILL } from "constants"; import WebSocket from "ws"; -import * as misskey from "iceshrimp-js"; +import * as misskey from "iceshrimp-sdk"; import fetch from "node-fetch"; import FormData from "form-data"; import { DataSource } from "typeorm"; @@ -85,6 +85,7 @@ export const request = async ( headers: { "Content-Type": "application/json", }, + size: 10 * 1024 * 1024, body: JSON.stringify(Object.assign(auth, params)), }); diff --git a/packages/client/package.json b/packages/client/package.json index 7b439bc9d..5da486f9b 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -1,107 +1,107 @@ { - "name": "client", - "private": true, - "scripts": { - "watch": "vite build --watch --mode development", - "build": "vite build", - "build:debug": "yarn build", - "lint": "biome check **/*.ts --apply && yarn lint:vue", - "lint:vue": "paralint --ext .vue --fix '**/*.vue' --cache", - "format": "biome format * --write && prettier --write '**/*.{scss,vue}' --cache --cache-strategy metadata" - }, - "devDependencies": { - "@discordapp/twemoji": "14.1.2", - "@eslint-sets/eslint-config-vue3": "^5.6.1", - "@eslint-sets/eslint-config-vue3-ts": "^3.3.0", - "@phosphor-icons/web": "^2.1.1", - "@rollup/plugin-alias": "^5.1.0", - "@rollup/plugin-json": "^6.0.1", - "@rollup/pluginutils": "^5.1.0", - "@syuilo/aiscript": "0.11.1", - "@transfem-org/sfm-js": "^0.24.5", - "@types/escape-regexp": "0.0.1", - "@types/glob": "8.1.0", - "@types/gulp": "4.0.13", - "@types/gulp-rename": "2.0.2", - "@types/katex": "0.16.0", - "@types/matter-js": "0.18.2", - "@types/punycode": "2.1.0", - "@types/seedrandom": "3.0.5", - "@types/throttle-debounce": "5.0.0", - "@types/tinycolor2": "1.4.3", - "@types/uuid": "8.3.4", - "@vitejs/plugin-vue": "^4.5.0", - "@vue/compiler-sfc": "3.3.4", - "autobind-decorator": "2.4.0", - "autosize": "5.0.2", - "blurhash": "2.0.5", - "broadcast-channel": "5.1.0", - "browser-image-resizer": "https://iceshrimp.dev/iceshrimp/browser-image-resizer.git", - "chart.js": "4.3.0", - "chartjs-adapter-date-fns": "3.0.0", - "chartjs-chart-matrix": "^2.0.1", - "chartjs-plugin-gradient": "0.6.1", - "chartjs-plugin-zoom": "2.0.1", - "city-timezones": "^1.2.1", - "compare-versions": "6.0.0", - "cropperjs": "2.0.0-beta.2", - "cross-env": "7.0.3", - "cypress": "10.11.0", - "date-fns": "2.30.0", - "emojilib": "https://iceshrimp.dev/iceshrimp/emojilib.git", - "escape-regexp": "0.0.1", - "eslint-config-prettier": "^8.6.0", - "eslint-plugin-file-progress": "^1.3.0", - "eventemitter3": "5.0.1", - "fast-blurhash": "^1.1.2", - "focus-trap": "^7.5.2", - "focus-trap-vue": "^4.0.2", - "gsap": "^3.12.2", - "iceshrimp-js": "workspace:*", - "idb-keyval": "6.2.1", - "insert-text-at-cursor": "0.3.0", - "json5": "2.2.3", - "katex": "0.16.8", - "matter-js": "0.18.0", - "paralint": "^1.2.1", - "photoswipe": "5.3.8", - "prettier": "3.0.0", - "prettier-plugin-vue": "1.1.6", - "prismjs": "1.29.0", - "punycode": "2.3.0", - "querystring": "0.2.1", - "rndstr": "1.0.0", - "rollup": "4.6.1", - "s-age": "1.1.2", - "sass": "1.63.6", - "seedrandom": "3.0.5", - "start-server-and-test": "1.15.2", - "strict-event-emitter-types": "2.0.0", - "stringz": "2.1.0", - "swiper": "10.0.4", - "syuilo-password-strength": "0.0.1", - "textarea-caret": "3.1.0", - "three": "0.146.0", - "throttle-debounce": "5.0.0", - "tinycolor2": "1.6.0", - "tsc-alias": "1.8.7", - "tsconfig-paths": "4.2.0", - "twemoji-parser": "14.0.0", - "typescript": "5.1.6", - "unicode-emoji-json": "^0.4.0", - "uuid": "9.0.0", - "vanilla-tilt": "1.8.0", - "vite": "5.0.2", - "vite-plugin-compression": "^0.5.1", - "vue": "^3.3.8", - "vue-draggable-plus": "^0.2.2", - "vue-isyourpasswordsafe": "^2.0.0", - "vue-plyr": "^7.0.0", - "vue-prism-editor": "2.0.0-alpha.2", - "vuedraggable": "next" - }, - "dependencies": { - "@babel/core": "^7.23.2", - "eslint": "^8.45.0" - } + "name": "client", + "private": true, + "scripts": { + "watch": "vite build --watch --mode development", + "build": "vite build", + "build:debug": "yarn build", + "lint": "biome check **/*.ts --apply && yarn lint:vue", + "lint:vue": "paralint --ext .vue --fix '**/*.vue' --cache", + "format": "biome format * --write && prettier --write '**/*.{scss,vue}' --cache --cache-strategy metadata" + }, + "devDependencies": { + "@discordapp/twemoji": "14.1.2", + "@eslint-sets/eslint-config-vue3": "^5.6.1", + "@eslint-sets/eslint-config-vue3-ts": "^3.3.0", + "@phosphor-icons/web": "^2.1.1", + "@rollup/plugin-alias": "^5.1.0", + "@rollup/plugin-json": "^6.0.1", + "@rollup/pluginutils": "^5.1.0", + "@syuilo/aiscript": "0.17.0", + "@transfem-org/sfm-js": "^0.24.5", + "@types/escape-regexp": "0.0.1", + "@types/glob": "8.1.0", + "@types/gulp": "4.0.13", + "@types/gulp-rename": "2.0.2", + "@types/katex": "0.16.0", + "@types/matter-js": "0.18.2", + "@types/punycode": "2.1.0", + "@types/seedrandom": "3.0.5", + "@types/throttle-debounce": "5.0.0", + "@types/tinycolor2": "1.4.3", + "@types/uuid": "8.3.4", + "@vitejs/plugin-vue": "^4.5.0", + "@vue/compiler-sfc": "3.3.4", + "autobind-decorator": "2.4.0", + "autosize": "5.0.2", + "blurhash": "2.0.5", + "broadcast-channel": "5.1.0", + "browser-image-resizer": "https://iceshrimp.dev/iceshrimp/browser-image-resizer.git", + "chart.js": "4.3.0", + "chartjs-adapter-date-fns": "3.0.0", + "chartjs-chart-matrix": "^2.0.1", + "chartjs-plugin-gradient": "0.6.1", + "chartjs-plugin-zoom": "2.0.1", + "city-timezones": "^1.2.1", + "compare-versions": "6.0.0", + "cropperjs": "2.0.0-beta.2", + "cross-env": "7.0.3", + "cypress": "10.11.0", + "date-fns": "2.30.0", + "emojilib": "https://iceshrimp.dev/iceshrimp/emojilib.git", + "escape-regexp": "0.0.1", + "eslint-config-prettier": "^8.6.0", + "eslint-plugin-file-progress": "^1.3.0", + "eventemitter3": "5.0.1", + "fast-blurhash": "^1.1.2", + "focus-trap": "^7.5.2", + "focus-trap-vue": "^4.0.2", + "gsap": "^3.12.2", + "iceshrimp-sdk": "workspace:*", + "idb-keyval": "6.2.1", + "insert-text-at-cursor": "0.3.0", + "json5": "2.2.3", + "katex": "0.16.8", + "matter-js": "0.18.0", + "paralint": "^1.2.1", + "photoswipe": "5.3.8", + "prettier": "3.0.0", + "prettier-plugin-vue": "1.1.6", + "prismjs": "1.29.0", + "punycode": "2.3.0", + "querystring": "0.2.1", + "rndstr": "1.0.0", + "rollup": "4.6.1", + "s-age": "1.1.2", + "sass": "1.63.6", + "seedrandom": "3.0.5", + "start-server-and-test": "1.15.2", + "strict-event-emitter-types": "2.0.0", + "stringz": "2.1.0", + "swiper": "10.0.4", + "syuilo-password-strength": "0.0.1", + "textarea-caret": "3.1.0", + "three": "0.146.0", + "throttle-debounce": "5.0.0", + "tinycolor2": "1.6.0", + "tsc-alias": "1.8.7", + "tsconfig-paths": "4.2.0", + "twemoji-parser": "14.0.0", + "typescript": "5.1.6", + "unicode-emoji-json": "^0.4.0", + "uuid": "9.0.0", + "vanilla-tilt": "1.8.0", + "vite": "5.0.2", + "vite-plugin-compression": "^0.5.1", + "vue": "^3.3.8", + "vue-draggable-plus": "^0.2.2", + "vue-isyourpasswordsafe": "^2.0.0", + "vue-plyr": "^7.0.0", + "vue-prism-editor": "2.0.0-alpha.2", + "vuedraggable": "next" + }, + "dependencies": { + "@babel/core": "^7.23.2", + "eslint": "^8.45.0" + } } diff --git a/packages/client/src/account.ts b/packages/client/src/account.ts index c51ef8a2e..74c1ad15c 100644 --- a/packages/client/src/account.ts +++ b/packages/client/src/account.ts @@ -1,5 +1,5 @@ import { defineAsyncComponent, reactive } from "vue"; -import * as misskey from "iceshrimp-js"; +import * as misskey from "iceshrimp-sdk"; import { i18n } from "./i18n"; import { del, get, set } from "@/scripts/idb-proxy"; import { apiUrl } from "@/config"; diff --git a/packages/client/src/components/MkAbuseReportWindow.vue b/packages/client/src/components/MkAbuseReportWindow.vue index 6e5171d57..b47adf870 100644 --- a/packages/client/src/components/MkAbuseReportWindow.vue +++ b/packages/client/src/components/MkAbuseReportWindow.vue @@ -41,7 +41,7 @@ diff --git a/packages/client/src/pages/admin/files.vue b/packages/client/src/pages/admin/files.vue index 394f5467b..aafc26f08 100644 --- a/packages/client/src/pages/admin/files.vue +++ b/packages/client/src/pages/admin/files.vue @@ -81,7 +81,7 @@ - - diff --git a/packages/client/vite.config.ts b/packages/client/vite.config.ts index bc00bd628..752010f36 100644 --- a/packages/client/vite.config.ts +++ b/packages/client/vite.config.ts @@ -90,7 +90,7 @@ export default defineConfig(({ command, mode }) => { sourcemap: process.env.NODE_ENV === "development" || process.env.VUE_ENV === "development", reportCompressedSize: false, commonjsOptions: { - include: [/iceshrimp-js/, /node_modules/], + include: [/iceshrimp-sdk/, /node_modules/], }, }, optimizeDeps: { diff --git a/packages/iceshrimp-js/README.md b/packages/iceshrimp-js/README.md deleted file mode 100644 index b944f4196..000000000 --- a/packages/iceshrimp-js/README.md +++ /dev/null @@ -1,9 +0,0 @@ -# iceshrimp.js - -Fork of Misskey.js for Iceshrimp - -https://www.npmjs.com/package/iceshrimp-js - -To fully build, run `pnpm i && pnpm run render`. - -![Parody of the Javascript logo with "CK" instead of "JS"](https://codeberg.org/repo-avatars/80771-4d86135f67b9a460cdd1be9e91648e5f) diff --git a/packages/iceshrimp-js/etc/iceshrimp-js.api.json b/packages/iceshrimp-js/etc/iceshrimp-js.api.json deleted file mode 100644 index 4dceae0d8..000000000 --- a/packages/iceshrimp-js/etc/iceshrimp-js.api.json +++ /dev/null @@ -1,9814 +0,0 @@ -{ - "metadata": { - "toolPackage": "@microsoft/api-extractor", - "toolVersion": "7.36.0", - "schemaVersion": 1011, - "oldestForwardsCompatibleVersion": 1001, - "tsdocConfig": { - "$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json", - "noStandardTags": true, - "tagDefinitions": [ - { - "tagName": "@alpha", - "syntaxKind": "modifier" - }, - { - "tagName": "@beta", - "syntaxKind": "modifier" - }, - { - "tagName": "@defaultValue", - "syntaxKind": "block" - }, - { - "tagName": "@decorator", - "syntaxKind": "block", - "allowMultiple": true - }, - { - "tagName": "@deprecated", - "syntaxKind": "block" - }, - { - "tagName": "@eventProperty", - "syntaxKind": "modifier" - }, - { - "tagName": "@example", - "syntaxKind": "block", - "allowMultiple": true - }, - { - "tagName": "@experimental", - "syntaxKind": "modifier" - }, - { - "tagName": "@inheritDoc", - "syntaxKind": "inline" - }, - { - "tagName": "@internal", - "syntaxKind": "modifier" - }, - { - "tagName": "@label", - "syntaxKind": "inline" - }, - { - "tagName": "@link", - "syntaxKind": "inline", - "allowMultiple": true - }, - { - "tagName": "@override", - "syntaxKind": "modifier" - }, - { - "tagName": "@packageDocumentation", - "syntaxKind": "modifier" - }, - { - "tagName": "@param", - "syntaxKind": "block", - "allowMultiple": true - }, - { - "tagName": "@privateRemarks", - "syntaxKind": "block" - }, - { - "tagName": "@public", - "syntaxKind": "modifier" - }, - { - "tagName": "@readonly", - "syntaxKind": "modifier" - }, - { - "tagName": "@remarks", - "syntaxKind": "block" - }, - { - "tagName": "@returns", - "syntaxKind": "block" - }, - { - "tagName": "@sealed", - "syntaxKind": "modifier" - }, - { - "tagName": "@see", - "syntaxKind": "block" - }, - { - "tagName": "@throws", - "syntaxKind": "block", - "allowMultiple": true - }, - { - "tagName": "@typeParam", - "syntaxKind": "block", - "allowMultiple": true - }, - { - "tagName": "@virtual", - "syntaxKind": "modifier" - }, - { - "tagName": "@betaDocumentation", - "syntaxKind": "modifier" - }, - { - "tagName": "@internalRemarks", - "syntaxKind": "block" - }, - { - "tagName": "@preapproved", - "syntaxKind": "modifier" - } - ], - "supportForTags": { - "@alpha": true, - "@beta": true, - "@defaultValue": true, - "@decorator": true, - "@deprecated": true, - "@eventProperty": true, - "@example": true, - "@experimental": true, - "@inheritDoc": true, - "@internal": true, - "@label": true, - "@link": true, - "@override": true, - "@packageDocumentation": true, - "@param": true, - "@privateRemarks": true, - "@public": true, - "@readonly": true, - "@remarks": true, - "@returns": true, - "@sealed": true, - "@see": true, - "@throws": true, - "@typeParam": true, - "@virtual": true, - "@betaDocumentation": true, - "@internalRemarks": true, - "@preapproved": true - }, - "reportUnsupportedHtmlElements": false - } - }, - "kind": "Package", - "canonicalReference": "iceshrimp-js!", - "docComment": "", - "name": "iceshrimp-js", - "preserveMemberOrder": false, - "members": [ - { - "kind": "EntryPoint", - "canonicalReference": "iceshrimp-js!", - "name": "", - "preserveMemberOrder": false, - "members": [ - { - "kind": "TypeAlias", - "canonicalReference": "iceshrimp-js!Acct:type", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "export declare type Acct = " - }, - { - "kind": "Content", - "text": "{\n\tusername: string;\n\thost: string | null;\n}" - }, - { - "kind": "Content", - "text": ";" - } - ], - "fileUrlPath": "src/acct.ts", - "releaseTag": "Public", - "name": "Acct", - "typeTokenRange": { - "startIndex": 1, - "endIndex": 2 - } - }, - { - "kind": "Namespace", - "canonicalReference": "iceshrimp-js!api:namespace", - "docComment": "", - "excerptTokens": [], - "fileUrlPath": "src/index.ts", - "releaseTag": "None", - "name": "api", - "preserveMemberOrder": false, - "members": [ - { - "kind": "Class", - "canonicalReference": "iceshrimp-js!api.APIClient:class", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "export declare class APIClient " - } - ], - "fileUrlPath": "src/api.ts", - "releaseTag": "Public", - "isAbstract": false, - "name": "APIClient", - "preserveMemberOrder": false, - "members": [ - { - "kind": "Constructor", - "canonicalReference": "iceshrimp-js!api.APIClient:constructor(1)", - "docComment": "/**\n * Constructs a new instance of the `APIClient` class\n */\n", - "excerptTokens": [ - { - "kind": "Content", - "text": "constructor(opts: " - }, - { - "kind": "Content", - "text": "{\n\t\torigin: " - }, - { - "kind": "Reference", - "text": "APIClient", - "canonicalReference": "iceshrimp-js!api.APIClient:class" - }, - { - "kind": "Content", - "text": "[\"origin\"];\n\t\tcredential?: " - }, - { - "kind": "Reference", - "text": "APIClient", - "canonicalReference": "iceshrimp-js!api.APIClient:class" - }, - { - "kind": "Content", - "text": "[\"credential\"];\n\t\tfetch?: " - }, - { - "kind": "Reference", - "text": "APIClient", - "canonicalReference": "iceshrimp-js!api.APIClient:class" - }, - { - "kind": "Content", - "text": "[\"fetch\"] | null | undefined;\n\t}" - }, - { - "kind": "Content", - "text": ");" - } - ], - "releaseTag": "Public", - "isProtected": false, - "overloadIndex": 1, - "parameters": [ - { - "parameterName": "opts", - "parameterTypeTokenRange": { - "startIndex": 1, - "endIndex": 8 - }, - "isOptional": false - } - ] - }, - { - "kind": "Property", - "canonicalReference": "iceshrimp-js!api.APIClient#credential:member", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "credential: " - }, - { - "kind": "Content", - "text": "string | null | undefined" - }, - { - "kind": "Content", - "text": ";" - } - ], - "isReadonly": false, - "isOptional": false, - "releaseTag": "Public", - "name": "credential", - "propertyTypeTokenRange": { - "startIndex": 1, - "endIndex": 2 - }, - "isStatic": false, - "isProtected": false, - "isAbstract": false - }, - { - "kind": "Property", - "canonicalReference": "iceshrimp-js!api.APIClient#fetch:member", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "fetch: " - }, - { - "kind": "Reference", - "text": "FetchLike", - "canonicalReference": "iceshrimp-js!api.FetchLike:type" - }, - { - "kind": "Content", - "text": ";" - } - ], - "isReadonly": false, - "isOptional": false, - "releaseTag": "Public", - "name": "fetch", - "propertyTypeTokenRange": { - "startIndex": 1, - "endIndex": 2 - }, - "isStatic": false, - "isProtected": false, - "isAbstract": false - }, - { - "kind": "Property", - "canonicalReference": "iceshrimp-js!api.APIClient#origin:member", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "origin: " - }, - { - "kind": "Content", - "text": "string" - }, - { - "kind": "Content", - "text": ";" - } - ], - "isReadonly": false, - "isOptional": false, - "releaseTag": "Public", - "name": "origin", - "propertyTypeTokenRange": { - "startIndex": 1, - "endIndex": 2 - }, - "isStatic": false, - "isProtected": false, - "isAbstract": false - }, - { - "kind": "Method", - "canonicalReference": "iceshrimp-js!api.APIClient#request:member(1)", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "request(\n\t\tendpoint: " - }, - { - "kind": "Content", - "text": "E" - }, - { - "kind": "Content", - "text": ",\n\t\tparams?: " - }, - { - "kind": "Content", - "text": "P" - }, - { - "kind": "Content", - "text": ",\n\t\tcredential?: " - }, - { - "kind": "Content", - "text": "string | null | undefined" - }, - { - "kind": "Content", - "text": ",\n\t): " - }, - { - "kind": "Reference", - "text": "Promise", - "canonicalReference": "!Promise:interface" - }, - { - "kind": "Content", - "text": "<\n\t\t" - }, - { - "kind": "Reference", - "text": "Endpoints", - "canonicalReference": "iceshrimp-js!Endpoints:type" - }, - { - "kind": "Content", - "text": "[E][\"res\"] extends {\n\t\t\t$switch: {\n\t\t\t\t$cases: [any, any][];\n\t\t\t\t$default: any;\n\t\t\t};\n\t\t}\n\t\t\t? " - }, - { - "kind": "Reference", - "text": "IsCaseMatched", - "canonicalReference": "iceshrimp-js!~IsCaseMatched:type" - }, - { - "kind": "Content", - "text": " extends true\n\t\t\t\t? " - }, - { - "kind": "Reference", - "text": "GetCaseResult", - "canonicalReference": "iceshrimp-js!~GetCaseResult:type" - }, - { - "kind": "Content", - "text": "\n\t\t\t\t: " - }, - { - "kind": "Reference", - "text": "IsCaseMatched", - "canonicalReference": "iceshrimp-js!~IsCaseMatched:type" - }, - { - "kind": "Content", - "text": " extends true\n\t\t\t\t? " - }, - { - "kind": "Reference", - "text": "GetCaseResult", - "canonicalReference": "iceshrimp-js!~GetCaseResult:type" - }, - { - "kind": "Content", - "text": "\n\t\t\t\t: " - }, - { - "kind": "Reference", - "text": "IsCaseMatched", - "canonicalReference": "iceshrimp-js!~IsCaseMatched:type" - }, - { - "kind": "Content", - "text": " extends true\n\t\t\t\t? " - }, - { - "kind": "Reference", - "text": "GetCaseResult", - "canonicalReference": "iceshrimp-js!~GetCaseResult:type" - }, - { - "kind": "Content", - "text": "\n\t\t\t\t: " - }, - { - "kind": "Reference", - "text": "IsCaseMatched", - "canonicalReference": "iceshrimp-js!~IsCaseMatched:type" - }, - { - "kind": "Content", - "text": " extends true\n\t\t\t\t? " - }, - { - "kind": "Reference", - "text": "GetCaseResult", - "canonicalReference": "iceshrimp-js!~GetCaseResult:type" - }, - { - "kind": "Content", - "text": "\n\t\t\t\t: " - }, - { - "kind": "Reference", - "text": "IsCaseMatched", - "canonicalReference": "iceshrimp-js!~IsCaseMatched:type" - }, - { - "kind": "Content", - "text": " extends true\n\t\t\t\t? " - }, - { - "kind": "Reference", - "text": "GetCaseResult", - "canonicalReference": "iceshrimp-js!~GetCaseResult:type" - }, - { - "kind": "Content", - "text": "\n\t\t\t\t: " - }, - { - "kind": "Reference", - "text": "IsCaseMatched", - "canonicalReference": "iceshrimp-js!~IsCaseMatched:type" - }, - { - "kind": "Content", - "text": " extends true\n\t\t\t\t? " - }, - { - "kind": "Reference", - "text": "GetCaseResult", - "canonicalReference": "iceshrimp-js!~GetCaseResult:type" - }, - { - "kind": "Content", - "text": "\n\t\t\t\t: " - }, - { - "kind": "Reference", - "text": "IsCaseMatched", - "canonicalReference": "iceshrimp-js!~IsCaseMatched:type" - }, - { - "kind": "Content", - "text": " extends true\n\t\t\t\t? " - }, - { - "kind": "Reference", - "text": "GetCaseResult", - "canonicalReference": "iceshrimp-js!~GetCaseResult:type" - }, - { - "kind": "Content", - "text": "\n\t\t\t\t: " - }, - { - "kind": "Reference", - "text": "IsCaseMatched", - "canonicalReference": "iceshrimp-js!~IsCaseMatched:type" - }, - { - "kind": "Content", - "text": " extends true\n\t\t\t\t? " - }, - { - "kind": "Reference", - "text": "GetCaseResult", - "canonicalReference": "iceshrimp-js!~GetCaseResult:type" - }, - { - "kind": "Content", - "text": "\n\t\t\t\t: " - }, - { - "kind": "Reference", - "text": "IsCaseMatched", - "canonicalReference": "iceshrimp-js!~IsCaseMatched:type" - }, - { - "kind": "Content", - "text": " extends true\n\t\t\t\t? " - }, - { - "kind": "Reference", - "text": "GetCaseResult", - "canonicalReference": "iceshrimp-js!~GetCaseResult:type" - }, - { - "kind": "Content", - "text": "\n\t\t\t\t: " - }, - { - "kind": "Reference", - "text": "IsCaseMatched", - "canonicalReference": "iceshrimp-js!~IsCaseMatched:type" - }, - { - "kind": "Content", - "text": " extends true\n\t\t\t\t? " - }, - { - "kind": "Reference", - "text": "GetCaseResult", - "canonicalReference": "iceshrimp-js!~GetCaseResult:type" - }, - { - "kind": "Content", - "text": "\n\t\t\t\t: " - }, - { - "kind": "Reference", - "text": "Endpoints", - "canonicalReference": "iceshrimp-js!Endpoints:type" - }, - { - "kind": "Content", - "text": "[E][\"res\"][\"$switch\"][\"$default\"]\n\t\t\t: " - }, - { - "kind": "Reference", - "text": "Endpoints", - "canonicalReference": "iceshrimp-js!Endpoints:type" - }, - { - "kind": "Content", - "text": "[E][\"res\"]\n\t>" - }, - { - "kind": "Content", - "text": ";" - } - ], - "typeParameters": [ - { - "typeParameterName": "E", - "constraintTokenRange": { - "startIndex": 1, - "endIndex": 3 - }, - "defaultTypeTokenRange": { - "startIndex": 0, - "endIndex": 0 - } - }, - { - "typeParameterName": "P", - "constraintTokenRange": { - "startIndex": 4, - "endIndex": 6 - }, - "defaultTypeTokenRange": { - "startIndex": 0, - "endIndex": 0 - } - } - ], - "isStatic": false, - "returnTypeTokenRange": { - "startIndex": 13, - "endIndex": 61 - }, - "releaseTag": "Public", - "isProtected": false, - "overloadIndex": 1, - "parameters": [ - { - "parameterName": "endpoint", - "parameterTypeTokenRange": { - "startIndex": 7, - "endIndex": 8 - }, - "isOptional": false - }, - { - "parameterName": "params", - "parameterTypeTokenRange": { - "startIndex": 9, - "endIndex": 10 - }, - "isOptional": true - }, - { - "parameterName": "credential", - "parameterTypeTokenRange": { - "startIndex": 11, - "endIndex": 12 - }, - "isOptional": true - } - ], - "isOptional": false, - "isAbstract": false, - "name": "request" - } - ], - "implementsTokenRanges": [] - }, - { - "kind": "TypeAlias", - "canonicalReference": "iceshrimp-js!api.APIError:type", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "export declare type APIError = " - }, - { - "kind": "Content", - "text": "{\n\tid: string;\n\tcode: string;\n\tmessage: string;\n\tkind: \"client\" | \"server\";\n\tinfo: " - }, - { - "kind": "Reference", - "text": "Record", - "canonicalReference": "!Record:type" - }, - { - "kind": "Content", - "text": ";\n}" - }, - { - "kind": "Content", - "text": ";" - } - ], - "fileUrlPath": "src/api.ts", - "releaseTag": "Public", - "name": "APIError", - "typeTokenRange": { - "startIndex": 1, - "endIndex": 4 - } - }, - { - "kind": "TypeAlias", - "canonicalReference": "iceshrimp-js!api.FetchLike:type", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "export declare type FetchLike = " - }, - { - "kind": "Content", - "text": "(\n\tinput: string,\n\tinit?: {\n\t\tmethod?: string;\n\t\tbody?: string;\n\t\tcredentials?: " - }, - { - "kind": "Reference", - "text": "RequestCredentials", - "canonicalReference": "!RequestCredentials:type" - }, - { - "kind": "Content", - "text": ";\n\t\tcache?: " - }, - { - "kind": "Reference", - "text": "RequestCache", - "canonicalReference": "!RequestCache:type" - }, - { - "kind": "Content", - "text": ";\n\t},\n) => " - }, - { - "kind": "Reference", - "text": "Promise", - "canonicalReference": "!Promise:interface" - }, - { - "kind": "Content", - "text": "<{\n\tstatus: number;\n\tjson(): " - }, - { - "kind": "Reference", - "text": "Promise", - "canonicalReference": "!Promise:interface" - }, - { - "kind": "Content", - "text": ";\n}>" - }, - { - "kind": "Content", - "text": ";" - } - ], - "fileUrlPath": "src/api.ts", - "releaseTag": "Public", - "name": "FetchLike", - "typeTokenRange": { - "startIndex": 1, - "endIndex": 10 - } - }, - { - "kind": "Function", - "canonicalReference": "iceshrimp-js!api.isAPIError:function(1)", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "export declare function isAPIError(reason: " - }, - { - "kind": "Content", - "text": "any" - }, - { - "kind": "Content", - "text": "): " - }, - { - "kind": "Reference", - "text": "reason", - "canonicalReference": "iceshrimp-js!~reason" - }, - { - "kind": "Content", - "text": " is " - }, - { - "kind": "Reference", - "text": "APIError", - "canonicalReference": "iceshrimp-js!api.APIError:type" - }, - { - "kind": "Content", - "text": ";" - } - ], - "fileUrlPath": "src/api.ts", - "returnTypeTokenRange": { - "startIndex": 3, - "endIndex": 6 - }, - "releaseTag": "Public", - "overloadIndex": 1, - "parameters": [ - { - "parameterName": "reason", - "parameterTypeTokenRange": { - "startIndex": 1, - "endIndex": 2 - }, - "isOptional": false - } - ], - "name": "isAPIError" - } - ] - }, - { - "kind": "Class", - "canonicalReference": "iceshrimp-js!ChannelConnection:class", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "export declare abstract class Connection<\n\tChannel extends " - }, - { - "kind": "Reference", - "text": "AnyOf", - "canonicalReference": "iceshrimp-js!~AnyOf:type" - }, - { - "kind": "Content", - "text": "<" - }, - { - "kind": "Reference", - "text": "Channels", - "canonicalReference": "iceshrimp-js!Channels:type" - }, - { - "kind": "Content", - "text": ">" - }, - { - "kind": "Content", - "text": " = " - }, - { - "kind": "Content", - "text": "any" - }, - { - "kind": "Content", - "text": ",\n> extends " - }, - { - "kind": "Reference", - "text": "EventEmitter", - "canonicalReference": "eventemitter3!EventEmitter.EventEmitter" - }, - { - "kind": "Content", - "text": "" - }, - { - "kind": "Content", - "text": " " - } - ], - "fileUrlPath": "src/streaming.ts", - "releaseTag": "Public", - "typeParameters": [ - { - "typeParameterName": "Channel", - "constraintTokenRange": { - "startIndex": 1, - "endIndex": 5 - }, - "defaultTypeTokenRange": { - "startIndex": 6, - "endIndex": 7 - } - } - ], - "isAbstract": true, - "name": "ChannelConnection", - "preserveMemberOrder": false, - "members": [ - { - "kind": "Constructor", - "canonicalReference": "iceshrimp-js!ChannelConnection:constructor(1)", - "docComment": "/**\n * Constructs a new instance of the `Connection` class\n */\n", - "excerptTokens": [ - { - "kind": "Content", - "text": "constructor(stream: " - }, - { - "kind": "Reference", - "text": "Stream", - "canonicalReference": "iceshrimp-js!Stream:class" - }, - { - "kind": "Content", - "text": ", channel: " - }, - { - "kind": "Content", - "text": "string" - }, - { - "kind": "Content", - "text": ", name?: " - }, - { - "kind": "Content", - "text": "string" - }, - { - "kind": "Content", - "text": ");" - } - ], - "releaseTag": "Public", - "isProtected": false, - "overloadIndex": 1, - "parameters": [ - { - "parameterName": "stream", - "parameterTypeTokenRange": { - "startIndex": 1, - "endIndex": 2 - }, - "isOptional": false - }, - { - "parameterName": "channel", - "parameterTypeTokenRange": { - "startIndex": 3, - "endIndex": 4 - }, - "isOptional": false - }, - { - "parameterName": "name", - "parameterTypeTokenRange": { - "startIndex": 5, - "endIndex": 6 - }, - "isOptional": true - } - ] - }, - { - "kind": "Property", - "canonicalReference": "iceshrimp-js!ChannelConnection#channel:member", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "channel: " - }, - { - "kind": "Content", - "text": "string" - }, - { - "kind": "Content", - "text": ";" - } - ], - "isReadonly": false, - "isOptional": false, - "releaseTag": "Public", - "name": "channel", - "propertyTypeTokenRange": { - "startIndex": 1, - "endIndex": 2 - }, - "isStatic": false, - "isProtected": false, - "isAbstract": false - }, - { - "kind": "Method", - "canonicalReference": "iceshrimp-js!ChannelConnection#dispose:member(1)", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "abstract dispose(): " - }, - { - "kind": "Content", - "text": "void" - }, - { - "kind": "Content", - "text": ";" - } - ], - "isStatic": false, - "returnTypeTokenRange": { - "startIndex": 1, - "endIndex": 2 - }, - "releaseTag": "Public", - "isProtected": false, - "overloadIndex": 1, - "parameters": [], - "isOptional": false, - "isAbstract": true, - "name": "dispose" - }, - { - "kind": "Property", - "canonicalReference": "iceshrimp-js!ChannelConnection#id:member", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "abstract id: " - }, - { - "kind": "Content", - "text": "string" - }, - { - "kind": "Content", - "text": ";" - } - ], - "isReadonly": false, - "isOptional": false, - "releaseTag": "Public", - "name": "id", - "propertyTypeTokenRange": { - "startIndex": 1, - "endIndex": 2 - }, - "isStatic": false, - "isProtected": false, - "isAbstract": true - }, - { - "kind": "Property", - "canonicalReference": "iceshrimp-js!ChannelConnection#inCount:member", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "inCount: " - }, - { - "kind": "Content", - "text": "number" - }, - { - "kind": "Content", - "text": ";" - } - ], - "isReadonly": false, - "isOptional": false, - "releaseTag": "Public", - "name": "inCount", - "propertyTypeTokenRange": { - "startIndex": 1, - "endIndex": 2 - }, - "isStatic": false, - "isProtected": false, - "isAbstract": false - }, - { - "kind": "Property", - "canonicalReference": "iceshrimp-js!ChannelConnection#name:member", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "name?: " - }, - { - "kind": "Content", - "text": "string" - }, - { - "kind": "Content", - "text": ";" - } - ], - "isReadonly": false, - "isOptional": true, - "releaseTag": "Public", - "name": "name", - "propertyTypeTokenRange": { - "startIndex": 1, - "endIndex": 2 - }, - "isStatic": false, - "isProtected": false, - "isAbstract": false - }, - { - "kind": "Property", - "canonicalReference": "iceshrimp-js!ChannelConnection#outCount:member", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "outCount: " - }, - { - "kind": "Content", - "text": "number" - }, - { - "kind": "Content", - "text": ";" - } - ], - "isReadonly": false, - "isOptional": false, - "releaseTag": "Public", - "name": "outCount", - "propertyTypeTokenRange": { - "startIndex": 1, - "endIndex": 2 - }, - "isStatic": false, - "isProtected": false, - "isAbstract": false - }, - { - "kind": "Method", - "canonicalReference": "iceshrimp-js!ChannelConnection#send:member(1)", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "send(\n\t\ttype: " - }, - { - "kind": "Content", - "text": "T" - }, - { - "kind": "Content", - "text": ",\n\t\tbody: " - }, - { - "kind": "Content", - "text": "Channel[\"receives\"][T]" - }, - { - "kind": "Content", - "text": ",\n\t): " - }, - { - "kind": "Content", - "text": "void" - }, - { - "kind": "Content", - "text": ";" - } - ], - "typeParameters": [ - { - "typeParameterName": "T", - "constraintTokenRange": { - "startIndex": 1, - "endIndex": 2 - }, - "defaultTypeTokenRange": { - "startIndex": 0, - "endIndex": 0 - } - } - ], - "isStatic": false, - "returnTypeTokenRange": { - "startIndex": 7, - "endIndex": 8 - }, - "releaseTag": "Public", - "isProtected": false, - "overloadIndex": 1, - "parameters": [ - { - "parameterName": "type", - "parameterTypeTokenRange": { - "startIndex": 3, - "endIndex": 4 - }, - "isOptional": false - }, - { - "parameterName": "body", - "parameterTypeTokenRange": { - "startIndex": 5, - "endIndex": 6 - }, - "isOptional": false - } - ], - "isOptional": false, - "isAbstract": false, - "name": "send" - }, - { - "kind": "Property", - "canonicalReference": "iceshrimp-js!ChannelConnection#stream:member", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "protected stream: " - }, - { - "kind": "Reference", - "text": "Stream", - "canonicalReference": "iceshrimp-js!Stream:class" - }, - { - "kind": "Content", - "text": ";" - } - ], - "isReadonly": false, - "isOptional": false, - "releaseTag": "Public", - "name": "stream", - "propertyTypeTokenRange": { - "startIndex": 1, - "endIndex": 2 - }, - "isStatic": false, - "isProtected": true, - "isAbstract": false - } - ], - "extendsTokenRange": { - "startIndex": 8, - "endIndex": 10 - }, - "implementsTokenRanges": [] - }, - { - "kind": "TypeAlias", - "canonicalReference": "iceshrimp-js!Channels:type", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "export declare type Channels = " - }, - { - "kind": "Content", - "text": "{\n\tmain: {\n\t\tparams: null;\n\t\tevents: {\n\t\t\tnotification: (payload: " - }, - { - "kind": "Reference", - "text": "Notification", - "canonicalReference": "iceshrimp-js!entities.Notification_2:type" - }, - { - "kind": "Content", - "text": ") => void;\n\t\t\tmention: (payload: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": ") => void;\n\t\t\treply: (payload: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": ") => void;\n\t\t\trenote: (payload: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": ") => void;\n\t\t\tfollow: (payload: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": ") => void;\n\t\t\tfollowed: (payload: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": ") => void;\n\t\t\tunfollow: (payload: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": ") => void;\n\t\t\tmeUpdated: (payload: " - }, - { - "kind": "Reference", - "text": "MeDetailed", - "canonicalReference": "iceshrimp-js!entities.MeDetailed:type" - }, - { - "kind": "Content", - "text": ") => void;\n\t\t\tpageEvent: (payload: " - }, - { - "kind": "Reference", - "text": "PageEvent", - "canonicalReference": "iceshrimp-js!entities.PageEvent:type" - }, - { - "kind": "Content", - "text": ") => void;\n\t\t\turlUploadFinished: (payload: {\n\t\t\t\tmarker: string;\n\t\t\t\tfile: " - }, - { - "kind": "Reference", - "text": "DriveFile", - "canonicalReference": "iceshrimp-js!entities.DriveFile:type" - }, - { - "kind": "Content", - "text": ";\n\t\t\t}) => void;\n\t\t\treadAllNotifications: () => void;\n\t\t\tunreadNotification: (payload: " - }, - { - "kind": "Reference", - "text": "Notification", - "canonicalReference": "iceshrimp-js!entities.Notification_2:type" - }, - { - "kind": "Content", - "text": ") => void;\n\t\t\tunreadMention: (payload: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[\"id\"]) => void;\n\t\t\treadAllUnreadMentions: () => void;\n\t\t\tunreadSpecifiedNote: (payload: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[\"id\"]) => void;\n\t\t\treadAllUnreadSpecifiedNotes: () => void;\n\t\t\treadAllMessagingMessages: () => void;\n\t\t\tmessagingMessage: (payload: " - }, - { - "kind": "Reference", - "text": "MessagingMessage", - "canonicalReference": "iceshrimp-js!entities.MessagingMessage:type" - }, - { - "kind": "Content", - "text": ") => void;\n\t\t\tunreadMessagingMessage: (payload: " - }, - { - "kind": "Reference", - "text": "MessagingMessage", - "canonicalReference": "iceshrimp-js!entities.MessagingMessage:type" - }, - { - "kind": "Content", - "text": ") => void;\n\t\t\treadAllAntennas: () => void;\n\t\t\tunreadAntenna: (payload: " - }, - { - "kind": "Reference", - "text": "Antenna", - "canonicalReference": "iceshrimp-js!entities.Antenna:type" - }, - { - "kind": "Content", - "text": ") => void;\n\t\t\treadAllAnnouncements: () => void;\n\t\t\treadAllChannels: () => void;\n\t\t\tunreadChannel: (payload: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[\"id\"]) => void;\n\t\t\tmyTokenRegenerated: () => void;\n\t\t\treversiNoInvites: () => void;\n\t\t\treversiInvited: (payload: " - }, - { - "kind": "Reference", - "text": "FIXME", - "canonicalReference": "iceshrimp-js!~FIXME:type" - }, - { - "kind": "Content", - "text": ") => void;\n\t\t\tsignin: (payload: " - }, - { - "kind": "Reference", - "text": "FIXME", - "canonicalReference": "iceshrimp-js!~FIXME:type" - }, - { - "kind": "Content", - "text": ") => void;\n\t\t\tregistryUpdated: (payload: {\n\t\t\t\tscope?: string[];\n\t\t\t\tkey: string;\n\t\t\t\tvalue: any | null;\n\t\t\t}) => void;\n\t\t\tdriveFileCreated: (payload: " - }, - { - "kind": "Reference", - "text": "DriveFile", - "canonicalReference": "iceshrimp-js!entities.DriveFile:type" - }, - { - "kind": "Content", - "text": ") => void;\n\t\t\treadAntenna: (payload: " - }, - { - "kind": "Reference", - "text": "Antenna", - "canonicalReference": "iceshrimp-js!entities.Antenna:type" - }, - { - "kind": "Content", - "text": ") => void;\n\t\t};\n\t\treceives: null;\n\t};\n\thomeTimeline: {\n\t\tparams: null;\n\t\tevents: {\n\t\t\tnote: (payload: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": ") => void;\n\t\t};\n\t\treceives: null;\n\t};\n\tlocalTimeline: {\n\t\tparams: null;\n\t\tevents: {\n\t\t\tnote: (payload: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": ") => void;\n\t\t};\n\t\treceives: null;\n\t};\n\thybridTimeline: {\n\t\tparams: null;\n\t\tevents: {\n\t\t\tnote: (payload: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": ") => void;\n\t\t};\n\t\treceives: null;\n\t};\n\trecommendedTimeline: {\n\t\tparams: null;\n\t\tevents: {\n\t\t\tnote: (payload: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": ") => void;\n\t\t};\n\t\treceives: null;\n\t};\n\tglobalTimeline: {\n\t\tparams: null;\n\t\tevents: {\n\t\t\tnote: (payload: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": ") => void;\n\t\t};\n\t\treceives: null;\n\t};\n\tantenna: {\n\t\tparams: {\n\t\t\tantennaId: " - }, - { - "kind": "Reference", - "text": "Antenna", - "canonicalReference": "iceshrimp-js!entities.Antenna:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tevents: {\n\t\t\tnote: (payload: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": ") => void;\n\t\t};\n\t\treceives: null;\n\t};\n\tmessaging: {\n\t\tparams: {\n\t\t\totherparty?: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": "[\"id\"] | null;\n\t\t\tgroup?: " - }, - { - "kind": "Reference", - "text": "UserGroup", - "canonicalReference": "iceshrimp-js!entities.UserGroup:type" - }, - { - "kind": "Content", - "text": "[\"id\"] | null;\n\t\t};\n\t\tevents: {\n\t\t\tmessage: (payload: " - }, - { - "kind": "Reference", - "text": "MessagingMessage", - "canonicalReference": "iceshrimp-js!entities.MessagingMessage:type" - }, - { - "kind": "Content", - "text": ") => void;\n\t\t\tdeleted: (payload: " - }, - { - "kind": "Reference", - "text": "MessagingMessage", - "canonicalReference": "iceshrimp-js!entities.MessagingMessage:type" - }, - { - "kind": "Content", - "text": "[\"id\"]) => void;\n\t\t\tread: (payload: " - }, - { - "kind": "Reference", - "text": "MessagingMessage", - "canonicalReference": "iceshrimp-js!entities.MessagingMessage:type" - }, - { - "kind": "Content", - "text": "[\"id\"][]) => void;\n\t\t\ttypers: (payload: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": "[]) => void;\n\t\t};\n\t\treceives: {\n\t\t\tread: {\n\t\t\t\tid: " - }, - { - "kind": "Reference", - "text": "MessagingMessage", - "canonicalReference": "iceshrimp-js!entities.MessagingMessage:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\t};\n\t\t};\n\t};\n\tserverStats: {\n\t\tparams: null;\n\t\tevents: {\n\t\t\tstats: (payload: " - }, - { - "kind": "Reference", - "text": "FIXME", - "canonicalReference": "iceshrimp-js!~FIXME:type" - }, - { - "kind": "Content", - "text": ") => void;\n\t\t};\n\t\treceives: {\n\t\t\trequestLog: {\n\t\t\t\tid: string | number;\n\t\t\t\tlength: number;\n\t\t\t};\n\t\t};\n\t};\n\tqueueStats: {\n\t\tparams: null;\n\t\tevents: {\n\t\t\tstats: (payload: " - }, - { - "kind": "Reference", - "text": "FIXME", - "canonicalReference": "iceshrimp-js!~FIXME:type" - }, - { - "kind": "Content", - "text": ") => void;\n\t\t};\n\t\treceives: {\n\t\t\trequestLog: {\n\t\t\t\tid: string | number;\n\t\t\t\tlength: number;\n\t\t\t};\n\t\t};\n\t};\n}" - }, - { - "kind": "Content", - "text": ";" - } - ], - "fileUrlPath": "src/streaming.types.ts", - "releaseTag": "Public", - "name": "Channels", - "typeTokenRange": { - "startIndex": 1, - "endIndex": 76 - } - }, - { - "kind": "TypeAlias", - "canonicalReference": "iceshrimp-js!Endpoints:type", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "export declare type Endpoints = " - }, - { - "kind": "Content", - "text": "{\n\t\"admin/abuse-user-reports\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"admin/delete-all-files-of-a-user\": {\n\t\treq: {\n\t\t\tuserId: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: null;\n\t};\n\t\"admin/delete-logs\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "NoParams", - "canonicalReference": "iceshrimp-js!~NoParams:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: null;\n\t};\n\t\"admin/get-index-stats\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"admin/get-table-stats\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"admin/invite\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"admin/logs\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"admin/meta\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"admin/reset-password\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"admin/resolve-abuse-user-report\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"admin/resync-chart\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"admin/send-email\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"admin/server-info\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"admin/show-moderation-logs\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"admin/show-user\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"admin/show-users\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"admin/silence-user\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"admin/suspend-user\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"admin/unsilence-user\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"admin/unsuspend-user\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"admin/update-meta\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"admin/vacuum\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"admin/accounts/create\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"admin/ad/create\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"admin/ad/delete\": {\n\t\treq: {\n\t\t\tid: " - }, - { - "kind": "Reference", - "text": "Ad", - "canonicalReference": "iceshrimp-js!entities.Ad:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: null;\n\t};\n\t\"admin/ad/list\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"admin/ad/update\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"admin/announcements/create\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"admin/announcements/delete\": {\n\t\treq: {\n\t\t\tid: " - }, - { - "kind": "Reference", - "text": "Announcement", - "canonicalReference": "iceshrimp-js!entities.Announcement:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: null;\n\t};\n\t\"admin/announcements/list\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"admin/announcements/update\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"admin/drive/clean-remote-files\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"admin/drive/cleanup\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"admin/drive/files\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"admin/drive/show-file\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"admin/emoji/add\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"admin/emoji/copy\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"admin/emoji/list-remote\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"admin/emoji/list\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"admin/emoji/remove\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"admin/emoji/update\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"admin/federation/delete-all-files\": {\n\t\treq: {\n\t\t\thost: string;\n\t\t};\n\t\tres: null;\n\t};\n\t\"admin/federation/refresh-remote-instance-metadata\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"admin/federation/remove-all-following\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"admin/federation/update-instance\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"admin/moderators/add\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"admin/moderators/remove\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"admin/promo/create\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"admin/queue/clear\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"admin/queue/deliver-delayed\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"admin/queue/inbox-delayed\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"admin/queue/jobs\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"admin/queue/stats\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"admin/relays/add\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"admin/relays/list\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"admin/relays/remove\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\tannouncements: {\n\t\treq: {\n\t\t\tlimit?: number;\n\t\t\twithUnreads?: boolean;\n\t\t\tsinceId?: " - }, - { - "kind": "Reference", - "text": "Announcement", - "canonicalReference": "iceshrimp-js!entities.Announcement:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tuntilId?: " - }, - { - "kind": "Reference", - "text": "Announcement", - "canonicalReference": "iceshrimp-js!entities.Announcement:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "Announcement", - "canonicalReference": "iceshrimp-js!entities.Announcement:type" - }, - { - "kind": "Content", - "text": "[];\n\t};\n\t\"antennas/create\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "Antenna", - "canonicalReference": "iceshrimp-js!entities.Antenna:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"antennas/delete\": {\n\t\treq: {\n\t\t\tantennaId: " - }, - { - "kind": "Reference", - "text": "Antenna", - "canonicalReference": "iceshrimp-js!entities.Antenna:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: null;\n\t};\n\t\"antennas/list\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "NoParams", - "canonicalReference": "iceshrimp-js!~NoParams:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "Antenna", - "canonicalReference": "iceshrimp-js!entities.Antenna:type" - }, - { - "kind": "Content", - "text": "[];\n\t};\n\t\"antennas/notes\": {\n\t\treq: {\n\t\t\tantennaId: " - }, - { - "kind": "Reference", - "text": "Antenna", - "canonicalReference": "iceshrimp-js!entities.Antenna:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tlimit?: number;\n\t\t\tsinceId?: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tuntilId?: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[];\n\t};\n\t\"antennas/show\": {\n\t\treq: {\n\t\t\tantennaId: " - }, - { - "kind": "Reference", - "text": "Antenna", - "canonicalReference": "iceshrimp-js!entities.Antenna:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "Antenna", - "canonicalReference": "iceshrimp-js!entities.Antenna:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"antennas/update\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "Antenna", - "canonicalReference": "iceshrimp-js!entities.Antenna:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"antennas/mark-read\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "Antenna", - "canonicalReference": "iceshrimp-js!entities.Antenna:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"ap/get\": {\n\t\treq: {\n\t\t\turi: string;\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "Record", - "canonicalReference": "!Record:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"ap/show\": {\n\t\treq: {\n\t\t\turi: string;\n\t\t};\n\t\tres:\n\t\t\t| {\n\t\t\t\t\ttype: \"Note\";\n\t\t\t\t\tobject: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": ";\n\t\t\t }\n\t\t\t| {\n\t\t\t\t\ttype: \"User\";\n\t\t\t\t\tobject: " - }, - { - "kind": "Reference", - "text": "UserDetailed", - "canonicalReference": "iceshrimp-js!entities.UserDetailed:type" - }, - { - "kind": "Content", - "text": ";\n\t\t\t };\n\t};\n\t\"app/create\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "App", - "canonicalReference": "iceshrimp-js!entities.App:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"app/show\": {\n\t\treq: {\n\t\t\tappId: " - }, - { - "kind": "Reference", - "text": "App", - "canonicalReference": "iceshrimp-js!entities.App:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "App", - "canonicalReference": "iceshrimp-js!entities.App:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"auth/accept\": {\n\t\treq: {\n\t\t\ttoken: string;\n\t\t};\n\t\tres: null;\n\t};\n\t\"auth/session/generate\": {\n\t\treq: {\n\t\t\tappSecret: string;\n\t\t};\n\t\tres: {\n\t\t\ttoken: string;\n\t\t\turl: string;\n\t\t};\n\t};\n\t\"auth/session/show\": {\n\t\treq: {\n\t\t\ttoken: string;\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "AuthSession", - "canonicalReference": "iceshrimp-js!entities.AuthSession:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"auth/session/userkey\": {\n\t\treq: {\n\t\t\tappSecret: string;\n\t\t\ttoken: string;\n\t\t};\n\t\tres: {\n\t\t\taccessToken: string;\n\t\t\tuser: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": ";\n\t\t};\n\t};\n\t\"blocking/create\": {\n\t\treq: {\n\t\t\tuserId: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "UserDetailed", - "canonicalReference": "iceshrimp-js!entities.UserDetailed:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"blocking/delete\": {\n\t\treq: {\n\t\t\tuserId: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "UserDetailed", - "canonicalReference": "iceshrimp-js!entities.UserDetailed:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"blocking/list\": {\n\t\treq: {\n\t\t\tlimit?: number;\n\t\t\tsinceId?: " - }, - { - "kind": "Reference", - "text": "Blocking", - "canonicalReference": "iceshrimp-js!entities.Blocking:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tuntilId?: " - }, - { - "kind": "Reference", - "text": "Blocking", - "canonicalReference": "iceshrimp-js!entities.Blocking:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "Blocking", - "canonicalReference": "iceshrimp-js!entities.Blocking:type" - }, - { - "kind": "Content", - "text": "[];\n\t};\n\t\"channels/create\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"channels/featured\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"channels/follow\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"channels/followed\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"channels/owned\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"channels/pin-note\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"channels/show\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"channels/timeline\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"channels/unfollow\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"channels/update\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"charts/active-users\": {\n\t\treq: {\n\t\t\tspan: \"day\" | \"hour\";\n\t\t\tlimit?: number;\n\t\t\toffset?: number | null;\n\t\t};\n\t\tres: {\n\t\t\tlocal: {\n\t\t\t\tusers: number[];\n\t\t\t};\n\t\t\tremote: {\n\t\t\t\tusers: number[];\n\t\t\t};\n\t\t};\n\t};\n\t\"charts/drive\": {\n\t\treq: {\n\t\t\tspan: \"day\" | \"hour\";\n\t\t\tlimit?: number;\n\t\t\toffset?: number | null;\n\t\t};\n\t\tres: {\n\t\t\tlocal: {\n\t\t\t\tdecCount: number[];\n\t\t\t\tdecSize: number[];\n\t\t\t\tincCount: number[];\n\t\t\t\tincSize: number[];\n\t\t\t\ttotalCount: number[];\n\t\t\t\ttotalSize: number[];\n\t\t\t};\n\t\t\tremote: {\n\t\t\t\tdecCount: number[];\n\t\t\t\tdecSize: number[];\n\t\t\t\tincCount: number[];\n\t\t\t\tincSize: number[];\n\t\t\t\ttotalCount: number[];\n\t\t\t\ttotalSize: number[];\n\t\t\t};\n\t\t};\n\t};\n\t\"charts/federation\": {\n\t\treq: {\n\t\t\tspan: \"day\" | \"hour\";\n\t\t\tlimit?: number;\n\t\t\toffset?: number | null;\n\t\t};\n\t\tres: {\n\t\t\tinstance: {\n\t\t\t\tdec: number[];\n\t\t\t\tinc: number[];\n\t\t\t\ttotal: number[];\n\t\t\t};\n\t\t};\n\t};\n\t\"charts/hashtag\": {\n\t\treq: {\n\t\t\tspan: \"day\" | \"hour\";\n\t\t\tlimit?: number;\n\t\t\toffset?: number | null;\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"charts/instance\": {\n\t\treq: {\n\t\t\tspan: \"day\" | \"hour\";\n\t\t\tlimit?: number;\n\t\t\toffset?: number | null;\n\t\t\thost: string;\n\t\t};\n\t\tres: {\n\t\t\tdrive: {\n\t\t\t\tdecFiles: number[];\n\t\t\t\tdecUsage: number[];\n\t\t\t\tincFiles: number[];\n\t\t\t\tincUsage: number[];\n\t\t\t\ttotalFiles: number[];\n\t\t\t\ttotalUsage: number[];\n\t\t\t};\n\t\t\tfollowers: {\n\t\t\t\tdec: number[];\n\t\t\t\tinc: number[];\n\t\t\t\ttotal: number[];\n\t\t\t};\n\t\t\tfollowing: {\n\t\t\t\tdec: number[];\n\t\t\t\tinc: number[];\n\t\t\t\ttotal: number[];\n\t\t\t};\n\t\t\tnotes: {\n\t\t\t\tdec: number[];\n\t\t\t\tinc: number[];\n\t\t\t\ttotal: number[];\n\t\t\t\tdiffs: {\n\t\t\t\t\tnormal: number[];\n\t\t\t\t\trenote: number[];\n\t\t\t\t\treply: number[];\n\t\t\t\t};\n\t\t\t};\n\t\t\trequests: {\n\t\t\t\tfailed: number[];\n\t\t\t\treceived: number[];\n\t\t\t\tsucceeded: number[];\n\t\t\t};\n\t\t\tusers: {\n\t\t\t\tdec: number[];\n\t\t\t\tinc: number[];\n\t\t\t\ttotal: number[];\n\t\t\t};\n\t\t};\n\t};\n\t\"charts/network\": {\n\t\treq: {\n\t\t\tspan: \"day\" | \"hour\";\n\t\t\tlimit?: number;\n\t\t\toffset?: number | null;\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"charts/notes\": {\n\t\treq: {\n\t\t\tspan: \"day\" | \"hour\";\n\t\t\tlimit?: number;\n\t\t\toffset?: number | null;\n\t\t};\n\t\tres: {\n\t\t\tlocal: {\n\t\t\t\tdec: number[];\n\t\t\t\tinc: number[];\n\t\t\t\ttotal: number[];\n\t\t\t\tdiffs: {\n\t\t\t\t\tnormal: number[];\n\t\t\t\t\trenote: number[];\n\t\t\t\t\treply: number[];\n\t\t\t\t};\n\t\t\t};\n\t\t\tremote: {\n\t\t\t\tdec: number[];\n\t\t\t\tinc: number[];\n\t\t\t\ttotal: number[];\n\t\t\t\tdiffs: {\n\t\t\t\t\tnormal: number[];\n\t\t\t\t\trenote: number[];\n\t\t\t\t\treply: number[];\n\t\t\t\t};\n\t\t\t};\n\t\t};\n\t};\n\t\"charts/user/drive\": {\n\t\treq: {\n\t\t\tspan: \"day\" | \"hour\";\n\t\t\tlimit?: number;\n\t\t\toffset?: number | null;\n\t\t\tuserId: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: {\n\t\t\tdecCount: number[];\n\t\t\tdecSize: number[];\n\t\t\tincCount: number[];\n\t\t\tincSize: number[];\n\t\t\ttotalCount: number[];\n\t\t\ttotalSize: number[];\n\t\t};\n\t};\n\t\"charts/user/following\": {\n\t\treq: {\n\t\t\tspan: \"day\" | \"hour\";\n\t\t\tlimit?: number;\n\t\t\toffset?: number | null;\n\t\t\tuserId: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"charts/user/notes\": {\n\t\treq: {\n\t\t\tspan: \"day\" | \"hour\";\n\t\t\tlimit?: number;\n\t\t\toffset?: number | null;\n\t\t\tuserId: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: {\n\t\t\tdec: number[];\n\t\t\tinc: number[];\n\t\t\ttotal: number[];\n\t\t\tdiffs: {\n\t\t\t\tnormal: number[];\n\t\t\t\trenote: number[];\n\t\t\t\treply: number[];\n\t\t\t};\n\t\t};\n\t};\n\t\"charts/user/reactions\": {\n\t\treq: {\n\t\t\tspan: \"day\" | \"hour\";\n\t\t\tlimit?: number;\n\t\t\toffset?: number | null;\n\t\t\tuserId: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"charts/users\": {\n\t\treq: {\n\t\t\tspan: \"day\" | \"hour\";\n\t\t\tlimit?: number;\n\t\t\toffset?: number | null;\n\t\t};\n\t\tres: {\n\t\t\tlocal: {\n\t\t\t\tdec: number[];\n\t\t\t\tinc: number[];\n\t\t\t\ttotal: number[];\n\t\t\t};\n\t\t\tremote: {\n\t\t\t\tdec: number[];\n\t\t\t\tinc: number[];\n\t\t\t\ttotal: number[];\n\t\t\t};\n\t\t};\n\t};\n\t\"clips/add-note\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"clips/create\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"clips/delete\": {\n\t\treq: {\n\t\t\tclipId: " - }, - { - "kind": "Reference", - "text": "Clip", - "canonicalReference": "iceshrimp-js!entities.Clip:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: null;\n\t};\n\t\"clips/list\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"clips/notes\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"clips/show\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"clips/update\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\tdrive: {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "NoParams", - "canonicalReference": "iceshrimp-js!~NoParams:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: {\n\t\t\tcapacity: number;\n\t\t\tusage: number;\n\t\t};\n\t};\n\t\"drive/files\": {\n\t\treq: {\n\t\t\tfolderId?: " - }, - { - "kind": "Reference", - "text": "DriveFolder", - "canonicalReference": "iceshrimp-js!entities.DriveFolder:type" - }, - { - "kind": "Content", - "text": "[\"id\"] | null;\n\t\t\ttype?: " - }, - { - "kind": "Reference", - "text": "DriveFile", - "canonicalReference": "iceshrimp-js!entities.DriveFile:type" - }, - { - "kind": "Content", - "text": "[\"type\"] | null;\n\t\t\tlimit?: number;\n\t\t\tsinceId?: " - }, - { - "kind": "Reference", - "text": "DriveFile", - "canonicalReference": "iceshrimp-js!entities.DriveFile:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tuntilId?: " - }, - { - "kind": "Reference", - "text": "DriveFile", - "canonicalReference": "iceshrimp-js!entities.DriveFile:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "DriveFile", - "canonicalReference": "iceshrimp-js!entities.DriveFile:type" - }, - { - "kind": "Content", - "text": "[];\n\t};\n\t\"drive/files/attached-notes\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"drive/files/check-existence\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"drive/files/create\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"drive/files/delete\": {\n\t\treq: {\n\t\t\tfileId: " - }, - { - "kind": "Reference", - "text": "DriveFile", - "canonicalReference": "iceshrimp-js!entities.DriveFile:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: null;\n\t};\n\t\"drive/files/find-by-hash\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"drive/files/find\": {\n\t\treq: {\n\t\t\tname: string;\n\t\t\tfolderId?: " - }, - { - "kind": "Reference", - "text": "DriveFolder", - "canonicalReference": "iceshrimp-js!entities.DriveFolder:type" - }, - { - "kind": "Content", - "text": "[\"id\"] | null;\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "DriveFile", - "canonicalReference": "iceshrimp-js!entities.DriveFile:type" - }, - { - "kind": "Content", - "text": "[];\n\t};\n\t\"drive/files/show\": {\n\t\treq: {\n\t\t\tfileId?: " - }, - { - "kind": "Reference", - "text": "DriveFile", - "canonicalReference": "iceshrimp-js!entities.DriveFile:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\turl?: string;\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "DriveFile", - "canonicalReference": "iceshrimp-js!entities.DriveFile:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"drive/files/update\": {\n\t\treq: {\n\t\t\tfileId: " - }, - { - "kind": "Reference", - "text": "DriveFile", - "canonicalReference": "iceshrimp-js!entities.DriveFile:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tfolderId?: " - }, - { - "kind": "Reference", - "text": "DriveFolder", - "canonicalReference": "iceshrimp-js!entities.DriveFolder:type" - }, - { - "kind": "Content", - "text": "[\"id\"] | null;\n\t\t\tname?: string;\n\t\t\tisSensitive?: boolean;\n\t\t\tcomment?: string | null;\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "DriveFile", - "canonicalReference": "iceshrimp-js!entities.DriveFile:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"drive/files/upload-from-url\": {\n\t\treq: {\n\t\t\turl: string;\n\t\t\tfolderId?: " - }, - { - "kind": "Reference", - "text": "DriveFolder", - "canonicalReference": "iceshrimp-js!entities.DriveFolder:type" - }, - { - "kind": "Content", - "text": "[\"id\"] | null;\n\t\t\tisSensitive?: boolean;\n\t\t\tcomment?: string | null;\n\t\t\tmarker?: string | null;\n\t\t\tforce?: boolean;\n\t\t};\n\t\tres: null;\n\t};\n\t\"drive/folders\": {\n\t\treq: {\n\t\t\tfolderId?: " - }, - { - "kind": "Reference", - "text": "DriveFolder", - "canonicalReference": "iceshrimp-js!entities.DriveFolder:type" - }, - { - "kind": "Content", - "text": "[\"id\"] | null;\n\t\t\tlimit?: number;\n\t\t\tsinceId?: " - }, - { - "kind": "Reference", - "text": "DriveFile", - "canonicalReference": "iceshrimp-js!entities.DriveFile:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tuntilId?: " - }, - { - "kind": "Reference", - "text": "DriveFile", - "canonicalReference": "iceshrimp-js!entities.DriveFile:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "DriveFolder", - "canonicalReference": "iceshrimp-js!entities.DriveFolder:type" - }, - { - "kind": "Content", - "text": "[];\n\t};\n\t\"drive/folders/create\": {\n\t\treq: {\n\t\t\tname?: string;\n\t\t\tparentId?: " - }, - { - "kind": "Reference", - "text": "DriveFolder", - "canonicalReference": "iceshrimp-js!entities.DriveFolder:type" - }, - { - "kind": "Content", - "text": "[\"id\"] | null;\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "DriveFolder", - "canonicalReference": "iceshrimp-js!entities.DriveFolder:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"drive/folders/delete\": {\n\t\treq: {\n\t\t\tfolderId: " - }, - { - "kind": "Reference", - "text": "DriveFolder", - "canonicalReference": "iceshrimp-js!entities.DriveFolder:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: null;\n\t};\n\t\"drive/folders/find\": {\n\t\treq: {\n\t\t\tname: string;\n\t\t\tparentId?: " - }, - { - "kind": "Reference", - "text": "DriveFolder", - "canonicalReference": "iceshrimp-js!entities.DriveFolder:type" - }, - { - "kind": "Content", - "text": "[\"id\"] | null;\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "DriveFolder", - "canonicalReference": "iceshrimp-js!entities.DriveFolder:type" - }, - { - "kind": "Content", - "text": "[];\n\t};\n\t\"drive/folders/show\": {\n\t\treq: {\n\t\t\tfolderId: " - }, - { - "kind": "Reference", - "text": "DriveFolder", - "canonicalReference": "iceshrimp-js!entities.DriveFolder:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "DriveFolder", - "canonicalReference": "iceshrimp-js!entities.DriveFolder:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"drive/folders/update\": {\n\t\treq: {\n\t\t\tfolderId: " - }, - { - "kind": "Reference", - "text": "DriveFolder", - "canonicalReference": "iceshrimp-js!entities.DriveFolder:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tname?: string;\n\t\t\tparentId?: " - }, - { - "kind": "Reference", - "text": "DriveFolder", - "canonicalReference": "iceshrimp-js!entities.DriveFolder:type" - }, - { - "kind": "Content", - "text": "[\"id\"] | null;\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "DriveFolder", - "canonicalReference": "iceshrimp-js!entities.DriveFolder:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"drive/stream\": {\n\t\treq: {\n\t\t\ttype?: " - }, - { - "kind": "Reference", - "text": "DriveFile", - "canonicalReference": "iceshrimp-js!entities.DriveFile:type" - }, - { - "kind": "Content", - "text": "[\"type\"] | null;\n\t\t\tlimit?: number;\n\t\t\tsinceId?: " - }, - { - "kind": "Reference", - "text": "DriveFile", - "canonicalReference": "iceshrimp-js!entities.DriveFile:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tuntilId?: " - }, - { - "kind": "Reference", - "text": "DriveFile", - "canonicalReference": "iceshrimp-js!entities.DriveFile:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "DriveFile", - "canonicalReference": "iceshrimp-js!entities.DriveFile:type" - }, - { - "kind": "Content", - "text": "[];\n\t};\n\tendpoint: {\n\t\treq: {\n\t\t\tendpoint: string;\n\t\t};\n\t\tres: {\n\t\t\tparams: {\n\t\t\t\tname: string;\n\t\t\t\ttype: string;\n\t\t\t}[];\n\t\t};\n\t};\n\tendpoints: {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "NoParams", - "canonicalReference": "iceshrimp-js!~NoParams:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: string[];\n\t};\n\t\"federation/dns\": {\n\t\treq: {\n\t\t\thost: string;\n\t\t};\n\t\tres: {\n\t\t\ta: string[];\n\t\t\taaaa: string[];\n\t\t\tcname: string[];\n\t\t\ttxt: string[];\n\t\t};\n\t};\n\t\"federation/followers\": {\n\t\treq: {\n\t\t\thost: string;\n\t\t\tlimit?: number;\n\t\t\tsinceId?: " - }, - { - "kind": "Reference", - "text": "Following", - "canonicalReference": "iceshrimp-js!entities.Following:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tuntilId?: " - }, - { - "kind": "Reference", - "text": "Following", - "canonicalReference": "iceshrimp-js!entities.Following:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "FollowingFolloweePopulated", - "canonicalReference": "iceshrimp-js!entities.FollowingFolloweePopulated:type" - }, - { - "kind": "Content", - "text": "[];\n\t};\n\t\"federation/following\": {\n\t\treq: {\n\t\t\thost: string;\n\t\t\tlimit?: number;\n\t\t\tsinceId?: " - }, - { - "kind": "Reference", - "text": "Following", - "canonicalReference": "iceshrimp-js!entities.Following:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tuntilId?: " - }, - { - "kind": "Reference", - "text": "Following", - "canonicalReference": "iceshrimp-js!entities.Following:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "FollowingFolloweePopulated", - "canonicalReference": "iceshrimp-js!entities.FollowingFolloweePopulated:type" - }, - { - "kind": "Content", - "text": "[];\n\t};\n\t\"federation/instances\": {\n\t\treq: {\n\t\t\thost?: string | null;\n\t\t\tblocked?: boolean | null;\n\t\t\tnotResponding?: boolean | null;\n\t\t\tsuspended?: boolean | null;\n\t\t\tfederating?: boolean | null;\n\t\t\tsubscribing?: boolean | null;\n\t\t\tpublishing?: boolean | null;\n\t\t\tlimit?: number;\n\t\t\toffset?: number;\n\t\t\tsort?:\n\t\t\t\t| \"+pubSub\"\n\t\t\t\t| \"-pubSub\"\n\t\t\t\t| \"+notes\"\n\t\t\t\t| \"-notes\"\n\t\t\t\t| \"+users\"\n\t\t\t\t| \"-users\"\n\t\t\t\t| \"+following\"\n\t\t\t\t| \"-following\"\n\t\t\t\t| \"+followers\"\n\t\t\t\t| \"-followers\"\n\t\t\t\t| \"+caughtAt\"\n\t\t\t\t| \"-caughtAt\"\n\t\t\t\t| \"+lastCommunicatedAt\"\n\t\t\t\t| \"-lastCommunicatedAt\"\n\t\t\t\t| \"+driveUsage\"\n\t\t\t\t| \"-driveUsage\"\n\t\t\t\t| \"+driveFiles\"\n\t\t\t\t| \"-driveFiles\";\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "Instance", - "canonicalReference": "iceshrimp-js!entities.Instance:type" - }, - { - "kind": "Content", - "text": "[];\n\t};\n\t\"federation/show-instance\": {\n\t\treq: {\n\t\t\thost: string;\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "Instance", - "canonicalReference": "iceshrimp-js!entities.Instance:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"federation/update-remote-user\": {\n\t\treq: {\n\t\t\tuserId: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: null;\n\t};\n\t\"federation/users\": {\n\t\treq: {\n\t\t\thost: string;\n\t\t\tlimit?: number;\n\t\t\tsinceId?: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tuntilId?: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "UserDetailed", - "canonicalReference": "iceshrimp-js!entities.UserDetailed:type" - }, - { - "kind": "Content", - "text": "[];\n\t};\n\t\"following/create\": {\n\t\treq: {\n\t\t\tuserId: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"following/delete\": {\n\t\treq: {\n\t\t\tuserId: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"following/requests/accept\": {\n\t\treq: {\n\t\t\tuserId: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: null;\n\t};\n\t\"following/requests/cancel\": {\n\t\treq: {\n\t\t\tuserId: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"following/requests/list\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "NoParams", - "canonicalReference": "iceshrimp-js!~NoParams:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "FollowRequest", - "canonicalReference": "iceshrimp-js!entities.FollowRequest:type" - }, - { - "kind": "Content", - "text": "[];\n\t};\n\t\"following/requests/reject\": {\n\t\treq: {\n\t\t\tuserId: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: null;\n\t};\n\t\"gallery/featured\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"gallery/popular\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"gallery/posts\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"gallery/posts/create\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"gallery/posts/delete\": {\n\t\treq: {\n\t\t\tpostId: " - }, - { - "kind": "Reference", - "text": "GalleryPost", - "canonicalReference": "iceshrimp-js!entities.GalleryPost:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: null;\n\t};\n\t\"gallery/posts/like\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"gallery/posts/show\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"gallery/posts/unlike\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"gallery/posts/update\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"games/reversi/games\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"games/reversi/games/show\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"games/reversi/games/surrender\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"games/reversi/invitations\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"games/reversi/match\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"games/reversi/match/cancel\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"get-online-users-count\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "NoParams", - "canonicalReference": "iceshrimp-js!~NoParams:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: {\n\t\t\tcount: number;\n\t\t};\n\t};\n\t\"hashtags/list\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"hashtags/search\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"hashtags/show\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"hashtags/trend\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"hashtags/users\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\ti: {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "NoParams", - "canonicalReference": "iceshrimp-js!~NoParams:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"i/apps\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"i/authorized-apps\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"i/change-password\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"i/delete-account\": {\n\t\treq: {\n\t\t\tpassword: string;\n\t\t};\n\t\tres: null;\n\t};\n\t\"i/export-blocking\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"i/export-following\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"i/export-mute\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"i/export-notes\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"i/export-user-lists\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"i/favorites\": {\n\t\treq: {\n\t\t\tlimit?: number;\n\t\t\tsinceId?: " - }, - { - "kind": "Reference", - "text": "NoteFavorite", - "canonicalReference": "iceshrimp-js!entities.NoteFavorite:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tuntilId?: " - }, - { - "kind": "Reference", - "text": "NoteFavorite", - "canonicalReference": "iceshrimp-js!entities.NoteFavorite:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "NoteFavorite", - "canonicalReference": "iceshrimp-js!entities.NoteFavorite:type" - }, - { - "kind": "Content", - "text": "[];\n\t};\n\t\"i/gallery/likes\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"i/gallery/posts\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"i/get-word-muted-notes-count\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"i/import-following\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"i/import-user-lists\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"i/move\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"i/known-as\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"i/notifications\": {\n\t\treq: {\n\t\t\tlimit?: number;\n\t\t\tsinceId?: " - }, - { - "kind": "Reference", - "text": "Notification", - "canonicalReference": "iceshrimp-js!entities.Notification_2:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tuntilId?: " - }, - { - "kind": "Reference", - "text": "Notification", - "canonicalReference": "iceshrimp-js!entities.Notification_2:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tfollowing?: boolean;\n\t\t\tmarkAsRead?: boolean;\n\t\t\tincludeTypes?: " - }, - { - "kind": "Reference", - "text": "Notification", - "canonicalReference": "iceshrimp-js!entities.Notification_2:type" - }, - { - "kind": "Content", - "text": "[\"type\"][];\n\t\t\texcludeTypes?: " - }, - { - "kind": "Reference", - "text": "Notification", - "canonicalReference": "iceshrimp-js!entities.Notification_2:type" - }, - { - "kind": "Content", - "text": "[\"type\"][];\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "Notification", - "canonicalReference": "iceshrimp-js!entities.Notification_2:type" - }, - { - "kind": "Content", - "text": "[];\n\t};\n\t\"i/page-likes\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"i/pages\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"i/pin\": {\n\t\treq: {\n\t\t\tnoteId: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "MeDetailed", - "canonicalReference": "iceshrimp-js!entities.MeDetailed:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"i/read-all-messaging-messages\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"i/read-all-unread-notes\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"i/read-announcement\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"i/regenerate-token\": {\n\t\treq: {\n\t\t\tpassword: string;\n\t\t};\n\t\tres: null;\n\t};\n\t\"i/registry/get-all\": {\n\t\treq: {\n\t\t\tscope?: string[];\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "Record", - "canonicalReference": "!Record:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"i/registry/get-detail\": {\n\t\treq: {\n\t\t\tkey: string;\n\t\t\tscope?: string[];\n\t\t};\n\t\tres: {\n\t\t\tupdatedAt: " - }, - { - "kind": "Reference", - "text": "DateString", - "canonicalReference": "iceshrimp-js!entities.DateString:type" - }, - { - "kind": "Content", - "text": ";\n\t\t\tvalue: any;\n\t\t};\n\t};\n\t\"i/registry/get\": {\n\t\treq: {\n\t\t\tkey: string;\n\t\t\tscope?: string[];\n\t\t};\n\t\tres: any;\n\t};\n\t\"i/registry/keys-with-type\": {\n\t\treq: {\n\t\t\tscope?: string[];\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "Record", - "canonicalReference": "!Record:type" - }, - { - "kind": "Content", - "text": "<\n\t\t\tstring,\n\t\t\t\"null\" | \"array\" | \"number\" | \"string\" | \"boolean\" | \"object\"\n\t\t>;\n\t};\n\t\"i/registry/keys\": {\n\t\treq: {\n\t\t\tscope?: string[];\n\t\t};\n\t\tres: string[];\n\t};\n\t\"i/registry/remove\": {\n\t\treq: {\n\t\t\tkey: string;\n\t\t\tscope?: string[];\n\t\t};\n\t\tres: null;\n\t};\n\t\"i/registry/scopes\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "NoParams", - "canonicalReference": "iceshrimp-js!~NoParams:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: string[][];\n\t};\n\t\"i/registry/set\": {\n\t\treq: {\n\t\t\tkey: string;\n\t\t\tvalue: any;\n\t\t\tscope?: string[];\n\t\t};\n\t\tres: null;\n\t};\n\t\"i/revoke-token\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"i/signin-history\": {\n\t\treq: {\n\t\t\tlimit?: number;\n\t\t\tsinceId?: " - }, - { - "kind": "Reference", - "text": "Signin", - "canonicalReference": "iceshrimp-js!entities.Signin:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tuntilId?: " - }, - { - "kind": "Reference", - "text": "Signin", - "canonicalReference": "iceshrimp-js!entities.Signin:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "Signin", - "canonicalReference": "iceshrimp-js!entities.Signin:type" - }, - { - "kind": "Content", - "text": "[];\n\t};\n\t\"i/unpin\": {\n\t\treq: {\n\t\t\tnoteId: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "MeDetailed", - "canonicalReference": "iceshrimp-js!entities.MeDetailed:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"i/update-email\": {\n\t\treq: {\n\t\t\tpassword: string;\n\t\t\temail?: string | null;\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "MeDetailed", - "canonicalReference": "iceshrimp-js!entities.MeDetailed:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"i/update\": {\n\t\treq: {\n\t\t\tname?: string | null;\n\t\t\tdescription?: string | null;\n\t\t\tlang?: string | null;\n\t\t\tlocation?: string | null;\n\t\t\tbirthday?: string | null;\n\t\t\tavatarId?: " - }, - { - "kind": "Reference", - "text": "DriveFile", - "canonicalReference": "iceshrimp-js!entities.DriveFile:type" - }, - { - "kind": "Content", - "text": "[\"id\"] | null;\n\t\t\tbannerId?: " - }, - { - "kind": "Reference", - "text": "DriveFile", - "canonicalReference": "iceshrimp-js!entities.DriveFile:type" - }, - { - "kind": "Content", - "text": "[\"id\"] | null;\n\t\t\tfields?: {\n\t\t\t\tname: string;\n\t\t\t\tvalue: string;\n\t\t\t}[];\n\t\t\tisLocked?: boolean;\n\t\t\tisExplorable?: boolean;\n\t\t\thideOnlineStatus?: boolean;\n\t\t\tcarefulBot?: boolean;\n\t\t\tautoAcceptFollowed?: boolean;\n\t\t\tnoCrawle?: boolean;\n\t\t\tpreventAiLearning?: boolean;\n\t\t\tisBot?: boolean;\n\t\t\tisCat?: boolean;\n\t\t\tinjectFeaturedNote?: boolean;\n\t\t\treceiveAnnouncementEmail?: boolean;\n\t\t\talwaysMarkNsfw?: boolean;\n\t\t\tmutedWords?: string[][];\n\t\t\tmutingNotificationTypes?: " - }, - { - "kind": "Reference", - "text": "Notification", - "canonicalReference": "iceshrimp-js!entities.Notification_2:type" - }, - { - "kind": "Content", - "text": "[\"type\"][];\n\t\t\temailNotificationTypes?: string[];\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "MeDetailed", - "canonicalReference": "iceshrimp-js!entities.MeDetailed:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"i/user-group-invites\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"i/2fa/done\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"i/2fa/key-done\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"i/2fa/password-less\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"i/2fa/register-key\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"i/2fa/register\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"i/2fa/update-key\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"i/2fa/remove-key\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"i/2fa/unregister\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"messaging/history\": {\n\t\treq: {\n\t\t\tlimit?: number;\n\t\t\tgroup?: boolean;\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "MessagingMessage", - "canonicalReference": "iceshrimp-js!entities.MessagingMessage:type" - }, - { - "kind": "Content", - "text": "[];\n\t};\n\t\"messaging/messages\": {\n\t\treq: {\n\t\t\tuserId?: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tgroupId?: " - }, - { - "kind": "Reference", - "text": "UserGroup", - "canonicalReference": "iceshrimp-js!entities.UserGroup:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tlimit?: number;\n\t\t\tsinceId?: " - }, - { - "kind": "Reference", - "text": "MessagingMessage", - "canonicalReference": "iceshrimp-js!entities.MessagingMessage:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tuntilId?: " - }, - { - "kind": "Reference", - "text": "MessagingMessage", - "canonicalReference": "iceshrimp-js!entities.MessagingMessage:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tmarkAsRead?: boolean;\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "MessagingMessage", - "canonicalReference": "iceshrimp-js!entities.MessagingMessage:type" - }, - { - "kind": "Content", - "text": "[];\n\t};\n\t\"messaging/messages/create\": {\n\t\treq: {\n\t\t\tuserId?: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tgroupId?: " - }, - { - "kind": "Reference", - "text": "UserGroup", - "canonicalReference": "iceshrimp-js!entities.UserGroup:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\ttext?: string;\n\t\t\tfileId?: " - }, - { - "kind": "Reference", - "text": "DriveFile", - "canonicalReference": "iceshrimp-js!entities.DriveFile:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "MessagingMessage", - "canonicalReference": "iceshrimp-js!entities.MessagingMessage:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"messaging/messages/delete\": {\n\t\treq: {\n\t\t\tmessageId: " - }, - { - "kind": "Reference", - "text": "MessagingMessage", - "canonicalReference": "iceshrimp-js!entities.MessagingMessage:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: null;\n\t};\n\t\"messaging/messages/read\": {\n\t\treq: {\n\t\t\tmessageId: " - }, - { - "kind": "Reference", - "text": "MessagingMessage", - "canonicalReference": "iceshrimp-js!entities.MessagingMessage:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: null;\n\t};\n\tmeta: {\n\t\treq: {\n\t\t\tdetail?: boolean;\n\t\t};\n\t\tres: {\n\t\t\t$switch: {\n\t\t\t\t$cases: [\n\t\t\t\t\t[\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdetail: true;\n\t\t\t\t\t\t},\n\t\t\t\t\t\t" - }, - { - "kind": "Reference", - "text": "DetailedInstanceMetadata", - "canonicalReference": "iceshrimp-js!entities.DetailedInstanceMetadata:type" - }, - { - "kind": "Content", - "text": ",\n\t\t\t\t\t],\n\t\t\t\t\t[\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdetail: false;\n\t\t\t\t\t\t},\n\t\t\t\t\t\t" - }, - { - "kind": "Reference", - "text": "LiteInstanceMetadata", - "canonicalReference": "iceshrimp-js!entities.LiteInstanceMetadata:type" - }, - { - "kind": "Content", - "text": ",\n\t\t\t\t\t],\n\t\t\t\t\t[\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdetail: boolean;\n\t\t\t\t\t\t},\n\t\t\t\t\t\t" - }, - { - "kind": "Reference", - "text": "LiteInstanceMetadata", - "canonicalReference": "iceshrimp-js!entities.LiteInstanceMetadata:type" - }, - { - "kind": "Content", - "text": " | " - }, - { - "kind": "Reference", - "text": "DetailedInstanceMetadata", - "canonicalReference": "iceshrimp-js!entities.DetailedInstanceMetadata:type" - }, - { - "kind": "Content", - "text": ",\n\t\t\t\t\t],\n\t\t\t\t];\n\t\t\t\t$default: " - }, - { - "kind": "Reference", - "text": "LiteInstanceMetadata", - "canonicalReference": "iceshrimp-js!entities.LiteInstanceMetadata:type" - }, - { - "kind": "Content", - "text": ";\n\t\t\t};\n\t\t};\n\t};\n\t\"miauth/gen-token\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"mute/create\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"mute/delete\": {\n\t\treq: {\n\t\t\tuserId: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: null;\n\t};\n\t\"mute/list\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"renote-mute/create\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"renote-mute/delete\": {\n\t\treq: {\n\t\t\tuserId: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: null;\n\t};\n\t\"renote-mute/list\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"my/apps\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\tnotes: {\n\t\treq: {\n\t\t\tlimit?: number;\n\t\t\tsinceId?: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tuntilId?: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[];\n\t};\n\t\"notes/children\": {\n\t\treq: {\n\t\t\tnoteId: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tlimit?: number;\n\t\t\tsinceId?: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tuntilId?: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[];\n\t};\n\t\"notes/clips\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"notes/conversation\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"notes/create\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "NoteSubmitReq", - "canonicalReference": "iceshrimp-js!~NoteSubmitReq:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: {\n\t\t\tcreatedNote: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": ";\n\t\t};\n\t};\n\t\"notes/delete\": {\n\t\treq: {\n\t\t\tnoteId: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: null;\n\t};\n\t\"notes/edit\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "NoteSubmitReq", - "canonicalReference": "iceshrimp-js!~NoteSubmitReq:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: {\n\t\t\tcreatedNote: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": ";\n\t\t};\n\t};\n\t\"notes/favorites/create\": {\n\t\treq: {\n\t\t\tnoteId: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: null;\n\t};\n\t\"notes/favorites/delete\": {\n\t\treq: {\n\t\t\tnoteId: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: null;\n\t};\n\t\"notes/featured\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[];\n\t};\n\t\"notes/global-timeline\": {\n\t\treq: {\n\t\t\tlimit?: number;\n\t\t\tsinceId?: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tuntilId?: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tsinceDate?: number;\n\t\t\tuntilDate?: number;\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[];\n\t};\n\t\"notes/recommended-timeline\": {\n\t\treq: {\n\t\t\tlimit?: number;\n\t\t\tsinceId?: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tuntilId?: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tsinceDate?: number;\n\t\t\tuntilDate?: number;\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[];\n\t};\n\t\"notes/hybrid-timeline\": {\n\t\treq: {\n\t\t\tlimit?: number;\n\t\t\tsinceId?: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tuntilId?: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tsinceDate?: number;\n\t\t\tuntilDate?: number;\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[];\n\t};\n\t\"notes/local-timeline\": {\n\t\treq: {\n\t\t\tlimit?: number;\n\t\t\tsinceId?: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tuntilId?: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tsinceDate?: number;\n\t\t\tuntilDate?: number;\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[];\n\t};\n\t\"notes/mentions\": {\n\t\treq: {\n\t\t\tfollowing?: boolean;\n\t\t\tlimit?: number;\n\t\t\tsinceId?: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tuntilId?: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[];\n\t};\n\t\"notes/polls/recommendation\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"notes/polls/vote\": {\n\t\treq: {\n\t\t\tnoteId: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tchoice: number;\n\t\t};\n\t\tres: null;\n\t};\n\t\"notes/reactions\": {\n\t\treq: {\n\t\t\tnoteId: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\ttype?: string | null;\n\t\t\tlimit?: number;\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "NoteReaction", - "canonicalReference": "iceshrimp-js!entities.NoteReaction:type" - }, - { - "kind": "Content", - "text": "[];\n\t};\n\t\"notes/reactions/create\": {\n\t\treq: {\n\t\t\tnoteId: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\treaction: string;\n\t\t};\n\t\tres: null;\n\t};\n\t\"notes/reactions/delete\": {\n\t\treq: {\n\t\t\tnoteId: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: null;\n\t};\n\t\"notes/renotes\": {\n\t\treq: {\n\t\t\tlimit?: number;\n\t\t\tsinceId?: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tuntilId?: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tnoteId: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[];\n\t};\n\t\"notes/replies\": {\n\t\treq: {\n\t\t\tlimit?: number;\n\t\t\tsinceId?: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tuntilId?: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tnoteId: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[];\n\t};\n\t\"notes/search-by-tag\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"notes/search\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"notes/show\": {\n\t\treq: {\n\t\t\tnoteId: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"notes/state\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"notes/timeline\": {\n\t\treq: {\n\t\t\tlimit?: number;\n\t\t\tsinceId?: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tuntilId?: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tsinceDate?: number;\n\t\t\tuntilDate?: number;\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[];\n\t};\n\t\"notes/unrenote\": {\n\t\treq: {\n\t\t\tnoteId: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: null;\n\t};\n\t\"notes/user-list-timeline\": {\n\t\treq: {\n\t\t\tlistId: " - }, - { - "kind": "Reference", - "text": "UserList", - "canonicalReference": "iceshrimp-js!entities.UserList:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tlimit?: number;\n\t\t\tsinceId?: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tuntilId?: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tsinceDate?: number;\n\t\t\tuntilDate?: number;\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[];\n\t};\n\t\"notes/watching/create\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"notes/watching/delete\": {\n\t\treq: {\n\t\t\tnoteId: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: null;\n\t};\n\t\"notifications/create\": {\n\t\treq: {\n\t\t\tbody: string;\n\t\t\theader?: string | null;\n\t\t\ticon?: string | null;\n\t\t};\n\t\tres: null;\n\t};\n\t\"notifications/mark-all-as-read\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "NoParams", - "canonicalReference": "iceshrimp-js!~NoParams:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: null;\n\t};\n\t\"notifications/read\": {\n\t\treq: {\n\t\t\tnotificationId: " - }, - { - "kind": "Reference", - "text": "Notification", - "canonicalReference": "iceshrimp-js!entities.Notification_2:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: null;\n\t};\n\t\"page-push\": {\n\t\treq: {\n\t\t\tpageId: " - }, - { - "kind": "Reference", - "text": "Page", - "canonicalReference": "iceshrimp-js!entities.Page:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tevent: string;\n\t\t\tvar?: any;\n\t\t};\n\t\tres: null;\n\t};\n\t\"pages/create\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "Page", - "canonicalReference": "iceshrimp-js!entities.Page:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"pages/delete\": {\n\t\treq: {\n\t\t\tpageId: " - }, - { - "kind": "Reference", - "text": "Page", - "canonicalReference": "iceshrimp-js!entities.Page:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: null;\n\t};\n\t\"pages/featured\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "NoParams", - "canonicalReference": "iceshrimp-js!~NoParams:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "Page", - "canonicalReference": "iceshrimp-js!entities.Page:type" - }, - { - "kind": "Content", - "text": "[];\n\t};\n\t\"pages/like\": {\n\t\treq: {\n\t\t\tpageId: " - }, - { - "kind": "Reference", - "text": "Page", - "canonicalReference": "iceshrimp-js!entities.Page:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: null;\n\t};\n\t\"pages/show\": {\n\t\treq: {\n\t\t\tpageId?: " - }, - { - "kind": "Reference", - "text": "Page", - "canonicalReference": "iceshrimp-js!entities.Page:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tname?: string;\n\t\t\tusername?: string;\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "Page", - "canonicalReference": "iceshrimp-js!entities.Page:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"pages/unlike\": {\n\t\treq: {\n\t\t\tpageId: " - }, - { - "kind": "Reference", - "text": "Page", - "canonicalReference": "iceshrimp-js!entities.Page:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: null;\n\t};\n\t\"pages/update\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: null;\n\t};\n\tping: {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "NoParams", - "canonicalReference": "iceshrimp-js!~NoParams:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: {\n\t\t\tpong: number;\n\t\t};\n\t};\n\t\"pinned-users\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"promo/read\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"request-reset-password\": {\n\t\treq: {\n\t\t\tusername: string;\n\t\t\temail: string;\n\t\t};\n\t\tres: null;\n\t};\n\t\"reset-password\": {\n\t\treq: {\n\t\t\ttoken: string;\n\t\t\tpassword: string;\n\t\t};\n\t\tres: null;\n\t};\n\t\"room/show\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"room/update\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\tstats: {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "NoParams", - "canonicalReference": "iceshrimp-js!~NoParams:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "Stats", - "canonicalReference": "iceshrimp-js!entities.Stats:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"server-info\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "NoParams", - "canonicalReference": "iceshrimp-js!~NoParams:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "ServerInfo", - "canonicalReference": "iceshrimp-js!entities.ServerInfo:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"latest-version\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "NoParams", - "canonicalReference": "iceshrimp-js!~NoParams:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"sw/register\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"username/available\": {\n\t\treq: {\n\t\t\tusername: string;\n\t\t};\n\t\tres: {\n\t\t\tavailable: boolean;\n\t\t};\n\t};\n\tusers: {\n\t\treq: {\n\t\t\tlimit?: number;\n\t\t\toffset?: number;\n\t\t\tsort?: " - }, - { - "kind": "Reference", - "text": "UserSorting", - "canonicalReference": "iceshrimp-js!entities.UserSorting:type" - }, - { - "kind": "Content", - "text": ";\n\t\t\torigin?: " - }, - { - "kind": "Reference", - "text": "OriginType", - "canonicalReference": "iceshrimp-js!entities.OriginType:type" - }, - { - "kind": "Content", - "text": ";\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": "[];\n\t};\n\t\"users/clips\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"users/followers\": {\n\t\treq: {\n\t\t\tuserId?: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tusername?: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": "[\"username\"];\n\t\t\thost?: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": "[\"host\"] | null;\n\t\t\tlimit?: number;\n\t\t\tsinceId?: " - }, - { - "kind": "Reference", - "text": "Following", - "canonicalReference": "iceshrimp-js!entities.Following:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tuntilId?: " - }, - { - "kind": "Reference", - "text": "Following", - "canonicalReference": "iceshrimp-js!entities.Following:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "FollowingFollowerPopulated", - "canonicalReference": "iceshrimp-js!entities.FollowingFollowerPopulated:type" - }, - { - "kind": "Content", - "text": "[];\n\t};\n\t\"users/following\": {\n\t\treq: {\n\t\t\tuserId?: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tusername?: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": "[\"username\"];\n\t\t\thost?: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": "[\"host\"] | null;\n\t\t\tlimit?: number;\n\t\t\tsinceId?: " - }, - { - "kind": "Reference", - "text": "Following", - "canonicalReference": "iceshrimp-js!entities.Following:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tuntilId?: " - }, - { - "kind": "Reference", - "text": "Following", - "canonicalReference": "iceshrimp-js!entities.Following:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "FollowingFolloweePopulated", - "canonicalReference": "iceshrimp-js!entities.FollowingFolloweePopulated:type" - }, - { - "kind": "Content", - "text": "[];\n\t};\n\t\"users/gallery/posts\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"users/get-frequently-replied-users\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"users/groups/create\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"users/groups/delete\": {\n\t\treq: {\n\t\t\tgroupId: " - }, - { - "kind": "Reference", - "text": "UserGroup", - "canonicalReference": "iceshrimp-js!entities.UserGroup:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: null;\n\t};\n\t\"users/groups/invitations/accept\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"users/groups/invitations/reject\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"users/groups/invite\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"users/groups/joined\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"users/groups/owned\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"users/groups/pull\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"users/groups/show\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"users/groups/transfer\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"users/groups/update\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"users/lists/create\": {\n\t\treq: {\n\t\t\tname: string;\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "UserList", - "canonicalReference": "iceshrimp-js!entities.UserList:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"users/lists/delete\": {\n\t\treq: {\n\t\t\tlistId: " - }, - { - "kind": "Reference", - "text": "UserList", - "canonicalReference": "iceshrimp-js!entities.UserList:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: null;\n\t};\n\t\"users/lists/list\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "NoParams", - "canonicalReference": "iceshrimp-js!~NoParams:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "UserList", - "canonicalReference": "iceshrimp-js!entities.UserList:type" - }, - { - "kind": "Content", - "text": "[];\n\t};\n\t\"users/lists/pull\": {\n\t\treq: {\n\t\t\tlistId: " - }, - { - "kind": "Reference", - "text": "UserList", - "canonicalReference": "iceshrimp-js!entities.UserList:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tuserId: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: null;\n\t};\n\t\"users/lists/push\": {\n\t\treq: {\n\t\t\tlistId: " - }, - { - "kind": "Reference", - "text": "UserList", - "canonicalReference": "iceshrimp-js!entities.UserList:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tuserId: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: null;\n\t};\n\t\"users/lists/show\": {\n\t\treq: {\n\t\t\tlistId: " - }, - { - "kind": "Reference", - "text": "UserList", - "canonicalReference": "iceshrimp-js!entities.UserList:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "UserList", - "canonicalReference": "iceshrimp-js!entities.UserList:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"users/lists/update\": {\n\t\treq: {\n\t\t\tlistId: " - }, - { - "kind": "Reference", - "text": "UserList", - "canonicalReference": "iceshrimp-js!entities.UserList:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tname: string;\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "UserList", - "canonicalReference": "iceshrimp-js!entities.UserList:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"users/notes\": {\n\t\treq: {\n\t\t\tuserId: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tlimit?: number;\n\t\t\tsinceId?: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tuntilId?: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tsinceDate?: number;\n\t\t\tuntilDate?: number;\n\t\t};\n\t\tres: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[];\n\t};\n\t\"users/pages\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"users/recommendation\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"users/relation\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"users/report-abuse\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"users/search-by-username-and-host\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"users/search\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n\t\"users/show\": {\n\t\treq:\n\t\t\t| " - }, - { - "kind": "Reference", - "text": "ShowUserReq", - "canonicalReference": "iceshrimp-js!~ShowUserReq:type" - }, - { - "kind": "Content", - "text": "\n\t\t\t| {\n\t\t\t\t\tuserIds: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": "[\"id\"][];\n\t\t\t };\n\t\tres: {\n\t\t\t$switch: {\n\t\t\t\t$cases: [\n\t\t\t\t\t[\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tuserIds: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": "[\"id\"][];\n\t\t\t\t\t\t},\n\t\t\t\t\t\t" - }, - { - "kind": "Reference", - "text": "UserDetailed", - "canonicalReference": "iceshrimp-js!entities.UserDetailed:type" - }, - { - "kind": "Content", - "text": "[],\n\t\t\t\t\t],\n\t\t\t\t];\n\t\t\t\t$default: " - }, - { - "kind": "Reference", - "text": "UserDetailed", - "canonicalReference": "iceshrimp-js!entities.UserDetailed:type" - }, - { - "kind": "Content", - "text": ";\n\t\t\t};\n\t\t};\n\t};\n\t\"users/stats\": {\n\t\treq: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t\tres: " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO:type" - }, - { - "kind": "Content", - "text": ";\n\t};\n}" - }, - { - "kind": "Content", - "text": ";" - } - ], - "fileUrlPath": "src/api.types.ts", - "releaseTag": "Public", - "name": "Endpoints", - "typeTokenRange": { - "startIndex": 1, - "endIndex": 1158 - } - }, - { - "kind": "Namespace", - "canonicalReference": "iceshrimp-js!entities:namespace", - "docComment": "", - "excerptTokens": [], - "fileUrlPath": "src/index.ts", - "releaseTag": "None", - "name": "entities", - "preserveMemberOrder": false, - "members": [ - { - "kind": "TypeAlias", - "canonicalReference": "iceshrimp-js!entities.Ad:type", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "export declare type Ad = " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO_2:type" - }, - { - "kind": "Content", - "text": ";" - } - ], - "fileUrlPath": "src/entities.ts", - "releaseTag": "Public", - "name": "Ad", - "typeTokenRange": { - "startIndex": 1, - "endIndex": 2 - } - }, - { - "kind": "TypeAlias", - "canonicalReference": "iceshrimp-js!entities.Announcement:type", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "export declare type Announcement = " - }, - { - "kind": "Content", - "text": "{\n\tid: " - }, - { - "kind": "Reference", - "text": "ID", - "canonicalReference": "iceshrimp-js!entities.ID:type" - }, - { - "kind": "Content", - "text": ";\n\tcreatedAt: " - }, - { - "kind": "Reference", - "text": "DateString", - "canonicalReference": "iceshrimp-js!entities.DateString:type" - }, - { - "kind": "Content", - "text": ";\n\tupdatedAt: " - }, - { - "kind": "Reference", - "text": "DateString", - "canonicalReference": "iceshrimp-js!entities.DateString:type" - }, - { - "kind": "Content", - "text": " | null;\n\ttext: string;\n\ttitle: string;\n\timageUrl: string | null;\n\tisRead?: boolean;\n}" - }, - { - "kind": "Content", - "text": ";" - } - ], - "fileUrlPath": "src/entities.ts", - "releaseTag": "Public", - "name": "Announcement", - "typeTokenRange": { - "startIndex": 1, - "endIndex": 8 - } - }, - { - "kind": "TypeAlias", - "canonicalReference": "iceshrimp-js!entities.Antenna:type", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "export declare type Antenna = " - }, - { - "kind": "Content", - "text": "{\n\tid: " - }, - { - "kind": "Reference", - "text": "ID", - "canonicalReference": "iceshrimp-js!entities.ID:type" - }, - { - "kind": "Content", - "text": ";\n\tcreatedAt: " - }, - { - "kind": "Reference", - "text": "DateString", - "canonicalReference": "iceshrimp-js!entities.DateString:type" - }, - { - "kind": "Content", - "text": ";\n\tname: string;\n\tkeywords: string[][];\n\texcludeKeywords: string[][];\n\tsrc: \"home\" | \"all\" | \"users\" | \"list\" | \"group\" | \"instances\";\n\tuserListId: " - }, - { - "kind": "Reference", - "text": "ID", - "canonicalReference": "iceshrimp-js!entities.ID:type" - }, - { - "kind": "Content", - "text": " | null;\n\tuserGroupId: " - }, - { - "kind": "Reference", - "text": "ID", - "canonicalReference": "iceshrimp-js!entities.ID:type" - }, - { - "kind": "Content", - "text": " | null;\n\tusers: string[];\n\tinstances: string[];\n\tcaseSensitive: boolean;\n\tnotify: boolean;\n\twithReplies: boolean;\n\twithFile: boolean;\n\thasUnreadNote: boolean;\n}" - }, - { - "kind": "Content", - "text": ";" - } - ], - "fileUrlPath": "src/entities.ts", - "releaseTag": "Public", - "name": "Antenna", - "typeTokenRange": { - "startIndex": 1, - "endIndex": 10 - } - }, - { - "kind": "TypeAlias", - "canonicalReference": "iceshrimp-js!entities.App:type", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "export declare type App = " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO_2:type" - }, - { - "kind": "Content", - "text": ";" - } - ], - "fileUrlPath": "src/entities.ts", - "releaseTag": "Public", - "name": "App", - "typeTokenRange": { - "startIndex": 1, - "endIndex": 2 - } - }, - { - "kind": "TypeAlias", - "canonicalReference": "iceshrimp-js!entities.AuthSession:type", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "export declare type AuthSession = " - }, - { - "kind": "Content", - "text": "{\n\tid: " - }, - { - "kind": "Reference", - "text": "ID", - "canonicalReference": "iceshrimp-js!entities.ID:type" - }, - { - "kind": "Content", - "text": ";\n\tapp: " - }, - { - "kind": "Reference", - "text": "App", - "canonicalReference": "iceshrimp-js!entities.App:type" - }, - { - "kind": "Content", - "text": ";\n\ttoken: string;\n}" - }, - { - "kind": "Content", - "text": ";" - } - ], - "fileUrlPath": "src/entities.ts", - "releaseTag": "Public", - "name": "AuthSession", - "typeTokenRange": { - "startIndex": 1, - "endIndex": 6 - } - }, - { - "kind": "TypeAlias", - "canonicalReference": "iceshrimp-js!entities.Blocking:type", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "export declare type Blocking = " - }, - { - "kind": "Content", - "text": "{\n\tid: " - }, - { - "kind": "Reference", - "text": "ID", - "canonicalReference": "iceshrimp-js!entities.ID:type" - }, - { - "kind": "Content", - "text": ";\n\tcreatedAt: " - }, - { - "kind": "Reference", - "text": "DateString", - "canonicalReference": "iceshrimp-js!entities.DateString:type" - }, - { - "kind": "Content", - "text": ";\n\tblockeeId: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\tblockee: " - }, - { - "kind": "Reference", - "text": "UserDetailed", - "canonicalReference": "iceshrimp-js!entities.UserDetailed:type" - }, - { - "kind": "Content", - "text": ";\n}" - }, - { - "kind": "Content", - "text": ";" - } - ], - "fileUrlPath": "src/entities.ts", - "releaseTag": "Public", - "name": "Blocking", - "typeTokenRange": { - "startIndex": 1, - "endIndex": 10 - } - }, - { - "kind": "TypeAlias", - "canonicalReference": "iceshrimp-js!entities.Channel:type", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "export declare type Channel = " - }, - { - "kind": "Content", - "text": "{\n\tid: " - }, - { - "kind": "Reference", - "text": "ID", - "canonicalReference": "iceshrimp-js!entities.ID:type" - }, - { - "kind": "Content", - "text": ";\n}" - }, - { - "kind": "Content", - "text": ";" - } - ], - "fileUrlPath": "src/entities.ts", - "releaseTag": "Public", - "name": "Channel", - "typeTokenRange": { - "startIndex": 1, - "endIndex": 4 - } - }, - { - "kind": "TypeAlias", - "canonicalReference": "iceshrimp-js!entities.Clip:type", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "export declare type Clip = " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO_2:type" - }, - { - "kind": "Content", - "text": ";" - } - ], - "fileUrlPath": "src/entities.ts", - "releaseTag": "Public", - "name": "Clip", - "typeTokenRange": { - "startIndex": 1, - "endIndex": 2 - } - }, - { - "kind": "TypeAlias", - "canonicalReference": "iceshrimp-js!entities.CustomEmoji:type", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "export declare type CustomEmoji = " - }, - { - "kind": "Content", - "text": "{\n\tid: string;\n\tname: string;\n\turl: string;\n\tcategory: string;\n\taliases: string[];\n}" - }, - { - "kind": "Content", - "text": ";" - } - ], - "fileUrlPath": "src/entities.ts", - "releaseTag": "Public", - "name": "CustomEmoji", - "typeTokenRange": { - "startIndex": 1, - "endIndex": 2 - } - }, - { - "kind": "TypeAlias", - "canonicalReference": "iceshrimp-js!entities.DateString:type", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "export declare type DateString = " - }, - { - "kind": "Content", - "text": "string" - }, - { - "kind": "Content", - "text": ";" - } - ], - "fileUrlPath": "src/entities.ts", - "releaseTag": "Public", - "name": "DateString", - "typeTokenRange": { - "startIndex": 1, - "endIndex": 2 - } - }, - { - "kind": "TypeAlias", - "canonicalReference": "iceshrimp-js!entities.DetailedInstanceMetadata:type", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "export declare type DetailedInstanceMetadata = " - }, - { - "kind": "Reference", - "text": "LiteInstanceMetadata", - "canonicalReference": "iceshrimp-js!entities.LiteInstanceMetadata:type" - }, - { - "kind": "Content", - "text": " & {\n\tfeatures: " - }, - { - "kind": "Reference", - "text": "Record", - "canonicalReference": "!Record:type" - }, - { - "kind": "Content", - "text": ";\n}" - }, - { - "kind": "Content", - "text": ";" - } - ], - "fileUrlPath": "src/entities.ts", - "releaseTag": "Public", - "name": "DetailedInstanceMetadata", - "typeTokenRange": { - "startIndex": 1, - "endIndex": 5 - } - }, - { - "kind": "TypeAlias", - "canonicalReference": "iceshrimp-js!entities.DriveFile:type", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "export declare type DriveFile = " - }, - { - "kind": "Content", - "text": "{\n\tid: " - }, - { - "kind": "Reference", - "text": "ID", - "canonicalReference": "iceshrimp-js!entities.ID:type" - }, - { - "kind": "Content", - "text": ";\n\tcreatedAt: " - }, - { - "kind": "Reference", - "text": "DateString", - "canonicalReference": "iceshrimp-js!entities.DateString:type" - }, - { - "kind": "Content", - "text": ";\n\tisSensitive: boolean;\n\tname: string;\n\tthumbnailUrl: string;\n\turl: string;\n\ttype: string;\n\tsize: number;\n\tmd5: string;\n\tblurhash: string;\n\tcomment: string | null;\n\tproperties: " - }, - { - "kind": "Reference", - "text": "Record", - "canonicalReference": "!Record:type" - }, - { - "kind": "Content", - "text": ";\n}" - }, - { - "kind": "Content", - "text": ";" - } - ], - "fileUrlPath": "src/entities.ts", - "releaseTag": "Public", - "name": "DriveFile", - "typeTokenRange": { - "startIndex": 1, - "endIndex": 8 - } - }, - { - "kind": "TypeAlias", - "canonicalReference": "iceshrimp-js!entities.DriveFolder:type", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "export declare type DriveFolder = " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO_2:type" - }, - { - "kind": "Content", - "text": ";" - } - ], - "fileUrlPath": "src/entities.ts", - "releaseTag": "Public", - "name": "DriveFolder", - "typeTokenRange": { - "startIndex": 1, - "endIndex": 2 - } - }, - { - "kind": "TypeAlias", - "canonicalReference": "iceshrimp-js!entities.Following:type", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "export declare type Following = " - }, - { - "kind": "Content", - "text": "{\n\tid: " - }, - { - "kind": "Reference", - "text": "ID", - "canonicalReference": "iceshrimp-js!entities.ID:type" - }, - { - "kind": "Content", - "text": ";\n\tcreatedAt: " - }, - { - "kind": "Reference", - "text": "DateString", - "canonicalReference": "iceshrimp-js!entities.DateString:type" - }, - { - "kind": "Content", - "text": ";\n\tfollowerId: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\tfolloweeId: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n}" - }, - { - "kind": "Content", - "text": ";" - } - ], - "fileUrlPath": "src/entities.ts", - "releaseTag": "Public", - "name": "Following", - "typeTokenRange": { - "startIndex": 1, - "endIndex": 10 - } - }, - { - "kind": "TypeAlias", - "canonicalReference": "iceshrimp-js!entities.FollowingFolloweePopulated:type", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "export declare type FollowingFolloweePopulated = " - }, - { - "kind": "Reference", - "text": "Following", - "canonicalReference": "iceshrimp-js!entities.Following:type" - }, - { - "kind": "Content", - "text": " & {\n\tfollowee: " - }, - { - "kind": "Reference", - "text": "UserDetailed", - "canonicalReference": "iceshrimp-js!entities.UserDetailed:type" - }, - { - "kind": "Content", - "text": ";\n}" - }, - { - "kind": "Content", - "text": ";" - } - ], - "fileUrlPath": "src/entities.ts", - "releaseTag": "Public", - "name": "FollowingFolloweePopulated", - "typeTokenRange": { - "startIndex": 1, - "endIndex": 5 - } - }, - { - "kind": "TypeAlias", - "canonicalReference": "iceshrimp-js!entities.FollowingFollowerPopulated:type", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "export declare type FollowingFollowerPopulated = " - }, - { - "kind": "Reference", - "text": "Following", - "canonicalReference": "iceshrimp-js!entities.Following:type" - }, - { - "kind": "Content", - "text": " & {\n\tfollower: " - }, - { - "kind": "Reference", - "text": "UserDetailed", - "canonicalReference": "iceshrimp-js!entities.UserDetailed:type" - }, - { - "kind": "Content", - "text": ";\n}" - }, - { - "kind": "Content", - "text": ";" - } - ], - "fileUrlPath": "src/entities.ts", - "releaseTag": "Public", - "name": "FollowingFollowerPopulated", - "typeTokenRange": { - "startIndex": 1, - "endIndex": 5 - } - }, - { - "kind": "TypeAlias", - "canonicalReference": "iceshrimp-js!entities.FollowRequest:type", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "export declare type FollowRequest = " - }, - { - "kind": "Content", - "text": "{\n\tid: " - }, - { - "kind": "Reference", - "text": "ID", - "canonicalReference": "iceshrimp-js!entities.ID:type" - }, - { - "kind": "Content", - "text": ";\n\tfollower: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": ";\n\tfollowee: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": ";\n}" - }, - { - "kind": "Content", - "text": ";" - } - ], - "fileUrlPath": "src/entities.ts", - "releaseTag": "Public", - "name": "FollowRequest", - "typeTokenRange": { - "startIndex": 1, - "endIndex": 8 - } - }, - { - "kind": "TypeAlias", - "canonicalReference": "iceshrimp-js!entities.GalleryPost:type", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "export declare type GalleryPost = " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO_2:type" - }, - { - "kind": "Content", - "text": ";" - } - ], - "fileUrlPath": "src/entities.ts", - "releaseTag": "Public", - "name": "GalleryPost", - "typeTokenRange": { - "startIndex": 1, - "endIndex": 2 - } - }, - { - "kind": "TypeAlias", - "canonicalReference": "iceshrimp-js!entities.ID:type", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "export declare type ID = " - }, - { - "kind": "Content", - "text": "string" - }, - { - "kind": "Content", - "text": ";" - } - ], - "fileUrlPath": "src/entities.ts", - "releaseTag": "Public", - "name": "ID", - "typeTokenRange": { - "startIndex": 1, - "endIndex": 2 - } - }, - { - "kind": "TypeAlias", - "canonicalReference": "iceshrimp-js!entities.Instance:type", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "export declare type Instance = " - }, - { - "kind": "Content", - "text": "{\n\tid: " - }, - { - "kind": "Reference", - "text": "ID", - "canonicalReference": "iceshrimp-js!entities.ID:type" - }, - { - "kind": "Content", - "text": ";\n\tcaughtAt: " - }, - { - "kind": "Reference", - "text": "DateString", - "canonicalReference": "iceshrimp-js!entities.DateString:type" - }, - { - "kind": "Content", - "text": ";\n\thost: string;\n\tusersCount: number;\n\tnotesCount: number;\n\tfollowingCount: number;\n\tfollowersCount: number;\n\tdriveUsage: number;\n\tdriveFiles: number;\n\tlatestRequestSentAt: " - }, - { - "kind": "Reference", - "text": "DateString", - "canonicalReference": "iceshrimp-js!entities.DateString:type" - }, - { - "kind": "Content", - "text": " | null;\n\tlatestStatus: number | null;\n\tlatestRequestReceivedAt: " - }, - { - "kind": "Reference", - "text": "DateString", - "canonicalReference": "iceshrimp-js!entities.DateString:type" - }, - { - "kind": "Content", - "text": " | null;\n\tlastCommunicatedAt: " - }, - { - "kind": "Reference", - "text": "DateString", - "canonicalReference": "iceshrimp-js!entities.DateString:type" - }, - { - "kind": "Content", - "text": ";\n\tisNotResponding: boolean;\n\tisSuspended: boolean;\n\tsoftwareName: string | null;\n\tsoftwareVersion: string | null;\n\topenRegistrations: boolean | null;\n\tname: string | null;\n\tdescription: string | null;\n\tmaintainerName: string | null;\n\tmaintainerEmail: string | null;\n\ticonUrl: string | null;\n\tfaviconUrl: string | null;\n\tthemeColor: string | null;\n\tinfoUpdatedAt: " - }, - { - "kind": "Reference", - "text": "DateString", - "canonicalReference": "iceshrimp-js!entities.DateString:type" - }, - { - "kind": "Content", - "text": " | null;\n}" - }, - { - "kind": "Content", - "text": ";" - } - ], - "fileUrlPath": "src/entities.ts", - "releaseTag": "Public", - "name": "Instance", - "typeTokenRange": { - "startIndex": 1, - "endIndex": 14 - } - }, - { - "kind": "TypeAlias", - "canonicalReference": "iceshrimp-js!entities.InstanceMetadata:type", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "export declare type InstanceMetadata =\n\t" - }, - { - "kind": "Content", - "text": "| " - }, - { - "kind": "Reference", - "text": "LiteInstanceMetadata", - "canonicalReference": "iceshrimp-js!entities.LiteInstanceMetadata:type" - }, - { - "kind": "Content", - "text": "\n\t| " - }, - { - "kind": "Reference", - "text": "DetailedInstanceMetadata", - "canonicalReference": "iceshrimp-js!entities.DetailedInstanceMetadata:type" - }, - { - "kind": "Content", - "text": ";" - } - ], - "fileUrlPath": "src/entities.ts", - "releaseTag": "Public", - "name": "InstanceMetadata", - "typeTokenRange": { - "startIndex": 1, - "endIndex": 5 - } - }, - { - "kind": "TypeAlias", - "canonicalReference": "iceshrimp-js!entities.LiteInstanceMetadata:type", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "export declare type LiteInstanceMetadata = " - }, - { - "kind": "Content", - "text": "{\n\tmaintainerName: string | null;\n\tmaintainerEmail: string | null;\n\tversion: string;\n\tname: string | null;\n\turi: string;\n\tdescription: string | null;\n\ttosUrl: string | null;\n\tdisableRegistration: boolean;\n\tdisableLocalTimeline: boolean;\n\tdisableRecommendedTimeline: boolean;\n\tdisableGlobalTimeline: boolean;\n\tdriveCapacityPerLocalUserMb: number;\n\tdriveCapacityPerRemoteUserMb: number;\n\tenableHcaptcha: boolean;\n\thcaptchaSiteKey: string | null;\n\tenableRecaptcha: boolean;\n\trecaptchaSiteKey: string | null;\n\tswPublickey: string | null;\n\tmaxNoteTextLength: number;\n\tenableEmail: boolean;\n\tenableGithubIntegration: boolean;\n\tenableDiscordIntegration: boolean;\n\tenableServiceWorker: boolean;\n\temojis: " - }, - { - "kind": "Reference", - "text": "CustomEmoji", - "canonicalReference": "iceshrimp-js!entities.CustomEmoji:type" - }, - { - "kind": "Content", - "text": "[];\n\tads: {\n\t\tid: " - }, - { - "kind": "Reference", - "text": "ID", - "canonicalReference": "iceshrimp-js!entities.ID:type" - }, - { - "kind": "Content", - "text": ";\n\t\tratio: number;\n\t\tplace: string;\n\t\turl: string;\n\t\timageUrl: string;\n\t}[];\n}" - }, - { - "kind": "Content", - "text": ";" - } - ], - "fileUrlPath": "src/entities.ts", - "releaseTag": "Public", - "name": "LiteInstanceMetadata", - "typeTokenRange": { - "startIndex": 1, - "endIndex": 6 - } - }, - { - "kind": "TypeAlias", - "canonicalReference": "iceshrimp-js!entities.MeDetailed:type", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "export declare type MeDetailed = " - }, - { - "kind": "Reference", - "text": "UserDetailed", - "canonicalReference": "iceshrimp-js!entities.UserDetailed:type" - }, - { - "kind": "Content", - "text": " & {\n\tavatarId: " - }, - { - "kind": "Reference", - "text": "DriveFile", - "canonicalReference": "iceshrimp-js!entities.DriveFile:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\tbannerId: " - }, - { - "kind": "Reference", - "text": "DriveFile", - "canonicalReference": "iceshrimp-js!entities.DriveFile:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\tautoAcceptFollowed: boolean;\n\talwaysMarkNsfw: boolean;\n\tcarefulBot: boolean;\n\temailNotificationTypes: string[];\n\thasPendingReceivedFollowRequest: boolean;\n\thasUnreadAnnouncement: boolean;\n\thasUnreadAntenna: boolean;\n\thasUnreadChannel: boolean;\n\thasUnreadMentions: boolean;\n\thasUnreadMessagingMessage: boolean;\n\thasUnreadNotification: boolean;\n\thasUnreadSpecifiedNotes: boolean;\n\thideOnlineStatus: boolean;\n\tinjectFeaturedNote: boolean;\n\tintegrations: " - }, - { - "kind": "Reference", - "text": "Record", - "canonicalReference": "!Record:type" - }, - { - "kind": "Content", - "text": ";\n\tisDeleted: boolean;\n\tisExplorable: boolean;\n\tmutedWords: string[][];\n\tmutingNotificationTypes: string[];\n\tnoCrawle: boolean;\n\tpreventAiLearning: boolean;\n\treceiveAnnouncementEmail: boolean;\n\tusePasswordLessLogin: boolean;\n\t[other: string]: any;\n}" - }, - { - "kind": "Content", - "text": ";" - } - ], - "fileUrlPath": "src/entities.ts", - "releaseTag": "Public", - "name": "MeDetailed", - "typeTokenRange": { - "startIndex": 1, - "endIndex": 9 - } - }, - { - "kind": "TypeAlias", - "canonicalReference": "iceshrimp-js!entities.MessagingMessage:type", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "export declare type MessagingMessage = " - }, - { - "kind": "Content", - "text": "{\n\tid: " - }, - { - "kind": "Reference", - "text": "ID", - "canonicalReference": "iceshrimp-js!entities.ID:type" - }, - { - "kind": "Content", - "text": ";\n\tcreatedAt: " - }, - { - "kind": "Reference", - "text": "DateString", - "canonicalReference": "iceshrimp-js!entities.DateString:type" - }, - { - "kind": "Content", - "text": ";\n\tfile: " - }, - { - "kind": "Reference", - "text": "DriveFile", - "canonicalReference": "iceshrimp-js!entities.DriveFile:type" - }, - { - "kind": "Content", - "text": " | null;\n\tfileId: " - }, - { - "kind": "Reference", - "text": "DriveFile", - "canonicalReference": "iceshrimp-js!entities.DriveFile:type" - }, - { - "kind": "Content", - "text": "[\"id\"] | null;\n\tisRead: boolean;\n\treads: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": "[\"id\"][];\n\ttext: string | null;\n\tuser: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": ";\n\tuserId: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\trecipient?: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": " | null;\n\trecipientId: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": "[\"id\"] | null;\n\tgroup?: " - }, - { - "kind": "Reference", - "text": "UserGroup", - "canonicalReference": "iceshrimp-js!entities.UserGroup:type" - }, - { - "kind": "Content", - "text": " | null;\n\tgroupId: " - }, - { - "kind": "Reference", - "text": "UserGroup", - "canonicalReference": "iceshrimp-js!entities.UserGroup:type" - }, - { - "kind": "Content", - "text": "[\"id\"] | null;\n}" - }, - { - "kind": "Content", - "text": ";" - } - ], - "fileUrlPath": "src/entities.ts", - "releaseTag": "Public", - "name": "MessagingMessage", - "typeTokenRange": { - "startIndex": 1, - "endIndex": 24 - } - }, - { - "kind": "TypeAlias", - "canonicalReference": "iceshrimp-js!entities.Note:type", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "export declare type Note = " - }, - { - "kind": "Content", - "text": "{\n\tid: " - }, - { - "kind": "Reference", - "text": "ID", - "canonicalReference": "iceshrimp-js!entities.ID:type" - }, - { - "kind": "Content", - "text": ";\n\tcreatedAt: " - }, - { - "kind": "Reference", - "text": "DateString", - "canonicalReference": "iceshrimp-js!entities.DateString:type" - }, - { - "kind": "Content", - "text": ";\n\ttext: string | null;\n\tcw: string | null;\n\tuser: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": ";\n\tuserId: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\treply?: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": ";\n\treplyId: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\trenote?: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": ";\n\trenoteId: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\tfiles: " - }, - { - "kind": "Reference", - "text": "DriveFile", - "canonicalReference": "iceshrimp-js!entities.DriveFile:type" - }, - { - "kind": "Content", - "text": "[];\n\tfileIds: " - }, - { - "kind": "Reference", - "text": "DriveFile", - "canonicalReference": "iceshrimp-js!entities.DriveFile:type" - }, - { - "kind": "Content", - "text": "[\"id\"][];\n\tvisibility: \"public\" | \"home\" | \"followers\" | \"specified\";\n\tvisibleUserIds?: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": "[\"id\"][];\n\tlocalOnly?: boolean;\n\tchannel?: " - }, - { - "kind": "Reference", - "text": "Channel", - "canonicalReference": "iceshrimp-js!entities.Channel:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\tmyReaction?: string;\n\treactions: " - }, - { - "kind": "Reference", - "text": "Record", - "canonicalReference": "!Record:type" - }, - { - "kind": "Content", - "text": ";\n\trenoteCount: number;\n\trepliesCount: number;\n\tpoll?: {\n\t\texpiresAt: " - }, - { - "kind": "Reference", - "text": "DateString", - "canonicalReference": "iceshrimp-js!entities.DateString:type" - }, - { - "kind": "Content", - "text": " | null;\n\t\tmultiple: boolean;\n\t\tchoices: {\n\t\t\tisVoted: boolean;\n\t\t\ttext: string;\n\t\t\tvotes: number;\n\t\t}[];\n\t};\n\temojis: {\n\t\tname: string;\n\t\turl: string;\n\t}[];\n\turi?: string;\n\turl?: string;\n\tupdatedAt?: " - }, - { - "kind": "Reference", - "text": "DateString", - "canonicalReference": "iceshrimp-js!entities.DateString:type" - }, - { - "kind": "Content", - "text": ";\n\tisHidden?: boolean;\n}" - }, - { - "kind": "Content", - "text": ";" - } - ], - "fileUrlPath": "src/entities.ts", - "releaseTag": "Public", - "name": "Note", - "typeTokenRange": { - "startIndex": 1, - "endIndex": 32 - } - }, - { - "kind": "TypeAlias", - "canonicalReference": "iceshrimp-js!entities.NoteFavorite:type", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "export declare type NoteFavorite = " - }, - { - "kind": "Content", - "text": "{\n\tid: " - }, - { - "kind": "Reference", - "text": "ID", - "canonicalReference": "iceshrimp-js!entities.ID:type" - }, - { - "kind": "Content", - "text": ";\n\tcreatedAt: " - }, - { - "kind": "Reference", - "text": "DateString", - "canonicalReference": "iceshrimp-js!entities.DateString:type" - }, - { - "kind": "Content", - "text": ";\n\tnoteId: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\tnote: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": ";\n}" - }, - { - "kind": "Content", - "text": ";" - } - ], - "fileUrlPath": "src/entities.ts", - "releaseTag": "Public", - "name": "NoteFavorite", - "typeTokenRange": { - "startIndex": 1, - "endIndex": 10 - } - }, - { - "kind": "TypeAlias", - "canonicalReference": "iceshrimp-js!entities.NoteReaction:type", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "export declare type NoteReaction = " - }, - { - "kind": "Content", - "text": "{\n\tid: " - }, - { - "kind": "Reference", - "text": "ID", - "canonicalReference": "iceshrimp-js!entities.ID:type" - }, - { - "kind": "Content", - "text": ";\n\tcreatedAt: " - }, - { - "kind": "Reference", - "text": "DateString", - "canonicalReference": "iceshrimp-js!entities.DateString:type" - }, - { - "kind": "Content", - "text": ";\n\tuser: " - }, - { - "kind": "Reference", - "text": "UserLite", - "canonicalReference": "iceshrimp-js!entities.UserLite:type" - }, - { - "kind": "Content", - "text": ";\n\ttype: string;\n}" - }, - { - "kind": "Content", - "text": ";" - } - ], - "fileUrlPath": "src/entities.ts", - "releaseTag": "Public", - "name": "NoteReaction", - "typeTokenRange": { - "startIndex": 1, - "endIndex": 8 - } - }, - { - "kind": "TypeAlias", - "canonicalReference": "iceshrimp-js!entities.Notification:type", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "export declare type Notification = " - }, - { - "kind": "Content", - "text": "{\n\tid: " - }, - { - "kind": "Reference", - "text": "ID", - "canonicalReference": "iceshrimp-js!entities.ID:type" - }, - { - "kind": "Content", - "text": ";\n\tcreatedAt: " - }, - { - "kind": "Reference", - "text": "DateString", - "canonicalReference": "iceshrimp-js!entities.DateString:type" - }, - { - "kind": "Content", - "text": ";\n\tisRead: boolean;\n} & (\n\t| {\n\t\t\ttype: \"reaction\";\n\t\t\treaction: string;\n\t\t\tuser: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": ";\n\t\t\tuserId: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tnote: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": ";\n\t }\n\t| {\n\t\t\ttype: \"reply\";\n\t\t\tuser: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": ";\n\t\t\tuserId: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tnote: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": ";\n\t }\n\t| {\n\t\t\ttype: \"renote\";\n\t\t\tuser: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": ";\n\t\t\tuserId: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tnote: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": ";\n\t }\n\t| {\n\t\t\ttype: \"quote\";\n\t\t\tuser: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": ";\n\t\t\tuserId: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tnote: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": ";\n\t }\n\t| {\n\t\t\ttype: \"mention\";\n\t\t\tuser: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": ";\n\t\t\tuserId: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tnote: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": ";\n\t }\n\t| {\n\t\t\ttype: \"pollVote\";\n\t\t\tuser: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": ";\n\t\t\tuserId: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t\t\tnote: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": ";\n\t }\n\t| {\n\t\t\ttype: \"follow\";\n\t\t\tuser: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": ";\n\t\t\tuserId: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t }\n\t| {\n\t\t\ttype: \"followRequestAccepted\";\n\t\t\tuser: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": ";\n\t\t\tuserId: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t }\n\t| {\n\t\t\ttype: \"receiveFollowRequest\";\n\t\t\tuser: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": ";\n\t\t\tuserId: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t }\n\t| {\n\t\t\ttype: \"groupInvited\";\n\t\t\tinvitation: " - }, - { - "kind": "Reference", - "text": "UserGroup", - "canonicalReference": "iceshrimp-js!entities.UserGroup:type" - }, - { - "kind": "Content", - "text": ";\n\t\t\tuser: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": ";\n\t\t\tuserId: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\t }\n\t| {\n\t\t\ttype: \"app\";\n\t\t\theader?: string | null;\n\t\t\tbody: string;\n\t\t\ticon?: string | null;\n\t }\n)" - }, - { - "kind": "Content", - "text": ";" - } - ], - "fileUrlPath": "src/entities.ts", - "releaseTag": "Public", - "name": "Notification", - "typeTokenRange": { - "startIndex": 1, - "endIndex": 60 - } - }, - { - "kind": "TypeAlias", - "canonicalReference": "iceshrimp-js!entities.OriginType:type", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "export declare type OriginType = " - }, - { - "kind": "Content", - "text": "\"combined\" | \"local\" | \"remote\"" - }, - { - "kind": "Content", - "text": ";" - } - ], - "fileUrlPath": "src/entities.ts", - "releaseTag": "Public", - "name": "OriginType", - "typeTokenRange": { - "startIndex": 1, - "endIndex": 2 - } - }, - { - "kind": "TypeAlias", - "canonicalReference": "iceshrimp-js!entities.Page:type", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "export declare type Page = " - }, - { - "kind": "Content", - "text": "{\n\tid: " - }, - { - "kind": "Reference", - "text": "ID", - "canonicalReference": "iceshrimp-js!entities.ID:type" - }, - { - "kind": "Content", - "text": ";\n\tcreatedAt: " - }, - { - "kind": "Reference", - "text": "DateString", - "canonicalReference": "iceshrimp-js!entities.DateString:type" - }, - { - "kind": "Content", - "text": ";\n\tupdatedAt: " - }, - { - "kind": "Reference", - "text": "DateString", - "canonicalReference": "iceshrimp-js!entities.DateString:type" - }, - { - "kind": "Content", - "text": ";\n\tuserId: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\tuser: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": ";\n\tcontent: " - }, - { - "kind": "Reference", - "text": "Record", - "canonicalReference": "!Record:type" - }, - { - "kind": "Content", - "text": "[];\n\tvariables: " - }, - { - "kind": "Reference", - "text": "Record", - "canonicalReference": "!Record:type" - }, - { - "kind": "Content", - "text": "[];\n\ttitle: string;\n\tname: string;\n\tsummary: string | null;\n\thideTitleWhenPinned: boolean;\n\talignCenter: boolean;\n\tfont: string;\n\tscript: string;\n\teyeCatchingImageId: " - }, - { - "kind": "Reference", - "text": "DriveFile", - "canonicalReference": "iceshrimp-js!entities.DriveFile:type" - }, - { - "kind": "Content", - "text": "[\"id\"] | null;\n\teyeCatchingImage: " - }, - { - "kind": "Reference", - "text": "DriveFile", - "canonicalReference": "iceshrimp-js!entities.DriveFile:type" - }, - { - "kind": "Content", - "text": " | null;\n\tattachedFiles: any;\n\tlikedCount: number;\n\tisLiked?: boolean;\n}" - }, - { - "kind": "Content", - "text": ";" - } - ], - "fileUrlPath": "src/entities.ts", - "releaseTag": "Public", - "name": "Page", - "typeTokenRange": { - "startIndex": 1, - "endIndex": 20 - } - }, - { - "kind": "TypeAlias", - "canonicalReference": "iceshrimp-js!entities.PageEvent:type", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "export declare type PageEvent = " - }, - { - "kind": "Content", - "text": "{\n\tpageId: " - }, - { - "kind": "Reference", - "text": "Page", - "canonicalReference": "iceshrimp-js!entities.Page:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\tevent: string;\n\tvar: any;\n\tuserId: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": "[\"id\"];\n\tuser: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": ";\n}" - }, - { - "kind": "Content", - "text": ";" - } - ], - "fileUrlPath": "src/entities.ts", - "releaseTag": "Public", - "name": "PageEvent", - "typeTokenRange": { - "startIndex": 1, - "endIndex": 8 - } - }, - { - "kind": "TypeAlias", - "canonicalReference": "iceshrimp-js!entities.ServerInfo:type", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "export declare type ServerInfo = " - }, - { - "kind": "Content", - "text": "{\n\tmachine: string;\n\tcpu: {\n\t\tmodel: string;\n\t\tcores: number;\n\t};\n\tmem: {\n\t\ttotal: number;\n\t};\n\tfs: {\n\t\ttotal: number;\n\t\tused: number;\n\t};\n}" - }, - { - "kind": "Content", - "text": ";" - } - ], - "fileUrlPath": "src/entities.ts", - "releaseTag": "Public", - "name": "ServerInfo", - "typeTokenRange": { - "startIndex": 1, - "endIndex": 2 - } - }, - { - "kind": "TypeAlias", - "canonicalReference": "iceshrimp-js!entities.Signin:type", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "export declare type Signin = " - }, - { - "kind": "Content", - "text": "{\n\tid: " - }, - { - "kind": "Reference", - "text": "ID", - "canonicalReference": "iceshrimp-js!entities.ID:type" - }, - { - "kind": "Content", - "text": ";\n\tcreatedAt: " - }, - { - "kind": "Reference", - "text": "DateString", - "canonicalReference": "iceshrimp-js!entities.DateString:type" - }, - { - "kind": "Content", - "text": ";\n\tip: string;\n\theaders: " - }, - { - "kind": "Reference", - "text": "Record", - "canonicalReference": "!Record:type" - }, - { - "kind": "Content", - "text": ";\n\tsuccess: boolean;\n}" - }, - { - "kind": "Content", - "text": ";" - } - ], - "fileUrlPath": "src/entities.ts", - "releaseTag": "Public", - "name": "Signin", - "typeTokenRange": { - "startIndex": 1, - "endIndex": 8 - } - }, - { - "kind": "TypeAlias", - "canonicalReference": "iceshrimp-js!entities.Stats:type", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "export declare type Stats = " - }, - { - "kind": "Content", - "text": "{\n\tnotesCount: number;\n\toriginalNotesCount: number;\n\tusersCount: number;\n\toriginalUsersCount: number;\n\tinstances: number;\n\tdriveUsageLocal: number;\n\tdriveUsageRemote: number;\n}" - }, - { - "kind": "Content", - "text": ";" - } - ], - "fileUrlPath": "src/entities.ts", - "releaseTag": "Public", - "name": "Stats", - "typeTokenRange": { - "startIndex": 1, - "endIndex": 2 - } - }, - { - "kind": "TypeAlias", - "canonicalReference": "iceshrimp-js!entities.User:type", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "export declare type User = " - }, - { - "kind": "Reference", - "text": "UserLite", - "canonicalReference": "iceshrimp-js!entities.UserLite:type" - }, - { - "kind": "Content", - "text": " | " - }, - { - "kind": "Reference", - "text": "UserDetailed", - "canonicalReference": "iceshrimp-js!entities.UserDetailed:type" - }, - { - "kind": "Content", - "text": ";" - } - ], - "fileUrlPath": "src/entities.ts", - "releaseTag": "Public", - "name": "User", - "typeTokenRange": { - "startIndex": 1, - "endIndex": 4 - } - }, - { - "kind": "TypeAlias", - "canonicalReference": "iceshrimp-js!entities.UserDetailed:type", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "export declare type UserDetailed = " - }, - { - "kind": "Reference", - "text": "UserLite", - "canonicalReference": "iceshrimp-js!entities.UserLite:type" - }, - { - "kind": "Content", - "text": " & {\n\tbannerBlurhash: string | null;\n\tbannerColor: string | null;\n\tbannerUrl: string | null;\n\tbirthday: string | null;\n\tcreatedAt: " - }, - { - "kind": "Reference", - "text": "DateString", - "canonicalReference": "iceshrimp-js!entities.DateString:type" - }, - { - "kind": "Content", - "text": ";\n\tdescription: string | null;\n\tffVisibility: \"public\" | \"followers\" | \"private\";\n\tfields: {\n\t\tname: string;\n\t\tvalue: string;\n\t}[];\n\tfollowersCount: number;\n\tfollowingCount: number;\n\thasPendingFollowRequestFromYou: boolean;\n\thasPendingFollowRequestToYou: boolean;\n\tisAdmin: boolean;\n\tisBlocked: boolean;\n\tisBlocking: boolean;\n\tisBot: boolean;\n\tisCat: boolean;\n\tisFollowed: boolean;\n\tisFollowing: boolean;\n\tisLocked: boolean;\n\tisModerator: boolean;\n\tisMuted: boolean;\n\tisRenoteMuted: boolean;\n\tisSilenced: boolean;\n\tisSuspended: boolean;\n\tlang: string | null;\n\tlastFetchedAt?: " - }, - { - "kind": "Reference", - "text": "DateString", - "canonicalReference": "iceshrimp-js!entities.DateString:type" - }, - { - "kind": "Content", - "text": ";\n\tlocation: string | null;\n\tnotesCount: number;\n\tpinnedNoteIds: " - }, - { - "kind": "Reference", - "text": "ID", - "canonicalReference": "iceshrimp-js!entities.ID:type" - }, - { - "kind": "Content", - "text": "[];\n\tpinnedNotes: " - }, - { - "kind": "Reference", - "text": "Note", - "canonicalReference": "iceshrimp-js!entities.Note:type" - }, - { - "kind": "Content", - "text": "[];\n\tpinnedPage: " - }, - { - "kind": "Reference", - "text": "Page", - "canonicalReference": "iceshrimp-js!entities.Page:type" - }, - { - "kind": "Content", - "text": " | null;\n\tpinnedPageId: string | null;\n\tpublicReactions: boolean;\n\tsecurityKeys: boolean;\n\ttwoFactorEnabled: boolean;\n\tupdatedAt: " - }, - { - "kind": "Reference", - "text": "DateString", - "canonicalReference": "iceshrimp-js!entities.DateString:type" - }, - { - "kind": "Content", - "text": " | null;\n\turi: string | null;\n\turl: string | null;\n}" - }, - { - "kind": "Content", - "text": ";" - } - ], - "fileUrlPath": "src/entities.ts", - "releaseTag": "Public", - "name": "UserDetailed", - "typeTokenRange": { - "startIndex": 1, - "endIndex": 15 - } - }, - { - "kind": "TypeAlias", - "canonicalReference": "iceshrimp-js!entities.UserGroup:type", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "export declare type UserGroup = " - }, - { - "kind": "Reference", - "text": "TODO", - "canonicalReference": "iceshrimp-js!~TODO_2:type" - }, - { - "kind": "Content", - "text": ";" - } - ], - "fileUrlPath": "src/entities.ts", - "releaseTag": "Public", - "name": "UserGroup", - "typeTokenRange": { - "startIndex": 1, - "endIndex": 2 - } - }, - { - "kind": "TypeAlias", - "canonicalReference": "iceshrimp-js!entities.UserList:type", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "export declare type UserList = " - }, - { - "kind": "Content", - "text": "{\n\tid: " - }, - { - "kind": "Reference", - "text": "ID", - "canonicalReference": "iceshrimp-js!entities.ID:type" - }, - { - "kind": "Content", - "text": ";\n\tcreatedAt: " - }, - { - "kind": "Reference", - "text": "DateString", - "canonicalReference": "iceshrimp-js!entities.DateString:type" - }, - { - "kind": "Content", - "text": ";\n\tname: string;\n\tuserIds: " - }, - { - "kind": "Reference", - "text": "User", - "canonicalReference": "iceshrimp-js!entities.User:type" - }, - { - "kind": "Content", - "text": "[\"id\"][];\n}" - }, - { - "kind": "Content", - "text": ";" - } - ], - "fileUrlPath": "src/entities.ts", - "releaseTag": "Public", - "name": "UserList", - "typeTokenRange": { - "startIndex": 1, - "endIndex": 8 - } - }, - { - "kind": "TypeAlias", - "canonicalReference": "iceshrimp-js!entities.UserLite:type", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "export declare type UserLite = " - }, - { - "kind": "Content", - "text": "{\n\tid: " - }, - { - "kind": "Reference", - "text": "ID", - "canonicalReference": "iceshrimp-js!entities.ID:type" - }, - { - "kind": "Content", - "text": ";\n\tusername: string;\n\thost: string | null;\n\tname: string;\n\tonlineStatus: \"online\" | \"active\" | \"offline\" | \"unknown\";\n\tavatarUrl: string;\n\tavatarBlurhash: string;\n\talsoKnownAs: string[];\n\tmovedToUri: any;\n\temojis: {\n\t\tname: string;\n\t\turl: string;\n\t}[];\n\tinstance?: {\n\t\tname: " - }, - { - "kind": "Reference", - "text": "Instance", - "canonicalReference": "iceshrimp-js!entities.Instance:type" - }, - { - "kind": "Content", - "text": "[\"name\"];\n\t\tsoftwareName: " - }, - { - "kind": "Reference", - "text": "Instance", - "canonicalReference": "iceshrimp-js!entities.Instance:type" - }, - { - "kind": "Content", - "text": "[\"softwareName\"];\n\t\tsoftwareVersion: " - }, - { - "kind": "Reference", - "text": "Instance", - "canonicalReference": "iceshrimp-js!entities.Instance:type" - }, - { - "kind": "Content", - "text": "[\"softwareVersion\"];\n\t\ticonUrl: " - }, - { - "kind": "Reference", - "text": "Instance", - "canonicalReference": "iceshrimp-js!entities.Instance:type" - }, - { - "kind": "Content", - "text": "[\"iconUrl\"];\n\t\tfaviconUrl: " - }, - { - "kind": "Reference", - "text": "Instance", - "canonicalReference": "iceshrimp-js!entities.Instance:type" - }, - { - "kind": "Content", - "text": "[\"faviconUrl\"];\n\t\tthemeColor: " - }, - { - "kind": "Reference", - "text": "Instance", - "canonicalReference": "iceshrimp-js!entities.Instance:type" - }, - { - "kind": "Content", - "text": "[\"themeColor\"];\n\t};\n}" - }, - { - "kind": "Content", - "text": ";" - } - ], - "fileUrlPath": "src/entities.ts", - "releaseTag": "Public", - "name": "UserLite", - "typeTokenRange": { - "startIndex": 1, - "endIndex": 16 - } - }, - { - "kind": "TypeAlias", - "canonicalReference": "iceshrimp-js!entities.UserSorting:type", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "export declare type UserSorting =\n\t" - }, - { - "kind": "Content", - "text": "| \"+follower\"\n\t| \"-follower\"\n\t| \"+createdAt\"\n\t| \"-createdAt\"\n\t| \"+updatedAt\"\n\t| \"-updatedAt\"" - }, - { - "kind": "Content", - "text": ";" - } - ], - "fileUrlPath": "src/entities.ts", - "releaseTag": "Public", - "name": "UserSorting", - "typeTokenRange": { - "startIndex": 1, - "endIndex": 2 - } - } - ] - }, - { - "kind": "Variable", - "canonicalReference": "iceshrimp-js!ffVisibility:var", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "ffVisibility: " - }, - { - "kind": "Content", - "text": "readonly [\"public\", \"followers\", \"private\"]" - } - ], - "fileUrlPath": "src/index.ts", - "isReadonly": true, - "releaseTag": "Public", - "name": "ffVisibility", - "variableTypeTokenRange": { - "startIndex": 1, - "endIndex": 2 - } - }, - { - "kind": "Variable", - "canonicalReference": "iceshrimp-js!mutedNoteReasons:var", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "mutedNoteReasons: " - }, - { - "kind": "Content", - "text": "readonly [\n\t\"word\",\n\t\"manual\",\n\t\"spam\",\n\t\"other\",\n]" - } - ], - "fileUrlPath": "src/index.ts", - "isReadonly": true, - "releaseTag": "Public", - "name": "mutedNoteReasons", - "variableTypeTokenRange": { - "startIndex": 1, - "endIndex": 2 - } - }, - { - "kind": "Variable", - "canonicalReference": "iceshrimp-js!noteVisibilities:var", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "noteVisibilities: " - }, - { - "kind": "Content", - "text": "readonly [\n\t\"public\",\n\t\"home\",\n\t\"followers\",\n\t\"specified\",\n]" - } - ], - "fileUrlPath": "src/index.ts", - "isReadonly": true, - "releaseTag": "Public", - "name": "noteVisibilities", - "variableTypeTokenRange": { - "startIndex": 1, - "endIndex": 2 - } - }, - { - "kind": "Variable", - "canonicalReference": "iceshrimp-js!notificationTypes:var", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "notificationTypes: " - }, - { - "kind": "Content", - "text": "readonly [\n\t\"follow\",\n\t\"mention\",\n\t\"reply\",\n\t\"renote\",\n\t\"quote\",\n\t\"reaction\",\n\t\"pollVote\",\n\t\"pollEnded\",\n\t\"receiveFollowRequest\",\n\t\"followRequestAccepted\",\n\t\"groupInvited\",\n\t\"app\",\n]" - } - ], - "fileUrlPath": "src/index.ts", - "isReadonly": true, - "releaseTag": "Public", - "name": "notificationTypes", - "variableTypeTokenRange": { - "startIndex": 1, - "endIndex": 2 - } - }, - { - "kind": "Variable", - "canonicalReference": "iceshrimp-js!permissions:var", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "permissions: " - }, - { - "kind": "Content", - "text": "string[]" - } - ], - "fileUrlPath": "src/index.ts", - "isReadonly": true, - "releaseTag": "Public", - "name": "permissions", - "variableTypeTokenRange": { - "startIndex": 1, - "endIndex": 2 - } - }, - { - "kind": "Class", - "canonicalReference": "iceshrimp-js!Stream:class", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "export default class Stream extends " - }, - { - "kind": "Reference", - "text": "EventEmitter", - "canonicalReference": "eventemitter3!EventEmitter.EventEmitter" - }, - { - "kind": "Content", - "text": "<" - }, - { - "kind": "Reference", - "text": "StreamEvents", - "canonicalReference": "iceshrimp-js!~StreamEvents:type" - }, - { - "kind": "Content", - "text": ">" - }, - { - "kind": "Content", - "text": " " - } - ], - "fileUrlPath": "src/streaming.ts", - "releaseTag": "Public", - "isAbstract": false, - "name": "Stream", - "preserveMemberOrder": false, - "members": [ - { - "kind": "Constructor", - "canonicalReference": "iceshrimp-js!Stream:constructor(1)", - "docComment": "/**\n * Constructs a new instance of the `Stream` class\n */\n", - "excerptTokens": [ - { - "kind": "Content", - "text": "constructor(\n\t\torigin: " - }, - { - "kind": "Content", - "text": "string" - }, - { - "kind": "Content", - "text": ",\n\t\tuser: " - }, - { - "kind": "Content", - "text": "{\n\t\t\ttoken: string;\n\t\t} | null" - }, - { - "kind": "Content", - "text": ",\n\t\toptions?: " - }, - { - "kind": "Content", - "text": "{\n\t\t\tWebSocket?: any;\n\t\t}" - }, - { - "kind": "Content", - "text": ",\n\t);" - } - ], - "releaseTag": "Public", - "isProtected": false, - "overloadIndex": 1, - "parameters": [ - { - "parameterName": "origin", - "parameterTypeTokenRange": { - "startIndex": 1, - "endIndex": 2 - }, - "isOptional": false - }, - { - "parameterName": "user", - "parameterTypeTokenRange": { - "startIndex": 3, - "endIndex": 4 - }, - "isOptional": false - }, - { - "parameterName": "options", - "parameterTypeTokenRange": { - "startIndex": 5, - "endIndex": 6 - }, - "isOptional": true - } - ] - }, - { - "kind": "Method", - "canonicalReference": "iceshrimp-js!Stream#close:member(1)", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "close(): " - }, - { - "kind": "Content", - "text": "void" - }, - { - "kind": "Content", - "text": ";" - } - ], - "isStatic": false, - "returnTypeTokenRange": { - "startIndex": 1, - "endIndex": 2 - }, - "releaseTag": "Public", - "isProtected": false, - "overloadIndex": 1, - "parameters": [], - "isOptional": false, - "isAbstract": false, - "name": "close" - }, - { - "kind": "Method", - "canonicalReference": "iceshrimp-js!Stream#disconnectToChannel:member(1)", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "disconnectToChannel(connection: " - }, - { - "kind": "Reference", - "text": "NonSharedConnection", - "canonicalReference": "iceshrimp-js!~NonSharedConnection:class" - }, - { - "kind": "Content", - "text": "): " - }, - { - "kind": "Content", - "text": "void" - }, - { - "kind": "Content", - "text": ";" - } - ], - "isStatic": false, - "returnTypeTokenRange": { - "startIndex": 3, - "endIndex": 4 - }, - "releaseTag": "Public", - "isProtected": false, - "overloadIndex": 1, - "parameters": [ - { - "parameterName": "connection", - "parameterTypeTokenRange": { - "startIndex": 1, - "endIndex": 2 - }, - "isOptional": false - } - ], - "isOptional": false, - "isAbstract": false, - "name": "disconnectToChannel" - }, - { - "kind": "Method", - "canonicalReference": "iceshrimp-js!Stream#removeSharedConnection:member(1)", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "removeSharedConnection(connection: " - }, - { - "kind": "Reference", - "text": "SharedConnection", - "canonicalReference": "iceshrimp-js!~SharedConnection:class" - }, - { - "kind": "Content", - "text": "): " - }, - { - "kind": "Content", - "text": "void" - }, - { - "kind": "Content", - "text": ";" - } - ], - "isStatic": false, - "returnTypeTokenRange": { - "startIndex": 3, - "endIndex": 4 - }, - "releaseTag": "Public", - "isProtected": false, - "overloadIndex": 1, - "parameters": [ - { - "parameterName": "connection", - "parameterTypeTokenRange": { - "startIndex": 1, - "endIndex": 2 - }, - "isOptional": false - } - ], - "isOptional": false, - "isAbstract": false, - "name": "removeSharedConnection" - }, - { - "kind": "Method", - "canonicalReference": "iceshrimp-js!Stream#removeSharedConnectionPool:member(1)", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "removeSharedConnectionPool(pool: " - }, - { - "kind": "Reference", - "text": "Pool", - "canonicalReference": "iceshrimp-js!~Pool:class" - }, - { - "kind": "Content", - "text": "): " - }, - { - "kind": "Content", - "text": "void" - }, - { - "kind": "Content", - "text": ";" - } - ], - "isStatic": false, - "returnTypeTokenRange": { - "startIndex": 3, - "endIndex": 4 - }, - "releaseTag": "Public", - "isProtected": false, - "overloadIndex": 1, - "parameters": [ - { - "parameterName": "pool", - "parameterTypeTokenRange": { - "startIndex": 1, - "endIndex": 2 - }, - "isOptional": false - } - ], - "isOptional": false, - "isAbstract": false, - "name": "removeSharedConnectionPool" - }, - { - "kind": "Method", - "canonicalReference": "iceshrimp-js!Stream#send:member(1)", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "send(typeOrPayload: " - }, - { - "kind": "Content", - "text": "any" - }, - { - "kind": "Content", - "text": ", payload?: " - }, - { - "kind": "Content", - "text": "any" - }, - { - "kind": "Content", - "text": "): " - }, - { - "kind": "Content", - "text": "void" - }, - { - "kind": "Content", - "text": ";" - } - ], - "isStatic": false, - "returnTypeTokenRange": { - "startIndex": 5, - "endIndex": 6 - }, - "releaseTag": "Public", - "isProtected": false, - "overloadIndex": 1, - "parameters": [ - { - "parameterName": "typeOrPayload", - "parameterTypeTokenRange": { - "startIndex": 1, - "endIndex": 2 - }, - "isOptional": false - }, - { - "parameterName": "payload", - "parameterTypeTokenRange": { - "startIndex": 3, - "endIndex": 4 - }, - "isOptional": true - } - ], - "isOptional": false, - "isAbstract": false, - "name": "send" - }, - { - "kind": "Property", - "canonicalReference": "iceshrimp-js!Stream#state:member", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "state: " - }, - { - "kind": "Content", - "text": "\"initializing\" | \"reconnecting\" | \"connected\"" - }, - { - "kind": "Content", - "text": ";" - } - ], - "isReadonly": false, - "isOptional": false, - "releaseTag": "Public", - "name": "state", - "propertyTypeTokenRange": { - "startIndex": 1, - "endIndex": 2 - }, - "isStatic": false, - "isProtected": false, - "isAbstract": false - }, - { - "kind": "Method", - "canonicalReference": "iceshrimp-js!Stream#useChannel:member(1)", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "useChannel(\n\t\tchannel: " - }, - { - "kind": "Content", - "text": "C" - }, - { - "kind": "Content", - "text": ",\n\t\tparams?: " - }, - { - "kind": "Reference", - "text": "Channels", - "canonicalReference": "iceshrimp-js!Channels:type" - }, - { - "kind": "Content", - "text": "[C][\"params\"]" - }, - { - "kind": "Content", - "text": ",\n\t\tname?: " - }, - { - "kind": "Content", - "text": "string" - }, - { - "kind": "Content", - "text": ",\n\t): " - }, - { - "kind": "Reference", - "text": "Connection", - "canonicalReference": "iceshrimp-js!ChannelConnection:class" - }, - { - "kind": "Content", - "text": "<" - }, - { - "kind": "Reference", - "text": "Channels", - "canonicalReference": "iceshrimp-js!Channels:type" - }, - { - "kind": "Content", - "text": "[C]>" - }, - { - "kind": "Content", - "text": ";" - } - ], - "typeParameters": [ - { - "typeParameterName": "C", - "constraintTokenRange": { - "startIndex": 1, - "endIndex": 3 - }, - "defaultTypeTokenRange": { - "startIndex": 0, - "endIndex": 0 - } - } - ], - "isStatic": false, - "returnTypeTokenRange": { - "startIndex": 11, - "endIndex": 15 - }, - "releaseTag": "Public", - "isProtected": false, - "overloadIndex": 1, - "parameters": [ - { - "parameterName": "channel", - "parameterTypeTokenRange": { - "startIndex": 4, - "endIndex": 5 - }, - "isOptional": false - }, - { - "parameterName": "params", - "parameterTypeTokenRange": { - "startIndex": 6, - "endIndex": 8 - }, - "isOptional": true - }, - { - "parameterName": "name", - "parameterTypeTokenRange": { - "startIndex": 9, - "endIndex": 10 - }, - "isOptional": true - } - ], - "isOptional": false, - "isAbstract": false, - "name": "useChannel" - } - ], - "extendsTokenRange": { - "startIndex": 1, - "endIndex": 5 - }, - "implementsTokenRanges": [] - } - ] - } - ] -} diff --git a/packages/iceshrimp-js/etc/iceshrimp-js.api.md b/packages/iceshrimp-js/etc/iceshrimp-js.api.md deleted file mode 100644 index ba6cc4034..000000000 --- a/packages/iceshrimp-js/etc/iceshrimp-js.api.md +++ /dev/null @@ -1,2838 +0,0 @@ -## API Report File for "iceshrimp-js" - -> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). - -```ts - -import { EventEmitter } from 'eventemitter3'; - -// @public (undocumented) -export type Acct = { - username: string; - host: string | null; -}; - -// Warning: (ae-forgotten-export) The symbol "TODO_2" needs to be exported by the entry point index.d.ts -// -// @public (undocumented) -type Ad = TODO_2; - -// @public (undocumented) -type Announcement = { - id: ID; - createdAt: DateString; - updatedAt: DateString | null; - text: string; - title: string; - imageUrl: string | null; - isRead?: boolean; -}; - -// @public (undocumented) -type Antenna = { - id: ID; - createdAt: DateString; - name: string; - keywords: string[][]; - excludeKeywords: string[][]; - src: "home" | "all" | "users" | "list" | "group" | "instances"; - userListId: ID | null; - userGroupId: ID | null; - users: string[]; - instances: string[]; - caseSensitive: boolean; - notify: boolean; - withReplies: boolean; - withFile: boolean; - hasUnreadNote: boolean; -}; - -declare namespace api { - export { - isAPIError, - APIError, - FetchLike, - APIClient - } -} -export { api } - -// @public (undocumented) -class APIClient { - constructor(opts: { - origin: APIClient["origin"]; - credential?: APIClient["credential"]; - fetch?: APIClient["fetch"] | null | undefined; - }); - // (undocumented) - credential: string | null | undefined; - // (undocumented) - fetch: FetchLike; - // (undocumented) - origin: string; - // Warning: (ae-forgotten-export) The symbol "IsCaseMatched" needs to be exported by the entry point index.d.ts - // Warning: (ae-forgotten-export) The symbol "GetCaseResult" needs to be exported by the entry point index.d.ts - // - // (undocumented) - request( - endpoint: E, - params?: P, - credential?: string | null | undefined, - ): Promise< - Endpoints[E]["res"] extends { - $switch: { - $cases: [any, any][]; - $default: any; - }; - } - ? IsCaseMatched extends true - ? GetCaseResult - : IsCaseMatched extends true - ? GetCaseResult - : IsCaseMatched extends true - ? GetCaseResult - : IsCaseMatched extends true - ? GetCaseResult - : IsCaseMatched extends true - ? GetCaseResult - : IsCaseMatched extends true - ? GetCaseResult - : IsCaseMatched extends true - ? GetCaseResult - : IsCaseMatched extends true - ? GetCaseResult - : IsCaseMatched extends true - ? GetCaseResult - : IsCaseMatched extends true - ? GetCaseResult - : Endpoints[E]["res"]["$switch"]["$default"] - : Endpoints[E]["res"] - >; -} - -// @public (undocumented) -type APIError = { - id: string; - code: string; - message: string; - kind: "client" | "server"; - info: Record; -}; - -// @public (undocumented) -type App = TODO_2; - -// @public (undocumented) -type AuthSession = { - id: ID; - app: App; - token: string; -}; - -// @public (undocumented) -type Blocking = { - id: ID; - createdAt: DateString; - blockeeId: User["id"]; - blockee: UserDetailed; -}; - -// @public (undocumented) -type Channel = { - id: ID; -}; - -// Warning: (ae-forgotten-export) The symbol "AnyOf" needs to be exported by the entry point index.d.ts -// -// @public (undocumented) -export abstract class ChannelConnection< - Channel extends AnyOf = any, -> extends EventEmitter { - constructor(stream: Stream, channel: string, name?: string); - // (undocumented) - channel: string; - // (undocumented) - abstract dispose(): void; - // (undocumented) - abstract id: string; - // (undocumented) - inCount: number; - // (undocumented) - name?: string; - // (undocumented) - outCount: number; - // (undocumented) - send( - type: T, - body: Channel["receives"][T], - ): void; - // (undocumented) - protected stream: Stream; -} - -// @public (undocumented) -export type Channels = { - main: { - params: null; - events: { - notification: (payload: Notification_2) => void; - mention: (payload: Note) => void; - reply: (payload: Note) => void; - renote: (payload: Note) => void; - follow: (payload: User) => void; - followed: (payload: User) => void; - unfollow: (payload: User) => void; - meUpdated: (payload: MeDetailed) => void; - pageEvent: (payload: PageEvent) => void; - urlUploadFinished: (payload: { - marker: string; - file: DriveFile; - }) => void; - readAllNotifications: () => void; - unreadNotification: (payload: Notification_2) => void; - unreadMention: (payload: Note["id"]) => void; - readAllUnreadMentions: () => void; - unreadSpecifiedNote: (payload: Note["id"]) => void; - readAllUnreadSpecifiedNotes: () => void; - readAllMessagingMessages: () => void; - messagingMessage: (payload: MessagingMessage) => void; - unreadMessagingMessage: (payload: MessagingMessage) => void; - readAllAntennas: () => void; - unreadAntenna: (payload: Antenna) => void; - readAllAnnouncements: () => void; - readAllChannels: () => void; - unreadChannel: (payload: Note["id"]) => void; - myTokenRegenerated: () => void; - reversiNoInvites: () => void; - reversiInvited: (payload: FIXME) => void; - signin: (payload: FIXME) => void; - registryUpdated: (payload: { - scope?: string[]; - key: string; - value: any | null; - }) => void; - driveFileCreated: (payload: DriveFile) => void; - readAntenna: (payload: Antenna) => void; - }; - receives: null; - }; - homeTimeline: { - params: null; - events: { - note: (payload: Note) => void; - }; - receives: null; - }; - localTimeline: { - params: null; - events: { - note: (payload: Note) => void; - }; - receives: null; - }; - hybridTimeline: { - params: null; - events: { - note: (payload: Note) => void; - }; - receives: null; - }; - recommendedTimeline: { - params: null; - events: { - note: (payload: Note) => void; - }; - receives: null; - }; - globalTimeline: { - params: null; - events: { - note: (payload: Note) => void; - }; - receives: null; - }; - antenna: { - params: { - antennaId: Antenna["id"]; - }; - events: { - note: (payload: Note) => void; - }; - receives: null; - }; - messaging: { - params: { - otherparty?: User["id"] | null; - group?: UserGroup["id"] | null; - }; - events: { - message: (payload: MessagingMessage) => void; - deleted: (payload: MessagingMessage["id"]) => void; - read: (payload: MessagingMessage["id"][]) => void; - typers: (payload: User[]) => void; - }; - receives: { - read: { - id: MessagingMessage["id"]; - }; - }; - }; - serverStats: { - params: null; - events: { - stats: (payload: FIXME) => void; - }; - receives: { - requestLog: { - id: string | number; - length: number; - }; - }; - }; - queueStats: { - params: null; - events: { - stats: (payload: FIXME) => void; - }; - receives: { - requestLog: { - id: string | number; - length: number; - }; - }; - }; -}; - -// @public (undocumented) -type Clip = TODO_2; - -// @public (undocumented) -type CustomEmoji = { - id: string; - name: string; - url: string; - category: string; - aliases: string[]; -}; - -// @public (undocumented) -type DateString = string; - -// @public (undocumented) -type DetailedInstanceMetadata = LiteInstanceMetadata & { - features: Record; -}; - -// @public (undocumented) -type DriveFile = { - id: ID; - createdAt: DateString; - isSensitive: boolean; - name: string; - thumbnailUrl: string; - url: string; - type: string; - size: number; - md5: string; - blurhash: string; - comment: string | null; - properties: Record; -}; - -// @public (undocumented) -type DriveFolder = TODO_2; - -// @public (undocumented) -export type Endpoints = { - "admin/abuse-user-reports": { - req: TODO; - res: TODO; - }; - "admin/delete-all-files-of-a-user": { - req: { - userId: User["id"]; - }; - res: null; - }; - "admin/delete-logs": { - req: NoParams; - res: null; - }; - "admin/get-index-stats": { - req: TODO; - res: TODO; - }; - "admin/get-table-stats": { - req: TODO; - res: TODO; - }; - "admin/invite": { - req: TODO; - res: TODO; - }; - "admin/logs": { - req: TODO; - res: TODO; - }; - "admin/meta": { - req: TODO; - res: TODO; - }; - "admin/reset-password": { - req: TODO; - res: TODO; - }; - "admin/resolve-abuse-user-report": { - req: TODO; - res: TODO; - }; - "admin/resync-chart": { - req: TODO; - res: TODO; - }; - "admin/send-email": { - req: TODO; - res: TODO; - }; - "admin/server-info": { - req: TODO; - res: TODO; - }; - "admin/show-moderation-logs": { - req: TODO; - res: TODO; - }; - "admin/show-user": { - req: TODO; - res: TODO; - }; - "admin/show-users": { - req: TODO; - res: TODO; - }; - "admin/silence-user": { - req: TODO; - res: TODO; - }; - "admin/suspend-user": { - req: TODO; - res: TODO; - }; - "admin/unsilence-user": { - req: TODO; - res: TODO; - }; - "admin/unsuspend-user": { - req: TODO; - res: TODO; - }; - "admin/update-meta": { - req: TODO; - res: TODO; - }; - "admin/vacuum": { - req: TODO; - res: TODO; - }; - "admin/accounts/create": { - req: TODO; - res: TODO; - }; - "admin/ad/create": { - req: TODO; - res: TODO; - }; - "admin/ad/delete": { - req: { - id: Ad["id"]; - }; - res: null; - }; - "admin/ad/list": { - req: TODO; - res: TODO; - }; - "admin/ad/update": { - req: TODO; - res: TODO; - }; - "admin/announcements/create": { - req: TODO; - res: TODO; - }; - "admin/announcements/delete": { - req: { - id: Announcement["id"]; - }; - res: null; - }; - "admin/announcements/list": { - req: TODO; - res: TODO; - }; - "admin/announcements/update": { - req: TODO; - res: TODO; - }; - "admin/drive/clean-remote-files": { - req: TODO; - res: TODO; - }; - "admin/drive/cleanup": { - req: TODO; - res: TODO; - }; - "admin/drive/files": { - req: TODO; - res: TODO; - }; - "admin/drive/show-file": { - req: TODO; - res: TODO; - }; - "admin/emoji/add": { - req: TODO; - res: TODO; - }; - "admin/emoji/copy": { - req: TODO; - res: TODO; - }; - "admin/emoji/list-remote": { - req: TODO; - res: TODO; - }; - "admin/emoji/list": { - req: TODO; - res: TODO; - }; - "admin/emoji/remove": { - req: TODO; - res: TODO; - }; - "admin/emoji/update": { - req: TODO; - res: TODO; - }; - "admin/federation/delete-all-files": { - req: { - host: string; - }; - res: null; - }; - "admin/federation/refresh-remote-instance-metadata": { - req: TODO; - res: TODO; - }; - "admin/federation/remove-all-following": { - req: TODO; - res: TODO; - }; - "admin/federation/update-instance": { - req: TODO; - res: TODO; - }; - "admin/moderators/add": { - req: TODO; - res: TODO; - }; - "admin/moderators/remove": { - req: TODO; - res: TODO; - }; - "admin/promo/create": { - req: TODO; - res: TODO; - }; - "admin/queue/clear": { - req: TODO; - res: TODO; - }; - "admin/queue/deliver-delayed": { - req: TODO; - res: TODO; - }; - "admin/queue/inbox-delayed": { - req: TODO; - res: TODO; - }; - "admin/queue/jobs": { - req: TODO; - res: TODO; - }; - "admin/queue/stats": { - req: TODO; - res: TODO; - }; - "admin/relays/add": { - req: TODO; - res: TODO; - }; - "admin/relays/list": { - req: TODO; - res: TODO; - }; - "admin/relays/remove": { - req: TODO; - res: TODO; - }; - announcements: { - req: { - limit?: number; - withUnreads?: boolean; - sinceId?: Announcement["id"]; - untilId?: Announcement["id"]; - }; - res: Announcement[]; - }; - "antennas/create": { - req: TODO; - res: Antenna; - }; - "antennas/delete": { - req: { - antennaId: Antenna["id"]; - }; - res: null; - }; - "antennas/list": { - req: NoParams; - res: Antenna[]; - }; - "antennas/notes": { - req: { - antennaId: Antenna["id"]; - limit?: number; - sinceId?: Note["id"]; - untilId?: Note["id"]; - }; - res: Note[]; - }; - "antennas/show": { - req: { - antennaId: Antenna["id"]; - }; - res: Antenna; - }; - "antennas/update": { - req: TODO; - res: Antenna; - }; - "antennas/mark-read": { - req: TODO; - res: Antenna; - }; - "ap/get": { - req: { - uri: string; - }; - res: Record; - }; - "ap/show": { - req: { - uri: string; - }; - res: - | { - type: "Note"; - object: Note; - } - | { - type: "User"; - object: UserDetailed; - }; - }; - "app/create": { - req: TODO; - res: App; - }; - "app/show": { - req: { - appId: App["id"]; - }; - res: App; - }; - "auth/accept": { - req: { - token: string; - }; - res: null; - }; - "auth/session/generate": { - req: { - appSecret: string; - }; - res: { - token: string; - url: string; - }; - }; - "auth/session/show": { - req: { - token: string; - }; - res: AuthSession; - }; - "auth/session/userkey": { - req: { - appSecret: string; - token: string; - }; - res: { - accessToken: string; - user: User; - }; - }; - "blocking/create": { - req: { - userId: User["id"]; - }; - res: UserDetailed; - }; - "blocking/delete": { - req: { - userId: User["id"]; - }; - res: UserDetailed; - }; - "blocking/list": { - req: { - limit?: number; - sinceId?: Blocking["id"]; - untilId?: Blocking["id"]; - }; - res: Blocking[]; - }; - "channels/create": { - req: TODO; - res: TODO; - }; - "channels/featured": { - req: TODO; - res: TODO; - }; - "channels/follow": { - req: TODO; - res: TODO; - }; - "channels/followed": { - req: TODO; - res: TODO; - }; - "channels/owned": { - req: TODO; - res: TODO; - }; - "channels/pin-note": { - req: TODO; - res: TODO; - }; - "channels/show": { - req: TODO; - res: TODO; - }; - "channels/timeline": { - req: TODO; - res: TODO; - }; - "channels/unfollow": { - req: TODO; - res: TODO; - }; - "channels/update": { - req: TODO; - res: TODO; - }; - "charts/active-users": { - req: { - span: "day" | "hour"; - limit?: number; - offset?: number | null; - }; - res: { - local: { - users: number[]; - }; - remote: { - users: number[]; - }; - }; - }; - "charts/drive": { - req: { - span: "day" | "hour"; - limit?: number; - offset?: number | null; - }; - res: { - local: { - decCount: number[]; - decSize: number[]; - incCount: number[]; - incSize: number[]; - totalCount: number[]; - totalSize: number[]; - }; - remote: { - decCount: number[]; - decSize: number[]; - incCount: number[]; - incSize: number[]; - totalCount: number[]; - totalSize: number[]; - }; - }; - }; - "charts/federation": { - req: { - span: "day" | "hour"; - limit?: number; - offset?: number | null; - }; - res: { - instance: { - dec: number[]; - inc: number[]; - total: number[]; - }; - }; - }; - "charts/hashtag": { - req: { - span: "day" | "hour"; - limit?: number; - offset?: number | null; - }; - res: TODO; - }; - "charts/instance": { - req: { - span: "day" | "hour"; - limit?: number; - offset?: number | null; - host: string; - }; - res: { - drive: { - decFiles: number[]; - decUsage: number[]; - incFiles: number[]; - incUsage: number[]; - totalFiles: number[]; - totalUsage: number[]; - }; - followers: { - dec: number[]; - inc: number[]; - total: number[]; - }; - following: { - dec: number[]; - inc: number[]; - total: number[]; - }; - notes: { - dec: number[]; - inc: number[]; - total: number[]; - diffs: { - normal: number[]; - renote: number[]; - reply: number[]; - }; - }; - requests: { - failed: number[]; - received: number[]; - succeeded: number[]; - }; - users: { - dec: number[]; - inc: number[]; - total: number[]; - }; - }; - }; - "charts/network": { - req: { - span: "day" | "hour"; - limit?: number; - offset?: number | null; - }; - res: TODO; - }; - "charts/notes": { - req: { - span: "day" | "hour"; - limit?: number; - offset?: number | null; - }; - res: { - local: { - dec: number[]; - inc: number[]; - total: number[]; - diffs: { - normal: number[]; - renote: number[]; - reply: number[]; - }; - }; - remote: { - dec: number[]; - inc: number[]; - total: number[]; - diffs: { - normal: number[]; - renote: number[]; - reply: number[]; - }; - }; - }; - }; - "charts/user/drive": { - req: { - span: "day" | "hour"; - limit?: number; - offset?: number | null; - userId: User["id"]; - }; - res: { - decCount: number[]; - decSize: number[]; - incCount: number[]; - incSize: number[]; - totalCount: number[]; - totalSize: number[]; - }; - }; - "charts/user/following": { - req: { - span: "day" | "hour"; - limit?: number; - offset?: number | null; - userId: User["id"]; - }; - res: TODO; - }; - "charts/user/notes": { - req: { - span: "day" | "hour"; - limit?: number; - offset?: number | null; - userId: User["id"]; - }; - res: { - dec: number[]; - inc: number[]; - total: number[]; - diffs: { - normal: number[]; - renote: number[]; - reply: number[]; - }; - }; - }; - "charts/user/reactions": { - req: { - span: "day" | "hour"; - limit?: number; - offset?: number | null; - userId: User["id"]; - }; - res: TODO; - }; - "charts/users": { - req: { - span: "day" | "hour"; - limit?: number; - offset?: number | null; - }; - res: { - local: { - dec: number[]; - inc: number[]; - total: number[]; - }; - remote: { - dec: number[]; - inc: number[]; - total: number[]; - }; - }; - }; - "clips/add-note": { - req: TODO; - res: TODO; - }; - "clips/create": { - req: TODO; - res: TODO; - }; - "clips/delete": { - req: { - clipId: Clip["id"]; - }; - res: null; - }; - "clips/list": { - req: TODO; - res: TODO; - }; - "clips/notes": { - req: TODO; - res: TODO; - }; - "clips/show": { - req: TODO; - res: TODO; - }; - "clips/update": { - req: TODO; - res: TODO; - }; - drive: { - req: NoParams; - res: { - capacity: number; - usage: number; - }; - }; - "drive/files": { - req: { - folderId?: DriveFolder["id"] | null; - type?: DriveFile["type"] | null; - limit?: number; - sinceId?: DriveFile["id"]; - untilId?: DriveFile["id"]; - }; - res: DriveFile[]; - }; - "drive/files/attached-notes": { - req: TODO; - res: TODO; - }; - "drive/files/check-existence": { - req: TODO; - res: TODO; - }; - "drive/files/create": { - req: TODO; - res: TODO; - }; - "drive/files/delete": { - req: { - fileId: DriveFile["id"]; - }; - res: null; - }; - "drive/files/find-by-hash": { - req: TODO; - res: TODO; - }; - "drive/files/find": { - req: { - name: string; - folderId?: DriveFolder["id"] | null; - }; - res: DriveFile[]; - }; - "drive/files/show": { - req: { - fileId?: DriveFile["id"]; - url?: string; - }; - res: DriveFile; - }; - "drive/files/update": { - req: { - fileId: DriveFile["id"]; - folderId?: DriveFolder["id"] | null; - name?: string; - isSensitive?: boolean; - comment?: string | null; - }; - res: DriveFile; - }; - "drive/files/upload-from-url": { - req: { - url: string; - folderId?: DriveFolder["id"] | null; - isSensitive?: boolean; - comment?: string | null; - marker?: string | null; - force?: boolean; - }; - res: null; - }; - "drive/folders": { - req: { - folderId?: DriveFolder["id"] | null; - limit?: number; - sinceId?: DriveFile["id"]; - untilId?: DriveFile["id"]; - }; - res: DriveFolder[]; - }; - "drive/folders/create": { - req: { - name?: string; - parentId?: DriveFolder["id"] | null; - }; - res: DriveFolder; - }; - "drive/folders/delete": { - req: { - folderId: DriveFolder["id"]; - }; - res: null; - }; - "drive/folders/find": { - req: { - name: string; - parentId?: DriveFolder["id"] | null; - }; - res: DriveFolder[]; - }; - "drive/folders/show": { - req: { - folderId: DriveFolder["id"]; - }; - res: DriveFolder; - }; - "drive/folders/update": { - req: { - folderId: DriveFolder["id"]; - name?: string; - parentId?: DriveFolder["id"] | null; - }; - res: DriveFolder; - }; - "drive/stream": { - req: { - type?: DriveFile["type"] | null; - limit?: number; - sinceId?: DriveFile["id"]; - untilId?: DriveFile["id"]; - }; - res: DriveFile[]; - }; - endpoint: { - req: { - endpoint: string; - }; - res: { - params: { - name: string; - type: string; - }[]; - }; - }; - endpoints: { - req: NoParams; - res: string[]; - }; - "federation/dns": { - req: { - host: string; - }; - res: { - a: string[]; - aaaa: string[]; - cname: string[]; - txt: string[]; - }; - }; - "federation/followers": { - req: { - host: string; - limit?: number; - sinceId?: Following["id"]; - untilId?: Following["id"]; - }; - res: FollowingFolloweePopulated[]; - }; - "federation/following": { - req: { - host: string; - limit?: number; - sinceId?: Following["id"]; - untilId?: Following["id"]; - }; - res: FollowingFolloweePopulated[]; - }; - "federation/instances": { - req: { - host?: string | null; - blocked?: boolean | null; - notResponding?: boolean | null; - suspended?: boolean | null; - federating?: boolean | null; - subscribing?: boolean | null; - publishing?: boolean | null; - limit?: number; - offset?: number; - sort?: - | "+pubSub" - | "-pubSub" - | "+notes" - | "-notes" - | "+users" - | "-users" - | "+following" - | "-following" - | "+followers" - | "-followers" - | "+caughtAt" - | "-caughtAt" - | "+lastCommunicatedAt" - | "-lastCommunicatedAt" - | "+driveUsage" - | "-driveUsage" - | "+driveFiles" - | "-driveFiles"; - }; - res: Instance[]; - }; - "federation/show-instance": { - req: { - host: string; - }; - res: Instance; - }; - "federation/update-remote-user": { - req: { - userId: User["id"]; - }; - res: null; - }; - "federation/users": { - req: { - host: string; - limit?: number; - sinceId?: User["id"]; - untilId?: User["id"]; - }; - res: UserDetailed[]; - }; - "following/create": { - req: { - userId: User["id"]; - }; - res: User; - }; - "following/delete": { - req: { - userId: User["id"]; - }; - res: User; - }; - "following/requests/accept": { - req: { - userId: User["id"]; - }; - res: null; - }; - "following/requests/cancel": { - req: { - userId: User["id"]; - }; - res: User; - }; - "following/requests/list": { - req: NoParams; - res: FollowRequest[]; - }; - "following/requests/reject": { - req: { - userId: User["id"]; - }; - res: null; - }; - "gallery/featured": { - req: TODO; - res: TODO; - }; - "gallery/popular": { - req: TODO; - res: TODO; - }; - "gallery/posts": { - req: TODO; - res: TODO; - }; - "gallery/posts/create": { - req: TODO; - res: TODO; - }; - "gallery/posts/delete": { - req: { - postId: GalleryPost["id"]; - }; - res: null; - }; - "gallery/posts/like": { - req: TODO; - res: TODO; - }; - "gallery/posts/show": { - req: TODO; - res: TODO; - }; - "gallery/posts/unlike": { - req: TODO; - res: TODO; - }; - "gallery/posts/update": { - req: TODO; - res: TODO; - }; - "games/reversi/games": { - req: TODO; - res: TODO; - }; - "games/reversi/games/show": { - req: TODO; - res: TODO; - }; - "games/reversi/games/surrender": { - req: TODO; - res: TODO; - }; - "games/reversi/invitations": { - req: TODO; - res: TODO; - }; - "games/reversi/match": { - req: TODO; - res: TODO; - }; - "games/reversi/match/cancel": { - req: TODO; - res: TODO; - }; - "get-online-users-count": { - req: NoParams; - res: { - count: number; - }; - }; - "hashtags/list": { - req: TODO; - res: TODO; - }; - "hashtags/search": { - req: TODO; - res: TODO; - }; - "hashtags/show": { - req: TODO; - res: TODO; - }; - "hashtags/trend": { - req: TODO; - res: TODO; - }; - "hashtags/users": { - req: TODO; - res: TODO; - }; - i: { - req: NoParams; - res: User; - }; - "i/apps": { - req: TODO; - res: TODO; - }; - "i/authorized-apps": { - req: TODO; - res: TODO; - }; - "i/change-password": { - req: TODO; - res: TODO; - }; - "i/delete-account": { - req: { - password: string; - }; - res: null; - }; - "i/export-blocking": { - req: TODO; - res: TODO; - }; - "i/export-following": { - req: TODO; - res: TODO; - }; - "i/export-mute": { - req: TODO; - res: TODO; - }; - "i/export-notes": { - req: TODO; - res: TODO; - }; - "i/export-user-lists": { - req: TODO; - res: TODO; - }; - "i/favorites": { - req: { - limit?: number; - sinceId?: NoteFavorite["id"]; - untilId?: NoteFavorite["id"]; - }; - res: NoteFavorite[]; - }; - "i/gallery/likes": { - req: TODO; - res: TODO; - }; - "i/gallery/posts": { - req: TODO; - res: TODO; - }; - "i/get-word-muted-notes-count": { - req: TODO; - res: TODO; - }; - "i/import-following": { - req: TODO; - res: TODO; - }; - "i/import-user-lists": { - req: TODO; - res: TODO; - }; - "i/move": { - req: TODO; - res: TODO; - }; - "i/known-as": { - req: TODO; - res: TODO; - }; - "i/notifications": { - req: { - limit?: number; - sinceId?: Notification_2["id"]; - untilId?: Notification_2["id"]; - following?: boolean; - markAsRead?: boolean; - includeTypes?: Notification_2["type"][]; - excludeTypes?: Notification_2["type"][]; - }; - res: Notification_2[]; - }; - "i/page-likes": { - req: TODO; - res: TODO; - }; - "i/pages": { - req: TODO; - res: TODO; - }; - "i/pin": { - req: { - noteId: Note["id"]; - }; - res: MeDetailed; - }; - "i/read-all-messaging-messages": { - req: TODO; - res: TODO; - }; - "i/read-all-unread-notes": { - req: TODO; - res: TODO; - }; - "i/read-announcement": { - req: TODO; - res: TODO; - }; - "i/regenerate-token": { - req: { - password: string; - }; - res: null; - }; - "i/registry/get-all": { - req: { - scope?: string[]; - }; - res: Record; - }; - "i/registry/get-detail": { - req: { - key: string; - scope?: string[]; - }; - res: { - updatedAt: DateString; - value: any; - }; - }; - "i/registry/get": { - req: { - key: string; - scope?: string[]; - }; - res: any; - }; - "i/registry/keys-with-type": { - req: { - scope?: string[]; - }; - res: Record< - string, - "null" | "array" | "number" | "string" | "boolean" | "object" - >; - }; - "i/registry/keys": { - req: { - scope?: string[]; - }; - res: string[]; - }; - "i/registry/remove": { - req: { - key: string; - scope?: string[]; - }; - res: null; - }; - "i/registry/scopes": { - req: NoParams; - res: string[][]; - }; - "i/registry/set": { - req: { - key: string; - value: any; - scope?: string[]; - }; - res: null; - }; - "i/revoke-token": { - req: TODO; - res: TODO; - }; - "i/signin-history": { - req: { - limit?: number; - sinceId?: Signin["id"]; - untilId?: Signin["id"]; - }; - res: Signin[]; - }; - "i/unpin": { - req: { - noteId: Note["id"]; - }; - res: MeDetailed; - }; - "i/update-email": { - req: { - password: string; - email?: string | null; - }; - res: MeDetailed; - }; - "i/update": { - req: { - name?: string | null; - description?: string | null; - lang?: string | null; - location?: string | null; - birthday?: string | null; - avatarId?: DriveFile["id"] | null; - bannerId?: DriveFile["id"] | null; - fields?: { - name: string; - value: string; - }[]; - isLocked?: boolean; - isExplorable?: boolean; - hideOnlineStatus?: boolean; - carefulBot?: boolean; - autoAcceptFollowed?: boolean; - noCrawle?: boolean; - preventAiLearning?: boolean; - isBot?: boolean; - isCat?: boolean; - injectFeaturedNote?: boolean; - receiveAnnouncementEmail?: boolean; - alwaysMarkNsfw?: boolean; - mutedWords?: string[][]; - mutingNotificationTypes?: Notification_2["type"][]; - emailNotificationTypes?: string[]; - }; - res: MeDetailed; - }; - "i/user-group-invites": { - req: TODO; - res: TODO; - }; - "i/2fa/done": { - req: TODO; - res: TODO; - }; - "i/2fa/key-done": { - req: TODO; - res: TODO; - }; - "i/2fa/password-less": { - req: TODO; - res: TODO; - }; - "i/2fa/register-key": { - req: TODO; - res: TODO; - }; - "i/2fa/register": { - req: TODO; - res: TODO; - }; - "i/2fa/update-key": { - req: TODO; - res: TODO; - }; - "i/2fa/remove-key": { - req: TODO; - res: TODO; - }; - "i/2fa/unregister": { - req: TODO; - res: TODO; - }; - "messaging/history": { - req: { - limit?: number; - group?: boolean; - }; - res: MessagingMessage[]; - }; - "messaging/messages": { - req: { - userId?: User["id"]; - groupId?: UserGroup["id"]; - limit?: number; - sinceId?: MessagingMessage["id"]; - untilId?: MessagingMessage["id"]; - markAsRead?: boolean; - }; - res: MessagingMessage[]; - }; - "messaging/messages/create": { - req: { - userId?: User["id"]; - groupId?: UserGroup["id"]; - text?: string; - fileId?: DriveFile["id"]; - }; - res: MessagingMessage; - }; - "messaging/messages/delete": { - req: { - messageId: MessagingMessage["id"]; - }; - res: null; - }; - "messaging/messages/read": { - req: { - messageId: MessagingMessage["id"]; - }; - res: null; - }; - meta: { - req: { - detail?: boolean; - }; - res: { - $switch: { - $cases: [ - [ - { - detail: true; - }, - DetailedInstanceMetadata, - ], - [ - { - detail: false; - }, - LiteInstanceMetadata, - ], - [ - { - detail: boolean; - }, - LiteInstanceMetadata | DetailedInstanceMetadata, - ], - ]; - $default: LiteInstanceMetadata; - }; - }; - }; - "miauth/gen-token": { - req: TODO; - res: TODO; - }; - "mute/create": { - req: TODO; - res: TODO; - }; - "mute/delete": { - req: { - userId: User["id"]; - }; - res: null; - }; - "mute/list": { - req: TODO; - res: TODO; - }; - "renote-mute/create": { - req: TODO; - res: TODO; - }; - "renote-mute/delete": { - req: { - userId: User["id"]; - }; - res: null; - }; - "renote-mute/list": { - req: TODO; - res: TODO; - }; - "my/apps": { - req: TODO; - res: TODO; - }; - notes: { - req: { - limit?: number; - sinceId?: Note["id"]; - untilId?: Note["id"]; - }; - res: Note[]; - }; - "notes/children": { - req: { - noteId: Note["id"]; - limit?: number; - sinceId?: Note["id"]; - untilId?: Note["id"]; - }; - res: Note[]; - }; - "notes/clips": { - req: TODO; - res: TODO; - }; - "notes/conversation": { - req: TODO; - res: TODO; - }; - "notes/create": { - req: NoteSubmitReq; - res: { - createdNote: Note; - }; - }; - "notes/delete": { - req: { - noteId: Note["id"]; - }; - res: null; - }; - "notes/edit": { - req: NoteSubmitReq; - res: { - createdNote: Note; - }; - }; - "notes/favorites/create": { - req: { - noteId: Note["id"]; - }; - res: null; - }; - "notes/favorites/delete": { - req: { - noteId: Note["id"]; - }; - res: null; - }; - "notes/featured": { - req: TODO; - res: Note[]; - }; - "notes/global-timeline": { - req: { - limit?: number; - sinceId?: Note["id"]; - untilId?: Note["id"]; - sinceDate?: number; - untilDate?: number; - }; - res: Note[]; - }; - "notes/recommended-timeline": { - req: { - limit?: number; - sinceId?: Note["id"]; - untilId?: Note["id"]; - sinceDate?: number; - untilDate?: number; - }; - res: Note[]; - }; - "notes/hybrid-timeline": { - req: { - limit?: number; - sinceId?: Note["id"]; - untilId?: Note["id"]; - sinceDate?: number; - untilDate?: number; - }; - res: Note[]; - }; - "notes/local-timeline": { - req: { - limit?: number; - sinceId?: Note["id"]; - untilId?: Note["id"]; - sinceDate?: number; - untilDate?: number; - }; - res: Note[]; - }; - "notes/mentions": { - req: { - following?: boolean; - limit?: number; - sinceId?: Note["id"]; - untilId?: Note["id"]; - }; - res: Note[]; - }; - "notes/polls/recommendation": { - req: TODO; - res: TODO; - }; - "notes/polls/vote": { - req: { - noteId: Note["id"]; - choice: number; - }; - res: null; - }; - "notes/reactions": { - req: { - noteId: Note["id"]; - type?: string | null; - limit?: number; - }; - res: NoteReaction[]; - }; - "notes/reactions/create": { - req: { - noteId: Note["id"]; - reaction: string; - }; - res: null; - }; - "notes/reactions/delete": { - req: { - noteId: Note["id"]; - }; - res: null; - }; - "notes/renotes": { - req: { - limit?: number; - sinceId?: Note["id"]; - untilId?: Note["id"]; - noteId: Note["id"]; - }; - res: Note[]; - }; - "notes/replies": { - req: { - limit?: number; - sinceId?: Note["id"]; - untilId?: Note["id"]; - noteId: Note["id"]; - }; - res: Note[]; - }; - "notes/search-by-tag": { - req: TODO; - res: TODO; - }; - "notes/search": { - req: TODO; - res: TODO; - }; - "notes/show": { - req: { - noteId: Note["id"]; - }; - res: Note; - }; - "notes/state": { - req: TODO; - res: TODO; - }; - "notes/timeline": { - req: { - limit?: number; - sinceId?: Note["id"]; - untilId?: Note["id"]; - sinceDate?: number; - untilDate?: number; - }; - res: Note[]; - }; - "notes/unrenote": { - req: { - noteId: Note["id"]; - }; - res: null; - }; - "notes/user-list-timeline": { - req: { - listId: UserList["id"]; - limit?: number; - sinceId?: Note["id"]; - untilId?: Note["id"]; - sinceDate?: number; - untilDate?: number; - }; - res: Note[]; - }; - "notes/watching/create": { - req: TODO; - res: TODO; - }; - "notes/watching/delete": { - req: { - noteId: Note["id"]; - }; - res: null; - }; - "notifications/create": { - req: { - body: string; - header?: string | null; - icon?: string | null; - }; - res: null; - }; - "notifications/mark-all-as-read": { - req: NoParams; - res: null; - }; - "notifications/read": { - req: { - notificationId: Notification_2["id"]; - }; - res: null; - }; - "page-push": { - req: { - pageId: Page["id"]; - event: string; - var?: any; - }; - res: null; - }; - "pages/create": { - req: TODO; - res: Page; - }; - "pages/delete": { - req: { - pageId: Page["id"]; - }; - res: null; - }; - "pages/featured": { - req: NoParams; - res: Page[]; - }; - "pages/like": { - req: { - pageId: Page["id"]; - }; - res: null; - }; - "pages/show": { - req: { - pageId?: Page["id"]; - name?: string; - username?: string; - }; - res: Page; - }; - "pages/unlike": { - req: { - pageId: Page["id"]; - }; - res: null; - }; - "pages/update": { - req: TODO; - res: null; - }; - ping: { - req: NoParams; - res: { - pong: number; - }; - }; - "pinned-users": { - req: TODO; - res: TODO; - }; - "promo/read": { - req: TODO; - res: TODO; - }; - "request-reset-password": { - req: { - username: string; - email: string; - }; - res: null; - }; - "reset-password": { - req: { - token: string; - password: string; - }; - res: null; - }; - "room/show": { - req: TODO; - res: TODO; - }; - "room/update": { - req: TODO; - res: TODO; - }; - stats: { - req: NoParams; - res: Stats; - }; - "server-info": { - req: NoParams; - res: ServerInfo; - }; - "latest-version": { - req: NoParams; - res: TODO; - }; - "sw/register": { - req: TODO; - res: TODO; - }; - "username/available": { - req: { - username: string; - }; - res: { - available: boolean; - }; - }; - users: { - req: { - limit?: number; - offset?: number; - sort?: UserSorting; - origin?: OriginType; - }; - res: User[]; - }; - "users/clips": { - req: TODO; - res: TODO; - }; - "users/followers": { - req: { - userId?: User["id"]; - username?: User["username"]; - host?: User["host"] | null; - limit?: number; - sinceId?: Following["id"]; - untilId?: Following["id"]; - }; - res: FollowingFollowerPopulated[]; - }; - "users/following": { - req: { - userId?: User["id"]; - username?: User["username"]; - host?: User["host"] | null; - limit?: number; - sinceId?: Following["id"]; - untilId?: Following["id"]; - }; - res: FollowingFolloweePopulated[]; - }; - "users/gallery/posts": { - req: TODO; - res: TODO; - }; - "users/get-frequently-replied-users": { - req: TODO; - res: TODO; - }; - "users/groups/create": { - req: TODO; - res: TODO; - }; - "users/groups/delete": { - req: { - groupId: UserGroup["id"]; - }; - res: null; - }; - "users/groups/invitations/accept": { - req: TODO; - res: TODO; - }; - "users/groups/invitations/reject": { - req: TODO; - res: TODO; - }; - "users/groups/invite": { - req: TODO; - res: TODO; - }; - "users/groups/joined": { - req: TODO; - res: TODO; - }; - "users/groups/owned": { - req: TODO; - res: TODO; - }; - "users/groups/pull": { - req: TODO; - res: TODO; - }; - "users/groups/show": { - req: TODO; - res: TODO; - }; - "users/groups/transfer": { - req: TODO; - res: TODO; - }; - "users/groups/update": { - req: TODO; - res: TODO; - }; - "users/lists/create": { - req: { - name: string; - }; - res: UserList; - }; - "users/lists/delete": { - req: { - listId: UserList["id"]; - }; - res: null; - }; - "users/lists/list": { - req: NoParams; - res: UserList[]; - }; - "users/lists/pull": { - req: { - listId: UserList["id"]; - userId: User["id"]; - }; - res: null; - }; - "users/lists/push": { - req: { - listId: UserList["id"]; - userId: User["id"]; - }; - res: null; - }; - "users/lists/show": { - req: { - listId: UserList["id"]; - }; - res: UserList; - }; - "users/lists/update": { - req: { - listId: UserList["id"]; - name: string; - }; - res: UserList; - }; - "users/notes": { - req: { - userId: User["id"]; - limit?: number; - sinceId?: Note["id"]; - untilId?: Note["id"]; - sinceDate?: number; - untilDate?: number; - }; - res: Note[]; - }; - "users/pages": { - req: TODO; - res: TODO; - }; - "users/recommendation": { - req: TODO; - res: TODO; - }; - "users/relation": { - req: TODO; - res: TODO; - }; - "users/report-abuse": { - req: TODO; - res: TODO; - }; - "users/search-by-username-and-host": { - req: TODO; - res: TODO; - }; - "users/search": { - req: TODO; - res: TODO; - }; - "users/show": { - req: - | ShowUserReq - | { - userIds: User["id"][]; - }; - res: { - $switch: { - $cases: [ - [ - { - userIds: User["id"][]; - }, - UserDetailed[], - ], - ]; - $default: UserDetailed; - }; - }; - }; - "users/stats": { - req: TODO; - res: TODO; - }; -}; - -declare namespace entities { - export { - ID, - DateString, - User, - UserLite, - UserDetailed, - UserGroup, - UserList, - MeDetailed, - DriveFile, - DriveFolder, - GalleryPost, - Note, - NoteReaction, - Notification_2 as Notification, - MessagingMessage, - CustomEmoji, - LiteInstanceMetadata, - DetailedInstanceMetadata, - InstanceMetadata, - ServerInfo, - Stats, - Page, - PageEvent, - Announcement, - Antenna, - App, - AuthSession, - Ad, - Clip, - NoteFavorite, - FollowRequest, - Channel, - Following, - FollowingFolloweePopulated, - FollowingFollowerPopulated, - Blocking, - Instance, - Signin, - UserSorting, - OriginType - } -} -export { entities } - -// @public (undocumented) -type FetchLike = ( - input: string, - init?: { - method?: string; - body?: string; - credentials?: RequestCredentials; - cache?: RequestCache; - }, -) => Promise<{ - status: number; - json(): Promise; -}>; - -// @public (undocumented) -export const ffVisibility: readonly ["public", "followers", "private"]; - -// @public (undocumented) -type Following = { - id: ID; - createdAt: DateString; - followerId: User["id"]; - followeeId: User["id"]; -}; - -// @public (undocumented) -type FollowingFolloweePopulated = Following & { - followee: UserDetailed; -}; - -// @public (undocumented) -type FollowingFollowerPopulated = Following & { - follower: UserDetailed; -}; - -// @public (undocumented) -type FollowRequest = { - id: ID; - follower: User; - followee: User; -}; - -// @public (undocumented) -type GalleryPost = TODO_2; - -// @public (undocumented) -type ID = string; - -// @public (undocumented) -type Instance = { - id: ID; - caughtAt: DateString; - host: string; - usersCount: number; - notesCount: number; - followingCount: number; - followersCount: number; - driveUsage: number; - driveFiles: number; - latestRequestSentAt: DateString | null; - latestStatus: number | null; - latestRequestReceivedAt: DateString | null; - lastCommunicatedAt: DateString; - isNotResponding: boolean; - isSuspended: boolean; - softwareName: string | null; - softwareVersion: string | null; - openRegistrations: boolean | null; - name: string | null; - description: string | null; - maintainerName: string | null; - maintainerEmail: string | null; - iconUrl: string | null; - faviconUrl: string | null; - themeColor: string | null; - infoUpdatedAt: DateString | null; -}; - -// @public (undocumented) -type InstanceMetadata = - | LiteInstanceMetadata - | DetailedInstanceMetadata; - -// @public (undocumented) -function isAPIError(reason: any): reason is APIError; - -// @public (undocumented) -type LiteInstanceMetadata = { - maintainerName: string | null; - maintainerEmail: string | null; - version: string; - name: string | null; - uri: string; - description: string | null; - tosUrl: string | null; - disableRegistration: boolean; - disableLocalTimeline: boolean; - disableRecommendedTimeline: boolean; - disableGlobalTimeline: boolean; - driveCapacityPerLocalUserMb: number; - driveCapacityPerRemoteUserMb: number; - enableHcaptcha: boolean; - hcaptchaSiteKey: string | null; - enableRecaptcha: boolean; - recaptchaSiteKey: string | null; - swPublickey: string | null; - maxNoteTextLength: number; - enableEmail: boolean; - enableGithubIntegration: boolean; - enableDiscordIntegration: boolean; - enableServiceWorker: boolean; - emojis: CustomEmoji[]; - ads: { - id: ID; - ratio: number; - place: string; - url: string; - imageUrl: string; - }[]; -}; - -// @public (undocumented) -type MeDetailed = UserDetailed & { - avatarId: DriveFile["id"]; - bannerId: DriveFile["id"]; - autoAcceptFollowed: boolean; - alwaysMarkNsfw: boolean; - carefulBot: boolean; - emailNotificationTypes: string[]; - hasPendingReceivedFollowRequest: boolean; - hasUnreadAnnouncement: boolean; - hasUnreadAntenna: boolean; - hasUnreadChannel: boolean; - hasUnreadMentions: boolean; - hasUnreadMessagingMessage: boolean; - hasUnreadNotification: boolean; - hasUnreadSpecifiedNotes: boolean; - hideOnlineStatus: boolean; - injectFeaturedNote: boolean; - integrations: Record; - isDeleted: boolean; - isExplorable: boolean; - mutedWords: string[][]; - mutingNotificationTypes: string[]; - noCrawle: boolean; - preventAiLearning: boolean; - receiveAnnouncementEmail: boolean; - usePasswordLessLogin: boolean; - [other: string]: any; -}; - -// @public (undocumented) -type MessagingMessage = { - id: ID; - createdAt: DateString; - file: DriveFile | null; - fileId: DriveFile["id"] | null; - isRead: boolean; - reads: User["id"][]; - text: string | null; - user: User; - userId: User["id"]; - recipient?: User | null; - recipientId: User["id"] | null; - group?: UserGroup | null; - groupId: UserGroup["id"] | null; -}; - -// @public (undocumented) -export const mutedNoteReasons: readonly [ - "word", - "manual", - "spam", - "other", -]; - -// @public (undocumented) -type Note = { - id: ID; - createdAt: DateString; - text: string | null; - cw: string | null; - user: User; - userId: User["id"]; - reply?: Note; - replyId: Note["id"]; - renote?: Note; - renoteId: Note["id"]; - files: DriveFile[]; - fileIds: DriveFile["id"][]; - visibility: "public" | "home" | "followers" | "specified"; - visibleUserIds?: User["id"][]; - localOnly?: boolean; - channel?: Channel["id"]; - myReaction?: string; - reactions: Record; - renoteCount: number; - repliesCount: number; - poll?: { - expiresAt: DateString | null; - multiple: boolean; - choices: { - isVoted: boolean; - text: string; - votes: number; - }[]; - }; - emojis: { - name: string; - url: string; - }[]; - uri?: string; - url?: string; - updatedAt?: DateString; - isHidden?: boolean; -}; - -// @public (undocumented) -type NoteFavorite = { - id: ID; - createdAt: DateString; - noteId: Note["id"]; - note: Note; -}; - -// @public (undocumented) -type NoteReaction = { - id: ID; - createdAt: DateString; - user: UserLite; - type: string; -}; - -// @public (undocumented) -export const noteVisibilities: readonly [ - "public", - "home", - "followers", - "specified", -]; - -// @public (undocumented) -type Notification_2 = { - id: ID; - createdAt: DateString; - isRead: boolean; -} & ( - | { - type: "reaction"; - reaction: string; - user: User; - userId: User["id"]; - note: Note; - } - | { - type: "reply"; - user: User; - userId: User["id"]; - note: Note; - } - | { - type: "renote"; - user: User; - userId: User["id"]; - note: Note; - } - | { - type: "quote"; - user: User; - userId: User["id"]; - note: Note; - } - | { - type: "mention"; - user: User; - userId: User["id"]; - note: Note; - } - | { - type: "pollVote"; - user: User; - userId: User["id"]; - note: Note; - } - | { - type: "follow"; - user: User; - userId: User["id"]; - } - | { - type: "followRequestAccepted"; - user: User; - userId: User["id"]; - } - | { - type: "receiveFollowRequest"; - user: User; - userId: User["id"]; - } - | { - type: "groupInvited"; - invitation: UserGroup; - user: User; - userId: User["id"]; - } - | { - type: "app"; - header?: string | null; - body: string; - icon?: string | null; - } -); - -// @public (undocumented) -export const notificationTypes: readonly [ - "follow", - "mention", - "reply", - "renote", - "quote", - "reaction", - "pollVote", - "pollEnded", - "receiveFollowRequest", - "followRequestAccepted", - "groupInvited", - "app", -]; - -// @public (undocumented) -type OriginType = "combined" | "local" | "remote"; - -// @public (undocumented) -type Page = { - id: ID; - createdAt: DateString; - updatedAt: DateString; - userId: User["id"]; - user: User; - content: Record[]; - variables: Record[]; - title: string; - name: string; - summary: string | null; - hideTitleWhenPinned: boolean; - alignCenter: boolean; - font: string; - script: string; - eyeCatchingImageId: DriveFile["id"] | null; - eyeCatchingImage: DriveFile | null; - attachedFiles: any; - likedCount: number; - isLiked?: boolean; -}; - -// @public (undocumented) -type PageEvent = { - pageId: Page["id"]; - event: string; - var: any; - userId: User["id"]; - user: User; -}; - -// @public (undocumented) -export const permissions: string[]; - -// @public (undocumented) -type ServerInfo = { - machine: string; - cpu: { - model: string; - cores: number; - }; - mem: { - total: number; - }; - fs: { - total: number; - used: number; - }; -}; - -// @public (undocumented) -type Signin = { - id: ID; - createdAt: DateString; - ip: string; - headers: Record; - success: boolean; -}; - -// @public (undocumented) -type Stats = { - notesCount: number; - originalNotesCount: number; - usersCount: number; - originalUsersCount: number; - instances: number; - driveUsageLocal: number; - driveUsageRemote: number; -}; - -// Warning: (ae-forgotten-export) The symbol "StreamEvents" needs to be exported by the entry point index.d.ts -// -// @public (undocumented) -export class Stream extends EventEmitter { - constructor( - origin: string, - user: { - token: string; - } | null, - options?: { - WebSocket?: any; - }, - ); - // (undocumented) - close(): void; - // Warning: (ae-forgotten-export) The symbol "NonSharedConnection" needs to be exported by the entry point index.d.ts - // - // (undocumented) - disconnectToChannel(connection: NonSharedConnection): void; - // Warning: (ae-forgotten-export) The symbol "SharedConnection" needs to be exported by the entry point index.d.ts - // - // (undocumented) - removeSharedConnection(connection: SharedConnection): void; - // Warning: (ae-forgotten-export) The symbol "Pool" needs to be exported by the entry point index.d.ts - // - // (undocumented) - removeSharedConnectionPool(pool: Pool): void; - // (undocumented) - send(typeOrPayload: any, payload?: any): void; - // (undocumented) - state: "initializing" | "reconnecting" | "connected"; - // (undocumented) - useChannel( - channel: C, - params?: Channels[C]["params"], - name?: string, - ): ChannelConnection; - } - -// @public (undocumented) -type User = UserLite | UserDetailed; - -// @public (undocumented) -type UserDetailed = UserLite & { - bannerBlurhash: string | null; - bannerColor: string | null; - bannerUrl: string | null; - birthday: string | null; - createdAt: DateString; - description: string | null; - ffVisibility: "public" | "followers" | "private"; - fields: { - name: string; - value: string; - }[]; - followersCount: number; - followingCount: number; - hasPendingFollowRequestFromYou: boolean; - hasPendingFollowRequestToYou: boolean; - isAdmin: boolean; - isBlocked: boolean; - isBlocking: boolean; - isBot: boolean; - isCat: boolean; - isFollowed: boolean; - isFollowing: boolean; - isLocked: boolean; - isModerator: boolean; - isMuted: boolean; - isRenoteMuted: boolean; - isSilenced: boolean; - isSuspended: boolean; - lang: string | null; - lastFetchedAt?: DateString; - location: string | null; - notesCount: number; - pinnedNoteIds: ID[]; - pinnedNotes: Note[]; - pinnedPage: Page | null; - pinnedPageId: string | null; - publicReactions: boolean; - securityKeys: boolean; - twoFactorEnabled: boolean; - updatedAt: DateString | null; - uri: string | null; - url: string | null; -}; - -// @public (undocumented) -type UserGroup = TODO_2; - -// @public (undocumented) -type UserList = { - id: ID; - createdAt: DateString; - name: string; - userIds: User["id"][]; -}; - -// @public (undocumented) -type UserLite = { - id: ID; - username: string; - host: string | null; - name: string; - onlineStatus: "online" | "active" | "offline" | "unknown"; - avatarUrl: string; - avatarBlurhash: string; - alsoKnownAs: string[]; - movedToUri: any; - emojis: { - name: string; - url: string; - }[]; - instance?: { - name: Instance["name"]; - softwareName: Instance["softwareName"]; - softwareVersion: Instance["softwareVersion"]; - iconUrl: Instance["iconUrl"]; - faviconUrl: Instance["faviconUrl"]; - themeColor: Instance["themeColor"]; - }; -}; - -// @public (undocumented) -type UserSorting = - | "+follower" - | "-follower" - | "+createdAt" - | "-createdAt" - | "+updatedAt" - | "-updatedAt"; - -// Warnings were encountered during analysis: -// -// src/api.types.ts:80:37 - (ae-forgotten-export) The symbol "TODO" needs to be exported by the entry point index.d.ts -// src/api.types.ts:83:28 - (ae-forgotten-export) The symbol "NoParams" needs to be exported by the entry point index.d.ts -// src/api.types.ts:853:5 - (ae-forgotten-export) The symbol "NoteSubmitReq" needs to be exported by the entry point index.d.ts -// src/api.types.ts:1094:3 - (ae-forgotten-export) The symbol "ShowUserReq" needs to be exported by the entry point index.d.ts -// src/streaming.types.ts:56:18 - (ae-forgotten-export) The symbol "FIXME" needs to be exported by the entry point index.d.ts - -// (No @packageDocumentation comment for this package) - -``` diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.acct.md b/packages/iceshrimp-js/markdown/iceshrimp-js.acct.md deleted file mode 100644 index e0c7ca411..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.acct.md +++ /dev/null @@ -1,14 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [Acct](./iceshrimp-js.acct.md) - -## Acct type - -**Signature:** - -```typescript -export declare type Acct = { - username: string; - host: string | null; -}; -``` diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.api.apiclient._constructor_.md b/packages/iceshrimp-js/markdown/iceshrimp-js.api.apiclient._constructor_.md deleted file mode 100644 index 85916a07b..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.api.apiclient._constructor_.md +++ /dev/null @@ -1,24 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [api](./iceshrimp-js.api.md) > [APIClient](./iceshrimp-js.api.apiclient.md) > [(constructor)](./iceshrimp-js.api.apiclient._constructor_.md) - -## api.APIClient.(constructor) - -Constructs a new instance of the `APIClient` class - -**Signature:** - -```typescript -constructor(opts: { - origin: APIClient["origin"]; - credential?: APIClient["credential"]; - fetch?: APIClient["fetch"] | null | undefined; - }); -``` - -## Parameters - -| Parameter | Type | Description | -| --- | --- | --- | -| opts | { origin: [APIClient](./iceshrimp-js.api.apiclient.md)\["origin"\]; credential?: [APIClient](./iceshrimp-js.api.apiclient.md)\["credential"\]; fetch?: [APIClient](./iceshrimp-js.api.apiclient.md)\["fetch"\] \| null \| undefined; } | | - diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.api.apiclient.credential.md b/packages/iceshrimp-js/markdown/iceshrimp-js.api.apiclient.credential.md deleted file mode 100644 index e4372d450..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.api.apiclient.credential.md +++ /dev/null @@ -1,11 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [api](./iceshrimp-js.api.md) > [APIClient](./iceshrimp-js.api.apiclient.md) > [credential](./iceshrimp-js.api.apiclient.credential.md) - -## api.APIClient.credential property - -**Signature:** - -```typescript -credential: string | null | undefined; -``` diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.api.apiclient.fetch.md b/packages/iceshrimp-js/markdown/iceshrimp-js.api.apiclient.fetch.md deleted file mode 100644 index 68e51828e..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.api.apiclient.fetch.md +++ /dev/null @@ -1,11 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [api](./iceshrimp-js.api.md) > [APIClient](./iceshrimp-js.api.apiclient.md) > [fetch](./iceshrimp-js.api.apiclient.fetch.md) - -## api.APIClient.fetch property - -**Signature:** - -```typescript -fetch: FetchLike; -``` diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.api.apiclient.md b/packages/iceshrimp-js/markdown/iceshrimp-js.api.apiclient.md deleted file mode 100644 index 361903197..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.api.apiclient.md +++ /dev/null @@ -1,32 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [api](./iceshrimp-js.api.md) > [APIClient](./iceshrimp-js.api.apiclient.md) - -## api.APIClient class - -**Signature:** - -```typescript -export declare class APIClient -``` - -## Constructors - -| Constructor | Modifiers | Description | -| --- | --- | --- | -| [(constructor)(opts)](./iceshrimp-js.api.apiclient._constructor_.md) | | Constructs a new instance of the APIClient class | - -## Properties - -| Property | Modifiers | Type | Description | -| --- | --- | --- | --- | -| [credential](./iceshrimp-js.api.apiclient.credential.md) | | string \| null \| undefined | | -| [fetch](./iceshrimp-js.api.apiclient.fetch.md) | | [FetchLike](./iceshrimp-js.api.fetchlike.md) | | -| [origin](./iceshrimp-js.api.apiclient.origin.md) | | string | | - -## Methods - -| Method | Modifiers | Description | -| --- | --- | --- | -| [request(endpoint, params, credential)](./iceshrimp-js.api.apiclient.request.md) | | | - diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.api.apiclient.origin.md b/packages/iceshrimp-js/markdown/iceshrimp-js.api.apiclient.origin.md deleted file mode 100644 index 768ae57d8..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.api.apiclient.origin.md +++ /dev/null @@ -1,11 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [api](./iceshrimp-js.api.md) > [APIClient](./iceshrimp-js.api.apiclient.md) > [origin](./iceshrimp-js.api.apiclient.origin.md) - -## api.APIClient.origin property - -**Signature:** - -```typescript -origin: string; -``` diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.api.apiclient.request.md b/packages/iceshrimp-js/markdown/iceshrimp-js.api.apiclient.request.md deleted file mode 100644 index 66131909a..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.api.apiclient.request.md +++ /dev/null @@ -1,57 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [api](./iceshrimp-js.api.md) > [APIClient](./iceshrimp-js.api.apiclient.md) > [request](./iceshrimp-js.api.apiclient.request.md) - -## api.APIClient.request() method - -**Signature:** - -```typescript -request( - endpoint: E, - params?: P, - credential?: string | null | undefined, - ): Promise< - Endpoints[E]["res"] extends { - $switch: { - $cases: [any, any][]; - $default: any; - }; - } - ? IsCaseMatched extends true - ? GetCaseResult - : IsCaseMatched extends true - ? GetCaseResult - : IsCaseMatched extends true - ? GetCaseResult - : IsCaseMatched extends true - ? GetCaseResult - : IsCaseMatched extends true - ? GetCaseResult - : IsCaseMatched extends true - ? GetCaseResult - : IsCaseMatched extends true - ? GetCaseResult - : IsCaseMatched extends true - ? GetCaseResult - : IsCaseMatched extends true - ? GetCaseResult - : IsCaseMatched extends true - ? GetCaseResult - : Endpoints[E]["res"]["$switch"]["$default"] - : Endpoints[E]["res"] - >; -``` - -## Parameters - -| Parameter | Type | Description | -| --- | --- | --- | -| endpoint | E | | -| params | P | _(Optional)_ | -| credential | string \| null \| undefined | _(Optional)_ | - -**Returns:** - -Promise< [Endpoints](./iceshrimp-js.endpoints.md)\[E\]\["res"\] extends { $switch: { $cases: \[any, any\]\[\]; $default: any; }; } ? IsCaseMatched<E, P, 0> extends true ? GetCaseResult<E, P, 0> : IsCaseMatched<E, P, 1> extends true ? GetCaseResult<E, P, 1> : IsCaseMatched<E, P, 2> extends true ? GetCaseResult<E, P, 2> : IsCaseMatched<E, P, 3> extends true ? GetCaseResult<E, P, 3> : IsCaseMatched<E, P, 4> extends true ? GetCaseResult<E, P, 4> : IsCaseMatched<E, P, 5> extends true ? GetCaseResult<E, P, 5> : IsCaseMatched<E, P, 6> extends true ? GetCaseResult<E, P, 6> : IsCaseMatched<E, P, 7> extends true ? GetCaseResult<E, P, 7> : IsCaseMatched<E, P, 8> extends true ? GetCaseResult<E, P, 8> : IsCaseMatched<E, P, 9> extends true ? GetCaseResult<E, P, 9> : [Endpoints](./iceshrimp-js.endpoints.md)\[E\]\["res"\]\["$switch"\]\["$default"\] : [Endpoints](./iceshrimp-js.endpoints.md)\[E\]\["res"\] > - diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.api.apierror.md b/packages/iceshrimp-js/markdown/iceshrimp-js.api.apierror.md deleted file mode 100644 index 2b286ad82..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.api.apierror.md +++ /dev/null @@ -1,17 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [api](./iceshrimp-js.api.md) > [APIError](./iceshrimp-js.api.apierror.md) - -## api.APIError type - -**Signature:** - -```typescript -export declare type APIError = { - id: string; - code: string; - message: string; - kind: "client" | "server"; - info: Record; -}; -``` diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.api.fetchlike.md b/packages/iceshrimp-js/markdown/iceshrimp-js.api.fetchlike.md deleted file mode 100644 index d2842e39e..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.api.fetchlike.md +++ /dev/null @@ -1,22 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [api](./iceshrimp-js.api.md) > [FetchLike](./iceshrimp-js.api.fetchlike.md) - -## api.FetchLike type - -**Signature:** - -```typescript -export declare type FetchLike = ( - input: string, - init?: { - method?: string; - body?: string; - credentials?: RequestCredentials; - cache?: RequestCache; - }, -) => Promise<{ - status: number; - json(): Promise; -}>; -``` diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.api.md b/packages/iceshrimp-js/markdown/iceshrimp-js.api.md deleted file mode 100644 index 332067bc6..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.api.md +++ /dev/null @@ -1,25 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [api](./iceshrimp-js.api.md) - -## api namespace - -## Classes - -| Class | Description | -| --- | --- | -| [APIClient](./iceshrimp-js.api.apiclient.md) | | - -## Functions - -| Function | Description | -| --- | --- | -| [isAPIError(reason)](./iceshrimp-js.api.isapierror.md) | | - -## Type Aliases - -| Type Alias | Description | -| --- | --- | -| [APIError](./iceshrimp-js.api.apierror.md) | | -| [FetchLike](./iceshrimp-js.api.fetchlike.md) | | - diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.channelconnection.channel.md b/packages/iceshrimp-js/markdown/iceshrimp-js.channelconnection.channel.md deleted file mode 100644 index 7923f8f4d..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.channelconnection.channel.md +++ /dev/null @@ -1,11 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [ChannelConnection](./iceshrimp-js.channelconnection.md) > [channel](./iceshrimp-js.channelconnection.channel.md) - -## ChannelConnection.channel property - -**Signature:** - -```typescript -channel: string; -``` diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.channelconnection.id.md b/packages/iceshrimp-js/markdown/iceshrimp-js.channelconnection.id.md deleted file mode 100644 index 414a2a096..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.channelconnection.id.md +++ /dev/null @@ -1,11 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [ChannelConnection](./iceshrimp-js.channelconnection.md) > [id](./iceshrimp-js.channelconnection.id.md) - -## ChannelConnection.id property - -**Signature:** - -```typescript -abstract id: string; -``` diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.channelconnection.incount.md b/packages/iceshrimp-js/markdown/iceshrimp-js.channelconnection.incount.md deleted file mode 100644 index d20774deb..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.channelconnection.incount.md +++ /dev/null @@ -1,11 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [ChannelConnection](./iceshrimp-js.channelconnection.md) > [inCount](./iceshrimp-js.channelconnection.incount.md) - -## ChannelConnection.inCount property - -**Signature:** - -```typescript -inCount: number; -``` diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.channelconnection.md b/packages/iceshrimp-js/markdown/iceshrimp-js.channelconnection.md deleted file mode 100644 index d2d5e1bfd..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.channelconnection.md +++ /dev/null @@ -1,39 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [ChannelConnection](./iceshrimp-js.channelconnection.md) - -## ChannelConnection class - -**Signature:** - -```typescript -export declare abstract class Connection< - Channel extends AnyOf = any, -> extends EventEmitter -``` -**Extends:** EventEmitter<Channel\["events"\]> - -## Constructors - -| Constructor | Modifiers | Description | -| --- | --- | --- | -| [(constructor)(stream, channel, name)](./iceshrimp-js.channelconnection._constructor_.md) | | Constructs a new instance of the Connection class | - -## Properties - -| Property | Modifiers | Type | Description | -| --- | --- | --- | --- | -| [channel](./iceshrimp-js.channelconnection.channel.md) | | string | | -| [id](./iceshrimp-js.channelconnection.id.md) | abstract | string | | -| [inCount](./iceshrimp-js.channelconnection.incount.md) | | number | | -| [name?](./iceshrimp-js.channelconnection.name.md) | | string | _(Optional)_ | -| [outCount](./iceshrimp-js.channelconnection.outcount.md) | | number | | -| [stream](./iceshrimp-js.channelconnection.stream.md) | protected | [Stream](./iceshrimp-js.stream.md) | | - -## Methods - -| Method | Modifiers | Description | -| --- | --- | --- | -| [dispose()](./iceshrimp-js.channelconnection.dispose.md) | abstract | | -| [send(type, body)](./iceshrimp-js.channelconnection.send.md) | | | - diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.channelconnection.name.md b/packages/iceshrimp-js/markdown/iceshrimp-js.channelconnection.name.md deleted file mode 100644 index fc9fbce8c..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.channelconnection.name.md +++ /dev/null @@ -1,11 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [ChannelConnection](./iceshrimp-js.channelconnection.md) > [name](./iceshrimp-js.channelconnection.name.md) - -## ChannelConnection.name property - -**Signature:** - -```typescript -name?: string; -``` diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.channelconnection.outcount.md b/packages/iceshrimp-js/markdown/iceshrimp-js.channelconnection.outcount.md deleted file mode 100644 index 269e710cf..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.channelconnection.outcount.md +++ /dev/null @@ -1,11 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [ChannelConnection](./iceshrimp-js.channelconnection.md) > [outCount](./iceshrimp-js.channelconnection.outcount.md) - -## ChannelConnection.outCount property - -**Signature:** - -```typescript -outCount: number; -``` diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.channelconnection.stream.md b/packages/iceshrimp-js/markdown/iceshrimp-js.channelconnection.stream.md deleted file mode 100644 index 02a9b63fa..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.channelconnection.stream.md +++ /dev/null @@ -1,11 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [ChannelConnection](./iceshrimp-js.channelconnection.md) > [stream](./iceshrimp-js.channelconnection.stream.md) - -## ChannelConnection.stream property - -**Signature:** - -```typescript -protected stream: Stream; -``` diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.channels.md b/packages/iceshrimp-js/markdown/iceshrimp-js.channels.md deleted file mode 100644 index e40a3bee6..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.channels.md +++ /dev/null @@ -1,143 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [Channels](./iceshrimp-js.channels.md) - -## Channels type - -**Signature:** - -```typescript -export declare type Channels = { - main: { - params: null; - events: { - notification: (payload: Notification) => void; - mention: (payload: Note) => void; - reply: (payload: Note) => void; - renote: (payload: Note) => void; - follow: (payload: User) => void; - followed: (payload: User) => void; - unfollow: (payload: User) => void; - meUpdated: (payload: MeDetailed) => void; - pageEvent: (payload: PageEvent) => void; - urlUploadFinished: (payload: { - marker: string; - file: DriveFile; - }) => void; - readAllNotifications: () => void; - unreadNotification: (payload: Notification) => void; - unreadMention: (payload: Note["id"]) => void; - readAllUnreadMentions: () => void; - unreadSpecifiedNote: (payload: Note["id"]) => void; - readAllUnreadSpecifiedNotes: () => void; - readAllMessagingMessages: () => void; - messagingMessage: (payload: MessagingMessage) => void; - unreadMessagingMessage: (payload: MessagingMessage) => void; - readAllAntennas: () => void; - unreadAntenna: (payload: Antenna) => void; - readAllAnnouncements: () => void; - readAllChannels: () => void; - unreadChannel: (payload: Note["id"]) => void; - myTokenRegenerated: () => void; - reversiNoInvites: () => void; - reversiInvited: (payload: FIXME) => void; - signin: (payload: FIXME) => void; - registryUpdated: (payload: { - scope?: string[]; - key: string; - value: any | null; - }) => void; - driveFileCreated: (payload: DriveFile) => void; - readAntenna: (payload: Antenna) => void; - }; - receives: null; - }; - homeTimeline: { - params: null; - events: { - note: (payload: Note) => void; - }; - receives: null; - }; - localTimeline: { - params: null; - events: { - note: (payload: Note) => void; - }; - receives: null; - }; - hybridTimeline: { - params: null; - events: { - note: (payload: Note) => void; - }; - receives: null; - }; - recommendedTimeline: { - params: null; - events: { - note: (payload: Note) => void; - }; - receives: null; - }; - globalTimeline: { - params: null; - events: { - note: (payload: Note) => void; - }; - receives: null; - }; - antenna: { - params: { - antennaId: Antenna["id"]; - }; - events: { - note: (payload: Note) => void; - }; - receives: null; - }; - messaging: { - params: { - otherparty?: User["id"] | null; - group?: UserGroup["id"] | null; - }; - events: { - message: (payload: MessagingMessage) => void; - deleted: (payload: MessagingMessage["id"]) => void; - read: (payload: MessagingMessage["id"][]) => void; - typers: (payload: User[]) => void; - }; - receives: { - read: { - id: MessagingMessage["id"]; - }; - }; - }; - serverStats: { - params: null; - events: { - stats: (payload: FIXME) => void; - }; - receives: { - requestLog: { - id: string | number; - length: number; - }; - }; - }; - queueStats: { - params: null; - events: { - stats: (payload: FIXME) => void; - }; - receives: { - requestLog: { - id: string | number; - length: number; - }; - }; - }; -}; -``` -**References:** [Note](./iceshrimp-js.entities.note.md), [User](./iceshrimp-js.entities.user.md), [MeDetailed](./iceshrimp-js.entities.medetailed.md), [PageEvent](./iceshrimp-js.entities.pageevent.md), [DriveFile](./iceshrimp-js.entities.drivefile.md), [MessagingMessage](./iceshrimp-js.entities.messagingmessage.md), [Antenna](./iceshrimp-js.entities.antenna.md), [UserGroup](./iceshrimp-js.entities.usergroup.md) - diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.endpoints.md b/packages/iceshrimp-js/markdown/iceshrimp-js.endpoints.md deleted file mode 100644 index 8f841541c..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.endpoints.md +++ /dev/null @@ -1,1911 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [Endpoints](./iceshrimp-js.endpoints.md) - -## Endpoints type - -**Signature:** - -```typescript -export declare type Endpoints = { - "admin/abuse-user-reports": { - req: TODO; - res: TODO; - }; - "admin/delete-all-files-of-a-user": { - req: { - userId: User["id"]; - }; - res: null; - }; - "admin/delete-logs": { - req: NoParams; - res: null; - }; - "admin/get-index-stats": { - req: TODO; - res: TODO; - }; - "admin/get-table-stats": { - req: TODO; - res: TODO; - }; - "admin/invite": { - req: TODO; - res: TODO; - }; - "admin/logs": { - req: TODO; - res: TODO; - }; - "admin/meta": { - req: TODO; - res: TODO; - }; - "admin/reset-password": { - req: TODO; - res: TODO; - }; - "admin/resolve-abuse-user-report": { - req: TODO; - res: TODO; - }; - "admin/resync-chart": { - req: TODO; - res: TODO; - }; - "admin/send-email": { - req: TODO; - res: TODO; - }; - "admin/server-info": { - req: TODO; - res: TODO; - }; - "admin/show-moderation-logs": { - req: TODO; - res: TODO; - }; - "admin/show-user": { - req: TODO; - res: TODO; - }; - "admin/show-users": { - req: TODO; - res: TODO; - }; - "admin/silence-user": { - req: TODO; - res: TODO; - }; - "admin/suspend-user": { - req: TODO; - res: TODO; - }; - "admin/unsilence-user": { - req: TODO; - res: TODO; - }; - "admin/unsuspend-user": { - req: TODO; - res: TODO; - }; - "admin/update-meta": { - req: TODO; - res: TODO; - }; - "admin/vacuum": { - req: TODO; - res: TODO; - }; - "admin/accounts/create": { - req: TODO; - res: TODO; - }; - "admin/ad/create": { - req: TODO; - res: TODO; - }; - "admin/ad/delete": { - req: { - id: Ad["id"]; - }; - res: null; - }; - "admin/ad/list": { - req: TODO; - res: TODO; - }; - "admin/ad/update": { - req: TODO; - res: TODO; - }; - "admin/announcements/create": { - req: TODO; - res: TODO; - }; - "admin/announcements/delete": { - req: { - id: Announcement["id"]; - }; - res: null; - }; - "admin/announcements/list": { - req: TODO; - res: TODO; - }; - "admin/announcements/update": { - req: TODO; - res: TODO; - }; - "admin/drive/clean-remote-files": { - req: TODO; - res: TODO; - }; - "admin/drive/cleanup": { - req: TODO; - res: TODO; - }; - "admin/drive/files": { - req: TODO; - res: TODO; - }; - "admin/drive/show-file": { - req: TODO; - res: TODO; - }; - "admin/emoji/add": { - req: TODO; - res: TODO; - }; - "admin/emoji/copy": { - req: TODO; - res: TODO; - }; - "admin/emoji/list-remote": { - req: TODO; - res: TODO; - }; - "admin/emoji/list": { - req: TODO; - res: TODO; - }; - "admin/emoji/remove": { - req: TODO; - res: TODO; - }; - "admin/emoji/update": { - req: TODO; - res: TODO; - }; - "admin/federation/delete-all-files": { - req: { - host: string; - }; - res: null; - }; - "admin/federation/refresh-remote-instance-metadata": { - req: TODO; - res: TODO; - }; - "admin/federation/remove-all-following": { - req: TODO; - res: TODO; - }; - "admin/federation/update-instance": { - req: TODO; - res: TODO; - }; - "admin/moderators/add": { - req: TODO; - res: TODO; - }; - "admin/moderators/remove": { - req: TODO; - res: TODO; - }; - "admin/promo/create": { - req: TODO; - res: TODO; - }; - "admin/queue/clear": { - req: TODO; - res: TODO; - }; - "admin/queue/deliver-delayed": { - req: TODO; - res: TODO; - }; - "admin/queue/inbox-delayed": { - req: TODO; - res: TODO; - }; - "admin/queue/jobs": { - req: TODO; - res: TODO; - }; - "admin/queue/stats": { - req: TODO; - res: TODO; - }; - "admin/relays/add": { - req: TODO; - res: TODO; - }; - "admin/relays/list": { - req: TODO; - res: TODO; - }; - "admin/relays/remove": { - req: TODO; - res: TODO; - }; - announcements: { - req: { - limit?: number; - withUnreads?: boolean; - sinceId?: Announcement["id"]; - untilId?: Announcement["id"]; - }; - res: Announcement[]; - }; - "antennas/create": { - req: TODO; - res: Antenna; - }; - "antennas/delete": { - req: { - antennaId: Antenna["id"]; - }; - res: null; - }; - "antennas/list": { - req: NoParams; - res: Antenna[]; - }; - "antennas/notes": { - req: { - antennaId: Antenna["id"]; - limit?: number; - sinceId?: Note["id"]; - untilId?: Note["id"]; - }; - res: Note[]; - }; - "antennas/show": { - req: { - antennaId: Antenna["id"]; - }; - res: Antenna; - }; - "antennas/update": { - req: TODO; - res: Antenna; - }; - "antennas/mark-read": { - req: TODO; - res: Antenna; - }; - "ap/get": { - req: { - uri: string; - }; - res: Record; - }; - "ap/show": { - req: { - uri: string; - }; - res: - | { - type: "Note"; - object: Note; - } - | { - type: "User"; - object: UserDetailed; - }; - }; - "app/create": { - req: TODO; - res: App; - }; - "app/show": { - req: { - appId: App["id"]; - }; - res: App; - }; - "auth/accept": { - req: { - token: string; - }; - res: null; - }; - "auth/session/generate": { - req: { - appSecret: string; - }; - res: { - token: string; - url: string; - }; - }; - "auth/session/show": { - req: { - token: string; - }; - res: AuthSession; - }; - "auth/session/userkey": { - req: { - appSecret: string; - token: string; - }; - res: { - accessToken: string; - user: User; - }; - }; - "blocking/create": { - req: { - userId: User["id"]; - }; - res: UserDetailed; - }; - "blocking/delete": { - req: { - userId: User["id"]; - }; - res: UserDetailed; - }; - "blocking/list": { - req: { - limit?: number; - sinceId?: Blocking["id"]; - untilId?: Blocking["id"]; - }; - res: Blocking[]; - }; - "channels/create": { - req: TODO; - res: TODO; - }; - "channels/featured": { - req: TODO; - res: TODO; - }; - "channels/follow": { - req: TODO; - res: TODO; - }; - "channels/followed": { - req: TODO; - res: TODO; - }; - "channels/owned": { - req: TODO; - res: TODO; - }; - "channels/pin-note": { - req: TODO; - res: TODO; - }; - "channels/show": { - req: TODO; - res: TODO; - }; - "channels/timeline": { - req: TODO; - res: TODO; - }; - "channels/unfollow": { - req: TODO; - res: TODO; - }; - "channels/update": { - req: TODO; - res: TODO; - }; - "charts/active-users": { - req: { - span: "day" | "hour"; - limit?: number; - offset?: number | null; - }; - res: { - local: { - users: number[]; - }; - remote: { - users: number[]; - }; - }; - }; - "charts/drive": { - req: { - span: "day" | "hour"; - limit?: number; - offset?: number | null; - }; - res: { - local: { - decCount: number[]; - decSize: number[]; - incCount: number[]; - incSize: number[]; - totalCount: number[]; - totalSize: number[]; - }; - remote: { - decCount: number[]; - decSize: number[]; - incCount: number[]; - incSize: number[]; - totalCount: number[]; - totalSize: number[]; - }; - }; - }; - "charts/federation": { - req: { - span: "day" | "hour"; - limit?: number; - offset?: number | null; - }; - res: { - instance: { - dec: number[]; - inc: number[]; - total: number[]; - }; - }; - }; - "charts/hashtag": { - req: { - span: "day" | "hour"; - limit?: number; - offset?: number | null; - }; - res: TODO; - }; - "charts/instance": { - req: { - span: "day" | "hour"; - limit?: number; - offset?: number | null; - host: string; - }; - res: { - drive: { - decFiles: number[]; - decUsage: number[]; - incFiles: number[]; - incUsage: number[]; - totalFiles: number[]; - totalUsage: number[]; - }; - followers: { - dec: number[]; - inc: number[]; - total: number[]; - }; - following: { - dec: number[]; - inc: number[]; - total: number[]; - }; - notes: { - dec: number[]; - inc: number[]; - total: number[]; - diffs: { - normal: number[]; - renote: number[]; - reply: number[]; - }; - }; - requests: { - failed: number[]; - received: number[]; - succeeded: number[]; - }; - users: { - dec: number[]; - inc: number[]; - total: number[]; - }; - }; - }; - "charts/network": { - req: { - span: "day" | "hour"; - limit?: number; - offset?: number | null; - }; - res: TODO; - }; - "charts/notes": { - req: { - span: "day" | "hour"; - limit?: number; - offset?: number | null; - }; - res: { - local: { - dec: number[]; - inc: number[]; - total: number[]; - diffs: { - normal: number[]; - renote: number[]; - reply: number[]; - }; - }; - remote: { - dec: number[]; - inc: number[]; - total: number[]; - diffs: { - normal: number[]; - renote: number[]; - reply: number[]; - }; - }; - }; - }; - "charts/user/drive": { - req: { - span: "day" | "hour"; - limit?: number; - offset?: number | null; - userId: User["id"]; - }; - res: { - decCount: number[]; - decSize: number[]; - incCount: number[]; - incSize: number[]; - totalCount: number[]; - totalSize: number[]; - }; - }; - "charts/user/following": { - req: { - span: "day" | "hour"; - limit?: number; - offset?: number | null; - userId: User["id"]; - }; - res: TODO; - }; - "charts/user/notes": { - req: { - span: "day" | "hour"; - limit?: number; - offset?: number | null; - userId: User["id"]; - }; - res: { - dec: number[]; - inc: number[]; - total: number[]; - diffs: { - normal: number[]; - renote: number[]; - reply: number[]; - }; - }; - }; - "charts/user/reactions": { - req: { - span: "day" | "hour"; - limit?: number; - offset?: number | null; - userId: User["id"]; - }; - res: TODO; - }; - "charts/users": { - req: { - span: "day" | "hour"; - limit?: number; - offset?: number | null; - }; - res: { - local: { - dec: number[]; - inc: number[]; - total: number[]; - }; - remote: { - dec: number[]; - inc: number[]; - total: number[]; - }; - }; - }; - "clips/add-note": { - req: TODO; - res: TODO; - }; - "clips/create": { - req: TODO; - res: TODO; - }; - "clips/delete": { - req: { - clipId: Clip["id"]; - }; - res: null; - }; - "clips/list": { - req: TODO; - res: TODO; - }; - "clips/notes": { - req: TODO; - res: TODO; - }; - "clips/show": { - req: TODO; - res: TODO; - }; - "clips/update": { - req: TODO; - res: TODO; - }; - drive: { - req: NoParams; - res: { - capacity: number; - usage: number; - }; - }; - "drive/files": { - req: { - folderId?: DriveFolder["id"] | null; - type?: DriveFile["type"] | null; - limit?: number; - sinceId?: DriveFile["id"]; - untilId?: DriveFile["id"]; - }; - res: DriveFile[]; - }; - "drive/files/attached-notes": { - req: TODO; - res: TODO; - }; - "drive/files/check-existence": { - req: TODO; - res: TODO; - }; - "drive/files/create": { - req: TODO; - res: TODO; - }; - "drive/files/delete": { - req: { - fileId: DriveFile["id"]; - }; - res: null; - }; - "drive/files/find-by-hash": { - req: TODO; - res: TODO; - }; - "drive/files/find": { - req: { - name: string; - folderId?: DriveFolder["id"] | null; - }; - res: DriveFile[]; - }; - "drive/files/show": { - req: { - fileId?: DriveFile["id"]; - url?: string; - }; - res: DriveFile; - }; - "drive/files/update": { - req: { - fileId: DriveFile["id"]; - folderId?: DriveFolder["id"] | null; - name?: string; - isSensitive?: boolean; - comment?: string | null; - }; - res: DriveFile; - }; - "drive/files/upload-from-url": { - req: { - url: string; - folderId?: DriveFolder["id"] | null; - isSensitive?: boolean; - comment?: string | null; - marker?: string | null; - force?: boolean; - }; - res: null; - }; - "drive/folders": { - req: { - folderId?: DriveFolder["id"] | null; - limit?: number; - sinceId?: DriveFile["id"]; - untilId?: DriveFile["id"]; - }; - res: DriveFolder[]; - }; - "drive/folders/create": { - req: { - name?: string; - parentId?: DriveFolder["id"] | null; - }; - res: DriveFolder; - }; - "drive/folders/delete": { - req: { - folderId: DriveFolder["id"]; - }; - res: null; - }; - "drive/folders/find": { - req: { - name: string; - parentId?: DriveFolder["id"] | null; - }; - res: DriveFolder[]; - }; - "drive/folders/show": { - req: { - folderId: DriveFolder["id"]; - }; - res: DriveFolder; - }; - "drive/folders/update": { - req: { - folderId: DriveFolder["id"]; - name?: string; - parentId?: DriveFolder["id"] | null; - }; - res: DriveFolder; - }; - "drive/stream": { - req: { - type?: DriveFile["type"] | null; - limit?: number; - sinceId?: DriveFile["id"]; - untilId?: DriveFile["id"]; - }; - res: DriveFile[]; - }; - endpoint: { - req: { - endpoint: string; - }; - res: { - params: { - name: string; - type: string; - }[]; - }; - }; - endpoints: { - req: NoParams; - res: string[]; - }; - "federation/dns": { - req: { - host: string; - }; - res: { - a: string[]; - aaaa: string[]; - cname: string[]; - txt: string[]; - }; - }; - "federation/followers": { - req: { - host: string; - limit?: number; - sinceId?: Following["id"]; - untilId?: Following["id"]; - }; - res: FollowingFolloweePopulated[]; - }; - "federation/following": { - req: { - host: string; - limit?: number; - sinceId?: Following["id"]; - untilId?: Following["id"]; - }; - res: FollowingFolloweePopulated[]; - }; - "federation/instances": { - req: { - host?: string | null; - blocked?: boolean | null; - notResponding?: boolean | null; - suspended?: boolean | null; - federating?: boolean | null; - subscribing?: boolean | null; - publishing?: boolean | null; - limit?: number; - offset?: number; - sort?: - | "+pubSub" - | "-pubSub" - | "+notes" - | "-notes" - | "+users" - | "-users" - | "+following" - | "-following" - | "+followers" - | "-followers" - | "+caughtAt" - | "-caughtAt" - | "+lastCommunicatedAt" - | "-lastCommunicatedAt" - | "+driveUsage" - | "-driveUsage" - | "+driveFiles" - | "-driveFiles"; - }; - res: Instance[]; - }; - "federation/show-instance": { - req: { - host: string; - }; - res: Instance; - }; - "federation/update-remote-user": { - req: { - userId: User["id"]; - }; - res: null; - }; - "federation/users": { - req: { - host: string; - limit?: number; - sinceId?: User["id"]; - untilId?: User["id"]; - }; - res: UserDetailed[]; - }; - "following/create": { - req: { - userId: User["id"]; - }; - res: User; - }; - "following/delete": { - req: { - userId: User["id"]; - }; - res: User; - }; - "following/requests/accept": { - req: { - userId: User["id"]; - }; - res: null; - }; - "following/requests/cancel": { - req: { - userId: User["id"]; - }; - res: User; - }; - "following/requests/list": { - req: NoParams; - res: FollowRequest[]; - }; - "following/requests/reject": { - req: { - userId: User["id"]; - }; - res: null; - }; - "gallery/featured": { - req: TODO; - res: TODO; - }; - "gallery/popular": { - req: TODO; - res: TODO; - }; - "gallery/posts": { - req: TODO; - res: TODO; - }; - "gallery/posts/create": { - req: TODO; - res: TODO; - }; - "gallery/posts/delete": { - req: { - postId: GalleryPost["id"]; - }; - res: null; - }; - "gallery/posts/like": { - req: TODO; - res: TODO; - }; - "gallery/posts/show": { - req: TODO; - res: TODO; - }; - "gallery/posts/unlike": { - req: TODO; - res: TODO; - }; - "gallery/posts/update": { - req: TODO; - res: TODO; - }; - "games/reversi/games": { - req: TODO; - res: TODO; - }; - "games/reversi/games/show": { - req: TODO; - res: TODO; - }; - "games/reversi/games/surrender": { - req: TODO; - res: TODO; - }; - "games/reversi/invitations": { - req: TODO; - res: TODO; - }; - "games/reversi/match": { - req: TODO; - res: TODO; - }; - "games/reversi/match/cancel": { - req: TODO; - res: TODO; - }; - "get-online-users-count": { - req: NoParams; - res: { - count: number; - }; - }; - "hashtags/list": { - req: TODO; - res: TODO; - }; - "hashtags/search": { - req: TODO; - res: TODO; - }; - "hashtags/show": { - req: TODO; - res: TODO; - }; - "hashtags/trend": { - req: TODO; - res: TODO; - }; - "hashtags/users": { - req: TODO; - res: TODO; - }; - i: { - req: NoParams; - res: User; - }; - "i/apps": { - req: TODO; - res: TODO; - }; - "i/authorized-apps": { - req: TODO; - res: TODO; - }; - "i/change-password": { - req: TODO; - res: TODO; - }; - "i/delete-account": { - req: { - password: string; - }; - res: null; - }; - "i/export-blocking": { - req: TODO; - res: TODO; - }; - "i/export-following": { - req: TODO; - res: TODO; - }; - "i/export-mute": { - req: TODO; - res: TODO; - }; - "i/export-notes": { - req: TODO; - res: TODO; - }; - "i/export-user-lists": { - req: TODO; - res: TODO; - }; - "i/favorites": { - req: { - limit?: number; - sinceId?: NoteFavorite["id"]; - untilId?: NoteFavorite["id"]; - }; - res: NoteFavorite[]; - }; - "i/gallery/likes": { - req: TODO; - res: TODO; - }; - "i/gallery/posts": { - req: TODO; - res: TODO; - }; - "i/get-word-muted-notes-count": { - req: TODO; - res: TODO; - }; - "i/import-following": { - req: TODO; - res: TODO; - }; - "i/import-user-lists": { - req: TODO; - res: TODO; - }; - "i/move": { - req: TODO; - res: TODO; - }; - "i/known-as": { - req: TODO; - res: TODO; - }; - "i/notifications": { - req: { - limit?: number; - sinceId?: Notification["id"]; - untilId?: Notification["id"]; - following?: boolean; - markAsRead?: boolean; - includeTypes?: Notification["type"][]; - excludeTypes?: Notification["type"][]; - }; - res: Notification[]; - }; - "i/page-likes": { - req: TODO; - res: TODO; - }; - "i/pages": { - req: TODO; - res: TODO; - }; - "i/pin": { - req: { - noteId: Note["id"]; - }; - res: MeDetailed; - }; - "i/read-all-messaging-messages": { - req: TODO; - res: TODO; - }; - "i/read-all-unread-notes": { - req: TODO; - res: TODO; - }; - "i/read-announcement": { - req: TODO; - res: TODO; - }; - "i/regenerate-token": { - req: { - password: string; - }; - res: null; - }; - "i/registry/get-all": { - req: { - scope?: string[]; - }; - res: Record; - }; - "i/registry/get-detail": { - req: { - key: string; - scope?: string[]; - }; - res: { - updatedAt: DateString; - value: any; - }; - }; - "i/registry/get": { - req: { - key: string; - scope?: string[]; - }; - res: any; - }; - "i/registry/keys-with-type": { - req: { - scope?: string[]; - }; - res: Record< - string, - "null" | "array" | "number" | "string" | "boolean" | "object" - >; - }; - "i/registry/keys": { - req: { - scope?: string[]; - }; - res: string[]; - }; - "i/registry/remove": { - req: { - key: string; - scope?: string[]; - }; - res: null; - }; - "i/registry/scopes": { - req: NoParams; - res: string[][]; - }; - "i/registry/set": { - req: { - key: string; - value: any; - scope?: string[]; - }; - res: null; - }; - "i/revoke-token": { - req: TODO; - res: TODO; - }; - "i/signin-history": { - req: { - limit?: number; - sinceId?: Signin["id"]; - untilId?: Signin["id"]; - }; - res: Signin[]; - }; - "i/unpin": { - req: { - noteId: Note["id"]; - }; - res: MeDetailed; - }; - "i/update-email": { - req: { - password: string; - email?: string | null; - }; - res: MeDetailed; - }; - "i/update": { - req: { - name?: string | null; - description?: string | null; - lang?: string | null; - location?: string | null; - birthday?: string | null; - avatarId?: DriveFile["id"] | null; - bannerId?: DriveFile["id"] | null; - fields?: { - name: string; - value: string; - }[]; - isLocked?: boolean; - isExplorable?: boolean; - hideOnlineStatus?: boolean; - carefulBot?: boolean; - autoAcceptFollowed?: boolean; - noCrawle?: boolean; - preventAiLearning?: boolean; - isBot?: boolean; - isCat?: boolean; - injectFeaturedNote?: boolean; - receiveAnnouncementEmail?: boolean; - alwaysMarkNsfw?: boolean; - mutedWords?: string[][]; - mutingNotificationTypes?: Notification["type"][]; - emailNotificationTypes?: string[]; - }; - res: MeDetailed; - }; - "i/user-group-invites": { - req: TODO; - res: TODO; - }; - "i/2fa/done": { - req: TODO; - res: TODO; - }; - "i/2fa/key-done": { - req: TODO; - res: TODO; - }; - "i/2fa/password-less": { - req: TODO; - res: TODO; - }; - "i/2fa/register-key": { - req: TODO; - res: TODO; - }; - "i/2fa/register": { - req: TODO; - res: TODO; - }; - "i/2fa/update-key": { - req: TODO; - res: TODO; - }; - "i/2fa/remove-key": { - req: TODO; - res: TODO; - }; - "i/2fa/unregister": { - req: TODO; - res: TODO; - }; - "messaging/history": { - req: { - limit?: number; - group?: boolean; - }; - res: MessagingMessage[]; - }; - "messaging/messages": { - req: { - userId?: User["id"]; - groupId?: UserGroup["id"]; - limit?: number; - sinceId?: MessagingMessage["id"]; - untilId?: MessagingMessage["id"]; - markAsRead?: boolean; - }; - res: MessagingMessage[]; - }; - "messaging/messages/create": { - req: { - userId?: User["id"]; - groupId?: UserGroup["id"]; - text?: string; - fileId?: DriveFile["id"]; - }; - res: MessagingMessage; - }; - "messaging/messages/delete": { - req: { - messageId: MessagingMessage["id"]; - }; - res: null; - }; - "messaging/messages/read": { - req: { - messageId: MessagingMessage["id"]; - }; - res: null; - }; - meta: { - req: { - detail?: boolean; - }; - res: { - $switch: { - $cases: [ - [ - { - detail: true; - }, - DetailedInstanceMetadata, - ], - [ - { - detail: false; - }, - LiteInstanceMetadata, - ], - [ - { - detail: boolean; - }, - LiteInstanceMetadata | DetailedInstanceMetadata, - ], - ]; - $default: LiteInstanceMetadata; - }; - }; - }; - "miauth/gen-token": { - req: TODO; - res: TODO; - }; - "mute/create": { - req: TODO; - res: TODO; - }; - "mute/delete": { - req: { - userId: User["id"]; - }; - res: null; - }; - "mute/list": { - req: TODO; - res: TODO; - }; - "renote-mute/create": { - req: TODO; - res: TODO; - }; - "renote-mute/delete": { - req: { - userId: User["id"]; - }; - res: null; - }; - "renote-mute/list": { - req: TODO; - res: TODO; - }; - "my/apps": { - req: TODO; - res: TODO; - }; - notes: { - req: { - limit?: number; - sinceId?: Note["id"]; - untilId?: Note["id"]; - }; - res: Note[]; - }; - "notes/children": { - req: { - noteId: Note["id"]; - limit?: number; - sinceId?: Note["id"]; - untilId?: Note["id"]; - }; - res: Note[]; - }; - "notes/clips": { - req: TODO; - res: TODO; - }; - "notes/conversation": { - req: TODO; - res: TODO; - }; - "notes/create": { - req: NoteSubmitReq; - res: { - createdNote: Note; - }; - }; - "notes/delete": { - req: { - noteId: Note["id"]; - }; - res: null; - }; - "notes/edit": { - req: NoteSubmitReq; - res: { - createdNote: Note; - }; - }; - "notes/favorites/create": { - req: { - noteId: Note["id"]; - }; - res: null; - }; - "notes/favorites/delete": { - req: { - noteId: Note["id"]; - }; - res: null; - }; - "notes/featured": { - req: TODO; - res: Note[]; - }; - "notes/global-timeline": { - req: { - limit?: number; - sinceId?: Note["id"]; - untilId?: Note["id"]; - sinceDate?: number; - untilDate?: number; - }; - res: Note[]; - }; - "notes/recommended-timeline": { - req: { - limit?: number; - sinceId?: Note["id"]; - untilId?: Note["id"]; - sinceDate?: number; - untilDate?: number; - }; - res: Note[]; - }; - "notes/hybrid-timeline": { - req: { - limit?: number; - sinceId?: Note["id"]; - untilId?: Note["id"]; - sinceDate?: number; - untilDate?: number; - }; - res: Note[]; - }; - "notes/local-timeline": { - req: { - limit?: number; - sinceId?: Note["id"]; - untilId?: Note["id"]; - sinceDate?: number; - untilDate?: number; - }; - res: Note[]; - }; - "notes/mentions": { - req: { - following?: boolean; - limit?: number; - sinceId?: Note["id"]; - untilId?: Note["id"]; - }; - res: Note[]; - }; - "notes/polls/recommendation": { - req: TODO; - res: TODO; - }; - "notes/polls/vote": { - req: { - noteId: Note["id"]; - choice: number; - }; - res: null; - }; - "notes/reactions": { - req: { - noteId: Note["id"]; - type?: string | null; - limit?: number; - }; - res: NoteReaction[]; - }; - "notes/reactions/create": { - req: { - noteId: Note["id"]; - reaction: string; - }; - res: null; - }; - "notes/reactions/delete": { - req: { - noteId: Note["id"]; - }; - res: null; - }; - "notes/renotes": { - req: { - limit?: number; - sinceId?: Note["id"]; - untilId?: Note["id"]; - noteId: Note["id"]; - }; - res: Note[]; - }; - "notes/replies": { - req: { - limit?: number; - sinceId?: Note["id"]; - untilId?: Note["id"]; - noteId: Note["id"]; - }; - res: Note[]; - }; - "notes/search-by-tag": { - req: TODO; - res: TODO; - }; - "notes/search": { - req: TODO; - res: TODO; - }; - "notes/show": { - req: { - noteId: Note["id"]; - }; - res: Note; - }; - "notes/state": { - req: TODO; - res: TODO; - }; - "notes/timeline": { - req: { - limit?: number; - sinceId?: Note["id"]; - untilId?: Note["id"]; - sinceDate?: number; - untilDate?: number; - }; - res: Note[]; - }; - "notes/unrenote": { - req: { - noteId: Note["id"]; - }; - res: null; - }; - "notes/user-list-timeline": { - req: { - listId: UserList["id"]; - limit?: number; - sinceId?: Note["id"]; - untilId?: Note["id"]; - sinceDate?: number; - untilDate?: number; - }; - res: Note[]; - }; - "notes/watching/create": { - req: TODO; - res: TODO; - }; - "notes/watching/delete": { - req: { - noteId: Note["id"]; - }; - res: null; - }; - "notifications/create": { - req: { - body: string; - header?: string | null; - icon?: string | null; - }; - res: null; - }; - "notifications/mark-all-as-read": { - req: NoParams; - res: null; - }; - "notifications/read": { - req: { - notificationId: Notification["id"]; - }; - res: null; - }; - "page-push": { - req: { - pageId: Page["id"]; - event: string; - var?: any; - }; - res: null; - }; - "pages/create": { - req: TODO; - res: Page; - }; - "pages/delete": { - req: { - pageId: Page["id"]; - }; - res: null; - }; - "pages/featured": { - req: NoParams; - res: Page[]; - }; - "pages/like": { - req: { - pageId: Page["id"]; - }; - res: null; - }; - "pages/show": { - req: { - pageId?: Page["id"]; - name?: string; - username?: string; - }; - res: Page; - }; - "pages/unlike": { - req: { - pageId: Page["id"]; - }; - res: null; - }; - "pages/update": { - req: TODO; - res: null; - }; - ping: { - req: NoParams; - res: { - pong: number; - }; - }; - "pinned-users": { - req: TODO; - res: TODO; - }; - "promo/read": { - req: TODO; - res: TODO; - }; - "request-reset-password": { - req: { - username: string; - email: string; - }; - res: null; - }; - "reset-password": { - req: { - token: string; - password: string; - }; - res: null; - }; - "room/show": { - req: TODO; - res: TODO; - }; - "room/update": { - req: TODO; - res: TODO; - }; - stats: { - req: NoParams; - res: Stats; - }; - "server-info": { - req: NoParams; - res: ServerInfo; - }; - "latest-version": { - req: NoParams; - res: TODO; - }; - "sw/register": { - req: TODO; - res: TODO; - }; - "username/available": { - req: { - username: string; - }; - res: { - available: boolean; - }; - }; - users: { - req: { - limit?: number; - offset?: number; - sort?: UserSorting; - origin?: OriginType; - }; - res: User[]; - }; - "users/clips": { - req: TODO; - res: TODO; - }; - "users/followers": { - req: { - userId?: User["id"]; - username?: User["username"]; - host?: User["host"] | null; - limit?: number; - sinceId?: Following["id"]; - untilId?: Following["id"]; - }; - res: FollowingFollowerPopulated[]; - }; - "users/following": { - req: { - userId?: User["id"]; - username?: User["username"]; - host?: User["host"] | null; - limit?: number; - sinceId?: Following["id"]; - untilId?: Following["id"]; - }; - res: FollowingFolloweePopulated[]; - }; - "users/gallery/posts": { - req: TODO; - res: TODO; - }; - "users/get-frequently-replied-users": { - req: TODO; - res: TODO; - }; - "users/groups/create": { - req: TODO; - res: TODO; - }; - "users/groups/delete": { - req: { - groupId: UserGroup["id"]; - }; - res: null; - }; - "users/groups/invitations/accept": { - req: TODO; - res: TODO; - }; - "users/groups/invitations/reject": { - req: TODO; - res: TODO; - }; - "users/groups/invite": { - req: TODO; - res: TODO; - }; - "users/groups/joined": { - req: TODO; - res: TODO; - }; - "users/groups/owned": { - req: TODO; - res: TODO; - }; - "users/groups/pull": { - req: TODO; - res: TODO; - }; - "users/groups/show": { - req: TODO; - res: TODO; - }; - "users/groups/transfer": { - req: TODO; - res: TODO; - }; - "users/groups/update": { - req: TODO; - res: TODO; - }; - "users/lists/create": { - req: { - name: string; - }; - res: UserList; - }; - "users/lists/delete": { - req: { - listId: UserList["id"]; - }; - res: null; - }; - "users/lists/list": { - req: NoParams; - res: UserList[]; - }; - "users/lists/pull": { - req: { - listId: UserList["id"]; - userId: User["id"]; - }; - res: null; - }; - "users/lists/push": { - req: { - listId: UserList["id"]; - userId: User["id"]; - }; - res: null; - }; - "users/lists/show": { - req: { - listId: UserList["id"]; - }; - res: UserList; - }; - "users/lists/update": { - req: { - listId: UserList["id"]; - name: string; - }; - res: UserList; - }; - "users/notes": { - req: { - userId: User["id"]; - limit?: number; - sinceId?: Note["id"]; - untilId?: Note["id"]; - sinceDate?: number; - untilDate?: number; - }; - res: Note[]; - }; - "users/pages": { - req: TODO; - res: TODO; - }; - "users/recommendation": { - req: TODO; - res: TODO; - }; - "users/relation": { - req: TODO; - res: TODO; - }; - "users/report-abuse": { - req: TODO; - res: TODO; - }; - "users/search-by-username-and-host": { - req: TODO; - res: TODO; - }; - "users/search": { - req: TODO; - res: TODO; - }; - "users/show": { - req: - | ShowUserReq - | { - userIds: User["id"][]; - }; - res: { - $switch: { - $cases: [ - [ - { - userIds: User["id"][]; - }, - UserDetailed[], - ], - ]; - $default: UserDetailed; - }; - }; - }; - "users/stats": { - req: TODO; - res: TODO; - }; -}; -``` -**References:** [User](./iceshrimp-js.entities.user.md), [Ad](./iceshrimp-js.entities.ad.md), [Announcement](./iceshrimp-js.entities.announcement.md), [Antenna](./iceshrimp-js.entities.antenna.md), [Note](./iceshrimp-js.entities.note.md), [UserDetailed](./iceshrimp-js.entities.userdetailed.md), [App](./iceshrimp-js.entities.app.md), [AuthSession](./iceshrimp-js.entities.authsession.md), [Blocking](./iceshrimp-js.entities.blocking.md), [Clip](./iceshrimp-js.entities.clip.md), [DriveFolder](./iceshrimp-js.entities.drivefolder.md), [DriveFile](./iceshrimp-js.entities.drivefile.md), [Following](./iceshrimp-js.entities.following.md), [FollowingFolloweePopulated](./iceshrimp-js.entities.followingfolloweepopulated.md), [Instance](./iceshrimp-js.entities.instance.md), [FollowRequest](./iceshrimp-js.entities.followrequest.md), [GalleryPost](./iceshrimp-js.entities.gallerypost.md), [NoteFavorite](./iceshrimp-js.entities.notefavorite.md), [MeDetailed](./iceshrimp-js.entities.medetailed.md), [DateString](./iceshrimp-js.entities.datestring.md), [Signin](./iceshrimp-js.entities.signin.md), [MessagingMessage](./iceshrimp-js.entities.messagingmessage.md), [UserGroup](./iceshrimp-js.entities.usergroup.md), [DetailedInstanceMetadata](./iceshrimp-js.entities.detailedinstancemetadata.md), [LiteInstanceMetadata](./iceshrimp-js.entities.liteinstancemetadata.md), [NoteReaction](./iceshrimp-js.entities.notereaction.md), [UserList](./iceshrimp-js.entities.userlist.md), [Page](./iceshrimp-js.entities.page.md), [Stats](./iceshrimp-js.entities.stats.md), [ServerInfo](./iceshrimp-js.entities.serverinfo.md), [UserSorting](./iceshrimp-js.entities.usersorting.md), [OriginType](./iceshrimp-js.entities.origintype.md), [FollowingFollowerPopulated](./iceshrimp-js.entities.followingfollowerpopulated.md) - diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.ad.md b/packages/iceshrimp-js/markdown/iceshrimp-js.entities.ad.md deleted file mode 100644 index e9be33da1..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.ad.md +++ /dev/null @@ -1,11 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [entities](./iceshrimp-js.entities.md) > [Ad](./iceshrimp-js.entities.ad.md) - -## entities.Ad type - -**Signature:** - -```typescript -export declare type Ad = TODO; -``` diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.announcement.md b/packages/iceshrimp-js/markdown/iceshrimp-js.entities.announcement.md deleted file mode 100644 index 47063daa4..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.announcement.md +++ /dev/null @@ -1,21 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [entities](./iceshrimp-js.entities.md) > [Announcement](./iceshrimp-js.entities.announcement.md) - -## entities.Announcement type - -**Signature:** - -```typescript -export declare type Announcement = { - id: ID; - createdAt: DateString; - updatedAt: DateString | null; - text: string; - title: string; - imageUrl: string | null; - isRead?: boolean; -}; -``` -**References:** [ID](./iceshrimp-js.entities.id.md), [DateString](./iceshrimp-js.entities.datestring.md) - diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.antenna.md b/packages/iceshrimp-js/markdown/iceshrimp-js.entities.antenna.md deleted file mode 100644 index 18bc2ff63..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.antenna.md +++ /dev/null @@ -1,29 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [entities](./iceshrimp-js.entities.md) > [Antenna](./iceshrimp-js.entities.antenna.md) - -## entities.Antenna type - -**Signature:** - -```typescript -export declare type Antenna = { - id: ID; - createdAt: DateString; - name: string; - keywords: string[][]; - excludeKeywords: string[][]; - src: "home" | "all" | "users" | "list" | "group" | "instances"; - userListId: ID | null; - userGroupId: ID | null; - users: string[]; - instances: string[]; - caseSensitive: boolean; - notify: boolean; - withReplies: boolean; - withFile: boolean; - hasUnreadNote: boolean; -}; -``` -**References:** [ID](./iceshrimp-js.entities.id.md), [DateString](./iceshrimp-js.entities.datestring.md) - diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.app.md b/packages/iceshrimp-js/markdown/iceshrimp-js.entities.app.md deleted file mode 100644 index 8374d4b8b..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.app.md +++ /dev/null @@ -1,11 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [entities](./iceshrimp-js.entities.md) > [App](./iceshrimp-js.entities.app.md) - -## entities.App type - -**Signature:** - -```typescript -export declare type App = TODO; -``` diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.authsession.md b/packages/iceshrimp-js/markdown/iceshrimp-js.entities.authsession.md deleted file mode 100644 index 497a08e83..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.authsession.md +++ /dev/null @@ -1,17 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [entities](./iceshrimp-js.entities.md) > [AuthSession](./iceshrimp-js.entities.authsession.md) - -## entities.AuthSession type - -**Signature:** - -```typescript -export declare type AuthSession = { - id: ID; - app: App; - token: string; -}; -``` -**References:** [ID](./iceshrimp-js.entities.id.md), [App](./iceshrimp-js.entities.app.md) - diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.blocking.md b/packages/iceshrimp-js/markdown/iceshrimp-js.entities.blocking.md deleted file mode 100644 index 18bb17e5a..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.blocking.md +++ /dev/null @@ -1,18 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [entities](./iceshrimp-js.entities.md) > [Blocking](./iceshrimp-js.entities.blocking.md) - -## entities.Blocking type - -**Signature:** - -```typescript -export declare type Blocking = { - id: ID; - createdAt: DateString; - blockeeId: User["id"]; - blockee: UserDetailed; -}; -``` -**References:** [ID](./iceshrimp-js.entities.id.md), [DateString](./iceshrimp-js.entities.datestring.md), [User](./iceshrimp-js.entities.user.md), [UserDetailed](./iceshrimp-js.entities.userdetailed.md) - diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.channel.md b/packages/iceshrimp-js/markdown/iceshrimp-js.entities.channel.md deleted file mode 100644 index 956aef7eb..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.channel.md +++ /dev/null @@ -1,15 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [entities](./iceshrimp-js.entities.md) > [Channel](./iceshrimp-js.entities.channel.md) - -## entities.Channel type - -**Signature:** - -```typescript -export declare type Channel = { - id: ID; -}; -``` -**References:** [ID](./iceshrimp-js.entities.id.md) - diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.clip.md b/packages/iceshrimp-js/markdown/iceshrimp-js.entities.clip.md deleted file mode 100644 index 521c27862..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.clip.md +++ /dev/null @@ -1,11 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [entities](./iceshrimp-js.entities.md) > [Clip](./iceshrimp-js.entities.clip.md) - -## entities.Clip type - -**Signature:** - -```typescript -export declare type Clip = TODO; -``` diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.customemoji.md b/packages/iceshrimp-js/markdown/iceshrimp-js.entities.customemoji.md deleted file mode 100644 index bfaa96191..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.customemoji.md +++ /dev/null @@ -1,17 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [entities](./iceshrimp-js.entities.md) > [CustomEmoji](./iceshrimp-js.entities.customemoji.md) - -## entities.CustomEmoji type - -**Signature:** - -```typescript -export declare type CustomEmoji = { - id: string; - name: string; - url: string; - category: string; - aliases: string[]; -}; -``` diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.datestring.md b/packages/iceshrimp-js/markdown/iceshrimp-js.entities.datestring.md deleted file mode 100644 index 881a90be0..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.datestring.md +++ /dev/null @@ -1,11 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [entities](./iceshrimp-js.entities.md) > [DateString](./iceshrimp-js.entities.datestring.md) - -## entities.DateString type - -**Signature:** - -```typescript -export declare type DateString = string; -``` diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.detailedinstancemetadata.md b/packages/iceshrimp-js/markdown/iceshrimp-js.entities.detailedinstancemetadata.md deleted file mode 100644 index 9c215eb90..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.detailedinstancemetadata.md +++ /dev/null @@ -1,15 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [entities](./iceshrimp-js.entities.md) > [DetailedInstanceMetadata](./iceshrimp-js.entities.detailedinstancemetadata.md) - -## entities.DetailedInstanceMetadata type - -**Signature:** - -```typescript -export declare type DetailedInstanceMetadata = LiteInstanceMetadata & { - features: Record; -}; -``` -**References:** [LiteInstanceMetadata](./iceshrimp-js.entities.liteinstancemetadata.md) - diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.drivefile.md b/packages/iceshrimp-js/markdown/iceshrimp-js.entities.drivefile.md deleted file mode 100644 index 426c7f775..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.drivefile.md +++ /dev/null @@ -1,26 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [entities](./iceshrimp-js.entities.md) > [DriveFile](./iceshrimp-js.entities.drivefile.md) - -## entities.DriveFile type - -**Signature:** - -```typescript -export declare type DriveFile = { - id: ID; - createdAt: DateString; - isSensitive: boolean; - name: string; - thumbnailUrl: string; - url: string; - type: string; - size: number; - md5: string; - blurhash: string; - comment: string | null; - properties: Record; -}; -``` -**References:** [ID](./iceshrimp-js.entities.id.md), [DateString](./iceshrimp-js.entities.datestring.md) - diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.drivefolder.md b/packages/iceshrimp-js/markdown/iceshrimp-js.entities.drivefolder.md deleted file mode 100644 index 72ccae0ed..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.drivefolder.md +++ /dev/null @@ -1,11 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [entities](./iceshrimp-js.entities.md) > [DriveFolder](./iceshrimp-js.entities.drivefolder.md) - -## entities.DriveFolder type - -**Signature:** - -```typescript -export declare type DriveFolder = TODO; -``` diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.following.md b/packages/iceshrimp-js/markdown/iceshrimp-js.entities.following.md deleted file mode 100644 index 9cb789e45..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.following.md +++ /dev/null @@ -1,18 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [entities](./iceshrimp-js.entities.md) > [Following](./iceshrimp-js.entities.following.md) - -## entities.Following type - -**Signature:** - -```typescript -export declare type Following = { - id: ID; - createdAt: DateString; - followerId: User["id"]; - followeeId: User["id"]; -}; -``` -**References:** [ID](./iceshrimp-js.entities.id.md), [DateString](./iceshrimp-js.entities.datestring.md), [User](./iceshrimp-js.entities.user.md) - diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.followingfolloweepopulated.md b/packages/iceshrimp-js/markdown/iceshrimp-js.entities.followingfolloweepopulated.md deleted file mode 100644 index 15d559aa7..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.followingfolloweepopulated.md +++ /dev/null @@ -1,15 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [entities](./iceshrimp-js.entities.md) > [FollowingFolloweePopulated](./iceshrimp-js.entities.followingfolloweepopulated.md) - -## entities.FollowingFolloweePopulated type - -**Signature:** - -```typescript -export declare type FollowingFolloweePopulated = Following & { - followee: UserDetailed; -}; -``` -**References:** [Following](./iceshrimp-js.entities.following.md), [UserDetailed](./iceshrimp-js.entities.userdetailed.md) - diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.followingfollowerpopulated.md b/packages/iceshrimp-js/markdown/iceshrimp-js.entities.followingfollowerpopulated.md deleted file mode 100644 index 4c9aca8eb..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.followingfollowerpopulated.md +++ /dev/null @@ -1,15 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [entities](./iceshrimp-js.entities.md) > [FollowingFollowerPopulated](./iceshrimp-js.entities.followingfollowerpopulated.md) - -## entities.FollowingFollowerPopulated type - -**Signature:** - -```typescript -export declare type FollowingFollowerPopulated = Following & { - follower: UserDetailed; -}; -``` -**References:** [Following](./iceshrimp-js.entities.following.md), [UserDetailed](./iceshrimp-js.entities.userdetailed.md) - diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.followrequest.md b/packages/iceshrimp-js/markdown/iceshrimp-js.entities.followrequest.md deleted file mode 100644 index 97b698449..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.followrequest.md +++ /dev/null @@ -1,17 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [entities](./iceshrimp-js.entities.md) > [FollowRequest](./iceshrimp-js.entities.followrequest.md) - -## entities.FollowRequest type - -**Signature:** - -```typescript -export declare type FollowRequest = { - id: ID; - follower: User; - followee: User; -}; -``` -**References:** [ID](./iceshrimp-js.entities.id.md), [User](./iceshrimp-js.entities.user.md) - diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.gallerypost.md b/packages/iceshrimp-js/markdown/iceshrimp-js.entities.gallerypost.md deleted file mode 100644 index b384458c4..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.gallerypost.md +++ /dev/null @@ -1,11 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [entities](./iceshrimp-js.entities.md) > [GalleryPost](./iceshrimp-js.entities.gallerypost.md) - -## entities.GalleryPost type - -**Signature:** - -```typescript -export declare type GalleryPost = TODO; -``` diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.id.md b/packages/iceshrimp-js/markdown/iceshrimp-js.entities.id.md deleted file mode 100644 index 262252bc6..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.id.md +++ /dev/null @@ -1,11 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [entities](./iceshrimp-js.entities.md) > [ID](./iceshrimp-js.entities.id.md) - -## entities.ID type - -**Signature:** - -```typescript -export declare type ID = string; -``` diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.instance.md b/packages/iceshrimp-js/markdown/iceshrimp-js.entities.instance.md deleted file mode 100644 index 312596727..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.instance.md +++ /dev/null @@ -1,40 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [entities](./iceshrimp-js.entities.md) > [Instance](./iceshrimp-js.entities.instance.md) - -## entities.Instance type - -**Signature:** - -```typescript -export declare type Instance = { - id: ID; - caughtAt: DateString; - host: string; - usersCount: number; - notesCount: number; - followingCount: number; - followersCount: number; - driveUsage: number; - driveFiles: number; - latestRequestSentAt: DateString | null; - latestStatus: number | null; - latestRequestReceivedAt: DateString | null; - lastCommunicatedAt: DateString; - isNotResponding: boolean; - isSuspended: boolean; - softwareName: string | null; - softwareVersion: string | null; - openRegistrations: boolean | null; - name: string | null; - description: string | null; - maintainerName: string | null; - maintainerEmail: string | null; - iconUrl: string | null; - faviconUrl: string | null; - themeColor: string | null; - infoUpdatedAt: DateString | null; -}; -``` -**References:** [ID](./iceshrimp-js.entities.id.md), [DateString](./iceshrimp-js.entities.datestring.md) - diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.instancemetadata.md b/packages/iceshrimp-js/markdown/iceshrimp-js.entities.instancemetadata.md deleted file mode 100644 index 0c2e5222b..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.instancemetadata.md +++ /dev/null @@ -1,15 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [entities](./iceshrimp-js.entities.md) > [InstanceMetadata](./iceshrimp-js.entities.instancemetadata.md) - -## entities.InstanceMetadata type - -**Signature:** - -```typescript -export declare type InstanceMetadata = - | LiteInstanceMetadata - | DetailedInstanceMetadata; -``` -**References:** [LiteInstanceMetadata](./iceshrimp-js.entities.liteinstancemetadata.md), [DetailedInstanceMetadata](./iceshrimp-js.entities.detailedinstancemetadata.md) - diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.liteinstancemetadata.md b/packages/iceshrimp-js/markdown/iceshrimp-js.entities.liteinstancemetadata.md deleted file mode 100644 index e2a6b74a9..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.liteinstancemetadata.md +++ /dev/null @@ -1,45 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [entities](./iceshrimp-js.entities.md) > [LiteInstanceMetadata](./iceshrimp-js.entities.liteinstancemetadata.md) - -## entities.LiteInstanceMetadata type - -**Signature:** - -```typescript -export declare type LiteInstanceMetadata = { - maintainerName: string | null; - maintainerEmail: string | null; - version: string; - name: string | null; - uri: string; - description: string | null; - tosUrl: string | null; - disableRegistration: boolean; - disableLocalTimeline: boolean; - disableRecommendedTimeline: boolean; - disableGlobalTimeline: boolean; - driveCapacityPerLocalUserMb: number; - driveCapacityPerRemoteUserMb: number; - enableHcaptcha: boolean; - hcaptchaSiteKey: string | null; - enableRecaptcha: boolean; - recaptchaSiteKey: string | null; - swPublickey: string | null; - maxNoteTextLength: number; - enableEmail: boolean; - enableGithubIntegration: boolean; - enableDiscordIntegration: boolean; - enableServiceWorker: boolean; - emojis: CustomEmoji[]; - ads: { - id: ID; - ratio: number; - place: string; - url: string; - imageUrl: string; - }[]; -}; -``` -**References:** [CustomEmoji](./iceshrimp-js.entities.customemoji.md), [ID](./iceshrimp-js.entities.id.md) - diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.md b/packages/iceshrimp-js/markdown/iceshrimp-js.entities.md deleted file mode 100644 index 0e63fd4f7..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.md +++ /dev/null @@ -1,51 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [entities](./iceshrimp-js.entities.md) - -## entities namespace - -## Type Aliases - -| Type Alias | Description | -| --- | --- | -| [Ad](./iceshrimp-js.entities.ad.md) | | -| [Announcement](./iceshrimp-js.entities.announcement.md) | | -| [Antenna](./iceshrimp-js.entities.antenna.md) | | -| [App](./iceshrimp-js.entities.app.md) | | -| [AuthSession](./iceshrimp-js.entities.authsession.md) | | -| [Blocking](./iceshrimp-js.entities.blocking.md) | | -| [Channel](./iceshrimp-js.entities.channel.md) | | -| [Clip](./iceshrimp-js.entities.clip.md) | | -| [CustomEmoji](./iceshrimp-js.entities.customemoji.md) | | -| [DateString](./iceshrimp-js.entities.datestring.md) | | -| [DetailedInstanceMetadata](./iceshrimp-js.entities.detailedinstancemetadata.md) | | -| [DriveFile](./iceshrimp-js.entities.drivefile.md) | | -| [DriveFolder](./iceshrimp-js.entities.drivefolder.md) | | -| [Following](./iceshrimp-js.entities.following.md) | | -| [FollowingFolloweePopulated](./iceshrimp-js.entities.followingfolloweepopulated.md) | | -| [FollowingFollowerPopulated](./iceshrimp-js.entities.followingfollowerpopulated.md) | | -| [FollowRequest](./iceshrimp-js.entities.followrequest.md) | | -| [GalleryPost](./iceshrimp-js.entities.gallerypost.md) | | -| [ID](./iceshrimp-js.entities.id.md) | | -| [Instance](./iceshrimp-js.entities.instance.md) | | -| [InstanceMetadata](./iceshrimp-js.entities.instancemetadata.md) | | -| [LiteInstanceMetadata](./iceshrimp-js.entities.liteinstancemetadata.md) | | -| [MeDetailed](./iceshrimp-js.entities.medetailed.md) | | -| [MessagingMessage](./iceshrimp-js.entities.messagingmessage.md) | | -| [Note](./iceshrimp-js.entities.note.md) | | -| [NoteFavorite](./iceshrimp-js.entities.notefavorite.md) | | -| [NoteReaction](./iceshrimp-js.entities.notereaction.md) | | -| [Notification](./iceshrimp-js.entities.notification.md) | | -| [OriginType](./iceshrimp-js.entities.origintype.md) | | -| [Page](./iceshrimp-js.entities.page.md) | | -| [PageEvent](./iceshrimp-js.entities.pageevent.md) | | -| [ServerInfo](./iceshrimp-js.entities.serverinfo.md) | | -| [Signin](./iceshrimp-js.entities.signin.md) | | -| [Stats](./iceshrimp-js.entities.stats.md) | | -| [User](./iceshrimp-js.entities.user.md) | | -| [UserDetailed](./iceshrimp-js.entities.userdetailed.md) | | -| [UserGroup](./iceshrimp-js.entities.usergroup.md) | | -| [UserList](./iceshrimp-js.entities.userlist.md) | | -| [UserLite](./iceshrimp-js.entities.userlite.md) | | -| [UserSorting](./iceshrimp-js.entities.usersorting.md) | | - diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.medetailed.md b/packages/iceshrimp-js/markdown/iceshrimp-js.entities.medetailed.md deleted file mode 100644 index 87f9762d5..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.medetailed.md +++ /dev/null @@ -1,40 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [entities](./iceshrimp-js.entities.md) > [MeDetailed](./iceshrimp-js.entities.medetailed.md) - -## entities.MeDetailed type - -**Signature:** - -```typescript -export declare type MeDetailed = UserDetailed & { - avatarId: DriveFile["id"]; - bannerId: DriveFile["id"]; - autoAcceptFollowed: boolean; - alwaysMarkNsfw: boolean; - carefulBot: boolean; - emailNotificationTypes: string[]; - hasPendingReceivedFollowRequest: boolean; - hasUnreadAnnouncement: boolean; - hasUnreadAntenna: boolean; - hasUnreadChannel: boolean; - hasUnreadMentions: boolean; - hasUnreadMessagingMessage: boolean; - hasUnreadNotification: boolean; - hasUnreadSpecifiedNotes: boolean; - hideOnlineStatus: boolean; - injectFeaturedNote: boolean; - integrations: Record; - isDeleted: boolean; - isExplorable: boolean; - mutedWords: string[][]; - mutingNotificationTypes: string[]; - noCrawle: boolean; - preventAiLearning: boolean; - receiveAnnouncementEmail: boolean; - usePasswordLessLogin: boolean; - [other: string]: any; -}; -``` -**References:** [UserDetailed](./iceshrimp-js.entities.userdetailed.md), [DriveFile](./iceshrimp-js.entities.drivefile.md) - diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.messagingmessage.md b/packages/iceshrimp-js/markdown/iceshrimp-js.entities.messagingmessage.md deleted file mode 100644 index 948c630ae..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.messagingmessage.md +++ /dev/null @@ -1,27 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [entities](./iceshrimp-js.entities.md) > [MessagingMessage](./iceshrimp-js.entities.messagingmessage.md) - -## entities.MessagingMessage type - -**Signature:** - -```typescript -export declare type MessagingMessage = { - id: ID; - createdAt: DateString; - file: DriveFile | null; - fileId: DriveFile["id"] | null; - isRead: boolean; - reads: User["id"][]; - text: string | null; - user: User; - userId: User["id"]; - recipient?: User | null; - recipientId: User["id"] | null; - group?: UserGroup | null; - groupId: UserGroup["id"] | null; -}; -``` -**References:** [ID](./iceshrimp-js.entities.id.md), [DateString](./iceshrimp-js.entities.datestring.md), [DriveFile](./iceshrimp-js.entities.drivefile.md), [User](./iceshrimp-js.entities.user.md), [UserGroup](./iceshrimp-js.entities.usergroup.md) - diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.note.md b/packages/iceshrimp-js/markdown/iceshrimp-js.entities.note.md deleted file mode 100644 index 8cefb402f..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.note.md +++ /dev/null @@ -1,51 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [entities](./iceshrimp-js.entities.md) > [Note](./iceshrimp-js.entities.note.md) - -## entities.Note type - -**Signature:** - -```typescript -export declare type Note = { - id: ID; - createdAt: DateString; - text: string | null; - cw: string | null; - user: User; - userId: User["id"]; - reply?: Note; - replyId: Note["id"]; - renote?: Note; - renoteId: Note["id"]; - files: DriveFile[]; - fileIds: DriveFile["id"][]; - visibility: "public" | "home" | "followers" | "specified"; - visibleUserIds?: User["id"][]; - localOnly?: boolean; - channel?: Channel["id"]; - myReaction?: string; - reactions: Record; - renoteCount: number; - repliesCount: number; - poll?: { - expiresAt: DateString | null; - multiple: boolean; - choices: { - isVoted: boolean; - text: string; - votes: number; - }[]; - }; - emojis: { - name: string; - url: string; - }[]; - uri?: string; - url?: string; - updatedAt?: DateString; - isHidden?: boolean; -}; -``` -**References:** [ID](./iceshrimp-js.entities.id.md), [DateString](./iceshrimp-js.entities.datestring.md), [User](./iceshrimp-js.entities.user.md), [Note](./iceshrimp-js.entities.note.md), [DriveFile](./iceshrimp-js.entities.drivefile.md), [Channel](./iceshrimp-js.entities.channel.md) - diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.notefavorite.md b/packages/iceshrimp-js/markdown/iceshrimp-js.entities.notefavorite.md deleted file mode 100644 index f700a7630..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.notefavorite.md +++ /dev/null @@ -1,18 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [entities](./iceshrimp-js.entities.md) > [NoteFavorite](./iceshrimp-js.entities.notefavorite.md) - -## entities.NoteFavorite type - -**Signature:** - -```typescript -export declare type NoteFavorite = { - id: ID; - createdAt: DateString; - noteId: Note["id"]; - note: Note; -}; -``` -**References:** [ID](./iceshrimp-js.entities.id.md), [DateString](./iceshrimp-js.entities.datestring.md), [Note](./iceshrimp-js.entities.note.md) - diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.notereaction.md b/packages/iceshrimp-js/markdown/iceshrimp-js.entities.notereaction.md deleted file mode 100644 index 979dc40cb..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.notereaction.md +++ /dev/null @@ -1,18 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [entities](./iceshrimp-js.entities.md) > [NoteReaction](./iceshrimp-js.entities.notereaction.md) - -## entities.NoteReaction type - -**Signature:** - -```typescript -export declare type NoteReaction = { - id: ID; - createdAt: DateString; - user: UserLite; - type: string; -}; -``` -**References:** [ID](./iceshrimp-js.entities.id.md), [DateString](./iceshrimp-js.entities.datestring.md), [UserLite](./iceshrimp-js.entities.userlite.md) - diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.notification.md b/packages/iceshrimp-js/markdown/iceshrimp-js.entities.notification.md deleted file mode 100644 index 85e2bb25c..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.notification.md +++ /dev/null @@ -1,82 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [entities](./iceshrimp-js.entities.md) > [Notification](./iceshrimp-js.entities.notification.md) - -## entities.Notification type - -**Signature:** - -```typescript -export declare type Notification = { - id: ID; - createdAt: DateString; - isRead: boolean; -} & ( - | { - type: "reaction"; - reaction: string; - user: User; - userId: User["id"]; - note: Note; - } - | { - type: "reply"; - user: User; - userId: User["id"]; - note: Note; - } - | { - type: "renote"; - user: User; - userId: User["id"]; - note: Note; - } - | { - type: "quote"; - user: User; - userId: User["id"]; - note: Note; - } - | { - type: "mention"; - user: User; - userId: User["id"]; - note: Note; - } - | { - type: "pollVote"; - user: User; - userId: User["id"]; - note: Note; - } - | { - type: "follow"; - user: User; - userId: User["id"]; - } - | { - type: "followRequestAccepted"; - user: User; - userId: User["id"]; - } - | { - type: "receiveFollowRequest"; - user: User; - userId: User["id"]; - } - | { - type: "groupInvited"; - invitation: UserGroup; - user: User; - userId: User["id"]; - } - | { - type: "app"; - header?: string | null; - body: string; - icon?: string | null; - } -); -``` -**References:** [ID](./iceshrimp-js.entities.id.md), [DateString](./iceshrimp-js.entities.datestring.md), [User](./iceshrimp-js.entities.user.md), [Note](./iceshrimp-js.entities.note.md), [UserGroup](./iceshrimp-js.entities.usergroup.md) - diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.origintype.md b/packages/iceshrimp-js/markdown/iceshrimp-js.entities.origintype.md deleted file mode 100644 index 651a0a910..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.origintype.md +++ /dev/null @@ -1,11 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [entities](./iceshrimp-js.entities.md) > [OriginType](./iceshrimp-js.entities.origintype.md) - -## entities.OriginType type - -**Signature:** - -```typescript -export declare type OriginType = "combined" | "local" | "remote"; -``` diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.page.md b/packages/iceshrimp-js/markdown/iceshrimp-js.entities.page.md deleted file mode 100644 index 2e43a55c2..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.page.md +++ /dev/null @@ -1,33 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [entities](./iceshrimp-js.entities.md) > [Page](./iceshrimp-js.entities.page.md) - -## entities.Page type - -**Signature:** - -```typescript -export declare type Page = { - id: ID; - createdAt: DateString; - updatedAt: DateString; - userId: User["id"]; - user: User; - content: Record[]; - variables: Record[]; - title: string; - name: string; - summary: string | null; - hideTitleWhenPinned: boolean; - alignCenter: boolean; - font: string; - script: string; - eyeCatchingImageId: DriveFile["id"] | null; - eyeCatchingImage: DriveFile | null; - attachedFiles: any; - likedCount: number; - isLiked?: boolean; -}; -``` -**References:** [ID](./iceshrimp-js.entities.id.md), [DateString](./iceshrimp-js.entities.datestring.md), [User](./iceshrimp-js.entities.user.md), [DriveFile](./iceshrimp-js.entities.drivefile.md) - diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.pageevent.md b/packages/iceshrimp-js/markdown/iceshrimp-js.entities.pageevent.md deleted file mode 100644 index 3e3eecb41..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.pageevent.md +++ /dev/null @@ -1,19 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [entities](./iceshrimp-js.entities.md) > [PageEvent](./iceshrimp-js.entities.pageevent.md) - -## entities.PageEvent type - -**Signature:** - -```typescript -export declare type PageEvent = { - pageId: Page["id"]; - event: string; - var: any; - userId: User["id"]; - user: User; -}; -``` -**References:** [Page](./iceshrimp-js.entities.page.md), [User](./iceshrimp-js.entities.user.md) - diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.serverinfo.md b/packages/iceshrimp-js/markdown/iceshrimp-js.entities.serverinfo.md deleted file mode 100644 index 080b21d6a..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.serverinfo.md +++ /dev/null @@ -1,24 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [entities](./iceshrimp-js.entities.md) > [ServerInfo](./iceshrimp-js.entities.serverinfo.md) - -## entities.ServerInfo type - -**Signature:** - -```typescript -export declare type ServerInfo = { - machine: string; - cpu: { - model: string; - cores: number; - }; - mem: { - total: number; - }; - fs: { - total: number; - used: number; - }; -}; -``` diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.signin.md b/packages/iceshrimp-js/markdown/iceshrimp-js.entities.signin.md deleted file mode 100644 index 88dac7aa6..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.signin.md +++ /dev/null @@ -1,19 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [entities](./iceshrimp-js.entities.md) > [Signin](./iceshrimp-js.entities.signin.md) - -## entities.Signin type - -**Signature:** - -```typescript -export declare type Signin = { - id: ID; - createdAt: DateString; - ip: string; - headers: Record; - success: boolean; -}; -``` -**References:** [ID](./iceshrimp-js.entities.id.md), [DateString](./iceshrimp-js.entities.datestring.md) - diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.stats.md b/packages/iceshrimp-js/markdown/iceshrimp-js.entities.stats.md deleted file mode 100644 index cf83560d6..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.stats.md +++ /dev/null @@ -1,19 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [entities](./iceshrimp-js.entities.md) > [Stats](./iceshrimp-js.entities.stats.md) - -## entities.Stats type - -**Signature:** - -```typescript -export declare type Stats = { - notesCount: number; - originalNotesCount: number; - usersCount: number; - originalUsersCount: number; - instances: number; - driveUsageLocal: number; - driveUsageRemote: number; -}; -``` diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.user.md b/packages/iceshrimp-js/markdown/iceshrimp-js.entities.user.md deleted file mode 100644 index 2e8d71436..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.user.md +++ /dev/null @@ -1,13 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [entities](./iceshrimp-js.entities.md) > [User](./iceshrimp-js.entities.user.md) - -## entities.User type - -**Signature:** - -```typescript -export declare type User = UserLite | UserDetailed; -``` -**References:** [UserLite](./iceshrimp-js.entities.userlite.md), [UserDetailed](./iceshrimp-js.entities.userdetailed.md) - diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.userdetailed.md b/packages/iceshrimp-js/markdown/iceshrimp-js.entities.userdetailed.md deleted file mode 100644 index 3f5cd57d3..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.userdetailed.md +++ /dev/null @@ -1,56 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [entities](./iceshrimp-js.entities.md) > [UserDetailed](./iceshrimp-js.entities.userdetailed.md) - -## entities.UserDetailed type - -**Signature:** - -```typescript -export declare type UserDetailed = UserLite & { - bannerBlurhash: string | null; - bannerColor: string | null; - bannerUrl: string | null; - birthday: string | null; - createdAt: DateString; - description: string | null; - ffVisibility: "public" | "followers" | "private"; - fields: { - name: string; - value: string; - }[]; - followersCount: number; - followingCount: number; - hasPendingFollowRequestFromYou: boolean; - hasPendingFollowRequestToYou: boolean; - isAdmin: boolean; - isBlocked: boolean; - isBlocking: boolean; - isBot: boolean; - isCat: boolean; - isFollowed: boolean; - isFollowing: boolean; - isLocked: boolean; - isModerator: boolean; - isMuted: boolean; - isRenoteMuted: boolean; - isSilenced: boolean; - isSuspended: boolean; - lang: string | null; - lastFetchedAt?: DateString; - location: string | null; - notesCount: number; - pinnedNoteIds: ID[]; - pinnedNotes: Note[]; - pinnedPage: Page | null; - pinnedPageId: string | null; - publicReactions: boolean; - securityKeys: boolean; - twoFactorEnabled: boolean; - updatedAt: DateString | null; - uri: string | null; - url: string | null; -}; -``` -**References:** [UserLite](./iceshrimp-js.entities.userlite.md), [DateString](./iceshrimp-js.entities.datestring.md), [ID](./iceshrimp-js.entities.id.md), [Note](./iceshrimp-js.entities.note.md), [Page](./iceshrimp-js.entities.page.md) - diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.usergroup.md b/packages/iceshrimp-js/markdown/iceshrimp-js.entities.usergroup.md deleted file mode 100644 index 40fca33fb..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.usergroup.md +++ /dev/null @@ -1,11 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [entities](./iceshrimp-js.entities.md) > [UserGroup](./iceshrimp-js.entities.usergroup.md) - -## entities.UserGroup type - -**Signature:** - -```typescript -export declare type UserGroup = TODO; -``` diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.userlist.md b/packages/iceshrimp-js/markdown/iceshrimp-js.entities.userlist.md deleted file mode 100644 index e92535cc0..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.userlist.md +++ /dev/null @@ -1,18 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [entities](./iceshrimp-js.entities.md) > [UserList](./iceshrimp-js.entities.userlist.md) - -## entities.UserList type - -**Signature:** - -```typescript -export declare type UserList = { - id: ID; - createdAt: DateString; - name: string; - userIds: User["id"][]; -}; -``` -**References:** [ID](./iceshrimp-js.entities.id.md), [DateString](./iceshrimp-js.entities.datestring.md), [User](./iceshrimp-js.entities.user.md) - diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.userlite.md b/packages/iceshrimp-js/markdown/iceshrimp-js.entities.userlite.md deleted file mode 100644 index 530c1470e..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.userlite.md +++ /dev/null @@ -1,35 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [entities](./iceshrimp-js.entities.md) > [UserLite](./iceshrimp-js.entities.userlite.md) - -## entities.UserLite type - -**Signature:** - -```typescript -export declare type UserLite = { - id: ID; - username: string; - host: string | null; - name: string; - onlineStatus: "online" | "active" | "offline" | "unknown"; - avatarUrl: string; - avatarBlurhash: string; - alsoKnownAs: string[]; - movedToUri: any; - emojis: { - name: string; - url: string; - }[]; - instance?: { - name: Instance["name"]; - softwareName: Instance["softwareName"]; - softwareVersion: Instance["softwareVersion"]; - iconUrl: Instance["iconUrl"]; - faviconUrl: Instance["faviconUrl"]; - themeColor: Instance["themeColor"]; - }; -}; -``` -**References:** [ID](./iceshrimp-js.entities.id.md), [Instance](./iceshrimp-js.entities.instance.md) - diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.usersorting.md b/packages/iceshrimp-js/markdown/iceshrimp-js.entities.usersorting.md deleted file mode 100644 index 3a25a9cb6..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.entities.usersorting.md +++ /dev/null @@ -1,17 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [entities](./iceshrimp-js.entities.md) > [UserSorting](./iceshrimp-js.entities.usersorting.md) - -## entities.UserSorting type - -**Signature:** - -```typescript -export declare type UserSorting = - | "+follower" - | "-follower" - | "+createdAt" - | "-createdAt" - | "+updatedAt" - | "-updatedAt"; -``` diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.md b/packages/iceshrimp-js/markdown/iceshrimp-js.md deleted file mode 100644 index 9da2a0140..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.md +++ /dev/null @@ -1,42 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) - -## iceshrimp-js package - -## Classes - -| Class | Description | -| --- | --- | -| [Stream](./iceshrimp-js.stream.md) | | - -## Abstract Classes - -| Abstract Class | Description | -| --- | --- | -| [ChannelConnection](./iceshrimp-js.channelconnection.md) | | - -## Namespaces - -| Namespace | Description | -| --- | --- | -| [api](./iceshrimp-js.api.md) | | -| [entities](./iceshrimp-js.entities.md) | | - -## Variables - -| Variable | Description | -| --- | --- | -| [ffVisibility](./iceshrimp-js.ffvisibility.md) | | -| [noteVisibilities](./iceshrimp-js.notevisibilities.md) | | -| [notificationTypes](./iceshrimp-js.notificationtypes.md) | | -| [permissions](./iceshrimp-js.permissions.md) | | - -## Type Aliases - -| Type Alias | Description | -| --- | --- | -| [Acct](./iceshrimp-js.acct.md) | | -| [Channels](./iceshrimp-js.channels.md) | | -| [Endpoints](./iceshrimp-js.endpoints.md) | | - diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.mutednotereasons.md b/packages/iceshrimp-js/markdown/iceshrimp-js.mutednotereasons.md deleted file mode 100644 index 3b9b5db0b..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.mutednotereasons.md +++ /dev/null @@ -1,16 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [mutedNoteReasons](./iceshrimp-js.mutednotereasons.md) - -## mutedNoteReasons variable - -**Signature:** - -```typescript -mutedNoteReasons: readonly [ - "word", - "manual", - "spam", - "other", -] -``` diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.notevisibilities.md b/packages/iceshrimp-js/markdown/iceshrimp-js.notevisibilities.md deleted file mode 100644 index 073a35bb4..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.notevisibilities.md +++ /dev/null @@ -1,16 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [noteVisibilities](./iceshrimp-js.notevisibilities.md) - -## noteVisibilities variable - -**Signature:** - -```typescript -noteVisibilities: readonly [ - "public", - "home", - "followers", - "specified", -] -``` diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.notificationtypes.md b/packages/iceshrimp-js/markdown/iceshrimp-js.notificationtypes.md deleted file mode 100644 index eca70f206..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.notificationtypes.md +++ /dev/null @@ -1,24 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [notificationTypes](./iceshrimp-js.notificationtypes.md) - -## notificationTypes variable - -**Signature:** - -```typescript -notificationTypes: readonly [ - "follow", - "mention", - "reply", - "renote", - "quote", - "reaction", - "pollVote", - "pollEnded", - "receiveFollowRequest", - "followRequestAccepted", - "groupInvited", - "app", -] -``` diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.stream.md b/packages/iceshrimp-js/markdown/iceshrimp-js.stream.md deleted file mode 100644 index 66edd9d5d..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.stream.md +++ /dev/null @@ -1,36 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [Stream](./iceshrimp-js.stream.md) - -## Stream class - -**Signature:** - -```typescript -export default class Stream extends EventEmitter -``` -**Extends:** EventEmitter<StreamEvents> - -## Constructors - -| Constructor | Modifiers | Description | -| --- | --- | --- | -| [(constructor)(origin, user, options)](./iceshrimp-js.stream._constructor_.md) | | Constructs a new instance of the Stream class | - -## Properties - -| Property | Modifiers | Type | Description | -| --- | --- | --- | --- | -| [state](./iceshrimp-js.stream.state.md) | | "initializing" \| "reconnecting" \| "connected" | | - -## Methods - -| Method | Modifiers | Description | -| --- | --- | --- | -| [close()](./iceshrimp-js.stream.close.md) | | | -| [disconnectToChannel(connection)](./iceshrimp-js.stream.disconnecttochannel.md) | | | -| [removeSharedConnection(connection)](./iceshrimp-js.stream.removesharedconnection.md) | | | -| [removeSharedConnectionPool(pool)](./iceshrimp-js.stream.removesharedconnectionpool.md) | | | -| [send(typeOrPayload, payload)](./iceshrimp-js.stream.send.md) | | | -| [useChannel(channel, params, name)](./iceshrimp-js.stream.usechannel.md) | | | - diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.stream.usechannel.md b/packages/iceshrimp-js/markdown/iceshrimp-js.stream.usechannel.md deleted file mode 100644 index 1f5c41703..000000000 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.stream.usechannel.md +++ /dev/null @@ -1,28 +0,0 @@ - - -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [Stream](./iceshrimp-js.stream.md) > [useChannel](./iceshrimp-js.stream.usechannel.md) - -## Stream.useChannel() method - -**Signature:** - -```typescript -useChannel( - channel: C, - params?: Channels[C]["params"], - name?: string, - ): Connection; -``` - -## Parameters - -| Parameter | Type | Description | -| --- | --- | --- | -| channel | C | | -| params | [Channels](./iceshrimp-js.channels.md)\[C\]\["params"\] | _(Optional)_ | -| name | string | _(Optional)_ | - -**Returns:** - -[Connection](./iceshrimp-js.channelconnection.md)<[Channels](./iceshrimp-js.channels.md)\[C\]> - diff --git a/packages/iceshrimp-js/.editorconfig b/packages/iceshrimp-sdk/.editorconfig similarity index 100% rename from packages/iceshrimp-js/.editorconfig rename to packages/iceshrimp-sdk/.editorconfig diff --git a/packages/iceshrimp-js/.gitignore b/packages/iceshrimp-sdk/.gitignore similarity index 100% rename from packages/iceshrimp-js/.gitignore rename to packages/iceshrimp-sdk/.gitignore diff --git a/packages/iceshrimp-js/.swcrc b/packages/iceshrimp-sdk/.swcrc similarity index 100% rename from packages/iceshrimp-js/.swcrc rename to packages/iceshrimp-sdk/.swcrc diff --git a/packages/iceshrimp-js/CHANGELOG.md b/packages/iceshrimp-sdk/CHANGELOG.md similarity index 100% rename from packages/iceshrimp-js/CHANGELOG.md rename to packages/iceshrimp-sdk/CHANGELOG.md diff --git a/packages/iceshrimp-js/LICENSE b/packages/iceshrimp-sdk/LICENSE similarity index 100% rename from packages/iceshrimp-js/LICENSE rename to packages/iceshrimp-sdk/LICENSE diff --git a/packages/iceshrimp-sdk/README.md b/packages/iceshrimp-sdk/README.md new file mode 100644 index 000000000..1a9e41666 --- /dev/null +++ b/packages/iceshrimp-sdk/README.md @@ -0,0 +1,5 @@ +# iceshrimp-sdk + +Fork of Misskey.js for Iceshrimp + +To fully build, run `pnpm i && pnpm run render`. diff --git a/packages/iceshrimp-js/api-extractor.json b/packages/iceshrimp-sdk/api-extractor.json similarity index 100% rename from packages/iceshrimp-js/api-extractor.json rename to packages/iceshrimp-sdk/api-extractor.json diff --git a/packages/iceshrimp-js/codecov.yml b/packages/iceshrimp-sdk/codecov.yml similarity index 100% rename from packages/iceshrimp-js/codecov.yml rename to packages/iceshrimp-sdk/codecov.yml diff --git a/packages/iceshrimp-sdk/etc/iceshrimp-sdk.api.json b/packages/iceshrimp-sdk/etc/iceshrimp-sdk.api.json new file mode 100644 index 000000000..53c614832 --- /dev/null +++ b/packages/iceshrimp-sdk/etc/iceshrimp-sdk.api.json @@ -0,0 +1,9670 @@ +{ + "metadata": { + "toolPackage": "@microsoft/api-extractor", + "toolVersion": "7.36.3", + "schemaVersion": 1011, + "oldestForwardsCompatibleVersion": 1001, + "tsdocConfig": { + "$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json", + "noStandardTags": true, + "tagDefinitions": [ + { + "tagName": "@alpha", + "syntaxKind": "modifier" + }, + { + "tagName": "@beta", + "syntaxKind": "modifier" + }, + { + "tagName": "@defaultValue", + "syntaxKind": "block" + }, + { + "tagName": "@decorator", + "syntaxKind": "block", + "allowMultiple": true + }, + { + "tagName": "@deprecated", + "syntaxKind": "block" + }, + { + "tagName": "@eventProperty", + "syntaxKind": "modifier" + }, + { + "tagName": "@example", + "syntaxKind": "block", + "allowMultiple": true + }, + { + "tagName": "@experimental", + "syntaxKind": "modifier" + }, + { + "tagName": "@inheritDoc", + "syntaxKind": "inline" + }, + { + "tagName": "@internal", + "syntaxKind": "modifier" + }, + { + "tagName": "@label", + "syntaxKind": "inline" + }, + { + "tagName": "@link", + "syntaxKind": "inline", + "allowMultiple": true + }, + { + "tagName": "@override", + "syntaxKind": "modifier" + }, + { + "tagName": "@packageDocumentation", + "syntaxKind": "modifier" + }, + { + "tagName": "@param", + "syntaxKind": "block", + "allowMultiple": true + }, + { + "tagName": "@privateRemarks", + "syntaxKind": "block" + }, + { + "tagName": "@public", + "syntaxKind": "modifier" + }, + { + "tagName": "@readonly", + "syntaxKind": "modifier" + }, + { + "tagName": "@remarks", + "syntaxKind": "block" + }, + { + "tagName": "@returns", + "syntaxKind": "block" + }, + { + "tagName": "@sealed", + "syntaxKind": "modifier" + }, + { + "tagName": "@see", + "syntaxKind": "block" + }, + { + "tagName": "@throws", + "syntaxKind": "block", + "allowMultiple": true + }, + { + "tagName": "@typeParam", + "syntaxKind": "block", + "allowMultiple": true + }, + { + "tagName": "@virtual", + "syntaxKind": "modifier" + }, + { + "tagName": "@betaDocumentation", + "syntaxKind": "modifier" + }, + { + "tagName": "@internalRemarks", + "syntaxKind": "block" + }, + { + "tagName": "@preapproved", + "syntaxKind": "modifier" + } + ], + "supportForTags": { + "@alpha": true, + "@beta": true, + "@defaultValue": true, + "@decorator": true, + "@deprecated": true, + "@eventProperty": true, + "@example": true, + "@experimental": true, + "@inheritDoc": true, + "@internal": true, + "@label": true, + "@link": true, + "@override": true, + "@packageDocumentation": true, + "@param": true, + "@privateRemarks": true, + "@public": true, + "@readonly": true, + "@remarks": true, + "@returns": true, + "@sealed": true, + "@see": true, + "@throws": true, + "@typeParam": true, + "@virtual": true, + "@betaDocumentation": true, + "@internalRemarks": true, + "@preapproved": true + }, + "reportUnsupportedHtmlElements": false + } + }, + "kind": "Package", + "canonicalReference": "iceshrimp-sdk!", + "docComment": "", + "name": "iceshrimp-sdk", + "preserveMemberOrder": false, + "members": [ + { + "kind": "EntryPoint", + "canonicalReference": "iceshrimp-sdk!", + "name": "", + "preserveMemberOrder": false, + "members": [ + { + "kind": "TypeAlias", + "canonicalReference": "iceshrimp-sdk!Acct:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export type Acct = " + }, + { + "kind": "Content", + "text": "{\n username: string;\n host: string | null;\n}" + }, + { + "kind": "Content", + "text": ";" + } + ], + "fileUrlPath": "src/acct.ts", + "releaseTag": "Public", + "name": "Acct", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "Namespace", + "canonicalReference": "iceshrimp-sdk!api:namespace", + "docComment": "", + "excerptTokens": [], + "fileUrlPath": "src/index.ts", + "releaseTag": "None", + "name": "api", + "preserveMemberOrder": false, + "members": [ + { + "kind": "Class", + "canonicalReference": "iceshrimp-sdk!api.APIClient:class", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export declare class APIClient " + } + ], + "fileUrlPath": "src/api.ts", + "releaseTag": "Public", + "isAbstract": false, + "name": "APIClient", + "preserveMemberOrder": false, + "members": [ + { + "kind": "Constructor", + "canonicalReference": "iceshrimp-sdk!api.APIClient:constructor(1)", + "docComment": "/**\n * Constructs a new instance of the `APIClient` class\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "constructor(opts: " + }, + { + "kind": "Content", + "text": "{\n origin: " + }, + { + "kind": "Reference", + "text": "APIClient", + "canonicalReference": "iceshrimp-sdk!api.APIClient:class" + }, + { + "kind": "Content", + "text": "[\"origin\"];\n credential?: " + }, + { + "kind": "Reference", + "text": "APIClient", + "canonicalReference": "iceshrimp-sdk!api.APIClient:class" + }, + { + "kind": "Content", + "text": "[\"credential\"];\n fetch?: " + }, + { + "kind": "Reference", + "text": "APIClient", + "canonicalReference": "iceshrimp-sdk!api.APIClient:class" + }, + { + "kind": "Content", + "text": "[\"fetch\"] | null | undefined;\n }" + }, + { + "kind": "Content", + "text": ");" + } + ], + "releaseTag": "Public", + "isProtected": false, + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "opts", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 8 + }, + "isOptional": false + } + ] + }, + { + "kind": "Property", + "canonicalReference": "iceshrimp-sdk!api.APIClient#credential:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "credential: " + }, + { + "kind": "Content", + "text": "string | null | undefined" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "credential", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "isStatic": false, + "isProtected": false, + "isAbstract": false + }, + { + "kind": "Property", + "canonicalReference": "iceshrimp-sdk!api.APIClient#fetch:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "fetch: " + }, + { + "kind": "Reference", + "text": "FetchLike", + "canonicalReference": "iceshrimp-sdk!api.FetchLike:type" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "fetch", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "isStatic": false, + "isProtected": false, + "isAbstract": false + }, + { + "kind": "Property", + "canonicalReference": "iceshrimp-sdk!api.APIClient#origin:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "origin: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "origin", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "isStatic": false, + "isProtected": false, + "isAbstract": false + }, + { + "kind": "Method", + "canonicalReference": "iceshrimp-sdk!api.APIClient#request:member(1)", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "request(endpoint: " + }, + { + "kind": "Content", + "text": "E" + }, + { + "kind": "Content", + "text": ", params?: " + }, + { + "kind": "Content", + "text": "P" + }, + { + "kind": "Content", + "text": ", credential?: " + }, + { + "kind": "Content", + "text": "string | null | undefined" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "Promise", + "canonicalReference": "!Promise:interface" + }, + { + "kind": "Content", + "text": "<" + }, + { + "kind": "Reference", + "text": "Endpoints", + "canonicalReference": "iceshrimp-sdk!Endpoints:type" + }, + { + "kind": "Content", + "text": "[E][\"res\"] extends {\n $switch: {\n $cases: [any, any][];\n $default: any;\n };\n } ? " + }, + { + "kind": "Reference", + "text": "IsCaseMatched", + "canonicalReference": "iceshrimp-sdk!~IsCaseMatched:type" + }, + { + "kind": "Content", + "text": " extends true ? " + }, + { + "kind": "Reference", + "text": "GetCaseResult", + "canonicalReference": "iceshrimp-sdk!~GetCaseResult:type" + }, + { + "kind": "Content", + "text": " : " + }, + { + "kind": "Reference", + "text": "IsCaseMatched", + "canonicalReference": "iceshrimp-sdk!~IsCaseMatched:type" + }, + { + "kind": "Content", + "text": " extends true ? " + }, + { + "kind": "Reference", + "text": "GetCaseResult", + "canonicalReference": "iceshrimp-sdk!~GetCaseResult:type" + }, + { + "kind": "Content", + "text": " : " + }, + { + "kind": "Reference", + "text": "IsCaseMatched", + "canonicalReference": "iceshrimp-sdk!~IsCaseMatched:type" + }, + { + "kind": "Content", + "text": " extends true ? " + }, + { + "kind": "Reference", + "text": "GetCaseResult", + "canonicalReference": "iceshrimp-sdk!~GetCaseResult:type" + }, + { + "kind": "Content", + "text": " : " + }, + { + "kind": "Reference", + "text": "IsCaseMatched", + "canonicalReference": "iceshrimp-sdk!~IsCaseMatched:type" + }, + { + "kind": "Content", + "text": " extends true ? " + }, + { + "kind": "Reference", + "text": "GetCaseResult", + "canonicalReference": "iceshrimp-sdk!~GetCaseResult:type" + }, + { + "kind": "Content", + "text": " : " + }, + { + "kind": "Reference", + "text": "IsCaseMatched", + "canonicalReference": "iceshrimp-sdk!~IsCaseMatched:type" + }, + { + "kind": "Content", + "text": " extends true ? " + }, + { + "kind": "Reference", + "text": "GetCaseResult", + "canonicalReference": "iceshrimp-sdk!~GetCaseResult:type" + }, + { + "kind": "Content", + "text": " : " + }, + { + "kind": "Reference", + "text": "IsCaseMatched", + "canonicalReference": "iceshrimp-sdk!~IsCaseMatched:type" + }, + { + "kind": "Content", + "text": " extends true ? " + }, + { + "kind": "Reference", + "text": "GetCaseResult", + "canonicalReference": "iceshrimp-sdk!~GetCaseResult:type" + }, + { + "kind": "Content", + "text": " : " + }, + { + "kind": "Reference", + "text": "IsCaseMatched", + "canonicalReference": "iceshrimp-sdk!~IsCaseMatched:type" + }, + { + "kind": "Content", + "text": " extends true ? " + }, + { + "kind": "Reference", + "text": "GetCaseResult", + "canonicalReference": "iceshrimp-sdk!~GetCaseResult:type" + }, + { + "kind": "Content", + "text": " : " + }, + { + "kind": "Reference", + "text": "IsCaseMatched", + "canonicalReference": "iceshrimp-sdk!~IsCaseMatched:type" + }, + { + "kind": "Content", + "text": " extends true ? " + }, + { + "kind": "Reference", + "text": "GetCaseResult", + "canonicalReference": "iceshrimp-sdk!~GetCaseResult:type" + }, + { + "kind": "Content", + "text": " : " + }, + { + "kind": "Reference", + "text": "IsCaseMatched", + "canonicalReference": "iceshrimp-sdk!~IsCaseMatched:type" + }, + { + "kind": "Content", + "text": " extends true ? " + }, + { + "kind": "Reference", + "text": "GetCaseResult", + "canonicalReference": "iceshrimp-sdk!~GetCaseResult:type" + }, + { + "kind": "Content", + "text": " : " + }, + { + "kind": "Reference", + "text": "IsCaseMatched", + "canonicalReference": "iceshrimp-sdk!~IsCaseMatched:type" + }, + { + "kind": "Content", + "text": " extends true ? " + }, + { + "kind": "Reference", + "text": "GetCaseResult", + "canonicalReference": "iceshrimp-sdk!~GetCaseResult:type" + }, + { + "kind": "Content", + "text": " : " + }, + { + "kind": "Reference", + "text": "Endpoints", + "canonicalReference": "iceshrimp-sdk!Endpoints:type" + }, + { + "kind": "Content", + "text": "[E][\"res\"][\"$switch\"][\"$default\"] : " + }, + { + "kind": "Reference", + "text": "Endpoints", + "canonicalReference": "iceshrimp-sdk!Endpoints:type" + }, + { + "kind": "Content", + "text": "[E][\"res\"]>" + }, + { + "kind": "Content", + "text": ";" + } + ], + "typeParameters": [ + { + "typeParameterName": "E", + "constraintTokenRange": { + "startIndex": 1, + "endIndex": 3 + }, + "defaultTypeTokenRange": { + "startIndex": 0, + "endIndex": 0 + } + }, + { + "typeParameterName": "P", + "constraintTokenRange": { + "startIndex": 4, + "endIndex": 6 + }, + "defaultTypeTokenRange": { + "startIndex": 0, + "endIndex": 0 + } + } + ], + "isStatic": false, + "returnTypeTokenRange": { + "startIndex": 13, + "endIndex": 61 + }, + "releaseTag": "Public", + "isProtected": false, + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "endpoint", + "parameterTypeTokenRange": { + "startIndex": 7, + "endIndex": 8 + }, + "isOptional": false + }, + { + "parameterName": "params", + "parameterTypeTokenRange": { + "startIndex": 9, + "endIndex": 10 + }, + "isOptional": true + }, + { + "parameterName": "credential", + "parameterTypeTokenRange": { + "startIndex": 11, + "endIndex": 12 + }, + "isOptional": true + } + ], + "isOptional": false, + "isAbstract": false, + "name": "request" + } + ], + "implementsTokenRanges": [] + }, + { + "kind": "TypeAlias", + "canonicalReference": "iceshrimp-sdk!api.APIError:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export type APIError = " + }, + { + "kind": "Content", + "text": "{\n id: string;\n code: string;\n message: string;\n kind: \"client\" | \"server\";\n info: " + }, + { + "kind": "Reference", + "text": "Record", + "canonicalReference": "!Record:type" + }, + { + "kind": "Content", + "text": ";\n}" + }, + { + "kind": "Content", + "text": ";" + } + ], + "fileUrlPath": "src/api.ts", + "releaseTag": "Public", + "name": "APIError", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 4 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "iceshrimp-sdk!api.FetchLike:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export type FetchLike = " + }, + { + "kind": "Content", + "text": "(input: string, init?: {\n method?: string;\n body?: string;\n credentials?: " + }, + { + "kind": "Reference", + "text": "RequestCredentials", + "canonicalReference": "!RequestCredentials:type" + }, + { + "kind": "Content", + "text": ";\n cache?: " + }, + { + "kind": "Reference", + "text": "RequestCache", + "canonicalReference": "!RequestCache:type" + }, + { + "kind": "Content", + "text": ";\n}) => " + }, + { + "kind": "Reference", + "text": "Promise", + "canonicalReference": "!Promise:interface" + }, + { + "kind": "Content", + "text": "<{\n status: number;\n json(): " + }, + { + "kind": "Reference", + "text": "Promise", + "canonicalReference": "!Promise:interface" + }, + { + "kind": "Content", + "text": ";\n}>" + }, + { + "kind": "Content", + "text": ";" + } + ], + "fileUrlPath": "src/api.ts", + "releaseTag": "Public", + "name": "FetchLike", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 10 + } + }, + { + "kind": "Function", + "canonicalReference": "iceshrimp-sdk!api.isAPIError:function(1)", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export declare function isAPIError(reason: " + }, + { + "kind": "Content", + "text": "any" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "reason", + "canonicalReference": "iceshrimp-sdk!~reason" + }, + { + "kind": "Content", + "text": " is " + }, + { + "kind": "Reference", + "text": "APIError", + "canonicalReference": "iceshrimp-sdk!api.APIError:type" + }, + { + "kind": "Content", + "text": ";" + } + ], + "fileUrlPath": "src/api.ts", + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "reason", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "isOptional": false + } + ], + "name": "isAPIError" + } + ] + }, + { + "kind": "Class", + "canonicalReference": "iceshrimp-sdk!ChannelConnection:class", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export declare abstract class Connection" + }, + { + "kind": "Content", + "text": " = " + }, + { + "kind": "Content", + "text": "any" + }, + { + "kind": "Content", + "text": "> extends " + }, + { + "kind": "Reference", + "text": "EventEmitter", + "canonicalReference": "eventemitter3!EventEmitter.EventEmitter" + }, + { + "kind": "Content", + "text": "" + }, + { + "kind": "Content", + "text": " " + } + ], + "fileUrlPath": "src/streaming.ts", + "releaseTag": "Public", + "typeParameters": [ + { + "typeParameterName": "Channel", + "constraintTokenRange": { + "startIndex": 1, + "endIndex": 5 + }, + "defaultTypeTokenRange": { + "startIndex": 6, + "endIndex": 7 + } + } + ], + "isAbstract": true, + "name": "ChannelConnection", + "preserveMemberOrder": false, + "members": [ + { + "kind": "Constructor", + "canonicalReference": "iceshrimp-sdk!ChannelConnection:constructor(1)", + "docComment": "/**\n * Constructs a new instance of the `Connection` class\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "constructor(stream: " + }, + { + "kind": "Reference", + "text": "Stream", + "canonicalReference": "iceshrimp-sdk!Stream:class" + }, + { + "kind": "Content", + "text": ", channel: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ", name?: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ");" + } + ], + "releaseTag": "Public", + "isProtected": false, + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "stream", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "isOptional": false + }, + { + "parameterName": "channel", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "isOptional": false + }, + { + "parameterName": "name", + "parameterTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "isOptional": true + } + ] + }, + { + "kind": "Property", + "canonicalReference": "iceshrimp-sdk!ChannelConnection#channel:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "channel: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "channel", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "isStatic": false, + "isProtected": false, + "isAbstract": false + }, + { + "kind": "Method", + "canonicalReference": "iceshrimp-sdk!ChannelConnection#dispose:member(1)", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "abstract dispose(): " + }, + { + "kind": "Content", + "text": "void" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isStatic": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "isProtected": false, + "overloadIndex": 1, + "parameters": [], + "isOptional": false, + "isAbstract": true, + "name": "dispose" + }, + { + "kind": "Property", + "canonicalReference": "iceshrimp-sdk!ChannelConnection#id:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "abstract id: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "id", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "isStatic": false, + "isProtected": false, + "isAbstract": true + }, + { + "kind": "Property", + "canonicalReference": "iceshrimp-sdk!ChannelConnection#inCount:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "inCount: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "inCount", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "isStatic": false, + "isProtected": false, + "isAbstract": false + }, + { + "kind": "Property", + "canonicalReference": "iceshrimp-sdk!ChannelConnection#name:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "name?: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": true, + "releaseTag": "Public", + "name": "name", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "isStatic": false, + "isProtected": false, + "isAbstract": false + }, + { + "kind": "Property", + "canonicalReference": "iceshrimp-sdk!ChannelConnection#outCount:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "outCount: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "outCount", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "isStatic": false, + "isProtected": false, + "isAbstract": false + }, + { + "kind": "Method", + "canonicalReference": "iceshrimp-sdk!ChannelConnection#send:member(1)", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "send(type: " + }, + { + "kind": "Content", + "text": "T" + }, + { + "kind": "Content", + "text": ", body: " + }, + { + "kind": "Content", + "text": "Channel[\"receives\"][T]" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "void" + }, + { + "kind": "Content", + "text": ";" + } + ], + "typeParameters": [ + { + "typeParameterName": "T", + "constraintTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "defaultTypeTokenRange": { + "startIndex": 0, + "endIndex": 0 + } + } + ], + "isStatic": false, + "returnTypeTokenRange": { + "startIndex": 7, + "endIndex": 8 + }, + "releaseTag": "Public", + "isProtected": false, + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "type", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "isOptional": false + }, + { + "parameterName": "body", + "parameterTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "isOptional": false + } + ], + "isOptional": false, + "isAbstract": false, + "name": "send" + }, + { + "kind": "Property", + "canonicalReference": "iceshrimp-sdk!ChannelConnection#stream:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "protected stream: " + }, + { + "kind": "Reference", + "text": "Stream", + "canonicalReference": "iceshrimp-sdk!Stream:class" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "stream", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "isStatic": false, + "isProtected": true, + "isAbstract": false + } + ], + "extendsTokenRange": { + "startIndex": 8, + "endIndex": 10 + }, + "implementsTokenRanges": [] + }, + { + "kind": "TypeAlias", + "canonicalReference": "iceshrimp-sdk!Channels:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export type Channels = " + }, + { + "kind": "Content", + "text": "{\n main: {\n params: null;\n events: {\n notification: (payload: " + }, + { + "kind": "Reference", + "text": "Notification", + "canonicalReference": "iceshrimp-sdk!entities.Notification_2:type" + }, + { + "kind": "Content", + "text": ") => void;\n mention: (payload: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": ") => void;\n reply: (payload: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": ") => void;\n renote: (payload: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": ") => void;\n follow: (payload: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": ") => void;\n followed: (payload: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": ") => void;\n unfollow: (payload: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": ") => void;\n meUpdated: (payload: " + }, + { + "kind": "Reference", + "text": "MeDetailed", + "canonicalReference": "iceshrimp-sdk!entities.MeDetailed:type" + }, + { + "kind": "Content", + "text": ") => void;\n pageEvent: (payload: " + }, + { + "kind": "Reference", + "text": "PageEvent", + "canonicalReference": "iceshrimp-sdk!entities.PageEvent:type" + }, + { + "kind": "Content", + "text": ") => void;\n urlUploadFinished: (payload: {\n marker: string;\n file: " + }, + { + "kind": "Reference", + "text": "DriveFile", + "canonicalReference": "iceshrimp-sdk!entities.DriveFile:type" + }, + { + "kind": "Content", + "text": ";\n }) => void;\n readAllNotifications: () => void;\n unreadNotification: (payload: " + }, + { + "kind": "Reference", + "text": "Notification", + "canonicalReference": "iceshrimp-sdk!entities.Notification_2:type" + }, + { + "kind": "Content", + "text": ") => void;\n unreadMention: (payload: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[\"id\"]) => void;\n readAllUnreadMentions: () => void;\n unreadSpecifiedNote: (payload: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[\"id\"]) => void;\n readAllUnreadSpecifiedNotes: () => void;\n readAllMessagingMessages: () => void;\n messagingMessage: (payload: " + }, + { + "kind": "Reference", + "text": "MessagingMessage", + "canonicalReference": "iceshrimp-sdk!entities.MessagingMessage:type" + }, + { + "kind": "Content", + "text": ") => void;\n unreadMessagingMessage: (payload: " + }, + { + "kind": "Reference", + "text": "MessagingMessage", + "canonicalReference": "iceshrimp-sdk!entities.MessagingMessage:type" + }, + { + "kind": "Content", + "text": ") => void;\n readAllAntennas: () => void;\n unreadAntenna: (payload: " + }, + { + "kind": "Reference", + "text": "Antenna", + "canonicalReference": "iceshrimp-sdk!entities.Antenna:type" + }, + { + "kind": "Content", + "text": ") => void;\n readAllAnnouncements: () => void;\n readAllChannels: () => void;\n unreadChannel: (payload: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[\"id\"]) => void;\n myTokenRegenerated: () => void;\n reversiNoInvites: () => void;\n reversiInvited: (payload: " + }, + { + "kind": "Reference", + "text": "FIXME", + "canonicalReference": "iceshrimp-sdk!~FIXME:type" + }, + { + "kind": "Content", + "text": ") => void;\n signin: (payload: " + }, + { + "kind": "Reference", + "text": "FIXME", + "canonicalReference": "iceshrimp-sdk!~FIXME:type" + }, + { + "kind": "Content", + "text": ") => void;\n registryUpdated: (payload: {\n scope?: string[];\n key: string;\n value: any | null;\n }) => void;\n driveFileCreated: (payload: " + }, + { + "kind": "Reference", + "text": "DriveFile", + "canonicalReference": "iceshrimp-sdk!entities.DriveFile:type" + }, + { + "kind": "Content", + "text": ") => void;\n readAntenna: (payload: " + }, + { + "kind": "Reference", + "text": "Antenna", + "canonicalReference": "iceshrimp-sdk!entities.Antenna:type" + }, + { + "kind": "Content", + "text": ") => void;\n };\n receives: null;\n };\n homeTimeline: {\n params: null;\n events: {\n note: (payload: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": ") => void;\n };\n receives: null;\n };\n localTimeline: {\n params: null;\n events: {\n note: (payload: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": ") => void;\n };\n receives: null;\n };\n hybridTimeline: {\n params: null;\n events: {\n note: (payload: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": ") => void;\n };\n receives: null;\n };\n recommendedTimeline: {\n params: null;\n events: {\n note: (payload: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": ") => void;\n };\n receives: null;\n };\n globalTimeline: {\n params: null;\n events: {\n note: (payload: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": ") => void;\n };\n receives: null;\n };\n antenna: {\n params: {\n antennaId: " + }, + { + "kind": "Reference", + "text": "Antenna", + "canonicalReference": "iceshrimp-sdk!entities.Antenna:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n events: {\n note: (payload: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": ") => void;\n };\n receives: null;\n };\n messaging: {\n params: {\n otherparty?: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": "[\"id\"] | null;\n group?: " + }, + { + "kind": "Reference", + "text": "UserGroup", + "canonicalReference": "iceshrimp-sdk!entities.UserGroup:type" + }, + { + "kind": "Content", + "text": "[\"id\"] | null;\n };\n events: {\n message: (payload: " + }, + { + "kind": "Reference", + "text": "MessagingMessage", + "canonicalReference": "iceshrimp-sdk!entities.MessagingMessage:type" + }, + { + "kind": "Content", + "text": ") => void;\n deleted: (payload: " + }, + { + "kind": "Reference", + "text": "MessagingMessage", + "canonicalReference": "iceshrimp-sdk!entities.MessagingMessage:type" + }, + { + "kind": "Content", + "text": "[\"id\"]) => void;\n read: (payload: " + }, + { + "kind": "Reference", + "text": "MessagingMessage", + "canonicalReference": "iceshrimp-sdk!entities.MessagingMessage:type" + }, + { + "kind": "Content", + "text": "[\"id\"][]) => void;\n typers: (payload: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": "[]) => void;\n };\n receives: {\n read: {\n id: " + }, + { + "kind": "Reference", + "text": "MessagingMessage", + "canonicalReference": "iceshrimp-sdk!entities.MessagingMessage:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n };\n };\n serverStats: {\n params: null;\n events: {\n stats: (payload: " + }, + { + "kind": "Reference", + "text": "FIXME", + "canonicalReference": "iceshrimp-sdk!~FIXME:type" + }, + { + "kind": "Content", + "text": ") => void;\n };\n receives: {\n requestLog: {\n id: string | number;\n length: number;\n };\n };\n };\n queueStats: {\n params: null;\n events: {\n stats: (payload: " + }, + { + "kind": "Reference", + "text": "FIXME", + "canonicalReference": "iceshrimp-sdk!~FIXME:type" + }, + { + "kind": "Content", + "text": ") => void;\n };\n receives: {\n requestLog: {\n id: string | number;\n length: number;\n };\n };\n };\n}" + }, + { + "kind": "Content", + "text": ";" + } + ], + "fileUrlPath": "src/streaming.types.ts", + "releaseTag": "Public", + "name": "Channels", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 76 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "iceshrimp-sdk!Endpoints:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export type Endpoints = " + }, + { + "kind": "Content", + "text": "{\n \"admin/abuse-user-reports\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"admin/delete-all-files-of-a-user\": {\n req: {\n userId: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: null;\n };\n \"admin/delete-logs\": {\n req: " + }, + { + "kind": "Reference", + "text": "NoParams", + "canonicalReference": "iceshrimp-sdk!~NoParams:type" + }, + { + "kind": "Content", + "text": ";\n res: null;\n };\n \"admin/get-index-stats\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"admin/get-table-stats\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"admin/invite\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"admin/logs\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"admin/meta\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"admin/reset-password\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"admin/resolve-abuse-user-report\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"admin/resync-chart\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"admin/send-email\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"admin/server-info\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"admin/show-moderation-logs\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"admin/show-user\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"admin/show-users\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"admin/silence-user\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"admin/suspend-user\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"admin/unsilence-user\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"admin/unsuspend-user\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"admin/update-meta\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"admin/vacuum\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"admin/accounts/create\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"admin/announcements/create\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"admin/announcements/delete\": {\n req: {\n id: " + }, + { + "kind": "Reference", + "text": "Announcement", + "canonicalReference": "iceshrimp-sdk!entities.Announcement:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: null;\n };\n \"admin/announcements/list\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"admin/announcements/update\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"admin/drive/clean-remote-files\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"admin/drive/cleanup\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"admin/drive/files\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"admin/drive/show-file\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"admin/emoji/add\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"admin/emoji/copy\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"admin/emoji/list-remote\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"admin/emoji/list\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"admin/emoji/remove\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"admin/emoji/update\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"admin/federation/delete-all-files\": {\n req: {\n host: string;\n };\n res: null;\n };\n \"admin/federation/refresh-remote-instance-metadata\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"admin/federation/remove-all-following\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"admin/federation/update-instance\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"admin/moderators/add\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"admin/moderators/remove\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"admin/promo/create\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"admin/queue/clear\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"admin/queue/deliver-delayed\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"admin/queue/inbox-delayed\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"admin/queue/jobs\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"admin/queue/stats\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"admin/relays/add\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"admin/relays/list\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"admin/relays/remove\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n announcements: {\n req: {\n limit?: number;\n withUnreads?: boolean;\n sinceId?: " + }, + { + "kind": "Reference", + "text": "Announcement", + "canonicalReference": "iceshrimp-sdk!entities.Announcement:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n untilId?: " + }, + { + "kind": "Reference", + "text": "Announcement", + "canonicalReference": "iceshrimp-sdk!entities.Announcement:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: " + }, + { + "kind": "Reference", + "text": "Announcement", + "canonicalReference": "iceshrimp-sdk!entities.Announcement:type" + }, + { + "kind": "Content", + "text": "[];\n };\n \"antennas/create\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "Antenna", + "canonicalReference": "iceshrimp-sdk!entities.Antenna:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"antennas/delete\": {\n req: {\n antennaId: " + }, + { + "kind": "Reference", + "text": "Antenna", + "canonicalReference": "iceshrimp-sdk!entities.Antenna:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: null;\n };\n \"antennas/list\": {\n req: " + }, + { + "kind": "Reference", + "text": "NoParams", + "canonicalReference": "iceshrimp-sdk!~NoParams:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "Antenna", + "canonicalReference": "iceshrimp-sdk!entities.Antenna:type" + }, + { + "kind": "Content", + "text": "[];\n };\n \"antennas/notes\": {\n req: {\n antennaId: " + }, + { + "kind": "Reference", + "text": "Antenna", + "canonicalReference": "iceshrimp-sdk!entities.Antenna:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n limit?: number;\n sinceId?: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n untilId?: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[];\n };\n \"antennas/show\": {\n req: {\n antennaId: " + }, + { + "kind": "Reference", + "text": "Antenna", + "canonicalReference": "iceshrimp-sdk!entities.Antenna:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: " + }, + { + "kind": "Reference", + "text": "Antenna", + "canonicalReference": "iceshrimp-sdk!entities.Antenna:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"antennas/update\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "Antenna", + "canonicalReference": "iceshrimp-sdk!entities.Antenna:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"antennas/mark-read\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "Antenna", + "canonicalReference": "iceshrimp-sdk!entities.Antenna:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"ap/get\": {\n req: {\n uri: string;\n };\n res: " + }, + { + "kind": "Reference", + "text": "Record", + "canonicalReference": "!Record:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"ap/show\": {\n req: {\n uri: string;\n };\n res: {\n type: \"Note\";\n object: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": ";\n } | {\n type: \"User\";\n object: " + }, + { + "kind": "Reference", + "text": "UserDetailed", + "canonicalReference": "iceshrimp-sdk!entities.UserDetailed:type" + }, + { + "kind": "Content", + "text": ";\n };\n };\n \"app/create\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "App", + "canonicalReference": "iceshrimp-sdk!entities.App:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"app/show\": {\n req: {\n appId: " + }, + { + "kind": "Reference", + "text": "App", + "canonicalReference": "iceshrimp-sdk!entities.App:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: " + }, + { + "kind": "Reference", + "text": "App", + "canonicalReference": "iceshrimp-sdk!entities.App:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"auth/accept\": {\n req: {\n token: string;\n };\n res: null;\n };\n \"auth/session/generate\": {\n req: {\n appSecret: string;\n };\n res: {\n token: string;\n url: string;\n };\n };\n \"auth/session/show\": {\n req: {\n token: string;\n };\n res: " + }, + { + "kind": "Reference", + "text": "AuthSession", + "canonicalReference": "iceshrimp-sdk!entities.AuthSession:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"auth/session/userkey\": {\n req: {\n appSecret: string;\n token: string;\n };\n res: {\n accessToken: string;\n user: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": ";\n };\n };\n \"blocking/create\": {\n req: {\n userId: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: " + }, + { + "kind": "Reference", + "text": "UserDetailed", + "canonicalReference": "iceshrimp-sdk!entities.UserDetailed:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"blocking/delete\": {\n req: {\n userId: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: " + }, + { + "kind": "Reference", + "text": "UserDetailed", + "canonicalReference": "iceshrimp-sdk!entities.UserDetailed:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"blocking/list\": {\n req: {\n limit?: number;\n sinceId?: " + }, + { + "kind": "Reference", + "text": "Blocking", + "canonicalReference": "iceshrimp-sdk!entities.Blocking:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n untilId?: " + }, + { + "kind": "Reference", + "text": "Blocking", + "canonicalReference": "iceshrimp-sdk!entities.Blocking:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: " + }, + { + "kind": "Reference", + "text": "Blocking", + "canonicalReference": "iceshrimp-sdk!entities.Blocking:type" + }, + { + "kind": "Content", + "text": "[];\n };\n \"channels/create\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"channels/featured\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"channels/follow\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"channels/followed\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"channels/owned\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"channels/pin-note\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"channels/show\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"channels/timeline\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"channels/unfollow\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"channels/update\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"charts/active-users\": {\n req: {\n span: \"day\" | \"hour\";\n limit?: number;\n offset?: number | null;\n };\n res: {\n local: {\n users: number[];\n };\n remote: {\n users: number[];\n };\n };\n };\n \"charts/drive\": {\n req: {\n span: \"day\" | \"hour\";\n limit?: number;\n offset?: number | null;\n };\n res: {\n local: {\n decCount: number[];\n decSize: number[];\n incCount: number[];\n incSize: number[];\n totalCount: number[];\n totalSize: number[];\n };\n remote: {\n decCount: number[];\n decSize: number[];\n incCount: number[];\n incSize: number[];\n totalCount: number[];\n totalSize: number[];\n };\n };\n };\n \"charts/federation\": {\n req: {\n span: \"day\" | \"hour\";\n limit?: number;\n offset?: number | null;\n };\n res: {\n instance: {\n dec: number[];\n inc: number[];\n total: number[];\n };\n };\n };\n \"charts/hashtag\": {\n req: {\n span: \"day\" | \"hour\";\n limit?: number;\n offset?: number | null;\n };\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"charts/instance\": {\n req: {\n span: \"day\" | \"hour\";\n limit?: number;\n offset?: number | null;\n host: string;\n };\n res: {\n drive: {\n decFiles: number[];\n decUsage: number[];\n incFiles: number[];\n incUsage: number[];\n totalFiles: number[];\n totalUsage: number[];\n };\n followers: {\n dec: number[];\n inc: number[];\n total: number[];\n };\n following: {\n dec: number[];\n inc: number[];\n total: number[];\n };\n notes: {\n dec: number[];\n inc: number[];\n total: number[];\n diffs: {\n normal: number[];\n renote: number[];\n reply: number[];\n };\n };\n requests: {\n failed: number[];\n received: number[];\n succeeded: number[];\n };\n users: {\n dec: number[];\n inc: number[];\n total: number[];\n };\n };\n };\n \"charts/network\": {\n req: {\n span: \"day\" | \"hour\";\n limit?: number;\n offset?: number | null;\n };\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"charts/notes\": {\n req: {\n span: \"day\" | \"hour\";\n limit?: number;\n offset?: number | null;\n };\n res: {\n local: {\n dec: number[];\n inc: number[];\n total: number[];\n diffs: {\n normal: number[];\n renote: number[];\n reply: number[];\n };\n };\n remote: {\n dec: number[];\n inc: number[];\n total: number[];\n diffs: {\n normal: number[];\n renote: number[];\n reply: number[];\n };\n };\n };\n };\n \"charts/user/drive\": {\n req: {\n span: \"day\" | \"hour\";\n limit?: number;\n offset?: number | null;\n userId: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: {\n decCount: number[];\n decSize: number[];\n incCount: number[];\n incSize: number[];\n totalCount: number[];\n totalSize: number[];\n };\n };\n \"charts/user/following\": {\n req: {\n span: \"day\" | \"hour\";\n limit?: number;\n offset?: number | null;\n userId: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"charts/user/notes\": {\n req: {\n span: \"day\" | \"hour\";\n limit?: number;\n offset?: number | null;\n userId: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: {\n dec: number[];\n inc: number[];\n total: number[];\n diffs: {\n normal: number[];\n renote: number[];\n reply: number[];\n };\n };\n };\n \"charts/user/reactions\": {\n req: {\n span: \"day\" | \"hour\";\n limit?: number;\n offset?: number | null;\n userId: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"charts/users\": {\n req: {\n span: \"day\" | \"hour\";\n limit?: number;\n offset?: number | null;\n };\n res: {\n local: {\n dec: number[];\n inc: number[];\n total: number[];\n };\n remote: {\n dec: number[];\n inc: number[];\n total: number[];\n };\n };\n };\n \"clips/add-note\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"clips/create\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"clips/delete\": {\n req: {\n clipId: " + }, + { + "kind": "Reference", + "text": "Clip", + "canonicalReference": "iceshrimp-sdk!entities.Clip:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: null;\n };\n \"clips/list\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"clips/notes\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"clips/show\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"clips/update\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n drive: {\n req: " + }, + { + "kind": "Reference", + "text": "NoParams", + "canonicalReference": "iceshrimp-sdk!~NoParams:type" + }, + { + "kind": "Content", + "text": ";\n res: {\n capacity: number;\n usage: number;\n };\n };\n \"drive/files\": {\n req: {\n folderId?: " + }, + { + "kind": "Reference", + "text": "DriveFolder", + "canonicalReference": "iceshrimp-sdk!entities.DriveFolder:type" + }, + { + "kind": "Content", + "text": "[\"id\"] | null;\n type?: " + }, + { + "kind": "Reference", + "text": "DriveFile", + "canonicalReference": "iceshrimp-sdk!entities.DriveFile:type" + }, + { + "kind": "Content", + "text": "[\"type\"] | null;\n limit?: number;\n sinceId?: " + }, + { + "kind": "Reference", + "text": "DriveFile", + "canonicalReference": "iceshrimp-sdk!entities.DriveFile:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n untilId?: " + }, + { + "kind": "Reference", + "text": "DriveFile", + "canonicalReference": "iceshrimp-sdk!entities.DriveFile:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: " + }, + { + "kind": "Reference", + "text": "DriveFile", + "canonicalReference": "iceshrimp-sdk!entities.DriveFile:type" + }, + { + "kind": "Content", + "text": "[];\n };\n \"drive/files/attached-notes\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"drive/files/check-existence\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"drive/files/create\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"drive/files/delete\": {\n req: {\n fileId: " + }, + { + "kind": "Reference", + "text": "DriveFile", + "canonicalReference": "iceshrimp-sdk!entities.DriveFile:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: null;\n };\n \"drive/files/find-by-hash\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"drive/files/find\": {\n req: {\n name: string;\n folderId?: " + }, + { + "kind": "Reference", + "text": "DriveFolder", + "canonicalReference": "iceshrimp-sdk!entities.DriveFolder:type" + }, + { + "kind": "Content", + "text": "[\"id\"] | null;\n };\n res: " + }, + { + "kind": "Reference", + "text": "DriveFile", + "canonicalReference": "iceshrimp-sdk!entities.DriveFile:type" + }, + { + "kind": "Content", + "text": "[];\n };\n \"drive/files/show\": {\n req: {\n fileId?: " + }, + { + "kind": "Reference", + "text": "DriveFile", + "canonicalReference": "iceshrimp-sdk!entities.DriveFile:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n url?: string;\n };\n res: " + }, + { + "kind": "Reference", + "text": "DriveFile", + "canonicalReference": "iceshrimp-sdk!entities.DriveFile:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"drive/files/update\": {\n req: {\n fileId: " + }, + { + "kind": "Reference", + "text": "DriveFile", + "canonicalReference": "iceshrimp-sdk!entities.DriveFile:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n folderId?: " + }, + { + "kind": "Reference", + "text": "DriveFolder", + "canonicalReference": "iceshrimp-sdk!entities.DriveFolder:type" + }, + { + "kind": "Content", + "text": "[\"id\"] | null;\n name?: string;\n isSensitive?: boolean;\n comment?: string | null;\n };\n res: " + }, + { + "kind": "Reference", + "text": "DriveFile", + "canonicalReference": "iceshrimp-sdk!entities.DriveFile:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"drive/files/upload-from-url\": {\n req: {\n url: string;\n folderId?: " + }, + { + "kind": "Reference", + "text": "DriveFolder", + "canonicalReference": "iceshrimp-sdk!entities.DriveFolder:type" + }, + { + "kind": "Content", + "text": "[\"id\"] | null;\n isSensitive?: boolean;\n comment?: string | null;\n marker?: string | null;\n force?: boolean;\n };\n res: null;\n };\n \"drive/folders\": {\n req: {\n folderId?: " + }, + { + "kind": "Reference", + "text": "DriveFolder", + "canonicalReference": "iceshrimp-sdk!entities.DriveFolder:type" + }, + { + "kind": "Content", + "text": "[\"id\"] | null;\n limit?: number;\n sinceId?: " + }, + { + "kind": "Reference", + "text": "DriveFile", + "canonicalReference": "iceshrimp-sdk!entities.DriveFile:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n untilId?: " + }, + { + "kind": "Reference", + "text": "DriveFile", + "canonicalReference": "iceshrimp-sdk!entities.DriveFile:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: " + }, + { + "kind": "Reference", + "text": "DriveFolder", + "canonicalReference": "iceshrimp-sdk!entities.DriveFolder:type" + }, + { + "kind": "Content", + "text": "[];\n };\n \"drive/folders/create\": {\n req: {\n name?: string;\n parentId?: " + }, + { + "kind": "Reference", + "text": "DriveFolder", + "canonicalReference": "iceshrimp-sdk!entities.DriveFolder:type" + }, + { + "kind": "Content", + "text": "[\"id\"] | null;\n };\n res: " + }, + { + "kind": "Reference", + "text": "DriveFolder", + "canonicalReference": "iceshrimp-sdk!entities.DriveFolder:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"drive/folders/delete\": {\n req: {\n folderId: " + }, + { + "kind": "Reference", + "text": "DriveFolder", + "canonicalReference": "iceshrimp-sdk!entities.DriveFolder:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: null;\n };\n \"drive/folders/find\": {\n req: {\n name: string;\n parentId?: " + }, + { + "kind": "Reference", + "text": "DriveFolder", + "canonicalReference": "iceshrimp-sdk!entities.DriveFolder:type" + }, + { + "kind": "Content", + "text": "[\"id\"] | null;\n };\n res: " + }, + { + "kind": "Reference", + "text": "DriveFolder", + "canonicalReference": "iceshrimp-sdk!entities.DriveFolder:type" + }, + { + "kind": "Content", + "text": "[];\n };\n \"drive/folders/show\": {\n req: {\n folderId: " + }, + { + "kind": "Reference", + "text": "DriveFolder", + "canonicalReference": "iceshrimp-sdk!entities.DriveFolder:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: " + }, + { + "kind": "Reference", + "text": "DriveFolder", + "canonicalReference": "iceshrimp-sdk!entities.DriveFolder:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"drive/folders/update\": {\n req: {\n folderId: " + }, + { + "kind": "Reference", + "text": "DriveFolder", + "canonicalReference": "iceshrimp-sdk!entities.DriveFolder:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n name?: string;\n parentId?: " + }, + { + "kind": "Reference", + "text": "DriveFolder", + "canonicalReference": "iceshrimp-sdk!entities.DriveFolder:type" + }, + { + "kind": "Content", + "text": "[\"id\"] | null;\n };\n res: " + }, + { + "kind": "Reference", + "text": "DriveFolder", + "canonicalReference": "iceshrimp-sdk!entities.DriveFolder:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"drive/stream\": {\n req: {\n type?: " + }, + { + "kind": "Reference", + "text": "DriveFile", + "canonicalReference": "iceshrimp-sdk!entities.DriveFile:type" + }, + { + "kind": "Content", + "text": "[\"type\"] | null;\n limit?: number;\n sinceId?: " + }, + { + "kind": "Reference", + "text": "DriveFile", + "canonicalReference": "iceshrimp-sdk!entities.DriveFile:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n untilId?: " + }, + { + "kind": "Reference", + "text": "DriveFile", + "canonicalReference": "iceshrimp-sdk!entities.DriveFile:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: " + }, + { + "kind": "Reference", + "text": "DriveFile", + "canonicalReference": "iceshrimp-sdk!entities.DriveFile:type" + }, + { + "kind": "Content", + "text": "[];\n };\n endpoint: {\n req: {\n endpoint: string;\n };\n res: {\n params: {\n name: string;\n type: string;\n }[];\n };\n };\n endpoints: {\n req: " + }, + { + "kind": "Reference", + "text": "NoParams", + "canonicalReference": "iceshrimp-sdk!~NoParams:type" + }, + { + "kind": "Content", + "text": ";\n res: string[];\n };\n \"federation/dns\": {\n req: {\n host: string;\n };\n res: {\n a: string[];\n aaaa: string[];\n cname: string[];\n txt: string[];\n };\n };\n \"federation/followers\": {\n req: {\n host: string;\n limit?: number;\n sinceId?: " + }, + { + "kind": "Reference", + "text": "Following", + "canonicalReference": "iceshrimp-sdk!entities.Following:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n untilId?: " + }, + { + "kind": "Reference", + "text": "Following", + "canonicalReference": "iceshrimp-sdk!entities.Following:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: " + }, + { + "kind": "Reference", + "text": "FollowingFolloweePopulated", + "canonicalReference": "iceshrimp-sdk!entities.FollowingFolloweePopulated:type" + }, + { + "kind": "Content", + "text": "[];\n };\n \"federation/following\": {\n req: {\n host: string;\n limit?: number;\n sinceId?: " + }, + { + "kind": "Reference", + "text": "Following", + "canonicalReference": "iceshrimp-sdk!entities.Following:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n untilId?: " + }, + { + "kind": "Reference", + "text": "Following", + "canonicalReference": "iceshrimp-sdk!entities.Following:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: " + }, + { + "kind": "Reference", + "text": "FollowingFolloweePopulated", + "canonicalReference": "iceshrimp-sdk!entities.FollowingFolloweePopulated:type" + }, + { + "kind": "Content", + "text": "[];\n };\n \"federation/instances\": {\n req: {\n host?: string | null;\n blocked?: boolean | null;\n notResponding?: boolean | null;\n suspended?: boolean | null;\n federating?: boolean | null;\n subscribing?: boolean | null;\n publishing?: boolean | null;\n limit?: number;\n offset?: number;\n sort?: \"+pubSub\" | \"-pubSub\" | \"+notes\" | \"-notes\" | \"+users\" | \"-users\" | \"+following\" | \"-following\" | \"+followers\" | \"-followers\" | \"+caughtAt\" | \"-caughtAt\" | \"+lastCommunicatedAt\" | \"-lastCommunicatedAt\" | \"+driveUsage\" | \"-driveUsage\" | \"+driveFiles\" | \"-driveFiles\";\n };\n res: " + }, + { + "kind": "Reference", + "text": "Instance", + "canonicalReference": "iceshrimp-sdk!entities.Instance:type" + }, + { + "kind": "Content", + "text": "[];\n };\n \"federation/show-instance\": {\n req: {\n host: string;\n };\n res: " + }, + { + "kind": "Reference", + "text": "Instance", + "canonicalReference": "iceshrimp-sdk!entities.Instance:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"federation/update-remote-user\": {\n req: {\n userId: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: null;\n };\n \"federation/users\": {\n req: {\n host: string;\n limit?: number;\n sinceId?: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n untilId?: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: " + }, + { + "kind": "Reference", + "text": "UserDetailed", + "canonicalReference": "iceshrimp-sdk!entities.UserDetailed:type" + }, + { + "kind": "Content", + "text": "[];\n };\n \"following/create\": {\n req: {\n userId: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"following/delete\": {\n req: {\n userId: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"following/requests/accept\": {\n req: {\n userId: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: null;\n };\n \"following/requests/cancel\": {\n req: {\n userId: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"following/requests/list\": {\n req: " + }, + { + "kind": "Reference", + "text": "NoParams", + "canonicalReference": "iceshrimp-sdk!~NoParams:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "FollowRequest", + "canonicalReference": "iceshrimp-sdk!entities.FollowRequest:type" + }, + { + "kind": "Content", + "text": "[];\n };\n \"following/requests/reject\": {\n req: {\n userId: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: null;\n };\n \"gallery/featured\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"gallery/popular\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"gallery/posts\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"gallery/posts/create\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"gallery/posts/delete\": {\n req: {\n postId: " + }, + { + "kind": "Reference", + "text": "GalleryPost", + "canonicalReference": "iceshrimp-sdk!entities.GalleryPost:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: null;\n };\n \"gallery/posts/like\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"gallery/posts/show\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"gallery/posts/unlike\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"gallery/posts/update\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"games/reversi/games\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"games/reversi/games/show\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"games/reversi/games/surrender\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"games/reversi/invitations\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"games/reversi/match\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"games/reversi/match/cancel\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"get-online-users-count\": {\n req: " + }, + { + "kind": "Reference", + "text": "NoParams", + "canonicalReference": "iceshrimp-sdk!~NoParams:type" + }, + { + "kind": "Content", + "text": ";\n res: {\n count: number;\n };\n };\n \"hashtags/list\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"hashtags/search\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"hashtags/show\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"hashtags/trend\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"hashtags/users\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n i: {\n req: " + }, + { + "kind": "Reference", + "text": "NoParams", + "canonicalReference": "iceshrimp-sdk!~NoParams:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"i/apps\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"i/authorized-apps\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"i/change-password\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"i/delete-account\": {\n req: {\n password: string;\n };\n res: null;\n };\n \"i/export-blocking\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"i/export-following\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"i/export-mute\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"i/export-notes\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"i/export-user-lists\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"i/favorites\": {\n req: {\n limit?: number;\n sinceId?: " + }, + { + "kind": "Reference", + "text": "NoteFavorite", + "canonicalReference": "iceshrimp-sdk!entities.NoteFavorite:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n untilId?: " + }, + { + "kind": "Reference", + "text": "NoteFavorite", + "canonicalReference": "iceshrimp-sdk!entities.NoteFavorite:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: " + }, + { + "kind": "Reference", + "text": "NoteFavorite", + "canonicalReference": "iceshrimp-sdk!entities.NoteFavorite:type" + }, + { + "kind": "Content", + "text": "[];\n };\n \"i/gallery/likes\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"i/gallery/posts\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"i/import-following\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"i/import-user-lists\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"i/move\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"i/known-as\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"i/notifications\": {\n req: {\n limit?: number;\n sinceId?: " + }, + { + "kind": "Reference", + "text": "Notification", + "canonicalReference": "iceshrimp-sdk!entities.Notification_2:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n untilId?: " + }, + { + "kind": "Reference", + "text": "Notification", + "canonicalReference": "iceshrimp-sdk!entities.Notification_2:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n following?: boolean;\n markAsRead?: boolean;\n includeTypes?: " + }, + { + "kind": "Reference", + "text": "Notification", + "canonicalReference": "iceshrimp-sdk!entities.Notification_2:type" + }, + { + "kind": "Content", + "text": "[\"type\"][];\n excludeTypes?: " + }, + { + "kind": "Reference", + "text": "Notification", + "canonicalReference": "iceshrimp-sdk!entities.Notification_2:type" + }, + { + "kind": "Content", + "text": "[\"type\"][];\n };\n res: " + }, + { + "kind": "Reference", + "text": "Notification", + "canonicalReference": "iceshrimp-sdk!entities.Notification_2:type" + }, + { + "kind": "Content", + "text": "[];\n };\n \"i/page-likes\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"i/pages\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"i/pin\": {\n req: {\n noteId: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: " + }, + { + "kind": "Reference", + "text": "MeDetailed", + "canonicalReference": "iceshrimp-sdk!entities.MeDetailed:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"i/read-all-messaging-messages\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"i/read-all-unread-notes\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"i/read-announcement\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"i/regenerate-token\": {\n req: {\n password: string;\n };\n res: null;\n };\n \"i/registry/get-all\": {\n req: {\n scope?: string[];\n };\n res: " + }, + { + "kind": "Reference", + "text": "Record", + "canonicalReference": "!Record:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"i/registry/get-detail\": {\n req: {\n key: string;\n scope?: string[];\n };\n res: {\n updatedAt: " + }, + { + "kind": "Reference", + "text": "DateString", + "canonicalReference": "iceshrimp-sdk!entities.DateString:type" + }, + { + "kind": "Content", + "text": ";\n value: any;\n };\n };\n \"i/registry/get\": {\n req: {\n key: string;\n scope?: string[];\n };\n res: any;\n };\n \"i/registry/keys-with-type\": {\n req: {\n scope?: string[];\n };\n res: " + }, + { + "kind": "Reference", + "text": "Record", + "canonicalReference": "!Record:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"i/registry/keys\": {\n req: {\n scope?: string[];\n };\n res: string[];\n };\n \"i/registry/remove\": {\n req: {\n key: string;\n scope?: string[];\n };\n res: null;\n };\n \"i/registry/scopes\": {\n req: " + }, + { + "kind": "Reference", + "text": "NoParams", + "canonicalReference": "iceshrimp-sdk!~NoParams:type" + }, + { + "kind": "Content", + "text": ";\n res: string[][];\n };\n \"i/registry/set\": {\n req: {\n key: string;\n value: any;\n scope?: string[];\n };\n res: null;\n };\n \"i/revoke-token\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"i/signin-history\": {\n req: {\n limit?: number;\n sinceId?: " + }, + { + "kind": "Reference", + "text": "Signin", + "canonicalReference": "iceshrimp-sdk!entities.Signin:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n untilId?: " + }, + { + "kind": "Reference", + "text": "Signin", + "canonicalReference": "iceshrimp-sdk!entities.Signin:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: " + }, + { + "kind": "Reference", + "text": "Signin", + "canonicalReference": "iceshrimp-sdk!entities.Signin:type" + }, + { + "kind": "Content", + "text": "[];\n };\n \"i/unpin\": {\n req: {\n noteId: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: " + }, + { + "kind": "Reference", + "text": "MeDetailed", + "canonicalReference": "iceshrimp-sdk!entities.MeDetailed:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"i/update-email\": {\n req: {\n password: string;\n email?: string | null;\n };\n res: " + }, + { + "kind": "Reference", + "text": "MeDetailed", + "canonicalReference": "iceshrimp-sdk!entities.MeDetailed:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"i/update\": {\n req: {\n name?: string | null;\n description?: string | null;\n lang?: string | null;\n location?: string | null;\n birthday?: string | null;\n avatarId?: " + }, + { + "kind": "Reference", + "text": "DriveFile", + "canonicalReference": "iceshrimp-sdk!entities.DriveFile:type" + }, + { + "kind": "Content", + "text": "[\"id\"] | null;\n bannerId?: " + }, + { + "kind": "Reference", + "text": "DriveFile", + "canonicalReference": "iceshrimp-sdk!entities.DriveFile:type" + }, + { + "kind": "Content", + "text": "[\"id\"] | null;\n fields?: {\n name: string;\n value: string;\n }[];\n isLocked?: boolean;\n isExplorable?: boolean;\n hideOnlineStatus?: boolean;\n carefulBot?: boolean;\n autoAcceptFollowed?: boolean;\n noCrawle?: boolean;\n preventAiLearning?: boolean;\n isBot?: boolean;\n isCat?: boolean;\n injectFeaturedNote?: boolean;\n receiveAnnouncementEmail?: boolean;\n alwaysMarkNsfw?: boolean;\n mutedWords?: string[][];\n mutingNotificationTypes?: " + }, + { + "kind": "Reference", + "text": "Notification", + "canonicalReference": "iceshrimp-sdk!entities.Notification_2:type" + }, + { + "kind": "Content", + "text": "[\"type\"][];\n emailNotificationTypes?: string[];\n };\n res: " + }, + { + "kind": "Reference", + "text": "MeDetailed", + "canonicalReference": "iceshrimp-sdk!entities.MeDetailed:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"i/user-group-invites\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"i/2fa/done\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"i/2fa/key-done\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"i/2fa/password-less\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"i/2fa/register-key\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"i/2fa/register\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"i/2fa/update-key\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"i/2fa/remove-key\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"i/2fa/unregister\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"messaging/history\": {\n req: {\n limit?: number;\n group?: boolean;\n };\n res: " + }, + { + "kind": "Reference", + "text": "MessagingMessage", + "canonicalReference": "iceshrimp-sdk!entities.MessagingMessage:type" + }, + { + "kind": "Content", + "text": "[];\n };\n \"messaging/messages\": {\n req: {\n userId?: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n groupId?: " + }, + { + "kind": "Reference", + "text": "UserGroup", + "canonicalReference": "iceshrimp-sdk!entities.UserGroup:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n limit?: number;\n sinceId?: " + }, + { + "kind": "Reference", + "text": "MessagingMessage", + "canonicalReference": "iceshrimp-sdk!entities.MessagingMessage:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n untilId?: " + }, + { + "kind": "Reference", + "text": "MessagingMessage", + "canonicalReference": "iceshrimp-sdk!entities.MessagingMessage:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n markAsRead?: boolean;\n };\n res: " + }, + { + "kind": "Reference", + "text": "MessagingMessage", + "canonicalReference": "iceshrimp-sdk!entities.MessagingMessage:type" + }, + { + "kind": "Content", + "text": "[];\n };\n \"messaging/messages/create\": {\n req: {\n userId?: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n groupId?: " + }, + { + "kind": "Reference", + "text": "UserGroup", + "canonicalReference": "iceshrimp-sdk!entities.UserGroup:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n text?: string;\n fileId?: " + }, + { + "kind": "Reference", + "text": "DriveFile", + "canonicalReference": "iceshrimp-sdk!entities.DriveFile:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: " + }, + { + "kind": "Reference", + "text": "MessagingMessage", + "canonicalReference": "iceshrimp-sdk!entities.MessagingMessage:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"messaging/messages/delete\": {\n req: {\n messageId: " + }, + { + "kind": "Reference", + "text": "MessagingMessage", + "canonicalReference": "iceshrimp-sdk!entities.MessagingMessage:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: null;\n };\n \"messaging/messages/read\": {\n req: {\n messageId: " + }, + { + "kind": "Reference", + "text": "MessagingMessage", + "canonicalReference": "iceshrimp-sdk!entities.MessagingMessage:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: null;\n };\n meta: {\n req: {\n detail?: boolean;\n };\n res: {\n $switch: {\n $cases: [\n [\n {\n detail: true;\n },\n " + }, + { + "kind": "Reference", + "text": "DetailedInstanceMetadata", + "canonicalReference": "iceshrimp-sdk!entities.DetailedInstanceMetadata:type" + }, + { + "kind": "Content", + "text": "\n ],\n [\n {\n detail: false;\n },\n " + }, + { + "kind": "Reference", + "text": "LiteInstanceMetadata", + "canonicalReference": "iceshrimp-sdk!entities.LiteInstanceMetadata:type" + }, + { + "kind": "Content", + "text": "\n ],\n [\n {\n detail: boolean;\n },\n " + }, + { + "kind": "Reference", + "text": "LiteInstanceMetadata", + "canonicalReference": "iceshrimp-sdk!entities.LiteInstanceMetadata:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "DetailedInstanceMetadata", + "canonicalReference": "iceshrimp-sdk!entities.DetailedInstanceMetadata:type" + }, + { + "kind": "Content", + "text": "\n ]\n ];\n $default: " + }, + { + "kind": "Reference", + "text": "LiteInstanceMetadata", + "canonicalReference": "iceshrimp-sdk!entities.LiteInstanceMetadata:type" + }, + { + "kind": "Content", + "text": ";\n };\n };\n };\n \"miauth/gen-token\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"mute/create\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"mute/delete\": {\n req: {\n userId: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: null;\n };\n \"mute/list\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"renote-mute/create\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"renote-mute/delete\": {\n req: {\n userId: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: null;\n };\n \"renote-mute/list\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"my/apps\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n notes: {\n req: {\n limit?: number;\n sinceId?: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n untilId?: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[];\n };\n \"notes/children\": {\n req: {\n noteId: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n limit?: number;\n sinceId?: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n untilId?: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[];\n };\n \"notes/clips\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"notes/conversation\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"notes/create\": {\n req: " + }, + { + "kind": "Reference", + "text": "NoteSubmitReq", + "canonicalReference": "iceshrimp-sdk!~NoteSubmitReq:type" + }, + { + "kind": "Content", + "text": ";\n res: {\n createdNote: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": ";\n };\n };\n \"notes/delete\": {\n req: {\n noteId: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: null;\n };\n \"notes/edit\": {\n req: " + }, + { + "kind": "Reference", + "text": "NoteSubmitReq", + "canonicalReference": "iceshrimp-sdk!~NoteSubmitReq:type" + }, + { + "kind": "Content", + "text": ";\n res: {\n createdNote: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": ";\n };\n };\n \"notes/favorites/create\": {\n req: {\n noteId: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: null;\n };\n \"notes/favorites/delete\": {\n req: {\n noteId: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: null;\n };\n \"notes/featured\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[];\n };\n \"notes/global-timeline\": {\n req: {\n limit?: number;\n sinceId?: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n untilId?: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n sinceDate?: number;\n untilDate?: number;\n };\n res: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[];\n };\n \"notes/recommended-timeline\": {\n req: {\n limit?: number;\n sinceId?: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n untilId?: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n sinceDate?: number;\n untilDate?: number;\n };\n res: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[];\n };\n \"notes/hybrid-timeline\": {\n req: {\n limit?: number;\n sinceId?: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n untilId?: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n sinceDate?: number;\n untilDate?: number;\n };\n res: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[];\n };\n \"notes/local-timeline\": {\n req: {\n limit?: number;\n sinceId?: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n untilId?: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n sinceDate?: number;\n untilDate?: number;\n };\n res: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[];\n };\n \"notes/mentions\": {\n req: {\n following?: boolean;\n limit?: number;\n sinceId?: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n untilId?: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[];\n };\n \"notes/polls/recommendation\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"notes/polls/vote\": {\n req: {\n noteId: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n choice: number;\n };\n res: null;\n };\n \"notes/reactions\": {\n req: {\n noteId: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n type?: string | null;\n limit?: number;\n };\n res: " + }, + { + "kind": "Reference", + "text": "NoteReaction", + "canonicalReference": "iceshrimp-sdk!entities.NoteReaction:type" + }, + { + "kind": "Content", + "text": "[];\n };\n \"notes/reactions/create\": {\n req: {\n noteId: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n reaction: string;\n };\n res: null;\n };\n \"notes/reactions/delete\": {\n req: {\n noteId: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: null;\n };\n \"notes/renotes\": {\n req: {\n limit?: number;\n sinceId?: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n untilId?: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n noteId: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[];\n };\n \"notes/replies\": {\n req: {\n limit?: number;\n sinceId?: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n untilId?: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n noteId: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[];\n };\n \"notes/search-by-tag\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"notes/search\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"notes/show\": {\n req: {\n noteId: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"notes/state\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"notes/timeline\": {\n req: {\n limit?: number;\n sinceId?: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n untilId?: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n sinceDate?: number;\n untilDate?: number;\n };\n res: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[];\n };\n \"notes/unrenote\": {\n req: {\n noteId: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: null;\n };\n \"notes/user-list-timeline\": {\n req: {\n listId: " + }, + { + "kind": "Reference", + "text": "UserList", + "canonicalReference": "iceshrimp-sdk!entities.UserList:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n limit?: number;\n sinceId?: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n untilId?: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n sinceDate?: number;\n untilDate?: number;\n };\n res: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[];\n };\n \"notes/watching/create\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"notes/watching/delete\": {\n req: {\n noteId: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: null;\n };\n \"notifications/create\": {\n req: {\n body: string;\n header?: string | null;\n icon?: string | null;\n };\n res: null;\n };\n \"notifications/mark-all-as-read\": {\n req: " + }, + { + "kind": "Reference", + "text": "NoParams", + "canonicalReference": "iceshrimp-sdk!~NoParams:type" + }, + { + "kind": "Content", + "text": ";\n res: null;\n };\n \"notifications/read\": {\n req: {\n notificationId: " + }, + { + "kind": "Reference", + "text": "Notification", + "canonicalReference": "iceshrimp-sdk!entities.Notification_2:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: null;\n };\n \"page-push\": {\n req: {\n pageId: " + }, + { + "kind": "Reference", + "text": "Page", + "canonicalReference": "iceshrimp-sdk!entities.Page:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n event: string;\n var?: any;\n };\n res: null;\n };\n \"pages/create\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "Page", + "canonicalReference": "iceshrimp-sdk!entities.Page:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"pages/delete\": {\n req: {\n pageId: " + }, + { + "kind": "Reference", + "text": "Page", + "canonicalReference": "iceshrimp-sdk!entities.Page:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: null;\n };\n \"pages/featured\": {\n req: " + }, + { + "kind": "Reference", + "text": "NoParams", + "canonicalReference": "iceshrimp-sdk!~NoParams:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "Page", + "canonicalReference": "iceshrimp-sdk!entities.Page:type" + }, + { + "kind": "Content", + "text": "[];\n };\n \"pages/like\": {\n req: {\n pageId: " + }, + { + "kind": "Reference", + "text": "Page", + "canonicalReference": "iceshrimp-sdk!entities.Page:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: null;\n };\n \"pages/show\": {\n req: {\n pageId?: " + }, + { + "kind": "Reference", + "text": "Page", + "canonicalReference": "iceshrimp-sdk!entities.Page:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n name?: string;\n username?: string;\n };\n res: " + }, + { + "kind": "Reference", + "text": "Page", + "canonicalReference": "iceshrimp-sdk!entities.Page:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"pages/unlike\": {\n req: {\n pageId: " + }, + { + "kind": "Reference", + "text": "Page", + "canonicalReference": "iceshrimp-sdk!entities.Page:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: null;\n };\n \"pages/update\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: null;\n };\n ping: {\n req: " + }, + { + "kind": "Reference", + "text": "NoParams", + "canonicalReference": "iceshrimp-sdk!~NoParams:type" + }, + { + "kind": "Content", + "text": ";\n res: {\n pong: number;\n };\n };\n \"pinned-users\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"promo/read\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"request-reset-password\": {\n req: {\n username: string;\n email: string;\n };\n res: null;\n };\n \"reset-password\": {\n req: {\n token: string;\n password: string;\n };\n res: null;\n };\n \"room/show\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"room/update\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n stats: {\n req: " + }, + { + "kind": "Reference", + "text": "NoParams", + "canonicalReference": "iceshrimp-sdk!~NoParams:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "Stats", + "canonicalReference": "iceshrimp-sdk!entities.Stats:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"server-info\": {\n req: " + }, + { + "kind": "Reference", + "text": "NoParams", + "canonicalReference": "iceshrimp-sdk!~NoParams:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "ServerInfo", + "canonicalReference": "iceshrimp-sdk!entities.ServerInfo:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"latest-version\": {\n req: " + }, + { + "kind": "Reference", + "text": "NoParams", + "canonicalReference": "iceshrimp-sdk!~NoParams:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"sw/register\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"username/available\": {\n req: {\n username: string;\n };\n res: {\n available: boolean;\n };\n };\n users: {\n req: {\n limit?: number;\n offset?: number;\n sort?: " + }, + { + "kind": "Reference", + "text": "UserSorting", + "canonicalReference": "iceshrimp-sdk!entities.UserSorting:type" + }, + { + "kind": "Content", + "text": ";\n origin?: " + }, + { + "kind": "Reference", + "text": "OriginType", + "canonicalReference": "iceshrimp-sdk!entities.OriginType:type" + }, + { + "kind": "Content", + "text": ";\n };\n res: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": "[];\n };\n \"users/clips\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"users/followers\": {\n req: {\n userId?: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n username?: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": "[\"username\"];\n host?: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": "[\"host\"] | null;\n limit?: number;\n sinceId?: " + }, + { + "kind": "Reference", + "text": "Following", + "canonicalReference": "iceshrimp-sdk!entities.Following:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n untilId?: " + }, + { + "kind": "Reference", + "text": "Following", + "canonicalReference": "iceshrimp-sdk!entities.Following:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: " + }, + { + "kind": "Reference", + "text": "FollowingFollowerPopulated", + "canonicalReference": "iceshrimp-sdk!entities.FollowingFollowerPopulated:type" + }, + { + "kind": "Content", + "text": "[];\n };\n \"users/following\": {\n req: {\n userId?: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n username?: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": "[\"username\"];\n host?: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": "[\"host\"] | null;\n limit?: number;\n sinceId?: " + }, + { + "kind": "Reference", + "text": "Following", + "canonicalReference": "iceshrimp-sdk!entities.Following:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n untilId?: " + }, + { + "kind": "Reference", + "text": "Following", + "canonicalReference": "iceshrimp-sdk!entities.Following:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: " + }, + { + "kind": "Reference", + "text": "FollowingFolloweePopulated", + "canonicalReference": "iceshrimp-sdk!entities.FollowingFolloweePopulated:type" + }, + { + "kind": "Content", + "text": "[];\n };\n \"users/gallery/posts\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"users/get-frequently-replied-users\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"users/groups/create\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"users/groups/delete\": {\n req: {\n groupId: " + }, + { + "kind": "Reference", + "text": "UserGroup", + "canonicalReference": "iceshrimp-sdk!entities.UserGroup:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: null;\n };\n \"users/groups/invitations/accept\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"users/groups/invitations/reject\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"users/groups/invite\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"users/groups/joined\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"users/groups/owned\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"users/groups/pull\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"users/groups/show\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"users/groups/transfer\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"users/groups/update\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"users/lists/create\": {\n req: {\n name: string;\n };\n res: " + }, + { + "kind": "Reference", + "text": "UserList", + "canonicalReference": "iceshrimp-sdk!entities.UserList:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"users/lists/delete\": {\n req: {\n listId: " + }, + { + "kind": "Reference", + "text": "UserList", + "canonicalReference": "iceshrimp-sdk!entities.UserList:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: null;\n };\n \"users/lists/list\": {\n req: " + }, + { + "kind": "Reference", + "text": "NoParams", + "canonicalReference": "iceshrimp-sdk!~NoParams:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "UserList", + "canonicalReference": "iceshrimp-sdk!entities.UserList:type" + }, + { + "kind": "Content", + "text": "[];\n };\n \"users/lists/pull\": {\n req: {\n listId: " + }, + { + "kind": "Reference", + "text": "UserList", + "canonicalReference": "iceshrimp-sdk!entities.UserList:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n userId: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: null;\n };\n \"users/lists/push\": {\n req: {\n listId: " + }, + { + "kind": "Reference", + "text": "UserList", + "canonicalReference": "iceshrimp-sdk!entities.UserList:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n userId: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: null;\n };\n \"users/lists/show\": {\n req: {\n listId: " + }, + { + "kind": "Reference", + "text": "UserList", + "canonicalReference": "iceshrimp-sdk!entities.UserList:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n };\n res: " + }, + { + "kind": "Reference", + "text": "UserList", + "canonicalReference": "iceshrimp-sdk!entities.UserList:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"users/lists/update\": {\n req: {\n listId: " + }, + { + "kind": "Reference", + "text": "UserList", + "canonicalReference": "iceshrimp-sdk!entities.UserList:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n name: string;\n };\n res: " + }, + { + "kind": "Reference", + "text": "UserList", + "canonicalReference": "iceshrimp-sdk!entities.UserList:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"users/notes\": {\n req: {\n userId: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n limit?: number;\n sinceId?: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n untilId?: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n sinceDate?: number;\n untilDate?: number;\n };\n res: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[];\n };\n \"users/pages\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"users/recommendation\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"users/relation\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"users/report-abuse\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"users/search-by-username-and-host\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"users/search\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n \"users/show\": {\n req: " + }, + { + "kind": "Reference", + "text": "ShowUserReq", + "canonicalReference": "iceshrimp-sdk!~ShowUserReq:type" + }, + { + "kind": "Content", + "text": " | {\n userIds: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": "[\"id\"][];\n };\n res: {\n $switch: {\n $cases: [[{\n userIds: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": "[\"id\"][];\n }, " + }, + { + "kind": "Reference", + "text": "UserDetailed", + "canonicalReference": "iceshrimp-sdk!entities.UserDetailed:type" + }, + { + "kind": "Content", + "text": "[]]];\n $default: " + }, + { + "kind": "Reference", + "text": "UserDetailed", + "canonicalReference": "iceshrimp-sdk!entities.UserDetailed:type" + }, + { + "kind": "Content", + "text": ";\n };\n };\n };\n \"users/stats\": {\n req: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n res: " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO:type" + }, + { + "kind": "Content", + "text": ";\n };\n}" + }, + { + "kind": "Content", + "text": ";" + } + ], + "fileUrlPath": "src/api.types.ts", + "releaseTag": "Public", + "name": "Endpoints", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 1140 + } + }, + { + "kind": "Namespace", + "canonicalReference": "iceshrimp-sdk!entities:namespace", + "docComment": "", + "excerptTokens": [], + "fileUrlPath": "src/index.ts", + "releaseTag": "None", + "name": "entities", + "preserveMemberOrder": false, + "members": [ + { + "kind": "TypeAlias", + "canonicalReference": "iceshrimp-sdk!entities.Announcement:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export type Announcement = " + }, + { + "kind": "Content", + "text": "{\n id: " + }, + { + "kind": "Reference", + "text": "ID", + "canonicalReference": "iceshrimp-sdk!entities.ID:type" + }, + { + "kind": "Content", + "text": ";\n createdAt: " + }, + { + "kind": "Reference", + "text": "DateString", + "canonicalReference": "iceshrimp-sdk!entities.DateString:type" + }, + { + "kind": "Content", + "text": ";\n updatedAt: " + }, + { + "kind": "Reference", + "text": "DateString", + "canonicalReference": "iceshrimp-sdk!entities.DateString:type" + }, + { + "kind": "Content", + "text": " | null;\n text: string;\n title: string;\n imageUrl: string | null;\n isRead?: boolean;\n}" + }, + { + "kind": "Content", + "text": ";" + } + ], + "fileUrlPath": "src/entities.ts", + "releaseTag": "Public", + "name": "Announcement", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 8 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "iceshrimp-sdk!entities.Antenna:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export type Antenna = " + }, + { + "kind": "Content", + "text": "{\n id: " + }, + { + "kind": "Reference", + "text": "ID", + "canonicalReference": "iceshrimp-sdk!entities.ID:type" + }, + { + "kind": "Content", + "text": ";\n createdAt: " + }, + { + "kind": "Reference", + "text": "DateString", + "canonicalReference": "iceshrimp-sdk!entities.DateString:type" + }, + { + "kind": "Content", + "text": ";\n name: string;\n keywords: string[][];\n excludeKeywords: string[][];\n src: \"home\" | \"all\" | \"users\" | \"list\" | \"group\" | \"instances\";\n userListId: " + }, + { + "kind": "Reference", + "text": "ID", + "canonicalReference": "iceshrimp-sdk!entities.ID:type" + }, + { + "kind": "Content", + "text": " | null;\n userGroupId: " + }, + { + "kind": "Reference", + "text": "ID", + "canonicalReference": "iceshrimp-sdk!entities.ID:type" + }, + { + "kind": "Content", + "text": " | null;\n users: string[];\n instances: string[];\n caseSensitive: boolean;\n notify: boolean;\n withReplies: boolean;\n withFile: boolean;\n hasUnreadNote: boolean;\n}" + }, + { + "kind": "Content", + "text": ";" + } + ], + "fileUrlPath": "src/entities.ts", + "releaseTag": "Public", + "name": "Antenna", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 10 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "iceshrimp-sdk!entities.App:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export type App = " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO_2:type" + }, + { + "kind": "Content", + "text": ";" + } + ], + "fileUrlPath": "src/entities.ts", + "releaseTag": "Public", + "name": "App", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "iceshrimp-sdk!entities.AuthSession:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export type AuthSession = " + }, + { + "kind": "Content", + "text": "{\n id: " + }, + { + "kind": "Reference", + "text": "ID", + "canonicalReference": "iceshrimp-sdk!entities.ID:type" + }, + { + "kind": "Content", + "text": ";\n app: " + }, + { + "kind": "Reference", + "text": "App", + "canonicalReference": "iceshrimp-sdk!entities.App:type" + }, + { + "kind": "Content", + "text": ";\n token: string;\n}" + }, + { + "kind": "Content", + "text": ";" + } + ], + "fileUrlPath": "src/entities.ts", + "releaseTag": "Public", + "name": "AuthSession", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 6 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "iceshrimp-sdk!entities.Blocking:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export type Blocking = " + }, + { + "kind": "Content", + "text": "{\n id: " + }, + { + "kind": "Reference", + "text": "ID", + "canonicalReference": "iceshrimp-sdk!entities.ID:type" + }, + { + "kind": "Content", + "text": ";\n createdAt: " + }, + { + "kind": "Reference", + "text": "DateString", + "canonicalReference": "iceshrimp-sdk!entities.DateString:type" + }, + { + "kind": "Content", + "text": ";\n blockeeId: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n blockee: " + }, + { + "kind": "Reference", + "text": "UserDetailed", + "canonicalReference": "iceshrimp-sdk!entities.UserDetailed:type" + }, + { + "kind": "Content", + "text": ";\n}" + }, + { + "kind": "Content", + "text": ";" + } + ], + "fileUrlPath": "src/entities.ts", + "releaseTag": "Public", + "name": "Blocking", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 10 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "iceshrimp-sdk!entities.Channel:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export type Channel = " + }, + { + "kind": "Content", + "text": "{\n id: " + }, + { + "kind": "Reference", + "text": "ID", + "canonicalReference": "iceshrimp-sdk!entities.ID:type" + }, + { + "kind": "Content", + "text": ";\n}" + }, + { + "kind": "Content", + "text": ";" + } + ], + "fileUrlPath": "src/entities.ts", + "releaseTag": "Public", + "name": "Channel", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 4 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "iceshrimp-sdk!entities.Clip:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export type Clip = " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO_2:type" + }, + { + "kind": "Content", + "text": ";" + } + ], + "fileUrlPath": "src/entities.ts", + "releaseTag": "Public", + "name": "Clip", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "iceshrimp-sdk!entities.CustomEmoji:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export type CustomEmoji = " + }, + { + "kind": "Content", + "text": "{\n id: string;\n name: string;\n url: string;\n category: string;\n aliases: string[];\n}" + }, + { + "kind": "Content", + "text": ";" + } + ], + "fileUrlPath": "src/entities.ts", + "releaseTag": "Public", + "name": "CustomEmoji", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "iceshrimp-sdk!entities.DateString:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export type DateString = " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ";" + } + ], + "fileUrlPath": "src/entities.ts", + "releaseTag": "Public", + "name": "DateString", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "iceshrimp-sdk!entities.DetailedInstanceMetadata:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export type DetailedInstanceMetadata = " + }, + { + "kind": "Reference", + "text": "LiteInstanceMetadata", + "canonicalReference": "iceshrimp-sdk!entities.LiteInstanceMetadata:type" + }, + { + "kind": "Content", + "text": " & {\n features: " + }, + { + "kind": "Reference", + "text": "Record", + "canonicalReference": "!Record:type" + }, + { + "kind": "Content", + "text": ";\n}" + }, + { + "kind": "Content", + "text": ";" + } + ], + "fileUrlPath": "src/entities.ts", + "releaseTag": "Public", + "name": "DetailedInstanceMetadata", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 5 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "iceshrimp-sdk!entities.DriveFile:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export type DriveFile = " + }, + { + "kind": "Content", + "text": "{\n id: " + }, + { + "kind": "Reference", + "text": "ID", + "canonicalReference": "iceshrimp-sdk!entities.ID:type" + }, + { + "kind": "Content", + "text": ";\n createdAt: " + }, + { + "kind": "Reference", + "text": "DateString", + "canonicalReference": "iceshrimp-sdk!entities.DateString:type" + }, + { + "kind": "Content", + "text": ";\n isSensitive: boolean;\n name: string;\n thumbnailUrl: string;\n url: string;\n type: string;\n size: number;\n md5: string;\n blurhash: string;\n comment: string | null;\n properties: " + }, + { + "kind": "Reference", + "text": "Record", + "canonicalReference": "!Record:type" + }, + { + "kind": "Content", + "text": ";\n}" + }, + { + "kind": "Content", + "text": ";" + } + ], + "fileUrlPath": "src/entities.ts", + "releaseTag": "Public", + "name": "DriveFile", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 8 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "iceshrimp-sdk!entities.DriveFolder:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export type DriveFolder = " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO_2:type" + }, + { + "kind": "Content", + "text": ";" + } + ], + "fileUrlPath": "src/entities.ts", + "releaseTag": "Public", + "name": "DriveFolder", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "iceshrimp-sdk!entities.Following:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export type Following = " + }, + { + "kind": "Content", + "text": "{\n id: " + }, + { + "kind": "Reference", + "text": "ID", + "canonicalReference": "iceshrimp-sdk!entities.ID:type" + }, + { + "kind": "Content", + "text": ";\n createdAt: " + }, + { + "kind": "Reference", + "text": "DateString", + "canonicalReference": "iceshrimp-sdk!entities.DateString:type" + }, + { + "kind": "Content", + "text": ";\n followerId: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n followeeId: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n}" + }, + { + "kind": "Content", + "text": ";" + } + ], + "fileUrlPath": "src/entities.ts", + "releaseTag": "Public", + "name": "Following", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 10 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "iceshrimp-sdk!entities.FollowingFolloweePopulated:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export type FollowingFolloweePopulated = " + }, + { + "kind": "Reference", + "text": "Following", + "canonicalReference": "iceshrimp-sdk!entities.Following:type" + }, + { + "kind": "Content", + "text": " & {\n followee: " + }, + { + "kind": "Reference", + "text": "UserDetailed", + "canonicalReference": "iceshrimp-sdk!entities.UserDetailed:type" + }, + { + "kind": "Content", + "text": ";\n}" + }, + { + "kind": "Content", + "text": ";" + } + ], + "fileUrlPath": "src/entities.ts", + "releaseTag": "Public", + "name": "FollowingFolloweePopulated", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 5 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "iceshrimp-sdk!entities.FollowingFollowerPopulated:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export type FollowingFollowerPopulated = " + }, + { + "kind": "Reference", + "text": "Following", + "canonicalReference": "iceshrimp-sdk!entities.Following:type" + }, + { + "kind": "Content", + "text": " & {\n follower: " + }, + { + "kind": "Reference", + "text": "UserDetailed", + "canonicalReference": "iceshrimp-sdk!entities.UserDetailed:type" + }, + { + "kind": "Content", + "text": ";\n}" + }, + { + "kind": "Content", + "text": ";" + } + ], + "fileUrlPath": "src/entities.ts", + "releaseTag": "Public", + "name": "FollowingFollowerPopulated", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 5 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "iceshrimp-sdk!entities.FollowRequest:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export type FollowRequest = " + }, + { + "kind": "Content", + "text": "{\n id: " + }, + { + "kind": "Reference", + "text": "ID", + "canonicalReference": "iceshrimp-sdk!entities.ID:type" + }, + { + "kind": "Content", + "text": ";\n follower: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": ";\n followee: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": ";\n}" + }, + { + "kind": "Content", + "text": ";" + } + ], + "fileUrlPath": "src/entities.ts", + "releaseTag": "Public", + "name": "FollowRequest", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 8 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "iceshrimp-sdk!entities.GalleryPost:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export type GalleryPost = " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO_2:type" + }, + { + "kind": "Content", + "text": ";" + } + ], + "fileUrlPath": "src/entities.ts", + "releaseTag": "Public", + "name": "GalleryPost", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "iceshrimp-sdk!entities.ID:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export type ID = " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ";" + } + ], + "fileUrlPath": "src/entities.ts", + "releaseTag": "Public", + "name": "ID", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "iceshrimp-sdk!entities.Instance:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export type Instance = " + }, + { + "kind": "Content", + "text": "{\n id: " + }, + { + "kind": "Reference", + "text": "ID", + "canonicalReference": "iceshrimp-sdk!entities.ID:type" + }, + { + "kind": "Content", + "text": ";\n caughtAt: " + }, + { + "kind": "Reference", + "text": "DateString", + "canonicalReference": "iceshrimp-sdk!entities.DateString:type" + }, + { + "kind": "Content", + "text": ";\n host: string;\n usersCount: number;\n notesCount: number;\n followingCount: number;\n followersCount: number;\n driveUsage: number;\n driveFiles: number;\n latestRequestSentAt: " + }, + { + "kind": "Reference", + "text": "DateString", + "canonicalReference": "iceshrimp-sdk!entities.DateString:type" + }, + { + "kind": "Content", + "text": " | null;\n latestStatus: number | null;\n latestRequestReceivedAt: " + }, + { + "kind": "Reference", + "text": "DateString", + "canonicalReference": "iceshrimp-sdk!entities.DateString:type" + }, + { + "kind": "Content", + "text": " | null;\n lastCommunicatedAt: " + }, + { + "kind": "Reference", + "text": "DateString", + "canonicalReference": "iceshrimp-sdk!entities.DateString:type" + }, + { + "kind": "Content", + "text": ";\n isNotResponding: boolean;\n isSuspended: boolean;\n softwareName: string | null;\n softwareVersion: string | null;\n openRegistrations: boolean | null;\n name: string | null;\n description: string | null;\n maintainerName: string | null;\n maintainerEmail: string | null;\n iconUrl: string | null;\n faviconUrl: string | null;\n themeColor: string | null;\n infoUpdatedAt: " + }, + { + "kind": "Reference", + "text": "DateString", + "canonicalReference": "iceshrimp-sdk!entities.DateString:type" + }, + { + "kind": "Content", + "text": " | null;\n}" + }, + { + "kind": "Content", + "text": ";" + } + ], + "fileUrlPath": "src/entities.ts", + "releaseTag": "Public", + "name": "Instance", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 14 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "iceshrimp-sdk!entities.InstanceMetadata:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export type InstanceMetadata = " + }, + { + "kind": "Reference", + "text": "LiteInstanceMetadata", + "canonicalReference": "iceshrimp-sdk!entities.LiteInstanceMetadata:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "DetailedInstanceMetadata", + "canonicalReference": "iceshrimp-sdk!entities.DetailedInstanceMetadata:type" + }, + { + "kind": "Content", + "text": ";" + } + ], + "fileUrlPath": "src/entities.ts", + "releaseTag": "Public", + "name": "InstanceMetadata", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 4 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "iceshrimp-sdk!entities.LiteInstanceMetadata:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export type LiteInstanceMetadata = " + }, + { + "kind": "Content", + "text": "{\n maintainerName: string | null;\n maintainerEmail: string | null;\n version: string;\n name: string | null;\n uri: string;\n description: string | null;\n tosUrl: string | null;\n disableRegistration: boolean;\n disableLocalTimeline: boolean;\n disableRecommendedTimeline: boolean;\n disableGlobalTimeline: boolean;\n driveCapacityPerLocalUserMb: number;\n driveCapacityPerRemoteUserMb: number;\n enableHcaptcha: boolean;\n hcaptchaSiteKey: string | null;\n enableRecaptcha: boolean;\n recaptchaSiteKey: string | null;\n swPublickey: string | null;\n maxNoteTextLength: number;\n enableEmail: boolean;\n enableGithubIntegration: boolean;\n enableDiscordIntegration: boolean;\n searchEngine: string;\n emojis: " + }, + { + "kind": "Reference", + "text": "CustomEmoji", + "canonicalReference": "iceshrimp-sdk!entities.CustomEmoji:type" + }, + { + "kind": "Content", + "text": "[];\n images: {\n error: string;\n notFound: string;\n info: string;\n };\n}" + }, + { + "kind": "Content", + "text": ";" + } + ], + "fileUrlPath": "src/entities.ts", + "releaseTag": "Public", + "name": "LiteInstanceMetadata", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 4 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "iceshrimp-sdk!entities.MeDetailed:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export type MeDetailed = " + }, + { + "kind": "Reference", + "text": "UserDetailed", + "canonicalReference": "iceshrimp-sdk!entities.UserDetailed:type" + }, + { + "kind": "Content", + "text": " & {\n avatarId: " + }, + { + "kind": "Reference", + "text": "DriveFile", + "canonicalReference": "iceshrimp-sdk!entities.DriveFile:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n bannerId: " + }, + { + "kind": "Reference", + "text": "DriveFile", + "canonicalReference": "iceshrimp-sdk!entities.DriveFile:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n autoAcceptFollowed: boolean;\n alwaysMarkNsfw: boolean;\n carefulBot: boolean;\n emailNotificationTypes: string[];\n hasPendingReceivedFollowRequest: boolean;\n hasUnreadAnnouncement: boolean;\n hasUnreadAntenna: boolean;\n hasUnreadChannel: boolean;\n hasUnreadMentions: boolean;\n hasUnreadMessagingMessage: boolean;\n hasUnreadNotification: boolean;\n hasUnreadSpecifiedNotes: boolean;\n hideOnlineStatus: boolean;\n injectFeaturedNote: boolean;\n integrations: " + }, + { + "kind": "Reference", + "text": "Record", + "canonicalReference": "!Record:type" + }, + { + "kind": "Content", + "text": ";\n isDeleted: boolean;\n isExplorable: boolean;\n mutedWords: string[][];\n mutingNotificationTypes: string[];\n noCrawle: boolean;\n preventAiLearning: boolean;\n receiveAnnouncementEmail: boolean;\n usePasswordLessLogin: boolean;\n [other: string]: any;\n}" + }, + { + "kind": "Content", + "text": ";" + } + ], + "fileUrlPath": "src/entities.ts", + "releaseTag": "Public", + "name": "MeDetailed", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 9 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "iceshrimp-sdk!entities.MessagingMessage:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export type MessagingMessage = " + }, + { + "kind": "Content", + "text": "{\n id: " + }, + { + "kind": "Reference", + "text": "ID", + "canonicalReference": "iceshrimp-sdk!entities.ID:type" + }, + { + "kind": "Content", + "text": ";\n createdAt: " + }, + { + "kind": "Reference", + "text": "DateString", + "canonicalReference": "iceshrimp-sdk!entities.DateString:type" + }, + { + "kind": "Content", + "text": ";\n file: " + }, + { + "kind": "Reference", + "text": "DriveFile", + "canonicalReference": "iceshrimp-sdk!entities.DriveFile:type" + }, + { + "kind": "Content", + "text": " | null;\n fileId: " + }, + { + "kind": "Reference", + "text": "DriveFile", + "canonicalReference": "iceshrimp-sdk!entities.DriveFile:type" + }, + { + "kind": "Content", + "text": "[\"id\"] | null;\n isRead: boolean;\n reads: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": "[\"id\"][];\n text: string | null;\n user: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": ";\n userId: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n recipient?: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": " | null;\n recipientId: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": "[\"id\"] | null;\n group?: " + }, + { + "kind": "Reference", + "text": "UserGroup", + "canonicalReference": "iceshrimp-sdk!entities.UserGroup:type" + }, + { + "kind": "Content", + "text": " | null;\n groupId: " + }, + { + "kind": "Reference", + "text": "UserGroup", + "canonicalReference": "iceshrimp-sdk!entities.UserGroup:type" + }, + { + "kind": "Content", + "text": "[\"id\"] | null;\n}" + }, + { + "kind": "Content", + "text": ";" + } + ], + "fileUrlPath": "src/entities.ts", + "releaseTag": "Public", + "name": "MessagingMessage", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 24 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "iceshrimp-sdk!entities.Note:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export type Note = " + }, + { + "kind": "Content", + "text": "{\n id: " + }, + { + "kind": "Reference", + "text": "ID", + "canonicalReference": "iceshrimp-sdk!entities.ID:type" + }, + { + "kind": "Content", + "text": ";\n createdAt: " + }, + { + "kind": "Reference", + "text": "DateString", + "canonicalReference": "iceshrimp-sdk!entities.DateString:type" + }, + { + "kind": "Content", + "text": ";\n text: string | null;\n cw: string | null;\n user: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": ";\n userId: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n reply?: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": ";\n replyId: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n renote?: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": ";\n renoteId: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n files: " + }, + { + "kind": "Reference", + "text": "DriveFile", + "canonicalReference": "iceshrimp-sdk!entities.DriveFile:type" + }, + { + "kind": "Content", + "text": "[];\n fileIds: " + }, + { + "kind": "Reference", + "text": "DriveFile", + "canonicalReference": "iceshrimp-sdk!entities.DriveFile:type" + }, + { + "kind": "Content", + "text": "[\"id\"][];\n visibility: \"public\" | \"home\" | \"followers\" | \"specified\";\n visibleUserIds?: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": "[\"id\"][];\n localOnly?: boolean;\n channel?: " + }, + { + "kind": "Reference", + "text": "Channel", + "canonicalReference": "iceshrimp-sdk!entities.Channel:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n myReaction?: string;\n isRenoted?: boolean;\n reactions: " + }, + { + "kind": "Reference", + "text": "Record", + "canonicalReference": "!Record:type" + }, + { + "kind": "Content", + "text": ";\n renoteCount: number;\n repliesCount: number;\n poll?: {\n expiresAt: " + }, + { + "kind": "Reference", + "text": "DateString", + "canonicalReference": "iceshrimp-sdk!entities.DateString:type" + }, + { + "kind": "Content", + "text": " | null;\n multiple: boolean;\n choices: {\n isVoted: boolean;\n text: string;\n votes: number;\n }[];\n };\n emojis: {\n name: string;\n url: string;\n }[];\n uri?: string;\n url?: string;\n updatedAt?: " + }, + { + "kind": "Reference", + "text": "DateString", + "canonicalReference": "iceshrimp-sdk!entities.DateString:type" + }, + { + "kind": "Content", + "text": ";\n isHidden?: boolean;\n}" + }, + { + "kind": "Content", + "text": ";" + } + ], + "fileUrlPath": "src/entities.ts", + "releaseTag": "Public", + "name": "Note", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 32 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "iceshrimp-sdk!entities.NoteFavorite:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export type NoteFavorite = " + }, + { + "kind": "Content", + "text": "{\n id: " + }, + { + "kind": "Reference", + "text": "ID", + "canonicalReference": "iceshrimp-sdk!entities.ID:type" + }, + { + "kind": "Content", + "text": ";\n createdAt: " + }, + { + "kind": "Reference", + "text": "DateString", + "canonicalReference": "iceshrimp-sdk!entities.DateString:type" + }, + { + "kind": "Content", + "text": ";\n noteId: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n note: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": ";\n}" + }, + { + "kind": "Content", + "text": ";" + } + ], + "fileUrlPath": "src/entities.ts", + "releaseTag": "Public", + "name": "NoteFavorite", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 10 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "iceshrimp-sdk!entities.NoteReaction:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export type NoteReaction = " + }, + { + "kind": "Content", + "text": "{\n id: " + }, + { + "kind": "Reference", + "text": "ID", + "canonicalReference": "iceshrimp-sdk!entities.ID:type" + }, + { + "kind": "Content", + "text": ";\n createdAt: " + }, + { + "kind": "Reference", + "text": "DateString", + "canonicalReference": "iceshrimp-sdk!entities.DateString:type" + }, + { + "kind": "Content", + "text": ";\n user: " + }, + { + "kind": "Reference", + "text": "UserLite", + "canonicalReference": "iceshrimp-sdk!entities.UserLite:type" + }, + { + "kind": "Content", + "text": ";\n type: string;\n}" + }, + { + "kind": "Content", + "text": ";" + } + ], + "fileUrlPath": "src/entities.ts", + "releaseTag": "Public", + "name": "NoteReaction", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 8 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "iceshrimp-sdk!entities.Notification:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export type Notification = " + }, + { + "kind": "Content", + "text": "{\n id: " + }, + { + "kind": "Reference", + "text": "ID", + "canonicalReference": "iceshrimp-sdk!entities.ID:type" + }, + { + "kind": "Content", + "text": ";\n createdAt: " + }, + { + "kind": "Reference", + "text": "DateString", + "canonicalReference": "iceshrimp-sdk!entities.DateString:type" + }, + { + "kind": "Content", + "text": ";\n isRead: boolean;\n} & ({\n type: \"reaction\";\n reaction: string;\n user: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": ";\n userId: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n note: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": ";\n} | {\n type: \"reply\";\n user: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": ";\n userId: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n note: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": ";\n} | {\n type: \"renote\";\n user: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": ";\n userId: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n note: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": ";\n} | {\n type: \"quote\";\n user: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": ";\n userId: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n note: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": ";\n} | {\n type: \"mention\";\n user: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": ";\n userId: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n note: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": ";\n} | {\n type: \"pollVote\";\n user: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": ";\n userId: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n note: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": ";\n} | {\n type: \"follow\";\n user: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": ";\n userId: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n} | {\n type: \"followRequestAccepted\";\n user: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": ";\n userId: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n} | {\n type: \"receiveFollowRequest\";\n user: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": ";\n userId: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n} | {\n type: \"groupInvited\";\n invitation: " + }, + { + "kind": "Reference", + "text": "UserGroup", + "canonicalReference": "iceshrimp-sdk!entities.UserGroup:type" + }, + { + "kind": "Content", + "text": ";\n user: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": ";\n userId: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n} | {\n type: \"app\";\n header?: string | null;\n body: string;\n icon?: string | null;\n})" + }, + { + "kind": "Content", + "text": ";" + } + ], + "fileUrlPath": "src/entities.ts", + "releaseTag": "Public", + "name": "Notification", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 60 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "iceshrimp-sdk!entities.OriginType:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export type OriginType = " + }, + { + "kind": "Content", + "text": "\"combined\" | \"local\" | \"remote\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "fileUrlPath": "src/entities.ts", + "releaseTag": "Public", + "name": "OriginType", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "iceshrimp-sdk!entities.Page:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export type Page = " + }, + { + "kind": "Content", + "text": "{\n id: " + }, + { + "kind": "Reference", + "text": "ID", + "canonicalReference": "iceshrimp-sdk!entities.ID:type" + }, + { + "kind": "Content", + "text": ";\n createdAt: " + }, + { + "kind": "Reference", + "text": "DateString", + "canonicalReference": "iceshrimp-sdk!entities.DateString:type" + }, + { + "kind": "Content", + "text": ";\n updatedAt: " + }, + { + "kind": "Reference", + "text": "DateString", + "canonicalReference": "iceshrimp-sdk!entities.DateString:type" + }, + { + "kind": "Content", + "text": ";\n userId: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n user: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": ";\n content: " + }, + { + "kind": "Reference", + "text": "Record", + "canonicalReference": "!Record:type" + }, + { + "kind": "Content", + "text": "[];\n variables: " + }, + { + "kind": "Reference", + "text": "Record", + "canonicalReference": "!Record:type" + }, + { + "kind": "Content", + "text": "[];\n title: string;\n name: string;\n summary: string | null;\n hideTitleWhenPinned: boolean;\n alignCenter: boolean;\n font: string;\n script: string;\n eyeCatchingImageId: " + }, + { + "kind": "Reference", + "text": "DriveFile", + "canonicalReference": "iceshrimp-sdk!entities.DriveFile:type" + }, + { + "kind": "Content", + "text": "[\"id\"] | null;\n eyeCatchingImage: " + }, + { + "kind": "Reference", + "text": "DriveFile", + "canonicalReference": "iceshrimp-sdk!entities.DriveFile:type" + }, + { + "kind": "Content", + "text": " | null;\n attachedFiles: any;\n likedCount: number;\n isLiked?: boolean;\n}" + }, + { + "kind": "Content", + "text": ";" + } + ], + "fileUrlPath": "src/entities.ts", + "releaseTag": "Public", + "name": "Page", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 20 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "iceshrimp-sdk!entities.PageEvent:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export type PageEvent = " + }, + { + "kind": "Content", + "text": "{\n pageId: " + }, + { + "kind": "Reference", + "text": "Page", + "canonicalReference": "iceshrimp-sdk!entities.Page:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n event: string;\n var: any;\n userId: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": "[\"id\"];\n user: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": ";\n}" + }, + { + "kind": "Content", + "text": ";" + } + ], + "fileUrlPath": "src/entities.ts", + "releaseTag": "Public", + "name": "PageEvent", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 8 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "iceshrimp-sdk!entities.ServerInfo:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export type ServerInfo = " + }, + { + "kind": "Content", + "text": "{\n machine: string;\n cpu: {\n model: string;\n cores: number;\n };\n mem: {\n total: number;\n };\n fs: {\n total: number;\n used: number;\n };\n}" + }, + { + "kind": "Content", + "text": ";" + } + ], + "fileUrlPath": "src/entities.ts", + "releaseTag": "Public", + "name": "ServerInfo", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "iceshrimp-sdk!entities.Signin:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export type Signin = " + }, + { + "kind": "Content", + "text": "{\n id: " + }, + { + "kind": "Reference", + "text": "ID", + "canonicalReference": "iceshrimp-sdk!entities.ID:type" + }, + { + "kind": "Content", + "text": ";\n createdAt: " + }, + { + "kind": "Reference", + "text": "DateString", + "canonicalReference": "iceshrimp-sdk!entities.DateString:type" + }, + { + "kind": "Content", + "text": ";\n ip: string;\n headers: " + }, + { + "kind": "Reference", + "text": "Record", + "canonicalReference": "!Record:type" + }, + { + "kind": "Content", + "text": ";\n success: boolean;\n}" + }, + { + "kind": "Content", + "text": ";" + } + ], + "fileUrlPath": "src/entities.ts", + "releaseTag": "Public", + "name": "Signin", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 8 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "iceshrimp-sdk!entities.Stats:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export type Stats = " + }, + { + "kind": "Content", + "text": "{\n notesCount: number;\n originalNotesCount: number;\n usersCount: number;\n originalUsersCount: number;\n instances: number;\n driveUsageLocal: number;\n driveUsageRemote: number;\n}" + }, + { + "kind": "Content", + "text": ";" + } + ], + "fileUrlPath": "src/entities.ts", + "releaseTag": "Public", + "name": "Stats", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "iceshrimp-sdk!entities.User:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export type User = " + }, + { + "kind": "Reference", + "text": "UserLite", + "canonicalReference": "iceshrimp-sdk!entities.UserLite:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "UserDetailed", + "canonicalReference": "iceshrimp-sdk!entities.UserDetailed:type" + }, + { + "kind": "Content", + "text": ";" + } + ], + "fileUrlPath": "src/entities.ts", + "releaseTag": "Public", + "name": "User", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 4 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "iceshrimp-sdk!entities.UserDetailed:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export type UserDetailed = " + }, + { + "kind": "Reference", + "text": "UserLite", + "canonicalReference": "iceshrimp-sdk!entities.UserLite:type" + }, + { + "kind": "Content", + "text": " & {\n bannerBlurhash: string | null;\n bannerColor: string | null;\n bannerUrl: string | null;\n birthday: string | null;\n createdAt: " + }, + { + "kind": "Reference", + "text": "DateString", + "canonicalReference": "iceshrimp-sdk!entities.DateString:type" + }, + { + "kind": "Content", + "text": ";\n description: string | null;\n ffVisibility: \"public\" | \"followers\" | \"private\";\n fields: {\n name: string;\n value: string;\n verified?: boolean;\n }[];\n followersCount: number;\n followingCount: number;\n hasPendingFollowRequestFromYou: boolean;\n hasPendingFollowRequestToYou: boolean;\n isAdmin: boolean;\n isBlocked: boolean;\n isBlocking: boolean;\n isBot: boolean;\n isCat: boolean;\n isFollowed: boolean;\n isFollowing: boolean;\n isLocked: boolean;\n isModerator: boolean;\n isMuted: boolean;\n isRenoteMuted: boolean;\n isSilenced: boolean;\n isSuspended: boolean;\n lang: string | null;\n lastFetchedAt?: " + }, + { + "kind": "Reference", + "text": "DateString", + "canonicalReference": "iceshrimp-sdk!entities.DateString:type" + }, + { + "kind": "Content", + "text": ";\n location: string | null;\n notesCount: number;\n pinnedNoteIds: " + }, + { + "kind": "Reference", + "text": "ID", + "canonicalReference": "iceshrimp-sdk!entities.ID:type" + }, + { + "kind": "Content", + "text": "[];\n pinnedNotes: " + }, + { + "kind": "Reference", + "text": "Note", + "canonicalReference": "iceshrimp-sdk!entities.Note:type" + }, + { + "kind": "Content", + "text": "[];\n pinnedPage: " + }, + { + "kind": "Reference", + "text": "Page", + "canonicalReference": "iceshrimp-sdk!entities.Page:type" + }, + { + "kind": "Content", + "text": " | null;\n pinnedPageId: string | null;\n publicReactions: boolean;\n securityKeys: boolean;\n twoFactorEnabled: boolean;\n updatedAt: " + }, + { + "kind": "Reference", + "text": "DateString", + "canonicalReference": "iceshrimp-sdk!entities.DateString:type" + }, + { + "kind": "Content", + "text": " | null;\n uri: string | null;\n url: string | null;\n}" + }, + { + "kind": "Content", + "text": ";" + } + ], + "fileUrlPath": "src/entities.ts", + "releaseTag": "Public", + "name": "UserDetailed", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 15 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "iceshrimp-sdk!entities.UserGroup:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export type UserGroup = " + }, + { + "kind": "Reference", + "text": "TODO", + "canonicalReference": "iceshrimp-sdk!~TODO_2:type" + }, + { + "kind": "Content", + "text": ";" + } + ], + "fileUrlPath": "src/entities.ts", + "releaseTag": "Public", + "name": "UserGroup", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "iceshrimp-sdk!entities.UserList:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export type UserList = " + }, + { + "kind": "Content", + "text": "{\n id: " + }, + { + "kind": "Reference", + "text": "ID", + "canonicalReference": "iceshrimp-sdk!entities.ID:type" + }, + { + "kind": "Content", + "text": ";\n createdAt: " + }, + { + "kind": "Reference", + "text": "DateString", + "canonicalReference": "iceshrimp-sdk!entities.DateString:type" + }, + { + "kind": "Content", + "text": ";\n name: string;\n userIds: " + }, + { + "kind": "Reference", + "text": "User", + "canonicalReference": "iceshrimp-sdk!entities.User:type" + }, + { + "kind": "Content", + "text": "[\"id\"][];\n}" + }, + { + "kind": "Content", + "text": ";" + } + ], + "fileUrlPath": "src/entities.ts", + "releaseTag": "Public", + "name": "UserList", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 8 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "iceshrimp-sdk!entities.UserLite:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export type UserLite = " + }, + { + "kind": "Content", + "text": "{\n id: " + }, + { + "kind": "Reference", + "text": "ID", + "canonicalReference": "iceshrimp-sdk!entities.ID:type" + }, + { + "kind": "Content", + "text": ";\n username: string;\n host: string | null;\n name: string;\n onlineStatus: \"online\" | \"active\" | \"offline\" | \"unknown\";\n avatarUrl: string;\n avatarBlurhash: string;\n alsoKnownAs: string[];\n movedToUri: any;\n emojis: {\n name: string;\n url: string;\n }[];\n instance?: {\n name: " + }, + { + "kind": "Reference", + "text": "Instance", + "canonicalReference": "iceshrimp-sdk!entities.Instance:type" + }, + { + "kind": "Content", + "text": "[\"name\"];\n softwareName: " + }, + { + "kind": "Reference", + "text": "Instance", + "canonicalReference": "iceshrimp-sdk!entities.Instance:type" + }, + { + "kind": "Content", + "text": "[\"softwareName\"];\n softwareVersion: " + }, + { + "kind": "Reference", + "text": "Instance", + "canonicalReference": "iceshrimp-sdk!entities.Instance:type" + }, + { + "kind": "Content", + "text": "[\"softwareVersion\"];\n iconUrl: " + }, + { + "kind": "Reference", + "text": "Instance", + "canonicalReference": "iceshrimp-sdk!entities.Instance:type" + }, + { + "kind": "Content", + "text": "[\"iconUrl\"];\n faviconUrl: " + }, + { + "kind": "Reference", + "text": "Instance", + "canonicalReference": "iceshrimp-sdk!entities.Instance:type" + }, + { + "kind": "Content", + "text": "[\"faviconUrl\"];\n themeColor: " + }, + { + "kind": "Reference", + "text": "Instance", + "canonicalReference": "iceshrimp-sdk!entities.Instance:type" + }, + { + "kind": "Content", + "text": "[\"themeColor\"];\n };\n}" + }, + { + "kind": "Content", + "text": ";" + } + ], + "fileUrlPath": "src/entities.ts", + "releaseTag": "Public", + "name": "UserLite", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 16 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "iceshrimp-sdk!entities.UserSorting:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export type UserSorting = " + }, + { + "kind": "Content", + "text": "\"+follower\" | \"-follower\" | \"+createdAt\" | \"-createdAt\" | \"+updatedAt\" | \"-updatedAt\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "fileUrlPath": "src/entities.ts", + "releaseTag": "Public", + "name": "UserSorting", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ] + }, + { + "kind": "Variable", + "canonicalReference": "iceshrimp-sdk!ffVisibility:var", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "ffVisibility: " + }, + { + "kind": "Content", + "text": "readonly [\"public\", \"followers\", \"private\"]" + } + ], + "fileUrlPath": "src/index.ts", + "isReadonly": true, + "releaseTag": "Public", + "name": "ffVisibility", + "variableTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "Variable", + "canonicalReference": "iceshrimp-sdk!noteVisibilities:var", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "noteVisibilities: " + }, + { + "kind": "Content", + "text": "readonly [\"public\", \"home\", \"followers\", \"specified\"]" + } + ], + "fileUrlPath": "src/index.ts", + "isReadonly": true, + "releaseTag": "Public", + "name": "noteVisibilities", + "variableTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "Variable", + "canonicalReference": "iceshrimp-sdk!notificationTypes:var", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "notificationTypes: " + }, + { + "kind": "Content", + "text": "readonly [\"follow\", \"mention\", \"reply\", \"renote\", \"quote\", \"reaction\", \"pollVote\", \"pollEnded\", \"receiveFollowRequest\", \"followRequestAccepted\", \"groupInvited\", \"app\"]" + } + ], + "fileUrlPath": "src/index.ts", + "isReadonly": true, + "releaseTag": "Public", + "name": "notificationTypes", + "variableTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "Variable", + "canonicalReference": "iceshrimp-sdk!permissions:var", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "permissions: " + }, + { + "kind": "Content", + "text": "string[]" + } + ], + "fileUrlPath": "src/index.ts", + "isReadonly": true, + "releaseTag": "Public", + "name": "permissions", + "variableTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "Class", + "canonicalReference": "iceshrimp-sdk!Stream:class", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export default class Stream extends " + }, + { + "kind": "Reference", + "text": "EventEmitter", + "canonicalReference": "eventemitter3!EventEmitter.EventEmitter" + }, + { + "kind": "Content", + "text": "<" + }, + { + "kind": "Reference", + "text": "StreamEvents", + "canonicalReference": "iceshrimp-sdk!~StreamEvents:type" + }, + { + "kind": "Content", + "text": ">" + }, + { + "kind": "Content", + "text": " " + } + ], + "fileUrlPath": "src/streaming.ts", + "releaseTag": "Public", + "isAbstract": false, + "name": "Stream", + "preserveMemberOrder": false, + "members": [ + { + "kind": "Constructor", + "canonicalReference": "iceshrimp-sdk!Stream:constructor(1)", + "docComment": "/**\n * Constructs a new instance of the `Stream` class\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "constructor(origin: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ", user: " + }, + { + "kind": "Content", + "text": "{\n token: string;\n } | null" + }, + { + "kind": "Content", + "text": ", options?: " + }, + { + "kind": "Content", + "text": "{\n WebSocket?: any;\n }" + }, + { + "kind": "Content", + "text": ");" + } + ], + "releaseTag": "Public", + "isProtected": false, + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "origin", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "isOptional": false + }, + { + "parameterName": "user", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "isOptional": false + }, + { + "parameterName": "options", + "parameterTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "isOptional": true + } + ] + }, + { + "kind": "Method", + "canonicalReference": "iceshrimp-sdk!Stream#close:member(1)", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "close(): " + }, + { + "kind": "Content", + "text": "void" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isStatic": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "isProtected": false, + "overloadIndex": 1, + "parameters": [], + "isOptional": false, + "isAbstract": false, + "name": "close" + }, + { + "kind": "Method", + "canonicalReference": "iceshrimp-sdk!Stream#disconnectToChannel:member(1)", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "disconnectToChannel(connection: " + }, + { + "kind": "Reference", + "text": "NonSharedConnection", + "canonicalReference": "iceshrimp-sdk!~NonSharedConnection:class" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "void" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isStatic": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "isProtected": false, + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "connection", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "isOptional": false + } + ], + "isOptional": false, + "isAbstract": false, + "name": "disconnectToChannel" + }, + { + "kind": "Method", + "canonicalReference": "iceshrimp-sdk!Stream#removeSharedConnection:member(1)", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "removeSharedConnection(connection: " + }, + { + "kind": "Reference", + "text": "SharedConnection", + "canonicalReference": "iceshrimp-sdk!~SharedConnection:class" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "void" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isStatic": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "isProtected": false, + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "connection", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "isOptional": false + } + ], + "isOptional": false, + "isAbstract": false, + "name": "removeSharedConnection" + }, + { + "kind": "Method", + "canonicalReference": "iceshrimp-sdk!Stream#removeSharedConnectionPool:member(1)", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "removeSharedConnectionPool(pool: " + }, + { + "kind": "Reference", + "text": "Pool", + "canonicalReference": "iceshrimp-sdk!~Pool:class" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "void" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isStatic": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "isProtected": false, + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "pool", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "isOptional": false + } + ], + "isOptional": false, + "isAbstract": false, + "name": "removeSharedConnectionPool" + }, + { + "kind": "Method", + "canonicalReference": "iceshrimp-sdk!Stream#send:member(1)", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "send(typeOrPayload: " + }, + { + "kind": "Content", + "text": "any" + }, + { + "kind": "Content", + "text": ", payload?: " + }, + { + "kind": "Content", + "text": "any" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "void" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isStatic": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "isProtected": false, + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "typeOrPayload", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "isOptional": false + }, + { + "parameterName": "payload", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "isOptional": true + } + ], + "isOptional": false, + "isAbstract": false, + "name": "send" + }, + { + "kind": "Property", + "canonicalReference": "iceshrimp-sdk!Stream#state:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "state: " + }, + { + "kind": "Content", + "text": "\"initializing\" | \"reconnecting\" | \"connected\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "state", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "isStatic": false, + "isProtected": false, + "isAbstract": false + }, + { + "kind": "Method", + "canonicalReference": "iceshrimp-sdk!Stream#useChannel:member(1)", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "useChannel(channel: " + }, + { + "kind": "Content", + "text": "C" + }, + { + "kind": "Content", + "text": ", params?: " + }, + { + "kind": "Reference", + "text": "Channels", + "canonicalReference": "iceshrimp-sdk!Channels:type" + }, + { + "kind": "Content", + "text": "[C][\"params\"]" + }, + { + "kind": "Content", + "text": ", name?: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "Connection", + "canonicalReference": "iceshrimp-sdk!ChannelConnection:class" + }, + { + "kind": "Content", + "text": "<" + }, + { + "kind": "Reference", + "text": "Channels", + "canonicalReference": "iceshrimp-sdk!Channels:type" + }, + { + "kind": "Content", + "text": "[C]>" + }, + { + "kind": "Content", + "text": ";" + } + ], + "typeParameters": [ + { + "typeParameterName": "C", + "constraintTokenRange": { + "startIndex": 1, + "endIndex": 3 + }, + "defaultTypeTokenRange": { + "startIndex": 0, + "endIndex": 0 + } + } + ], + "isStatic": false, + "returnTypeTokenRange": { + "startIndex": 11, + "endIndex": 15 + }, + "releaseTag": "Public", + "isProtected": false, + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "channel", + "parameterTypeTokenRange": { + "startIndex": 4, + "endIndex": 5 + }, + "isOptional": false + }, + { + "parameterName": "params", + "parameterTypeTokenRange": { + "startIndex": 6, + "endIndex": 8 + }, + "isOptional": true + }, + { + "parameterName": "name", + "parameterTypeTokenRange": { + "startIndex": 9, + "endIndex": 10 + }, + "isOptional": true + } + ], + "isOptional": false, + "isAbstract": false, + "name": "useChannel" + } + ], + "extendsTokenRange": { + "startIndex": 1, + "endIndex": 5 + }, + "implementsTokenRanges": [] + } + ] + } + ] +} diff --git a/packages/iceshrimp-js/etc/misskey-js.api.md b/packages/iceshrimp-sdk/etc/iceshrimp-sdk.api.md similarity index 66% rename from packages/iceshrimp-js/etc/misskey-js.api.md rename to packages/iceshrimp-sdk/etc/iceshrimp-sdk.api.md index 0304a707d..e56023a15 100644 --- a/packages/iceshrimp-js/etc/misskey-js.api.md +++ b/packages/iceshrimp-sdk/etc/iceshrimp-sdk.api.md @@ -1,2680 +1,2692 @@ -## API Report File for "misskey-js" - -> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). - -```ts - -import { EventEmitter } from 'eventemitter3'; - -// @public (undocumented) -export type Acct = { - username: string; - host: string | null; -}; - -// Warning: (ae-forgotten-export) The symbol "TODO" needs to be exported by the entry point index.d.ts -// -// @public (undocumented) -type Ad = TODO_2; - -// @public (undocumented) -type Announcement = { - id: ID; - createdAt: DateString; - updatedAt: DateString | null; - text: string; - title: string; - imageUrl: string | null; - isRead?: boolean; -}; - -// @public (undocumented) -type Antenna = { - id: ID; - createdAt: DateString; - name: string; - keywords: string[][]; - excludeKeywords: string[][]; - src: 'home' | 'all' | 'users' | 'list' | 'group'; - userListId: ID | null; - userGroupId: ID | null; - users: string[]; - caseSensitive: boolean; - notify: boolean; - withReplies: boolean; - withFile: boolean; - hasUnreadNote: boolean; -}; - -declare namespace api { - export { - isAPIError, - APIError, - FetchLike, - APIClient - } -} -export { api } - -// @public (undocumented) -class APIClient { - constructor(opts: { - origin: APIClient['origin']; - credential?: APIClient['credential']; - fetch?: APIClient['fetch'] | null | undefined; - }); - // (undocumented) - credential: string | null | undefined; - // (undocumented) - fetch: FetchLike; - // (undocumented) - origin: string; - // Warning: (ae-forgotten-export) The symbol "IsCaseMatched" needs to be exported by the entry point index.d.ts - // Warning: (ae-forgotten-export) The symbol "GetCaseResult" needs to be exported by the entry point index.d.ts - // - // (undocumented) - request(endpoint: E, params?: P, credential?: string | null | undefined): Promise extends true ? GetCaseResult : IsCaseMatched extends true ? GetCaseResult : IsCaseMatched extends true ? GetCaseResult : IsCaseMatched extends true ? GetCaseResult : IsCaseMatched extends true ? GetCaseResult : IsCaseMatched extends true ? GetCaseResult : IsCaseMatched extends true ? GetCaseResult : IsCaseMatched extends true ? GetCaseResult : IsCaseMatched extends true ? GetCaseResult : IsCaseMatched extends true ? GetCaseResult : Endpoints[E]['res']['$switch']['$default'] : Endpoints[E]['res']>; -} - -// @public (undocumented) -type APIError = { - id: string; - code: string; - message: string; - kind: 'client' | 'server'; - info: Record; -}; - -// @public (undocumented) -type App = TODO_2; - -// @public (undocumented) -type AuthSession = { - id: ID; - app: App; - token: string; -}; - -// @public (undocumented) -type Blocking = { - id: ID; - createdAt: DateString; - blockeeId: User['id']; - blockee: UserDetailed; -}; - -// @public (undocumented) -type Channel = { - id: ID; -}; - -// Warning: (ae-forgotten-export) The symbol "AnyOf" needs to be exported by the entry point index.d.ts -// -// @public (undocumented) -export abstract class ChannelConnection = any> extends EventEmitter { - constructor(stream: Stream, channel: string, name?: string); - // (undocumented) - channel: string; - // (undocumented) - abstract dispose(): void; - // (undocumented) - abstract id: string; - // (undocumented) - inCount: number; - // (undocumented) - name?: string; - // (undocumented) - outCount: number; - // (undocumented) - send(type: T, body: Channel['receives'][T]): void; - // (undocumented) - protected stream: Stream; -} - -// @public (undocumented) -export type Channels = { - main: { - params: null; - events: { - notification: (payload: Notification_2) => void; - mention: (payload: Note) => void; - reply: (payload: Note) => void; - renote: (payload: Note) => void; - follow: (payload: User) => void; - followed: (payload: User) => void; - unfollow: (payload: User) => void; - meUpdated: (payload: MeDetailed) => void; - pageEvent: (payload: PageEvent) => void; - urlUploadFinished: (payload: { - marker: string; - file: DriveFile; - }) => void; - readAllNotifications: () => void; - unreadNotification: (payload: Notification_2) => void; - unreadMention: (payload: Note['id']) => void; - readAllUnreadMentions: () => void; - unreadSpecifiedNote: (payload: Note['id']) => void; - readAllUnreadSpecifiedNotes: () => void; - readAllMessagingMessages: () => void; - messagingMessage: (payload: MessagingMessage) => void; - unreadMessagingMessage: (payload: MessagingMessage) => void; - readAllAntennas: () => void; - unreadAntenna: (payload: Antenna) => void; - readAllAnnouncements: () => void; - readAllChannels: () => void; - unreadChannel: (payload: Note['id']) => void; - myTokenRegenerated: () => void; - reversiNoInvites: () => void; - reversiInvited: (payload: FIXME) => void; - signin: (payload: FIXME) => void; - registryUpdated: (payload: { - scope?: string[]; - key: string; - value: any | null; - }) => void; - driveFileCreated: (payload: DriveFile) => void; - readAntenna: (payload: Antenna) => void; - }; - receives: null; - }; - homeTimeline: { - params: null; - events: { - note: (payload: Note) => void; - }; - receives: null; - }; - localTimeline: { - params: null; - events: { - note: (payload: Note) => void; - }; - receives: null; - }; - hybridTimeline: { - params: null; - events: { - note: (payload: Note) => void; - }; - receives: null; - }; - recommendedTimeline: { - params: null; - events: { - note: (payload: Note) => void; - }; - receives: null; - }; - globalTimeline: { - params: null; - events: { - note: (payload: Note) => void; - }; - receives: null; - }; - messaging: { - params: { - otherparty?: User['id'] | null; - group?: UserGroup['id'] | null; - }; - events: { - message: (payload: MessagingMessage) => void; - deleted: (payload: MessagingMessage['id']) => void; - read: (payload: MessagingMessage['id'][]) => void; - typers: (payload: User[]) => void; - }; - receives: { - read: { - id: MessagingMessage['id']; - }; - }; - }; - serverStats: { - params: null; - events: { - stats: (payload: FIXME) => void; - }; - receives: { - requestLog: { - id: string | number; - length: number; - }; - }; - }; - queueStats: { - params: null; - events: { - stats: (payload: FIXME) => void; - }; - receives: { - requestLog: { - id: string | number; - length: number; - }; - }; - }; -}; - -// @public (undocumented) -type Clip = TODO_2; - -// @public (undocumented) -type CustomEmoji = { - id: string; - name: string; - url: string; - category: string; - aliases: string[]; -}; - -// @public (undocumented) -type DateString = string; - -// @public (undocumented) -type DetailedInstanceMetadata = LiteInstanceMetadata & { - features: Record; -}; - -// @public (undocumented) -type DriveFile = { - id: ID; - createdAt: DateString; - isSensitive: boolean; - name: string; - thumbnailUrl: string; - url: string; - type: string; - size: number; - md5: string; - blurhash: string; - properties: Record; -}; - -// @public (undocumented) -type DriveFolder = TODO_2; - -// @public (undocumented) -export type Endpoints = { - 'admin/abuse-user-reports': { - req: TODO; - res: TODO; - }; - 'admin/delete-all-files-of-a-user': { - req: { - userId: User['id']; - }; - res: null; - }; - 'admin/delete-logs': { - req: NoParams; - res: null; - }; - 'admin/get-index-stats': { - req: TODO; - res: TODO; - }; - 'admin/get-table-stats': { - req: TODO; - res: TODO; - }; - 'admin/invite': { - req: TODO; - res: TODO; - }; - 'admin/logs': { - req: TODO; - res: TODO; - }; - 'admin/reset-password': { - req: TODO; - res: TODO; - }; - 'admin/resolve-abuse-user-report': { - req: TODO; - res: TODO; - }; - 'admin/resync-chart': { - req: TODO; - res: TODO; - }; - 'admin/send-email': { - req: TODO; - res: TODO; - }; - 'admin/server-info': { - req: TODO; - res: TODO; - }; - 'admin/show-moderation-logs': { - req: TODO; - res: TODO; - }; - 'admin/show-user': { - req: TODO; - res: TODO; - }; - 'admin/show-users': { - req: TODO; - res: TODO; - }; - 'admin/silence-user': { - req: TODO; - res: TODO; - }; - 'admin/suspend-user': { - req: TODO; - res: TODO; - }; - 'admin/unsilence-user': { - req: TODO; - res: TODO; - }; - 'admin/unsuspend-user': { - req: TODO; - res: TODO; - }; - 'admin/update-meta': { - req: TODO; - res: TODO; - }; - 'admin/vacuum': { - req: TODO; - res: TODO; - }; - 'admin/accounts/create': { - req: TODO; - res: TODO; - }; - 'admin/ad/create': { - req: TODO; - res: TODO; - }; - 'admin/ad/delete': { - req: { - id: Ad['id']; - }; - res: null; - }; - 'admin/ad/list': { - req: TODO; - res: TODO; - }; - 'admin/ad/update': { - req: TODO; - res: TODO; - }; - 'admin/announcements/create': { - req: TODO; - res: TODO; - }; - 'admin/announcements/delete': { - req: { - id: Announcement['id']; - }; - res: null; - }; - 'admin/announcements/list': { - req: TODO; - res: TODO; - }; - 'admin/announcements/update': { - req: TODO; - res: TODO; - }; - 'admin/drive/clean-remote-files': { - req: TODO; - res: TODO; - }; - 'admin/drive/cleanup': { - req: TODO; - res: TODO; - }; - 'admin/drive/files': { - req: TODO; - res: TODO; - }; - 'admin/drive/show-file': { - req: TODO; - res: TODO; - }; - 'admin/emoji/add': { - req: TODO; - res: TODO; - }; - 'admin/emoji/copy': { - req: TODO; - res: TODO; - }; - 'admin/emoji/list-remote': { - req: TODO; - res: TODO; - }; - 'admin/emoji/list': { - req: TODO; - res: TODO; - }; - 'admin/emoji/remove': { - req: TODO; - res: TODO; - }; - 'admin/emoji/update': { - req: TODO; - res: TODO; - }; - 'admin/federation/delete-all-files': { - req: { - host: string; - }; - res: null; - }; - 'admin/federation/refresh-remote-instance-metadata': { - req: TODO; - res: TODO; - }; - 'admin/federation/remove-all-following': { - req: TODO; - res: TODO; - }; - 'admin/federation/update-instance': { - req: TODO; - res: TODO; - }; - 'admin/moderators/add': { - req: TODO; - res: TODO; - }; - 'admin/moderators/remove': { - req: TODO; - res: TODO; - }; - 'admin/promo/create': { - req: TODO; - res: TODO; - }; - 'admin/queue/clear': { - req: TODO; - res: TODO; - }; - 'admin/queue/deliver-delayed': { - req: TODO; - res: TODO; - }; - 'admin/queue/inbox-delayed': { - req: TODO; - res: TODO; - }; - 'admin/queue/jobs': { - req: TODO; - res: TODO; - }; - 'admin/queue/stats': { - req: TODO; - res: TODO; - }; - 'admin/relays/add': { - req: TODO; - res: TODO; - }; - 'admin/relays/list': { - req: TODO; - res: TODO; - }; - 'admin/relays/remove': { - req: TODO; - res: TODO; - }; - 'announcements': { - req: { - limit?: number; - withUnreads?: boolean; - sinceId?: Announcement['id']; - untilId?: Announcement['id']; - }; - res: Announcement[]; - }; - 'antennas/create': { - req: TODO; - res: Antenna; - }; - 'antennas/delete': { - req: { - antennaId: Antenna['id']; - }; - res: null; - }; - 'antennas/list': { - req: NoParams; - res: Antenna[]; - }; - 'antennas/notes': { - req: { - antennaId: Antenna['id']; - limit?: number; - sinceId?: Note['id']; - untilId?: Note['id']; - }; - res: Note[]; - }; - 'antennas/show': { - req: { - antennaId: Antenna['id']; - }; - res: Antenna; - }; - 'antennas/update': { - req: TODO; - res: Antenna; - }; - 'ap/get': { - req: { - uri: string; - }; - res: Record; - }; - 'ap/show': { - req: { - uri: string; - }; - res: { - type: 'Note'; - object: Note; - } | { - type: 'User'; - object: UserDetailed; - }; - }; - 'app/create': { - req: TODO; - res: App; - }; - 'app/show': { - req: { - appId: App['id']; - }; - res: App; - }; - 'auth/accept': { - req: { - token: string; - }; - res: null; - }; - 'auth/session/generate': { - req: { - appSecret: string; - }; - res: { - token: string; - url: string; - }; - }; - 'auth/session/show': { - req: { - token: string; - }; - res: AuthSession; - }; - 'auth/session/userkey': { - req: { - appSecret: string; - token: string; - }; - res: { - accessToken: string; - user: User; - }; - }; - 'blocking/create': { - req: { - userId: User['id']; - }; - res: UserDetailed; - }; - 'blocking/delete': { - req: { - userId: User['id']; - }; - res: UserDetailed; - }; - 'blocking/list': { - req: { - limit?: number; - sinceId?: Blocking['id']; - untilId?: Blocking['id']; - }; - res: Blocking[]; - }; - 'channels/create': { - req: TODO; - res: TODO; - }; - 'channels/featured': { - req: TODO; - res: TODO; - }; - 'channels/follow': { - req: TODO; - res: TODO; - }; - 'channels/followed': { - req: TODO; - res: TODO; - }; - 'channels/owned': { - req: TODO; - res: TODO; - }; - 'channels/pin-note': { - req: TODO; - res: TODO; - }; - 'channels/show': { - req: TODO; - res: TODO; - }; - 'channels/timeline': { - req: TODO; - res: TODO; - }; - 'channels/unfollow': { - req: TODO; - res: TODO; - }; - 'channels/update': { - req: TODO; - res: TODO; - }; - 'charts/active-users': { - req: { - span: 'day' | 'hour'; - limit?: number; - offset?: number | null; - }; - res: { - local: { - users: number[]; - }; - remote: { - users: number[]; - }; - }; - }; - 'charts/drive': { - req: { - span: 'day' | 'hour'; - limit?: number; - offset?: number | null; - }; - res: { - local: { - decCount: number[]; - decSize: number[]; - incCount: number[]; - incSize: number[]; - totalCount: number[]; - totalSize: number[]; - }; - remote: { - decCount: number[]; - decSize: number[]; - incCount: number[]; - incSize: number[]; - totalCount: number[]; - totalSize: number[]; - }; - }; - }; - 'charts/federation': { - req: { - span: 'day' | 'hour'; - limit?: number; - offset?: number | null; - }; - res: { - instance: { - dec: number[]; - inc: number[]; - total: number[]; - }; - }; - }; - 'charts/hashtag': { - req: { - span: 'day' | 'hour'; - limit?: number; - offset?: number | null; - }; - res: TODO; - }; - 'charts/instance': { - req: { - span: 'day' | 'hour'; - limit?: number; - offset?: number | null; - host: string; - }; - res: { - drive: { - decFiles: number[]; - decUsage: number[]; - incFiles: number[]; - incUsage: number[]; - totalFiles: number[]; - totalUsage: number[]; - }; - followers: { - dec: number[]; - inc: number[]; - total: number[]; - }; - following: { - dec: number[]; - inc: number[]; - total: number[]; - }; - notes: { - dec: number[]; - inc: number[]; - total: number[]; - diffs: { - normal: number[]; - renote: number[]; - reply: number[]; - }; - }; - requests: { - failed: number[]; - received: number[]; - succeeded: number[]; - }; - users: { - dec: number[]; - inc: number[]; - total: number[]; - }; - }; - }; - 'charts/network': { - req: { - span: 'day' | 'hour'; - limit?: number; - offset?: number | null; - }; - res: TODO; - }; - 'charts/notes': { - req: { - span: 'day' | 'hour'; - limit?: number; - offset?: number | null; - }; - res: { - local: { - dec: number[]; - inc: number[]; - total: number[]; - diffs: { - normal: number[]; - renote: number[]; - reply: number[]; - }; - }; - remote: { - dec: number[]; - inc: number[]; - total: number[]; - diffs: { - normal: number[]; - renote: number[]; - reply: number[]; - }; - }; - }; - }; - 'charts/user/drive': { - req: { - span: 'day' | 'hour'; - limit?: number; - offset?: number | null; - userId: User['id']; - }; - res: { - decCount: number[]; - decSize: number[]; - incCount: number[]; - incSize: number[]; - totalCount: number[]; - totalSize: number[]; - }; - }; - 'charts/user/following': { - req: { - span: 'day' | 'hour'; - limit?: number; - offset?: number | null; - userId: User['id']; - }; - res: TODO; - }; - 'charts/user/notes': { - req: { - span: 'day' | 'hour'; - limit?: number; - offset?: number | null; - userId: User['id']; - }; - res: { - dec: number[]; - inc: number[]; - total: number[]; - diffs: { - normal: number[]; - renote: number[]; - reply: number[]; - }; - }; - }; - 'charts/user/reactions': { - req: { - span: 'day' | 'hour'; - limit?: number; - offset?: number | null; - userId: User['id']; - }; - res: TODO; - }; - 'charts/users': { - req: { - span: 'day' | 'hour'; - limit?: number; - offset?: number | null; - }; - res: { - local: { - dec: number[]; - inc: number[]; - total: number[]; - }; - remote: { - dec: number[]; - inc: number[]; - total: number[]; - }; - }; - }; - 'clips/add-note': { - req: TODO; - res: TODO; - }; - 'clips/create': { - req: TODO; - res: TODO; - }; - 'clips/delete': { - req: { - clipId: Clip['id']; - }; - res: null; - }; - 'clips/list': { - req: TODO; - res: TODO; - }; - 'clips/notes': { - req: TODO; - res: TODO; - }; - 'clips/show': { - req: TODO; - res: TODO; - }; - 'clips/update': { - req: TODO; - res: TODO; - }; - 'drive': { - req: NoParams; - res: { - capacity: number; - usage: number; - }; - }; - 'drive/files': { - req: { - folderId?: DriveFolder['id'] | null; - type?: DriveFile['type'] | null; - limit?: number; - sinceId?: DriveFile['id']; - untilId?: DriveFile['id']; - }; - res: DriveFile[]; - }; - 'drive/files/attached-notes': { - req: TODO; - res: TODO; - }; - 'drive/files/check-existence': { - req: TODO; - res: TODO; - }; - 'drive/files/create': { - req: TODO; - res: TODO; - }; - 'drive/files/delete': { - req: { - fileId: DriveFile['id']; - }; - res: null; - }; - 'drive/files/find-by-hash': { - req: TODO; - res: TODO; - }; - 'drive/files/find': { - req: { - name: string; - folderId?: DriveFolder['id'] | null; - }; - res: DriveFile[]; - }; - 'drive/files/show': { - req: { - fileId?: DriveFile['id']; - url?: string; - }; - res: DriveFile; - }; - 'drive/files/update': { - req: { - fileId: DriveFile['id']; - folderId?: DriveFolder['id'] | null; - name?: string; - isSensitive?: boolean; - comment?: string | null; - }; - res: DriveFile; - }; - 'drive/files/upload-from-url': { - req: { - url: string; - folderId?: DriveFolder['id'] | null; - isSensitive?: boolean; - comment?: string | null; - marker?: string | null; - force?: boolean; - }; - res: null; - }; - 'drive/folders': { - req: { - folderId?: DriveFolder['id'] | null; - limit?: number; - sinceId?: DriveFile['id']; - untilId?: DriveFile['id']; - }; - res: DriveFolder[]; - }; - 'drive/folders/create': { - req: { - name?: string; - parentId?: DriveFolder['id'] | null; - }; - res: DriveFolder; - }; - 'drive/folders/delete': { - req: { - folderId: DriveFolder['id']; - }; - res: null; - }; - 'drive/folders/find': { - req: { - name: string; - parentId?: DriveFolder['id'] | null; - }; - res: DriveFolder[]; - }; - 'drive/folders/show': { - req: { - folderId: DriveFolder['id']; - }; - res: DriveFolder; - }; - 'drive/folders/update': { - req: { - folderId: DriveFolder['id']; - name?: string; - parentId?: DriveFolder['id'] | null; - }; - res: DriveFolder; - }; - 'drive/stream': { - req: { - type?: DriveFile['type'] | null; - limit?: number; - sinceId?: DriveFile['id']; - untilId?: DriveFile['id']; - }; - res: DriveFile[]; - }; - 'endpoint': { - req: { - endpoint: string; - }; - res: { - params: { - name: string; - type: string; - }[]; - }; - }; - 'endpoints': { - req: NoParams; - res: string[]; - }; - 'federation/dns': { - req: { - host: string; - }; - res: { - a: string[]; - aaaa: string[]; - cname: string[]; - txt: string[]; - }; - }; - 'federation/followers': { - req: { - host: string; - limit?: number; - sinceId?: Following['id']; - untilId?: Following['id']; - }; - res: FollowingFolloweePopulated[]; - }; - 'federation/following': { - req: { - host: string; - limit?: number; - sinceId?: Following['id']; - untilId?: Following['id']; - }; - res: FollowingFolloweePopulated[]; - }; - 'federation/instances': { - req: { - host?: string | null; - blocked?: boolean | null; - notResponding?: boolean | null; - suspended?: boolean | null; - federating?: boolean | null; - subscribing?: boolean | null; - publishing?: boolean | null; - limit?: number; - offset?: number; - sort?: '+pubSub' | '-pubSub' | '+notes' | '-notes' | '+users' | '-users' | '+following' | '-following' | '+followers' | '-followers' | '+caughtAt' | '-caughtAt' | '+lastCommunicatedAt' | '-lastCommunicatedAt' | '+driveUsage' | '-driveUsage' | '+driveFiles' | '-driveFiles'; - }; - res: Instance[]; - }; - 'federation/show-instance': { - req: { - host: string; - }; - res: Instance; - }; - 'federation/update-remote-user': { - req: { - userId: User['id']; - }; - res: null; - }; - 'federation/users': { - req: { - host: string; - limit?: number; - sinceId?: User['id']; - untilId?: User['id']; - }; - res: UserDetailed[]; - }; - 'following/create': { - req: { - userId: User['id']; - }; - res: User; - }; - 'following/delete': { - req: { - userId: User['id']; - }; - res: User; - }; - 'following/requests/accept': { - req: { - userId: User['id']; - }; - res: null; - }; - 'following/requests/cancel': { - req: { - userId: User['id']; - }; - res: User; - }; - 'following/requests/list': { - req: NoParams; - res: FollowRequest[]; - }; - 'following/requests/reject': { - req: { - userId: User['id']; - }; - res: null; - }; - 'gallery/featured': { - req: TODO; - res: TODO; - }; - 'gallery/popular': { - req: TODO; - res: TODO; - }; - 'gallery/posts': { - req: TODO; - res: TODO; - }; - 'gallery/posts/create': { - req: TODO; - res: TODO; - }; - 'gallery/posts/delete': { - req: { - postId: GalleryPost['id']; - }; - res: null; - }; - 'gallery/posts/like': { - req: TODO; - res: TODO; - }; - 'gallery/posts/show': { - req: TODO; - res: TODO; - }; - 'gallery/posts/unlike': { - req: TODO; - res: TODO; - }; - 'gallery/posts/update': { - req: TODO; - res: TODO; - }; - 'games/reversi/games': { - req: TODO; - res: TODO; - }; - 'games/reversi/games/show': { - req: TODO; - res: TODO; - }; - 'games/reversi/games/surrender': { - req: TODO; - res: TODO; - }; - 'games/reversi/invitations': { - req: TODO; - res: TODO; - }; - 'games/reversi/match': { - req: TODO; - res: TODO; - }; - 'games/reversi/match/cancel': { - req: TODO; - res: TODO; - }; - 'get-online-users-count': { - req: NoParams; - res: { - count: number; - }; - }; - 'hashtags/list': { - req: TODO; - res: TODO; - }; - 'hashtags/search': { - req: TODO; - res: TODO; - }; - 'hashtags/show': { - req: TODO; - res: TODO; - }; - 'hashtags/trend': { - req: TODO; - res: TODO; - }; - 'hashtags/users': { - req: TODO; - res: TODO; - }; - 'i': { - req: NoParams; - res: User; - }; - 'i/apps': { - req: TODO; - res: TODO; - }; - 'i/authorized-apps': { - req: TODO; - res: TODO; - }; - 'i/change-password': { - req: TODO; - res: TODO; - }; - 'i/delete-account': { - req: { - password: string; - }; - res: null; - }; - 'i/export-blocking': { - req: TODO; - res: TODO; - }; - 'i/export-following': { - req: TODO; - res: TODO; - }; - 'i/export-mute': { - req: TODO; - res: TODO; - }; - 'i/export-notes': { - req: TODO; - res: TODO; - }; - 'i/export-user-lists': { - req: TODO; - res: TODO; - }; - 'i/favorites': { - req: { - limit?: number; - sinceId?: NoteFavorite['id']; - untilId?: NoteFavorite['id']; - }; - res: NoteFavorite[]; - }; - 'i/gallery/likes': { - req: TODO; - res: TODO; - }; - 'i/gallery/posts': { - req: TODO; - res: TODO; - }; - 'i/get-word-muted-notes-count': { - req: TODO; - res: TODO; - }; - 'i/import-following': { - req: TODO; - res: TODO; - }; - 'i/import-user-lists': { - req: TODO; - res: TODO; - }; - 'i/notifications': { - req: { - limit?: number; - sinceId?: Notification_2['id']; - untilId?: Notification_2['id']; - following?: boolean; - markAsRead?: boolean; - includeTypes?: Notification_2['type'][]; - excludeTypes?: Notification_2['type'][]; - }; - res: Notification_2[]; - }; - 'i/page-likes': { - req: TODO; - res: TODO; - }; - 'i/pages': { - req: TODO; - res: TODO; - }; - 'i/pin': { - req: { - noteId: Note['id']; - }; - res: MeDetailed; - }; - 'i/read-all-messaging-messages': { - req: TODO; - res: TODO; - }; - 'i/read-all-unread-notes': { - req: TODO; - res: TODO; - }; - 'i/read-announcement': { - req: TODO; - res: TODO; - }; - 'i/regenerate-token': { - req: { - password: string; - }; - res: null; - }; - 'i/registry/get-all': { - req: { - scope?: string[]; - }; - res: Record; - }; - 'i/registry/get-detail': { - req: { - key: string; - scope?: string[]; - }; - res: { - updatedAt: DateString; - value: any; - }; - }; - 'i/registry/get': { - req: { - key: string; - scope?: string[]; - }; - res: any; - }; - 'i/registry/keys-with-type': { - req: { - scope?: string[]; - }; - res: Record; - }; - 'i/registry/keys': { - req: { - scope?: string[]; - }; - res: string[]; - }; - 'i/registry/remove': { - req: { - key: string; - scope?: string[]; - }; - res: null; - }; - 'i/registry/scopes': { - req: NoParams; - res: string[][]; - }; - 'i/registry/set': { - req: { - key: string; - value: any; - scope?: string[]; - }; - res: null; - }; - 'i/revoke-token': { - req: TODO; - res: TODO; - }; - 'i/signin-history': { - req: { - limit?: number; - sinceId?: Signin['id']; - untilId?: Signin['id']; - }; - res: Signin[]; - }; - 'i/unpin': { - req: { - noteId: Note['id']; - }; - res: MeDetailed; - }; - 'i/update-email': { - req: { - password: string; - email?: string | null; - }; - res: MeDetailed; - }; - 'i/update': { - req: { - name?: string | null; - description?: string | null; - lang?: string | null; - location?: string | null; - birthday?: string | null; - avatarId?: DriveFile['id'] | null; - bannerId?: DriveFile['id'] | null; - fields?: { - name: string; - value: string; - }[]; - isLocked?: boolean; - isExplorable?: boolean; - hideOnlineStatus?: boolean; - carefulBot?: boolean; - autoAcceptFollowed?: boolean; - noCrawle?: boolean; - isBot?: boolean; - isCat?: boolean; - injectFeaturedNote?: boolean; - receiveAnnouncementEmail?: boolean; - alwaysMarkNsfw?: boolean; - mutedWords?: string[][]; - mutingNotificationTypes?: Notification_2['type'][]; - emailNotificationTypes?: string[]; - }; - res: MeDetailed; - }; - 'i/user-group-invites': { - req: TODO; - res: TODO; - }; - 'i/2fa/done': { - req: TODO; - res: TODO; - }; - 'i/2fa/key-done': { - req: TODO; - res: TODO; - }; - 'i/2fa/password-less': { - req: TODO; - res: TODO; - }; - 'i/2fa/register-key': { - req: TODO; - res: TODO; - }; - 'i/2fa/register': { - req: TODO; - res: TODO; - }; - 'i/2fa/remove-key': { - req: TODO; - res: TODO; - }; - 'i/2fa/unregister': { - req: TODO; - res: TODO; - }; - 'messaging/history': { - req: { - limit?: number; - group?: boolean; - }; - res: MessagingMessage[]; - }; - 'messaging/messages': { - req: { - userId?: User['id']; - groupId?: UserGroup['id']; - limit?: number; - sinceId?: MessagingMessage['id']; - untilId?: MessagingMessage['id']; - markAsRead?: boolean; - }; - res: MessagingMessage[]; - }; - 'messaging/messages/create': { - req: { - userId?: User['id']; - groupId?: UserGroup['id']; - text?: string; - fileId?: DriveFile['id']; - }; - res: MessagingMessage; - }; - 'messaging/messages/delete': { - req: { - messageId: MessagingMessage['id']; - }; - res: null; - }; - 'messaging/messages/read': { - req: { - messageId: MessagingMessage['id']; - }; - res: null; - }; - 'meta': { - req: { - detail?: boolean; - }; - res: { - $switch: { - $cases: [ - [ - { - detail: true; - }, - DetailedInstanceMetadata - ], - [ - { - detail: false; - }, - LiteInstanceMetadata - ], - [ - { - detail: boolean; - }, - LiteInstanceMetadata | DetailedInstanceMetadata - ] - ]; - $default: LiteInstanceMetadata; - }; - }; - }; - 'miauth/gen-token': { - req: TODO; - res: TODO; - }; - 'mute/create': { - req: TODO; - res: TODO; - }; - 'mute/delete': { - req: { - userId: User['id']; - }; - res: null; - }; - 'mute/list': { - req: TODO; - res: TODO; - }; - 'my/apps': { - req: TODO; - res: TODO; - }; - 'notes': { - req: { - limit?: number; - sinceId?: Note['id']; - untilId?: Note['id']; - }; - res: Note[]; - }; - 'notes/children': { - req: { - noteId: Note['id']; - limit?: number; - sinceId?: Note['id']; - untilId?: Note['id']; - }; - res: Note[]; - }; - 'notes/clips': { - req: TODO; - res: TODO; - }; - 'notes/conversation': { - req: TODO; - res: TODO; - }; - 'notes/create': { - req: { - visibility?: 'public' | 'home' | 'followers' | 'specified'; - visibleUserIds?: User['id'][]; - text?: null | string; - cw?: null | string; - viaMobile?: boolean; - localOnly?: boolean; - fileIds?: DriveFile['id'][]; - replyId?: null | Note['id']; - renoteId?: null | Note['id']; - channelId?: null | Channel['id']; - poll?: null | { - choices: string[]; - multiple?: boolean; - expiresAt?: null | number; - expiredAfter?: null | number; - }; - }; - res: { - createdNote: Note; - }; - }; - 'notes/delete': { - req: { - noteId: Note['id']; - }; - res: null; - }; - 'notes/favorites/create': { - req: { - noteId: Note['id']; - }; - res: null; - }; - 'notes/favorites/delete': { - req: { - noteId: Note['id']; - }; - res: null; - }; - 'notes/featured': { - req: TODO; - res: Note[]; - }; - 'notes/global-timeline': { - req: { - limit?: number; - sinceId?: Note['id']; - untilId?: Note['id']; - sinceDate?: number; - untilDate?: number; - }; - res: Note[]; - }; - 'notes/recommended-timeline': { - req: { - limit?: number; - sinceId?: Note['id']; - untilId?: Note['id']; - sinceDate?: number; - untilDate?: number; - }; - res: Note[]; - }; - 'notes/hybrid-timeline': { - req: { - limit?: number; - sinceId?: Note['id']; - untilId?: Note['id']; - sinceDate?: number; - untilDate?: number; - }; - res: Note[]; - }; - 'notes/local-timeline': { - req: { - limit?: number; - sinceId?: Note['id']; - untilId?: Note['id']; - sinceDate?: number; - untilDate?: number; - }; - res: Note[]; - }; - 'notes/mentions': { - req: { - following?: boolean; - limit?: number; - sinceId?: Note['id']; - untilId?: Note['id']; - }; - res: Note[]; - }; - 'notes/polls/recommendation': { - req: TODO; - res: TODO; - }; - 'notes/polls/vote': { - req: { - noteId: Note['id']; - choice: number; - }; - res: null; - }; - 'notes/reactions': { - req: { - noteId: Note['id']; - type?: string | null; - limit?: number; - }; - res: NoteReaction[]; - }; - 'notes/reactions/create': { - req: { - noteId: Note['id']; - reaction: string; - }; - res: null; - }; - 'notes/reactions/delete': { - req: { - noteId: Note['id']; - }; - res: null; - }; - 'notes/renotes': { - req: { - limit?: number; - sinceId?: Note['id']; - untilId?: Note['id']; - noteId: Note['id']; - }; - res: Note[]; - }; - 'notes/replies': { - req: { - limit?: number; - sinceId?: Note['id']; - untilId?: Note['id']; - noteId: Note['id']; - }; - res: Note[]; - }; - 'notes/search-by-tag': { - req: TODO; - res: TODO; - }; - 'notes/search': { - req: TODO; - res: TODO; - }; - 'notes/show': { - req: { - noteId: Note['id']; - }; - res: Note; - }; - 'notes/state': { - req: TODO; - res: TODO; - }; - 'notes/timeline': { - req: { - limit?: number; - sinceId?: Note['id']; - untilId?: Note['id']; - sinceDate?: number; - untilDate?: number; - }; - res: Note[]; - }; - 'notes/unrenote': { - req: { - noteId: Note['id']; - }; - res: null; - }; - 'notes/user-list-timeline': { - req: { - listId: UserList['id']; - limit?: number; - sinceId?: Note['id']; - untilId?: Note['id']; - sinceDate?: number; - untilDate?: number; - }; - res: Note[]; - }; - 'notes/watching/create': { - req: TODO; - res: TODO; - }; - 'notes/watching/delete': { - req: { - noteId: Note['id']; - }; - res: null; - }; - 'notifications/create': { - req: { - body: string; - header?: string | null; - icon?: string | null; - }; - res: null; - }; - 'notifications/mark-all-as-read': { - req: NoParams; - res: null; - }; - 'notifications/read': { - req: { - notificationId: Notification_2['id']; - }; - res: null; - }; - 'page-push': { - req: { - pageId: Page['id']; - event: string; - var?: any; - }; - res: null; - }; - 'pages/create': { - req: TODO; - res: Page; - }; - 'pages/delete': { - req: { - pageId: Page['id']; - }; - res: null; - }; - 'pages/featured': { - req: NoParams; - res: Page[]; - }; - 'pages/like': { - req: { - pageId: Page['id']; - }; - res: null; - }; - 'pages/show': { - req: { - pageId?: Page['id']; - name?: string; - username?: string; - }; - res: Page; - }; - 'pages/unlike': { - req: { - pageId: Page['id']; - }; - res: null; - }; - 'pages/update': { - req: TODO; - res: null; - }; - 'ping': { - req: NoParams; - res: { - pong: number; - }; - }; - 'pinned-users': { - req: TODO; - res: TODO; - }; - 'promo/read': { - req: TODO; - res: TODO; - }; - 'request-reset-password': { - req: { - username: string; - email: string; - }; - res: null; - }; - 'reset-password': { - req: { - token: string; - password: string; - }; - res: null; - }; - 'room/show': { - req: TODO; - res: TODO; - }; - 'room/update': { - req: TODO; - res: TODO; - }; - 'stats': { - req: NoParams; - res: Stats; - }; - 'server-info': { - req: NoParams; - res: ServerInfo; - }; - 'sw/register': { - req: TODO; - res: TODO; - }; - 'username/available': { - req: { - username: string; - }; - res: { - available: boolean; - }; - }; - 'users': { - req: { - limit?: number; - offset?: number; - sort?: UserSorting; - origin?: OriginType; - }; - res: User[]; - }; - 'users/clips': { - req: TODO; - res: TODO; - }; - 'users/followers': { - req: { - userId?: User['id']; - username?: User['username']; - host?: User['host'] | null; - limit?: number; - sinceId?: Following['id']; - untilId?: Following['id']; - }; - res: FollowingFollowerPopulated[]; - }; - 'users/following': { - req: { - userId?: User['id']; - username?: User['username']; - host?: User['host'] | null; - limit?: number; - sinceId?: Following['id']; - untilId?: Following['id']; - }; - res: FollowingFolloweePopulated[]; - }; - 'users/gallery/posts': { - req: TODO; - res: TODO; - }; - 'users/get-frequently-replied-users': { - req: TODO; - res: TODO; - }; - 'users/groups/create': { - req: TODO; - res: TODO; - }; - 'users/groups/delete': { - req: { - groupId: UserGroup['id']; - }; - res: null; - }; - 'users/groups/invitations/accept': { - req: TODO; - res: TODO; - }; - 'users/groups/invitations/reject': { - req: TODO; - res: TODO; - }; - 'users/groups/invite': { - req: TODO; - res: TODO; - }; - 'users/groups/joined': { - req: TODO; - res: TODO; - }; - 'users/groups/owned': { - req: TODO; - res: TODO; - }; - 'users/groups/pull': { - req: TODO; - res: TODO; - }; - 'users/groups/show': { - req: TODO; - res: TODO; - }; - 'users/groups/transfer': { - req: TODO; - res: TODO; - }; - 'users/groups/update': { - req: TODO; - res: TODO; - }; - 'users/lists/create': { - req: { - name: string; - }; - res: UserList; - }; - 'users/lists/delete': { - req: { - listId: UserList['id']; - }; - res: null; - }; - 'users/lists/list': { - req: NoParams; - res: UserList[]; - }; - 'users/lists/pull': { - req: { - listId: UserList['id']; - userId: User['id']; - }; - res: null; - }; - 'users/lists/push': { - req: { - listId: UserList['id']; - userId: User['id']; - }; - res: null; - }; - 'users/lists/show': { - req: { - listId: UserList['id']; - }; - res: UserList; - }; - 'users/lists/update': { - req: { - listId: UserList['id']; - name: string; - }; - res: UserList; - }; - 'users/notes': { - req: { - userId: User['id']; - limit?: number; - sinceId?: Note['id']; - untilId?: Note['id']; - sinceDate?: number; - untilDate?: number; - }; - res: Note[]; - }; - 'users/pages': { - req: TODO; - res: TODO; - }; - 'users/recommendation': { - req: TODO; - res: TODO; - }; - 'users/relation': { - req: TODO; - res: TODO; - }; - 'users/report-abuse': { - req: TODO; - res: TODO; - }; - 'users/search-by-username-and-host': { - req: TODO; - res: TODO; - }; - 'users/search': { - req: TODO; - res: TODO; - }; - 'users/show': { - req: ShowUserReq | { - userIds: User['id'][]; - }; - res: { - $switch: { - $cases: [ - [ - { - userIds: User['id'][]; - }, - UserDetailed[] - ] - ]; - $default: UserDetailed; - }; - }; - }; - 'users/stats': { - req: TODO; - res: TODO; - }; -}; - -declare namespace entities { - export { - ID, - DateString, - User, - UserLite, - UserDetailed, - UserGroup, - UserList, - MeDetailed, - DriveFile, - DriveFolder, - GalleryPost, - Note, - NoteReaction, - Notification_2 as Notification, - MessagingMessage, - CustomEmoji, - LiteInstanceMetadata, - DetailedInstanceMetadata, - InstanceMetadata, - ServerInfo, - Stats, - Page, - PageEvent, - Announcement, - Antenna, - App, - AuthSession, - Ad, - Clip, - NoteFavorite, - FollowRequest, - Channel, - Following, - FollowingFolloweePopulated, - FollowingFollowerPopulated, - Blocking, - Instance, - Signin, - UserSorting, - OriginType - } -} -export { entities } - -// @public (undocumented) -type FetchLike = (input: string, init?: { - method?: string; - body?: string; - credentials?: RequestCredentials; - cache?: RequestCache; -}) => Promise<{ - status: number; - json(): Promise; -}>; - -// @public (undocumented) -export const ffVisibility: readonly ["public", "followers", "private"]; - -// @public (undocumented) -type Following = { - id: ID; - createdAt: DateString; - followerId: User['id']; - followeeId: User['id']; -}; - -// @public (undocumented) -type FollowingFolloweePopulated = Following & { - followee: UserDetailed; -}; - -// @public (undocumented) -type FollowingFollowerPopulated = Following & { - follower: UserDetailed; -}; - -// @public (undocumented) -type FollowRequest = { - id: ID; - follower: User; - followee: User; -}; - -// @public (undocumented) -type GalleryPost = TODO_2; - -// @public (undocumented) -type ID = string; - -// @public (undocumented) -type Instance = { - id: ID; - caughtAt: DateString; - host: string; - usersCount: number; - notesCount: number; - followingCount: number; - followersCount: number; - driveUsage: number; - driveFiles: number; - latestRequestSentAt: DateString | null; - latestStatus: number | null; - latestRequestReceivedAt: DateString | null; - lastCommunicatedAt: DateString; - isNotResponding: boolean; - isSuspended: boolean; - softwareName: string | null; - softwareVersion: string | null; - openRegistrations: boolean | null; - name: string | null; - description: string | null; - maintainerName: string | null; - maintainerEmail: string | null; - iconUrl: string | null; - faviconUrl: string | null; - themeColor: string | null; - infoUpdatedAt: DateString | null; -}; - -// @public (undocumented) -type InstanceMetadata = LiteInstanceMetadata | DetailedInstanceMetadata; - -// @public (undocumented) -function isAPIError(reason: any): reason is APIError; - -// @public (undocumented) -type LiteInstanceMetadata = { - maintainerName: string | null; - maintainerEmail: string | null; - version: string; - name: string | null; - uri: string; - description: string | null; - tosUrl: string | null; - disableRegistration: boolean; - disableLocalTimeline: boolean; - disableRecommendedTimeline: boolean; - disableGlobalTimeline: boolean; - driveCapacityPerLocalUserMb: number; - driveCapacityPerRemoteUserMb: number; - enableHcaptcha: boolean; - hcaptchaSiteKey: string | null; - enableRecaptcha: boolean; - recaptchaSiteKey: string | null; - swPublickey: string | null; - maxNoteTextLength: number; - enableEmail: boolean; - enableGithubIntegration: boolean; - enableDiscordIntegration: boolean; - enableServiceWorker: boolean; - emojis: CustomEmoji[]; - ads: { - id: ID; - ratio: number; - place: string; - url: string; - imageUrl: string; - }[]; -}; - -// @public (undocumented) -type MeDetailed = UserDetailed & { - avatarId: DriveFile['id']; - bannerId: DriveFile['id']; - autoAcceptFollowed: boolean; - alwaysMarkNsfw: boolean; - carefulBot: boolean; - emailNotificationTypes: string[]; - hasPendingReceivedFollowRequest: boolean; - hasUnreadAnnouncement: boolean; - hasUnreadAntenna: boolean; - hasUnreadChannel: boolean; - hasUnreadMentions: boolean; - hasUnreadMessagingMessage: boolean; - hasUnreadNotification: boolean; - hasUnreadSpecifiedNotes: boolean; - hideOnlineStatus: boolean; - injectFeaturedNote: boolean; - integrations: Record; - isDeleted: boolean; - isExplorable: boolean; - mutedWords: string[][]; - mutingNotificationTypes: string[]; - noCrawle: boolean; - receiveAnnouncementEmail: boolean; - usePasswordLessLogin: boolean; - [other: string]: any; -}; - -// @public (undocumented) -type MessagingMessage = { - id: ID; - createdAt: DateString; - file: DriveFile | null; - fileId: DriveFile['id'] | null; - isRead: boolean; - reads: User['id'][]; - text: string | null; - user: User; - userId: User['id']; - recipient?: User | null; - recipientId: User['id'] | null; - group?: UserGroup | null; - groupId: UserGroup['id'] | null; -}; - -// @public (undocumented) -export const mutedNoteReasons: readonly ["word", "manual", "spam", "other"]; - -// @public (undocumented) -type Note = { - id: ID; - createdAt: DateString; - text: string | null; - cw: string | null; - user: User; - userId: User['id']; - reply?: Note; - replyId: Note['id']; - renote?: Note; - renoteId: Note['id']; - files: DriveFile[]; - fileIds: DriveFile['id'][]; - visibility: 'public' | 'home' | 'followers' | 'specified'; - visibleUserIds?: User['id'][]; - localOnly?: boolean; - myReaction?: string; - reactions: Record; - renoteCount: number; - repliesCount: number; - poll?: { - expiresAt: DateString | null; - multiple: boolean; - choices: { - isVoted: boolean; - text: string; - votes: number; - }[]; - }; - emojis: { - name: string; - url: string; - }[]; - uri?: string; - url?: string; - isHidden?: boolean; -}; - -// @public (undocumented) -type NoteFavorite = { - id: ID; - createdAt: DateString; - noteId: Note['id']; - note: Note; -}; - -// @public (undocumented) -type NoteReaction = { - id: ID; - createdAt: DateString; - user: UserLite; - type: string; -}; - -// @public (undocumented) -export const noteVisibilities: readonly ["public", "home", "followers", "specified"]; - -// @public (undocumented) -type Notification_2 = { - id: ID; - createdAt: DateString; - isRead: boolean; -} & ({ - type: 'reaction'; - reaction: string; - user: User; - userId: User['id']; - note: Note; -} | { - type: 'reply'; - user: User; - userId: User['id']; - note: Note; -} | { - type: 'renote'; - user: User; - userId: User['id']; - note: Note; -} | { - type: 'quote'; - user: User; - userId: User['id']; - note: Note; -} | { - type: 'mention'; - user: User; - userId: User['id']; - note: Note; -} | { - type: 'pollVote'; - user: User; - userId: User['id']; - note: Note; -} | { - type: 'follow'; - user: User; - userId: User['id']; -} | { - type: 'followRequestAccepted'; - user: User; - userId: User['id']; -} | { - type: 'receiveFollowRequest'; - user: User; - userId: User['id']; -} | { - type: 'groupInvited'; - invitation: UserGroup; - user: User; - userId: User['id']; -} | { - type: 'app'; - header?: string | null; - body: string; - icon?: string | null; -}); - -// @public (undocumented) -export const notificationTypes: readonly ["follow", "mention", "reply", "renote", "quote", "reaction", "pollVote", "receiveFollowRequest", "followRequestAccepted", "groupInvited", "app"]; - -// @public (undocumented) -type OriginType = 'combined' | 'local' | 'remote'; - -// @public (undocumented) -type Page = { - id: ID; - createdAt: DateString; - updatedAt: DateString; - userId: User['id']; - user: User; - content: Record[]; - variables: Record[]; - title: string; - name: string; - summary: string | null; - hideTitleWhenPinned: boolean; - alignCenter: boolean; - font: string; - script: string; - eyeCatchingImageId: DriveFile['id'] | null; - eyeCatchingImage: DriveFile | null; - attachedFiles: any; - likedCount: number; - isLiked?: boolean; -}; - -// @public (undocumented) -type PageEvent = { - pageId: Page['id']; - event: string; - var: any; - userId: User['id']; - user: User; -}; - -// @public (undocumented) -export const permissions: string[]; - -// @public (undocumented) -type ServerInfo = { - machine: string; - cpu: { - model: string; - cores: number; - }; - mem: { - total: number; - }; - fs: { - total: number; - used: number; - }; -}; - -// @public (undocumented) -type Signin = { - id: ID; - createdAt: DateString; - ip: string; - headers: Record; - success: boolean; -}; - -// @public (undocumented) -type Stats = { - notesCount: number; - originalNotesCount: number; - usersCount: number; - originalUsersCount: number; - instances: number; - driveUsageLocal: number; - driveUsageRemote: number; -}; - -// Warning: (ae-forgotten-export) The symbol "StreamEvents" needs to be exported by the entry point index.d.ts -// -// @public (undocumented) -export class Stream extends EventEmitter { - constructor(origin: string, user: { - token: string; - } | null, options?: { - WebSocket?: any; - }); - // (undocumented) - close(): void; - // Warning: (ae-forgotten-export) The symbol "NonSharedConnection" needs to be exported by the entry point index.d.ts - // - // (undocumented) - disconnectToChannel(connection: NonSharedConnection): void; - // Warning: (ae-forgotten-export) The symbol "SharedConnection" needs to be exported by the entry point index.d.ts - // - // (undocumented) - removeSharedConnection(connection: SharedConnection): void; - // Warning: (ae-forgotten-export) The symbol "Pool" needs to be exported by the entry point index.d.ts - // - // (undocumented) - removeSharedConnectionPool(pool: Pool): void; - // (undocumented) - send(typeOrPayload: any, payload?: any): void; - // (undocumented) - state: 'initializing' | 'reconnecting' | 'connected'; - // (undocumented) - useChannel(channel: C, params?: Channels[C]['params'], name?: string): ChannelConnection; -} - -// @public (undocumented) -type User = UserLite | UserDetailed; - -// @public (undocumented) -type UserDetailed = UserLite & { - bannerBlurhash: string | null; - bannerColor: string | null; - bannerUrl: string | null; - birthday: string | null; - createdAt: DateString; - description: string | null; - ffVisibility: 'public' | 'followers' | 'private'; - fields: { - name: string; - value: string; - }[]; - followersCount: number; - followingCount: number; - hasPendingFollowRequestFromYou: boolean; - hasPendingFollowRequestToYou: boolean; - isAdmin: boolean; - isBlocked: boolean; - isBlocking: boolean; - isBot: boolean; - isCat: boolean; - isFollowed: boolean; - isFollowing: boolean; - isLocked: boolean; - isModerator: boolean; - isMuted: boolean; - isSilenced: boolean; - isSuspended: boolean; - lang: string | null; - lastFetchedAt?: DateString; - location: string | null; - notesCount: number; - pinnedNoteIds: ID[]; - pinnedNotes: Note[]; - pinnedPage: Page | null; - pinnedPageId: string | null; - publicReactions: boolean; - securityKeys: boolean; - twoFactorEnabled: boolean; - updatedAt: DateString | null; - uri: string | null; - url: string | null; -}; - -// @public (undocumented) -type UserGroup = TODO_2; - -// @public (undocumented) -type UserList = { - id: ID; - createdAt: DateString; - name: string; - userIds: User['id'][]; -}; - -// @public (undocumented) -type UserLite = { - id: ID; - username: string; - host: string | null; - name: string; - onlineStatus: 'online' | 'active' | 'offline' | 'unknown'; - avatarUrl: string; - avatarBlurhash: string; - emojis: { - name: string; - url: string; - }[]; - instance?: { - name: Instance['name']; - softwareName: Instance['softwareName']; - softwareVersion: Instance['softwareVersion']; - iconUrl: Instance['iconUrl']; - faviconUrl: Instance['faviconUrl']; - themeColor: Instance['themeColor']; - }; -}; - -// @public (undocumented) -type UserSorting = '+follower' | '-follower' | '+createdAt' | '-createdAt' | '+updatedAt' | '-updatedAt'; - -// Warnings were encountered during analysis: -// -// src/api.types.ts:16:32 - (ae-forgotten-export) The symbol "TODO" needs to be exported by the entry point index.d.ts -// src/api.types.ts:18:25 - (ae-forgotten-export) The symbol "NoParams" needs to be exported by the entry point index.d.ts -// src/api.types.ts:595:18 - (ae-forgotten-export) The symbol "ShowUserReq" needs to be exported by the entry point index.d.ts -// src/streaming.types.ts:35:4 - (ae-forgotten-export) The symbol "FIXME" needs to be exported by the entry point index.d.ts - -// (No @packageDocumentation comment for this package) - -``` +## API Report File for "iceshrimp-sdk" + +> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). + +```ts + +import { EventEmitter } from 'eventemitter3'; + +// @public (undocumented) +export type Acct = { + username: string; + host: string | null; +}; + +// @public (undocumented) +type Announcement = { + id: ID; + createdAt: DateString; + updatedAt: DateString | null; + text: string; + title: string; + imageUrl: string | null; + isRead?: boolean; +}; + +// @public (undocumented) +type Antenna = { + id: ID; + createdAt: DateString; + name: string; + keywords: string[][]; + excludeKeywords: string[][]; + src: "home" | "all" | "users" | "list" | "group" | "instances"; + userListId: ID | null; + userGroupId: ID | null; + users: string[]; + instances: string[]; + caseSensitive: boolean; + notify: boolean; + withReplies: boolean; + withFile: boolean; + hasUnreadNote: boolean; +}; + +declare namespace api { + export { + isAPIError, + APIError, + FetchLike, + APIClient + } +} +export { api } + +// @public (undocumented) +class APIClient { + constructor(opts: { + origin: APIClient["origin"]; + credential?: APIClient["credential"]; + fetch?: APIClient["fetch"] | null | undefined; + }); + // (undocumented) + credential: string | null | undefined; + // (undocumented) + fetch: FetchLike; + // (undocumented) + origin: string; + // Warning: (ae-forgotten-export) The symbol "IsCaseMatched" needs to be exported by the entry point index.d.ts + // Warning: (ae-forgotten-export) The symbol "GetCaseResult" needs to be exported by the entry point index.d.ts + // + // (undocumented) + request(endpoint: E, params?: P, credential?: string | null | undefined): Promise extends true ? GetCaseResult : IsCaseMatched extends true ? GetCaseResult : IsCaseMatched extends true ? GetCaseResult : IsCaseMatched extends true ? GetCaseResult : IsCaseMatched extends true ? GetCaseResult : IsCaseMatched extends true ? GetCaseResult : IsCaseMatched extends true ? GetCaseResult : IsCaseMatched extends true ? GetCaseResult : IsCaseMatched extends true ? GetCaseResult : IsCaseMatched extends true ? GetCaseResult : Endpoints[E]["res"]["$switch"]["$default"] : Endpoints[E]["res"]>; +} + +// @public (undocumented) +type APIError = { + id: string; + code: string; + message: string; + kind: "client" | "server"; + info: Record; +}; + +// Warning: (ae-forgotten-export) The symbol "TODO_2" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +type App = TODO_2; + +// @public (undocumented) +type AuthSession = { + id: ID; + app: App; + token: string; +}; + +// @public (undocumented) +type Blocking = { + id: ID; + createdAt: DateString; + blockeeId: User["id"]; + blockee: UserDetailed; +}; + +// @public (undocumented) +type Channel = { + id: ID; +}; + +// Warning: (ae-forgotten-export) The symbol "AnyOf" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export abstract class ChannelConnection = any> extends EventEmitter { + constructor(stream: Stream, channel: string, name?: string); + // (undocumented) + channel: string; + // (undocumented) + abstract dispose(): void; + // (undocumented) + abstract id: string; + // (undocumented) + inCount: number; + // (undocumented) + name?: string; + // (undocumented) + outCount: number; + // (undocumented) + send(type: T, body: Channel["receives"][T]): void; + // (undocumented) + protected stream: Stream; +} + +// @public (undocumented) +export type Channels = { + main: { + params: null; + events: { + notification: (payload: Notification_2) => void; + mention: (payload: Note) => void; + reply: (payload: Note) => void; + renote: (payload: Note) => void; + follow: (payload: User) => void; + followed: (payload: User) => void; + unfollow: (payload: User) => void; + meUpdated: (payload: MeDetailed) => void; + pageEvent: (payload: PageEvent) => void; + urlUploadFinished: (payload: { + marker: string; + file: DriveFile; + }) => void; + readAllNotifications: () => void; + unreadNotification: (payload: Notification_2) => void; + unreadMention: (payload: Note["id"]) => void; + readAllUnreadMentions: () => void; + unreadSpecifiedNote: (payload: Note["id"]) => void; + readAllUnreadSpecifiedNotes: () => void; + readAllMessagingMessages: () => void; + messagingMessage: (payload: MessagingMessage) => void; + unreadMessagingMessage: (payload: MessagingMessage) => void; + readAllAntennas: () => void; + unreadAntenna: (payload: Antenna) => void; + readAllAnnouncements: () => void; + readAllChannels: () => void; + unreadChannel: (payload: Note["id"]) => void; + myTokenRegenerated: () => void; + reversiNoInvites: () => void; + reversiInvited: (payload: FIXME) => void; + signin: (payload: FIXME) => void; + registryUpdated: (payload: { + scope?: string[]; + key: string; + value: any | null; + }) => void; + driveFileCreated: (payload: DriveFile) => void; + readAntenna: (payload: Antenna) => void; + }; + receives: null; + }; + homeTimeline: { + params: null; + events: { + note: (payload: Note) => void; + }; + receives: null; + }; + localTimeline: { + params: null; + events: { + note: (payload: Note) => void; + }; + receives: null; + }; + hybridTimeline: { + params: null; + events: { + note: (payload: Note) => void; + }; + receives: null; + }; + recommendedTimeline: { + params: null; + events: { + note: (payload: Note) => void; + }; + receives: null; + }; + globalTimeline: { + params: null; + events: { + note: (payload: Note) => void; + }; + receives: null; + }; + antenna: { + params: { + antennaId: Antenna["id"]; + }; + events: { + note: (payload: Note) => void; + }; + receives: null; + }; + messaging: { + params: { + otherparty?: User["id"] | null; + group?: UserGroup["id"] | null; + }; + events: { + message: (payload: MessagingMessage) => void; + deleted: (payload: MessagingMessage["id"]) => void; + read: (payload: MessagingMessage["id"][]) => void; + typers: (payload: User[]) => void; + }; + receives: { + read: { + id: MessagingMessage["id"]; + }; + }; + }; + serverStats: { + params: null; + events: { + stats: (payload: FIXME) => void; + }; + receives: { + requestLog: { + id: string | number; + length: number; + }; + }; + }; + queueStats: { + params: null; + events: { + stats: (payload: FIXME) => void; + }; + receives: { + requestLog: { + id: string | number; + length: number; + }; + }; + }; +}; + +// @public (undocumented) +type Clip = TODO_2; + +// @public (undocumented) +type CustomEmoji = { + id: string; + name: string; + url: string; + category: string; + aliases: string[]; +}; + +// @public (undocumented) +type DateString = string; + +// @public (undocumented) +type DetailedInstanceMetadata = LiteInstanceMetadata & { + features: Record; +}; + +// @public (undocumented) +type DriveFile = { + id: ID; + createdAt: DateString; + isSensitive: boolean; + name: string; + thumbnailUrl: string; + url: string; + type: string; + size: number; + md5: string; + blurhash: string; + comment: string | null; + properties: Record; +}; + +// @public (undocumented) +type DriveFolder = TODO_2; + +// @public (undocumented) +export type Endpoints = { + "admin/abuse-user-reports": { + req: TODO; + res: TODO; + }; + "admin/delete-all-files-of-a-user": { + req: { + userId: User["id"]; + }; + res: null; + }; + "admin/delete-logs": { + req: NoParams; + res: null; + }; + "admin/get-index-stats": { + req: TODO; + res: TODO; + }; + "admin/get-table-stats": { + req: TODO; + res: TODO; + }; + "admin/invite": { + req: TODO; + res: TODO; + }; + "admin/logs": { + req: TODO; + res: TODO; + }; + "admin/meta": { + req: TODO; + res: TODO; + }; + "admin/reset-password": { + req: TODO; + res: TODO; + }; + "admin/resolve-abuse-user-report": { + req: TODO; + res: TODO; + }; + "admin/resync-chart": { + req: TODO; + res: TODO; + }; + "admin/send-email": { + req: TODO; + res: TODO; + }; + "admin/server-info": { + req: TODO; + res: TODO; + }; + "admin/show-moderation-logs": { + req: TODO; + res: TODO; + }; + "admin/show-user": { + req: TODO; + res: TODO; + }; + "admin/show-users": { + req: TODO; + res: TODO; + }; + "admin/silence-user": { + req: TODO; + res: TODO; + }; + "admin/suspend-user": { + req: TODO; + res: TODO; + }; + "admin/unsilence-user": { + req: TODO; + res: TODO; + }; + "admin/unsuspend-user": { + req: TODO; + res: TODO; + }; + "admin/update-meta": { + req: TODO; + res: TODO; + }; + "admin/vacuum": { + req: TODO; + res: TODO; + }; + "admin/accounts/create": { + req: TODO; + res: TODO; + }; + "admin/announcements/create": { + req: TODO; + res: TODO; + }; + "admin/announcements/delete": { + req: { + id: Announcement["id"]; + }; + res: null; + }; + "admin/announcements/list": { + req: TODO; + res: TODO; + }; + "admin/announcements/update": { + req: TODO; + res: TODO; + }; + "admin/drive/clean-remote-files": { + req: TODO; + res: TODO; + }; + "admin/drive/cleanup": { + req: TODO; + res: TODO; + }; + "admin/drive/files": { + req: TODO; + res: TODO; + }; + "admin/drive/show-file": { + req: TODO; + res: TODO; + }; + "admin/emoji/add": { + req: TODO; + res: TODO; + }; + "admin/emoji/copy": { + req: TODO; + res: TODO; + }; + "admin/emoji/list-remote": { + req: TODO; + res: TODO; + }; + "admin/emoji/list": { + req: TODO; + res: TODO; + }; + "admin/emoji/remove": { + req: TODO; + res: TODO; + }; + "admin/emoji/update": { + req: TODO; + res: TODO; + }; + "admin/federation/delete-all-files": { + req: { + host: string; + }; + res: null; + }; + "admin/federation/refresh-remote-instance-metadata": { + req: TODO; + res: TODO; + }; + "admin/federation/remove-all-following": { + req: TODO; + res: TODO; + }; + "admin/federation/update-instance": { + req: TODO; + res: TODO; + }; + "admin/moderators/add": { + req: TODO; + res: TODO; + }; + "admin/moderators/remove": { + req: TODO; + res: TODO; + }; + "admin/promo/create": { + req: TODO; + res: TODO; + }; + "admin/queue/clear": { + req: TODO; + res: TODO; + }; + "admin/queue/deliver-delayed": { + req: TODO; + res: TODO; + }; + "admin/queue/inbox-delayed": { + req: TODO; + res: TODO; + }; + "admin/queue/jobs": { + req: TODO; + res: TODO; + }; + "admin/queue/stats": { + req: TODO; + res: TODO; + }; + "admin/relays/add": { + req: TODO; + res: TODO; + }; + "admin/relays/list": { + req: TODO; + res: TODO; + }; + "admin/relays/remove": { + req: TODO; + res: TODO; + }; + announcements: { + req: { + limit?: number; + withUnreads?: boolean; + sinceId?: Announcement["id"]; + untilId?: Announcement["id"]; + }; + res: Announcement[]; + }; + "antennas/create": { + req: TODO; + res: Antenna; + }; + "antennas/delete": { + req: { + antennaId: Antenna["id"]; + }; + res: null; + }; + "antennas/list": { + req: NoParams; + res: Antenna[]; + }; + "antennas/notes": { + req: { + antennaId: Antenna["id"]; + limit?: number; + sinceId?: Note["id"]; + untilId?: Note["id"]; + }; + res: Note[]; + }; + "antennas/show": { + req: { + antennaId: Antenna["id"]; + }; + res: Antenna; + }; + "antennas/update": { + req: TODO; + res: Antenna; + }; + "antennas/mark-read": { + req: TODO; + res: Antenna; + }; + "ap/get": { + req: { + uri: string; + }; + res: Record; + }; + "ap/show": { + req: { + uri: string; + }; + res: { + type: "Note"; + object: Note; + } | { + type: "User"; + object: UserDetailed; + }; + }; + "app/create": { + req: TODO; + res: App; + }; + "app/show": { + req: { + appId: App["id"]; + }; + res: App; + }; + "auth/accept": { + req: { + token: string; + }; + res: null; + }; + "auth/session/generate": { + req: { + appSecret: string; + }; + res: { + token: string; + url: string; + }; + }; + "auth/session/show": { + req: { + token: string; + }; + res: AuthSession; + }; + "auth/session/userkey": { + req: { + appSecret: string; + token: string; + }; + res: { + accessToken: string; + user: User; + }; + }; + "blocking/create": { + req: { + userId: User["id"]; + }; + res: UserDetailed; + }; + "blocking/delete": { + req: { + userId: User["id"]; + }; + res: UserDetailed; + }; + "blocking/list": { + req: { + limit?: number; + sinceId?: Blocking["id"]; + untilId?: Blocking["id"]; + }; + res: Blocking[]; + }; + "channels/create": { + req: TODO; + res: TODO; + }; + "channels/featured": { + req: TODO; + res: TODO; + }; + "channels/follow": { + req: TODO; + res: TODO; + }; + "channels/followed": { + req: TODO; + res: TODO; + }; + "channels/owned": { + req: TODO; + res: TODO; + }; + "channels/pin-note": { + req: TODO; + res: TODO; + }; + "channels/show": { + req: TODO; + res: TODO; + }; + "channels/timeline": { + req: TODO; + res: TODO; + }; + "channels/unfollow": { + req: TODO; + res: TODO; + }; + "channels/update": { + req: TODO; + res: TODO; + }; + "charts/active-users": { + req: { + span: "day" | "hour"; + limit?: number; + offset?: number | null; + }; + res: { + local: { + users: number[]; + }; + remote: { + users: number[]; + }; + }; + }; + "charts/drive": { + req: { + span: "day" | "hour"; + limit?: number; + offset?: number | null; + }; + res: { + local: { + decCount: number[]; + decSize: number[]; + incCount: number[]; + incSize: number[]; + totalCount: number[]; + totalSize: number[]; + }; + remote: { + decCount: number[]; + decSize: number[]; + incCount: number[]; + incSize: number[]; + totalCount: number[]; + totalSize: number[]; + }; + }; + }; + "charts/federation": { + req: { + span: "day" | "hour"; + limit?: number; + offset?: number | null; + }; + res: { + instance: { + dec: number[]; + inc: number[]; + total: number[]; + }; + }; + }; + "charts/hashtag": { + req: { + span: "day" | "hour"; + limit?: number; + offset?: number | null; + }; + res: TODO; + }; + "charts/instance": { + req: { + span: "day" | "hour"; + limit?: number; + offset?: number | null; + host: string; + }; + res: { + drive: { + decFiles: number[]; + decUsage: number[]; + incFiles: number[]; + incUsage: number[]; + totalFiles: number[]; + totalUsage: number[]; + }; + followers: { + dec: number[]; + inc: number[]; + total: number[]; + }; + following: { + dec: number[]; + inc: number[]; + total: number[]; + }; + notes: { + dec: number[]; + inc: number[]; + total: number[]; + diffs: { + normal: number[]; + renote: number[]; + reply: number[]; + }; + }; + requests: { + failed: number[]; + received: number[]; + succeeded: number[]; + }; + users: { + dec: number[]; + inc: number[]; + total: number[]; + }; + }; + }; + "charts/network": { + req: { + span: "day" | "hour"; + limit?: number; + offset?: number | null; + }; + res: TODO; + }; + "charts/notes": { + req: { + span: "day" | "hour"; + limit?: number; + offset?: number | null; + }; + res: { + local: { + dec: number[]; + inc: number[]; + total: number[]; + diffs: { + normal: number[]; + renote: number[]; + reply: number[]; + }; + }; + remote: { + dec: number[]; + inc: number[]; + total: number[]; + diffs: { + normal: number[]; + renote: number[]; + reply: number[]; + }; + }; + }; + }; + "charts/user/drive": { + req: { + span: "day" | "hour"; + limit?: number; + offset?: number | null; + userId: User["id"]; + }; + res: { + decCount: number[]; + decSize: number[]; + incCount: number[]; + incSize: number[]; + totalCount: number[]; + totalSize: number[]; + }; + }; + "charts/user/following": { + req: { + span: "day" | "hour"; + limit?: number; + offset?: number | null; + userId: User["id"]; + }; + res: TODO; + }; + "charts/user/notes": { + req: { + span: "day" | "hour"; + limit?: number; + offset?: number | null; + userId: User["id"]; + }; + res: { + dec: number[]; + inc: number[]; + total: number[]; + diffs: { + normal: number[]; + renote: number[]; + reply: number[]; + }; + }; + }; + "charts/user/reactions": { + req: { + span: "day" | "hour"; + limit?: number; + offset?: number | null; + userId: User["id"]; + }; + res: TODO; + }; + "charts/users": { + req: { + span: "day" | "hour"; + limit?: number; + offset?: number | null; + }; + res: { + local: { + dec: number[]; + inc: number[]; + total: number[]; + }; + remote: { + dec: number[]; + inc: number[]; + total: number[]; + }; + }; + }; + "clips/add-note": { + req: TODO; + res: TODO; + }; + "clips/create": { + req: TODO; + res: TODO; + }; + "clips/delete": { + req: { + clipId: Clip["id"]; + }; + res: null; + }; + "clips/list": { + req: TODO; + res: TODO; + }; + "clips/notes": { + req: TODO; + res: TODO; + }; + "clips/show": { + req: TODO; + res: TODO; + }; + "clips/update": { + req: TODO; + res: TODO; + }; + drive: { + req: NoParams; + res: { + capacity: number; + usage: number; + }; + }; + "drive/files": { + req: { + folderId?: DriveFolder["id"] | null; + type?: DriveFile["type"] | null; + limit?: number; + sinceId?: DriveFile["id"]; + untilId?: DriveFile["id"]; + }; + res: DriveFile[]; + }; + "drive/files/attached-notes": { + req: TODO; + res: TODO; + }; + "drive/files/check-existence": { + req: TODO; + res: TODO; + }; + "drive/files/create": { + req: TODO; + res: TODO; + }; + "drive/files/delete": { + req: { + fileId: DriveFile["id"]; + }; + res: null; + }; + "drive/files/find-by-hash": { + req: TODO; + res: TODO; + }; + "drive/files/find": { + req: { + name: string; + folderId?: DriveFolder["id"] | null; + }; + res: DriveFile[]; + }; + "drive/files/show": { + req: { + fileId?: DriveFile["id"]; + url?: string; + }; + res: DriveFile; + }; + "drive/files/update": { + req: { + fileId: DriveFile["id"]; + folderId?: DriveFolder["id"] | null; + name?: string; + isSensitive?: boolean; + comment?: string | null; + }; + res: DriveFile; + }; + "drive/files/upload-from-url": { + req: { + url: string; + folderId?: DriveFolder["id"] | null; + isSensitive?: boolean; + comment?: string | null; + marker?: string | null; + force?: boolean; + }; + res: null; + }; + "drive/folders": { + req: { + folderId?: DriveFolder["id"] | null; + limit?: number; + sinceId?: DriveFile["id"]; + untilId?: DriveFile["id"]; + }; + res: DriveFolder[]; + }; + "drive/folders/create": { + req: { + name?: string; + parentId?: DriveFolder["id"] | null; + }; + res: DriveFolder; + }; + "drive/folders/delete": { + req: { + folderId: DriveFolder["id"]; + }; + res: null; + }; + "drive/folders/find": { + req: { + name: string; + parentId?: DriveFolder["id"] | null; + }; + res: DriveFolder[]; + }; + "drive/folders/show": { + req: { + folderId: DriveFolder["id"]; + }; + res: DriveFolder; + }; + "drive/folders/update": { + req: { + folderId: DriveFolder["id"]; + name?: string; + parentId?: DriveFolder["id"] | null; + }; + res: DriveFolder; + }; + "drive/stream": { + req: { + type?: DriveFile["type"] | null; + limit?: number; + sinceId?: DriveFile["id"]; + untilId?: DriveFile["id"]; + }; + res: DriveFile[]; + }; + endpoint: { + req: { + endpoint: string; + }; + res: { + params: { + name: string; + type: string; + }[]; + }; + }; + endpoints: { + req: NoParams; + res: string[]; + }; + "federation/dns": { + req: { + host: string; + }; + res: { + a: string[]; + aaaa: string[]; + cname: string[]; + txt: string[]; + }; + }; + "federation/followers": { + req: { + host: string; + limit?: number; + sinceId?: Following["id"]; + untilId?: Following["id"]; + }; + res: FollowingFolloweePopulated[]; + }; + "federation/following": { + req: { + host: string; + limit?: number; + sinceId?: Following["id"]; + untilId?: Following["id"]; + }; + res: FollowingFolloweePopulated[]; + }; + "federation/instances": { + req: { + host?: string | null; + blocked?: boolean | null; + notResponding?: boolean | null; + suspended?: boolean | null; + federating?: boolean | null; + subscribing?: boolean | null; + publishing?: boolean | null; + limit?: number; + offset?: number; + sort?: "+pubSub" | "-pubSub" | "+notes" | "-notes" | "+users" | "-users" | "+following" | "-following" | "+followers" | "-followers" | "+caughtAt" | "-caughtAt" | "+lastCommunicatedAt" | "-lastCommunicatedAt" | "+driveUsage" | "-driveUsage" | "+driveFiles" | "-driveFiles"; + }; + res: Instance[]; + }; + "federation/show-instance": { + req: { + host: string; + }; + res: Instance; + }; + "federation/update-remote-user": { + req: { + userId: User["id"]; + }; + res: null; + }; + "federation/users": { + req: { + host: string; + limit?: number; + sinceId?: User["id"]; + untilId?: User["id"]; + }; + res: UserDetailed[]; + }; + "following/create": { + req: { + userId: User["id"]; + }; + res: User; + }; + "following/delete": { + req: { + userId: User["id"]; + }; + res: User; + }; + "following/requests/accept": { + req: { + userId: User["id"]; + }; + res: null; + }; + "following/requests/cancel": { + req: { + userId: User["id"]; + }; + res: User; + }; + "following/requests/list": { + req: NoParams; + res: FollowRequest[]; + }; + "following/requests/reject": { + req: { + userId: User["id"]; + }; + res: null; + }; + "gallery/featured": { + req: TODO; + res: TODO; + }; + "gallery/popular": { + req: TODO; + res: TODO; + }; + "gallery/posts": { + req: TODO; + res: TODO; + }; + "gallery/posts/create": { + req: TODO; + res: TODO; + }; + "gallery/posts/delete": { + req: { + postId: GalleryPost["id"]; + }; + res: null; + }; + "gallery/posts/like": { + req: TODO; + res: TODO; + }; + "gallery/posts/show": { + req: TODO; + res: TODO; + }; + "gallery/posts/unlike": { + req: TODO; + res: TODO; + }; + "gallery/posts/update": { + req: TODO; + res: TODO; + }; + "games/reversi/games": { + req: TODO; + res: TODO; + }; + "games/reversi/games/show": { + req: TODO; + res: TODO; + }; + "games/reversi/games/surrender": { + req: TODO; + res: TODO; + }; + "games/reversi/invitations": { + req: TODO; + res: TODO; + }; + "games/reversi/match": { + req: TODO; + res: TODO; + }; + "games/reversi/match/cancel": { + req: TODO; + res: TODO; + }; + "get-online-users-count": { + req: NoParams; + res: { + count: number; + }; + }; + "hashtags/list": { + req: TODO; + res: TODO; + }; + "hashtags/search": { + req: TODO; + res: TODO; + }; + "hashtags/show": { + req: TODO; + res: TODO; + }; + "hashtags/trend": { + req: TODO; + res: TODO; + }; + "hashtags/users": { + req: TODO; + res: TODO; + }; + i: { + req: NoParams; + res: User; + }; + "i/apps": { + req: TODO; + res: TODO; + }; + "i/authorized-apps": { + req: TODO; + res: TODO; + }; + "i/change-password": { + req: TODO; + res: TODO; + }; + "i/delete-account": { + req: { + password: string; + }; + res: null; + }; + "i/export-blocking": { + req: TODO; + res: TODO; + }; + "i/export-following": { + req: TODO; + res: TODO; + }; + "i/export-mute": { + req: TODO; + res: TODO; + }; + "i/export-notes": { + req: TODO; + res: TODO; + }; + "i/export-user-lists": { + req: TODO; + res: TODO; + }; + "i/favorites": { + req: { + limit?: number; + sinceId?: NoteFavorite["id"]; + untilId?: NoteFavorite["id"]; + }; + res: NoteFavorite[]; + }; + "i/gallery/likes": { + req: TODO; + res: TODO; + }; + "i/gallery/posts": { + req: TODO; + res: TODO; + }; + "i/import-following": { + req: TODO; + res: TODO; + }; + "i/import-user-lists": { + req: TODO; + res: TODO; + }; + "i/move": { + req: TODO; + res: TODO; + }; + "i/known-as": { + req: TODO; + res: TODO; + }; + "i/notifications": { + req: { + limit?: number; + sinceId?: Notification_2["id"]; + untilId?: Notification_2["id"]; + following?: boolean; + markAsRead?: boolean; + includeTypes?: Notification_2["type"][]; + excludeTypes?: Notification_2["type"][]; + }; + res: Notification_2[]; + }; + "i/page-likes": { + req: TODO; + res: TODO; + }; + "i/pages": { + req: TODO; + res: TODO; + }; + "i/pin": { + req: { + noteId: Note["id"]; + }; + res: MeDetailed; + }; + "i/read-all-messaging-messages": { + req: TODO; + res: TODO; + }; + "i/read-all-unread-notes": { + req: TODO; + res: TODO; + }; + "i/read-announcement": { + req: TODO; + res: TODO; + }; + "i/regenerate-token": { + req: { + password: string; + }; + res: null; + }; + "i/registry/get-all": { + req: { + scope?: string[]; + }; + res: Record; + }; + "i/registry/get-detail": { + req: { + key: string; + scope?: string[]; + }; + res: { + updatedAt: DateString; + value: any; + }; + }; + "i/registry/get": { + req: { + key: string; + scope?: string[]; + }; + res: any; + }; + "i/registry/keys-with-type": { + req: { + scope?: string[]; + }; + res: Record; + }; + "i/registry/keys": { + req: { + scope?: string[]; + }; + res: string[]; + }; + "i/registry/remove": { + req: { + key: string; + scope?: string[]; + }; + res: null; + }; + "i/registry/scopes": { + req: NoParams; + res: string[][]; + }; + "i/registry/set": { + req: { + key: string; + value: any; + scope?: string[]; + }; + res: null; + }; + "i/revoke-token": { + req: TODO; + res: TODO; + }; + "i/signin-history": { + req: { + limit?: number; + sinceId?: Signin["id"]; + untilId?: Signin["id"]; + }; + res: Signin[]; + }; + "i/unpin": { + req: { + noteId: Note["id"]; + }; + res: MeDetailed; + }; + "i/update-email": { + req: { + password: string; + email?: string | null; + }; + res: MeDetailed; + }; + "i/update": { + req: { + name?: string | null; + description?: string | null; + lang?: string | null; + location?: string | null; + birthday?: string | null; + avatarId?: DriveFile["id"] | null; + bannerId?: DriveFile["id"] | null; + fields?: { + name: string; + value: string; + }[]; + isLocked?: boolean; + isExplorable?: boolean; + hideOnlineStatus?: boolean; + carefulBot?: boolean; + autoAcceptFollowed?: boolean; + noCrawle?: boolean; + preventAiLearning?: boolean; + isBot?: boolean; + isCat?: boolean; + injectFeaturedNote?: boolean; + receiveAnnouncementEmail?: boolean; + alwaysMarkNsfw?: boolean; + mutedWords?: string[][]; + mutingNotificationTypes?: Notification_2["type"][]; + emailNotificationTypes?: string[]; + }; + res: MeDetailed; + }; + "i/user-group-invites": { + req: TODO; + res: TODO; + }; + "i/2fa/done": { + req: TODO; + res: TODO; + }; + "i/2fa/key-done": { + req: TODO; + res: TODO; + }; + "i/2fa/password-less": { + req: TODO; + res: TODO; + }; + "i/2fa/register-key": { + req: TODO; + res: TODO; + }; + "i/2fa/register": { + req: TODO; + res: TODO; + }; + "i/2fa/update-key": { + req: TODO; + res: TODO; + }; + "i/2fa/remove-key": { + req: TODO; + res: TODO; + }; + "i/2fa/unregister": { + req: TODO; + res: TODO; + }; + "messaging/history": { + req: { + limit?: number; + group?: boolean; + }; + res: MessagingMessage[]; + }; + "messaging/messages": { + req: { + userId?: User["id"]; + groupId?: UserGroup["id"]; + limit?: number; + sinceId?: MessagingMessage["id"]; + untilId?: MessagingMessage["id"]; + markAsRead?: boolean; + }; + res: MessagingMessage[]; + }; + "messaging/messages/create": { + req: { + userId?: User["id"]; + groupId?: UserGroup["id"]; + text?: string; + fileId?: DriveFile["id"]; + }; + res: MessagingMessage; + }; + "messaging/messages/delete": { + req: { + messageId: MessagingMessage["id"]; + }; + res: null; + }; + "messaging/messages/read": { + req: { + messageId: MessagingMessage["id"]; + }; + res: null; + }; + meta: { + req: { + detail?: boolean; + }; + res: { + $switch: { + $cases: [ + [ + { + detail: true; + }, + DetailedInstanceMetadata + ], + [ + { + detail: false; + }, + LiteInstanceMetadata + ], + [ + { + detail: boolean; + }, + LiteInstanceMetadata | DetailedInstanceMetadata + ] + ]; + $default: LiteInstanceMetadata; + }; + }; + }; + "miauth/gen-token": { + req: TODO; + res: TODO; + }; + "mute/create": { + req: TODO; + res: TODO; + }; + "mute/delete": { + req: { + userId: User["id"]; + }; + res: null; + }; + "mute/list": { + req: TODO; + res: TODO; + }; + "renote-mute/create": { + req: TODO; + res: TODO; + }; + "renote-mute/delete": { + req: { + userId: User["id"]; + }; + res: null; + }; + "renote-mute/list": { + req: TODO; + res: TODO; + }; + "my/apps": { + req: TODO; + res: TODO; + }; + notes: { + req: { + limit?: number; + sinceId?: Note["id"]; + untilId?: Note["id"]; + }; + res: Note[]; + }; + "notes/children": { + req: { + noteId: Note["id"]; + limit?: number; + sinceId?: Note["id"]; + untilId?: Note["id"]; + }; + res: Note[]; + }; + "notes/clips": { + req: TODO; + res: TODO; + }; + "notes/conversation": { + req: TODO; + res: TODO; + }; + "notes/create": { + req: NoteSubmitReq; + res: { + createdNote: Note; + }; + }; + "notes/delete": { + req: { + noteId: Note["id"]; + }; + res: null; + }; + "notes/edit": { + req: NoteSubmitReq; + res: { + createdNote: Note; + }; + }; + "notes/favorites/create": { + req: { + noteId: Note["id"]; + }; + res: null; + }; + "notes/favorites/delete": { + req: { + noteId: Note["id"]; + }; + res: null; + }; + "notes/featured": { + req: TODO; + res: Note[]; + }; + "notes/global-timeline": { + req: { + limit?: number; + sinceId?: Note["id"]; + untilId?: Note["id"]; + sinceDate?: number; + untilDate?: number; + }; + res: Note[]; + }; + "notes/recommended-timeline": { + req: { + limit?: number; + sinceId?: Note["id"]; + untilId?: Note["id"]; + sinceDate?: number; + untilDate?: number; + }; + res: Note[]; + }; + "notes/hybrid-timeline": { + req: { + limit?: number; + sinceId?: Note["id"]; + untilId?: Note["id"]; + sinceDate?: number; + untilDate?: number; + }; + res: Note[]; + }; + "notes/local-timeline": { + req: { + limit?: number; + sinceId?: Note["id"]; + untilId?: Note["id"]; + sinceDate?: number; + untilDate?: number; + }; + res: Note[]; + }; + "notes/mentions": { + req: { + following?: boolean; + limit?: number; + sinceId?: Note["id"]; + untilId?: Note["id"]; + }; + res: Note[]; + }; + "notes/polls/recommendation": { + req: TODO; + res: TODO; + }; + "notes/polls/vote": { + req: { + noteId: Note["id"]; + choice: number; + }; + res: null; + }; + "notes/reactions": { + req: { + noteId: Note["id"]; + type?: string | null; + limit?: number; + }; + res: NoteReaction[]; + }; + "notes/reactions/create": { + req: { + noteId: Note["id"]; + reaction: string; + }; + res: null; + }; + "notes/reactions/delete": { + req: { + noteId: Note["id"]; + }; + res: null; + }; + "notes/renotes": { + req: { + limit?: number; + sinceId?: Note["id"]; + untilId?: Note["id"]; + noteId: Note["id"]; + }; + res: Note[]; + }; + "notes/replies": { + req: { + limit?: number; + sinceId?: Note["id"]; + untilId?: Note["id"]; + noteId: Note["id"]; + }; + res: Note[]; + }; + "notes/search-by-tag": { + req: TODO; + res: TODO; + }; + "notes/search": { + req: TODO; + res: TODO; + }; + "notes/show": { + req: { + noteId: Note["id"]; + }; + res: Note; + }; + "notes/state": { + req: TODO; + res: TODO; + }; + "notes/timeline": { + req: { + limit?: number; + sinceId?: Note["id"]; + untilId?: Note["id"]; + sinceDate?: number; + untilDate?: number; + }; + res: Note[]; + }; + "notes/unrenote": { + req: { + noteId: Note["id"]; + }; + res: null; + }; + "notes/user-list-timeline": { + req: { + listId: UserList["id"]; + limit?: number; + sinceId?: Note["id"]; + untilId?: Note["id"]; + sinceDate?: number; + untilDate?: number; + }; + res: Note[]; + }; + "notes/watching/create": { + req: TODO; + res: TODO; + }; + "notes/watching/delete": { + req: { + noteId: Note["id"]; + }; + res: null; + }; + "notifications/create": { + req: { + body: string; + header?: string | null; + icon?: string | null; + }; + res: null; + }; + "notifications/mark-all-as-read": { + req: NoParams; + res: null; + }; + "notifications/read": { + req: { + notificationId: Notification_2["id"]; + }; + res: null; + }; + "page-push": { + req: { + pageId: Page["id"]; + event: string; + var?: any; + }; + res: null; + }; + "pages/create": { + req: TODO; + res: Page; + }; + "pages/delete": { + req: { + pageId: Page["id"]; + }; + res: null; + }; + "pages/featured": { + req: NoParams; + res: Page[]; + }; + "pages/like": { + req: { + pageId: Page["id"]; + }; + res: null; + }; + "pages/show": { + req: { + pageId?: Page["id"]; + name?: string; + username?: string; + }; + res: Page; + }; + "pages/unlike": { + req: { + pageId: Page["id"]; + }; + res: null; + }; + "pages/update": { + req: TODO; + res: null; + }; + ping: { + req: NoParams; + res: { + pong: number; + }; + }; + "pinned-users": { + req: TODO; + res: TODO; + }; + "promo/read": { + req: TODO; + res: TODO; + }; + "request-reset-password": { + req: { + username: string; + email: string; + }; + res: null; + }; + "reset-password": { + req: { + token: string; + password: string; + }; + res: null; + }; + "room/show": { + req: TODO; + res: TODO; + }; + "room/update": { + req: TODO; + res: TODO; + }; + stats: { + req: NoParams; + res: Stats; + }; + "server-info": { + req: NoParams; + res: ServerInfo; + }; + "latest-version": { + req: NoParams; + res: TODO; + }; + "sw/register": { + req: TODO; + res: TODO; + }; + "username/available": { + req: { + username: string; + }; + res: { + available: boolean; + }; + }; + users: { + req: { + limit?: number; + offset?: number; + sort?: UserSorting; + origin?: OriginType; + }; + res: User[]; + }; + "users/clips": { + req: TODO; + res: TODO; + }; + "users/followers": { + req: { + userId?: User["id"]; + username?: User["username"]; + host?: User["host"] | null; + limit?: number; + sinceId?: Following["id"]; + untilId?: Following["id"]; + }; + res: FollowingFollowerPopulated[]; + }; + "users/following": { + req: { + userId?: User["id"]; + username?: User["username"]; + host?: User["host"] | null; + limit?: number; + sinceId?: Following["id"]; + untilId?: Following["id"]; + }; + res: FollowingFolloweePopulated[]; + }; + "users/gallery/posts": { + req: TODO; + res: TODO; + }; + "users/get-frequently-replied-users": { + req: TODO; + res: TODO; + }; + "users/groups/create": { + req: TODO; + res: TODO; + }; + "users/groups/delete": { + req: { + groupId: UserGroup["id"]; + }; + res: null; + }; + "users/groups/invitations/accept": { + req: TODO; + res: TODO; + }; + "users/groups/invitations/reject": { + req: TODO; + res: TODO; + }; + "users/groups/invite": { + req: TODO; + res: TODO; + }; + "users/groups/joined": { + req: TODO; + res: TODO; + }; + "users/groups/owned": { + req: TODO; + res: TODO; + }; + "users/groups/pull": { + req: TODO; + res: TODO; + }; + "users/groups/show": { + req: TODO; + res: TODO; + }; + "users/groups/transfer": { + req: TODO; + res: TODO; + }; + "users/groups/update": { + req: TODO; + res: TODO; + }; + "users/lists/create": { + req: { + name: string; + }; + res: UserList; + }; + "users/lists/delete": { + req: { + listId: UserList["id"]; + }; + res: null; + }; + "users/lists/list": { + req: NoParams; + res: UserList[]; + }; + "users/lists/pull": { + req: { + listId: UserList["id"]; + userId: User["id"]; + }; + res: null; + }; + "users/lists/push": { + req: { + listId: UserList["id"]; + userId: User["id"]; + }; + res: null; + }; + "users/lists/show": { + req: { + listId: UserList["id"]; + }; + res: UserList; + }; + "users/lists/update": { + req: { + listId: UserList["id"]; + name: string; + }; + res: UserList; + }; + "users/notes": { + req: { + userId: User["id"]; + limit?: number; + sinceId?: Note["id"]; + untilId?: Note["id"]; + sinceDate?: number; + untilDate?: number; + }; + res: Note[]; + }; + "users/pages": { + req: TODO; + res: TODO; + }; + "users/recommendation": { + req: TODO; + res: TODO; + }; + "users/relation": { + req: TODO; + res: TODO; + }; + "users/report-abuse": { + req: TODO; + res: TODO; + }; + "users/search-by-username-and-host": { + req: TODO; + res: TODO; + }; + "users/search": { + req: TODO; + res: TODO; + }; + "users/show": { + req: ShowUserReq | { + userIds: User["id"][]; + }; + res: { + $switch: { + $cases: [[{ + userIds: User["id"][]; + }, UserDetailed[]]]; + $default: UserDetailed; + }; + }; + }; + "users/stats": { + req: TODO; + res: TODO; + }; +}; + +declare namespace entities { + export { + ID, + DateString, + User, + UserLite, + UserDetailed, + UserGroup, + UserList, + MeDetailed, + DriveFile, + DriveFolder, + GalleryPost, + Note, + NoteReaction, + Notification_2 as Notification, + MessagingMessage, + CustomEmoji, + LiteInstanceMetadata, + DetailedInstanceMetadata, + InstanceMetadata, + ServerInfo, + Stats, + Page, + PageEvent, + Announcement, + Antenna, + App, + AuthSession, + Clip, + NoteFavorite, + FollowRequest, + Channel, + Following, + FollowingFolloweePopulated, + FollowingFollowerPopulated, + Blocking, + Instance, + Signin, + UserSorting, + OriginType + } +} +export { entities } + +// @public (undocumented) +type FetchLike = (input: string, init?: { + method?: string; + body?: string; + credentials?: RequestCredentials; + cache?: RequestCache; +}) => Promise<{ + status: number; + json(): Promise; +}>; + +// @public (undocumented) +export const ffVisibility: readonly ["public", "followers", "private"]; + +// @public (undocumented) +type Following = { + id: ID; + createdAt: DateString; + followerId: User["id"]; + followeeId: User["id"]; +}; + +// @public (undocumented) +type FollowingFolloweePopulated = Following & { + followee: UserDetailed; +}; + +// @public (undocumented) +type FollowingFollowerPopulated = Following & { + follower: UserDetailed; +}; + +// @public (undocumented) +type FollowRequest = { + id: ID; + follower: User; + followee: User; +}; + +// @public (undocumented) +type GalleryPost = TODO_2; + +// @public (undocumented) +type ID = string; + +// @public (undocumented) +type Instance = { + id: ID; + caughtAt: DateString; + host: string; + usersCount: number; + notesCount: number; + followingCount: number; + followersCount: number; + driveUsage: number; + driveFiles: number; + latestRequestSentAt: DateString | null; + latestStatus: number | null; + latestRequestReceivedAt: DateString | null; + lastCommunicatedAt: DateString; + isNotResponding: boolean; + isSuspended: boolean; + softwareName: string | null; + softwareVersion: string | null; + openRegistrations: boolean | null; + name: string | null; + description: string | null; + maintainerName: string | null; + maintainerEmail: string | null; + iconUrl: string | null; + faviconUrl: string | null; + themeColor: string | null; + infoUpdatedAt: DateString | null; +}; + +// @public (undocumented) +type InstanceMetadata = LiteInstanceMetadata | DetailedInstanceMetadata; + +// @public (undocumented) +function isAPIError(reason: any): reason is APIError; + +// @public (undocumented) +type LiteInstanceMetadata = { + maintainerName: string | null; + maintainerEmail: string | null; + version: string; + name: string | null; + uri: string; + description: string | null; + tosUrl: string | null; + disableRegistration: boolean; + disableLocalTimeline: boolean; + disableRecommendedTimeline: boolean; + disableGlobalTimeline: boolean; + driveCapacityPerLocalUserMb: number; + driveCapacityPerRemoteUserMb: number; + enableHcaptcha: boolean; + hcaptchaSiteKey: string | null; + enableRecaptcha: boolean; + recaptchaSiteKey: string | null; + swPublickey: string | null; + maxNoteTextLength: number; + enableEmail: boolean; + enableGithubIntegration: boolean; + enableDiscordIntegration: boolean; + searchEngine: string; + emojis: CustomEmoji[]; + images: { + error: string; + notFound: string; + info: string; + }; +}; + +// @public (undocumented) +type MeDetailed = UserDetailed & { + avatarId: DriveFile["id"]; + bannerId: DriveFile["id"]; + autoAcceptFollowed: boolean; + alwaysMarkNsfw: boolean; + carefulBot: boolean; + emailNotificationTypes: string[]; + hasPendingReceivedFollowRequest: boolean; + hasUnreadAnnouncement: boolean; + hasUnreadAntenna: boolean; + hasUnreadChannel: boolean; + hasUnreadMentions: boolean; + hasUnreadMessagingMessage: boolean; + hasUnreadNotification: boolean; + hasUnreadSpecifiedNotes: boolean; + hideOnlineStatus: boolean; + injectFeaturedNote: boolean; + integrations: Record; + isDeleted: boolean; + isExplorable: boolean; + mutedWords: string[][]; + mutingNotificationTypes: string[]; + noCrawle: boolean; + preventAiLearning: boolean; + receiveAnnouncementEmail: boolean; + usePasswordLessLogin: boolean; + [other: string]: any; +}; + +// @public (undocumented) +type MessagingMessage = { + id: ID; + createdAt: DateString; + file: DriveFile | null; + fileId: DriveFile["id"] | null; + isRead: boolean; + reads: User["id"][]; + text: string | null; + user: User; + userId: User["id"]; + recipient?: User | null; + recipientId: User["id"] | null; + group?: UserGroup | null; + groupId: UserGroup["id"] | null; +}; + +// @public (undocumented) +type Note = { + id: ID; + createdAt: DateString; + text: string | null; + cw: string | null; + user: User; + userId: User["id"]; + reply?: Note; + replyId: Note["id"]; + renote?: Note; + renoteId: Note["id"]; + files: DriveFile[]; + fileIds: DriveFile["id"][]; + visibility: "public" | "home" | "followers" | "specified"; + visibleUserIds?: User["id"][]; + localOnly?: boolean; + channel?: Channel["id"]; + myReaction?: string; + isRenoted?: boolean; + reactions: Record; + renoteCount: number; + repliesCount: number; + poll?: { + expiresAt: DateString | null; + multiple: boolean; + choices: { + isVoted: boolean; + text: string; + votes: number; + }[]; + }; + emojis: { + name: string; + url: string; + }[]; + uri?: string; + url?: string; + updatedAt?: DateString; + isHidden?: boolean; +}; + +// @public (undocumented) +type NoteFavorite = { + id: ID; + createdAt: DateString; + noteId: Note["id"]; + note: Note; +}; + +// @public (undocumented) +type NoteReaction = { + id: ID; + createdAt: DateString; + user: UserLite; + type: string; +}; + +// @public (undocumented) +export const noteVisibilities: readonly ["public", "home", "followers", "specified"]; + +// @public (undocumented) +type Notification_2 = { + id: ID; + createdAt: DateString; + isRead: boolean; +} & ({ + type: "reaction"; + reaction: string; + user: User; + userId: User["id"]; + note: Note; +} | { + type: "reply"; + user: User; + userId: User["id"]; + note: Note; +} | { + type: "renote"; + user: User; + userId: User["id"]; + note: Note; +} | { + type: "quote"; + user: User; + userId: User["id"]; + note: Note; +} | { + type: "mention"; + user: User; + userId: User["id"]; + note: Note; +} | { + type: "pollVote"; + user: User; + userId: User["id"]; + note: Note; +} | { + type: "follow"; + user: User; + userId: User["id"]; +} | { + type: "followRequestAccepted"; + user: User; + userId: User["id"]; +} | { + type: "receiveFollowRequest"; + user: User; + userId: User["id"]; +} | { + type: "groupInvited"; + invitation: UserGroup; + user: User; + userId: User["id"]; +} | { + type: "app"; + header?: string | null; + body: string; + icon?: string | null; +}); + +// @public (undocumented) +export const notificationTypes: readonly ["follow", "mention", "reply", "renote", "quote", "reaction", "pollVote", "pollEnded", "receiveFollowRequest", "followRequestAccepted", "groupInvited", "app"]; + +// @public (undocumented) +type OriginType = "combined" | "local" | "remote"; + +// @public (undocumented) +type Page = { + id: ID; + createdAt: DateString; + updatedAt: DateString; + userId: User["id"]; + user: User; + content: Record[]; + variables: Record[]; + title: string; + name: string; + summary: string | null; + hideTitleWhenPinned: boolean; + alignCenter: boolean; + font: string; + script: string; + eyeCatchingImageId: DriveFile["id"] | null; + eyeCatchingImage: DriveFile | null; + attachedFiles: any; + likedCount: number; + isLiked?: boolean; +}; + +// @public (undocumented) +type PageEvent = { + pageId: Page["id"]; + event: string; + var: any; + userId: User["id"]; + user: User; +}; + +// @public (undocumented) +export const permissions: string[]; + +// @public (undocumented) +type ServerInfo = { + machine: string; + cpu: { + model: string; + cores: number; + }; + mem: { + total: number; + }; + fs: { + total: number; + used: number; + }; +}; + +// @public (undocumented) +type Signin = { + id: ID; + createdAt: DateString; + ip: string; + headers: Record; + success: boolean; +}; + +// @public (undocumented) +type Stats = { + notesCount: number; + originalNotesCount: number; + usersCount: number; + originalUsersCount: number; + instances: number; + driveUsageLocal: number; + driveUsageRemote: number; +}; + +// Warning: (ae-forgotten-export) The symbol "StreamEvents" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export class Stream extends EventEmitter { + constructor(origin: string, user: { + token: string; + } | null, options?: { + WebSocket?: any; + }); + // (undocumented) + close(): void; + // Warning: (ae-forgotten-export) The symbol "NonSharedConnection" needs to be exported by the entry point index.d.ts + // + // (undocumented) + disconnectToChannel(connection: NonSharedConnection): void; + // Warning: (ae-forgotten-export) The symbol "SharedConnection" needs to be exported by the entry point index.d.ts + // + // (undocumented) + removeSharedConnection(connection: SharedConnection): void; + // Warning: (ae-forgotten-export) The symbol "Pool" needs to be exported by the entry point index.d.ts + // + // (undocumented) + removeSharedConnectionPool(pool: Pool): void; + // (undocumented) + send(typeOrPayload: any, payload?: any): void; + // (undocumented) + state: "initializing" | "reconnecting" | "connected"; + // (undocumented) + useChannel(channel: C, params?: Channels[C]["params"], name?: string): ChannelConnection; +} + +// @public (undocumented) +type User = UserLite | UserDetailed; + +// @public (undocumented) +type UserDetailed = UserLite & { + bannerBlurhash: string | null; + bannerColor: string | null; + bannerUrl: string | null; + birthday: string | null; + createdAt: DateString; + description: string | null; + ffVisibility: "public" | "followers" | "private"; + fields: { + name: string; + value: string; + verified?: boolean; + }[]; + followersCount: number; + followingCount: number; + hasPendingFollowRequestFromYou: boolean; + hasPendingFollowRequestToYou: boolean; + isAdmin: boolean; + isBlocked: boolean; + isBlocking: boolean; + isBot: boolean; + isCat: boolean; + isFollowed: boolean; + isFollowing: boolean; + isLocked: boolean; + isModerator: boolean; + isMuted: boolean; + isRenoteMuted: boolean; + isSilenced: boolean; + isSuspended: boolean; + lang: string | null; + lastFetchedAt?: DateString; + location: string | null; + notesCount: number; + pinnedNoteIds: ID[]; + pinnedNotes: Note[]; + pinnedPage: Page | null; + pinnedPageId: string | null; + publicReactions: boolean; + securityKeys: boolean; + twoFactorEnabled: boolean; + updatedAt: DateString | null; + uri: string | null; + url: string | null; +}; + +// @public (undocumented) +type UserGroup = TODO_2; + +// @public (undocumented) +type UserList = { + id: ID; + createdAt: DateString; + name: string; + userIds: User["id"][]; +}; + +// @public (undocumented) +type UserLite = { + id: ID; + username: string; + host: string | null; + name: string; + onlineStatus: "online" | "active" | "offline" | "unknown"; + avatarUrl: string; + avatarBlurhash: string; + alsoKnownAs: string[]; + movedToUri: any; + emojis: { + name: string; + url: string; + }[]; + instance?: { + name: Instance["name"]; + softwareName: Instance["softwareName"]; + softwareVersion: Instance["softwareVersion"]; + iconUrl: Instance["iconUrl"]; + faviconUrl: Instance["faviconUrl"]; + themeColor: Instance["themeColor"]; + }; +}; + +// @public (undocumented) +type UserSorting = "+follower" | "-follower" | "+createdAt" | "-createdAt" | "+updatedAt" | "-updatedAt"; + +// Warnings were encountered during analysis: +// +// src/api.types.ts:67:32 - (ae-forgotten-export) The symbol "TODO" needs to be exported by the entry point index.d.ts +// src/api.types.ts:72:25 - (ae-forgotten-export) The symbol "NoParams" needs to be exported by the entry point index.d.ts +// src/api.types.ts:809:3 - (ae-forgotten-export) The symbol "NoteSubmitReq" needs to be exported by the entry point index.d.ts +// src/api.types.ts:1079:3 - (ae-forgotten-export) The symbol "ShowUserReq" needs to be exported by the entry point index.d.ts +// src/streaming.types.ts:46:4 - (ae-forgotten-export) The symbol "FIXME" needs to be exported by the entry point index.d.ts + +// (No @packageDocumentation comment for this package) + +``` diff --git a/packages/iceshrimp-js/jest.config.ts b/packages/iceshrimp-sdk/jest.config.ts similarity index 100% rename from packages/iceshrimp-js/jest.config.ts rename to packages/iceshrimp-sdk/jest.config.ts diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.acct.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.acct.md new file mode 100644 index 000000000..b2f352813 --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.acct.md @@ -0,0 +1,14 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [Acct](./iceshrimp-sdk.acct.md) + +## Acct type + +**Signature:** + +```typescript +export type Acct = { + username: string; + host: string | null; +}; +``` diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.api.apiclient._constructor_.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.api.apiclient._constructor_.md new file mode 100644 index 000000000..e9decede9 --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.api.apiclient._constructor_.md @@ -0,0 +1,24 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [api](./iceshrimp-sdk.api.md) > [APIClient](./iceshrimp-sdk.api.apiclient.md) > [(constructor)](./iceshrimp-sdk.api.apiclient._constructor_.md) + +## api.APIClient.(constructor) + +Constructs a new instance of the `APIClient` class + +**Signature:** + +```typescript +constructor(opts: { + origin: APIClient["origin"]; + credential?: APIClient["credential"]; + fetch?: APIClient["fetch"] | null | undefined; + }); +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| opts | { origin: [APIClient](./iceshrimp-sdk.api.apiclient.md)\["origin"\]; credential?: [APIClient](./iceshrimp-sdk.api.apiclient.md)\["credential"\]; fetch?: [APIClient](./iceshrimp-sdk.api.apiclient.md)\["fetch"\] \| null \| undefined; } | | + diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.api.apiclient.credential.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.api.apiclient.credential.md new file mode 100644 index 000000000..7a78185ac --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.api.apiclient.credential.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [api](./iceshrimp-sdk.api.md) > [APIClient](./iceshrimp-sdk.api.apiclient.md) > [credential](./iceshrimp-sdk.api.apiclient.credential.md) + +## api.APIClient.credential property + +**Signature:** + +```typescript +credential: string | null | undefined; +``` diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.api.apiclient.fetch.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.api.apiclient.fetch.md new file mode 100644 index 000000000..8d8db7cbf --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.api.apiclient.fetch.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [api](./iceshrimp-sdk.api.md) > [APIClient](./iceshrimp-sdk.api.apiclient.md) > [fetch](./iceshrimp-sdk.api.apiclient.fetch.md) + +## api.APIClient.fetch property + +**Signature:** + +```typescript +fetch: FetchLike; +``` diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.api.apiclient.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.api.apiclient.md new file mode 100644 index 000000000..e3a82d36b --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.api.apiclient.md @@ -0,0 +1,32 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [api](./iceshrimp-sdk.api.md) > [APIClient](./iceshrimp-sdk.api.apiclient.md) + +## api.APIClient class + +**Signature:** + +```typescript +export declare class APIClient +``` + +## Constructors + +| Constructor | Modifiers | Description | +| --- | --- | --- | +| [(constructor)(opts)](./iceshrimp-sdk.api.apiclient._constructor_.md) | | Constructs a new instance of the APIClient class | + +## Properties + +| Property | Modifiers | Type | Description | +| --- | --- | --- | --- | +| [credential](./iceshrimp-sdk.api.apiclient.credential.md) | | string \| null \| undefined | | +| [fetch](./iceshrimp-sdk.api.apiclient.fetch.md) | | [FetchLike](./iceshrimp-sdk.api.fetchlike.md) | | +| [origin](./iceshrimp-sdk.api.apiclient.origin.md) | | string | | + +## Methods + +| Method | Modifiers | Description | +| --- | --- | --- | +| [request(endpoint, params, credential)](./iceshrimp-sdk.api.apiclient.request.md) | | | + diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.api.apiclient.origin.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.api.apiclient.origin.md new file mode 100644 index 000000000..40e01d96a --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.api.apiclient.origin.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [api](./iceshrimp-sdk.api.md) > [APIClient](./iceshrimp-sdk.api.apiclient.md) > [origin](./iceshrimp-sdk.api.apiclient.origin.md) + +## api.APIClient.origin property + +**Signature:** + +```typescript +origin: string; +``` diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.api.apiclient.request.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.api.apiclient.request.md new file mode 100644 index 000000000..0cff18569 --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.api.apiclient.request.md @@ -0,0 +1,29 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [api](./iceshrimp-sdk.api.md) > [APIClient](./iceshrimp-sdk.api.apiclient.md) > [request](./iceshrimp-sdk.api.apiclient.request.md) + +## api.APIClient.request() method + +**Signature:** + +```typescript +request(endpoint: E, params?: P, credential?: string | null | undefined): Promise extends true ? GetCaseResult : IsCaseMatched extends true ? GetCaseResult : IsCaseMatched extends true ? GetCaseResult : IsCaseMatched extends true ? GetCaseResult : IsCaseMatched extends true ? GetCaseResult : IsCaseMatched extends true ? GetCaseResult : IsCaseMatched extends true ? GetCaseResult : IsCaseMatched extends true ? GetCaseResult : IsCaseMatched extends true ? GetCaseResult : IsCaseMatched extends true ? GetCaseResult : Endpoints[E]["res"]["$switch"]["$default"] : Endpoints[E]["res"]>; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| endpoint | E | | +| params | P | _(Optional)_ | +| credential | string \| null \| undefined | _(Optional)_ | + +**Returns:** + +Promise<[Endpoints](./iceshrimp-sdk.endpoints.md)\[E\]\["res"\] extends { $switch: { $cases: \[any, any\]\[\]; $default: any; }; } ? IsCaseMatched<E, P, 0> extends true ? GetCaseResult<E, P, 0> : IsCaseMatched<E, P, 1> extends true ? GetCaseResult<E, P, 1> : IsCaseMatched<E, P, 2> extends true ? GetCaseResult<E, P, 2> : IsCaseMatched<E, P, 3> extends true ? GetCaseResult<E, P, 3> : IsCaseMatched<E, P, 4> extends true ? GetCaseResult<E, P, 4> : IsCaseMatched<E, P, 5> extends true ? GetCaseResult<E, P, 5> : IsCaseMatched<E, P, 6> extends true ? GetCaseResult<E, P, 6> : IsCaseMatched<E, P, 7> extends true ? GetCaseResult<E, P, 7> : IsCaseMatched<E, P, 8> extends true ? GetCaseResult<E, P, 8> : IsCaseMatched<E, P, 9> extends true ? GetCaseResult<E, P, 9> : [Endpoints](./iceshrimp-sdk.endpoints.md)\[E\]\["res"\]\["$switch"\]\["$default"\] : [Endpoints](./iceshrimp-sdk.endpoints.md)\[E\]\["res"\]> + diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.api.apierror.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.api.apierror.md new file mode 100644 index 000000000..b4f25d726 --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.api.apierror.md @@ -0,0 +1,17 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [api](./iceshrimp-sdk.api.md) > [APIError](./iceshrimp-sdk.api.apierror.md) + +## api.APIError type + +**Signature:** + +```typescript +export type APIError = { + id: string; + code: string; + message: string; + kind: "client" | "server"; + info: Record; +}; +``` diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.api.fetchlike.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.api.fetchlike.md new file mode 100644 index 000000000..4c48200cd --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.api.fetchlike.md @@ -0,0 +1,19 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [api](./iceshrimp-sdk.api.md) > [FetchLike](./iceshrimp-sdk.api.fetchlike.md) + +## api.FetchLike type + +**Signature:** + +```typescript +export type FetchLike = (input: string, init?: { + method?: string; + body?: string; + credentials?: RequestCredentials; + cache?: RequestCache; +}) => Promise<{ + status: number; + json(): Promise; +}>; +``` diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.api.isapierror.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.api.isapierror.md similarity index 59% rename from packages/iceshrimp-js/markdown/iceshrimp-js.api.isapierror.md rename to packages/iceshrimp-sdk/markdown/iceshrimp-sdk.api.isapierror.md index 2a7a1fd59..ad8427466 100644 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.api.isapierror.md +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.api.isapierror.md @@ -1,6 +1,6 @@ -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [api](./iceshrimp-js.api.md) > [isAPIError](./iceshrimp-js.api.isapierror.md) +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [api](./iceshrimp-sdk.api.md) > [isAPIError](./iceshrimp-sdk.api.isapierror.md) ## api.isAPIError() function @@ -18,5 +18,5 @@ export declare function isAPIError(reason: any): reason is APIError; **Returns:** -reason is [APIError](./iceshrimp-js.api.apierror.md) +reason is [APIError](./iceshrimp-sdk.api.apierror.md) diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.api.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.api.md new file mode 100644 index 000000000..899bf8326 --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.api.md @@ -0,0 +1,25 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [api](./iceshrimp-sdk.api.md) + +## api namespace + +## Classes + +| Class | Description | +| --- | --- | +| [APIClient](./iceshrimp-sdk.api.apiclient.md) | | + +## Functions + +| Function | Description | +| --- | --- | +| [isAPIError(reason)](./iceshrimp-sdk.api.isapierror.md) | | + +## Type Aliases + +| Type Alias | Description | +| --- | --- | +| [APIError](./iceshrimp-sdk.api.apierror.md) | | +| [FetchLike](./iceshrimp-sdk.api.fetchlike.md) | | + diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.channelconnection._constructor_.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.channelconnection._constructor_.md similarity index 59% rename from packages/iceshrimp-js/markdown/iceshrimp-js.channelconnection._constructor_.md rename to packages/iceshrimp-sdk/markdown/iceshrimp-sdk.channelconnection._constructor_.md index 16a6a20eb..cec6830a6 100644 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.channelconnection._constructor_.md +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.channelconnection._constructor_.md @@ -1,6 +1,6 @@ -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [ChannelConnection](./iceshrimp-js.channelconnection.md) > [(constructor)](./iceshrimp-js.channelconnection._constructor_.md) +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [ChannelConnection](./iceshrimp-sdk.channelconnection.md) > [(constructor)](./iceshrimp-sdk.channelconnection._constructor_.md) ## ChannelConnection.(constructor) @@ -16,7 +16,7 @@ constructor(stream: Stream, channel: string, name?: string); | Parameter | Type | Description | | --- | --- | --- | -| stream | [Stream](./iceshrimp-js.stream.md) | | +| stream | [Stream](./iceshrimp-sdk.stream.md) | | | channel | string | | | name | string | _(Optional)_ | diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.channelconnection.channel.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.channelconnection.channel.md new file mode 100644 index 000000000..eec96d13f --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.channelconnection.channel.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [ChannelConnection](./iceshrimp-sdk.channelconnection.md) > [channel](./iceshrimp-sdk.channelconnection.channel.md) + +## ChannelConnection.channel property + +**Signature:** + +```typescript +channel: string; +``` diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.channelconnection.dispose.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.channelconnection.dispose.md similarity index 50% rename from packages/iceshrimp-js/markdown/iceshrimp-js.channelconnection.dispose.md rename to packages/iceshrimp-sdk/markdown/iceshrimp-sdk.channelconnection.dispose.md index 964e547fb..fb138b18f 100644 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.channelconnection.dispose.md +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.channelconnection.dispose.md @@ -1,6 +1,6 @@ -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [ChannelConnection](./iceshrimp-js.channelconnection.md) > [dispose](./iceshrimp-js.channelconnection.dispose.md) +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [ChannelConnection](./iceshrimp-sdk.channelconnection.md) > [dispose](./iceshrimp-sdk.channelconnection.dispose.md) ## ChannelConnection.dispose() method diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.channelconnection.id.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.channelconnection.id.md new file mode 100644 index 000000000..036f8cb01 --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.channelconnection.id.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [ChannelConnection](./iceshrimp-sdk.channelconnection.md) > [id](./iceshrimp-sdk.channelconnection.id.md) + +## ChannelConnection.id property + +**Signature:** + +```typescript +abstract id: string; +``` diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.channelconnection.incount.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.channelconnection.incount.md new file mode 100644 index 000000000..640efd8a4 --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.channelconnection.incount.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [ChannelConnection](./iceshrimp-sdk.channelconnection.md) > [inCount](./iceshrimp-sdk.channelconnection.incount.md) + +## ChannelConnection.inCount property + +**Signature:** + +```typescript +inCount: number; +``` diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.channelconnection.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.channelconnection.md new file mode 100644 index 000000000..085b71717 --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.channelconnection.md @@ -0,0 +1,37 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [ChannelConnection](./iceshrimp-sdk.channelconnection.md) + +## ChannelConnection class + +**Signature:** + +```typescript +export declare abstract class Connection = any> extends EventEmitter +``` +**Extends:** EventEmitter<Channel\["events"\]> + +## Constructors + +| Constructor | Modifiers | Description | +| --- | --- | --- | +| [(constructor)(stream, channel, name)](./iceshrimp-sdk.channelconnection._constructor_.md) | | Constructs a new instance of the Connection class | + +## Properties + +| Property | Modifiers | Type | Description | +| --- | --- | --- | --- | +| [channel](./iceshrimp-sdk.channelconnection.channel.md) | | string | | +| [id](./iceshrimp-sdk.channelconnection.id.md) | abstract | string | | +| [inCount](./iceshrimp-sdk.channelconnection.incount.md) | | number | | +| [name?](./iceshrimp-sdk.channelconnection.name.md) | | string | _(Optional)_ | +| [outCount](./iceshrimp-sdk.channelconnection.outcount.md) | | number | | +| [stream](./iceshrimp-sdk.channelconnection.stream.md) | protected | [Stream](./iceshrimp-sdk.stream.md) | | + +## Methods + +| Method | Modifiers | Description | +| --- | --- | --- | +| [dispose()](./iceshrimp-sdk.channelconnection.dispose.md) | abstract | | +| [send(type, body)](./iceshrimp-sdk.channelconnection.send.md) | | | + diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.channelconnection.name.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.channelconnection.name.md new file mode 100644 index 000000000..9017a443a --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.channelconnection.name.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [ChannelConnection](./iceshrimp-sdk.channelconnection.md) > [name](./iceshrimp-sdk.channelconnection.name.md) + +## ChannelConnection.name property + +**Signature:** + +```typescript +name?: string; +``` diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.channelconnection.outcount.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.channelconnection.outcount.md new file mode 100644 index 000000000..db6ce1c44 --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.channelconnection.outcount.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [ChannelConnection](./iceshrimp-sdk.channelconnection.md) > [outCount](./iceshrimp-sdk.channelconnection.outcount.md) + +## ChannelConnection.outCount property + +**Signature:** + +```typescript +outCount: number; +``` diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.channelconnection.send.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.channelconnection.send.md similarity index 50% rename from packages/iceshrimp-js/markdown/iceshrimp-js.channelconnection.send.md rename to packages/iceshrimp-sdk/markdown/iceshrimp-sdk.channelconnection.send.md index 272f76f92..b12aa108c 100644 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.channelconnection.send.md +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.channelconnection.send.md @@ -1,16 +1,13 @@ -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [ChannelConnection](./iceshrimp-js.channelconnection.md) > [send](./iceshrimp-js.channelconnection.send.md) +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [ChannelConnection](./iceshrimp-sdk.channelconnection.md) > [send](./iceshrimp-sdk.channelconnection.send.md) ## ChannelConnection.send() method **Signature:** ```typescript -send( - type: T, - body: Channel["receives"][T], - ): void; +send(type: T, body: Channel["receives"][T]): void; ``` ## Parameters diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.channelconnection.stream.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.channelconnection.stream.md new file mode 100644 index 000000000..88fb73e79 --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.channelconnection.stream.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [ChannelConnection](./iceshrimp-sdk.channelconnection.md) > [stream](./iceshrimp-sdk.channelconnection.stream.md) + +## ChannelConnection.stream property + +**Signature:** + +```typescript +protected stream: Stream; +``` diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.channels.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.channels.md new file mode 100644 index 000000000..ec41d5da0 --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.channels.md @@ -0,0 +1,143 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [Channels](./iceshrimp-sdk.channels.md) + +## Channels type + +**Signature:** + +```typescript +export type Channels = { + main: { + params: null; + events: { + notification: (payload: Notification) => void; + mention: (payload: Note) => void; + reply: (payload: Note) => void; + renote: (payload: Note) => void; + follow: (payload: User) => void; + followed: (payload: User) => void; + unfollow: (payload: User) => void; + meUpdated: (payload: MeDetailed) => void; + pageEvent: (payload: PageEvent) => void; + urlUploadFinished: (payload: { + marker: string; + file: DriveFile; + }) => void; + readAllNotifications: () => void; + unreadNotification: (payload: Notification) => void; + unreadMention: (payload: Note["id"]) => void; + readAllUnreadMentions: () => void; + unreadSpecifiedNote: (payload: Note["id"]) => void; + readAllUnreadSpecifiedNotes: () => void; + readAllMessagingMessages: () => void; + messagingMessage: (payload: MessagingMessage) => void; + unreadMessagingMessage: (payload: MessagingMessage) => void; + readAllAntennas: () => void; + unreadAntenna: (payload: Antenna) => void; + readAllAnnouncements: () => void; + readAllChannels: () => void; + unreadChannel: (payload: Note["id"]) => void; + myTokenRegenerated: () => void; + reversiNoInvites: () => void; + reversiInvited: (payload: FIXME) => void; + signin: (payload: FIXME) => void; + registryUpdated: (payload: { + scope?: string[]; + key: string; + value: any | null; + }) => void; + driveFileCreated: (payload: DriveFile) => void; + readAntenna: (payload: Antenna) => void; + }; + receives: null; + }; + homeTimeline: { + params: null; + events: { + note: (payload: Note) => void; + }; + receives: null; + }; + localTimeline: { + params: null; + events: { + note: (payload: Note) => void; + }; + receives: null; + }; + hybridTimeline: { + params: null; + events: { + note: (payload: Note) => void; + }; + receives: null; + }; + recommendedTimeline: { + params: null; + events: { + note: (payload: Note) => void; + }; + receives: null; + }; + globalTimeline: { + params: null; + events: { + note: (payload: Note) => void; + }; + receives: null; + }; + antenna: { + params: { + antennaId: Antenna["id"]; + }; + events: { + note: (payload: Note) => void; + }; + receives: null; + }; + messaging: { + params: { + otherparty?: User["id"] | null; + group?: UserGroup["id"] | null; + }; + events: { + message: (payload: MessagingMessage) => void; + deleted: (payload: MessagingMessage["id"]) => void; + read: (payload: MessagingMessage["id"][]) => void; + typers: (payload: User[]) => void; + }; + receives: { + read: { + id: MessagingMessage["id"]; + }; + }; + }; + serverStats: { + params: null; + events: { + stats: (payload: FIXME) => void; + }; + receives: { + requestLog: { + id: string | number; + length: number; + }; + }; + }; + queueStats: { + params: null; + events: { + stats: (payload: FIXME) => void; + }; + receives: { + requestLog: { + id: string | number; + length: number; + }; + }; + }; +}; +``` +**References:** [Note](./iceshrimp-sdk.entities.note.md), [User](./iceshrimp-sdk.entities.user.md), [MeDetailed](./iceshrimp-sdk.entities.medetailed.md), [PageEvent](./iceshrimp-sdk.entities.pageevent.md), [DriveFile](./iceshrimp-sdk.entities.drivefile.md), [MessagingMessage](./iceshrimp-sdk.entities.messagingmessage.md), [Antenna](./iceshrimp-sdk.entities.antenna.md), [UserGroup](./iceshrimp-sdk.entities.usergroup.md) + diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.endpoints.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.endpoints.md new file mode 100644 index 000000000..122437fad --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.endpoints.md @@ -0,0 +1,1859 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [Endpoints](./iceshrimp-sdk.endpoints.md) + +## Endpoints type + +**Signature:** + +```typescript +export type Endpoints = { + "admin/abuse-user-reports": { + req: TODO; + res: TODO; + }; + "admin/delete-all-files-of-a-user": { + req: { + userId: User["id"]; + }; + res: null; + }; + "admin/delete-logs": { + req: NoParams; + res: null; + }; + "admin/get-index-stats": { + req: TODO; + res: TODO; + }; + "admin/get-table-stats": { + req: TODO; + res: TODO; + }; + "admin/invite": { + req: TODO; + res: TODO; + }; + "admin/logs": { + req: TODO; + res: TODO; + }; + "admin/meta": { + req: TODO; + res: TODO; + }; + "admin/reset-password": { + req: TODO; + res: TODO; + }; + "admin/resolve-abuse-user-report": { + req: TODO; + res: TODO; + }; + "admin/resync-chart": { + req: TODO; + res: TODO; + }; + "admin/send-email": { + req: TODO; + res: TODO; + }; + "admin/server-info": { + req: TODO; + res: TODO; + }; + "admin/show-moderation-logs": { + req: TODO; + res: TODO; + }; + "admin/show-user": { + req: TODO; + res: TODO; + }; + "admin/show-users": { + req: TODO; + res: TODO; + }; + "admin/silence-user": { + req: TODO; + res: TODO; + }; + "admin/suspend-user": { + req: TODO; + res: TODO; + }; + "admin/unsilence-user": { + req: TODO; + res: TODO; + }; + "admin/unsuspend-user": { + req: TODO; + res: TODO; + }; + "admin/update-meta": { + req: TODO; + res: TODO; + }; + "admin/vacuum": { + req: TODO; + res: TODO; + }; + "admin/accounts/create": { + req: TODO; + res: TODO; + }; + "admin/announcements/create": { + req: TODO; + res: TODO; + }; + "admin/announcements/delete": { + req: { + id: Announcement["id"]; + }; + res: null; + }; + "admin/announcements/list": { + req: TODO; + res: TODO; + }; + "admin/announcements/update": { + req: TODO; + res: TODO; + }; + "admin/drive/clean-remote-files": { + req: TODO; + res: TODO; + }; + "admin/drive/cleanup": { + req: TODO; + res: TODO; + }; + "admin/drive/files": { + req: TODO; + res: TODO; + }; + "admin/drive/show-file": { + req: TODO; + res: TODO; + }; + "admin/emoji/add": { + req: TODO; + res: TODO; + }; + "admin/emoji/copy": { + req: TODO; + res: TODO; + }; + "admin/emoji/list-remote": { + req: TODO; + res: TODO; + }; + "admin/emoji/list": { + req: TODO; + res: TODO; + }; + "admin/emoji/remove": { + req: TODO; + res: TODO; + }; + "admin/emoji/update": { + req: TODO; + res: TODO; + }; + "admin/federation/delete-all-files": { + req: { + host: string; + }; + res: null; + }; + "admin/federation/refresh-remote-instance-metadata": { + req: TODO; + res: TODO; + }; + "admin/federation/remove-all-following": { + req: TODO; + res: TODO; + }; + "admin/federation/update-instance": { + req: TODO; + res: TODO; + }; + "admin/moderators/add": { + req: TODO; + res: TODO; + }; + "admin/moderators/remove": { + req: TODO; + res: TODO; + }; + "admin/promo/create": { + req: TODO; + res: TODO; + }; + "admin/queue/clear": { + req: TODO; + res: TODO; + }; + "admin/queue/deliver-delayed": { + req: TODO; + res: TODO; + }; + "admin/queue/inbox-delayed": { + req: TODO; + res: TODO; + }; + "admin/queue/jobs": { + req: TODO; + res: TODO; + }; + "admin/queue/stats": { + req: TODO; + res: TODO; + }; + "admin/relays/add": { + req: TODO; + res: TODO; + }; + "admin/relays/list": { + req: TODO; + res: TODO; + }; + "admin/relays/remove": { + req: TODO; + res: TODO; + }; + announcements: { + req: { + limit?: number; + withUnreads?: boolean; + sinceId?: Announcement["id"]; + untilId?: Announcement["id"]; + }; + res: Announcement[]; + }; + "antennas/create": { + req: TODO; + res: Antenna; + }; + "antennas/delete": { + req: { + antennaId: Antenna["id"]; + }; + res: null; + }; + "antennas/list": { + req: NoParams; + res: Antenna[]; + }; + "antennas/notes": { + req: { + antennaId: Antenna["id"]; + limit?: number; + sinceId?: Note["id"]; + untilId?: Note["id"]; + }; + res: Note[]; + }; + "antennas/show": { + req: { + antennaId: Antenna["id"]; + }; + res: Antenna; + }; + "antennas/update": { + req: TODO; + res: Antenna; + }; + "antennas/mark-read": { + req: TODO; + res: Antenna; + }; + "ap/get": { + req: { + uri: string; + }; + res: Record; + }; + "ap/show": { + req: { + uri: string; + }; + res: { + type: "Note"; + object: Note; + } | { + type: "User"; + object: UserDetailed; + }; + }; + "app/create": { + req: TODO; + res: App; + }; + "app/show": { + req: { + appId: App["id"]; + }; + res: App; + }; + "auth/accept": { + req: { + token: string; + }; + res: null; + }; + "auth/session/generate": { + req: { + appSecret: string; + }; + res: { + token: string; + url: string; + }; + }; + "auth/session/show": { + req: { + token: string; + }; + res: AuthSession; + }; + "auth/session/userkey": { + req: { + appSecret: string; + token: string; + }; + res: { + accessToken: string; + user: User; + }; + }; + "blocking/create": { + req: { + userId: User["id"]; + }; + res: UserDetailed; + }; + "blocking/delete": { + req: { + userId: User["id"]; + }; + res: UserDetailed; + }; + "blocking/list": { + req: { + limit?: number; + sinceId?: Blocking["id"]; + untilId?: Blocking["id"]; + }; + res: Blocking[]; + }; + "channels/create": { + req: TODO; + res: TODO; + }; + "channels/featured": { + req: TODO; + res: TODO; + }; + "channels/follow": { + req: TODO; + res: TODO; + }; + "channels/followed": { + req: TODO; + res: TODO; + }; + "channels/owned": { + req: TODO; + res: TODO; + }; + "channels/pin-note": { + req: TODO; + res: TODO; + }; + "channels/show": { + req: TODO; + res: TODO; + }; + "channels/timeline": { + req: TODO; + res: TODO; + }; + "channels/unfollow": { + req: TODO; + res: TODO; + }; + "channels/update": { + req: TODO; + res: TODO; + }; + "charts/active-users": { + req: { + span: "day" | "hour"; + limit?: number; + offset?: number | null; + }; + res: { + local: { + users: number[]; + }; + remote: { + users: number[]; + }; + }; + }; + "charts/drive": { + req: { + span: "day" | "hour"; + limit?: number; + offset?: number | null; + }; + res: { + local: { + decCount: number[]; + decSize: number[]; + incCount: number[]; + incSize: number[]; + totalCount: number[]; + totalSize: number[]; + }; + remote: { + decCount: number[]; + decSize: number[]; + incCount: number[]; + incSize: number[]; + totalCount: number[]; + totalSize: number[]; + }; + }; + }; + "charts/federation": { + req: { + span: "day" | "hour"; + limit?: number; + offset?: number | null; + }; + res: { + instance: { + dec: number[]; + inc: number[]; + total: number[]; + }; + }; + }; + "charts/hashtag": { + req: { + span: "day" | "hour"; + limit?: number; + offset?: number | null; + }; + res: TODO; + }; + "charts/instance": { + req: { + span: "day" | "hour"; + limit?: number; + offset?: number | null; + host: string; + }; + res: { + drive: { + decFiles: number[]; + decUsage: number[]; + incFiles: number[]; + incUsage: number[]; + totalFiles: number[]; + totalUsage: number[]; + }; + followers: { + dec: number[]; + inc: number[]; + total: number[]; + }; + following: { + dec: number[]; + inc: number[]; + total: number[]; + }; + notes: { + dec: number[]; + inc: number[]; + total: number[]; + diffs: { + normal: number[]; + renote: number[]; + reply: number[]; + }; + }; + requests: { + failed: number[]; + received: number[]; + succeeded: number[]; + }; + users: { + dec: number[]; + inc: number[]; + total: number[]; + }; + }; + }; + "charts/network": { + req: { + span: "day" | "hour"; + limit?: number; + offset?: number | null; + }; + res: TODO; + }; + "charts/notes": { + req: { + span: "day" | "hour"; + limit?: number; + offset?: number | null; + }; + res: { + local: { + dec: number[]; + inc: number[]; + total: number[]; + diffs: { + normal: number[]; + renote: number[]; + reply: number[]; + }; + }; + remote: { + dec: number[]; + inc: number[]; + total: number[]; + diffs: { + normal: number[]; + renote: number[]; + reply: number[]; + }; + }; + }; + }; + "charts/user/drive": { + req: { + span: "day" | "hour"; + limit?: number; + offset?: number | null; + userId: User["id"]; + }; + res: { + decCount: number[]; + decSize: number[]; + incCount: number[]; + incSize: number[]; + totalCount: number[]; + totalSize: number[]; + }; + }; + "charts/user/following": { + req: { + span: "day" | "hour"; + limit?: number; + offset?: number | null; + userId: User["id"]; + }; + res: TODO; + }; + "charts/user/notes": { + req: { + span: "day" | "hour"; + limit?: number; + offset?: number | null; + userId: User["id"]; + }; + res: { + dec: number[]; + inc: number[]; + total: number[]; + diffs: { + normal: number[]; + renote: number[]; + reply: number[]; + }; + }; + }; + "charts/user/reactions": { + req: { + span: "day" | "hour"; + limit?: number; + offset?: number | null; + userId: User["id"]; + }; + res: TODO; + }; + "charts/users": { + req: { + span: "day" | "hour"; + limit?: number; + offset?: number | null; + }; + res: { + local: { + dec: number[]; + inc: number[]; + total: number[]; + }; + remote: { + dec: number[]; + inc: number[]; + total: number[]; + }; + }; + }; + "clips/add-note": { + req: TODO; + res: TODO; + }; + "clips/create": { + req: TODO; + res: TODO; + }; + "clips/delete": { + req: { + clipId: Clip["id"]; + }; + res: null; + }; + "clips/list": { + req: TODO; + res: TODO; + }; + "clips/notes": { + req: TODO; + res: TODO; + }; + "clips/show": { + req: TODO; + res: TODO; + }; + "clips/update": { + req: TODO; + res: TODO; + }; + drive: { + req: NoParams; + res: { + capacity: number; + usage: number; + }; + }; + "drive/files": { + req: { + folderId?: DriveFolder["id"] | null; + type?: DriveFile["type"] | null; + limit?: number; + sinceId?: DriveFile["id"]; + untilId?: DriveFile["id"]; + }; + res: DriveFile[]; + }; + "drive/files/attached-notes": { + req: TODO; + res: TODO; + }; + "drive/files/check-existence": { + req: TODO; + res: TODO; + }; + "drive/files/create": { + req: TODO; + res: TODO; + }; + "drive/files/delete": { + req: { + fileId: DriveFile["id"]; + }; + res: null; + }; + "drive/files/find-by-hash": { + req: TODO; + res: TODO; + }; + "drive/files/find": { + req: { + name: string; + folderId?: DriveFolder["id"] | null; + }; + res: DriveFile[]; + }; + "drive/files/show": { + req: { + fileId?: DriveFile["id"]; + url?: string; + }; + res: DriveFile; + }; + "drive/files/update": { + req: { + fileId: DriveFile["id"]; + folderId?: DriveFolder["id"] | null; + name?: string; + isSensitive?: boolean; + comment?: string | null; + }; + res: DriveFile; + }; + "drive/files/upload-from-url": { + req: { + url: string; + folderId?: DriveFolder["id"] | null; + isSensitive?: boolean; + comment?: string | null; + marker?: string | null; + force?: boolean; + }; + res: null; + }; + "drive/folders": { + req: { + folderId?: DriveFolder["id"] | null; + limit?: number; + sinceId?: DriveFile["id"]; + untilId?: DriveFile["id"]; + }; + res: DriveFolder[]; + }; + "drive/folders/create": { + req: { + name?: string; + parentId?: DriveFolder["id"] | null; + }; + res: DriveFolder; + }; + "drive/folders/delete": { + req: { + folderId: DriveFolder["id"]; + }; + res: null; + }; + "drive/folders/find": { + req: { + name: string; + parentId?: DriveFolder["id"] | null; + }; + res: DriveFolder[]; + }; + "drive/folders/show": { + req: { + folderId: DriveFolder["id"]; + }; + res: DriveFolder; + }; + "drive/folders/update": { + req: { + folderId: DriveFolder["id"]; + name?: string; + parentId?: DriveFolder["id"] | null; + }; + res: DriveFolder; + }; + "drive/stream": { + req: { + type?: DriveFile["type"] | null; + limit?: number; + sinceId?: DriveFile["id"]; + untilId?: DriveFile["id"]; + }; + res: DriveFile[]; + }; + endpoint: { + req: { + endpoint: string; + }; + res: { + params: { + name: string; + type: string; + }[]; + }; + }; + endpoints: { + req: NoParams; + res: string[]; + }; + "federation/dns": { + req: { + host: string; + }; + res: { + a: string[]; + aaaa: string[]; + cname: string[]; + txt: string[]; + }; + }; + "federation/followers": { + req: { + host: string; + limit?: number; + sinceId?: Following["id"]; + untilId?: Following["id"]; + }; + res: FollowingFolloweePopulated[]; + }; + "federation/following": { + req: { + host: string; + limit?: number; + sinceId?: Following["id"]; + untilId?: Following["id"]; + }; + res: FollowingFolloweePopulated[]; + }; + "federation/instances": { + req: { + host?: string | null; + blocked?: boolean | null; + notResponding?: boolean | null; + suspended?: boolean | null; + federating?: boolean | null; + subscribing?: boolean | null; + publishing?: boolean | null; + limit?: number; + offset?: number; + sort?: "+pubSub" | "-pubSub" | "+notes" | "-notes" | "+users" | "-users" | "+following" | "-following" | "+followers" | "-followers" | "+caughtAt" | "-caughtAt" | "+lastCommunicatedAt" | "-lastCommunicatedAt" | "+driveUsage" | "-driveUsage" | "+driveFiles" | "-driveFiles"; + }; + res: Instance[]; + }; + "federation/show-instance": { + req: { + host: string; + }; + res: Instance; + }; + "federation/update-remote-user": { + req: { + userId: User["id"]; + }; + res: null; + }; + "federation/users": { + req: { + host: string; + limit?: number; + sinceId?: User["id"]; + untilId?: User["id"]; + }; + res: UserDetailed[]; + }; + "following/create": { + req: { + userId: User["id"]; + }; + res: User; + }; + "following/delete": { + req: { + userId: User["id"]; + }; + res: User; + }; + "following/requests/accept": { + req: { + userId: User["id"]; + }; + res: null; + }; + "following/requests/cancel": { + req: { + userId: User["id"]; + }; + res: User; + }; + "following/requests/list": { + req: NoParams; + res: FollowRequest[]; + }; + "following/requests/reject": { + req: { + userId: User["id"]; + }; + res: null; + }; + "gallery/featured": { + req: TODO; + res: TODO; + }; + "gallery/popular": { + req: TODO; + res: TODO; + }; + "gallery/posts": { + req: TODO; + res: TODO; + }; + "gallery/posts/create": { + req: TODO; + res: TODO; + }; + "gallery/posts/delete": { + req: { + postId: GalleryPost["id"]; + }; + res: null; + }; + "gallery/posts/like": { + req: TODO; + res: TODO; + }; + "gallery/posts/show": { + req: TODO; + res: TODO; + }; + "gallery/posts/unlike": { + req: TODO; + res: TODO; + }; + "gallery/posts/update": { + req: TODO; + res: TODO; + }; + "games/reversi/games": { + req: TODO; + res: TODO; + }; + "games/reversi/games/show": { + req: TODO; + res: TODO; + }; + "games/reversi/games/surrender": { + req: TODO; + res: TODO; + }; + "games/reversi/invitations": { + req: TODO; + res: TODO; + }; + "games/reversi/match": { + req: TODO; + res: TODO; + }; + "games/reversi/match/cancel": { + req: TODO; + res: TODO; + }; + "get-online-users-count": { + req: NoParams; + res: { + count: number; + }; + }; + "hashtags/list": { + req: TODO; + res: TODO; + }; + "hashtags/search": { + req: TODO; + res: TODO; + }; + "hashtags/show": { + req: TODO; + res: TODO; + }; + "hashtags/trend": { + req: TODO; + res: TODO; + }; + "hashtags/users": { + req: TODO; + res: TODO; + }; + i: { + req: NoParams; + res: User; + }; + "i/apps": { + req: TODO; + res: TODO; + }; + "i/authorized-apps": { + req: TODO; + res: TODO; + }; + "i/change-password": { + req: TODO; + res: TODO; + }; + "i/delete-account": { + req: { + password: string; + }; + res: null; + }; + "i/export-blocking": { + req: TODO; + res: TODO; + }; + "i/export-following": { + req: TODO; + res: TODO; + }; + "i/export-mute": { + req: TODO; + res: TODO; + }; + "i/export-notes": { + req: TODO; + res: TODO; + }; + "i/export-user-lists": { + req: TODO; + res: TODO; + }; + "i/favorites": { + req: { + limit?: number; + sinceId?: NoteFavorite["id"]; + untilId?: NoteFavorite["id"]; + }; + res: NoteFavorite[]; + }; + "i/gallery/likes": { + req: TODO; + res: TODO; + }; + "i/gallery/posts": { + req: TODO; + res: TODO; + }; + "i/import-following": { + req: TODO; + res: TODO; + }; + "i/import-user-lists": { + req: TODO; + res: TODO; + }; + "i/move": { + req: TODO; + res: TODO; + }; + "i/known-as": { + req: TODO; + res: TODO; + }; + "i/notifications": { + req: { + limit?: number; + sinceId?: Notification["id"]; + untilId?: Notification["id"]; + following?: boolean; + markAsRead?: boolean; + includeTypes?: Notification["type"][]; + excludeTypes?: Notification["type"][]; + }; + res: Notification[]; + }; + "i/page-likes": { + req: TODO; + res: TODO; + }; + "i/pages": { + req: TODO; + res: TODO; + }; + "i/pin": { + req: { + noteId: Note["id"]; + }; + res: MeDetailed; + }; + "i/read-all-messaging-messages": { + req: TODO; + res: TODO; + }; + "i/read-all-unread-notes": { + req: TODO; + res: TODO; + }; + "i/read-announcement": { + req: TODO; + res: TODO; + }; + "i/regenerate-token": { + req: { + password: string; + }; + res: null; + }; + "i/registry/get-all": { + req: { + scope?: string[]; + }; + res: Record; + }; + "i/registry/get-detail": { + req: { + key: string; + scope?: string[]; + }; + res: { + updatedAt: DateString; + value: any; + }; + }; + "i/registry/get": { + req: { + key: string; + scope?: string[]; + }; + res: any; + }; + "i/registry/keys-with-type": { + req: { + scope?: string[]; + }; + res: Record; + }; + "i/registry/keys": { + req: { + scope?: string[]; + }; + res: string[]; + }; + "i/registry/remove": { + req: { + key: string; + scope?: string[]; + }; + res: null; + }; + "i/registry/scopes": { + req: NoParams; + res: string[][]; + }; + "i/registry/set": { + req: { + key: string; + value: any; + scope?: string[]; + }; + res: null; + }; + "i/revoke-token": { + req: TODO; + res: TODO; + }; + "i/signin-history": { + req: { + limit?: number; + sinceId?: Signin["id"]; + untilId?: Signin["id"]; + }; + res: Signin[]; + }; + "i/unpin": { + req: { + noteId: Note["id"]; + }; + res: MeDetailed; + }; + "i/update-email": { + req: { + password: string; + email?: string | null; + }; + res: MeDetailed; + }; + "i/update": { + req: { + name?: string | null; + description?: string | null; + lang?: string | null; + location?: string | null; + birthday?: string | null; + avatarId?: DriveFile["id"] | null; + bannerId?: DriveFile["id"] | null; + fields?: { + name: string; + value: string; + }[]; + isLocked?: boolean; + isExplorable?: boolean; + hideOnlineStatus?: boolean; + carefulBot?: boolean; + autoAcceptFollowed?: boolean; + noCrawle?: boolean; + preventAiLearning?: boolean; + isBot?: boolean; + isCat?: boolean; + injectFeaturedNote?: boolean; + receiveAnnouncementEmail?: boolean; + alwaysMarkNsfw?: boolean; + mutedWords?: string[][]; + mutingNotificationTypes?: Notification["type"][]; + emailNotificationTypes?: string[]; + }; + res: MeDetailed; + }; + "i/user-group-invites": { + req: TODO; + res: TODO; + }; + "i/2fa/done": { + req: TODO; + res: TODO; + }; + "i/2fa/key-done": { + req: TODO; + res: TODO; + }; + "i/2fa/password-less": { + req: TODO; + res: TODO; + }; + "i/2fa/register-key": { + req: TODO; + res: TODO; + }; + "i/2fa/register": { + req: TODO; + res: TODO; + }; + "i/2fa/update-key": { + req: TODO; + res: TODO; + }; + "i/2fa/remove-key": { + req: TODO; + res: TODO; + }; + "i/2fa/unregister": { + req: TODO; + res: TODO; + }; + "messaging/history": { + req: { + limit?: number; + group?: boolean; + }; + res: MessagingMessage[]; + }; + "messaging/messages": { + req: { + userId?: User["id"]; + groupId?: UserGroup["id"]; + limit?: number; + sinceId?: MessagingMessage["id"]; + untilId?: MessagingMessage["id"]; + markAsRead?: boolean; + }; + res: MessagingMessage[]; + }; + "messaging/messages/create": { + req: { + userId?: User["id"]; + groupId?: UserGroup["id"]; + text?: string; + fileId?: DriveFile["id"]; + }; + res: MessagingMessage; + }; + "messaging/messages/delete": { + req: { + messageId: MessagingMessage["id"]; + }; + res: null; + }; + "messaging/messages/read": { + req: { + messageId: MessagingMessage["id"]; + }; + res: null; + }; + meta: { + req: { + detail?: boolean; + }; + res: { + $switch: { + $cases: [ + [ + { + detail: true; + }, + DetailedInstanceMetadata + ], + [ + { + detail: false; + }, + LiteInstanceMetadata + ], + [ + { + detail: boolean; + }, + LiteInstanceMetadata | DetailedInstanceMetadata + ] + ]; + $default: LiteInstanceMetadata; + }; + }; + }; + "miauth/gen-token": { + req: TODO; + res: TODO; + }; + "mute/create": { + req: TODO; + res: TODO; + }; + "mute/delete": { + req: { + userId: User["id"]; + }; + res: null; + }; + "mute/list": { + req: TODO; + res: TODO; + }; + "renote-mute/create": { + req: TODO; + res: TODO; + }; + "renote-mute/delete": { + req: { + userId: User["id"]; + }; + res: null; + }; + "renote-mute/list": { + req: TODO; + res: TODO; + }; + "my/apps": { + req: TODO; + res: TODO; + }; + notes: { + req: { + limit?: number; + sinceId?: Note["id"]; + untilId?: Note["id"]; + }; + res: Note[]; + }; + "notes/children": { + req: { + noteId: Note["id"]; + limit?: number; + sinceId?: Note["id"]; + untilId?: Note["id"]; + }; + res: Note[]; + }; + "notes/clips": { + req: TODO; + res: TODO; + }; + "notes/conversation": { + req: TODO; + res: TODO; + }; + "notes/create": { + req: NoteSubmitReq; + res: { + createdNote: Note; + }; + }; + "notes/delete": { + req: { + noteId: Note["id"]; + }; + res: null; + }; + "notes/edit": { + req: NoteSubmitReq; + res: { + createdNote: Note; + }; + }; + "notes/favorites/create": { + req: { + noteId: Note["id"]; + }; + res: null; + }; + "notes/favorites/delete": { + req: { + noteId: Note["id"]; + }; + res: null; + }; + "notes/featured": { + req: TODO; + res: Note[]; + }; + "notes/global-timeline": { + req: { + limit?: number; + sinceId?: Note["id"]; + untilId?: Note["id"]; + sinceDate?: number; + untilDate?: number; + }; + res: Note[]; + }; + "notes/recommended-timeline": { + req: { + limit?: number; + sinceId?: Note["id"]; + untilId?: Note["id"]; + sinceDate?: number; + untilDate?: number; + }; + res: Note[]; + }; + "notes/hybrid-timeline": { + req: { + limit?: number; + sinceId?: Note["id"]; + untilId?: Note["id"]; + sinceDate?: number; + untilDate?: number; + }; + res: Note[]; + }; + "notes/local-timeline": { + req: { + limit?: number; + sinceId?: Note["id"]; + untilId?: Note["id"]; + sinceDate?: number; + untilDate?: number; + }; + res: Note[]; + }; + "notes/mentions": { + req: { + following?: boolean; + limit?: number; + sinceId?: Note["id"]; + untilId?: Note["id"]; + }; + res: Note[]; + }; + "notes/polls/recommendation": { + req: TODO; + res: TODO; + }; + "notes/polls/vote": { + req: { + noteId: Note["id"]; + choice: number; + }; + res: null; + }; + "notes/reactions": { + req: { + noteId: Note["id"]; + type?: string | null; + limit?: number; + }; + res: NoteReaction[]; + }; + "notes/reactions/create": { + req: { + noteId: Note["id"]; + reaction: string; + }; + res: null; + }; + "notes/reactions/delete": { + req: { + noteId: Note["id"]; + }; + res: null; + }; + "notes/renotes": { + req: { + limit?: number; + sinceId?: Note["id"]; + untilId?: Note["id"]; + noteId: Note["id"]; + }; + res: Note[]; + }; + "notes/replies": { + req: { + limit?: number; + sinceId?: Note["id"]; + untilId?: Note["id"]; + noteId: Note["id"]; + }; + res: Note[]; + }; + "notes/search-by-tag": { + req: TODO; + res: TODO; + }; + "notes/search": { + req: TODO; + res: TODO; + }; + "notes/show": { + req: { + noteId: Note["id"]; + }; + res: Note; + }; + "notes/state": { + req: TODO; + res: TODO; + }; + "notes/timeline": { + req: { + limit?: number; + sinceId?: Note["id"]; + untilId?: Note["id"]; + sinceDate?: number; + untilDate?: number; + }; + res: Note[]; + }; + "notes/unrenote": { + req: { + noteId: Note["id"]; + }; + res: null; + }; + "notes/user-list-timeline": { + req: { + listId: UserList["id"]; + limit?: number; + sinceId?: Note["id"]; + untilId?: Note["id"]; + sinceDate?: number; + untilDate?: number; + }; + res: Note[]; + }; + "notes/watching/create": { + req: TODO; + res: TODO; + }; + "notes/watching/delete": { + req: { + noteId: Note["id"]; + }; + res: null; + }; + "notifications/create": { + req: { + body: string; + header?: string | null; + icon?: string | null; + }; + res: null; + }; + "notifications/mark-all-as-read": { + req: NoParams; + res: null; + }; + "notifications/read": { + req: { + notificationId: Notification["id"]; + }; + res: null; + }; + "page-push": { + req: { + pageId: Page["id"]; + event: string; + var?: any; + }; + res: null; + }; + "pages/create": { + req: TODO; + res: Page; + }; + "pages/delete": { + req: { + pageId: Page["id"]; + }; + res: null; + }; + "pages/featured": { + req: NoParams; + res: Page[]; + }; + "pages/like": { + req: { + pageId: Page["id"]; + }; + res: null; + }; + "pages/show": { + req: { + pageId?: Page["id"]; + name?: string; + username?: string; + }; + res: Page; + }; + "pages/unlike": { + req: { + pageId: Page["id"]; + }; + res: null; + }; + "pages/update": { + req: TODO; + res: null; + }; + ping: { + req: NoParams; + res: { + pong: number; + }; + }; + "pinned-users": { + req: TODO; + res: TODO; + }; + "promo/read": { + req: TODO; + res: TODO; + }; + "request-reset-password": { + req: { + username: string; + email: string; + }; + res: null; + }; + "reset-password": { + req: { + token: string; + password: string; + }; + res: null; + }; + "room/show": { + req: TODO; + res: TODO; + }; + "room/update": { + req: TODO; + res: TODO; + }; + stats: { + req: NoParams; + res: Stats; + }; + "server-info": { + req: NoParams; + res: ServerInfo; + }; + "latest-version": { + req: NoParams; + res: TODO; + }; + "sw/register": { + req: TODO; + res: TODO; + }; + "username/available": { + req: { + username: string; + }; + res: { + available: boolean; + }; + }; + users: { + req: { + limit?: number; + offset?: number; + sort?: UserSorting; + origin?: OriginType; + }; + res: User[]; + }; + "users/clips": { + req: TODO; + res: TODO; + }; + "users/followers": { + req: { + userId?: User["id"]; + username?: User["username"]; + host?: User["host"] | null; + limit?: number; + sinceId?: Following["id"]; + untilId?: Following["id"]; + }; + res: FollowingFollowerPopulated[]; + }; + "users/following": { + req: { + userId?: User["id"]; + username?: User["username"]; + host?: User["host"] | null; + limit?: number; + sinceId?: Following["id"]; + untilId?: Following["id"]; + }; + res: FollowingFolloweePopulated[]; + }; + "users/gallery/posts": { + req: TODO; + res: TODO; + }; + "users/get-frequently-replied-users": { + req: TODO; + res: TODO; + }; + "users/groups/create": { + req: TODO; + res: TODO; + }; + "users/groups/delete": { + req: { + groupId: UserGroup["id"]; + }; + res: null; + }; + "users/groups/invitations/accept": { + req: TODO; + res: TODO; + }; + "users/groups/invitations/reject": { + req: TODO; + res: TODO; + }; + "users/groups/invite": { + req: TODO; + res: TODO; + }; + "users/groups/joined": { + req: TODO; + res: TODO; + }; + "users/groups/owned": { + req: TODO; + res: TODO; + }; + "users/groups/pull": { + req: TODO; + res: TODO; + }; + "users/groups/show": { + req: TODO; + res: TODO; + }; + "users/groups/transfer": { + req: TODO; + res: TODO; + }; + "users/groups/update": { + req: TODO; + res: TODO; + }; + "users/lists/create": { + req: { + name: string; + }; + res: UserList; + }; + "users/lists/delete": { + req: { + listId: UserList["id"]; + }; + res: null; + }; + "users/lists/list": { + req: NoParams; + res: UserList[]; + }; + "users/lists/pull": { + req: { + listId: UserList["id"]; + userId: User["id"]; + }; + res: null; + }; + "users/lists/push": { + req: { + listId: UserList["id"]; + userId: User["id"]; + }; + res: null; + }; + "users/lists/show": { + req: { + listId: UserList["id"]; + }; + res: UserList; + }; + "users/lists/update": { + req: { + listId: UserList["id"]; + name: string; + }; + res: UserList; + }; + "users/notes": { + req: { + userId: User["id"]; + limit?: number; + sinceId?: Note["id"]; + untilId?: Note["id"]; + sinceDate?: number; + untilDate?: number; + }; + res: Note[]; + }; + "users/pages": { + req: TODO; + res: TODO; + }; + "users/recommendation": { + req: TODO; + res: TODO; + }; + "users/relation": { + req: TODO; + res: TODO; + }; + "users/report-abuse": { + req: TODO; + res: TODO; + }; + "users/search-by-username-and-host": { + req: TODO; + res: TODO; + }; + "users/search": { + req: TODO; + res: TODO; + }; + "users/show": { + req: ShowUserReq | { + userIds: User["id"][]; + }; + res: { + $switch: { + $cases: [[{ + userIds: User["id"][]; + }, UserDetailed[]]]; + $default: UserDetailed; + }; + }; + }; + "users/stats": { + req: TODO; + res: TODO; + }; +}; +``` +**References:** [User](./iceshrimp-sdk.entities.user.md), [Announcement](./iceshrimp-sdk.entities.announcement.md), [Antenna](./iceshrimp-sdk.entities.antenna.md), [Note](./iceshrimp-sdk.entities.note.md), [UserDetailed](./iceshrimp-sdk.entities.userdetailed.md), [App](./iceshrimp-sdk.entities.app.md), [AuthSession](./iceshrimp-sdk.entities.authsession.md), [Blocking](./iceshrimp-sdk.entities.blocking.md), [Clip](./iceshrimp-sdk.entities.clip.md), [DriveFolder](./iceshrimp-sdk.entities.drivefolder.md), [DriveFile](./iceshrimp-sdk.entities.drivefile.md), [Following](./iceshrimp-sdk.entities.following.md), [FollowingFolloweePopulated](./iceshrimp-sdk.entities.followingfolloweepopulated.md), [Instance](./iceshrimp-sdk.entities.instance.md), [FollowRequest](./iceshrimp-sdk.entities.followrequest.md), [GalleryPost](./iceshrimp-sdk.entities.gallerypost.md), [NoteFavorite](./iceshrimp-sdk.entities.notefavorite.md), [MeDetailed](./iceshrimp-sdk.entities.medetailed.md), [DateString](./iceshrimp-sdk.entities.datestring.md), [Signin](./iceshrimp-sdk.entities.signin.md), [MessagingMessage](./iceshrimp-sdk.entities.messagingmessage.md), [UserGroup](./iceshrimp-sdk.entities.usergroup.md), [DetailedInstanceMetadata](./iceshrimp-sdk.entities.detailedinstancemetadata.md), [LiteInstanceMetadata](./iceshrimp-sdk.entities.liteinstancemetadata.md), [NoteReaction](./iceshrimp-sdk.entities.notereaction.md), [UserList](./iceshrimp-sdk.entities.userlist.md), [Page](./iceshrimp-sdk.entities.page.md), [Stats](./iceshrimp-sdk.entities.stats.md), [ServerInfo](./iceshrimp-sdk.entities.serverinfo.md), [UserSorting](./iceshrimp-sdk.entities.usersorting.md), [OriginType](./iceshrimp-sdk.entities.origintype.md), [FollowingFollowerPopulated](./iceshrimp-sdk.entities.followingfollowerpopulated.md) + diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.announcement.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.announcement.md new file mode 100644 index 000000000..f9b223c83 --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.announcement.md @@ -0,0 +1,21 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [entities](./iceshrimp-sdk.entities.md) > [Announcement](./iceshrimp-sdk.entities.announcement.md) + +## entities.Announcement type + +**Signature:** + +```typescript +export type Announcement = { + id: ID; + createdAt: DateString; + updatedAt: DateString | null; + text: string; + title: string; + imageUrl: string | null; + isRead?: boolean; +}; +``` +**References:** [ID](./iceshrimp-sdk.entities.id.md), [DateString](./iceshrimp-sdk.entities.datestring.md) + diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.antenna.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.antenna.md new file mode 100644 index 000000000..d68b00b61 --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.antenna.md @@ -0,0 +1,29 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [entities](./iceshrimp-sdk.entities.md) > [Antenna](./iceshrimp-sdk.entities.antenna.md) + +## entities.Antenna type + +**Signature:** + +```typescript +export type Antenna = { + id: ID; + createdAt: DateString; + name: string; + keywords: string[][]; + excludeKeywords: string[][]; + src: "home" | "all" | "users" | "list" | "group" | "instances"; + userListId: ID | null; + userGroupId: ID | null; + users: string[]; + instances: string[]; + caseSensitive: boolean; + notify: boolean; + withReplies: boolean; + withFile: boolean; + hasUnreadNote: boolean; +}; +``` +**References:** [ID](./iceshrimp-sdk.entities.id.md), [DateString](./iceshrimp-sdk.entities.datestring.md) + diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.app.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.app.md new file mode 100644 index 000000000..12be073ec --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.app.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [entities](./iceshrimp-sdk.entities.md) > [App](./iceshrimp-sdk.entities.app.md) + +## entities.App type + +**Signature:** + +```typescript +export type App = TODO; +``` diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.authsession.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.authsession.md new file mode 100644 index 000000000..a9ec8fbee --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.authsession.md @@ -0,0 +1,17 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [entities](./iceshrimp-sdk.entities.md) > [AuthSession](./iceshrimp-sdk.entities.authsession.md) + +## entities.AuthSession type + +**Signature:** + +```typescript +export type AuthSession = { + id: ID; + app: App; + token: string; +}; +``` +**References:** [ID](./iceshrimp-sdk.entities.id.md), [App](./iceshrimp-sdk.entities.app.md) + diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.blocking.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.blocking.md new file mode 100644 index 000000000..4baf16fb0 --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.blocking.md @@ -0,0 +1,18 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [entities](./iceshrimp-sdk.entities.md) > [Blocking](./iceshrimp-sdk.entities.blocking.md) + +## entities.Blocking type + +**Signature:** + +```typescript +export type Blocking = { + id: ID; + createdAt: DateString; + blockeeId: User["id"]; + blockee: UserDetailed; +}; +``` +**References:** [ID](./iceshrimp-sdk.entities.id.md), [DateString](./iceshrimp-sdk.entities.datestring.md), [User](./iceshrimp-sdk.entities.user.md), [UserDetailed](./iceshrimp-sdk.entities.userdetailed.md) + diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.channel.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.channel.md new file mode 100644 index 000000000..4d8e72787 --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.channel.md @@ -0,0 +1,15 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [entities](./iceshrimp-sdk.entities.md) > [Channel](./iceshrimp-sdk.entities.channel.md) + +## entities.Channel type + +**Signature:** + +```typescript +export type Channel = { + id: ID; +}; +``` +**References:** [ID](./iceshrimp-sdk.entities.id.md) + diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.clip.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.clip.md new file mode 100644 index 000000000..0cb2b7fd4 --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.clip.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [entities](./iceshrimp-sdk.entities.md) > [Clip](./iceshrimp-sdk.entities.clip.md) + +## entities.Clip type + +**Signature:** + +```typescript +export type Clip = TODO; +``` diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.customemoji.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.customemoji.md new file mode 100644 index 000000000..1105deff6 --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.customemoji.md @@ -0,0 +1,17 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [entities](./iceshrimp-sdk.entities.md) > [CustomEmoji](./iceshrimp-sdk.entities.customemoji.md) + +## entities.CustomEmoji type + +**Signature:** + +```typescript +export type CustomEmoji = { + id: string; + name: string; + url: string; + category: string; + aliases: string[]; +}; +``` diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.datestring.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.datestring.md new file mode 100644 index 000000000..890cf9048 --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.datestring.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [entities](./iceshrimp-sdk.entities.md) > [DateString](./iceshrimp-sdk.entities.datestring.md) + +## entities.DateString type + +**Signature:** + +```typescript +export type DateString = string; +``` diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.detailedinstancemetadata.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.detailedinstancemetadata.md new file mode 100644 index 000000000..b184ff2c3 --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.detailedinstancemetadata.md @@ -0,0 +1,15 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [entities](./iceshrimp-sdk.entities.md) > [DetailedInstanceMetadata](./iceshrimp-sdk.entities.detailedinstancemetadata.md) + +## entities.DetailedInstanceMetadata type + +**Signature:** + +```typescript +export type DetailedInstanceMetadata = LiteInstanceMetadata & { + features: Record; +}; +``` +**References:** [LiteInstanceMetadata](./iceshrimp-sdk.entities.liteinstancemetadata.md) + diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.drivefile.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.drivefile.md new file mode 100644 index 000000000..3504f3569 --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.drivefile.md @@ -0,0 +1,26 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [entities](./iceshrimp-sdk.entities.md) > [DriveFile](./iceshrimp-sdk.entities.drivefile.md) + +## entities.DriveFile type + +**Signature:** + +```typescript +export type DriveFile = { + id: ID; + createdAt: DateString; + isSensitive: boolean; + name: string; + thumbnailUrl: string; + url: string; + type: string; + size: number; + md5: string; + blurhash: string; + comment: string | null; + properties: Record; +}; +``` +**References:** [ID](./iceshrimp-sdk.entities.id.md), [DateString](./iceshrimp-sdk.entities.datestring.md) + diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.drivefolder.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.drivefolder.md new file mode 100644 index 000000000..58723b2ca --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.drivefolder.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [entities](./iceshrimp-sdk.entities.md) > [DriveFolder](./iceshrimp-sdk.entities.drivefolder.md) + +## entities.DriveFolder type + +**Signature:** + +```typescript +export type DriveFolder = TODO; +``` diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.following.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.following.md new file mode 100644 index 000000000..d3a220193 --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.following.md @@ -0,0 +1,18 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [entities](./iceshrimp-sdk.entities.md) > [Following](./iceshrimp-sdk.entities.following.md) + +## entities.Following type + +**Signature:** + +```typescript +export type Following = { + id: ID; + createdAt: DateString; + followerId: User["id"]; + followeeId: User["id"]; +}; +``` +**References:** [ID](./iceshrimp-sdk.entities.id.md), [DateString](./iceshrimp-sdk.entities.datestring.md), [User](./iceshrimp-sdk.entities.user.md) + diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.followingfolloweepopulated.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.followingfolloweepopulated.md new file mode 100644 index 000000000..cc411defb --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.followingfolloweepopulated.md @@ -0,0 +1,15 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [entities](./iceshrimp-sdk.entities.md) > [FollowingFolloweePopulated](./iceshrimp-sdk.entities.followingfolloweepopulated.md) + +## entities.FollowingFolloweePopulated type + +**Signature:** + +```typescript +export type FollowingFolloweePopulated = Following & { + followee: UserDetailed; +}; +``` +**References:** [Following](./iceshrimp-sdk.entities.following.md), [UserDetailed](./iceshrimp-sdk.entities.userdetailed.md) + diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.followingfollowerpopulated.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.followingfollowerpopulated.md new file mode 100644 index 000000000..5baba5c05 --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.followingfollowerpopulated.md @@ -0,0 +1,15 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [entities](./iceshrimp-sdk.entities.md) > [FollowingFollowerPopulated](./iceshrimp-sdk.entities.followingfollowerpopulated.md) + +## entities.FollowingFollowerPopulated type + +**Signature:** + +```typescript +export type FollowingFollowerPopulated = Following & { + follower: UserDetailed; +}; +``` +**References:** [Following](./iceshrimp-sdk.entities.following.md), [UserDetailed](./iceshrimp-sdk.entities.userdetailed.md) + diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.followrequest.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.followrequest.md new file mode 100644 index 000000000..beff1fabc --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.followrequest.md @@ -0,0 +1,17 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [entities](./iceshrimp-sdk.entities.md) > [FollowRequest](./iceshrimp-sdk.entities.followrequest.md) + +## entities.FollowRequest type + +**Signature:** + +```typescript +export type FollowRequest = { + id: ID; + follower: User; + followee: User; +}; +``` +**References:** [ID](./iceshrimp-sdk.entities.id.md), [User](./iceshrimp-sdk.entities.user.md) + diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.gallerypost.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.gallerypost.md new file mode 100644 index 000000000..1996bdfbd --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.gallerypost.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [entities](./iceshrimp-sdk.entities.md) > [GalleryPost](./iceshrimp-sdk.entities.gallerypost.md) + +## entities.GalleryPost type + +**Signature:** + +```typescript +export type GalleryPost = TODO; +``` diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.id.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.id.md new file mode 100644 index 000000000..c933cee8e --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.id.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [entities](./iceshrimp-sdk.entities.md) > [ID](./iceshrimp-sdk.entities.id.md) + +## entities.ID type + +**Signature:** + +```typescript +export type ID = string; +``` diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.instance.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.instance.md new file mode 100644 index 000000000..03a46d239 --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.instance.md @@ -0,0 +1,40 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [entities](./iceshrimp-sdk.entities.md) > [Instance](./iceshrimp-sdk.entities.instance.md) + +## entities.Instance type + +**Signature:** + +```typescript +export type Instance = { + id: ID; + caughtAt: DateString; + host: string; + usersCount: number; + notesCount: number; + followingCount: number; + followersCount: number; + driveUsage: number; + driveFiles: number; + latestRequestSentAt: DateString | null; + latestStatus: number | null; + latestRequestReceivedAt: DateString | null; + lastCommunicatedAt: DateString; + isNotResponding: boolean; + isSuspended: boolean; + softwareName: string | null; + softwareVersion: string | null; + openRegistrations: boolean | null; + name: string | null; + description: string | null; + maintainerName: string | null; + maintainerEmail: string | null; + iconUrl: string | null; + faviconUrl: string | null; + themeColor: string | null; + infoUpdatedAt: DateString | null; +}; +``` +**References:** [ID](./iceshrimp-sdk.entities.id.md), [DateString](./iceshrimp-sdk.entities.datestring.md) + diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.instancemetadata.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.instancemetadata.md new file mode 100644 index 000000000..6901554ec --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.instancemetadata.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [entities](./iceshrimp-sdk.entities.md) > [InstanceMetadata](./iceshrimp-sdk.entities.instancemetadata.md) + +## entities.InstanceMetadata type + +**Signature:** + +```typescript +export type InstanceMetadata = LiteInstanceMetadata | DetailedInstanceMetadata; +``` +**References:** [LiteInstanceMetadata](./iceshrimp-sdk.entities.liteinstancemetadata.md), [DetailedInstanceMetadata](./iceshrimp-sdk.entities.detailedinstancemetadata.md) + diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.liteinstancemetadata.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.liteinstancemetadata.md new file mode 100644 index 000000000..d16796bfb --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.liteinstancemetadata.md @@ -0,0 +1,43 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [entities](./iceshrimp-sdk.entities.md) > [LiteInstanceMetadata](./iceshrimp-sdk.entities.liteinstancemetadata.md) + +## entities.LiteInstanceMetadata type + +**Signature:** + +```typescript +export type LiteInstanceMetadata = { + maintainerName: string | null; + maintainerEmail: string | null; + version: string; + name: string | null; + uri: string; + description: string | null; + tosUrl: string | null; + disableRegistration: boolean; + disableLocalTimeline: boolean; + disableRecommendedTimeline: boolean; + disableGlobalTimeline: boolean; + driveCapacityPerLocalUserMb: number; + driveCapacityPerRemoteUserMb: number; + enableHcaptcha: boolean; + hcaptchaSiteKey: string | null; + enableRecaptcha: boolean; + recaptchaSiteKey: string | null; + swPublickey: string | null; + maxNoteTextLength: number; + enableEmail: boolean; + enableGithubIntegration: boolean; + enableDiscordIntegration: boolean; + searchEngine: string; + emojis: CustomEmoji[]; + images: { + error: string; + notFound: string; + info: string; + }; +}; +``` +**References:** [CustomEmoji](./iceshrimp-sdk.entities.customemoji.md) + diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.md new file mode 100644 index 000000000..6249d6061 --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.md @@ -0,0 +1,50 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [entities](./iceshrimp-sdk.entities.md) + +## entities namespace + +## Type Aliases + +| Type Alias | Description | +| --- | --- | +| [Announcement](./iceshrimp-sdk.entities.announcement.md) | | +| [Antenna](./iceshrimp-sdk.entities.antenna.md) | | +| [App](./iceshrimp-sdk.entities.app.md) | | +| [AuthSession](./iceshrimp-sdk.entities.authsession.md) | | +| [Blocking](./iceshrimp-sdk.entities.blocking.md) | | +| [Channel](./iceshrimp-sdk.entities.channel.md) | | +| [Clip](./iceshrimp-sdk.entities.clip.md) | | +| [CustomEmoji](./iceshrimp-sdk.entities.customemoji.md) | | +| [DateString](./iceshrimp-sdk.entities.datestring.md) | | +| [DetailedInstanceMetadata](./iceshrimp-sdk.entities.detailedinstancemetadata.md) | | +| [DriveFile](./iceshrimp-sdk.entities.drivefile.md) | | +| [DriveFolder](./iceshrimp-sdk.entities.drivefolder.md) | | +| [Following](./iceshrimp-sdk.entities.following.md) | | +| [FollowingFolloweePopulated](./iceshrimp-sdk.entities.followingfolloweepopulated.md) | | +| [FollowingFollowerPopulated](./iceshrimp-sdk.entities.followingfollowerpopulated.md) | | +| [FollowRequest](./iceshrimp-sdk.entities.followrequest.md) | | +| [GalleryPost](./iceshrimp-sdk.entities.gallerypost.md) | | +| [ID](./iceshrimp-sdk.entities.id.md) | | +| [Instance](./iceshrimp-sdk.entities.instance.md) | | +| [InstanceMetadata](./iceshrimp-sdk.entities.instancemetadata.md) | | +| [LiteInstanceMetadata](./iceshrimp-sdk.entities.liteinstancemetadata.md) | | +| [MeDetailed](./iceshrimp-sdk.entities.medetailed.md) | | +| [MessagingMessage](./iceshrimp-sdk.entities.messagingmessage.md) | | +| [Note](./iceshrimp-sdk.entities.note.md) | | +| [NoteFavorite](./iceshrimp-sdk.entities.notefavorite.md) | | +| [NoteReaction](./iceshrimp-sdk.entities.notereaction.md) | | +| [Notification](./iceshrimp-sdk.entities.notification.md) | | +| [OriginType](./iceshrimp-sdk.entities.origintype.md) | | +| [Page](./iceshrimp-sdk.entities.page.md) | | +| [PageEvent](./iceshrimp-sdk.entities.pageevent.md) | | +| [ServerInfo](./iceshrimp-sdk.entities.serverinfo.md) | | +| [Signin](./iceshrimp-sdk.entities.signin.md) | | +| [Stats](./iceshrimp-sdk.entities.stats.md) | | +| [User](./iceshrimp-sdk.entities.user.md) | | +| [UserDetailed](./iceshrimp-sdk.entities.userdetailed.md) | | +| [UserGroup](./iceshrimp-sdk.entities.usergroup.md) | | +| [UserList](./iceshrimp-sdk.entities.userlist.md) | | +| [UserLite](./iceshrimp-sdk.entities.userlite.md) | | +| [UserSorting](./iceshrimp-sdk.entities.usersorting.md) | | + diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.medetailed.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.medetailed.md new file mode 100644 index 000000000..fb7c1459c --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.medetailed.md @@ -0,0 +1,40 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [entities](./iceshrimp-sdk.entities.md) > [MeDetailed](./iceshrimp-sdk.entities.medetailed.md) + +## entities.MeDetailed type + +**Signature:** + +```typescript +export type MeDetailed = UserDetailed & { + avatarId: DriveFile["id"]; + bannerId: DriveFile["id"]; + autoAcceptFollowed: boolean; + alwaysMarkNsfw: boolean; + carefulBot: boolean; + emailNotificationTypes: string[]; + hasPendingReceivedFollowRequest: boolean; + hasUnreadAnnouncement: boolean; + hasUnreadAntenna: boolean; + hasUnreadChannel: boolean; + hasUnreadMentions: boolean; + hasUnreadMessagingMessage: boolean; + hasUnreadNotification: boolean; + hasUnreadSpecifiedNotes: boolean; + hideOnlineStatus: boolean; + injectFeaturedNote: boolean; + integrations: Record; + isDeleted: boolean; + isExplorable: boolean; + mutedWords: string[][]; + mutingNotificationTypes: string[]; + noCrawle: boolean; + preventAiLearning: boolean; + receiveAnnouncementEmail: boolean; + usePasswordLessLogin: boolean; + [other: string]: any; +}; +``` +**References:** [UserDetailed](./iceshrimp-sdk.entities.userdetailed.md), [DriveFile](./iceshrimp-sdk.entities.drivefile.md) + diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.messagingmessage.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.messagingmessage.md new file mode 100644 index 000000000..cba80a768 --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.messagingmessage.md @@ -0,0 +1,27 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [entities](./iceshrimp-sdk.entities.md) > [MessagingMessage](./iceshrimp-sdk.entities.messagingmessage.md) + +## entities.MessagingMessage type + +**Signature:** + +```typescript +export type MessagingMessage = { + id: ID; + createdAt: DateString; + file: DriveFile | null; + fileId: DriveFile["id"] | null; + isRead: boolean; + reads: User["id"][]; + text: string | null; + user: User; + userId: User["id"]; + recipient?: User | null; + recipientId: User["id"] | null; + group?: UserGroup | null; + groupId: UserGroup["id"] | null; +}; +``` +**References:** [ID](./iceshrimp-sdk.entities.id.md), [DateString](./iceshrimp-sdk.entities.datestring.md), [DriveFile](./iceshrimp-sdk.entities.drivefile.md), [User](./iceshrimp-sdk.entities.user.md), [UserGroup](./iceshrimp-sdk.entities.usergroup.md) + diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.note.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.note.md new file mode 100644 index 000000000..be1d01d6d --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.note.md @@ -0,0 +1,52 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [entities](./iceshrimp-sdk.entities.md) > [Note](./iceshrimp-sdk.entities.note.md) + +## entities.Note type + +**Signature:** + +```typescript +export type Note = { + id: ID; + createdAt: DateString; + text: string | null; + cw: string | null; + user: User; + userId: User["id"]; + reply?: Note; + replyId: Note["id"]; + renote?: Note; + renoteId: Note["id"]; + files: DriveFile[]; + fileIds: DriveFile["id"][]; + visibility: "public" | "home" | "followers" | "specified"; + visibleUserIds?: User["id"][]; + localOnly?: boolean; + channel?: Channel["id"]; + myReaction?: string; + isRenoted?: boolean; + reactions: Record; + renoteCount: number; + repliesCount: number; + poll?: { + expiresAt: DateString | null; + multiple: boolean; + choices: { + isVoted: boolean; + text: string; + votes: number; + }[]; + }; + emojis: { + name: string; + url: string; + }[]; + uri?: string; + url?: string; + updatedAt?: DateString; + isHidden?: boolean; +}; +``` +**References:** [ID](./iceshrimp-sdk.entities.id.md), [DateString](./iceshrimp-sdk.entities.datestring.md), [User](./iceshrimp-sdk.entities.user.md), [Note](./iceshrimp-sdk.entities.note.md), [DriveFile](./iceshrimp-sdk.entities.drivefile.md), [Channel](./iceshrimp-sdk.entities.channel.md) + diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.notefavorite.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.notefavorite.md new file mode 100644 index 000000000..042364bb5 --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.notefavorite.md @@ -0,0 +1,18 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [entities](./iceshrimp-sdk.entities.md) > [NoteFavorite](./iceshrimp-sdk.entities.notefavorite.md) + +## entities.NoteFavorite type + +**Signature:** + +```typescript +export type NoteFavorite = { + id: ID; + createdAt: DateString; + noteId: Note["id"]; + note: Note; +}; +``` +**References:** [ID](./iceshrimp-sdk.entities.id.md), [DateString](./iceshrimp-sdk.entities.datestring.md), [Note](./iceshrimp-sdk.entities.note.md) + diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.notereaction.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.notereaction.md new file mode 100644 index 000000000..2ec7963fb --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.notereaction.md @@ -0,0 +1,18 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [entities](./iceshrimp-sdk.entities.md) > [NoteReaction](./iceshrimp-sdk.entities.notereaction.md) + +## entities.NoteReaction type + +**Signature:** + +```typescript +export type NoteReaction = { + id: ID; + createdAt: DateString; + user: UserLite; + type: string; +}; +``` +**References:** [ID](./iceshrimp-sdk.entities.id.md), [DateString](./iceshrimp-sdk.entities.datestring.md), [UserLite](./iceshrimp-sdk.entities.userlite.md) + diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.notification.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.notification.md new file mode 100644 index 000000000..f3545cbf0 --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.notification.md @@ -0,0 +1,70 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [entities](./iceshrimp-sdk.entities.md) > [Notification](./iceshrimp-sdk.entities.notification.md) + +## entities.Notification type + +**Signature:** + +```typescript +export type Notification = { + id: ID; + createdAt: DateString; + isRead: boolean; +} & ({ + type: "reaction"; + reaction: string; + user: User; + userId: User["id"]; + note: Note; +} | { + type: "reply"; + user: User; + userId: User["id"]; + note: Note; +} | { + type: "renote"; + user: User; + userId: User["id"]; + note: Note; +} | { + type: "quote"; + user: User; + userId: User["id"]; + note: Note; +} | { + type: "mention"; + user: User; + userId: User["id"]; + note: Note; +} | { + type: "pollVote"; + user: User; + userId: User["id"]; + note: Note; +} | { + type: "follow"; + user: User; + userId: User["id"]; +} | { + type: "followRequestAccepted"; + user: User; + userId: User["id"]; +} | { + type: "receiveFollowRequest"; + user: User; + userId: User["id"]; +} | { + type: "groupInvited"; + invitation: UserGroup; + user: User; + userId: User["id"]; +} | { + type: "app"; + header?: string | null; + body: string; + icon?: string | null; +}); +``` +**References:** [ID](./iceshrimp-sdk.entities.id.md), [DateString](./iceshrimp-sdk.entities.datestring.md), [User](./iceshrimp-sdk.entities.user.md), [Note](./iceshrimp-sdk.entities.note.md), [UserGroup](./iceshrimp-sdk.entities.usergroup.md) + diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.origintype.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.origintype.md new file mode 100644 index 000000000..15acc4ec6 --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.origintype.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [entities](./iceshrimp-sdk.entities.md) > [OriginType](./iceshrimp-sdk.entities.origintype.md) + +## entities.OriginType type + +**Signature:** + +```typescript +export type OriginType = "combined" | "local" | "remote"; +``` diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.page.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.page.md new file mode 100644 index 000000000..56b074e7e --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.page.md @@ -0,0 +1,33 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [entities](./iceshrimp-sdk.entities.md) > [Page](./iceshrimp-sdk.entities.page.md) + +## entities.Page type + +**Signature:** + +```typescript +export type Page = { + id: ID; + createdAt: DateString; + updatedAt: DateString; + userId: User["id"]; + user: User; + content: Record[]; + variables: Record[]; + title: string; + name: string; + summary: string | null; + hideTitleWhenPinned: boolean; + alignCenter: boolean; + font: string; + script: string; + eyeCatchingImageId: DriveFile["id"] | null; + eyeCatchingImage: DriveFile | null; + attachedFiles: any; + likedCount: number; + isLiked?: boolean; +}; +``` +**References:** [ID](./iceshrimp-sdk.entities.id.md), [DateString](./iceshrimp-sdk.entities.datestring.md), [User](./iceshrimp-sdk.entities.user.md), [DriveFile](./iceshrimp-sdk.entities.drivefile.md) + diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.pageevent.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.pageevent.md new file mode 100644 index 000000000..709b86808 --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.pageevent.md @@ -0,0 +1,19 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [entities](./iceshrimp-sdk.entities.md) > [PageEvent](./iceshrimp-sdk.entities.pageevent.md) + +## entities.PageEvent type + +**Signature:** + +```typescript +export type PageEvent = { + pageId: Page["id"]; + event: string; + var: any; + userId: User["id"]; + user: User; +}; +``` +**References:** [Page](./iceshrimp-sdk.entities.page.md), [User](./iceshrimp-sdk.entities.user.md) + diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.serverinfo.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.serverinfo.md new file mode 100644 index 000000000..412779090 --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.serverinfo.md @@ -0,0 +1,24 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [entities](./iceshrimp-sdk.entities.md) > [ServerInfo](./iceshrimp-sdk.entities.serverinfo.md) + +## entities.ServerInfo type + +**Signature:** + +```typescript +export type ServerInfo = { + machine: string; + cpu: { + model: string; + cores: number; + }; + mem: { + total: number; + }; + fs: { + total: number; + used: number; + }; +}; +``` diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.signin.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.signin.md new file mode 100644 index 000000000..9c1741b7e --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.signin.md @@ -0,0 +1,19 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [entities](./iceshrimp-sdk.entities.md) > [Signin](./iceshrimp-sdk.entities.signin.md) + +## entities.Signin type + +**Signature:** + +```typescript +export type Signin = { + id: ID; + createdAt: DateString; + ip: string; + headers: Record; + success: boolean; +}; +``` +**References:** [ID](./iceshrimp-sdk.entities.id.md), [DateString](./iceshrimp-sdk.entities.datestring.md) + diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.stats.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.stats.md new file mode 100644 index 000000000..88a2302f8 --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.stats.md @@ -0,0 +1,19 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [entities](./iceshrimp-sdk.entities.md) > [Stats](./iceshrimp-sdk.entities.stats.md) + +## entities.Stats type + +**Signature:** + +```typescript +export type Stats = { + notesCount: number; + originalNotesCount: number; + usersCount: number; + originalUsersCount: number; + instances: number; + driveUsageLocal: number; + driveUsageRemote: number; +}; +``` diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.user.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.user.md new file mode 100644 index 000000000..311774ddf --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.user.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [entities](./iceshrimp-sdk.entities.md) > [User](./iceshrimp-sdk.entities.user.md) + +## entities.User type + +**Signature:** + +```typescript +export type User = UserLite | UserDetailed; +``` +**References:** [UserLite](./iceshrimp-sdk.entities.userlite.md), [UserDetailed](./iceshrimp-sdk.entities.userdetailed.md) + diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.userdetailed.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.userdetailed.md new file mode 100644 index 000000000..9ebb50b7e --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.userdetailed.md @@ -0,0 +1,57 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [entities](./iceshrimp-sdk.entities.md) > [UserDetailed](./iceshrimp-sdk.entities.userdetailed.md) + +## entities.UserDetailed type + +**Signature:** + +```typescript +export type UserDetailed = UserLite & { + bannerBlurhash: string | null; + bannerColor: string | null; + bannerUrl: string | null; + birthday: string | null; + createdAt: DateString; + description: string | null; + ffVisibility: "public" | "followers" | "private"; + fields: { + name: string; + value: string; + verified?: boolean; + }[]; + followersCount: number; + followingCount: number; + hasPendingFollowRequestFromYou: boolean; + hasPendingFollowRequestToYou: boolean; + isAdmin: boolean; + isBlocked: boolean; + isBlocking: boolean; + isBot: boolean; + isCat: boolean; + isFollowed: boolean; + isFollowing: boolean; + isLocked: boolean; + isModerator: boolean; + isMuted: boolean; + isRenoteMuted: boolean; + isSilenced: boolean; + isSuspended: boolean; + lang: string | null; + lastFetchedAt?: DateString; + location: string | null; + notesCount: number; + pinnedNoteIds: ID[]; + pinnedNotes: Note[]; + pinnedPage: Page | null; + pinnedPageId: string | null; + publicReactions: boolean; + securityKeys: boolean; + twoFactorEnabled: boolean; + updatedAt: DateString | null; + uri: string | null; + url: string | null; +}; +``` +**References:** [UserLite](./iceshrimp-sdk.entities.userlite.md), [DateString](./iceshrimp-sdk.entities.datestring.md), [ID](./iceshrimp-sdk.entities.id.md), [Note](./iceshrimp-sdk.entities.note.md), [Page](./iceshrimp-sdk.entities.page.md) + diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.usergroup.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.usergroup.md new file mode 100644 index 000000000..ed3eff052 --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.usergroup.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [entities](./iceshrimp-sdk.entities.md) > [UserGroup](./iceshrimp-sdk.entities.usergroup.md) + +## entities.UserGroup type + +**Signature:** + +```typescript +export type UserGroup = TODO; +``` diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.userlist.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.userlist.md new file mode 100644 index 000000000..753ed423a --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.userlist.md @@ -0,0 +1,18 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [entities](./iceshrimp-sdk.entities.md) > [UserList](./iceshrimp-sdk.entities.userlist.md) + +## entities.UserList type + +**Signature:** + +```typescript +export type UserList = { + id: ID; + createdAt: DateString; + name: string; + userIds: User["id"][]; +}; +``` +**References:** [ID](./iceshrimp-sdk.entities.id.md), [DateString](./iceshrimp-sdk.entities.datestring.md), [User](./iceshrimp-sdk.entities.user.md) + diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.userlite.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.userlite.md new file mode 100644 index 000000000..8ca784e1f --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.userlite.md @@ -0,0 +1,35 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [entities](./iceshrimp-sdk.entities.md) > [UserLite](./iceshrimp-sdk.entities.userlite.md) + +## entities.UserLite type + +**Signature:** + +```typescript +export type UserLite = { + id: ID; + username: string; + host: string | null; + name: string; + onlineStatus: "online" | "active" | "offline" | "unknown"; + avatarUrl: string; + avatarBlurhash: string; + alsoKnownAs: string[]; + movedToUri: any; + emojis: { + name: string; + url: string; + }[]; + instance?: { + name: Instance["name"]; + softwareName: Instance["softwareName"]; + softwareVersion: Instance["softwareVersion"]; + iconUrl: Instance["iconUrl"]; + faviconUrl: Instance["faviconUrl"]; + themeColor: Instance["themeColor"]; + }; +}; +``` +**References:** [ID](./iceshrimp-sdk.entities.id.md), [Instance](./iceshrimp-sdk.entities.instance.md) + diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.usersorting.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.usersorting.md new file mode 100644 index 000000000..1da44ab02 --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.usersorting.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [entities](./iceshrimp-sdk.entities.md) > [UserSorting](./iceshrimp-sdk.entities.usersorting.md) + +## entities.UserSorting type + +**Signature:** + +```typescript +export type UserSorting = "+follower" | "-follower" | "+createdAt" | "-createdAt" | "+updatedAt" | "-updatedAt"; +``` diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.ffvisibility.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.ffvisibility.md similarity index 61% rename from packages/iceshrimp-js/markdown/iceshrimp-js.ffvisibility.md rename to packages/iceshrimp-sdk/markdown/iceshrimp-sdk.ffvisibility.md index a94955b0d..3112dcaac 100644 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.ffvisibility.md +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.ffvisibility.md @@ -1,6 +1,6 @@ -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [ffVisibility](./iceshrimp-js.ffvisibility.md) +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [ffVisibility](./iceshrimp-sdk.ffvisibility.md) ## ffVisibility variable diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.md new file mode 100644 index 000000000..6696dcb62 --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.md @@ -0,0 +1,42 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) + +## iceshrimp-sdk package + +## Classes + +| Class | Description | +| --- | --- | +| [Stream](./iceshrimp-sdk.stream.md) | | + +## Abstract Classes + +| Abstract Class | Description | +| --- | --- | +| [ChannelConnection](./iceshrimp-sdk.channelconnection.md) | | + +## Namespaces + +| Namespace | Description | +| --- | --- | +| [api](./iceshrimp-sdk.api.md) | | +| [entities](./iceshrimp-sdk.entities.md) | | + +## Variables + +| Variable | Description | +| --- | --- | +| [ffVisibility](./iceshrimp-sdk.ffvisibility.md) | | +| [noteVisibilities](./iceshrimp-sdk.notevisibilities.md) | | +| [notificationTypes](./iceshrimp-sdk.notificationtypes.md) | | +| [permissions](./iceshrimp-sdk.permissions.md) | | + +## Type Aliases + +| Type Alias | Description | +| --- | --- | +| [Acct](./iceshrimp-sdk.acct.md) | | +| [Channels](./iceshrimp-sdk.channels.md) | | +| [Endpoints](./iceshrimp-sdk.endpoints.md) | | + diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.notevisibilities.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.notevisibilities.md new file mode 100644 index 000000000..e550dc2e2 --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.notevisibilities.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [noteVisibilities](./iceshrimp-sdk.notevisibilities.md) + +## noteVisibilities variable + +**Signature:** + +```typescript +noteVisibilities: readonly ["public", "home", "followers", "specified"] +``` diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.notificationtypes.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.notificationtypes.md new file mode 100644 index 000000000..71e7b0115 --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.notificationtypes.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [notificationTypes](./iceshrimp-sdk.notificationtypes.md) + +## notificationTypes variable + +**Signature:** + +```typescript +notificationTypes: readonly ["follow", "mention", "reply", "renote", "quote", "reaction", "pollVote", "pollEnded", "receiveFollowRequest", "followRequestAccepted", "groupInvited", "app"] +``` diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.permissions.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.permissions.md similarity index 57% rename from packages/iceshrimp-js/markdown/iceshrimp-js.permissions.md rename to packages/iceshrimp-sdk/markdown/iceshrimp-sdk.permissions.md index 366b9f5f8..eae6b14d6 100644 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.permissions.md +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.permissions.md @@ -1,6 +1,6 @@ -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [permissions](./iceshrimp-js.permissions.md) +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [permissions](./iceshrimp-sdk.permissions.md) ## permissions variable diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.stream._constructor_.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.stream._constructor_.md similarity index 55% rename from packages/iceshrimp-js/markdown/iceshrimp-js.stream._constructor_.md rename to packages/iceshrimp-sdk/markdown/iceshrimp-sdk.stream._constructor_.md index 6846b1350..37133b5e8 100644 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.stream._constructor_.md +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.stream._constructor_.md @@ -1,6 +1,6 @@ -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [Stream](./iceshrimp-js.stream.md) > [(constructor)](./iceshrimp-js.stream._constructor_.md) +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [Stream](./iceshrimp-sdk.stream.md) > [(constructor)](./iceshrimp-sdk.stream._constructor_.md) ## Stream.(constructor) @@ -9,15 +9,11 @@ Constructs a new instance of the `Stream` class **Signature:** ```typescript -constructor( - origin: string, - user: { - token: string; - } | null, - options?: { - WebSocket?: any; - }, - ); +constructor(origin: string, user: { + token: string; + } | null, options?: { + WebSocket?: any; + }); ``` ## Parameters diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.stream.close.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.stream.close.md similarity index 52% rename from packages/iceshrimp-js/markdown/iceshrimp-js.stream.close.md rename to packages/iceshrimp-sdk/markdown/iceshrimp-sdk.stream.close.md index d89aa9ef6..e699c090a 100644 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.stream.close.md +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.stream.close.md @@ -1,6 +1,6 @@ -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [Stream](./iceshrimp-js.stream.md) > [close](./iceshrimp-js.stream.close.md) +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [Stream](./iceshrimp-sdk.stream.md) > [close](./iceshrimp-sdk.stream.close.md) ## Stream.close() method diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.stream.disconnecttochannel.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.stream.disconnecttochannel.md similarity index 64% rename from packages/iceshrimp-js/markdown/iceshrimp-js.stream.disconnecttochannel.md rename to packages/iceshrimp-sdk/markdown/iceshrimp-sdk.stream.disconnecttochannel.md index c7a91f762..3170dcdaf 100644 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.stream.disconnecttochannel.md +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.stream.disconnecttochannel.md @@ -1,6 +1,6 @@ -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [Stream](./iceshrimp-js.stream.md) > [disconnectToChannel](./iceshrimp-js.stream.disconnecttochannel.md) +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [Stream](./iceshrimp-sdk.stream.md) > [disconnectToChannel](./iceshrimp-sdk.stream.disconnecttochannel.md) ## Stream.disconnectToChannel() method diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.stream.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.stream.md new file mode 100644 index 000000000..d445dfe69 --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.stream.md @@ -0,0 +1,36 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [Stream](./iceshrimp-sdk.stream.md) + +## Stream class + +**Signature:** + +```typescript +export default class Stream extends EventEmitter +``` +**Extends:** EventEmitter<StreamEvents> + +## Constructors + +| Constructor | Modifiers | Description | +| --- | --- | --- | +| [(constructor)(origin, user, options)](./iceshrimp-sdk.stream._constructor_.md) | | Constructs a new instance of the Stream class | + +## Properties + +| Property | Modifiers | Type | Description | +| --- | --- | --- | --- | +| [state](./iceshrimp-sdk.stream.state.md) | | "initializing" \| "reconnecting" \| "connected" | | + +## Methods + +| Method | Modifiers | Description | +| --- | --- | --- | +| [close()](./iceshrimp-sdk.stream.close.md) | | | +| [disconnectToChannel(connection)](./iceshrimp-sdk.stream.disconnecttochannel.md) | | | +| [removeSharedConnection(connection)](./iceshrimp-sdk.stream.removesharedconnection.md) | | | +| [removeSharedConnectionPool(pool)](./iceshrimp-sdk.stream.removesharedconnectionpool.md) | | | +| [send(typeOrPayload, payload)](./iceshrimp-sdk.stream.send.md) | | | +| [useChannel(channel, params, name)](./iceshrimp-sdk.stream.usechannel.md) | | | + diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.stream.removesharedconnection.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.stream.removesharedconnection.md similarity index 63% rename from packages/iceshrimp-js/markdown/iceshrimp-js.stream.removesharedconnection.md rename to packages/iceshrimp-sdk/markdown/iceshrimp-sdk.stream.removesharedconnection.md index 75341f973..7b687f27d 100644 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.stream.removesharedconnection.md +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.stream.removesharedconnection.md @@ -1,6 +1,6 @@ -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [Stream](./iceshrimp-js.stream.md) > [removeSharedConnection](./iceshrimp-js.stream.removesharedconnection.md) +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [Stream](./iceshrimp-sdk.stream.md) > [removeSharedConnection](./iceshrimp-sdk.stream.removesharedconnection.md) ## Stream.removeSharedConnection() method diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.stream.removesharedconnectionpool.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.stream.removesharedconnectionpool.md similarity index 60% rename from packages/iceshrimp-js/markdown/iceshrimp-js.stream.removesharedconnectionpool.md rename to packages/iceshrimp-sdk/markdown/iceshrimp-sdk.stream.removesharedconnectionpool.md index 9d992ac47..bad131f2d 100644 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.stream.removesharedconnectionpool.md +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.stream.removesharedconnectionpool.md @@ -1,6 +1,6 @@ -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [Stream](./iceshrimp-js.stream.md) > [removeSharedConnectionPool](./iceshrimp-js.stream.removesharedconnectionpool.md) +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [Stream](./iceshrimp-sdk.stream.md) > [removeSharedConnectionPool](./iceshrimp-sdk.stream.removesharedconnectionpool.md) ## Stream.removeSharedConnectionPool() method diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.stream.send.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.stream.send.md similarity index 67% rename from packages/iceshrimp-js/markdown/iceshrimp-js.stream.send.md rename to packages/iceshrimp-sdk/markdown/iceshrimp-sdk.stream.send.md index 1c49469fc..2f4998f2f 100644 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.stream.send.md +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.stream.send.md @@ -1,6 +1,6 @@ -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [Stream](./iceshrimp-js.stream.md) > [send](./iceshrimp-js.stream.send.md) +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [Stream](./iceshrimp-sdk.stream.md) > [send](./iceshrimp-sdk.stream.send.md) ## Stream.send() method diff --git a/packages/iceshrimp-js/markdown/iceshrimp-js.stream.state.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.stream.state.md similarity index 55% rename from packages/iceshrimp-js/markdown/iceshrimp-js.stream.state.md rename to packages/iceshrimp-sdk/markdown/iceshrimp-sdk.stream.state.md index af173b6f1..f9863addf 100644 --- a/packages/iceshrimp-js/markdown/iceshrimp-js.stream.state.md +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.stream.state.md @@ -1,6 +1,6 @@ -[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [Stream](./iceshrimp-js.stream.md) > [state](./iceshrimp-js.stream.state.md) +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [Stream](./iceshrimp-sdk.stream.md) > [state](./iceshrimp-sdk.stream.state.md) ## Stream.state property diff --git a/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.stream.usechannel.md b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.stream.usechannel.md new file mode 100644 index 000000000..b11721dc3 --- /dev/null +++ b/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.stream.usechannel.md @@ -0,0 +1,24 @@ + + +[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [Stream](./iceshrimp-sdk.stream.md) > [useChannel](./iceshrimp-sdk.stream.usechannel.md) + +## Stream.useChannel() method + +**Signature:** + +```typescript +useChannel(channel: C, params?: Channels[C]["params"], name?: string): Connection; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| channel | C | | +| params | [Channels](./iceshrimp-sdk.channels.md)\[C\]\["params"\] | _(Optional)_ | +| name | string | _(Optional)_ | + +**Returns:** + +[Connection](./iceshrimp-sdk.channelconnection.md)<[Channels](./iceshrimp-sdk.channels.md)\[C\]> + diff --git a/packages/iceshrimp-js/markdown/index.md b/packages/iceshrimp-sdk/markdown/index.md similarity index 75% rename from packages/iceshrimp-js/markdown/index.md rename to packages/iceshrimp-sdk/markdown/index.md index 20defc5c9..06e216501 100644 --- a/packages/iceshrimp-js/markdown/index.md +++ b/packages/iceshrimp-sdk/markdown/index.md @@ -8,5 +8,5 @@ | Package | Description | | --- | --- | -| [iceshrimp-js](./iceshrimp-js.md) | | +| [iceshrimp-sdk](./iceshrimp-sdk.md) | | diff --git a/packages/iceshrimp-js/package.json b/packages/iceshrimp-sdk/package.json similarity index 94% rename from packages/iceshrimp-js/package.json rename to packages/iceshrimp-sdk/package.json index f00b5796a..f9340d389 100644 --- a/packages/iceshrimp-js/package.json +++ b/packages/iceshrimp-sdk/package.json @@ -1,5 +1,5 @@ { - "name": "iceshrimp-js", + "name": "iceshrimp-sdk", "version": "0.0.24", "description": "iceshrimp SDK for JavaScript", "main": "./built/index.js", @@ -7,7 +7,7 @@ "scripts": { "build": "swc src -d built -D", "build:debug": "swc src -d built -s -D", - "render": "yarn build && yarn api && yarn api-prod && cp temp/iceshrimp-js.api.json etc/ && yarn api-doc", + "render": "yarn build && yarn api && yarn api-prod && cp temp/iceshrimp-sdk.api.json etc/ && yarn api-doc", "tsd": "tsc && tsd", "api": "api-extractor run --local --verbose", "api-prod": "api-extractor run --verbose", diff --git a/packages/iceshrimp-js/src/acct.ts b/packages/iceshrimp-sdk/src/acct.ts similarity index 100% rename from packages/iceshrimp-js/src/acct.ts rename to packages/iceshrimp-sdk/src/acct.ts diff --git a/packages/iceshrimp-js/src/api.ts b/packages/iceshrimp-sdk/src/api.ts similarity index 100% rename from packages/iceshrimp-js/src/api.ts rename to packages/iceshrimp-sdk/src/api.ts diff --git a/packages/iceshrimp-js/src/api.types.ts b/packages/iceshrimp-sdk/src/api.types.ts similarity index 100% rename from packages/iceshrimp-js/src/api.types.ts rename to packages/iceshrimp-sdk/src/api.types.ts diff --git a/packages/iceshrimp-js/src/consts.ts b/packages/iceshrimp-sdk/src/consts.ts similarity index 100% rename from packages/iceshrimp-js/src/consts.ts rename to packages/iceshrimp-sdk/src/consts.ts diff --git a/packages/iceshrimp-js/src/entities.ts b/packages/iceshrimp-sdk/src/entities.ts similarity index 100% rename from packages/iceshrimp-js/src/entities.ts rename to packages/iceshrimp-sdk/src/entities.ts diff --git a/packages/iceshrimp-js/src/index.ts b/packages/iceshrimp-sdk/src/index.ts similarity index 100% rename from packages/iceshrimp-js/src/index.ts rename to packages/iceshrimp-sdk/src/index.ts diff --git a/packages/iceshrimp-js/src/streaming.ts b/packages/iceshrimp-sdk/src/streaming.ts similarity index 100% rename from packages/iceshrimp-js/src/streaming.ts rename to packages/iceshrimp-sdk/src/streaming.ts diff --git a/packages/iceshrimp-js/src/streaming.types.ts b/packages/iceshrimp-sdk/src/streaming.types.ts similarity index 100% rename from packages/iceshrimp-js/src/streaming.types.ts rename to packages/iceshrimp-sdk/src/streaming.types.ts diff --git a/packages/iceshrimp-js/test-d/api.ts b/packages/iceshrimp-sdk/test-d/api.ts similarity index 100% rename from packages/iceshrimp-js/test-d/api.ts rename to packages/iceshrimp-sdk/test-d/api.ts diff --git a/packages/iceshrimp-js/test-d/streaming.ts b/packages/iceshrimp-sdk/test-d/streaming.ts similarity index 100% rename from packages/iceshrimp-js/test-d/streaming.ts rename to packages/iceshrimp-sdk/test-d/streaming.ts diff --git a/packages/iceshrimp-js/test/api.ts b/packages/iceshrimp-sdk/test/api.ts similarity index 100% rename from packages/iceshrimp-js/test/api.ts rename to packages/iceshrimp-sdk/test/api.ts diff --git a/packages/iceshrimp-js/test/streaming.ts b/packages/iceshrimp-sdk/test/streaming.ts similarity index 100% rename from packages/iceshrimp-js/test/streaming.ts rename to packages/iceshrimp-sdk/test/streaming.ts diff --git a/packages/iceshrimp-js/tsconfig.json b/packages/iceshrimp-sdk/tsconfig.json similarity index 100% rename from packages/iceshrimp-js/tsconfig.json rename to packages/iceshrimp-sdk/tsconfig.json diff --git a/packages/sw/package.json b/packages/sw/package.json index 8a65fa86c..4eb55378e 100644 --- a/packages/sw/package.json +++ b/packages/sw/package.json @@ -12,7 +12,7 @@ "@swc/cli": "^0.1.62", "@swc/core": "^1.3.62", "@swc/core-android-arm64": "1.3.11", - "iceshrimp-js": "workspace:*", + "iceshrimp-sdk": "workspace:*", "idb-keyval": "^6.2.1", "swc-loader": "^0.2.3", "webpack": "^5.85.1", diff --git a/packages/sw/src/scripts/operations.ts b/packages/sw/src/scripts/operations.ts index c940977a1..7be533a4e 100644 --- a/packages/sw/src/scripts/operations.ts +++ b/packages/sw/src/scripts/operations.ts @@ -2,7 +2,7 @@ * Operations * 各種操作 */ -import * as Misskey from "iceshrimp-js"; +import * as Misskey from "iceshrimp-sdk"; import type { SwMessage, SwMessageOrderType } from "@/types"; import { getAccountFromId } from "@/scripts/get-account-from-id"; import { getUrlWithLoginId } from "@/scripts/login-id"; diff --git a/packages/sw/src/sw.ts b/packages/sw/src/sw.ts index 6131b65ee..4828389d5 100644 --- a/packages/sw/src/sw.ts +++ b/packages/sw/src/sw.ts @@ -1,5 +1,5 @@ import { get } from "idb-keyval"; -import * as Acct from "iceshrimp-js/built/acct"; +import * as Acct from "iceshrimp-sdk/built/acct"; import type { PushNotificationDataMap } from "@/types"; import { createEmptyNotification, diff --git a/packages/sw/src/types.ts b/packages/sw/src/types.ts index b11bff064..3b9b214d8 100644 --- a/packages/sw/src/types.ts +++ b/packages/sw/src/types.ts @@ -1,4 +1,4 @@ -import * as Misskey from "iceshrimp-js"; +import * as Misskey from "iceshrimp-sdk"; export type SwMessageOrderType = "post" | "push"; diff --git a/scripts/clean-all.js b/scripts/clean-all.js index 9a6234426..8c3df8f35 100644 --- a/scripts/clean-all.js +++ b/scripts/clean-all.js @@ -29,11 +29,11 @@ const { join } = require("node:path"); recursive: true, force: true, }); - fs.rmSync(join(__dirname, "/../packages/iceshrimp-js/built"), { + fs.rmSync(join(__dirname, "/../packages/iceshrimp-sdk/built"), { recursive: true, force: true, }); - fs.rmSync(join(__dirname, "/../packages/iceshrimp-js/node_modules"), { + fs.rmSync(join(__dirname, "/../packages/iceshrimp-sdk/node_modules"), { recursive: true, force: true, }); diff --git a/scripts/clean.js b/scripts/clean.js index e97f9cb19..6479f94cf 100644 --- a/scripts/clean.js +++ b/scripts/clean.js @@ -15,7 +15,7 @@ const { join } = require("node:path"); recursive: true, force: true, }); - fs.rmSync(join(__dirname, "/../packages/iceshrimp-js/built"), { + fs.rmSync(join(__dirname, "/../packages/iceshrimp-sdk/built"), { recursive: true, force: true, }); diff --git a/yarn.lock b/yarn.lock index 9e5a0c8a9..34ce620d9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -789,6 +789,15 @@ __metadata: languageName: node linkType: hard +"@emnapi/runtime@npm:^1.1.1": + version: 1.2.0 + resolution: "@emnapi/runtime@npm:1.2.0" + dependencies: + tslib: "npm:^2.4.0" + checksum: 10/c954b36493b713e451c74e9f1a48124b5491196700ec458c5d4a94eac3351e14803b4fd48ae6f72c77956d75792093d377f96412a6f59766099cb142e5c5b8f4 + languageName: node + linkType: hard + "@es-joy/jsdoccomment@npm:~0.39.4": version: 0.39.4 resolution: "@es-joy/jsdoccomment@npm:0.39.4" @@ -1181,6 +1190,199 @@ __metadata: languageName: node linkType: hard +"@iceshrimp/summaly@npm:2.7.2": + version: 2.7.2 + resolution: "@iceshrimp/summaly@npm:2.7.2::__archiveUrl=https%3A%2F%2Ficeshrimp.dev%2Fapi%2Fpackages%2Ficeshrimp%2Fnpm%2F%2540iceshrimp%252Fsummaly%2F-%2F2.7.2%2Fsummaly-2.7.2.tgz" + dependencies: + cheerio: "npm:0.22.0" + debug: "npm:4.3.3" + escape-regexp: "npm:0.0.1" + got: "npm:11.8.5" + html-entities: "npm:2.3.2" + iconv-lite: "npm:0.6.3" + jschardet: "npm:3.0.0" + koa: "npm:2.13.4" + private-ip: "npm:2.3.3" + require-all: "npm:3.0.0" + checksum: 10/242d99402331ee368222f8afe2b789d0a0eb3976fa1fe6cb2e887dd679fe53c282c559cf4c63946b78336ab3e9acc05131461d111dbb1318015dee702fe70aa8 + languageName: node + linkType: hard + +"@img/sharp-darwin-arm64@npm:0.33.4": + version: 0.33.4 + resolution: "@img/sharp-darwin-arm64@npm:0.33.4" + dependencies: + "@img/sharp-libvips-darwin-arm64": "npm:1.0.2" + dependenciesMeta: + "@img/sharp-libvips-darwin-arm64": + optional: true + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + +"@img/sharp-darwin-x64@npm:0.33.4": + version: 0.33.4 + resolution: "@img/sharp-darwin-x64@npm:0.33.4" + dependencies: + "@img/sharp-libvips-darwin-x64": "npm:1.0.2" + dependenciesMeta: + "@img/sharp-libvips-darwin-x64": + optional: true + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + +"@img/sharp-libvips-darwin-arm64@npm:1.0.2": + version: 1.0.2 + resolution: "@img/sharp-libvips-darwin-arm64@npm:1.0.2" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + +"@img/sharp-libvips-darwin-x64@npm:1.0.2": + version: 1.0.2 + resolution: "@img/sharp-libvips-darwin-x64@npm:1.0.2" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + +"@img/sharp-libvips-linux-arm64@npm:1.0.2": + version: 1.0.2 + resolution: "@img/sharp-libvips-linux-arm64@npm:1.0.2" + conditions: os=linux & cpu=arm64 & libc=glibc + languageName: node + linkType: hard + +"@img/sharp-libvips-linux-arm@npm:1.0.2": + version: 1.0.2 + resolution: "@img/sharp-libvips-linux-arm@npm:1.0.2" + conditions: os=linux & cpu=arm & libc=glibc + languageName: node + linkType: hard + +"@img/sharp-libvips-linux-s390x@npm:1.0.2": + version: 1.0.2 + resolution: "@img/sharp-libvips-linux-s390x@npm:1.0.2" + conditions: os=linux & cpu=s390x & libc=glibc + languageName: node + linkType: hard + +"@img/sharp-libvips-linux-x64@npm:1.0.2": + version: 1.0.2 + resolution: "@img/sharp-libvips-linux-x64@npm:1.0.2" + conditions: os=linux & cpu=x64 & libc=glibc + languageName: node + linkType: hard + +"@img/sharp-libvips-linuxmusl-arm64@npm:1.0.2": + version: 1.0.2 + resolution: "@img/sharp-libvips-linuxmusl-arm64@npm:1.0.2" + conditions: os=linux & cpu=arm64 & libc=musl + languageName: node + linkType: hard + +"@img/sharp-libvips-linuxmusl-x64@npm:1.0.2": + version: 1.0.2 + resolution: "@img/sharp-libvips-linuxmusl-x64@npm:1.0.2" + conditions: os=linux & cpu=x64 & libc=musl + languageName: node + linkType: hard + +"@img/sharp-linux-arm64@npm:0.33.4": + version: 0.33.4 + resolution: "@img/sharp-linux-arm64@npm:0.33.4" + dependencies: + "@img/sharp-libvips-linux-arm64": "npm:1.0.2" + dependenciesMeta: + "@img/sharp-libvips-linux-arm64": + optional: true + conditions: os=linux & cpu=arm64 & libc=glibc + languageName: node + linkType: hard + +"@img/sharp-linux-arm@npm:0.33.4": + version: 0.33.4 + resolution: "@img/sharp-linux-arm@npm:0.33.4" + dependencies: + "@img/sharp-libvips-linux-arm": "npm:1.0.2" + dependenciesMeta: + "@img/sharp-libvips-linux-arm": + optional: true + conditions: os=linux & cpu=arm & libc=glibc + languageName: node + linkType: hard + +"@img/sharp-linux-s390x@npm:0.33.4": + version: 0.33.4 + resolution: "@img/sharp-linux-s390x@npm:0.33.4" + dependencies: + "@img/sharp-libvips-linux-s390x": "npm:1.0.2" + dependenciesMeta: + "@img/sharp-libvips-linux-s390x": + optional: true + conditions: os=linux & cpu=s390x & libc=glibc + languageName: node + linkType: hard + +"@img/sharp-linux-x64@npm:0.33.4": + version: 0.33.4 + resolution: "@img/sharp-linux-x64@npm:0.33.4" + dependencies: + "@img/sharp-libvips-linux-x64": "npm:1.0.2" + dependenciesMeta: + "@img/sharp-libvips-linux-x64": + optional: true + conditions: os=linux & cpu=x64 & libc=glibc + languageName: node + linkType: hard + +"@img/sharp-linuxmusl-arm64@npm:0.33.4": + version: 0.33.4 + resolution: "@img/sharp-linuxmusl-arm64@npm:0.33.4" + dependencies: + "@img/sharp-libvips-linuxmusl-arm64": "npm:1.0.2" + dependenciesMeta: + "@img/sharp-libvips-linuxmusl-arm64": + optional: true + conditions: os=linux & cpu=arm64 & libc=musl + languageName: node + linkType: hard + +"@img/sharp-linuxmusl-x64@npm:0.33.4": + version: 0.33.4 + resolution: "@img/sharp-linuxmusl-x64@npm:0.33.4" + dependencies: + "@img/sharp-libvips-linuxmusl-x64": "npm:1.0.2" + dependenciesMeta: + "@img/sharp-libvips-linuxmusl-x64": + optional: true + conditions: os=linux & cpu=x64 & libc=musl + languageName: node + linkType: hard + +"@img/sharp-wasm32@npm:0.33.4": + version: 0.33.4 + resolution: "@img/sharp-wasm32@npm:0.33.4" + dependencies: + "@emnapi/runtime": "npm:^1.1.1" + conditions: cpu=wasm32 + languageName: node + linkType: hard + +"@img/sharp-win32-ia32@npm:0.33.4": + version: 0.33.4 + resolution: "@img/sharp-win32-ia32@npm:0.33.4" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + +"@img/sharp-win32-x64@npm:0.33.4": + version: 0.33.4 + resolution: "@img/sharp-win32-x64@npm:0.33.4" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + "@ioredis/commands@npm:^1.1.1": version: 1.2.0 resolution: "@ioredis/commands@npm:1.2.0" @@ -2495,16 +2697,14 @@ __metadata: languageName: node linkType: hard -"@syuilo/aiscript@npm:0.11.1": - version: 0.11.1 - resolution: "@syuilo/aiscript@npm:0.11.1" +"@syuilo/aiscript@npm:0.17.0": + version: 0.17.0 + resolution: "@syuilo/aiscript@npm:0.17.0" dependencies: - autobind-decorator: "npm:2.4.0" - chalk: "npm:4.0.0" seedrandom: "npm:3.0.5" stringz: "npm:2.1.0" - uuid: "npm:7.0.3" - checksum: 10/4df4bb5a25e8334dbfecac5dfa047b7637821d31daa1ada6fb14d2f13e94be4655c3845f6f61643be327b682608456d22fc5557c23c6c68bc1cfb7c76b6970d6 + uuid: "npm:9.0.1" + checksum: 10/2a10b3d29ab94cc267957aa9a8e0ca199fabc298a5e111fcce2a355d70eee141aae87c015f77c398f8a3bbd107fbf49e2054ec2e343c36dd4f8f2e1a64e9e631 languageName: node linkType: hard @@ -5272,6 +5472,7 @@ __metadata: "@bull-board/koa": "npm:5.6.0" "@bull-board/ui": "npm:5.6.0" "@discordapp/twemoji": "npm:14.1.2" + "@iceshrimp/summaly": "npm:2.7.2" "@koa/cors": "npm:3.4.3" "@koa/multer": "npm:3.0.2" "@koa/router": "npm:9.0.1" @@ -5282,7 +5483,6 @@ __metadata: "@swc/cli": "npm:^0.1.62" "@swc/core": "npm:^1.3.68" "@swc/core-android-arm64": "npm:1.3.11" - "@syuilo/aiscript": "npm:0.11.1" "@transfem-org/sfm-js": "npm:^0.24.5" "@types/adm-zip": "npm:^0.5.0" "@types/async-lock": "npm:1.4.0" @@ -5366,7 +5566,7 @@ __metadata: gunzip-maybe: "npm:^1.4.2" happy-dom: "npm:^12.10.3" hpagent: "npm:0.1.2" - iceshrimp-js: "workspace:*" + iceshrimp-sdk: "workspace:*" ioredis: "npm:5.3.2" ip-cidr: "npm:3.1.0" is-svg: "npm:4.3.2" @@ -5392,7 +5592,7 @@ __metadata: msgpackr: "npm:1.9.5" multer: "npm:1.4.4-lts.1" nested-property: "npm:4.0.0" - node-fetch: "npm:3.3.1" + node-fetch: "npm:3.3.2" nodemailer: "npm:6.9.3" oauth: "npm:^0.10.0" os-utils: "npm:0.0.14" @@ -5411,7 +5611,7 @@ __metadata: qs: "npm:6.11.2" random-seed: "npm:0.3.0" ratelimiter: "npm:3.4.1" - re2: "npm:^1.20.9" + re2: "npm:^1.20.11" redis-lock: "npm:0.1.4" redis-semaphore: "npm:5.3.1" reflect-metadata: "npm:0.1.13" @@ -5421,10 +5621,9 @@ __metadata: sanitize-html: "npm:2.10.0" seedrandom: "npm:^3.0.5" semver: "npm:7.5.4" - sharp: "npm:0.32.1" + sharp: "npm:0.33.4" strict-event-emitter-types: "npm:2.0.0" stringz: "npm:2.1.0" - summaly: "npm:2.7.0" swc-loader: "npm:^0.2.3" syslog-pro: "npm:1.0.0" systeminformation: "npm:^5.21.12" @@ -6167,16 +6366,6 @@ __metadata: languageName: node linkType: hard -"chalk@npm:4.0.0": - version: 4.0.0 - resolution: "chalk@npm:4.0.0" - dependencies: - ansi-styles: "npm:^4.1.0" - supports-color: "npm:^7.1.0" - checksum: 10/f8ae363f43826f0eea96f94dbf5c544ec3cda1422ec998040b82381702db54e2a056a724445f6295842790bb7a3cb352cf83c704a4fdfee2bfcd2a74ce7fea13 - languageName: node - linkType: hard - "chalk@npm:4.1.2, chalk@npm:^4.0.0, chalk@npm:^4.0.2, chalk@npm:^4.1.0, chalk@npm:^4.1.2": version: 4.1.2 resolution: "chalk@npm:4.1.2" @@ -6360,13 +6549,6 @@ __metadata: languageName: node linkType: hard -"chownr@npm:^1.1.1": - version: 1.1.4 - resolution: "chownr@npm:1.1.4" - checksum: 10/115648f8eb38bac5e41c3857f3e663f9c39ed6480d1349977c4d96c95a47266fcacc5a5aabf3cb6c481e22d72f41992827db47301851766c4fd77ac21a4f081d - languageName: node - linkType: hard - "chownr@npm:^2.0.0": version: 2.0.0 resolution: "chownr@npm:2.0.0" @@ -6508,8 +6690,8 @@ __metadata: "@rollup/plugin-alias": "npm:^5.1.0" "@rollup/plugin-json": "npm:^6.0.1" "@rollup/pluginutils": "npm:^5.1.0" - "@syuilo/aiscript": "npm:0.11.1" "@transfem-org/sfm-js": "npm:^0.24.5" + "@syuilo/aiscript": "npm:0.17.0" "@types/escape-regexp": "npm:0.0.1" "@types/glob": "npm:8.1.0" "@types/gulp": "npm:4.0.13" @@ -6549,7 +6731,7 @@ __metadata: focus-trap: "npm:^7.5.2" focus-trap-vue: "npm:^4.0.2" gsap: "npm:^3.12.2" - iceshrimp-js: "workspace:*" + iceshrimp-sdk: "workspace:*" idb-keyval: "npm:6.2.1" insert-text-at-cursor: "npm:0.3.0" json5: "npm:2.2.3" @@ -7686,13 +7868,6 @@ __metadata: languageName: node linkType: hard -"deep-extend@npm:^0.6.0": - version: 0.6.0 - resolution: "deep-extend@npm:0.6.0" - checksum: 10/7be7e5a8d468d6b10e6a67c3de828f55001b6eb515d014f7aeb9066ce36bd5717161eb47d6a0f7bed8a9083935b465bc163ee2581c8b128d29bf61092fdf57a7 - languageName: node - linkType: hard - "deep-is@npm:^0.1.3": version: 0.1.4 resolution: "deep-is@npm:0.1.4" @@ -7862,13 +8037,20 @@ __metadata: languageName: node linkType: hard -"detect-libc@npm:^2.0.0, detect-libc@npm:^2.0.1": +"detect-libc@npm:^2.0.0": version: 2.0.2 resolution: "detect-libc@npm:2.0.2" checksum: 10/6118f30c0c425b1e56b9d2609f29bec50d35a6af0b762b6ad127271478f3bbfda7319ce869230cf1a351f2b219f39332cde290858553336d652c77b970f15de8 languageName: node linkType: hard +"detect-libc@npm:^2.0.3": + version: 2.0.3 + resolution: "detect-libc@npm:2.0.3" + checksum: 10/b4ea018d623e077bd395f168a9e81db77370dde36a5b01d067f2ad7989924a81d31cb547ff764acb2aa25d50bb7fdde0b0a93bec02212b0cb430621623246d39 + languageName: node + linkType: hard + "detect-newline@npm:^3.0.0": version: 3.1.0 resolution: "detect-newline@npm:3.1.0" @@ -9346,13 +9528,6 @@ __metadata: languageName: node linkType: hard -"expand-template@npm:^2.0.3": - version: 2.0.3 - resolution: "expand-template@npm:2.0.3" - checksum: 10/588c19847216421ed92befb521767b7018dc88f88b0576df98cb242f20961425e96a92cbece525ef28cc5becceae5d544ae0f5b9b5e2aa05acb13716ca5b3099 - languageName: node - linkType: hard - "expand-tilde@npm:^2.0.0, expand-tilde@npm:^2.0.2": version: 2.0.2 resolution: "expand-tilde@npm:2.0.2" @@ -10360,13 +10535,6 @@ __metadata: languageName: node linkType: hard -"github-from-package@npm:0.0.0": - version: 0.0.0 - resolution: "github-from-package@npm:0.0.0" - checksum: 10/2a091ba07fbce22205642543b4ea8aaf068397e1433c00ae0f9de36a3607baf5bcc14da97fbb798cfca6393b3c402031fca06d8b491a44206d6efef391c58537 - languageName: node - linkType: hard - "glob-parent@npm:^3.1.0": version: 3.1.0 resolution: "glob-parent@npm:3.1.0" @@ -11259,9 +11427,9 @@ __metadata: languageName: node linkType: hard -"iceshrimp-js@workspace:*, iceshrimp-js@workspace:packages/iceshrimp-js": +"iceshrimp-sdk@workspace:*, iceshrimp-sdk@workspace:packages/iceshrimp-sdk": version: 0.0.0-use.local - resolution: "iceshrimp-js@workspace:packages/iceshrimp-js" + resolution: "iceshrimp-sdk@workspace:packages/iceshrimp-sdk" dependencies: "@microsoft/api-documenter": "npm:^7.22.21" "@microsoft/api-extractor": "npm:^7.36.0" @@ -11317,6 +11485,14 @@ __metadata: dependenciesMeta: "@discordapp/twemoji@14.1.2": unplugged: true + "@microsoft/api-documenter@7.22.30": + unplugged: true + "@microsoft/api-extractor-model@7.27.5": + unplugged: true + "@microsoft/api-extractor@7.36.3": + unplugged: true + eventemitter3@4.0.7: + unplugged: true languageName: unknown linkType: soft @@ -11468,7 +11644,7 @@ __metadata: languageName: node linkType: hard -"ini@npm:^1.3.4, ini@npm:~1.3.0": +"ini@npm:^1.3.4": version: 1.3.8 resolution: "ini@npm:1.3.8" checksum: 10/314ae176e8d4deb3def56106da8002b462221c174ddb7ce0c49ee72c8cd1f9044f7b10cc555a7d8850982c3b9ca96fc212122749f5234bc2b6fb05fb942ed566 @@ -14606,7 +14782,7 @@ __metadata: languageName: node linkType: hard -"minimist@npm:^1.2.0, minimist@npm:^1.2.3, minimist@npm:^1.2.5, minimist@npm:^1.2.6, minimist@npm:^1.2.8": +"minimist@npm:^1.2.0, minimist@npm:^1.2.5, minimist@npm:^1.2.6, minimist@npm:^1.2.8": version: 1.2.8 resolution: "minimist@npm:1.2.8" checksum: 10/908491b6cc15a6c440ba5b22780a0ba89b9810e1aea684e253e43c4e3b8d56ec1dcdd7ea96dde119c29df59c936cde16062159eae4225c691e19c70b432b6e6f @@ -14723,13 +14899,6 @@ __metadata: languageName: node linkType: hard -"mkdirp-classic@npm:^0.5.2, mkdirp-classic@npm:^0.5.3": - version: 0.5.3 - resolution: "mkdirp-classic@npm:0.5.3" - checksum: 10/3f4e088208270bbcc148d53b73e9a5bd9eef05ad2cbf3b3d0ff8795278d50dd1d11a8ef1875ff5aea3fa888931f95bfcb2ad5b7c1061cfefd6284d199e6776ac - languageName: node - linkType: hard - "mkdirp@npm:^0.5.4, mkdirp@npm:~0.5.1": version: 0.5.6 resolution: "mkdirp@npm:0.5.6" @@ -14909,12 +15078,12 @@ __metadata: languageName: node linkType: hard -"nan@npm:^2.18.0": - version: 2.18.0 - resolution: "nan@npm:2.18.0" +"nan@npm:^2.19.0": + version: 2.19.0 + resolution: "nan@npm:2.19.0" dependencies: node-gyp: "npm:latest" - checksum: 10/5520e22c64e2b5b495b1d765d6334c989b848bbe1502fec89c5857cabcc7f9f0474563377259e7574bff1c8a041d3b90e9ffa1f5e15502ffddee7b2550cc26a0 + checksum: 10/b97f680753113bcd803cb174e40baa01e04aa4cb95ee62b48841336d9c48b278a2eeff71a4a0d7315b8f639fb1e38049925d3be1c6e266c158dc8f7d95d67eaa languageName: node linkType: hard @@ -14955,13 +15124,6 @@ __metadata: languageName: node linkType: hard -"napi-build-utils@npm:^1.0.1": - version: 1.0.2 - resolution: "napi-build-utils@npm:1.0.2" - checksum: 10/276feb8e30189fe18718e85b6f82e4f952822baa2e7696f771cc42571a235b789dc5907a14d9ffb6838c3e4ff4c25717c2575e5ce1cf6e02e496e204c11e57f6 - languageName: node - linkType: hard - "natural-compare-lite@npm:^1.4.0": version: 1.4.0 resolution: "natural-compare-lite@npm:1.4.0" @@ -15024,15 +15186,6 @@ __metadata: languageName: node linkType: hard -"node-abi@npm:^3.3.0": - version: 3.45.0 - resolution: "node-abi@npm:3.45.0" - dependencies: - semver: "npm:^7.3.5" - checksum: 10/b59b49d515955e6b3ab67c51b46a424e78dc5d10900de94239156eb7f6aeb085775567e7ed8f7de836d7dacb2a5a7fc7a2ed94454b422d3e2ccc6d5cf4ab9824 - languageName: node - linkType: hard - "node-addon-api@npm:^5.0.0": version: 5.1.0 resolution: "node-addon-api@npm:5.1.0" @@ -15042,15 +15195,6 @@ __metadata: languageName: node linkType: hard -"node-addon-api@npm:^6.1.0": - version: 6.1.0 - resolution: "node-addon-api@npm:6.1.0" - dependencies: - node-gyp: "npm:latest" - checksum: 10/8eea1d4d965930a177a0508695beb0d89b4c1d80bf330646a035357a1e8fc31e0d09686e2374996e96e757b947a7ece319f98ede3146683f162597c0bcb4df90 - languageName: node - linkType: hard - "node-domexception@npm:^1.0.0": version: 1.0.0 resolution: "node-domexception@npm:1.0.0" @@ -15058,7 +15202,7 @@ __metadata: languageName: node linkType: hard -"node-fetch@npm:*, node-fetch@npm:^3.2.10": +"node-fetch@npm:*, node-fetch@npm:3.3.2, node-fetch@npm:^3.2.10": version: 3.3.2 resolution: "node-fetch@npm:3.3.2" dependencies: @@ -15069,17 +15213,6 @@ __metadata: languageName: node linkType: hard -"node-fetch@npm:3.3.1": - version: 3.3.1 - resolution: "node-fetch@npm:3.3.1" - dependencies: - data-uri-to-buffer: "npm:^4.0.0" - fetch-blob: "npm:^3.1.4" - formdata-polyfill: "npm:^4.0.10" - checksum: 10/9fed9ed9ab83f719ffbe51b5029f32ee9820a725afc57a3e6a7e5742a05dd38b22d005f2d03d70e8e0924b497e513b08992843bb1bc7f0a15b72ad071d8c1271 - languageName: node - linkType: hard - "node-fetch@npm:^2.6.0, node-fetch@npm:^2.6.1, node-fetch@npm:^2.6.12, node-fetch@npm:^2.6.7": version: 2.6.12 resolution: "node-fetch@npm:2.6.12" @@ -16761,28 +16894,6 @@ __metadata: languageName: node linkType: hard -"prebuild-install@npm:^7.1.1": - version: 7.1.1 - resolution: "prebuild-install@npm:7.1.1" - dependencies: - detect-libc: "npm:^2.0.0" - expand-template: "npm:^2.0.3" - github-from-package: "npm:0.0.0" - minimist: "npm:^1.2.3" - mkdirp-classic: "npm:^0.5.3" - napi-build-utils: "npm:^1.0.1" - node-abi: "npm:^3.3.0" - pump: "npm:^3.0.0" - rc: "npm:^1.2.7" - simple-get: "npm:^4.0.0" - tar-fs: "npm:^2.0.0" - tunnel-agent: "npm:^0.6.0" - bin: - prebuild-install: bin.js - checksum: 10/6c70a2f82fbda8903497c560a761b000d861a3e772322c8bed012be0f0a084b5aaca4438a3fad1bd3a24210765f4fae06ddd89ea04dc4c034dde693cc0d9d5f4 - languageName: node - linkType: hard - "prelude-ls@npm:^1.2.1": version: 1.2.1 resolution: "prelude-ls@npm:1.2.1" @@ -17393,20 +17504,6 @@ __metadata: languageName: node linkType: hard -"rc@npm:^1.2.7": - version: 1.2.8 - resolution: "rc@npm:1.2.8" - dependencies: - deep-extend: "npm:^0.6.0" - ini: "npm:~1.3.0" - minimist: "npm:^1.2.0" - strip-json-comments: "npm:~2.0.1" - bin: - rc: ./cli.js - checksum: 10/5c4d72ae7eec44357171585938c85ce066da8ca79146b5635baf3d55d74584c92575fa4e2c9eac03efbed3b46a0b2e7c30634c012b4b4fa40d654353d3c163eb - languageName: node - linkType: hard - "rdf-canonize@npm:^3.4.0": version: 3.4.0 resolution: "rdf-canonize@npm:3.4.0" @@ -17416,14 +17513,14 @@ __metadata: languageName: node linkType: hard -"re2@npm:^1.20.9": - version: 1.20.9 - resolution: "re2@npm:1.20.9" +"re2@npm:^1.20.11": + version: 1.20.11 + resolution: "re2@npm:1.20.11" dependencies: install-artifact-from-github: "npm:^1.3.5" - nan: "npm:^2.18.0" + nan: "npm:^2.19.0" node-gyp: "npm:^10.0.1" - checksum: 10/0ecd9f849b74c89757c98b530ca4f76eac8f9f9e095c6b8b2f65c14a8315ba2a796e9a77fb5149286eadd166adcb573d74344882a20d76999499796e4b814b13 + checksum: 10/a8665c861c632c67db448832a5a6a0092a1a29b8b6b731d6ce10f0017ba2871620780a745a8b2cbdd77e57ecf9e7bc8983c7ec5e10e6da6c06079a98146db443 languageName: node linkType: hard @@ -18351,7 +18448,7 @@ __metadata: languageName: node linkType: hard -"semver@npm:7.5.4, semver@npm:7.x, semver@npm:^7.0.0, semver@npm:^7.3.2, semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.6, semver@npm:^7.3.7, semver@npm:^7.3.8, semver@npm:^7.5.0, semver@npm:^7.5.3, semver@npm:^7.5.4, semver@npm:~7.5.4": +"semver@npm:7.5.4, semver@npm:7.x, semver@npm:^7.0.0, semver@npm:^7.3.2, semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.6, semver@npm:^7.3.7, semver@npm:^7.3.8, semver@npm:^7.5.3, semver@npm:^7.5.4, semver@npm:~7.5.4": version: 7.5.4 resolution: "semver@npm:7.5.4" dependencies: @@ -18371,6 +18468,15 @@ __metadata: languageName: node linkType: hard +"semver@npm:^7.6.0": + version: 7.6.2 + resolution: "semver@npm:7.6.2" + bin: + semver: bin/semver.js + checksum: 10/296b17d027f57a87ef645e9c725bff4865a38dfc9caf29b26aa084b85820972fbe7372caea1ba6857162fa990702c6d9c1d82297cecb72d56c78ab29070d2ca2 + languageName: node + linkType: hard + "serialize-javascript@npm:6.0.0": version: 6.0.0 resolution: "serialize-javascript@npm:6.0.0" @@ -18460,20 +18566,72 @@ __metadata: languageName: node linkType: hard -"sharp@npm:0.32.1": - version: 0.32.1 - resolution: "sharp@npm:0.32.1" +"sharp@npm:0.33.4": + version: 0.33.4 + resolution: "sharp@npm:0.33.4" dependencies: + "@img/sharp-darwin-arm64": "npm:0.33.4" + "@img/sharp-darwin-x64": "npm:0.33.4" + "@img/sharp-libvips-darwin-arm64": "npm:1.0.2" + "@img/sharp-libvips-darwin-x64": "npm:1.0.2" + "@img/sharp-libvips-linux-arm": "npm:1.0.2" + "@img/sharp-libvips-linux-arm64": "npm:1.0.2" + "@img/sharp-libvips-linux-s390x": "npm:1.0.2" + "@img/sharp-libvips-linux-x64": "npm:1.0.2" + "@img/sharp-libvips-linuxmusl-arm64": "npm:1.0.2" + "@img/sharp-libvips-linuxmusl-x64": "npm:1.0.2" + "@img/sharp-linux-arm": "npm:0.33.4" + "@img/sharp-linux-arm64": "npm:0.33.4" + "@img/sharp-linux-s390x": "npm:0.33.4" + "@img/sharp-linux-x64": "npm:0.33.4" + "@img/sharp-linuxmusl-arm64": "npm:0.33.4" + "@img/sharp-linuxmusl-x64": "npm:0.33.4" + "@img/sharp-wasm32": "npm:0.33.4" + "@img/sharp-win32-ia32": "npm:0.33.4" + "@img/sharp-win32-x64": "npm:0.33.4" color: "npm:^4.2.3" - detect-libc: "npm:^2.0.1" - node-addon-api: "npm:^6.1.0" - node-gyp: "npm:latest" - prebuild-install: "npm:^7.1.1" - semver: "npm:^7.5.0" - simple-get: "npm:^4.0.1" - tar-fs: "npm:^2.1.1" - tunnel-agent: "npm:^0.6.0" - checksum: 10/07df854f3d69b1ae95ab82ce5416abdea9b8d5c295965a96a9664767c7541a99cb3df7e56171e200425fd555a2853155817ffa9e945af41eef1762c72e7e1670 + detect-libc: "npm:^2.0.3" + semver: "npm:^7.6.0" + dependenciesMeta: + "@img/sharp-darwin-arm64": + optional: true + "@img/sharp-darwin-x64": + optional: true + "@img/sharp-libvips-darwin-arm64": + optional: true + "@img/sharp-libvips-darwin-x64": + optional: true + "@img/sharp-libvips-linux-arm": + optional: true + "@img/sharp-libvips-linux-arm64": + optional: true + "@img/sharp-libvips-linux-s390x": + optional: true + "@img/sharp-libvips-linux-x64": + optional: true + "@img/sharp-libvips-linuxmusl-arm64": + optional: true + "@img/sharp-libvips-linuxmusl-x64": + optional: true + "@img/sharp-linux-arm": + optional: true + "@img/sharp-linux-arm64": + optional: true + "@img/sharp-linux-s390x": + optional: true + "@img/sharp-linux-x64": + optional: true + "@img/sharp-linuxmusl-arm64": + optional: true + "@img/sharp-linuxmusl-x64": + optional: true + "@img/sharp-wasm32": + optional: true + "@img/sharp-win32-ia32": + optional: true + "@img/sharp-win32-x64": + optional: true + checksum: 10/f396d1363d8e5320596404ae2ce064bdc4378cd1c2b84d7dc5a42d51b566180548b95bfde85ec5b590c6480adce68b4f287495f64b766b8fc2100c3d355a3a91 languageName: node linkType: hard @@ -18534,24 +18692,6 @@ __metadata: languageName: node linkType: hard -"simple-concat@npm:^1.0.0": - version: 1.0.1 - resolution: "simple-concat@npm:1.0.1" - checksum: 10/4d211042cc3d73a718c21ac6c4e7d7a0363e184be6a5ad25c8a1502e49df6d0a0253979e3d50dbdd3f60ef6c6c58d756b5d66ac1e05cda9cacd2e9fc59e3876a - languageName: node - linkType: hard - -"simple-get@npm:^4.0.0, simple-get@npm:^4.0.1": - version: 4.0.1 - resolution: "simple-get@npm:4.0.1" - dependencies: - decompress-response: "npm:^6.0.0" - once: "npm:^1.3.1" - simple-concat: "npm:^1.0.0" - checksum: 10/93f1b32319782f78f2f2234e9ce34891b7ab6b990d19d8afefaa44423f5235ce2676aae42d6743fecac6c8dfff4b808d4c24fe5265be813d04769917a9a44f36 - languageName: node - linkType: hard - "simple-swizzle@npm:^0.2.2": version: 0.2.2 resolution: "simple-swizzle@npm:0.2.2" @@ -19218,13 +19358,6 @@ __metadata: languageName: node linkType: hard -"strip-json-comments@npm:~2.0.1": - version: 2.0.1 - resolution: "strip-json-comments@npm:2.0.1" - checksum: 10/1074ccb63270d32ca28edfb0a281c96b94dc679077828135141f27d52a5a398ef5e78bcf22809d23cadc2b81dfbe345eb5fd8699b385c8b1128907dec4a7d1e1 - languageName: node - linkType: hard - "strip-outer@npm:^2.0.0": version: 2.0.0 resolution: "strip-outer@npm:2.0.0" @@ -19265,25 +19398,6 @@ __metadata: languageName: node linkType: hard -"summaly@npm:2.7.0": - version: 2.7.0 - resolution: "summaly@npm:2.7.0" - dependencies: - cheerio: "npm:0.22.0" - debug: "npm:4.3.3" - escape-regexp: "npm:0.0.1" - got: "npm:11.8.5" - html-entities: "npm:2.3.2" - iconv-lite: "npm:0.6.3" - jschardet: "npm:3.0.0" - koa: "npm:2.13.4" - private-ip: "npm:2.3.3" - require-all: "npm:3.0.0" - trace-redirect: "npm:1.0.6" - checksum: 10/ce491733962e5f3f22c8b80abf78d71e5ae243e9b774b54f2b7832a3246c7e769fb96a1d46c846af9f7c400dbe386f759e8eb8803e8d605d54e16155fa8c7166 - languageName: node - linkType: hard - "supports-color@npm:8.1.1, supports-color@npm:^8.0.0, supports-color@npm:^8.1.1": version: 8.1.1 resolution: "supports-color@npm:8.1.1" @@ -19378,7 +19492,7 @@ __metadata: "@swc/cli": "npm:^0.1.62" "@swc/core": "npm:^1.3.62" "@swc/core-android-arm64": "npm:1.3.11" - iceshrimp-js: "workspace:*" + iceshrimp-sdk: "workspace:*" idb-keyval: "npm:^6.2.1" swc-loader: "npm:^0.2.3" webpack: "npm:^5.85.1" @@ -19460,18 +19574,6 @@ __metadata: languageName: node linkType: hard -"tar-fs@npm:^2.0.0, tar-fs@npm:^2.1.1": - version: 2.1.1 - resolution: "tar-fs@npm:2.1.1" - dependencies: - chownr: "npm:^1.1.1" - mkdirp-classic: "npm:^0.5.2" - pump: "npm:^3.0.0" - tar-stream: "npm:^2.1.4" - checksum: 10/526deae025453e825f87650808969662fbb12eb0461d033e9b447de60ec951c6c4607d0afe7ce057defe9d4e45cf80399dd74bc15f9d9e0773d5e990a78ce4ac - languageName: node - linkType: hard - "tar-stream@npm:^1.5.2": version: 1.6.2 resolution: "tar-stream@npm:1.6.2" @@ -19487,7 +19589,7 @@ __metadata: languageName: node linkType: hard -"tar-stream@npm:^2.1.4, tar-stream@npm:^2.2.0": +"tar-stream@npm:^2.2.0": version: 2.2.0 resolution: "tar-stream@npm:2.2.0" dependencies: @@ -19910,13 +20012,6 @@ __metadata: languageName: node linkType: hard -"trace-redirect@npm:1.0.6": - version: 1.0.6 - resolution: "trace-redirect@npm:1.0.6" - checksum: 10/20429f8ed301caa17d826b028055a3b63ad4ca87183098904440c7e674ba5b66224c0a68ab10b3c10c55730163b39659e3024d2e713a6c85c11edbdb892a2cde - languageName: node - linkType: hard - "trim-newlines@npm:^3.0.0": version: 3.0.1 resolution: "trim-newlines@npm:3.0.1" @@ -20735,15 +20830,6 @@ __metadata: languageName: node linkType: hard -"uuid@npm:7.0.3": - version: 7.0.3 - resolution: "uuid@npm:7.0.3" - bin: - uuid: dist/bin/uuid - checksum: 10/b2a4d30ecd6581015175487426558aafd7f7b4013a2e30802c128cc28cad9abe46ecd36c02f7fbcde7908fd4672334818d56a441c0871963d6bd89d911bef2ea - languageName: node - linkType: hard - "uuid@npm:8.0.0": version: 8.0.0 resolution: "uuid@npm:8.0.0" @@ -20762,6 +20848,15 @@ __metadata: languageName: node linkType: hard +"uuid@npm:9.0.1": + version: 9.0.1 + resolution: "uuid@npm:9.0.1" + bin: + uuid: dist/bin/uuid + checksum: 10/9d0b6adb72b736e36f2b1b53da0d559125ba3e39d913b6072f6f033e0c87835b414f0836b45bcfaf2bdf698f92297fea1c3cc19b0b258bc182c9c43cc0fab9f2 + languageName: node + linkType: hard + "uuid@npm:^8.3.0, uuid@npm:^8.3.2": version: 8.3.2 resolution: "uuid@npm:8.3.2"