Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 7511a0b

Browse files
BlokhOmri-Levy
andauthoredDec 19, 2023
blokh/feat/workflow-defintion-variants (#1822)
* feat: added workflow definition variant * refactor(*): updated variant changes to conform with latest direction * feat(seed): added variant to seed * updated selection for seed * upgraded common version * added workflow definition config for isExample and isDemo --------- Co-authored-by: Omri Levy <[email protected]>
1 parent 9b2cdc3 commit 7511a0b

35 files changed

+864
-244
lines changed
 

‎apps/backoffice-v2/CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# @ballerine/backoffice-v2
22

3+
## 0.5.41
4+
5+
### Patch Changes
6+
7+
- Updated dependencies
8+
- @ballerine/common@0.7.37
9+
- @ballerine/workflow-browser-sdk@0.5.36
10+
- @ballerine/workflow-node-sdk@0.5.36
11+
312
## 0.5.40
413

514
### Patch Changes

‎apps/backoffice-v2/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ballerine/backoffice-v2",
3-
"version": "0.5.40",
3+
"version": "0.5.41",
44
"description": "Ballerine - Backoffice",
55
"homepage": "https://github.com/ballerine-io/ballerine",
66
"repository": {
@@ -51,10 +51,10 @@
5151
},
5252
"dependencies": {
5353
"@ballerine/blocks": "0.1.23",
54-
"@ballerine/common": "0.7.36",
54+
"@ballerine/common": "0.7.37",
5555
"@ballerine/ui": "0.3.24",
56-
"@ballerine/workflow-browser-sdk": "0.5.35",
57-
"@ballerine/workflow-node-sdk": "0.5.35",
56+
"@ballerine/workflow-browser-sdk": "0.5.36",
57+
"@ballerine/workflow-node-sdk": "0.5.36",
5858
"@fontsource/inter": "^4.5.15",
5959
"@formkit/auto-animate": "1.0.0-beta.5",
6060
"@hookform/resolvers": "^3.1.0",

‎apps/kyb-app/CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# kyb-app
22

3+
## 0.1.36
4+
5+
### Patch Changes
6+
7+
- Updated dependencies
8+
- @ballerine/common@0.7.37
9+
- @ballerine/workflow-browser-sdk@0.5.36
10+
311
## 0.1.35
412

513
### Patch Changes

‎apps/kyb-app/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@ballerine/kyb-app",
33
"private": true,
4-
"version": "0.1.35",
4+
"version": "0.1.36",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",
@@ -15,9 +15,9 @@
1515
},
1616
"dependencies": {
1717
"@ballerine/blocks": "0.1.24",
18-
"@ballerine/common": "^0.7.36",
18+
"@ballerine/common": "^0.7.37",
1919
"@ballerine/ui": "0.3.24",
20-
"@ballerine/workflow-browser-sdk": "0.5.35",
20+
"@ballerine/workflow-browser-sdk": "0.5.36",
2121
"@lukemorales/query-key-factory": "^1.0.3",
2222
"@radix-ui/react-icons": "^1.3.0",
2323
"@rjsf/core": "^5.9.0",

‎examples/headless-example/CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# @ballerine/headless-example
22

3+
## 0.1.36
4+
5+
### Patch Changes
6+
7+
- Updated dependencies
8+
- @ballerine/common@0.7.37
9+
- @ballerine/workflow-browser-sdk@0.5.36
10+
311
## 0.1.35
412

513
### Patch Changes

‎examples/headless-example/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@ballerine/headless-example",
33
"private": true,
4-
"version": "0.1.35",
4+
"version": "0.1.36",
55
"type": "module",
66
"scripts": {
77
"spellcheck": "cspell \"*\"",
@@ -34,8 +34,8 @@
3434
"vite": "^4.1.0"
3535
},
3636
"dependencies": {
37-
"@ballerine/common": "0.7.36",
38-
"@ballerine/workflow-browser-sdk": "0.5.35",
37+
"@ballerine/common": "0.7.37",
38+
"@ballerine/workflow-browser-sdk": "0.5.36",
3939
"@felte/reporter-svelte": "^1.1.5",
4040
"@felte/validator-zod": "^1.0.13",
4141
"@fontsource/inter": "^4.5.15",

‎packages/common/CHANGELOG.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
# @ballerine/common
22

3+
## 0.7.37
4+
5+
### Patch Changes
6+
7+
- added variants to common
8+
39
## 0.7.36
410

511
### Patch Changes
612

7-
- added events to workflows
13+
- upgraded common package variants
814

915
## 0.7.35
1016

‎packages/common/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"private": false,
33
"name": "@ballerine/common",
44
"author": "Ballerine <dev@ballerine.com>",
5-
"version": "0.7.36",
5+
"version": "0.7.37",
66
"description": "common",
77
"module": "./dist/esm/index.js",
88
"main": "./dist/cjs/index.js",

‎packages/common/src/consts/index.ts

+9
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,13 @@ export const CommonWorkflowStates = {
4242

4343
export type TStateTag = (typeof StateTags)[number];
4444

45+
export const WorkflowDefinitionVariant = {
46+
WEBSITE_MONITORING: 'WEBSITE_MONITORING',
47+
MANUAL_REVIEW: 'MANUAL_REVIEW',
48+
KYB: 'KYB',
49+
KYB_WITH_ASSOCIATED_COMPANIES: 'KYB_WITH_ASSOCIATED_COMPANIES',
50+
KYC: 'KYC',
51+
DEFAULT: 'DEFAULT',
52+
} as const;
53+
4554
export type TStateTags = typeof StateTags;

‎packages/config/CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @ballerine/config
22

3+
## 1.0.4
4+
5+
### Patch Changes
6+
7+
- upgrade common version
8+
39
## 1.0.3
410

511
### Patch Changes

‎packages/config/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"private": false,
33
"name": "@ballerine/config",
4-
"version": "1.0.3",
4+
"version": "1.0.4",
55
"description": "",
66
"main": "index.js",
77
"scripts": {},

‎packages/workflow-core/CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @ballerine/workflow-core
22

3+
## 0.5.36
4+
5+
### Patch Changes
6+
7+
- Updated dependencies
8+
- @ballerine/common@0.7.37
9+
310
## 0.5.35
411

512
### Patch Changes

‎packages/workflow-core/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@ballerine/workflow-core",
33
"author": "Ballerine <dev@ballerine.com>",
4-
"version": "0.5.35",
4+
"version": "0.5.36",
55
"description": "workflow-core",
66
"module": "./dist/esm/index.js",
77
"main": "./dist/cjs/index.js",
@@ -31,7 +31,7 @@
3131
"node": ">=12"
3232
},
3333
"dependencies": {
34-
"@ballerine/common": "0.7.36",
34+
"@ballerine/common": "0.7.37",
3535
"ajv": "^8.12.0",
3636
"i18n-iso-countries": "^7.6.0",
3737
"jmespath": "^0.16.0",

‎pnpm-lock.yaml

+17-17
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎sdks/web-ui-sdk/CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# web-ui-sdk
22

3+
## 1.4.34
4+
5+
### Patch Changes
6+
7+
- Updated dependencies
8+
- @ballerine/common@0.7.37
9+
310
## 1.4.33
411

512
### Patch Changes

‎sdks/web-ui-sdk/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"types": "dist/index.d.ts",
2222
"name": "@ballerine/web-ui-sdk",
2323
"private": false,
24-
"version": "1.4.33",
24+
"version": "1.4.34",
2525
"type": "module",
2626
"files": [
2727
"dist"
@@ -96,7 +96,7 @@
9696
"vitest": "^0.24.5"
9797
},
9898
"dependencies": {
99-
"@ballerine/common": "0.7.36",
99+
"@ballerine/common": "0.7.37",
100100
"@zerodevx/svelte-toast": "^0.8.0",
101101
"compressorjs": "^1.1.1",
102102
"deepmerge": "^4.3.0",

‎sdks/workflow-browser-sdk/CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# @ballerine/workflow-browser-sdk
22

3+
## 0.5.36
4+
5+
### Patch Changes
6+
7+
- Updated dependencies
8+
- @ballerine/common@0.7.37
9+
- @ballerine/workflow-core@0.5.36
10+
311
## 0.5.35
412

513
### Patch Changes

‎sdks/workflow-browser-sdk/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@ballerine/workflow-browser-sdk",
33
"author": "Ballerine <dev@ballerine.com>",
4-
"version": "0.5.35",
4+
"version": "0.5.36",
55
"description": "workflow-browser-sdk",
66
"module": "./dist/esm/index.js",
77
"main": "./dist/cjs/index.js",
@@ -33,8 +33,8 @@
3333
"node": ">=12"
3434
},
3535
"dependencies": {
36-
"@ballerine/common": "0.7.36",
37-
"@ballerine/workflow-core": "0.5.35",
36+
"@ballerine/common": "0.7.37",
37+
"@ballerine/workflow-core": "0.5.36",
3838
"xstate": "^4.37.0"
3939
},
4040
"devDependencies": {

‎sdks/workflow-node-sdk/CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @ballerine/workflow-node-sdk
22

3+
## 0.5.36
4+
5+
### Patch Changes
6+
7+
- @ballerine/workflow-core@0.5.36
8+
39
## 0.5.35
410

511
### Patch Changes

0 commit comments

Comments
 (0)
Please sign in to comment.