diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-08-24 16:34:46 +0200 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-08-24 16:34:46 +0200 |
commit | b86032a001b45d3f345820b84ba4489981116919 (patch) | |
tree | c583ad6608be9393e88ea85f4aeb3f747e72c1d3 /util/src/entities/ConnectedAccount.ts | |
parent | generate schema (diff) | |
download | server-b86032a001b45d3f345820b84ba4489981116919.tar.xz |
:sparkles: typeorm entities
Diffstat (limited to 'util/src/entities/ConnectedAccount.ts')
-rw-r--r-- | util/src/entities/ConnectedAccount.ts | 29 |
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; +} |