@formbricks/js
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -9,4 +9,7 @@ import { h } from "preact"; | ||
brandColor: string; | ||
storedResponseValue: string | null; | ||
goToNextQuestion: (answer: TResponseData) => void; | ||
goToPreviousQuestion?: (answer?: TResponseData) => void; | ||
} | ||
export default function ConsentQuestion({ question, onSubmit, lastQuestion, brandColor, }: ConsentQuestionProps): h.JSX.Element; | ||
export default function ConsentQuestion({ question, onSubmit, lastQuestion, brandColor, storedResponseValue, goToNextQuestion, goToPreviousQuestion, }: ConsentQuestionProps): h.JSX.Element; | ||
export {}; |
@@ -9,4 +9,7 @@ import { h } from "preact"; | ||
brandColor: string; | ||
storedResponseValue: number | null; | ||
goToNextQuestion: (answer: TResponseData) => void; | ||
goToPreviousQuestion?: (answer?: TResponseData) => void; | ||
} | ||
export default function CTAQuestion({ question, onSubmit, lastQuestion, brandColor }: CTAQuestionProps): h.JSX.Element; | ||
export default function CTAQuestion({ question, onSubmit, lastQuestion, brandColor, storedResponseValue, goToNextQuestion, goToPreviousQuestion, }: CTAQuestionProps): h.JSX.Element; | ||
export {}; |
@@ -9,4 +9,7 @@ import { h } from "preact"; | ||
brandColor: string; | ||
storedResponseValue: string[] | null; | ||
goToNextQuestion: (answer: TResponseData) => void; | ||
goToPreviousQuestion?: (answer: TResponseData) => void; | ||
} | ||
export default function MultipleChoiceMultiQuestion({ question, onSubmit, lastQuestion, brandColor, }: MultipleChoiceMultiProps): h.JSX.Element; | ||
export default function MultipleChoiceMultiQuestion({ question, onSubmit, lastQuestion, brandColor, storedResponseValue, goToNextQuestion, goToPreviousQuestion, }: MultipleChoiceMultiProps): h.JSX.Element; | ||
export {}; |
@@ -9,4 +9,7 @@ import { h } from "preact"; | ||
brandColor: string; | ||
storedResponseValue: string | null; | ||
goToNextQuestion: (answer: TResponseData) => void; | ||
goToPreviousQuestion?: (answer: TResponseData) => void; | ||
} | ||
export default function MultipleChoiceSingleQuestion({ question, onSubmit, lastQuestion, brandColor, }: MultipleChoiceSingleProps): h.JSX.Element; | ||
export default function MultipleChoiceSingleQuestion({ question, onSubmit, lastQuestion, brandColor, storedResponseValue, goToNextQuestion, goToPreviousQuestion, }: MultipleChoiceSingleProps): h.JSX.Element; | ||
export {}; |
@@ -9,4 +9,7 @@ import { h } from "preact"; | ||
brandColor: string; | ||
storedResponseValue: number | null; | ||
goToNextQuestion: (answer: TResponseData) => void; | ||
goToPreviousQuestion?: (answer?: TResponseData) => void; | ||
} | ||
export default function NPSQuestion({ question, onSubmit, lastQuestion, brandColor }: NPSQuestionProps): h.JSX.Element; | ||
export default function NPSQuestion({ question, onSubmit, lastQuestion, brandColor, storedResponseValue, goToNextQuestion, goToPreviousQuestion, }: NPSQuestionProps): h.JSX.Element; | ||
export {}; |
@@ -9,4 +9,7 @@ import { h } from "preact"; | ||
brandColor: string; | ||
storedResponseValue: string | null; | ||
goToNextQuestion: (answer: TResponseData) => void; | ||
goToPreviousQuestion?: (answer: TResponseData) => void; | ||
} | ||
export default function OpenTextQuestion({ question, onSubmit, lastQuestion, brandColor, }: OpenTextQuestionProps): h.JSX.Element; | ||
export default function OpenTextQuestion({ question, onSubmit, lastQuestion, brandColor, storedResponseValue, goToNextQuestion, goToPreviousQuestion, }: OpenTextQuestionProps): h.JSX.Element; | ||
export {}; |
@@ -10,4 +10,7 @@ import { h } from "preact"; | ||
brandColor: string; | ||
storedResponseValue: any; | ||
goToNextQuestion: (answer: any) => void; | ||
goToPreviousQuestion?: (answer: any) => void; | ||
} | ||
export default function QuestionConditional({ question, onSubmit, lastQuestion, brandColor, }: QuestionConditionalProps): h.JSX.Element; | ||
export default function QuestionConditional({ question, onSubmit, lastQuestion, brandColor, storedResponseValue, goToNextQuestion, goToPreviousQuestion, }: QuestionConditionalProps): h.JSX.Element; | ||
export {}; |
@@ -9,4 +9,7 @@ import { h } from "preact"; | ||
brandColor: string; | ||
storedResponseValue: number | null; | ||
goToNextQuestion: (answer: TResponseData) => void; | ||
goToPreviousQuestion?: (answer?: TResponseData) => void; | ||
} | ||
export default function RatingQuestion({ question, onSubmit, lastQuestion, brandColor, }: RatingQuestionProps): h.JSX.Element; | ||
export default function RatingQuestion({ question, onSubmit, lastQuestion, brandColor, storedResponseValue, goToNextQuestion, goToPreviousQuestion, }: RatingQuestionProps): h.JSX.Element; | ||
export {}; |
@@ -33,3 +33,3 @@ import { Question } from "./questions"; | ||
data: { | ||
[name: string]: string | number | string[] | number[] | undefined; | ||
[name: string]: string | number | string[] | number[] | undefined | null; | ||
}; | ||
@@ -36,0 +36,0 @@ } |
{ | ||
"name": "@formbricks/js", | ||
"license": "MIT", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Formbricks-js allows you to connect your app to Formbricks, display surveys and trigger events.", | ||
@@ -59,5 +59,5 @@ "keywords": [ | ||
"regenerator-runtime": "^0.13.11", | ||
"@formbricks/api": "0.1.0", | ||
"@formbricks/types": "0.0.0", | ||
"eslint-config-formbricks": "1.0.0", | ||
"@formbricks/api": "0.1.0" | ||
"eslint-config-formbricks": "1.0.0" | ||
}, | ||
@@ -64,0 +64,0 @@ "jest": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4095870
74
11691