summary refs log tree commit diff
path: root/util/src/entities/ConnectedAccount.ts
blob: 6aa2b40144086c70baaa159f5dde9244f715cc2c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import { Column, Entity } from "typeorm";
import { BaseClass } from "./BaseClass";

@Entity("connected_accounts")
export class ConnectedAccount extends BaseClass {
	@Column()
	access_token: string;

	@Column()
	friend_sync: boolean;

	@Column()
	name: string;

	@Column()
	revoked: boolean;

	@Column()
	show_activity: boolean;

	@Column()
	type: string;

	@Column()
	verifie: boolean;

	@Column()
	visibility: number;
}