Fix various typos (#156)

Found via `codespell -q 3 -S "./yarn.lock" -L pris`
This commit is contained in:
luzpaz
2025-08-01 07:53:31 -04:00
committed by GitHub
parent 545a6b154a
commit a435ead916
7 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ export const userACLDescriptions: ObjectFromList<typeof userACLs> = {
"notifications:read": "Fetch this account's notifications.",
"notifications:mark": "Mark notifications as read for this account.",
"notifications:listen": "Connect to a websocket to recieve notifications.",
"notifications:listen": "Connect to a websocket to receive notifications.",
"notifications:delete": "Delete this account's notifications.",
"screenshots:new": "Create screenshots for this account",
+1 -1
View File
@@ -16,7 +16,7 @@ Server sends redirect to `drop://handshake/[id]/[token]`, where the token is an
## 3. Client requests certificates
Client makes request: `POST /api/v1/client/auth/handshake` with the token recieved in the previous step.
Client makes request: `POST /api/v1/client/auth/handshake` with the token received in the previous step.
The server uses it's CA to generate a public-private key pair, the CN of the client ID. It then sends that pair, plus the CA's public key, to the client, which stores it all.
+1 -1
View File
@@ -1,5 +1,5 @@
/*
The notification system handles the recieving, creation and sending of notifications in Drop
The notification system handles the receiving, creation and sending of notifications in Drop
Design goals:
1. Nonce-based notifications; notifications should only be created once
+1 -1
View File
@@ -195,7 +195,7 @@ export class ObjectHandler {
* @returns
* @description If we need to fetch a remote resource, it doesn't make sense
* to immediately fetch the object, *then* check permissions.
* Instead the caller can pass a simple anonymous funciton, like
* Instead the caller can pass a simple anonymous function, like
* () => $dropFetch('/my-image');
* And if we actually have permission to write, it fetches it then.
*/
+1 -1
View File
@@ -41,7 +41,7 @@ type TaskPoolEntry = FinishedTask & {
* easily without re-inventing the wheel every time.
*/
class TaskHandler {
// registry of schedualed tasks to be created
// registry of scheduled tasks to be created
private taskCreators: Map<TaskGroup, () => Task> = new Map();
// list of all currently running tasks
+1 -1
View File
@@ -3,7 +3,7 @@ import prisma from "~/server/internal/db/database";
export default defineNitroPlugin(async (_nitro) => {
// Ensure system user exists
// The system user owns any user-based code
// that we want to re-use for the app
// that we want to reuse for the app
// e.g. notifications
await prisma.user.upsert({
where: {