Skip to content

Commit

Permalink
fix: export imported types
Browse files Browse the repository at this point in the history
changes in typescript package might have broken the previous import
  • Loading branch information
Givemeurcookies committed Aug 11, 2024
1 parent 3eecb47 commit fdbe0ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/swagger/src/openapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Endpoint } from 'payload/config';
import { CollectionConfig, GlobalConfig } from 'payload/types';

import type { EndpointDocumentation, Example } from '@bitkraken/payload-openapi';

export type { EndpointDocumentation, Example };
type DocumentedEndpoint = Endpoint & EndpointDocumentation;

export function defineEndpoint(endpoint: DocumentedEndpoint): Endpoint {
Expand Down
2 changes: 1 addition & 1 deletion packages/swagger/src/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Options as OpenApiOptions } from 'payload-openapi';
import { Options as OpenApiOptions } from '@bitkraken/payload-openapi';
import { SwaggerUiOptions } from 'swagger-ui-express';

interface SwaggerOptions {
Expand Down

0 comments on commit fdbe0ad

Please sign in to comment.