-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
export * from "./nestjs-parameter-store.module"; | ||
export * from "./services/aws-param-store.service"; | ||
export * from "./nestjs-parameter-store.constant"; | ||
export * from "./interfaces"; | ||
export * from "./providers"; | ||
//# sourceMappingURL=index.d.ts.map |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { ModuleMetadata, Type } from "@nestjs/common"; | ||
import { GetParametersByPathRequest } from "@aws-sdk/client-ssm"; | ||
export interface ConfigParamStoreFactory { | ||
createOptions(): Promise<GetParametersByPathRequest> | GetParametersByPathRequest; | ||
} | ||
export interface ConfigParamStoreAsync extends Pick<ModuleMetadata, "imports"> { | ||
useExisting?: Type<ConfigParamStoreFactory>; | ||
useClass?: Type<ConfigParamStoreFactory>; | ||
useFactory?: (...args: any[]) => Promise<GetParametersByPathRequest> | GetParametersByPathRequest; | ||
inject?: any[]; | ||
} | ||
//# sourceMappingURL=config-param-store-async.interface.d.ts.map |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { ModuleMetadata, Type } from "@nestjs/common"; | ||
import { SSMClientConfig } from "@aws-sdk/client-ssm"; | ||
export interface ConfigSsmClientFactory { | ||
createOptions(): Promise<SSMClientConfig> | SSMClientConfig; | ||
} | ||
export interface ConfigSsmClientAsync extends Pick<ModuleMetadata, "imports"> { | ||
useExisting?: Type<ConfigSsmClientFactory>; | ||
useClass?: Type<ConfigSsmClientFactory>; | ||
useFactory?: (...args: any[]) => Promise<SSMClientConfig> | SSMClientConfig; | ||
inject?: any[]; | ||
} | ||
//# sourceMappingURL=config-ssm-client-async.interface.d.ts.map |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import { GetParametersByPathRequest } from "@aws-sdk/client-ssm"; | ||
export interface GetParamByPathRequest extends GetParametersByPathRequest { | ||
OnlyValue?: boolean; | ||
} | ||
//# sourceMappingURL=get-param-by-path.interface.d.ts.map |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
export * from "./config-param-store-async.interface"; | ||
export * from "./config-ssm-client-async.interface"; | ||
export * from "./get-param-by-path.interface"; | ||
//# sourceMappingURL=index.d.ts.map |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
export declare const SSM_CLIENT = "SSM_CLIENT"; | ||
export declare const CONFIG_OPTIONS = "CONFIG_OPTIONS"; | ||
export declare const GET_PARAMETERS = "GET_PARAMETERS"; | ||
//# sourceMappingURL=nestjs-parameter-store.constant.d.ts.map |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { DynamicModule } from "@nestjs/common"; | ||
import { ConfigParamStoreAsync, ConfigSsmClientAsync } from "./interfaces"; | ||
import { GetParametersByPathRequest, SSMClientConfig } from "@aws-sdk/client-ssm"; | ||
export declare class NestjsParameterStoreModule { | ||
static forRoot(options: SSMClientConfig): DynamicModule; | ||
static forRootAsync(options: ConfigSsmClientAsync): DynamicModule; | ||
static registerParamStore(options: GetParametersByPathRequest): DynamicModule; | ||
static registerParamStoreAsync(options: ConfigParamStoreAsync): DynamicModule; | ||
private static asyncSsmClientProvider; | ||
private static asyncParamStoreProvider; | ||
} | ||
//# sourceMappingURL=nestjs-parameter-store.module.d.ts.map |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import { Provider } from "@nestjs/common"; | ||
import { ConfigParamStoreAsync } from "../interfaces"; | ||
export declare const configParamStoreAsyncProvider: (options: ConfigParamStoreAsync) => Provider; | ||
//# sourceMappingURL=config-param-store-async.provider.d.ts.map |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import { ValueProvider } from "@nestjs/common"; | ||
import { GetParametersByPathRequest, SSMClientConfig } from "@aws-sdk/client-ssm"; | ||
export declare const configRegisterProvider: (options: SSMClientConfig | GetParametersByPathRequest) => ValueProvider<SSMClientConfig | GetParametersByPathRequest>; | ||
//# sourceMappingURL=config-register.provider.d.ts.map |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import { Provider } from "@nestjs/common"; | ||
import { ConfigSsmClientAsync } from "../interfaces"; | ||
export declare const configSsmClientAsyncProvider: (options: ConfigSsmClientAsync) => Provider; | ||
//# sourceMappingURL=config-ssm-client-async.provider.d.ts.map |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import { FactoryProvider } from "@nestjs/common"; | ||
import { Parameter } from "@aws-sdk/client-ssm"; | ||
export declare const getParametersProvider: FactoryProvider<Parameter[] | Record<string, unknown>>; | ||
//# sourceMappingURL=get-parameters.provider.d.ts.map |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
export * from "./get-parameters.provider"; | ||
export * from "./ssm-client.provider"; | ||
export * from "./config-register.provider"; | ||
export * from "./config-param-store-async.provider"; | ||
export * from "./config-ssm-client-async.provider"; | ||
//# sourceMappingURL=index.d.ts.map |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import { FactoryProvider } from "@nestjs/common"; | ||
import { SSMClient } from "@aws-sdk/client-ssm"; | ||
export declare const ssmClientProvider: FactoryProvider<SSMClient>; | ||
//# sourceMappingURL=ssm-client.provider.d.ts.map |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { GetParameterRequest, GetParametersRequest, Parameter, SSMClient } from "@aws-sdk/client-ssm"; | ||
import { GetParamByPathRequest } from "../interfaces"; | ||
export declare class AwsParamStoreService { | ||
private readonly ssmClient; | ||
constructor(ssmClient: SSMClient); | ||
getParameter(options: GetParameterRequest): Promise<Parameter | undefined>; | ||
getParameters(options: GetParametersRequest): Promise<Parameter[] | undefined>; | ||
getParametersByPath(options: GetParamByPathRequest): Promise<Parameter[] | Record<string, unknown>>; | ||
private getValueObject; | ||
} | ||
//# sourceMappingURL=aws-param-store.service.d.ts.map |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export { AwsParamStoreService } from "./aws-param-store.service"; | ||
//# sourceMappingURL=index.d.ts.map |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
export * from "./nestjs-parameter-store.module"; | ||
export * from "./services/aws-param-store.service"; | ||
export * from "./nestjs-parameter-store.constant"; | ||
export * from "./interfaces"; | ||
export * from "./providers"; | ||
//# sourceMappingURL=index.d.ts.map |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { ModuleMetadata, Type } from "@nestjs/common"; | ||
import { GetParametersByPathRequest } from "@aws-sdk/client-ssm"; | ||
export interface ConfigParamStoreFactory { | ||
createOptions(): Promise<GetParametersByPathRequest> | GetParametersByPathRequest; | ||
} | ||
export interface ConfigParamStoreAsync extends Pick<ModuleMetadata, "imports"> { | ||
useExisting?: Type<ConfigParamStoreFactory>; | ||
useClass?: Type<ConfigParamStoreFactory>; | ||
useFactory?: (...args: any[]) => Promise<GetParametersByPathRequest> | GetParametersByPathRequest; | ||
inject?: any[]; | ||
} | ||
//# sourceMappingURL=config-param-store-async.interface.d.ts.map |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { ModuleMetadata, Type } from "@nestjs/common"; | ||
import { SSMClientConfig } from "@aws-sdk/client-ssm"; | ||
export interface ConfigSsmClientFactory { | ||
createOptions(): Promise<SSMClientConfig> | SSMClientConfig; | ||
} | ||
export interface ConfigSsmClientAsync extends Pick<ModuleMetadata, "imports"> { | ||
useExisting?: Type<ConfigSsmClientFactory>; | ||
useClass?: Type<ConfigSsmClientFactory>; | ||
useFactory?: (...args: any[]) => Promise<SSMClientConfig> | SSMClientConfig; | ||
inject?: any[]; | ||
} | ||
//# sourceMappingURL=config-ssm-client-async.interface.d.ts.map |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import { GetParametersByPathRequest } from "@aws-sdk/client-ssm"; | ||
export interface GetParamByPathRequest extends GetParametersByPathRequest { | ||
OnlyValue?: boolean; | ||
} | ||
//# sourceMappingURL=get-param-by-path.interface.d.ts.map |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
export * from "./config-param-store-async.interface"; | ||
export * from "./config-ssm-client-async.interface"; | ||
export * from "./get-param-by-path.interface"; | ||
//# sourceMappingURL=index.d.ts.map |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
export declare const SSM_CLIENT = "SSM_CLIENT"; | ||
export declare const CONFIG_OPTIONS = "CONFIG_OPTIONS"; | ||
export declare const GET_PARAMETERS = "GET_PARAMETERS"; | ||
//# sourceMappingURL=nestjs-parameter-store.constant.d.ts.map |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { DynamicModule } from "@nestjs/common"; | ||
import { ConfigParamStoreAsync, ConfigSsmClientAsync } from "./interfaces"; | ||
import { GetParametersByPathRequest, SSMClientConfig } from "@aws-sdk/client-ssm"; | ||
export declare class NestjsParameterStoreModule { | ||
static forRoot(options: SSMClientConfig): DynamicModule; | ||
static forRootAsync(options: ConfigSsmClientAsync): DynamicModule; | ||
static registerParamStore(options: GetParametersByPathRequest): DynamicModule; | ||
static registerParamStoreAsync(options: ConfigParamStoreAsync): DynamicModule; | ||
private static asyncSsmClientProvider; | ||
private static asyncParamStoreProvider; | ||
} | ||
//# sourceMappingURL=nestjs-parameter-store.module.d.ts.map |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import { Provider } from "@nestjs/common"; | ||
import { ConfigParamStoreAsync } from "../interfaces"; | ||
export declare const configParamStoreAsyncProvider: (options: ConfigParamStoreAsync) => Provider; | ||
//# sourceMappingURL=config-param-store-async.provider.d.ts.map |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import { ValueProvider } from "@nestjs/common"; | ||
import { GetParametersByPathRequest, SSMClientConfig } from "@aws-sdk/client-ssm"; | ||
export declare const configRegisterProvider: (options: SSMClientConfig | GetParametersByPathRequest) => ValueProvider<SSMClientConfig | GetParametersByPathRequest>; | ||
//# sourceMappingURL=config-register.provider.d.ts.map |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import { Provider } from "@nestjs/common"; | ||
import { ConfigSsmClientAsync } from "../interfaces"; | ||
export declare const configSsmClientAsyncProvider: (options: ConfigSsmClientAsync) => Provider; | ||
//# sourceMappingURL=config-ssm-client-async.provider.d.ts.map |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import { FactoryProvider } from "@nestjs/common"; | ||
import { Parameter } from "@aws-sdk/client-ssm"; | ||
export declare const getParametersProvider: FactoryProvider<Parameter[] | Record<string, unknown>>; | ||
//# sourceMappingURL=get-parameters.provider.d.ts.map |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
export * from "./get-parameters.provider"; | ||
export * from "./ssm-client.provider"; | ||
export * from "./config-register.provider"; | ||
export * from "./config-param-store-async.provider"; | ||
export * from "./config-ssm-client-async.provider"; | ||
//# sourceMappingURL=index.d.ts.map |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import { FactoryProvider } from "@nestjs/common"; | ||
import { SSMClient } from "@aws-sdk/client-ssm"; | ||
export declare const ssmClientProvider: FactoryProvider<SSMClient>; | ||
//# sourceMappingURL=ssm-client.provider.d.ts.map |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { GetParameterRequest, GetParametersRequest, Parameter, SSMClient } from "@aws-sdk/client-ssm"; | ||
import { GetParamByPathRequest } from "../interfaces"; | ||
export declare class AwsParamStoreService { | ||
private readonly ssmClient; | ||
constructor(ssmClient: SSMClient); | ||
getParameter(options: GetParameterRequest): Promise<Parameter | undefined>; | ||
getParameters(options: GetParametersRequest): Promise<Parameter[] | undefined>; | ||
getParametersByPath(options: GetParamByPathRequest): Promise<Parameter[] | Record<string, unknown>>; | ||
private getValueObject; | ||
} | ||
//# sourceMappingURL=aws-param-store.service.d.ts.map |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export { AwsParamStoreService } from "./aws-param-store.service"; | ||
//# sourceMappingURL=index.d.ts.map |