refactor: more TS code
This commit is contained in:
@@ -34,7 +34,7 @@ export interface CreateChannelDTO {
|
||||
is_public: boolean;
|
||||
}
|
||||
|
||||
export interface ChannelDTO extends Pick<Channel, "owner" | "description" | "name"> {
|
||||
export interface ChannelDTO extends Partial<Pick<Channel, "owner" | "description" | "name">> {
|
||||
id: number;
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -6,8 +6,8 @@ export interface Server {
|
||||
description: string;
|
||||
}
|
||||
export interface GithubAuthConfig {
|
||||
client_id: string;
|
||||
client_secret: string; // todo: check security problem!
|
||||
client_id?: string;
|
||||
client_secret?: string;
|
||||
}
|
||||
export interface FirebaseConfig {
|
||||
enabled: boolean;
|
||||
|
||||
Reference in New Issue
Block a user