Skip to content

Commit

Permalink
Merge pull request #34 from HyunsDev:develop
Browse files Browse the repository at this point in the history
feat: CouponBookTarget, CouponObject 변경 1.0.34
  • Loading branch information
HyunsDev authored Mar 26, 2024
2 parents 14edb80 + b7f4388 commit 957a931
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 2 deletions.
40 changes: 40 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,46 @@

# 변경사항

## `v1.0.34`

> 이전 버전 수정 포함
### Object

* `CouponObject` 항목 변경 ⚠️

* before

```typescript
target: CouponTarget;
```

* after

```typescript
targets: CouponTarget[];
```

* `CouponBookTarget` 타입 변경 ⚠️

* before

```typescript
type CouponBookTarget = {
type: "book";
bookIds: number[];
};
```

* after

```typescript
type CouponBookTarget = {
type: "book";
bookId: number;
};
```

## `v1.0.33`

### Object
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "unibook-client",
"version": "1.0.33",
"version": "1.0.34",
"repository": "https://github.com/HyunsDev/unibook-client.git",
"author": "혀느현스 <[email protected]>",
"license": "Unlicense",
Expand Down
2 changes: 1 addition & 1 deletion src/object/coupon.object.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export type CouponTargetType = "book";
export type CouponBookTarget = {
type: "book";
bookIds: number[];
bookId: number;
};
export type CouponTarget = CouponBookTarget;

Expand Down

0 comments on commit 957a931

Please sign in to comment.