implement PATCH connection
This commit is contained in:
@@ -62,7 +62,7 @@ export class ConnectedAccount extends BaseClass {
|
||||
verified?: boolean = true;
|
||||
|
||||
@Column({ select: false })
|
||||
visibility?: number = 0;
|
||||
visibility?: boolean = false;
|
||||
|
||||
@Column({ type: "simple-array" })
|
||||
integrations?: string[] = [];
|
||||
@@ -71,7 +71,7 @@ export class ConnectedAccount extends BaseClass {
|
||||
metadata_?: any;
|
||||
|
||||
@Column()
|
||||
metadata_visibility?: number = 0;
|
||||
metadata_visibility?: boolean = false;
|
||||
|
||||
@Column()
|
||||
two_way_link?: boolean = false;
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
export interface ConnectionUpdateSchema {
|
||||
visibility?: boolean;
|
||||
}
|
||||
@@ -28,6 +28,7 @@ export * from "./ClientRelease";
|
||||
export * from "./Config";
|
||||
export * from "./ConnectedAccount";
|
||||
export * from "./ConnectionConfigEntity";
|
||||
export * from "./ConnectionUpdateSchema";
|
||||
export * from "./EmbedCache";
|
||||
export * from "./Emoji";
|
||||
export * from "./Encryption";
|
||||
|
||||
Reference in New Issue
Block a user