Skip to content

Commit

Permalink
Add mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
eyeseast committed Dec 12, 2023
1 parent de69230 commit 773e6c4
Show file tree
Hide file tree
Showing 7 changed files with 669 additions and 4 deletions.
95 changes: 95 additions & 0 deletions src/pages/app/fixtures/organizations.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
{
"count": 11,
"next": null,
"previous": null,
"results": [
{
"id": 10028,
"avatar_url": "https://squarelet-staging.s3.amazonaws.com/static/images/avatars/organization.png",
"individual": false,
"name": "Allan Test",
"slug": "allan-test",
"uuid": "0f3eeebd-217c-4591-8120-dae9a9b038c3"
},
{
"id": 10000,
"avatar_url": "https://squarelet-staging.s3.amazonaws.com/static/images/avatars/organization.png",
"individual": false,
"name": "Free Movement",
"slug": "free-movement",
"uuid": "c1a468de-512c-4c59-ae43-84403d90a625"
},
{
"id": 7,
"avatar_url": "https://squarelet-staging.s3.amazonaws.com/static/images/avatars/organization.png",
"individual": false,
"name": "Grand Valley State University",
"slug": "grand-valley-state-university",
"uuid": "3f96395d-b6f2-45a3-8556-4600284f1cab"
},
{
"id": 10027,
"avatar_url": "https://squarelet-staging.s3.amazonaws.com/static/images/avatars/organization.png",
"individual": false,
"name": "Max User Test",
"slug": "max-user-test",
"uuid": "c0075021-0c21-4f12-b7a4-734190755252"
},
{
"id": 1,
"avatar_url": "https://squarelet-staging.s3.amazonaws.com/media/org_avatars/logo_uEHCMva.png",
"individual": false,
"name": "MuckRock",
"slug": "muckrock",
"uuid": "026530fc-df3a-4625-8317-c58965b9e383"
},
{
"id": 12,
"avatar_url": "https://squarelet-staging.s3.amazonaws.com/static/images/avatars/organization.png",
"individual": false,
"name": "Outlier Media",
"slug": "outlier-media",
"uuid": "e88f8b90-28e9-4951-b95f-635323fd1507"
},
{
"id": 6,
"avatar_url": "https://squarelet-staging.s3.amazonaws.com/static/images/avatars/organization.png",
"individual": false,
"name": "Society of Professional Journalists",
"slug": "society-of-professional-journalists",
"uuid": "e6dff932-2028-4fd9-9b1c-b629599a8809"
},
{
"id": 4,
"avatar_url": "https://squarelet-staging.s3.amazonaws.com/static/images/avatars/organization.png",
"individual": false,
"name": "Sunshine Week",
"slug": "sunshine-week",
"uuid": "d31f9c1f-db18-4f21-8bd4-47fe75488412"
},
{
"id": 8,
"avatar_url": "https://squarelet-staging.s3.amazonaws.com/static/images/avatars/organization.png",
"individual": false,
"name": "test",
"slug": "test",
"uuid": "9de30508-add8-45db-a6c5-399f566eeaec"
},
{
"id": 545,
"avatar_url": "",
"individual": false,
"name": "The Tyee",
"slug": "thetyee",
"uuid": "03ffe120-4037-4014-ab83-6521b9a3270b"
},
{
"id": 5,
"avatar_url": "https://squarelet-staging.s3.amazonaws.com/static/images/avatars/organization.png",
"individual": false,
"name": "Wesleyan Journalism",
"slug": "wesleyan-journalism",
"uuid": "a74a999c-4e1c-4056-8273-08dd639101fc"
}
]
}
259 changes: 259 additions & 0 deletions src/pages/app/fixtures/projects.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,259 @@
{
"count": 21,
"next": null,
"previous": null,
"results": [
{
"id": 200006,
"created_at": "2022-03-01T15:55:05.527749Z",
"description": "test",
"edit_access": false,
"add_remove_access": false,
"private": false,
"slug": "add-on-test",
"title": "Add-on test",
"updated_at": "2022-03-01T15:55:05.536919Z",
"user": 100003
},
{
"id": 200008,
"created_at": "2022-05-13T14:52:32.130871Z",
"description": "",
"edit_access": false,
"add_remove_access": false,
"private": false,
"slug": "ag-foia-decisions-2021",
"title": "AG FOIA Decisions 2021",
"updated_at": "2022-05-13T14:52:32.132115Z",
"user": 3
},
{
"id": 11701,
"created_at": "2020-10-13T20:15:08.528599Z",
"description": "",
"edit_access": false,
"add_remove_access": false,
"private": false,
"slug": "bc-mla-disclosure-statements-2013",
"title": "BC MLA Disclosure Statements (2013)",
"updated_at": "2020-10-13T20:15:08.531029Z",
"user": 3896
},
{
"id": 15776,
"created_at": "2020-10-13T20:15:08.528506Z",
"description": "",
"edit_access": false,
"add_remove_access": false,
"private": false,
"slug": "bctf-moa",
"title": "BCTF MOA",
"updated_at": "2020-10-13T20:15:08.530841Z",
"user": 5496
},
{
"id": 19592,
"created_at": "2020-10-13T20:15:08.528734Z",
"description": "",
"edit_access": false,
"add_remove_access": false,
"private": false,
"slug": "bottom-lines",
"title": "Bottom Lines",
"updated_at": "2020-10-13T20:15:08.531461Z",
"user": 5484
},
{
"id": 4,
"created_at": "2020-02-10T20:49:53.494117Z",
"description": "",
"edit_access": false,
"add_remove_access": false,
"private": false,
"slug": "djangoment-planning-documents",
"title": "DjangoMent Planning Documents",
"updated_at": "2020-02-10T20:49:53.494446Z",
"user": 3
},
{
"id": 6692,
"created_at": "2020-10-13T20:15:08.528433Z",
"description": "",
"edit_access": false,
"add_remove_access": false,
"private": false,
"slug": "documentcloud-training-oct-2012",
"title": "DocumentCloud training, Oct 2012",
"updated_at": "2020-10-13T20:15:08.530644Z",
"user": 5484
},
{
"id": 200020,
"created_at": "2023-11-09T15:09:45.939780Z",
"description": "",
"edit_access": false,
"add_remove_access": false,
"private": false,
"slug": "hello-world",
"title": "Hello World",
"updated_at": "2023-11-09T15:09:45.940428Z",
"user": 100014
},
{
"id": 200000,
"created_at": "2020-02-24T18:41:40.742546Z",
"description": "",
"edit_access": false,
"add_remove_access": false,
"private": false,
"slug": "mitchs-project",
"title": "Mitch's Project",
"updated_at": "2020-02-24T18:41:40.743485Z",
"user": 1
},
{
"id": 200002,
"created_at": "2020-10-09T15:34:40.617587Z",
"description": "",
"edit_access": false,
"add_remove_access": false,
"private": false,
"slug": "my-new-project",
"title": "My new project",
"updated_at": "2020-10-09T15:34:40.619733Z",
"user": 2
},
{
"id": 200001,
"created_at": "2020-02-24T18:49:12.024718Z",
"description": "",
"edit_access": false,
"add_remove_access": false,
"private": false,
"slug": "new-project",
"title": "New project",
"updated_at": "2020-02-24T18:49:12.025106Z",
"user": 2
},
{
"id": 200007,
"created_at": "2022-05-09T17:01:58.739286Z",
"description": "",
"edit_access": false,
"add_remove_access": false,
"private": false,
"slug": "new-scraper-test",
"title": "New Scraper Test",
"updated_at": "2022-05-09T17:01:58.740556Z",
"user": 1
},
{
"id": 200003,
"created_at": "2020-10-09T15:54:16.728526Z",
"description": "hello",
"edit_access": false,
"add_remove_access": false,
"private": false,
"slug": "proj2",
"title": "proj2",
"updated_at": "2020-10-09T15:54:16.730433Z",
"user": 1
},
{
"id": 9356,
"created_at": "2020-10-13T20:15:08.528667Z",
"description": "",
"edit_access": false,
"add_remove_access": false,
"private": false,
"slug": "quick-wins",
"title": "Quick Wins",
"updated_at": "2020-10-13T20:15:08.531203Z",
"user": 5484
},
{
"id": 200004,
"created_at": "2021-07-21T14:01:12.983739Z",
"description": "",
"edit_access": false,
"add_remove_access": false,
"private": false,
"slug": "sidekick-test",
"title": "SideKick Test",
"updated_at": "2021-07-21T14:01:12.984854Z",
"user": 1
},
{
"id": 200023,
"created_at": "2023-12-12T15:49:47.555269Z",
"description": "",
"edit_access": false,
"add_remove_access": false,
"private": false,
"slug": "test",
"title": "Test",
"updated_at": "2023-12-12T15:49:47.557714Z",
"user": 100012
},
{
"id": 200005,
"created_at": "2022-02-23T23:09:45.893174Z",
"description": "",
"edit_access": false,
"add_remove_access": false,
"private": false,
"slug": "test",
"title": "test",
"updated_at": "2022-02-23T23:09:45.894952Z",
"user": 3
},
{
"id": 1,
"created_at": "2020-02-10T16:13:02.145040Z",
"description": "",
"edit_access": false,
"add_remove_access": false,
"private": false,
"slug": "test",
"title": "Test",
"updated_at": "2020-02-10T16:13:02.145817Z",
"user": 2
},
{
"id": 2,
"created_at": "2020-02-10T17:38:32.363722Z",
"description": "",
"edit_access": false,
"add_remove_access": false,
"private": false,
"slug": "test-2",
"title": "Test 2",
"updated_at": "2020-02-10T17:38:32.364348Z",
"user": 1
},
{
"id": 3,
"created_at": "2020-02-10T20:49:39.284898Z",
"description": "",
"edit_access": false,
"add_remove_access": false,
"private": false,
"slug": "test-3",
"title": "Test 3",
"updated_at": "2020-02-10T20:49:39.285306Z",
"user": 3
},
{
"id": 200009,
"created_at": "2023-01-26T20:46:26.662121Z",
"description": "",
"edit_access": false,
"add_remove_access": false,
"private": false,
"slug": "timeout-test",
"title": "Timeout test",
"updated_at": "2023-01-26T20:46:26.668099Z",
"user": 1
}
]
}
Loading

0 comments on commit 773e6c4

Please sign in to comment.