@dentira/dentira-bulk-upload-widget 0.0.607 → 0.0.609
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/hooks/useAcknowledgeJob.d.ts +6 -0
- package/dist/hooks/useDownloadTemplate.d.ts +2 -2
- package/dist/hooks/useQuery.d.ts +1 -1
- package/dist/index.es.js +1956 -1942
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +60 -60
- package/dist/index.umd.js.map +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/utils/constants.d.ts +3 -0
- package/package.json +1 -1
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { BulkUploadConfig, JobType } from '../types';
|
|
2
|
+
export declare const useAcknowledgeJob: (config: BulkUploadConfig, setSelectedJob?: React.Dispatch<React.SetStateAction<JobType | null>>) => {
|
|
3
|
+
acknowledgeJob: (id: string | undefined) => Promise<void>;
|
|
4
|
+
acknowledgingJob: boolean;
|
|
5
|
+
acknowledgeJobApiError: Error | null;
|
|
6
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const useDownloadTemplate: (
|
|
1
|
+
import { BulkUploadConfig } from '../types';
|
|
2
|
+
export declare const useDownloadTemplate: (config: BulkUploadConfig) => {
|
|
3
3
|
downloadTemplate: () => Promise<void>;
|
|
4
4
|
downloadingTemplate: boolean;
|
|
5
5
|
downloadTemplateApiError: any;
|
package/dist/hooks/useQuery.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export declare function useLazyQuery<Data>(key: string, { sessionToken, APIKey }
|
|
|
7
7
|
export declare function usePostFormQuery<Data>(key: string, { sessionToken, APIKey }: sessionType, config?: SWRMutationConfiguration<Data, Error, string, unknown> | null): import('swr/mutation').SWRMutationResponse<Data, any, string, unknown>;
|
|
8
8
|
export declare function usePostQuery<Data>(key: string, { sessionToken, APIKey }: sessionType, config?: SWRMutationConfiguration<Data, Error, string, unknown> | null): import('swr/mutation').SWRMutationResponse<Data, any, string, unknown>;
|
|
9
9
|
export declare function usePutQuery<Data>(key: string, { sessionToken, APIKey }: sessionType, config?: SWRMutationConfiguration<Data, Error, string, unknown> | null): import('swr/mutation').SWRMutationResponse<Data, any, string, unknown>;
|
|
10
|
-
export declare const useCustomQuery: ({ sessionToken, APIKey }: sessionType) => {
|
|
10
|
+
export declare const useCustomQuery: ({ sessionToken, APIKey }: sessionType, method?: string | undefined) => {
|
|
11
11
|
trigger: (url: string) => Promise<any>;
|
|
12
12
|
isMutating: boolean;
|
|
13
13
|
error: Error | null;
|