@clipwright/core 0.44.0 → 0.46.0
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/ad-pause-trim.d.ts +6 -0
- package/dist/ad-pause-trim.js +6 -0
- package/dist/ad-pause-trim.js.map +1 -1
- package/dist/contract-dispositions.d.ts +156 -0
- package/dist/contracts/v1/workflow-brief.d.ts +496 -0
- package/dist/contracts/v1/workflow-catalog.d.ts +496 -0
- package/dist/contracts/v1/workflow-client.d.ts +248 -0
- package/dist/contracts/v1/workflow-execution.d.ts +15 -0
- package/dist/contracts/v1/workflow-next.d.ts +6 -0
- package/dist/contracts/v1/workflow-plan.d.ts +744 -0
- package/dist/contracts/v1/workflow-run-read.d.ts +2 -0
- package/dist/explainer-fit.d.ts +18 -0
- package/dist/explainer-fit.js +51 -0
- package/dist/explainer-fit.js.map +1 -0
- package/dist/faceless-media-record.d.ts +16 -0
- package/dist/faceless-price.d.ts +10 -0
- package/dist/faceless-price.js +10 -2
- package/dist/faceless-price.js.map +1 -1
- package/dist/faceless-public.d.ts +213 -0
- package/dist/faceless-public.js +40 -1
- package/dist/faceless-public.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/prices.js +10 -3
- package/dist/prices.js.map +1 -1
- package/dist/run-static-warnings.js +7 -2
- package/dist/run-static-warnings.js.map +1 -1
- package/dist/runs.d.ts +2 -0
- package/dist/skills.d.ts +624 -0
- package/dist/templates/sounds.d.ts +203 -8
- package/dist/templates/sounds.js +8 -7
- package/dist/templates/sounds.js.map +1 -1
- package/dist/trend-search.d.ts +81 -6
- package/dist/trend-search.js +127 -11
- package/dist/trend-search.js.map +1 -1
- package/dist/voice-admission.d.ts +248 -0
- package/dist/workflows/methods/faceless-explainer.d.ts +26 -18
- package/dist/workflows/methods/kinetic-launch.d.ts +26 -18
- package/dist/workflows/methods/product-image-story.d.ts +26 -18
- package/dist/workflows/methods/reference-remake.d.ts +26 -18
- package/dist/workflows/methods/shared.d.ts +26 -18
- package/dist/workflows/methods/ugc-faq-answer.d.ts +26 -18
- package/dist/workflows/methods/ugc-product-intro.d.ts +26 -18
- package/dist/workflows/methods/website-proof-demo.d.ts +26 -18
- package/package.json +1 -1
package/dist/ad-pause-trim.d.ts
CHANGED
|
@@ -14,6 +14,12 @@ interface AdStyleInput {
|
|
|
14
14
|
}
|
|
15
15
|
/** A video that cuts graphics or live shots on its words; an interview keeps its own pauses. */
|
|
16
16
|
export declare const isAdStyleUgcInput: (input: AdStyleInput) => boolean;
|
|
17
|
+
/** The pauses a faceless narration is cut to (#1228): the call's own, `false` to keep them, else the ad default when the video draws on its */
|
|
18
|
+
/** words. Read from the stored request by the quote, the run and its warnings alike, so any faceless format resolves it the same way. */
|
|
19
|
+
export declare function facelessPauseTrim(input: AdStyleInput): PauseTrimTargets | false | undefined;
|
|
20
|
+
export declare const facelessPauseTrimWarnings: (input: Omit<AdStyleInput, "pause_trim"> & {
|
|
21
|
+
pause_trim?: unknown;
|
|
22
|
+
}) => string[];
|
|
17
23
|
/** The request with the default pinned and marked, so the run and its record say it; a run that named pause_trim, false included, is left as asked. */
|
|
18
24
|
export declare function withAdPauseTrim<T extends AdStyleInput>(input: T): T & {
|
|
19
25
|
pause_trim_source?: "ad_default";
|
package/dist/ad-pause-trim.js
CHANGED
|
@@ -7,6 +7,12 @@ export const AD_PAUSE_TRIM_WARNING = `pause_trim: narration pauses are shortened
|
|
|
7
7
|
/** A video that cuts graphics or live shots on its words; an interview keeps its own pauses. */
|
|
8
8
|
export const isAdStyleUgcInput = (input) => input.interview === undefined &&
|
|
9
9
|
[input.templates, input.scenes, input.shots].some(items => (items?.length ?? 0) > 0);
|
|
10
|
+
/** The pauses a faceless narration is cut to (#1228): the call's own, `false` to keep them, else the ad default when the video draws on its */
|
|
11
|
+
/** words. Read from the stored request by the quote, the run and its warnings alike, so any faceless format resolves it the same way. */
|
|
12
|
+
export function facelessPauseTrim(input) {
|
|
13
|
+
return input.pause_trim ?? (isAdStyleUgcInput(input) ? { ...AD_PAUSE_TRIM } : undefined);
|
|
14
|
+
}
|
|
15
|
+
export const facelessPauseTrimWarnings = (input) => input.pause_trim === undefined && isAdStyleUgcInput({ templates: input.templates, scenes: input.scenes, shots: input.shots }) ? [AD_PAUSE_TRIM_WARNING] : [];
|
|
10
16
|
/** The request with the default pinned and marked, so the run and its record say it; a run that named pause_trim, false included, is left as asked. */
|
|
11
17
|
export function withAdPauseTrim(input) {
|
|
12
18
|
if (input.pause_trim !== undefined || !isAdStyleUgcInput(input))
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ad-pause-trim.js","sourceRoot":"","sources":["../src/ad-pause-trim.ts"],"names":[],"mappings":"AAEA,uIAAuI;AAEvI,wGAAwG;AACxG,MAAM,CAAC,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,cAAc,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,CAA4B,CAAC;AAC/G,MAAM,CAAC,MAAM,qBAAqB,GAAG,iDAAiD,aAAa,CAAC,cAAc,0BAA0B;IAC1I,GAAG,aAAa,CAAC,OAAO,oHAAoH;IAC5I,qBAAqB,CAAC;AAKxB,gGAAgG;AAChG,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,KAAmB,EAAW,EAAE,CAAC,KAAK,CAAC,SAAS,KAAK,SAAS;IAC9F,CAAC,KAAK,CAAC,SAAS,EAAE,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,MAAM,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;AAEvF,uJAAuJ;AACvJ,MAAM,UAAU,eAAe,CAAyB,KAAQ;IAC9D,IAAI,KAAK,CAAC,UAAU,KAAK,SAAS,IAAI,CAAC,iBAAiB,CAAC,KAAK,CAAC;QAAE,OAAO,K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