Skip to content

Instantly share code, notes, and snippets.

@themightychris
Created August 25, 2020 19:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save themightychris/d85b600453f92374c36a690d7ad40bab to your computer and use it in GitHub Desktop.
Save themightychris/d85b600453f92374c36a690d7ad40bab to your computer and use it in GitHub Desktop.
Slate gitsheets schema
[gitsheet]
root = "users"
path = "${{ id > 0 ? Math.floor(id/1000)*1000 || '0000' : 'pending' }}/${{ id }}"
[gitsheet.fields.id]
default = -1
[gitsheet.fields.contact_points]
sort = [ 'id == null', 'slot', 'id', 'kind', 'label', 'data' ]
[gitsheet.fields.relationships]
sort = [ 'id == null', 'slot', 'id', 'kind', 'label', 'related_person_id' ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment