Skip to content

Commit

Permalink
fix: export enum as entities
Browse files Browse the repository at this point in the history
  • Loading branch information
belyaev-dev committed Sep 15, 2023
1 parent dce3ce0 commit 570275d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import { RestClient } from './core/rest-client'
import type { Options } from './typings/lib'

export * from './errors'
export type * from './typings'
export type * from './api/account'
export type * from './api/user'
export type * from './api/deal'
export * from './typings'
export * from './api/account'
export * from './api/user'
export * from './api/deal'

export class GetCourse {
private rest: RestClient
Expand Down
3 changes: 2 additions & 1 deletion src/typings/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export type { System, User, Session, UserStatus, DealStatus, PaymentStatus, PaymentType, DealCurrency } from './entities'
export { DealStatus, UserStatus, PaymentStatus, PaymentType, DealCurrency } from './entities'
export type { System, User, Session } from './entities'
export type { Options, HttpMethod, GetCourseAction, RequestInit } from './lib'
export type { JSONValue, RequireAtLeastOne, ExportApiResponse, ImportApiResponse } from './utility'

0 comments on commit 570275d

Please sign in to comment.