@atproto/bsky 0.0.84 → 0.0.85
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/api/app/bsky/feed/getAuthorFeed.d.ts.map +1 -1
- package/dist/api/app/bsky/feed/getAuthorFeed.js +7 -9
- package/dist/api/app/bsky/feed/getAuthorFeed.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +3 -0
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +5 -0
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/com/atproto/repo/getRecord.d.ts +1 -0
- package/dist/lexicon/types/com/atproto/repo/getRecord.d.ts.map +1 -1
- package/package.json +9 -9
- package/src/api/app/bsky/feed/getAuthorFeed.ts +8 -8
- package/src/lexicon/lexicons.ts +5 -0
- package/src/lexicon/types/com/atproto/repo/getRecord.ts +1 -0
- package/tests/views/__snapshots__/author-feed.test.ts.snap +667 -0
- package/tests/views/author-feed.test.ts +44 -0
|
@@ -1765,6 +1765,673 @@ Array [
|
|
|
1765
1765
|
]
|
|
1766
1766
|
`;
|
|
1767
1767
|
|
|
1768
|
+
exports[`pds author feed views pins cannot pin someone else's post 1`] = `
|
|
1769
|
+
Array [
|
|
1770
|
+
Object {
|
|
1771
|
+
"post": Object {
|
|
1772
|
+
"author": Object {
|
|
1773
|
+
"did": "user(0)",
|
|
1774
|
+
"handle": "alice.test",
|
|
1775
|
+
"labels": Array [],
|
|
1776
|
+
"viewer": Object {
|
|
1777
|
+
"blockedBy": false,
|
|
1778
|
+
"muted": false,
|
|
1779
|
+
},
|
|
1780
|
+
},
|
|
1781
|
+
"cid": "cids(0)",
|
|
1782
|
+
"indexedAt": "1970-01-01T00:00:00.000Z",
|
|
1783
|
+
"labels": Array [],
|
|
1784
|
+
"likeCount": 0,
|
|
1785
|
+
"quoteCount": 0,
|
|
1786
|
+
"record": Object {
|
|
1787
|
+
"$type": "app.bsky.feed.post",
|
|
1788
|
+
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
1789
|
+
"text": "not pinned post",
|
|
1790
|
+
},
|
|
1791
|
+
"replyCount": 0,
|
|
1792
|
+
"repostCount": 0,
|
|
1793
|
+
"uri": "record(0)",
|
|
1794
|
+
"viewer": Object {
|
|
1795
|
+
"embeddingDisabled": false,
|
|
1796
|
+
"pinned": false,
|
|
1797
|
+
"threadMuted": false,
|
|
1798
|
+
},
|
|
1799
|
+
},
|
|
1800
|
+
},
|
|
1801
|
+
Object {
|
|
1802
|
+
"post": Object {
|
|
1803
|
+
"author": Object {
|
|
1804
|
+
"did": "user(0)",
|
|
1805
|
+
"handle": "alice.test",
|
|
1806
|
+
"labels": Array [],
|
|
1807
|
+
"viewer": Object {
|
|
1808
|
+
"blockedBy": false,
|
|
1809
|
+
"muted": false,
|
|
1810
|
+
},
|
|
1811
|
+
},
|
|
1812
|
+
"cid": "cids(1)",
|
|
1813
|
+
"indexedAt": "1970-01-01T00:00:00.000Z",
|
|
1814
|
+
"labels": Array [],
|
|
1815
|
+
"likeCount": 0,
|
|
1816
|
+
"quoteCount": 0,
|
|
1817
|
+
"record": Object {
|
|
1818
|
+
"$type": "app.bsky.feed.post",
|
|
1819
|
+
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
1820
|
+
"text": "pinned post",
|
|
1821
|
+
},
|
|
1822
|
+
"replyCount": 0,
|
|
1823
|
+
"repostCount": 0,
|
|
1824
|
+
"uri": "record(1)",
|
|
1825
|
+
"viewer": Object {
|
|
1826
|
+
"embeddingDisabled": false,
|
|
1827
|
+
"pinned": false,
|
|
1828
|
+
"threadMuted": false,
|
|
1829
|
+
},
|
|
1830
|
+
},
|
|
1831
|
+
},
|
|
1832
|
+
Object {
|
|
1833
|
+
"post": Object {
|
|
1834
|
+
"author": Object {
|
|
1835
|
+
"did": "user(0)",
|
|
1836
|
+
"handle": "alice.test",
|
|
1837
|
+
"labels": Array [],
|
|
1838
|
+
"viewer": Object {
|
|
1839
|
+
"blockedBy": false,
|
|
1840
|
+
"muted": false,
|
|
1841
|
+
},
|
|
1842
|
+
},
|
|
1843
|
+
"cid": "cids(2)",
|
|
1844
|
+
"indexedAt": "1970-01-01T00:00:00.000Z",
|
|
1845
|
+
"labels": Array [],
|
|
1846
|
+
"likeCount": 0,
|
|
1847
|
+
"quoteCount": 0,
|
|
1848
|
+
"record": Object {
|
|
1849
|
+
"$type": "app.bsky.feed.post",
|
|
1850
|
+
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
1851
|
+
"text": "not pinned post",
|
|
1852
|
+
},
|
|
1853
|
+
"replyCount": 0,
|
|
1854
|
+
"repostCount": 0,
|
|
1855
|
+
"uri": "record(2)",
|
|
1856
|
+
"viewer": Object {
|
|
1857
|
+
"embeddingDisabled": false,
|
|
1858
|
+
"pinned": false,
|
|
1859
|
+
"threadMuted": false,
|
|
1860
|
+
},
|
|
1861
|
+
},
|
|
1862
|
+
},
|
|
1863
|
+
Object {
|
|
1864
|
+
"post": Object {
|
|
1865
|
+
"author": Object {
|
|
1866
|
+
"did": "user(0)",
|
|
1867
|
+
"handle": "alice.test",
|
|
1868
|
+
"labels": Array [],
|
|
1869
|
+
"viewer": Object {
|
|
1870
|
+
"blockedBy": false,
|
|
1871
|
+
"muted": false,
|
|
1872
|
+
},
|
|
1873
|
+
},
|
|
1874
|
+
"cid": "cids(3)",
|
|
1875
|
+
"indexedAt": "1970-01-01T00:00:00.000Z",
|
|
1876
|
+
"labels": Array [],
|
|
1877
|
+
"likeCount": 0,
|
|
1878
|
+
"quoteCount": 0,
|
|
1879
|
+
"record": Object {
|
|
1880
|
+
"$type": "app.bsky.feed.post",
|
|
1881
|
+
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
1882
|
+
"text": "not pinned post",
|
|
1883
|
+
},
|
|
1884
|
+
"replyCount": 0,
|
|
1885
|
+
"repostCount": 0,
|
|
1886
|
+
"uri": "record(3)",
|
|
1887
|
+
"viewer": Object {
|
|
1888
|
+
"embeddingDisabled": false,
|
|
1889
|
+
"pinned": false,
|
|
1890
|
+
"threadMuted": false,
|
|
1891
|
+
},
|
|
1892
|
+
},
|
|
1893
|
+
},
|
|
1894
|
+
Object {
|
|
1895
|
+
"post": Object {
|
|
1896
|
+
"author": Object {
|
|
1897
|
+
"did": "user(0)",
|
|
1898
|
+
"handle": "alice.test",
|
|
1899
|
+
"labels": Array [],
|
|
1900
|
+
"viewer": Object {
|
|
1901
|
+
"blockedBy": false,
|
|
1902
|
+
"muted": false,
|
|
1903
|
+
},
|
|
1904
|
+
},
|
|
1905
|
+
"cid": "cids(4)",
|
|
1906
|
+
"indexedAt": "1970-01-01T00:00:00.000Z",
|
|
1907
|
+
"labels": Array [],
|
|
1908
|
+
"likeCount": 0,
|
|
1909
|
+
"quoteCount": 0,
|
|
1910
|
+
"record": Object {
|
|
1911
|
+
"$type": "app.bsky.feed.post",
|
|
1912
|
+
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
1913
|
+
"text": "pinned post",
|
|
1914
|
+
},
|
|
1915
|
+
"replyCount": 0,
|
|
1916
|
+
"repostCount": 0,
|
|
1917
|
+
"uri": "record(4)",
|
|
1918
|
+
"viewer": Object {
|
|
1919
|
+
"embeddingDisabled": false,
|
|
1920
|
+
"pinned": false,
|
|
1921
|
+
"threadMuted": false,
|
|
1922
|
+
},
|
|
1923
|
+
},
|
|
1924
|
+
},
|
|
1925
|
+
Object {
|
|
1926
|
+
"post": Object {
|
|
1927
|
+
"author": Object {
|
|
1928
|
+
"did": "user(0)",
|
|
1929
|
+
"handle": "alice.test",
|
|
1930
|
+
"labels": Array [],
|
|
1931
|
+
"viewer": Object {
|
|
1932
|
+
"blockedBy": false,
|
|
1933
|
+
"muted": false,
|
|
1934
|
+
},
|
|
1935
|
+
},
|
|
1936
|
+
"cid": "cids(5)",
|
|
1937
|
+
"indexedAt": "1970-01-01T00:00:00.000Z",
|
|
1938
|
+
"labels": Array [],
|
|
1939
|
+
"likeCount": 0,
|
|
1940
|
+
"quoteCount": 0,
|
|
1941
|
+
"record": Object {
|
|
1942
|
+
"$type": "app.bsky.feed.post",
|
|
1943
|
+
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
1944
|
+
"text": "not pinned post",
|
|
1945
|
+
},
|
|
1946
|
+
"replyCount": 0,
|
|
1947
|
+
"repostCount": 0,
|
|
1948
|
+
"uri": "record(5)",
|
|
1949
|
+
"viewer": Object {
|
|
1950
|
+
"embeddingDisabled": false,
|
|
1951
|
+
"pinned": false,
|
|
1952
|
+
"threadMuted": false,
|
|
1953
|
+
},
|
|
1954
|
+
},
|
|
1955
|
+
},
|
|
1956
|
+
Object {
|
|
1957
|
+
"post": Object {
|
|
1958
|
+
"author": Object {
|
|
1959
|
+
"did": "user(0)",
|
|
1960
|
+
"handle": "alice.test",
|
|
1961
|
+
"labels": Array [],
|
|
1962
|
+
"viewer": Object {
|
|
1963
|
+
"blockedBy": false,
|
|
1964
|
+
"muted": false,
|
|
1965
|
+
},
|
|
1966
|
+
},
|
|
1967
|
+
"cid": "cids(6)",
|
|
1968
|
+
"indexedAt": "1970-01-01T00:00:00.000Z",
|
|
1969
|
+
"labels": Array [],
|
|
1970
|
+
"likeCount": 0,
|
|
1971
|
+
"quoteCount": 0,
|
|
1972
|
+
"record": Object {
|
|
1973
|
+
"$type": "app.bsky.feed.post",
|
|
1974
|
+
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
1975
|
+
"text": "pinned post",
|
|
1976
|
+
},
|
|
1977
|
+
"replyCount": 0,
|
|
1978
|
+
"repostCount": 0,
|
|
1979
|
+
"uri": "record(6)",
|
|
1980
|
+
"viewer": Object {
|
|
1981
|
+
"embeddingDisabled": false,
|
|
1982
|
+
"pinned": false,
|
|
1983
|
+
"threadMuted": false,
|
|
1984
|
+
},
|
|
1985
|
+
},
|
|
1986
|
+
},
|
|
1987
|
+
Object {
|
|
1988
|
+
"post": Object {
|
|
1989
|
+
"author": Object {
|
|
1990
|
+
"did": "user(0)",
|
|
1991
|
+
"handle": "alice.test",
|
|
1992
|
+
"labels": Array [],
|
|
1993
|
+
"viewer": Object {
|
|
1994
|
+
"blockedBy": false,
|
|
1995
|
+
"muted": false,
|
|
1996
|
+
},
|
|
1997
|
+
},
|
|
1998
|
+
"cid": "cids(7)",
|
|
1999
|
+
"indexedAt": "1970-01-01T00:00:00.000Z",
|
|
2000
|
+
"labels": Array [],
|
|
2001
|
+
"likeCount": 0,
|
|
2002
|
+
"quoteCount": 0,
|
|
2003
|
+
"record": Object {
|
|
2004
|
+
"$type": "app.bsky.feed.post",
|
|
2005
|
+
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
2006
|
+
"text": "not pinned post",
|
|
2007
|
+
},
|
|
2008
|
+
"replyCount": 0,
|
|
2009
|
+
"repostCount": 0,
|
|
2010
|
+
"uri": "record(7)",
|
|
2011
|
+
"viewer": Object {
|
|
2012
|
+
"embeddingDisabled": false,
|
|
2013
|
+
"pinned": false,
|
|
2014
|
+
"threadMuted": false,
|
|
2015
|
+
},
|
|
2016
|
+
},
|
|
2017
|
+
},
|
|
2018
|
+
Object {
|
|
2019
|
+
"post": Object {
|
|
2020
|
+
"author": Object {
|
|
2021
|
+
"did": "user(0)",
|
|
2022
|
+
"handle": "alice.test",
|
|
2023
|
+
"labels": Array [],
|
|
2024
|
+
"viewer": Object {
|
|
2025
|
+
"blockedBy": false,
|
|
2026
|
+
"muted": false,
|
|
2027
|
+
},
|
|
2028
|
+
},
|
|
2029
|
+
"cid": "cids(8)",
|
|
2030
|
+
"indexedAt": "1970-01-01T00:00:00.000Z",
|
|
2031
|
+
"labels": Array [],
|
|
2032
|
+
"likeCount": 0,
|
|
2033
|
+
"quoteCount": 0,
|
|
2034
|
+
"record": Object {
|
|
2035
|
+
"$type": "app.bsky.feed.post",
|
|
2036
|
+
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
2037
|
+
"reply": Object {
|
|
2038
|
+
"parent": Object {
|
|
2039
|
+
"cid": "cids(10)",
|
|
2040
|
+
"uri": "record(10)",
|
|
2041
|
+
},
|
|
2042
|
+
"root": Object {
|
|
2043
|
+
"cid": "cids(9)",
|
|
2044
|
+
"uri": "record(9)",
|
|
2045
|
+
},
|
|
2046
|
+
},
|
|
2047
|
+
"text": "thanks bob",
|
|
2048
|
+
},
|
|
2049
|
+
"replyCount": 0,
|
|
2050
|
+
"repostCount": 1,
|
|
2051
|
+
"uri": "record(8)",
|
|
2052
|
+
"viewer": Object {
|
|
2053
|
+
"embeddingDisabled": false,
|
|
2054
|
+
"pinned": false,
|
|
2055
|
+
"threadMuted": false,
|
|
2056
|
+
},
|
|
2057
|
+
},
|
|
2058
|
+
"reply": Object {
|
|
2059
|
+
"grandparentAuthor": Object {
|
|
2060
|
+
"did": "user(0)",
|
|
2061
|
+
"handle": "alice.test",
|
|
2062
|
+
"labels": Array [],
|
|
2063
|
+
"viewer": Object {
|
|
2064
|
+
"blockedBy": false,
|
|
2065
|
+
"muted": false,
|
|
2066
|
+
},
|
|
2067
|
+
},
|
|
2068
|
+
"parent": Object {
|
|
2069
|
+
"$type": "app.bsky.feed.defs#postView",
|
|
2070
|
+
"author": Object {
|
|
2071
|
+
"avatar": "https://bsky.public.url/img/avatar/plain/user(2)/cids(11)@jpeg",
|
|
2072
|
+
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
2073
|
+
"did": "user(1)",
|
|
2074
|
+
"displayName": "bobby",
|
|
2075
|
+
"handle": "bob.test",
|
|
2076
|
+
"labels": Array [],
|
|
2077
|
+
"viewer": Object {
|
|
2078
|
+
"blockedBy": false,
|
|
2079
|
+
"followedBy": "record(12)",
|
|
2080
|
+
"following": "record(11)",
|
|
2081
|
+
"muted": false,
|
|
2082
|
+
},
|
|
2083
|
+
},
|
|
2084
|
+
"cid": "cids(10)",
|
|
2085
|
+
"embed": Object {
|
|
2086
|
+
"$type": "app.bsky.embed.images#view",
|
|
2087
|
+
"images": Array [
|
|
2088
|
+
Object {
|
|
2089
|
+
"alt": "../dev-env/src/seed/img/key-landscape-small.jpg",
|
|
2090
|
+
"fullsize": "https://bsky.public.url/img/feed_fullsize/plain/user(2)/cids(12)@jpeg",
|
|
2091
|
+
"thumb": "https://bsky.public.url/img/feed_thumbnail/plain/user(2)/cids(12)@jpeg",
|
|
2092
|
+
},
|
|
2093
|
+
],
|
|
2094
|
+
},
|
|
2095
|
+
"indexedAt": "1970-01-01T00:00:00.000Z",
|
|
2096
|
+
"labels": Array [
|
|
2097
|
+
Object {
|
|
2098
|
+
"cid": "cids(10)",
|
|
2099
|
+
"cts": "1970-01-01T00:00:00.000Z",
|
|
2100
|
+
"src": "did:example:labeler",
|
|
2101
|
+
"uri": "record(10)",
|
|
2102
|
+
"val": "test-label",
|
|
2103
|
+
},
|
|
2104
|
+
Object {
|
|
2105
|
+
"cid": "cids(10)",
|
|
2106
|
+
"cts": "1970-01-01T00:00:00.000Z",
|
|
2107
|
+
"src": "did:example:labeler",
|
|
2108
|
+
"uri": "record(10)",
|
|
2109
|
+
"val": "test-label-2",
|
|
2110
|
+
},
|
|
2111
|
+
],
|
|
2112
|
+
"likeCount": 0,
|
|
2113
|
+
"quoteCount": 0,
|
|
2114
|
+
"record": Object {
|
|
2115
|
+
"$type": "app.bsky.feed.post",
|
|
2116
|
+
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
2117
|
+
"embed": Object {
|
|
2118
|
+
"$type": "app.bsky.embed.images",
|
|
2119
|
+
"images": Array [
|
|
2120
|
+
Object {
|
|
2121
|
+
"alt": "../dev-env/src/seed/img/key-landscape-small.jpg",
|
|
2122
|
+
"image": Object {
|
|
2123
|
+
"$type": "blob",
|
|
2124
|
+
"mimeType": "image/jpeg",
|
|
2125
|
+
"ref": Object {
|
|
2126
|
+
"$link": "cids(12)",
|
|
2127
|
+
},
|
|
2128
|
+
"size": 4114,
|
|
2129
|
+
},
|
|
2130
|
+
},
|
|
2131
|
+
],
|
|
2132
|
+
},
|
|
2133
|
+
"reply": Object {
|
|
2134
|
+
"parent": Object {
|
|
2135
|
+
"cid": "cids(9)",
|
|
2136
|
+
"uri": "record(9)",
|
|
2137
|
+
},
|
|
2138
|
+
"root": Object {
|
|
2139
|
+
"cid": "cids(9)",
|
|
2140
|
+
"uri": "record(9)",
|
|
2141
|
+
},
|
|
2142
|
+
},
|
|
2143
|
+
"text": "hear that label_me label_me_2",
|
|
2144
|
+
},
|
|
2145
|
+
"replyCount": 1,
|
|
2146
|
+
"repostCount": 0,
|
|
2147
|
+
"uri": "record(10)",
|
|
2148
|
+
"viewer": Object {
|
|
2149
|
+
"embeddingDisabled": false,
|
|
2150
|
+
"threadMuted": false,
|
|
2151
|
+
},
|
|
2152
|
+
},
|
|
2153
|
+
"root": Object {
|
|
2154
|
+
"$type": "app.bsky.feed.defs#postView",
|
|
2155
|
+
"author": Object {
|
|
2156
|
+
"did": "user(0)",
|
|
2157
|
+
"handle": "alice.test",
|
|
2158
|
+
"labels": Array [],
|
|
2159
|
+
"viewer": Object {
|
|
2160
|
+
"blockedBy": false,
|
|
2161
|
+
"muted": false,
|
|
2162
|
+
},
|
|
2163
|
+
},
|
|
2164
|
+
"cid": "cids(9)",
|
|
2165
|
+
"indexedAt": "1970-01-01T00:00:00.000Z",
|
|
2166
|
+
"labels": Array [],
|
|
2167
|
+
"likeCount": 3,
|
|
2168
|
+
"quoteCount": 0,
|
|
2169
|
+
"record": Object {
|
|
2170
|
+
"$type": "app.bsky.feed.post",
|
|
2171
|
+
"createdAt": "1970-01-01T00:00:00.000000Z",
|
|
2172
|
+
"text": "again",
|
|
2173
|
+
},
|
|
2174
|
+
"replyCount": 3,
|
|
2175
|
+
"repostCount": 1,
|
|
2176
|
+
"uri": "record(9)",
|
|
2177
|
+
"viewer": Object {
|
|
2178
|
+
"embeddingDisabled": false,
|
|
2179
|
+
"pinned": false,
|
|
2180
|
+
"threadMuted": false,
|
|
2181
|
+
},
|
|
2182
|
+
},
|
|
2183
|
+
},
|
|
2184
|
+
},
|
|
2185
|
+
Object {
|
|
2186
|
+
"post": Object {
|
|
2187
|
+
"author": Object {
|
|
2188
|
+
"did": "user(0)",
|
|
2189
|
+
"handle": "alice.test",
|
|
2190
|
+
"labels": Array [],
|
|
2191
|
+
"viewer": Object {
|
|
2192
|
+
"blockedBy": false,
|
|
2193
|
+
"muted": false,
|
|
2194
|
+
},
|
|
2195
|
+
},
|
|
2196
|
+
"cid": "cids(13)",
|
|
2197
|
+
"embed": Object {
|
|
2198
|
+
"$type": "app.bsky.embed.record#view",
|
|
2199
|
+
"record": Object {
|
|
2200
|
+
"$type": "app.bsky.embed.record#viewRecord",
|
|
2201
|
+
"author": Object {
|
|
2202
|
+
"associated": Object {
|
|
2203
|
+
"chat": Object {
|
|
2204
|
+
"allowIncoming": "none",
|
|
2205
|
+
},
|
|
2206
|
+
},
|
|
2207
|
+
"did": "user(3)",
|
|
2208
|
+
"handle": "dan.test",
|
|
2209
|
+
"labels": Array [],
|
|
2210
|
+
"viewer": Object {
|
|
2211
|
+
"blockedBy": false,
|
|
2212
|
+
"following": "record(15)",
|
|
2213
|
+
"muted": false,
|
|
2214
|
+
},
|
|
2215
|
+
},
|
|
2216
|
+
"cid": "cids(14)",
|
|
2217
|
+
"embeds": Array [
|
|
2218
|
+
Object {
|
|
2219
|
+
"$type": "app.bsky.embed.record#view",
|
|
2220
|
+
"record": Object {
|
|
2221
|
+
"$type": "app.bsky.embed.record#viewRecord",
|
|
2222
|
+
"author": Object {
|
|
2223
|
+
"did": "user(4)",
|
|
2224
|
+
"handle": "carol.test",
|
|
2225
|
+
"labels": Array [],
|
|
2226
|
+
"viewer": Object {
|
|
2227
|
+
"blockedBy": false,
|
|
2228
|
+
"followedBy": "record(18)",
|
|
2229
|
+
"following": "record(17)",
|
|
2230
|
+
"muted": false,
|
|
2231
|
+
},
|
|
2232
|
+
},
|
|
2233
|
+
"cid": "cids(15)",
|
|
2234
|
+
"indexedAt": "1970-01-01T00:00:00.000Z",
|
|
2235
|
+
"labels": Array [],
|
|
2236
|
+
"likeCount": 2,
|
|
2237
|
+
"quoteCount": 1,
|
|
2238
|
+
"replyCount": 0,
|
|
2239
|
+
"repostCount": 0,
|
|
2240
|
+
"uri": "record(16)",
|
|
2241
|
+
"value": Object {
|
|
2242
|
+
"$type": "app.bsky.feed.post",
|
|
2243
|
+
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
2244
|
+
"embed": Object {
|
|
2245
|
+
"$type": "app.bsky.embed.recordWithMedia",
|
|
2246
|
+
"media": Object {
|
|
2247
|
+
"$type": "app.bsky.embed.images",
|
|
2248
|
+
"images": Array [
|
|
2249
|
+
Object {
|
|
2250
|
+
"alt": "../dev-env/src/seed/img/key-landscape-small.jpg",
|
|
2251
|
+
"image": Object {
|
|
2252
|
+
"$type": "blob",
|
|
2253
|
+
"mimeType": "image/jpeg",
|
|
2254
|
+
"ref": Object {
|
|
2255
|
+
"$link": "cids(12)",
|
|
2256
|
+
},
|
|
2257
|
+
"size": 4114,
|
|
2258
|
+
},
|
|
2259
|
+
},
|
|
2260
|
+
Object {
|
|
2261
|
+
"alt": "../dev-env/src/seed/img/key-alt.jpg",
|
|
2262
|
+
"image": Object {
|
|
2263
|
+
"$type": "blob",
|
|
2264
|
+
"mimeType": "image/jpeg",
|
|
2265
|
+
"ref": Object {
|
|
2266
|
+
"$link": "cids(16)",
|
|
2267
|
+
},
|
|
2268
|
+
"size": 12736,
|
|
2269
|
+
},
|
|
2270
|
+
},
|
|
2271
|
+
],
|
|
2272
|
+
},
|
|
2273
|
+
"record": Object {
|
|
2274
|
+
"record": Object {
|
|
2275
|
+
"cid": "cids(17)",
|
|
2276
|
+
"uri": "record(19)",
|
|
2277
|
+
},
|
|
2278
|
+
},
|
|
2279
|
+
},
|
|
2280
|
+
"text": "hi im carol",
|
|
2281
|
+
},
|
|
2282
|
+
},
|
|
2283
|
+
},
|
|
2284
|
+
],
|
|
2285
|
+
"indexedAt": "1970-01-01T00:00:00.000Z",
|
|
2286
|
+
"labels": Array [],
|
|
2287
|
+
"likeCount": 0,
|
|
2288
|
+
"quoteCount": 1,
|
|
2289
|
+
"replyCount": 0,
|
|
2290
|
+
"repostCount": 1,
|
|
2291
|
+
"uri": "record(14)",
|
|
2292
|
+
"value": Object {
|
|
2293
|
+
"$type": "app.bsky.feed.post",
|
|
2294
|
+
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
2295
|
+
"embed": Object {
|
|
2296
|
+
"$type": "app.bsky.embed.record",
|
|
2297
|
+
"record": Object {
|
|
2298
|
+
"cid": "cids(15)",
|
|
2299
|
+
"uri": "record(16)",
|
|
2300
|
+
},
|
|
2301
|
+
},
|
|
2302
|
+
"facets": Array [
|
|
2303
|
+
Object {
|
|
2304
|
+
"features": Array [
|
|
2305
|
+
Object {
|
|
2306
|
+
"$type": "app.bsky.richtext.facet#mention",
|
|
2307
|
+
"did": "user(0)",
|
|
2308
|
+
},
|
|
2309
|
+
],
|
|
2310
|
+
"index": Object {
|
|
2311
|
+
"byteEnd": 18,
|
|
2312
|
+
"byteStart": 0,
|
|
2313
|
+
},
|
|
2314
|
+
},
|
|
2315
|
+
],
|
|
2316
|
+
"text": "@alice.bluesky.xyz is the best",
|
|
2317
|
+
},
|
|
2318
|
+
},
|
|
2319
|
+
},
|
|
2320
|
+
"indexedAt": "1970-01-01T00:00:00.000Z",
|
|
2321
|
+
"labels": Array [
|
|
2322
|
+
Object {
|
|
2323
|
+
"cid": "cids(13)",
|
|
2324
|
+
"cts": "1970-01-01T00:00:00.000Z",
|
|
2325
|
+
"src": "did:example:labeler",
|
|
2326
|
+
"uri": "record(13)",
|
|
2327
|
+
"val": "test-label",
|
|
2328
|
+
},
|
|
2329
|
+
],
|
|
2330
|
+
"likeCount": 2,
|
|
2331
|
+
"quoteCount": 0,
|
|
2332
|
+
"record": Object {
|
|
2333
|
+
"$type": "app.bsky.feed.post",
|
|
2334
|
+
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
2335
|
+
"embed": Object {
|
|
2336
|
+
"$type": "app.bsky.embed.record",
|
|
2337
|
+
"record": Object {
|
|
2338
|
+
"cid": "cids(14)",
|
|
2339
|
+
"uri": "record(14)",
|
|
2340
|
+
},
|
|
2341
|
+
},
|
|
2342
|
+
"text": "yoohoo label_me",
|
|
2343
|
+
},
|
|
2344
|
+
"replyCount": 0,
|
|
2345
|
+
"repostCount": 0,
|
|
2346
|
+
"uri": "record(13)",
|
|
2347
|
+
"viewer": Object {
|
|
2348
|
+
"embeddingDisabled": false,
|
|
2349
|
+
"pinned": false,
|
|
2350
|
+
"threadMuted": false,
|
|
2351
|
+
},
|
|
2352
|
+
},
|
|
2353
|
+
},
|
|
2354
|
+
Object {
|
|
2355
|
+
"post": Object {
|
|
2356
|
+
"author": Object {
|
|
2357
|
+
"did": "user(0)",
|
|
2358
|
+
"handle": "alice.test",
|
|
2359
|
+
"labels": Array [],
|
|
2360
|
+
"viewer": Object {
|
|
2361
|
+
"blockedBy": false,
|
|
2362
|
+
"muted": false,
|
|
2363
|
+
},
|
|
2364
|
+
},
|
|
2365
|
+
"cid": "cids(9)",
|
|
2366
|
+
"indexedAt": "1970-01-01T00:00:00.000Z",
|
|
2367
|
+
"labels": Array [],
|
|
2368
|
+
"likeCount": 3,
|
|
2369
|
+
"quoteCount": 0,
|
|
2370
|
+
"record": Object {
|
|
2371
|
+
"$type": "app.bsky.feed.post",
|
|
2372
|
+
"createdAt": "1970-01-01T00:00:00.000000Z",
|
|
2373
|
+
"text": "again",
|
|
2374
|
+
},
|
|
2375
|
+
"replyCount": 3,
|
|
2376
|
+
"repostCount": 1,
|
|
2377
|
+
"uri": "record(9)",
|
|
2378
|
+
"viewer": Object {
|
|
2379
|
+
"embeddingDisabled": false,
|
|
2380
|
+
"pinned": false,
|
|
2381
|
+
"threadMuted": false,
|
|
2382
|
+
},
|
|
2383
|
+
},
|
|
2384
|
+
},
|
|
2385
|
+
Object {
|
|
2386
|
+
"post": Object {
|
|
2387
|
+
"author": Object {
|
|
2388
|
+
"did": "user(0)",
|
|
2389
|
+
"handle": "alice.test",
|
|
2390
|
+
"labels": Array [],
|
|
2391
|
+
"viewer": Object {
|
|
2392
|
+
"blockedBy": false,
|
|
2393
|
+
"muted": false,
|
|
2394
|
+
},
|
|
2395
|
+
},
|
|
2396
|
+
"cid": "cids(18)",
|
|
2397
|
+
"indexedAt": "1970-01-01T00:00:00.000Z",
|
|
2398
|
+
"labels": Array [
|
|
2399
|
+
Object {
|
|
2400
|
+
"cid": "cids(18)",
|
|
2401
|
+
"cts": "1970-01-01T00:00:00.000Z",
|
|
2402
|
+
"src": "user(0)",
|
|
2403
|
+
"uri": "record(20)",
|
|
2404
|
+
"val": "self-label",
|
|
2405
|
+
},
|
|
2406
|
+
],
|
|
2407
|
+
"likeCount": 0,
|
|
2408
|
+
"quoteCount": 0,
|
|
2409
|
+
"record": Object {
|
|
2410
|
+
"$type": "app.bsky.feed.post",
|
|
2411
|
+
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
2412
|
+
"labels": Object {
|
|
2413
|
+
"$type": "com.atproto.label.defs#selfLabels",
|
|
2414
|
+
"values": Array [
|
|
2415
|
+
Object {
|
|
2416
|
+
"val": "self-label",
|
|
2417
|
+
},
|
|
2418
|
+
],
|
|
2419
|
+
},
|
|
2420
|
+
"text": "hey there",
|
|
2421
|
+
},
|
|
2422
|
+
"replyCount": 0,
|
|
2423
|
+
"repostCount": 0,
|
|
2424
|
+
"uri": "record(20)",
|
|
2425
|
+
"viewer": Object {
|
|
2426
|
+
"embeddingDisabled": false,
|
|
2427
|
+
"pinned": false,
|
|
2428
|
+
"threadMuted": false,
|
|
2429
|
+
},
|
|
2430
|
+
},
|
|
2431
|
+
},
|
|
2432
|
+
]
|
|
2433
|
+
`;
|
|
2434
|
+
|
|
1768
2435
|
exports[`pds author feed views pins params.includePins = false 1`] = `
|
|
1769
2436
|
Array [
|
|
1770
2437
|
Object {
|