@inceptionbg/main 2.0.73 → 2.0.75

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.ts CHANGED
@@ -1,9 +1,12 @@
1
1
  import { ISimpleObjectWithCode, ISimpleObject, ISelectData, IBooleanObject, IAnyObject } from '@inceptionbg/iui';
2
2
  import * as react from 'react';
3
3
  import { ReactElement, FC, ReactNode, Dispatch, SetStateAction } from 'react';
4
- import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
4
+ import { AxiosResponse } from 'axios';
5
5
  export { AxiosError } from 'axios';
6
- export { default as ReactQuery, keepPreviousData, useMutation, useQuery } from '@tanstack/react-query';
6
+ import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
7
+ import * as reactQuery from '@tanstack/react-query';
8
+ export { reactQuery as ReactQuery };
9
+ export { keepPreviousData, useMutation, useQuery } from '@tanstack/react-query';
7
10
  import * as react_jsx_runtime from 'react/jsx-runtime';
8
11
 
9
12
  interface IPlace {
@@ -1334,6 +1337,10 @@ interface IToken {
1334
1337
  umcn?: string;
1335
1338
  }
1336
1339
 
1340
+ type IUseMutationData = {
1341
+ onSuccess: (data: AxiosResponse<any, any>, variables: any) => void;
1342
+ };
1343
+
1337
1344
  interface ISidebarItem {
1338
1345
  label: string;
1339
1346
  icon?: IconDefinition;
@@ -1464,4 +1471,4 @@ interface Props {
1464
1471
  }
1465
1472
  declare const IndexDataSearch: FC<Props>;
1466
1473
 
1467
- export { ApprovalStatus, AxiosTokenHandler, Constraints, DocumentApprovalFetchOption, DocumentFetchOption, DocumentFileFetchOptions, DocumentIndicies, DocumentSendFetchOption, DocumentStatuses, ErrorContext, Header, IApproval, IApprovalSearch, IApprovalStep, IApprovalStepSearch, IBankAccount, IBankAccountSearch, ICondition, IConditionIndexData, IConstraint, IContactPerson, ICountry, IDocument, IDocumentAny, IDocumentApproval, IDocumentApprovalStep, IDocumentApprovalVote, IDocumentFile, IDocumentFileParams, IDocumentIndex, IDocumentSearch, IDocumentSend, IDocumentSendSearch, IDocumentType, IEnv, IFile, IFileSignData, IFileType, IFileUpload, IInvoice, IInvoiceItem, ILatestApprovalProcess, IModule, IModuleId, IMunicipality, INote, INoteSearch, IOrganization, IOrganizationFetchOption, IOrganizationSearch, IOrganizationSettings, IPartner, IPartnerGroup, IPartnerType, IPartnersSearch, IPhaseGroup, IPhaseGroupSearch, IPlace, IRole, IRolePrivilege, IRoute, IServiceApi, ISidebarItem, IToken, IUploadDocumentType, IUser, IUserSettings, IVoteSearch, IndexDataSearch, LoginPage, MainPageWrapper, ModuleIds, NoAccessInfo, NoMatchPage, OrganizationStatus, OrganizationStatuses, PartnerGroupType, ReactQueryProvider, RolePrivilegeGroup, RolesWithPrivileges, Router, SelectOrgPage, Sidebar, UserFetchOption, UserOrgContext, UserOrgProvider, decodeToken, envVars, getUser, login, logout, modules };
1474
+ export { ApprovalStatus, AxiosTokenHandler, Constraints, DocumentApprovalFetchOption, DocumentFetchOption, DocumentFileFetchOptions, DocumentIndicies, DocumentSendFetchOption, DocumentStatuses, ErrorContext, Header, IApproval, IApprovalSearch, IApprovalStep, IApprovalStepSearch, IBankAccount, IBankAccountSearch, ICondition, IConditionIndexData, IConstraint, IContactPerson, ICountry, IDocument, IDocumentAny, IDocumentApproval, IDocumentApprovalStep, IDocumentApprovalVote, IDocumentFile, IDocumentFileParams, IDocumentIndex, IDocumentSearch, IDocumentSend, IDocumentSendSearch, IDocumentType, IEnv, IFile, IFileSignData, IFileType, IFileUpload, IInvoice, IInvoiceItem, ILatestApprovalProcess, IModule, IModuleId, IMunicipality, INote, INoteSearch, IOrganization, IOrganizationFetchOption, IOrganizationSearch, IOrganizationSettings, IPartner, IPartnerGroup, IPartnerType, IPartnersSearch, IPhaseGroup, IPhaseGroupSearch, IPlace, IRole, IRolePrivilege, IRoute, IServiceApi, ISidebarItem, IToken, IUploadDocumentType, IUseMutationData, IUser, IUserSettings, IVoteSearch, IndexDataSearch, LoginPage, MainPageWrapper, ModuleIds, NoAccessInfo, NoMatchPage, OrganizationStatus, OrganizationStatuses, PartnerGroupType, ReactQueryProvider, RolePrivilegeGroup, RolesWithPrivileges, Router, SelectOrgPage, Sidebar, UserFetchOption, UserOrgContext, UserOrgProvider, decodeToken, envVars, getUser, login, logout, modules };