nestia 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/package.json +1 -1
- package/src/generates/FileGenerator.ts +4 -1
package/README.md
CHANGED
|
@@ -249,9 +249,9 @@ Therefore, this **Nestia** makes you to be much convenient in the API interactio
|
|
|
249
249
|
### Technial Support
|
|
250
250
|
samchon.github@gmail.com
|
|
251
251
|
|
|
252
|
-
I
|
|
252
|
+
I can provide technical support about those **Nestia** and [safe-typeorm](https://github.com/samchon/safe-typeorm).
|
|
253
253
|
|
|
254
|
-
Therefore, if you have any question or need help, feel free to contact me. If you want to adapt
|
|
254
|
+
Therefore, if you have any question or need help, feel free to contact me. If you want to adapt those **Nestia** and [safe-typeorm](https://github.com/samchon/safe-typeorm) in your commercial project, I can provide you the best guidance.
|
|
255
255
|
|
|
256
256
|
I also can help your backend project in the entire development level. If you're suffering by DB architecture design or API structure design, just contact me and get help. I'll help you with my best effort.
|
|
257
257
|
|
package/package.json
CHANGED
|
@@ -34,7 +34,10 @@ export namespace FileGenerator
|
|
|
34
34
|
function emplace(directory: Directory, route: IRoute): void
|
|
35
35
|
{
|
|
36
36
|
// SEPARATE IDENTIFIERS
|
|
37
|
-
const identifiers: string[] = route.path
|
|
37
|
+
const identifiers: string[] = route.path
|
|
38
|
+
.split("/")
|
|
39
|
+
.filter(str => str[0] !== ":" && str.length !== 0)
|
|
40
|
+
.map(str => str.split("-").join("_").split(".").join("_"));
|
|
38
41
|
|
|
39
42
|
for (const key of identifiers)
|
|
40
43
|
{
|