Skip to content

Commit

Permalink
feat: add forceProxy for telegra.ph like platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
terwer committed Apr 8, 2024
1 parent bbab965 commit a3e6806
Show file tree
Hide file tree
Showing 7 changed files with 97 additions and 72 deletions.
6 changes: 6 additions & 0 deletions libs/zhi-blog-api/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# zhi-blog-api

## 1.64.0

### Minor Changes

- feat: add usernameLabel and passwordLabel option

## 1.63.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion libs/zhi-blog-api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "zhi-blog-api",
"version": "1.63.0",
"version": "1.64.0",
"type": "module",
"description": "a common blog interface",
"main": "./dist/index.js",
Expand Down
12 changes: 12 additions & 0 deletions libs/zhi-blog-api/src/lib/blogConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,11 @@ abstract class BlogConfig {
*/
public username?: string

/**
* 用户名标题
*/
public usernameLabel?: string

/**
* 密码类型
*/
Expand All @@ -110,6 +115,11 @@ abstract class BlogConfig {
*/
public password: string

/**
* 密码标题
*/
public passwordLabel?: string

/**
* 密码/token设置地址
*/
Expand Down Expand Up @@ -294,8 +304,10 @@ abstract class BlogConfig {
this.home = ""
this.apiUrl = ""
this.username = ""
this.usernameLabel = "用户名"
this.passwordType = PasswordType.PasswordType_Password
this.password = ""
this.passwordLabel = "密码"
this.blogid = ""
this.blogName = ""
this.posidKey = ""
Expand Down
7 changes: 7 additions & 0 deletions libs/zhi-siyuan-api/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# zhi-siyuan-api

## 2.20.8

### Patch Changes

- Updated dependencies
- zhi-blog-api@1.64.0

## 2.20.7

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion libs/zhi-siyuan-api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "zhi-siyuan-api",
"version": "2.20.7",
"version": "2.20.8",
"type": "module",
"description": "a siyuan-note api including both kernel and client",
"main": "./dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
"@changesets/cli": "^2.27.1",
"@terwer/commit-config-custom": "workspace:*",
"@terwer/eslint-config-custom": "workspace:*",
"turbo": "^1.13.0"
"turbo": "^1.13.2"
}
}
Loading

0 comments on commit a3e6806

Please sign in to comment.