This repository was archived by the owner on Jun 27, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +79
-0
lines changed Expand file tree Collapse file tree 2 files changed +79
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ module.exports = function () {
5
5
// Add your seeder configs here
6
6
return [
7
7
require ( './categories' ) ,
8
+ require ( './pages' ) ,
8
9
require ( './badges' )
9
10
] ;
10
11
} ;
Original file line number Diff line number Diff line change
1
+ // Database Seeder Config
2
+
3
+ // See https://www.npmjs.com/package/feathers-seeder
4
+ // Using faker models https://github.com/marak/Faker.js/
5
+
6
+ // eslint-disable-next-line no-unused-vars
7
+ module . exports = ( seederstore ) => {
8
+ return {
9
+ services : [
10
+ {
11
+ path : 'pages' ,
12
+ template : {
13
+ title : 'Terms and Condition' ,
14
+ type : 'termsAndConditions' ,
15
+ key : 'terms-and-conditions' ,
16
+ content : '<strong>ADD TERMS AND CONDITIONS!</strong>' ,
17
+ language : 'en' ,
18
+ wasSeeded : true
19
+ }
20
+ } ,
21
+ {
22
+ path : 'pages' ,
23
+ template : {
24
+ title : 'Nutzungsbedingungen' ,
25
+ type : 'termsAndConditions' ,
26
+ key : 'terms-and-conditions' ,
27
+ content : '<strong>FÜGE AGB`s HINZU!</strong>' ,
28
+ language : 'de' ,
29
+ wasSeeded : true
30
+ }
31
+ } ,
32
+ {
33
+ path : 'pages' ,
34
+ template : {
35
+ title : 'Privacy Policy' ,
36
+ type : 'privacyPolicy' ,
37
+ key : 'privacy-policy' ,
38
+ content : '<strong>ADD PRIVACY POLICY!</strong>' ,
39
+ language : 'en' ,
40
+ wasSeeded : true
41
+ }
42
+ } ,
43
+ {
44
+ path : 'pages' ,
45
+ template : {
46
+ title : 'Datenschutz' ,
47
+ type : 'privacyPolicy' ,
48
+ key : 'privacy-policy' ,
49
+ content : '<strong>FÜGE DATENSCHUTZRICHTLINIEN HINZU!</strong>' ,
50
+ language : 'de' ,
51
+ wasSeeded : true
52
+ }
53
+ } ,
54
+ {
55
+ path : 'pages' ,
56
+ template : {
57
+ title : 'Imprint' ,
58
+ type : 'imprint' ,
59
+ key : 'imprint' ,
60
+ content : '<strong>ADD IMPRINT!</strong>' ,
61
+ language : 'en' ,
62
+ wasSeeded : true
63
+ }
64
+ } ,
65
+ {
66
+ path : 'pages' ,
67
+ template : {
68
+ title : 'Impressum' ,
69
+ type : 'imprint' ,
70
+ key : 'imprint' ,
71
+ content : '<strong>FÜGE EIN IMPRESSUM HINZU!</strong>' ,
72
+ language : 'de' ,
73
+ wasSeeded : true
74
+ }
75
+ }
76
+ ]
77
+ } ;
78
+ } ;
You can’t perform that action at this time.
0 commit comments