feat(monorepo): migrate to typescript monorepo

This commit is contained in:
2025-11-07 17:09:29 +02:00
committed by BernardNganduDev
parent 3e09956f05
commit 075a388ccb
745 changed files with 2341 additions and 5082 deletions
@@ -0,0 +1,25 @@
meta {
name: add-comment-to-article
type: http
seq: 2
}
post {
url: {{baseUrl}}/feed/articles/:articleId/comments
body: json
auth: bearer
}
params:path {
articleId: 019589b9-7137-7156-9aeb-1e3f0f138a15
}
auth:bearer {
token: {{token}}
}
body:json {
{
"content": "this is a comment !"
}
}
@@ -0,0 +1,19 @@
meta {
name: article-comment-list
type: http
seq: 5
}
get {
url: {{baseUrl}}/feed/articles/:articleId/comments
body: none
auth: bearer
}
params:path {
articleId: 019589b9-7137-7156-9aeb-1e3f0f138a15
}
auth:bearer {
token: {{token}}
}
@@ -0,0 +1,19 @@
meta {
name: article-details
type: http
seq: 1
}
get {
url: {{baseUrl}}/feed/articles/:articleId
body: none
auth: bearer
}
params:path {
articleId: 019589b9-7137-7156-9aeb-1e3f0f138a15
}
auth:bearer {
token: {{token}}
}
@@ -0,0 +1,24 @@
meta {
name: article-overview-list
type: http
seq: 3
}
get {
url: {{baseUrl}}/feed/articles
body: none
auth: bearer
}
params:query {
~lastId: 019589b9-7137-7af1-96b3-9ff7427218fb
~dateRange[start]: 1740614400
~dateRange[end]: 1740700800
~page: 22
~limit: 100
~search: Tshisekedi
}
auth:bearer {
token: {{token}}
}
@@ -0,0 +1,4 @@
meta {
name: article
seq: 3
}
@@ -0,0 +1,20 @@
meta {
name: remove-comment-from-article
type: http
seq: 4
}
delete {
url: {{baseUrl}}/feed/articles/:articleId/comments/:commentId
body: none
auth: bearer
}
params:path {
commentId: 01971449-6f1b-724f-bb43-2bc0af698c5f
articleId: 019589b9-7137-7156-9aeb-1e3f0f138a15
}
auth:bearer {
token: {{token}}
}
@@ -0,0 +1,20 @@
meta {
name: add-article-to-bookmark
type: http
seq: 3
}
post {
url: {{baseUrl}}/feed/bookmarks/:bookmarkId/articles/:articleId
body: none
auth: bearer
}
params:path {
articleId: 01957834-0d68-7a45-9f77-39e66fd92b4f
bookmarkId: 0196d6e6-dd3b-7f46-8097-a8b260dcd2de
}
auth:bearer {
token: {{token}}
}
@@ -0,0 +1,15 @@
meta {
name: bookmark-list
type: http
seq: 6
}
get {
url: {{baseUrl}}/feed/bookmarks
body: none
auth: bearer
}
auth:bearer {
token: {{token}}
}
@@ -0,0 +1,19 @@
meta {
name: bookmarked-articles-list
type: http
seq: 7
}
get {
url: {{baseUrl}}/feed/bookmarks/:bookmarkId/articles
body: none
auth: bearer
}
params:path {
bookmarkId: 0196d6e6-dd3b-7f46-8097-a8b260dcd2de
}
auth:bearer {
token: {{token}}
}
@@ -0,0 +1,24 @@
meta {
name: create-bookmark
type: http
seq: 1
}
post {
url: {{baseUrl}}/feed/bookmarks
body: json
auth: bearer
}
auth:bearer {
token: {{token}}
}
body:json {
{
"name": "read later",
"description": null,
"isPublic": false
}
}
@@ -0,0 +1,19 @@
meta {
name: delete-bookmark
type: http
seq: 2
}
delete {
url: {{baseUrl}}/feed/bookmarks/:bookmarkId
body: none
auth: bearer
}
params:path {
bookmarkId: 0196d1dc-eb76-7481-8ba5-90c73f838411
}
auth:bearer {
token: {{token}}
}
@@ -0,0 +1,3 @@
meta {
name: bookmark
}
@@ -0,0 +1,20 @@
meta {
name: remove-article-from-bookmark
type: http
seq: 4
}
delete {
url: {{baseUrl}}/feed/bookmarks/:bookmarkId/articles/:articleId
body: none
auth: bearer
}
params:path {
articleId: 019549f9-13d8-725b-81f6-3c7e75aa5a26
bookmarkId: 0196d1dc-eb76-7481-8ba5-90c73f838411
}
auth:bearer {
token: {{token}}
}
@@ -0,0 +1,27 @@
meta {
name: update-bookmark
type: http
seq: 5
}
put {
url: {{baseUrl}}/feed/bookmarks/:bookmarkId
body: json
auth: bearer
}
params:path {
bookmarkId: 0196d1dc-eb76-7481-8ba5-90c73f838411
}
auth:bearer {
token: {{token}}
}
body:json {
{
"name": "updated name",
"description": "some description",
"isPublic": true
}
}
@@ -0,0 +1,3 @@
meta {
name: feed-management
}
@@ -0,0 +1,4 @@
meta {
name: source
seq: 2
}
@@ -0,0 +1,19 @@
meta {
name: follow-source
type: http
seq: 2
}
post {
url: {{baseUrl}}/feed/sources/:sourceId/follow
body: none
auth: bearer
}
params:path {
sourceId: 01970f05-a945-7ef0-bfe3-4583491d58d2
}
auth:bearer {
token: {{token}}
}
@@ -0,0 +1,28 @@
meta {
name: source-article-overview-list
type: http
seq: 4
}
get {
url: {{baseUrl}}/feed/sources/:sourceId/articles
body: none
auth: bearer
}
params:query {
~lastId: 019549f9-0962-7fb5-9197-29b1754d13a5
~dateRange[start]: 1740614400
~dateRange[end]: 1740700800
~page: 22
~limit: 100
~search: Lubumbashi
}
params:path {
sourceId: 01970f05-a945-7ef0-bfe3-4583491d58d2
}
auth:bearer {
token: {{token}}
}
@@ -0,0 +1,24 @@
meta {
name: source-details
type: http
seq: 1
}
get {
url: {{baseUrl}}/feed/sources/:sourceId
body: none
auth: bearer
}
params:path {
sourceId: 01970f05-a945-7ef0-bfe3-4583491d58d2
}
headers {
accept: application/json
:
}
auth:bearer {
token: {{token}}
}
@@ -0,0 +1,26 @@
meta {
name: sources-overview-list
type: http
seq: 3
}
get {
url: {{baseUrl}}/feed/sources
body: none
auth: bearer
}
params:query {
~lastId: 01970f05-a945-7ef0-bfe3-45834b6bc40e
~limit: 10
~page: 1
}
headers {
accept: application/json
:
}
auth:bearer {
token: {{token}}
}
@@ -0,0 +1,19 @@
meta {
name: unfollow-source
type: http
seq: 5
}
delete {
url: {{baseUrl}}/feed/sources/:sourceId/unfollow
body: none
auth: bearer
}
params:path {
sourceId: 01970f05-a945-7ef0-bfe3-4583491d58d2
}
auth:bearer {
token: {{token}}
}