diff options
-rw-r--r-- | util/src/entities/ConnectedAccount.ts | 2 |
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 }) |