From 61a8921c0c1b27cf24ec5779fbcac4b2a3e9ba22 Mon Sep 17 00:00:00 2001
From: kawatsu kenya <3982ne@gmail.com>
Date: Sat, 21 Jul 2018 15:10:31 +0900
Subject: [PATCH 01/12] fix button name
---
App.js | 2 +-
.../components/LentScanScreen.test.js | 13 +++
.../__snapshots__/DetailScreen.test.js.snap | 12 +-
.../__snapshots__/LentScanScreen.test.js.snap | 48 ++++++++
.../DetailScreen/BorrowReturnButton.js | 58 ++++++++++
src/components/DetailScreen/LendingButton.js | 58 ----------
src/components/DetailScreen/Styles.js | 2 +-
src/components/DetailScreen/index.js | 4 +-
src/components/LentScanScreen/Styles.js | 73 +++++++++++++
.../index.js} | 103 +++---------------
src/components/screens/ScanScreen.js | 2 +-
11 files changed, 221 insertions(+), 154 deletions(-)
create mode 100644 src/__tests__/components/LentScanScreen.test.js
create mode 100644 src/__tests__/components/__snapshots__/LentScanScreen.test.js.snap
create mode 100644 src/components/DetailScreen/BorrowReturnButton.js
delete mode 100644 src/components/DetailScreen/LendingButton.js
create mode 100644 src/components/LentScanScreen/Styles.js
rename src/components/{screens/LentScanScreen.js => LentScanScreen/index.js} (71%)
diff --git a/App.js b/App.js
index 8dec87e..24962b1 100644
--- a/App.js
+++ b/App.js
@@ -16,7 +16,7 @@ import DetailScreenContainer from './src/containers/DetailScreenContainer';
import EntryScreen from './src/components/screens/EntryScreen';
import ScanScreen from './src/components/screens/ScanScreen';
import EntryTagsScreen from './src/components/screens/EntryTagsScreen';
-import LentScanScreen from './src/components/screens/LentScanScreen';
+import LentScanScreen from './src/components/LentScanScreen';
import { setTopLevelNavigator } from './src/utils/NavigationService';
const RootStack = StackNavigator(
diff --git a/src/__tests__/components/LentScanScreen.test.js b/src/__tests__/components/LentScanScreen.test.js
new file mode 100644
index 0000000..0c54c18
--- /dev/null
+++ b/src/__tests__/components/LentScanScreen.test.js
@@ -0,0 +1,13 @@
+import React from 'react';
+import renderer from 'react-test-renderer';
+
+import LentScanScreen from '../../components/LentScanScreen';
+
+describe('', () => {
+ it('正しくレンダリングされること', () => {
+ const tree = renderer
+ .create()
+ .toJSON();
+ expect(tree).toMatchSnapshot();
+ });
+});
diff --git a/src/__tests__/components/__snapshots__/DetailScreen.test.js.snap b/src/__tests__/components/__snapshots__/DetailScreen.test.js.snap
index c9c733b..a844d3f 100644
--- a/src/__tests__/components/__snapshots__/DetailScreen.test.js.snap
+++ b/src/__tests__/components/__snapshots__/DetailScreen.test.js.snap
@@ -113,7 +113,7 @@ ShallowWrapper {
-
@@ -196,7 +196,7 @@ ShallowWrapper {
-
@@ -315,7 +315,7 @@ ShallowWrapper {
,
- ,
@@ -429,7 +429,7 @@ ShallowWrapper {
-
@@ -512,7 +512,7 @@ ShallowWrapper {
-
@@ -631,7 +631,7 @@ ShallowWrapper {
,
- ,
diff --git a/src/__tests__/components/__snapshots__/LentScanScreen.test.js.snap b/src/__tests__/components/__snapshots__/LentScanScreen.test.js.snap
new file mode 100644
index 0000000..a821a3d
--- /dev/null
+++ b/src/__tests__/components/__snapshots__/LentScanScreen.test.js.snap
@@ -0,0 +1,48 @@
+// Jest Snapshot v1, https://goo.gl/fbAQLP
+
+exports[` 正しくレンダリングされること 1`] = `
+
+
+
+ カメラを使用できません
+
+
+
+`;
diff --git a/src/components/DetailScreen/BorrowReturnButton.js b/src/components/DetailScreen/BorrowReturnButton.js
new file mode 100644
index 0000000..02cf8b9
--- /dev/null
+++ b/src/components/DetailScreen/BorrowReturnButton.js
@@ -0,0 +1,58 @@
+import React from 'react';
+import PropTypes from 'prop-types';
+import { View } from 'react-native';
+import { Button } from 'react-native-elements';
+import { MaterialCommunityIcons } from '@expo/vector-icons';
+
+import { borrowReturnButton as styles } from './Styles';
+
+const RenderButton = (props) => {
+ const {
+ title,
+ bgColor,
+ action,
+ navigate,
+ } = props;
+
+ return (
+
+ }
+ title={title}
+ titleStyle={{ fontWeight: '700' }}
+ buttonStyle={{ width: 100, height: 60, backgroundColor: bgColor }}
+ iconContainerStyle={{ marginRight: 10 }}
+ onPress={() => navigate('LentScan', { action })}
+ />
+
+ );
+};
+
+RenderButton.propTyles = {
+ title: PropTypes.string.isRequired,
+ bgColor: PropTypes.string.isRequired,
+ action: PropTypes.oneOf(['borrow', 'return']).isRequired,
+ navigate: PropTypes.object.isRequired,
+};
+
+const BorrowReturnButton = ({ status, navigate }) => {
+ const title = status ? '返却' : '貸出';
+ const bgColor = status ? '#cd5c5c' : '#2e8b57';
+ const action = status ? 'return' : 'borrow';
+
+ return (
+
+ );
+};
+
+BorrowReturnButton.propTyles = {
+ status: PropTypes.bool.isRequired,
+ navigate: PropTypes.object.isRequired,
+};
+
+export default BorrowReturnButton;
diff --git a/src/components/DetailScreen/LendingButton.js b/src/components/DetailScreen/LendingButton.js
deleted file mode 100644
index bdd8990..0000000
--- a/src/components/DetailScreen/LendingButton.js
+++ /dev/null
@@ -1,58 +0,0 @@
-import React from 'react';
-import PropTypes from 'prop-types';
-import { View } from 'react-native';
-import { Button } from 'react-native-elements';
-import { MaterialCommunityIcons } from '@expo/vector-icons';
-
-import { lendingButton as styles } from './Styles';
-
-const LendButton = ({ navigate }) => (
-
- }
- title="返却"
- titleStyle={{ fontWeight: '700' }}
- buttonStyle={{ width: 100, height: 60, backgroundColor: '#cd5c5c' }}
- iconContainerStyle={{ marginRight: 10 }}
- onPress={() => navigate('LentScan', { action: 'return' })}
- />
-
-);
-
-const BorrowButton = ({ navigate }) => (
-
- }
- title="貸出"
- titleStyle={{ fontWeight: '700' }}
- buttonStyle={{ width: 100, height: 60, backgroundColor: '#2e8b57' }}
- iconContainerStyle={{ marginRight: 10 }}
- onPress={() => navigate('LentScan', { action: 'lend' })}
- />
-
-);
-
-const LendingButton = ({ status, navigate }) => {
- if (status === true) {
- return (
-
- );
- }
-
- return (
-
- );
-};
-
-LendingButton.propTyles = {
- status: PropTypes.bool.isRequired,
- navigate: PropTypes.object.isRequired,
-};
-
-export default LendingButton;
diff --git a/src/components/DetailScreen/Styles.js b/src/components/DetailScreen/Styles.js
index 43cb665..d4f72a0 100644
--- a/src/components/DetailScreen/Styles.js
+++ b/src/components/DetailScreen/Styles.js
@@ -86,7 +86,7 @@ export const statusIcon = StyleSheet.create({
},
});
-export const lendingButton = StyleSheet.create({
+export const borrowReturnButton = StyleSheet.create({
base: {
justifyContent: 'center',
alignItems: 'center',
diff --git a/src/components/DetailScreen/index.js b/src/components/DetailScreen/index.js
index 816db62..77ec87f 100644
--- a/src/components/DetailScreen/index.js
+++ b/src/components/DetailScreen/index.js
@@ -9,7 +9,7 @@ import { index as styles } from './Styles';
import TagsList from './TagsList';
import BookImage from './BookImage';
import StatusIcon from './StatusIcon';
-import LendingButton from './LendingButton';
+import BorrowReturnButton from './BorrowReturnButton';
class DetailScreen extends Component {
render() {
@@ -33,7 +33,7 @@ class DetailScreen extends Component {
-
diff --git a/src/components/LentScanScreen/Styles.js b/src/components/LentScanScreen/Styles.js
new file mode 100644
index 0000000..ea8ba82
--- /dev/null
+++ b/src/components/LentScanScreen/Styles.js
@@ -0,0 +1,73 @@
+import {
+ Dimensions,
+ StyleSheet,
+} from 'react-native';
+
+const { width } = Dimensions.get('window');
+
+export const index = StyleSheet.create({
+ container: {
+ flex: 1,
+ backgroundColor: '#000',
+ },
+ noPermissions: {
+ flex: 1,
+ alignItems: 'center',
+ justifyContent: 'center',
+ padding: 10,
+ },
+ noPermissionsText: {
+ color: 'white',
+ },
+ cameraScreen: {
+ flex: 1,
+ justifyContent: 'space-around',
+ alignItems: 'center',
+ },
+ header: {
+ alignItems: 'center',
+ margin: 5,
+ },
+ stringWarn: {
+ color: '#cd5c5c',
+ },
+ text: {
+ color: '#f3f3f3',
+ textAlign: 'center',
+ },
+ imageSize: {
+ width: 221 / 2,
+ height: 93 / 2,
+ },
+ body: {
+ alignItems: 'center',
+ margin: 5,
+ },
+ cameraContainer: {
+ width: width * (2 / 3),
+ height: width * (2 / 3),
+ borderColor: '#f3f3f3',
+ borderWidth: 1,
+ },
+ camera: {
+ flex: 1,
+ },
+ cameraInline: {
+ flex: 0.5,
+ borderColor: '#cd5c5c',
+ borderBottomWidth: 1,
+ },
+ footer: {
+ margin: 5,
+ },
+ statusOk: {
+ textAlign: 'center',
+ fontSize: 30,
+ color: '#3eb370',
+ },
+ statusNo: {
+ textAlign: 'center',
+ fontSize: 30,
+ color: '#e95464',
+ },
+});
diff --git a/src/components/screens/LentScanScreen.js b/src/components/LentScanScreen/index.js
similarity index 71%
rename from src/components/screens/LentScanScreen.js
rename to src/components/LentScanScreen/index.js
index d4248c6..f59e1ce 100644
--- a/src/components/screens/LentScanScreen.js
+++ b/src/components/LentScanScreen/index.js
@@ -1,9 +1,8 @@
import React, { Component } from 'react';
+import PropTypes from 'prop-types';
import {
- StyleSheet,
View,
Image,
- Dimensions,
ActivityIndicator,
} from 'react-native';
import {
@@ -12,18 +11,15 @@ import {
} from 'expo';
import { Text } from 'react-native-elements';
+import { index as styles } from './Styles';
import { rentBook } from '../../utils/Network';
import { navigate } from '../../utils/NavigationService';
-export default class lentScanScreen extends Component {
- static navigationOptions = {
- title: '貸し出し',
- };
-
+export default class LentScanScreen extends Component {
constructor(props) {
super(props);
this.state = {
- janCode: null,
+ isbn: null,
permissionsGranted: false,
status: 'reading',
};
@@ -34,18 +30,18 @@ export default class lentScanScreen extends Component {
this.setState({ permissionsGranted: status === 'granted' });
}
- lendBook = (janCode) => {
+ lendBook = (isbn) => {
const json = JSON.stringify({
- jan_code: janCode,
+ jan_code: isbn,
status: true,
});
this.changeBookStatus(json);
};
- returnBook = (janCode) => {
+ borrowBook = (isbn) => {
const json = JSON.stringify({
- jan_code: janCode,
+ jan_code: isbn,
status: false,
});
@@ -56,7 +52,6 @@ export default class lentScanScreen extends Component {
rentBook(json)
.then(response => response.json())
.then((responseJson) => {
- console.log(responseJson);
})
.catch((error) => {
console.warn(error);
@@ -72,17 +67,16 @@ export default class lentScanScreen extends Component {
handleBarCodeRead = ({ type, data }) => {
const { action } = this.props.navigation.state.params;
- console.log(data);
if (BarCodeScanner.Constants.BarCodeType.ean13 === type) {
if (data.slice(0, 3) === '978') { // ISBNを読み取ったとき
- if (this.state.janCode !== data) {
+ if (this.state.isbn !== data) {
this.setState({
- janCode: data,
+ isbn: data,
status: 'ok',
});
const janCode = parseInt(data, 10);
if (action === 'return') {
- this.returnBook(janCode);
+ this.borrowBook(janCode);
} else if (action === 'lend') {
this.lendBook(janCode);
}
@@ -177,71 +171,10 @@ export default class lentScanScreen extends Component {
}
}
-const { width } = Dimensions.get('window');
-
-const styles = StyleSheet.create({
- container: {
- flex: 1,
- backgroundColor: '#000',
- },
- noPermissions: {
- flex: 1,
- alignItems: 'center',
- justifyContent: 'center',
- padding: 10,
- },
- noPermissionsText: {
- color: 'white',
- },
- cameraScreen: {
- flex: 1,
- justifyContent: 'space-around',
- alignItems: 'center',
- },
- header: {
- alignItems: 'center',
- margin: 5,
- },
- stringWarn: {
- color: '#cd5c5c',
- },
- text: {
- color: '#f3f3f3',
- textAlign: 'center',
- },
- imageSize: {
- width: 221 / 2,
- height: 93 / 2,
- },
- body: {
- alignItems: 'center',
- margin: 5,
- },
- cameraContainer: {
- width: width * (2 / 3),
- height: width * (2 / 3),
- borderColor: '#f3f3f3',
- borderWidth: 1,
- },
- camera: {
- flex: 1,
- },
- cameraInline: {
- flex: 0.5,
- borderColor: '#cd5c5c',
- borderBottomWidth: 1,
- },
- footer: {
- margin: 5,
- },
- statusOk: {
- textAlign: 'center',
- fontSize: 30,
- color: '#3eb370',
- },
- statusNo: {
- textAlign: 'center',
- fontSize: 30,
- color: '#e95464',
- },
-});
+LentScanScreen.navigationOptions = {
+ title: '貸し出し',
+};
+
+LentScanScreen.propTypes = {
+ action: PropTypes.oneOf(['borrow', 'return']).isRequired,
+};
diff --git a/src/components/screens/ScanScreen.js b/src/components/screens/ScanScreen.js
index 226264e..8a10d61 100644
--- a/src/components/screens/ScanScreen.js
+++ b/src/components/screens/ScanScreen.js
@@ -39,7 +39,7 @@ export default class ScanScreen extends Component {
if (data.slice(0, 3) === '978') { // ISBNを読み取ったとき
if (this.state.janCode !== data) {
this.setState({
- janCode: data,
+ isbn: data,
status: 'ok',
});
setTimeout(() => {
From 8c414393501c97687159c56bb1de5efd1fae9937 Mon Sep 17 00:00:00 2001
From: kawatsu kenya <3982ne@gmail.com>
Date: Sat, 21 Jul 2018 18:09:58 +0900
Subject: [PATCH 02/12] add scan sctions
---
App.js | 4 +-
src/__tests__/actions/books.test.js | 2 +-
src/__tests__/actions/scan.test.js | 49 +++++++++++++++++++++++
src/actions/index.js | 28 +++++++++++++
src/components/LentScanScreen/index.js | 14 +++----
src/constants/actionTypes.js | 5 +++
src/containers/LentScanScreenContainer.js | 8 ++++
7 files changed, 100 insertions(+), 10 deletions(-)
create mode 100644 src/__tests__/actions/scan.test.js
create mode 100644 src/containers/LentScanScreenContainer.js
diff --git a/App.js b/App.js
index 24962b1..9f043e0 100644
--- a/App.js
+++ b/App.js
@@ -13,10 +13,10 @@ import reducer from './src/reducers';
import HomeScreenContainer from './src/containers/HomeScreenContainer';
import SearchView from './src/components/HomeScreen/SearchView';
import DetailScreenContainer from './src/containers/DetailScreenContainer';
+import LentScanScreenContainer from './src/containers/LentScanScreenContainer';
import EntryScreen from './src/components/screens/EntryScreen';
import ScanScreen from './src/components/screens/ScanScreen';
import EntryTagsScreen from './src/components/screens/EntryTagsScreen';
-import LentScanScreen from './src/components/LentScanScreen';
import { setTopLevelNavigator } from './src/utils/NavigationService';
const RootStack = StackNavigator(
@@ -40,7 +40,7 @@ const RootStack = StackNavigator(
screen: SearchView,
},
LentScan: {
- screen: LentScanScreen,
+ screen: LentScanScreenContainer,
},
},
{
diff --git a/src/__tests__/actions/books.test.js b/src/__tests__/actions/books.test.js
index 6b8255c..25a0bc4 100644
--- a/src/__tests__/actions/books.test.js
+++ b/src/__tests__/actions/books.test.js
@@ -1,6 +1,6 @@
import configureMockStore from 'redux-mock-store';
import thunk from 'redux-thunk';
-import * as actions from '../../actions/index';
+import * as actions from '../../actions';
import * as types from '../../constants/actionTypes';
import _books from '../../api/books.json';
diff --git a/src/__tests__/actions/scan.test.js b/src/__tests__/actions/scan.test.js
new file mode 100644
index 0000000..b3aaa63
--- /dev/null
+++ b/src/__tests__/actions/scan.test.js
@@ -0,0 +1,49 @@
+import * as actions from '../../actions';
+import * as types from '../../constants/actionTypes';
+
+describe('actions', () => {
+ test('カメラのパーミッションが許可するアクションが生成されること', () => {
+ const expected = {
+ type: types.PERMISSIONS_GRANTED,
+ };
+ expect(actions.permissionGranted).toEqual(expected);
+ });
+
+ test('カメラのパーミッションが拒否されるアクションが生成されること', () => {
+ const expected = {
+ type: types.PERMISSIONS_DENIED,
+ };
+ expect(actions.permissionDenied).toEqual(expected);
+ });
+
+ test('カメラの読み取り中のアクションが生成されること', () => {
+ const expected = {
+ type: types.ISBN_READING,
+ payload: {
+ isbn: null,
+ },
+ };
+ expect(actions.isbnReading()).toEqual(expected);
+ });
+
+ test('カメラの読み取り完了のアクションが生成されること', () => {
+ const isbn = 1234567890123;
+ const expected = {
+ type: types.ISBN_OK,
+ payload: {
+ isbn,
+ },
+ };
+ expect(actions.isbnOK(isbn)).toEqual(expected);
+ });
+
+ test('カメラの読み取りエラーのアクションが生成されること', () => {
+ const expected = {
+ type: types.ISBN_INVALID,
+ payload: {
+ isbn: null,
+ },
+ };
+ expect(actions.isbnInvalid()).toEqual(expected);
+ });
+});
diff --git a/src/actions/index.js b/src/actions/index.js
index 626c3e4..c497bd2 100644
--- a/src/actions/index.js
+++ b/src/actions/index.js
@@ -49,3 +49,31 @@ export const getAllBooks = () => (dispatch) => {
});
};
+export const permissionGranted = ({
+ type: types.PERMISSIONS_GRANTED,
+});
+
+export const permissionDenied = ({
+ type: types.PERMISSIONS_DENIED,
+});
+
+export const isbnReading = () => ({
+ type: types.ISBN_READING,
+ payload: {
+ isbn: null,
+ },
+});
+
+export const isbnOK = isbn => ({
+ type: types.ISBN_OK,
+ payload: {
+ isbn,
+ },
+});
+
+export const isbnInvalid = () => ({
+ type: types.ISBN_INVALID,
+ payload: {
+ isbn: null,
+ },
+});
diff --git a/src/components/LentScanScreen/index.js b/src/components/LentScanScreen/index.js
index f59e1ce..9c66259 100644
--- a/src/components/LentScanScreen/index.js
+++ b/src/components/LentScanScreen/index.js
@@ -30,7 +30,7 @@ export default class LentScanScreen extends Component {
this.setState({ permissionsGranted: status === 'granted' });
}
- lendBook = (isbn) => {
+ borrowBook = (isbn) => {
const json = JSON.stringify({
jan_code: isbn,
status: true,
@@ -39,7 +39,7 @@ export default class LentScanScreen extends Component {
this.changeBookStatus(json);
};
- borrowBook = (isbn) => {
+ returnBook = (isbn) => {
const json = JSON.stringify({
jan_code: isbn,
status: false,
@@ -65,7 +65,7 @@ export default class LentScanScreen extends Component {
};
handleBarCodeRead = ({ type, data }) => {
- const { action } = this.props.navigation.state.params;
+ const { action } = this.props;
if (BarCodeScanner.Constants.BarCodeType.ean13 === type) {
if (data.slice(0, 3) === '978') { // ISBNを読み取ったとき
@@ -74,11 +74,11 @@ export default class LentScanScreen extends Component {
isbn: data,
status: 'ok',
});
- const janCode = parseInt(data, 10);
+ const isbn = parseInt(data, 10);
if (action === 'return') {
- this.borrowBook(janCode);
- } else if (action === 'lend') {
- this.lendBook(janCode);
+ this.returnBook(isbn);
+ } else if (action === 'borrow') {
+ this.borrowBook(isbn);
}
navigate('Home');
}
diff --git a/src/constants/actionTypes.js b/src/constants/actionTypes.js
index 0d9e16b..c1c664c 100644
--- a/src/constants/actionTypes.js
+++ b/src/constants/actionTypes.js
@@ -5,3 +5,8 @@ export const GET_TAG = 'GET_TAG';
export const REQUEST_API = 'REQUEST_API';
export const REQUEST_API_SUCCESS = 'REQUEST_API_SUCCESS';
export const REQUEST_API_FAIL = 'REQUEST_API_FAIL';
+export const PERMISSIONS_DENIED = 'PERMISSIONS_DENIED';
+export const PERMISSIONS_GRANTED = 'PERMISSIONS_GRANTED';
+export const ISBN_READING = 'ISBN_READING';
+export const ISBN_OK = 'ISBN_OK';
+export const ISBN_INVALID = 'ISBN_INVALID';
diff --git a/src/containers/LentScanScreenContainer.js b/src/containers/LentScanScreenContainer.js
new file mode 100644
index 0000000..02e1d44
--- /dev/null
+++ b/src/containers/LentScanScreenContainer.js
@@ -0,0 +1,8 @@
+import { connect } from 'react-redux';
+import LentScanScreen from '../components/LentScanScreen';
+
+const mapStateToProps = (state, props) => ({
+ ...props.navigation.state.params,
+});
+
+export default connect(mapStateToProps)(LentScanScreen);
From 8963afa3b78e51fdb4da2b39b278819186a6b77e Mon Sep 17 00:00:00 2001
From: kawatsu kenya <3982ne@gmail.com>
Date: Sat, 21 Jul 2018 19:00:30 +0900
Subject: [PATCH 03/12] add scan reducer
---
src/__tests__/actions/scan.test.js | 6 ----
src/__tests__/reducers/scan.test.js | 0
src/actions/index.js | 6 ----
src/reducers/scan.js | 50 +++++++++++++++++++++++++++++
4 files changed, 50 insertions(+), 12 deletions(-)
create mode 100644 src/__tests__/reducers/scan.test.js
create mode 100644 src/reducers/scan.js
diff --git a/src/__tests__/actions/scan.test.js b/src/__tests__/actions/scan.test.js
index b3aaa63..4c615d6 100644
--- a/src/__tests__/actions/scan.test.js
+++ b/src/__tests__/actions/scan.test.js
@@ -19,9 +19,6 @@ describe('actions', () => {
test('カメラの読み取り中のアクションが生成されること', () => {
const expected = {
type: types.ISBN_READING,
- payload: {
- isbn: null,
- },
};
expect(actions.isbnReading()).toEqual(expected);
});
@@ -40,9 +37,6 @@ describe('actions', () => {
test('カメラの読み取りエラーのアクションが生成されること', () => {
const expected = {
type: types.ISBN_INVALID,
- payload: {
- isbn: null,
- },
};
expect(actions.isbnInvalid()).toEqual(expected);
});
diff --git a/src/__tests__/reducers/scan.test.js b/src/__tests__/reducers/scan.test.js
new file mode 100644
index 0000000..e69de29
diff --git a/src/actions/index.js b/src/actions/index.js
index c497bd2..59d17f4 100644
--- a/src/actions/index.js
+++ b/src/actions/index.js
@@ -59,9 +59,6 @@ export const permissionDenied = ({
export const isbnReading = () => ({
type: types.ISBN_READING,
- payload: {
- isbn: null,
- },
});
export const isbnOK = isbn => ({
@@ -73,7 +70,4 @@ export const isbnOK = isbn => ({
export const isbnInvalid = () => ({
type: types.ISBN_INVALID,
- payload: {
- isbn: null,
- },
});
diff --git a/src/reducers/scan.js b/src/reducers/scan.js
new file mode 100644
index 0000000..e120667
--- /dev/null
+++ b/src/reducers/scan.js
@@ -0,0 +1,50 @@
+import {
+ PERMISSIONS_GRANTED,
+ PERMISSIONS_DENIED,
+ ISBN_READING,
+ ISBN_OK,
+ ISBN_INVALID,
+} from '../constants/actionTypes';
+
+const initialState = {
+ permissions: 'denied',
+ status: 'reading',
+ isbn: null,
+};
+
+const scan = (state = initialState, action) => {
+ switch (action.type) {
+ case PERMISSIONS_GRANTED:
+ return {
+ ...state,
+ permissions: 'granted',
+ };
+ case PERMISSIONS_DENIED:
+ return {
+ ...state,
+ permissions: 'denied',
+ };
+ case ISBN_READING:
+ return {
+ ...state,
+ status: 'reading',
+ isbn: null,
+ };
+ case ISBN_OK:
+ return {
+ ...state,
+ status: 'ok',
+ isbn: action.payload.status,
+ };
+ case ISBN_INVALID:
+ return {
+ ...state,
+ status: 'invalid',
+ isbn: null,
+ };
+ default:
+ return state;
+ }
+};
+
+export default scan;
From 2f3198c6980ea73ef7ac368d7d1d332c4ab57d2b Mon Sep 17 00:00:00 2001
From: kawatsu kenya <3982ne@gmail.com>
Date: Sat, 21 Jul 2018 20:16:17 +0900
Subject: [PATCH 04/12] add scan reducer test
---
src/__tests__/reducers/book.test.js | 9 ++-
src/__tests__/reducers/scan.test.js | 105 ++++++++++++++++++++++++++++
src/reducers/scan.js | 2 +-
3 files changed, 112 insertions(+), 4 deletions(-)
diff --git a/src/__tests__/reducers/book.test.js b/src/__tests__/reducers/book.test.js
index 58547ca..639f9fe 100644
--- a/src/__tests__/reducers/book.test.js
+++ b/src/__tests__/reducers/book.test.js
@@ -1,6 +1,9 @@
import reducer from '../../reducers/book';
import _books from '../../api/books.json';
-import { GET_BOOK, GET_BOOKS } from '../../constants/actionTypes';
+import {
+ GET_BOOK,
+ GET_BOOKS,
+} from '../../constants/actionTypes';
describe('book Reducer', () => {
test('初期値を返すこと', () => {
@@ -14,7 +17,7 @@ describe('book Reducer', () => {
expect(result).toEqual(expected);
});
- test('アクションがGET_BOOKSのときpayloadとstateを返すこと', () => {
+ test('GET_BOOKSアクションが正しく処理されること', () => {
const state = {
books: _books.slice(0, 5),
book: _books[0],
@@ -34,7 +37,7 @@ describe('book Reducer', () => {
expect(result).toEqual(expected);
});
- test('GET_BOOKのpayloadとstateを返すこと', () => {
+ test('GET_BOOKアクションが正しく処理されること', () => {
const state = {
books: _books,
book: _books[1],
diff --git a/src/__tests__/reducers/scan.test.js b/src/__tests__/reducers/scan.test.js
index e69de29..cc052a1 100644
--- a/src/__tests__/reducers/scan.test.js
+++ b/src/__tests__/reducers/scan.test.js
@@ -0,0 +1,105 @@
+import reducer from '../../reducers/scan';
+import {
+ PERMISSIONS_GRANTED,
+ PERMISSIONS_DENIED,
+ ISBN_READING,
+ ISBN_OK,
+ ISBN_INVALID,
+} from '../../constants/actionTypes';
+
+describe('scan Reducer', () => {
+ test('初期化値を返すこと', () => {
+ const state = undefined;
+ const action = {};
+ const result = reducer(state, action);
+ const expected = {
+ permissions: 'denied',
+ status: 'reading',
+ isbn: null,
+ };
+
+ expect(result).toEqual(expected);
+ });
+
+ test('PERMISSIONS_GRANTEDアクションが正しく処理されること', () => {
+ const state = {
+ permissions: 'denied',
+ };
+ const action = {
+ type: PERMISSIONS_GRANTED,
+ };
+ const result = reducer(state, action);
+ const expected = {
+ permissions: 'granted',
+ };
+
+ expect(result).toEqual(expected);
+ });
+
+ test('PERMISSIONS_DENIEDアクションが正しく処理されること', () => {
+ const state = {
+ permissions: 'granted',
+ };
+ const action = {
+ type: PERMISSIONS_DENIED,
+ };
+ const result = reducer(state, action);
+ const expected = {
+ permissions: 'denied',
+ };
+
+ expect(result).toEqual(expected);
+ });
+
+ test('ISBN_READINGアクションが正しく処理されること', () => {
+ const state = {
+ status: 'invalid',
+ };
+ const action = {
+ type: ISBN_READING,
+ };
+ const result = reducer(state, action);
+ const expected = {
+ status: 'reading',
+ isbn: null,
+ };
+
+ expect(result).toEqual(expected);
+ });
+
+ test('ISBN_OKアクションが正しく処理されること', () => {
+ const isbn = '1234567890123';
+ const state = {
+ status: 'reading',
+ };
+ const action = {
+ type: ISBN_OK,
+ payload: {
+ isbn,
+ },
+ };
+ const result = reducer(state, action);
+ const expected = {
+ status: 'ok',
+ isbn,
+ };
+
+ expect(result).toEqual(expected);
+ });
+
+ test('ISBN_INVALIDアクションが正しく処理されること', () => {
+ const state = {
+ status: 'reading',
+ };
+ const action = {
+ type: ISBN_INVALID,
+ };
+ const result = reducer(state, action);
+ const expected = {
+ status: 'invalid',
+ isbn: null,
+ };
+
+ expect(result).toEqual(expected);
+ });
+});
diff --git a/src/reducers/scan.js b/src/reducers/scan.js
index e120667..cbdbf84 100644
--- a/src/reducers/scan.js
+++ b/src/reducers/scan.js
@@ -34,7 +34,7 @@ const scan = (state = initialState, action) => {
return {
...state,
status: 'ok',
- isbn: action.payload.status,
+ isbn: action.payload.isbn,
};
case ISBN_INVALID:
return {
From 61e1c77ce2cd30fed74c5495307d961deee10297 Mon Sep 17 00:00:00 2001
From: kawatsu kenya <3982ne@gmail.com>
Date: Sat, 21 Jul 2018 23:48:08 +0900
Subject: [PATCH 05/12] add container
---
src/actions/index.js | 6 ++---
src/containers/LentScanScreenContainer.js | 32 +++++++++++++++++++++--
src/reducers/index.js | 2 ++
3 files changed, 35 insertions(+), 5 deletions(-)
diff --git a/src/actions/index.js b/src/actions/index.js
index 59d17f4..2868c31 100644
--- a/src/actions/index.js
+++ b/src/actions/index.js
@@ -49,11 +49,11 @@ export const getAllBooks = () => (dispatch) => {
});
};
-export const permissionGranted = ({
+export const permissionsGranted = () => ({
type: types.PERMISSIONS_GRANTED,
});
-export const permissionDenied = ({
+export const permissionsDenied = () => ({
type: types.PERMISSIONS_DENIED,
});
@@ -61,7 +61,7 @@ export const isbnReading = () => ({
type: types.ISBN_READING,
});
-export const isbnOK = isbn => ({
+export const isbnOk = isbn => ({
type: types.ISBN_OK,
payload: {
isbn,
diff --git a/src/containers/LentScanScreenContainer.js b/src/containers/LentScanScreenContainer.js
index 02e1d44..7003c4b 100644
--- a/src/containers/LentScanScreenContainer.js
+++ b/src/containers/LentScanScreenContainer.js
@@ -1,8 +1,36 @@
import { connect } from 'react-redux';
+import {
+ permissionsGranted,
+ permissionsDenied,
+ isbnReading,
+ isbnOk,
+ isbnInvalid,
+} from '../actions';
import LentScanScreen from '../components/LentScanScreen';
-const mapStateToProps = (state, props) => ({
+const mapStateToProps = ({ scan }, props) => ({
+ permissions: scan.permissions,
+ status: scan.status,
+ isbn: scan.isbn,
...props.navigation.state.params,
});
-export default connect(mapStateToProps)(LentScanScreen);
+const mapDispatchToProps = dispatch => ({
+ permissionsGranted() {
+ dispatch(permissionsGranted());
+ },
+ permissionsDenied() {
+ dispatch(permissionsDenied());
+ },
+ isbnReading() {
+ dispatch(isbnReading());
+ },
+ isbnOk(isbn) {
+ dispatch(isbnOk(isbn));
+ },
+ isbnInvalid() {
+ dispatch(isbnInvalid());
+ },
+});
+
+export default connect(mapStateToProps, mapDispatchToProps)(LentScanScreen);
diff --git a/src/reducers/index.js b/src/reducers/index.js
index 29d7385..7b3ea1e 100644
--- a/src/reducers/index.js
+++ b/src/reducers/index.js
@@ -2,10 +2,12 @@ import { combineReducers } from 'redux';
import book from './book';
import tag from './tag';
import loading from './loading';
+import scan from './scan';
export default combineReducers({
book,
tag,
loading,
+ scan,
});
From dc8045da05c09a4c61e25e2c36c799005d6b3442 Mon Sep 17 00:00:00 2001
From: kawatsu kenya <3982ne@gmail.com>
Date: Sun, 22 Jul 2018 01:19:48 +0900
Subject: [PATCH 06/12] change state to props
---
src/__tests__/actions/scan.test.js | 6 +-
.../components/LentScanScreen.test.js | 12 +++-
src/actions/index.js | 30 +++++++-
src/components/LentScanScreen/index.js | 72 ++++++++-----------
src/containers/HomeScreenContainer.js | 4 +-
src/containers/LentScanScreenContainer.js | 4 ++
6 files changed, 79 insertions(+), 49 deletions(-)
diff --git a/src/__tests__/actions/scan.test.js b/src/__tests__/actions/scan.test.js
index 4c615d6..8b9cf9a 100644
--- a/src/__tests__/actions/scan.test.js
+++ b/src/__tests__/actions/scan.test.js
@@ -6,14 +6,14 @@ describe('actions', () => {
const expected = {
type: types.PERMISSIONS_GRANTED,
};
- expect(actions.permissionGranted).toEqual(expected);
+ expect(actions.permissionsGranted()).toEqual(expected);
});
test('カメラのパーミッションが拒否されるアクションが生成されること', () => {
const expected = {
type: types.PERMISSIONS_DENIED,
};
- expect(actions.permissionDenied).toEqual(expected);
+ expect(actions.permissionsDenied()).toEqual(expected);
});
test('カメラの読み取り中のアクションが生成されること', () => {
@@ -31,7 +31,7 @@ describe('actions', () => {
isbn,
},
};
- expect(actions.isbnOK(isbn)).toEqual(expected);
+ expect(actions.isbnOk(isbn)).toEqual(expected);
});
test('カメラの読み取りエラーのアクションが生成されること', () => {
diff --git a/src/__tests__/components/LentScanScreen.test.js b/src/__tests__/components/LentScanScreen.test.js
index 0c54c18..aa7cb92 100644
--- a/src/__tests__/components/LentScanScreen.test.js
+++ b/src/__tests__/components/LentScanScreen.test.js
@@ -6,7 +6,17 @@ import LentScanScreen from '../../components/LentScanScreen';
describe('', () => {
it('正しくレンダリングされること', () => {
const tree = renderer
- .create()
+ .create()
.toJSON();
expect(tree).toMatchSnapshot();
});
diff --git a/src/actions/index.js b/src/actions/index.js
index 2868c31..2a4ce53 100644
--- a/src/actions/index.js
+++ b/src/actions/index.js
@@ -1,6 +1,9 @@
+import { API_ENDPOINT } from 'react-native-dotenv';
import server from '../api/server';
import * as types from '../constants/actionTypes';
+const baseUri = API_ENDPOINT;
+
const request = () => ({
type: types.REQUEST_API,
});
@@ -38,7 +41,7 @@ export const getAllMockBooks = () => (dispatch) => {
export const getAllBooks = () => (dispatch) => {
dispatch(request());
- return fetch('https://example.com/books')
+ return fetch(`${baseUri}/books`)
.then(response => response.json())
.then((books) => {
dispatch(requestSuccess());
@@ -71,3 +74,28 @@ export const isbnOk = isbn => ({
export const isbnInvalid = () => ({
type: types.ISBN_INVALID,
});
+
+export const requestChangeStatus = body => (dispatch) => {
+ console.log(body);
+ dispatch(request());
+
+ return fetch(`${baseUri}/books`, {
+ method: 'PUT',
+ headers: {
+ Accept: 'application/json',
+ 'Content-Type': 'application/json',
+ },
+ body,
+ })
+ .then((response) => {
+ console.log(response.json);
+ if (response.ok) {
+ dispatch(requestSuccess());
+ } else {
+ dispatch(requestFail(response.json()));
+ }
+ })
+ .catch((error) => {
+ dispatch(requestFail(JSON.parse(error)));
+ });
+};
diff --git a/src/components/LentScanScreen/index.js b/src/components/LentScanScreen/index.js
index 9c66259..91b19d0 100644
--- a/src/components/LentScanScreen/index.js
+++ b/src/components/LentScanScreen/index.js
@@ -16,52 +16,32 @@ import { rentBook } from '../../utils/Network';
import { navigate } from '../../utils/NavigationService';
export default class LentScanScreen extends Component {
- constructor(props) {
- super(props);
- this.state = {
- isbn: null,
- permissionsGranted: false,
- status: 'reading',
- };
- }
async componentWillMount() {
const { status } = await Permissions.askAsync(Permissions.CAMERA);
- this.setState({ permissionsGranted: status === 'granted' });
+ if (status === 'granted') {
+ this.props.permissionsGranted();
+ } else {
+ this.props.permissionsDenied();
+ }
}
borrowBook = (isbn) => {
- const json = JSON.stringify({
+ const body = JSON.stringify({
jan_code: isbn,
status: true,
});
- this.changeBookStatus(json);
+ this.props.requestChangeStatus(body);
};
returnBook = (isbn) => {
- const json = JSON.stringify({
+ const body = JSON.stringify({
jan_code: isbn,
status: false,
});
- this.changeBookStatus(json);
- };
-
- changeBookStatus = (json) => {
- rentBook(json)
- .then(response => response.json())
- .then((responseJson) => {
- })
- .catch((error) => {
- console.warn(error);
- rentBook(json)
- .then(response => response.json())
- .then((responseJson) => {
- console.log(responseJson);
- })
- .catch(e => console.error(e));
- });
+ this.props.requestChangeStatus(body);
};
handleBarCodeRead = ({ type, data }) => {
@@ -69,11 +49,8 @@ export default class LentScanScreen extends Component {
if (BarCodeScanner.Constants.BarCodeType.ean13 === type) {
if (data.slice(0, 3) === '978') { // ISBNを読み取ったとき
- if (this.state.isbn !== data) {
- this.setState({
- isbn: data,
- status: 'ok',
- });
+ if (this.props.isbn !== data) {
+ this.props.isbnOk(data);
const isbn = parseInt(data, 10);
if (action === 'return') {
this.returnBook(isbn);
@@ -83,13 +60,11 @@ export default class LentScanScreen extends Component {
navigate('Home');
}
} else { // バーコードであるがISBNでないとき
- this.setState({ status: 'invalid' });
+ this.props.isbnInvalid();
}
- setTimeout(() => {
- this.setState({ status: 'reading' });
- }, 1000);
+ setTimeout(() => this.props.isbnReading(), 1000);
} else { // バーコードでないとき
- this.setState({ status: 'reading' });
+ this.props.isbnReading();
}
};
@@ -127,9 +102,9 @@ export default class LentScanScreen extends Component {
renderFooter = () => {
let statusText = ;
- if (this.state.status === 'ok') {
+ if (this.props.status === 'ok') {
statusText = 読み取りました;
- } else if (this.state.status === 'invalid') {
+ } else if (this.props.status === 'invalid') {
statusText = 数字をお確かめください;
}
@@ -159,7 +134,7 @@ export default class LentScanScreen extends Component {
};
render() {
- const screen = this.state.permissionsGranted
+ const screen = this.props.permissions
? this.renderScanScreen()
: this.renderNoPermissions();
@@ -177,4 +152,17 @@ LentScanScreen.navigationOptions = {
LentScanScreen.propTypes = {
action: PropTypes.oneOf(['borrow', 'return']).isRequired,
+ permissions: PropTypes.oneOf(['granted', 'denied']).isRequired,
+ status: PropTypes.oneOf(['reading', 'ok', 'invalid']).isRequired,
+ isbn: PropTypes.string,
+ permissionsGranted: PropTypes.func.isRequired,
+ permissionsDenied: PropTypes.func.isRequired,
+ isbnReading: PropTypes.func.isRequired,
+ isbnOk: PropTypes.func.isRequired,
+ isbnInvalid: PropTypes.func.isRequired,
+ requestChangeStatus: PropTypes.func.isRequired,
+};
+
+LentScanScreen.defaultProps = {
+ isbn: null,
};
diff --git a/src/containers/HomeScreenContainer.js b/src/containers/HomeScreenContainer.js
index ef9f07a..a86a62b 100644
--- a/src/containers/HomeScreenContainer.js
+++ b/src/containers/HomeScreenContainer.js
@@ -1,5 +1,5 @@
import { connect } from 'react-redux';
-import { getAllMockBooks } from '../actions';
+import { getAllBooks } from '../actions';
import HomeScreen from '../components/HomeScreen';
const mapStateToProps = ({ book, loading }) => ({
@@ -10,7 +10,7 @@ const mapStateToProps = ({ book, loading }) => ({
const mapDispatchToProps = dispatch => ({
getAllBooks() {
- dispatch(getAllMockBooks());
+ dispatch(getAllBooks());
},
});
diff --git a/src/containers/LentScanScreenContainer.js b/src/containers/LentScanScreenContainer.js
index 7003c4b..d131a46 100644
--- a/src/containers/LentScanScreenContainer.js
+++ b/src/containers/LentScanScreenContainer.js
@@ -5,6 +5,7 @@ import {
isbnReading,
isbnOk,
isbnInvalid,
+ requestChangeStatus,
} from '../actions';
import LentScanScreen from '../components/LentScanScreen';
@@ -31,6 +32,9 @@ const mapDispatchToProps = dispatch => ({
isbnInvalid() {
dispatch(isbnInvalid());
},
+ requestChangeStatus(body) {
+ dispatch(requestChangeStatus(body));
+ },
});
export default connect(mapStateToProps, mapDispatchToProps)(LentScanScreen);
From f85c8508c818ab04902a8b13c5684be634082b32 Mon Sep 17 00:00:00 2001
From: kawatsu kenya <3982ne@gmail.com>
Date: Sun, 22 Jul 2018 15:50:38 +0900
Subject: [PATCH 07/12] fix api endpoint
---
App.js | 4 ++--
src/actions/index.js | 48 +++++++++++++++++++++++--------------------
src/utils/Network.js | 2 +-
src/utils/endpoint.js | 4 ++++
4 files changed, 33 insertions(+), 25 deletions(-)
create mode 100644 src/utils/endpoint.js
diff --git a/App.js b/App.js
index 9f043e0..f6bcca2 100644
--- a/App.js
+++ b/App.js
@@ -7,7 +7,7 @@ import { StackNavigator } from 'react-navigation';
import { createLogger } from 'redux-logger';
import { Provider } from 'react-redux';
import thunk from 'redux-thunk';
-import { getAllMockBooks } from './src/actions';
+import { getAllBooks } from './src/actions';
import reducer from './src/reducers';
import HomeScreenContainer from './src/containers/HomeScreenContainer';
@@ -75,7 +75,7 @@ const store = createStore(
applyMiddleware(...middleware),
);
-store.dispatch(getAllMockBooks());
+store.dispatch(getAllBooks());
export default class App extends Component {
render() {
diff --git a/src/actions/index.js b/src/actions/index.js
index 2a4ce53..b2044c3 100644
--- a/src/actions/index.js
+++ b/src/actions/index.js
@@ -1,9 +1,7 @@
-import { API_ENDPOINT } from 'react-native-dotenv';
+import API_ENDPOINT from '../utils/endpoint';
import server from '../api/server';
import * as types from '../constants/actionTypes';
-const baseUri = API_ENDPOINT;
-
const request = () => ({
type: types.REQUEST_API,
});
@@ -26,26 +24,33 @@ const getBooks = books => ({
},
});
-export const getAllMockBooks = () => (dispatch) => {
- dispatch(request());
- server.getBooks()
- .then((books) => {
- dispatch(requestSuccess());
- dispatch(getBooks(books));
- })
- .catch((error) => {
- dispatch(requestFail(error));
- });
-};
+// export const getAllMockBooks = () => (dispatch) => {
+// dispatch(request());
+//
+// return server.getBooks()
+// .then((books) => {
+// dispatch(requestSuccess());
+// dispatch(getBooks(books));
+// })
+// .catch((error) => {
+// dispatch(requestFail(error));
+// });
+// };
export const getAllBooks = () => (dispatch) => {
dispatch(request());
- return fetch(`${baseUri}/books`)
- .then(response => response.json())
- .then((books) => {
+ return fetch(`${API_ENDPOINT}/books`)
+ .then((response) => {
+ if (response.ok) {
+ return response.json();
+ }
+ throw new Error(response);
+ })
+ .then((resJson) => {
+ console.log(resJson);
dispatch(requestSuccess());
- dispatch(getBooks(books));
+ dispatch(getBooks(resJson.books));
})
.catch((error) => {
dispatch(requestFail(JSON.parse(error)));
@@ -79,7 +84,7 @@ export const requestChangeStatus = body => (dispatch) => {
console.log(body);
dispatch(request());
- return fetch(`${baseUri}/books`, {
+ return fetch(`${API_ENDPOINT}/books`, {
method: 'PUT',
headers: {
Accept: 'application/json',
@@ -90,10 +95,9 @@ export const requestChangeStatus = body => (dispatch) => {
.then((response) => {
console.log(response.json);
if (response.ok) {
- dispatch(requestSuccess());
- } else {
- dispatch(requestFail(response.json()));
+ return dispatch(requestSuccess());
}
+ throw new Error(response);
})
.catch((error) => {
dispatch(requestFail(JSON.parse(error)));
diff --git a/src/utils/Network.js b/src/utils/Network.js
index d5485dd..0f7cb03 100644
--- a/src/utils/Network.js
+++ b/src/utils/Network.js
@@ -1,4 +1,4 @@
-import { API_ENDPOINT } from 'react-native-dotenv';
+import API_ENDPOINT from './endpoint';
const baseUri = API_ENDPOINT;
diff --git a/src/utils/endpoint.js b/src/utils/endpoint.js
new file mode 100644
index 0000000..f7e805e
--- /dev/null
+++ b/src/utils/endpoint.js
@@ -0,0 +1,4 @@
+// .envを書き換えた場合、このファイルを更新する
+import { API_ENDPOINT } from 'react-native-dotenv';
+
+export default API_ENDPOINT;
From 96cf22d0bea73de896352f443908ba3716e31d82 Mon Sep 17 00:00:00 2001
From: kawatsu kenya <3982ne@gmail.com>
Date: Sun, 22 Jul 2018 15:50:53 +0900
Subject: [PATCH 08/12] add no_image
---
assets/no_image.png | Bin 0 -> 6027 bytes
src/components/DetailScreen/BookImage.js | 32 +++++++++++++++--------
2 files changed, 21 insertions(+), 11 deletions(-)
create mode 100644 assets/no_image.png
diff --git a/assets/no_image.png b/assets/no_image.png
new file mode 100644
index 0000000000000000000000000000000000000000..8ea12269f3073c07c4d91445aa6ec07698212590
GIT binary patch
literal 6027
zcmd6rdo&aN|HpOlvCkArbP<}$ol)*YDW+(0iDAeP*jju8Hh}B*x@!Zp&q9
z=E5diJ~e^eYL=@$oUO_&(OZtVGLLn2I{PY1fW
zyL0Hzq-A7)po>yGmgK*wt406``h)Br6l8+gMj?&c+uGWurd)(I0D%6Dtj1~zcE0g;H)eunI(MH|#MIT-*LQSuw6*zB1jM?P_y@Lic5)fG
zSecz2&c+IB#%HLAkHlPAaWNK13{F5C*<^k1J0>z8GrPX769YQ8was2iYmHEf6NAp=
zf!*aoGq{sXCUbo~{D>ykPbt5B#!8n$?^YvkkTZeMpLw(~GKIJ!2?($Ugv5mf1+1!Z92!(lWwA~N#0
z`{uYLlhj(ldp)G~3PC<1+*6YAD?r|XX{n!B7%l#6j5I)!tT{`27#}!(ct|JGFFW!u
zFkErsYw_h{vD<4_J(qH+;v%f3KHJY*13_EFqwchqcke@SzO=ik+~~1%DD8xl-_EcBC7ukEyLF0>Y22(hID98CV+XIlAzn@Y}x!83~y;hC%neqft
zk@v;t@?zJ#sZq8haQ2lSoys#XHfEAI>4nxf=nID2doNWycT;k`;;{lOZ#_
zBryBp*+Bg%LdW9f#{PA6!0ZWM*kI9xsQK)!OJswPLTT@^687&OpJ2+9CO@5P$OyW9
z^m*@=5g3Pb*wU31kiFQC&n2Bqz476>70Vv1u8tMX^R<)zpyiKiP45Q~YHDyMv7Nmh
zXruU~QG|9LI5$yRwbOB?Ot4#pW;#9l!XLMrT)Zz;G|KG8E}
zWs5?g*m6--NhgwCjKuZy^w7tQV_ME5QK%zI1J@5>8)4cxsOu)r3JMAmKqnasx58+&
z(tRyDjNAtIIOOrvy=2+<)mITplh2c9lFbzL^PBE9vA(b;3?+Esn4{fuli9AN2R~&G
z9FeXzH@jVdk`kH!a-;U348B}Pid37D{Fo7g9J%uw-$Z(0-%(UJ=jBq
zH5V2YHBA(yKTyam*_@-=q9P;j2vvxQsGvXhd5w&yde=qtDEp6mBH)q!nZj0K4inok
zT4jscP{FATL(2ym&1$2sEl@5g=2815hQ%fYTY;xDSbk49snbxO^u}?#W6gHeGsp0D
zH~Jfz9&RN=)+F<251x0sXG=o(ATlcmx{(mllCPN2VnPKMRFiQjPRXQCrev
zz~*m{JL(?$(QcNb>f0q9VmV?$X92!rH?yqSTWbt|Pzs@s?4|
zs!h{gFk2DpR&a4~p@iYY(yM;nfenPJbQK|ip}gqo%i}!y_DB+kvip$3;ZQn^chNfX
zZBx7k{J2)ld)KqS_)mZE`{8cQ-fg_G_U-Bo-|Cie3+up0tR$A|03F(;*XrYp=o!!+p3@l2}s_@regf&0+8@&aCSfA&StNtfM(62bC**2O^6dEffm
znfTXoy7t!yLXeii_rs^F2XP;Kd%EZj_7a)O54|Ca#IyprACr@l=g^k`d8fX_m6w-`
zh6m&~8d2MxQ&aUOtMcIhj!7u<(ih(wu$dDJMt&?NlOR(7n)mEGZzWSZH8th8V24vW
zPxK&sA|wVclP9;P+t6#6-=h!e8iD~Vd4&Sa?y7w1_oGe^=48Cma!VqOm~BL&lJ-f}
zh)nKott+#s`5;)Cdz0}%Z7W^`wW6FD?9Up|H!!%zSzqRV)Yeca&@DbeD0F3cxc+vi
zp>itLK6I?kxzsPX?`uWOi~1hw7*#Lyk(hj6_y#1NMLg4NV;~B26>$ORcJG{X9;}kJ
zsCt^Y)a&i)_wqBe`fpVY{$ujhZ+AguukUQFeOs|+!XF7C>oTJthC}--0-?tb0YR#&
zXw9LdC0&u$AN97ETuZzNlFxbh?Thclj&@k38=}!@+4e*_ZKOD8G*zto`?9{VF*NWy
zL)~q3#&*8CYV67UCOq>#dmRGweB>Z|o*Z}Qkzv{yNErJk83#=thj$zRc~RCkHnQ;L
zLpYO+NO-`)ZoVHHN23#qmaPfaOo%i>?`hlgmDS((>8YW)M@(BjBJ6+j+ZUJBC(D|d
zHMg+LE6_%Ug=tSBHI_PzW8OEuzFxT4!`wc&mEucuZzxWm4jf&2Z&&bU7m&B|soZ)E
z9NCE1_yPvIcNWrA(r$WTB^Jvv!mbY))~cCRG0SUnv7%)~`NtNePoC5g{U=K*;Ifq@
zCX>|Z8%UK^s~W0O3d7Sz3l+jHd|C_Zh+Mm!tUIhDXWzw}*i6G&ud)Y+rla3zAIvpW
ztjd^`>41l=QrEeTU#;Fx2bRp%sS?G3%Z|QWtFhfh3-d(rim&YtSTjG;ggxiNP$*PL
zhz;+rw{NTJ_4D);jZ92xGBi$9=C&UVS&hcVC*7xf9++ECHy4JqRXVksO^0)EMMaYj
zgRZpvkSJVl(LhU;KJgg{c3(aBZ9rjc?E4WHeIh33!kmbhPEhFCSdV@?N5d8RYxEVs
z&ERdd{^_akey8)Fg&t6si|4
z`4+I{YKk8*YYEc!(mC+J*zJYe9eS=iz3
z?S>xy2P^c!?M1DztIm6^UjH8Ivb-~tGBGt}2{m7ed>X6`wiTawRs@mcm?Vguvk+9E
zc1P&5|32ZT<#+oYM9b5{5w}toP*GN!h(<`OzJ3`}-U)eUT{1|7w
zFx>=|_3~cbSn5&mqNRUW=q}%~E!Ny?`EE;5>SgUu`3c2dn!Wf5&N**;q`U0qFYZ{C
zz3>Nz;L7y$^vwF(d}EfRCw~GL^+Xh1S>l4lws_F;Lw=(JF?=f&0np{!|J5@Q7NcnWnO_!eq+V
zv^cnXi#DS}5-n9w+$0eLIaH1f2%ZdF4=M(RAL}?Ps?9Fc&cgaVX@oH^z0{P8{>Xec
z!#9r?d-CYZ^0^-;sgGX2a~q)ROn6CxKyVIl{SJSlxMwQ8=@*+F#<*ZZ5mG%TXJu?*
z?{RJ;bZTZMRx9+hb(Rugp!y!t=|rH?BDl9y_Y1lbzM6&XhETuwov?@PP
z^r_KWD{oZZQ|obbV)FHMKiabXu=c2ODJEG)EwKHqmoUeqhx%$PdxRA*Tr~pwW)ibA
zJ}cXVgH$G5AREG6=kT3#wBrR+^{3_&NKlU=a#xH%nUMMDJ}d!1ZZnGe)uF{j&%
zqYznWAuNf#z}`V9Rf6MZe73KsM3%KKo{YxtJ>5N8d5aTL43rFsh=BciZI`W0)OW8Y
z8;A-aAF4sxzAx#0yZ^2XGmI}e1DV>*fXMsE>&_r+w>+1T`Q@;kOnho`faTw_DCO~&
z50qiSb5YUJ@Lzk7NAGvGv@C=#Xl{rKwMxx=Y_<%&PmbpznBn5Py5|gLDs}ZAHl;W<
zOTP8%cfAta5~3p|-7P2KA6N{`l~_thC{2UoDy@+tlJY}ke(FqTOScfUN)76G^IAZ}
z)I#+12=%W^iNPb07e*8E3=Moqufzx_L8O{}7wAa)K|5wIR-t|Z=;Py~w(*2EJxvBP
zjF(=K?X7t!Xs{fLXD~wAU7re$RnIT8H9TNwU387s*mBtKDeUhCYDtR8?=kn-xu!De
zl{-!^jhtRa2r}FYU?7JmOGK^PfMHg38qkvgj3HppU)op22{oA;w_uGsUK$$}pz`d+=-hGSlO+
z?8O`;Da9f%AiJZ@jN!t5YvMnyhYwVguAEa)w!PpS25N>3ky2(>NNS@#K-k9>5>Gu*
z`Q174y%!!*?LG4W^u-a#(re|4^^@D}*D%N|LFG+_ZEB^ixMLv0O?CdcIM?FP_lxpe1=|=(MMUbvLWuQ
z`C|nIg>^-MhX;o6j$El!K!BC;jk@H-?{uMLhC{HeD5WEPB>7wYwD+g0mi=nx9J3u5Zl=*(o-bO^MEB
zf8aZfv8CgVcJ-M&6`dNy4}PBo8;0E-?Jp12ZkKp?-qRR=H+}B@%H0Z#@kr(NNaGr9mbp|DUoCfZ&1A|yLj|v^
zEcL;^|4QFF@Szh_OPB5cTuKYI^e*cRl(GO6b6TZxWx}>O8O;L!J=uV}K(z&Lm0liS
zTXb@hjuRs^Pft%*(8O-}`1IW@+VlR|{NLZPnC@T
z7Eu0eaq({HOKcM{Ls3BLNH_i94S|2+|7X77pYX3ZkLWhE$z%p1#-LK&^*%#zn9!|f
z|NErnB4E#-DKS&f{y&q9PbFr$vRA+q@CPbR3<&xIvHlC`{{Zg8YV6(v0x(7zGG5q5
RiJz_uTs4DUA(-Au_zyd*1G4}C
literal 0
HcmV?d00001
diff --git a/src/components/DetailScreen/BookImage.js b/src/components/DetailScreen/BookImage.js
index f0604e1..6e5ff2c 100644
--- a/src/components/DetailScreen/BookImage.js
+++ b/src/components/DetailScreen/BookImage.js
@@ -7,18 +7,28 @@ import {
import { bookImage as styles } from './Styles';
-const BookImage = ({ uri }) => {
- let imageUri = uri;
- if (imageUri === 'none') {
- imageUri = 'https://facebook.github.io/react/logo-og.png';
- }
+const NoImage = () => (
+
+);
- return (
-
-
-
- );
-};
+const NetworkImage = uri => (
+
+);
+
+const BookImage = ({ uri }) => (
+
+ {uri ?
+
+ :
+ }
+
+);
BookImage.propTypes = {
uri: PropTypes.string.isRequired,
From a8075a151f3cf93a491ff34f9d8d64e98e7f9154 Mon Sep 17 00:00:00 2001
From: kawatsu kenya <3982ne@gmail.com>
Date: Sun, 22 Jul 2018 15:59:00 +0900
Subject: [PATCH 09/12] remove image required
---
src/components/HomeScreen/BookList.js | 2 +-
src/components/HomeScreen/index.js | 2 +-
src/components/LentScanScreen/index.js | 1 -
3 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/components/HomeScreen/BookList.js b/src/components/HomeScreen/BookList.js
index 47b5c88..814a718 100644
--- a/src/components/HomeScreen/BookList.js
+++ b/src/components/HomeScreen/BookList.js
@@ -98,7 +98,7 @@ BookList.propTypes = {
books: PropTypes.arrayOf(PropTypes.shape({
id: PropTypes.number.isRequired,
title: PropTypes.string.isRequired,
- image: PropTypes.string.isRequired,
+ image: PropTypes.string,
status: PropTypes.bool.isRequired,
isbn: PropTypes.string.isRequired,
})),
diff --git a/src/components/HomeScreen/index.js b/src/components/HomeScreen/index.js
index 893b742..d20f9b0 100755
--- a/src/components/HomeScreen/index.js
+++ b/src/components/HomeScreen/index.js
@@ -40,7 +40,7 @@ HomeScreen.propTypes = {
books: PropTypes.arrayOf(PropTypes.shape({
id: PropTypes.number.isRequired,
title: PropTypes.string.isRequired,
- image: PropTypes.string.isRequired,
+ image: PropTypes.string,
status: PropTypes.bool.isRequired,
isbn: PropTypes.string.isRequired,
})),
diff --git a/src/components/LentScanScreen/index.js b/src/components/LentScanScreen/index.js
index 91b19d0..ebfda93 100644
--- a/src/components/LentScanScreen/index.js
+++ b/src/components/LentScanScreen/index.js
@@ -16,7 +16,6 @@ import { rentBook } from '../../utils/Network';
import { navigate } from '../../utils/NavigationService';
export default class LentScanScreen extends Component {
-
async componentWillMount() {
const { status } = await Permissions.askAsync(Permissions.CAMERA);
if (status === 'granted') {
From 708fd22301eac58be44a9c7358538c716fdc4b0b Mon Sep 17 00:00:00 2001
From: kawatsu kenya <3982ne@gmail.com>
Date: Sun, 22 Jul 2018 22:44:47 +0900
Subject: [PATCH 10/12] fix column name
---
src/components/DetailScreen/BookImage.js | 4 ++--
src/components/DetailScreen/index.js | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/components/DetailScreen/BookImage.js b/src/components/DetailScreen/BookImage.js
index 6e5ff2c..abea93e 100644
--- a/src/components/DetailScreen/BookImage.js
+++ b/src/components/DetailScreen/BookImage.js
@@ -14,9 +14,9 @@ const NoImage = () => (
/>
);
-const NetworkImage = uri => (
+const NetworkImage = ({ uri }) => (
);
diff --git a/src/components/DetailScreen/index.js b/src/components/DetailScreen/index.js
index 77ec87f..e194676 100644
--- a/src/components/DetailScreen/index.js
+++ b/src/components/DetailScreen/index.js
@@ -19,7 +19,7 @@ class DetailScreen extends Component {
status,
image,
title,
- published_at,
+ published,
} = this.props.book;
return (
@@ -29,7 +29,7 @@ class DetailScreen extends Component {
{title}
- 出版日:{published_at}
+ 出版日:{published}
@@ -52,9 +52,9 @@ DetailScreen.propTypes = {
book: PropTypes.shape({
tags: PropTypes.array.isRequired,
status: PropTypes.bool.isRequired,
- image: PropTypes.string.isRequired,
+ image: PropTypes.string,
title: PropTypes.string.isRequired,
- published_at: PropTypes.string.isRequired,
+ published: PropTypes.string.isRequired,
}).isRequired,
};
From d493292c6d6667b2fb18b0db85700008d5d1364f Mon Sep 17 00:00:00 2001
From: kawatsu kenya <3982ne@gmail.com>
Date: Mon, 23 Jul 2018 00:13:43 +0900
Subject: [PATCH 11/12] fix
---
src/actions/index.js | 1 -
src/components/DetailScreen/BookInfo.js | 0
src/components/DetailScreen/StatusIcon.js | 35 -----------------------
src/components/LentScanScreen/index.js | 1 -
4 files changed, 37 deletions(-)
create mode 100644 src/components/DetailScreen/BookInfo.js
delete mode 100644 src/components/DetailScreen/StatusIcon.js
diff --git a/src/actions/index.js b/src/actions/index.js
index b2044c3..13a97fe 100644
--- a/src/actions/index.js
+++ b/src/actions/index.js
@@ -48,7 +48,6 @@ export const getAllBooks = () => (dispatch) => {
throw new Error(response);
})
.then((resJson) => {
- console.log(resJson);
dispatch(requestSuccess());
dispatch(getBooks(resJson.books));
})
diff --git a/src/components/DetailScreen/BookInfo.js b/src/components/DetailScreen/BookInfo.js
new file mode 100644
index 0000000..e69de29
diff --git a/src/components/DetailScreen/StatusIcon.js b/src/components/DetailScreen/StatusIcon.js
deleted file mode 100644
index 2c6f19d..0000000
--- a/src/components/DetailScreen/StatusIcon.js
+++ /dev/null
@@ -1,35 +0,0 @@
-import React from 'react';
-import PropTypes from 'prop-types';
-import { View } from 'react-native';
-import {
- Octicons,
- MaterialCommunityIcons,
-} from '@expo/vector-icons';
-
-import { statusIcon as styles } from './Styles';
-
-const LendIcon = () => (
-
-
-
-);
-
-const BorrowIcon = () => (
-
-
-
-);
-
-const StatusIcon = ({ status }) => {
- if (status === true) {
- return ;
- }
-
- return ;
-};
-
-StatusIcon.propTyles = {
- status: PropTypes.bool.isRequired,
-};
-
-export default StatusIcon;
diff --git a/src/components/LentScanScreen/index.js b/src/components/LentScanScreen/index.js
index ebfda93..91d187e 100644
--- a/src/components/LentScanScreen/index.js
+++ b/src/components/LentScanScreen/index.js
@@ -12,7 +12,6 @@ import {
import { Text } from 'react-native-elements';
import { index as styles } from './Styles';
-import { rentBook } from '../../utils/Network';
import { navigate } from '../../utils/NavigationService';
export default class LentScanScreen extends Component {
From 9f28ecdaadc82eee4fbd77f75ea05b0faccd07f6 Mon Sep 17 00:00:00 2001
From: kawatsu kenya <3982ne@gmail.com>
Date: Tue, 24 Jul 2018 14:32:35 +0900
Subject: [PATCH 12/12] change post column
---
src/__tests__/actions/books.test.js | 2 +-
.../components/LentScanScreen.test.js | 1 +
.../__snapshots__/BookList.test.js.snap | 630 +++++++++---------
.../__snapshots__/DetailScreen.test.js.snap | 476 ++-----------
.../__snapshots__/LentScanScreen.test.js.snap | 164 ++++-
.../__snapshots__/HomeScreeen.js.snap | 300 ++++-----
src/actions/index.js | 37 +-
src/api/books.json | 60 +-
src/api/index.js | 15 +
src/components/LentScanScreen/index.js | 18 +-
10 files changed, 747 insertions(+), 956 deletions(-)
create mode 100644 src/api/index.js
diff --git a/src/__tests__/actions/books.test.js b/src/__tests__/actions/books.test.js
index 25a0bc4..ee15a56 100644
--- a/src/__tests__/actions/books.test.js
+++ b/src/__tests__/actions/books.test.js
@@ -31,7 +31,7 @@ describe('actions', () => {
];
const store = mockStore();
- return store.dispatch(actions.getAllBooks())
+ return store.dispatch(actions.getAllMockBooks())
.then(() => {
expect(store.getActions()).toEqual(expected);
});
diff --git a/src/__tests__/components/LentScanScreen.test.js b/src/__tests__/components/LentScanScreen.test.js
index aa7cb92..528fbba 100644
--- a/src/__tests__/components/LentScanScreen.test.js
+++ b/src/__tests__/components/LentScanScreen.test.js
@@ -16,6 +16,7 @@ describe('', () => {
isbnReading={jest.fn()}
isbnOk={jest.fn()}
isbnInvalid={jest.fn()}
+ requestChangeStatus={jest.fn()}
/>)
.toJSON();
expect(tree).toMatchSnapshot();
diff --git a/src/__tests__/components/__snapshots__/BookList.test.js.snap b/src/__tests__/components/__snapshots__/BookList.test.js.snap
index 9c01643..160ffe6 100644
--- a/src/__tests__/components/__snapshots__/BookList.test.js.snap
+++ b/src/__tests__/components/__snapshots__/BookList.test.js.snap
@@ -12,7 +12,7 @@ ShallowWrapper {
"id": 2,
"image": "none",
"isbn": "9784774184111",
- "published_at": "2018-02-09T00:00:00Z",
+ "published": "2018-02-09T00:00:00Z",
"status": true,
"tags": Array [],
"title": "javascript ",
@@ -23,7 +23,7 @@ ShallowWrapper {
"id": 14,
"image": "none",
"isbn": "9784774183923",
- "published_at": "2018-02-12T00:00:00Z",
+ "published": "2018-02-12T00:00:00Z",
"status": false,
"tags": Array [],
"title": "ghj",
@@ -34,7 +34,7 @@ ShallowWrapper {
"id": 16,
"image": "none",
"isbn": "9780004195025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングGo言語",
@@ -45,7 +45,7 @@ ShallowWrapper {
"id": 17,
"image": "none",
"isbn": "9780104195025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングC言語",
@@ -56,7 +56,7 @@ ShallowWrapper {
"id": 19,
"image": "none",
"isbn": "9781111115025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングC言語",
@@ -67,7 +67,7 @@ ShallowWrapper {
"id": 1,
"image": "none",
"isbn": "9784873113944",
- "published_at": "2009-01-26T00:00:00Z",
+ "published": "2009-01-26T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -83,7 +83,7 @@ ShallowWrapper {
"id": 23,
"image": "none",
"isbn": "9780987678909",
- "published_at": "2014-04-09T00:00:00Z",
+ "published": "2014-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングRuby",
@@ -94,7 +94,7 @@ ShallowWrapper {
"id": 25,
"image": "none",
"isbn": "9780987678988",
- "published_at": "2014-04-09T00:00:00Z",
+ "published": "2014-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングR",
@@ -105,7 +105,7 @@ ShallowWrapper {
"id": 20,
"image": "none",
"isbn": "9780004195095",
- "published_at": "2014-04-09T00:00:00Z",
+ "published": "2014-04-09T00:00:00Z",
"status": true,
"tags": Array [],
"title": "スターティングRuby",
@@ -116,7 +116,7 @@ ShallowWrapper {
"id": 26,
"image": "none",
"isbn": "9789867165289",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "Docker実践ガイド impress top gearシリーズ",
@@ -127,7 +127,7 @@ ShallowWrapper {
"id": 27,
"image": "none",
"isbn": "9784949999120",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [],
"title": "ReactNative",
@@ -138,7 +138,7 @@ ShallowWrapper {
"id": 28,
"image": "none",
"isbn": "9784063300468",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -170,7 +170,7 @@ ShallowWrapper {
"id": 29,
"image": "none",
"isbn": "9784797363821",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -186,7 +186,7 @@ ShallowWrapper {
"id": 30,
"image": "none",
"isbn": "9784797372410",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -206,7 +206,7 @@ ShallowWrapper {
"id": 33,
"image": "none",
"isbn": "9784834002720",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -226,7 +226,7 @@ ShallowWrapper {
"id": 34,
"image": "none",
"isbn": "9784774193830",
- "published_at": "2017-11-21T00:00:00Z",
+ "published": "2017-11-21T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -246,7 +246,7 @@ ShallowWrapper {
"id": 13,
"image": "none",
"isbn": "9784844338154",
- "published_at": "2018-02-09T00:00:00Z",
+ "published": "2018-02-09T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -262,7 +262,7 @@ ShallowWrapper {
"id": 35,
"image": "none",
"isbn": "9784774172736",
- "published_at": "2015-05-15T00:00:00Z",
+ "published": "2015-05-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -278,7 +278,7 @@ ShallowWrapper {
"id": 46,
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SatMar24090349.png",
"isbn": "9784048678841",
- "published_at": "2010-03-02T00:00:00Z",
+ "published": "2010-03-02T00:00:00Z",
"status": false,
"tags": Array [],
"title": "リファクタリングRuby",
@@ -289,7 +289,7 @@ ShallowWrapper {
"id": 15,
"image": "none",
"isbn": "9784873115658",
- "published_at": "2016-04-11T00:00:00Z",
+ "published": "2016-04-11T00:00:00Z",
"status": true,
"tags": Array [],
"title": "リーダブルコード",
@@ -300,7 +300,7 @@ ShallowWrapper {
"id": 48,
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SatMar24102621.png",
"isbn": "9784798118154",
- "published_at": "2008-12-03T00:00:00Z",
+ "published": "2008-12-03T00:00:00Z",
"status": false,
"tags": Array [],
"title": "zsh最強シェル入門",
@@ -311,7 +311,7 @@ ShallowWrapper {
"id": 36,
"image": "none",
"isbn": "9784873114996",
- "published_at": "2018-02-16T00:00:00Z",
+ "published": "2018-02-16T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -327,7 +327,7 @@ ShallowWrapper {
"id": 47,
"image": "none",
"isbn": "9784844365501",
- "published_at": "2015-12-24T00:00:00Z",
+ "published": "2015-12-24T00:00:00Z",
"status": true,
"tags": Array [],
"title": "ランディングページデザインメソッド",
@@ -338,7 +338,7 @@ ShallowWrapper {
"id": 43,
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SunMar18111526.png",
"isbn": "9784569808581",
- "published_at": "2018-02-18T00:00:00Z",
+ "published": "2018-02-18T00:00:00Z",
"status": false,
"tags": Array [],
"title": "てすと",
@@ -349,7 +349,7 @@ ShallowWrapper {
"id": 49,
"image": "none",
"isbn": "9784865940046",
- "published_at": "2018-03-23T00:00:00Z",
+ "published": "2018-03-23T00:00:00Z",
"status": false,
"tags": Array [],
"title": "てすと",
@@ -360,7 +360,7 @@ ShallowWrapper {
"id": 50,
"image": "none",
"isbn": "9784048933070",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": true,
"tags": Array [],
"title": "社畜ちゃん",
@@ -371,7 +371,7 @@ ShallowWrapper {
"id": 51,
"image": "none",
"isbn": "9784063766417",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": false,
"tags": Array [],
"title": "デビルマン",
@@ -382,7 +382,7 @@ ShallowWrapper {
"id": 52,
"image": "none",
"isbn": "9784063766424",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": false,
"tags": Array [],
"title": "デビルマン2",
@@ -393,7 +393,7 @@ ShallowWrapper {
"id": 56,
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SatMar24132702.png",
"isbn": "9784063766516",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": false,
"tags": Array [],
"title": "デビルマン3",
@@ -404,7 +404,7 @@ ShallowWrapper {
"id": 58,
"image": "none",
"isbn": "9784063766639",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": true,
"tags": Array [
Object {
@@ -444,7 +444,7 @@ ShallowWrapper {
"id": 2,
"image": "none",
"isbn": "9784774184111",
- "published_at": "2018-02-09T00:00:00Z",
+ "published": "2018-02-09T00:00:00Z",
"status": true,
"tags": Array [],
"title": "javascript ",
@@ -455,7 +455,7 @@ ShallowWrapper {
"id": 14,
"image": "none",
"isbn": "9784774183923",
- "published_at": "2018-02-12T00:00:00Z",
+ "published": "2018-02-12T00:00:00Z",
"status": false,
"tags": Array [],
"title": "ghj",
@@ -466,7 +466,7 @@ ShallowWrapper {
"id": 16,
"image": "none",
"isbn": "9780004195025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングGo言語",
@@ -477,7 +477,7 @@ ShallowWrapper {
"id": 17,
"image": "none",
"isbn": "9780104195025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングC言語",
@@ -488,7 +488,7 @@ ShallowWrapper {
"id": 19,
"image": "none",
"isbn": "9781111115025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングC言語",
@@ -499,7 +499,7 @@ ShallowWrapper {
"id": 1,
"image": "none",
"isbn": "9784873113944",
- "published_at": "2009-01-26T00:00:00Z",
+ "published": "2009-01-26T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -515,7 +515,7 @@ ShallowWrapper {
"id": 23,
"image": "none",
"isbn": "9780987678909",
- "published_at": "2014-04-09T00:00:00Z",
+ "published": "2014-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングRuby",
@@ -526,7 +526,7 @@ ShallowWrapper {
"id": 25,
"image": "none",
"isbn": "9780987678988",
- "published_at": "2014-04-09T00:00:00Z",
+ "published": "2014-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングR",
@@ -537,7 +537,7 @@ ShallowWrapper {
"id": 20,
"image": "none",
"isbn": "9780004195095",
- "published_at": "2014-04-09T00:00:00Z",
+ "published": "2014-04-09T00:00:00Z",
"status": true,
"tags": Array [],
"title": "スターティングRuby",
@@ -548,7 +548,7 @@ ShallowWrapper {
"id": 26,
"image": "none",
"isbn": "9789867165289",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "Docker実践ガイド impress top gearシリーズ",
@@ -559,7 +559,7 @@ ShallowWrapper {
"id": 27,
"image": "none",
"isbn": "9784949999120",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [],
"title": "ReactNative",
@@ -570,7 +570,7 @@ ShallowWrapper {
"id": 28,
"image": "none",
"isbn": "9784063300468",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -602,7 +602,7 @@ ShallowWrapper {
"id": 29,
"image": "none",
"isbn": "9784797363821",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -618,7 +618,7 @@ ShallowWrapper {
"id": 30,
"image": "none",
"isbn": "9784797372410",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -638,7 +638,7 @@ ShallowWrapper {
"id": 33,
"image": "none",
"isbn": "9784834002720",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -658,7 +658,7 @@ ShallowWrapper {
"id": 34,
"image": "none",
"isbn": "9784774193830",
- "published_at": "2017-11-21T00:00:00Z",
+ "published": "2017-11-21T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -678,7 +678,7 @@ ShallowWrapper {
"id": 13,
"image": "none",
"isbn": "9784844338154",
- "published_at": "2018-02-09T00:00:00Z",
+ "published": "2018-02-09T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -694,7 +694,7 @@ ShallowWrapper {
"id": 35,
"image": "none",
"isbn": "9784774172736",
- "published_at": "2015-05-15T00:00:00Z",
+ "published": "2015-05-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -710,7 +710,7 @@ ShallowWrapper {
"id": 46,
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SatMar24090349.png",
"isbn": "9784048678841",
- "published_at": "2010-03-02T00:00:00Z",
+ "published": "2010-03-02T00:00:00Z",
"status": false,
"tags": Array [],
"title": "リファクタリングRuby",
@@ -721,7 +721,7 @@ ShallowWrapper {
"id": 15,
"image": "none",
"isbn": "9784873115658",
- "published_at": "2016-04-11T00:00:00Z",
+ "published": "2016-04-11T00:00:00Z",
"status": true,
"tags": Array [],
"title": "リーダブルコード",
@@ -732,7 +732,7 @@ ShallowWrapper {
"id": 48,
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SatMar24102621.png",
"isbn": "9784798118154",
- "published_at": "2008-12-03T00:00:00Z",
+ "published": "2008-12-03T00:00:00Z",
"status": false,
"tags": Array [],
"title": "zsh最強シェル入門",
@@ -743,7 +743,7 @@ ShallowWrapper {
"id": 36,
"image": "none",
"isbn": "9784873114996",
- "published_at": "2018-02-16T00:00:00Z",
+ "published": "2018-02-16T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -759,7 +759,7 @@ ShallowWrapper {
"id": 47,
"image": "none",
"isbn": "9784844365501",
- "published_at": "2015-12-24T00:00:00Z",
+ "published": "2015-12-24T00:00:00Z",
"status": true,
"tags": Array [],
"title": "ランディングページデザインメソッド",
@@ -770,7 +770,7 @@ ShallowWrapper {
"id": 43,
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SunMar18111526.png",
"isbn": "9784569808581",
- "published_at": "2018-02-18T00:00:00Z",
+ "published": "2018-02-18T00:00:00Z",
"status": false,
"tags": Array [],
"title": "てすと",
@@ -781,7 +781,7 @@ ShallowWrapper {
"id": 49,
"image": "none",
"isbn": "9784865940046",
- "published_at": "2018-03-23T00:00:00Z",
+ "published": "2018-03-23T00:00:00Z",
"status": false,
"tags": Array [],
"title": "てすと",
@@ -792,7 +792,7 @@ ShallowWrapper {
"id": 50,
"image": "none",
"isbn": "9784048933070",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": true,
"tags": Array [],
"title": "社畜ちゃん",
@@ -803,7 +803,7 @@ ShallowWrapper {
"id": 51,
"image": "none",
"isbn": "9784063766417",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": false,
"tags": Array [],
"title": "デビルマン",
@@ -814,7 +814,7 @@ ShallowWrapper {
"id": 52,
"image": "none",
"isbn": "9784063766424",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": false,
"tags": Array [],
"title": "デビルマン2",
@@ -825,7 +825,7 @@ ShallowWrapper {
"id": 56,
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SatMar24132702.png",
"isbn": "9784063766516",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": false,
"tags": Array [],
"title": "デビルマン3",
@@ -836,7 +836,7 @@ ShallowWrapper {
"id": 58,
"image": "none",
"isbn": "9784063766639",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": true,
"tags": Array [
Object {
@@ -861,7 +861,7 @@ ShallowWrapper {
"id": 2,
"image": "none",
"isbn": "9784774184111",
- "published_at": "2018-02-09T00:00:00Z",
+ "published": "2018-02-09T00:00:00Z",
"status": true,
"tags": Array [],
"title": "javascript ",
@@ -872,7 +872,7 @@ ShallowWrapper {
"id": 14,
"image": "none",
"isbn": "9784774183923",
- "published_at": "2018-02-12T00:00:00Z",
+ "published": "2018-02-12T00:00:00Z",
"status": false,
"tags": Array [],
"title": "ghj",
@@ -883,7 +883,7 @@ ShallowWrapper {
"id": 16,
"image": "none",
"isbn": "9780004195025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングGo言語",
@@ -894,7 +894,7 @@ ShallowWrapper {
"id": 17,
"image": "none",
"isbn": "9780104195025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングC言語",
@@ -905,7 +905,7 @@ ShallowWrapper {
"id": 19,
"image": "none",
"isbn": "9781111115025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングC言語",
@@ -916,7 +916,7 @@ ShallowWrapper {
"id": 1,
"image": "none",
"isbn": "9784873113944",
- "published_at": "2009-01-26T00:00:00Z",
+ "published": "2009-01-26T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -932,7 +932,7 @@ ShallowWrapper {
"id": 23,
"image": "none",
"isbn": "9780987678909",
- "published_at": "2014-04-09T00:00:00Z",
+ "published": "2014-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングRuby",
@@ -943,7 +943,7 @@ ShallowWrapper {
"id": 25,
"image": "none",
"isbn": "9780987678988",
- "published_at": "2014-04-09T00:00:00Z",
+ "published": "2014-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングR",
@@ -954,7 +954,7 @@ ShallowWrapper {
"id": 20,
"image": "none",
"isbn": "9780004195095",
- "published_at": "2014-04-09T00:00:00Z",
+ "published": "2014-04-09T00:00:00Z",
"status": true,
"tags": Array [],
"title": "スターティングRuby",
@@ -965,7 +965,7 @@ ShallowWrapper {
"id": 26,
"image": "none",
"isbn": "9789867165289",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "Docker実践ガイド impress top gearシリーズ",
@@ -976,7 +976,7 @@ ShallowWrapper {
"id": 27,
"image": "none",
"isbn": "9784949999120",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [],
"title": "ReactNative",
@@ -987,7 +987,7 @@ ShallowWrapper {
"id": 28,
"image": "none",
"isbn": "9784063300468",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -1019,7 +1019,7 @@ ShallowWrapper {
"id": 29,
"image": "none",
"isbn": "9784797363821",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -1035,7 +1035,7 @@ ShallowWrapper {
"id": 30,
"image": "none",
"isbn": "9784797372410",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -1055,7 +1055,7 @@ ShallowWrapper {
"id": 33,
"image": "none",
"isbn": "9784834002720",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -1075,7 +1075,7 @@ ShallowWrapper {
"id": 34,
"image": "none",
"isbn": "9784774193830",
- "published_at": "2017-11-21T00:00:00Z",
+ "published": "2017-11-21T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -1095,7 +1095,7 @@ ShallowWrapper {
"id": 13,
"image": "none",
"isbn": "9784844338154",
- "published_at": "2018-02-09T00:00:00Z",
+ "published": "2018-02-09T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -1111,7 +1111,7 @@ ShallowWrapper {
"id": 35,
"image": "none",
"isbn": "9784774172736",
- "published_at": "2015-05-15T00:00:00Z",
+ "published": "2015-05-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -1127,7 +1127,7 @@ ShallowWrapper {
"id": 46,
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SatMar24090349.png",
"isbn": "9784048678841",
- "published_at": "2010-03-02T00:00:00Z",
+ "published": "2010-03-02T00:00:00Z",
"status": false,
"tags": Array [],
"title": "リファクタリングRuby",
@@ -1138,7 +1138,7 @@ ShallowWrapper {
"id": 15,
"image": "none",
"isbn": "9784873115658",
- "published_at": "2016-04-11T00:00:00Z",
+ "published": "2016-04-11T00:00:00Z",
"status": true,
"tags": Array [],
"title": "リーダブルコード",
@@ -1149,7 +1149,7 @@ ShallowWrapper {
"id": 48,
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SatMar24102621.png",
"isbn": "9784798118154",
- "published_at": "2008-12-03T00:00:00Z",
+ "published": "2008-12-03T00:00:00Z",
"status": false,
"tags": Array [],
"title": "zsh最強シェル入門",
@@ -1160,7 +1160,7 @@ ShallowWrapper {
"id": 36,
"image": "none",
"isbn": "9784873114996",
- "published_at": "2018-02-16T00:00:00Z",
+ "published": "2018-02-16T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -1176,7 +1176,7 @@ ShallowWrapper {
"id": 47,
"image": "none",
"isbn": "9784844365501",
- "published_at": "2015-12-24T00:00:00Z",
+ "published": "2015-12-24T00:00:00Z",
"status": true,
"tags": Array [],
"title": "ランディングページデザインメソッド",
@@ -1187,7 +1187,7 @@ ShallowWrapper {
"id": 43,
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SunMar18111526.png",
"isbn": "9784569808581",
- "published_at": "2018-02-18T00:00:00Z",
+ "published": "2018-02-18T00:00:00Z",
"status": false,
"tags": Array [],
"title": "てすと",
@@ -1198,7 +1198,7 @@ ShallowWrapper {
"id": 49,
"image": "none",
"isbn": "9784865940046",
- "published_at": "2018-03-23T00:00:00Z",
+ "published": "2018-03-23T00:00:00Z",
"status": false,
"tags": Array [],
"title": "てすと",
@@ -1209,7 +1209,7 @@ ShallowWrapper {
"id": 50,
"image": "none",
"isbn": "9784048933070",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": true,
"tags": Array [],
"title": "社畜ちゃん",
@@ -1220,7 +1220,7 @@ ShallowWrapper {
"id": 51,
"image": "none",
"isbn": "9784063766417",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": false,
"tags": Array [],
"title": "デビルマン",
@@ -1231,7 +1231,7 @@ ShallowWrapper {
"id": 52,
"image": "none",
"isbn": "9784063766424",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": false,
"tags": Array [],
"title": "デビルマン2",
@@ -1242,7 +1242,7 @@ ShallowWrapper {
"id": 56,
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SatMar24132702.png",
"isbn": "9784063766516",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": false,
"tags": Array [],
"title": "デビルマン3",
@@ -1253,7 +1253,7 @@ ShallowWrapper {
"id": 58,
"image": "none",
"isbn": "9784063766639",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": true,
"tags": Array [
Object {
@@ -1301,7 +1301,7 @@ ShallowWrapper {
"id": 2,
"image": "none",
"isbn": "9784774184111",
- "published_at": "2018-02-09T00:00:00Z",
+ "published": "2018-02-09T00:00:00Z",
"status": true,
"tags": Array [],
"title": "javascript ",
@@ -1312,7 +1312,7 @@ ShallowWrapper {
"id": 14,
"image": "none",
"isbn": "9784774183923",
- "published_at": "2018-02-12T00:00:00Z",
+ "published": "2018-02-12T00:00:00Z",
"status": false,
"tags": Array [],
"title": "ghj",
@@ -1323,7 +1323,7 @@ ShallowWrapper {
"id": 16,
"image": "none",
"isbn": "9780004195025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングGo言語",
@@ -1334,7 +1334,7 @@ ShallowWrapper {
"id": 17,
"image": "none",
"isbn": "9780104195025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングC言語",
@@ -1345,7 +1345,7 @@ ShallowWrapper {
"id": 19,
"image": "none",
"isbn": "9781111115025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングC言語",
@@ -1356,7 +1356,7 @@ ShallowWrapper {
"id": 1,
"image": "none",
"isbn": "9784873113944",
- "published_at": "2009-01-26T00:00:00Z",
+ "published": "2009-01-26T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -1372,7 +1372,7 @@ ShallowWrapper {
"id": 23,
"image": "none",
"isbn": "9780987678909",
- "published_at": "2014-04-09T00:00:00Z",
+ "published": "2014-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングRuby",
@@ -1383,7 +1383,7 @@ ShallowWrapper {
"id": 25,
"image": "none",
"isbn": "9780987678988",
- "published_at": "2014-04-09T00:00:00Z",
+ "published": "2014-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングR",
@@ -1394,7 +1394,7 @@ ShallowWrapper {
"id": 20,
"image": "none",
"isbn": "9780004195095",
- "published_at": "2014-04-09T00:00:00Z",
+ "published": "2014-04-09T00:00:00Z",
"status": true,
"tags": Array [],
"title": "スターティングRuby",
@@ -1405,7 +1405,7 @@ ShallowWrapper {
"id": 26,
"image": "none",
"isbn": "9789867165289",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "Docker実践ガイド impress top gearシリーズ",
@@ -1416,7 +1416,7 @@ ShallowWrapper {
"id": 27,
"image": "none",
"isbn": "9784949999120",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [],
"title": "ReactNative",
@@ -1427,7 +1427,7 @@ ShallowWrapper {
"id": 28,
"image": "none",
"isbn": "9784063300468",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -1459,7 +1459,7 @@ ShallowWrapper {
"id": 29,
"image": "none",
"isbn": "9784797363821",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -1475,7 +1475,7 @@ ShallowWrapper {
"id": 30,
"image": "none",
"isbn": "9784797372410",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -1495,7 +1495,7 @@ ShallowWrapper {
"id": 33,
"image": "none",
"isbn": "9784834002720",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -1515,7 +1515,7 @@ ShallowWrapper {
"id": 34,
"image": "none",
"isbn": "9784774193830",
- "published_at": "2017-11-21T00:00:00Z",
+ "published": "2017-11-21T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -1535,7 +1535,7 @@ ShallowWrapper {
"id": 13,
"image": "none",
"isbn": "9784844338154",
- "published_at": "2018-02-09T00:00:00Z",
+ "published": "2018-02-09T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -1551,7 +1551,7 @@ ShallowWrapper {
"id": 35,
"image": "none",
"isbn": "9784774172736",
- "published_at": "2015-05-15T00:00:00Z",
+ "published": "2015-05-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -1567,7 +1567,7 @@ ShallowWrapper {
"id": 46,
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SatMar24090349.png",
"isbn": "9784048678841",
- "published_at": "2010-03-02T00:00:00Z",
+ "published": "2010-03-02T00:00:00Z",
"status": false,
"tags": Array [],
"title": "リファクタリングRuby",
@@ -1578,7 +1578,7 @@ ShallowWrapper {
"id": 15,
"image": "none",
"isbn": "9784873115658",
- "published_at": "2016-04-11T00:00:00Z",
+ "published": "2016-04-11T00:00:00Z",
"status": true,
"tags": Array [],
"title": "リーダブルコード",
@@ -1589,7 +1589,7 @@ ShallowWrapper {
"id": 48,
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SatMar24102621.png",
"isbn": "9784798118154",
- "published_at": "2008-12-03T00:00:00Z",
+ "published": "2008-12-03T00:00:00Z",
"status": false,
"tags": Array [],
"title": "zsh最強シェル入門",
@@ -1600,7 +1600,7 @@ ShallowWrapper {
"id": 36,
"image": "none",
"isbn": "9784873114996",
- "published_at": "2018-02-16T00:00:00Z",
+ "published": "2018-02-16T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -1616,7 +1616,7 @@ ShallowWrapper {
"id": 47,
"image": "none",
"isbn": "9784844365501",
- "published_at": "2015-12-24T00:00:00Z",
+ "published": "2015-12-24T00:00:00Z",
"status": true,
"tags": Array [],
"title": "ランディングページデザインメソッド",
@@ -1627,7 +1627,7 @@ ShallowWrapper {
"id": 43,
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SunMar18111526.png",
"isbn": "9784569808581",
- "published_at": "2018-02-18T00:00:00Z",
+ "published": "2018-02-18T00:00:00Z",
"status": false,
"tags": Array [],
"title": "てすと",
@@ -1638,7 +1638,7 @@ ShallowWrapper {
"id": 49,
"image": "none",
"isbn": "9784865940046",
- "published_at": "2018-03-23T00:00:00Z",
+ "published": "2018-03-23T00:00:00Z",
"status": false,
"tags": Array [],
"title": "てすと",
@@ -1649,7 +1649,7 @@ ShallowWrapper {
"id": 50,
"image": "none",
"isbn": "9784048933070",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": true,
"tags": Array [],
"title": "社畜ちゃん",
@@ -1660,7 +1660,7 @@ ShallowWrapper {
"id": 51,
"image": "none",
"isbn": "9784063766417",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": false,
"tags": Array [],
"title": "デビルマン",
@@ -1671,7 +1671,7 @@ ShallowWrapper {
"id": 52,
"image": "none",
"isbn": "9784063766424",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": false,
"tags": Array [],
"title": "デビルマン2",
@@ -1682,7 +1682,7 @@ ShallowWrapper {
"id": 56,
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SatMar24132702.png",
"isbn": "9784063766516",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": false,
"tags": Array [],
"title": "デビルマン3",
@@ -1693,7 +1693,7 @@ ShallowWrapper {
"id": 58,
"image": "none",
"isbn": "9784063766639",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": true,
"tags": Array [
Object {
@@ -1716,7 +1716,7 @@ ShallowWrapper {
"id": 2,
"image": "none",
"isbn": "9784774184111",
- "published_at": "2018-02-09T00:00:00Z",
+ "published": "2018-02-09T00:00:00Z",
"status": true,
"tags": Array [],
"title": "javascript ",
@@ -1727,7 +1727,7 @@ ShallowWrapper {
"id": 14,
"image": "none",
"isbn": "9784774183923",
- "published_at": "2018-02-12T00:00:00Z",
+ "published": "2018-02-12T00:00:00Z",
"status": false,
"tags": Array [],
"title": "ghj",
@@ -1738,7 +1738,7 @@ ShallowWrapper {
"id": 16,
"image": "none",
"isbn": "9780004195025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングGo言語",
@@ -1749,7 +1749,7 @@ ShallowWrapper {
"id": 17,
"image": "none",
"isbn": "9780104195025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングC言語",
@@ -1760,7 +1760,7 @@ ShallowWrapper {
"id": 19,
"image": "none",
"isbn": "9781111115025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングC言語",
@@ -1771,7 +1771,7 @@ ShallowWrapper {
"id": 1,
"image": "none",
"isbn": "9784873113944",
- "published_at": "2009-01-26T00:00:00Z",
+ "published": "2009-01-26T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -1787,7 +1787,7 @@ ShallowWrapper {
"id": 23,
"image": "none",
"isbn": "9780987678909",
- "published_at": "2014-04-09T00:00:00Z",
+ "published": "2014-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングRuby",
@@ -1798,7 +1798,7 @@ ShallowWrapper {
"id": 25,
"image": "none",
"isbn": "9780987678988",
- "published_at": "2014-04-09T00:00:00Z",
+ "published": "2014-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングR",
@@ -1809,7 +1809,7 @@ ShallowWrapper {
"id": 20,
"image": "none",
"isbn": "9780004195095",
- "published_at": "2014-04-09T00:00:00Z",
+ "published": "2014-04-09T00:00:00Z",
"status": true,
"tags": Array [],
"title": "スターティングRuby",
@@ -1820,7 +1820,7 @@ ShallowWrapper {
"id": 26,
"image": "none",
"isbn": "9789867165289",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "Docker実践ガイド impress top gearシリーズ",
@@ -1831,7 +1831,7 @@ ShallowWrapper {
"id": 27,
"image": "none",
"isbn": "9784949999120",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [],
"title": "ReactNative",
@@ -1842,7 +1842,7 @@ ShallowWrapper {
"id": 28,
"image": "none",
"isbn": "9784063300468",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -1874,7 +1874,7 @@ ShallowWrapper {
"id": 29,
"image": "none",
"isbn": "9784797363821",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -1890,7 +1890,7 @@ ShallowWrapper {
"id": 30,
"image": "none",
"isbn": "9784797372410",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -1910,7 +1910,7 @@ ShallowWrapper {
"id": 33,
"image": "none",
"isbn": "9784834002720",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -1930,7 +1930,7 @@ ShallowWrapper {
"id": 34,
"image": "none",
"isbn": "9784774193830",
- "published_at": "2017-11-21T00:00:00Z",
+ "published": "2017-11-21T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -1950,7 +1950,7 @@ ShallowWrapper {
"id": 13,
"image": "none",
"isbn": "9784844338154",
- "published_at": "2018-02-09T00:00:00Z",
+ "published": "2018-02-09T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -1966,7 +1966,7 @@ ShallowWrapper {
"id": 35,
"image": "none",
"isbn": "9784774172736",
- "published_at": "2015-05-15T00:00:00Z",
+ "published": "2015-05-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -1982,7 +1982,7 @@ ShallowWrapper {
"id": 46,
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SatMar24090349.png",
"isbn": "9784048678841",
- "published_at": "2010-03-02T00:00:00Z",
+ "published": "2010-03-02T00:00:00Z",
"status": false,
"tags": Array [],
"title": "リファクタリングRuby",
@@ -1993,7 +1993,7 @@ ShallowWrapper {
"id": 15,
"image": "none",
"isbn": "9784873115658",
- "published_at": "2016-04-11T00:00:00Z",
+ "published": "2016-04-11T00:00:00Z",
"status": true,
"tags": Array [],
"title": "リーダブルコード",
@@ -2004,7 +2004,7 @@ ShallowWrapper {
"id": 48,
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SatMar24102621.png",
"isbn": "9784798118154",
- "published_at": "2008-12-03T00:00:00Z",
+ "published": "2008-12-03T00:00:00Z",
"status": false,
"tags": Array [],
"title": "zsh最強シェル入門",
@@ -2015,7 +2015,7 @@ ShallowWrapper {
"id": 36,
"image": "none",
"isbn": "9784873114996",
- "published_at": "2018-02-16T00:00:00Z",
+ "published": "2018-02-16T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -2031,7 +2031,7 @@ ShallowWrapper {
"id": 47,
"image": "none",
"isbn": "9784844365501",
- "published_at": "2015-12-24T00:00:00Z",
+ "published": "2015-12-24T00:00:00Z",
"status": true,
"tags": Array [],
"title": "ランディングページデザインメソッド",
@@ -2042,7 +2042,7 @@ ShallowWrapper {
"id": 43,
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SunMar18111526.png",
"isbn": "9784569808581",
- "published_at": "2018-02-18T00:00:00Z",
+ "published": "2018-02-18T00:00:00Z",
"status": false,
"tags": Array [],
"title": "てすと",
@@ -2053,7 +2053,7 @@ ShallowWrapper {
"id": 49,
"image": "none",
"isbn": "9784865940046",
- "published_at": "2018-03-23T00:00:00Z",
+ "published": "2018-03-23T00:00:00Z",
"status": false,
"tags": Array [],
"title": "てすと",
@@ -2064,7 +2064,7 @@ ShallowWrapper {
"id": 50,
"image": "none",
"isbn": "9784048933070",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": true,
"tags": Array [],
"title": "社畜ちゃん",
@@ -2075,7 +2075,7 @@ ShallowWrapper {
"id": 51,
"image": "none",
"isbn": "9784063766417",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": false,
"tags": Array [],
"title": "デビルマン",
@@ -2086,7 +2086,7 @@ ShallowWrapper {
"id": 52,
"image": "none",
"isbn": "9784063766424",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": false,
"tags": Array [],
"title": "デビルマン2",
@@ -2097,7 +2097,7 @@ ShallowWrapper {
"id": 56,
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SatMar24132702.png",
"isbn": "9784063766516",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": false,
"tags": Array [],
"title": "デビルマン3",
@@ -2108,7 +2108,7 @@ ShallowWrapper {
"id": 58,
"image": "none",
"isbn": "9784063766639",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": true,
"tags": Array [
Object {
@@ -2157,7 +2157,7 @@ ShallowWrapper {
"id": 2,
"image": "none",
"isbn": "9784774184111",
- "published_at": "2018-02-09T00:00:00Z",
+ "published": "2018-02-09T00:00:00Z",
"status": true,
"tags": Array [],
"title": "javascript ",
@@ -2168,7 +2168,7 @@ ShallowWrapper {
"id": 14,
"image": "none",
"isbn": "9784774183923",
- "published_at": "2018-02-12T00:00:00Z",
+ "published": "2018-02-12T00:00:00Z",
"status": false,
"tags": Array [],
"title": "ghj",
@@ -2179,7 +2179,7 @@ ShallowWrapper {
"id": 16,
"image": "none",
"isbn": "9780004195025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングGo言語",
@@ -2190,7 +2190,7 @@ ShallowWrapper {
"id": 17,
"image": "none",
"isbn": "9780104195025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングC言語",
@@ -2201,7 +2201,7 @@ ShallowWrapper {
"id": 19,
"image": "none",
"isbn": "9781111115025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングC言語",
@@ -2212,7 +2212,7 @@ ShallowWrapper {
"id": 1,
"image": "none",
"isbn": "9784873113944",
- "published_at": "2009-01-26T00:00:00Z",
+ "published": "2009-01-26T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -2228,7 +2228,7 @@ ShallowWrapper {
"id": 23,
"image": "none",
"isbn": "9780987678909",
- "published_at": "2014-04-09T00:00:00Z",
+ "published": "2014-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングRuby",
@@ -2239,7 +2239,7 @@ ShallowWrapper {
"id": 25,
"image": "none",
"isbn": "9780987678988",
- "published_at": "2014-04-09T00:00:00Z",
+ "published": "2014-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングR",
@@ -2250,7 +2250,7 @@ ShallowWrapper {
"id": 20,
"image": "none",
"isbn": "9780004195095",
- "published_at": "2014-04-09T00:00:00Z",
+ "published": "2014-04-09T00:00:00Z",
"status": true,
"tags": Array [],
"title": "スターティングRuby",
@@ -2261,7 +2261,7 @@ ShallowWrapper {
"id": 26,
"image": "none",
"isbn": "9789867165289",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "Docker実践ガイド impress top gearシリーズ",
@@ -2272,7 +2272,7 @@ ShallowWrapper {
"id": 27,
"image": "none",
"isbn": "9784949999120",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [],
"title": "ReactNative",
@@ -2283,7 +2283,7 @@ ShallowWrapper {
"id": 28,
"image": "none",
"isbn": "9784063300468",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -2315,7 +2315,7 @@ ShallowWrapper {
"id": 29,
"image": "none",
"isbn": "9784797363821",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -2331,7 +2331,7 @@ ShallowWrapper {
"id": 30,
"image": "none",
"isbn": "9784797372410",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -2351,7 +2351,7 @@ ShallowWrapper {
"id": 33,
"image": "none",
"isbn": "9784834002720",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -2371,7 +2371,7 @@ ShallowWrapper {
"id": 34,
"image": "none",
"isbn": "9784774193830",
- "published_at": "2017-11-21T00:00:00Z",
+ "published": "2017-11-21T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -2391,7 +2391,7 @@ ShallowWrapper {
"id": 13,
"image": "none",
"isbn": "9784844338154",
- "published_at": "2018-02-09T00:00:00Z",
+ "published": "2018-02-09T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -2407,7 +2407,7 @@ ShallowWrapper {
"id": 35,
"image": "none",
"isbn": "9784774172736",
- "published_at": "2015-05-15T00:00:00Z",
+ "published": "2015-05-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -2423,7 +2423,7 @@ ShallowWrapper {
"id": 46,
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SatMar24090349.png",
"isbn": "9784048678841",
- "published_at": "2010-03-02T00:00:00Z",
+ "published": "2010-03-02T00:00:00Z",
"status": false,
"tags": Array [],
"title": "リファクタリングRuby",
@@ -2434,7 +2434,7 @@ ShallowWrapper {
"id": 15,
"image": "none",
"isbn": "9784873115658",
- "published_at": "2016-04-11T00:00:00Z",
+ "published": "2016-04-11T00:00:00Z",
"status": true,
"tags": Array [],
"title": "リーダブルコード",
@@ -2445,7 +2445,7 @@ ShallowWrapper {
"id": 48,
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SatMar24102621.png",
"isbn": "9784798118154",
- "published_at": "2008-12-03T00:00:00Z",
+ "published": "2008-12-03T00:00:00Z",
"status": false,
"tags": Array [],
"title": "zsh最強シェル入門",
@@ -2456,7 +2456,7 @@ ShallowWrapper {
"id": 36,
"image": "none",
"isbn": "9784873114996",
- "published_at": "2018-02-16T00:00:00Z",
+ "published": "2018-02-16T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -2472,7 +2472,7 @@ ShallowWrapper {
"id": 47,
"image": "none",
"isbn": "9784844365501",
- "published_at": "2015-12-24T00:00:00Z",
+ "published": "2015-12-24T00:00:00Z",
"status": true,
"tags": Array [],
"title": "ランディングページデザインメソッド",
@@ -2483,7 +2483,7 @@ ShallowWrapper {
"id": 43,
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SunMar18111526.png",
"isbn": "9784569808581",
- "published_at": "2018-02-18T00:00:00Z",
+ "published": "2018-02-18T00:00:00Z",
"status": false,
"tags": Array [],
"title": "てすと",
@@ -2494,7 +2494,7 @@ ShallowWrapper {
"id": 49,
"image": "none",
"isbn": "9784865940046",
- "published_at": "2018-03-23T00:00:00Z",
+ "published": "2018-03-23T00:00:00Z",
"status": false,
"tags": Array [],
"title": "てすと",
@@ -2505,7 +2505,7 @@ ShallowWrapper {
"id": 50,
"image": "none",
"isbn": "9784048933070",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": true,
"tags": Array [],
"title": "社畜ちゃん",
@@ -2516,7 +2516,7 @@ ShallowWrapper {
"id": 51,
"image": "none",
"isbn": "9784063766417",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": false,
"tags": Array [],
"title": "デビルマン",
@@ -2527,7 +2527,7 @@ ShallowWrapper {
"id": 52,
"image": "none",
"isbn": "9784063766424",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": false,
"tags": Array [],
"title": "デビルマン2",
@@ -2538,7 +2538,7 @@ ShallowWrapper {
"id": 56,
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SatMar24132702.png",
"isbn": "9784063766516",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": false,
"tags": Array [],
"title": "デビルマン3",
@@ -2549,7 +2549,7 @@ ShallowWrapper {
"id": 58,
"image": "none",
"isbn": "9784063766639",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": true,
"tags": Array [
Object {
@@ -2574,7 +2574,7 @@ ShallowWrapper {
"id": 2,
"image": "none",
"isbn": "9784774184111",
- "published_at": "2018-02-09T00:00:00Z",
+ "published": "2018-02-09T00:00:00Z",
"status": true,
"tags": Array [],
"title": "javascript ",
@@ -2585,7 +2585,7 @@ ShallowWrapper {
"id": 14,
"image": "none",
"isbn": "9784774183923",
- "published_at": "2018-02-12T00:00:00Z",
+ "published": "2018-02-12T00:00:00Z",
"status": false,
"tags": Array [],
"title": "ghj",
@@ -2596,7 +2596,7 @@ ShallowWrapper {
"id": 16,
"image": "none",
"isbn": "9780004195025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングGo言語",
@@ -2607,7 +2607,7 @@ ShallowWrapper {
"id": 17,
"image": "none",
"isbn": "9780104195025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングC言語",
@@ -2618,7 +2618,7 @@ ShallowWrapper {
"id": 19,
"image": "none",
"isbn": "9781111115025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングC言語",
@@ -2629,7 +2629,7 @@ ShallowWrapper {
"id": 1,
"image": "none",
"isbn": "9784873113944",
- "published_at": "2009-01-26T00:00:00Z",
+ "published": "2009-01-26T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -2645,7 +2645,7 @@ ShallowWrapper {
"id": 23,
"image": "none",
"isbn": "9780987678909",
- "published_at": "2014-04-09T00:00:00Z",
+ "published": "2014-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングRuby",
@@ -2656,7 +2656,7 @@ ShallowWrapper {
"id": 25,
"image": "none",
"isbn": "9780987678988",
- "published_at": "2014-04-09T00:00:00Z",
+ "published": "2014-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングR",
@@ -2667,7 +2667,7 @@ ShallowWrapper {
"id": 20,
"image": "none",
"isbn": "9780004195095",
- "published_at": "2014-04-09T00:00:00Z",
+ "published": "2014-04-09T00:00:00Z",
"status": true,
"tags": Array [],
"title": "スターティングRuby",
@@ -2678,7 +2678,7 @@ ShallowWrapper {
"id": 26,
"image": "none",
"isbn": "9789867165289",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "Docker実践ガイド impress top gearシリーズ",
@@ -2689,7 +2689,7 @@ ShallowWrapper {
"id": 27,
"image": "none",
"isbn": "9784949999120",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [],
"title": "ReactNative",
@@ -2700,7 +2700,7 @@ ShallowWrapper {
"id": 28,
"image": "none",
"isbn": "9784063300468",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -2732,7 +2732,7 @@ ShallowWrapper {
"id": 29,
"image": "none",
"isbn": "9784797363821",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -2748,7 +2748,7 @@ ShallowWrapper {
"id": 30,
"image": "none",
"isbn": "9784797372410",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -2768,7 +2768,7 @@ ShallowWrapper {
"id": 33,
"image": "none",
"isbn": "9784834002720",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -2788,7 +2788,7 @@ ShallowWrapper {
"id": 34,
"image": "none",
"isbn": "9784774193830",
- "published_at": "2017-11-21T00:00:00Z",
+ "published": "2017-11-21T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -2808,7 +2808,7 @@ ShallowWrapper {
"id": 13,
"image": "none",
"isbn": "9784844338154",
- "published_at": "2018-02-09T00:00:00Z",
+ "published": "2018-02-09T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -2824,7 +2824,7 @@ ShallowWrapper {
"id": 35,
"image": "none",
"isbn": "9784774172736",
- "published_at": "2015-05-15T00:00:00Z",
+ "published": "2015-05-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -2840,7 +2840,7 @@ ShallowWrapper {
"id": 46,
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SatMar24090349.png",
"isbn": "9784048678841",
- "published_at": "2010-03-02T00:00:00Z",
+ "published": "2010-03-02T00:00:00Z",
"status": false,
"tags": Array [],
"title": "リファクタリングRuby",
@@ -2851,7 +2851,7 @@ ShallowWrapper {
"id": 15,
"image": "none",
"isbn": "9784873115658",
- "published_at": "2016-04-11T00:00:00Z",
+ "published": "2016-04-11T00:00:00Z",
"status": true,
"tags": Array [],
"title": "リーダブルコード",
@@ -2862,7 +2862,7 @@ ShallowWrapper {
"id": 48,
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SatMar24102621.png",
"isbn": "9784798118154",
- "published_at": "2008-12-03T00:00:00Z",
+ "published": "2008-12-03T00:00:00Z",
"status": false,
"tags": Array [],
"title": "zsh最強シェル入門",
@@ -2873,7 +2873,7 @@ ShallowWrapper {
"id": 36,
"image": "none",
"isbn": "9784873114996",
- "published_at": "2018-02-16T00:00:00Z",
+ "published": "2018-02-16T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -2889,7 +2889,7 @@ ShallowWrapper {
"id": 47,
"image": "none",
"isbn": "9784844365501",
- "published_at": "2015-12-24T00:00:00Z",
+ "published": "2015-12-24T00:00:00Z",
"status": true,
"tags": Array [],
"title": "ランディングページデザインメソッド",
@@ -2900,7 +2900,7 @@ ShallowWrapper {
"id": 43,
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SunMar18111526.png",
"isbn": "9784569808581",
- "published_at": "2018-02-18T00:00:00Z",
+ "published": "2018-02-18T00:00:00Z",
"status": false,
"tags": Array [],
"title": "てすと",
@@ -2911,7 +2911,7 @@ ShallowWrapper {
"id": 49,
"image": "none",
"isbn": "9784865940046",
- "published_at": "2018-03-23T00:00:00Z",
+ "published": "2018-03-23T00:00:00Z",
"status": false,
"tags": Array [],
"title": "てすと",
@@ -2922,7 +2922,7 @@ ShallowWrapper {
"id": 50,
"image": "none",
"isbn": "9784048933070",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": true,
"tags": Array [],
"title": "社畜ちゃん",
@@ -2933,7 +2933,7 @@ ShallowWrapper {
"id": 51,
"image": "none",
"isbn": "9784063766417",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": false,
"tags": Array [],
"title": "デビルマン",
@@ -2944,7 +2944,7 @@ ShallowWrapper {
"id": 52,
"image": "none",
"isbn": "9784063766424",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": false,
"tags": Array [],
"title": "デビルマン2",
@@ -2955,7 +2955,7 @@ ShallowWrapper {
"id": 56,
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SatMar24132702.png",
"isbn": "9784063766516",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": false,
"tags": Array [],
"title": "デビルマン3",
@@ -2966,7 +2966,7 @@ ShallowWrapper {
"id": 58,
"image": "none",
"isbn": "9784063766639",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": true,
"tags": Array [
Object {
@@ -3014,7 +3014,7 @@ ShallowWrapper {
"id": 2,
"image": "none",
"isbn": "9784774184111",
- "published_at": "2018-02-09T00:00:00Z",
+ "published": "2018-02-09T00:00:00Z",
"status": true,
"tags": Array [],
"title": "javascript ",
@@ -3025,7 +3025,7 @@ ShallowWrapper {
"id": 14,
"image": "none",
"isbn": "9784774183923",
- "published_at": "2018-02-12T00:00:00Z",
+ "published": "2018-02-12T00:00:00Z",
"status": false,
"tags": Array [],
"title": "ghj",
@@ -3036,7 +3036,7 @@ ShallowWrapper {
"id": 16,
"image": "none",
"isbn": "9780004195025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングGo言語",
@@ -3047,7 +3047,7 @@ ShallowWrapper {
"id": 17,
"image": "none",
"isbn": "9780104195025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングC言語",
@@ -3058,7 +3058,7 @@ ShallowWrapper {
"id": 19,
"image": "none",
"isbn": "9781111115025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングC言語",
@@ -3069,7 +3069,7 @@ ShallowWrapper {
"id": 1,
"image": "none",
"isbn": "9784873113944",
- "published_at": "2009-01-26T00:00:00Z",
+ "published": "2009-01-26T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -3085,7 +3085,7 @@ ShallowWrapper {
"id": 23,
"image": "none",
"isbn": "9780987678909",
- "published_at": "2014-04-09T00:00:00Z",
+ "published": "2014-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングRuby",
@@ -3096,7 +3096,7 @@ ShallowWrapper {
"id": 25,
"image": "none",
"isbn": "9780987678988",
- "published_at": "2014-04-09T00:00:00Z",
+ "published": "2014-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングR",
@@ -3107,7 +3107,7 @@ ShallowWrapper {
"id": 20,
"image": "none",
"isbn": "9780004195095",
- "published_at": "2014-04-09T00:00:00Z",
+ "published": "2014-04-09T00:00:00Z",
"status": true,
"tags": Array [],
"title": "スターティングRuby",
@@ -3118,7 +3118,7 @@ ShallowWrapper {
"id": 26,
"image": "none",
"isbn": "9789867165289",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "Docker実践ガイド impress top gearシリーズ",
@@ -3129,7 +3129,7 @@ ShallowWrapper {
"id": 27,
"image": "none",
"isbn": "9784949999120",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [],
"title": "ReactNative",
@@ -3140,7 +3140,7 @@ ShallowWrapper {
"id": 28,
"image": "none",
"isbn": "9784063300468",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -3172,7 +3172,7 @@ ShallowWrapper {
"id": 29,
"image": "none",
"isbn": "9784797363821",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -3188,7 +3188,7 @@ ShallowWrapper {
"id": 30,
"image": "none",
"isbn": "9784797372410",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -3208,7 +3208,7 @@ ShallowWrapper {
"id": 33,
"image": "none",
"isbn": "9784834002720",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -3228,7 +3228,7 @@ ShallowWrapper {
"id": 34,
"image": "none",
"isbn": "9784774193830",
- "published_at": "2017-11-21T00:00:00Z",
+ "published": "2017-11-21T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -3248,7 +3248,7 @@ ShallowWrapper {
"id": 13,
"image": "none",
"isbn": "9784844338154",
- "published_at": "2018-02-09T00:00:00Z",
+ "published": "2018-02-09T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -3264,7 +3264,7 @@ ShallowWrapper {
"id": 35,
"image": "none",
"isbn": "9784774172736",
- "published_at": "2015-05-15T00:00:00Z",
+ "published": "2015-05-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -3280,7 +3280,7 @@ ShallowWrapper {
"id": 46,
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SatMar24090349.png",
"isbn": "9784048678841",
- "published_at": "2010-03-02T00:00:00Z",
+ "published": "2010-03-02T00:00:00Z",
"status": false,
"tags": Array [],
"title": "リファクタリングRuby",
@@ -3291,7 +3291,7 @@ ShallowWrapper {
"id": 15,
"image": "none",
"isbn": "9784873115658",
- "published_at": "2016-04-11T00:00:00Z",
+ "published": "2016-04-11T00:00:00Z",
"status": true,
"tags": Array [],
"title": "リーダブルコード",
@@ -3302,7 +3302,7 @@ ShallowWrapper {
"id": 48,
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SatMar24102621.png",
"isbn": "9784798118154",
- "published_at": "2008-12-03T00:00:00Z",
+ "published": "2008-12-03T00:00:00Z",
"status": false,
"tags": Array [],
"title": "zsh最強シェル入門",
@@ -3313,7 +3313,7 @@ ShallowWrapper {
"id": 36,
"image": "none",
"isbn": "9784873114996",
- "published_at": "2018-02-16T00:00:00Z",
+ "published": "2018-02-16T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -3329,7 +3329,7 @@ ShallowWrapper {
"id": 47,
"image": "none",
"isbn": "9784844365501",
- "published_at": "2015-12-24T00:00:00Z",
+ "published": "2015-12-24T00:00:00Z",
"status": true,
"tags": Array [],
"title": "ランディングページデザインメソッド",
@@ -3340,7 +3340,7 @@ ShallowWrapper {
"id": 43,
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SunMar18111526.png",
"isbn": "9784569808581",
- "published_at": "2018-02-18T00:00:00Z",
+ "published": "2018-02-18T00:00:00Z",
"status": false,
"tags": Array [],
"title": "てすと",
@@ -3351,7 +3351,7 @@ ShallowWrapper {
"id": 49,
"image": "none",
"isbn": "9784865940046",
- "published_at": "2018-03-23T00:00:00Z",
+ "published": "2018-03-23T00:00:00Z",
"status": false,
"tags": Array [],
"title": "てすと",
@@ -3362,7 +3362,7 @@ ShallowWrapper {
"id": 50,
"image": "none",
"isbn": "9784048933070",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": true,
"tags": Array [],
"title": "社畜ちゃん",
@@ -3373,7 +3373,7 @@ ShallowWrapper {
"id": 51,
"image": "none",
"isbn": "9784063766417",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": false,
"tags": Array [],
"title": "デビルマン",
@@ -3384,7 +3384,7 @@ ShallowWrapper {
"id": 52,
"image": "none",
"isbn": "9784063766424",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": false,
"tags": Array [],
"title": "デビルマン2",
@@ -3395,7 +3395,7 @@ ShallowWrapper {
"id": 56,
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SatMar24132702.png",
"isbn": "9784063766516",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": false,
"tags": Array [],
"title": "デビルマン3",
@@ -3406,7 +3406,7 @@ ShallowWrapper {
"id": 58,
"image": "none",
"isbn": "9784063766639",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": true,
"tags": Array [
Object {
@@ -3429,7 +3429,7 @@ ShallowWrapper {
"id": 2,
"image": "none",
"isbn": "9784774184111",
- "published_at": "2018-02-09T00:00:00Z",
+ "published": "2018-02-09T00:00:00Z",
"status": true,
"tags": Array [],
"title": "javascript ",
@@ -3440,7 +3440,7 @@ ShallowWrapper {
"id": 14,
"image": "none",
"isbn": "9784774183923",
- "published_at": "2018-02-12T00:00:00Z",
+ "published": "2018-02-12T00:00:00Z",
"status": false,
"tags": Array [],
"title": "ghj",
@@ -3451,7 +3451,7 @@ ShallowWrapper {
"id": 16,
"image": "none",
"isbn": "9780004195025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングGo言語",
@@ -3462,7 +3462,7 @@ ShallowWrapper {
"id": 17,
"image": "none",
"isbn": "9780104195025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングC言語",
@@ -3473,7 +3473,7 @@ ShallowWrapper {
"id": 19,
"image": "none",
"isbn": "9781111115025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングC言語",
@@ -3484,7 +3484,7 @@ ShallowWrapper {
"id": 1,
"image": "none",
"isbn": "9784873113944",
- "published_at": "2009-01-26T00:00:00Z",
+ "published": "2009-01-26T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -3500,7 +3500,7 @@ ShallowWrapper {
"id": 23,
"image": "none",
"isbn": "9780987678909",
- "published_at": "2014-04-09T00:00:00Z",
+ "published": "2014-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングRuby",
@@ -3511,7 +3511,7 @@ ShallowWrapper {
"id": 25,
"image": "none",
"isbn": "9780987678988",
- "published_at": "2014-04-09T00:00:00Z",
+ "published": "2014-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングR",
@@ -3522,7 +3522,7 @@ ShallowWrapper {
"id": 20,
"image": "none",
"isbn": "9780004195095",
- "published_at": "2014-04-09T00:00:00Z",
+ "published": "2014-04-09T00:00:00Z",
"status": true,
"tags": Array [],
"title": "スターティングRuby",
@@ -3533,7 +3533,7 @@ ShallowWrapper {
"id": 26,
"image": "none",
"isbn": "9789867165289",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "Docker実践ガイド impress top gearシリーズ",
@@ -3544,7 +3544,7 @@ ShallowWrapper {
"id": 27,
"image": "none",
"isbn": "9784949999120",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [],
"title": "ReactNative",
@@ -3555,7 +3555,7 @@ ShallowWrapper {
"id": 28,
"image": "none",
"isbn": "9784063300468",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -3587,7 +3587,7 @@ ShallowWrapper {
"id": 29,
"image": "none",
"isbn": "9784797363821",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -3603,7 +3603,7 @@ ShallowWrapper {
"id": 30,
"image": "none",
"isbn": "9784797372410",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -3623,7 +3623,7 @@ ShallowWrapper {
"id": 33,
"image": "none",
"isbn": "9784834002720",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -3643,7 +3643,7 @@ ShallowWrapper {
"id": 34,
"image": "none",
"isbn": "9784774193830",
- "published_at": "2017-11-21T00:00:00Z",
+ "published": "2017-11-21T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -3663,7 +3663,7 @@ ShallowWrapper {
"id": 13,
"image": "none",
"isbn": "9784844338154",
- "published_at": "2018-02-09T00:00:00Z",
+ "published": "2018-02-09T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -3679,7 +3679,7 @@ ShallowWrapper {
"id": 35,
"image": "none",
"isbn": "9784774172736",
- "published_at": "2015-05-15T00:00:00Z",
+ "published": "2015-05-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -3695,7 +3695,7 @@ ShallowWrapper {
"id": 46,
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SatMar24090349.png",
"isbn": "9784048678841",
- "published_at": "2010-03-02T00:00:00Z",
+ "published": "2010-03-02T00:00:00Z",
"status": false,
"tags": Array [],
"title": "リファクタリングRuby",
@@ -3706,7 +3706,7 @@ ShallowWrapper {
"id": 15,
"image": "none",
"isbn": "9784873115658",
- "published_at": "2016-04-11T00:00:00Z",
+ "published": "2016-04-11T00:00:00Z",
"status": true,
"tags": Array [],
"title": "リーダブルコード",
@@ -3717,7 +3717,7 @@ ShallowWrapper {
"id": 48,
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SatMar24102621.png",
"isbn": "9784798118154",
- "published_at": "2008-12-03T00:00:00Z",
+ "published": "2008-12-03T00:00:00Z",
"status": false,
"tags": Array [],
"title": "zsh最強シェル入門",
@@ -3728,7 +3728,7 @@ ShallowWrapper {
"id": 36,
"image": "none",
"isbn": "9784873114996",
- "published_at": "2018-02-16T00:00:00Z",
+ "published": "2018-02-16T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -3744,7 +3744,7 @@ ShallowWrapper {
"id": 47,
"image": "none",
"isbn": "9784844365501",
- "published_at": "2015-12-24T00:00:00Z",
+ "published": "2015-12-24T00:00:00Z",
"status": true,
"tags": Array [],
"title": "ランディングページデザインメソッド",
@@ -3755,7 +3755,7 @@ ShallowWrapper {
"id": 43,
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SunMar18111526.png",
"isbn": "9784569808581",
- "published_at": "2018-02-18T00:00:00Z",
+ "published": "2018-02-18T00:00:00Z",
"status": false,
"tags": Array [],
"title": "てすと",
@@ -3766,7 +3766,7 @@ ShallowWrapper {
"id": 49,
"image": "none",
"isbn": "9784865940046",
- "published_at": "2018-03-23T00:00:00Z",
+ "published": "2018-03-23T00:00:00Z",
"status": false,
"tags": Array [],
"title": "てすと",
@@ -3777,7 +3777,7 @@ ShallowWrapper {
"id": 50,
"image": "none",
"isbn": "9784048933070",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": true,
"tags": Array [],
"title": "社畜ちゃん",
@@ -3788,7 +3788,7 @@ ShallowWrapper {
"id": 51,
"image": "none",
"isbn": "9784063766417",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": false,
"tags": Array [],
"title": "デビルマン",
@@ -3799,7 +3799,7 @@ ShallowWrapper {
"id": 52,
"image": "none",
"isbn": "9784063766424",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": false,
"tags": Array [],
"title": "デビルマン2",
@@ -3810,7 +3810,7 @@ ShallowWrapper {
"id": 56,
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SatMar24132702.png",
"isbn": "9784063766516",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": false,
"tags": Array [],
"title": "デビルマン3",
@@ -3821,7 +3821,7 @@ ShallowWrapper {
"id": 58,
"image": "none",
"isbn": "9784063766639",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": true,
"tags": Array [
Object {
@@ -3879,7 +3879,7 @@ ShallowWrapper {
"id": 2,
"image": "none",
"isbn": "9784774184111",
- "published_at": "2018-02-09T00:00:00Z",
+ "published": "2018-02-09T00:00:00Z",
"status": true,
"tags": Array [],
"title": "javascript ",
@@ -3890,7 +3890,7 @@ ShallowWrapper {
"id": 14,
"image": "none",
"isbn": "9784774183923",
- "published_at": "2018-02-12T00:00:00Z",
+ "published": "2018-02-12T00:00:00Z",
"status": false,
"tags": Array [],
"title": "ghj",
@@ -3901,7 +3901,7 @@ ShallowWrapper {
"id": 16,
"image": "none",
"isbn": "9780004195025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングGo言語",
@@ -3912,7 +3912,7 @@ ShallowWrapper {
"id": 17,
"image": "none",
"isbn": "9780104195025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングC言語",
@@ -3923,7 +3923,7 @@ ShallowWrapper {
"id": 19,
"image": "none",
"isbn": "9781111115025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングC言語",
@@ -3954,7 +3954,7 @@ ShallowWrapper {
"id": 2,
"image": "none",
"isbn": "9784774184111",
- "published_at": "2018-02-09T00:00:00Z",
+ "published": "2018-02-09T00:00:00Z",
"status": true,
"tags": Array [],
"title": "javascript ",
@@ -3965,7 +3965,7 @@ ShallowWrapper {
"id": 14,
"image": "none",
"isbn": "9784774183923",
- "published_at": "2018-02-12T00:00:00Z",
+ "published": "2018-02-12T00:00:00Z",
"status": false,
"tags": Array [],
"title": "ghj",
@@ -3976,7 +3976,7 @@ ShallowWrapper {
"id": 16,
"image": "none",
"isbn": "9780004195025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングGo言語",
@@ -3987,7 +3987,7 @@ ShallowWrapper {
"id": 17,
"image": "none",
"isbn": "9780104195025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングC言語",
@@ -3998,7 +3998,7 @@ ShallowWrapper {
"id": 19,
"image": "none",
"isbn": "9781111115025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングC言語",
@@ -4014,7 +4014,7 @@ ShallowWrapper {
"id": 2,
"image": "none",
"isbn": "9784774184111",
- "published_at": "2018-02-09T00:00:00Z",
+ "published": "2018-02-09T00:00:00Z",
"status": true,
"tags": Array [],
"title": "javascript ",
@@ -4025,7 +4025,7 @@ ShallowWrapper {
"id": 14,
"image": "none",
"isbn": "9784774183923",
- "published_at": "2018-02-12T00:00:00Z",
+ "published": "2018-02-12T00:00:00Z",
"status": false,
"tags": Array [],
"title": "ghj",
@@ -4036,7 +4036,7 @@ ShallowWrapper {
"id": 16,
"image": "none",
"isbn": "9780004195025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングGo言語",
@@ -4047,7 +4047,7 @@ ShallowWrapper {
"id": 17,
"image": "none",
"isbn": "9780104195025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングC言語",
@@ -4058,7 +4058,7 @@ ShallowWrapper {
"id": 19,
"image": "none",
"isbn": "9781111115025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングC言語",
@@ -4097,7 +4097,7 @@ ShallowWrapper {
"id": 2,
"image": "none",
"isbn": "9784774184111",
- "published_at": "2018-02-09T00:00:00Z",
+ "published": "2018-02-09T00:00:00Z",
"status": true,
"tags": Array [],
"title": "javascript ",
@@ -4108,7 +4108,7 @@ ShallowWrapper {
"id": 14,
"image": "none",
"isbn": "9784774183923",
- "published_at": "2018-02-12T00:00:00Z",
+ "published": "2018-02-12T00:00:00Z",
"status": false,
"tags": Array [],
"title": "ghj",
@@ -4119,7 +4119,7 @@ ShallowWrapper {
"id": 16,
"image": "none",
"isbn": "9780004195025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングGo言語",
@@ -4130,7 +4130,7 @@ ShallowWrapper {
"id": 17,
"image": "none",
"isbn": "9780104195025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングC言語",
@@ -4141,7 +4141,7 @@ ShallowWrapper {
"id": 19,
"image": "none",
"isbn": "9781111115025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングC言語",
@@ -4155,7 +4155,7 @@ ShallowWrapper {
"id": 2,
"image": "none",
"isbn": "9784774184111",
- "published_at": "2018-02-09T00:00:00Z",
+ "published": "2018-02-09T00:00:00Z",
"status": true,
"tags": Array [],
"title": "javascript ",
@@ -4166,7 +4166,7 @@ ShallowWrapper {
"id": 14,
"image": "none",
"isbn": "9784774183923",
- "published_at": "2018-02-12T00:00:00Z",
+ "published": "2018-02-12T00:00:00Z",
"status": false,
"tags": Array [],
"title": "ghj",
@@ -4177,7 +4177,7 @@ ShallowWrapper {
"id": 16,
"image": "none",
"isbn": "9780004195025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングGo言語",
@@ -4188,7 +4188,7 @@ ShallowWrapper {
"id": 17,
"image": "none",
"isbn": "9780104195025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングC言語",
@@ -4199,7 +4199,7 @@ ShallowWrapper {
"id": 19,
"image": "none",
"isbn": "9781111115025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングC言語",
@@ -4239,7 +4239,7 @@ ShallowWrapper {
"id": 2,
"image": "none",
"isbn": "9784774184111",
- "published_at": "2018-02-09T00:00:00Z",
+ "published": "2018-02-09T00:00:00Z",
"status": true,
"tags": Array [],
"title": "javascript ",
@@ -4250,7 +4250,7 @@ ShallowWrapper {
"id": 14,
"image": "none",
"isbn": "9784774183923",
- "published_at": "2018-02-12T00:00:00Z",
+ "published": "2018-02-12T00:00:00Z",
"status": false,
"tags": Array [],
"title": "ghj",
@@ -4261,7 +4261,7 @@ ShallowWrapper {
"id": 16,
"image": "none",
"isbn": "9780004195025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングGo言語",
@@ -4272,7 +4272,7 @@ ShallowWrapper {
"id": 17,
"image": "none",
"isbn": "9780104195025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングC言語",
@@ -4283,7 +4283,7 @@ ShallowWrapper {
"id": 19,
"image": "none",
"isbn": "9781111115025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングC言語",
@@ -4299,7 +4299,7 @@ ShallowWrapper {
"id": 2,
"image": "none",
"isbn": "9784774184111",
- "published_at": "2018-02-09T00:00:00Z",
+ "published": "2018-02-09T00:00:00Z",
"status": true,
"tags": Array [],
"title": "javascript ",
@@ -4310,7 +4310,7 @@ ShallowWrapper {
"id": 14,
"image": "none",
"isbn": "9784774183923",
- "published_at": "2018-02-12T00:00:00Z",
+ "published": "2018-02-12T00:00:00Z",
"status": false,
"tags": Array [],
"title": "ghj",
@@ -4321,7 +4321,7 @@ ShallowWrapper {
"id": 16,
"image": "none",
"isbn": "9780004195025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングGo言語",
@@ -4332,7 +4332,7 @@ ShallowWrapper {
"id": 17,
"image": "none",
"isbn": "9780104195025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングC言語",
@@ -4343,7 +4343,7 @@ ShallowWrapper {
"id": 19,
"image": "none",
"isbn": "9781111115025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングC言語",
@@ -4382,7 +4382,7 @@ ShallowWrapper {
"id": 2,
"image": "none",
"isbn": "9784774184111",
- "published_at": "2018-02-09T00:00:00Z",
+ "published": "2018-02-09T00:00:00Z",
"status": true,
"tags": Array [],
"title": "javascript ",
@@ -4393,7 +4393,7 @@ ShallowWrapper {
"id": 14,
"image": "none",
"isbn": "9784774183923",
- "published_at": "2018-02-12T00:00:00Z",
+ "published": "2018-02-12T00:00:00Z",
"status": false,
"tags": Array [],
"title": "ghj",
@@ -4404,7 +4404,7 @@ ShallowWrapper {
"id": 16,
"image": "none",
"isbn": "9780004195025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングGo言語",
@@ -4415,7 +4415,7 @@ ShallowWrapper {
"id": 17,
"image": "none",
"isbn": "9780104195025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングC言語",
@@ -4426,7 +4426,7 @@ ShallowWrapper {
"id": 19,
"image": "none",
"isbn": "9781111115025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングC言語",
@@ -4440,7 +4440,7 @@ ShallowWrapper {
"id": 2,
"image": "none",
"isbn": "9784774184111",
- "published_at": "2018-02-09T00:00:00Z",
+ "published": "2018-02-09T00:00:00Z",
"status": true,
"tags": Array [],
"title": "javascript ",
@@ -4451,7 +4451,7 @@ ShallowWrapper {
"id": 14,
"image": "none",
"isbn": "9784774183923",
- "published_at": "2018-02-12T00:00:00Z",
+ "published": "2018-02-12T00:00:00Z",
"status": false,
"tags": Array [],
"title": "ghj",
@@ -4462,7 +4462,7 @@ ShallowWrapper {
"id": 16,
"image": "none",
"isbn": "9780004195025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングGo言語",
@@ -4473,7 +4473,7 @@ ShallowWrapper {
"id": 17,
"image": "none",
"isbn": "9780104195025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングC言語",
@@ -4484,7 +4484,7 @@ ShallowWrapper {
"id": 19,
"image": "none",
"isbn": "9781111115025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングC言語",
diff --git a/src/__tests__/components/__snapshots__/DetailScreen.test.js.snap b/src/__tests__/components/__snapshots__/DetailScreen.test.js.snap
index a844d3f..7a32588 100644
--- a/src/__tests__/components/__snapshots__/DetailScreen.test.js.snap
+++ b/src/__tests__/components/__snapshots__/DetailScreen.test.js.snap
@@ -11,7 +11,7 @@ ShallowWrapper {
"id": 2,
"image": "none",
"isbn": "9784774184111",
- "published_at": "2018-02-09T00:00:00Z",
+ "published": "2018-02-09T00:00:00Z",
"status": true,
"tags": Array [],
"title": "javascript ",
@@ -27,7 +27,7 @@ ShallowWrapper {
"id": 2,
"image": "none",
"isbn": "9784774184111",
- "published_at": "2018-02-09T00:00:00Z",
+ "published": "2018-02-09T00:00:00Z",
"status": true,
"tags": Array [],
"title": "javascript ",
@@ -61,63 +61,25 @@ ShallowWrapper {
}
}
>
-
-
-
- javascript
-
-
- 出版日:
- 2018-02-09T00:00:00Z
-
-
-
-
+
,
],
"style": Object {
@@ -144,63 +106,25 @@ ShallowWrapper {
"nodeType": "class",
"props": Object {
"children": Array [
- ,
-
-
- javascript
-
-
- 出版日:
- 2018-02-09T00:00:00Z
-
- ,
-
-
,
+ ,
],
"style": Object {
"flex": 1,
@@ -208,55 +132,22 @@ ShallowWrapper {
},
"ref": null,
"rendered": Array [
- Object {
- "instance": null,
- "key": undefined,
- "nodeType": "function",
- "props": Object {
- "tags": Array [],
- },
- "ref": null,
- "rendered": null,
- "type": [Function],
- },
Object {
"instance": null,
"key": undefined,
"nodeType": "class",
"props": Object {
"children": Array [
-
- javascript
- ,
-
- 出版日:
- 2018-02-09T00:00:00Z
- ,
+ ,
+ ,
],
"style": Object {
"flex": 1,
- "justifyContent": "center",
- "marginLeft": 50,
},
},
"ref": null,
@@ -264,43 +155,24 @@ ShallowWrapper {
Object {
"instance": null,
"key": undefined,
- "nodeType": "class",
+ "nodeType": "function",
"props": Object {
- "accessible": true,
- "allowFontScaling": true,
- "children": "javascript ",
- "ellipsizeMode": "tail",
- "style": Object {
- "fontSize": 20,
- "marginBottom": 10,
- },
+ "tags": Array [],
},
"ref": null,
- "rendered": "javascript ",
+ "rendered": null,
"type": [Function],
},
Object {
"instance": null,
"key": undefined,
- "nodeType": "class",
+ "nodeType": "function",
"props": Object {
- "accessible": true,
- "allowFontScaling": true,
- "children": Array [
- "出版日:",
- "2018-02-09T00:00:00Z",
- ],
- "ellipsizeMode": "tail",
- "style": Object {
- "color": "#6E6E6E",
- "fontSize": 14,
- },
+ "published": "2018-02-09T00:00:00Z",
+ "title": "javascript ",
},
"ref": null,
- "rendered": Array [
- "出版日:",
- "2018-02-09T00:00:00Z",
- ],
+ "rendered": null,
"type": [Function],
},
],
@@ -309,49 +181,13 @@ ShallowWrapper {
Object {
"instance": null,
"key": undefined,
- "nodeType": "class",
+ "nodeType": "function",
"props": Object {
- "children": Array [
- ,
- ,
- ],
- "style": Object {
- "flex": 1,
- "flexDirection": "row",
- "marginBottom": 15,
- },
+ "navigate": undefined,
+ "status": true,
},
"ref": null,
- "rendered": Array [
- Object {
- "instance": null,
- "key": undefined,
- "nodeType": "function",
- "props": Object {
- "status": true,
- },
- "ref": null,
- "rendered": null,
- "type": [Function],
- },
- Object {
- "instance": null,
- "key": undefined,
- "nodeType": "function",
- "props": Object {
- "navigate": undefined,
- "status": true,
- },
- "ref": null,
- "rendered": null,
- "type": [Function],
- },
- ],
+ "rendered": null,
"type": [Function],
},
],
@@ -377,63 +213,25 @@ ShallowWrapper {
}
}
>
-
-
-
- javascript
-
-
- 出版日:
- 2018-02-09T00:00:00Z
-
-
-
-
+
,
],
"style": Object {
@@ -460,63 +258,25 @@ ShallowWrapper {
"nodeType": "class",
"props": Object {
"children": Array [
- ,
-
-
- javascript
-
-
- 出版日:
- 2018-02-09T00:00:00Z
-
- ,
-
-
,
+ ,
],
"style": Object {
"flex": 1,
@@ -524,55 +284,22 @@ ShallowWrapper {
},
"ref": null,
"rendered": Array [
- Object {
- "instance": null,
- "key": undefined,
- "nodeType": "function",
- "props": Object {
- "tags": Array [],
- },
- "ref": null,
- "rendered": null,
- "type": [Function],
- },
Object {
"instance": null,
"key": undefined,
"nodeType": "class",
"props": Object {
"children": Array [
-
- javascript
- ,
-
- 出版日:
- 2018-02-09T00:00:00Z
- ,
+ ,
+ ,
],
"style": Object {
"flex": 1,
- "justifyContent": "center",
- "marginLeft": 50,
},
},
"ref": null,
@@ -580,43 +307,24 @@ ShallowWrapper {
Object {
"instance": null,
"key": undefined,
- "nodeType": "class",
+ "nodeType": "function",
"props": Object {
- "accessible": true,
- "allowFontScaling": true,
- "children": "javascript ",
- "ellipsizeMode": "tail",
- "style": Object {
- "fontSize": 20,
- "marginBottom": 10,
- },
+ "tags": Array [],
},
"ref": null,
- "rendered": "javascript ",
+ "rendered": null,
"type": [Function],
},
Object {
"instance": null,
"key": undefined,
- "nodeType": "class",
+ "nodeType": "function",
"props": Object {
- "accessible": true,
- "allowFontScaling": true,
- "children": Array [
- "出版日:",
- "2018-02-09T00:00:00Z",
- ],
- "ellipsizeMode": "tail",
- "style": Object {
- "color": "#6E6E6E",
- "fontSize": 14,
- },
+ "published": "2018-02-09T00:00:00Z",
+ "title": "javascript ",
},
"ref": null,
- "rendered": Array [
- "出版日:",
- "2018-02-09T00:00:00Z",
- ],
+ "rendered": null,
"type": [Function],
},
],
@@ -625,49 +333,13 @@ ShallowWrapper {
Object {
"instance": null,
"key": undefined,
- "nodeType": "class",
+ "nodeType": "function",
"props": Object {
- "children": Array [
- ,
- ,
- ],
- "style": Object {
- "flex": 1,
- "flexDirection": "row",
- "marginBottom": 15,
- },
+ "navigate": undefined,
+ "status": true,
},
"ref": null,
- "rendered": Array [
- Object {
- "instance": null,
- "key": undefined,
- "nodeType": "function",
- "props": Object {
- "status": true,
- },
- "ref": null,
- "rendered": null,
- "type": [Function],
- },
- Object {
- "instance": null,
- "key": undefined,
- "nodeType": "function",
- "props": Object {
- "navigate": undefined,
- "status": true,
- },
- "ref": null,
- "rendered": null,
- "type": [Function],
- },
- ],
+ "rendered": null,
"type": [Function],
},
],
diff --git a/src/__tests__/components/__snapshots__/LentScanScreen.test.js.snap b/src/__tests__/components/__snapshots__/LentScanScreen.test.js.snap
index a821a3d..215a50c 100644
--- a/src/__tests__/components/__snapshots__/LentScanScreen.test.js.snap
+++ b/src/__tests__/components/__snapshots__/LentScanScreen.test.js.snap
@@ -14,35 +14,155 @@ exports[` 正しくレンダリングされること 1`] = `
Object {
"alignItems": "center",
"flex": 1,
- "justifyContent": "center",
- "padding": 10,
+ "justifyContent": "space-around",
}
}
>
-
+
+ 978
+
+ から始まるバーコードを画面に合わせてください
+
+
+
+
+
+
+
+
+
+
+
+
- カメラを使用できません
-
+
+
`;
diff --git a/src/__tests__/containers/__snapshots__/HomeScreeen.js.snap b/src/__tests__/containers/__snapshots__/HomeScreeen.js.snap
index e63f11a..4e0435a 100644
--- a/src/__tests__/containers/__snapshots__/HomeScreeen.js.snap
+++ b/src/__tests__/containers/__snapshots__/HomeScreeen.js.snap
@@ -12,7 +12,7 @@ ShallowWrapper {
"id": 2,
"image": "none",
"isbn": "9784774184111",
- "published_at": "2018-02-09T00:00:00Z",
+ "published": "2018-02-09T00:00:00Z",
"status": true,
"tags": Array [],
"title": "javascript ",
@@ -23,7 +23,7 @@ ShallowWrapper {
"id": 14,
"image": "none",
"isbn": "9784774183923",
- "published_at": "2018-02-12T00:00:00Z",
+ "published": "2018-02-12T00:00:00Z",
"status": false,
"tags": Array [],
"title": "ghj",
@@ -34,7 +34,7 @@ ShallowWrapper {
"id": 16,
"image": "none",
"isbn": "9780004195025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングGo言語",
@@ -45,7 +45,7 @@ ShallowWrapper {
"id": 17,
"image": "none",
"isbn": "9780104195025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングC言語",
@@ -56,7 +56,7 @@ ShallowWrapper {
"id": 19,
"image": "none",
"isbn": "9781111115025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングC言語",
@@ -67,7 +67,7 @@ ShallowWrapper {
"id": 1,
"image": "none",
"isbn": "9784873113944",
- "published_at": "2009-01-26T00:00:00Z",
+ "published": "2009-01-26T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -83,7 +83,7 @@ ShallowWrapper {
"id": 23,
"image": "none",
"isbn": "9780987678909",
- "published_at": "2014-04-09T00:00:00Z",
+ "published": "2014-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングRuby",
@@ -94,7 +94,7 @@ ShallowWrapper {
"id": 25,
"image": "none",
"isbn": "9780987678988",
- "published_at": "2014-04-09T00:00:00Z",
+ "published": "2014-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングR",
@@ -105,7 +105,7 @@ ShallowWrapper {
"id": 20,
"image": "none",
"isbn": "9780004195095",
- "published_at": "2014-04-09T00:00:00Z",
+ "published": "2014-04-09T00:00:00Z",
"status": true,
"tags": Array [],
"title": "スターティングRuby",
@@ -116,7 +116,7 @@ ShallowWrapper {
"id": 26,
"image": "none",
"isbn": "9789867165289",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "Docker実践ガイド impress top gearシリーズ",
@@ -127,7 +127,7 @@ ShallowWrapper {
"id": 27,
"image": "none",
"isbn": "9784949999120",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [],
"title": "ReactNative",
@@ -138,7 +138,7 @@ ShallowWrapper {
"id": 28,
"image": "none",
"isbn": "9784063300468",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -170,7 +170,7 @@ ShallowWrapper {
"id": 29,
"image": "none",
"isbn": "9784797363821",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -186,7 +186,7 @@ ShallowWrapper {
"id": 30,
"image": "none",
"isbn": "9784797372410",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -206,7 +206,7 @@ ShallowWrapper {
"id": 33,
"image": "none",
"isbn": "9784834002720",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -226,7 +226,7 @@ ShallowWrapper {
"id": 34,
"image": "none",
"isbn": "9784774193830",
- "published_at": "2017-11-21T00:00:00Z",
+ "published": "2017-11-21T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -246,7 +246,7 @@ ShallowWrapper {
"id": 13,
"image": "none",
"isbn": "9784844338154",
- "published_at": "2018-02-09T00:00:00Z",
+ "published": "2018-02-09T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -262,7 +262,7 @@ ShallowWrapper {
"id": 35,
"image": "none",
"isbn": "9784774172736",
- "published_at": "2015-05-15T00:00:00Z",
+ "published": "2015-05-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -278,7 +278,7 @@ ShallowWrapper {
"id": 46,
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SatMar24090349.png",
"isbn": "9784048678841",
- "published_at": "2010-03-02T00:00:00Z",
+ "published": "2010-03-02T00:00:00Z",
"status": false,
"tags": Array [],
"title": "リファクタリングRuby",
@@ -289,7 +289,7 @@ ShallowWrapper {
"id": 15,
"image": "none",
"isbn": "9784873115658",
- "published_at": "2016-04-11T00:00:00Z",
+ "published": "2016-04-11T00:00:00Z",
"status": true,
"tags": Array [],
"title": "リーダブルコード",
@@ -300,7 +300,7 @@ ShallowWrapper {
"id": 48,
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SatMar24102621.png",
"isbn": "9784798118154",
- "published_at": "2008-12-03T00:00:00Z",
+ "published": "2008-12-03T00:00:00Z",
"status": false,
"tags": Array [],
"title": "zsh最強シェル入門",
@@ -311,7 +311,7 @@ ShallowWrapper {
"id": 36,
"image": "none",
"isbn": "9784873114996",
- "published_at": "2018-02-16T00:00:00Z",
+ "published": "2018-02-16T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -327,7 +327,7 @@ ShallowWrapper {
"id": 47,
"image": "none",
"isbn": "9784844365501",
- "published_at": "2015-12-24T00:00:00Z",
+ "published": "2015-12-24T00:00:00Z",
"status": true,
"tags": Array [],
"title": "ランディングページデザインメソッド",
@@ -338,7 +338,7 @@ ShallowWrapper {
"id": 43,
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SunMar18111526.png",
"isbn": "9784569808581",
- "published_at": "2018-02-18T00:00:00Z",
+ "published": "2018-02-18T00:00:00Z",
"status": false,
"tags": Array [],
"title": "てすと",
@@ -349,7 +349,7 @@ ShallowWrapper {
"id": 49,
"image": "none",
"isbn": "9784865940046",
- "published_at": "2018-03-23T00:00:00Z",
+ "published": "2018-03-23T00:00:00Z",
"status": false,
"tags": Array [],
"title": "てすと",
@@ -360,7 +360,7 @@ ShallowWrapper {
"id": 50,
"image": "none",
"isbn": "9784048933070",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": true,
"tags": Array [],
"title": "社畜ちゃん",
@@ -371,7 +371,7 @@ ShallowWrapper {
"id": 51,
"image": "none",
"isbn": "9784063766417",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": false,
"tags": Array [],
"title": "デビルマン",
@@ -382,7 +382,7 @@ ShallowWrapper {
"id": 52,
"image": "none",
"isbn": "9784063766424",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": false,
"tags": Array [],
"title": "デビルマン2",
@@ -393,7 +393,7 @@ ShallowWrapper {
"id": 56,
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SatMar24132702.png",
"isbn": "9784063766516",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": false,
"tags": Array [],
"title": "デビルマン3",
@@ -404,7 +404,7 @@ ShallowWrapper {
"id": 58,
"image": "none",
"isbn": "9784063766639",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": true,
"tags": Array [
Object {
@@ -445,7 +445,7 @@ ShallowWrapper {
"id": 2,
"image": "none",
"isbn": "9784774184111",
- "published_at": "2018-02-09T00:00:00Z",
+ "published": "2018-02-09T00:00:00Z",
"status": true,
"tags": Array [],
"title": "javascript ",
@@ -456,7 +456,7 @@ ShallowWrapper {
"id": 14,
"image": "none",
"isbn": "9784774183923",
- "published_at": "2018-02-12T00:00:00Z",
+ "published": "2018-02-12T00:00:00Z",
"status": false,
"tags": Array [],
"title": "ghj",
@@ -467,7 +467,7 @@ ShallowWrapper {
"id": 16,
"image": "none",
"isbn": "9780004195025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングGo言語",
@@ -478,7 +478,7 @@ ShallowWrapper {
"id": 17,
"image": "none",
"isbn": "9780104195025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングC言語",
@@ -489,7 +489,7 @@ ShallowWrapper {
"id": 19,
"image": "none",
"isbn": "9781111115025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングC言語",
@@ -500,7 +500,7 @@ ShallowWrapper {
"id": 1,
"image": "none",
"isbn": "9784873113944",
- "published_at": "2009-01-26T00:00:00Z",
+ "published": "2009-01-26T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -516,7 +516,7 @@ ShallowWrapper {
"id": 23,
"image": "none",
"isbn": "9780987678909",
- "published_at": "2014-04-09T00:00:00Z",
+ "published": "2014-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングRuby",
@@ -527,7 +527,7 @@ ShallowWrapper {
"id": 25,
"image": "none",
"isbn": "9780987678988",
- "published_at": "2014-04-09T00:00:00Z",
+ "published": "2014-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングR",
@@ -538,7 +538,7 @@ ShallowWrapper {
"id": 20,
"image": "none",
"isbn": "9780004195095",
- "published_at": "2014-04-09T00:00:00Z",
+ "published": "2014-04-09T00:00:00Z",
"status": true,
"tags": Array [],
"title": "スターティングRuby",
@@ -549,7 +549,7 @@ ShallowWrapper {
"id": 26,
"image": "none",
"isbn": "9789867165289",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "Docker実践ガイド impress top gearシリーズ",
@@ -560,7 +560,7 @@ ShallowWrapper {
"id": 27,
"image": "none",
"isbn": "9784949999120",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [],
"title": "ReactNative",
@@ -571,7 +571,7 @@ ShallowWrapper {
"id": 28,
"image": "none",
"isbn": "9784063300468",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -603,7 +603,7 @@ ShallowWrapper {
"id": 29,
"image": "none",
"isbn": "9784797363821",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -619,7 +619,7 @@ ShallowWrapper {
"id": 30,
"image": "none",
"isbn": "9784797372410",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -639,7 +639,7 @@ ShallowWrapper {
"id": 33,
"image": "none",
"isbn": "9784834002720",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -659,7 +659,7 @@ ShallowWrapper {
"id": 34,
"image": "none",
"isbn": "9784774193830",
- "published_at": "2017-11-21T00:00:00Z",
+ "published": "2017-11-21T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -679,7 +679,7 @@ ShallowWrapper {
"id": 13,
"image": "none",
"isbn": "9784844338154",
- "published_at": "2018-02-09T00:00:00Z",
+ "published": "2018-02-09T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -695,7 +695,7 @@ ShallowWrapper {
"id": 35,
"image": "none",
"isbn": "9784774172736",
- "published_at": "2015-05-15T00:00:00Z",
+ "published": "2015-05-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -711,7 +711,7 @@ ShallowWrapper {
"id": 46,
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SatMar24090349.png",
"isbn": "9784048678841",
- "published_at": "2010-03-02T00:00:00Z",
+ "published": "2010-03-02T00:00:00Z",
"status": false,
"tags": Array [],
"title": "リファクタリングRuby",
@@ -722,7 +722,7 @@ ShallowWrapper {
"id": 15,
"image": "none",
"isbn": "9784873115658",
- "published_at": "2016-04-11T00:00:00Z",
+ "published": "2016-04-11T00:00:00Z",
"status": true,
"tags": Array [],
"title": "リーダブルコード",
@@ -733,7 +733,7 @@ ShallowWrapper {
"id": 48,
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SatMar24102621.png",
"isbn": "9784798118154",
- "published_at": "2008-12-03T00:00:00Z",
+ "published": "2008-12-03T00:00:00Z",
"status": false,
"tags": Array [],
"title": "zsh最強シェル入門",
@@ -744,7 +744,7 @@ ShallowWrapper {
"id": 36,
"image": "none",
"isbn": "9784873114996",
- "published_at": "2018-02-16T00:00:00Z",
+ "published": "2018-02-16T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -760,7 +760,7 @@ ShallowWrapper {
"id": 47,
"image": "none",
"isbn": "9784844365501",
- "published_at": "2015-12-24T00:00:00Z",
+ "published": "2015-12-24T00:00:00Z",
"status": true,
"tags": Array [],
"title": "ランディングページデザインメソッド",
@@ -771,7 +771,7 @@ ShallowWrapper {
"id": 43,
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SunMar18111526.png",
"isbn": "9784569808581",
- "published_at": "2018-02-18T00:00:00Z",
+ "published": "2018-02-18T00:00:00Z",
"status": false,
"tags": Array [],
"title": "てすと",
@@ -782,7 +782,7 @@ ShallowWrapper {
"id": 49,
"image": "none",
"isbn": "9784865940046",
- "published_at": "2018-03-23T00:00:00Z",
+ "published": "2018-03-23T00:00:00Z",
"status": false,
"tags": Array [],
"title": "てすと",
@@ -793,7 +793,7 @@ ShallowWrapper {
"id": 50,
"image": "none",
"isbn": "9784048933070",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": true,
"tags": Array [],
"title": "社畜ちゃん",
@@ -804,7 +804,7 @@ ShallowWrapper {
"id": 51,
"image": "none",
"isbn": "9784063766417",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": false,
"tags": Array [],
"title": "デビルマン",
@@ -815,7 +815,7 @@ ShallowWrapper {
"id": 52,
"image": "none",
"isbn": "9784063766424",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": false,
"tags": Array [],
"title": "デビルマン2",
@@ -826,7 +826,7 @@ ShallowWrapper {
"id": 56,
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SatMar24132702.png",
"isbn": "9784063766516",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": false,
"tags": Array [],
"title": "デビルマン3",
@@ -837,7 +837,7 @@ ShallowWrapper {
"id": 58,
"image": "none",
"isbn": "9784063766639",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": true,
"tags": Array [
Object {
@@ -876,7 +876,7 @@ ShallowWrapper {
"id": 2,
"image": "none",
"isbn": "9784774184111",
- "published_at": "2018-02-09T00:00:00Z",
+ "published": "2018-02-09T00:00:00Z",
"status": true,
"tags": Array [],
"title": "javascript ",
@@ -887,7 +887,7 @@ ShallowWrapper {
"id": 14,
"image": "none",
"isbn": "9784774183923",
- "published_at": "2018-02-12T00:00:00Z",
+ "published": "2018-02-12T00:00:00Z",
"status": false,
"tags": Array [],
"title": "ghj",
@@ -898,7 +898,7 @@ ShallowWrapper {
"id": 16,
"image": "none",
"isbn": "9780004195025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングGo言語",
@@ -909,7 +909,7 @@ ShallowWrapper {
"id": 17,
"image": "none",
"isbn": "9780104195025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングC言語",
@@ -920,7 +920,7 @@ ShallowWrapper {
"id": 19,
"image": "none",
"isbn": "9781111115025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングC言語",
@@ -931,7 +931,7 @@ ShallowWrapper {
"id": 1,
"image": "none",
"isbn": "9784873113944",
- "published_at": "2009-01-26T00:00:00Z",
+ "published": "2009-01-26T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -947,7 +947,7 @@ ShallowWrapper {
"id": 23,
"image": "none",
"isbn": "9780987678909",
- "published_at": "2014-04-09T00:00:00Z",
+ "published": "2014-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングRuby",
@@ -958,7 +958,7 @@ ShallowWrapper {
"id": 25,
"image": "none",
"isbn": "9780987678988",
- "published_at": "2014-04-09T00:00:00Z",
+ "published": "2014-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングR",
@@ -969,7 +969,7 @@ ShallowWrapper {
"id": 20,
"image": "none",
"isbn": "9780004195095",
- "published_at": "2014-04-09T00:00:00Z",
+ "published": "2014-04-09T00:00:00Z",
"status": true,
"tags": Array [],
"title": "スターティングRuby",
@@ -980,7 +980,7 @@ ShallowWrapper {
"id": 26,
"image": "none",
"isbn": "9789867165289",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "Docker実践ガイド impress top gearシリーズ",
@@ -991,7 +991,7 @@ ShallowWrapper {
"id": 27,
"image": "none",
"isbn": "9784949999120",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [],
"title": "ReactNative",
@@ -1002,7 +1002,7 @@ ShallowWrapper {
"id": 28,
"image": "none",
"isbn": "9784063300468",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -1034,7 +1034,7 @@ ShallowWrapper {
"id": 29,
"image": "none",
"isbn": "9784797363821",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -1050,7 +1050,7 @@ ShallowWrapper {
"id": 30,
"image": "none",
"isbn": "9784797372410",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -1070,7 +1070,7 @@ ShallowWrapper {
"id": 33,
"image": "none",
"isbn": "9784834002720",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -1090,7 +1090,7 @@ ShallowWrapper {
"id": 34,
"image": "none",
"isbn": "9784774193830",
- "published_at": "2017-11-21T00:00:00Z",
+ "published": "2017-11-21T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -1110,7 +1110,7 @@ ShallowWrapper {
"id": 13,
"image": "none",
"isbn": "9784844338154",
- "published_at": "2018-02-09T00:00:00Z",
+ "published": "2018-02-09T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -1126,7 +1126,7 @@ ShallowWrapper {
"id": 35,
"image": "none",
"isbn": "9784774172736",
- "published_at": "2015-05-15T00:00:00Z",
+ "published": "2015-05-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -1142,7 +1142,7 @@ ShallowWrapper {
"id": 46,
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SatMar24090349.png",
"isbn": "9784048678841",
- "published_at": "2010-03-02T00:00:00Z",
+ "published": "2010-03-02T00:00:00Z",
"status": false,
"tags": Array [],
"title": "リファクタリングRuby",
@@ -1153,7 +1153,7 @@ ShallowWrapper {
"id": 15,
"image": "none",
"isbn": "9784873115658",
- "published_at": "2016-04-11T00:00:00Z",
+ "published": "2016-04-11T00:00:00Z",
"status": true,
"tags": Array [],
"title": "リーダブルコード",
@@ -1164,7 +1164,7 @@ ShallowWrapper {
"id": 48,
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SatMar24102621.png",
"isbn": "9784798118154",
- "published_at": "2008-12-03T00:00:00Z",
+ "published": "2008-12-03T00:00:00Z",
"status": false,
"tags": Array [],
"title": "zsh最強シェル入門",
@@ -1175,7 +1175,7 @@ ShallowWrapper {
"id": 36,
"image": "none",
"isbn": "9784873114996",
- "published_at": "2018-02-16T00:00:00Z",
+ "published": "2018-02-16T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -1191,7 +1191,7 @@ ShallowWrapper {
"id": 47,
"image": "none",
"isbn": "9784844365501",
- "published_at": "2015-12-24T00:00:00Z",
+ "published": "2015-12-24T00:00:00Z",
"status": true,
"tags": Array [],
"title": "ランディングページデザインメソッド",
@@ -1202,7 +1202,7 @@ ShallowWrapper {
"id": 43,
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SunMar18111526.png",
"isbn": "9784569808581",
- "published_at": "2018-02-18T00:00:00Z",
+ "published": "2018-02-18T00:00:00Z",
"status": false,
"tags": Array [],
"title": "てすと",
@@ -1213,7 +1213,7 @@ ShallowWrapper {
"id": 49,
"image": "none",
"isbn": "9784865940046",
- "published_at": "2018-03-23T00:00:00Z",
+ "published": "2018-03-23T00:00:00Z",
"status": false,
"tags": Array [],
"title": "てすと",
@@ -1224,7 +1224,7 @@ ShallowWrapper {
"id": 50,
"image": "none",
"isbn": "9784048933070",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": true,
"tags": Array [],
"title": "社畜ちゃん",
@@ -1235,7 +1235,7 @@ ShallowWrapper {
"id": 51,
"image": "none",
"isbn": "9784063766417",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": false,
"tags": Array [],
"title": "デビルマン",
@@ -1246,7 +1246,7 @@ ShallowWrapper {
"id": 52,
"image": "none",
"isbn": "9784063766424",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": false,
"tags": Array [],
"title": "デビルマン2",
@@ -1257,7 +1257,7 @@ ShallowWrapper {
"id": 56,
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SatMar24132702.png",
"isbn": "9784063766516",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": false,
"tags": Array [],
"title": "デビルマン3",
@@ -1268,7 +1268,7 @@ ShallowWrapper {
"id": 58,
"image": "none",
"isbn": "9784063766639",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": true,
"tags": Array [
Object {
@@ -1309,7 +1309,7 @@ ShallowWrapper {
"id": 2,
"image": "none",
"isbn": "9784774184111",
- "published_at": "2018-02-09T00:00:00Z",
+ "published": "2018-02-09T00:00:00Z",
"status": true,
"tags": Array [],
"title": "javascript ",
@@ -1320,7 +1320,7 @@ ShallowWrapper {
"id": 14,
"image": "none",
"isbn": "9784774183923",
- "published_at": "2018-02-12T00:00:00Z",
+ "published": "2018-02-12T00:00:00Z",
"status": false,
"tags": Array [],
"title": "ghj",
@@ -1331,7 +1331,7 @@ ShallowWrapper {
"id": 16,
"image": "none",
"isbn": "9780004195025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングGo言語",
@@ -1342,7 +1342,7 @@ ShallowWrapper {
"id": 17,
"image": "none",
"isbn": "9780104195025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングC言語",
@@ -1353,7 +1353,7 @@ ShallowWrapper {
"id": 19,
"image": "none",
"isbn": "9781111115025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングC言語",
@@ -1364,7 +1364,7 @@ ShallowWrapper {
"id": 1,
"image": "none",
"isbn": "9784873113944",
- "published_at": "2009-01-26T00:00:00Z",
+ "published": "2009-01-26T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -1380,7 +1380,7 @@ ShallowWrapper {
"id": 23,
"image": "none",
"isbn": "9780987678909",
- "published_at": "2014-04-09T00:00:00Z",
+ "published": "2014-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングRuby",
@@ -1391,7 +1391,7 @@ ShallowWrapper {
"id": 25,
"image": "none",
"isbn": "9780987678988",
- "published_at": "2014-04-09T00:00:00Z",
+ "published": "2014-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングR",
@@ -1402,7 +1402,7 @@ ShallowWrapper {
"id": 20,
"image": "none",
"isbn": "9780004195095",
- "published_at": "2014-04-09T00:00:00Z",
+ "published": "2014-04-09T00:00:00Z",
"status": true,
"tags": Array [],
"title": "スターティングRuby",
@@ -1413,7 +1413,7 @@ ShallowWrapper {
"id": 26,
"image": "none",
"isbn": "9789867165289",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "Docker実践ガイド impress top gearシリーズ",
@@ -1424,7 +1424,7 @@ ShallowWrapper {
"id": 27,
"image": "none",
"isbn": "9784949999120",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [],
"title": "ReactNative",
@@ -1435,7 +1435,7 @@ ShallowWrapper {
"id": 28,
"image": "none",
"isbn": "9784063300468",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -1467,7 +1467,7 @@ ShallowWrapper {
"id": 29,
"image": "none",
"isbn": "9784797363821",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -1483,7 +1483,7 @@ ShallowWrapper {
"id": 30,
"image": "none",
"isbn": "9784797372410",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -1503,7 +1503,7 @@ ShallowWrapper {
"id": 33,
"image": "none",
"isbn": "9784834002720",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -1523,7 +1523,7 @@ ShallowWrapper {
"id": 34,
"image": "none",
"isbn": "9784774193830",
- "published_at": "2017-11-21T00:00:00Z",
+ "published": "2017-11-21T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -1543,7 +1543,7 @@ ShallowWrapper {
"id": 13,
"image": "none",
"isbn": "9784844338154",
- "published_at": "2018-02-09T00:00:00Z",
+ "published": "2018-02-09T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -1559,7 +1559,7 @@ ShallowWrapper {
"id": 35,
"image": "none",
"isbn": "9784774172736",
- "published_at": "2015-05-15T00:00:00Z",
+ "published": "2015-05-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -1575,7 +1575,7 @@ ShallowWrapper {
"id": 46,
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SatMar24090349.png",
"isbn": "9784048678841",
- "published_at": "2010-03-02T00:00:00Z",
+ "published": "2010-03-02T00:00:00Z",
"status": false,
"tags": Array [],
"title": "リファクタリングRuby",
@@ -1586,7 +1586,7 @@ ShallowWrapper {
"id": 15,
"image": "none",
"isbn": "9784873115658",
- "published_at": "2016-04-11T00:00:00Z",
+ "published": "2016-04-11T00:00:00Z",
"status": true,
"tags": Array [],
"title": "リーダブルコード",
@@ -1597,7 +1597,7 @@ ShallowWrapper {
"id": 48,
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SatMar24102621.png",
"isbn": "9784798118154",
- "published_at": "2008-12-03T00:00:00Z",
+ "published": "2008-12-03T00:00:00Z",
"status": false,
"tags": Array [],
"title": "zsh最強シェル入門",
@@ -1608,7 +1608,7 @@ ShallowWrapper {
"id": 36,
"image": "none",
"isbn": "9784873114996",
- "published_at": "2018-02-16T00:00:00Z",
+ "published": "2018-02-16T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -1624,7 +1624,7 @@ ShallowWrapper {
"id": 47,
"image": "none",
"isbn": "9784844365501",
- "published_at": "2015-12-24T00:00:00Z",
+ "published": "2015-12-24T00:00:00Z",
"status": true,
"tags": Array [],
"title": "ランディングページデザインメソッド",
@@ -1635,7 +1635,7 @@ ShallowWrapper {
"id": 43,
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SunMar18111526.png",
"isbn": "9784569808581",
- "published_at": "2018-02-18T00:00:00Z",
+ "published": "2018-02-18T00:00:00Z",
"status": false,
"tags": Array [],
"title": "てすと",
@@ -1646,7 +1646,7 @@ ShallowWrapper {
"id": 49,
"image": "none",
"isbn": "9784865940046",
- "published_at": "2018-03-23T00:00:00Z",
+ "published": "2018-03-23T00:00:00Z",
"status": false,
"tags": Array [],
"title": "てすと",
@@ -1657,7 +1657,7 @@ ShallowWrapper {
"id": 50,
"image": "none",
"isbn": "9784048933070",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": true,
"tags": Array [],
"title": "社畜ちゃん",
@@ -1668,7 +1668,7 @@ ShallowWrapper {
"id": 51,
"image": "none",
"isbn": "9784063766417",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": false,
"tags": Array [],
"title": "デビルマン",
@@ -1679,7 +1679,7 @@ ShallowWrapper {
"id": 52,
"image": "none",
"isbn": "9784063766424",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": false,
"tags": Array [],
"title": "デビルマン2",
@@ -1690,7 +1690,7 @@ ShallowWrapper {
"id": 56,
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SatMar24132702.png",
"isbn": "9784063766516",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": false,
"tags": Array [],
"title": "デビルマン3",
@@ -1701,7 +1701,7 @@ ShallowWrapper {
"id": 58,
"image": "none",
"isbn": "9784063766639",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": true,
"tags": Array [
Object {
@@ -1740,7 +1740,7 @@ ShallowWrapper {
"id": 2,
"image": "none",
"isbn": "9784774184111",
- "published_at": "2018-02-09T00:00:00Z",
+ "published": "2018-02-09T00:00:00Z",
"status": true,
"tags": Array [],
"title": "javascript ",
@@ -1751,7 +1751,7 @@ ShallowWrapper {
"id": 14,
"image": "none",
"isbn": "9784774183923",
- "published_at": "2018-02-12T00:00:00Z",
+ "published": "2018-02-12T00:00:00Z",
"status": false,
"tags": Array [],
"title": "ghj",
@@ -1762,7 +1762,7 @@ ShallowWrapper {
"id": 16,
"image": "none",
"isbn": "9780004195025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングGo言語",
@@ -1773,7 +1773,7 @@ ShallowWrapper {
"id": 17,
"image": "none",
"isbn": "9780104195025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングC言語",
@@ -1784,7 +1784,7 @@ ShallowWrapper {
"id": 19,
"image": "none",
"isbn": "9781111115025",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングC言語",
@@ -1795,7 +1795,7 @@ ShallowWrapper {
"id": 1,
"image": "none",
"isbn": "9784873113944",
- "published_at": "2009-01-26T00:00:00Z",
+ "published": "2009-01-26T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -1811,7 +1811,7 @@ ShallowWrapper {
"id": 23,
"image": "none",
"isbn": "9780987678909",
- "published_at": "2014-04-09T00:00:00Z",
+ "published": "2014-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングRuby",
@@ -1822,7 +1822,7 @@ ShallowWrapper {
"id": 25,
"image": "none",
"isbn": "9780987678988",
- "published_at": "2014-04-09T00:00:00Z",
+ "published": "2014-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "スターティングR",
@@ -1833,7 +1833,7 @@ ShallowWrapper {
"id": 20,
"image": "none",
"isbn": "9780004195095",
- "published_at": "2014-04-09T00:00:00Z",
+ "published": "2014-04-09T00:00:00Z",
"status": true,
"tags": Array [],
"title": "スターティングRuby",
@@ -1844,7 +1844,7 @@ ShallowWrapper {
"id": 26,
"image": "none",
"isbn": "9789867165289",
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"status": false,
"tags": Array [],
"title": "Docker実践ガイド impress top gearシリーズ",
@@ -1855,7 +1855,7 @@ ShallowWrapper {
"id": 27,
"image": "none",
"isbn": "9784949999120",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [],
"title": "ReactNative",
@@ -1866,7 +1866,7 @@ ShallowWrapper {
"id": 28,
"image": "none",
"isbn": "9784063300468",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -1898,7 +1898,7 @@ ShallowWrapper {
"id": 29,
"image": "none",
"isbn": "9784797363821",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -1914,7 +1914,7 @@ ShallowWrapper {
"id": 30,
"image": "none",
"isbn": "9784797372410",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -1934,7 +1934,7 @@ ShallowWrapper {
"id": 33,
"image": "none",
"isbn": "9784834002720",
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -1954,7 +1954,7 @@ ShallowWrapper {
"id": 34,
"image": "none",
"isbn": "9784774193830",
- "published_at": "2017-11-21T00:00:00Z",
+ "published": "2017-11-21T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -1974,7 +1974,7 @@ ShallowWrapper {
"id": 13,
"image": "none",
"isbn": "9784844338154",
- "published_at": "2018-02-09T00:00:00Z",
+ "published": "2018-02-09T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -1990,7 +1990,7 @@ ShallowWrapper {
"id": 35,
"image": "none",
"isbn": "9784774172736",
- "published_at": "2015-05-15T00:00:00Z",
+ "published": "2015-05-15T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -2006,7 +2006,7 @@ ShallowWrapper {
"id": 46,
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SatMar24090349.png",
"isbn": "9784048678841",
- "published_at": "2010-03-02T00:00:00Z",
+ "published": "2010-03-02T00:00:00Z",
"status": false,
"tags": Array [],
"title": "リファクタリングRuby",
@@ -2017,7 +2017,7 @@ ShallowWrapper {
"id": 15,
"image": "none",
"isbn": "9784873115658",
- "published_at": "2016-04-11T00:00:00Z",
+ "published": "2016-04-11T00:00:00Z",
"status": true,
"tags": Array [],
"title": "リーダブルコード",
@@ -2028,7 +2028,7 @@ ShallowWrapper {
"id": 48,
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SatMar24102621.png",
"isbn": "9784798118154",
- "published_at": "2008-12-03T00:00:00Z",
+ "published": "2008-12-03T00:00:00Z",
"status": false,
"tags": Array [],
"title": "zsh最強シェル入門",
@@ -2039,7 +2039,7 @@ ShallowWrapper {
"id": 36,
"image": "none",
"isbn": "9784873114996",
- "published_at": "2018-02-16T00:00:00Z",
+ "published": "2018-02-16T00:00:00Z",
"status": false,
"tags": Array [
Object {
@@ -2055,7 +2055,7 @@ ShallowWrapper {
"id": 47,
"image": "none",
"isbn": "9784844365501",
- "published_at": "2015-12-24T00:00:00Z",
+ "published": "2015-12-24T00:00:00Z",
"status": true,
"tags": Array [],
"title": "ランディングページデザインメソッド",
@@ -2066,7 +2066,7 @@ ShallowWrapper {
"id": 43,
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SunMar18111526.png",
"isbn": "9784569808581",
- "published_at": "2018-02-18T00:00:00Z",
+ "published": "2018-02-18T00:00:00Z",
"status": false,
"tags": Array [],
"title": "てすと",
@@ -2077,7 +2077,7 @@ ShallowWrapper {
"id": 49,
"image": "none",
"isbn": "9784865940046",
- "published_at": "2018-03-23T00:00:00Z",
+ "published": "2018-03-23T00:00:00Z",
"status": false,
"tags": Array [],
"title": "てすと",
@@ -2088,7 +2088,7 @@ ShallowWrapper {
"id": 50,
"image": "none",
"isbn": "9784048933070",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": true,
"tags": Array [],
"title": "社畜ちゃん",
@@ -2099,7 +2099,7 @@ ShallowWrapper {
"id": 51,
"image": "none",
"isbn": "9784063766417",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": false,
"tags": Array [],
"title": "デビルマン",
@@ -2110,7 +2110,7 @@ ShallowWrapper {
"id": 52,
"image": "none",
"isbn": "9784063766424",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": false,
"tags": Array [],
"title": "デビルマン2",
@@ -2121,7 +2121,7 @@ ShallowWrapper {
"id": 56,
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SatMar24132702.png",
"isbn": "9784063766516",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": false,
"tags": Array [],
"title": "デビルマン3",
@@ -2132,7 +2132,7 @@ ShallowWrapper {
"id": 58,
"image": "none",
"isbn": "9784063766639",
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"status": true,
"tags": Array [
Object {
diff --git a/src/actions/index.js b/src/actions/index.js
index 13a97fe..29aec7d 100644
--- a/src/actions/index.js
+++ b/src/actions/index.js
@@ -1,5 +1,6 @@
import API_ENDPOINT from '../utils/endpoint';
import server from '../api/server';
+import * as api from '../api';
import * as types from '../constants/actionTypes';
const request = () => ({
@@ -24,18 +25,18 @@ const getBooks = books => ({
},
});
-// export const getAllMockBooks = () => (dispatch) => {
-// dispatch(request());
-//
-// return server.getBooks()
-// .then((books) => {
-// dispatch(requestSuccess());
-// dispatch(getBooks(books));
-// })
-// .catch((error) => {
-// dispatch(requestFail(error));
-// });
-// };
+export const getAllMockBooks = () => (dispatch) => {
+ dispatch(request());
+
+ return server.getBooks()
+ .then((books) => {
+ dispatch(requestSuccess());
+ dispatch(getBooks(books));
+ })
+ .catch((error) => {
+ dispatch(requestFail(error));
+ });
+};
export const getAllBooks = () => (dispatch) => {
dispatch(request());
@@ -79,18 +80,10 @@ export const isbnInvalid = () => ({
type: types.ISBN_INVALID,
});
-export const requestChangeStatus = body => (dispatch) => {
- console.log(body);
+export const requestChangeStatus = (isbn, status) => (dispatch) => {
dispatch(request());
- return fetch(`${API_ENDPOINT}/books`, {
- method: 'PUT',
- headers: {
- Accept: 'application/json',
- 'Content-Type': 'application/json',
- },
- body,
- })
+ api.changeStatus(isbn, status)
.then((response) => {
console.log(response.json);
if (response.ok) {
diff --git a/src/api/books.json b/src/api/books.json
index 5131ed6..2ac57ea 100644
--- a/src/api/books.json
+++ b/src/api/books.json
@@ -4,7 +4,7 @@
"title": "javascript ",
"image": "none",
"status": true,
- "published_at": "2018-02-09T00:00:00Z",
+ "published": "2018-02-09T00:00:00Z",
"tags": [],
"isbn": "9784774184111",
"created_at": "2018-03-09T00:00:00Z",
@@ -15,7 +15,7 @@
"title": "ghj",
"image": "none",
"status": false,
- "published_at": "2018-02-12T00:00:00Z",
+ "published": "2018-02-12T00:00:00Z",
"tags": [],
"isbn": "9784774183923",
"created_at": "2018-03-12T00:00:00Z",
@@ -26,7 +26,7 @@
"title": "スターティングGo言語",
"image": "none",
"status": false,
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"tags": [],
"isbn": "9780004195025",
"created_at": "2018-03-13T00:00:00Z",
@@ -37,7 +37,7 @@
"title": "スターティングC言語",
"image": "none",
"status": false,
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"tags": [],
"isbn": "9780104195025",
"created_at": "2018-03-13T00:00:00Z",
@@ -48,7 +48,7 @@
"title": "スターティングC言語",
"image": "none",
"status": false,
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"tags": [],
"isbn": "9781111115025",
"created_at": "2018-03-13T00:00:00Z",
@@ -59,7 +59,7 @@
"title": "プログラミング言語 Ruby",
"image": "none",
"status": false,
- "published_at": "2009-01-26T00:00:00Z",
+ "published": "2009-01-26T00:00:00Z",
"tags": [
{
"id": 1,
@@ -75,7 +75,7 @@
"title": "スターティングRuby",
"image": "none",
"status": false,
- "published_at": "2014-04-09T00:00:00Z",
+ "published": "2014-04-09T00:00:00Z",
"tags": [],
"isbn": "9780987678909",
"created_at": "2018-03-14T00:00:00Z",
@@ -86,7 +86,7 @@
"title": "スターティングR",
"image": "none",
"status": false,
- "published_at": "2014-04-09T00:00:00Z",
+ "published": "2014-04-09T00:00:00Z",
"tags": [],
"isbn": "9780987678988",
"created_at": "2018-03-14T00:00:00Z",
@@ -97,7 +97,7 @@
"title": "スターティングRuby",
"image": "none",
"status": true,
- "published_at": "2014-04-09T00:00:00Z",
+ "published": "2014-04-09T00:00:00Z",
"tags": [],
"isbn": "9780004195095",
"created_at": "2018-03-14T00:00:00Z",
@@ -108,7 +108,7 @@
"title": "Docker実践ガイド impress top gearシリーズ",
"image": "none",
"status": false,
- "published_at": "2016-04-09T00:00:00Z",
+ "published": "2016-04-09T00:00:00Z",
"tags": [],
"isbn": "9789867165289",
"created_at": "2018-03-15T00:00:00Z",
@@ -119,7 +119,7 @@
"title": "ReactNative",
"image": "none",
"status": false,
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"tags": [],
"isbn": "9784949999120",
"created_at": "2018-03-15T00:00:00Z",
@@ -130,7 +130,7 @@
"title": "タグテスト",
"image": "none",
"status": false,
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"tags": [
{
"id": 11,
@@ -162,7 +162,7 @@
"title": "ReactNative",
"image": "none",
"status": false,
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"tags": [
{
"id": 12,
@@ -178,7 +178,7 @@
"title": "React",
"image": "none",
"status": false,
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"tags": [
{
"id": 1,
@@ -198,7 +198,7 @@
"title": "バーコード最終確認",
"image": "none",
"status": false,
- "published_at": "2018-02-15T00:00:00Z",
+ "published": "2018-02-15T00:00:00Z",
"tags": [
{
"id": 13,
@@ -218,7 +218,7 @@
"title": "intellj IDEA",
"image": "none",
"status": false,
- "published_at": "2017-11-21T00:00:00Z",
+ "published": "2017-11-21T00:00:00Z",
"tags": [
{
"id": 15,
@@ -238,7 +238,7 @@
"title": "基礎Ruby on Rails",
"image": "none",
"status": false,
- "published_at": "2018-02-09T00:00:00Z",
+ "published": "2018-02-09T00:00:00Z",
"tags": [
{
"id": 1,
@@ -254,7 +254,7 @@
"title": "jquery",
"image": "none",
"status": false,
- "published_at": "2015-05-15T00:00:00Z",
+ "published": "2015-05-15T00:00:00Z",
"tags": [
{
"id": 12,
@@ -270,7 +270,7 @@
"title": "リファクタリングRuby",
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SatMar24090349.png",
"status": false,
- "published_at": "2010-03-02T00:00:00Z",
+ "published": "2010-03-02T00:00:00Z",
"tags": [],
"isbn": "9784048678841",
"created_at": "2018-03-24T00:00:00Z",
@@ -281,7 +281,7 @@
"title": "リーダブルコード",
"image": "none",
"status": true,
- "published_at": "2016-04-11T00:00:00Z",
+ "published": "2016-04-11T00:00:00Z",
"tags": [],
"isbn": "9784873115658",
"created_at": "2018-03-12T00:00:00Z",
@@ -292,7 +292,7 @@
"title": "zsh最強シェル入門",
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SatMar24102621.png",
"status": false,
- "published_at": "2008-12-03T00:00:00Z",
+ "published": "2008-12-03T00:00:00Z",
"tags": [],
"isbn": "9784798118154",
"created_at": "2018-03-24T00:00:00Z",
@@ -303,7 +303,7 @@
"title": "BeingGeek",
"image": "none",
"status": false,
- "published_at": "2018-02-16T00:00:00Z",
+ "published": "2018-02-16T00:00:00Z",
"tags": [
{
"id": 17,
@@ -319,7 +319,7 @@
"title": "ランディングページデザインメソッド",
"image": "none",
"status": true,
- "published_at": "2015-12-24T00:00:00Z",
+ "published": "2015-12-24T00:00:00Z",
"tags": [],
"isbn": "9784844365501",
"created_at": "2018-03-24T00:00:00Z",
@@ -330,7 +330,7 @@
"title": "てすと",
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SunMar18111526.png",
"status": false,
- "published_at": "2018-02-18T00:00:00Z",
+ "published": "2018-02-18T00:00:00Z",
"tags": [],
"isbn": "9784569808581",
"created_at": "2018-03-18T00:00:00Z",
@@ -341,7 +341,7 @@
"title": "てすと",
"image": "none",
"status": false,
- "published_at": "2018-03-23T00:00:00Z",
+ "published": "2018-03-23T00:00:00Z",
"tags": [],
"isbn": "9784865940046",
"created_at": "2018-03-24T00:00:00Z",
@@ -352,7 +352,7 @@
"title": "社畜ちゃん",
"image": "none",
"status": true,
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"tags": [],
"isbn": "9784048933070",
"created_at": "2018-03-24T00:00:00Z",
@@ -363,7 +363,7 @@
"title": "デビルマン",
"image": "none",
"status": false,
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"tags": [],
"isbn": "9784063766417",
"created_at": "2018-03-24T00:00:00Z",
@@ -374,7 +374,7 @@
"title": "デビルマン2",
"image": "none",
"status": false,
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"tags": [],
"isbn": "9784063766424",
"created_at": "2018-03-24T00:00:00Z",
@@ -385,7 +385,7 @@
"title": "デビルマン3",
"image": "https://s3-ap-northeast-1.amazonaws.com/book-seeker/static/images/SatMar24132702.png",
"status": false,
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"tags": [],
"isbn": "9784063766516",
"created_at": "2018-03-24T00:00:00Z",
@@ -396,7 +396,7 @@
"title": "デビルマン4",
"image": "none",
"status": true,
- "published_at": "2018-02-24T00:00:00Z",
+ "published": "2018-02-24T00:00:00Z",
"tags": [
{
"id": 2,
diff --git a/src/api/index.js b/src/api/index.js
new file mode 100644
index 0000000..d1a2392
--- /dev/null
+++ b/src/api/index.js
@@ -0,0 +1,15 @@
+import API_ENDPOINT from '../utils/endpoint';
+
+export const changeStatus = (isbn, status) => (
+ fetch(`${API_ENDPOINT}/books`, {
+ method: 'PUT',
+ headers: {
+ Accept: 'application/json',
+ 'Content-Type': 'application/json',
+ },
+ body: JSON.stringify({
+ isbn,
+ status,
+ }),
+ })
+);
diff --git a/src/components/LentScanScreen/index.js b/src/components/LentScanScreen/index.js
index 91d187e..c31360f 100644
--- a/src/components/LentScanScreen/index.js
+++ b/src/components/LentScanScreen/index.js
@@ -24,22 +24,12 @@ export default class LentScanScreen extends Component {
}
}
- borrowBook = (isbn) => {
- const body = JSON.stringify({
- jan_code: isbn,
- status: true,
- });
-
- this.props.requestChangeStatus(body);
+ borrowBook = (isbn, status = true) => {
+ this.props.requestChangeStatus(isbn, status);
};
- returnBook = (isbn) => {
- const body = JSON.stringify({
- jan_code: isbn,
- status: false,
- });
-
- this.props.requestChangeStatus(body);
+ returnBook = (isbn, status = false) => {
+ this.props.requestChangeStatus(isbn, status);
};
handleBarCodeRead = ({ type, data }) => {