@planningcenter/core-automations 0.1.0
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/CHANGELOG.md +16 -0
- package/README.md +68 -0
- package/dist/cjs/core-automations.esm.js +2 -0
- package/dist/cjs/core-automations.esm.js.map +1 -0
- package/dist/cjs/core-automations.js +2 -0
- package/dist/cjs/core-automations.js.map +1 -0
- package/dist/cjs/core-automations.modern.mjs +2 -0
- package/dist/cjs/core-automations.modern.mjs.map +1 -0
- package/dist/cjs/core-automations.umd.js +2 -0
- package/dist/cjs/core-automations.umd.js.map +1 -0
- package/dist/types/src/automations.d.ts +19 -0
- package/dist/types/src/automations.d.ts.map +1 -0
- package/dist/types/src/index.d.ts +2 -0
- package/dist/types/src/index.d.ts.map +1 -0
- package/dist/types/tests/setupJest.d.ts +2 -0
- package/dist/types/tests/setupJest.d.ts.map +1 -0
- package/package.json +73 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare function Automations({ blankStateDescription, currentPersonId, currentPersonCanCreate, defaultApp, triggerResource, triggerConditions, triggerName, }: {
|
|
2
|
+
blankStateDescription: any;
|
|
3
|
+
currentPersonId: any;
|
|
4
|
+
currentPersonCanCreate: any;
|
|
5
|
+
defaultApp: any;
|
|
6
|
+
triggerResource: any;
|
|
7
|
+
triggerConditions: any;
|
|
8
|
+
triggerName: any;
|
|
9
|
+
}): JSX.Element;
|
|
10
|
+
declare namespace Automations {
|
|
11
|
+
namespace propTypes {
|
|
12
|
+
const triggerResource: PropTypes.Validator<string>;
|
|
13
|
+
const currentPersonId: PropTypes.Validator<number>;
|
|
14
|
+
const currentPersonCanCreate: PropTypes.Validator<boolean>;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
export default Automations;
|
|
18
|
+
import PropTypes from "prop-types";
|
|
19
|
+
//# sourceMappingURL=automations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"automations.d.ts","sourceRoot":"","sources":["../../../src/automations.jsx"],"names":[],"mappings":"AA6cA;;;;;;;;gBA8NC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setupJest.d.ts","sourceRoot":"","sources":["../../../tests/setupJest.ts"],"names":[],"mappings":"AACA,OAAO,2BAA2B,CAAA"}
|
package/package.json
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@planningcenter/core-automations",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Display and manage core automations",
|
|
5
|
+
"main": "./dist/cjs/core-automations.js",
|
|
6
|
+
"module": "./dist/core-automations.esm.js",
|
|
7
|
+
"types": "./dist/types/index.d.ts",
|
|
8
|
+
"source": "src/index.ts",
|
|
9
|
+
"files": [
|
|
10
|
+
"dist"
|
|
11
|
+
],
|
|
12
|
+
"scripts": {
|
|
13
|
+
"build": "microbundle --jsx React.createElement",
|
|
14
|
+
"dev": "yalc publish --push && chokidar src -c 'yalc publish --push --changed'",
|
|
15
|
+
"prepublishOnly": "yarn build",
|
|
16
|
+
"setup": "yarn install && yarn build",
|
|
17
|
+
"test": "jest",
|
|
18
|
+
"test:watch": "jest --watch"
|
|
19
|
+
},
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "git+https://github.com/planningcenter/core-automations.git"
|
|
23
|
+
},
|
|
24
|
+
"author": "Shawn Maust <shawn@planningcenter.com>",
|
|
25
|
+
"license": "UNLICENSED",
|
|
26
|
+
"bugs": {
|
|
27
|
+
"url": "https://github.com/planningcenter/core-automations/issues"
|
|
28
|
+
},
|
|
29
|
+
"homepage": "https://github.com/planningcenter/core-automations#readme",
|
|
30
|
+
"dependencies": {
|
|
31
|
+
"@planningcenter/api-client": "^2.0.2",
|
|
32
|
+
"@planningcenter/sweetalert2": "^1.0.1",
|
|
33
|
+
"@planningcenter/tapestry-react": "^2.5.2",
|
|
34
|
+
"lodash": "^4.17.21",
|
|
35
|
+
"moment": "^2.29.4",
|
|
36
|
+
"sweetalert2": "^11.7.3"
|
|
37
|
+
},
|
|
38
|
+
"devDependencies": {
|
|
39
|
+
"@babel/core": "^7.19.6",
|
|
40
|
+
"@babel/preset-env": "^7.19.4",
|
|
41
|
+
"@babel/preset-react": "^7.18.6",
|
|
42
|
+
"@babel/preset-typescript": "^7.18.6",
|
|
43
|
+
"@emotion/core": "^10.1.1",
|
|
44
|
+
"@testing-library/jest-dom": "^5.16.5",
|
|
45
|
+
"@testing-library/react": "^12.0.0",
|
|
46
|
+
"@types/jest": "^29.4.1",
|
|
47
|
+
"@types/node": "^18.15.3",
|
|
48
|
+
"@typescript-eslint/eslint-plugin": "^5.55.0",
|
|
49
|
+
"chokidar-cli": "^3.0.0",
|
|
50
|
+
"eslint": "^8.36.0",
|
|
51
|
+
"eslint-plugin-import": "^2.26.0",
|
|
52
|
+
"eslint-plugin-react": "^7.31.10",
|
|
53
|
+
"eslint-plugin-simple-import-sort": "^8.0.0",
|
|
54
|
+
"eslint-plugin-sort-keys-fix": "^1.1.2",
|
|
55
|
+
"eslint-plugin-typescript-sort-keys": "^2.1.0",
|
|
56
|
+
"install-peers": "^1.0.4",
|
|
57
|
+
"jest": "^29.2.2",
|
|
58
|
+
"jest-canvas-mock": "^2.4.0",
|
|
59
|
+
"jest-environment-jsdom": "^29.2.2",
|
|
60
|
+
"jest-fetch-mock": "^3.0.3",
|
|
61
|
+
"microbundle": "^0.15.1",
|
|
62
|
+
"prettier": "^2.7.1",
|
|
63
|
+
"react": "^17.0.0",
|
|
64
|
+
"react-dom": "^17.0.0",
|
|
65
|
+
"ts-jest": "^29.0.3",
|
|
66
|
+
"ts-node": "^10.9.1",
|
|
67
|
+
"typescript": "^4.8.4"
|
|
68
|
+
},
|
|
69
|
+
"peerDependencies": {
|
|
70
|
+
"react": "^17.0.0",
|
|
71
|
+
"react-dom": "^17.0.0"
|
|
72
|
+
}
|
|
73
|
+
}
|