Files
sct-overseerr/server/entity/Session.ts
Ryan Cohen f5864b49de refactor: update a few dev deps and convert to using type imports where possible (#2886)
* build: bump deps and add some new eslint rules

* refactor: run eslint --fix on code to convert to type imports where possible
2022-08-03 12:57:51 +09:00

16 lines
336 B
TypeScript

import type { ISession } from 'connect-typeorm';
import { Index, Column, PrimaryColumn, Entity } from 'typeorm';
@Entity()
export class Session implements ISession {
@Index()
@Column('bigint')
public expiredAt = Date.now();
@PrimaryColumn('varchar', { length: 255 })
public id = '';
@Column('text')
public json = '';
}