@bjornharrtell/json-api
    Preparing search index...

    Interface ModelDefinition

    Model definition

    interface ModelDefinition {
        relationships?: Record<string, Relationship>;
        type: string;
    }
    Index

    Properties

    Properties

    relationships?: Record<string, Relationship>

    Optional relationships for the model

    type: string

    The JSON:API type for the model