@dcupl/cli 0.0.27 → 0.0.29
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/dist/functions/files/files-copy.d.ts +1 -1
- package/dist/functions/files/files-list-versions.d.ts +1 -1
- package/dist/functions/files/files-pull.d.ts +1 -1
- package/dist/functions/files/files-push.d.ts +1 -1
- package/dist/functions/generate/projects/generate-project.js +13 -8
- package/dist/functions/generate/projects/generate-project.js.map +1 -1
- package/dist/functions/generate/types/generate.helper.d.ts +3 -0
- package/dist/functions/generate/types/generate.helper.js +33 -1
- package/dist/functions/generate/types/generate.helper.js.map +1 -1
- package/dist/functions/helper/config.helper.d.ts +2 -2
- package/dist/functions/helper/config.helper.js +2 -1
- package/dist/functions/helper/config.helper.js.map +1 -1
- package/dist/functions/serve/app.controller.d.ts +10 -2
- package/dist/functions/serve/app.controller.js +40 -1
- package/dist/functions/serve/app.controller.js.map +1 -1
- package/dist/functions/serve/app.module.js.map +1 -1
- package/dist/functions/serve/app.service.d.ts +35 -3
- package/dist/functions/serve/app.service.js +84 -3
- package/dist/functions/serve/app.service.js.map +1 -1
- package/dist/functions/serve/main.d.ts +1 -1
- package/dist/functions/serve/main.js +22 -4
- package/dist/functions/serve/main.js.map +1 -1
- package/dist/functions/start-dcupl/start-dcupl.d.ts +6 -0
- package/dist/functions/start-dcupl/start-dcupl.js +51 -0
- package/dist/functions/start-dcupl/start-dcupl.js.map +1 -0
- package/dist/index.js +12 -3
- package/dist/index.js.map +1 -1
- package/files/starters/starter_01/dcupl/dcupl.lc.json +4 -10
- package/package.json +5 -2
- package/files/demo/bookstore_01/dcupl/data/author.csv +0 -9126
- package/files/demo/bookstore_01/dcupl/data/book.csv +0 -10059
- package/files/demo/bookstore_01/dcupl/data/book_language.json +0 -32
- package/files/demo/bookstore_01/dcupl/data/publisher.csv +0 -2265
- package/files/demo/bookstore_01/dcupl/dcupl.lc.json +0 -81
- package/files/demo/bookstore_01/dcupl/models/author.dcupl.json +0 -16
- package/files/demo/bookstore_01/dcupl/models/book.dcupl.json +0 -31
- package/files/demo/bookstore_01/dcupl/models/book_language.dcupl.json +0 -9
- package/files/demo/bookstore_01/dcupl/models/publisher.dcupl.json +0 -9
- package/files/demo/bookstore_01/dcupl.config.json +0 -10
- package/files/demo/bookstore_01/package.json +0 -14
- package/files/demo/bookstore_02/dcupl/bookstore_local.ldp.json +0 -74
- package/files/demo/bookstore_02/dcupl/data/address.csv +0 -1001
- package/files/demo/bookstore_02/dcupl/data/author.csv +0 -9126
- package/files/demo/bookstore_02/dcupl/data/book.csv +0 -10059
- package/files/demo/bookstore_02/dcupl/data/book_language.json +0 -30
- package/files/demo/bookstore_02/dcupl/data/country.csv +0 -233
- package/files/demo/bookstore_02/dcupl/data/cust_order.csv +0 -4001
- package/files/demo/bookstore_02/dcupl/data/customer.csv +0 -2001
- package/files/demo/bookstore_02/dcupl/data/publisher.csv +0 -2265
- package/files/demo/bookstore_02/dcupl/model/adv_address.dcupl.json +0 -20
- package/files/demo/bookstore_02/dcupl/model/adv_country.dcupl.json +0 -7
- package/files/demo/bookstore_02/dcupl/model/adv_cust_order.dcupl.json +0 -21
- package/files/demo/bookstore_02/dcupl/model/adv_customer.dcupl.json +0 -35
- package/files/demo/bookstore_02/dcupl/model/author.dcupl.json +0 -19
- package/files/demo/bookstore_02/dcupl/model/book.dcupl.json +0 -73
- package/files/demo/bookstore_02/dcupl/model/book_language.dcupl.json +0 -9
- package/files/demo/bookstore_02/dcupl/model/publisher.dcupl.json +0 -10
- package/files/demo/bookstore_02/package.json +0 -14
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"applications": [
|
|
3
|
-
{
|
|
4
|
-
"key": "localhost",
|
|
5
|
-
"description": "My localhost preset",
|
|
6
|
-
"variables": [
|
|
7
|
-
{
|
|
8
|
-
"key": "apiUrl",
|
|
9
|
-
"value": "http://localhost:8083"
|
|
10
|
-
}
|
|
11
|
-
]
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
"key": "draft",
|
|
15
|
-
"description": "My draft preset.",
|
|
16
|
-
"environmentKeys": ["default"],
|
|
17
|
-
"variables": [
|
|
18
|
-
{
|
|
19
|
-
"key": "apiUrl",
|
|
20
|
-
"value": "https://cdn.dcupl.com/files/projects/${projectId}/draft"
|
|
21
|
-
}
|
|
22
|
-
]
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"key": "published",
|
|
26
|
-
"description": "My published preset.",
|
|
27
|
-
"environmentKeys": ["default"],
|
|
28
|
-
"variables": [
|
|
29
|
-
{
|
|
30
|
-
"key": "apiUrl",
|
|
31
|
-
"value": "https://cdn.dcupl.com/files/projects/${projectId}/published"
|
|
32
|
-
}
|
|
33
|
-
]
|
|
34
|
-
}
|
|
35
|
-
],
|
|
36
|
-
"environments": [
|
|
37
|
-
{
|
|
38
|
-
"key": "default",
|
|
39
|
-
"description": "The default environment containing variables that are used in multiple presets.",
|
|
40
|
-
"variables": [
|
|
41
|
-
{
|
|
42
|
-
"key": "projectId",
|
|
43
|
-
"value": ""
|
|
44
|
-
}
|
|
45
|
-
]
|
|
46
|
-
}
|
|
47
|
-
],
|
|
48
|
-
"resources": [
|
|
49
|
-
{
|
|
50
|
-
"url": "${apiUrl}/models/book.dcupl.json",
|
|
51
|
-
"type": "model"
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"url": "${apiUrl}/models/book_language.dcupl.json",
|
|
55
|
-
"type": "model"
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"url": "${apiUrl}/models/author.dcupl.json",
|
|
59
|
-
"type": "model"
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"url": "${apiUrl}/models/publisher.dcupl.json",
|
|
63
|
-
"type": "model"
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"url": "${apiUrl}/data/author.csv",
|
|
67
|
-
"type": "data",
|
|
68
|
-
"model": "author"
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
"url": "${apiUrl}/data/book.csv",
|
|
72
|
-
"type": "data",
|
|
73
|
-
"model": "book"
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
"url": "${apiUrl}/data/publisher.csv",
|
|
77
|
-
"type": "data",
|
|
78
|
-
"model": "publisher"
|
|
79
|
-
}
|
|
80
|
-
]
|
|
81
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"key": "book",
|
|
3
|
-
"references": [
|
|
4
|
-
{
|
|
5
|
-
"key": "publisher_id",
|
|
6
|
-
"model": "publisher",
|
|
7
|
-
"type": "singleValued"
|
|
8
|
-
},
|
|
9
|
-
{
|
|
10
|
-
"key": "author",
|
|
11
|
-
"model": "author",
|
|
12
|
-
"type": "multiValued",
|
|
13
|
-
"resolve":
|
|
14
|
-
{
|
|
15
|
-
"model":"author",
|
|
16
|
-
"field":"book_ids"
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
],
|
|
20
|
-
"properties": [
|
|
21
|
-
{
|
|
22
|
-
"key": "title",
|
|
23
|
-
"type": "string",
|
|
24
|
-
"filter": true
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"key": "language_code",
|
|
28
|
-
"type": "string"
|
|
29
|
-
}
|
|
30
|
-
]
|
|
31
|
-
}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"url": "http://localhost:8083/model/book.dcupl.json",
|
|
4
|
-
"type":"model"
|
|
5
|
-
},
|
|
6
|
-
{
|
|
7
|
-
"url": "http://localhost:8083/model/book_language.dcupl.json",
|
|
8
|
-
"type":"model"
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
"url": "http://localhost:8083/model/author.dcupl.json",
|
|
12
|
-
"type":"model"
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
"url": "http://localhost:8083/model/publisher.dcupl.json",
|
|
16
|
-
"type":"model"
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"url": "http://localhost:8083/model/adv_address.dcupl.json",
|
|
20
|
-
"type":"model"
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"url": "http://localhost:8083/model/adv_country.dcupl.json",
|
|
24
|
-
"type":"model"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"url": "http://localhost:8083/model/adv_cust_order.dcupl.json",
|
|
28
|
-
"type":"model"
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
"url": "http://localhost:8083/model/adv_customer.dcupl.json",
|
|
32
|
-
"type":"model"
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"url": "http://localhost:8083/data/author.csv",
|
|
36
|
-
"type":"data",
|
|
37
|
-
"model": "author"
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"url": "http://localhost:8083/data/book.csv",
|
|
41
|
-
"type":"data",
|
|
42
|
-
"model": "book"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"url": "http://localhost:8083/data/publisher.csv",
|
|
46
|
-
"type":"data",
|
|
47
|
-
"model": "publisher"
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"url": "http://localhost:8083/data/customer.csv",
|
|
51
|
-
"type":"data",
|
|
52
|
-
"model": "customer"
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
"url": "http://localhost:8083/data/country.csv",
|
|
56
|
-
"type":"data",
|
|
57
|
-
"model": "country"
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"url": "http://localhost:8083/data/address.csv",
|
|
61
|
-
"type":"data",
|
|
62
|
-
"model": "address"
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
"url": "http://localhost:8083/data/cust_order.csv",
|
|
66
|
-
"type":"data",
|
|
67
|
-
"model": "cust_order"
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
"url": "http://localhost:8083/data/book_language.json",
|
|
71
|
-
"type":"data",
|
|
72
|
-
"model": "book_language"
|
|
73
|
-
}
|
|
74
|
-
]
|