mirror of
https://github.com/whekin/household-bot.git
synced 2026-03-31 21:24:04 +00:00
feat(miniapp): refine UI and add utility bill management
- Fix collapsible padding and button spacing - Add subtotal to balance card - Add utility bill management for admins - Fix lints and type checks across the monorepo - Implement rejectPendingHouseholdMember in repository and service
This commit is contained in:
@@ -8,6 +8,7 @@ import type {
|
||||
HouseholdTelegramChatRecord,
|
||||
HouseholdTopicBindingRecord
|
||||
} from '@household/ports'
|
||||
import type { SupportedLocale } from '@household/domain'
|
||||
|
||||
import { createHouseholdOnboardingService } from './household-onboarding-service'
|
||||
|
||||
@@ -141,7 +142,10 @@ function createRepositoryStub() {
|
||||
isAdmin: input.isAdmin === true
|
||||
}
|
||||
},
|
||||
async updateHouseholdDefaultLocale(_householdId, locale) {
|
||||
async rejectPendingHouseholdMember(input) {
|
||||
return pendingMembers.delete(input.telegramUserId)
|
||||
},
|
||||
async updateHouseholdDefaultLocale(_householdId: string, locale: SupportedLocale) {
|
||||
return {
|
||||
...household,
|
||||
defaultLocale: locale
|
||||
|
||||
Reference in New Issue
Block a user