@selfcommunity/types
Version:
Types to integrate a community created with SelfCommunity.
23 lines (22 loc) • 474 B
TypeScript
/**
* User status
*/
import { SCCategoryType } from './category';
import { SCUserType } from './user';
import { SCGroupType } from './group';
export declare enum SuggestionType {
USER = "user",
CATEGORY = "category",
GROUP = "group"
}
/**
* Interface SCSuggestionType.
* Suggestion Schema.
*/
export interface SCSuggestionType {
type?: SuggestionType;
score?: number;
category?: SCCategoryType;
user?: SCUserType;
group?: SCGroupType;
}