File tree 2 files changed +17
-7
lines changed
2 files changed +17
-7
lines changed Original file line number Diff line number Diff line change 1
1
export { getDeployStore , getStore } from './store_factory.ts'
2
2
export { BlobsServer } from './server.ts'
3
+ export type {
4
+ Store ,
5
+ StoreOptions ,
6
+ GetWithMetadataOptions ,
7
+ GetWithMetadataResult ,
8
+ ListOptions ,
9
+ ListResultBlob ,
10
+ SetOptions ,
11
+ BlobResponseType ,
12
+ } from './store.ts'
Original file line number Diff line number Diff line change @@ -18,13 +18,13 @@ interface NamedStoreOptions extends BaseStoreOptions {
18
18
name : string
19
19
}
20
20
21
- type StoreOptions = DeployStoreOptions | NamedStoreOptions
21
+ export type StoreOptions = DeployStoreOptions | NamedStoreOptions
22
22
23
- interface GetWithMetadataOptions {
23
+ export interface GetWithMetadataOptions {
24
24
etag ?: string
25
25
}
26
26
27
- interface GetWithMetadataResult {
27
+ export interface GetWithMetadataResult {
28
28
etag ?: string
29
29
metadata : Metadata
30
30
}
@@ -34,26 +34,26 @@ export interface ListResult {
34
34
directories : string [ ]
35
35
}
36
36
37
- interface ListResultBlob {
37
+ export interface ListResultBlob {
38
38
etag : string
39
39
key : string
40
40
}
41
41
42
- interface ListOptions {
42
+ export interface ListOptions {
43
43
directories ?: boolean
44
44
paginate ?: boolean
45
45
prefix ?: string
46
46
}
47
47
48
- interface SetOptions {
48
+ export interface SetOptions {
49
49
/**
50
50
* Arbitrary metadata object to associate with an entry. Must be seralizable
51
51
* to JSON.
52
52
*/
53
53
metadata ?: Metadata
54
54
}
55
55
56
- type BlobResponseType = 'arrayBuffer' | 'blob' | 'json' | 'stream' | 'text'
56
+ export type BlobResponseType = 'arrayBuffer' | 'blob' | 'json' | 'stream' | 'text'
57
57
58
58
export class Store {
59
59
private client : Client
You can’t perform that action at this time.
0 commit comments