@clxmedia/types 1.0.28 → 1.0.29

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.
@@ -204,7 +204,7 @@ export type CLXFormQuestions = {
204
204
  export type CLXRuleComparison = 'stringEquals' | 'stringContains' | 'stringStartsWith' | 'stringEndsWith' | 'stringInList' | 'stringListEntryEquals' | 'stringListEntryContains' | 'stringListEntryStartsWith' | 'stringListEntryEndsWith' | 'dateEquals' | 'dateBefore' | 'dateAfter' | 'booleanEquals' | 'fileExists' | 'numberEquals' | 'numberGreaterThan' | 'numberLessThan';
205
205
  export type CLXFormRuleDefinition = {
206
206
  subject: string;
207
- predicate: CLXFormResponseValue;
207
+ target: CLXFormResponseValue;
208
208
  comparison: CLXRuleComparison;
209
209
  };
210
210
  export type CLXConditionalOverride = {
@@ -213,42 +213,42 @@ export type CLXConditionalOverride = {
213
213
  };
214
214
  export type CLXFormRuleInstanceBase = {
215
215
  subject: CLXFormResponseValue;
216
- predicate: CLXFormResponseValue;
216
+ target: CLXFormResponseValue;
217
217
  comparisonType: CLXRuleComparison;
218
218
  };
219
219
  export type CLXFormRuleStringComparisonInstance = CLXFormRuleInstanceBase & {
220
220
  subject: CLXFormResponseStringValue;
221
- predicate: CLXFormResponseStringValue;
221
+ target: CLXFormResponseStringValue;
222
222
  comparisonType: 'stringEquals' | 'stringContains' | 'stringStartsWith' | 'stringEndsWith';
223
223
  };
224
224
  export type CLXFormRuleStringInListInstance = CLXFormRuleInstanceBase & {
225
225
  subject: CLXFormResponseStringValue;
226
- predicate: CLXFormResponseStringArrayValue;
226
+ target: CLXFormResponseStringArrayValue;
227
227
  comparisonType: 'stringInList';
228
228
  };
229
229
  export type CLXFormRuleFileExistsInstance = CLXFormRuleInstanceBase & {
230
230
  subject: CLXFormResponseFileValue;
231
- predicate: CLXFormResponseBooleanValue;
231
+ target: CLXFormResponseBooleanValue;
232
232
  comparisonType: 'fileExists';
233
233
  };
234
234
  export type CLXFormRuleDateComparisonInstance = CLXFormRuleInstanceBase & {
235
235
  subject: CLXFormResponseDateValue;
236
- predicate: CLXFormResponseDateValue;
236
+ target: CLXFormResponseDateValue;
237
237
  comparisonType: 'dateEquals' | 'dateBefore' | 'dateAfter';
238
238
  };
239
239
  export type CLXFormRuleStringListComparisonInstance = CLXFormRuleInstanceBase & {
240
240
  subject: CLXFormResponseStringArrayValue;
241
- predicate: CLXFormResponseStringValue;
241
+ target: CLXFormResponseStringValue;
242
242
  comparisonType: 'stringListEntryEquals' | 'stringListEntryContains' | 'stringListEntryStartsWith' | 'stringListEntryEndsWith';
243
243
  };
244
244
  export type CLXFormRuleBooleanEqualsInstance = CLXFormRuleInstanceBase & {
245
245
  subject: CLXFormResponseBooleanValue;
246
- predicate: CLXFormResponseBooleanValue;
246
+ target: CLXFormResponseBooleanValue;
247
247
  comparisonType: 'booleanEquals';
248
248
  };
249
249
  export type CLXFormRuleNumberComparisonInstance = CLXFormRuleInstanceBase & {
250
250
  subject: CLXFormResponseNumberValue;
251
- predicate: CLXFormResponseNumberValue;
251
+ target: CLXFormResponseNumberValue;
252
252
  comparisonType: 'numberEquals' | 'numberGreaterThan' | 'numberLessThan';
253
253
  };
254
254
  export type CLXFormRuleInstance = CLXFormRuleStringComparisonInstance | CLXFormRuleStringInListInstance | CLXFormRuleFileExistsInstance | CLXFormRuleDateComparisonInstance | CLXFormRuleStringListComparisonInstance | CLXFormRuleBooleanEqualsInstance | CLXFormRuleNumberComparisonInstance;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clxmedia/types",
3
- "version": "1.0.28",
3
+ "version": "1.0.29",
4
4
  "description": "Conversion Logix TypeScript type definitions",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",