First commit
This commit is contained in:
5
src/client/constants/action-types.js
Normal file
5
src/client/constants/action-types.js
Normal file
@@ -0,0 +1,5 @@
|
||||
export const CV_API_CALL_IN_PROGRESS = "CV_SEARCH_IN_PROGRESS";
|
||||
export const CV_SEARCH_FAILURE = "CV_SEARCH_FAILURE";
|
||||
export const CV_SEARCH_SUCCESS = "CV_SEARCH_SUCCESS";
|
||||
|
||||
export const CV_API_GENERIC_FAILURE = "CV_API_GENERIC_FAILURE";
|
||||
48
src/client/constants/comic.model.js
Normal file
48
src/client/constants/comic.model.js
Normal file
@@ -0,0 +1,48 @@
|
||||
export const comicModel = {
|
||||
name: "",
|
||||
type: "",
|
||||
import: {
|
||||
isImported: false,
|
||||
},
|
||||
userAddedMetadata: {
|
||||
tags: [],
|
||||
},
|
||||
|
||||
comicStructure: {
|
||||
cover: {
|
||||
thumb: "http://thumb",
|
||||
medium: "http://medium",
|
||||
large: "http://large",
|
||||
},
|
||||
collection: {
|
||||
publishDate: "",
|
||||
type: "", // issue, series, trade paperback
|
||||
metadata: {
|
||||
publisher: "",
|
||||
issueNumber: "",
|
||||
description: "",
|
||||
synopsis: "",
|
||||
team: {},
|
||||
},
|
||||
},
|
||||
},
|
||||
sourcedMetadata: {
|
||||
comicvine: {},
|
||||
shortboxed: {},
|
||||
gcd: {},
|
||||
},
|
||||
rawFileDetails: {
|
||||
fileName: "",
|
||||
path: "",
|
||||
extension: "",
|
||||
},
|
||||
acquisition: {
|
||||
release: {},
|
||||
torrent: {
|
||||
magnet: "",
|
||||
tracker: "",
|
||||
status: "",
|
||||
},
|
||||
usenet: {},
|
||||
},
|
||||
};
|
||||
619
src/client/constants/comicvine.mock.js
Normal file
619
src/client/constants/comicvine.mock.js
Normal file
File diff suppressed because one or more lines are too long
3
src/client/constants/endpoints.js
Normal file
3
src/client/constants/endpoints.js
Normal file
@@ -0,0 +1,3 @@
|
||||
export const COMICBOOKINFO_SERVICE_URI =
|
||||
"http://localhost:6050/api/comicbookinfo/";
|
||||
export const FOLDERUTIL_URI = "http://localhost:3000/walkfolder";
|
||||
Reference in New Issue
Block a user