UNPKG

@selfcommunity/types

Version:

Types to integrate a community created with SelfCommunity.

30 lines (29 loc) 542 B
/** * SCCustomMenu enum */ export declare enum SCCustomMenu { BASE = "base", NOT_LOGGED = "not_logged", USER = "user" } /** * SCCustomMenuItemType interface */ export interface SCCustomMenuItemType { id: number; custom_menu: number; label: string; url: string; attrs: string; order: string; } /** * SCCustomMenuType interface */ export interface SCCustomMenuType { id: number; name: string; items: SCCustomMenuItemType[]; created_at?: Date | string; updated_at?: Date | string; }