|
3 | 3 | "description": "elastic.io component for the Petstore API", |
4 | 4 | "docsUrl": "https://github.com/elasticio/petstore-component-nodejs", |
5 | 5 | "buildType":"docker", |
| 6 | + "version": "1.0.3", |
6 | 7 | "credentials": { |
7 | 8 | "fields": { |
8 | 9 | "apiKey": { |
9 | 10 | "label": "API key", |
10 | 11 | "required": true, |
11 | | - "viewClass": "TextFieldWithNoteView", |
12 | | - "note": "Please use <b>secret</b> as API key. For more details see <a href='https://petstore.elastic.io/docs/' target='_blank'>Petstore API docs</a>." |
| 12 | + "viewClass": "PasswordFieldView", |
| 13 | + "note": "Please use 'secret' as API key. For more details see Petstore API docs: https://petstore.elastic.io/docs" |
13 | 14 | } |
14 | 15 | } |
15 | 16 | }, |
|
18 | 19 | "main": "./lib/triggers/getPetsByStatus.js", |
19 | 20 | "type": "polling", |
20 | 21 | "title": "Get Pets By Status (Dynamic Data Example)", |
21 | | - "description": "Get pets by status, with the available statuses pulled dynamically from API", |
| 22 | + "help": { |
| 23 | + "description": "Get pets by status, with the available statuses pulled dynamically from API", |
| 24 | + "link": "/components/petstore-nodejs" |
| 25 | + }, |
22 | 26 | "fields": { |
23 | 27 | "status": { |
24 | 28 | "label": "Pet Status", |
|
36 | 40 | "main": "./lib/triggers/getPetsByStatusWithStaticData.js", |
37 | 41 | "type": "polling", |
38 | 42 | "title": "Get Pets By Status (Static Data Example)", |
39 | | - "description": "Get pets by status, with the available statuses statically typed to the component.json", |
| 43 | + "help": { |
| 44 | + "description": "Get pets by status, with the available statuses statically typed to the component.json", |
| 45 | + "link": "/components/petstore-nodejs" |
| 46 | + }, |
40 | 47 | "fields": { |
41 | 48 | "status": { |
42 | 49 | "label": "Pet Status", |
|
59 | 66 | "createPet": { |
60 | 67 | "main": "./lib/actions/createPet.js", |
61 | 68 | "title": "Creates a new pet", |
62 | | - "description": "Creates a pet and adds it to the shop", |
| 69 | + "help": { |
| 70 | + "description": "Creates a pet and adds it to the shop", |
| 71 | + "link": "/components/petstore-nodejs" |
| 72 | + }, |
63 | 73 | "metadata": { |
64 | 74 | "in": "./lib/schemas/createPet.in.json", |
65 | 75 | "out": "./lib/schemas/createPet.out.json" |
|
0 commit comments