UNPKG

3.65 kBTypeScriptView Raw
1import { StorageCopyInputWithKey, StorageCopyInputWithPath, StorageDownloadDataInputWithKey, StorageDownloadDataInputWithPath, StorageGetPropertiesInputWithKey, StorageGetPropertiesInputWithPath, StorageGetUrlInputWithKey, StorageGetUrlInputWithPath, StorageListInputWithPath, StorageListInputWithPrefix, StorageRemoveInputWithKey, StorageRemoveInputWithPath, StorageUploadDataInputWithKey, StorageUploadDataInputWithPath } from '../../../types';
2import { CopyDestinationWithKeyOptions, CopySourceWithKeyOptions, DownloadDataWithKeyOptions, DownloadDataWithPathOptions, GetPropertiesWithKeyOptions, GetPropertiesWithPathOptions, GetUrlWithKeyOptions, GetUrlWithPathOptions, ListAllWithPathOptions, ListAllWithPrefixOptions, ListPaginateWithPathOptions, ListPaginateWithPrefixOptions, RemoveOptions, UploadDataWithKeyOptions, UploadDataWithPathOptions } from '../types';
3/**
4 * @deprecated Use {@link CopyWithPathInput} instead.
5 * Input type for S3 copy API.
6 */
7export type CopyInput = StorageCopyInputWithKey<CopySourceWithKeyOptions, CopyDestinationWithKeyOptions>;
8/**
9 * Input type with path for S3 copy API.
10 */
11export type CopyWithPathInput = StorageCopyInputWithPath;
12/**
13 * @deprecated Use {@link GetPropertiesWithPathInput} instead.
14 * Input type for S3 getProperties API.
15 */
16export type GetPropertiesInput = StorageGetPropertiesInputWithKey<GetPropertiesWithKeyOptions>;
17/**
18 * Input type with for S3 getProperties API.
19 */
20export type GetPropertiesWithPathInput = StorageGetPropertiesInputWithPath<GetPropertiesWithPathOptions>;
21/**
22 * @deprecated Use {@link GetUrlWithPathInput} instead.
23 * Input type for S3 getUrl API.
24 */
25export type GetUrlInput = StorageGetUrlInputWithKey<GetUrlWithKeyOptions>;
26/**
27 * Input type with path for S3 getUrl API.
28 */
29export type GetUrlWithPathInput = StorageGetUrlInputWithPath<GetUrlWithPathOptions>;
30/**
31 * Input type with path for S3 list API. Lists all bucket objects.
32 */
33export type ListAllWithPathInput = StorageListInputWithPath<ListAllWithPathOptions>;
34/**
35 * Input type with path for S3 list API. Lists bucket objects with pagination.
36 */
37export type ListPaginateWithPathInput = StorageListInputWithPath<ListPaginateWithPathOptions>;
38/**
39 * @deprecated Use {@link ListAllWithPathInput} instead.
40 * Input type for S3 list API. Lists all bucket objects.
41 */
42export type ListAllInput = StorageListInputWithPrefix<ListAllWithPrefixOptions>;
43/**
44 * @deprecated Use {@link ListPaginateWithPathInput} instead.
45 * Input type for S3 list API. Lists bucket objects with pagination.
46 */
47export type ListPaginateInput = StorageListInputWithPrefix<ListPaginateWithPrefixOptions>;
48/**
49 * @deprecated Use {@link RemoveWithPathInput} instead.
50 * Input type with key for S3 remove API.
51 */
52export type RemoveInput = StorageRemoveInputWithKey<RemoveOptions>;
53/**
54 * Input type with path for S3 remove API.
55 */
56export type RemoveWithPathInput = StorageRemoveInputWithPath<Omit<RemoveOptions, 'accessLevel'>>;
57/**
58 * @deprecated Use {@link DownloadDataWithPathInput} instead.
59 * Input type for S3 downloadData API.
60 */
61export type DownloadDataInput = StorageDownloadDataInputWithKey<DownloadDataWithKeyOptions>;
62/**
63 * Input type with path for S3 downloadData API.
64 */
65export type DownloadDataWithPathInput = StorageDownloadDataInputWithPath<DownloadDataWithPathOptions>;
66/**
67 * @deprecated Use {@link UploadDataWithPathInput} instead.
68 * Input type for S3 uploadData API.
69 */
70export type UploadDataInput = StorageUploadDataInputWithKey<UploadDataWithKeyOptions>;
71/**
72 * Input type with path for S3 uploadData API.
73 */
74export type UploadDataWithPathInput = StorageUploadDataInputWithPath<UploadDataWithPathOptions>;