mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-24 10:57:30 -07:00
Remove megalodon
This commit is contained in:
parent
e33c7c5b0f
commit
0611651409
180 changed files with 134 additions and 11397 deletions
9
.gitignore
vendored
9
.gitignore
vendored
|
@ -58,9 +58,6 @@ packages/backend/assets/LICENSE
|
|||
!/packages/backend/queue/processors/db
|
||||
!packages/backend/src/db
|
||||
|
||||
packages/megalodon/lib
|
||||
packages/megalodon/.idea
|
||||
|
||||
# blender backups
|
||||
*.blend1
|
||||
*.blend2
|
||||
|
@ -82,8 +79,4 @@ pnpm*
|
|||
|
||||
# Nix Development shell items
|
||||
.devenv
|
||||
.direnv
|
||||
|
||||
# Cargo cache for Docker
|
||||
/.cargo-cache
|
||||
/.cargo-target
|
||||
.direnv
|
BIN
.yarn/cache/@babel-plugin-syntax-jsx-npm-7.22.5-2cbf8e7e68-8829d30c26.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/@babel-plugin-syntax-jsx-npm-7.22.5-2cbf8e7e68-8829d30c26.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/@jest-console-npm-29.6.2-4db58c0edb-1198667bda.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/@jest-console-npm-29.6.2-4db58c0edb-1198667bda.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/@jest-core-npm-29.6.2-5d908b046b-6bbb388643.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/@jest-core-npm-29.6.2-5d908b046b-6bbb388643.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/@jest-environment-npm-29.6.2-48e8b9de28-c7de0e4c0d.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/@jest-environment-npm-29.6.2-48e8b9de28-c7de0e4c0d.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/@jest-expect-npm-29.6.2-7910937388-bd2d88a4e7.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/@jest-expect-npm-29.6.2-7910937388-bd2d88a4e7.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/@jest-expect-utils-npm-29.6.2-bafd0077bb-0decf2009a.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/@jest-expect-utils-npm-29.6.2-bafd0077bb-0decf2009a.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/@jest-fake-timers-npm-29.6.2-db388f40be-1abcda02f2.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/@jest-fake-timers-npm-29.6.2-db388f40be-1abcda02f2.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/@jest-globals-npm-29.6.2-c549594aed-aa4a54f19c.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/@jest-globals-npm-29.6.2-c549594aed-aa4a54f19c.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/@jest-reporters-npm-29.6.2-42ade157bc-7cf880d073.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/@jest-reporters-npm-29.6.2-42ade157bc-7cf880d073.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/@jest-source-map-npm-29.6.0-84d0709d08-9c6c403874.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/@jest-source-map-npm-29.6.0-84d0709d08-9c6c403874.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/@jest-test-result-npm-29.6.2-066177b4eb-8aff37f18c.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/@jest-test-result-npm-29.6.2-066177b4eb-8aff37f18c.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/@jest-test-sequencer-npm-29.6.2-05231e441f-12dc2577e4.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/@jest-test-sequencer-npm-29.6.2-05231e441f-12dc2577e4.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/@jest-transform-npm-29.6.2-6b692dd6ca-ffb8c3c344.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/@jest-transform-npm-29.6.2-6b692dd6ca-ffb8c3c344.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/@jest-types-npm-29.6.1-b7c765fadd-89fc1ccf71.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/@jest-types-npm-29.6.1-b7c765fadd-89fc1ccf71.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/@sinonjs-commons-npm-3.0.0-fa72ff71a1-b4b5b73d4d.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/@sinonjs-commons-npm-3.0.0-fa72ff71a1-b4b5b73d4d.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/@sinonjs-fake-timers-npm-10.3.0-7417f876b4-614d30cb4d.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/@sinonjs-fake-timers-npm-10.3.0-7417f876b4-614d30cb4d.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/@types-core-js-npm-2.5.5-cc01096305-54eb91dc52.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/@types-core-js-npm-2.5.5-cc01096305-54eb91dc52.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/@types-form-data-npm-2.5.0-499e3e2b06-c3f6c89327.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/@types-form-data-npm-2.5.0-499e3e2b06-c3f6c89327.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/@types-jest-npm-29.5.3-8fc40e94bc-e36bb92e0b.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/@types-jest-npm-29.5.3-8fc40e94bc-e36bb92e0b.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/@types-object-assign-deep-npm-0.4.0-bbbcb71273-012429bfa3.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/@types-object-assign-deep-npm-0.4.0-bbbcb71273-012429bfa3.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/@types-parse-link-header-npm-2.0.1-6e02f03027-f766786125.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/@types-parse-link-header-npm-2.0.1-6e02f03027-f766786125.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/@types-yargs-npm-17.0.24-b034cf1d8b-5f3ac4dc4f.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/@types-yargs-npm-17.0.24-b034cf1d8b-5f3ac4dc4f.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/ansi-sequence-parser-npm-1.1.1-4cfd5b85e2-ead5b15c59.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/ansi-sequence-parser-npm-1.1.1-4cfd5b85e2-ead5b15c59.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/axios-npm-1.2.2-151da260f0-6e357491b3.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/axios-npm-1.2.2-151da260f0-6e357491b3.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/babel-jest-npm-29.6.2-b4a252efef-3936b5d6ed.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/babel-jest-npm-29.6.2-b4a252efef-3936b5d6ed.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/babel-plugin-jest-hoist-npm-29.5.0-3760955b96-099b525407.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/babel-plugin-jest-hoist-npm-29.5.0-3760955b96-099b525407.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/babel-preset-jest-npm-29.5.0-1e9ee3b405-5566ca2762.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/babel-preset-jest-npm-29.5.0-1e9ee3b405-5566ca2762.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/convert-source-map-npm-2.0.0-7ab664dc4e-63ae9933be.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/convert-source-map-npm-2.0.0-7ab664dc4e-63ae9933be.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/dedent-npm-1.2.0-2b32a4a08e-239f12ddd4.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/dedent-npm-1.2.0-2b32a4a08e-239f12ddd4.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/emittery-npm-0.13.1-cb6cd1bb03-2b089ab630.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/emittery-npm-0.13.1-cb6cd1bb03-2b089ab630.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/eslint-config-standard-npm-16.0.3-9922e724a8-6ae193634f.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/eslint-config-standard-npm-16.0.3-9922e724a8-6ae193634f.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/eslint-plugin-es-npm-3.0.1-95e8015220-e57592c523.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/eslint-plugin-es-npm-3.0.1-95e8015220-e57592c523.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/eslint-plugin-node-npm-11.1.0-913abe06f4-5804c4f8a6.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/eslint-plugin-node-npm-11.1.0-913abe06f4-5804c4f8a6.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/eslint-plugin-standard-npm-5.0.0-261fbe58f0-58f1aba891.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/eslint-plugin-standard-npm-5.0.0-261fbe58f0-58f1aba891.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/expect-npm-29.6.2-d56284fd66-71f7b0c560.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/expect-npm-29.6.2-d56284fd66-71f7b0c560.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/jest-changed-files-npm-29.5.0-9ca582b770-a67a7cb3c1.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/jest-changed-files-npm-29.5.0-9ca582b770-a67a7cb3c1.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/jest-circus-npm-29.6.2-675d768a16-4f5a96a68c.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/jest-circus-npm-29.6.2-675d768a16-4f5a96a68c.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/jest-cli-npm-29.6.2-99e0036409-0b7b09ae4b.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/jest-cli-npm-29.6.2-99e0036409-0b7b09ae4b.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/jest-config-npm-29.6.2-71660b6c0c-3bd104a3ac.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/jest-config-npm-29.6.2-71660b6c0c-3bd104a3ac.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/jest-docblock-npm-29.4.3-0fa9ff492b-e0e9df1485.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/jest-docblock-npm-29.4.3-0fa9ff492b-e0e9df1485.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/jest-each-npm-29.6.2-c58f436344-b64194f4ca.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/jest-each-npm-29.6.2-c58f436344-b64194f4ca.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/jest-environment-node-npm-29.6.2-0ac11b8f1c-0b754ac2d3.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/jest-environment-node-npm-29.6.2-0ac11b8f1c-0b754ac2d3.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/jest-haste-map-npm-29.6.2-70adb235f5-7262339720.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/jest-haste-map-npm-29.6.2-70adb235f5-7262339720.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/jest-leak-detector-npm-29.6.2-d58b6b7df0-e00152acdb.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/jest-leak-detector-npm-29.6.2-d58b6b7df0-e00152acdb.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/jest-matcher-utils-npm-29.6.2-fd1c69812e-3e1b65dd30.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/jest-matcher-utils-npm-29.6.2-fd1c69812e-3e1b65dd30.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/jest-message-util-npm-29.6.2-8bd7bc632e-e8e3c8d230.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/jest-message-util-npm-29.6.2-8bd7bc632e-e8e3c8d230.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/jest-mock-npm-29.6.2-c31cf48c24-0bacb5d584.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/jest-mock-npm-29.6.2-c31cf48c24-0bacb5d584.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/jest-npm-29.6.2-5eda7a13ff-dd63facd4e.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/jest-npm-29.6.2-5eda7a13ff-dd63facd4e.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/jest-regex-util-npm-29.4.3-defc22c588-96fc7fc28c.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/jest-regex-util-npm-29.4.3-defc22c588-96fc7fc28c.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/jest-resolve-dependencies-npm-29.6.2-63dbac2655-d40ee11af2.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/jest-resolve-dependencies-npm-29.6.2-63dbac2655-d40ee11af2.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/jest-resolve-npm-29.6.2-21cedcf0b9-01721957e6.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/jest-resolve-npm-29.6.2-21cedcf0b9-01721957e6.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/jest-runner-npm-29.6.2-74dddde534-46bd506a08.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/jest-runner-npm-29.6.2-74dddde534-46bd506a08.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/jest-runtime-npm-29.6.2-3a51c05bc4-8e7e4486b2.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/jest-runtime-npm-29.6.2-3a51c05bc4-8e7e4486b2.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/jest-snapshot-npm-29.6.2-6ed320289f-c1c70a9dbc.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/jest-snapshot-npm-29.6.2-6ed320289f-c1c70a9dbc.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/jest-util-npm-29.6.2-41bd0e8e02-8aedc0c800.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/jest-util-npm-29.6.2-41bd0e8e02-8aedc0c800.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/jest-validate-npm-29.6.2-008427c47c-32648d0021.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/jest-validate-npm-29.6.2-008427c47c-32648d0021.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/jest-watcher-npm-29.6.2-ec5e606774-14624190fc.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/jest-watcher-npm-29.6.2-ec5e606774-14624190fc.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/jest-worker-npm-29.6.2-ccd8e6f0e1-1103556453.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/jest-worker-npm-29.6.2-ccd8e6f0e1-1103556453.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/jsonc-parser-npm-3.2.0-1896ece3b7-946dd9a5f3.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/jsonc-parser-npm-3.2.0-1896ece3b7-946dd9a5f3.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/lunr-npm-2.3.9-fa3aa9c2d6-176719e24f.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/lunr-npm-2.3.9-fa3aa9c2d6-176719e24f.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/marked-npm-4.3.0-e7ef9e874f-0db6817893.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/marked-npm-4.3.0-e7ef9e874f-0db6817893.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/minimatch-npm-7.4.6-f3feee458c-1a6c8d2261.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/minimatch-npm-7.4.6-f3feee458c-1a6c8d2261.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/object-assign-deep-npm-0.4.0-8527f6721d-3c31920ca8.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/object-assign-deep-npm-0.4.0-8527f6721d-3c31920ca8.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/parse-link-header-npm-2.0.0-c29aea08c6-0e96c6af99.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/parse-link-header-npm-2.0.0-c29aea08c6-0e96c6af99.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/pure-rand-npm-6.0.2-5d375bc0a6-79de33876a.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/pure-rand-npm-6.0.2-5d375bc0a6-79de33876a.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/resolve.exports-npm-2.0.2-f59b42bbe5-1c7778ca1b.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/resolve.exports-npm-2.0.2-f59b42bbe5-1c7778ca1b.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/shiki-npm-0.14.3-bbc09f85cf-a4dd98e3b2.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/shiki-npm-0.14.3-bbc09f85cf-a4dd98e3b2.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/source-map-support-npm-0.5.13-377dfd7321-933550047b.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/source-map-support-npm-0.5.13-377dfd7321-933550047b.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/ts-jest-npm-29.1.1-04e888e48e-a8c9e284ed.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/ts-jest-npm-29.1.1-04e888e48e-a8c9e284ed.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/typedoc-npm-0.23.28-9a9eb64ab5-40eb4e207a.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/typedoc-npm-0.23.28-9a9eb64ab5-40eb4e207a.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/typescript-npm-4.9.4-51bdca3293-e782fb9e00.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/typescript-npm-4.9.4-51bdca3293-e782fb9e00.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/typescript-patch-0887b19144-2160f7ad97.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/typescript-patch-0887b19144-2160f7ad97.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/v8-to-istanbul-npm-9.1.0-04cd324682-2069d59ee4.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/v8-to-istanbul-npm-9.1.0-04cd324682-2069d59ee4.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/vscode-oniguruma-npm-1.7.0-07cc55fbcc-53519d91d9.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/vscode-oniguruma-npm-1.7.0-07cc55fbcc-53519d91d9.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/vscode-textmate-npm-8.0.0-2deb0cc7cf-127780dfea.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/vscode-textmate-npm-8.0.0-2deb0cc7cf-127780dfea.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/write-file-atomic-npm-4.0.2-661baae4aa-5da60bd4ee.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/write-file-atomic-npm-4.0.2-661baae4aa-5da60bd4ee.zip
(Stored with Git LFS)
vendored
Binary file not shown.
BIN
.yarn/cache/ws-npm-8.12.0-4e21348613-818ff3f874.zip
(Stored with Git LFS)
vendored
BIN
.yarn/cache/ws-npm-8.12.0-4e21348613-818ff3f874.zip
(Stored with Git LFS)
vendored
Binary file not shown.
|
@ -12,7 +12,6 @@ COPY packages/backend/package.json packages/backend/package.json
|
|||
COPY packages/client/package.json packages/client/package.json
|
||||
COPY packages/sw/package.json packages/sw/package.json
|
||||
COPY packages/iceshrimp-js/package.json packages/iceshrimp-js/package.json
|
||||
COPY packages/megalodon/package.json packages/megalodon/package.json
|
||||
|
||||
# Prepare yarn cache
|
||||
COPY .yarn/cache .yarn/cache
|
||||
|
@ -48,8 +47,6 @@ RUN apk add --no-cache --no-progress tini ffmpeg vips-dev zip unzip nodejs-curre
|
|||
|
||||
COPY . ./
|
||||
|
||||
COPY --from=build /iceshrimp/packages/megalodon /iceshrimp/packages/megalodon
|
||||
|
||||
# Copy node modules
|
||||
COPY --from=build /iceshrimp/.yarn /iceshrimp/.yarn
|
||||
|
||||
|
|
|
@ -36,8 +36,7 @@
|
|||
"packages/backend",
|
||||
"packages/client",
|
||||
"packages/sw",
|
||||
"packages/iceshrimp-js",
|
||||
"packages/megalodon"
|
||||
"packages/iceshrimp-js"
|
||||
],
|
||||
"resolutions": {
|
||||
"chokidar": "^3.3.1"
|
||||
|
|
|
@ -6,4 +6,3 @@ This directory contains all of the packages Iceshrimp uses.
|
|||
- `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
|
||||
- `megalodon`: TypeScript library used for partial Mastodon API compatibility
|
||||
|
|
|
@ -91,7 +91,6 @@
|
|||
"koa-send": "5.0.1",
|
||||
"koa-slow": "2.1.0",
|
||||
"koa-views": "7.0.2",
|
||||
"megalodon": "workspace:*",
|
||||
"meilisearch": "0.33.0",
|
||||
"mfm-js": "0.23.3",
|
||||
"mime-types": "2.1.35",
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import Router from "@koa/router";
|
||||
import { getClient } from "@/server/api/mastodon/index.js";
|
||||
import { MiscHelpers } from "@/server/api/mastodon/helpers/misc.js";
|
||||
import authenticate from "@/server/api/authenticate.js";
|
||||
import { argsToBools, limitToInt } from "@/server/api/mastodon/endpoints/timeline.js";
|
||||
|
|
|
@ -1,12 +1,9 @@
|
|||
import { Converter } from "megalodon";
|
||||
import Router from "@koa/router";
|
||||
import axios from "axios";
|
||||
import { argsToBools, convertPaginationArgsIds, limitToInt, normalizeUrlQuery } from "./timeline.js";
|
||||
import { convertAccountId, convertSearchIds, convertStatusIds } from "../converters.js";
|
||||
import { convertSearchIds } from "../converters.js";
|
||||
import authenticate from "@/server/api/authenticate.js";
|
||||
import { UserHelpers } from "@/server/api/mastodon/helpers/user.js";
|
||||
import { SearchHelpers } from "@/server/api/mastodon/helpers/search.js";
|
||||
import { MiscHelpers } from "@/server/api/mastodon/helpers/misc.js";
|
||||
|
||||
export function setupEndpointsSearch(router: Router): void {
|
||||
router.get("/v1/search", async (ctx) => {
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import Router from "@koa/router";
|
||||
import { getClient } from "../index.js";
|
||||
import { ParsedUrlQuery } from "querystring";
|
||||
import { convertConversationIds, convertStatusIds, } from "../converters.js";
|
||||
import { convertId, IdType } from "../../index.js";
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import Router from "@koa/router";
|
||||
import megalodon, { MegalodonInterface } from "megalodon";
|
||||
import { setupEndpointsAuth } from "./endpoints/auth.js";
|
||||
import { setupEndpointsAccount } from "./endpoints/account.js";
|
||||
import { setupEndpointsStatus } from "./endpoints/status.js";
|
||||
|
@ -13,17 +12,6 @@ import { HttpMethodEnum, koaBody } from "koa-body";
|
|||
import multer from "@koa/multer";
|
||||
import { setupEndpointsList } from "@/server/api/mastodon/endpoints/list.js";
|
||||
|
||||
export function getClient(
|
||||
BASE_URL: string,
|
||||
authorization: string | undefined,
|
||||
): MegalodonInterface {
|
||||
const accessTokenArr = authorization?.split(" ") ?? [null];
|
||||
const accessToken = accessTokenArr[accessTokenArr.length - 1];
|
||||
const generator = (megalodon as any).default;
|
||||
const client = generator(BASE_URL, accessToken) as MegalodonInterface;
|
||||
return client;
|
||||
}
|
||||
|
||||
export function setupMastodonApi(router: Router, fileRouter: Router, upload: multer.Instance): void {
|
||||
router.use(
|
||||
koaBody({
|
||||
|
|
|
@ -1,83 +0,0 @@
|
|||
{
|
||||
"name": "megalodon",
|
||||
"private": true,
|
||||
"main": "./lib/src/index.js",
|
||||
"typings": "./lib/src/index.d.ts",
|
||||
"scripts": {
|
||||
"build": "tsc -p ./",
|
||||
"build:debug": "yarn build",
|
||||
"lint": "rome check **/*.ts --apply",
|
||||
"format": "rome format --write src/**/*.ts",
|
||||
"doc": "typedoc --out ../docs ./src",
|
||||
"test": "NODE_ENV=test jest -u --maxWorkers=3"
|
||||
},
|
||||
"jest": {
|
||||
"moduleFileExtensions": [
|
||||
"ts",
|
||||
"js"
|
||||
],
|
||||
"moduleNameMapper": {
|
||||
"^@/(.+)": "<rootDir>/src/$1",
|
||||
"^~/(.+)": "<rootDir>/$1"
|
||||
},
|
||||
"testMatch": [
|
||||
"**/test/**/*.spec.ts"
|
||||
],
|
||||
"preset": "ts-jest/presets/default",
|
||||
"transform": {
|
||||
"^.+\\.(ts|tsx)$": "ts-jest"
|
||||
},
|
||||
"globals": {
|
||||
"ts-jest": {
|
||||
"tsconfig": "tsconfig.json"
|
||||
}
|
||||
},
|
||||
"testEnvironment": "node"
|
||||
},
|
||||
"dependencies": {
|
||||
"@types/oauth": "^0.9.0",
|
||||
"@types/ws": "^8.5.4",
|
||||
"async-lock": "1.4.0",
|
||||
"axios": "1.2.2",
|
||||
"dayjs": "^1.11.7",
|
||||
"form-data": "^4.0.0",
|
||||
"https-proxy-agent": "^5.0.1",
|
||||
"oauth": "^0.10.0",
|
||||
"object-assign-deep": "^0.4.0",
|
||||
"parse-link-header": "^2.0.0",
|
||||
"socks-proxy-agent": "^7.0.0",
|
||||
"typescript": "4.9.4",
|
||||
"uuid": "^9.0.0",
|
||||
"ws": "8.12.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/async-lock": "1.4.0",
|
||||
"@types/core-js": "^2.5.0",
|
||||
"@types/form-data": "^2.5.0",
|
||||
"@types/jest": "^29.4.0",
|
||||
"@types/node": "18.11.18",
|
||||
"@types/object-assign-deep": "^0.4.0",
|
||||
"@types/parse-link-header": "^2.0.0",
|
||||
"@types/uuid": "^9.0.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.49.0",
|
||||
"@typescript-eslint/parser": "^5.49.0",
|
||||
"eslint": "^8.32.0",
|
||||
"eslint-config-prettier": "^8.6.0",
|
||||
"eslint-config-standard": "^16.0.3",
|
||||
"eslint-plugin-import": "^2.27.5",
|
||||
"eslint-plugin-node": "^11.0.0",
|
||||
"eslint-plugin-prettier": "^4.2.1",
|
||||
"eslint-plugin-promise": "^6.1.1",
|
||||
"eslint-plugin-standard": "^5.0.0",
|
||||
"jest": "^29.4.0",
|
||||
"jest-worker": "^29.4.0",
|
||||
"lodash": "^4.17.14",
|
||||
"prettier": "^2.8.3",
|
||||
"ts-jest": "^29.0.5",
|
||||
"typedoc": "^0.23.24"
|
||||
},
|
||||
"directories": {
|
||||
"lib": "lib",
|
||||
"test": "test"
|
||||
}
|
||||
}
|
1
packages/megalodon/src/axios.d.ts
vendored
1
packages/megalodon/src/axios.d.ts
vendored
|
@ -1 +0,0 @@
|
|||
declare module "axios/lib/adapters/http";
|
|
@ -1,13 +0,0 @@
|
|||
export class RequestCanceledError extends Error {
|
||||
public isCancel: boolean;
|
||||
|
||||
constructor(msg: string) {
|
||||
super(msg);
|
||||
this.isCancel = true;
|
||||
Object.setPrototypeOf(this, RequestCanceledError);
|
||||
}
|
||||
}
|
||||
|
||||
export const isCancel = (value: any): boolean => {
|
||||
return value && value.isCancel;
|
||||
};
|
|
@ -1,3 +0,0 @@
|
|||
import MisskeyAPI from "./misskey/api_client";
|
||||
|
||||
export default MisskeyAPI.Converter;
|
|
@ -1,3 +0,0 @@
|
|||
export const NO_REDIRECT = "urn:ietf:wg:oauth:2.0:oob";
|
||||
export const DEFAULT_SCOPE = ["read", "write", "follow"];
|
||||
export const DEFAULT_UA = "megalodon";
|
|
@ -1,27 +0,0 @@
|
|||
/// <reference path="emoji.ts" />
|
||||
/// <reference path="source.ts" />
|
||||
/// <reference path="field.ts" />
|
||||
namespace Entity {
|
||||
export type Account = {
|
||||
id: string;
|
||||
username: string;
|
||||
acct: string;
|
||||
display_name: string;
|
||||
locked: boolean;
|
||||
created_at: string;
|
||||
followers_count: number;
|
||||
following_count: number;
|
||||
statuses_count: number;
|
||||
note: string;
|
||||
url: string;
|
||||
avatar: string;
|
||||
avatar_static: string;
|
||||
header: string;
|
||||
header_static: string;
|
||||
emojis: Array<Emoji>;
|
||||
moved: Account | null;
|
||||
fields: Array<Field>;
|
||||
bot: boolean | null;
|
||||
source?: Source;
|
||||
};
|
||||
}
|
|
@ -1,8 +0,0 @@
|
|||
namespace Entity {
|
||||
export type Activity = {
|
||||
week: string;
|
||||
statuses: string;
|
||||
logins: string;
|
||||
registrations: string;
|
||||
};
|
||||
}
|
|
@ -1,34 +0,0 @@
|
|||
/// <reference path="tag.ts" />
|
||||
/// <reference path="emoji.ts" />
|
||||
/// <reference path="reaction.ts" />
|
||||
|
||||
namespace Entity {
|
||||
export type Announcement = {
|
||||
id: string;
|
||||
content: string;
|
||||
starts_at: string | null;
|
||||
ends_at: string | null;
|
||||
published: boolean;
|
||||
all_day: boolean;
|
||||
published_at: string;
|
||||
updated_at: string;
|
||||
read?: boolean;
|
||||
mentions: Array<AnnouncementAccount>;
|
||||
statuses: Array<AnnouncementStatus>;
|
||||
tags: Array<Tag>;
|
||||
emojis: Array<Emoji>;
|
||||
reactions: Array<Reaction>;
|
||||
};
|
||||
|
||||
export type AnnouncementAccount = {
|
||||
id: string;
|
||||
username: string;
|
||||
url: string;
|
||||
acct: string;
|
||||
};
|
||||
|
||||
export type AnnouncementStatus = {
|
||||
id: string;
|
||||
url: string;
|
||||
};
|
||||
}
|
|
@ -1,7 +0,0 @@
|
|||
namespace Entity {
|
||||
export type Application = {
|
||||
name: string;
|
||||
website?: string | null;
|
||||
vapid_key?: string | null;
|
||||
};
|
||||
}
|
|
@ -1,14 +0,0 @@
|
|||
/// <reference path="attachment.ts" />
|
||||
namespace Entity {
|
||||
export type AsyncAttachment = {
|
||||
id: string;
|
||||
type: "unknown" | "image" | "gifv" | "video" | "audio";
|
||||
url: string | null;
|
||||
remote_url: string | null;
|
||||
preview_url: string;
|
||||
text_url: string | null;
|
||||
meta: Meta | null;
|
||||
description: string | null;
|
||||
blurhash: string | null;
|
||||
};
|
||||
}
|
|
@ -1,49 +0,0 @@
|
|||
namespace Entity {
|
||||
export type Sub = {
|
||||
// For Image, Gifv, and Video
|
||||
width?: number;
|
||||
height?: number;
|
||||
size?: string;
|
||||
aspect?: number;
|
||||
|
||||
// For Gifv and Video
|
||||
frame_rate?: string;
|
||||
|
||||
// For Audio, Gifv, and Video
|
||||
duration?: number;
|
||||
bitrate?: number;
|
||||
};
|
||||
|
||||
export type Focus = {
|
||||
x: number;
|
||||
y: number;
|
||||
};
|
||||
|
||||
export type Meta = {
|
||||
original?: Sub;
|
||||
small?: Sub;
|
||||
focus?: Focus;
|
||||
length?: string;
|
||||
duration?: number;
|
||||
fps?: number;
|
||||
size?: string;
|
||||
width?: number;
|
||||
height?: number;
|
||||
aspect?: number;
|
||||
audio_encode?: string;
|
||||
audio_bitrate?: string;
|
||||
audio_channel?: string;
|
||||
};
|
||||
|
||||
export type Attachment = {
|
||||
id: string;
|
||||
type: "unknown" | "image" | "gifv" | "video" | "audio";
|
||||
url: string;
|
||||
remote_url: string | null;
|
||||
preview_url: string | null;
|
||||
text_url: string | null;
|
||||
meta: Meta | null;
|
||||
description: string | null;
|
||||
blurhash: string | null;
|
||||
};
|
||||
}
|
|
@ -1,16 +0,0 @@
|
|||
namespace Entity {
|
||||
export type Card = {
|
||||
url: string;
|
||||
title: string;
|
||||
description: string;
|
||||
type: "link" | "photo" | "video" | "rich";
|
||||
image?: string;
|
||||
author_name?: string;
|
||||
author_url?: string;
|
||||
provider_name?: string;
|
||||
provider_url?: string;
|
||||
html?: string;
|
||||
width?: number;
|
||||
height?: number;
|
||||
};
|
||||
}
|
|
@ -1,8 +0,0 @@
|
|||
/// <reference path="status.ts" />
|
||||
|
||||
namespace Entity {
|
||||
export type Context = {
|
||||
ancestors: Array<Status>;
|
||||
descendants: Array<Status>;
|
||||
};
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue