add az table module (#5)

* adding azure table client module

* adding azure table client module
This commit was merged in pull request #5.
This commit is contained in:
2024-08-11 18:43:50 -05:00
committed by GitHub
parent 17b57648d5
commit b3e1b31750
2 changed files with 4 additions and 4 deletions

View File

@@ -4,16 +4,16 @@ import { TableOptions } from './az-table.interface';
import { TABLE_OPTIONS } from './az-table.constants'; import { TABLE_OPTIONS } from './az-table.constants';
@Module({}) @Module({})
export class TablesModule { export class TableModule {
static register(options: TableOptions): DynamicModule { static register(options: TableOptions): DynamicModule {
return { return {
module: TablesModule, module: TableModule,
providers: [ providers: [
{ {
provide: TABLE_OPTIONS, provide: TABLE_OPTIONS,
useValue: options useValue: options
}, },
TablesModule TableModule
], ],
exports: [TableService] exports: [TableService]
} }

View File

@@ -1,6 +1,6 @@
{ {
"name": "@noahspan/noahspan-modules", "name": "@noahspan/noahspan-modules",
"version": "0.3.5", "version": "0.3.7",
"description": "", "description": "",
"author": "", "author": "",
"license": "UNLICENSED", "license": "UNLICENSED",