ugcinc 4.1.4 → 4.1.6
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/dist/automations/nodes/account.d.ts +3 -2
- package/dist/automations/nodes/branch.d.ts +3 -1
- package/dist/automations/nodes/index.d.ts +10 -10
- package/dist/automations/nodes/media.d.ts +3 -3
- package/dist/automations/nodes/social-audio.d.ts +3 -2
- package/dist/automations/nodes/text.d.ts +3 -2
- package/dist/automations/nodes/video-import.d.ts +3 -2
- package/package.json +2 -2
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { type SelectionMode, type OutputMode } from './types';
|
|
1
2
|
declare const definition: import("./types").NodeDefinition<"source", {
|
|
2
3
|
accountIds: string[];
|
|
3
|
-
outputMode:
|
|
4
|
-
selectionMode:
|
|
4
|
+
outputMode: OutputMode;
|
|
5
|
+
selectionMode: SelectionMode;
|
|
5
6
|
}, false>;
|
|
6
7
|
export default definition;
|
|
7
8
|
export type AccountNodeConfig = typeof definition.defaults;
|
|
@@ -2,8 +2,10 @@ import { type InputType } from './types';
|
|
|
2
2
|
export interface BranchDefinition {
|
|
3
3
|
key: string;
|
|
4
4
|
}
|
|
5
|
-
interface BranchValueConfig {
|
|
5
|
+
export interface BranchValueConfig {
|
|
6
6
|
inputType?: InputType;
|
|
7
|
+
value?: unknown;
|
|
8
|
+
selectedMediaIds?: string[];
|
|
7
9
|
}
|
|
8
10
|
export interface PassthroughInput {
|
|
9
11
|
id: string;
|
|
@@ -7,8 +7,8 @@ import { internalNodeTypes, type InternalNodeType } from './internal';
|
|
|
7
7
|
export declare const nodeDefinitions: {
|
|
8
8
|
readonly account: NodeDefinition<"source", {
|
|
9
9
|
accountIds: string[];
|
|
10
|
-
outputMode: "
|
|
11
|
-
selectionMode: "
|
|
10
|
+
outputMode: import("./types").OutputMode;
|
|
11
|
+
selectionMode: import("./types").SelectionMode;
|
|
12
12
|
}, false>;
|
|
13
13
|
readonly 'auto-caption': NodeDefinition<"generator", {
|
|
14
14
|
preset: import("./auto-caption").AutoCaptionPreset;
|
|
@@ -188,8 +188,8 @@ export declare const nodeDefinitions: {
|
|
|
188
188
|
selectedMediaIds: string[];
|
|
189
189
|
selectionConfig: import("./types").SelectionConfig | undefined;
|
|
190
190
|
}[];
|
|
191
|
-
outputMode: "
|
|
192
|
-
selectionMode: "
|
|
191
|
+
outputMode: import("./types").OutputMode;
|
|
192
|
+
selectionMode: import("./types").SelectionMode;
|
|
193
193
|
}, false>;
|
|
194
194
|
readonly not: NodeDefinition<"generator", {
|
|
195
195
|
outputMode: "per-input";
|
|
@@ -246,13 +246,13 @@ export declare const nodeDefinitions: {
|
|
|
246
246
|
readonly 'social-audio': NodeDefinition<"source", {
|
|
247
247
|
urls: string[];
|
|
248
248
|
selectedMediaIds: string[];
|
|
249
|
-
selectionMode: "
|
|
250
|
-
outputMode: "
|
|
249
|
+
selectionMode: import("./types").SelectionMode;
|
|
250
|
+
outputMode: import("./types").OutputMode;
|
|
251
251
|
}, false>;
|
|
252
252
|
readonly text: NodeDefinition<"source", {
|
|
253
253
|
textOptions: string[];
|
|
254
|
-
selectionMode: "
|
|
255
|
-
outputMode: "
|
|
254
|
+
selectionMode: import("./types").SelectionMode;
|
|
255
|
+
outputMode: import("./types").OutputMode;
|
|
256
256
|
}, false>;
|
|
257
257
|
readonly transcript: NodeDefinition<"generator", {
|
|
258
258
|
outputMode: "per-input";
|
|
@@ -272,8 +272,8 @@ export declare const nodeDefinitions: {
|
|
|
272
272
|
readonly 'video-import': NodeDefinition<"source", {
|
|
273
273
|
platform: import("./video-import").VideoImportPlatform;
|
|
274
274
|
videoQuality: import("./video-import").VideoImportQuality;
|
|
275
|
-
outputMode: "
|
|
276
|
-
selectionMode: "
|
|
275
|
+
outputMode: import("./types").OutputMode;
|
|
276
|
+
selectionMode: import("./types").SelectionMode;
|
|
277
277
|
}, false>;
|
|
278
278
|
};
|
|
279
279
|
/** User-creatable node types (derived from nodeDefinitions keys) */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type SelectionConfig, type MediaNodeSelectionType } from './types';
|
|
1
|
+
import { type SelectionConfig, type MediaNodeSelectionType, type SelectionMode, type OutputMode } from './types';
|
|
2
2
|
declare const definition: import("./types").NodeDefinition<"source", {
|
|
3
3
|
outputs: {
|
|
4
4
|
id: string;
|
|
@@ -7,8 +7,8 @@ declare const definition: import("./types").NodeDefinition<"source", {
|
|
|
7
7
|
selectedMediaIds: string[];
|
|
8
8
|
selectionConfig: SelectionConfig | undefined;
|
|
9
9
|
}[];
|
|
10
|
-
outputMode:
|
|
11
|
-
selectionMode:
|
|
10
|
+
outputMode: OutputMode;
|
|
11
|
+
selectionMode: SelectionMode;
|
|
12
12
|
}, false>;
|
|
13
13
|
export default definition;
|
|
14
14
|
export type MediaNodeConfig = typeof definition.defaults;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { type SelectionMode, type OutputMode } from './types';
|
|
1
2
|
declare const definition: import("./types").NodeDefinition<"source", {
|
|
2
3
|
urls: string[];
|
|
3
4
|
selectedMediaIds: string[];
|
|
4
|
-
selectionMode:
|
|
5
|
-
outputMode:
|
|
5
|
+
selectionMode: SelectionMode;
|
|
6
|
+
outputMode: OutputMode;
|
|
6
7
|
}, false>;
|
|
7
8
|
export default definition;
|
|
8
9
|
export type SocialAudioNodeConfig = typeof definition.defaults;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { type SelectionMode, type OutputMode } from './types';
|
|
1
2
|
declare const definition: import("./types").NodeDefinition<"source", {
|
|
2
3
|
textOptions: string[];
|
|
3
|
-
selectionMode:
|
|
4
|
-
outputMode:
|
|
4
|
+
selectionMode: SelectionMode;
|
|
5
|
+
outputMode: OutputMode;
|
|
5
6
|
}, false>;
|
|
6
7
|
export default definition;
|
|
7
8
|
export type TextNodeConfig = typeof definition.defaults;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import { type SelectionMode, type OutputMode } from './types';
|
|
1
2
|
export type VideoImportPlatform = 'youtube' | 'tiktok' | 'instagram';
|
|
2
3
|
export type VideoImportQuality = '360' | '480' | '720' | '1080' | '1440' | '2160';
|
|
3
4
|
declare const definition: import("./types").NodeDefinition<"source", {
|
|
4
5
|
platform: VideoImportPlatform;
|
|
5
6
|
videoQuality: VideoImportQuality;
|
|
6
|
-
outputMode:
|
|
7
|
-
selectionMode:
|
|
7
|
+
outputMode: OutputMode;
|
|
8
|
+
selectionMode: SelectionMode;
|
|
8
9
|
}, false>;
|
|
9
10
|
export default definition;
|
|
10
11
|
export type VideoImportNodeConfig = typeof definition.defaults;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ugcinc",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.6",
|
|
4
4
|
"description": "TypeScript/JavaScript client for the UGC Inc API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"license": "MIT",
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@remotion/player": "^4.0.0",
|
|
44
|
-
"ugcinc": "^4.1.
|
|
44
|
+
"ugcinc": "^4.1.4",
|
|
45
45
|
"zod": "^3.23.0"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|