chore: main 병합 — 로그인 없이 댓글·좋아요, 구글 로그인만, 동네 이야기·카드뉴스 등 (차단 표 user_block 하나로 합침, 익명 댓글도 신고 가능)
This commit is contained in:
commit
dba34675c8
408 files changed
+36377
-725
No files matched your search
@@ -1,5 +1,9 @@
|
||||
import type { MyGak } from './myGakState'
|
||||
import type { TalkData } from '@nalssigak/shared/api/client/types.gen'
|
||||
import type { WeatherWhyPayload } from './weatherWhy'
|
||||
import { createContext, use } from 'react'
|
||||
export type SharePayload = { title: string; slides: HTMLElement[] }
|
||||
/** square: 1:1 비율일 때 slides 대신 찍을 틀 (없으면 slides) */
|
||||
export type SharePayload = { title: string; slides: HTMLElement[]; square?: HTMLElement[] }
|
||||
|
||||
type CommentsState = { type: 'comments'; postId: number; draft?: string }
|
||||
|
||||
@@ -12,6 +16,10 @@ export type SheetState =
|
||||
| { type: 'login'; then?: CommentsState }
|
||||
| { type: 'me' }
|
||||
| { type: 'region' }
|
||||
| { type: 'mix'; shared?: MyGak }
|
||||
| { type: 'install' }
|
||||
| { type: 'weatherWhy'; why: WeatherWhyPayload }
|
||||
| { type: 'talk'; talk: TalkData }
|
||||
| null
|
||||
|
||||
export type SheetApi = { open: (s: Exclude<SheetState, null>) => void; close: () => void }
|
||||
|
||||
Reference in new issue
Block a user