mirror of
https://github.com/R0m1k3/Socialflow.git
synced 2026-10-11 17:26:45 +02:00
feat: implement multi-step reel creation flow with video upload, music selection, text generation, and scheduling.
This commit is contained in:
1 parent
0e9622b5eb
commit
9e9eb7d1bb
6 files changed
+10
-10
No files matched your search
+2
-2
@@ -55,7 +55,7 @@ export interface IStorage {
|
||||
getSocialPages(userId: string): Promise<SocialPage[]>;
|
||||
getSocialPage(id: string): Promise<SocialPage | undefined>;
|
||||
createSocialPage(page: InsertSocialPage): Promise<SocialPage>;
|
||||
updateSocialPage(id: string, page: Partial<InsertSocialPage>): Promise<SocialPage>;
|
||||
updateSocialPage(id: string, page: Partial<SocialPage>): Promise<SocialPage>;
|
||||
deleteSocialPage(id: string): Promise<void>;
|
||||
|
||||
// Media
|
||||
@@ -190,7 +190,7 @@ export class DatabaseStorage implements IStorage {
|
||||
return newPage;
|
||||
}
|
||||
|
||||
async updateSocialPage(id: string, page: Partial<InsertSocialPage>): Promise<SocialPage> {
|
||||
async updateSocialPage(id: string, page: Partial<SocialPage>): Promise<SocialPage> {
|
||||
// Chiffrer le token si présent dans la mise à jour
|
||||
const updateData = page.accessToken
|
||||
? { ...page, accessToken: encrypt(page.accessToken) }
|
||||
|
||||
Reference in new issue
Block a user