@mhub/securedocuments-sdk-js
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -10,2 +10,8 @@ # Changelog | ||
## [1.0.2] - 2020-09-29 | ||
### Added | ||
- Support for multiple path for `listDocuments`. | ||
## [1.0.1] - 2020-09-07 | ||
@@ -12,0 +18,0 @@ |
@@ -29,3 +29,3 @@ import { CommonList, SecureDocument, SecureDocumentAccessUpdate, SecureDocumentAccessValidateResponse, SecureDocumentFolder, SecureDocumentList, SecureDocumentOperation } from '../shared/types'; | ||
export interface ListDocumentsInput extends Partial<Omit<CommonList<never>, 'count' | 'items'>> { | ||
path: string; | ||
path: string | string[]; | ||
selfUploadOnly?: boolean; | ||
@@ -32,0 +32,0 @@ documentType?: string; |
import { ListDocumentsInput } from '../../../core'; | ||
import { UseListDocumentsOptions, UseListDocumentsProps } from './useListDocuments.types'; | ||
export default function useListDocuments(path: string, filterOptions?: Omit<ListDocumentsInput, 'path'>, options?: UseListDocumentsOptions): UseListDocumentsProps; | ||
export default function useListDocuments(path: string | string[], filterOptions?: Omit<ListDocumentsInput, 'path'>, options?: UseListDocumentsOptions): UseListDocumentsProps; | ||
//# sourceMappingURL=useListDocuments.d.ts.map |
{ | ||
"name": "@mhub/securedocuments-sdk-js", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "MHub Secure Documents Javascript API Client, with integration for React.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
159266