@reqquest/ui 1.1.18 → 1.2.1

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.
@@ -641,6 +641,8 @@ export interface RequirementPrompt {
641
641
  fetchedData: (Scalars['JsonData'] | null);
642
642
  /** Extra configuration data that is relevant for this prompt. This configuration is explicitly gathered from related requirements and prompts by the gatherConfig function in the prompt definition. */
643
643
  gatheredConfigData: Scalars['JsonData'];
644
+ /** Identifies if the prompt already has saved data. Assists in determining if the user has previously interacted with this prompt. */
645
+ hasSavedData: Scalars['Boolean'];
644
646
  id: Scalars['ID'];
645
647
  /** When true, this prompt has been invalidated by the answer to another prompt. The `answered` field will remain true so be sure to check this field as well when determining whether the prompt is complete. */
646
648
  invalidated: Scalars['Boolean'];
@@ -1776,6 +1778,8 @@ export interface RequirementPromptGenqlSelection {
1776
1778
  } | boolean | number;
1777
1779
  /** Extra configuration data that is relevant for this prompt. This configuration is explicitly gathered from related requirements and prompts by the gatherConfig function in the prompt definition. */
1778
1780
  gatheredConfigData?: boolean | number;
1781
+ /** Identifies if the prompt already has saved data. Assists in determining if the user has previously interacted with this prompt. */
1782
+ hasSavedData?: boolean | number;
1779
1783
  id?: boolean | number;
1780
1784
  /** When true, this prompt has been invalidated by the answer to another prompt. The `answered` field will remain true so be sure to check this field as well when determining whether the prompt is complete. */
1781
1785
  invalidated?: boolean | number;
@@ -1614,6 +1614,11 @@ type RequirementPrompt {
1614
1614
  Extra configuration data that is relevant for this prompt. This configuration is explicitly gathered from related requirements and prompts by the gatherConfig function in the prompt definition.
1615
1615
  """
1616
1616
  gatheredConfigData: JsonData!
1617
+
1618
+ """
1619
+ Identifies if the prompt already has saved data. Assists in determining if the user has previously interacted with this prompt.
1620
+ """
1621
+ hasSavedData: Boolean!
1617
1622
  id: ID!
1618
1623
 
1619
1624
  """
@@ -693,6 +693,7 @@ declare const _default: {
693
693
  schemaVersion: number[];
694
694
  })[];
695
695
  gatheredConfigData: number[];
696
+ hasSavedData: number[];
696
697
  id: number[];
697
698
  invalidated: number[];
698
699
  invalidatedReason: number[];
@@ -1824,6 +1824,9 @@ export default {
1824
1824
  "gatheredConfigData": [
1825
1825
  51
1826
1826
  ],
1827
+ "hasSavedData": [
1828
+ 38
1829
+ ],
1827
1830
  "id": [
1828
1831
  46
1829
1832
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reqquest/ui",
3
- "version": "1.1.18",
3
+ "version": "1.2.1",
4
4
  "exports": {
5
5
  ".": {
6
6
  "types": "./dist/index.d.ts",