mirror of
https://github.com/whekin/household-bot.git
synced 2026-04-01 06:04:02 +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:
@@ -27,7 +27,10 @@ function createRepository(): HouseholdConfigurationRepository {
|
||||
}
|
||||
|
||||
return {
|
||||
registerTelegramHouseholdChat: async () => ({ status: 'existing', household }),
|
||||
registerTelegramHouseholdChat: async () => ({
|
||||
status: 'existing',
|
||||
household
|
||||
}),
|
||||
getTelegramHouseholdChat: async () => household,
|
||||
getHouseholdChatByHouseholdId: async () => household,
|
||||
bindHouseholdTopic: async (input) => ({
|
||||
@@ -66,6 +69,7 @@ function createRepository(): HouseholdConfigurationRepository {
|
||||
listHouseholdMembersByTelegramUserId: async () => [member],
|
||||
listPendingHouseholdMembers: async () => [],
|
||||
approvePendingHouseholdMember: async () => member,
|
||||
rejectPendingHouseholdMember: async () => false,
|
||||
updateHouseholdDefaultLocale: async (_householdId, locale) => ({
|
||||
...household,
|
||||
defaultLocale: locale
|
||||
|
||||
Reference in New Issue
Block a user