Skip to content

Commit 4eae1e7

Browse files
committed
Update transcripts
1 parent 19cc5e4 commit 4eae1e7

10 files changed

+192
-13
lines changed

transcripts/share-apis/branches/branch-list-by-user-self.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@
8181
"updatedAt": "<TIMESTAMP>"
8282
}
8383
],
84-
"nextCursor": "<CURSOR>",
85-
"prevCursor": "<CURSOR>"
84+
"nextCursor": null,
85+
"prevCursor": null
8686
},
8787
"status": [
8888
{

transcripts/share-apis/branches/branch-list-contributor-filter.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@
101101
"updatedAt": "<TIMESTAMP>"
102102
}
103103
],
104-
"nextCursor": "<CURSOR>",
105-
"prevCursor": "<CURSOR>"
104+
"nextCursor": null,
105+
"prevCursor": null
106106
},
107107
"status": [
108108
{

transcripts/share-apis/branches/branch-list-contributor-prefix.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@
101101
"updatedAt": "<TIMESTAMP>"
102102
}
103103
],
104-
"nextCursor": "<CURSOR>",
105-
"prevCursor": "<CURSOR>"
104+
"nextCursor": null,
105+
"prevCursor": null
106106
},
107107
"status": [
108108
{

transcripts/share-apis/branches/branch-list-core-only.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@
4242
"updatedAt": "<TIMESTAMP>"
4343
}
4444
],
45-
"nextCursor": "<CURSOR>",
46-
"prevCursor": "<CURSOR>"
45+
"nextCursor": null,
46+
"prevCursor": null
4747
},
4848
"status": [
4949
{
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
{
2+
"body": {
3+
"items": [
4+
{
5+
"branchRef": "@transcripts/contribution",
6+
"causalHash": "#sg60bvjo91fsoo7pkh9gejbn0qgc95vra87ap6l5d35ri0lkaudl7bs12d71sf3fh6p23teemuor7mk1i9n567m50ibakcghjec5ajg",
7+
"contributions": [
8+
{
9+
"author": {
10+
"avatarUrl": null,
11+
"handle": "test",
12+
"name": null,
13+
"userId": "U-<UUID>"
14+
},
15+
"createdAt": "<TIMESTAMP>",
16+
"description": "Adds pagination functionality to the user list page in the admin panel to improve performance and user experience.\n## Changes Made:\n\n* Implemented pagination using the Paginator type.\n* Updated the user list view to display a paginated list.\n* Added a new route for paginated user list.\n\n## Testing:\n\nI tested the pagination feature with a large dataset to ensure it functions correctly. I also tested edge cases and confirmed that the user list is now paginated as expected.\n",
17+
"id": "C-<UUID>",
18+
"numComments": 0,
19+
"number": 2,
20+
"projectRef": "@test/publictestproject",
21+
"sourceBranchRef": "@transcripts/contribution",
22+
"status": "in_review",
23+
"targetBranchRef": "main",
24+
"title": "Add pagination to user list",
25+
"updatedAt": "<TIMESTAMP>"
26+
},
27+
{
28+
"author": {
29+
"avatarUrl": null,
30+
"handle": "test",
31+
"name": null,
32+
"userId": "U-<UUID>"
33+
},
34+
"createdAt": "<TIMESTAMP>",
35+
"description": "This contribution addresses an issue where users were unable to log in due to a validation error in the authentication process.\n\n## Changes made:\n\n* Modified the validation logic for the Auth type to properly authenticate users.\n* Added unit tests to ensure the authentication process works as expected.\n\n## Testing:\n\nI tested this change locally on my development environment and confirmed that users can now log in without any issues. All unit tests are passing.",
36+
"id": "C-<UUID>",
37+
"numComments": 2,
38+
"number": 1,
39+
"projectRef": "@test/publictestproject",
40+
"sourceBranchRef": "@transcripts/contribution",
41+
"status": "in_review",
42+
"targetBranchRef": "main",
43+
"title": "Fix issue with user authentication",
44+
"updatedAt": "<TIMESTAMP>"
45+
}
46+
],
47+
"createdAt": "<TIMESTAMP>",
48+
"project": {
49+
"createdAt": "<TIMESTAMP>",
50+
"owner": {
51+
"handle": "@test",
52+
"name": null,
53+
"type": "user"
54+
},
55+
"slug": "publictestproject",
56+
"summary": "test project summary",
57+
"tags": [],
58+
"updatedAt": "<TIMESTAMP>",
59+
"visibility": "public"
60+
},
61+
"updatedAt": "<TIMESTAMP>"
62+
}
63+
],
64+
"nextCursor": "<CURSOR>",
65+
"prevCursor": null
66+
},
67+
"status": [
68+
{
69+
"status_code": 200
70+
}
71+
]
72+
}
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"body": {
3+
"items": [
4+
{
5+
"branchRef": "feature",
6+
"causalHash": "#sg60bvjo91fsoo7pkh9gejbn0qgc95vra87ap6l5d35ri0lkaudl7bs12d71sf3fh6p23teemuor7mk1i9n567m50ibakcghjec5ajg",
7+
"contributions": [],
8+
"createdAt": "<TIMESTAMP>",
9+
"project": {
10+
"createdAt": "<TIMESTAMP>",
11+
"owner": {
12+
"handle": "@test",
13+
"name": null,
14+
"type": "user"
15+
},
16+
"slug": "publictestproject",
17+
"summary": "test project summary",
18+
"tags": [],
19+
"updatedAt": "<TIMESTAMP>",
20+
"visibility": "public"
21+
},
22+
"updatedAt": "<TIMESTAMP>"
23+
}
24+
],
25+
"nextCursor": "<CURSOR>",
26+
"prevCursor": "<CURSOR>"
27+
},
28+
"status": [
29+
{
30+
"status_code": 200
31+
}
32+
]
33+
}
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
{
2+
"body": {
3+
"items": [
4+
{
5+
"branchRef": "@transcripts/contribution",
6+
"causalHash": "#sg60bvjo91fsoo7pkh9gejbn0qgc95vra87ap6l5d35ri0lkaudl7bs12d71sf3fh6p23teemuor7mk1i9n567m50ibakcghjec5ajg",
7+
"contributions": [
8+
{
9+
"author": {
10+
"avatarUrl": null,
11+
"handle": "test",
12+
"name": null,
13+
"userId": "U-<UUID>"
14+
},
15+
"createdAt": "<TIMESTAMP>",
16+
"description": "Adds pagination functionality to the user list page in the admin panel to improve performance and user experience.\n## Changes Made:\n\n* Implemented pagination using the Paginator type.\n* Updated the user list view to display a paginated list.\n* Added a new route for paginated user list.\n\n## Testing:\n\nI tested the pagination feature with a large dataset to ensure it functions correctly. I also tested edge cases and confirmed that the user list is now paginated as expected.\n",
17+
"id": "C-<UUID>",
18+
"numComments": 0,
19+
"number": 2,
20+
"projectRef": "@test/publictestproject",
21+
"sourceBranchRef": "@transcripts/contribution",
22+
"status": "in_review",
23+
"targetBranchRef": "main",
24+
"title": "Add pagination to user list",
25+
"updatedAt": "<TIMESTAMP>"
26+
},
27+
{
28+
"author": {
29+
"avatarUrl": null,
30+
"handle": "test",
31+
"name": null,
32+
"userId": "U-<UUID>"
33+
},
34+
"createdAt": "<TIMESTAMP>",
35+
"description": "This contribution addresses an issue where users were unable to log in due to a validation error in the authentication process.\n\n## Changes made:\n\n* Modified the validation logic for the Auth type to properly authenticate users.\n* Added unit tests to ensure the authentication process works as expected.\n\n## Testing:\n\nI tested this change locally on my development environment and confirmed that users can now log in without any issues. All unit tests are passing.",
36+
"id": "C-<UUID>",
37+
"numComments": 2,
38+
"number": 1,
39+
"projectRef": "@test/publictestproject",
40+
"sourceBranchRef": "@transcripts/contribution",
41+
"status": "in_review",
42+
"targetBranchRef": "main",
43+
"title": "Fix issue with user authentication",
44+
"updatedAt": "<TIMESTAMP>"
45+
}
46+
],
47+
"createdAt": "<TIMESTAMP>",
48+
"project": {
49+
"createdAt": "<TIMESTAMP>",
50+
"owner": {
51+
"handle": "@test",
52+
"name": null,
53+
"type": "user"
54+
},
55+
"slug": "publictestproject",
56+
"summary": "test project summary",
57+
"tags": [],
58+
"updatedAt": "<TIMESTAMP>",
59+
"visibility": "public"
60+
},
61+
"updatedAt": "<TIMESTAMP>"
62+
}
63+
],
64+
"nextCursor": "<CURSOR>",
65+
"prevCursor": null
66+
},
67+
"status": [
68+
{
69+
"status_code": 200
70+
}
71+
]
72+
}

transcripts/share-apis/branches/branch-list-private.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@
8181
"updatedAt": "<TIMESTAMP>"
8282
}
8383
],
84-
"nextCursor": "<CURSOR>",
85-
"prevCursor": "<CURSOR>"
84+
"nextCursor": null,
85+
"prevCursor": null
8686
},
8787
"status": [
8888
{

transcripts/share-apis/branches/branch-list.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@
101101
"updatedAt": "<TIMESTAMP>"
102102
}
103103
],
104-
"nextCursor": "<CURSOR>",
105-
"prevCursor": "<CURSOR>"
104+
"nextCursor": null,
105+
"prevCursor": null
106106
},
107107
"status": [
108108
{

transcripts/share-apis/branches/run.zsh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,11 @@ fetch "$transcripts_user" GET branch-list-private '/users/transcripts/branches'
4343
fetch "$transcripts_user" GET branch-details '/users/test/projects/publictestproject/branches/main'
4444

4545
# Paging tests
46+
fetch "$transcripts_user" GET branch-list-page-1 '/users/test/projects/publictestproject/branches?limit=1'
4647
next_cursor=$(fetch_data_jq "$transcripts_user" GET branch-list-paged '/users/test/projects/publictestproject/branches?limit=1' '.nextCursor')
47-
4848
fetch "$transcripts_user" GET branch-list-page-2 "/users/test/projects/publictestproject/branches?limit=1&cursor=$next_cursor"
49+
prev_cursor=$(fetch_data_jq "$transcripts_user" GET branch-list-page-2 "/users/test/projects/publictestproject/branches?limit=1&cursor=$next_cursor" '.prevCursor')
50+
fetch "$transcripts_user" GET branch-list-prev-page "/users/test/projects/publictestproject/branches?limit=1&cursor=$prev_cursor"
4951

5052
# Delete a branch
5153
fetch "$test_user" DELETE branch-delete '/users/test/projects/publictestproject/branches/main'

0 commit comments

Comments
 (0)