cal.pub0.org/packages/prisma
Omar López 5625cf226b
Stripe to monorepo (#2063)
* downgrade func

* fix security hole lol

* fix query conditions

* - set to trial not free
- auto create stripe customer if missing
- fix production check

* Extracts downgrade logic to script, fixes ts-node conflicts with prisma

* Adds trialEndsAt field to users

* Updates trial/downgrade logic

* Typo

* Legibility fixes

* Update team-billing.ts

* Legibility improvements

* Updates illegal logic

* WIP

* WIP migrating stripe to package

* Update website

* Import fixes

* Import fixes

* Fixes to downgrade script

* Check for premium usernames before downgrading

* Fixed formatting

* Delete deploy-env.sh

* Locks dayjs to 1.10.6

* Type fixes

* Seems like we're stuck with dayjs 1.10.4

* Script fixes

* Adds first name to dump

* Loop fix

Co-authored-by: Jamie <ijamespine@me.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-03-09 15:56:05 -07:00
..
client Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
migrations Add "light-brand" and "dark-brand" colors (add a second color picker) (#2028) 2022-03-05 15:37:46 +00:00
zod Fixing Mobile UI - Event Types (#2065) 2022-03-05 14:42:43 +00:00
.env.example Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
docker-compose.yml Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
index.ts Stripe to monorepo (#2063) 2022-03-09 15:56:05 -07:00
package.json Upgrades prisma to 3.10 (#1978) 2022-03-07 18:30:28 +00:00
schema.prisma Add "light-brand" and "dark-brand" colors (add a second color picker) (#2028) 2022-03-05 15:37:46 +00:00
seed.ts Always disconnect + remove redundant success message (#1945) 2022-02-22 12:04:55 -07:00
zod-utils.ts Build fixes (#1929) 2022-02-21 18:45:35 +00:00