28 lines
624 B
TypeScript
28 lines
624 B
TypeScript
|
|
export enum AssetType {
|
||
|
|
IMAGE = 'IMAGE',
|
||
|
|
VIDEO = 'VIDEO',
|
||
|
|
TEXT = 'TEXT',
|
||
|
|
STAT = 'STAT'
|
||
|
|
}
|
||
|
|
|
||
|
|
export interface SalesAsset {
|
||
|
|
id: string;
|
||
|
|
type: AssetType;
|
||
|
|
title: string;
|
||
|
|
description?: string;
|
||
|
|
src?: string; // Image URL or Vimeo ID
|
||
|
|
videoTitle?: string;
|
||
|
|
content?: string; // For text based cards
|
||
|
|
script?: string; // The verbal script for sales reps
|
||
|
|
statValue?: string; // For stat cards
|
||
|
|
statLabel?: string;
|
||
|
|
tags: string[];
|
||
|
|
gridSpan?: 'col-span-1' | 'col-span-2'; // For layout control
|
||
|
|
rowSpan?: 'row-span-1' | 'row-span-2';
|
||
|
|
}
|
||
|
|
|
||
|
|
export interface Message {
|
||
|
|
role: 'user' | 'model';
|
||
|
|
text: string;
|
||
|
|
}
|