@depict-ai/types
Advanced tools
Comparing version 5.4.2 to 5.4.3
@@ -16,2 +16,6 @@ /* eslint-disable */ | ||
| "look"; | ||
export type ContentPosition = "left" | "right" | "center"; | ||
export type Type = "video"; | ||
export type Url = string; | ||
export type Link = string | null; | ||
@@ -54,2 +58,6 @@ export interface GetListingResponse { | ||
children: ProductListing[]; | ||
/** | ||
* List of content blocks to be displayed on the listing page. If none no content blocks should be displayed. | ||
*/ | ||
content_blocks: ContentBlock[]; | ||
} | ||
@@ -84,1 +92,21 @@ /** | ||
} | ||
export interface ContentBlock { | ||
span_columns: number; | ||
span_rows: number; | ||
position: ContentPosition; | ||
row: number; | ||
content: ImageContent | VideoContent; | ||
[k: string]: unknown; | ||
} | ||
export interface ImageContent { | ||
type?: "image"; | ||
url: string; | ||
link: string; | ||
[k: string]: unknown; | ||
} | ||
export interface VideoContent { | ||
type?: Type; | ||
url: Url; | ||
link: Link; | ||
[k: string]: unknown; | ||
} |
{ | ||
"name": "@depict-ai/types", | ||
"version": "5.4.2", | ||
"version": "5.4.3", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "Autogenerated types of API responses used across Depict UI packages", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
72393
2834