Skip to content
This repository has been archived by the owner on Jan 29, 2021. It is now read-only.

Commit

Permalink
- 予約サービスを削除
Browse files Browse the repository at this point in the history
  • Loading branch information
ilovegadd committed Jan 7, 2021
1 parent 21f12a1 commit 0562cb5
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 125 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/).

### Removed

- 予約サービスを削除

### Fixed

### Security
Expand Down
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"typescript": "^3.5.3"
},
"dependencies": {
"@tokyotower/factory": "31.9.0",
"@tokyotower/factory": "32.0.0",
"debug": "^3.1.0",
"http-status": "^1.0.1",
"isomorphic-fetch": "^2.2.1",
Expand Down
13 changes: 4 additions & 9 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ import * as factory from '@tokyotower/factory';

import { AuthClient } from './auth/authClient';

import { AggregateSalesService } from './service/aggregateSales';
import { EventService } from './service/event';
import { ReservationService } from './service/reservation';
import { SalesReportService } from './service/salesReport';
import * as transporters from './transporters';

export import factory = factory;
Expand All @@ -22,15 +21,11 @@ export abstract class Auth extends AuthClient { }

export namespace service {
/**
* 売上集計サービス
* 売上レポートサービス
*/
export class AggregateSales extends AggregateSalesService { }
export class SalesReport extends SalesReportService { }
/**
* event service
* イベントサービス
*/
export class Event extends EventService { }
/**
* 予約サービス
*/
export class Reservation extends ReservationService { }
}
4 changes: 4 additions & 0 deletions src/service/event.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,12 @@ export class EventService extends Service {
});
}

/**
* 拡張属性を更新する
*/
public async updateExtension(params: {
id: string;
checkedReservations?: factory.performance.ICheckedReservation[];
reservationsAtLastUpdateDate?: factory.performance.IReservationAtLastupdateDate[];
onlineSalesStatusUpdateUser?: string;
onlineSalesStatusUpdateAt?: Date;
Expand Down
107 changes: 0 additions & 107 deletions src/service/reservation.ts

This file was deleted.

4 changes: 2 additions & 2 deletions src/service/aggregateSales.ts → src/service/salesReport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import { OK } from 'http-status';
import { Service } from '../service';

/**
* 売上集計サービス
* 売上レポートサービス
*/
export class AggregateSalesService extends Service {
export class SalesReportService extends Service {
/**
* ストリーミング検索
*/
Expand Down

0 comments on commit 0562cb5

Please sign in to comment.