From e35b3ade39c92133228b73ec912e6dc539901246 Mon Sep 17 00:00:00 2001 From: Moon Man Date: Wed, 4 Sep 2024 02:16:34 +0000 Subject: [PATCH] test change ledger --- test/scratch/follower1.json | 4 +-- test/scratch/follower1_followers.json | 15 ++++++----- test/scratch/follower1_following.json | 15 ++++++----- test/scratch/follower2.json | 33 ++++++++++++++----------- test/scratch/follower2_followers.json | 15 ++++++----- test/scratch/follower2_following.json | 15 ++++++----- test/scratch/me.json | 33 ++++++++++++++----------- test/scratch/me_followers.json | 17 +++++++------ test/scratch/me_following.json | 17 +++++++------ test/scratch/randomuser1.json | 33 ++++++++++++++----------- test/scratch/randomuser1_followers.json | 17 +++++++------ test/scratch/randomuser1_following.json | 11 ++++++--- 12 files changed, 129 insertions(+), 96 deletions(-) diff --git a/test/scratch/follower1.json b/test/scratch/follower1.json index 04f7a47..d7ef64f 100644 --- a/test/scratch/follower1.json +++ b/test/scratch/follower1.json @@ -1,4 +1,4 @@ -{ +{"ledger":"vonbraun-test","insert":{ "@id": "https://banana.example.net/users/one", "@context": [ "https://www.w3.org/ns/activitystreams", @@ -14,4 +14,4 @@ "outbox": "https://banana.example.net/users/one/outbox", "followers": "https://banana.example.net/users/one/followers", "following": "https://banana.example.net/users/one/following" -} \ No newline at end of file +}} \ No newline at end of file diff --git a/test/scratch/follower1_followers.json b/test/scratch/follower1_followers.json index 7a17653..939a883 100644 --- a/test/scratch/follower1_followers.json +++ b/test/scratch/follower1_followers.json @@ -1,8 +1,11 @@ { - "@context": "https://www.w3.org/ns/activitystreams", - "@id": "https://banana.example.net/users/one/followers", - "type": "OrderedCollection", - "orderedItems": [ - "https://banana.example.net/users/two" - ] + "ledger": "vonbraun-test", + "insert": { + "@context": "https://www.w3.org/ns/activitystreams", + "@id": "https://banana.example.net/users/one/followers", + "type": "OrderedCollection", + "orderedItems": [ + "https://banana.example.net/users/two" + ] + } } \ No newline at end of file diff --git a/test/scratch/follower1_following.json b/test/scratch/follower1_following.json index cd6db07..fe74827 100644 --- a/test/scratch/follower1_following.json +++ b/test/scratch/follower1_following.json @@ -1,8 +1,11 @@ { - "@context": "https://www.w3.org/ns/activitystreams", - "@id": "https://banana.example.net/users/one/following", - "type": "OrderedCollection", - "orderedItems": [ - "https://banana.example.net/users/two" - ] + "ledger": "vonbraun-test", + "insert": { + "@context": "https://www.w3.org/ns/activitystreams", + "@id": "https://banana.example.net/users/one/following", + "type": "OrderedCollection", + "orderedItems": [ + "https://banana.example.net/users/two" + ] + } } \ No newline at end of file diff --git a/test/scratch/follower2.json b/test/scratch/follower2.json index ad29ea1..4de20dd 100644 --- a/test/scratch/follower2.json +++ b/test/scratch/follower2.json @@ -1,17 +1,20 @@ { - "@id": "https://banana.example.net/users/two", - "@context": [ - "https://www.w3.org/ns/activitystreams", - { - "vonbraun": "https://shit.nexus/ns/fedi/vonbraun/" - } - ], - "type": "Person", - "name": "Mrs. Two", - "preferredUsername": "two", - "summary": "Example two.", - "inbox": "https://banana.example.net/users/two/inbox", - "outbox": "https://banana.example.net/users/two/outbox", - "followers": "https://banana.example.net/users/two/followers", - "following": "https://banana.example.net/users/two/following" + "ledger": "vonbraun-test", + "insert": { + "@id": "https://banana.example.net/users/two", + "@context": [ + "https://www.w3.org/ns/activitystreams", + { + "vonbraun": "https://shit.nexus/ns/fedi/vonbraun/" + } + ], + "type": "Person", + "name": "Mrs. Two", + "preferredUsername": "two", + "summary": "Example two.", + "inbox": "https://banana.example.net/users/two/inbox", + "outbox": "https://banana.example.net/users/two/outbox", + "followers": "https://banana.example.net/users/two/followers", + "following": "https://banana.example.net/users/two/following" + } } \ No newline at end of file diff --git a/test/scratch/follower2_followers.json b/test/scratch/follower2_followers.json index c9caa31..c7feee4 100644 --- a/test/scratch/follower2_followers.json +++ b/test/scratch/follower2_followers.json @@ -1,8 +1,11 @@ { - "@context": "https://www.w3.org/ns/activitystreams", - "@id": "https://banana.example.net/users/two/followers", - "type": "OrderedCollection", - "orderedItems": [ - "https://banana.example.net/users/one" - ] + "ledger": "vonbraun-test", + "insert": { + "@context": "https://www.w3.org/ns/activitystreams", + "@id": "https://banana.example.net/users/two/followers", + "type": "OrderedCollection", + "orderedItems": [ + "https://banana.example.net/users/one" + ] + } } \ No newline at end of file diff --git a/test/scratch/follower2_following.json b/test/scratch/follower2_following.json index b19c799..4768a8f 100644 --- a/test/scratch/follower2_following.json +++ b/test/scratch/follower2_following.json @@ -1,8 +1,11 @@ { - "@context": "https://www.w3.org/ns/activitystreams", - "@id": "https://banana.example.net/users/two/following", - "type": "OrderedCollection", - "orderedItems": [ - "https://banana.example.net/users/one" - ] + "ledger": "vonbraun-test", + "insert": { + "@context": "https://www.w3.org/ns/activitystreams", + "@id": "https://banana.example.net/users/two/following", + "type": "OrderedCollection", + "orderedItems": [ + "https://banana.example.net/users/one" + ] + } } \ No newline at end of file diff --git a/test/scratch/me.json b/test/scratch/me.json index d9fd63c..b63f631 100644 --- a/test/scratch/me.json +++ b/test/scratch/me.json @@ -1,17 +1,20 @@ { - "@id": "https://vonbraun.example.net/users/moonman", - "@context": [ - "https://www.w3.org/ns/activitystreams", - { - "vonbraun": "https://shit.nexus/ns/fedi/vonbraun/" - } - ], - "type": "Person", - "name": "Moon Man", - "preferredUsername": "moonman", - "summary": "I am the Moon.", - "inbox": "https://vonbraun.example.net/users/moonman/inbox", - "outbox": "https://vonbraun.example.net/users/moonman/outbox", - "followers": "https://vonbraun.example.net/users/moonman/followers", - "following": "https://vonbraun.example.net/users/moonman/following" + "ledger": "vonbraun-test", + "insert": { + "@id": "https://vonbraun.example.net/users/moonman", + "@context": [ + "https://www.w3.org/ns/activitystreams", + { + "vonbraun": "https://shit.nexus/ns/fedi/vonbraun/" + } + ], + "type": "Person", + "name": "Moon Man", + "preferredUsername": "moonman", + "summary": "I am the Moon.", + "inbox": "https://vonbraun.example.net/users/moonman/inbox", + "outbox": "https://vonbraun.example.net/users/moonman/outbox", + "followers": "https://vonbraun.example.net/users/moonman/followers", + "following": "https://vonbraun.example.net/users/moonman/following" + } } \ No newline at end of file diff --git a/test/scratch/me_followers.json b/test/scratch/me_followers.json index 2da3fb8..b1231b2 100644 --- a/test/scratch/me_followers.json +++ b/test/scratch/me_followers.json @@ -1,9 +1,12 @@ { - "@context": "https://www.w3.org/ns/activitystreams", - "@id": "https://vonbraun.example.net/users/moonman/followers", - "type": "OrderedCollection", - "orderedItems": [ - "https://banana.example.net/users/one", - "https://banana.example.net/users/two" - ] + "ledger": "vonbraun-test", + "insert": { + "@context": "https://www.w3.org/ns/activitystreams", + "@id": "https://vonbraun.example.net/users/moonman/followers", + "type": "OrderedCollection", + "orderedItems": [ + "https://banana.example.net/users/one", + "https://banana.example.net/users/two" + ] + } } \ No newline at end of file diff --git a/test/scratch/me_following.json b/test/scratch/me_following.json index 5fb2bc5..ebbd02b 100644 --- a/test/scratch/me_following.json +++ b/test/scratch/me_following.json @@ -1,9 +1,12 @@ { - "@context": "https://www.w3.org/ns/activitystreams", - "@id": "https://vonbraun.example.net/users/moonman/following", - "type": "OrderedCollection", - "orderedItems": [ - "https://orange.example.net/users/smith", - "https://banana.example.net/users/two" - ] + "ledger": "vonbraun-test", + "insert": { + "@context": "https://www.w3.org/ns/activitystreams", + "@id": "https://vonbraun.example.net/users/moonman/following", + "type": "OrderedCollection", + "orderedItems": [ + "https://orange.example.net/users/smith", + "https://banana.example.net/users/two" + ] + } } \ No newline at end of file diff --git a/test/scratch/randomuser1.json b/test/scratch/randomuser1.json index ab9d308..3ed952d 100644 --- a/test/scratch/randomuser1.json +++ b/test/scratch/randomuser1.json @@ -1,17 +1,20 @@ { - "@id": "https://orange.example.net/users/smith", - "@context": [ - "https://www.w3.org/ns/activitystreams", - { - "vonbraun": "https://shit.nexus/ns/fedi/vonbraun/" - } - ], - "type": "Person", - "name": "Mr. Smith", - "preferredUsername": "smith", - "summary": "A guy named Smith", - "inbox": "https://orange.example.net/users/smith/inbox", - "outbox": "https://orange.example.net/users/smith/outbox", - "followers": "https://orange.example.net/users/smith/followers", - "following": "https://orange.example.net/users/smith/following" + "ledger": "vonbraun-test", + "insert": { + "@id": "https://orange.example.net/users/smith", + "@context": [ + "https://www.w3.org/ns/activitystreams", + { + "vonbraun": "https://shit.nexus/ns/fedi/vonbraun/" + } + ], + "type": "Person", + "name": "Mr. Smith", + "preferredUsername": "smith", + "summary": "A guy named Smith", + "inbox": "https://orange.example.net/users/smith/inbox", + "outbox": "https://orange.example.net/users/smith/outbox", + "followers": "https://orange.example.net/users/smith/followers", + "following": "https://orange.example.net/users/smith/following" + } } \ No newline at end of file diff --git a/test/scratch/randomuser1_followers.json b/test/scratch/randomuser1_followers.json index 8a99a30..c480bbd 100644 --- a/test/scratch/randomuser1_followers.json +++ b/test/scratch/randomuser1_followers.json @@ -1,9 +1,12 @@ { - "@context": "https://www.w3.org/ns/activitystreams", - "@id": "https://orange.example.net/users/smith/followers", - "type": "OrderedCollection", - "orderedItems": [ - "https://banana.example.net/users/one", - "https://vonbraun.example.net/users/moonman" - ] + "ledger": "vonbraun-test", + "insert": { + "@context": "https://www.w3.org/ns/activitystreams", + "@id": "https://orange.example.net/users/smith/followers", + "type": "OrderedCollection", + "orderedItems": [ + "https://banana.example.net/users/one", + "https://vonbraun.example.net/users/moonman" + ] + } } \ No newline at end of file diff --git a/test/scratch/randomuser1_following.json b/test/scratch/randomuser1_following.json index 9894215..ce44c5b 100644 --- a/test/scratch/randomuser1_following.json +++ b/test/scratch/randomuser1_following.json @@ -1,6 +1,9 @@ { - "@context": "https://www.w3.org/ns/activitystreams", - "@id": "https://orange.example.net/users/smith/following", - "type": "OrderedCollection", - "orderedItems": [] + "ledger": "vonbraun-test", + "insert": { + "@context": "https://www.w3.org/ns/activitystreams", + "@id": "https://orange.example.net/users/smith/following", + "type": "OrderedCollection", + "orderedItems": [] + } } \ No newline at end of file