Compare commits
1 Commits
2964949153
...
dcb3e98ab1
| Author | SHA1 | Date | |
|---|---|---|---|
| dcb3e98ab1 |
@@ -1,3 +1,3 @@
|
|||||||
# S8n.ComponentsLibrary
|
# S8n.ComponentsLibrary
|
||||||
|
|
||||||
Sharp8N components library, markdown files with definitions of different components.
|
Sharp8N components library, markdown files with definitions of different components.
|
||||||
|
|||||||
@@ -1,31 +0,0 @@
|
|||||||
code: basics.calculator
|
|
||||||
name: Simple calculator
|
|
||||||
description: Do simple operations for numbers in `args` input.
|
|
||||||
class: S8n.Components.Basics.Calculator
|
|
||||||
methods:
|
|
||||||
- Execute
|
|
||||||
gui: ComponentCalculator.vue
|
|
||||||
inputs:
|
|
||||||
- name: operator
|
|
||||||
type: string
|
|
||||||
description: Operation to perform
|
|
||||||
enum:
|
|
||||||
- add
|
|
||||||
- subtract
|
|
||||||
- multiply
|
|
||||||
- divide
|
|
||||||
required: true
|
|
||||||
- name: args
|
|
||||||
type: object[]
|
|
||||||
description: Array of numbers to operate on
|
|
||||||
required: true
|
|
||||||
outputs:
|
|
||||||
- name: result
|
|
||||||
type: object
|
|
||||||
description: Result of the calculation
|
|
||||||
tags:
|
|
||||||
- arithmetic
|
|
||||||
- math
|
|
||||||
- basics
|
|
||||||
source: S8n.Components.Packages (project)
|
|
||||||
category: basics
|
|
||||||
@@ -1,55 +0,0 @@
|
|||||||
code: basics.httprequest
|
|
||||||
name: HTTP Request
|
|
||||||
description: Make HTTP requests to any URL with custom headers and body.
|
|
||||||
class: S8n.Components.Basics.HttpRequest
|
|
||||||
methods:
|
|
||||||
- Execute
|
|
||||||
gui: ComponentHttpRequest.vue
|
|
||||||
inputs:
|
|
||||||
- name: method
|
|
||||||
type: string
|
|
||||||
description: HTTP method
|
|
||||||
enum:
|
|
||||||
- GET
|
|
||||||
- POST
|
|
||||||
- PUT
|
|
||||||
- DELETE
|
|
||||||
- PATCH
|
|
||||||
- HEAD
|
|
||||||
- OPTIONS
|
|
||||||
required: true
|
|
||||||
- name: url
|
|
||||||
type: string
|
|
||||||
description: Target URL
|
|
||||||
required: true
|
|
||||||
- name: headers
|
|
||||||
type: object
|
|
||||||
description: Optional HTTP headers
|
|
||||||
required: false
|
|
||||||
- name: body
|
|
||||||
type: object
|
|
||||||
description: Optional request body
|
|
||||||
required: false
|
|
||||||
outputs:
|
|
||||||
- name: statusCode
|
|
||||||
type: int
|
|
||||||
description: HTTP status code
|
|
||||||
- name: statusText
|
|
||||||
type: string
|
|
||||||
description: HTTP status text
|
|
||||||
- name: response
|
|
||||||
type: string
|
|
||||||
description: Response body as string
|
|
||||||
- name: headers
|
|
||||||
type: object
|
|
||||||
description: Response headers
|
|
||||||
- name: duration
|
|
||||||
type: long
|
|
||||||
description: Request duration in milliseconds
|
|
||||||
tags:
|
|
||||||
- http
|
|
||||||
- network
|
|
||||||
- web
|
|
||||||
- basics
|
|
||||||
source: S8n.Components.Packages (project)
|
|
||||||
category: basics
|
|
||||||
Reference in New Issue
Block a user