mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
* 👕 Enable `consistent-type-imports` for nodes-base * 👕 Apply to nodes-base * ⏪ Undo unrelated changes * 🚚 Move to `.eslintrc.js` in nodes-base * ⏪ Revert "Enable `consistent-type-imports` for nodes-base" This reverts commit 529ad72b051478fa1633aaf84b2864f2fdc7613c. * 👕 Fix severity
46 lines
698 B
TypeScript
46 lines
698 B
TypeScript
import type { IDataObject } from 'n8n-workflow';
|
|
|
|
export interface IImage {
|
|
url: string;
|
|
}
|
|
|
|
export interface IChoice {
|
|
position: number;
|
|
visible: boolean;
|
|
text: string;
|
|
id: string;
|
|
weight: number;
|
|
description: string;
|
|
image?: IImage;
|
|
}
|
|
|
|
export interface IRow {
|
|
position: number;
|
|
visible: boolean;
|
|
text: string;
|
|
id: string;
|
|
}
|
|
|
|
export interface IOther {
|
|
text: string;
|
|
visible: boolean;
|
|
is_answer_choice: boolean;
|
|
id: string;
|
|
}
|
|
|
|
export interface IQuestion {
|
|
id: string;
|
|
family?: string;
|
|
subtype?: string;
|
|
headings?: IDataObject[];
|
|
answers: IDataObject;
|
|
rows?: IDataObject;
|
|
}
|
|
|
|
export interface IAnswer {
|
|
choice_id: string;
|
|
row_id?: string;
|
|
text?: string;
|
|
other_id?: string;
|
|
}
|