File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 1
1
import { Provider , Type } from '@nestjs/common' ;
2
2
import { ModuleMetadata } from '@nestjs/common/interfaces' ;
3
3
4
+ /**
5
+ * @publicApi
6
+ */
4
7
export interface ServeStaticModuleOptions {
5
8
/**
6
9
* Static files root directory. Default: "client"
@@ -127,12 +130,18 @@ export interface ServeStaticModuleOptions {
127
130
} ;
128
131
}
129
132
133
+ /**
134
+ * @publicApi
135
+ */
130
136
export interface ServeStaticModuleOptionsFactory {
131
137
createLoggerOptions ( ) :
132
138
| Promise < ServeStaticModuleOptions [ ] >
133
139
| ServeStaticModuleOptions [ ] ;
134
140
}
135
141
142
+ /**
143
+ * @publicApi
144
+ */
136
145
export interface ServeStaticModuleAsyncOptions
137
146
extends Pick < ModuleMetadata , 'imports' > {
138
147
isGlobal ?: boolean ;
Original file line number Diff line number Diff line change @@ -15,6 +15,9 @@ import { AbstractLoader } from './loaders/abstract.loader';
15
15
import { SERVE_STATIC_MODULE_OPTIONS } from './serve-static.constants' ;
16
16
import { serveStaticProviders } from './serve-static.providers' ;
17
17
18
+ /**
19
+ * @publicApi
20
+ */
18
21
@Module ( {
19
22
providers : [ ...serveStaticProviders ]
20
23
} )
You can’t perform that action at this time.
0 commit comments