Feature/3 add az table module #7
@@ -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]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user