mirror of
https://github.com/apricote/Listory.git
synced 2026-01-13 21:21:02 +00:00
15 lines
245 B
TypeScript
15 lines
245 B
TypeScript
import { Column } from "typeorm";
|
|
|
|
export class SpotifyConnection {
|
|
@Column()
|
|
id: string;
|
|
|
|
@Column()
|
|
accessToken: string;
|
|
|
|
@Column()
|
|
refreshToken: string;
|
|
|
|
@Column({ type: "timestamp", nullable: true })
|
|
lastRefreshTime?: Date;
|
|
}
|