Skip to content

Commit 570275d

Browse files
committed
fix: export enum as entities
1 parent dce3ce0 commit 570275d

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

src/index.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ import { RestClient } from './core/rest-client'
55
import type { Options } from './typings/lib'
66

77
export * from './errors'
8-
export type * from './typings'
9-
export type * from './api/account'
10-
export type * from './api/user'
11-
export type * from './api/deal'
8+
export * from './typings'
9+
export * from './api/account'
10+
export * from './api/user'
11+
export * from './api/deal'
1212

1313
export class GetCourse {
1414
private rest: RestClient

src/typings/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
export type { System, User, Session, UserStatus, DealStatus, PaymentStatus, PaymentType, DealCurrency } from './entities'
1+
export { DealStatus, UserStatus, PaymentStatus, PaymentType, DealCurrency } from './entities'
2+
export type { System, User, Session } from './entities'
23
export type { Options, HttpMethod, GetCourseAction, RequestInit } from './lib'
34
export type { JSONValue, RequireAtLeastOne, ExportApiResponse, ImportApiResponse } from './utility'

0 commit comments

Comments
 (0)