GraphQL API and utilities for the rpdata project
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.

75 lines
2.2 KiB

  1. // Code generated by sqlc. DO NOT EDIT.
  2. package psqlcore
  3. import (
  4. "database/sql"
  5. "encoding/json"
  6. "time"
  7. )
  8. type CommonTag struct {
  9. Tag string `json:"tag"`
  10. TargetKind string `json:"target_kind"`
  11. TargetID string `json:"target_id"`
  12. }
  13. type CoreCounter struct {
  14. ID string `json:"id"`
  15. Value sql.NullInt32 `json:"value"`
  16. }
  17. type DataChange struct {
  18. ID string `json:"id"`
  19. Model string `json:"model"`
  20. Op string `json:"op"`
  21. Author string `json:"author"`
  22. Listed bool `json:"listed"`
  23. Date time.Time `json:"date"`
  24. Keys []string `json:"keys"`
  25. Objects json.RawMessage `json:"objects"`
  26. }
  27. type DataChannel struct {
  28. Name string `json:"name"`
  29. Logged bool `json:"logged"`
  30. Hub bool `json:"hub"`
  31. EventName string `json:"event_name"`
  32. LocationName string `json:"location_name"`
  33. }
  34. type DataCharacter struct {
  35. ID string `json:"id"`
  36. Nicks []string `json:"nicks"`
  37. Name string `json:"name"`
  38. ShortName string `json:"short_name"`
  39. Author string `json:"author"`
  40. Description string `json:"description"`
  41. TsVector interface{} `json:"ts_vector"`
  42. }
  43. type Story struct {
  44. ID string `json:"id"`
  45. Author string `json:"author"`
  46. Name string `json:"name"`
  47. Category string `json:"category"`
  48. Open bool `json:"open"`
  49. Listed bool `json:"listed"`
  50. SortByFictionalDate bool `json:"sort_by_fictional_date"`
  51. CreatedDate time.Time `json:"created_date"`
  52. FictionalDate time.Time `json:"fictional_date"`
  53. UpdatedDate time.Time `json:"updated_date"`
  54. }
  55. type StoryChapter struct {
  56. ID string `json:"id"`
  57. StoryID string `json:"story_id"`
  58. Title string `json:"title"`
  59. Author string `json:"author"`
  60. Source string `json:"source"`
  61. CreatedDate time.Time `json:"created_date"`
  62. FictionalDate time.Time `json:"fictional_date"`
  63. EditedDate time.Time `json:"edited_date"`
  64. CommentMode string `json:"comment_mode"`
  65. CommentsLocked bool `json:"comments_locked"`
  66. }