Files
open-design/e2e/cases/types.ts
T
Zakaria a46764fb1b
ci / Validate workspace (push) Has been cancelled
landing-page-ci / Validate landing page (push) Has been cancelled
landing-page-deploy / Deploy landing page (push) Has been cancelled
github-metrics / Generate repository metrics SVG (push) Has been cancelled
refresh-contributors-wall / Refresh contributors wall cache bust (push) Waiting to run
first-commit
2026-05-04 14:58:14 -04:00

46 lines
1.1 KiB
TypeScript

export type CaseKind = 'prototype' | 'deck' | 'template' | 'workspace';
export interface MockArtifactCase {
identifier: string;
title: string;
html: string;
fileName: string;
heading: string;
}
export interface UICase {
id: string;
title: string;
kind: CaseKind;
flow?:
| 'standard'
| 'design-system-selection'
| 'example-use-prompt'
| 'conversation-persistence'
| 'file-mention'
| 'deep-link-preview'
| 'file-upload-send'
| 'design-files-upload'
| 'design-files-delete'
| 'design-files-tab-persistence'
| 'conversation-delete-recovery'
| 'question-form-selection-limit'
| 'question-form-submit-persistence'
| 'generation-does-not-create-extra-file'
| 'comment-attachment-flow'
| 'deck-pagination-next-prev-correctness'
| 'deck-pagination-per-file-isolated'
| 'uploaded-image-renders-in-preview'
| 'python-source-preview';
automated: boolean;
description: string;
create: {
projectName: string;
tab?: 'prototype' | 'deck' | 'template' | 'other';
};
prompt: string;
secondaryPrompt?: string;
mockArtifact?: MockArtifactCase;
notes?: string[];
}