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

Commit

Permalink
Import projects
Browse files Browse the repository at this point in the history
  • Loading branch information
Fi1osof committed Nov 24, 2018
1 parent 06ecddf commit a0ebbd6
Show file tree
Hide file tree
Showing 7 changed files with 248 additions and 42 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
/lib
/node_modules
/umd
/uploads
*.log*
*.lock
34 changes: 33 additions & 1 deletion __tests__/module/schema/index.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ const requiredTypes = [
"Tags",
"class_key",
"template",
"Project",
"Image",
// "Gallery",
],
prisma: [
],
Expand Down Expand Up @@ -110,7 +113,7 @@ const requiredTypes = [
both: [
"id",
"oldID",
"image",
"Image",
"Resource",
],
prisma: [
Expand All @@ -119,13 +122,42 @@ const requiredTypes = [
],
},
},
{
name: "ProjectMember",
fields: {
both: [
"id",
"User",
"Project",
"Services",
],
prisma: [
],
api: [
],
},
},
{
name: "Service",
fields: {
both: [
"id",
"oldID",
"Resource",
"Projects",
],
prisma: [
],
api: [
],
},
},
{
name: "File",
fields: {
both: [
"id",
"ImageResource",
],
prisma: [
],
Expand Down
11 changes: 7 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,24 @@
"test": "NODE_OPTIONS=\"--experimental-modules\" yarn mocha --delay __tests__/"
},
"dependencies": {
"@prisma-cms/cooperation-module": "latest",
"@prisma-cms/log-module": "latest",
"@prisma-cms/prisma-module": "latest",
"@prisma-cms/user-module": "latest",
"@prisma-cms/resource-module": "latest",
"@prisma-cms/prisma-processor": "latest",
"@prisma-cms/resource-module": "latest",
"@prisma-cms/society-module": "latest",
"@prisma-cms/cooperation-module": "latest",
"@prisma-cms/user-module": "latest",
"chalk": "^2.4.1",
"draft-js": "^0.10.5",
"jsdom": "^13.0.0",
"knex": "^0.15.2",
"merge-graphql-schemas": "latest",
"mime": "^2.3.1",
"mysql": "^2.16.0",
"punycode": "^2.1.1",
"react": "^16.6.1",
"react-dom": "^16.6.1"
"react-dom": "^16.6.1",
"urijs": "^1.19.1"
},
"devDependencies": {
"@prisma-cms/server": "latest",
Expand Down
Loading

0 comments on commit a0ebbd6

Please sign in to comment.