mirror of
https://github.com/outline/outline.git
synced 2026-11-21 13:34:02 +03:00
* Add disableMentions option for groups - Add database migration to add disableMentions column to groups table - Update server-side Group model with new field - Add disableMentions to group create/update API schemas and endpoints - Update client-side Group model with new field - Add checkbox to EditGroupDialog for disabling mentions - Filter out groups with disableMentions=true from mention suggestions - Prevent notifications for groups with disabled mentions * Fix TypeScript error in GroupDialogs checkbox handler - Add properly typed handleDisableMentionsChange callback - Replace inline onChange handler with typed callback - Fixes TS2339 error: Property 'checked' does not exist on type 'EventTarget' * UI tweaks * Add groups to suggestions endpoint * Remove mentionableData --------- Co-authored-by: codegen-sh[bot] <131295404+codegen-sh[bot]@users.noreply.github.com> Co-authored-by: Tom Moor <tom@getoutline.com>
10 lines
211 B
TypeScript
10 lines
211 B
TypeScript
/**
|
|
* An interface for objects that can be searched.
|
|
*/
|
|
export interface Searchable {
|
|
/** The content to be used for search */
|
|
get searchContent(): string | string[];
|
|
|
|
get searchSuppressed(): boolean;
|
|
}
|