@connectedxm/admin 5.0.0 → 5.1.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.
- package/dist/index.cjs +5 -0
- package/dist/index.d.cts +9 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +5 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -29889,6 +29889,11 @@ var UpdateEventQuestion = async ({
|
|
|
29889
29889
|
}
|
|
29890
29890
|
});
|
|
29891
29891
|
}
|
|
29892
|
+
if (question.dashboardVisibility !== void 0) {
|
|
29893
|
+
queryClient.invalidateQueries({
|
|
29894
|
+
queryKey: EVENT_DASHBOARD_QUESTIONS_QUERY_KEY(eventId)
|
|
29895
|
+
});
|
|
29896
|
+
}
|
|
29892
29897
|
SET_EVENT_QUESTION_QUERY_DATA(
|
|
29893
29898
|
queryClient,
|
|
29894
29899
|
[eventId, questionId || data.data.id.toString()],
|
package/dist/index.d.cts
CHANGED
|
@@ -1937,6 +1937,7 @@ interface RegistrationQuestion extends BaseRegistrationQuestion {
|
|
|
1937
1937
|
sections: BaseRegistrationSectionQuestion[];
|
|
1938
1938
|
followups: BaseRegistrationFollowupQuestion[];
|
|
1939
1939
|
subQuestionOf: RegistrationQuestionChoiceSubQuestion[];
|
|
1940
|
+
dashboardVisibility: boolean;
|
|
1940
1941
|
createdAt: string;
|
|
1941
1942
|
updatedAt: string;
|
|
1942
1943
|
}
|
|
@@ -2341,6 +2342,7 @@ interface BaseEventSessionQuestion {
|
|
|
2341
2342
|
interface EventSessionQuestion extends BaseEventSessionQuestion {
|
|
2342
2343
|
sections: BaseEventSessionSectionQuestion[];
|
|
2343
2344
|
subQuestionOf: EventSessionQuestionChoiceSubQuestion[];
|
|
2345
|
+
dashboardVisibility: boolean;
|
|
2344
2346
|
createdAt: string;
|
|
2345
2347
|
updatedAt: string;
|
|
2346
2348
|
_count: {
|
|
@@ -3742,6 +3744,7 @@ interface BaseSurveyQuestion {
|
|
|
3742
3744
|
interface SurveyQuestion extends BaseSurveyQuestion {
|
|
3743
3745
|
sections: BaseSurveySectionQuestion[];
|
|
3744
3746
|
subQuestionOf: SurveyQuestionChoiceSubQuestion[];
|
|
3747
|
+
dashboardVisibility: boolean;
|
|
3745
3748
|
createdAt: string;
|
|
3746
3749
|
updatedAt: string;
|
|
3747
3750
|
_count: {
|
|
@@ -4711,6 +4714,7 @@ interface EventSessionQuestionCreateInputs {
|
|
|
4711
4714
|
placeholder?: string | null;
|
|
4712
4715
|
description?: string | null;
|
|
4713
4716
|
default?: string | null;
|
|
4717
|
+
dashboardVisibility?: boolean;
|
|
4714
4718
|
span?: number | string | null;
|
|
4715
4719
|
mutable?: boolean;
|
|
4716
4720
|
min?: string | null;
|
|
@@ -4739,6 +4743,7 @@ interface EventSessionQuestionUpdateInputs {
|
|
|
4739
4743
|
placeholder?: string | null;
|
|
4740
4744
|
description?: string | null;
|
|
4741
4745
|
default?: string | null;
|
|
4746
|
+
dashboardVisibility?: boolean;
|
|
4742
4747
|
span?: number | string | null;
|
|
4743
4748
|
mutable?: boolean;
|
|
4744
4749
|
min?: string | null;
|
|
@@ -5128,6 +5133,7 @@ interface EventQuestionCreateInputs {
|
|
|
5128
5133
|
placeholder?: string | null;
|
|
5129
5134
|
description?: string | null;
|
|
5130
5135
|
default?: string | null;
|
|
5136
|
+
dashboardVisibility?: boolean;
|
|
5131
5137
|
span?: number | string | null;
|
|
5132
5138
|
mutable?: boolean;
|
|
5133
5139
|
min?: string | null;
|
|
@@ -5154,6 +5160,7 @@ interface EventQuestionUpdateInputs {
|
|
|
5154
5160
|
placeholder?: string | null;
|
|
5155
5161
|
description?: string | null;
|
|
5156
5162
|
default?: string | null;
|
|
5163
|
+
dashboardVisibility?: boolean;
|
|
5157
5164
|
span?: number | string | null;
|
|
5158
5165
|
mutable?: boolean;
|
|
5159
5166
|
min?: string | null;
|
|
@@ -5902,6 +5909,7 @@ interface SurveyQuestionCreateInputs {
|
|
|
5902
5909
|
placeholder?: string | null;
|
|
5903
5910
|
description?: string | null;
|
|
5904
5911
|
default?: string | null;
|
|
5912
|
+
dashboardVisibility?: boolean;
|
|
5905
5913
|
span?: number | string | null;
|
|
5906
5914
|
mutable?: boolean;
|
|
5907
5915
|
min?: string | null;
|
|
@@ -5928,6 +5936,7 @@ interface SurveyQuestionUpdateInputs {
|
|
|
5928
5936
|
placeholder?: string | null;
|
|
5929
5937
|
description?: string | null;
|
|
5930
5938
|
default?: string | null;
|
|
5939
|
+
dashboardVisibility?: boolean;
|
|
5931
5940
|
span?: number | string | null;
|
|
5932
5941
|
mutable?: boolean;
|
|
5933
5942
|
min?: string | null;
|
package/dist/index.d.ts
CHANGED
|
@@ -1937,6 +1937,7 @@ interface RegistrationQuestion extends BaseRegistrationQuestion {
|
|
|
1937
1937
|
sections: BaseRegistrationSectionQuestion[];
|
|
1938
1938
|
followups: BaseRegistrationFollowupQuestion[];
|
|
1939
1939
|
subQuestionOf: RegistrationQuestionChoiceSubQuestion[];
|
|
1940
|
+
dashboardVisibility: boolean;
|
|
1940
1941
|
createdAt: string;
|
|
1941
1942
|
updatedAt: string;
|
|
1942
1943
|
}
|
|
@@ -2341,6 +2342,7 @@ interface BaseEventSessionQuestion {
|
|
|
2341
2342
|
interface EventSessionQuestion extends BaseEventSessionQuestion {
|
|
2342
2343
|
sections: BaseEventSessionSectionQuestion[];
|
|
2343
2344
|
subQuestionOf: EventSessionQuestionChoiceSubQuestion[];
|
|
2345
|
+
dashboardVisibility: boolean;
|
|
2344
2346
|
createdAt: string;
|
|
2345
2347
|
updatedAt: string;
|
|
2346
2348
|
_count: {
|
|
@@ -3742,6 +3744,7 @@ interface BaseSurveyQuestion {
|
|
|
3742
3744
|
interface SurveyQuestion extends BaseSurveyQuestion {
|
|
3743
3745
|
sections: BaseSurveySectionQuestion[];
|
|
3744
3746
|
subQuestionOf: SurveyQuestionChoiceSubQuestion[];
|
|
3747
|
+
dashboardVisibility: boolean;
|
|
3745
3748
|
createdAt: string;
|
|
3746
3749
|
updatedAt: string;
|
|
3747
3750
|
_count: {
|
|
@@ -4711,6 +4714,7 @@ interface EventSessionQuestionCreateInputs {
|
|
|
4711
4714
|
placeholder?: string | null;
|
|
4712
4715
|
description?: string | null;
|
|
4713
4716
|
default?: string | null;
|
|
4717
|
+
dashboardVisibility?: boolean;
|
|
4714
4718
|
span?: number | string | null;
|
|
4715
4719
|
mutable?: boolean;
|
|
4716
4720
|
min?: string | null;
|
|
@@ -4739,6 +4743,7 @@ interface EventSessionQuestionUpdateInputs {
|
|
|
4739
4743
|
placeholder?: string | null;
|
|
4740
4744
|
description?: string | null;
|
|
4741
4745
|
default?: string | null;
|
|
4746
|
+
dashboardVisibility?: boolean;
|
|
4742
4747
|
span?: number | string | null;
|
|
4743
4748
|
mutable?: boolean;
|
|
4744
4749
|
min?: string | null;
|
|
@@ -5128,6 +5133,7 @@ interface EventQuestionCreateInputs {
|
|
|
5128
5133
|
placeholder?: string | null;
|
|
5129
5134
|
description?: string | null;
|
|
5130
5135
|
default?: string | null;
|
|
5136
|
+
dashboardVisibility?: boolean;
|
|
5131
5137
|
span?: number | string | null;
|
|
5132
5138
|
mutable?: boolean;
|
|
5133
5139
|
min?: string | null;
|
|
@@ -5154,6 +5160,7 @@ interface EventQuestionUpdateInputs {
|
|
|
5154
5160
|
placeholder?: string | null;
|
|
5155
5161
|
description?: string | null;
|
|
5156
5162
|
default?: string | null;
|
|
5163
|
+
dashboardVisibility?: boolean;
|
|
5157
5164
|
span?: number | string | null;
|
|
5158
5165
|
mutable?: boolean;
|
|
5159
5166
|
min?: string | null;
|
|
@@ -5902,6 +5909,7 @@ interface SurveyQuestionCreateInputs {
|
|
|
5902
5909
|
placeholder?: string | null;
|
|
5903
5910
|
description?: string | null;
|
|
5904
5911
|
default?: string | null;
|
|
5912
|
+
dashboardVisibility?: boolean;
|
|
5905
5913
|
span?: number | string | null;
|
|
5906
5914
|
mutable?: boolean;
|
|
5907
5915
|
min?: string | null;
|
|
@@ -5928,6 +5936,7 @@ interface SurveyQuestionUpdateInputs {
|
|
|
5928
5936
|
placeholder?: string | null;
|
|
5929
5937
|
description?: string | null;
|
|
5930
5938
|
default?: string | null;
|
|
5939
|
+
dashboardVisibility?: boolean;
|
|
5931
5940
|
span?: number | string | null;
|
|
5932
5941
|
mutable?: boolean;
|
|
5933
5942
|
min?: string | null;
|
package/dist/index.js
CHANGED
|
@@ -26630,6 +26630,11 @@ var UpdateEventQuestion = async ({
|
|
|
26630
26630
|
}
|
|
26631
26631
|
});
|
|
26632
26632
|
}
|
|
26633
|
+
if (question.dashboardVisibility !== void 0) {
|
|
26634
|
+
queryClient.invalidateQueries({
|
|
26635
|
+
queryKey: EVENT_DASHBOARD_QUESTIONS_QUERY_KEY(eventId)
|
|
26636
|
+
});
|
|
26637
|
+
}
|
|
26633
26638
|
SET_EVENT_QUESTION_QUERY_DATA(
|
|
26634
26639
|
queryClient,
|
|
26635
26640
|
[eventId, questionId || data.data.id.toString()],
|