V2-6 — Mobile (Expo) MVP
- apps/mobile/ 신규, npm workspace에서 제외 (Expo deps 부담 회피)
- Expo SDK 51 + Expo Router + AsyncStorage Supabase 클라이언트
- 화면: index/login/(tabs)/{meetings,record,profile}
- expo-av로 녹음 → Edge Function stt-proxy 호출
- expo-web-browser + expo-linking으로 OAuth 콜백 처리
- README에 setup/EAS build 가이드
- 루트 package.json workspaces를 명시 나열로 변경 (apps/mobile 제외)
V2-7 — 팀 기능 (Web)
- apps/web/src/app/teams/page.tsx — 가입한 팀 카드 그리드
- apps/web/src/app/teams/[id]/page.tsx — 멤버 + 공유 회의
- components/teams/create-team-form.tsx — 팀 생성 + owner 자동 team_members
- components/teams/invite-member-form.tsx — user_id 직접 초대 (V2-7b에서 invite flow)
- Sidebar에 Teams/Billing 메뉴 + 아이콘
- ko.json에 nav.teams/nav.billing 키 추가
- V2-2 teams/team_members RLS 활용
V2-8 — 결제 스캐폴딩
- apps/web/src/app/billing/page.tsx — Free/Pro/Team 가격표 + 현재 구독
- components/billing/checkout-button.tsx — Edge Function 호출 후 redirect
- server/supabase/functions/stripe-checkout/index.ts:
- JWT 인증 -> 기존 customer 조회/생성 -> Checkout Session 생성
- subscriptions 테이블에 customer_id upsert
- server/supabase/functions/stripe-webhook/index.ts:
- checkout.session.completed -> subscriptions tier=pro/team active
- customer.subscription.updated/created -> status/period 업데이트
- customer.subscription.deleted -> tier=free, status=canceled
- signature 검증은 placeholder (V2-8b에서 정식)
- server/supabase/config.toml에 두 함수 등록 (webhook verify_jwt=false)
검증:
- desktop typecheck OK (회귀 없음)
- web typecheck OK
- web next build OK (11 라우트)
- mobile은 별도 install 필요 (workspace 제외)
memory/project_status.md 갱신 — V2 마스터 플랜 전 페이즈 로컬 완료
19 lines
4.2 KiB
Text
19 lines
4.2 KiB
Text
1:"$Sreact.fragment"
|
|
2:I[7455,["385","static/chunks/75504863-5f9267cdf03b69d1.js","77","static/chunks/77-b2ed327d60687a9b.js","988","static/chunks/988-13d51ea3bc47cedf.js","746","static/chunks/746-2c44f63089954251.js","791","static/chunks/791-5c69f2a174236cc3.js","803","static/chunks/803-0cf84cc58814c4df.js","177","static/chunks/app/layout-691283f9d4f6a1d3.js"],"ThemeProvider"]
|
|
3:I[1732,["385","static/chunks/75504863-5f9267cdf03b69d1.js","77","static/chunks/77-b2ed327d60687a9b.js","988","static/chunks/988-13d51ea3bc47cedf.js","746","static/chunks/746-2c44f63089954251.js","791","static/chunks/791-5c69f2a174236cc3.js","803","static/chunks/803-0cf84cc58814c4df.js","177","static/chunks/app/layout-691283f9d4f6a1d3.js"],"I18nProvider"]
|
|
4:I[1598,["385","static/chunks/75504863-5f9267cdf03b69d1.js","77","static/chunks/77-b2ed327d60687a9b.js","988","static/chunks/988-13d51ea3bc47cedf.js","746","static/chunks/746-2c44f63089954251.js","791","static/chunks/791-5c69f2a174236cc3.js","803","static/chunks/803-0cf84cc58814c4df.js","177","static/chunks/app/layout-691283f9d4f6a1d3.js"],"AuthProvider"]
|
|
5:I[5341,[],""]
|
|
6:I[25,[],""]
|
|
8:I[5104,[],"OutletBoundary"]
|
|
a:I[7158,[],"AsyncMetadataOutlet"]
|
|
c:I[5104,[],"ViewportBoundary"]
|
|
e:I[5104,[],"MetadataBoundary"]
|
|
f:"$Sreact.suspense"
|
|
11:I[4431,[],""]
|
|
0:{"P":null,"b":"xPyRjwNtNDQo_6GaMCeJt","p":"","c":["","record"],"i":false,"f":[[["",{"children":["record",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[null,["$","html",null,{"lang":"ko","children":["$","body",null,{"children":["$","$L2",null,{"children":["$","$L3",null,{"children":["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]}]}]}]]}],{"children":["record",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":["$L7",null,["$","$L8",null,{"children":["$L9",["$","$La",null,{"promise":"$@b"}]]}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$Lc",null,{"children":"$Ld"}],null],["$","$Le",null,{"children":["$","div",null,{"hidden":true,"children":["$","$f",null,{"fallback":null,"children":"$L10"}]}]}]]}],false]],"m":"$undefined","G":["$11",[]],"s":false,"S":true}
|
|
7:E{"digest":"NEXT_REDIRECT;replace;/login;307;"}
|
|
d:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
|
|
9:null
|
|
12:I[6505,[],"IconMark"]
|
|
b:{"metadata":[["$","title","0",{"children":"D3RO Voice"}],["$","meta","1",{"name":"description","content":"로컬+클라우드 하이브리드 AI 음성 어시스턴트"}],["$","link","2",{"rel":"icon","href":"/favicon.ico"}],["$","$L12","3",{}]],"error":null,"digest":"$undefined"}
|
|
10:"$b:metadata"
|