sowhat-types 2.0.153 → 2.0.154

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.
package/dist/index.d.mts CHANGED
@@ -959,22 +959,21 @@ interface UserReportResponse {
959
959
  }
960
960
 
961
961
  interface QuestionOptionResponse {
962
- id: string;
963
- value: string;
962
+ key: string;
964
963
  label: string;
965
- position: number;
966
964
  }
967
965
 
968
966
  interface QuestionResponse {
969
- id: string;
970
- text: string;
971
- description: string;
967
+ key: string;
968
+ version: number;
972
969
  category: QuestionCategoryEnum;
970
+ position: number;
973
971
  type: QuestionTypeEnum;
972
+ text: string;
973
+ description: string;
974
974
  isRequired: boolean;
975
975
  isAccessible: boolean;
976
- position: number;
977
- options: QuestionOptionResponse[];
976
+ options: QuestionOptionResponse[] | null;
978
977
  }
979
978
 
980
979
  interface UserAnswerResponse {
package/dist/index.d.ts CHANGED
@@ -959,22 +959,21 @@ interface UserReportResponse {
959
959
  }
960
960
 
961
961
  interface QuestionOptionResponse {
962
- id: string;
963
- value: string;
962
+ key: string;
964
963
  label: string;
965
- position: number;
966
964
  }
967
965
 
968
966
  interface QuestionResponse {
969
- id: string;
970
- text: string;
971
- description: string;
967
+ key: string;
968
+ version: number;
972
969
  category: QuestionCategoryEnum;
970
+ position: number;
973
971
  type: QuestionTypeEnum;
972
+ text: string;
973
+ description: string;
974
974
  isRequired: boolean;
975
975
  isAccessible: boolean;
976
- position: number;
977
- options: QuestionOptionResponse[];
976
+ options: QuestionOptionResponse[] | null;
978
977
  }
979
978
 
980
979
  interface UserAnswerResponse {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sowhat-types",
3
- "version": "2.0.153",
3
+ "version": "2.0.154",
4
4
  "description": "Sowhat types",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",