mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-10 04:32:35 +01:00
close issue #684
This commit is contained in:
parent
f6f5dcafd1
commit
45e4522443
@ -2960,7 +2960,7 @@
|
||||
"type": {
|
||||
"type": "string"
|
||||
},
|
||||
"verifie": {
|
||||
"verified": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"visibility": {
|
||||
@ -2980,7 +2980,7 @@
|
||||
"type",
|
||||
"user",
|
||||
"user_id",
|
||||
"verifie",
|
||||
"verified",
|
||||
"visibility"
|
||||
]
|
||||
},
|
||||
|
@ -355,11 +355,11 @@
|
||||
"type": {
|
||||
"type": "string"
|
||||
},
|
||||
"verifie": {
|
||||
"verified": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"required": ["name", "type", "verifie"]
|
||||
"required": ["name", "type", "verified"]
|
||||
}
|
||||
},
|
||||
"$schema": "http://json-schema.org/draft-07/schema#"
|
||||
|
@ -2,7 +2,7 @@ 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"> {}
|
||||
export interface PublicConnectedAccount extends Pick<ConnectedAccount, "name" | "type" | "verified"> {}
|
||||
|
||||
@Entity("connected_accounts")
|
||||
export class ConnectedAccount extends BaseClass {
|
||||
@ -35,7 +35,7 @@ export class ConnectedAccount extends BaseClass {
|
||||
type: string;
|
||||
|
||||
@Column()
|
||||
verifie: boolean;
|
||||
verified: boolean;
|
||||
|
||||
@Column({ select: false })
|
||||
visibility: number;
|
||||
|
Loading…
Reference in New Issue
Block a user