mirror of https://github.com/LemmyNet/lemmy
Prettier check (#2855)
* Adding prettier check to CI. * Running prettier on codebase.pull/2861/head
parent
ce5161d997
commit
69f179bd33
@ -1,10 +1,9 @@
|
|||||||
---
|
---
|
||||||
name: Hexbear
|
name: Hexbear
|
||||||
about: For hexbear issues
|
about: For hexbear issues
|
||||||
title: ''
|
title: ""
|
||||||
labels: hexbear
|
labels: hexbear
|
||||||
assignees: ''
|
assignees: ""
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
For hexbear-related issues
|
For hexbear-related issues
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
preset: 'ts-jest',
|
preset: "ts-jest",
|
||||||
testEnvironment: 'node',
|
testEnvironment: "node",
|
||||||
};
|
};
|
@ -1,16 +1,10 @@
|
|||||||
{
|
{
|
||||||
"type": "Like",
|
"type": "Like",
|
||||||
"@context": [
|
"@context": ["https://www.w3.org/ns/activitystreams"],
|
||||||
"https://www.w3.org/ns/activitystreams"
|
|
||||||
],
|
|
||||||
"id": "https://another_instance.gnusocial.test/activity/41362",
|
"id": "https://another_instance.gnusocial.test/activity/41362",
|
||||||
"published": "2022-03-20T17:54:15+00:00",
|
"published": "2022-03-20T17:54:15+00:00",
|
||||||
"actor": "https://another_instance.gnusocial.test/actor/43",
|
"actor": "https://another_instance.gnusocial.test/actor/43",
|
||||||
"to": [
|
"to": ["https://www.w3.org/ns/activitystreams#Public"],
|
||||||
"https://www.w3.org/ns/activitystreams#Public"
|
"cc": ["https://instance.gnusocial.test/actor/42"],
|
||||||
],
|
|
||||||
"cc": [
|
|
||||||
"https://instance.gnusocial.test/actor/42"
|
|
||||||
],
|
|
||||||
"object": "https://instance.gnusocial.test/object/note/1337"
|
"object": "https://instance.gnusocial.test/object/note/1337"
|
||||||
}
|
}
|
||||||
|
@ -1,13 +1,9 @@
|
|||||||
{
|
{
|
||||||
"id": "http://lemmy-alpha:8541/activities/lock/cb48761d-9e8c-42ce-aacb-b4bbe6408db2",
|
"id": "http://lemmy-alpha:8541/activities/lock/cb48761d-9e8c-42ce-aacb-b4bbe6408db2",
|
||||||
"actor": "http://lemmy-alpha:8541/u/lemmy_alpha",
|
"actor": "http://lemmy-alpha:8541/u/lemmy_alpha",
|
||||||
"to": [
|
"to": ["https://www.w3.org/ns/activitystreams#Public"],
|
||||||
"https://www.w3.org/ns/activitystreams#Public"
|
"object": "http://lemmy-alpha:8541/post/2",
|
||||||
],
|
"cc": ["http://lemmy-alpha:8541/c/main"],
|
||||||
"object": "http://lemmy-alpha:8541/post/2",
|
"type": "Lock",
|
||||||
"cc": [
|
"audience": "http://lemmy-alpha:8541/c/main"
|
||||||
"http://lemmy-alpha:8541/c/main"
|
|
||||||
],
|
|
||||||
"type": "Lock",
|
|
||||||
"audience": "http://lemmy-alpha:8541/c/main"
|
|
||||||
}
|
}
|
@ -1,25 +1,17 @@
|
|||||||
{
|
{
|
||||||
"id": "http://lemmy-alpha:8541/activities/undo/d6066719-d277-4964-9190-4d6faffac286",
|
"id": "http://lemmy-alpha:8541/activities/undo/d6066719-d277-4964-9190-4d6faffac286",
|
||||||
|
"actor": "http://lemmy-alpha:8541/u/lemmy_alpha",
|
||||||
|
"to": ["https://www.w3.org/ns/activitystreams#Public"],
|
||||||
|
"object": {
|
||||||
"actor": "http://lemmy-alpha:8541/u/lemmy_alpha",
|
"actor": "http://lemmy-alpha:8541/u/lemmy_alpha",
|
||||||
"to": [
|
"to": ["https://www.w3.org/ns/activitystreams#Public"],
|
||||||
"https://www.w3.org/ns/activitystreams#Public"
|
"object": "http://lemmy-alpha:8541/post/2",
|
||||||
],
|
"cc": ["http://lemmy-alpha:8541/c/main"],
|
||||||
"object": {
|
"type": "Lock",
|
||||||
"actor": "http://lemmy-alpha:8541/u/lemmy_alpha",
|
"id": "http://lemmy-alpha:8541/activities/lock/08b6fd3e-9ef3-4358-a987-8bb641f3e2c3",
|
||||||
"to": [
|
|
||||||
"https://www.w3.org/ns/activitystreams#Public"
|
|
||||||
],
|
|
||||||
"object": "http://lemmy-alpha:8541/post/2",
|
|
||||||
"cc": [
|
|
||||||
"http://lemmy-alpha:8541/c/main"
|
|
||||||
],
|
|
||||||
"type": "Lock",
|
|
||||||
"id": "http://lemmy-alpha:8541/activities/lock/08b6fd3e-9ef3-4358-a987-8bb641f3e2c3",
|
|
||||||
"audience": "http://lemmy-alpha:8541/c/main"
|
|
||||||
},
|
|
||||||
"cc": [
|
|
||||||
"http://lemmy-alpha:8541/c/main"
|
|
||||||
],
|
|
||||||
"type": "Undo",
|
|
||||||
"audience": "http://lemmy-alpha:8541/c/main"
|
"audience": "http://lemmy-alpha:8541/c/main"
|
||||||
|
},
|
||||||
|
"cc": ["http://lemmy-alpha:8541/c/main"],
|
||||||
|
"type": "Undo",
|
||||||
|
"audience": "http://lemmy-alpha:8541/c/main"
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
{
|
{
|
||||||
"type": "OrderedCollection",
|
"type": "OrderedCollection",
|
||||||
"id": "https://enterprise.lemmy.ml/c/tenforward/moderators",
|
"id": "https://enterprise.lemmy.ml/c/tenforward/moderators",
|
||||||
"orderedItems": [
|
"orderedItems": ["https://enterprise.lemmy.ml/u/picard"]
|
||||||
"https://enterprise.lemmy.ml/u/picard"
|
|
||||||
]
|
|
||||||
}
|
}
|
@ -1,81 +1,65 @@
|
|||||||
{
|
{
|
||||||
"type":"OrderedCollection",
|
"type": "OrderedCollection",
|
||||||
"id":"https://ds9.lemmy.ml/c/testcom/outbox",
|
"id": "https://ds9.lemmy.ml/c/testcom/outbox",
|
||||||
"totalItems":2,
|
"totalItems": 2,
|
||||||
"orderedItems":[
|
"orderedItems": [
|
||||||
{
|
{
|
||||||
"actor":"https://ds9.lemmy.ml/c/testcom",
|
"actor": "https://ds9.lemmy.ml/c/testcom",
|
||||||
"to":[
|
"to": ["https://www.w3.org/ns/activitystreams#Public"],
|
||||||
"https://www.w3.org/ns/activitystreams#Public"
|
"object": {
|
||||||
],
|
"actor": "https://ds9.lemmy.ml/u/nutomic",
|
||||||
"object":{
|
"to": ["https://www.w3.org/ns/activitystreams#Public"],
|
||||||
"actor":"https://ds9.lemmy.ml/u/nutomic",
|
"cc": ["https://ds9.lemmy.ml/c/testcom"],
|
||||||
"to":[
|
"type": "Create",
|
||||||
"https://www.w3.org/ns/activitystreams#Public"
|
"id": "http://ds9.lemmy.ml/activities/create/eee6a57a-622f-464d-b560-73ae1fcd3ddf",
|
||||||
],
|
"object": {
|
||||||
"cc":[
|
"type": "Page",
|
||||||
"https://ds9.lemmy.ml/c/testcom"
|
"id": "https://ds9.lemmy.ml/post/2328",
|
||||||
],
|
"attributedTo": "https://ds9.lemmy.ml/u/nutomic",
|
||||||
"type":"Create",
|
"to": [
|
||||||
"id":"http://ds9.lemmy.ml/activities/create/eee6a57a-622f-464d-b560-73ae1fcd3ddf",
|
|
||||||
"object":{
|
|
||||||
"type":"Page",
|
|
||||||
"id":"https://ds9.lemmy.ml/post/2328",
|
|
||||||
"attributedTo":"https://ds9.lemmy.ml/u/nutomic",
|
|
||||||
"to":[
|
|
||||||
"https://ds9.lemmy.ml/c/testcom",
|
"https://ds9.lemmy.ml/c/testcom",
|
||||||
"https://www.w3.org/ns/activitystreams#Public"
|
"https://www.w3.org/ns/activitystreams#Public"
|
||||||
],
|
],
|
||||||
"name":"another outbox test",
|
"name": "another outbox test",
|
||||||
"mediaType":"text/html",
|
"mediaType": "text/html",
|
||||||
"commentsEnabled":true,
|
"commentsEnabled": true,
|
||||||
"sensitive":false,
|
"sensitive": false,
|
||||||
"stickied":false,
|
"stickied": false,
|
||||||
"published":"2021-11-18T17:19:45.895163+00:00"
|
"published": "2021-11-18T17:19:45.895163+00:00"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"cc":[
|
"cc": ["https://ds9.lemmy.ml/c/testcom/followers"],
|
||||||
"https://ds9.lemmy.ml/c/testcom/followers"
|
"type": "Announce",
|
||||||
],
|
"id": "https://ds9.lemmy.ml/activities/announce/b204fe9f-b13d-4af2-9d22-239ac2d892e6"
|
||||||
"type":"Announce",
|
|
||||||
"id":"https://ds9.lemmy.ml/activities/announce/b204fe9f-b13d-4af2-9d22-239ac2d892e6"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"actor":"https://ds9.lemmy.ml/c/testcom",
|
"actor": "https://ds9.lemmy.ml/c/testcom",
|
||||||
"to":[
|
"to": ["https://www.w3.org/ns/activitystreams#Public"],
|
||||||
"https://www.w3.org/ns/activitystreams#Public"
|
"object": {
|
||||||
],
|
"actor": "https://ds9.lemmy.ml/u/nutomic",
|
||||||
"object":{
|
"to": ["https://www.w3.org/ns/activitystreams#Public"],
|
||||||
"actor":"https://ds9.lemmy.ml/u/nutomic",
|
"cc": ["https://ds9.lemmy.ml/c/testcom"],
|
||||||
"to":[
|
"type": "Create",
|
||||||
"https://www.w3.org/ns/activitystreams#Public"
|
"id": "http://ds9.lemmy.ml/activities/create/eee6a57a-622f-464d-b560-73ae1fcd3ddf",
|
||||||
],
|
"object": {
|
||||||
"cc":[
|
"type": "Page",
|
||||||
"https://ds9.lemmy.ml/c/testcom"
|
"id": "https://ds9.lemmy.ml/post/2327",
|
||||||
],
|
"attributedTo": "https://ds9.lemmy.ml/u/nutomic",
|
||||||
"type":"Create",
|
"to": [
|
||||||
"id":"http://ds9.lemmy.ml/activities/create/eee6a57a-622f-464d-b560-73ae1fcd3ddf",
|
|
||||||
"object":{
|
|
||||||
"type":"Page",
|
|
||||||
"id":"https://ds9.lemmy.ml/post/2327",
|
|
||||||
"attributedTo":"https://ds9.lemmy.ml/u/nutomic",
|
|
||||||
"to":[
|
|
||||||
"https://ds9.lemmy.ml/c/testcom",
|
"https://ds9.lemmy.ml/c/testcom",
|
||||||
"https://www.w3.org/ns/activitystreams#Public"
|
"https://www.w3.org/ns/activitystreams#Public"
|
||||||
],
|
],
|
||||||
"name":"outbox test",
|
"name": "outbox test",
|
||||||
"mediaType":"text/html",
|
"mediaType": "text/html",
|
||||||
"commentsEnabled":true,
|
"commentsEnabled": true,
|
||||||
"sensitive":false,
|
"sensitive": false,
|
||||||
"stickied":false,
|
"stickied": false,
|
||||||
"published":"2021-11-18T17:19:05.763109+00:00"
|
"published": "2021-11-18T17:19:05.763109+00:00"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"cc":[
|
"cc": ["https://ds9.lemmy.ml/c/testcom/followers"],
|
||||||
"https://ds9.lemmy.ml/c/testcom/followers"
|
"type": "Announce",
|
||||||
],
|
"id": "https://ds9.lemmy.ml/activities/announce/c6c960ce-c8d8-4231-925e-3ba367468f18"
|
||||||
"type":"Announce",
|
|
||||||
"id":"https://ds9.lemmy.ml/activities/announce/c6c960ce-c8d8-4231-925e-3ba367468f18"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"@context":"https://www.w3.org/ns/activitystreams",
|
"@context": "https://www.w3.org/ns/activitystreams",
|
||||||
"id":"https://mastodon.madrid/users/felix#likes/212340",
|
"id": "https://mastodon.madrid/users/felix#likes/212340",
|
||||||
"type":"Like",
|
"type": "Like",
|
||||||
"actor":"https://mastodon.madrid/users/felix",
|
"actor": "https://mastodon.madrid/users/felix",
|
||||||
"object":"https://ds9.lemmy.ml/post/147"
|
"object": "https://ds9.lemmy.ml/post/147"
|
||||||
}
|
}
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"@context":"https://www.w3.org/ns/activitystreams",
|
"@context": "https://www.w3.org/ns/activitystreams",
|
||||||
"id":"https://mastodon.madrid/users/felix#likes/212341/undo",
|
"id": "https://mastodon.madrid/users/felix#likes/212341/undo",
|
||||||
"type":"Undo",
|
"type": "Undo",
|
||||||
"actor":"https://mastodon.madrid/users/felix",
|
"actor": "https://mastodon.madrid/users/felix",
|
||||||
"object": {
|
"object": {
|
||||||
"id":"https://mastodon.madrid/users/felix#likes/212341",
|
"id": "https://mastodon.madrid/users/felix#likes/212341",
|
||||||
"type":"Like",
|
"type": "Like",
|
||||||
"actor":"https://mastodon.madrid/users/felix",
|
"actor": "https://mastodon.madrid/users/felix",
|
||||||
"object":"https://ds9.lemmy.ml/post/147"
|
"object": "https://ds9.lemmy.ml/post/147"
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue