@planningcenter/core-automations 1.2.0-rc.2 → 1.2.0-rc.3
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 +5 -0
- package/dist/cjs/core-automations.esm.js +1 -1
- package/dist/cjs/core-automations.esm.js.map +1 -1
- package/dist/cjs/core-automations.js +1 -1
- package/dist/cjs/core-automations.js.map +1 -1
- package/dist/cjs/core-automations.modern.mjs +1 -1
- package/dist/cjs/core-automations.modern.mjs.map +1 -1
- package/dist/cjs/core-automations.umd.js +1 -1
- package/dist/cjs/core-automations.umd.js.map +1 -1
- package/dist/types/src/history.d.ts.map +1 -1
- package/dist/types/src/new_automation.d.ts.map +1 -1
- package/package.json +1 -1
- package/CHANGELOG.md +0 -101
- package/dist/src/assets/svg_automations.js +0 -4
- package/dist/src/assets/svg_automations.js.map +0 -1
- package/dist/src/automations.js +0 -271
- package/dist/src/automations.js.map +0 -1
- package/dist/src/definition.js +0 -75
- package/dist/src/definition.js.map +0 -1
- package/dist/src/field.js +0 -118
- package/dist/src/field.js.map +0 -1
- package/dist/src/fields.js +0 -61
- package/dist/src/fields.js.map +0 -1
- package/dist/src/history.js +0 -325
- package/dist/src/history.js.map +0 -1
- package/dist/src/history_modal.js +0 -13
- package/dist/src/history_modal.js.map +0 -1
- package/dist/src/index.js +0 -2
- package/dist/src/index.js.map +0 -1
- package/dist/src/new_automation.js +0 -258
- package/dist/src/new_automation.js.map +0 -1
- package/dist/src/new_automation_modal.js +0 -14
- package/dist/src/new_automation_modal.js.map +0 -1
- package/dist/src/utils/alerts.js +0 -9
- package/dist/src/utils/alerts.js.map +0 -1
- package/dist/src/utils/theme.js +0 -28
- package/dist/src/utils/theme.js.map +0 -1
- package/dist/src/utils/utils.js +0 -218
- package/dist/src/utils/utils.js.map +0 -1
- package/dist/tests/setupJest.js +0 -3
- package/dist/tests/setupJest.js.map +0 -1
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/dist/types/tests/utils/utils.test.d.ts +0 -2
- package/dist/types/tests/utils/utils.test.d.ts.map +0 -1
package/README.md
CHANGED
|
@@ -144,6 +144,11 @@ import { Automations } from "@planningcenter/core-automations"
|
|
|
144
144
|
- `events` (object[]): An array of objects describing the possible trigger events (created/deleted/etc)
|
|
145
145
|
- `name` (string): The event name (matches the webhooks message `routing_key`)
|
|
146
146
|
- `description` (string): Human-readable description of this event (the words after "When a person...", e.g. "Joins this group")
|
|
147
|
+
- `triggerParams` (object[]) optional: An array of objects describing additional parameters which the trigger can use for determining whether to run etc.
|
|
148
|
+
- `key` (string): The parameter key
|
|
149
|
+
- `defaultValue` (any): What the parameter value defaults to
|
|
150
|
+
- `inputType` ("checkbox"): Currently only "checkbox" is supported
|
|
151
|
+
- `description` (string): The text which will be shown in the UI for the admin ("Also apply to joint donors?" for instance)
|
|
147
152
|
- `resource` (string): The encrypted trigger resource param from Step 3 (👆)
|
|
148
153
|
- `afterCreateOptions` (object) optional: Show a custom checkbox to optionally perform an action after the automation is created
|
|
149
154
|
- `label` (string): Description of the action to perform (e.g. "apply to everyone on this list")
|