wip add button and feed stuff
This commit is contained in:
parent
38d09a582c
commit
1c2d6d60a6
11 changed files with 211 additions and 46 deletions
|
@ -6,7 +6,31 @@ export interface paths {
|
|||
path?: never
|
||||
cookie?: never
|
||||
}
|
||||
get?: never
|
||||
get: {
|
||||
parameters: {
|
||||
query?: {
|
||||
Cursor?: string
|
||||
Amount?: number
|
||||
}
|
||||
header?: never
|
||||
path?: never
|
||||
cookie?: never
|
||||
}
|
||||
requestBody?: never
|
||||
responses: {
|
||||
/** @description OK */
|
||||
200: {
|
||||
headers: {
|
||||
[name: string]: unknown
|
||||
}
|
||||
content: {
|
||||
'text/plain': components['schemas']['GetAllPublicPostsResponse']
|
||||
'application/json': components['schemas']['GetAllPublicPostsResponse']
|
||||
'text/json': components['schemas']['GetAllPublicPostsResponse']
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
put?: never
|
||||
post: {
|
||||
parameters: {
|
||||
|
@ -53,7 +77,7 @@ export interface paths {
|
|||
parameters: {
|
||||
query?: {
|
||||
Cursor?: string
|
||||
Count?: number
|
||||
Amount?: number
|
||||
}
|
||||
header?: never
|
||||
path: {
|
||||
|
@ -106,9 +130,26 @@ export interface components {
|
|||
/** Format: uuid */
|
||||
postId: string
|
||||
}
|
||||
GetAllPublicPostsResponse: {
|
||||
posts: components['schemas']['PublicPostDto'][]
|
||||
}
|
||||
GetAuthorPostsResponse: {
|
||||
posts: components['schemas']['AuthorPostDto'][]
|
||||
}
|
||||
PublicPostAuthorDto: {
|
||||
/** Format: uuid */
|
||||
authorId: string
|
||||
username: string
|
||||
}
|
||||
PublicPostDto: {
|
||||
authorDto: components['schemas']['PublicPostAuthorDto']
|
||||
/** Format: uuid */
|
||||
postId: string
|
||||
content: string
|
||||
media: string[]
|
||||
/** Format: date-time */
|
||||
createdAt: string
|
||||
}
|
||||
}
|
||||
responses: never
|
||||
parameters: never
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue