Skip to content

Commit 98bc971

Browse files
committed
Update web app because I spell like a 10 year old.
1 parent 4cdaced commit 98bc971

File tree

3 files changed

+59
-15
lines changed

3 files changed

+59
-15
lines changed

apps/template/src/app/api/citations/initBib/route.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ import { BibEntry } from "@ulld/api/classes/prismaMdxRelations/bibEntry";
99
import { prisma } from "@ulld/database";
1010
import { bibCoreSchema } from "@ulld/api/generalPrismaSchemas";
1111

12-
13-
1412
export async function POST(req: NextRequest) {
1513
try {
1614
const appConfig = await readAppConfig();

apps/template/src/database/schema.prisma

Lines changed: 54 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,22 @@
11
generator client {
22
provider = "prisma-client-js"
3-
previewFeatures = ["fullTextSearch", "postgresqlExtensions"]
3+
previewFeatures = ["fullTextSearchPostgres", "postgresqlExtensions"]
44
// output = env("AUTOGENERATED_ULLD_DATABASE_CLIENT_PATH")
55
}
66

7+
// <<BEGIN-CUT>>
8+
generator custom_generator {
9+
provider = "prisma-generator-fake-data"
10+
output = "../databaseTestData.ts"
11+
}
12+
13+
generator json {
14+
provider = "prisma-json-types-generator"
15+
namespace = "PrismaJson"
16+
// clientOutput = "<finds it automatically>"
17+
// (./ -> relative to schema, or an importable path to require() it)
18+
}
19+
720
generator zod {
821
provider = "zod-prisma-types"
922
output = "../src/zod" // default is ./generated/zod
@@ -23,6 +36,8 @@ generator zod {
2336
writeNullishInModelTypes = false // default is false
2437
}
2538

39+
// <<END-CUT>>
40+
2641
datasource db {
2742
provider = "postgresql"
2843
url = env("ULLD_POSTGRES_URL") // uses connection pooling
@@ -586,12 +601,43 @@ model Whiteboard {
586601
}
587602

588603
model DJT {
589-
id Int @id @default(autoincrement())
590-
pluginName String?
591-
modelId String? // A useful utility value that can be used for querying, as this utility model stores most data in a type that lacks most querying functionality.
592-
utilityStringField String? // Another generic utility field for querying.
593-
utilityNumberField Float? // Another generic utility field for querying.
594-
utilityDateField DateTime? // Another generic utility field for querying.
604+
id Int @id @default(autoincrement())
605+
pluginName String?
606+
modelId String? // A useful utility value that can be used for querying, as this utility model stores most data in a type that lacks most querying functionality.
607+
utilityStringField String? // Another generic utility field for querying.
608+
utilityNumberField Float? // Another generic utility field for querying.
609+
utilityDateField DateTime? // Another generic utility field for querying.
595610
utilityDateFieldTwo DateTime? // Because some times things have an end date.
596-
data Bytes
611+
data Bytes
597612
}
613+
614+
// <<BEGIN-CUT>>
615+
// Added for the website
616+
model FeatureRequest {
617+
id Int @id @default(autoincrement())
618+
email String
619+
message String
620+
category String[] @default([])
621+
userBase String[] @default([])
622+
receivedOn DateTime @default(now())
623+
}
624+
625+
model WaitlistRequest {
626+
id Int @id @default(autoincrement())
627+
email String
628+
receivedOn DateTime @default(now())
629+
emailsSent Int @default(0)
630+
}
631+
632+
model BusinessContact {
633+
id Int @id @default(autoincrement())
634+
companyName String
635+
contactName String
636+
contactPreference String
637+
email String?
638+
phone String?
639+
message String
640+
purpose String?
641+
}
642+
643+
// <<END-CUT>>

apps/website/src/components/pageSpecific/landing/preBetaAlert.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ const PreBetaAlertDialog = () => {
5353
to install this application in it's current form.
5454
</div>
5555
<p>
56-
The web application was abondoned and this application is now
57-
being rewrittin in Flutter and Rust to incorporate all of the same
58-
features in a native application with ummatched performance. While
56+
The web application was abandoned and this application is now
57+
being rewritten in Flutter and Rust to incorporate all of the same
58+
features in a native application with unmatched performance. While
5959
this release won't be ready until early fall, there is already
60-
Rust powered plot generators, native, decentrialized peer-to-peer
60+
Rust powered plot generators, native, decentralized peer-to-peer
6161
communication and more.
6262
</p>
6363
<p>
@@ -66,7 +66,7 @@ const PreBetaAlertDialog = () => {
6666
code according to some software, but it became so over engineered
6767
that a complete rewrite was what's best in the long run. You can
6868
expect a beta by the end of July, maybe June if there aren't too
69-
many hickups.
69+
many hick-ups.
7070
</p>
7171
<div className={"mt-2"}>
7272
You can learn more about the motivation and plans for{" "}

0 commit comments

Comments
 (0)