@clxmedia/types 1.0.44 → 1.0.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -32,6 +32,7 @@ export type CLXFormConditionSubjectEntry = {
|
|
|
32
32
|
export type CLXFormResponseValueBase = {
|
|
33
33
|
type: CLXFormResponseType;
|
|
34
34
|
unix_timestamp: number;
|
|
35
|
+
last_answered_by?: string;
|
|
35
36
|
errorMsg?: CLXFormErrorMsg[];
|
|
36
37
|
};
|
|
37
38
|
export type CLXFormsFilesDescriptor = {
|
|
@@ -262,6 +263,10 @@ export type CLXFormQuestion = {
|
|
|
262
263
|
export type CLXFormQuestions = {
|
|
263
264
|
[questionSlug: string]: CLXFormQuestion;
|
|
264
265
|
};
|
|
266
|
+
export type CLXFormPortableResponse = {
|
|
267
|
+
question: CLXFormQuestion;
|
|
268
|
+
response?: CLXFormResponseValue;
|
|
269
|
+
};
|
|
265
270
|
export type CLXRuleComparison = 'stringEquals' | 'stringContains' | 'stringStartsWith' | 'stringEndsWith' | 'stringInList' | 'stringListContainsAll' | 'stringListContainsAny' | 'stringListEntryEquals' | 'stringListEntryContains' | 'stringListEntryStartsWith' | 'stringListEntryEndsWith' | 'dateEquals' | 'dateBefore' | 'dateAfter' | 'booleanEquals' | 'fileExists' | 'numberEquals' | 'numberGreaterThan' | 'numberLessThan';
|
|
266
271
|
export type CLXFormRuleDefinition = {
|
|
267
272
|
subject: string;
|