import { DatabaseModel, UserId } from '..'; import { Content } from './Content'; export interface ContentContainer extends DatabaseModel { /** ID is equal to name */ id: ContentContainerId; name: string; /** The list of content in this container, used just for typing. */ content?: (T | Content)[]; /** Key-value metadata about the content. */ metadata: any; /** The creator of this content container. */ creator: UserId; /** Requires admin role to retrieve. */ isAdminOnly: boolean; /** Requires authentication to retrieve. */ isAuthOnly: boolean; /** Can this content be retrieved currently? */ isActive: boolean; } export declare type ContentContainerId = string;