Advertisement
Guest User

Untitled

a guest
Nov 1st, 2024
12
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.88 KB | None | 0 0
  1. Logic flow:
  2.  
  3. Input 1 -> original feed logic -> Stash block (no pop) -> Input 2 -> alternate feed logic -> Stash-pop block (mixes input 1 into 2) -> Remove Duplicates -> Sort by time
  4.  
  5.  
  6. Source code:
  7. {
  8. "displayName": "Test",
  9. "blocks": [
  10. {
  11. "id": "aaaont7hyzwjc",
  12. "type": "input",
  13. "inputType": "list",
  14. "listUri": "at://did:plc:p6aa3emrhidmw3ozqpirho35/app.bsky.graph.list/3l7uql36tk32v"
  15. },
  16. {
  17. "id": "aaaont7hy3iau",
  18. "type": "remove",
  19. "subject": "item",
  20. "value": "reply"
  21. },
  22. {
  23. "id": "aaaont7hyzlvy",
  24. "type": "regex",
  25. "value": "🦉 ",
  26. "caseSensitive": false
  27. },
  28. {
  29. "type": "stash",
  30. "action": "stash",
  31. "key": "w2yocra",
  32. "id": "aaaonua4w6ks6"
  33. },
  34. {
  35. "type": "input",
  36. "inputType": "list",
  37. "id": "aaaonus2nkwyo",
  38. "listUri": "at://did:plc:p6aa3emrhidmw3ozqpirho35/app.bsky.graph.list/3l7uqlbrnna2t"
  39. },
  40. {
  41. "type": "regex",
  42. "value": "🐍",
  43. "caseSensitive": false,
  44. "id": "aaaonvr3mukyk"
  45. },
  46. {
  47. "type": "remove",
  48. "subject": "item",
  49. "value": "reply",
  50. "id": "aaaonvkxtevtu"
  51. },
  52. {
  53. "type": "stash",
  54. "action": "pop",
  55. "key": "w2yocra",
  56. "id": "aaaonua4w6hqq"
  57. },
  58. {
  59. "type": "remove",
  60. "subject": "duplicates",
  61. "value": null,
  62. "id": "aaaonuheqry4o"
  63. },
  64. {
  65. "id": "aaaont7hyyaoa",
  66. "type": "sort",
  67. "sortType": "created_at"
  68. }
  69. ],
  70. "license": "EUPL-1.2"
  71. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement