commentSchemaRecords

See source code

The records map to pass to createTLSchema / the client records option so comment threads, comments, and reactions sync. Register the types together — one without the others will fail schema validation on one side of the connection.

commentSchemaRecords: {
  "comment-reaction": CustomRecordInfo;
  "comment-thread": CustomRecordInfo;
  comment: CustomRecordInfo;
};
Prev
commentRecordConfig
Next
commentThreadRecordConfig