Add video bundle #519
Annotations
7 errors
Run typescript compile check:
components/paragraphs/VideoBundle/VideoBundle.stories.tsx#L5
Module '"@/components/paragraphs/VideoBundle/VideoBundle"' has no exported member 'VideoBundleMaterial'. Did you mean to use 'import VideoBundleMaterial from "@/components/paragraphs/VideoBundle/VideoBundle"' instead?
|
Run typescript compile check:
components/paragraphs/VideoBundle/VideoBundle.stories.tsx#L34
Object literal may only specify known properties, and 'url' does not exist in type 'Partial<VideoBundleProps>'.
|
Run typescript compile check:
components/paragraphs/VideoBundle/VideoBundle.stories.tsx#L45
Type '{ render: (args: { title: string; embedVideo: { mediaVideotool: string; name: string; }; cqlSearch: CqlSearch; videoAmountOfMaterials: number; videoBundleWorkIds?: undefined; } | { title: string; embedVideo: { ...; }; cqlSearch?: undefined; videoAmountOfMaterials?: undefined; videoBundleWorkIds: Maybe<...> | undefin...' is not assignable to type 'StoryAnnotations<ReactRenderer, { title: string; embedVideo: { mediaVideotool: string; name: string; }; cqlSearch: CqlSearch; videoAmountOfMaterials: number; videoBundleWorkIds?: undefined; } | { ...; }, { ...; } | { ...; }>'.
|
Run typescript compile check:
components/paragraphs/VideoBundle/VideoBundle.stories.tsx#L53
Type '{ decorators: Decorator[]; render: (args: { title: string; embedVideo: { mediaVideotool: string; name: string; }; cqlSearch: CqlSearch; videoAmountOfMaterials: number; videoBundleWorkIds?: undefined; } | { ...; }) => Element; }' is not assignable to type 'StoryAnnotations<ReactRenderer, { title: string; embedVideo: { mediaVideotool: string; name: string; }; cqlSearch: CqlSearch; videoAmountOfMaterials: number; videoBundleWorkIds?: undefined; } | { ...; }, { ...; } | { ...; }>'.
|
Run typescript compile check:
components/paragraphs/VideoBundle/VideoBundle.stories.tsx#L63
Type '{ title: string; url: string; materials: VideoBundleMaterial[]; }' is not assignable to type '(Partial<{ title: string; embedVideo: { mediaVideotool: string; name: string; }; cqlSearch: CqlSearch; videoAmountOfMaterials: number; videoBundleWorkIds?: undefined; }> & { ...; }) | (Partial<...> & { ...; }) | (Partial<...> & { ...; })'.
|
Run typescript compile check:
components/paragraphs/VideoBundle/VideoBundle.stories.tsx#L72
Type '{ title: string; url: string; materials: VideoBundleMaterial[]; }' is not assignable to type '(Partial<{ title: string; embedVideo: { mediaVideotool: string; name: string; }; cqlSearch: CqlSearch; videoAmountOfMaterials: number; videoBundleWorkIds?: undefined; }> & { ...; }) | (Partial<...> & { ...; }) | (Partial<...> & { ...; })'.
|
Run typescript compile check
Process completed with exit code 2.
|
Loading