@connectedxm/admin 5.0.0 → 5.1.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.
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: {
@@ -3232,7 +3234,6 @@ interface EventRoomTypeTranslation {
3232
3234
  interface BaseRoom {
3233
3235
  id: string;
3234
3236
  roomName: string;
3235
- reservationId: string | null;
3236
3237
  createdAt: string;
3237
3238
  updatedAt: string;
3238
3239
  }
@@ -3742,6 +3743,7 @@ interface BaseSurveyQuestion {
3742
3743
  interface SurveyQuestion extends BaseSurveyQuestion {
3743
3744
  sections: BaseSurveySectionQuestion[];
3744
3745
  subQuestionOf: SurveyQuestionChoiceSubQuestion[];
3746
+ dashboardVisibility: boolean;
3745
3747
  createdAt: string;
3746
3748
  updatedAt: string;
3747
3749
  _count: {
@@ -4711,6 +4713,7 @@ interface EventSessionQuestionCreateInputs {
4711
4713
  placeholder?: string | null;
4712
4714
  description?: string | null;
4713
4715
  default?: string | null;
4716
+ dashboardVisibility?: boolean;
4714
4717
  span?: number | string | null;
4715
4718
  mutable?: boolean;
4716
4719
  min?: string | null;
@@ -4739,6 +4742,7 @@ interface EventSessionQuestionUpdateInputs {
4739
4742
  placeholder?: string | null;
4740
4743
  description?: string | null;
4741
4744
  default?: string | null;
4745
+ dashboardVisibility?: boolean;
4742
4746
  span?: number | string | null;
4743
4747
  mutable?: boolean;
4744
4748
  min?: string | null;
@@ -5128,6 +5132,7 @@ interface EventQuestionCreateInputs {
5128
5132
  placeholder?: string | null;
5129
5133
  description?: string | null;
5130
5134
  default?: string | null;
5135
+ dashboardVisibility?: boolean;
5131
5136
  span?: number | string | null;
5132
5137
  mutable?: boolean;
5133
5138
  min?: string | null;
@@ -5154,6 +5159,7 @@ interface EventQuestionUpdateInputs {
5154
5159
  placeholder?: string | null;
5155
5160
  description?: string | null;
5156
5161
  default?: string | null;
5162
+ dashboardVisibility?: boolean;
5157
5163
  span?: number | string | null;
5158
5164
  mutable?: boolean;
5159
5165
  min?: string | null;
@@ -5902,6 +5908,7 @@ interface SurveyQuestionCreateInputs {
5902
5908
  placeholder?: string | null;
5903
5909
  description?: string | null;
5904
5910
  default?: string | null;
5911
+ dashboardVisibility?: boolean;
5905
5912
  span?: number | string | null;
5906
5913
  mutable?: boolean;
5907
5914
  min?: string | null;
@@ -5928,6 +5935,7 @@ interface SurveyQuestionUpdateInputs {
5928
5935
  placeholder?: string | null;
5929
5936
  description?: string | null;
5930
5937
  default?: string | null;
5938
+ dashboardVisibility?: boolean;
5931
5939
  span?: number | string | null;
5932
5940
  mutable?: boolean;
5933
5941
  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: {
@@ -3232,7 +3234,6 @@ interface EventRoomTypeTranslation {
3232
3234
  interface BaseRoom {
3233
3235
  id: string;
3234
3236
  roomName: string;
3235
- reservationId: string | null;
3236
3237
  createdAt: string;
3237
3238
  updatedAt: string;
3238
3239
  }
@@ -3742,6 +3743,7 @@ interface BaseSurveyQuestion {
3742
3743
  interface SurveyQuestion extends BaseSurveyQuestion {
3743
3744
  sections: BaseSurveySectionQuestion[];
3744
3745
  subQuestionOf: SurveyQuestionChoiceSubQuestion[];
3746
+ dashboardVisibility: boolean;
3745
3747
  createdAt: string;
3746
3748
  updatedAt: string;
3747
3749
  _count: {
@@ -4711,6 +4713,7 @@ interface EventSessionQuestionCreateInputs {
4711
4713
  placeholder?: string | null;
4712
4714
  description?: string | null;
4713
4715
  default?: string | null;
4716
+ dashboardVisibility?: boolean;
4714
4717
  span?: number | string | null;
4715
4718
  mutable?: boolean;
4716
4719
  min?: string | null;
@@ -4739,6 +4742,7 @@ interface EventSessionQuestionUpdateInputs {
4739
4742
  placeholder?: string | null;
4740
4743
  description?: string | null;
4741
4744
  default?: string | null;
4745
+ dashboardVisibility?: boolean;
4742
4746
  span?: number | string | null;
4743
4747
  mutable?: boolean;
4744
4748
  min?: string | null;
@@ -5128,6 +5132,7 @@ interface EventQuestionCreateInputs {
5128
5132
  placeholder?: string | null;
5129
5133
  description?: string | null;
5130
5134
  default?: string | null;
5135
+ dashboardVisibility?: boolean;
5131
5136
  span?: number | string | null;
5132
5137
  mutable?: boolean;
5133
5138
  min?: string | null;
@@ -5154,6 +5159,7 @@ interface EventQuestionUpdateInputs {
5154
5159
  placeholder?: string | null;
5155
5160
  description?: string | null;
5156
5161
  default?: string | null;
5162
+ dashboardVisibility?: boolean;
5157
5163
  span?: number | string | null;
5158
5164
  mutable?: boolean;
5159
5165
  min?: string | null;
@@ -5902,6 +5908,7 @@ interface SurveyQuestionCreateInputs {
5902
5908
  placeholder?: string | null;
5903
5909
  description?: string | null;
5904
5910
  default?: string | null;
5911
+ dashboardVisibility?: boolean;
5905
5912
  span?: number | string | null;
5906
5913
  mutable?: boolean;
5907
5914
  min?: string | null;
@@ -5928,6 +5935,7 @@ interface SurveyQuestionUpdateInputs {
5928
5935
  placeholder?: string | null;
5929
5936
  description?: string | null;
5930
5937
  default?: string | null;
5938
+ dashboardVisibility?: boolean;
5931
5939
  span?: number | string | null;
5932
5940
  mutable?: boolean;
5933
5941
  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()],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/admin",
3
- "version": "5.0.0",
3
+ "version": "5.1.1",
4
4
  "description": "Admin API javascript SDK",
5
5
  "author": "ConnectedXM Inc.",
6
6
  "type": "module",