Function createDataProvider

  • Creates a new data provider using the given CubicWeb client.

    Type Parameters

    • E extends EntityRawSchemaArray

    • R extends RelationDefinitionRawSchemaArray<E>

    Parameters

    • client: default

      The CubicWebJS client used to communicate with the API

    • schema: Schema<E, R>

      The current instance's data schema

    Returns DataProvider

    A React Admin data provider compatible with CubicWeb

Generated using TypeDoc