Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Variables

Const Collection

Collection: typeof CollectionComponent = ...

Const defaultOpts

defaultOpts: DataCollectionOptions = ...

Functions

Const clientSideCollection

Const collection

fromRestModel

  • fromRestModel<T>(items: SerializedEntity<T>[], stringIdName?: string): SerializedEntity<T>[]
  • Type parameters

    • T

    Parameters

    • items: SerializedEntity<T>[]
    • Optional stringIdName: string

    Returns SerializedEntity<T>[]

Const useCollection

Const withDataCollection

  • withDataCollection(entityName: string, opts?: DataCollectionOptions): <T>(target: T) => T & IWrappedComponent<unknown>
  • Parameters

    Returns <T>(target: T) => T & IWrappedComponent<unknown>

      • <T>(target: T): T & IWrappedComponent<unknown>
      • Type parameters

        • T: IReactComponent<any>

        Parameters

        • target: T

        Returns T & IWrappedComponent<unknown>

Generated using TypeDoc