feat(plugin): ajout d'un plugin Stream Deck pour gérer les webhooks
- Création des fichiers de configuration nécessaires (.gitignore, package.json, tsconfig.json, rollup.config.mjs) - Ajout de la structure de base du plugin avec un compteur incrémental - Intégration des dépendances nécessaires pour le développement - Ajout de fichiers de ressources (icônes, HTML pour l'interface utilisateur) - Configuration de la connexion au Stream Deck et enregistrement de l'action
|
After Width: | Height: | Size: 265 B |
|
After Width: | Height: | Size: 387 B |
|
After Width: | Height: | Size: 827 B |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 52 KiB |
|
After Width: | Height: | Size: 120 KiB |
47
com.mr-kayjaydee.webhooks-trigger.sdPlugin/manifest.json
Normal file
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"Name": "Webhooks-Trigger",
|
||||
"Version": "0.1.0.0",
|
||||
"Author": "Mr-KayJayDee",
|
||||
"Actions": [
|
||||
{
|
||||
"Name": "Counter",
|
||||
"UUID": "com.mr-kayjaydee.webhooks-trigger.increment",
|
||||
"Icon": "imgs/actions/counter/icon",
|
||||
"Tooltip": "Displays a count, which increments by one on press.",
|
||||
"PropertyInspectorPath": "ui/increment-counter.html",
|
||||
"Controllers": [
|
||||
"Keypad"
|
||||
],
|
||||
"States": [
|
||||
{
|
||||
"Image": "imgs/actions/counter/key",
|
||||
"TitleAlignment": "middle"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"Category": "Webhooks-Trigger",
|
||||
"CategoryIcon": "imgs/plugin/category-icon",
|
||||
"CodePath": "bin/plugin.js",
|
||||
"Description": "Allows you to send webhooks using your Stream Deck",
|
||||
"Icon": "imgs/plugin/marketplace",
|
||||
"SDKVersion": 2,
|
||||
"Software": {
|
||||
"MinimumVersion": "6.5"
|
||||
},
|
||||
"OS": [
|
||||
{
|
||||
"Platform": "mac",
|
||||
"MinimumVersion": "12"
|
||||
},
|
||||
{
|
||||
"Platform": "windows",
|
||||
"MinimumVersion": "10"
|
||||
}
|
||||
],
|
||||
"Nodejs": {
|
||||
"Version": "20",
|
||||
"Debug": "enabled"
|
||||
},
|
||||
"UUID": "com.mr-kayjaydee.webhooks-trigger"
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head lang="en">
|
||||
<title>Increment Counter Settings</title>
|
||||
<meta charset="utf-8" />
|
||||
<script src="https://sdpi-components.dev/releases/v4/sdpi-components.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!--
|
||||
Learn more about property inspector components at https://sdpi-components.dev/docs/components
|
||||
-->
|
||||
<sdpi-item label="Increment By">
|
||||
<sdpi-range setting="incrementBy" min="1" max="5" step="1" default="1" showlabels></sdpi-range>
|
||||
</sdpi-item>
|
||||
</body>
|
||||
|
||||
</html>
|
||||