c559e7e3de
* ✨ Add subject tags with report type * ✅ Update snapshots * ✅ Update snpshot for pds admin * ✅ Update ozone snapshot * ✅ Update ozone snapshot * 🧹 Cleanup
79 lines
2.0 KiB
Plaintext
79 lines
2.0 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`admin get repo view gets a repo by did, even when taken down. 1`] = `
|
|
Object {
|
|
"did": "user(0)",
|
|
"email": "alice@test.com",
|
|
"handle": "alice.test",
|
|
"indexedAt": "1970-01-01T00:00:00.000Z",
|
|
"invites": Array [],
|
|
"invitesDisabled": false,
|
|
"labels": Array [
|
|
Object {
|
|
"cts": "1970-01-01T00:00:00.000Z",
|
|
"sig": Object {
|
|
"$bytes": "sig(0)",
|
|
},
|
|
"src": "user(2)",
|
|
"uri": "user(0)",
|
|
"val": "!takedown",
|
|
"ver": 1,
|
|
},
|
|
],
|
|
"moderation": Object {
|
|
"subjectStatus": Object {
|
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
"hosting": Object {
|
|
"$type": "tools.ozone.moderation.defs#accountHosting",
|
|
"status": "unknown",
|
|
},
|
|
"id": 1,
|
|
"lastReportedAt": "1970-01-01T00:00:00.000Z",
|
|
"lastReviewedAt": "1970-01-01T00:00:00.000Z",
|
|
"lastReviewedBy": "user(1)",
|
|
"reviewState": "tools.ozone.moderation.defs#reviewClosed",
|
|
"subject": Object {
|
|
"$type": "com.atproto.admin.defs#repoRef",
|
|
"did": "user(0)",
|
|
},
|
|
"subjectBlobCids": Array [],
|
|
"subjectRepoHandle": "alice.test",
|
|
"tags": Array [
|
|
"lang:und",
|
|
"report:spam",
|
|
"report:other",
|
|
],
|
|
"takendown": true,
|
|
"updatedAt": "1970-01-01T00:00:00.000Z",
|
|
},
|
|
},
|
|
"relatedRecords": Array [
|
|
Object {
|
|
"$type": "app.bsky.actor.profile",
|
|
"avatar": Object {
|
|
"$type": "blob",
|
|
"mimeType": "image/jpeg",
|
|
"ref": Object {
|
|
"$link": "cids(0)",
|
|
},
|
|
"size": 3976,
|
|
},
|
|
"createdAt": "1970-01-01T00:00:00.000Z",
|
|
"description": "its me!",
|
|
"displayName": "ali",
|
|
"labels": Object {
|
|
"$type": "com.atproto.label.defs#selfLabels",
|
|
"values": Array [
|
|
Object {
|
|
"val": "self-label-a",
|
|
},
|
|
Object {
|
|
"val": "self-label-b",
|
|
},
|
|
],
|
|
},
|
|
},
|
|
],
|
|
}
|
|
`;
|