From 9f7c91b191465e8b593d748a4159dccd49453dfc Mon Sep 17 00:00:00 2001 From: siyi98 Date: Tue, 20 Sep 2022 11:43:39 +0800 Subject: [PATCH] chore(workflow: delete mirror.yml) --- .github/workflows/mirror.yml | 34 ++++++++++++++--------------- packages/form-render/src/index.d.ts | 3 ++- 2 files changed, 19 insertions(+), 18 deletions(-) diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml index 4fc2fecea..d7046e895 100644 --- a/.github/workflows/mirror.yml +++ b/.github/workflows/mirror.yml @@ -1,20 +1,20 @@ -name: 🔀 Sync mirror to Vercel +# name: 🔀 Sync mirror to Vercel -on: - push: - branches: - - master +# on: +# push: +# branches: +# - master -jobs: - mirror: - runs-on: ubuntu-latest - steps: - - name: mirror actions - continue-on-error: true - uses: wearerequired/git-mirror-action@v1 - env: - SSH_PRIVATE_KEY: ${{ secrets.FORK_PRIVATE_KEY }} - with: - source-repo: 'https://github.com/alibaba/x-render.git' - destination-repo: 'git@github.com:siyi98/x-render.git' +# jobs: +# mirror: +# runs-on: ubuntu-latest +# steps: +# - name: mirror actions +# continue-on-error: true +# uses: wearerequired/git-mirror-action@v1 +# env: +# SSH_PRIVATE_KEY: ${{ secrets.FORK_PRIVATE_KEY }} +# with: +# source-repo: 'https://github.com/alibaba/x-render.git' +# destination-repo: 'git@github.com:siyi98/x-render.git' \ No newline at end of file diff --git a/packages/form-render/src/index.d.ts b/packages/form-render/src/index.d.ts index 89710880f..2a6351a3a 100644 --- a/packages/form-render/src/index.d.ts +++ b/packages/form-render/src/index.d.ts @@ -27,7 +27,8 @@ export interface SchemaBase { | 'dateTime' | 'date' | 'time' - | 'upload'; + | 'upload' + | (string & {}); default: any; /** 是否必填,支持 `'{{ formData.xxx === "" }}'` 形式的表达式 */ required: boolean | string;