@clxmedia/types 1.0.46 → 1.0.48
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.
|
@@ -259,6 +259,7 @@ export type CLXFormQuestion = {
|
|
|
259
259
|
question_text: string;
|
|
260
260
|
help_text?: string;
|
|
261
261
|
response_options: CLXFormQuestionResponseOptions;
|
|
262
|
+
default_response?: CLXFormResponseValue;
|
|
262
263
|
};
|
|
263
264
|
export type CLXFormQuestions = {
|
|
264
265
|
[questionSlug: string]: CLXFormQuestion;
|
|
@@ -267,6 +268,9 @@ export type CLXFormPortableResponse = {
|
|
|
267
268
|
question: CLXFormQuestion;
|
|
268
269
|
response?: CLXFormResponseValue;
|
|
269
270
|
};
|
|
271
|
+
export type CLXFormPortableResponses = {
|
|
272
|
+
[questionSlug: string]: CLXFormPortableResponse;
|
|
273
|
+
};
|
|
270
274
|
export type CLXRuleComparison = 'stringEquals' | 'stringContains' | 'stringStartsWith' | 'stringEndsWith' | 'stringInList' | 'stringListContainsAll' | 'stringListContainsAny' | 'stringListEntryEquals' | 'stringListEntryContains' | 'stringListEntryStartsWith' | 'stringListEntryEndsWith' | 'dateEquals' | 'dateBefore' | 'dateAfter' | 'booleanEquals' | 'fileExists' | 'numberEquals' | 'numberGreaterThan' | 'numberLessThan';
|
|
271
275
|
export type CLXFormRuleDefinition = {
|
|
272
276
|
subject: string;
|