Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(plugins): add plugin system (#5137)
- Loading branch information
Showing
28 changed files
with
879 additions
and
259 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
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,15 @@ | ||
export type Node<T = string> = { | ||
id: number, | ||
name: string, | ||
data: { value: T, data: string }, | ||
class: string, | ||
html: string, | ||
inputs: { input_1: { connections: { | ||
node: string, | ||
}[] }} | Record<string, never>, | ||
outputs: { output_1: { connections: { | ||
node: string, | ||
}[] }, output_2: { connections: { | ||
node: string, | ||
}[] }}, | ||
}; |
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,3 @@ | ||
{ | ||
"isNotEmpty": "This field is required." | ||
} |
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,41 @@ | ||
{ | ||
"common-errors": { | ||
"missing-sender-attributes": "This node needs to be linked with listeners with sender attributes" | ||
}, | ||
"filter": { | ||
"permission": { | ||
"name": "Permission filter" | ||
} | ||
}, | ||
"listener": { | ||
"name": "Event listener", | ||
"type": { | ||
"twitchChatMessage": "Twitch chat message", | ||
"twitchCommand": "Twitch command" | ||
}, | ||
"command": { | ||
"add-parameter": "Add parameter", | ||
"parameters": "Parameters", | ||
"order-is-important": "order is important" | ||
} | ||
}, | ||
"others": { | ||
"idle": { | ||
"name": "Idle" | ||
} | ||
}, | ||
"output": { | ||
"log": { | ||
"name": "Log message" | ||
}, | ||
"timeout-user": { | ||
"name": "Timeout user" | ||
}, | ||
"ban-user": { | ||
"name": "Ban user" | ||
}, | ||
"send-twitch-message": { | ||
"name": "Send Twitch Message" | ||
} | ||
} | ||
} |
Oops, something went wrong.