prefix_suffix.go 1.2 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 astreams (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. // Read is the suffix for read stream
  16. Read = "read"
  17. // Starred is the suffix for starred stream
  18. Starred = "starred"
  19. // ReadingList is the suffix for reading list stream
  20. ReadingList = "reading-list"
  21. // KeptUnread is the suffix for kept unread stream
  22. KeptUnread = "kept-unread"
  23. // Broadcast is the suffix for broadcast stream
  24. Broadcast = "broadcast"
  25. // BroadcastFriends is the suffix for broadcast friends stream
  26. BroadcastFriends = "broadcast-friends"
  27. // Like is the suffix for like stream
  28. Like = "like"
  29. )