@formsort/custom-question-api
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -0,6 +1,11 @@ | ||
declare type AnswerPrimitiveType = number | string | boolean; | ||
declare type AnswerType = AnswerPrimitiveType | AnswerPrimitiveType[]; | ||
export declare const setQuestionSize: (width?: number | undefined, height?: number | undefined) => void; | ||
export declare const getAnswerValue: () => Promise<unknown>; | ||
export declare const getAnswers: () => Promise<unknown>; | ||
export declare const getResponderUuid: () => Promise<unknown>; | ||
export declare const getAnswerValue: () => Promise<AnswerType>; | ||
export declare const getAnswers: () => Promise<{ | ||
[key: string]: AnswerType; | ||
}>; | ||
export declare const getResponderUuid: () => Promise<string>; | ||
export declare const clearAnswerValue: () => void; | ||
export declare const setAnswerValue: (value: string | number | boolean) => void; | ||
export {}; |
import WindowMessageEventsEmitter from './WindowMessageEmitter'; | ||
export declare const getEmitter: () => WindowMessageEventsEmitter; | ||
export declare const sendMessageToWindowParent: (type: string, payload?: any) => void; | ||
export declare const getValueFromWindowParent: (requestEventType: string, responseEventType: string) => Promise<unknown>; | ||
export declare const getValueFromWindowParent: <T>(requestEventType: string, responseEventType: string) => Promise<T>; |
{ | ||
"name": "@formsort/custom-question-api", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "Helpers for implementing custom questions in Formsort", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
10548
108