Skip to content

Commit

Permalink
sync hub items with community (windmill-labs#698)
Browse files Browse the repository at this point in the history
Co-authored-by: rubenfiszel <[email protected]>
  • Loading branch information
github-actions[bot] and rubenfiszel authored Oct 8, 2022
1 parent 6cb3fbc commit e66522d
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 20 deletions.
10 changes: 8 additions & 2 deletions community/resource_types/gitlab.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,21 @@
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"baseUrl": {
"type": "string",
"description": "",
"default": "https://gitlab.com"
},
"token": {
"type": "string",
"description": ""
"description": "",
"default": ""
}
},
"required": [
"token"
],
"type": "object"
},
"description": "GitLab OAuth credentials"
"description": ""
}
14 changes: 8 additions & 6 deletions community/resource_types/mastodon.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,19 @@
"properties": {
"baseUrl": {
"type": "string",
"description": "The URL of the Mastodon instance, like \"https://mastodon.example\".",
"pattern": "^https?://.+[^/]$",
"description": "The URL of the Mastodon instance, like \"https://mastodon.example.com\".",
"default": ""
},
"accessToken": {
"token": {
"type": "string",
"description": "An access token to act as a logged-in user. Leave this empty, if you want to perform unauthenticated requests."
"description": "An access token to act as a logged-in user. Leave this empty, if you want to perform unauthenticated requests.",
"default": ""
}
},
"required": [],
"required": [
"baseUrl"
],
"type": "object"
},
"description": "Mastodon offers decentralized micro blogging and is open-source."
"description": ""
}
23 changes: 11 additions & 12 deletions community/resource_types/matrix.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,23 @@
"workspace_id": "starter",
"name": "matrix",
"schema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"homeserverUrl"
],
"properties": {
"accessToken": {
"baseUrl": {
"type": "string",
"description": "An access token to act as a logged-in user. Leave this empty, if you want to perform unauthenticated requests.",
"description": "The URL of a Matrix server, like \"https://matrix.example.com\"",
"default": ""
},
"homeserverUrl": {
"token": {
"type": "string",
"default": "",
"pattern": "^https?://.+?[^/]$",
"description": "The homeserver URL"
"description": "An access token to act as a logged-in user. Leave this empty, if you want to perform unauthenticated requests.",
"default": ""
}
}
},
"required": [
"baseUrl"
],
"type": "object"
},
"description": "Login credentials for a Matrix.org homeserver"
"description": "Login credentials for a user on a Matrix server"
}

0 comments on commit e66522d

Please sign in to comment.