create updated app_diff (#207)

* create updated app_diff

* fix requested changes
This commit is contained in:
vincanger
2024-07-02 17:36:49 +02:00
committed by GitHub
parent f01d2414da
commit 10b7596f1d
8 changed files with 11034 additions and 81 deletions

View File

@@ -0,0 +1,9 @@
--- template/app/src/server/scripts/dbSeeds.ts
+++ opensaas-sh/app/src/server/scripts/dbSeeds.ts
@@ -43,5 +43,6 @@
datePaid: hasUserPaidOnStripe ? faker.date.between({ from: createdAt, to: lastActiveTimestamp }) : null,
checkoutSessionId: hasUserPaidOnStripe ? `cs_test_${faker.string.uuid()}` : null,
subscriptionTier: subscriptionStatus ? faker.helpers.arrayElement([TierIds.HOBBY, TierIds.PRO]) : null,
+ isMockUser: true,
};
}

View File

@@ -1,10 +0,0 @@
--- template/app/src/server/scripts/usersSeed.ts
+++ opensaas-sh/app/src/server/scripts/usersSeed.ts
@@ -26,6 +26,7 @@
credits: faker.number.int({ min: 0, max: 3 }),
checkoutSessionId: null,
subscriptionTier: faker.helpers.arrayElement([TierIds.HOBBY, TierIds.PRO]),
+ isMockUser: true,
};
return user;
}