chore: land in-progress workspace changes before 1.16.2

The tree carried uncommitted work from several areas (web push, mobile
screens, admin charts, test-hygiene cleanup, CI and map docs). It is landed
as one commit so the release pipeline can start from a clean tree; the
desktop transcript-correction behaviour shipped in the previous commit and
is unchanged here.
This commit is contained in:
Yun Chan 2026-11-05 21:58:44 +09:00
parent 9c2b6a9782
commit 7fe49c437e
144 changed files with 3760 additions and 4523 deletions

View file

@ -15,6 +15,8 @@ import type {
TeamMember,
Subscription,
SubscriptionTier,
PushProvider,
PushToken,
TeamRole,
MeetingStatus,
DocumentTemplateType,
@ -111,6 +113,38 @@ describe('api-client types', () => {
expect(check).toBe('public')
})
it('push token 행과 quota RPC 인자가 최신 DB 계약을 포함한다', () => {
const provider: PushProvider = 'webpush'
const pushToken: PushToken = {
id: 'token-uuid',
user_id: 'user-uuid',
token: 'subscription-json',
platform: 'web',
device_name: null,
device_id: 'device-uuid',
provider,
last_registered_at: '2026-11-04T00:00:00Z',
created_at: '2026-11-04T00:00:00Z',
updated_at: '2026-11-04T00:00:00Z',
}
const insert: Database['public']['Tables']['push_tokens']['Insert'] = {
user_id: pushToken.user_id,
token: pushToken.token,
platform: pushToken.platform,
device_id: pushToken.device_id,
provider,
}
const quotaArgs: Database['public']['Functions']['consume_quota']['Args'] = {
p_user_id: 'user-uuid',
p_feature: 'knowledge_embedding',
p_base_limit: 5_000,
p_period: 'weekly',
}
expect(insert.device_id).toBe('device-uuid')
expect(quotaArgs.p_period).toBe('weekly')
})
// 미사용 import 방지용
it('모든 타입 import 검증', () => {
const _unused: [