mirror of
https://github.com/trafficlunar/tomodachi-share.git
synced 2026-06-27 22:24:14 +00:00
Compare commits
No commits in common. "277c0b4a55a0d34bd9e863c63e5d6cc402c0ca43" and "caeeaf6b6a8e6b477ee2d482946cc9bb733f847b" have entirely different histories.
277c0b4a55
...
caeeaf6b6a
10 changed files with 6038 additions and 935 deletions
|
|
@ -2,7 +2,7 @@
|
|||
"name": "@tomodachi-share/backend",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"packageManager": "pnpm@11.8.0",
|
||||
"packageManager": "pnpm@11.1.1",
|
||||
"scripts": {
|
||||
"dev": "next dev",
|
||||
"build": "next build",
|
||||
|
|
@ -17,15 +17,15 @@
|
|||
"@tomodachi-share/shared": "workspace:*",
|
||||
"bit-buffer": "^0.3.0",
|
||||
"charinfo-ex": "^0.0.5",
|
||||
"dayjs": "^1.11.21",
|
||||
"downshift": "^9.3.6",
|
||||
"dayjs": "^1.11.20",
|
||||
"downshift": "^9.3.2",
|
||||
"file-type": "^22.0.1",
|
||||
"next": "16.2.9",
|
||||
"next": "16.2.6",
|
||||
"next-auth": "5.0.0-beta.30",
|
||||
"qrcode-generator": "^2.0.4",
|
||||
"react": "^19.2.7",
|
||||
"react-dom": "^19.2.7",
|
||||
"redis": "^6.0.0",
|
||||
"react": "^19.2.6",
|
||||
"react-dom": "^19.2.6",
|
||||
"redis": "^5.12.1",
|
||||
"satori": "^0.26.0",
|
||||
"sharp": "^0.34.5",
|
||||
"sjcl-with-all": "1.0.8",
|
||||
|
|
@ -34,16 +34,16 @@
|
|||
"devDependencies": {
|
||||
"@eslint/eslintrc": "^3.3.5",
|
||||
"@iconify/react": "^6.0.2",
|
||||
"@tailwindcss/postcss": "^4.3.1",
|
||||
"@types/node": "^26.0.0",
|
||||
"@types/react": "^19.2.17",
|
||||
"@tailwindcss/postcss": "^4.3.0",
|
||||
"@types/node": "^25.7.0",
|
||||
"@types/react": "^19.2.14",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"@types/sjcl": "^1.0.34",
|
||||
"eslint": "^10.5.0",
|
||||
"eslint-config-next": "16.2.9",
|
||||
"eslint": "^10.3.0",
|
||||
"eslint-config-next": "16.2.6",
|
||||
"prisma": "^6.19.3",
|
||||
"schema-dts": "^2.0.0",
|
||||
"tailwindcss": "^4.3.1",
|
||||
"tailwindcss": "^4.3.0",
|
||||
"typescript": "^6.0.3"
|
||||
},
|
||||
"exports": {
|
||||
|
|
|
|||
5082
backend/pnpm-lock.yaml
generated
Normal file
5082
backend/pnpm-lock.yaml
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -35,7 +35,7 @@ export async function POST(request: NextRequest) {
|
|||
method: "POST",
|
||||
headers: { Authorization: `Bearer ${process.env.CLOUDFLARE_API_TOKEN}`, "Content-Type": "application/json" },
|
||||
body: JSON.stringify({
|
||||
files: [{ url: `${process.env.NEXT_PUBLIC_BASE_URL}/api/profile/${session.user?.id}/info`, headers: { Origin: process.env.NEXT_PUBLIC_FRONTEND_URL } }],
|
||||
files: [`${process.env.NEXT_PUBLIC_BASE_URL}/api/profile/${session.user?.id}/info`],
|
||||
}),
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ export async function POST(request: NextRequest) {
|
|||
method: "POST",
|
||||
headers: { Authorization: `Bearer ${process.env.CLOUDFLARE_API_TOKEN}`, "Content-Type": "application/json" },
|
||||
body: JSON.stringify({
|
||||
files: [{ url: `${process.env.NEXT_PUBLIC_BASE_URL}/api/profile/${session.user.id}/info`, headers: { Origin: process.env.NEXT_PUBLIC_FRONTEND_URL } }],
|
||||
files: [`${process.env.NEXT_PUBLIC_BASE_URL}/api/profile/${session.user.id}/info`],
|
||||
}),
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ export async function POST(request: NextRequest) {
|
|||
headers: { Authorization: `Bearer ${process.env.CLOUDFLARE_API_TOKEN}`, "Content-Type": "application/json" },
|
||||
body: JSON.stringify({
|
||||
files: [
|
||||
{ url: `${process.env.NEXT_PUBLIC_BASE_URL}/api/profile/${session.user?.id}/info`, headers: { Origin: process.env.NEXT_PUBLIC_FRONTEND_URL } },
|
||||
`${process.env.NEXT_PUBLIC_BASE_URL}/api/profile/${session.user?.id}/info`,
|
||||
`${process.env.NEXT_PUBLIC_BASE_URL}/profile/${session.user?.id}/picture`,
|
||||
],
|
||||
}),
|
||||
|
|
|
|||
|
|
@ -269,7 +269,7 @@ export async function POST(request: NextRequest, { params }: { params: Promise<{
|
|||
headers: { Authorization: `Bearer ${process.env.CLOUDFLARE_API_TOKEN}`, "Content-Type": "application/json" },
|
||||
body: JSON.stringify({
|
||||
files: [
|
||||
{ url: `${process.env.NEXT_PUBLIC_BASE_URL}/api/mii/${miiId}/info`, headers: { Origin: process.env.NEXT_PUBLIC_FRONTEND_URL } },
|
||||
`${process.env.NEXT_PUBLIC_BASE_URL}/api/mii/${miiId}/info`,
|
||||
`${process.env.NEXT_PUBLIC_BASE_URL}/mii/${miiId}/image?type=mii`,
|
||||
`${process.env.NEXT_PUBLIC_BASE_URL}/mii/${miiId}/image?type=features`,
|
||||
`${process.env.NEXT_PUBLIC_BASE_URL}/mii/${miiId}/image?type=image0`,
|
||||
|
|
|
|||
|
|
@ -9,5 +9,5 @@
|
|||
"keywords": [],
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"packageManager": "pnpm@11.8.0"
|
||||
"packageManager": "pnpm@11.1.1"
|
||||
}
|
||||
|
|
|
|||
1822
pnpm-lock.yaml
generated
1822
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load diff
|
|
@ -9,5 +9,3 @@ allowBuilds:
|
|||
prisma: true
|
||||
sharp: true
|
||||
unrs-resolver: false
|
||||
minimumReleaseAgeExclude:
|
||||
- '@types/node@26.0.0'
|
||||
|
|
|
|||
31
shared/pnpm-lock.yaml
generated
Normal file
31
shared/pnpm-lock.yaml
generated
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
lockfileVersion: '9.0'
|
||||
|
||||
settings:
|
||||
autoInstallPeers: true
|
||||
excludeLinksFromLockfile: false
|
||||
|
||||
importers:
|
||||
|
||||
.:
|
||||
dependencies:
|
||||
'@2toad/profanity':
|
||||
specifier: ^3.3.0
|
||||
version: 3.3.0
|
||||
'@types/sjcl':
|
||||
specifier: ^1.0.34
|
||||
version: 1.0.34
|
||||
|
||||
packages:
|
||||
|
||||
'@2toad/profanity@3.3.0':
|
||||
resolution: {integrity: sha512-hBptHbB6Regs5AgtHiLr/WfgHRh6ZGdA9EexOWU14n2eNjQekvK9/gg18iFUYvL2WrNb4X3Ci0bzgzJXhzmpNQ==}
|
||||
engines: {node: '>=12'}
|
||||
|
||||
'@types/sjcl@1.0.34':
|
||||
resolution: {integrity: sha512-bQHEeK5DTQRunIfQeUMgtpPsNNCcZyQ9MJuAfW1I7iN0LDunTc78Fu17STbLMd7KiEY/g2zHVApippa70h6HoQ==}
|
||||
|
||||
snapshots:
|
||||
|
||||
'@2toad/profanity@3.3.0': {}
|
||||
|
||||
'@types/sjcl@1.0.34': {}
|
||||
Loading…
Add table
Add a link
Reference in a new issue