@fctc/interface-logic 2.4.0 → 2.4.2

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/provider.mjs CHANGED
@@ -2851,8 +2851,7 @@ function useActionService() {
2851
2851
  async ({
2852
2852
  idAction,
2853
2853
  context,
2854
- service,
2855
- xNode
2854
+ service
2856
2855
  }) => {
2857
2856
  const jsonData = {
2858
2857
  action_id: idAction,
@@ -2862,7 +2861,7 @@ function useActionService() {
2862
2861
  "/load_action" /* LOAD_ACTION */,
2863
2862
  jsonData,
2864
2863
  {
2865
- headers: { "Content-Type": "application/json", x_node: xNode }
2864
+ headers: { "Content-Type": "application/json" }
2866
2865
  },
2867
2866
  service
2868
2867
  );
@@ -2875,8 +2874,7 @@ function useActionService() {
2875
2874
  ids = [],
2876
2875
  context,
2877
2876
  method,
2878
- service,
2879
- xNode
2877
+ service
2880
2878
  }) => {
2881
2879
  try {
2882
2880
  const jsonData = {
@@ -2889,8 +2887,7 @@ function useActionService() {
2889
2887
  "/call" /* CALL_PATH */,
2890
2888
  jsonData,
2891
2889
  {
2892
- headers: { "Content-Type": "application/json" },
2893
- ...xNode ? { x_node: xNode } : {}
2890
+ headers: { "Content-Type": "application/json" }
2894
2891
  },
2895
2892
  service
2896
2893
  );
@@ -2906,8 +2903,7 @@ function useActionService() {
2906
2903
  model,
2907
2904
  ids,
2908
2905
  context,
2909
- service,
2910
- xNode
2906
+ service
2911
2907
  }) => {
2912
2908
  const jsonData = {
2913
2909
  model,
@@ -2919,8 +2915,7 @@ function useActionService() {
2919
2915
  "/call" /* CALL_PATH */,
2920
2916
  jsonData,
2921
2917
  {
2922
- headers: { "Content-Type": "application/json" },
2923
- ...xNode ? { x_node: xNode } : {}
2918
+ headers: { "Content-Type": "application/json" }
2924
2919
  },
2925
2920
  service
2926
2921
  );
@@ -2932,8 +2927,7 @@ function useActionService() {
2932
2927
  model,
2933
2928
  id,
2934
2929
  context,
2935
- service,
2936
- xNode
2930
+ service
2937
2931
  }) => {
2938
2932
  const jsonData = {
2939
2933
  model,
@@ -2945,8 +2939,7 @@ function useActionService() {
2945
2939
  "/call" /* CALL_PATH */,
2946
2940
  jsonData,
2947
2941
  {
2948
- headers: { "Content-Type": "application/json" },
2949
- ...xNode ? { x_node: xNode } : {}
2942
+ headers: { "Content-Type": "application/json" }
2950
2943
  },
2951
2944
  service
2952
2945
  );
@@ -2993,8 +2986,7 @@ function useActionService() {
2993
2986
  async ({
2994
2987
  idAction,
2995
2988
  context,
2996
- service,
2997
- xNode
2989
+ service
2998
2990
  }) => {
2999
2991
  const jsonData = {
3000
2992
  action_id: idAction,
@@ -3004,8 +2996,7 @@ function useActionService() {
3004
2996
  "/run_action" /* RUN_ACTION_PATH */,
3005
2997
  jsonData,
3006
2998
  {
3007
- headers: { "Content-Type": "application/json" },
3008
- ...xNode ? { x_node: xNode } : {}
2999
+ headers: { "Content-Type": "application/json" }
3009
3000
  },
3010
3001
  service
3011
3002
  );
@@ -3339,7 +3330,7 @@ function useExcelService() {
3339
3330
  };
3340
3331
  return env.requests.post("/call" /* CALL_PATH */, jsonData, {
3341
3332
  headers: {
3342
- "Content-Type": "multipart/form-data"
3333
+ "Content-Type": "application/json"
3343
3334
  }
3344
3335
  });
3345
3336
  },
@@ -3728,11 +3719,7 @@ function useModelService() {
3728
3719
  });
3729
3720
  }, [env]);
3730
3721
  const getAll = useCallback7(
3731
- async ({
3732
- data,
3733
- service,
3734
- xNode
3735
- }) => {
3722
+ async ({ data, service }) => {
3736
3723
  const jsonReadGroup = data.type == "calendar" ? { fields: data?.fields } : data.fields && data.fields.length > 0 && data.groupby && data.groupby.length > 0 && data.groupby[0] ? {
3737
3724
  fields: data.fields,
3738
3725
  groupby: data.groupby
@@ -3758,8 +3745,7 @@ function useModelService() {
3758
3745
  jsonData,
3759
3746
  {
3760
3747
  headers: {
3761
- "Content-Type": "application/json",
3762
- ...xNode ? { x_node: xNode } : {}
3748
+ "Content-Type": "application/json"
3763
3749
  }
3764
3750
  },
3765
3751
  service
@@ -3836,8 +3822,7 @@ function useModelService() {
3836
3822
  model,
3837
3823
  specification,
3838
3824
  context,
3839
- service,
3840
- xNode
3825
+ service
3841
3826
  }) => {
3842
3827
  const jsonData = {
3843
3828
  model,
@@ -3853,8 +3838,7 @@ function useModelService() {
3853
3838
  jsonData,
3854
3839
  {
3855
3840
  headers: {
3856
- "Content-Type": "application/json",
3857
- ...xNode ? { x_node: xNode } : {}
3841
+ "Content-Type": "application/json"
3858
3842
  }
3859
3843
  },
3860
3844
  service
@@ -3870,8 +3854,7 @@ function useModelService() {
3870
3854
  specification = {},
3871
3855
  context = {},
3872
3856
  path,
3873
- service,
3874
- xNode
3857
+ service
3875
3858
  }) => {
3876
3859
  const jsonData = {
3877
3860
  model,
@@ -3888,8 +3871,7 @@ function useModelService() {
3888
3871
  jsonData,
3889
3872
  {
3890
3873
  headers: {
3891
- "Content-Type": "application/json",
3892
- ...xNode ? { x_node: xNode } : {}
3874
+ "Content-Type": "application/json"
3893
3875
  }
3894
3876
  },
3895
3877
  service
@@ -3925,8 +3907,7 @@ function useModelService() {
3925
3907
  specification,
3926
3908
  context,
3927
3909
  fieldChange,
3928
- service,
3929
- xNode
3910
+ service
3930
3911
  }) => {
3931
3912
  const jsonData = {
3932
3913
  model,
@@ -3944,8 +3925,7 @@ function useModelService() {
3944
3925
  jsonData,
3945
3926
  {
3946
3927
  headers: {
3947
- "Content-Type": "application/json",
3948
- ...xNode ? { x_node: xNode } : {}
3928
+ "Content-Type": "application/json"
3949
3929
  }
3950
3930
  },
3951
3931
  service
@@ -3954,11 +3934,7 @@ function useModelService() {
3954
3934
  [env]
3955
3935
  );
3956
3936
  const getListFieldsOnchange = useCallback7(
3957
- async ({
3958
- model,
3959
- service,
3960
- xNode
3961
- }) => {
3937
+ async ({ model, service }) => {
3962
3938
  const jsonData = {
3963
3939
  model,
3964
3940
  method: "get_fields_onchange" /* GET_ONCHANGE_FIELDS */
@@ -3968,8 +3944,7 @@ function useModelService() {
3968
3944
  jsonData,
3969
3945
  {
3970
3946
  headers: {
3971
- "Content-Type": "application/json",
3972
- ...xNode ? { x_node: xNode } : {}
3947
+ "Content-Type": "application/json"
3973
3948
  }
3974
3949
  },
3975
3950
  service
@@ -4243,11 +4218,7 @@ function useViewService() {
4243
4218
  [env]
4244
4219
  );
4245
4220
  const getSelectionItem = useCallback9(
4246
- async ({
4247
- data,
4248
- service,
4249
- xNode
4250
- }) => {
4221
+ async ({ data, service }) => {
4251
4222
  const jsonData = {
4252
4223
  model: data.model,
4253
4224
  ids: [],
@@ -4270,8 +4241,7 @@ function useViewService() {
4270
4241
  jsonData,
4271
4242
  {
4272
4243
  headers: {
4273
- "Content-Type": "application/json",
4274
- ...xNode ? { x_node: xNode } : {}
4244
+ "Content-Type": "application/json"
4275
4245
  }
4276
4246
  },
4277
4247
  service
@@ -4738,7 +4708,7 @@ var axiosClient = {
4738
4708
  formatUrl(getBaseUrl(config?.baseUrl, serviceName) + url, db),
4739
4709
  headers
4740
4710
  ).then(responseBody),
4741
- post: async (url, body, headers, serviceName) => instance.post(
4711
+ post: (url, body, headers, serviceName) => instance.post(
4742
4712
  formatUrl(getBaseUrl(config?.baseUrl, serviceName) + url, db),
4743
4713
  body,
4744
4714
  headers
@@ -5437,15 +5407,13 @@ var useGetDetail = () => {
5437
5407
  ids,
5438
5408
  specification,
5439
5409
  context,
5440
- service,
5441
- xNode
5410
+ service
5442
5411
  }) => getDetail({
5443
5412
  model,
5444
5413
  ids,
5445
5414
  specification,
5446
5415
  context,
5447
- service,
5448
- xNode
5416
+ service
5449
5417
  })
5450
5418
  });
5451
5419
  };
@@ -5455,16 +5423,14 @@ var use_get_detail_default = useGetDetail;
5455
5423
  import { useQuery as useQuery9 } from "@tanstack/react-query";
5456
5424
  var useGetFieldOnChange = ({
5457
5425
  model,
5458
- service,
5459
- xNode
5426
+ service
5460
5427
  }) => {
5461
5428
  const { getListFieldsOnchange } = useModelService();
5462
5429
  return useQuery9({
5463
5430
  queryKey: [`field-onchange-${model}`, model],
5464
5431
  queryFn: () => getListFieldsOnchange({
5465
5432
  model,
5466
- service,
5467
- xNode
5433
+ service
5468
5434
  }).then((res) => {
5469
5435
  if (res) {
5470
5436
  return res;
@@ -5649,8 +5615,7 @@ var useOnChangeForm = () => {
5649
5615
  context,
5650
5616
  object,
5651
5617
  fieldChange,
5652
- service,
5653
- xNode
5618
+ service
5654
5619
  }) => onChange({
5655
5620
  ids,
5656
5621
  model,
@@ -5658,8 +5623,7 @@ var useOnChangeForm = () => {
5658
5623
  context,
5659
5624
  object,
5660
5625
  fieldChange,
5661
- service,
5662
- xNode
5626
+ service
5663
5627
  })
5664
5628
  });
5665
5629
  };
@@ -5677,9 +5641,8 @@ var useSave = () => {
5677
5641
  specification,
5678
5642
  context,
5679
5643
  path,
5680
- service,
5681
- xNode
5682
- }) => save({ ids, model, data, specification, context, path, service, xNode })
5644
+ service
5645
+ }) => save({ ids, model, data, specification, context, path, service })
5683
5646
  });
5684
5647
  };
5685
5648
  var use_save_default = useSave;
@@ -5732,15 +5695,13 @@ var useButton = () => {
5732
5695
  ids,
5733
5696
  context,
5734
5697
  method,
5735
- service,
5736
- xNode
5698
+ service
5737
5699
  }) => callButton({
5738
5700
  model,
5739
5701
  ids,
5740
5702
  context,
5741
5703
  method,
5742
- service,
5743
- xNode
5704
+ service
5744
5705
  }),
5745
5706
  onSuccess: (response) => {
5746
5707
  return response;
@@ -5758,14 +5719,12 @@ var useDuplicateRecord = () => {
5758
5719
  id,
5759
5720
  model,
5760
5721
  context,
5761
- service,
5762
- xNode
5722
+ service
5763
5723
  }) => duplicateRecord({
5764
5724
  id,
5765
5725
  model,
5766
5726
  context,
5767
- service,
5768
- xNode
5727
+ service
5769
5728
  })
5770
5729
  });
5771
5730
  };
@@ -5847,12 +5806,12 @@ var useGetGroups = ({
5847
5806
  var use_get_groups_default = useGetGroups;
5848
5807
 
5849
5808
  // src/hooks/view/use-get-list-data.ts
5850
- import { keepPreviousData, useQuery as useQuery14 } from "@tanstack/react-query";
5851
- var useGetListData = (listDataProps, queryKey, enabled, service, xNode) => {
5809
+ import { useQuery as useQuery14 } from "@tanstack/react-query";
5810
+ var useGetListData = (listDataProps, queryKey, enabled, service) => {
5852
5811
  const { getAll } = useModelService();
5853
5812
  return useQuery14({
5854
5813
  queryKey,
5855
- queryFn: () => getAll({ data: listDataProps, service, xNode }).then((res) => {
5814
+ queryFn: () => getAll({ data: listDataProps, service }).then((res) => {
5856
5815
  if (res) {
5857
5816
  return res;
5858
5817
  }
@@ -5860,8 +5819,7 @@ var useGetListData = (listDataProps, queryKey, enabled, service, xNode) => {
5860
5819
  }),
5861
5820
  enabled,
5862
5821
  refetchOnWindowFocus: false,
5863
- staleTime: 0,
5864
- placeholderData: keepPreviousData
5822
+ staleTime: 0
5865
5823
  });
5866
5824
  };
5867
5825
  var use_get_list_data_default = useGetListData;
@@ -5930,13 +5888,12 @@ var useGetSelection = ({
5930
5888
  data,
5931
5889
  queryKey,
5932
5890
  enabled,
5933
- service,
5934
- xNode
5891
+ service
5935
5892
  }) => {
5936
5893
  const { getSelectionItem } = useViewService();
5937
5894
  return useQuery17({
5938
5895
  queryKey,
5939
- queryFn: () => getSelectionItem({ data, service, xNode }),
5896
+ queryFn: () => getSelectionItem({ data, service }),
5940
5897
  enabled,
5941
5898
  refetchOnWindowFocus: false
5942
5899
  });
@@ -5965,14 +5922,12 @@ var useLoadAction = () => {
5965
5922
  mutationFn: ({
5966
5923
  idAction,
5967
5924
  context,
5968
- service,
5969
- xNode
5925
+ service
5970
5926
  }) => {
5971
5927
  return loadAction({
5972
5928
  idAction,
5973
5929
  context,
5974
- service,
5975
- xNode
5930
+ service
5976
5931
  });
5977
5932
  }
5978
5933
  });
@@ -6014,14 +5969,12 @@ var useRemoveRow = () => {
6014
5969
  model,
6015
5970
  ids,
6016
5971
  context,
6017
- service,
6018
- xNode
5972
+ service
6019
5973
  }) => removeRows({
6020
5974
  model,
6021
5975
  ids,
6022
5976
  context,
6023
- service,
6024
- xNode
5977
+ service
6025
5978
  })
6026
5979
  });
6027
5980
  };
@@ -6053,13 +6006,11 @@ var useRunAction = () => {
6053
6006
  mutationFn: ({
6054
6007
  idAction,
6055
6008
  context,
6056
- service,
6057
- xNode
6009
+ service
6058
6010
  }) => runAction({
6059
6011
  idAction,
6060
6012
  context,
6061
- service,
6062
- xNode
6013
+ service
6063
6014
  })
6064
6015
  });
6065
6016
  };
@@ -1,33 +1,29 @@
1
- import { C as ContextApi, L as LoginCredentialBody, R as ResetPasswordRequest, U as UpdatePasswordRequest, b as GetListParams, a as GetDetailParams, S as SaveParams, D as DeleteParams, O as OnChangeParams, V as ViewData, f as GetViewParams, c as GetSelectionType } from './view-type-DioSS9fJ.mjs';
1
+ import { C as ContextApi, L as LoginCredentialBody, R as ResetPasswordRequest, U as UpdatePasswordRequest, b as GetListParams, a as GetDetailParams, S as SaveParams, D as DeleteParams, O as OnChangeParams, V as ViewData, f as GetViewParams, c as GetSelectionType } from './view-type-p4JdAOsz.mjs';
2
2
 
3
3
  declare function useActionService(): {
4
- loadAction: ({ idAction, context, service, xNode, }: {
4
+ loadAction: ({ idAction, context, service, }: {
5
5
  idAction: number;
6
6
  context: ContextApi;
7
7
  service?: string;
8
- xNode?: string;
9
8
  }) => Promise<any>;
10
- callButton: ({ model, ids, context, method, service, xNode, }: {
9
+ callButton: ({ model, ids, context, method, service, }: {
11
10
  model: string;
12
11
  ids: Record<string, any>[] | any;
13
12
  context: ContextApi;
14
13
  method: any;
15
14
  service?: string;
16
- xNode?: string;
17
15
  }) => Promise<any>;
18
- removeRows: ({ model, ids, context, service, xNode, }: {
16
+ removeRows: ({ model, ids, context, service, }: {
19
17
  model: string;
20
18
  ids: Record<string, any>[] | any;
21
19
  context: ContextApi;
22
20
  service?: string;
23
- xNode?: string;
24
21
  }) => Promise<any>;
25
- duplicateRecord: ({ model, id, context, service, xNode, }: {
22
+ duplicateRecord: ({ model, id, context, service, }: {
26
23
  model: string;
27
24
  id: any;
28
25
  context: ContextApi;
29
26
  service?: string;
30
- xNode?: string;
31
27
  }) => Promise<any>;
32
28
  getPrintReportName: ({ id }: {
33
29
  id: number;
@@ -37,11 +33,10 @@ declare function useActionService(): {
37
33
  report: any;
38
34
  db: any;
39
35
  }) => Promise<any>;
40
- runAction: ({ idAction, context, service, xNode, }: {
36
+ runAction: ({ idAction, context, service, }: {
41
37
  idAction: number;
42
38
  context: ContextApi;
43
39
  service?: string;
44
- xNode?: string;
45
40
  }) => Promise<any>;
46
41
  };
47
42
 
@@ -176,23 +171,21 @@ declare function useModelService(): {
176
171
  }) => Promise<any>;
177
172
  getCurrency: () => Promise<any>;
178
173
  getConversionRate: () => Promise<any>;
179
- getAll: ({ data, service, xNode, }: {
174
+ getAll: ({ data, service }: {
180
175
  data: any;
181
176
  service?: string;
182
- xNode?: string;
183
177
  }) => Promise<any>;
184
178
  getListCalendar: ({ data }: {
185
179
  data: any;
186
180
  }) => Promise<any>;
187
181
  getList: ({ model, ids, specification, domain, offset, order, context, limit, }: GetListParams) => Promise<any>;
188
- getDetail: ({ ids, model, specification, context, service, xNode, }: GetDetailParams) => Promise<any>;
189
- save: ({ model, ids, data, specification, context, path, service, xNode, }: SaveParams) => Promise<any>;
182
+ getDetail: ({ ids, model, specification, context, service, }: GetDetailParams) => Promise<any>;
183
+ save: ({ model, ids, data, specification, context, path, service, }: SaveParams) => Promise<any>;
190
184
  deleteApi: ({ ids, model, service }: DeleteParams) => Promise<any>;
191
- onChange: ({ ids, model, object, specification, context, fieldChange, service, xNode, }: OnChangeParams) => Promise<any>;
192
- getListFieldsOnchange: ({ model, service, xNode, }: {
185
+ onChange: ({ ids, model, object, specification, context, fieldChange, service, }: OnChangeParams) => Promise<any>;
186
+ getListFieldsOnchange: ({ model, service }: {
193
187
  model: string;
194
188
  service?: string;
195
- xNode?: string;
196
189
  }) => Promise<any>;
197
190
  parseORMOdoo: (data: Record<string, any>) => {
198
191
  [x: string]: any;
@@ -221,10 +214,9 @@ declare function useViewService(): {
221
214
  context: any;
222
215
  offset: any;
223
216
  }) => Promise<any>;
224
- getSelectionItem: ({ data, service, xNode, }: {
217
+ getSelectionItem: ({ data, service }: {
225
218
  data: GetSelectionType;
226
219
  service?: string;
227
- xNode?: string;
228
220
  }) => Promise<any>;
229
221
  loadMessages: () => Promise<any>;
230
222
  getVersion: () => Promise<any>;
@@ -1,33 +1,29 @@
1
- import { C as ContextApi, L as LoginCredentialBody, R as ResetPasswordRequest, U as UpdatePasswordRequest, b as GetListParams, a as GetDetailParams, S as SaveParams, D as DeleteParams, O as OnChangeParams, V as ViewData, f as GetViewParams, c as GetSelectionType } from './view-type-DioSS9fJ.js';
1
+ import { C as ContextApi, L as LoginCredentialBody, R as ResetPasswordRequest, U as UpdatePasswordRequest, b as GetListParams, a as GetDetailParams, S as SaveParams, D as DeleteParams, O as OnChangeParams, V as ViewData, f as GetViewParams, c as GetSelectionType } from './view-type-p4JdAOsz.js';
2
2
 
3
3
  declare function useActionService(): {
4
- loadAction: ({ idAction, context, service, xNode, }: {
4
+ loadAction: ({ idAction, context, service, }: {
5
5
  idAction: number;
6
6
  context: ContextApi;
7
7
  service?: string;
8
- xNode?: string;
9
8
  }) => Promise<any>;
10
- callButton: ({ model, ids, context, method, service, xNode, }: {
9
+ callButton: ({ model, ids, context, method, service, }: {
11
10
  model: string;
12
11
  ids: Record<string, any>[] | any;
13
12
  context: ContextApi;
14
13
  method: any;
15
14
  service?: string;
16
- xNode?: string;
17
15
  }) => Promise<any>;
18
- removeRows: ({ model, ids, context, service, xNode, }: {
16
+ removeRows: ({ model, ids, context, service, }: {
19
17
  model: string;
20
18
  ids: Record<string, any>[] | any;
21
19
  context: ContextApi;
22
20
  service?: string;
23
- xNode?: string;
24
21
  }) => Promise<any>;
25
- duplicateRecord: ({ model, id, context, service, xNode, }: {
22
+ duplicateRecord: ({ model, id, context, service, }: {
26
23
  model: string;
27
24
  id: any;
28
25
  context: ContextApi;
29
26
  service?: string;
30
- xNode?: string;
31
27
  }) => Promise<any>;
32
28
  getPrintReportName: ({ id }: {
33
29
  id: number;
@@ -37,11 +33,10 @@ declare function useActionService(): {
37
33
  report: any;
38
34
  db: any;
39
35
  }) => Promise<any>;
40
- runAction: ({ idAction, context, service, xNode, }: {
36
+ runAction: ({ idAction, context, service, }: {
41
37
  idAction: number;
42
38
  context: ContextApi;
43
39
  service?: string;
44
- xNode?: string;
45
40
  }) => Promise<any>;
46
41
  };
47
42
 
@@ -176,23 +171,21 @@ declare function useModelService(): {
176
171
  }) => Promise<any>;
177
172
  getCurrency: () => Promise<any>;
178
173
  getConversionRate: () => Promise<any>;
179
- getAll: ({ data, service, xNode, }: {
174
+ getAll: ({ data, service }: {
180
175
  data: any;
181
176
  service?: string;
182
- xNode?: string;
183
177
  }) => Promise<any>;
184
178
  getListCalendar: ({ data }: {
185
179
  data: any;
186
180
  }) => Promise<any>;
187
181
  getList: ({ model, ids, specification, domain, offset, order, context, limit, }: GetListParams) => Promise<any>;
188
- getDetail: ({ ids, model, specification, context, service, xNode, }: GetDetailParams) => Promise<any>;
189
- save: ({ model, ids, data, specification, context, path, service, xNode, }: SaveParams) => Promise<any>;
182
+ getDetail: ({ ids, model, specification, context, service, }: GetDetailParams) => Promise<any>;
183
+ save: ({ model, ids, data, specification, context, path, service, }: SaveParams) => Promise<any>;
190
184
  deleteApi: ({ ids, model, service }: DeleteParams) => Promise<any>;
191
- onChange: ({ ids, model, object, specification, context, fieldChange, service, xNode, }: OnChangeParams) => Promise<any>;
192
- getListFieldsOnchange: ({ model, service, xNode, }: {
185
+ onChange: ({ ids, model, object, specification, context, fieldChange, service, }: OnChangeParams) => Promise<any>;
186
+ getListFieldsOnchange: ({ model, service }: {
193
187
  model: string;
194
188
  service?: string;
195
- xNode?: string;
196
189
  }) => Promise<any>;
197
190
  parseORMOdoo: (data: Record<string, any>) => {
198
191
  [x: string]: any;
@@ -221,10 +214,9 @@ declare function useViewService(): {
221
214
  context: any;
222
215
  offset: any;
223
216
  }) => Promise<any>;
224
- getSelectionItem: ({ data, service, xNode, }: {
217
+ getSelectionItem: ({ data, service }: {
225
218
  data: GetSelectionType;
226
219
  service?: string;
227
- xNode?: string;
228
220
  }) => Promise<any>;
229
221
  loadMessages: () => Promise<any>;
230
222
  getVersion: () => Promise<any>;