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

Commit

Permalink
import Services
Browse files Browse the repository at this point in the history
  • Loading branch information
Fi1osof committed Nov 24, 2018
1 parent 3f53231 commit 06ecddf
Show file tree
Hide file tree
Showing 8 changed files with 388 additions and 7 deletions.
29 changes: 29 additions & 0 deletions __tests__/module/schema/index.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,35 @@ const requiredTypes = [
],
},
},
{
name: "Project",
fields: {
both: [
"id",
"oldID",
"image",
"Resource",
],
prisma: [
],
api: [
],
},
},
{
name: "Service",
fields: {
both: [
"id",
"oldID",
"Resource",
],
prisma: [
],
api: [
],
},
},
]


Expand Down
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
1.3.0
===============================
- Added import Services

1.2.4
===============================
- Added importNotificationTypes
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@modxclub/import-old-site",
"description": "Importer for modxclub.ru",
"version": "1.2.4",
"version": "1.3.0",
"main": "src/",
"files": [
"src"
Expand All @@ -20,6 +20,7 @@
"@prisma-cms/resource-module": "latest",
"@prisma-cms/prisma-processor": "latest",
"@prisma-cms/society-module": "latest",
"@prisma-cms/cooperation-module": "latest",
"chalk": "^2.4.1",
"draft-js": "^0.10.5",
"jsdom": "^13.0.0",
Expand Down
2 changes: 2 additions & 0 deletions src/modules/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import LogModule from "@prisma-cms/log-module";
import UserModule from "@prisma-cms/user-module";
import ResourceModule from "@prisma-cms/resource-module";
import SocietyModule from "@prisma-cms/society-module";
import CooperationModule from "@prisma-cms/cooperation-module";

import PrismaModule from "@prisma-cms/prisma-module";

Expand Down Expand Up @@ -41,6 +42,7 @@ class Module extends PrismaModule {
SocietyModule,
UserModule,
ResourceModule,
CooperationModule,
]);

}
Expand Down
Loading

0 comments on commit 06ecddf

Please sign in to comment.