Skip to content

Commit e778c79

Browse files
committed
Rerun transcripts
1 parent 65394b9 commit e778c79

4 files changed

Lines changed: 16 additions & 7 deletions

File tree

transcripts/share-apis/notifications/list-notifications-read-transcripts.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"body": {
3-
"notifications": [
3+
"items": [
44
{
5+
"createdAt": "<TIMESTAMP>",
56
"event": {
67
"actor": {
78
"info": {
@@ -48,7 +49,9 @@
4849
"id": "NOT-<UUID>",
4950
"status": "read"
5051
}
51-
]
52+
],
53+
"nextCursor": "<CURSOR>",
54+
"prevCursor": "<CURSOR>"
5255
},
5356
"status": [
5457
{

transcripts/share-apis/notifications/list-notifications-transcripts.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"body": {
3-
"notifications": [
3+
"items": [
44
{
5+
"createdAt": "<TIMESTAMP>",
56
"event": {
67
"actor": {
78
"info": {
@@ -49,6 +50,7 @@
4950
"status": "unread"
5051
},
5152
{
53+
"createdAt": "<TIMESTAMP>",
5254
"event": {
5355
"actor": {
5456
"info": {
@@ -116,7 +118,9 @@
116118
"id": "NOT-<UUID>",
117119
"status": "unread"
118120
}
119-
]
121+
],
122+
"nextCursor": "<CURSOR>",
123+
"prevCursor": "<CURSOR>"
120124
},
121125
"status": [
122126
{

transcripts/share-apis/notifications/list-notifications-unread-test.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
{
22
"body": {
3-
"notifications": []
3+
"items": [],
4+
"nextCursor": null,
5+
"prevCursor": null
46
},
57
"status": [
68
{

transcripts/share-apis/notifications/run.zsh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ fetch "$test_user" POST branch-create '/ucm/v1/projects/create-project-branch' "
7676

7777
fetch "$unauthorized_user" GET notifications-get-unauthorized '/users/test/notifications/hub'
7878

79-
test_notification_id=$(fetch_data_jq "$test_user" GET list-notifications-test '/users/test/notifications/hub' '.notifications[0].id')
80-
transcripts_notification_id=$(fetch_data_jq "$transcripts_user" GET list-notifications-transcripts '/users/transcripts/notifications/hub' '.notifications[0].id')
79+
test_notification_id=$(fetch_data_jq "$test_user" GET list-notifications-test '/users/test/notifications/hub' '.items[0].id')
80+
transcripts_notification_id=$(fetch_data_jq "$transcripts_user" GET list-notifications-transcripts '/users/transcripts/notifications/hub' '.items[0].id')
8181

8282
fetch "$transcripts_user" GET list-notifications-transcripts '/users/transcripts/notifications/hub'
8383

0 commit comments

Comments
 (0)