summary refs log tree commit diff
path: root/util/src
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-03 01:15:19 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-03 01:15:19 +0200
commitdb46c332b37ab3ddb206b167d96e83b52fa0749f (patch)
tree67476f7a2f2f22ff2efc5bd8ed902d883cebc0dd /util/src
parent:bug: fix entity missing an id (replace .insert with new Entity().save) (diff)
downloadserver-db46c332b37ab3ddb206b167d96e83b52fa0749f.tar.xz
fix #309
Diffstat (limited to 'util/src')
-rw-r--r--util/src/entities/ConnectedAccount.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/src/entities/ConnectedAccount.ts b/util/src/entities/ConnectedAccount.ts
index 75982d01..59a8f423 100644
--- a/util/src/entities/ConnectedAccount.ts
+++ b/util/src/entities/ConnectedAccount.ts
@@ -2,6 +2,8 @@ import { Column, Entity, JoinColumn, ManyToOne, RelationId } from "typeorm";
 import { BaseClass } from "./BaseClass";
 import { User } from "./User";
 
+export interface PublicConnectedAccount extends Pick<ConnectedAccount, "name" | "type" | "verifie"> {}
+
 @Entity("connected_accounts")
 export class ConnectedAccount extends BaseClass {
 	@Column({ nullable: true })