Reindex
TeamBlogDocs

Built-in types

Reindex comes with a set of built-in node types. Names of those types start with Reindex. Built-in types are not defined in ReindexSchema.json, they are added automatically and can’t be modified like the other types. It’s also not possible to use a built-in type as a type of a field.

The built-in types generally have root fields that can be read and modify nodes of those types. Access is always limited to admin users.

ReindexAuthenticationProvider

Available operations:

  • reindexAuthenticationProviderById
  • reindexAuthenticationProviderByType
  • createReindexAuthenticationProvider
  • updateReindexAuthenticationProvider
  • replaceReindexAuthenticationProvider
  • deleteReindexAuthenticationProvider

An authentication provider includes the settings for an authentication method used for signup and login.

Supported providers are:

  • Auth0 (provider type auth0)
  • Facebook (provider type facebook)
  • Google (provider type google)
  • Twitter (provider type twitter)
  • GitHub (provider type github)

ReindexSecret

Available operations:

  • reindexSecretById
  • createReindexSecret
  • deleteReindexSecret

Stores a secret used for signing authentication tokens for an app.

ReindexType

Available operations:

  • reindexTypeById
  • reindexTypeByName

A custom type defined in the app. Normally created by creating a migration with the CLI tool.

ReindexHook

Available operations:

  • reindexHookById
  • createReindexHook
  • updateReindexHook
  • replaceReindexHook
  • deleteReindexHook

A hook that is triggered after some event happening to some type. Performs a POST request to a specified URL.

ReindexHookLog

Available operations:

  • reindexHookLogById
  • createReindexHookLog
  • deleteReindexHookLog

Log of the executed hooks. Contains result of the hook fragment execution.

Topics:

Built-in types

Reindex comes with a set of built-in node types. Names of those types start with Reindex. Built-in types are not defined in ReindexSchema.json, they are added automatically and can’t be modified like the other types. It’s also not possible to use a built-in type as a type of a field.

The built-in types generally have root fields that can be read and modify nodes of those types. Access is always limited to admin users.

ReindexAuthenticationProvider

Available operations:

  • reindexAuthenticationProviderById
  • reindexAuthenticationProviderByType
  • createReindexAuthenticationProvider
  • updateReindexAuthenticationProvider
  • replaceReindexAuthenticationProvider
  • deleteReindexAuthenticationProvider

An authentication provider includes the settings for an authentication method used for signup and login.

Supported providers are:

  • Auth0 (provider type auth0)
  • Facebook (provider type facebook)
  • Google (provider type google)
  • Twitter (provider type twitter)
  • GitHub (provider type github)

ReindexSecret

Available operations:

  • reindexSecretById
  • createReindexSecret
  • deleteReindexSecret

Stores a secret used for signing authentication tokens for an app.

ReindexType

Available operations:

  • reindexTypeById
  • reindexTypeByName

A custom type defined in the app. Normally created by creating a migration with the CLI tool.

ReindexHook

Available operations:

  • reindexHookById
  • createReindexHook
  • updateReindexHook
  • replaceReindexHook
  • deleteReindexHook

A hook that is triggered after some event happening to some type. Performs a POST request to a specified URL.

ReindexHookLog

Available operations:

  • reindexHookLogById
  • createReindexHookLog
  • deleteReindexHookLog

Log of the executed hooks. Contains result of the hook fragment execution.