mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-28 17:43:05 +00:00
refactor(core): extract shared dedup helpers
This commit is contained in:
@@ -37,26 +37,7 @@ type SelectOption = {
|
||||
text?: { text?: string };
|
||||
};
|
||||
|
||||
type InteractionSelectionFields = {
|
||||
actionType?: string;
|
||||
blockId?: string;
|
||||
inputKind?: "text" | "number" | "email" | "url" | "rich_text";
|
||||
value?: string;
|
||||
selectedValues?: string[];
|
||||
selectedUsers?: string[];
|
||||
selectedChannels?: string[];
|
||||
selectedConversations?: string[];
|
||||
selectedLabels?: string[];
|
||||
selectedDate?: string;
|
||||
selectedTime?: string;
|
||||
selectedDateTime?: number;
|
||||
inputValue?: string;
|
||||
inputNumber?: number;
|
||||
inputEmail?: string;
|
||||
inputUrl?: string;
|
||||
richTextValue?: unknown;
|
||||
richTextPreview?: string;
|
||||
};
|
||||
type InteractionSelectionFields = Partial<ModalInputSummary>;
|
||||
|
||||
type InteractionSummary = InteractionSelectionFields & {
|
||||
interactionType?: "block_action" | "view_submission" | "view_closed";
|
||||
|
||||
Reference in New Issue
Block a user