bringapp
    Preparing search index...

    Type Alias Entity<EP>

    Represents an entity, which has an ID, slug, type, props, and content.

    type Entity<EP = object> = {
        content: EntityContent;
        id: number | null;
        props: EntityProps<EP>;
        slug: string | null;
        type: EntityType | null;
    }

    Type Parameters

    • EP = object

      Entity Props type

    Index

    Properties

    Properties

    content: EntityContent

    The entity content.

    id: number | null

    The entity ID.

    props: EntityProps<EP>

    The entity props.

    slug: string | null

    The entity slug.

    type: EntityType | null

    The entity type.