-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
37 changed files
with
4,707 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
.DS_Store | ||
**/.lowdefy/** | ||
**/.env | ||
**/node_modules/** | ||
**/dist/** | ||
api/dev/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
lowdefy: 4.0.0-alpha.36 # Please check for latest Lowdefy version. | ||
license: MIT | ||
|
||
plugins: | ||
- name: 'plugin-name' | ||
version: 'workspace:*' | ||
- name: 'plugin-times-eleven-operator' | ||
version: 'workspace:*' | ||
|
||
pages: | ||
- id: plugin-example | ||
type: Box | ||
blocks: | ||
- id: number | ||
type: NumberInput | ||
properties: | ||
title: Type a number | ||
- id: result | ||
type: Html | ||
properties: | ||
html: | ||
_nunjucks: | ||
template: | | ||
{% if number != null %} | ||
{{ number }} times eleven is: {{ result }} | ||
{% endif %} | ||
on: | ||
number: | ||
_state: number | ||
result: | ||
_times_eleven: | ||
number: | ||
_state: number |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"name": "lowdefy-example-plugins", | ||
"version": "1.0.0", | ||
"license": "MIT", | ||
"type": "module", | ||
"scripts": { | ||
"ldf:b": "lowdefy build", | ||
"ldf:d": "lowdefy dev --log-level=debug --no-open", | ||
"ldf:s": "lowdefy start", | ||
"ldf": "lowdefy dev --no-open", | ||
"lowdefy": "lowdefy" | ||
}, | ||
"dependencies": { | ||
"lowdefy": "4.0.0-alpha.36" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"name": "lowdefy-example-plugins-repo", | ||
"version": "1.0.0", | ||
"license": "MIT", | ||
"packageManager": "[email protected]", | ||
"dependencies": { | ||
"lowdefy": "4.0.0-alpha.36" | ||
}, | ||
"scripts": { | ||
}, | ||
"devDependencies": { | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"name": "plugin-times-eleven-operator", | ||
"version": "1.0.0", | ||
"license": "MIT", | ||
"type": "module", | ||
"exports": { | ||
"./operators/client": "./src/operatorsClient.js", | ||
"./types": "./src/types.js" | ||
}, | ||
"files": [ | ||
"src/*" | ||
], | ||
"scripts": { | ||
}, | ||
"devDependencies": { | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
function _times_eleven({ params }) { | ||
return params.number * 11; | ||
} | ||
|
||
export default _times_eleven; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { default as _times_eleven } from './_times_eleven.js'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export default { | ||
operators: { | ||
client: ['_times_eleven'], | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.