Files
sam-sales/ref/types.ts

28 lines
624 B
TypeScript
Raw Normal View History

2025-12-17 13:25:40 +09:00
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;
}