Commit 82d20bb3 by Ravindra Kanojiya

New collection created(Contact us) by jay

1 parent 925ac454
...@@ -93,6 +93,7 @@ pids ...@@ -93,6 +93,7 @@ pids
logs logs
results results
node_modules node_modules
/home/itadmin/opt/gitco/offers-backend/config/database.js
.node_history .node_history
############################ ############################
......
...@@ -15261,19 +15261,6 @@ ...@@ -15261,19 +15261,6 @@
"styled-components": "^5.2.1" "styled-components": "^5.2.1"
} }
}, },
"node_modules/strapi-plugin-ckeditor5/node_modules/@strapi/icons": {
"version": "0.0.1-alpha.79",
"resolved": "https://registry.npmjs.org/@strapi/icons/-/icons-0.0.1-alpha.79.tgz",
"integrity": "sha512-mIPzpwOir92939rSRuRS22GLWFpLfQDyoK0vMZUsGD7uujNnRon//TUa9DJTjTHjdEjRwWO60JbJOePgJ+2cvg==",
"peer": true,
"dependencies": {
"rimraf": "^3.0.2"
},
"peerDependencies": {
"react": "^17.0.1",
"react-dom": "^17.0.1"
}
},
"node_modules/stream-browserify": { "node_modules/stream-browserify": {
"version": "3.0.0", "version": "3.0.0",
"resolved": "https://registry.npmjs.org/stream-browserify/-/stream-browserify-3.0.0.tgz", "resolved": "https://registry.npmjs.org/stream-browserify/-/stream-browserify-3.0.0.tgz",
...@@ -15472,11 +15459,6 @@ ...@@ -15472,11 +15459,6 @@
"styled-components": ">= 2" "styled-components": ">= 2"
} }
}, },
"node_modules/styled-components/node_modules/react-is": {
"version": "17.0.2",
"license": "MIT",
"peer": true
},
"node_modules/stylis": { "node_modules/stylis": {
"version": "4.0.13", "version": "4.0.13",
"resolved": "https://registry.npmjs.org/stylis/-/stylis-4.0.13.tgz", "resolved": "https://registry.npmjs.org/stylis/-/stylis-4.0.13.tgz",
...@@ -18394,8 +18376,7 @@ ...@@ -18394,8 +18376,7 @@
"@emotion/use-insertion-effect-with-fallbacks": { "@emotion/use-insertion-effect-with-fallbacks": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/@emotion/use-insertion-effect-with-fallbacks/-/use-insertion-effect-with-fallbacks-1.0.0.tgz", "resolved": "https://registry.npmjs.org/@emotion/use-insertion-effect-with-fallbacks/-/use-insertion-effect-with-fallbacks-1.0.0.tgz",
"integrity": "sha512-1eEgUGmkaljiBnRMTdksDV1W4kUnmwgp7X9G8B++9GYwl1lUdqSndSriIrTJ0N7LQaoauY9JJ2yhiOYK5+NI4A==", "integrity": "sha512-1eEgUGmkaljiBnRMTdksDV1W4kUnmwgp7X9G8B++9GYwl1lUdqSndSriIrTJ0N7LQaoauY9JJ2yhiOYK5+NI4A=="
"requires": {}
}, },
"@emotion/utils": { "@emotion/utils": {
"version": "1.2.0", "version": "1.2.0",
...@@ -19969,8 +19950,7 @@ ...@@ -19969,8 +19950,7 @@
"@webpack-cli/configtest": { "@webpack-cli/configtest": {
"version": "1.2.0", "version": "1.2.0",
"resolved": "https://registry.npmjs.org/@webpack-cli/configtest/-/configtest-1.2.0.tgz", "resolved": "https://registry.npmjs.org/@webpack-cli/configtest/-/configtest-1.2.0.tgz",
"integrity": "sha512-4FB8Tj6xyVkyqjj1OaTqCjXYULB9FMkqQ8yGrZjRDrYh0nOE+7Lhs45WioWQQMV+ceFlE368Ukhe6xdvJM9Egg==", "integrity": "sha512-4FB8Tj6xyVkyqjj1OaTqCjXYULB9FMkqQ8yGrZjRDrYh0nOE+7Lhs45WioWQQMV+ceFlE368Ukhe6xdvJM9Egg=="
"requires": {}
}, },
"@webpack-cli/info": { "@webpack-cli/info": {
"version": "1.5.0", "version": "1.5.0",
...@@ -19983,8 +19963,7 @@ ...@@ -19983,8 +19963,7 @@
"@webpack-cli/serve": { "@webpack-cli/serve": {
"version": "1.7.0", "version": "1.7.0",
"resolved": "https://registry.npmjs.org/@webpack-cli/serve/-/serve-1.7.0.tgz", "resolved": "https://registry.npmjs.org/@webpack-cli/serve/-/serve-1.7.0.tgz",
"integrity": "sha512-oxnCNGj88fL+xzV+dacXs44HcDwf1ovs3AuEzvP7mqXw7fQntqIhQ1BRmynh4qEKQSSSRSWVyXRjmTbZIX9V2Q==", "integrity": "sha512-oxnCNGj88fL+xzV+dacXs44HcDwf1ovs3AuEzvP7mqXw7fQntqIhQ1BRmynh4qEKQSSSRSWVyXRjmTbZIX9V2Q=="
"requires": {}
}, },
"@xtuc/ieee754": { "@xtuc/ieee754": {
"version": "1.2.0", "version": "1.2.0",
...@@ -20021,8 +20000,7 @@ ...@@ -20021,8 +20000,7 @@
"acorn-import-assertions": { "acorn-import-assertions": {
"version": "1.8.0", "version": "1.8.0",
"resolved": "https://registry.npmjs.org/acorn-import-assertions/-/acorn-import-assertions-1.8.0.tgz", "resolved": "https://registry.npmjs.org/acorn-import-assertions/-/acorn-import-assertions-1.8.0.tgz",
"integrity": "sha512-m7VZ3jwz4eK6A4Vtt8Ew1/mNbP24u0FhdyfA7fSvnJR6LMdfOYnmuIrrJAgrYfYJ10F/otaHTtrtrtmHdMNzEw==", "integrity": "sha512-m7VZ3jwz4eK6A4Vtt8Ew1/mNbP24u0FhdyfA7fSvnJR6LMdfOYnmuIrrJAgrYfYJ10F/otaHTtrtrtmHdMNzEw=="
"requires": {}
}, },
"addressparser": { "addressparser": {
"version": "1.0.1", "version": "1.0.1",
...@@ -20060,8 +20038,7 @@ ...@@ -20060,8 +20038,7 @@
"ajv-keywords": { "ajv-keywords": {
"version": "3.5.2", "version": "3.5.2",
"resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz",
"integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ=="
"requires": {}
}, },
"ansi-align": { "ansi-align": {
"version": "3.0.1", "version": "3.0.1",
...@@ -23631,8 +23608,7 @@ ...@@ -23631,8 +23608,7 @@
"icss-utils": { "icss-utils": {
"version": "5.1.0", "version": "5.1.0",
"resolved": "https://registry.npmjs.org/icss-utils/-/icss-utils-5.1.0.tgz", "resolved": "https://registry.npmjs.org/icss-utils/-/icss-utils-5.1.0.tgz",
"integrity": "sha512-soFhflCVWLfRNOPU3iv5Z9VUdT44xFRbzjLsEzSr5AQmgqPMTHdU3PMT1Cf1ssx8fLNJDA1juftYl+PUcv3MqA==", "integrity": "sha512-soFhflCVWLfRNOPU3iv5Z9VUdT44xFRbzjLsEzSr5AQmgqPMTHdU3PMT1Cf1ssx8fLNJDA1juftYl+PUcv3MqA=="
"requires": {}
}, },
"ieee754": { "ieee754": {
"version": "1.2.1", "version": "1.2.1",
...@@ -24540,8 +24516,7 @@ ...@@ -24540,8 +24516,7 @@
"koa2-ratelimit": { "koa2-ratelimit": {
"version": "1.1.2", "version": "1.1.2",
"resolved": "https://registry.npmjs.org/koa2-ratelimit/-/koa2-ratelimit-1.1.2.tgz", "resolved": "https://registry.npmjs.org/koa2-ratelimit/-/koa2-ratelimit-1.1.2.tgz",
"integrity": "sha512-Iiri4o7dVlLK6zB7kH5A4ACtPmgIys5Ad2b+RoqOx9U2V8P0pY5sD/F7piCt0w3yiLl9vckH7pMcQ9yWkRdsIg==", "integrity": "sha512-Iiri4o7dVlLK6zB7kH5A4ACtPmgIys5Ad2b+RoqOx9U2V8P0pY5sD/F7piCt0w3yiLl9vckH7pMcQ9yWkRdsIg=="
"requires": {}
}, },
"kuler": { "kuler": {
"version": "2.0.0", "version": "2.0.0",
...@@ -25862,8 +25837,7 @@ ...@@ -25862,8 +25837,7 @@
"pg-pool": { "pg-pool": {
"version": "3.5.2", "version": "3.5.2",
"resolved": "https://registry.npmjs.org/pg-pool/-/pg-pool-3.5.2.tgz", "resolved": "https://registry.npmjs.org/pg-pool/-/pg-pool-3.5.2.tgz",
"integrity": "sha512-His3Fh17Z4eg7oANLob6ZvH8xIVen3phEZh2QuyrIl4dQSDVEabNducv6ysROKpDNPSD+12tONZVWfSgMvDD9w==", "integrity": "sha512-His3Fh17Z4eg7oANLob6ZvH8xIVen3phEZh2QuyrIl4dQSDVEabNducv6ysROKpDNPSD+12tONZVWfSgMvDD9w=="
"requires": {}
}, },
"pg-protocol": { "pg-protocol": {
"version": "1.5.0", "version": "1.5.0",
...@@ -26148,8 +26122,7 @@ ...@@ -26148,8 +26122,7 @@
"postcss-modules-extract-imports": { "postcss-modules-extract-imports": {
"version": "3.0.0", "version": "3.0.0",
"resolved": "https://registry.npmjs.org/postcss-modules-extract-imports/-/postcss-modules-extract-imports-3.0.0.tgz", "resolved": "https://registry.npmjs.org/postcss-modules-extract-imports/-/postcss-modules-extract-imports-3.0.0.tgz",
"integrity": "sha512-bdHleFnP3kZ4NYDhuGlVK+CMrQ/pqUm8bx/oGL93K6gVwiclvX5x0n76fYMKuIGKzlABOy13zsvqjb0f92TEXw==", "integrity": "sha512-bdHleFnP3kZ4NYDhuGlVK+CMrQ/pqUm8bx/oGL93K6gVwiclvX5x0n76fYMKuIGKzlABOy13zsvqjb0f92TEXw=="
"requires": {}
}, },
"postcss-modules-local-by-default": { "postcss-modules-local-by-default": {
"version": "4.0.0", "version": "4.0.0",
...@@ -26639,8 +26612,7 @@ ...@@ -26639,8 +26612,7 @@
"react-side-effect": { "react-side-effect": {
"version": "2.1.2", "version": "2.1.2",
"resolved": "https://registry.npmjs.org/react-side-effect/-/react-side-effect-2.1.2.tgz", "resolved": "https://registry.npmjs.org/react-side-effect/-/react-side-effect-2.1.2.tgz",
"integrity": "sha512-PVjOcvVOyIILrYoyGEpDN3vmYNLdy1CajSFNt4TDsVQC5KpTijDvWVoR+/7Rz2xT978D8/ZtFceXxzsPwZEDvw==", "integrity": "sha512-PVjOcvVOyIILrYoyGEpDN3vmYNLdy1CajSFNt4TDsVQC5KpTijDvWVoR+/7Rz2xT978D8/ZtFceXxzsPwZEDvw=="
"requires": {}
}, },
"react-transition-group": { "react-transition-group": {
"version": "4.4.5", "version": "4.4.5",
...@@ -27722,15 +27694,6 @@ ...@@ -27722,15 +27694,6 @@
"compute-scroll-into-view": "^1.0.17", "compute-scroll-into-view": "^1.0.17",
"prop-types": "^15.7.2" "prop-types": "^15.7.2"
} }
},
"@strapi/icons": {
"version": "0.0.1-alpha.79",
"resolved": "https://registry.npmjs.org/@strapi/icons/-/icons-0.0.1-alpha.79.tgz",
"integrity": "sha512-mIPzpwOir92939rSRuRS22GLWFpLfQDyoK0vMZUsGD7uujNnRon//TUa9DJTjTHjdEjRwWO60JbJOePgJ+2cvg==",
"peer": true,
"requires": {
"rimraf": "^3.0.2"
}
} }
} }
}, },
...@@ -27835,8 +27798,7 @@ ...@@ -27835,8 +27798,7 @@
"style-loader": { "style-loader": {
"version": "3.3.1", "version": "3.3.1",
"resolved": "https://registry.npmjs.org/style-loader/-/style-loader-3.3.1.tgz", "resolved": "https://registry.npmjs.org/style-loader/-/style-loader-3.3.1.tgz",
"integrity": "sha512-GPcQ+LDJbrcxHORTRes6Jy2sfvK2kS6hpSfI/fXhPt+spVzxF6LJ1dHLN9zIGmVaaP044YKaIatFaufENRiDoQ==", "integrity": "sha512-GPcQ+LDJbrcxHORTRes6Jy2sfvK2kS6hpSfI/fXhPt+spVzxF6LJ1dHLN9zIGmVaaP044YKaIatFaufENRiDoQ=="
"requires": {}
}, },
"styled-components": { "styled-components": {
"version": "5.3.3", "version": "5.3.3",
...@@ -27866,10 +27828,6 @@ ...@@ -27866,10 +27828,6 @@
"lodash": "^4.17.11", "lodash": "^4.17.11",
"picomatch": "^2.3.0" "picomatch": "^2.3.0"
} }
},
"react-is": {
"version": "17.0.2",
"peer": true
} }
} }
}, },
...@@ -28910,8 +28868,7 @@ ...@@ -28910,8 +28868,7 @@
"ws": { "ws": {
"version": "8.8.1", "version": "8.8.1",
"resolved": "https://registry.npmjs.org/ws/-/ws-8.8.1.tgz", "resolved": "https://registry.npmjs.org/ws/-/ws-8.8.1.tgz",
"integrity": "sha512-bGy2JzvzkPowEJV++hF07hAD6niYSr0JzBNo/J29WsB57A2r7Wlc1UFcTR9IzrPvuNVO4B8LGqF8qcpsVOhJCA==", "integrity": "sha512-bGy2JzvzkPowEJV++hF07hAD6niYSr0JzBNo/J29WsB57A2r7Wlc1UFcTR9IzrPvuNVO4B8LGqF8qcpsVOhJCA=="
"requires": {}
}, },
"xdg-basedir": { "xdg-basedir": {
"version": "4.0.0", "version": "4.0.0",
strapi config:restore < "backup/strapi.config"
pg_restore -h localhost -p 5432 -U harishpatel -d offers -v "backup/pg.dump"
\ No newline at end of file \ No newline at end of file
npm run strapi config:restore < "backup/strapi.config"
pg_restore -h localhost -p 5432 -U ravindra -d offers -v "backup/pg.dump"
\ No newline at end of file \ No newline at end of file
{
"kind": "collectionType",
"collectionName": "contact_uses",
"info": {
"singularName": "contact-us",
"pluralName": "contact-uses",
"displayName": "Contact us"
},
"options": {
"draftAndPublish": true
},
"pluginOptions": {},
"attributes": {
"fullName": {
"type": "string"
},
"emailAddress": {
"type": "email"
},
"mobileNumber": {
"type": "string"
},
"comments": {
"type": "text"
},
"project": {
"type": "relation",
"relation": "oneToOne",
"target": "api::project.project"
}
}
}
'use strict';
/**
* contact-us controller
*/
const { createCoreController } = require('@strapi/strapi').factories;
module.exports = createCoreController('api::contact-us.contact-us');
'use strict';
/**
* contact-us router
*/
const { createCoreRouter } = require('@strapi/strapi').factories;
module.exports = createCoreRouter('api::contact-us.contact-us');
'use strict';
/**
* contact-us service
*/
const { createCoreService } = require('@strapi/strapi').factories;
module.exports = createCoreService('api::contact-us.contact-us');
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!