Commit Graph

20 Commits

Author SHA1 Message Date
Michael Dausmann
577e79478e enable member deletion and reject pending + bugs 2023-04-24 10:52:35 +10:00
Michael Dausmann
8b2348f6a3 add/delete notes 2023-04-14 00:24:22 +10:00
Michael Dausmann
4d288c7468 team join with link and member admin 2023-04-09 00:41:46 +10:00
Michael Dausmann
b4b20e4260 force user initialisation - fixes #2 2023-04-07 23:28:13 +10:00
Michael Dausmann
59d9d0f684 refactor service types to use Prisma.validator 2023-04-07 00:02:59 +10:00
Michael Dausmann
5350a5c712 refactor service layer 2023-04-05 22:42:36 +10:00
Michael Dausmann
f2bbe8596a refactor and restructure pinia store and trpc routers + add members list to account store 2023-04-05 00:28:30 +10:00
Michael Dausmann
8fc900fbf1 enable update account name from account page 2023-04-02 17:28:52 +10:00
Michael Dausmann
5b2fe2f6c9 Signup flow + switch to serverSupabaseUser in context (fixes token refresh issue)+ lib upgrades for nuxt/supabase and nuxt/trpc 2023-04-01 16:53:47 +11:00
Michael Dausmann
f2fa72b2a1 max user limits + check plan active on webhook + flow tweaks 2023-03-25 16:03:28 +11:00
Michael Dausmann
45fb639fcf user.email account.plan_name - cleanup context and service construction - config for stripe callback - initial plan 2023-03-19 15:48:08 +11:00
Michael Dausmann
4959475dcc config for trial plan 2023-03-19 13:32:56 +11:00
Michael Dausmann
7311c13db2 Basic Stripe integration. new pages for stripe handshake and new Account page. use query instead of useQuery for trpc fetches from store 2023-03-18 20:37:51 +11:00
Michael Dausmann
a341a641e8 refactor admin functions in store to use active account - introduce admin middleware 2023-02-24 21:09:49 +11:00
Michael Dausmann
f2b3a2617d parameterise admin functions and move to store actions 2023-02-21 20:37:32 +11:00
Michael Dausmann
fbe2436231 create utility types on server - include Account with Membership - start moving account functions to store actions 2023-02-20 00:21:56 +11:00
Michael Dausmann
b3ee03b5c3 ditch useState and composables in favour of pinia store - add server rendered note detail page 2023-02-19 01:22:55 +11:00
Michael Dausmann
bb9f4dfd1d client side state for activeMembership and fetch notes based on same 2023-02-13 23:51:52 +11:00
Michael Dausmann
de976ab43b membership functions - split and compose router functions - schema changes 2023-02-08 23:14:46 +11:00
Michael Dausmann
bba070d985 introduce TRPC and service layer 2023-02-05 11:55:49 +11:00