Skip to content

armgit / hypit

Public Imported from GitHub
0

Clone any viral video with AI agents. Not just a script, the whole workflow: swap the face, the words, the B-roll, ship 100 variants in one command, and get your 100M views.

fix: declare fixture previews explicitly

rponea15c9dae5249
diff --git a/examples/minimal-author-package/packages/example-component/src/manifest.ts b/examples/minimal-author-package/packages/example-component/src/manifest.ts
index e68d58c3..e60c57f6 100644
--- a/examples/minimal-author-package/packages/example-component/src/manifest.ts
+++ b/examples/minimal-author-package/packages/example-component/src/manifest.ts
@@ -53,7 +53,7 @@ const vocabulary = (summary: string, example: string) => ({
});
export const exampleMarkupSurfaces = [
- { name: "box", tag: "Box", mode: "structured", outputs: [exampleTypes.box, compositionTypes.visualTrack], vocabulary: vocabulary("A framed box surface.", "<example:Box id=\"box\" space={space.main}/>") },
- { name: "text", tag: "Text", mode: "structured", outputs: [exampleTypes.text, compositionTypes.visualTrack], vocabulary: vocabulary("A text-bearing surface.", "<example:Text id=\"title\" space={space.main}>Hello</example:Text>") },
- { name: "media-slot", tag: "MediaSlot", mode: "structured", outputs: [exampleTypes.mediaSlot, compositionTypes.visualTrack], vocabulary: vocabulary("A media slot whose content is a graph input.", "<example:MediaSlot id=\"shot\" space={space.main}/>") },
+ { name: "box", tag: "Box", mode: "structured", outputs: [exampleTypes.box, compositionTypes.visualTrack], vocabulary: { ...vocabulary("A framed box surface.", "<example:Box id=\"box\" space={space.main}/>") , preview: previewImage("Example.png") } },
+ { name: "text", tag: "Text", mode: "structured", outputs: [exampleTypes.text, compositionTypes.visualTrack], vocabulary: { ...vocabulary("A text-bearing surface.", "<example:Text id=\"title\" space={space.main}>Hello</example:Text>"), preview: previewImage("Example.png") } },
+ { name: "media-slot", tag: "MediaSlot", mode: "structured", outputs: [exampleTypes.mediaSlot, compositionTypes.visualTrack], vocabulary: { ...vocabulary("A media slot whose content is a graph input.", "<example:MediaSlot id=\"shot\" space={space.main}/>") , preview: previewImage("Example.png") } },
] as const;