feat: finish Douyin production readiness flow

This commit is contained in:
2026-09-15 09:20:51 +08:00
parent 5867aac20f
commit 977e541fef
28 changed files with 1257 additions and 118 deletions
+6
View File
@@ -251,6 +251,12 @@ export const dataProvider = {
creatorGet(path) {
return request(path);
},
creatorSyncConversation(id, limit = 200) {
return request(
`/creator/conversations/${encodeURIComponent(id)}/sync?limit=${encodeURIComponent(limit)}`,
{ method: "POST" },
);
},
async creatorSubscribe(path, onMessage, signal, onStatus) {
const auth = localStorage.getItem("creatorhub.auth");
const headers = {};