summary refs log tree commit diff
path: root/util/src/entities/ConnectedAccount.ts
diff options
context:
space:
mode:
Diffstat (limited to 'util/src/entities/ConnectedAccount.ts')
-rw-r--r--util/src/entities/ConnectedAccount.ts29
1 files changed, 29 insertions, 0 deletions
diff --git a/util/src/entities/ConnectedAccount.ts b/util/src/entities/ConnectedAccount.ts
new file mode 100644
index 00000000..6aa2b401
--- /dev/null
+++ b/util/src/entities/ConnectedAccount.ts
@@ -0,0 +1,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;
+}