gurpsdomain / GurpsyMcGurpsFace

A (not yet) fully functional webbrowser based Gurps Character Sheet Editor
https://gurpsdomain.github.io/GurpsyMcGurpsFace/
4 stars 0 forks source link

Create a comparator for sheets #24

Closed meronbrouwer closed 7 years ago

meronbrouwer commented 7 years ago

We need a way to compare sheets (InputSheets). Right now we go for the simple approach and only compare the name field, but this is to brittle.

meronbrouwer commented 7 years ago

Clean way is probably to calculate a hash of a sheet and then compare the hashes.

See https://www.npmjs.com/package/ts-md5

meronbrouwer commented 7 years ago

inputsheets, now called templates contain a uuid.