Factory function to create a makeExtendSchemaPlugin that adds a subscription endpoint for specific entity.
name of the table in the database without schema
name of the GraphQL type that is generated by postgraphile for mainTableName table
mainTableName
optional parameter to set an ID type for the endpoint. Supported types are Int and UUID. Default is Int.
Int
UUID
Factory function to create a makeExtendSchemaPlugin that adds a subscription endpoint for specific entity.