You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
1015 B

1 year ago
  1. package tag
  2. type Tag struct {
  3. ID string `json:"id"`
  4. ParentID *string `json:"parentId"`
  5. OwnerID string `json:"ownerId"` // The user who can change the tag
  6. Name string `json:"name"`
  7. Kind Kind `json:"kind"`
  8. Description string `json:"description"`
  9. Listed bool `json:"listed"` // Whether to list it for search
  10. Secret bool `json:"secret"` // Only owners can see it
  11. }
  12. type Kind int
  13. const (
  14. // TKOrganization is an organization, faction or group
  15. TKOrganization = 1 << iota
  16. // TKLocation is a settlement, building, planet, etc.... Icon: Pin
  17. TKLocation
  18. // TKEvent is a specific event
  19. TKEvent
  20. // TKPlot is a larger plot
  21. TKPlot
  22. // TKSeries is a thread of content that's not exactly a plot/event
  23. TKSeries
  24. )
  25. /*
  26. L Aite
  27. L Freedom Falls
  28. LO Miner's Respite
  29. L Derrai Union
  30. L Derrai
  31. L Aroste
  32. L Aroste
  33. P "The Collectors"
  34. P "Rellis Stuff"
  35. E Rellis' Contract
  36. E Familial Ties
  37. E Skipping Work
  38. E Sala's Backlog
  39. S Anywhere but Here
  40. */