@cocreate/crud-server
Advanced tools
Comparing version 1.23.15 to 1.24.0
@@ -0,1 +1,8 @@ | ||
# [1.24.0](https://github.com/CoCreate-app/CoCreate-crud-server/compare/v1.23.15...v1.24.0) (2023-06-15) | ||
### Features | ||
* add @cocreate/config ([1710d45](https://github.com/CoCreate-app/CoCreate-crud-server/commit/1710d457ff9ab000d1c4f4bc57c0fcd62d648b1a)) | ||
## [1.23.15](https://github.com/CoCreate-app/CoCreate-crud-server/compare/v1.23.14...v1.23.15) (2023-06-14) | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "@cocreate/crud-server", | ||
"version": "1.23.15", | ||
"version": "1.24.0", | ||
"description": "CoCreate-crud-server", | ||
@@ -43,4 +43,4 @@ "keywords": [ | ||
"dependencies": { | ||
"@cocreate/config": "^1.0.2", | ||
"@cocreate/utils": "^1.21.15", | ||
"@cocreate/config": "^1.0.4", | ||
"@cocreate/utils": "^1.21.16", | ||
"csvtojson": "^2.0.10", | ||
@@ -47,0 +47,0 @@ "json-2-csv": "^3.10.3" |
@@ -16,5 +16,14 @@ 'use strict'; | ||
async init() { | ||
this.config = await config({ | ||
organization_id: { prompt: 'Enter your organization_id: ' }, | ||
storage: { prompt: 'Enter a JSON.stringify storage object: ' } | ||
let config = await config({ | ||
'organization_id': { prompt: 'Enter your organization_id: ' }, | ||
'name': { | ||
prompt: 'Enter a friendly name for the new storage: ', | ||
variable: true | ||
}, | ||
'storage.{{name}}.provider': { | ||
prompt: 'Enter the storage provider, ex mongodb: ' | ||
}, | ||
'storage.{{name}}.url': { | ||
prompt: 'Enter the storage providers url: ' | ||
} | ||
}) | ||
@@ -21,0 +30,0 @@ |
113704
398
Updated@cocreate/config@^1.0.4
Updated@cocreate/utils@^1.21.16