@laplace.live/internal 1.2.50 → 1.2.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +10 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1184,11 +1184,19 @@ export declare namespace LaplaceInternal {
|
|
|
1184
1184
|
total: number
|
|
1185
1185
|
}
|
|
1186
1186
|
|
|
1187
|
+
/** Request body for PATCH /laplace/memes/:id (update approved meme) */
|
|
1188
|
+
export interface MemeUpdateRequest {
|
|
1189
|
+
content?: string
|
|
1190
|
+
tags?: number[] | null
|
|
1191
|
+
}
|
|
1192
|
+
|
|
1187
1193
|
/** Request body for POST /laplace/meme-contribute */
|
|
1188
1194
|
export interface MemeContributeRequest {
|
|
1189
1195
|
uid: number
|
|
1190
1196
|
content: string
|
|
1191
1197
|
note?: string
|
|
1198
|
+
/** Existing tag IDs to suggest for this meme (max 10) */
|
|
1199
|
+
tags?: number[]
|
|
1192
1200
|
turnstileToken: string
|
|
1193
1201
|
}
|
|
1194
1202
|
|
|
@@ -1205,6 +1213,7 @@ export declare namespace LaplaceInternal {
|
|
|
1205
1213
|
uid: number
|
|
1206
1214
|
content: string
|
|
1207
1215
|
note?: string | null
|
|
1216
|
+
tags?: number[] | null
|
|
1208
1217
|
status: ContributionStatus
|
|
1209
1218
|
contributorIp?: string
|
|
1210
1219
|
createdAt: string
|
|
@@ -1245,6 +1254,7 @@ export declare namespace LaplaceInternal {
|
|
|
1245
1254
|
uid?: number
|
|
1246
1255
|
content?: string
|
|
1247
1256
|
note?: string | null
|
|
1257
|
+
tags?: number[] | null
|
|
1248
1258
|
}
|
|
1249
1259
|
|
|
1250
1260
|
/** Response for PATCH /laplace/meme-contribution-update/:id */
|