prefix_suffix.go 1.4 KB

12345678910111213141516171819202122232425262728293031
  1. // SPDX-FileCopyrightText: Copyright The Miniflux Authors. All rights reserved.
  2. // SPDX-License-Identifier: Apache-2.0
  3. package googlereader // import "miniflux.app/v2/internal/googlereader"
  4. const (
  5. // streamPrefix is the prefix for streams (read/starred/reading list and so on)
  6. streamPrefix = "user/-/state/com.google/"
  7. // userStreamPrefix is the user specific prefix for streams (read/starred/reading list and so on)
  8. userStreamPrefix = "user/%d/state/com.google/"
  9. // labelPrefix is the prefix for a label stream
  10. labelPrefix = "user/-/label/"
  11. // userLabelPrefix is the user specific prefix prefix for a label stream
  12. userLabelPrefix = "user/%d/label/"
  13. // feedPrefix is the prefix for a feed stream
  14. feedPrefix = "feed/"
  15. // readStreamSuffix is the suffix for read stream
  16. readStreamSuffix = "read"
  17. // starredStreamSuffix is the suffix for starred stream
  18. starredStreamSuffix = "starred"
  19. // readingListStreamSuffix is the suffix for reading list stream
  20. readingListStreamSuffix = "reading-list"
  21. // keptUnreadStreamSuffix is the suffix for kept unread stream
  22. keptUnreadStreamSuffix = "kept-unread"
  23. // broadcastStreamSuffix is the suffix for broadcast stream
  24. broadcastStreamSuffix = "broadcast"
  25. // broadcastFriendsStreamSuffix is the suffix for broadcast friends stream
  26. broadcastFriendsStreamSuffix = "broadcast-friends"
  27. // likeStreamSuffix is the suffix for like stream
  28. likeStreamSuffix = "like"
  29. )