@bigbinary/neeto-rules-frontend 2.0.2 → 2.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -1
- package/dist/index.cjs.js +398 -8053
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +802 -8459
- package/dist/index.js.map +1 -1
- package/package.json +15 -12
package/README.md
CHANGED
|
@@ -24,6 +24,8 @@ The `neeto-rules-nano` facilitates the management of automation rules within nee
|
|
|
24
24
|
- [Actions](#38-actions)
|
|
25
25
|
- [Custom action component](#39-custom-action-component)
|
|
26
26
|
- [RulePreview](#4-rulepreview)
|
|
27
|
+
- [Constants](#constants)
|
|
28
|
+
- [AUTOMATION_RULES_QUERY_KEY](#1-automation-rules-query-key)
|
|
27
29
|
2. [Instructions for Publishing](#instructions-for-publishing)
|
|
28
30
|
|
|
29
31
|
## Development with Host Application
|
|
@@ -684,9 +686,15 @@ The `RulePreview` component is used to preview the automation rule.
|
|
|
684
686
|
3. `isOpen`: To specify if the preview is open. (Boolean).
|
|
685
687
|
4. `onClose`: The callback function to call when the preview is closed. `() => void`.
|
|
686
688
|
|
|
689
|
+
### Constans
|
|
690
|
+
|
|
691
|
+
#### 1. `AUTOMATION_RULES_QUERY_KEY`
|
|
692
|
+
|
|
693
|
+
The `AUTOMATION_RULES_QUERY_KEY` is the base query key which is being used as key for query fetching.
|
|
694
|
+
|
|
687
695
|
reference:
|
|
688
696
|
|
|
689
|
-
1. [neeto-
|
|
697
|
+
1. [neeto-desk-web](https://github.com/bigbinary/neeto-desk-web/blob/main/app/javascript/src/components/Automations/index.jsx)
|
|
690
698
|
|
|
691
699
|
|
|
692
700
|
## Instructions for Publishing
|