This is an automated email from the ASF dual-hosted git repository. young pushed a change to branch dev/next in repository https://gitbox.apache.org/repos/asf/apisix-dashboard.git
from d1252e66a chore: clear useless things (#3024) add 66e25d9a5 chore: sort imports, add and check license header (#3025) No new revisions were added by this update. Summary of changes: .actions/ASF-Release.cfg | 31 +--- .actions/ASFLicenseHeader.txt | 14 ++ .github/workflows/license-checker.yml | 19 +++ .licenserc.yaml | 17 ++ eslint.config.js | 41 ++++- package.json | 3 + pnpm-lock.yaml | 184 +++++++++++++++++++++ src/apis/consumer_groups.ts | 19 ++- src/apis/consumers.ts | 19 ++- src/apis/credentials.ts | 19 ++- src/apis/plugin_configs.ts | 19 ++- src/apis/plugins.ts | 23 ++- src/apis/protos.ts | 19 ++- src/apis/routes.ts | 19 ++- src/apis/secrets.ts | 19 ++- src/apis/services.ts | 19 ++- src/apis/ssls.ts | 19 ++- src/apis/stream_routes.ts | 19 ++- src/apis/upstreams.ts | 19 ++- src/components/Btn.tsx | 16 ++ src/components/Header/LanguageMenu.tsx | 21 ++- src/components/Header/SettingModalBtn.tsx | 19 ++- src/components/Header/index.tsx | 19 ++- src/components/Navbar.tsx | 24 ++- src/components/form-slice/FormDisplayDate.tsx | 18 +- .../form-slice/FormItemPlugins/PluginCard.tsx | 18 +- .../form-slice/FormItemPlugins/PluginCardList.tsx | 23 ++- .../FormItemPlugins/PluginEditorDrawer.tsx | 26 ++- .../FormItemPlugins/SelectPluginsDrawer.tsx | 23 ++- .../form-slice/FormItemPlugins/index.tsx | 42 +++-- src/components/form-slice/FormPartBasic.tsx | 32 +++- src/components/form-slice/FormPartConsumer.tsx | 22 ++- src/components/form-slice/FormPartCredential.tsx | 21 ++- src/components/form-slice/FormPartGlobalRules.tsx | 17 ++ src/components/form-slice/FormPartPluginConfig.tsx | 18 +- src/components/form-slice/FormPartProto.tsx | 22 ++- src/components/form-slice/FormPartRoute/index.tsx | 24 ++- src/components/form-slice/FormPartRoute/schema.ts | 19 ++- .../form-slice/FormPartSSL/FormItemCertKeyList.tsx | 28 +++- src/components/form-slice/FormPartSSL/index.tsx | 30 +++- src/components/form-slice/FormPartSSL/schema.ts | 19 ++- src/components/form-slice/FormPartSecret.tsx | 28 +++- .../form-slice/FormPartService/index.tsx | 32 +++- .../form-slice/FormPartService/schema.ts | 19 ++- .../form-slice/FormPartStreamRoute/index.tsx | 28 +++- .../form-slice/FormPartStreamRoute/schema.ts | 19 ++- .../form-slice/FormPartUpstream/FormItemNodes.tsx | 40 +++-- .../FormPartUpstream/FormSectionChecks.tsx | 34 +++- .../FormPartUpstream/FormSectionDiscovery.tsx | 26 ++- .../form-slice/FormPartUpstream/index.tsx | 29 +++- .../form-slice/FormPartUpstream/schema.ts | 19 ++- src/components/form-slice/FormPartUpstream/util.ts | 19 +++ src/components/form-slice/FormSection/index.tsx | 28 +++- src/components/form-slice/FormSectionGeneral.tsx | 24 ++- src/components/form/Btn.tsx | 16 ++ src/components/form/Editor.tsx | 30 +++- src/components/form/JsonInput.tsx | 21 ++- src/components/form/Labels.tsx | 30 +++- src/components/form/NumberInput.tsx | 19 ++- src/components/form/Select.tsx | 19 ++- src/components/form/Switch.tsx | 19 ++- src/components/form/TagInput.tsx | 19 ++- src/components/form/TextArray.tsx | 19 ++- src/components/form/TextInput.tsx | 19 ++- src/components/form/Textarea.tsx | 19 ++- src/components/form/TextareaWithUpload.tsx | 32 +++- src/components/form/util.ts | 16 ++ .../page-slice/consumers/DetailCredentialsTabs.tsx | 19 ++- .../page-slice/plugin_metadata/PluginMetadata.tsx | 40 +++-- src/components/page-slice/plugin_metadata/hooks.ts | 24 ++- src/components/page/DeleteResourceBtn.tsx | 21 ++- src/components/page/PageHeader.tsx | 18 +- src/components/page/SettingsModal.tsx | 21 ++- src/components/page/Tabs.tsx | 18 +- src/components/page/ToAddPageBtn.tsx | 23 ++- src/config/antdConfigProvider.tsx | 21 ++- src/config/constant.ts | 16 ++ src/config/global.ts | 22 ++- src/config/i18n.ts | 19 ++- src/config/navRoutes.ts | 16 ++ src/config/req.ts | 23 ++- src/main.tsx | 34 +++- src/routes/__root.tsx | 32 +++- src/routes/consumer_groups/add.tsx | 35 +++- src/routes/consumer_groups/detail.$id.tsx | 39 +++-- src/routes/consumer_groups/index.tsx | 35 +++- src/routes/consumers/add.tsx | 33 +++- .../consumers/detail.$username/credentials/add.tsx | 33 +++- .../detail.$username/credentials/detail.$id.tsx | 41 +++-- .../detail.$username/credentials/index.tsx | 37 +++-- src/routes/consumers/detail.$username/index.tsx | 41 +++-- src/routes/consumers/index.tsx | 35 +++- src/routes/global_rules/add.tsx | 39 +++-- src/routes/global_rules/detail.$id.tsx | 41 +++-- src/routes/global_rules/index.tsx | 35 +++- src/routes/index.tsx | 17 ++ src/routes/plugin_configs/add.tsx | 35 +++- src/routes/plugin_configs/detail.$id.tsx | 39 +++-- src/routes/plugin_configs/index.tsx | 35 +++- src/routes/plugin_metadata/index.tsx | 17 ++ src/routes/protos/add.tsx | 37 ++++- src/routes/protos/detail.$id.tsx | 43 +++-- src/routes/protos/index.tsx | 35 +++- src/routes/routes/add.tsx | 33 +++- src/routes/routes/detail.$id.tsx | 39 +++-- src/routes/routes/index.tsx | 37 +++-- src/routes/secrets/add.tsx | 35 +++- src/routes/secrets/detail.$manager.$id.tsx | 41 +++-- src/routes/secrets/index.tsx | 35 +++- src/routes/services/add.tsx | 33 +++- src/routes/services/detail.$id.tsx | 39 +++-- src/routes/services/index.tsx | 37 +++-- src/routes/ssls/add.tsx | 39 +++-- src/routes/ssls/detail.$id.tsx | 43 +++-- src/routes/ssls/index.tsx | 35 +++- src/routes/stream_routes/add.tsx | 33 +++- src/routes/stream_routes/detail.$id.tsx | 39 +++-- src/routes/stream_routes/index.tsx | 37 +++-- src/routes/upstreams/add.tsx | 39 +++-- src/routes/upstreams/detail.$id.tsx | 43 +++-- src/routes/upstreams/index.tsx | 37 +++-- src/stores/global.ts | 16 ++ src/types/i18next.d.ts | 18 +- src/types/router.d.ts | 16 ++ src/types/schema/apisix/common.ts | 16 ++ src/types/schema/apisix/consumer_groups.ts | 16 ++ src/types/schema/apisix/consumers.ts | 17 ++ src/types/schema/apisix/credentials.ts | 17 ++ src/types/schema/apisix/global_rules.ts | 17 ++ src/types/schema/apisix/index.ts | 33 +++- src/types/schema/apisix/plugin_configs.ts | 18 +- src/types/schema/apisix/plugin_metadata.ts | 16 ++ src/types/schema/apisix/plugins.ts | 16 ++ src/types/schema/apisix/protos.ts | 17 ++ src/types/schema/apisix/routes.ts | 19 ++- src/types/schema/apisix/secrets.ts | 17 ++ src/types/schema/apisix/services.ts | 17 ++ src/types/schema/apisix/ssls.ts | 17 ++ src/types/schema/apisix/stream_routes.ts | 19 ++- src/types/schema/apisix/type.ts | 19 ++- src/types/schema/apisix/upstreams.ts | 17 ++ src/types/schema/pageSearch.ts | 16 ++ src/types/vite-env.d.ts | 16 ++ src/utils/form-producer.ts | 19 ++- src/utils/producer.ts | 19 ++- src/utils/useNamePrefix.ts | 16 ++ src/utils/usePagination.ts | 21 ++- src/utils/zod.ts | 18 +- vite.config.ts | 27 ++- 149 files changed, 3282 insertions(+), 636 deletions(-) create mode 100644 .actions/ASFLicenseHeader.txt create mode 100644 .github/workflows/license-checker.yml create mode 100644 .licenserc.yaml