refactor: more database types (#17490)

This commit is contained in:
Jason Rasmussen 2025-04-09 10:24:38 -04:00 committed by GitHub
parent 04b03f2924
commit 8943ec23ba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 123 additions and 148 deletions

View file

@ -163,6 +163,28 @@ export type Partner = {
inTimeline: boolean;
};
export type Place = {
admin1Code: string | null;
admin1Name: string | null;
admin2Code: string | null;
admin2Name: string | null;
alternateNames: string | null;
countryCode: string;
id: number;
latitude: number;
longitude: number;
modificationDate: Date;
name: string;
};
export type Session = {
id: string;
createdAt: Date;
updatedAt: Date;
deviceOS: string;
deviceType: string;
};
const userColumns = ['id', 'name', 'email', 'profileImagePath', 'profileChangedAt'] as const;
export const columns = {