• Factory function to create a makeExtendSchemaPlugin that adds a subscription endpoint for specific entity.

    Parameters

    • mainTableName: string

      name of the table in the database without schema

    • typeName: string

      name of the GraphQL type that is generated by postgraphile for mainTableName table

    • gqlIdDataType: "Int" | "UUID" = 'Int'

      optional parameter to set an ID type for the endpoint. Supported types are Int and UUID. Default is Int.

    Returns Plugin

Generated using TypeDoc