mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 04:03:49 +01:00
Remove megalodon
This commit is contained in:
parent
e33c7c5b0f
commit
0611651409
7
.gitignore
vendored
7
.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
|
||||
@ -83,7 +80,3 @@ pnpm*
|
||||
# Nix Development shell items
|
||||
.devenv
|
||||
.direnv
|
||||
|
||||
# Cargo cache for Docker
|
||||
/.cargo-cache
|
||||
/.cargo-target
|
||||
|
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.
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:de0502453eb5123991ca8651abc46e66ae1ea4fb5f1d16287351481f2b814d90
|
||||
size 55363
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3b8dcf11f47e95a7d9fca627789e25445724cf16aa43db53b0cad72c42cd34c7
|
||||
size 6381
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b609d4aa7fcd36642cdeaae414fb820bf24c06f01ccd3c84b1182084b0519bf2
|
||||
size 3721
|
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.
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:102cbaeaea0bc133ea9f98a996097f0ec835e8265ad7a23c48003e087f14eb66
|
||||
size 10081
|
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.
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ceb732470a6c1b6cd609d02e4ed607790ee50f3ed4a268dd32d684d6d10127f6
|
||||
size 19740
|
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.
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:853ef88be0eb5ed8061b67e6b02c355c258b6fb785fb8476d06325c058452901
|
||||
size 2753
|
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.
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:dd169ff9a2264861357b1def4eb1f5a735f87a8431ddaa18d69d7b4cb9c91fef
|
||||
size 16008
|
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.
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c637d55317d0dd1ea27e19b8444b51ff7fa3dc049aded1f5700e31fd905bc0db
|
||||
size 454641
|
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.
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d99e84ba041f9e2a36ea4ad38ee0d6cafa0830436cb5adec8722b7908feb88bf
|
||||
size 2446
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:39b507512936808f011a283496ce80cb84f6f7ee7a0b989571f5254f8e0020a1
|
||||
size 6022
|
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.
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:52750392ee792ac8cf682bd29c1132724e4ce3c839f90d20567ef8db68e96b56
|
||||
size 86370
|
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.
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5750375a0d9b2d0e94107f756921c48a675087f12f8197089c015ab6f44f2631
|
||||
size 4858
|
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.
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a2e76229ec47d60798729f4016d7296cfe825fc88a3ea8508816a4dd30e22645
|
||||
size 4635
|
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.
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:eeb2ef721f623a970182556e640e5f89ed4a65a55283c7a2dbf2a3108235f3b8
|
||||
size 8354
|
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.
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cb054b300fb6883e04321ca67d2621a7dacb33524fa37f38fb27c7b9861c51ff
|
||||
size 3666
|
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.
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ec0fdfc70715b106e8ad67d6537c40091c1109ff587359ac5fefab549a79a8d5
|
||||
size 4377
|
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.
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:42f1baee31296104d275e7f81afcfa8cf13e274060dec070443575108d5e4d1e
|
||||
size 10991
|
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.
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7636a223c9390692e0adfc8a6aa31e44db3e3739c40e7126bd2774a1bea87fb9
|
||||
size 36070
|
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.
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ea314bae543c0a2daf90ee6659dee5c1e1e00a06116e8e5a6b456b2e28f653b0
|
||||
size 356561
|
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.
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d24fdac3f7c380bbe8a18254d8df10ba71f4842897c6f82275728b0fcaf41b54
|
||||
size 94328
|
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.
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ffbe0d07363acc50c3846eee8b989ecddac1f0584cf849dcedf1173e0d53352e
|
||||
size 39763
|
@ -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 New Issue
Block a user