Skip to content

Commit

Permalink
feat(types): export deploy factory options types (#196)
Browse files Browse the repository at this point in the history
  • Loading branch information
serhalp authored Oct 8, 2024
1 parent e8fba60 commit 29893cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export { setEnvironmentContext } from './environment.ts'
export { connectLambda } from './lambda_compat.ts'
export { getDeployStore, getStore } from './store_factory.ts'
export { getDeployStore, getStore, type GetStoreOptions, type GetDeployStoreOptions } from './store_factory.ts'
export { listStores } from './store_list.ts'
export type {
Store,
Expand Down
4 changes: 2 additions & 2 deletions src/store_factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { getEnvironmentContext, MissingBlobsEnvironmentError } from './environme
import { Region, REGION_AUTO } from './region.ts'
import { Store } from './store.ts'

interface GetDeployStoreOptions extends Partial<ClientOptions> {
export interface GetDeployStoreOptions extends Partial<ClientOptions> {
deployID?: string
name?: string
region?: Region
Expand Down Expand Up @@ -47,7 +47,7 @@ export const getDeployStore = (input: GetDeployStoreOptions | string = {}): Stor
return new Store({ client, deployID, name: options.name })
}

interface GetStoreOptions extends Partial<ClientOptions> {
export interface GetStoreOptions extends Partial<ClientOptions> {
deployID?: string
name?: string
}
Expand Down

0 comments on commit 29893cb

Please sign in to comment.