/** @module Survey Question Plugin Registry */ import { PluginSpecifier } from '@qualtrics-app-framework/plugin-manager/src/lib/host'; /** * The SurveyQuestionPluginSpecifier interface declares what is expected inside a Survey Question's `config.json` file */ export interface SurveyQuestionPluginSpecifier extends Omit { metadata: { /** * The base question type */ baseQuestionType: BaseQuestionType; /** * The base question subtype */ baseQuestionSelector: string; /** * The base question sub-subtype */ baseQuestionSubSelector?: string; /** * The human-readable question identifier in the style of @my-organization/question-type-name */ name: string; /** * (optional) an ordered list of links which will be hyperlinked to their associated placeholders in the question description */ descriptionLinks?: string[]; /** * (optional) a list of browser permission policies which will be enabled for the question's iframe. For more information about browser permission policies, see https://w3c.github.io/webappsec-permissions-policy */ browserPermissions?: string[]; /** * (optional) flag that controls whether or not the terms and conditions status icon will show up in the survey builder alongside the question * The links for these items are defined in the extension manifest.json `info` object * Defaults to enabled */ showTermsAndConditions?: boolean; /** (optional) the question picker icon that shows inside the question selection menu for this custom question type * The value can be QDS Icon Pickers, which can be found at: https://designsystem.qualtrics.com/icon? (eg. GlobeIcon) * The value can also be the SVG image name, located at public/assets/images (eg. logo.svg) * If not set, then the default QDS (ThirdPartyQuestionIcon) will be used */ questionPickerIcon?: string; }; } /** * The QuestionTypePlatform supports extending the presentation layers of these Question Types with customized data and logic. * The Response Shape will be defined by a combination of the QuestionType and QuestionSelector the developer's Plugin Question is based off of. */ export declare enum BaseQuestionType { Matrix = "Matrix", MultipleChoice = "MultipleChoice", TextEntry = "TextEntry", FileUpload = "FileUpload" } //# sourceMappingURL=registry.d.ts.map