@medipha/chat 1.0.65 → 1.0.66

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,9 @@
1
1
  import { Conversation } from '../../../utils/chat';
2
+ export type GroupManageSection = 'message-permission' | 'member-approval' | 'auto-delete' | 'invite-link';
2
3
  interface GroupManageModalProps {
3
4
  conversation: Conversation | null;
4
5
  conversationId: string | undefined;
6
+ initialSection?: GroupManageSection;
5
7
  onClose: () => void;
6
8
  onConversationUpdated: (update: Partial<Conversation>) => void;
7
9
  }
@@ -14,5 +16,5 @@ interface GroupManageModalProps {
14
16
  * as the restriction would make the "on" position mean "locked", backwards from every
15
17
  * other toggle in the app.
16
18
  */
17
- export declare function GroupManageModal({ conversation, conversationId, onClose, onConversationUpdated, }: GroupManageModalProps): import('react').ReactPortal;
19
+ export declare function GroupManageModal({ conversation, conversationId, initialSection, onClose, onConversationUpdated, }: GroupManageModalProps): import('react').ReactPortal;
18
20
  export {};