Compare commits
4 Commits
e0a99cc455
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 1baf37ae41 | |||
| efa258fdde | |||
| cab2eaa22c | |||
| 49a74cf4df |
35
package.json
35
package.json
@@ -12,23 +12,23 @@
|
|||||||
"prisma-update": "yarn prisma db push"
|
"prisma-update": "yarn prisma db push"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@chakra-ui/charts": "^3.30.0",
|
"@chakra-ui/charts": "^3.31.0",
|
||||||
"@chakra-ui/react": "^3.30.0",
|
"@chakra-ui/react": "^3.31.0",
|
||||||
"@emotion/react": "^11.14.0",
|
"@emotion/react": "^11.14.0",
|
||||||
"@escape.tech/graphql-armor": "^3.2.0",
|
"@escape.tech/graphql-armor": "^3.2.0",
|
||||||
"@prisma/client": "^6.19.0",
|
"@prisma/client": "^6.19.2",
|
||||||
"@prisma/extension-accelerate": "^2.0.2",
|
"@prisma/extension-accelerate": "^3.0.1",
|
||||||
"@urql/next": "^2.0.0",
|
"@urql/next": "^2.0.0",
|
||||||
"dotenv": "^17.2.3",
|
"dotenv": "^17.2.3",
|
||||||
"graphql": "^16.12.0",
|
"graphql": "^16.12.0",
|
||||||
"graphql-scalars": "^1.25.0",
|
"graphql-scalars": "^1.25.0",
|
||||||
"graphql-yoga": "^5.18.0",
|
"graphql-yoga": "^5.18.0",
|
||||||
"next": "16.1.1",
|
"next": "16.1.5",
|
||||||
"next-themes": "^0.4.6",
|
"next-themes": "^0.4.6",
|
||||||
"react": "19.2.3",
|
"react": "19.2.4",
|
||||||
"react-dom": "19.2.3",
|
"react-dom": "19.2.4",
|
||||||
"react-icons": "^5.5.0",
|
"react-icons": "^5.5.0",
|
||||||
"recharts": "^3.6.0",
|
"recharts": "^3.7.0",
|
||||||
"rxjs": "^7.8.2",
|
"rxjs": "^7.8.2",
|
||||||
"urql": "^5.0.1"
|
"urql": "^5.0.1"
|
||||||
},
|
},
|
||||||
@@ -36,23 +36,24 @@
|
|||||||
"@eslint/eslintrc": "^3.3.3",
|
"@eslint/eslintrc": "^3.3.3",
|
||||||
"@eslint/js": "^9.39.2",
|
"@eslint/js": "^9.39.2",
|
||||||
"@iconify/react": "^6.0.2",
|
"@iconify/react": "^6.0.2",
|
||||||
"@types/node": "^24.10.4",
|
"@types/node": "^25.0.10",
|
||||||
"@types/react": "^19.2.7",
|
"@types/react": "^19.2.10",
|
||||||
"@types/react-dom": "^19.2.3",
|
"@types/react-dom": "^19.2.3",
|
||||||
"@typescript-eslint/eslint-plugin": "^8.51.0",
|
"@typescript-eslint/eslint-plugin": "^8.54.0",
|
||||||
"@typescript-eslint/parser": "^8.51.0",
|
"@typescript-eslint/parser": "^8.54.0",
|
||||||
|
"baseline-browser-mapping": "^2.9.18",
|
||||||
"eslint": "^9.39.2",
|
"eslint": "^9.39.2",
|
||||||
"eslint-config-next": "16.1.1",
|
"eslint-config-next": "16.1.5",
|
||||||
"eslint-config-prettier": "^10.1.8",
|
"eslint-config-prettier": "^10.1.8",
|
||||||
"eslint-plugin-jsx-a11y": "^6.10.2",
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
||||||
"eslint-plugin-prettier": "^5.5.4",
|
"eslint-plugin-prettier": "^5.5.5",
|
||||||
"eslint-plugin-react": "^7.37.5",
|
"eslint-plugin-react": "^7.37.5",
|
||||||
"eslint-plugin-react-hooks": "^7.0.1",
|
"eslint-plugin-react-hooks": "^7.0.1",
|
||||||
"prettier": "3.7.4",
|
"prettier": "3.8.1",
|
||||||
"prisma": "^6.19.0",
|
"prisma": "^6.19.2",
|
||||||
"tsx": "^4.21.0",
|
"tsx": "^4.21.0",
|
||||||
"typescript": "^5.9.3",
|
"typescript": "^5.9.3",
|
||||||
"typescript-eslint": "^8.51.0"
|
"typescript-eslint": "^8.54.0"
|
||||||
},
|
},
|
||||||
"packageManager": "yarn@4.12.0"
|
"packageManager": "yarn@4.12.0"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ const StatsList = ({
|
|||||||
groups >= 0 ? (
|
groups >= 0 ? (
|
||||||
<SingleStatComponent
|
<SingleStatComponent
|
||||||
loading={loading}
|
loading={loading}
|
||||||
title="Groups Bot"
|
title="Groups Helped"
|
||||||
error={error}
|
error={error}
|
||||||
stat={groups}
|
stat={groups}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -136,7 +136,7 @@ export default function Home() {
|
|||||||
textAlign="center"
|
textAlign="center"
|
||||||
>
|
>
|
||||||
{
|
{
|
||||||
"A telegram bot that removes links and embeds to sites that align with the Fascist Right political agenda."
|
"A Telegram bot that deletes links and embeds to sites that align with the Fascist Right political agenda or are otherwise a safety/privacy risk."
|
||||||
}
|
}
|
||||||
</Heading>
|
</Heading>
|
||||||
</VStack>
|
</VStack>
|
||||||
|
|||||||
@@ -243,7 +243,7 @@ export const resolvers = {
|
|||||||
increment: async (
|
increment: async (
|
||||||
_parent: unknown,
|
_parent: unknown,
|
||||||
data: {
|
data: {
|
||||||
link: boolean;
|
link: number;
|
||||||
command: boolean;
|
command: boolean;
|
||||||
trigger: boolean;
|
trigger: boolean;
|
||||||
mutationKey?: string;
|
mutationKey?: string;
|
||||||
@@ -282,7 +282,7 @@ export const resolvers = {
|
|||||||
return await prisma.dailyStats.update({
|
return await prisma.dailyStats.update({
|
||||||
where: { createdAt: latestDailyStats.createdAt },
|
where: { createdAt: latestDailyStats.createdAt },
|
||||||
data: {
|
data: {
|
||||||
linksDeleted: { increment: link ? 1 : 0 },
|
linksDeleted: { increment: link ? link : 0 },
|
||||||
commandResponses: { increment: command ? 1 : 0 },
|
commandResponses: { increment: command ? 1 : 0 },
|
||||||
timesTriggered: { increment: trigger ? 1 : 0 }
|
timesTriggered: { increment: trigger ? 1 : 0 }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ const typeDefs = /* GraphQL */ `
|
|||||||
mutationKey: String
|
mutationKey: String
|
||||||
): Groups!
|
): Groups!
|
||||||
increment(
|
increment(
|
||||||
link: Boolean
|
link: Int
|
||||||
command: Boolean
|
command: Boolean
|
||||||
trigger: Boolean
|
trigger: Boolean
|
||||||
mutationKey: String
|
mutationKey: String
|
||||||
|
|||||||
Reference in New Issue
Block a user