mirror of
https://github.com/nestjs/nest.git
synced 2026-02-21 23:11:44 +00:00
Merge pull request #11032 from Tony133/chore/mark-facing-apis-public-fastify-adapter
chore(fastify): mark facing apis public fastify
This commit is contained in:
@@ -93,6 +93,9 @@ type VersionedRoute<TRequest, TResponse> = ((
|
||||
type FastifyRawRequest<TServer extends RawServerBase> =
|
||||
RawRequestDefaultExpression<TServer> & { originalUrl?: string };
|
||||
|
||||
/**
|
||||
* @publicApi
|
||||
*/
|
||||
export class FastifyAdapter<
|
||||
TServer extends RawServerBase = RawServerDefault,
|
||||
TRawRequest extends FastifyRawRequest<TServer> = FastifyRawRequest<TServer>,
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
/**
|
||||
* "fastify-static" interfaces
|
||||
* @see https://github.com/fastify/fastify-static/blob/master/types/index.d.ts
|
||||
* @publicApi
|
||||
*/
|
||||
import { Stats } from 'fs';
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
/**
|
||||
* "fastify/view" interfaces
|
||||
* @see https://github.com/fastify/point-of-view/blob/master/types/index.d.ts
|
||||
* @publicApi
|
||||
*/
|
||||
export interface FastifyViewOptions {
|
||||
engine: {
|
||||
|
||||
@@ -16,6 +16,9 @@ import {
|
||||
import { FastifyStaticOptions, FastifyViewOptions } from './external';
|
||||
import { NestFastifyBodyParserOptions } from './nest-fastify-body-parser-options.interface';
|
||||
|
||||
/**
|
||||
* @publicApi
|
||||
*/
|
||||
export interface NestFastifyApplication extends INestApplication {
|
||||
/**
|
||||
* A wrapper function around native `fastify.register()` method.
|
||||
|
||||
Reference in New Issue
Block a user