refactor(api): ♻️ More OpenAPI refactoring work

This commit is contained in:
Jesse Wierzbinski 2024-09-16 15:29:09 +02:00
parent 6d9e385a04
commit 5aa1c4e625
No known key found for this signature in database
35 changed files with 4883 additions and 1815 deletions

View file

@ -0,0 +1 @@
ALTER TABLE "Filters" ALTER COLUMN "context" SET NOT NULL;

File diff suppressed because it is too large Load diff

View file

@ -232,6 +232,13 @@
"when": 1724073118382,
"tag": "0032_ambiguous_sue_storm",
"breakpoints": true
},
{
"idx": 33,
"version": "7",
"when": 1726491670160,
"tag": "0033_panoramic_sister_grimm",
"breakpoints": true
}
]
}

View file

@ -61,6 +61,7 @@ export const Filters = pgTable("Filters", {
}),
context: text("context")
.array()
.notNull()
.$type<
("home" | "notifications" | "public" | "thread" | "account")[]
>(),