change community items to fit hub

This commit is contained in:
Ruben Fiszel
2022-06-25 03:32:23 +02:00
parent 81f0e85c8d
commit 4cfd86d1d0
6 changed files with 8 additions and 88 deletions
-32
View File
@@ -1,32 +0,0 @@
{
"workspace_id": "starter",
"name": "SMTP",
"schema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"host"
],
"properties": {
"host": {
"type": "string",
"default": "mail.smtpbucket.com",
"description": "SMTP host address"
},
"port": {
"type": "integer",
"default": 8025,
"description": "port number on which to connect"
},
"user": {
"type": "string",
"description": ""
},
"password": {
"type": "string",
"description": ""
}
}
},
"description": "SMTP connection info"
}
-48
View File
@@ -1,48 +0,0 @@
{
"workspace_id": "starter",
"name": "postgres",
"schema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"dbname",
"user",
"password"
],
"properties": {
"host": {
"type": "string",
"description": "The instance host"
},
"port": {
"type": "integer",
"description": "The instance port"
},
"user": {
"type": "string",
"description": "The postgres username"
},
"dbname": {
"type": "string",
"description": "The database name"
},
"sslmode": {
"enum": [
"disable",
"allow",
"prefer",
"require",
"verify-ca",
"verify-full"
],
"type": "string",
"description": "The sslmode"
},
"password": {
"type": "string",
"description": "The postgres users password"
}
}
},
"description": "A postgres database connection resource"
}
+2 -2
View File
@@ -10,6 +10,6 @@
"password": "demodb"
},
"description": "demodb",
"resource_type": "postgres",
"resource_type": "postgresql",
"extra_perms": {}
}
}
+2 -2
View File
@@ -12,7 +12,7 @@
"description": "",
"type": "object",
"default": null,
"format": "resource-postgres"
"format": "resource-postgresql"
},
"sql_query": {
"description": "",
@@ -40,4 +40,4 @@
"wmill==1.5.0",
"wmill-pg==1.5.0"
]
}
}
@@ -15,7 +15,7 @@
"description": "",
"type": "object",
"default": null,
"format": "resource-SMTP"
"format": "resource-smtp"
},
"to": {
"type": "string",
@@ -54,4 +54,4 @@
"windmill-api==1.5.0",
"wmill==1.5.0"
]
}
}
@@ -17,11 +17,11 @@
{#if !after}
{name}
{/if}
{#if name === 'postgres'}
{#if name === 'postgresql'}
<PostgresIcon {height} {width} />
{:else if name === 'mysql'}
<Mysql {height} {width} />
{:else if name === 'SMTP'}
{:else if name === 'smtp'}
<Mail {height} {width} />
{:else if name === 'mongodb'}
<DbIcon {height} {width} />