atproto/packages/ozone/tests/__snapshots__/get-repos.test.ts.snap
Foysal Ahamed c559e7e3de
Add subject tags with report type (#3260)
*  Add subject tags with report type

*  Update snapshots

*  Update snpshot for pds admin

*  Update ozone snapshot

*  Update ozone snapshot

* 🧹 Cleanup
2024-12-18 22:57:27 +00:00

115 lines
3.2 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`admin get multiple repos gets multiple repos by did 1`] = `
Object {
"repos": Array [
Object {
"$type": "tools.ozone.moderation.defs#repoViewDetail",
"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",
},
],
},
},
],
},
Object {
"$type": "tools.ozone.moderation.defs#repoViewDetail",
"did": "user(3)",
"email": "bob@test.com",
"handle": "bob.test",
"indexedAt": "1970-01-01T00:00:00.000Z",
"invites": Array [],
"invitesDisabled": false,
"labels": Array [],
"moderation": Object {},
"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": "hi im bob label_me",
"displayName": "bobby",
},
],
},
Object {
"$type": "tools.ozone.moderation.defs#repoViewNotFound",
"did": "did:web:xyz",
},
],
}
`;