@getodk/xforms-engine 0.8.0 → 0.9.0

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.
@@ -70,13 +70,15 @@ export interface InputNode<V extends ValueType = ValueType> extends BaseValueNod
70
70
  export type StringInputValue = InputValue<'string'>;
71
71
  export type IntInputValue = InputValue<'int'>;
72
72
  export type DecimalInputValue = InputValue<'decimal'>;
73
+ export type DateInputValue = InputValue<'date'>;
73
74
  export type GeopointInputValue = InputValue<'geopoint'>;
74
75
  export type StringInputNode = InputNode<'string'>;
75
76
  export type IntInputNode = InputNode<'int'>;
76
77
  export type DecimalInputNode = InputNode<'decimal'>;
78
+ export type DateInputNode = InputNode<'date'>;
77
79
  export type GeopointInputNode = InputNode<'geopoint'>;
78
- type SupportedInputValueType = 'string' | 'int' | 'decimal' | 'geopoint';
80
+ type SupportedInputValueType = 'string' | 'int' | 'decimal' | 'date' | 'geopoint';
79
81
  type TemporaryStringValueType = Exclude<ValueType, SupportedInputValueType>;
80
82
  export type TemporaryStringValueInputNode = InputNode<TemporaryStringValueType>;
81
- export type AnyInputNode = StringInputNode | IntInputNode | DecimalInputNode | GeopointInputNode | TemporaryStringValueInputNode;
83
+ export type AnyInputNode = StringInputNode | IntInputNode | DecimalInputNode | DateInputNode | GeopointInputNode | TemporaryStringValueInputNode;
82
84
  export {};
@@ -57,13 +57,15 @@ export interface NoteNode<V extends ValueType = ValueType> extends BaseValueNode
57
57
  export type StringNoteValue = NoteValue<'string'>;
58
58
  export type IntNoteValue = NoteValue<'int'>;
59
59
  export type DecimalNoteValue = NoteValue<'decimal'>;
60
+ export type DateNoteValue = NoteValue<'date'>;
60
61
  export type GeopointNoteValue = NoteValue<'geopoint'>;
61
62
  export type StringNoteNode = NoteNode<'string'>;
62
63
  export type IntNoteNode = NoteNode<'int'>;
63
64
  export type DecimalNoteNode = NoteNode<'decimal'>;
65
+ export type DateNoteNode = NoteNode<'date'>;
64
66
  export type GeopointNoteNode = NoteNode<'geopoint'>;
65
- type SupportedNoteValueType = 'string' | 'int' | 'decimal' | 'geopoint';
67
+ type SupportedNoteValueType = 'string' | 'int' | 'decimal' | 'date' | 'geopoint';
66
68
  type TemporaryStringValueType = Exclude<ValueType, SupportedNoteValueType>;
67
69
  export type TemporaryStringValueNoteNode = NoteNode<TemporaryStringValueType>;
68
- export type AnyNoteNode = StringNoteNode | IntNoteNode | DecimalNoteNode | GeopointNoteNode | TemporaryStringValueNoteNode;
70
+ export type AnyNoteNode = StringNoteNode | IntNoteNode | DecimalNoteNode | DateNoteNode | GeopointNoteNode | TemporaryStringValueNoteNode;
69
71
  export {};