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
46 lines
1.1 KiB
TypeScript
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[];
|
|
}
|