Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5f7f181

Browse files
author
FalkWolsky
committed
Adding Carbone API, updating APITemplate API, restructuring groups
1 parent7416faa commit5f7f181

File tree

15 files changed

+903
-60
lines changed

15 files changed

+903
-60
lines changed

‎client/packages/lowcoder/src/i18n/locales/de.ts‎

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -779,17 +779,19 @@ export const de = {
779779
"dynamicDataSourceConfigErrText":"Die Konfiguration der zusätzlichen Datenquelle konnte nicht geladen werden.",
780780
"retry":"Wiederholen",
781781
"categoryDatabase":"Datenbank",
782-
"categoryBigdata":"Große Daten",
783-
"categoryAi":"AI",
782+
"categoryBigdata":"Big Data",
783+
"categoryAi":"KI",
784784
"categoryDevops":"DevOps",
785785
"categoryAppdevelopment":"App-Entwicklung",
786786
"categoryWorkflow":"Arbeitsablauf",
787-
"categoryMessaging":"Nachrichtenübermittlung",
788-
"categoryAssets":"Vermögenswerte &Lagerung",
789-
"categoryProjectManagement":"Projektleitung",
787+
"categoryMessaging":"Messaging",
788+
"categoryAssets":"Assets &Speicher",
789+
"categoryProjectManagement":"Projektmanagement",
790790
"categoryCrm":"CRM",
791-
"categoryEcommerce":"Elektronischer Geschäftsverkehr",
792-
"categoryApis":"Andere",
791+
"categoryEcommerce":"E-Commerce",
792+
"categoryWebscrapers":"Web-Scraper",
793+
"categoryDocumentHandling":"Bericht & Dokumentenerstellung",
794+
"categoryRPA":"Roboter Prozess Automatisierung"
793795
},
794796
"sqlQuery":{
795797
...en.sqlQuery,

‎client/packages/lowcoder/src/i18n/locales/en.ts‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -787,7 +787,9 @@ export const en = {
787787
"categoryProjectManagement" :"Project Management",
788788
"categoryCrm" :"CRM",
789789
"categoryEcommerce" :"E-commerce",
790-
"categoryApis" :"Others",
790+
"categoryWebscrapers" :"Webscrapers",
791+
"categoryDocumentHandling" :"Report & Document Generation",
792+
"categoryRPA" :"Robotic Process Automation",
791793
},
792794

793795

‎client/packages/lowcoder/src/i18n/locales/es.ts‎

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -778,18 +778,20 @@ export const es = {
778778
"dynamicDataSourceConfigLoadingText":"Cargando configuración de fuente de datos adicional...",
779779
"dynamicDataSourceConfigErrText":"No se ha podido cargar la configuración adicional de la fuente de datos.",
780780
"retry":"Reintentar",
781-
"categoryDatabase":"Base dedatos",
782-
"categoryBigdata":"Grandes datos",
783-
"categoryAi":"AI",
781+
"categoryDatabase":"Base deDatos",
782+
"categoryBigdata":"Big Data",
783+
"categoryAi":"IA",
784784
"categoryDevops":"DevOps",
785-
"categoryAppdevelopment":"Desarrollo deaplicaciones",
786-
"categoryWorkflow":"Flujo detrabajo",
785+
"categoryAppdevelopment":"Desarrollo deAplicaciones",
786+
"categoryWorkflow":"Flujo deTrabajo",
787787
"categoryMessaging":"Mensajería",
788-
"categoryAssets":"Activos yalmacenamiento",
789-
"categoryProjectManagement":"Gestión deproyectos",
788+
"categoryAssets":"Recursos yAlmacenamiento",
789+
"categoryProjectManagement":"Gestión deProyectos",
790790
"categoryCrm":"CRM",
791-
"categoryEcommerce":"Comercio electrónico",
792-
"categoryApis":"Otros",
791+
"categoryEcommerce":"Comercio Electrónico",
792+
"categoryWebscrapers":"Raspadores Web",
793+
"categoryDocumentHandling":"Generación de Informes y Documentos",
794+
"categoryRPA":"Automatización de Procesos Robóticos",
793795
},
794796
"sqlQuery":{
795797
...en.sqlQuery,

‎client/packages/lowcoder/src/i18n/locales/it.ts‎

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -779,17 +779,19 @@ export const it = {
779779
"dynamicDataSourceConfigErrText":"Impossibile caricare la configurazione della fonte di dati extra.",
780780
"retry":"Riprova",
781781
"categoryDatabase":"Database",
782-
"categoryBigdata":"Grandi dati",
783-
"categoryAi":"AI",
782+
"categoryBigdata":"Big Data",
783+
"categoryAi":"IA",
784784
"categoryDevops":"DevOps",
785-
"categoryAppdevelopment":"Sviluppodi app",
785+
"categoryAppdevelopment":"SviluppoApp",
786786
"categoryWorkflow":"Flusso di lavoro",
787-
"categoryMessaging":"Messaging",
788-
"categoryAssets":"Attività e stoccaggio",
789-
"categoryProjectManagement":"Gestionedel progetto",
787+
"categoryMessaging":"Messaggistica",
788+
"categoryAssets":"Asset & Archiviazione",
789+
"categoryProjectManagement":"GestioneProgetti",
790790
"categoryCrm":"CRM",
791-
"categoryEcommerce":"Commercio elettronico",
792-
"categoryApis":"Altri",
791+
"categoryEcommerce":"E-commerce",
792+
"categoryWebscrapers":"Web Scrapers",
793+
"categoryDocumentHandling":"Generazione Report e Documenti",
794+
"categoryRPA":"Automazione Robotica dei Processi",
793795
},
794796
"sqlQuery":{
795797
...en.sqlQuery,

‎client/packages/lowcoder/src/i18n/locales/pt.ts‎

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -778,18 +778,20 @@ export const pt = {
778778
"dynamicDataSourceConfigLoadingText":"Carregando configuração extra da fonte de dados...",
779779
"dynamicDataSourceConfigErrText":"Falha ao carregar configuração extra da fonte de dados.",
780780
"retry":"Tentar Novamente",
781-
"categoryDatabase":"Base dedados",
782-
"categoryBigdata":"Grandes volumes de dados",
781+
"categoryDatabase":"Banco deDados",
782+
"categoryBigdata":"Big Data",
783783
"categoryAi":"IA",
784784
"categoryDevops":"DevOps",
785-
"categoryAppdevelopment":"Desenvolvimento deaplicações",
786-
"categoryWorkflow":"Fluxo detrabalho",
785+
"categoryAppdevelopment":"Desenvolvimento deAplicativos",
786+
"categoryWorkflow":"Fluxo deTrabalho",
787787
"categoryMessaging":"Mensagens",
788-
"categoryAssets":"Activos earmazenamento",
789-
"categoryProjectManagement":"Gestão deprojectos",
788+
"categoryAssets":"Ativos eArmazenamento",
789+
"categoryProjectManagement":"Gerenciamento deProjetos",
790790
"categoryCrm":"CRM",
791-
"categoryEcommerce":"Comércio eletrónico",
792-
"categoryApis":"Outros",
791+
"categoryEcommerce":"Comércio Eletrônico",
792+
"categoryWebscrapers":"Raspadores Web",
793+
"categoryDocumentHandling":"Geração de Relatórios e Documentos",
794+
"categoryRPA":"Automação de Processos Robóticos"
793795
},
794796
"sqlQuery":{
795797
...en.sqlQuery,

‎client/packages/lowcoder/src/i18n/locales/ru.ts‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -780,16 +780,18 @@ export const ru = {
780780
"retry":"Повторная попытка",
781781
"categoryDatabase":"База данных",
782782
"categoryBigdata":"Большие данные",
783-
"categoryAi":"AI",
783+
"categoryAi":"ИИ",
784784
"categoryDevops":"DevOps",
785785
"categoryAppdevelopment":"Разработка приложений",
786786
"categoryWorkflow":"Рабочий процесс",
787-
"categoryMessaging":"Передача сообщений",
788-
"categoryAssets":"Активы ихранение",
787+
"categoryMessaging":"Сообщения",
788+
"categoryAssets":"Активы иХранилище",
789789
"categoryProjectManagement":"Управление проектами",
790790
"categoryCrm":"CRM",
791791
"categoryEcommerce":"Электронная коммерция",
792-
"categoryApis":"Другие",
792+
"categoryWebscrapers":"Веб-скраперы",
793+
"categoryDocumentHandling":"Создание отчетов и документов",
794+
"categoryRPA":"Роботизированная автоматизация процессов"
793795
},
794796
"sqlQuery":{
795797
...en.sqlQuery,

‎client/packages/lowcoder/src/i18n/locales/zh.ts‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -707,6 +707,20 @@ export const zh: typeof en = {
707707
dynamicDataSourceConfigLoadingText:"加载额外数据源配置...",
708708
dynamicDataSourceConfigErrText:"无法加载额外数据源配置.",
709709
retry:"重试",
710+
"categoryDatabase":"数据库",
711+
"categoryBigdata":"大数据",
712+
"categoryAi":"人工智能",
713+
"categoryDevops":"开发运维",
714+
"categoryAppdevelopment":"应用开发",
715+
"categoryWorkflow":"工作流",
716+
"categoryMessaging":"消息传递",
717+
"categoryAssets":"资产与存储",
718+
"categoryProjectManagement":"项目管理",
719+
"categoryCrm":"客户关系管理",
720+
"categoryEcommerce":"电子商务",
721+
"categoryWebscrapers":"网络爬虫",
722+
"categoryDocumentHandling":"报告与文档生成",
723+
"categoryRPA":"机器人流程自动化"
710724
},
711725

712726
sqlQuery:{

‎client/packages/lowcoder/src/pages/datasource/pluginPanel.tsx‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,9 @@ const categories: Category[] = [
129129
{label:trans("query.categoryProjectManagement"),filter:(t)=>t.definition?.category==="Project Management"},
130130
{label:trans("query.categoryCrm"),filter:(t)=>t.definition?.category==="CRM"},
131131
{label:trans("query.categoryEcommerce"),filter:(t)=>t.definition?.category==="eCommerce"},
132-
{label:trans("query.categoryApis"),filter:(t)=>t.definition?.category==="api"},
132+
{label:trans("query.categoryWebscrapers"),filter:(t)=>t.definition?.category==="Webscrapers"},
133+
{label:trans("query.categoryDocumentHandling"),filter:(t)=>t.definition?.category==="DocumentHandling"},
134+
{label:trans("query.categoryRPA"),filter:(t)=>t.definition?.category==="RPA"},
133135
];
134136

135137
// Section component

‎server/node-service/src/plugins/apiTemplate/index.ts‎

Lines changed: 23 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,22 @@ import spec from './apiTemplate.spec.json';
1111
constdataSourceConfig={
1212
type:"dataSource",
1313
params:[
14-
{
15-
"type":"groupTitle",
16-
"key":"ApiKeyAuth",
17-
"label":"Api Key Auth"
18-
},
19-
{
20-
"type":"password",
21-
"key":"ApiKeyAuth.value",
22-
"label":"X-API-KEY",
23-
"tooltip":"An API key is needed to be set in the Authorization header of every API call.\nFor additional support you can contact us.\n\n- APITemplate.io expects the API key to be part of all API requests to the server in a header in this format:\n ```\n X-API-KEY: [API_KEY]\n ```\n\n- Optionally we also support Authorization header\n ```\n Authorization: Token [API_KEY]\n ```\n\n**Note: You must replace the API KEY(6fa6g2pdXGIyHRhVlGh7U56Ada1eF) with your API key in the request samples.**\n",
24-
"placeholder":"An API key is needed to be set in the Authorization header of every API call.\nFor additional support you can contact us.\n\n- APITemplate.io expects the API key to be part of all API requests to the server in a header in this format:\n ```\n X-API-KEY: [API_KEY]\n ```\n\n- Optionally we also support Authorization header\n ```\n Authorization: Token [API_KEY]\n ```\n\n**Note: You must replace the API KEY(6fa6g2pdXGIyHRhVlGh7U56Ada1eF) with your API key in the request samples.**\n"
25-
}
26-
]
14+
{
15+
key:"serverURL",
16+
type:"textInput",
17+
label:"Service URL",
18+
rules:[{required:true}],
19+
placeholder:"https://rest.apitemplate.io",
20+
tooltip:"Input the Service URL of your ApiTemplate Endpoint.",
21+
},
22+
{
23+
"type":"password",
24+
"key":"ApiKeyAuth.value",
25+
"label":"X-API-KEY",
26+
"tooltip":"For additional support you can contact us. hello@apitemplate.io",
27+
"placeholder":"<Your ApiTemplate Secret Key>"
28+
}
29+
]
2730
}asconst;
2831

2932
constparseOptions:ParseOpenApiOptions={
@@ -38,7 +41,7 @@ const apiTemplatePlugin: DataSourcePlugin<any, DataSourceConfigType> = {
3841
id:"apiTemplate",
3942
name:"ApiTemplate",
4043
icon:"apiTemplate.svg",
41-
category:"Assets",
44+
category:"DocumentHandling",
4245
dataSourceConfig,
4346
queryConfig:async()=>{
4447
const{ actions, categories}=awaitparseOpenApi(specasunknownasOpenAPI.Document,parseOptions);
@@ -53,10 +56,14 @@ const apiTemplatePlugin: DataSourcePlugin<any, DataSourceConfigType> = {
5356
};
5457
},
5558
run:function(actionData,dataSourceConfig):Promise<any>{
59+
const{ serverURL}=dataSourceConfig;
5660
construnApiDsConfig={
5761
url:"",
58-
serverURL:"",
59-
dynamicParamsConfig:dataSourceConfig,
62+
serverURL:serverURL,
63+
dynamicParamsConfig:{
64+
...dataSourceConfig,
65+
"X-API-KEY" :dataSourceConfig["ApiKeyAuth.value"],
66+
},
6067
};
6168
returnrunOpenApi(actionData,runApiDsConfig,specasOpenAPIV3.Document);
6269
},

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp