UNPKG

@withjoy/sdk-js

Version:
38 lines (37 loc) 2.04 kB
import Question from "./Question"; declare class Questions { readonly _ds: any; private _state; constructor(writeDs: any, rsvpData: any); updateRsvpData(rsvpData: any): void; indexOfQuestion(q: any): number; questionAtIndex(i: any): Question; asSortedArray(): Question[]; getQuestionWithId(id: any): Question; rootQuestionsAsSortedArray(): Question[]; dependentOnQuestion(parent: any): Question[]; /** * Mostly for debugging return a string description of this question. * @returns {string} */ toString(): string; _createNewQuestionWithSortKey(data: any, sortKey: any): any; _qGetRawOverride(questionId: any): any; _qWriteRawOverride(questionId: any, isEnabled: any, callback: any): void; __qWriteRawOverride(questionId: any, isEnabled: any, callback: any): any; _qGetRawSortKey(questionId: any): any; _qWriteRawSortKey(questionId: any, sortKey: any, callback?: any): any; __qWriteRawSortKey(questionId: any, sortKey: any, callback?: any): any; _qGetRawCustomQuestion(questionId: any): any; _qWriteRawCustomQuestionProperty(questionId: any, propertyName: any, propertyValue: any, callback?: any): any; __qWriteRawCustomQuestionProperty(questionId: any, propertyName: any, propertyValue: any, callback?: any): any; _qCreateRawCustomQuestion(customQuestion: any, callback?: any): any; __qCreateRawCustomQuestion(customQuestion: any, callback?: any): any; _qWriteRawCustomQuestionChoice(qId: any, cId: any, data: any, callback?: any): any; __qWriteRawCustomQuestionChoice(qId: any, cId: any, data: any, callback?: any): any; _qWriteRawCustomQuestionDependency(qId: any, dId: any, data: any, callback?: any): any; __qWriteRawCustomQuestionDependency(qId: any, dId: any, data: any, callback?: any): any; _qCreateRawCustomQuestionDependency(qId: any, dependency: any): any; __qCreateRawCustomQuestionDependency(qId: any, dependency: any): any; } export default Questions;