Add authentication and assets

This commit is contained in:
2025-09-03 01:38:47 -04:00
parent c8a9e9329a
commit 04488c43c5
48 changed files with 3710 additions and 0 deletions

11
src/lang/Strings.ts Normal file
View File

@@ -0,0 +1,11 @@
export default class Strings {
public static randomString(length: number): string {
return Math.random()
.toString(36)
.substring(2, 2 + length);
}
private constructor() {
throw new Error('Strings is a static class that may not be instantiated');
}
}

View File

@@ -0,0 +1,3 @@
export default function assertUnreachable(x: never): never {
throw new Error(`Error: Reached un-reachable code with [${x}]`);
}