Skip to content

Commit 48549d1

Browse files
committed
feat: add starter plan
1 parent 76bf0d3 commit 48549d1

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

apps/api/src/users/config/plans.config.ts

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,23 @@ export const plansConfig: Record<string, PlanConfig> = {
1414
free: {
1515
key: 'free',
1616
maxOperations: 10000,
17-
maxActiveWorkflows: 10,
17+
maxActiveWorkflows: 5,
1818
minPollingInterval: 60 * 15,
1919
features: {
2020
executeWorkflowOnError: false,
2121
},
2222
},
23-
prod_NYG90VSEfU0TfQ: {
23+
prod_NbsBYZA9BxFF7r: {
2424
key: 'starter',
25+
maxOperations: 30000,
26+
maxActiveWorkflows: 25,
27+
minPollingInterval: 60 * 5,
28+
features: {
29+
executeWorkflowOnError: true,
30+
},
31+
},
32+
prod_NYG90VSEfU0TfQ: {
33+
key: 'core',
2534
maxOperations: 1e5,
2635
maxActiveWorkflows: Infinity,
2736
minPollingInterval: 60,
@@ -70,6 +79,9 @@ export const plansConfig: Record<string, PlanConfig> = {
7079
// Plans on Stripe test mode
7180
if (process.env.NODE_ENV === 'development') {
7281
// starter
82+
plansConfig['prod_NbsFKhWJ6PMBpx'] = plansConfig['prod_NbsBYZA9BxFF7r']
83+
delete plansConfig['prod_NbsBYZA9BxFF7r']
84+
// core
7385
plansConfig['prod_NXQOvZowLlwuaH'] = plansConfig['prod_NYG90VSEfU0TfQ']
7486
delete plansConfig['prod_NYG90VSEfU0TfQ']
7587
// pro

0 commit comments

Comments
 (0)