mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-23 08:46:09 +01:00
🎨 Clean code
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
5f6ddb4655
commit
2f70ef43a1
4 changed files with 13 additions and 13 deletions
14
app/src/types/config.d.ts
vendored
14
app/src/types/config.d.ts
vendored
|
|
@ -64,7 +64,7 @@ declare namespace Config {
|
|||
*/
|
||||
openHelp: boolean;
|
||||
/**
|
||||
* Publishing service
|
||||
* Publish service
|
||||
* 发布服务
|
||||
*/
|
||||
publish: IPublish;
|
||||
|
|
@ -1078,29 +1078,29 @@ declare namespace Config {
|
|||
export type TLogLevel = "off" | "trace" | "debug" | "info" | "warn" | "error" | "fatal";
|
||||
|
||||
/**
|
||||
* Publishing service
|
||||
* Publish service
|
||||
*/
|
||||
export interface IPublish {
|
||||
/**
|
||||
* Whether to open the publishing service
|
||||
* Whether to open the publish service
|
||||
*/
|
||||
enable: boolean;
|
||||
/**
|
||||
* The basic authentication settings of publishing service
|
||||
* The basic authentication settings of publish service
|
||||
*/
|
||||
auth: IPublishAuth;
|
||||
/**
|
||||
* Port on which the publishing service listens
|
||||
* Port on which the publish service listens
|
||||
*/
|
||||
port: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* Publishing service authentication settings
|
||||
* Publish service authentication settings
|
||||
*/
|
||||
export interface IPublishAuth {
|
||||
/**
|
||||
* Whether to enable basic authentication for publishing services
|
||||
* Whether to enable basic authentication for publish services
|
||||
*/
|
||||
enable: boolean;
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue