@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.
Files changed (58) hide show
  1. package/dist/functions/files/files-copy.d.ts +1 -1
  2. package/dist/functions/files/files-list-versions.d.ts +1 -1
  3. package/dist/functions/files/files-pull.d.ts +1 -1
  4. package/dist/functions/files/files-push.d.ts +1 -1
  5. package/dist/functions/generate/projects/generate-project.js +13 -8
  6. package/dist/functions/generate/projects/generate-project.js.map +1 -1
  7. package/dist/functions/generate/types/generate.helper.d.ts +3 -0
  8. package/dist/functions/generate/types/generate.helper.js +33 -1
  9. package/dist/functions/generate/types/generate.helper.js.map +1 -1
  10. package/dist/functions/helper/config.helper.d.ts +2 -2
  11. package/dist/functions/helper/config.helper.js +2 -1
  12. package/dist/functions/helper/config.helper.js.map +1 -1
  13. package/dist/functions/serve/app.controller.d.ts +10 -2
  14. package/dist/functions/serve/app.controller.js +40 -1
  15. package/dist/functions/serve/app.controller.js.map +1 -1
  16. package/dist/functions/serve/app.module.js.map +1 -1
  17. package/dist/functions/serve/app.service.d.ts +35 -3
  18. package/dist/functions/serve/app.service.js +84 -3
  19. package/dist/functions/serve/app.service.js.map +1 -1
  20. package/dist/functions/serve/main.d.ts +1 -1
  21. package/dist/functions/serve/main.js +22 -4
  22. package/dist/functions/serve/main.js.map +1 -1
  23. package/dist/functions/start-dcupl/start-dcupl.d.ts +6 -0
  24. package/dist/functions/start-dcupl/start-dcupl.js +51 -0
  25. package/dist/functions/start-dcupl/start-dcupl.js.map +1 -0
  26. package/dist/index.js +12 -3
  27. package/dist/index.js.map +1 -1
  28. package/files/starters/starter_01/dcupl/dcupl.lc.json +4 -10
  29. package/package.json +5 -2
  30. package/files/demo/bookstore_01/dcupl/data/author.csv +0 -9126
  31. package/files/demo/bookstore_01/dcupl/data/book.csv +0 -10059
  32. package/files/demo/bookstore_01/dcupl/data/book_language.json +0 -32
  33. package/files/demo/bookstore_01/dcupl/data/publisher.csv +0 -2265
  34. package/files/demo/bookstore_01/dcupl/dcupl.lc.json +0 -81
  35. package/files/demo/bookstore_01/dcupl/models/author.dcupl.json +0 -16
  36. package/files/demo/bookstore_01/dcupl/models/book.dcupl.json +0 -31
  37. package/files/demo/bookstore_01/dcupl/models/book_language.dcupl.json +0 -9
  38. package/files/demo/bookstore_01/dcupl/models/publisher.dcupl.json +0 -9
  39. package/files/demo/bookstore_01/dcupl.config.json +0 -10
  40. package/files/demo/bookstore_01/package.json +0 -14
  41. package/files/demo/bookstore_02/dcupl/bookstore_local.ldp.json +0 -74
  42. package/files/demo/bookstore_02/dcupl/data/address.csv +0 -1001
  43. package/files/demo/bookstore_02/dcupl/data/author.csv +0 -9126
  44. package/files/demo/bookstore_02/dcupl/data/book.csv +0 -10059
  45. package/files/demo/bookstore_02/dcupl/data/book_language.json +0 -30
  46. package/files/demo/bookstore_02/dcupl/data/country.csv +0 -233
  47. package/files/demo/bookstore_02/dcupl/data/cust_order.csv +0 -4001
  48. package/files/demo/bookstore_02/dcupl/data/customer.csv +0 -2001
  49. package/files/demo/bookstore_02/dcupl/data/publisher.csv +0 -2265
  50. package/files/demo/bookstore_02/dcupl/model/adv_address.dcupl.json +0 -20
  51. package/files/demo/bookstore_02/dcupl/model/adv_country.dcupl.json +0 -7
  52. package/files/demo/bookstore_02/dcupl/model/adv_cust_order.dcupl.json +0 -21
  53. package/files/demo/bookstore_02/dcupl/model/adv_customer.dcupl.json +0 -35
  54. package/files/demo/bookstore_02/dcupl/model/author.dcupl.json +0 -19
  55. package/files/demo/bookstore_02/dcupl/model/book.dcupl.json +0 -73
  56. package/files/demo/bookstore_02/dcupl/model/book_language.dcupl.json +0 -9
  57. package/files/demo/bookstore_02/dcupl/model/publisher.dcupl.json +0 -10
  58. package/files/demo/bookstore_02/package.json +0 -14
@@ -1,20 +0,0 @@
1
- {
2
- "key": "address",
3
- "references": [
4
- {
5
- "key": "country_id",
6
- "model": "country",
7
- "type": "singleValued"
8
- }
9
- ],
10
- "properties": [
11
- {
12
- "key": "street_number",
13
- "type": "string"
14
- },
15
- {
16
- "key": "city",
17
- "type": "string"
18
- }
19
- ]
20
- }
@@ -1,7 +0,0 @@
1
- {
2
- "key": "country",
3
- "properties": [{
4
- "key": "country_name",
5
- "type": "string"
6
- }]
7
- }
@@ -1,21 +0,0 @@
1
- {
2
- "key": "cust_order",
3
- "references": [
4
- {
5
- "key": "customer_id",
6
- "model": "customer",
7
- "type": "singleValued"
8
- },
9
- {
10
- "key": "book_ids",
11
- "model": "book",
12
- "type": "multiValued"
13
- }
14
- ],
15
- "properties": [
16
- {
17
- "key": "overall_price",
18
- "type": "float"
19
- }
20
- ]
21
- }
@@ -1,35 +0,0 @@
1
-
2
- {
3
- "key": "customer",
4
- "references": [
5
- {
6
- "key": "addresses",
7
- "model": "address",
8
- "type": "multiValued"
9
- },
10
- {
11
- "key": "country",
12
- "model": "country",
13
- "type": "multiValued",
14
- "derive":
15
- {
16
- "localField":"addresses",
17
- "remoteField": "country_id"
18
- }
19
- }
20
- ],
21
- "properties": [
22
- {
23
- "key": "first_name",
24
- "type": "string"
25
- },
26
- {
27
- "key": "last_name",
28
- "type": "string"
29
- },
30
- {
31
- "key": "email",
32
- "type": "string"
33
- }
34
- ]
35
- }
@@ -1,19 +0,0 @@
1
- {
2
- "key": "author",
3
- "references": [
4
- {
5
- "key": "book_ids",
6
- "model": "book",
7
- "type": "multiValued"
8
- }
9
- ],
10
- "properties": [
11
- {
12
- "key": "author_name",
13
- "type": "string",
14
- "filter": {
15
- "comparisonType": "containsIgnoreCase"
16
- }
17
- }
18
- ]
19
- }
@@ -1,73 +0,0 @@
1
- {
2
- "key": "book",
3
- "references": [
4
- {
5
- "key": "publisher_id",
6
- "model": "publisher",
7
- "type": "singleValued",
8
- "filter": {
9
- "calculateFacets": true
10
- }
11
- },
12
- {
13
- "key": "language_code",
14
- "model": "book_language",
15
- "type": "singleValued",
16
- "filter": {
17
- "calculateFacets": true
18
- }
19
- },
20
- {
21
- "key": "author",
22
- "model": "author",
23
- "type": "multiValued",
24
- "resolve":
25
- {
26
- "model":"author",
27
- "field":"book_ids"
28
- }
29
- }
30
- ],
31
- "properties": [
32
- {
33
- "key": "title",
34
- "type": "string",
35
- "filter": {
36
- "autocompletion": {
37
- "maxNrOfSuggestions": 5
38
- },
39
- "comparisonType": "containsIgnoreCaseAndWhitespace"
40
- }
41
- },
42
- {
43
- "key": "isbn13",
44
- "type": "string"
45
- },
46
- {
47
- "key": "publication_date",
48
- "type": "string"
49
- },
50
- {
51
- "key": "language",
52
- "type": "string",
53
- "derive": {
54
- "localField": "language_code",
55
- "remoteProperty": "language_name"
56
- }
57
- },
58
- {
59
- "key": "publisher",
60
- "type": "string",
61
- "derive": {
62
- "localField": "publisher_id",
63
- "remoteProperty": "publisher_name"
64
- },
65
- "filter":{
66
- "autocompletion": {
67
- "maxNrOfSuggestions": 5
68
- },
69
- "comparisonType": "containsIgnoreCase"
70
- }
71
- }
72
- ]
73
- }
@@ -1,9 +0,0 @@
1
- {
2
- "key": "book_language",
3
- "properties": [
4
- {
5
- "key": "language_name",
6
- "type": "string"
7
- }
8
- ]
9
- }
@@ -1,10 +0,0 @@
1
- {
2
- "key": "publisher",
3
- "properties": [
4
- {
5
- "key": "publisher_name",
6
- "type": "string",
7
- "filter":true
8
- }
9
- ]
10
- }
@@ -1,14 +0,0 @@
1
- {
2
- "name": "dcupl-starter",
3
- "version": "0.0.0",
4
- "description": "",
5
- "scripts": {
6
- "serve": "npx dcupl serve"
7
- },
8
- "repository": {},
9
- "author": "",
10
- "license": "MIT",
11
- "devDependencies": {
12
- "@dcupl/cli": "0.0.*"
13
- }
14
- }