Skip to content

Commit

Permalink
Revert "feat: export dtos from index"
Browse files Browse the repository at this point in the history
This reverts commit b9f232a.
  • Loading branch information
yujiosaka committed Oct 31, 2023
1 parent 1eae1a9 commit 9f29320
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const DurationDTO = t.Object({
});

/**
* @public
* @internal
*/
export const CreateBodyDTO = t.Object({
jobInterval: t.Union([DurationDTO, t.String(), t.Number()]),
Expand Down Expand Up @@ -39,7 +39,7 @@ export const UpdateParamsDTO = t.Object({
});

/**
* @public
* @internal
*/
export const CreateResponseDTO = t.Nullable(
t.Object({
Expand All @@ -55,6 +55,6 @@ export const CreateResponseDTO = t.Nullable(
);

/**
* @public
* @internal
*/
export const UpdateResponseDTO = t.Void();
2 changes: 0 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import { Elysia } from "elysia";
import { CreateBodyDTO, CreateParamsDTO, CreateResponseDTO, UpdateParamsDTO, UpdateResponseDTO } from "./dto";
import Manager from "./manager";

export { CreateBodyDTO, CreateResponseDTO, UpdateResponseDTO };

/**
* @public
*/
Expand Down

0 comments on commit 9f29320

Please sign in to comment.