@wrcb/cb-common 1.0.859 → 1.0.861
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/build/index.d.ts +1 -0
- package/build/index.js +2 -0
- package/build/types/darkChannel.d.ts +45 -0
- package/build/types/darkChannel.js +3 -0
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -45,6 +45,7 @@ export * from './types/calNutri';
|
|
|
45
45
|
export * from './types/linkedinAutomator';
|
|
46
46
|
export * from './types/babelia';
|
|
47
47
|
export * from './types/socialCredential';
|
|
48
|
+
export * from './types/darkChannel';
|
|
48
49
|
export * from './types/politicaBetCategory';
|
|
49
50
|
export * from './types/predictionStatus';
|
|
50
51
|
export * from './types/disputeStatus';
|
package/build/index.js
CHANGED
|
@@ -67,6 +67,8 @@ __exportStar(require("./types/linkedinAutomator"), exports);
|
|
|
67
67
|
__exportStar(require("./types/babelia"), exports);
|
|
68
68
|
// social credentials (multi-tenant, multi-platform)
|
|
69
69
|
__exportStar(require("./types/socialCredential"), exports);
|
|
70
|
+
// dark channel (n8n + Remotion render pipeline)
|
|
71
|
+
__exportStar(require("./types/darkChannel"), exports);
|
|
70
72
|
// politicabet
|
|
71
73
|
__exportStar(require("./types/politicaBetCategory"), exports);
|
|
72
74
|
__exportStar(require("./types/predictionStatus"), exports);
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export interface DarkChannelWordTiming {
|
|
2
|
+
word: string;
|
|
3
|
+
start: number;
|
|
4
|
+
end: number;
|
|
5
|
+
}
|
|
6
|
+
export interface DarkChannelSceneInput {
|
|
7
|
+
ordem: number;
|
|
8
|
+
link_imagem: string;
|
|
9
|
+
link_audio: string;
|
|
10
|
+
legenda_palavras: DarkChannelWordTiming[];
|
|
11
|
+
}
|
|
12
|
+
export interface DarkChannelRenderRequest {
|
|
13
|
+
video_id: string;
|
|
14
|
+
titulo: string;
|
|
15
|
+
descricao: string;
|
|
16
|
+
callback_url: string;
|
|
17
|
+
cenas: DarkChannelSceneInput[];
|
|
18
|
+
}
|
|
19
|
+
export interface DarkChannelRenderCallbackSuccess {
|
|
20
|
+
video_id: string;
|
|
21
|
+
status: 'concluido';
|
|
22
|
+
link_video_final: string;
|
|
23
|
+
}
|
|
24
|
+
export interface DarkChannelRenderCallbackError {
|
|
25
|
+
video_id: string;
|
|
26
|
+
status: 'erro';
|
|
27
|
+
error_message: string;
|
|
28
|
+
}
|
|
29
|
+
export type DarkChannelRenderCallback = DarkChannelRenderCallbackSuccess | DarkChannelRenderCallbackError;
|
|
30
|
+
export interface DarkChannelVideoScene {
|
|
31
|
+
ordem: number;
|
|
32
|
+
imagemUrl: string;
|
|
33
|
+
audioUrl: string;
|
|
34
|
+
inicioFrame: number;
|
|
35
|
+
duracaoFrames: number;
|
|
36
|
+
}
|
|
37
|
+
export interface DarkChannelVideoWordCaption {
|
|
38
|
+
word: string;
|
|
39
|
+
startFrame: number;
|
|
40
|
+
endFrame: number;
|
|
41
|
+
}
|
|
42
|
+
export interface DarkChannelVideoProps {
|
|
43
|
+
cenas: DarkChannelVideoScene[];
|
|
44
|
+
legendas: DarkChannelVideoWordCaption[];
|
|
45
|
+
}
|