@dcupl/cli 0.0.5 → 0.0.6
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/index.js +23 -13
- package/dist/index.js.map +1 -1
- package/files/common/.vscode/settings.json +18 -0
- package/files/demo/bookstore_01/dcupl/bookstore_local.ldp.json +16 -4
- package/files/demo/bookstore_01/dcupl/{api → data}/author.csv +0 -0
- package/files/demo/{bookstore_02/dcupl/api → bookstore_01/dcupl/data}/book.csv +10059 -10059
- package/files/demo/bookstore_01/dcupl/{api → data}/book_language.json +0 -0
- package/files/demo/bookstore_01/dcupl/data/publisher.csv +2265 -0
- package/files/demo/bookstore_01/dcupl/models/author.dcupl.json +16 -0
- package/files/demo/bookstore_01/dcupl/models/book.dcupl.json +31 -0
- package/files/demo/bookstore_01/dcupl/models/book_language.dcupl.json +9 -0
- package/files/demo/bookstore_01/dcupl/models/publisher.dcupl.json +9 -0
- package/files/demo/bookstore_02/dcupl/bookstore_local.ldp.json +53 -5
- package/files/demo/bookstore_02/dcupl/data/address.csv +1001 -0
- package/files/demo/bookstore_02/dcupl/{api → data}/author.csv +0 -0
- package/files/demo/{bookstore_01/dcupl/api → bookstore_02/dcupl/data}/book.csv +10059 -10059
- package/files/demo/bookstore_02/dcupl/{api → data}/book_language.json +0 -1
- package/files/demo/bookstore_02/dcupl/data/country.csv +233 -0
- package/files/demo/bookstore_02/dcupl/data/cust_order.csv +4001 -0
- package/files/demo/bookstore_02/dcupl/data/customer.csv +2001 -0
- package/files/demo/bookstore_02/dcupl/data/publisher.csv +2265 -0
- package/files/demo/bookstore_02/dcupl/model/adv_address.dcupl.json +20 -0
- package/files/demo/bookstore_02/dcupl/model/adv_country.dcupl.json +7 -0
- package/files/demo/bookstore_02/dcupl/model/adv_cust_order.dcupl.json +21 -0
- package/files/demo/bookstore_02/dcupl/model/adv_customer.dcupl.json +35 -0
- package/files/demo/bookstore_02/dcupl/model/author.dcupl.json +19 -0
- package/files/demo/bookstore_02/dcupl/model/book.dcupl.json +73 -0
- package/files/demo/bookstore_02/dcupl/model/book_language.dcupl.json +9 -0
- package/files/demo/bookstore_02/dcupl/model/publisher.dcupl.json +10 -0
- package/files/demo/bookstore_02/package.json +1 -1
- package/package.json +2 -2
- package/files/demo/bookstore_01/dcupl/api/publisher.csv +0 -26
- package/files/demo/bookstore_01/dcupl/bookstore.dcupl.json +0 -56
- package/files/demo/bookstore_01/dcupl/bookstore_github.ldp.json +0 -26
- package/files/demo/bookstore_02/dcupl/api/publisher.csv +0 -26
- package/files/demo/bookstore_02/dcupl/bookstore.dcupl.json +0 -62
- package/files/demo/bookstore_02/dcupl/bookstore_github.ldp.json +0 -26
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"key": "book",
|
|
3
|
+
"fields": [
|
|
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
|
+
"datatype": "string",
|
|
24
|
+
"filter": true
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"key": "language_code",
|
|
28
|
+
"datatype": "string"
|
|
29
|
+
}
|
|
30
|
+
]
|
|
31
|
+
}
|
|
@@ -1,25 +1,73 @@
|
|
|
1
1
|
[
|
|
2
2
|
{
|
|
3
|
-
"url": "http://localhost:8083/
|
|
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",
|
|
4
32
|
"type":"model"
|
|
5
33
|
},
|
|
6
34
|
{
|
|
7
|
-
"url": "http://localhost:8083/
|
|
35
|
+
"url": "http://localhost:8083/data/author.csv",
|
|
8
36
|
"type":"data",
|
|
9
37
|
"model": "author"
|
|
10
38
|
},
|
|
11
39
|
{
|
|
12
|
-
"url": "http://localhost:8083/
|
|
40
|
+
"url": "http://localhost:8083/data/book.csv",
|
|
13
41
|
"type":"data",
|
|
14
42
|
"model": "book"
|
|
15
43
|
},
|
|
16
44
|
{
|
|
17
|
-
"url": "http://localhost:8083/
|
|
45
|
+
"url": "http://localhost:8083/data/publisher.csv",
|
|
18
46
|
"type":"data",
|
|
19
47
|
"model": "publisher"
|
|
20
48
|
},
|
|
21
49
|
{
|
|
22
|
-
"url": "http://localhost:8083/
|
|
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",
|
|
23
71
|
"type":"data",
|
|
24
72
|
"model": "book_language"
|
|
25
73
|
}
|