AngularTS
    Preparing search index...

    Interface RestDefinition<T>

    Resource definition registered with RestProvider.rest.

    interface RestDefinition<T = unknown> {
        entityClass?: EntityClass<T>;
        name: string;
        options?: RestOptions;
        url: string;
    }

    Type Parameters

    • T = unknown
    Index

    Properties

    entityClass?: EntityClass<T>

    Constructor for mapping JSON objects to entity instances.

    name: string

    Informational name for the resource definition.

    options?: RestOptions

    Extra REST options merged into each request for this resource.

    url: string

    Base URL or RFC 6570 URI template for the resource.